@charset "UTF-8";
:root{--paper:#f6efdf;--cream:#fff9ec;--ink:#342a24;--muted:#776c5e;--red:#b43b2e;--red-dark:#8b2d25;--gold:#d1a147;--line:#ded1b9;--mint:#dce5d6;--green:#315e4b;--shadow:0 6px 0 #ded1b8;--display:'Fraunces',Georgia,serif;--body:'DM Sans',Arial,sans-serif;--card-width:146px;--slot-width:116px;--track-height:284px}
*{box-sizing:border-box}html,body{margin:0;width:100%;height:100%;color:var(--ink);background:var(--paper)}body{font-family:var(--body);font-size:14px;background-image:radial-gradient(#b69c7320 .6px,transparent .6px);background-size:5px 5px;overflow:hidden}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{color:inherit;cursor:pointer}a{color:inherit}button{border:0;background:none}button:disabled{cursor:not-allowed;opacity:.45}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,[tabindex]:focus-visible{outline:3px solid #2c705c;outline-offset:4px}button,a,input{touch-action:manipulation}button{transition:background .16s,box-shadow .16s,opacity .16s,transform .16s}button:active:not(:disabled){transform:translateY(1px)}[hidden]{display:none!important}.icon{width:20px;height:20px;display:block;flex-shrink:0;stroke:currentColor;stroke-width:1.7;fill:none;stroke-linecap:round;stroke-linejoin:round}span[data-icon]{display:inline-flex;vertical-align:middle}.app-shell{height:100vh;height:100dvh;max-width:1536px;margin:0 auto;display:flex;flex-direction:column;padding:0 5%;overflow:hidden}.site-header{height:91px;flex:0 0 91px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);gap:20px}.brand{display:flex;align-items:center;gap:11px;text-decoration:none;font-weight:800;letter-spacing:2px;font-size:25px;line-height:1.1}.brand-red{color:var(--red)}.brand small{display:block;font-size:8px;letter-spacing:3.1px;color:var(--muted);margin-top:7px}.brand img{border-radius:50%;width:39px;height:39px}.header-middle{font-size:9px;letter-spacing:2px;color:var(--muted);display:flex;align-items:center;gap:15px}.mini-star{color:var(--red);font-size:22px}.header-actions{display:flex;gap:9px;align-items:center}.text-button{display:flex;align-items:center;gap:7px;font-size:12px;padding:10px}.icon-button{width:37px;height:37px;border:1px solid var(--line);border-radius:50%;display:inline-flex;align-items:center;justify-content:center;text-decoration:none;background:transparent}.icon-button:hover{background:#eadfc9}.text-button:hover,.plain-button:hover{text-decoration:underline;text-underline-offset:4px}#main-content{flex:1;min-height:0;position:relative}.setup-screen{height:100%;display:grid;grid-template-columns:1fr 1fr;gap:6%;align-items:center;padding:22px 0 18px}.intro{height:100%;max-height:720px;display:flex;flex-direction:column;justify-content:center;min-height:0;padding-top:6px}.eyebrow{font-size:10px;line-height:1.5;letter-spacing:2px;font-weight:700;color:var(--red);display:flex;align-items:center;gap:10px}.small-rule{width:23px;border-top:2px solid var(--red)}h1,h2,h3,p{margin:0}h1,h2{font-family:var(--display);font-weight:700}h1{font-size:clamp(48px,5vw,74px);line-height:1.07;letter-spacing:-2.6px;margin-top:17px;position:relative}h1 em{font-weight:600;color:var(--red);position:relative}h1 em:after{content:'';position:absolute;height:9px;border-bottom:2px solid var(--gold);bottom:-4px;left:0;right:0;border-radius:50%}.heading-star{position:absolute;color:var(--gold);font-size:32px;top:27%;right:1%;font-style:normal}.intro-copy{font-size:14px;line-height:1.75;color:var(--muted);margin-top:20px}.cinema-scene{position:relative;flex:0 1 330px;min-height:80px;margin:9px -20px -4px;display:flex;justify-content:center}.cinema-scene>img{width:100%;height:100%;object-fit:contain;max-height:350px}.scene-stamp{position:absolute;z-index:1;left:6%;top:15%;border:1.5px solid #9c4135;border-radius:50%;width:79px;height:79px;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#9c4135;transform:rotate(-14deg);font-size:8px;letter-spacing:1.2px;gap:5px;outline:1px solid #9c4135;outline-offset:-6px}.scene-stamp b{font-size:9px}.scene-stamp span{font-size:9px;letter-spacing:4px;padding-left:4px}.intro-bottom{display:flex;gap:9px;align-items:center;justify-content:center;font-size:8px;letter-spacing:1.3px;color:var(--muted);margin-top:3px;padding:10px 0}.tiny-film{display:inline-block;width:18px;height:13px;border:2px solid var(--muted);border-left:5px dotted var(--muted);border-right:5px dotted var(--muted);transform:rotate(-15deg)}.setup-ticket{background:var(--cream);border:1px solid var(--line);border-radius:14px;box-shadow:var(--shadow);padding:27px 30px 19px;max-width:640px;width:100%;justify-self:end;position:relative}.ticket-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:23px}.ticket-heading h2{font-size:30px;letter-spacing:-1px;line-height:1.2;margin-top:5px}.ticket-heading .eyebrow{font-size:9px;letter-spacing:1.7px}.ticket-number{font-family:var(--display);font-size:13px;color:#a9977b;line-height:1.8;text-align:center}.ticket-number b{font-size:11px;letter-spacing:4px;color:var(--gold)}.counters{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-bottom:24px}.counter{min-width:0;margin:0;padding:0;border:0}.counter legend{font-size:12px;font-weight:600;margin-bottom:9px;display:flex;align-items:center;gap:6px}.counter legend .icon{width:16px;height:16px;color:var(--red)}.stepper{border:1px solid var(--line);border-radius:7px;height:47px;display:flex;align-items:center;background:var(--paper);overflow:hidden}.stepper button{font-size:22px;font-weight:400;width:39px;align-self:stretch}.stepper button:hover{background:#e7dbc3}.stepper input{min-width:0;width:100%;height:100%;font-size:23px;font-weight:700;text-align:center;border:0;background:none;color:var(--ink);appearance:textfield;-moz-appearance:textfield}.stepper input::-webkit-outer-spin-button,.stepper input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.stepper.infinite:after{content:'\221e';position:absolute;left:50%;transform:translateX(-50%);font-size:30px;pointer-events:none}.stepper.infinite{position:relative}.stepper.infinite input{color:transparent}.infinite-control{display:flex;align-items:center;gap:7px;font-size:10px;color:var(--muted);margin-top:11px;cursor:pointer;user-select:none}.infinite-control input{position:absolute;opacity:0;width:1px;height:1px}.toggle{width:25px;height:15px;border:1px solid #cfc2aa;background:#e5dbc7;border-radius:20px;position:relative}.toggle:before{content:'';position:absolute;top:2px;left:2px;width:9px;height:9px;background:#fff9eb;border-radius:50%;transition:transform .15s}.infinite-control input:checked+.toggle{background:var(--green);border-color:var(--green)}.infinite-control input:checked+.toggle:before{transform:translateX(10px)}.infinite-control input:focus-visible+.toggle{outline:3px solid var(--green);outline-offset:3px}.infinite-control b{font-size:17px;font-weight:500;margin-left:auto;line-height:1}.category-top{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}.category-top h3{font-size:14px;font-weight:700}.plain-button{font-size:10px;color:var(--muted);padding:3px 0}.filter-toolbar{display:flex;align-items:center;justify-content:space-between;margin-bottom:13px;gap:10px}.segmented{border:1px solid var(--line);border-radius:5px;display:flex;padding:3px;gap:3px;background:#f3ead7}.segmented button{padding:5px 12px;border-radius:3px;font-size:11px}.segmented button.active{background:var(--green);color:white}.segmented #mode-exclude.active{background:var(--red)}.filter-key{font-size:8px;color:var(--muted);display:flex;gap:5px;align-items:center}.filter-key i{width:6px;height:6px;background:var(--green);border-radius:50%;margin-left:3px}.filter-key i.minus-key{background:var(--red)}.category-area{max-height:188px;min-height:84px;overflow-y:auto;padding:0 5px 2px 0;scrollbar-width:thin;scrollbar-color:#caba9f transparent;overscroll-behavior:contain}.category-group-title{font-size:8px;letter-spacing:1.6px;color:var(--muted);font-weight:700;margin:3px 0 8px}.category-group-title:not(:first-child){margin-top:15px}.category-chips{display:flex;flex-wrap:wrap;gap:6px}.category-chip{border:1px solid var(--line);border-radius:5px;background:#fff9ec;padding:7px 11px;font-size:11px;line-height:1;min-height:29px;display:inline-flex;gap:5px;align-items:center}.category-chip:hover{border-color:var(--green);background:#edf0e2}.category-chip.included{background:var(--mint);border-color:#789c7d;color:#2f5945}.category-chip.excluded{background:#f7e1d8;border-color:#c18372;color:#913427;text-decoration:line-through}.category-chip .chip-state{display:none;width:9px;font-size:12px;line-height:1}.category-chip.included .chip-state,.category-chip.excluded .chip-state{display:inline}.filter-summary{min-height:28px;font-size:10px;line-height:1.5;margin:12px 0 0;color:var(--muted)}.ticket-divider{position:relative;height:1px;border-top:1px dashed #ccbea2;margin:14px -30px 14px}.ticket-divider:before,.ticket-divider:after{content:'';width:16px;height:16px;border:1px solid var(--line);background:var(--paper);position:absolute;border-radius:50%;top:-9px}.ticket-divider:before{left:-9px;clip-path:inset(0 0 0 50%)}.ticket-divider:after{right:-9px;clip-path:inset(0 50% 0 0)}.session-recap{display:flex;align-items:center;gap:8px;font-size:10px;color:var(--muted);margin-bottom:12px}.session-recap .icon{width:17px;height:17px;color:var(--red)}.mode-badge{margin-left:auto;font-size:7px;font-weight:700;letter-spacing:1px;border:1px solid #c5b89d;background:#f2e9d4;padding:3px 5px;border-radius:3px;white-space:nowrap}.mode-badge.live{background:#dce7d8;color:var(--green);border-color:#aac1a1}.primary-button{display:flex;align-items:center;justify-content:center;gap:18px;background:var(--red);color:#fff8e7;border:1px solid var(--red-dark);border-radius:7px;box-shadow:0 3px 0 var(--red-dark);min-height:48px;padding:12px 19px;font-size:13px;font-weight:700}.primary-button:hover:not(:disabled){background:var(--red-dark);box-shadow:0 3px 0 #70261f}.start-button{width:100%;letter-spacing:1.5px;font-size:11px;justify-content:space-between;padding:14px 23px}.setup-note{font-size:9px;line-height:1.5;color:var(--muted);text-align:center;margin-top:12px}.error-message{font-size:12px;line-height:1.5;border:1px solid #c4937e;background:#f9e6db;color:#8a3125;padding:10px;border-radius:6px;margin-top:10px;max-height:90px;overflow:auto}.resume-button{display:block;width:100%;font-size:11px;color:var(--green);padding:12px 0 0;font-weight:600}.site-footer{height:47px;flex:0 0 47px;border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:15px;color:#706556;font-size:9px}.footer-brand{font-size:8px;letter-spacing:1.2px}.footer-brand b{margin-left:8px;font-size:9px;letter-spacing:1.7px}.credits-trigger{font-size:10px;display:flex;gap:12px;align-items:center;color:#675d51;padding:8px 0}.credits-word{text-decoration:underline;text-underline-offset:3px;font-size:9px}.game-screen{height:100%;display:flex;flex-direction:column;padding:23px 0 18px;gap:15px}.game-topline{display:flex;align-items:center;justify-content:space-between;gap:20px}.game-topline h2{font-size:31px;letter-spacing:-1px;margin-top:5px}.game-topline h2 .mini-star{font-size:24px;margin-left:15px}.game-stats{display:flex;align-items:center;gap:30px}.game-stats>div{display:flex;flex-direction:column;gap:4px}.game-stats small{font-size:8px;letter-spacing:1.4px;color:var(--muted)}.game-stats b{font-family:var(--display);font-size:22px}.lives-stat b{color:var(--red)}.outline-button{border:1px solid var(--line);border-radius:6px;padding:9px 12px;display:inline-flex;align-items:center;justify-content:center;gap:8px;background:#fff8e9;font-size:11px;min-height:36px}.outline-button:hover{background:#e9dfc9}.outline-button .icon{width:16px;height:16px}.game-stats>.outline-button{margin-left:12px}.progress-rail{background:#e8ddc6;height:4px;border-radius:4px;overflow:hidden;flex-shrink:0}.progress-rail>div{background:var(--green);height:100%;width:0;transition:width .3s}.timeline-panel{flex:1;min-height:210px;border:1px solid var(--line);border-radius:12px;background:#fbf5e6;display:flex;flex-direction:column;overflow:hidden;position:relative}.timeline-heading{padding:17px 21px 5px;display:flex;align-items:center;justify-content:space-between;font-size:8px;letter-spacing:1.6px;color:var(--muted);flex-shrink:0}.timeline-heading>span{display:flex;gap:8px;align-items:center}.timeline-heading .icon{width:14px;height:14px}.timeline-heading .timeline-hint{font-size:10px;letter-spacing:0;color:#86765e}.timeline-scroll{overflow-x:auto;overflow-y:hidden;flex:1;min-height:0;scrollbar-width:thin;scrollbar-color:#baaa8b transparent;overscroll-behavior-x:contain;touch-action:pan-x;position:relative}.timeline-track{height:100%;min-height:170px;position:relative;isolation:isolate;width:100%;--center-y:calc(50% + 115.5px)}.timeline-track:before{content:'';position:absolute;left:0;right:0;top:var(--center-y);border-top:2px solid #cbbc9d;z-index:-1}.timeline-unit{position:absolute;top:50%;transform:translateY(-50%);width:var(--card-width);display:flex;flex-direction:column;align-items:center}.movie-card{position:relative;width:var(--card-width);height:218px;background:#fffcf3;border:1px solid #d2c3a8;border-radius:7px;box-shadow:0 4px 0 #d6c7a9;overflow:hidden;display:flex;flex-direction:column}.movie-poster{position:relative;width:100%;height:156px;overflow:hidden;background:#244b43;display:flex;align-items:center;justify-content:center;flex-shrink:0}.movie-poster img{display:block;width:100%;height:100%;object-fit:cover;position:absolute;inset:0;z-index:1}.movie-poster img.failed{display:none}.poster-fallback{height:100%;width:100%;padding:16px;display:flex;align-items:center;justify-content:center;flex-direction:column;background:repeating-linear-gradient(125deg,#ffffff08 0px,#ffffff08 1px,transparent 1px,transparent 5px);gap:12px;color:#f7eacb}.poster-fallback .icon{height:34px;width:34px;opacity:.8}.poster-fallback span{font-family:var(--display);font-size:18px;font-weight:600;line-height:1.1;text-align:center}.poster-fallback small{font-size:7px;letter-spacing:2px;opacity:.7}.card-title{padding:8px 9px;font-size:10px;font-weight:700;line-height:1.3;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.card-year{position:absolute;top:142px;right:7px;background:var(--cream);border:1px solid #c9b58d;box-shadow:0 2px 0 #00000010;border-radius:4px;padding:3px 7px;font-family:var(--display);font-size:16px;font-weight:700;z-index:2}.base-label{font-size:7px;letter-spacing:1.4px;position:absolute;top:7px;left:7px;padding:5px;background:var(--paper);border-radius:2px;color:var(--ink);z-index:2}.movie-card.new-card{border:2px solid #56805b;box-shadow:0 4px 0 #6b8e68}.timeline-dot{width:9px;height:9px;background:#b4935e;border:2px solid var(--paper);outline:1px solid #b4935e;border-radius:50%;margin-top:13px;z-index:2}.timeline-slot{position:absolute;top:50%;transform:translateY(-50%);width:var(--slot-width);height:246px;display:flex;align-items:center;justify-content:center;z-index:2}.slot-button{width:62px;height:106px;display:flex;flex-direction:column;align-items:center;justify-content:center;border:1px dashed #c7b493;border-radius:7px;color:#aa916a;background:#fcf7ec80;gap:8px}.slot-button b{font-size:24px;font-weight:400}.slot-button small{font-size:8px;line-height:1.4}.slot-button:hover{background:#f2e1d0;border-color:var(--red);color:var(--red)}.timeline-slot.selected .slot-button{width:100px;height:218px;border:2px solid var(--red);box-shadow:0 3px 0 var(--red-dark);background:#fff6e6;padding:0;overflow:hidden;display:block;position:relative;color:var(--ink);cursor:grab;touch-action:none}.slot-movie-poster{height:144px}.slot-movie-poster .poster-fallback span{font-size:14px}.slot-movie-title{padding:8px 6px;font-size:9px;line-height:1.25;font-weight:700;max-height:54px;overflow:hidden}.slot-question{position:absolute;top:130px;right:5px;border-radius:3px;background:var(--red);color:white;padding:2px 6px;font-size:16px;font-weight:700;z-index:2}.timeline-slot.drop-hover .slot-button{box-shadow:0 0 0 4px #b43b2e28;border-color:var(--red);background:#f5dbcc}.timeline-bottom{padding:5px 18px 9px;display:flex;align-items:center;justify-content:space-between;flex-shrink:0;font-size:9px;color:var(--muted)}.timeline-bottom>span{display:flex;align-items:center;gap:6px}.timeline-bottom .icon{width:14px;height:14px}.timeline-nav{display:flex;gap:6px}.timeline-nav .icon-button{height:29px;width:29px;background:#f9f0de}.turn-panel{flex-shrink:0;display:grid;grid-template-columns:170px 1fr 247px;align-items:center;gap:25px;border:1px solid var(--line);border-radius:10px;background:var(--cream);padding:18px 25px;min-height:172px}.candidate{width:163px;height:138px;display:flex;gap:9px;align-items:center;cursor:grab;touch-action:none;user-select:none;position:relative;background:#e8dfc9;border:1px solid #cbbb9d;border-radius:7px;padding:8px;transform:rotate(-3deg);box-shadow:3px 4px 0 #d7c8ac}.candidate .movie-poster{width:78px;height:120px;border-radius:3px;flex-shrink:0}.candidate .poster-fallback{padding:6px;gap:8px}.candidate .poster-fallback span{font-size:13px}.candidate .poster-fallback .icon{width:22px;height:22px}.candidate .poster-fallback small{display:none}.candidate-copy{font-size:9px;font-weight:700;line-height:1.4;max-height:118px;overflow:hidden}.candidate-copy small{display:block;font-size:7px;color:var(--red);letter-spacing:1.1px;margin-bottom:7px;font-weight:700}.candidate-copy .candidate-year{font-family:var(--display);display:block;font-size:25px;margin-top:8px;color:var(--red)}.candidate.dragging{opacity:.45}.drag-ghost{position:fixed;z-index:2000;pointer-events:none;width:140px;height:175px;background:#fff6e6;border:2px solid var(--red);border-radius:7px;overflow:hidden;box-shadow:0 15px 30px #342a2450;transform:rotate(-4deg);will-change:left,top}.drag-ghost .movie-poster{height:137px}.drag-ghost .card-title{font-size:9px;padding:5px}.turn-copy .eyebrow{font-size:8px;letter-spacing:1.3px}.turn-copy h3{font-family:var(--display);font-size:24px;letter-spacing:-.5px;margin-top:7px}.turn-copy>p{font-size:11px;line-height:1.65;color:var(--muted);margin-top:8px}.placement-label{font-size:10px;line-height:1.4;color:var(--red);margin-top:10px;font-weight:700}.turn-actions{display:flex;flex-direction:column;gap:12px;align-items:stretch}.turn-actions .primary-button{font-size:11px;gap:8px;min-height:45px}.turn-actions>small{font-size:8px;color:var(--muted);text-align:center}.position-buttons{display:flex;align-items:center;justify-content:center;gap:15px}.position-buttons>span{font-size:8px;letter-spacing:1.5px;color:var(--muted)}.position-buttons .outline-button{height:29px;min-height:29px;width:35px;padding:6px}.turn-panel.correct{background:#eef0df;border-color:#90aa82}.turn-panel.correct .turn-copy h3,.turn-panel.correct .placement-label{color:var(--green)}.turn-panel.wrong{background:#f8e9dc;border-color:#cb9b84}.turn-panel.wrong .turn-copy h3{color:var(--red)}.turn-panel.revealed .candidate{cursor:default}.results-screen{height:100%;display:flex;justify-content:center;align-items:center;padding:20px}.results-ticket{width:610px;background:var(--cream);border:1px solid var(--line);border-radius:12px;padding:27px 35px;text-align:center;box-shadow:var(--shadow)}.results-ticket .eyebrow{justify-content:center}.results-emblem{font-size:50px;color:var(--gold);margin-top:6px}.results-ticket h1{font-size:49px;margin:5px 0 12px}.results-ticket>p{color:var(--muted);font-size:13px;line-height:1.6}.results-stats{display:grid;grid-template-columns:1fr 1.4fr 1fr;margin:24px 0 18px}.results-stats>div{display:flex;align-items:center;flex-direction:column;gap:7px}.results-stats>div+div{border-left:1px solid var(--line)}.results-stats b{font-family:var(--display);font-size:38px;color:var(--red)}.results-stats small{font-size:8px;letter-spacing:1px}.results-ticket .ticket-divider{margin:16px -35px}.results-ticket .primary-button{width:100%;margin-top:20px;font-size:11px;letter-spacing:1px}.results-ticket .plain-button{margin-top:17px;font-size:11px}.info-dialog{border:1px solid #c4b394;background:var(--cream);border-radius:12px;color:var(--ink);padding:32px;width:560px;max-width:calc(100vw - 30px);max-height:calc(100dvh - 40px);overflow-y:auto;box-shadow:0 16px 60px #33282433}.info-dialog::backdrop{background:#251c17aa;backdrop-filter:blur(4px)}.dialog-close{position:absolute;top:14px;right:14px;width:29px;height:29px}.info-dialog h2{font-size:30px;margin-bottom:20px;margin-right:30px}.info-dialog h3{font-family:var(--display);font-size:18px;margin:15px 0 8px}.info-dialog p{font-size:13px;line-height:1.7;color:var(--muted);margin-bottom:13px}.info-dialog strong{color:var(--ink)}.info-dialog .primary-button{width:100%;margin-top:20px}.help-step{display:flex;gap:12px;align-items:flex-start;margin-bottom:17px}.help-step>b{font-size:13px;border:1px solid #c6b698;background:var(--paper);border-radius:50%;height:30px;width:30px;display:flex;align-items:center;justify-content:center;flex-shrink:0;color:var(--red)}.help-step p{margin:0}.modal-note{padding:12px;background:var(--paper);border-radius:6px;border:1px solid var(--line)}.tmdb-logo{height:auto;width:94px;object-fit:contain;margin:8px 0 18px}.tmdb-notice{padding:15px;background:#ece6d5;border-left:3px solid var(--green);font-size:13px!important;line-height:1.5!important;color:var(--ink)!important}.dialog-actions{display:flex;gap:12px;align-items:center}.dialog-actions .primary-button{margin:0;width:auto;flex:1}.dialog-actions .outline-button{flex:1;min-height:48px}.review-list{display:grid;gap:8px;max-height:50dvh;overflow:auto;padding:4px}.review-list>div{display:flex;gap:12px;padding:8px 12px;border:1px solid var(--line);border-radius:5px;font-size:12px;align-items:center}.review-list b{font-family:var(--display);font-size:18px;color:var(--red)}.toast{position:fixed;bottom:58px;left:50%;transform:translateX(-50%);z-index:2500;background:var(--ink);color:var(--cream);padding:12px 20px;border-radius:7px;box-shadow:0 6px 25px #0002;font-size:12px;line-height:1.5;max-width:calc(100vw - 40px);width:max-content;text-align:center;pointer-events:none}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.noscript{position:fixed;inset:0;background:var(--paper);display:grid;place-items:center;padding:30px;text-align:center}.loading{pointer-events:none}.loading>span:first-child:before{content:'';display:inline-block;width:13px;height:13px;border:2px solid #fff6;border-top-color:#fff;border-radius:50%;vertical-align:middle;margin-right:10px;animation:spin .6s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}
@media(min-width:1500px){.intro h1{font-size:76px}.setup-ticket{padding-top:33px;padding-bottom:25px}.category-area{max-height:205px}.cinema-scene{flex-basis:360px}}
@media(max-height:800px) and (min-width:851px){.site-header{height:73px;flex-basis:73px}.setup-screen{padding:15px 0;gap:5%}.setup-ticket{padding:20px 24px 15px}.ticket-heading{margin-bottom:16px}.ticket-heading h2{font-size:28px}.counters{margin-bottom:16px}.category-area{max-height:135px}.category-top{margin-bottom:8px}.filter-toolbar{margin-bottom:9px}.filter-summary{margin-top:9px;min-height:26px}.ticket-divider{margin:10px -24px}.session-recap{margin-bottom:10px}.setup-note{margin-top:9px}.intro h1{font-size:60px;margin-top:12px}.intro-copy{margin-top:16px;font-size:13px}.cinema-scene{flex-basis:255px;margin-top:7px}.scene-stamp{width:67px;height:67px;font-size:7px}.scene-stamp b{font-size:7px}.intro-bottom{font-size:7px}.site-footer{height:39px;flex-basis:39px}.game-screen{padding:16px 0;gap:12px}.turn-panel{min-height:150px;padding:14px 20px;gap:20px}.candidate{height:120px;width:146px}.candidate .movie-poster{height:104px;width:68px}.turn-copy h3{font-size:22px}.turn-panel{grid-template-columns:146px 1fr 232px}.timeline-heading{padding-top:12px}.game-topline h2{font-size:29px}}
@media(max-width:1100px) and (min-width:851px){.app-shell{padding:0 3%}.setup-screen{gap:3%}.header-middle{display:none}.setup-ticket{padding-left:23px;padding-right:23px}.intro h1{font-size:57px}.filter-key{display:none}.ticket-divider{margin-left:-23px;margin-right:-23px}.turn-panel{grid-template-columns:145px 1fr 214px;gap:16px}.turn-copy h3{font-size:21px}}
@media(max-width:850px){.app-shell{padding:0 5%}.site-header{height:70px;flex-basis:70px}.brand{font-size:21px;letter-spacing:1.6px}.brand img{width:33px;height:33px}.brand small{font-size:7px;letter-spacing:2.6px}.header-middle{display:none}.setup-screen{grid-template-columns:1fr;gap:0;padding:16px 0;align-content:center}.intro{display:none}.setup-ticket{width:100%;max-width:600px;justify-self:center;padding:24px 28px 18px}.category-area{max-height:200px}.ticket-heading{margin-bottom:20px}.counters{margin-bottom:20px}.category-chip{font-size:12px;padding:9px 12px}.category-group-title{font-size:9px}.site-footer{height:43px;flex-basis:43px}.footer-brand{font-size:7px;max-width:190px;line-height:1.6}.footer-brand b{display:block;margin:0}.game-topline{gap:8px;align-items:flex-end}.game-topline h2{font-size:25px}.game-topline .eyebrow{font-size:8px;letter-spacing:1.3px}.game-stats{gap:16px}.game-stats b{font-size:19px}.game-stats small{font-size:7px}.game-stats>.outline-button{margin-left:0;padding:6px 8px}.turn-panel{grid-template-columns:128px 1fr;gap:12px 18px;padding:15px 20px}.candidate{grid-row:span 2;width:126px;height:156px;display:block;padding:6px}.candidate .movie-poster{height:103px;width:112px}.candidate-copy{font-size:9px;max-height:36px;padding:5px 3px}.candidate-copy small,.candidate-year{display:none!important}.turn-copy h3{font-size:21px;margin-top:4px}.turn-copy .eyebrow{font-size:7px;letter-spacing:1px}.turn-copy>p{font-size:10px;line-height:1.5;margin-top:5px}.placement-label{font-size:9px;margin-top:6px}.turn-actions{grid-column:2;display:grid;grid-template-columns:auto 1fr;gap:8px;align-items:center}.turn-actions .position-buttons{gap:5px}.position-buttons>span{display:none}.turn-actions>small{display:none}.turn-actions .primary-button{min-height:36px;padding:8px;font-size:10px}.turn-actions .primary-button .icon{width:14px;height:14px}.timeline-heading{padding:13px 15px 5px;font-size:7px}.timeline-heading .timeline-hint{display:none}.game-screen{padding:17px 0;gap:12px}.game-topline h2 .mini-star{display:none}}
@media(max-width:520px){:root{--card-width:116px;--slot-width:91px}.app-shell{padding:0 16px}.site-header{height:63px;flex-basis:63px;gap:8px}.brand{font-size:18px;letter-spacing:1px;gap:7px}.brand img{width:30px;height:30px}.brand small{font-size:6px;letter-spacing:2.3px;margin-top:5px}.header-actions{gap:6px}.help-label{display:none}.text-button{padding:7px}.icon-button{width:31px;height:31px}.header-actions .icon{width:17px;height:17px}.setup-screen{padding:12px 0;align-content:center}.setup-ticket{padding:20px 20px 15px;border-radius:10px}.ticket-heading h2{font-size:27px}.ticket-heading .eyebrow{font-size:8px;letter-spacing:1.5px}.ticket-heading{margin-bottom:18px}.ticket-number{font-size:11px}.counters{gap:14px;margin-bottom:20px}.counter legend{font-size:11px}.stepper{height:43px}.stepper input{font-size:24px}.stepper button{width:35px}.infinite-control{font-size:9px;gap:6px;margin-top:10px}.category-top h3{font-size:13px}.plain-button{font-size:9px}.filter-key{font-size:7px;gap:4px}.filter-toolbar{margin-bottom:10px}.segmented button{padding:5px 10px;font-size:10px}.category-area{max-height:176px;min-height:75px}.category-chip{font-size:10px;min-height:29px;padding:8px 10px}.category-group-title{font-size:8px;letter-spacing:1.3px;margin-bottom:8px}.category-chips{gap:6px}.filter-summary{font-size:9px;margin-top:10px;min-height:27px}.ticket-divider{margin:10px -20px 12px}.session-recap{font-size:9px;gap:5px;margin-bottom:11px}.session-recap .icon{width:15px}.mode-badge{font-size:6px;letter-spacing:.5px}.start-button{font-size:10px;letter-spacing:1px;min-height:46px;padding:12px 17px}.setup-note{font-size:8px;margin-top:11px}.site-footer{height:42px;flex-basis:42px}.footer-brand{font-size:6px;letter-spacing:.5px}.footer-brand b{font-size:8px;letter-spacing:1px}.credits-trigger{font-size:9px;gap:5px;flex-wrap:wrap;justify-content:flex-end;max-width:160px}.credits-word{font-size:8px}.game-screen{padding:13px 0 10px;gap:10px}.game-topline{align-items:center;flex-wrap:wrap}.game-topline>div:first-child{width:100%;display:flex;justify-content:space-between;align-items:center}.game-topline h2{font-size:23px;margin:0}.game-topline .eyebrow{font-size:7px;order:2;letter-spacing:.6px;max-width:95px;text-align:right;display:block}.game-stats{width:100%;gap:23px;margin-top:2px;align-items:center}.game-stats>div{gap:3px}.game-stats small{font-size:7px;letter-spacing:1px}.game-stats b{font-size:19px}.game-stats>.outline-button{margin-left:auto;padding:5px 9px;font-size:10px;min-height:30px}.game-stats>.outline-button .icon{width:13px}.timeline-panel{min-height:220px;border-radius:8px}.timeline-heading{font-size:6px;letter-spacing:1px;padding:11px 10px 2px}.timeline-heading .icon{width:11px;height:11px}.movie-card{height:186px}.movie-poster{height:129px}.card-title{font-size:9px;line-height:1.3;padding:7px}.card-year{top:117px;font-size:14px;padding:2px 5px}.base-label{font-size:6px;padding:4px;letter-spacing:1px;top:5px;left:5px}.timeline-track{--center-y:calc(50% + 98.5px)}.timeline-dot{margin-top:11px;width:7px;height:7px}.timeline-slot{height:210px}.slot-button{width:46px;height:92px}.slot-button small{font-size:7px}.timeline-slot.selected .slot-button{width:78px;height:182px}.slot-movie-poster{height:121px}.slot-question{top:108px;font-size:14px}.slot-movie-title{font-size:8px;padding:7px 4px}.timeline-bottom{padding:4px 10px 7px;font-size:7px}.timeline-bottom .icon{width:11px}.timeline-nav .icon-button{height:26px;width:26px}.turn-panel{grid-template-columns:88px 1fr;gap:9px 12px;padding:13px 12px;min-height:165px}.candidate{width:88px;height:133px;padding:5px;border-radius:5px;grid-row:span 2}.candidate .movie-poster{width:76px;height:90px}.candidate-copy{font-size:8px;max-height:31px;line-height:1.3;padding:5px 0}.candidate .poster-fallback span{font-size:11px}.candidate .poster-fallback .icon{width:19px;height:19px}.turn-copy .eyebrow{font-size:6px;letter-spacing:.65px}.turn-copy h3{font-size:19px;line-height:1.12;margin-top:5px}.turn-copy>p{font-size:9px;margin-top:5px;line-height:1.4}.turn-copy>p br{display:none}.placement-label{font-size:8px;line-height:1.4;margin-top:5px}.turn-actions{gap:7px}.position-buttons .outline-button{width:24px;min-height:27px;height:27px;padding:4px}.turn-actions .primary-button{font-size:9px;padding:7px 5px;gap:5px;min-height:34px;border-radius:5px}.turn-actions .primary-button .icon{width:12px;height:12px}.results-screen{padding:14px 0}.results-ticket{padding:23px 20px}.results-ticket h1{font-size:40px}.results-ticket .eyebrow{font-size:8px;letter-spacing:1.5px}.results-stats b{font-size:30px}.results-stats small{font-size:7px;letter-spacing:0}.results-ticket>p{font-size:11px}.results-ticket .ticket-divider{margin-left:-20px;margin-right:-20px}.info-dialog{padding:25px 22px}.info-dialog h2{font-size:26px}.info-dialog p{font-size:12px}.info-dialog .dialog-close{top:10px;right:10px}}
@media(max-height:720px) and (max-width:850px){.site-header{height:55px;flex-basis:55px}.setup-screen{padding:10px 0}.setup-ticket{padding-top:15px;padding-bottom:12px}.ticket-heading{margin-bottom:12px}.ticket-heading h2{font-size:25px}.counters{margin-bottom:14px}.category-area{max-height:122px}.category-top{margin-bottom:8px}.filter-toolbar{margin-bottom:8px}.filter-summary{min-height:24px;margin-top:8px}.ticket-divider{margin-top:8px;margin-bottom:9px}.session-recap{margin-bottom:8px}.setup-note{margin-top:8px}.site-footer{height:36px;flex-basis:36px}.game-screen{gap:8px;padding-top:10px}.game-topline h2{font-size:21px}.turn-panel{min-height:140px;padding:10px;gap:7px 10px}.candidate{height:117px}.candidate .movie-poster{height:77px}.turn-copy h3{font-size:17px}.timeline-panel{min-height:192px}.timeline-heading{padding-top:8px}.timeline-bottom{padding-bottom:5px}.movie-card{height:164px}.movie-poster{height:111px}.card-year{top:100px}.timeline-track{--center-y:calc(50% + 86px)}.timeline-slot.selected .slot-button{height:160px}.slot-movie-poster{height:102px}.slot-question{top:91px}.timeline-dot{margin-top:8px}.game-stats b{font-size:17px}.game-stats{gap:22px}.results-emblem{font-size:35px}.results-ticket h1{font-size:35px}.results-stats{margin:15px 0}.results-ticket .primary-button{margin-top:12px}.results-ticket .plain-button{margin-top:12px}}
/* Compact-height layouts keep the controls in the viewport; only category/review lists scroll. */
@media(max-height:680px) and (min-width:851px){.site-header{height:57px;flex-basis:57px}.setup-ticket{padding:12px 20px}.ticket-heading{margin-bottom:9px}.ticket-heading h2{font-size:24px}.ticket-heading .eyebrow{display:none}.counters{margin-bottom:10px}.stepper{height:36px}.infinite-control{margin-top:7px}.category-area{max-height:79px}.filter-summary{min-height:16px;margin-top:6px;font-size:9px}.filter-toolbar{margin-bottom:6px}.ticket-divider{margin:7px -20px}.session-recap{margin-bottom:7px}.primary-button{min-height:39px;padding:8px 16px}.setup-note{margin-top:7px;font-size:8px}.intro h1{font-size:45px}.intro-copy{font-size:12px;margin-top:12px}.cinema-scene{flex-basis:190px}.game-screen{gap:8px;padding:10px 0}.game-topline h2{font-size:22px}.game-stats b{font-size:18px}.game-topline .eyebrow{font-size:7px}.turn-panel{min-height:113px;padding:9px 15px;grid-template-columns:120px 1fr 220px}.candidate{width:120px;height:91px}.candidate .movie-poster{width:50px;height:75px}.candidate-copy{font-size:8px}.candidate-copy small{font-size:6px}.turn-copy h3{font-size:20px;margin-top:4px}.turn-copy>p{font-size:10px;margin-top:4px}.placement-label{margin-top:5px}.turn-actions{gap:7px}.turn-actions .primary-button{min-height:35px}.movie-card{height:161px}.movie-poster{height:112px}.card-year{top:100px}.timeline-slot.selected .slot-button{height:158px}.slot-movie-poster{height:104px}.slot-question{top:90px}.timeline-track{--center-y:calc(50% + 84px)}.timeline-dot{margin-top:7px}.timeline-heading{padding:7px 13px 0}.timeline-bottom{padding-bottom:4px}.timeline-panel{min-height:170px}}
@media(max-height:520px) and (max-width:850px) and (orientation:landscape){.app-shell{padding:0 20px}.site-header{height:46px;flex-basis:46px}.site-footer{height:27px;flex-basis:27px}.brand{font-size:17px}.brand img{width:26px;height:26px}.brand small{display:none}.setup-screen{padding:8px 0}.setup-ticket{max-width:900px;padding:13px 20px;box-shadow:0 3px 0 #ded1b8}.ticket-heading{margin-bottom:8px}.ticket-heading h2{font-size:23px}.ticket-heading .eyebrow,.ticket-number{display:none}#setup-form{display:grid;grid-template-columns:1fr 1.15fr;gap:6px 22px}.counters{grid-column:1;grid-row:1/span 3;margin:0;align-self:center;gap:12px}.category-top{grid-column:2;grid-row:1;margin:0}.filter-toolbar{grid-column:2;grid-row:2;margin:0}.category-area{grid-column:2;grid-row:3;max-height:76px;min-height:65px}.category-chip{font-size:9px;padding:6px 8px;min-height:25px}.category-group-title{font-size:7px;margin:2px 0 5px}.filter-summary{grid-column:2;grid-row:4;font-size:8px;min-height:0;margin:0}.ticket-divider{display:none}.session-recap{grid-column:1;grid-row:4;font-size:9px;align-self:center;margin:0}.start-button{grid-column:1;grid-row:5;min-height:34px;padding:7px 15px;font-size:9px}.setup-note{grid-column:2;grid-row:5;margin:0;align-self:center;font-size:8px}.error-message{grid-column:1/-1;font-size:10px;margin:0}.resume-button{position:absolute;right:20px;top:18px;width:auto;padding:0;font-size:10px}.game-screen{padding:8px 0;display:grid;grid-template-columns:1fr 210px;grid-template-rows:44px 3px 1fr;gap:6px 12px}.game-topline{grid-column:1/-1;flex-wrap:nowrap}.game-topline h2{font-size:22px}.game-topline>div:first-child{display:block;width:auto}.game-topline .eyebrow{display:none}.game-stats{width:auto;gap:20px;margin:0}.game-stats b{font-size:18px}.progress-rail{grid-column:1/-1}.timeline-panel{grid-column:1;min-height:0}.turn-panel{grid-column:2;grid-row:3;display:flex;flex-direction:column;padding:10px;gap:6px;min-height:0;justify-content:center}.candidate{display:flex;width:175px;height:60px;padding:4px;gap:8px;transform:rotate(-2deg)}.candidate .movie-poster{height:50px;width:38px}.candidate-copy{font-size:9px;max-height:47px}.turn-copy{width:100%}.turn-copy .eyebrow{display:none}.turn-copy h3{font-size:17px;margin:0}.turn-copy>p{font-size:9px;line-height:1.3;margin-top:4px}.placement-label{font-size:8px;margin-top:4px}.turn-actions{display:grid;grid-template-columns:auto 1fr;gap:6px;width:100%}.turn-actions .primary-button{min-height:29px;font-size:9px;padding:5px;gap:4px}.turn-actions .primary-button .icon{width:11px}.position-buttons .outline-button{width:24px;min-height:25px;height:25px}.turn-actions>small{display:none}.movie-card{height:143px;width:104px}.movie-poster{height:99px}.card-year{top:88px;font-size:13px}.card-title{font-size:8px;padding:6px}.timeline-track{--center-y:calc(50% + 74.5px)}.timeline-unit{--card-width:104px}.timeline-dot{margin-top:6px}.timeline-slot.selected .slot-button{height:140px;width:74px}.slot-movie-poster{height:94px}.slot-question{top:82px}.slot-movie-title{font-size:7px}.timeline-heading{padding:5px 10px 0}.timeline-bottom{padding:2px 10px 4px}.timeline-nav .icon-button{width:24px;height:24px}.results-ticket{padding:15px 25px}.results-screen{padding:8px 0}.results-ticket h1{font-size:29px;margin:4px 0}.results-emblem{display:none}.results-stats{margin:10px 0}.results-stats b{font-size:25px}.results-ticket .primary-button{margin-top:8px;min-height:32px;padding:7px}.results-ticket .plain-button{margin-top:10px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}}

.timeline-slot.selected .slot-button{translate:0 -11px}
@media(max-width:520px){.timeline-slot.selected .slot-button{translate:0 -9px}}

@media(max-height:650px){.setup-ticket:has(#setup-error:not([hidden])) .category-area{min-height:24px;max-height:36px}#setup-error{max-height:78px;overflow:auto}}
/* v2: keep the approved layout; let only the category list shrink for the new filter. */
.setup-ticket{display:flex;flex-direction:column;max-height:100%}
.setup-ticket #setup-form{display:flex;flex-direction:column;min-height:0}
.setup-ticket #setup-form>:not(.category-area){flex-shrink:0}
.setup-ticket .category-area{flex:1 1 auto;min-height:38px}
.fame-row{display:flex;align-items:center;gap:10px;min-height:31px;margin:6px 0 0;font-size:11px}
.fame-row label{white-space:nowrap;font-weight:600}
.fame-row select{flex:1;min-width:0;max-width:100%;height:31px;border:1px solid var(--line);border-radius:5px;padding:4px 8px;color:var(--ink);background:var(--paper);font-size:11px;cursor:pointer}
@media(max-height:740px){.fame-row{min-height:26px;margin-top:3px;font-size:10px}.fame-row select{height:26px;font-size:10px;padding:3px 5px}}
@media(max-width:520px){.fame-row{min-height:28px;font-size:10px;gap:7px}.fame-row select{height:28px;font-size:10px}.setup-ticket .category-area{min-height:32px}}
.setup-screen{min-height:0;grid-template-rows:minmax(0,1fr)}
.setup-ticket{min-height:0}
.ticket-heading{flex-shrink:0}
@media(max-height:520px) and (max-width:850px) and (orientation:landscape){
  .setup-ticket #setup-form{display:grid;grid-template-columns:1fr 1.15fr;grid-template-rows:auto auto minmax(32px,1fr) auto auto auto;gap:5px 22px}
  .setup-ticket .category-area{grid-column:2;grid-row:3 / span 2;min-height:38px;max-height:100px}
  .fame-row{grid-column:1;grid-row:4;margin:0}
  .session-recap{grid-column:1;grid-row:5}
  .filter-summary{grid-column:2;grid-row:5}
  .start-button{grid-column:1;grid-row:6}
  .setup-note{grid-column:2;grid-row:6}
}
@media(max-width:520px) and (max-height:600px) and (orientation:portrait){
  .ticket-heading .eyebrow{display:none}
  .ticket-heading{margin-bottom:9px}
  .counters{margin-bottom:10px}
  .stepper{height:38px}
  .infinite-control{margin-top:8px}
  .filter-summary{min-height:20px;margin-top:5px;font-size:9px}
  .setup-ticket .category-area{min-height:60px}
}
