@font-face{font-family:Anton;font-style:normal;font-weight:400;font-display:swap;src:url('/phytopardy/fonts/anton.woff2?v=3b78556a6df04b2cc42c') format('woff2')}
@font-face{font-family:Archivo;font-style:normal;font-weight:800;font-display:swap;src:url('/phytopardy/fonts/archivo-800.woff2?v=55bebd9c701046d00535') format('woff2')}
@font-face{font-family:Archivo;font-style:normal;font-weight:900;font-display:swap;src:url('/phytopardy/fonts/archivo-900.woff2?v=ce831cb905cb7bd96981') format('woff2')}
@font-face{font-family:'Archivo Narrow';font-style:normal;font-weight:700;font-display:swap;src:url('/phytopardy/fonts/archivo-narrow.woff2?v=ad918d334720ae8fbbcd') format('woff2')}:root{--page:#08135e;--board:#08135e;--tile:#1d3bc4;--used:#0c1a6e;--value:#ff7a2b;--value-backing:#102789;--clue:#1a36b8;--text:#fff;--muted:#e2e7ff;--accent:#ff7a2b;--rail:#050c3d;--rail-ink:#fff;--desk:#f4f5fb;--desk-ink:#0e1440;--desk-line:#c8cee4;--control:#fff;--rule:#7b8ad0;--display:Anton,Impact,sans-serif;--category:'Archivo Narrow',Arial,sans-serif;--body:Archivo,Arial,sans-serif;--clue-font:Archivo,Arial,sans-serif;--texture:radial-gradient(ellipse at 50% 50%,transparent 55%,#0003 85%,#0006 100%);--ok:#147744;--no:#b62d32;color-scheme:dark}
*{box-sizing:border-box;min-width:0}body{margin:0;background:var(--page);color:var(--text);font:800 16px/1.35 var(--body);font-synthesis:none}button,input,select,textarea{font:inherit}button,a,summary{touch-action:manipulation}button,select,summary{cursor:pointer}button,.button-link{display:inline-flex;align-items:center;justify-content:center;gap:.4rem;min-height:46px;border:1.5px solid var(--desk-line);border-radius:5px;background:var(--control);color:var(--desk-ink);padding:.65rem .9rem;text-decoration:none;font-size:.94rem;font-weight:800}button:hover:not(:disabled),.button-link:hover{border-color:var(--desk-ink)}button:disabled{opacity:.42;cursor:default}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid var(--accent);outline-offset:3px}.primary{background:var(--desk-ink);border-color:var(--desk-ink);color:var(--desk)}.danger{color:var(--no);border-color:var(--no)}input,select,textarea{display:block;width:100%;border:1.5px solid var(--desk-line);border-radius:4px;padding:.65rem .7rem;min-height:46px;background:#fff;color:#111;margin-top:.35rem;font-weight:800}textarea{resize:vertical;line-height:1.4}label{display:block;font-size:.95rem;margin:0 0 1rem}a{color:inherit;text-underline-offset:4px}h1,h2,h3,p{margin:0}h1{font:900 clamp(28px,3vw,46px)/1.1 var(--body)}h2{font:900 24px/1.15 var(--body)}h3{font:900 18px/1.2 var(--body)}fieldset{border:0;padding:0;margin:0}small{font-size:13px}.wide{width:100%}.form-error{color:var(--no);margin-top:1rem;min-height:1.4em}.check{display:flex;align-items:center;gap:.6rem;margin:0}.check input{width:20px;height:20px;min-height:0;margin:0;accent-color:var(--desk-ink)}.setup-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.6rem 1.3rem}.setup-rules{display:flex;gap:1rem 1.5rem;flex-wrap:wrap;margin:1rem 0 1.7rem}.team-names{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0 1rem}.desk-header{display:flex;align-items:center;justify-content:space-between;gap:1rem;min-height:76px;padding:.75rem 1.5vw;background:var(--desk);color:var(--desk-ink);border-bottom:1px solid var(--desk-line)}.brand{font:400 27px/1 var(--display);letter-spacing:.03em}.header-controls{display:flex;align-items:center;justify-content:flex-end;gap:.55rem;flex-wrap:wrap}.room-label{letter-spacing:.1em}.connection{font-size:12px}.host-game{padding:1rem 1.5vw 1.5rem;background:var(--desk);color:var(--desk-ink);min-height:calc(100dvh - 76px)}.host-actions{display:flex;gap:.5rem;flex-wrap:wrap;align-items:center;margin:0 0 .6rem}.mode-control{display:flex;align-items:center;gap:.5rem;margin:0}.mode-control select{width:auto;margin:0}.pacing{font-size:13px;margin:0 0 1rem;opacity:.8}.host-layout{display:block}.host-layout.has-clue{display:grid;grid-template-columns:minmax(0,.9fr) minmax(480px,1.1fr);gap:1.3rem;align-items:start}.host-preview{position:relative;background:var(--board);color:var(--text)}.host-preview>.board{height:58vh;min-height:430px}.host-preview .category{font-size:clamp(18px,2.2vw,32px)}.host-preview .tile{font-size:clamp(46px,5.5vw,82px)}.host-preview .scoreboard{min-height:135px}.host-preview .score-team>span{font-size:20px}.host-preview .score-team strong{font-size:31px}.host-preview .question-stage{height:56vh;min-height:400px;padding:1.5rem;gap:1.3rem}.host-preview .question-meta{font-size:20px}.host-preview .question-meta b{font-size:28px}.host-preview .question-text{font-size:24px;overflow:auto}.host-preview .question-bottom{font-size:15px}.host-preview .clock strong{font-size:32px}.host-preview .timer-track{height:7px}.host-preview .figure-label{font-size:20px}.page-controls{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.6rem;background:var(--desk);color:var(--desk-ink)}.page-controls span{font-size:14px}.key-legend{font-size:13px;margin-top:1rem}.grading{color:var(--desk-ink)}.answer-key{border-left:5px solid var(--accent);padding:.6rem 1rem;background:#fff;margin-bottom:1rem}.answer-key summary{font-size:16px}.key-content{font-size:17px;padding-top:.7rem;line-height:1.45;max-height:15vh;overflow:auto}.key-content p+p{margin-top:.8rem}.key-content .imageboard{max-width:500px;margin:1rem auto}.key-content .figure-label{font-size:17px}.responses{display:grid}.response{display:grid;grid-template-columns:minmax(110px,.65fr) minmax(100px,1.1fr) auto;gap:.7rem;align-items:center;padding:.7rem 0;border-bottom:1px solid var(--desk-line)}.response-heading h3{font-size:15px}.response-heading>span{font-size:14px}.response-text{font-size:16px;white-space:pre-wrap;overflow-wrap:anywhere;max-height:180px;overflow:auto;line-height:1.4}.suggestion{font-size:12px;display:block;opacity:.7;margin-top:.35rem}.grade-buttons{display:flex;gap:5px;flex-wrap:wrap;max-width:110px}.grade-buttons button{font-size:22px;min-width:46px;padding:.35rem}.grade-buttons [data-lock-team]{font-size:12px;flex:1}.grade-buttons .selected.right{background:var(--ok);border-color:var(--ok);color:white}.grade-buttons .selected.wrong{background:var(--no);border-color:var(--no);color:white}.response.first-buzz{border-left:5px solid var(--accent);padding-left:.6rem}.grading #confirmAll{margin-top:1rem}.final-reveals{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:1rem}.buzz-queue{font-size:15px;padding:.6rem 0;border-bottom:1px solid var(--desk-line)}.buzz-queue button{margin-left:.5rem}.wager-desk>div{display:flex;align-items:center;justify-content:space-between;gap:.6rem;border-bottom:1px solid var(--desk-line);padding:.8rem 0}.wager-desk form{margin-top:1rem}
dialog{width:min(1080px,94vw);max-height:90dvh;overflow:auto;border:0;border-radius:8px;background:var(--desk);color:var(--desk-ink);padding:1.5rem;color-scheme:light}dialog::backdrop{background:#000b}.dialog-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:1.5rem}dialog h3{margin:1.5rem 0 1rem}dialog section,dialog #settingsForm{border-top:1px solid var(--desk-line);padding-top:.4rem;margin-top:1.5rem}.team-admin-row{display:grid;grid-template-columns:minmax(120px,1fr) 40px minmax(92px,.6fr) minmax(150px,1fr) minmax(160px,1fr) 84px 128px 84px;gap:4px 8px;align-items:center;padding:6px 0;border-bottom:1px solid var(--desk-line)}.team-admin-row>*{grid-row:1;margin:0}.team-admin-row>:is(input,select,button){min-height:38px}.team-admin-row>input:not([type=color]),.team-admin-row>select{padding:.4rem .6rem}.team-admin-row input[type=color]{height:38px;padding:3px}.team-admin-row>button{width:100%;padding:.4rem .5rem;white-space:nowrap}.team-admin-row>[data-rename]{grid-column:1}.team-admin-row>[data-colour]{grid-column:2}.team-admin-row>.device-state{grid-column:3}.team-admin-row>[data-submitter]{grid-column:4}.team-admin-row>[data-move]{grid-column:5}.team-admin-row>[data-release]{grid-column:6}.team-admin-row>[data-reconnect]{grid-column:7}.team-admin-row>[data-remove]{grid-column:8}.team-admin-row>.reconnect-code{grid-row:2;grid-column:7;justify-self:center}.device-state{font-size:13px}.reconnect-code{font-size:24px;letter-spacing:.1em}.team-admin #addTeam{display:flex;align-items:end;gap:.7rem;margin-top:1rem}.team-admin #addTeam label{flex:1;margin:0}#adjust{display:grid;grid-template-columns:1fr 130px 1fr auto;gap:.7rem;align-items:end}#adjust label{margin:0}.game-log{max-height:260px;overflow:auto;font-size:14px;padding-left:1.3rem}.game-log li{margin:.6rem 0}.recovery{display:flex;align-items:center;gap:.7rem;flex-wrap:wrap}.recovery h3{width:100%}.recovery a{margin:0 .7rem}
.board{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));grid-template-rows:1.04fr repeat(5,1fr);gap:.6vh;min-height:0;background:var(--board)}.category{display:grid;place-items:center;text-align:center;text-transform:uppercase;font:700 clamp(24px,3.9vh,48px)/1.02 var(--category);padding:.6vh 1vw;background:var(--tile);color:var(--text);border-bottom:.6vh solid var(--accent);text-wrap:balance}.tile{display:grid;place-items:center;background:var(--value-backing);color:var(--value);font:400 10.8vh/1 var(--display);text-shadow:.16vh .28vh 0 #0008;min-height:0;border:0;border-radius:0;padding:0}.tile.used,.tile.used:disabled{background:var(--used);color:transparent;text-shadow:none;opacity:1}.tile.reserved{font-size:6vh;opacity:1}.tile:focus-visible{outline-offset:-5px}.tile:hover:not(:disabled){color:var(--value);outline:.5vh solid var(--accent);outline-offset:-.5vh}.scoreboard{display:grid;grid-template-columns:repeat(var(--columns),minmax(0,1fr));grid-template-rows:repeat(var(--rows),minmax(0,1fr));gap:.5vh 1.5vw;background:var(--rail);padding:.4vh 1vw;color:var(--rail-ink);min-height:0}.score-team{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:.6vw;border-top:.4vh solid var(--team);min-width:0}.score-team>span{font:700 clamp(26px,3.9vh,42px)/1.05 var(--category);overflow-wrap:anywhere}.score-team strong{font:400 5.2vh/1 var(--display);color:var(--value);font-variant-numeric:tabular-nums}.question-stage{position:relative;isolation:isolate;display:grid;grid-template-rows:auto minmax(0,1fr) auto;background:var(--clue);color:var(--text);padding:3.5vh 4.5vw;gap:3vh;min-height:0}.question-stage:before{content:'';position:absolute;inset:0;background:var(--texture);pointer-events:none;z-index:-1}.question-meta{display:flex;align-items:center;justify-content:space-between;gap:2vw;font:700 4vh/1 var(--category);text-transform:uppercase;letter-spacing:.025em}.question-meta b{font:400 5vh/1 var(--display);color:var(--value)}.question-text{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:0;min-width:0;padding:1vh 1vw;overflow:hidden;font:900 8vh/1.12 var(--clue-font);text-transform:uppercase;text-align:center;letter-spacing:.005em}.question-text p{margin:0;line-height:1.12;text-wrap:balance;overflow-wrap:anywhere;max-width:100%}.question-text p+p{margin-top:.4em}.question-bottom{display:flex;gap:3vw;align-items:center;font:700 4vh/1 var(--category);text-transform:uppercase}.timer-track{height:1.1vh;background:#ffffff33;flex:1;overflow:hidden}.timer-track i{display:block;height:100%;background:var(--accent)}.clock{display:flex;align-items:baseline;gap:.6rem;font-variant-numeric:tabular-nums}.clock span{font-size:13px}.clock strong{font:400 7vh/1 var(--display);color:var(--value)}.answer-status{white-space:nowrap}.imageboard{position:relative;width:100%;max-width:100%;flex-shrink:0;background:#fff}.picture{position:absolute;overflow:hidden}.picture img{position:absolute;max-width:none;object-fit:fill}.figure-label{position:absolute;display:flex;align-items:center;justify-content:center;text-align:center;font:700 4vh/1 Arial,sans-serif;color:#111;white-space:pre-line;text-transform:none}.projector-game{width:100vw;height:100dvh;overflow:hidden;position:relative;display:grid;background:var(--board)}.projector-game.board-stage{grid-template-rows:minmax(0,1fr) 22vh;gap:.6vh;padding:.6vh}.projector-game.empty-board{grid-template-rows:1fr}.projector-game .clock span{display:none}.projector-game .question-stage{height:100dvh}.join-overlay{position:absolute;right:2vw;top:19vh;background:var(--rail);color:var(--rail-ink);border:.6vh solid var(--accent);padding:1.5vh;display:grid;gap:1vh;justify-items:center;box-shadow:0 1vh 4vh #0008}.join-overlay img{width:26vh;height:26vh;min-width:180px;min-height:180px;background:white}.join-overlay strong{font:400 7vh/1 var(--display);letter-spacing:.06em}.paused-overlay{position:absolute;inset:0;display:grid;place-items:center;z-index:10;background:color-mix(in srgb,var(--board) 94%,transparent);font:900 16vh/1 var(--body);color:var(--text)}[data-role=screen]{overflow:hidden}.wager-stage{display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;gap:5vh;background:var(--clue);color:var(--text);min-height:60vh}.wager-stage h1{font:400 14vh/1 var(--display);color:var(--value)}.wager-stage h2{font:900 7vh/1.1 var(--body)}.wager-count{font:400 9vh/1 var(--display)}.projector-game .wager-stage{height:100dvh}.result-stage{display:flex;flex-direction:column;justify-content:center;gap:3vh;padding:5vh 5vw;background:var(--clue);color:var(--text)}.result-stage h1{font:400 9vh/1 var(--display);color:var(--value)}.result-stage h2{font:900 7vh/1.1 var(--body)}.result-team{display:flex;align-items:center;justify-content:space-between;gap:3vw;border-left:1vw solid var(--team);padding-left:2vw;font:700 5.5vh/1.1 var(--category)}.result-team strong{font:400 6vh/1 var(--display);color:var(--value)}.podium{background:var(--clue);color:var(--text);padding:3vh 5vw;overflow:hidden}.podium h1{font:400 7vh/1 var(--display);color:var(--value)}.podium .winner{font:900 7vh/1.1 var(--body);margin:2vh 0 3vh}.podium ol{list-style:decimal-leading-zero;margin:2vh 0 0;padding-left:5vw;display:grid;gap:1.1vh}.podium li{padding:.8vh 1vw;border-left:.6vw solid var(--team);font:700 5vh/1.05 var(--category)}.podium li::marker{font:400 4vh var(--display)}.podium li strong{float:right;font:400 5.3vh/1 var(--display);color:var(--value)}.host-preview .podium li{font-size:26px}.host-preview .podium li strong{font-size:32px}.host-preview .podium h1,.host-preview .podium .winner{font-size:34px}
.join-home,.team-join{max-width:560px;margin:0 auto;padding:8vh 6vw 4vh;min-height:100dvh;background:var(--clue);color:var(--text)}.join-home h1,.team-join h1{font:400 52px/1 var(--display);text-transform:uppercase;margin-bottom:2rem}.join-home #roomCode{font:400 48px/1 var(--display);letter-spacing:.15em;margin-bottom:1.5rem;text-align:center}.join-home .primary,.team-join .primary,.phone .primary{background:var(--accent);border-color:var(--accent);color:#111;font:900 22px/1 var(--body);min-height:60px}.join-code{font:400 28px/1 var(--display);color:var(--value);margin-bottom:1rem}.team-picker{margin-bottom:1rem}.pick-team{display:grid;grid-template-columns:1fr auto;align-items:center;position:relative;border-bottom:1px solid var(--rule);border-left:5px solid var(--team);padding:1rem;margin:0;cursor:pointer;min-height:62px}.pick-team input{grid-column:2;grid-row:1;width:22px;height:22px;min-height:0;margin:0;accent-color:var(--accent)}.pick-team span{grid-column:1;grid-row:1;font-size:18px}.pick-team small{grid-column:1;opacity:.8;margin-top:.3rem}.pick-team:has(input:checked){background:var(--rail);color:var(--rail-ink)}.reconnect-entry{margin:1.5rem 0;font-size:15px}.reconnect-entry label{margin-top:1rem}.phone{max-width:650px;margin:auto;min-height:100dvh;background:var(--clue);color:var(--text)}.phone-team{position:relative;display:grid;grid-template-columns:1fr auto;align-items:center;gap:.6rem;padding:1.2rem 6vw .9rem;background:var(--rail);color:var(--rail-ink);border-bottom:5px solid var(--team)}.phone-team>span{font:800 22px/1.15 var(--body);text-transform:uppercase}.phone-team strong{font:400 40px/1 var(--display);color:var(--value)}.phone-team small{grid-column:1/-1;opacity:.75;font-size:11px}.phone-body{padding:1.4rem 6vw 2rem}.phone-meta{display:flex;align-items:center;justify-content:space-between;gap:.5rem;font:800 17px/1.15 var(--body);text-transform:uppercase}.phone-meta .clock strong{font:400 32px/1 var(--display)}.phone-meta .clock span{display:none}.phone-clue{font:900 21px/1.3 var(--clue-font);text-transform:uppercase;margin:1.5rem 0}.phone-clue p+p{margin-top:.8rem}.phone-clue .imageboard,.phone-key .imageboard{margin:1rem auto}.phone-clue .figure-label,.phone-key .figure-label{font-size:14px}.phone label{font-size:17px}.phone textarea{font:800 20px/1.4 var(--body);min-height:150px;background:white;color:#111;border:0;border-radius:8px}.phone #answerReceipt{font-size:16px;min-height:2rem;padding:.5rem 0 1rem}.phone-wait{min-height:45vh;display:flex;flex-direction:column;justify-content:center;gap:1rem}.phone-wait h1{font:400 46px/1 var(--display);text-transform:uppercase}.phone-wait h2{font:900 28px/1.15 var(--body)}.phone-wager h1{font:400 44px/1 var(--display);text-transform:uppercase;margin:1rem 0}.phone-wager h2{font-size:22px;margin:1rem 0 2rem}.phone-key{border-top:1px solid var(--rule);margin-top:1.5rem;padding-top:1rem}.phone-key summary{font-size:20px;margin-bottom:1rem}.phone-key p{margin:.7rem 0}.phone-result{display:grid;gap:.5rem;margin:1rem 0;padding:1.4rem;border:3px solid var(--accent)}.phone-result h2{font-size:28px}.phone-result strong{font:400 48px/1 var(--display);color:var(--value)}.phone-result>span{font-size:17px}.phone .podium{padding:1rem 0}.phone .podium h1,.phone .podium .winner{font-size:30px}.phone .podium li{font-size:21px;padding:.7rem}.phone .podium li strong{font-size:26px}.phone .podium li::marker{font-size:20px}.buzzer{width:100%;min-height:180px;background:var(--accent);color:#111;font:400 54px/1 var(--display);margin:1.5rem 0}.phone #captainRename{padding:1.5rem 6vw;border-top:1px solid var(--rule)}.error-page{max-width:650px;margin:10vh auto;padding:2rem}.error-page p{margin:1.5rem 0}.loading{padding:3rem}#toast{position:fixed;bottom:1rem;left:50%;transform:translateX(-50%);z-index:100;background:var(--desk);color:var(--desk-ink);border:3px solid var(--accent);padding:1rem;max-width:90vw;opacity:0;pointer-events:none}#toast.show{opacity:1}[hidden]{display:none!important}
@media(max-width:1100px){.host-layout.has-clue{grid-template-columns:minmax(0,.8fr) minmax(430px,1.2fr)}.header-controls{gap:.4rem}.header-controls button,.header-controls .button-link{font-size:13px;padding:.5rem}.brand{font-size:24px}.host-preview .question-stage{padding:1rem}.response{grid-template-columns:100px minmax(90px,1fr) auto}.response-heading h3{font-size:14px}}
@media(max-width:800px){.host-layout.has-clue{display:block}.host-preview .question-stage{height:45vh;min-height:320px}.grading{margin-top:1.2rem}.host-game{padding:1rem 4vw}.desk-header{padding:.7rem 4vw;align-items:flex-start}.header-controls{gap:.4rem}.brand{font-size:23px}.host-preview>.board{min-height:300px;height:42vh}.host-preview .category{font-size:16px}.host-preview .tile{font-size:44px}.host-preview .tile.reserved{font-size:24px}.host-preview .score-team>span{font-size:17px}.host-preview .score-team strong{font-size:24px}.setup-fields{grid-template-columns:1fr 1fr}.team-names{grid-template-columns:1fr 1fr}.team-admin-row{grid-template-columns:minmax(0,1fr) 40px minmax(0,1fr) minmax(0,1fr)}.team-admin-row>.device-state{grid-column:3/5}.team-admin-row>[data-submitter]{grid-row:2;grid-column:1/3}.team-admin-row>[data-move]{grid-row:2;grid-column:3/5}.team-admin-row>[data-release]{grid-row:3;grid-column:1/3}.team-admin-row>[data-reconnect]{grid-row:3;grid-column:3}.team-admin-row>[data-remove]{grid-row:3;grid-column:4}.team-admin-row>.reconnect-code{grid-row:4;grid-column:3}#adjust{grid-template-columns:1fr 1fr}.grade-buttons{max-width:110px}.key-legend{line-height:1.8}.response{grid-template-columns:minmax(95px,.65fr) minmax(90px,1fr) auto}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation:none!important;transition:none!important}}

.projector-game .clock strong,.projector-game .question-meta b,.projector-game .podium li strong,.projector-game .result-team strong,.projector-game .wager-stage h1{background:var(--value-backing);padding:.3vh .6vw}.projector-game .podium h1,.projector-game .result-stage h1{color:var(--text)}

.projector-game.board-stage.wide-scores{grid-template-rows:minmax(0,1fr) 30vh}.projector-game.wide-scores .score-team{display:flex;flex-direction:column;align-items:stretch;justify-content:center;gap:.4vh;text-align:center}.projector-game.wide-scores .score-team strong{order:0}.projector-game.wide-scores .score-team>span{order:1}

.phone #answerReceipt.closed{font:900 24px/1.2 var(--body);padding:1rem 0}.final-result{align-items:center;text-align:center;gap:3vh}.final-result .result-team{display:grid;justify-items:center;gap:2vh;border:0;padding:0;font:700 7vh/1.1 var(--category)}.final-result .final-mark{font:900 5.5vh/1 var(--body)}.final-result .final-delta{font:400 16vh/1 var(--display);color:var(--value)}.final-result .final-score{font:700 5vh/1 var(--category)}.final-result .final-score strong{font:400 8vh/1 var(--display)}.final-result .reveal-count{font:700 4vh/1 var(--category)}

.watch-link{margin:0 0 1.2rem}
@media(min-width:900px){
 .team-join{max-width:1050px;padding:3vh 3vw}.team-join h1{margin-bottom:1rem}.team-join .team-picker{display:grid;grid-template-columns:1fr 1fr;gap:0 1rem}.team-join .reconnect-entry{margin:1rem 0}
 .phone{max-width:none;width:100%;height:100dvh;min-height:0;display:grid;grid-template-rows:auto minmax(0,1fr)}.phone-team{grid-template-columns:minmax(0,1fr) auto auto;padding:.8rem 2.5vw;gap:1.5rem}.phone-team>span{font-size:24px}.phone-team small{grid-column:auto;font-size:13px}.phone-body{min-height:0;overflow:hidden;padding:1.1rem 2.5vw 1.4rem;display:grid;grid-template-columns:minmax(0,1.2fr) minmax(340px,.8fr);grid-template-rows:auto minmax(0,1fr);gap:1rem 2.8vw;align-items:start}.phone-meta{grid-column:1/-1;font-size:20px}.phone-clue{grid-column:1;grid-row:2 / span 2;min-height:0;max-height:100%;overflow:auto;font-size:21px;line-height:1.3;margin:0;padding-right:.4rem}.phone-body>#answerForm,.phone-body>.buzzer,.phone-body>.phone-result{grid-column:2;grid-row:2;margin:0}.phone #answerText{height:clamp(190px,34vh,310px)}.phone-body>.phone-key{grid-column:2;grid-row:3;max-height:30vh;overflow:auto;margin-top:0}.phone-body>.phone-wait,.phone-body>.phone-wager,.phone-body>.podium{grid-column:1/-1}.phone-wager{max-width:600px;width:100%;justify-self:center}.phone #captainRename{display:flex;gap:1rem;align-items:end;padding:.6rem 2.5vw}.phone #captainRename label{margin:0;max-width:600px;flex:1}.phone .phone-clue .figure-label{font-size:17px}
}
@media(max-width:899px){
 body[data-role=screen] .join-overlay{display:none}
 body[data-role=screen] .projector-game.board-stage,body[data-role=screen] .projector-game.board-stage.wide-scores{grid-template-rows:minmax(0,1fr) 36vh}
 body[data-role=screen] .projector-game .category{font-size:clamp(11px,3.1vw,22px);padding:.5vh .3vw}
 body[data-role=screen] .projector-game .tile{font-size:clamp(22px,9vw,64px)}body[data-role=screen] .projector-game .tile.reserved{font-size:clamp(16px,6vw,34px)}
 body[data-role=screen] .projector-game .scoreboard{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(4,minmax(0,1fr));gap:.4vh 2vw}
 body[data-role=screen] .projector-game .score-team{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:1fr;text-align:left;gap:1vw}
 body[data-role=screen] .projector-game .score-team>span{font-size:clamp(13px,3.8vw,20px)}body[data-role=screen] .projector-game .score-team strong{font-size:clamp(22px,6vw,32px)}
 body[data-role=screen] .projector-game .question-stage{padding:3vh 4vw;gap:2vh}body[data-role=screen] .projector-game .question-meta{font-size:clamp(15px,4vw,24px)}body[data-role=screen] .projector-game .question-meta b{font-size:26px}
 body[data-role=screen] .projector-game .clock strong{font-size:clamp(24px,7vw,36px)}body[data-role=screen] .projector-game .answer-status{font-size:clamp(16px,4vw,22px)}body[data-role=screen] .projector-game .figure-label{font-size:18px}
 body[data-role=screen] .paused-overlay{font-size:12vw}body[data-role=screen] .projector-game .podium{overflow:auto}body[data-role=screen] .projector-game .podium h1,body[data-role=screen] .projector-game .podium .winner{font-size:32px}body[data-role=screen] .projector-game .podium li{font-size:18px;padding:1vh 1vw}body[data-role=screen] .projector-game .podium li strong{font-size:25px}body[data-role=screen] .projector-game .podium li::marker{font-size:20px}
 body[data-role=screen] .final-result .result-team{font-size:clamp(24px,7vw,38px)}body[data-role=screen] .final-result .final-mark{font-size:clamp(22px,6vw,32px)}body[data-role=screen] .final-result .final-delta{font-size:clamp(64px,20vw,100px)}body[data-role=screen] .final-result .final-score{font-size:20px}body[data-role=screen] .final-result .final-score strong{font-size:40px}body[data-role=screen] .final-result .reveal-count{font-size:18px}body[data-role=screen] .final-result h1{font-size:clamp(32px,10vw,52px)}
}

/* Kerik's desk: the current task leads; exceptions stay in a reachable menu. */
.host-actions{justify-content:space-between;gap:1rem;margin-bottom:.35rem;min-height:84px}
.host-status{display:flex;flex-direction:column;gap:.35rem;max-width:620px}
.host-status strong{font-size:23px;line-height:1.15;font-weight:900}
.host-status small{font-size:14px;line-height:1.4;font-weight:600;color:#4f5571}
.host-action-buttons{display:flex;align-items:center;gap:.55rem;flex-shrink:0}
.host-action-buttons>.primary{min-width:150px}
.host-more,.room-menu{position:relative}
.host-more>summary,.room-menu>summary{list-style:none;display:flex;align-items:center;justify-content:center;gap:.5rem;min-height:46px;padding:.65rem .9rem;border:1.5px solid var(--desk-line);border-radius:5px;background:var(--control);font-size:.94rem}
.host-more>summary::-webkit-details-marker,.room-menu>summary::-webkit-details-marker{display:none}
.pacing{font-size:12px;margin-bottom:1.1rem;font-weight:600;color:#4f5571;opacity:1}
.key-legend{font-size:12px;font-weight:600;color:#4f5571}
.key-legend summary{width:max-content;padding:.5rem 0}
.key-legend p{padding:.5rem 0;line-height:1.6}
.grading-heading{display:flex;align-items:baseline;justify-content:space-between;gap:1rem;margin:1.2rem 0 .4rem}
.grading-heading h2{font-size:20px}
.grading-heading>span{font-size:13px;font-weight:600;color:#4f5571}
.host-preview .clock strong{font-size:44px}
.host-preview .question-stage{min-height:390px}
.response-heading h3{font-size:16px;line-height:1.3}
.response-heading>span{font-size:13px;font-weight:600;color:#4f5571}
.response-copy .suggestion{font-weight:600;opacity:1;color:#4f5571}
.grade-buttons button{min-width:48px;min-height:48px}
@media(max-width:1100px){.host-status strong{font-size:21px}.host-status small{font-size:13px}.host-action-buttons{gap:.35rem}.host-action-buttons button{padding:.6rem .7rem}.host-action-buttons>.primary{min-width:125px}.desk-header .header-controls{gap:.4rem}.room-menu>summary{font-size:13px;padding:.5rem}.host-actions{align-items:flex-start}.host-status{max-width:48%}}
@media(max-width:800px){.desk-header{align-items:center;flex-wrap:wrap}.desk-header .header-controls{flex:1}.host-actions{align-items:flex-start;flex-direction:column;gap:.9rem;padding-bottom:.5rem}.host-status{max-width:100%}.host-action-buttons{flex-wrap:wrap;width:100%}.host-more{margin-left:auto}.host-layout.has-clue .host-preview .question-stage{height:auto;min-height:280px}.host-preview .question-text{max-height:35vh}.response-heading h3{font-size:14px}.host-preview .clock strong{font-size:36px}.grading-heading{margin-top:1rem}}
@media(min-width:801px){
 [data-role=host] #app:has(.host-layout.has-clue){height:100dvh;display:flex;flex-direction:column;overflow:hidden}
 .desk-header{min-height:66px;flex-shrink:0}
 .host-game:has(.host-layout.has-clue){min-height:0;flex:1;display:flex;flex-direction:column;padding-top:.75rem;padding-bottom:.5rem}
 .host-game:has(.has-clue)>.host-actions{flex-shrink:0;min-height:68px}
 .host-game:has(.has-clue)>.pacing,.host-game:has(.has-clue)>.key-legend{flex-shrink:0}
 .host-game:has(.has-clue)>.pacing{margin-bottom:.7rem}
 .host-layout.has-clue{flex:1;min-height:0}
 .has-clue>.host-preview{height:100%;min-height:0;display:flex;flex-direction:column}
 .has-clue>.host-preview>.question-stage{flex:1;height:auto;min-height:0}
 .has-clue>.host-preview>.page-controls{flex-shrink:0}
 .has-clue>.grading{height:100%;min-height:0;display:flex;flex-direction:column}
 .grading>.answer-key{flex-shrink:0;margin-bottom:.4rem}
 .grading .key-content{max-height:12vh}
 .grading>.grading-heading{flex-shrink:0;margin:.6rem 0 .3rem}
 .grading>.responses{flex:1;min-height:0;overflow:auto;align-content:start;scrollbar-gutter:stable;padding-right:.3rem}
 .grading>#confirmAll,.grading>.final-reveals{flex-shrink:0;margin-top:.65rem}
 .grading>.responses>.response{padding:.6rem 0}
 .host-game:has(.has-clue)>.key-legend{margin-top:.2rem}
 .key-legend[open]{max-height:80px;overflow:auto}
}
.scoring-complete{font-size:13px;line-height:1.4;font-weight:600;color:var(--ok);padding:.9rem .3rem;flex-shrink:0}/* One illuminated object, on a dark stage. Material images are embedded below. */:root{--stage:#020616;--clue:#081d51;--tile:#12347e;--value-backing:#0a225d;--value:#ffb365;--accent:#ff9b4d;--bezel:#142e60;--plate:linear-gradient(160deg,#244986aa,#071539dd);--texture:none;--material:none}
.projector-game{isolation:isolate;background:radial-gradient(ellipse at 50% -15%,#7696b044,transparent 64%),radial-gradient(ellipse at 50% 110%,#31426455,transparent 65%),var(--stage)}
.projector-game.board-stage,.projector-game.board-stage.wide-scores{padding:2vh 2vw 1vh;gap:0;grid-template-rows:minmax(0,1fr) 21.5vh}
.projector-game.empty-board{grid-template-rows:1fr;padding:3vh 3vw}
.board{position:relative;isolation:isolate;padding:1.3vh;gap:.85vh;background:linear-gradient(150deg,#ffffff38,#0009 25%,#000b 70%,#ffffff18),var(--material),var(--bezel);background-size:cover;border:solid .65vh var(--bezel);border-radius:1.1vh;box-shadow:inset 0 .2vh .2vh #fff9,inset 0 -.65vh .7vh #000b,0 1.5vh 1.5vh #000b,0 3vh 7vh #000c;grid-template-rows:.75fr repeat(5,1fr)}
.board:before{content:'';position:absolute;inset:1.3vh;background:#020409dd;z-index:-1;box-shadow:inset 0 .4vh .6vh #000}
.category{border:0;background:linear-gradient(#ffffff22,#0002),var(--tile);box-shadow:inset 0 .18vh #ffffff55,inset 0 -.25vh .3vh #0008;color:var(--text);text-shadow:0 .15vh .1vh #0007;font-size:4.1vh;letter-spacing:.025em}
.tile{background:linear-gradient(180deg,#ffffff2e 0%,#ffffff08 30%,transparent 48%,#0007 100%),var(--material),var(--value-backing);background-size:cover;box-shadow:inset 0 .24vh .18vh #ffffff60,inset .24vh 0 .2vh #ffffff20,inset -.3vh -.4vh .4vh #000a,0 .22vh .15vh #000;position:relative;text-shadow:0 .15vh #ffffff44,.2vh .35vh .16vh #000b;letter-spacing:.01em;font-size:10.8vh}
.tile.used,.tile.used:disabled{background:linear-gradient(#000b,#0008),var(--material),var(--used);background-size:cover;box-shadow:inset 0 .5vh 1vh #000,inset 0 -.15vh #ffffff23;opacity:1}
.tile.reserved{font-size:6vh;letter-spacing:.07em;background:radial-gradient(ellipse at 50% 0,#fff5,transparent 70%),linear-gradient(140deg,#0001,#000a),var(--material),var(--tile);box-shadow:inset 0 0 0 .35vh var(--accent),inset 0 .7vh 1.3vh #ffffff44,0 0 2vh #ffcb5622}
.projector-game .scoreboard{display:flex;flex-wrap:wrap;align-content:center;justify-content:center;gap:.5vh 2vw;padding:1.2vh 1.1vw 0;background:radial-gradient(ellipse at 50% 0%,#ffffff12,transparent 85%),linear-gradient(#040714a6,#010207aa);border-radius:0 0 2vh 2vh;box-shadow:0 1vh 2vh #0008;overflow:hidden}
.projector-game .score-team,.projector-game.wide-scores .score-team{display:flex;flex-direction:row;align-items:center;justify-content:space-between;flex:0 0 calc(25% - 1.6vw);gap:.5vw;border:0;text-align:left;padding:.4vh 0;position:relative}
.projector-game .score-team>span,.projector-game.wide-scores .score-team>span{font-size:4.2vh;line-height:1.02;order:0;color:var(--rail-ink);text-shadow:0 .2vh .3vh #000;overflow-wrap:anywhere}
.projector-game .score-team strong,.projector-game.wide-scores .score-team strong{order:1;font-size:5.3vh;color:var(--rail-ink);text-shadow:0 .25vh .3vh #000}
.projector-game .score-team:before{content:'';position:absolute;left:-.75vw;top:22%;height:56%;width:.33vw;background:var(--team);box-shadow:0 0 1vh color-mix(in srgb,var(--team) 50%,transparent)}
.question-stage,.result-stage,.podium,.wager-stage{isolation:isolate;position:relative;background:radial-gradient(ellipse at 50% 40%,color-mix(in srgb,var(--clue) var(--calm,35%),transparent) 0%,color-mix(in srgb,var(--clue) var(--calm-edge,25%),transparent) 38%,transparent 95%),var(--material),var(--clue);background-size:cover;color:var(--text)}
.question-stage:before,.result-stage:before,.podium:before,.wager-stage:before{content:'';position:absolute;z-index:-1;inset:0;pointer-events:none;background:radial-gradient(ellipse at 50% -20%,#ffffff21,transparent 65%),radial-gradient(ellipse at 50% 48%,transparent 25%,#0006 100%);box-shadow:inset 0 0 9vw #0006}
.projector-game .question-stage{padding:3vh 4vw 2.5vh;gap:1.3vh}
.projector-game .question-meta{justify-content:flex-start;gap:2vw;font-size:4vh;padding-bottom:1.5vh}
.projector-game .question-meta b{font-size:5.5vh;background:var(--plate);box-shadow:inset 0 .14vh #fff5,0 .4vh .6vh #0006;padding:.7vh 1.4vw}
.projector-game .question-text{padding:1vh .5vw;text-shadow:0 .25vh .4vh #0008}
.projector-game .clock strong{font-size:9vh;background:transparent;padding:0;text-shadow:0 .3vh .4vh #0009}
.projector-game .question-bottom{font-size:4vh;gap:2vw}
.projector-game .timer-track{height:1.5vh;border-radius:.8vh;box-shadow:inset 0 .3vh .5vh #0008}
.projector-game .timer-track i{box-shadow:0 0 2vh var(--accent);background:linear-gradient(#fff7,transparent),var(--accent)}.projector-game .question-stage:before{background:radial-gradient(ellipse at 50% 50%,transparent 35%,#0009 90%);box-shadow:inset 0 0 14vw #010a2b}
.result-stage.ensemble-result{display:grid;grid-template-rows:minmax(18vh,.8fr) minmax(0,1.2fr);gap:3vh;padding:3vh 4vw}
.ensemble-result .reveal-answer{align-self:center;text-align:center;text-wrap:balance;font:900 clamp(4.5vh,5vw,6vh)/1.08 var(--clue-font);color:var(--text);text-shadow:0 .3vh .5vh #0008}
.result-plates{display:flex;flex-wrap:wrap;justify-content:center;align-items:stretch;gap:2vh 2vw;min-height:0}
.ensemble-result .result-team{flex:1 1 43%;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:1vh 1vw;align-items:center;border:0;border-radius:.5vh;padding:2vh 2vw;background:linear-gradient(110deg,color-mix(in srgb,var(--team) 25%,transparent),transparent 65%),var(--plate);box-shadow:inset 0 .22vh #fff5,inset 0 -.3vh #0008,0 1vh 2vh #0005;position:relative}
.ensemble-result .result-team>span{grid-row:1/3;align-self:center;font:700 5.8vh/1.04 var(--category);overflow-wrap:anywhere}
.ensemble-result .result-team .result-gain{font:400 7.5vh/1 var(--display);color:var(--value);text-align:right}
.ensemble-result .result-team strong{font:400 5.5vh/1 var(--display);background:none;color:var(--text);text-align:right;padding:0}
.ensemble-result:has(.result-team:nth-child(5)) .result-team{flex-basis:29%;padding:1.5vh 1.3vw}
.ensemble-result:has(.result-team:nth-child(5)) .result-team>span{font-size:4.6vh}
.ensemble-result:has(.result-team:nth-child(5)) .result-gain{font-size:6vh}
.projector-game .podium{padding:3vh 5vw;display:flex;flex-direction:column;gap:1vh}
.projector-game .podium h1{font-size:6vh;margin:0}
.projector-game .podium ol{display:flex;flex-direction:column;gap:.8vh;min-height:0;padding:0;counter-reset:rank;margin:0;flex:1}
.projector-game .podium li{display:flex;align-items:center;gap:2vw;counter-increment:rank;list-style:none;border:0;font:700 4.6vh/1 var(--category);padding:.5vh 1vw .5vh 0;min-height:0;flex:1;position:relative}
.projector-game .podium li:before{content:counter(rank,decimal-leading-zero);font:400 4vh/1 var(--display);color:var(--value);width:5vw;text-align:center;opacity:.8}
.projector-game .podium li>span{flex:1}
.projector-game .podium li>strong{font-size:5.4vh;background:none;color:var(--text);padding:0}
.projector-game .podium li:is(:first-child,[data-top]){flex:2.5;margin-bottom:.5vh;padding:1.5vh 2vw 1.5vh 0;background:linear-gradient(100deg,color-mix(in srgb,var(--team) 30%,transparent),transparent),var(--plate);box-shadow:inset 0 .2vh #fff4,0 1vh 2vh #0006;font-size:7vh}
.projector-game .podium li:is(:first-child,[data-top])>strong{font-size:10vh;color:var(--value)}
.projector-game .podium li:is(:first-child,[data-top]):before{font-size:8vh}
.projector-game .podium .winner{font:700 6vh/1 var(--category);color:var(--value);text-align:center;margin:0}
.projector-game .wager-stage{gap:4vh;overflow:hidden;background:radial-gradient(ellipse at 50% 30%,transparent,#000b),var(--material),var(--clue);background-size:cover}
.projector-game .wager-stage h1{position:relative;font-size:clamp(14vh,16vw,25vh);max-width:94%;text-wrap:balance;letter-spacing:.02em;text-shadow:0 .6vh .2vh #000b,0 0 5vh #ffc25133;background:none;padding:0}
.projector-game .wager-stage h2{font-size:6vh}
.projector-game .final-lockup{background:radial-gradient(ellipse at 50% 22%,#ffffff2b,transparent 55%),radial-gradient(ellipse at 50% 40%,transparent,#000d),var(--material),var(--stage)}
.moment-enter h1{animation:lockup-slam 480ms cubic-bezier(.15,.9,.3,1) both}
.moment-enter:after{content:'';position:absolute;inset:-30%;pointer-events:none;background:linear-gradient(110deg,transparent 40%,#fff5 50%,transparent 60%);transform:translateX(-100%);animation:material-sweep 850ms 150ms ease-out both}
@keyframes lockup-slam{from{transform:scale(1.65);opacity:0}70%{transform:scale(.97);opacity:1}to{transform:scale(1)}}
@keyframes material-sweep{to{transform:translateX(100%)}}
@media(prefers-reduced-motion:reduce){.moment-enter h1{animation:moment-fade 120ms both!important}.moment-enter:after{display:none}@keyframes moment-fade{from{opacity:0}to{opacity:1}}}
@media(max-width:899px){body[data-role=screen] .projector-game .scoreboard{display:flex;gap:.5vh 3vw}body[data-role=screen] .projector-game .score-team{flex-basis:calc(50% - 2vw)}body[data-role=screen] .projector-game .score-team>span{font-size:clamp(18px,4vw,28px)}body[data-role=screen] .projector-game .score-team strong{font-size:clamp(26px,6vw,40px)}.ensemble-result .result-team{flex-basis:100%}.ensemble-result .result-team>span{font-size:4.5vh}.ensemble-result .reveal-answer{font-size:5vh}}
/* The private desk and captain surfaces share the stage's physical materials. */
body[data-role="host"] .host-game:has(.has-clue){background-color:var(--clue);background-image:linear-gradient(105deg,color-mix(in srgb,var(--clue) 50%,transparent),color-mix(in srgb,var(--clue) 65%,transparent)),var(--material);background-size:cover;color:var(--text)}
body[data-role="host"] .host-game:has(.has-clue) .host-status small,body[data-role="host"] .host-game:has(.has-clue) .pacing,body[data-role="host"] .host-game:has(.has-clue) .key-legend{color:var(--text);opacity:.82}
body[data-role="host"] .host-layout.has-clue{grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr);gap:.7rem}
body[data-role="host"] .host-layout.has-clue>.host-preview{height:auto;display:block;min-height:0;background:transparent;box-shadow:none}
body[data-role="host"] .has-clue .host-preview>.question-stage{display:grid;grid-template-columns:auto minmax(0,1fr) auto;grid-template-rows:auto;height:auto;min-height:0;padding:.8rem 1.25rem;gap:1.25rem;align-items:center;border:0;background:linear-gradient(180deg,#ffffff14,#00000021);box-shadow:inset 0 1px #ffffff38,0 7px 18px #0003}
body[data-role="host"] .has-clue .host-preview .question-meta{display:flex;gap:.8rem;align-items:center;font-size:18px;max-width:270px}
body[data-role="host"] .has-clue .host-preview .question-meta b{font-size:28px}
body[data-role="host"] .has-clue .host-preview .question-text{display:block;padding:0;max-height:2.8em;overflow:hidden;font-size:20px!important;line-height:1.3;text-align:left;text-transform:none}
body[data-role="host"] .has-clue .host-preview .question-text p{line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:left}
body[data-role="host"] .has-clue .host-preview .question-text p~p,body[data-role="host"] .has-clue .host-preview .question-text .imageboard{display:none}
body[data-role="host"] .has-clue .host-preview .question-bottom{font-size:13px;gap:.8rem}
body[data-role="host"] .has-clue .host-preview .clock{display:grid;gap:0;text-align:center}
body[data-role="host"] .has-clue .host-preview .clock strong{font-size:42px}
body[data-role="host"] .has-clue .host-preview .timer-track{display:none}
body[data-role="host"] .has-clue .host-preview>.page-controls{padding:.3rem .5rem;background:transparent;color:var(--text)}
body[data-role="host"] .has-clue .host-preview>.page-controls button{min-height:32px;padding:.25rem .7rem}
body[data-role="host"] .host-game:has(.has-clue)>.pacing{margin-bottom:.4rem;font-size:12px}
body[data-role="host"] .has-clue>.grading{color:var(--text);height:100%;min-height:0;display:flex;flex-direction:column}
body[data-role="host"] .grading>.answer-key{background:linear-gradient(100deg,color-mix(in srgb,var(--clue) 84%,#fff),var(--clue));border:0;padding:.65rem 1.25rem;box-shadow:inset 0 1px #fff4,0 5px 14px #0002;display:grid;grid-template-columns:180px minmax(0,1fr);gap:1.2rem;align-items:start;margin:0}
body[data-role="host"] .grading>.answer-key summary{font:700 18px/1.3 var(--category);padding:0}
body[data-role="host"] .grading>.answer-key .key-content{padding:0;max-height:8vh;font-size:19px;line-height:1.3}
body[data-role="host"] .grading>.answer-key:not([open]){display:block}
body[data-role="host"] .grading>.grading-heading{margin:.65rem .4rem .5rem;flex-shrink:0}
body[data-role="host"] .grading>.grading-heading h2{font-size:24px}
body[data-role="host"] .grading>.grading-heading>span{font-size:14px;color:var(--text);opacity:.85}
body[data-role="host"] .grading>.responses{display:grid;gap:.75rem;flex:1;min-height:0;overflow:auto;padding:0 .35rem .3rem;align-content:start;scrollbar-gutter:stable}
body[data-role="host"] .grading>.responses>.response{grid-template-columns:minmax(180px,.7fr) minmax(0,2fr) 150px;gap:1.7rem;min-height:112px;padding:1.1rem 1.4rem;border:0;background:linear-gradient(175deg,#ffffff13,#00000016),color-mix(in srgb,var(--clue) 92%,transparent);box-shadow:inset 0 2px #ffffff30,inset 0 -3px #0003,0 7px 15px #0002;position:relative}
body[data-role="host"] .grading .response-heading h3{font:700 clamp(23px,2.1vw,30px)/1.1 var(--category);color:var(--text)}
body[data-role="host"] .grading .response-heading>span{font:400 22px/1.2 var(--display);color:var(--value);display:block;margin-top:.35rem}
body[data-role="host"] .grading .response-text{font-size:clamp(21px,2.05vw,28px);line-height:1.25;max-height:9rem;color:var(--text)}
body[data-role="host"] .grading .response-copy .suggestion{font-size:12px;color:var(--text);opacity:.75;margin-top:.35rem}
body[data-role="host"] .grading .grade-buttons{max-width:none;gap:.6rem;flex-wrap:nowrap}
body[data-role="host"] .grading .grade-buttons button{width:68px;height:68px;min-width:60px;font-size:36px;border:0;border-radius:4px;box-shadow:inset 0 2px #fff8,0 4px 0 #0005,0 6px 12px #0002}
body[data-role="host"] .grading .grade-buttons [data-lock-team]{font-size:15px;min-width:54px;width:auto}
body[data-role="host"] .grading .grade-buttons .selected.right{background:#0b5c34;color:#fff}
body[data-role="host"] .grading .grade-buttons .selected.wrong{background:#961d26;color:#fff}
body[data-role="host"] .grading>#confirmAll{font-size:23px;min-height:56px;margin-top:.7rem;box-shadow:inset 0 2px #fff3,0 5px 18px #0003;background:var(--accent);border:0;color:#111}
body[data-role="host"] .grading>.scoring-complete{color:var(--text);font-size:16px;background:#ffffff12;padding:.7rem 1rem}

/* Captain identity is the footlight above a large writing surface. */
body[data-role="team"] .phone{background-color:var(--clue);background-image:radial-gradient(ellipse at 50% 30%,transparent 10%,#00000026 100%),linear-gradient(110deg,color-mix(in srgb,var(--clue) 45%,transparent),color-mix(in srgb,var(--clue) var(--calm-edge,25%),transparent)),var(--material);background-size:cover;isolation:isolate}
body[data-role="team"] .phone-team{background:linear-gradient(180deg,#ffffff0f,#00000030),var(--rail);border-bottom:0;box-shadow:inset 0 -3px color-mix(in srgb,var(--team) 70%,transparent),0 9px 25px #0005}
body[data-role="team"] .phone-team>span{font:700 28px/1.15 var(--category)}
body[data-role="team"] .phone-team strong{font-size:46px;text-shadow:0 3px 3px #0008}
body[data-role="team"] .phone-meta{font:700 22px/1.15 var(--category);letter-spacing:.025em}
body[data-role="team"] .phone-meta .clock strong{font-size:46px}
body[data-role="team"] .phone-clue{font-size:26px;text-align:center;line-height:1.25;align-content:center;text-wrap:balance}
body[data-role="team"] .phone #answerForm{padding:1.4rem 1.6rem 1.3rem;background:linear-gradient(160deg,#ffffff18,#00000025);box-shadow:inset 0 2px #fff3,0 14px 35px #0004}
body[data-role="team"] .phone #answerForm label{font:700 25px/1 var(--category);text-transform:uppercase;letter-spacing:.04em;margin-bottom:.7rem}
body[data-role="team"] .phone #answerText{font-size:24px;border-radius:3px;box-shadow:inset 0 4px 9px #0002,0 2px #fff3;padding:1rem;min-height:190px}
body[data-role="team"] .phone #answerReceipt{font-size:17px;padding:.75rem 0;min-height:2.8rem}
body[data-role="team"] .phone #submitAnswer{font-size:26px;min-height:62px;border-radius:3px;box-shadow:inset 0 2px #fff4,0 5px 0 #0004,0 9px 16px #0003}
body[data-role="team"] .phone-result{border:0;padding:1.5rem 0 2rem;margin:0;gap:.75rem;background:radial-gradient(ellipse at 50% 50%,#ffffff15,transparent 75%);box-shadow:none;justify-items:center;text-align:center;min-height:46vh;align-content:center}
body[data-role="team"] .phone-result h2{font:400 clamp(48px,12vw,86px)/1 var(--display);text-transform:uppercase}
body[data-role="team"] .phone-result strong{font:400 clamp(90px,26vw,150px)/1 var(--display);color:var(--value);text-shadow:0 5px 1px #0005,0 12px 30px #0005}
body[data-role="team"] .phone-result>span{font:700 33px/1.1 var(--category)}
body[data-role="team"] .phone-key{border:0;padding:1rem;background:#ffffff0d;box-shadow:inset 0 1px #ffffff2b}
body[data-role="team"] .phone-body:has(.phone-result)>.phone-clue{display:none}
body[data-role="team"] .phone-body:has(.phone-result)>.phone-meta{font-size:18px}

@media(min-width:900px){
 body[data-role="team"] .phone-team{padding:1rem 3vw;grid-template-columns:minmax(0,1fr) auto auto}
 body[data-role="team"] .phone-team>span{font-size:32px}
 body[data-role="team"] .phone-body{padding:1.6rem 3vw 2rem;grid-template-columns:minmax(0,1.22fr) minmax(340px,.9fr);grid-template-rows:auto minmax(0,1fr);gap:1.1rem 3vw;align-items:stretch}
 body[data-role="team"] .phone-clue{display:flex;flex-direction:column;justify-content:center;grid-row:2;max-height:100%;font-size:clamp(34px,4.1vw,60px);padding:1.5rem .7rem;overflow:auto}
 body[data-role="team"] .phone-clue:has(.imageboard){font-size:25px;justify-content:flex-start}
 body[data-role="team"] .phone-clue p{width:100%;flex-shrink:0}
 body[data-role="team"] .phone #answerForm{align-self:center;display:flex;flex-direction:column;min-height:0;width:100%;max-height:100%}
 body[data-role="team"] .phone #answerText{height:clamp(250px,42vh,340px);min-height:160px}
 body[data-role="team"] .phone-body>.phone-result{grid-column:1/-1;grid-row:2;min-height:0;padding:0;gap:1.1rem}
 body[data-role="team"] .phone-result h2{font-size:12vh}
 body[data-role="team"] .phone-result strong{font-size:23vh}
 body[data-role="team"] .phone-result>span{font-size:6vh}
 body[data-role="team"] .phone-body>.phone-key{grid-column:1/-1;grid-row:3;max-height:15vh;align-self:end}
 body[data-role="team"] .phone-body:has(.phone-result){grid-template-rows:auto minmax(0,1fr) auto}
}
@media(max-width:1100px) and (min-width:801px){
 body[data-role="host"] .grading>.responses>.response{grid-template-columns:minmax(150px,.65fr) minmax(0,1.6fr) 132px;gap:1rem;padding:1rem}
 body[data-role="host"] .grading .grade-buttons button{width:60px;height:64px;min-width:58px}
 body[data-role="host"] .has-clue .host-preview .question-meta{font-size:15px;max-width:210px}
 body[data-role="host"] .has-clue .host-preview .question-text{font-size:17px!important}
}
@media(max-width:800px){
 body[data-role="host"] .host-game:has(.has-clue){padding:1rem 4vw}
 body[data-role="host"] .host-layout.has-clue{display:flex;flex-direction:column;gap:1rem}
 body[data-role="host"] .has-clue .host-preview>.question-stage{grid-template-columns:1fr auto;grid-template-rows:auto auto;padding:1rem;gap:.6rem}
 body[data-role="host"] .has-clue .host-preview .question-meta{max-width:none;grid-column:1}
 body[data-role="host"] .has-clue .host-preview .question-text{grid-column:1/-1;grid-row:2;max-height:2.8em}
 body[data-role="host"] .has-clue .host-preview .question-bottom{grid-column:2;grid-row:1}
 body[data-role="host"] .has-clue .host-preview .answer-status{display:none}
 body[data-role="host"] .grading>.answer-key{display:block;padding:1rem}
 body[data-role="host"] .grading>.answer-key .key-content{padding-top:.6rem;max-height:24vh}
 body[data-role="host"] .grading>.responses{overflow:visible}
 body[data-role="host"] .grading>.responses>.response{grid-template-columns:minmax(0,1fr) 120px;gap:.8rem;padding:1rem;min-height:0}
 body[data-role="host"] .grading .response-heading{grid-column:1/-1;display:flex;justify-content:space-between;gap:1rem;align-items:center}
 body[data-role="host"] .grading .response-heading h3{font-size:24px}
 body[data-role="host"] .grading .response-text{font-size:21px}
 body[data-role="host"] .grading .grade-buttons{gap:.5rem}
 body[data-role="host"] .grading .grade-buttons button{width:56px;height:62px;min-width:54px;font-size:30px}
 body[data-role="host"] .grading>#confirmAll{position:sticky;bottom:.5rem}
 body[data-role="team"] .phone-body{padding:1.5rem 6vw 2rem}
 body[data-role="team"] .phone-team>span{font-size:26px}
 body[data-role="team"] .phone-meta{font-size:19px}
 body[data-role="team"] .phone-clue{font-size:25px;margin:1.8rem 0}
 body[data-role="team"] .phone #answerForm{padding:1.15rem}
 body[data-role="team"] .phone #answerText{font-size:21px}
 body[data-role="team"] .phone-body:has(.phone-result) .phone-result{min-height:50vh;padding:1rem 0}
}

body[data-role="host"] .host-more>summary{color:var(--desk-ink)}
.projector-game .winner-stage{background:radial-gradient(ellipse at 50% 15%,#ffffff20,transparent 65%),radial-gradient(ellipse at 50% 40%,transparent,#0009),var(--material),var(--clue);background-size:cover}

.ensemble-result .result-team{background:linear-gradient(110deg,color-mix(in srgb,var(--team) 24%,transparent),transparent 65%),linear-gradient(160deg,color-mix(in srgb,var(--clue) 45%,transparent),color-mix(in srgb,var(--clue) 65%,transparent)),var(--material),var(--clue);background-size:cover}
body[data-role="host"] .grading>.responses>.response{background:linear-gradient(175deg,#ffffff13,#00000016),linear-gradient(110deg,color-mix(in srgb,var(--clue) 45%,transparent),color-mix(in srgb,var(--clue) 65%,transparent)),var(--material),var(--clue);background-size:cover}


/* A quiet pool of the same material protects the embossed ink at each face centre. */
.tile{background-image:linear-gradient(180deg,#ffffff24,transparent 32%,#0007),radial-gradient(ellipse at 50% 48%,color-mix(in srgb,var(--value-backing) 78%,transparent) 15%,transparent 90%),var(--material)}


.projector-game.board-stage{grid-template-rows:minmax(0,1fr) 26vh}
.projector-game .score-team>span{font-size:5vh}
.projector-game.board-stage.wide-scores{grid-template-rows:minmax(0,1fr) 30vh}
.projector-game.wide-scores .score-team{flex-direction:column;align-items:stretch;text-align:center;gap:.4vh}
.projector-game.wide-scores .score-team>span{font-size:4.2vh;order:1}
.projector-game.wide-scores .score-team strong{order:0}
@media(max-width:899px){body[data-role=screen] .projector-game.board-stage{grid-template-rows:minmax(0,1fr) 36vh}}
.projector-game.board-stage.empty-board{grid-template-rows:1fr}.board .tile.used{background-image:linear-gradient(#000b,#0008),var(--material);background-color:var(--used);box-shadow:inset 0 .5vh 1vh #000,inset 0 -.15vh #ffffff23}
.projector-game .podium li{font-size:5.3vh}
.projector-game .podium li:is(:first-child,[data-top]){font-size:7vh}

/* Whole clues and a continuous physical stage. */
.picture{display:block;overflow:visible;background:transparent;border:0;padding:0;min-height:0;min-width:0;border-radius:0}
.picture img{position:static!important;width:100%!important;height:100%!important;object-fit:contain;object-position:center;display:block}
.picture:focus-visible{outline:4px solid var(--accent);outline-offset:3px}
.clue-copy{width:100%;position:relative;z-index:1}
.clue-copy:empty{display:none}
.question-text,.phone-clue,.key-content{min-height:0;min-width:0;overflow:visible}
.question-text[data-image-count]:not([data-image-count="0"]){display:flex;flex-direction:column;justify-content:center;align-items:center;gap:1.6vh}
.question-text[data-image-count]:not([data-image-count="0"]) .clue-copy{font-size:clamp(25px,4.5vh,55px);line-height:1.12;flex:none}
.question-text[data-image-count]:not([data-image-count="0"]) .imageboard{flex:none;margin:0 auto;max-width:100%;max-height:none}
.projector-game .question-stage{height:100dvh;min-height:0;display:grid;grid-template-rows:auto minmax(0,1fr) auto;gap:1.2vh}
.projector-game .question-text{min-height:0;max-height:none;overflow:visible;display:flex;flex-direction:column;align-items:center;justify-content:center}
.projector-game .question-text p{margin:0;line-height:1.09}
.projector-game .question-text .clue-copy{border-radius:50%;background:radial-gradient(ellipse,color-mix(in srgb,var(--clue) 94%,transparent) 10%,color-mix(in srgb,var(--clue) 78%,transparent) 65%,transparent 80%);padding:1.2vh 1.6vw;text-shadow:0 .25vh .4vh #000c}
.projector-game .question-stage,.projector-game .result-stage,.projector-game .podium{background-image:var(--material);background-color:var(--clue);background-size:cover}
.projector-game .question-stage:before{background:radial-gradient(ellipse at 50% 50%,transparent 35%,#01092666 100%)!important;box-shadow:inset 0 0 7vw #01071b66!important}
.projector-game{background:radial-gradient(ellipse at 50% -15%,#789bca88,transparent 72%),radial-gradient(ellipse at 50% 105%,#46517066,transparent 65%),var(--stage)}
.projector-game.board-stage,.projector-game.board-stage.wide-scores{grid-template-rows:minmax(0,1fr) 23vh;padding:2vh 2vw 1vh}
.board{background-image:linear-gradient(150deg,#ffffff44,#0003 30%,#0009 75%,#ffffff24),var(--material);background-color:var(--bezel);border-width:.8vh;box-shadow:inset 0 .25vh .15vh #fff9,inset 0 -.7vh .8vh #000b,0 1.5vh 1.5vh #000b,0 3.5vh 5vh #000d}
.board .tile{background-image:linear-gradient(180deg,#ffffff55 0%,#ffffff0a 20%,#0002 45%,#000a 100%),var(--material);background-color:var(--value-backing);background-size:100% 100%,500% 500%;background-position:0 0,var(--tile-x,50%) var(--tile-y,50%);box-shadow:inset 0 .35vh .15vh #ffffff90,inset .2vh 0 .2vh #ffffff55,inset -.3vh -.5vh .4vh #000b,0 .25vh .2vh #0009;text-shadow:0 .12vh #fff4,.2vh .4vh .2vh #000f}
.board .category{background-image:linear-gradient(#ffffff44,#0005),var(--material);background-size:cover;font-size:clamp(24px,3.8vh,44px);line-height:1.02;padding:.5vh .3vw;letter-spacing:0;overflow:visible;text-wrap:balance}.board .tile.used{background-image:linear-gradient(#000b,#0008),var(--material);background-size:cover,500% 500%;background-position:center,var(--tile-x) var(--tile-y);box-shadow:inset 0 .6vh 1vh #000,inset 0 -.15vh #ffffff30}
.projector-game .scoreboard{display:grid;grid-template-columns:1.5fr repeat(4,1fr);grid-template-rows:1fr 1fr;gap:.6vh 2vw;padding:1.5vh 1.5vw .5vh;overflow:visible;align-content:stretch;background:linear-gradient(#111a2ae8,#02050ad9),var(--material);background-size:cover}
.projector-game .score-team,.projector-game.wide-scores .score-team{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:.5vh;padding:0;flex:none;background:none;box-shadow:none;border:0}
.projector-game .score-team[data-leader=true]{grid-row:1/3;grid-column:1;padding-right:1vw;align-items:center;text-align:center}
.projector-game .score-team:before{left:-.65vw;top:15%;height:70%;width:.3vw}
.projector-game .score-team>span,.projector-game.wide-scores .score-team>span{font-size:3.1vh;line-height:1.02;overflow-wrap:normal}
.projector-game .score-team strong,.projector-game.wide-scores .score-team strong{font-size:4.2vh;line-height:1}
.projector-game .score-team[data-leader=true]>span{font-size:4.1vh}
.projector-game .score-team[data-leader=true]>strong{font-size:8.5vh;color:var(--value)}
.projector-game .join-overlay{position:absolute;inset:auto 2.7vw 2vh auto;z-index:5;display:flex;gap:.6vw;align-items:center;padding:.4vh .6vw;border-width:.25vh;background:#fff;color:#09122d;box-shadow:0 .5vh 2vh #0008}
.projector-game .join-overlay img{width:13vh;height:13vh;min-width:0;min-height:0}
.projector-game .join-overlay strong{font-size:4.5vh;letter-spacing:.03em}
#joinPanel[data-join-panel=hidden],[data-join-panel=hidden]{display:none!important}
.projector-game .question-bottom{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto;align-items:center;gap:.8vh 2vw;min-height:0}
.projector-game .question-bottom .timer-track{grid-column:1/-1;grid-row:2;height:2.6vh;border-radius:1.3vh;background:#0007}
.projector-game .question-bottom .clock{grid-column:2;grid-row:1;line-height:1;min-height:0}
.projector-game .question-bottom .clock strong{font-size:8vh}
.answer-pips{display:flex;gap:1.1vw;align-items:center}
.answer-pips i{display:block;width:3.5vh;height:3.5vh;border:.5vh solid color-mix(in srgb,var(--team) 80%,white);border-radius:50%;background:#0008;box-shadow:0 .2vh .4vh #0008}
.answer-pips i[data-filled=true]{background:var(--team);box-shadow:inset 0 .25vh #fff7,0 0 1.2vh color-mix(in srgb,var(--team) 65%,transparent)}
.projector-game .answer-status,.projector-game #clockLabel{display:none}
.projector-game[data-host-controls=true] .tile:not(.used):not(.reserved){cursor:pointer;transition:transform 150ms,filter 150ms}
.projector-game[data-host-controls=true] .tile:hover:not(:disabled):not(.used):not(.reserved){transform:translateY(-.4vh);filter:brightness(1.3);z-index:2}
.projector-game[data-host-controls=true] .tile:active:not(:disabled){transform:translateY(.2vh);filter:brightness(.9)}
.projector-game[data-host-controls=true] [data-screen-advance]{cursor:pointer}
.projector-game[data-host-controls=true] :is(.tile,[data-screen-advance]):focus-visible{outline:.5vh solid #fff;outline-offset:-.8vh;box-shadow:inset 0 0 0 1vh var(--accent)}
.projector-game[data-host-controls=true] :is(.screen-controls,.projector-controls){position:absolute;bottom:.8vh;left:50%;transform:translateX(-50%);z-index:12;display:flex;gap:.5vw;padding:.5vh;background:#050912db;opacity:0;transition:opacity 250ms;pointer-events:none}
.projector-game[data-host-controls=true][data-pointer-active=true] :is(.screen-controls,.projector-controls),.projector-game[data-host-controls=true] :is(.screen-controls,.projector-controls):focus-within{opacity:1;pointer-events:auto}
.result-stage.ensemble-result{grid-template-rows:minmax(0,1fr) minmax(0,1.25fr);gap:1vh}
.ensemble-result .reveal-answer{font-size:clamp(4.5vh,5vw,7vh);padding:2vh 3vw;background:radial-gradient(ellipse,#061334dd,transparent 75%)}
.result-plates{position:relative;display:grid;grid-template-columns:1.45fr 1fr 1fr;grid-auto-rows:minmax(0,1fr);align-items:center;gap:0 2vw;background:linear-gradient(180deg,#fff2,#0007),var(--material),var(--clue);background-size:cover;box-shadow:inset 0 .3vh #fff6,0 1.5vh 3vh #0009;padding:2vh 2vw;border-radius:45% 45% 0 0/4% 4% 0 0}
.ensemble-result .result-plates .result-team{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto;gap:.6vh 1vw;background:transparent;box-shadow:none;border:0;border-left:.45vw solid var(--team);border-radius:0;padding:1.5vh 1vw;flex:none;min-height:0}
.ensemble-result .result-plates .result-team>span{grid-column:1/-1;grid-row:1;font-size:4.2vh;line-height:1.02}
.ensemble-result .result-plates .result-team .result-gain{grid-row:2;grid-column:1;text-align:left;font-size:5.5vh}
.ensemble-result .result-plates .result-team strong{grid-row:2;grid-column:2;font-size:4.5vh}
.ensemble-result .result-plates .result-team[data-rank='1']{grid-row:1/3;grid-column:1;align-content:center;padding:2vh 1.5vw}
.ensemble-result .result-plates .result-team[data-rank='1']>span{font-size:6vh}
.ensemble-result .result-plates .result-team[data-rank='1'] .result-gain{font-size:9vh}
.ensemble-result .result-plates .result-team[data-rank='1'] strong{font-size:6vh}
@media(prefers-reduced-motion:reduce){.projector-game[data-host-controls=true] .tile{transition:none}}

/* Round 2: complete figures and answers stay in the working viewport. */
body[data-role="host"] .has-clue .host-preview .question-text,
body[data-role="host"] .has-clue .host-preview .question-text p,
body[data-role="host"] .has-clue .host-preview .key-content,
body[data-role="host"] .grading>.responses,
body[data-role="host"] .grading .response-text,
body[data-role="team"] .phone-clue,
body[data-role="team"] .phone-key{overflow:visible;max-height:none;text-overflow:clip}
body[data-role="host"] .has-clue .host-preview .question-text p,
body[data-role="host"] .has-clue .host-preview .key-content p{white-space:normal;display:block;text-align:left;line-height:1.18}
body[data-role="host"] .has-clue .host-preview .question-text p~p,
body[data-role="host"] .has-clue .host-preview .question-text .imageboard{display:block}
body[data-role="host"] .has-clue .host-preview .clue-copy{min-width:0;min-height:0;width:100%;text-wrap:pretty}
body[data-role="host"] .has-clue .host-preview .clue-copy p+p{margin-top:.45em}
body[data-role="host"] .has-clue .host-preview .imageboard{flex:none;margin:0 auto;max-width:100%}
body[data-role="host"] .has-clue .host-preview .figure-label{font-size:clamp(11px,1.05vw,15px);line-height:1.05}
body[data-role="host"] .has-clue .host-preview>.answer-key{display:flex;flex-direction:column;min-height:0;max-height:none;overflow:visible;border:0;margin:0;padding:8px 10px;background:linear-gradient(160deg,#ffffff12,#00000014);box-shadow:inset 0 1px #fff3}
body[data-role="host"] .has-clue .host-preview>.answer-key>summary,body[data-role="host"] .has-clue .host-preview>.answer-key>h2{font:700 15px/1.15 var(--category);padding:0 0 6px;flex:none}
body[data-role="host"] .has-clue .host-preview>.answer-key>.key-content{flex:1;min-height:0;padding:0;font:800 var(--desk-key-font,15px)/1.18 var(--body);color:var(--text);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;max-height:none;overflow:visible}
body[data-role="host"] .has-clue .host-preview>.answer-key>.key-content[data-image-count]:not([data-image-count="0"]){display:flex;flex-direction:column;align-items:center;gap:8px}
body[data-role="host"] .has-clue .host-preview>.answer-key>.key-content[data-image-count]:not([data-image-count="0"])[data-long-text="true"]{display:grid;grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);grid-template-rows:minmax(0,1fr);align-items:center;gap:10px}
body[data-role="host"] .has-clue .host-preview>.answer-key>.key-content[data-image-count="0"]{align-items:stretch}
body[data-role="host"] .has-clue .host-preview>.answer-key>.key-content .clue-copy{font:inherit}
body[data-role="host"] .grading .response-copy .suggestion:empty{display:none}
body[data-role="host"] .grading>.responses>.response{overflow:visible;max-height:none}
body[data-role="host"] .grading .response-text{white-space:pre-wrap;overflow-wrap:anywhere;max-height:none;overflow:visible}

/* Pacing is one live instrument beside the current task. */
body[data-role="host"] .pace-clock{display:flex;align-items:center;gap:10px;min-height:36px;padding:4px 0 7px;color:var(--text);font:700 13px/1.15 var(--category);font-variant-numeric:tabular-nums}
body[data-role="host"] .pace-clock .pace-times{display:flex;gap:14px;align-items:baseline;flex-wrap:wrap}
body[data-role="host"] .pace-clock .pace-times strong{font:400 22px/1 var(--display)}
body[data-role="host"] .pace-clock .pace-delta{font:400 24px/1 var(--display);padding:2px 8px;color:#b9f1c9;background:#063b2f;white-space:nowrap}
body[data-role="host"] .pace-clock[data-pace-state="behind"] .pace-delta,
body[data-role="host"] .pace-clock[data-state="behind"] .pace-delta{background:#5c3507;color:#ffda8c}
body[data-role="host"] .pace-clock[data-pace-state="out"] .pace-delta,
body[data-role="host"] .pace-clock[data-state="out"] .pace-delta{background:#5d1720;color:#ffd6dc}
body[data-role="host"] .pace-clock .pace-suggestion{margin-left:auto;font-size:12px;font-weight:700;max-width:40%;text-wrap:balance}

@media(min-width:801px){
 body[data-role="host"] .desk-header{min-height:56px;padding:5px 1.2vw}
 body[data-role="host"] .desk-header .brand{font-size:24px}
 body[data-role="host"] .desk-header button,body[data-role="host"] .desk-header .button-link,body[data-role="host"] .desk-header .room-menu>summary{min-height:36px;padding:6px 9px;font-size:13px}
 body[data-role="host"] #app:has(.host-layout.has-clue){height:100dvh;display:flex;flex-direction:column;overflow:visible}
 body[data-role="host"] .host-game:has(.host-layout.has-clue){height:auto;min-height:0;flex:1;display:flex;flex-direction:column;padding:7px 1.2vw 4px;overflow:visible}
 body[data-role="host"] .host-game:has(.has-clue)>.host-actions{min-height:44px;flex-wrap:nowrap;align-items:center;margin:0 0 3px;gap:10px;flex-shrink:0}
 body[data-role="host"] .host-game:has(.has-clue) .host-status{gap:2px;max-width:50%}
 body[data-role="host"] .host-game:has(.has-clue) .host-status strong{font-size:18px;line-height:1.12}
 body[data-role="host"] .host-game:has(.has-clue) .host-status small{font-size:11px;line-height:1.15}
 body[data-role="host"] .host-game:has(.has-clue) .host-status small:empty{display:none}
 body[data-role="host"] .host-action-buttons button,body[data-role="host"] .host-more>summary{min-height:38px;padding:7px 10px;font-size:13px}
 body[data-role="host"] .host-game:has(.has-clue)>.key-legend{font-size:10px;margin-top:2px;min-height:14px}
 body[data-role="host"] .host-game:has(.has-clue)>.key-legend summary{padding:1px 0}
 body[data-role="host"] .host-game:has(.has-clue)>.key-legend[open]{max-height:none;overflow:visible}
 body[data-role="host"] .host-layout.has-clue{display:grid;grid-template-columns:minmax(0,.38fr) minmax(0,.62fr);grid-template-rows:minmax(0,1fr);gap:12px;flex:1;min-height:0;align-items:stretch;overflow:visible}
 body[data-role="host"] .host-layout.has-clue>.host-preview{height:100%;min-height:0;display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,var(--host-question-share,1.05fr)) minmax(0,var(--host-key-share,.95fr)) auto;gap:8px;align-items:stretch;overflow:visible}
 body[data-role="host"] .has-clue .host-preview>.question-stage{grid-column:1;grid-row:1;display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr) auto;min-height:0;height:100%;padding:8px 10px;gap:7px;overflow:visible;align-items:stretch}
 body[data-role="host"] .has-clue .host-preview>.answer-key{grid-column:1;grid-row:2}
 body[data-role="host"] .has-clue .host-preview>.page-controls{grid-column:1;grid-row:3;padding:0;gap:4px;min-height:0}
 body[data-role="host"] .has-clue .host-preview>.page-controls button{min-height:28px;padding:3px 8px;font-size:12px}
 body[data-role="host"] .has-clue .host-preview>.page-controls span{font-size:11px}
 body[data-role="host"] .has-clue .host-preview .question-meta{grid-column:auto;grid-row:auto;max-width:none;display:flex;justify-content:flex-start;gap:9px;font-size:17px;padding:0;align-self:start}
 body[data-role="host"] .has-clue .host-preview .question-meta b{font-size:24px}
 body[data-role="host"] .has-clue .host-preview .question-text{grid-column:auto;grid-row:auto;display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:0;height:100%;padding:0;max-height:none;font-size:var(--desk-question-font,17px)!important;line-height:1.18;text-transform:none;text-align:left;overflow:visible;gap:8px}
 body[data-role="host"] .has-clue .host-preview .question-text[data-image-count]:not([data-image-count="0"]){display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px}
 body[data-role="host"] .has-clue .host-preview .question-text[data-image-count]:not([data-image-count="0"])>.clue-copy{flex:none}
 body[data-role="host"] .has-clue .host-preview .question-bottom{grid-column:auto;grid-row:auto;display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:12px;min-height:26px}
 body[data-role="host"] .has-clue .host-preview .clock{display:flex;align-items:baseline;gap:5px}
 body[data-role="host"] .has-clue .host-preview .clock strong{font-size:30px}
 body[data-role="host"] .has-clue .host-preview .clock span{font-size:11px}
 body[data-role="host"] .has-clue .host-preview .timer-track{display:block;flex:1;height:5px}
 body[data-role="host"] .has-clue>.grading{display:flex;flex-direction:column;height:100%;min-height:0;overflow:visible}
 body[data-role="host"] .grading>.grading-heading{margin:0 0 5px;min-height:22px;align-items:center;flex-shrink:0}
 body[data-role="host"] .grading>.grading-heading h2{font-size:19px}
 body[data-role="host"] .grading>.grading-heading>span{font-size:12px}
 body[data-role="host"] .grading>.responses{display:flex;flex-direction:column;justify-content:flex-start;align-content:normal;gap:4px;flex:1;min-height:0;padding:0;overflow:visible;scrollbar-gutter:auto;}
 body[data-role="host"] .grading>.responses>.response{display:block;position:relative;flex:1 1 auto;align-content:center;min-height:44px;max-height:none;padding:5px 104px 5px 8px;line-height:1.16;border:0;overflow:visible;}
 body[data-role="host"] .grading .response-heading{display:inline;font-size:var(--desk-answer-font,15px);line-height:1.16;}
 body[data-role="host"] .grading .response-heading h3{display:inline;font:700 calc(var(--desk-answer-font,15px) + 1px)/1.16 var(--category);}
 body[data-role="host"] .grading .response-heading>span{display:inline;margin:0 6px 0 4px;font:400 13px/1 var(--display);}
 body[data-role="host"] .grading .response-heading>button{min-height:24px;padding:2px 4px;font-size:11px;}
 body[data-role="host"] .grading .response-copy{display:contents;}
 body[data-role="host"] .grading .response-text{display:inline;font:800 var(--desk-answer-font,15px)/1.16 var(--body);white-space:pre-wrap;max-height:none;overflow:visible;}
 body[data-role="host"] .grading .response-copy .suggestion{display:inline;margin:0 0 0 5px;font-size:10px;line-height:1.1;}
 body[data-role="host"] .grading .grade-buttons{position:absolute;right:5px;top:50%;transform:translateY(-50%);display:flex;gap:4px;max-width:none;flex-wrap:nowrap;}
 body[data-role="host"] .grading .grade-buttons button{min-width:44px;min-height:44px;width:44px;height:44px;font-size:26px;padding:0;box-shadow:inset 0 1px #fff5,0 2px 0 #0004;}
 body[data-role="host"] .grading .grade-buttons [data-lock-team]{min-width:35px;width:auto;font-size:10px;}
 body[data-role="host"] .grading>.responses>.response[data-waiting="true"]{flex:0 0 auto;min-height:28px;padding:5px 8px;background:transparent;box-shadow:none;opacity:.78;}
 body[data-role="host"] .grading .response[data-waiting="true"] .grade-buttons{display:none;}
 body[data-role="host"] .grading .response[data-waiting="true"] .response-text{font-size:13px;}
 body[data-role="host"] .grading>#confirmAll{min-height:40px;font-size:17px;padding:7px 12px;margin-top:6px;position:static;flex-shrink:0;}
 body[data-role="host"] .grading>.scoring-complete{padding:5px 8px;margin-top:5px;font-size:12px;min-height:30px;}
 body[data-role="host"] .grading>.final-reveals{gap:4px;margin-top:5px;}
 body[data-role="host"] .grading>.final-reveals button{min-height:30px;padding:4px 6px;font-size:11px;}
}
@media(min-width:1400px){
 body[data-role="host"] .host-layout.has-clue{grid-template-columns:minmax(0,.4fr) minmax(0,.6fr);gap:16px;}
 body[data-role="host"] .grading .response-heading h3{font-size:17px;}
 body[data-role="host"] .grading .response-text{font-size:var(--desk-answer-font,16px);line-height:1.18;}
 body[data-role="host"] .grading>.responses>.response{padding-top:7px;padding-bottom:7px;}
}

/* The full course figure group shares its space with the exact clue copy. */
body[data-role="team"] .phone-clue .clue-copy{width:100%;min-width:0;min-height:0;}
body[data-role="team"] .phone-clue .imageboard{margin:0 auto;max-width:100%;flex:none;}
body[data-role="team"] .phone-clue p{white-space:normal;text-wrap:pretty;}
body[data-role="team"] .phone-key .key-content{overflow:visible;max-height:none;}
body[data-role="team"] .phone-key .clue-copy{font-size:18px;line-height:1.25;}
body[data-role="team"] .phone-key .imageboard{max-width:100%;margin:10px auto 0;}
body[data-role="team"] .phone #answerText{resize:none;}
@media(min-width:900px){
 body[data-role="team"] .phone{height:100dvh;min-height:0;grid-template-rows:auto minmax(0,1fr);overflow:visible;}
 body[data-role="team"] .phone-team{padding:9px 2.4vw;}
 body[data-role="team"] .phone-team>span{font-size:27px;}
 body[data-role="team"] .phone-team strong{font-size:40px;}
 body[data-role="team"] .phone-body{padding:12px 2.4vw 16px;grid-template-columns:minmax(0,1.35fr) minmax(320px,.8fr);grid-template-rows:auto minmax(0,1fr);gap:12px 2.6vw;overflow:visible;align-items:stretch;}
 body[data-role="team"] .phone-meta{font-size:19px;}
 body[data-role="team"] .phone-meta .clock strong{font-size:38px;}
 body[data-role="team"] .phone-clue{grid-column:1;grid-row:2;min-height:0;height:100%;max-height:none;overflow:visible;margin:0;padding:8px 0;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:16px;font-size:var(--team-clue-font,clamp(25px,3.2vw,44px));line-height:1.2;text-align:center;}
 body[data-role="team"] .phone-clue[data-image-count]:not([data-image-count="0"]){display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;font-size:var(--team-clue-font,23px);}
 body[data-role="team"] .phone-clue[data-image-count]:not([data-image-count="0"])>.clue-copy{flex:none;}
 
 body[data-role="team"] .phone-clue[data-image-count]:not([data-image-count="0"]) .clue-copy{text-align:center;}
 body[data-role="team"] .phone-clue:has(.imageboard){font-size:var(--team-clue-font,23px);justify-content:center;}
 body[data-role="team"] .phone-clue .figure-label{font-size:16px;line-height:1.1;}
 body[data-role="team"] .phone #answerForm{align-self:center;max-height:none;padding:16px 18px;overflow:visible;}
 body[data-role="team"] .phone #answerForm label{font-size:22px;margin-bottom:8px;}
 body[data-role="team"] .phone #answerText{height:clamp(200px,37vh,300px);min-height:180px;font-size:22px;padding:12px;}
 body[data-role="team"] .phone #answerReceipt{font-size:15px;min-height:36px;padding:8px 0;}
 body[data-role="team"] .phone #submitAnswer{min-height:52px;font-size:23px;}
 body[data-role="team"] .phone-body>.phone-key{grid-column:1/-1;max-height:none;overflow:visible;}
 body[data-role="team"] .phone-body:has(.phone-result){grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-rows:auto minmax(0,1fr);}
 body[data-role="team"] .phone-body:has(.phone-result)>.phone-meta{grid-column:1/-1;}
 body[data-role="team"] .phone-body>.phone-result{grid-column:1;grid-row:2;}
 body[data-role="team"] .phone-body:has(.phone-result)>.phone-key{grid-column:2;grid-row:2;align-self:center;padding:16px;}
 body[data-role="team"] .phone-key>.clue-copy{font-size:20px;}
}
@media(max-width:899px){
 body[data-role="team"] .phone{height:auto;min-height:100dvh;max-width:none;overflow:visible;}
 body[data-role="team"] .phone-team{padding:12px 5vw 10px;gap:5px 10px;}
 body[data-role="team"] .phone-team>span{font-size:24px;}
 body[data-role="team"] .phone-team strong{font-size:38px;}
 body[data-role="team"] .phone-body{padding:12px 5vw 20px;display:flex;flex-direction:column;gap:13px;overflow:visible;}
 body[data-role="team"] .phone-meta{font-size:17px;gap:10px;}
 body[data-role="team"] .phone-meta .clock strong{font-size:32px;}
 body[data-role="team"] .phone-clue{margin:0;padding:0;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:12px;height:auto;min-height:0;max-height:none;overflow:visible;font-size:var(--team-clue-font,22px);line-height:1.22;}
 body[data-role="team"] .phone-clue[data-image-count]:not([data-image-count="0"]){display:flex;flex-direction:column;}
 body[data-role="team"] .phone-clue>.imageboard{order:-1;width:100%;height:auto;max-width:100%;margin:0;}
 body[data-role="team"] .phone-clue>.clue-copy{order:1;}
 body[data-role="team"] .phone-clue .figure-label{font-size:13px;line-height:1.05;}
 body[data-role="team"] .phone #answerForm{padding:12px 14px;margin:0;overflow:visible;}
 body[data-role="team"] .phone #answerForm label{font-size:21px;margin-bottom:8px;}
 body[data-role="team"] .phone #answerText{font-size:20px;min-height:120px;height:140px;padding:10px;}
 body[data-role="team"] .phone #answerReceipt{font-size:14px;min-height:32px;padding:6px 0;}
 body[data-role="team"] .phone #submitAnswer{min-height:48px;font-size:22px;}
 body[data-role="team"] .phone-key{overflow:visible;max-height:none;margin:0;}
 body[data-role="host"] .has-clue .host-preview>.answer-key{margin:10px 0;}
 body[data-role="host"] .has-clue .host-preview>.answer-key>.key-content[data-image-count]:not([data-image-count="0"]){display:flex;flex-direction:column;}
 body[data-role="host"] .grading>.responses{overflow:visible;max-height:none;}
 body[data-role="host"] .grading .response-text{overflow:visible;max-height:none;}
}

/* An advisory mark stays a suggestion until the host makes a choice. */
body[data-role="host"] .response[data-waiting="true"] .response-heading h3::before{content:"";display:inline-block;width:6px;height:6px;border-radius:50%;margin:0 7px 2px 0;background:currentColor;opacity:.55}
body[data-role="host"] .response[data-suggestion-source="approved"],body[data-role="host"] .response[data-source="approved"]{--suggestion-ink:#88bda0}
body[data-role="host"] .response[data-suggestion-source="draft"],body[data-role="host"] .response[data-source="draft"]{--suggestion-ink:#b9b4a8}
body[data-role="host"] .response[data-suggestion-source="llm"],body[data-role="host"] .response[data-source="llm"]{--suggestion-ink:#9aafdc}
body[data-role="host"] .response[data-suggested="true"] .grade-buttons button.selected{background:transparent;color:var(--text);border:2px solid var(--suggestion-ink,var(--accent));box-shadow:none}


body[data-role="host"] .grading>.responses>.response{flex:0 0 auto;min-height:44px;padding-top:4px;padding-bottom:4px}
body[data-role="host"] .grading .response-text{font-family:var(--category);font-size:16px;font-weight:700;line-height:1.1}
body[data-role="host"] .grading .response-heading h3{font-size:17px;line-height:1.1}
body[data-role="host"] .has-clue .host-preview .question-text .clue-copy{font-size:inherit}
body[data-role="host"] .has-clue .host-preview>.answer-key>h2{font:700 15px/1.1 var(--category);margin:0 0 6px}
body[data-role="host"] .grading>.responses{justify-content:flex-start}
body[data-role="host"] .pace-times time{font:400 22px/1 var(--display)}
body[data-role="host"] .pace-suggestion{white-space:nowrap;max-width:none}

.projector-game.board-stage,.projector-game.board-stage.wide-scores{grid-template-rows:minmax(0,1fr) 25.5vh}
.board{grid-template-rows:.85fr repeat(5,1fr)}
.board .tile{line-height:.95}
.projector-game .score-team>span,.projector-game.wide-scores .score-team>span{font-size:4vh}
.projector-game .score-team strong,.projector-game.wide-scores .score-team strong{font-size:4.1vh}
.projector-game .score-team[data-leader=true]>span{font-size:4.7vh}

.projector-game.board-stage,.projector-game.board-stage.wide-scores{grid-template-rows:minmax(0,1fr) 27.5vh}
.projector-game .score-team strong,.projector-game.wide-scores .score-team strong{font-size:5vh}
.projector-game .score-team>span,.projector-game.wide-scores .score-team>span{font-size:3.9vh}
.projector-game .score-team[data-leader=true]>strong{font-size:8.5vh}
.projector-game .score-team[data-leader=true]>span{font-size:4.7vh}

.clue-copy{flex:none}
.projector-game .question-text[data-long-text=true] .clue-copy{font-family:var(--category);font-weight:700;text-transform:none;line-height:1;letter-spacing:-.02em}
.projector-game .question-text[data-long-text=true] p{line-height:1}
.ensemble-result[data-long-answer=true]{grid-template-rows:minmax(0,1.65fr) minmax(0,.85fr)}
.ensemble-result[data-correct-count='0']{grid-template-rows:minmax(0,1fr)}
.ensemble-result[data-correct-count='0'] .result-plates{display:none}
.ensemble-result .reveal-answer.question-text{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:0;max-height:none;padding:0;font-size:6vh;background:none;text-transform:uppercase}
.ensemble-result .reveal-answer .imageboard{margin:1vh auto 0;flex:none;max-width:100%}
.ensemble-result .reveal-answer .clue-copy{font:inherit}
.ensemble-result[data-long-answer=true] .result-plates .result-team:not([data-rank='1']){padding:.6vh 1vw}
.ensemble-result[data-long-answer=true] .result-plates .result-team:not([data-rank='1'])>span{font-size:3.8vh}
@media(min-width:801px){
 body[data-role=host] #app:has(.host-game){height:100dvh;display:flex;flex-direction:column}
 body[data-role=host] .host-game:not(:has(.has-clue)){flex:1;min-height:0;display:flex;flex-direction:column;padding:7px 1.2vw 4px}
 body[data-role=host] .host-game:not(:has(.has-clue))>.host-actions{min-height:44px;margin:0;flex-shrink:0}
 body[data-role=host] .host-game:not(:has(.has-clue)) .host-status small{font-size:11px}
 body[data-role=host] .host-game:not(:has(.has-clue))>.host-layout{flex:1;min-height:0;display:block}
 body[data-role=host] .host-game:not(:has(.has-clue)) .host-preview{height:100%;display:grid;grid-template-rows:minmax(0,1fr) auto;gap:8px}
 body[data-role=host] .host-game:not(:has(.has-clue)) .host-preview>.board{height:100%;min-height:0}
 body[data-role=host] .host-game:not(:has(.has-clue)) .host-preview>.scoreboard{margin:0;padding:8px 0}
 body[data-role=host] .host-game:not(:has(.has-clue)) .key-legend{flex:none}
}

@media(min-width:900px){
 body[data-role=team] .phone-clue[data-image-count='0']{font-size:var(--team-clue-font,clamp(34px,5.3vw,76px))}
 body[data-role=team] .phone #answerText{height:clamp(300px,50vh,430px)}
 body[data-role=team] .phone-body:has(.phone-clue[data-image-count]:not([data-image-count='0'])){grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr) auto;gap:8px}
 body[data-role=team] .phone-clue[data-image-count]:not([data-image-count='0']){grid-column:1;grid-row:2;font-size:clamp(25px,3.2vh,36px);padding:0;gap:8px}
 body[data-role=team] .phone-body:has(.phone-clue[data-image-count]:not([data-image-count='0']))>#answerForm{grid-column:1;grid-row:3;display:grid;grid-template-columns:minmax(0,1fr) 230px;grid-template-rows:auto minmax(0,1fr) auto;gap:4px 20px;padding:10px 16px;align-self:stretch}
 body[data-role=team] .phone-body:has(.phone-clue[data-image-count]:not([data-image-count='0'])) #answerText{grid-column:1;grid-row:2/4;height:112px;min-height:100px;font-size:20px;margin:0}
 body[data-role=team] .phone-body:has(.phone-clue[data-image-count]:not([data-image-count='0'])) #answerForm label{grid-column:1;grid-row:1;margin:0;font-size:18px}
 body[data-role=team] .phone-body:has(.phone-clue[data-image-count]:not([data-image-count='0'])) #answerReceipt{grid-column:2;grid-row:1;min-height:0;padding:0}
 body[data-role=team] .phone-body:has(.phone-clue[data-image-count]:not([data-image-count='0'])) #submitAnswer{grid-column:2;grid-row:2/4;align-self:stretch}
}

.projector-game .question-stage{border:0;border-radius:0;color:var(--text)}
.projector-game[data-host-controls=true] .question-stage{cursor:pointer}
.projector-game[data-host-controls=true] .question-stage:focus-visible{outline:.55vh solid var(--accent);outline-offset:-.8vh}
.projector-game[data-host-controls=true] .projector-controls{border-top:2px solid #fff4;color:#fff;font:700 16px/1.1 var(--body);gap:18px;padding:10px 18px;white-space:nowrap}
.projector-controls kbd{font:inherit;border:1px solid #fff6;padding:3px 7px;border-radius:3px}

.projector-game{grid-template-columns:minmax(0,1fr)!important}
.projector-game .join-overlay,#joinPanel[data-join-panel=shown]{position:absolute!important;grid-column:auto!important;grid-row:auto!important;inset:auto 3.2vw 2vh auto;gap:.4vw;padding:.4vh .4vw}
.projector-game .join-overlay img,#joinPanel img{width:10.8vh;height:10.8vh;min-width:0;min-height:0}
.projector-game .join-overlay strong,#joinPanel strong{font-size:2.6vh}
.projector-game[data-host-controls=false] .tile:hover{filter:none}
/* The credential-aware projector uses this owner-provided keyboard target. */
.projector-game[data-host-controls=true] #projectorClue{cursor:pointer}
.projector-game[data-host-controls=true] #projectorClue:focus-visible{outline:.55vh solid var(--accent);outline-offset:-.8vh}
.projector-game[data-host-controls=true] #projectorClue:active{filter:brightness(.94)}
.projector-game[data-host-controls=true]:has(#projectorClue:focus-visible) .projector-controls{opacity:1}
/* Received answers occupy the desk; waiting names remain compact. */
@media(min-width:801px){
 body[data-role=host] .grading>.responses>.response:not([data-waiting=true]){flex:1 0 auto;min-height:52px;padding-right:calc(clamp(44px,7vh,64px)*2 + 20px)}
 body[data-role=host] .grading .response-text{font-size:var(--grade-copy-size,16px)}
 body[data-role=host] .grading .grade-buttons button{width:clamp(44px,7vh,64px);height:clamp(44px,7vh,64px)}
 body[data-role=host] .grading .response-heading h3{font-size:calc(var(--grade-copy-size,16px) + 1px)}
 body[data-role=host] .grading .response[data-waiting=true] .response-heading h3{font-size:17px}
 body[data-role=host] .has-clue .host-preview .question-text[data-image-count='0']{font-size:clamp(26px,3vw,42px)!important}
 body[data-role=host] .has-clue .host-preview .key-content[data-image-count='0']{font-size:clamp(25px,2.8vw,38px)}
}
/* Keep the answer headline and the complete uneven podium inside one stage. */
.projector-game>.ensemble-result{height:100dvh;min-height:0;grid-template-rows:minmax(0,1fr) minmax(0,1.25fr)}
.projector-game>.ensemble-result>.reveal-answer{height:100%;min-height:0;align-self:stretch}
.projector-game>.ensemble-result>.result-plates{height:100%;min-height:0;align-self:stretch}
.ensemble-result[data-correct-count='8'] .result-plates{grid-template-columns:1.45fr repeat(3,minmax(0,1fr))}
.ensemble-result[data-correct-count='8'] .result-team[data-rank='1']{grid-row:1/4}
.ensemble-result[data-correct-count='8'] .result-team:not([data-rank='1']){padding:.6vh .7vw}
.ensemble-result[data-correct-count='8'] .result-team:not([data-rank='1'])>span{font-size:3.6vh}
.ensemble-result[data-correct-count='8'] .result-team:not([data-rank='1']) .result-gain{font-size:4.7vh}

.projector-game>.ensemble-result[data-long-answer=true]{grid-template-rows:minmax(0,1.65fr) minmax(0,.85fr)}
.projector-game>.ensemble-result[data-correct-count='0']{grid-template-rows:minmax(0,1fr)}
.ensemble-result:is([data-correct-count='6'],[data-correct-count='7'],[data-correct-count='8']) .result-plates{grid-template-columns:1.45fr repeat(4,minmax(0,1fr))}
.ensemble-result:is([data-correct-count='6'],[data-correct-count='7'],[data-correct-count='8']) .result-team[data-rank='1']{grid-row:1/3}
.ensemble-result:is([data-correct-count='6'],[data-correct-count='7'],[data-correct-count='8']) .result-team:not([data-rank='1']){padding:.6vh .7vw}
.ensemble-result:is([data-correct-count='6'],[data-correct-count='7'],[data-correct-count='8']) .result-team:not([data-rank='1'])>span{font-size:3.4vh}
.ensemble-result:is([data-correct-count='6'],[data-correct-count='7'],[data-correct-count='8']) .result-team:not([data-rank='1']) .result-gain{font-size:4.7vh}
.projector-game .question-text[data-image-count]:not([data-image-count="0"]) .clue-copy{font-size:6vh}
/* The full 750-character clue keeps its type size by using the whole stage. */
.projector-game .question-stage:has(>.question-text[data-dense-text=true]){padding:.3vh .5vw;gap:0}
.projector-game .question-stage:has(>.question-text[data-dense-text=true]) .question-meta{padding-bottom:0}
.projector-game .question-stage:has(>.question-text[data-dense-text=true]) .question-text{padding:0}
.projector-game .question-stage:has(>.question-text[data-dense-text=true]) .clue-copy{padding:0}
.projector-game .question-stage:has(>.question-text[data-dense-text=true]) .question-bottom{grid-template-rows:auto;gap:0;position:relative}
.projector-game .question-stage:has(>.question-text[data-dense-text=true]) .timer-track{position:absolute;left:0;right:0;bottom:0;height:.5vh}
.projector-game>.ensemble-result[data-long-answer=true]{grid-template-rows:minmax(0,7fr) minmax(0,3fr);padding:1vh 1vw;gap:.5vh}
.projector-game>.ensemble-result[data-long-answer=true]>.reveal-answer .clue-copy{padding:.5vh .5vw}
.projector-game>.ensemble-result[data-long-answer=true]>.result-plates{padding:1vh 1vw}
.projector-game>.ensemble-result[data-correct-count='0']{grid-template-rows:minmax(0,1fr)}
/* Keep cap-height and descenders inside the scoreline's physical plates. */
.projector-game.board-stage,.projector-game.board-stage.wide-scores{grid-template-rows:minmax(0,1fr) 29.5vh}
.projector-game .scoreboard{grid-template-rows:auto auto;align-content:center;gap:.25vh 2vw;padding-top:.6vh;padding-bottom:.6vh}
.projector-game .score-team,.projector-game.wide-scores .score-team{gap:0}
.projector-game .score-team>span{padding:10px 0;line-height:1.02}
.projector-game .score-team strong{padding:4px 0;line-height:1.02;margin-top:-8px}
.projector-game .score-team:not([data-leader=true])>strong{position:relative;top:3px}
body[data-role=host] .has-clue .host-preview .clock strong{display:block;line-height:1.3;padding:2px 0}
@media(max-aspect-ratio:3/2){.projector-game.board-stage,.projector-game.board-stage.wide-scores{grid-template-rows:minmax(0,1fr) 31.5vh}.projector-game.board-stage .board{gap:.65vh;padding:.8vh}}
/* Round 3: recognizable materials and an answer-led broadcast stage. */
.projector-game.board-stage .board .tile:not(.used):not(.reserved){padding-top:.25vh;padding-bottom:0;box-shadow:inset 0 .18vh .05vh #ffffff90,inset .2vh 0 .2vh #ffffff55,inset -.3vh -.5vh .4vh #000b,0 .25vh .2vh #0009}
.projector-game{background:radial-gradient(ellipse at 50% -10%,#abc0dbaa 0%,#526b9277 25%,transparent 68%),radial-gradient(ellipse at 50% 105%,#415b7777,transparent 65%),var(--stage)}
.projector-game.board-stage .board .tile{background-image:radial-gradient(ellipse 50% 90% at 50% 50%,color-mix(in srgb,var(--value-backing) 97%,transparent) 0% 73%,color-mix(in srgb,var(--value-backing) 75%,transparent) 87%,transparent 100%),linear-gradient(180deg,#ffffff68 0%,#ffffff0d 22%,#0002 50%,#000b 100%),var(--material);background-size:100% 100%,100% 100%,500% 500%;background-position:center,0 0,var(--tile-x) var(--tile-y)}.projector-game.board-stage .board .tile.used{background-image:linear-gradient(#000a,#0007),var(--material);background-size:cover,500% 500%;background-position:center,var(--tile-x) var(--tile-y);box-shadow:inset 0 .7vh 1.2vh #000,inset 0 -.15vh #ffffff30}
.projector-game .board .category{font-size:clamp(23px,3.6vh,44px);line-height:1.04;padding:.5vh .45vw;overflow-wrap:normal;text-wrap:balance}
.projector-game .question-stage,.projector-game .result-stage,.projector-game .podium{background-image:var(--material);background-size:cover;background-position:center}
.projector-game .question-text .clue-copy{background:radial-gradient(ellipse,color-mix(in srgb,var(--clue) 97%,transparent) 10%,color-mix(in srgb,var(--clue) 88%,transparent) 65%,transparent 85%);border-radius:0}
.projector-game .question-text[data-image-count]:not([data-image-count='0']){justify-content:flex-start}
.projector-game .question-text[data-image-count]:not([data-image-count='0']) .clue-copy{font-size:var(--figure-question-size,8vh);line-height:1.08;padding:.5vh 1.5vw}
.projector-game .question-text[data-image-count]:not([data-image-count='0'])[data-long-text=true] .clue-copy{font-size:6vh}
.projector-game .figure-label{font:700 5vh/1 Arial,Helvetica,sans-serif;color:#071222;background:#fff;z-index:2;text-shadow:none;min-height:5vh}
.projector-game .answer-pips{gap:1vw;flex-wrap:nowrap}
.projector-game .answer-pips i{position:relative;display:grid;place-items:center;width:7vh;height:7vh;border:.45vh dashed var(--team);background:#071222;color:#fff;font:700 4.1vh/1 Arial,Helvetica,sans-serif;box-shadow:0 .3vh .6vh #0007;font-style:normal}
.projector-game .answer-pips i[data-filled=true]{border-style:solid;background:linear-gradient(#071222bb,#071222bb),var(--team);box-shadow:inset 0 .2vh #fff7,0 0 1vh color-mix(in srgb,var(--team) 50%,transparent)}
.projector-game .answer-pips i[data-filled=true]::after{content:'✓';position:absolute;right:-.8vh;top:-.9vh;background:#fff;color:#071222;border-radius:50%;font:700 2.8vh/1 Arial,Helvetica,sans-serif;width:2.8vh;height:2.8vh;text-align:center}
.projector-game>.ensemble-result{grid-template-rows:minmax(0,1.8fr) minmax(0,1fr);padding:2vh 2vw;gap:1vh}
.projector-game>.ensemble-result>.reveal-answer{padding:1vh 1vw;background:none;font-size:16vh}
.projector-game>.ensemble-result>.result-plates{padding:1vh 1.5vw;background-image:linear-gradient(#020712cc,#020712ee),var(--material);border-radius:0;box-shadow:inset 0 .3vh #ffffff35,0 1vh 3vh #0007;gap:.5vh 1.3vw}
.projector-game .ensemble-result .result-plates .result-team{padding:.5vh .8vw;gap:.3vh .6vw}
.projector-game .ensemble-result .result-plates .result-team>span{font-size:3.5vh;line-height:1.06}
.projector-game .ensemble-result .result-plates .result-team .result-gain{font-size:4vh}
.projector-game .ensemble-result .result-plates .result-team strong{font-size:3.8vh}
.projector-game .ensemble-result .result-plates .result-team[data-rank='1']>span{font-size:4.6vh}
.projector-game .ensemble-result .result-plates .result-team[data-rank='1'] .result-gain{font-size:6vh}
.projector-game .ensemble-result .result-plates .result-team[data-rank='1'] strong{font-size:4.8vh}
.projector-game>.ensemble-result[data-long-answer=true]{grid-template-rows:minmax(0,7fr) minmax(0,3fr);padding:1vh 1vw}
.projector-game>.ensemble-result[data-correct-count='0']{grid-template-rows:minmax(0,1fr) auto}
/* Laptop joining leads the lobby; the phone QR is supporting information. */
#joinPanel[data-join-mode=hidden]{display:none!important}
.projector-game #joinPanel[data-join-mode=lobby]{position:absolute!important;inset:0!important;display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:minmax(0,1fr) minmax(0,1.3fr);align-items:center;gap:4vh;padding:6vh 5vw;border:0;background:linear-gradient(#0003,#0007),var(--material),var(--clue);background-size:cover;color:var(--text);box-shadow:none;z-index:9}
.projector-game #joinPanel[data-join-mode=lobby] a[data-join-role=primary]{grid-column:1/-1;grid-row:1;align-self:end;position:relative;z-index:1}
.projector-game #joinPanel a[data-join-role=primary]{font:800 clamp(36px,5.7vw,110px)/1.1 var(--body);text-decoration:none;letter-spacing:-.03em;overflow-wrap:normal;white-space:nowrap;text-shadow:0 .3vh .4vh #0009}
.projector-game #joinPanel[data-join-mode=lobby] strong[data-join-role=primary]{grid-column:1;grid-row:2;align-self:start;font:400 28vh/1.5 var(--display);letter-spacing:.04em;color:var(--value);text-shadow:0 .8vh 1vh #000b}
.projector-game #joinPanel [data-join-role=phone-qr]{display:flex;flex-direction:column;gap:.5vh;align-items:center;grid-column:2;grid-row:2;align-self:end;font:700 2.5vh/1.2 var(--category);color:var(--text)}
.projector-game #joinPanel [data-join-role=phone-qr] img{width:13vh;height:13vh;min-width:0;min-height:0;padding:.3vh;background:#fff}
.projector-game #joinPanel[data-join-mode=badge]{position:absolute!important;inset:1vh 2.6vw auto auto!important;display:flex;gap:1vw;padding:.4vh .7vw;background:#071222;color:#fff;border:1px solid #ffffff55;border-radius:3px;box-shadow:none;z-index:9;max-height:6.2vh}
.projector-game #joinPanel[data-join-mode=badge] .join-primary{display:flex;align-items:center;gap:1.2vw}
.projector-game #joinPanel[data-join-mode=badge] a[data-join-role=primary]{font:700 2.5vh/1.1 Arial,Helvetica,sans-serif;letter-spacing:0}
.projector-game #joinPanel[data-join-mode=badge] strong[data-join-role=primary]{font:700 3.6vh/1.1 Arial,Helvetica,sans-serif;letter-spacing:.04em}
.projector-game #joinPanel[data-join-mode=badge] [data-join-role=phone-qr]{display:none}
/* The badge occupies the unused score-foot corner, preserving every tile's height. */
.projector-game.board-stage:has(#joinPanel[data-join-mode=badge]){padding-top:2vh}
.projector-game.board-stage #joinPanel[data-join-mode=badge]{inset:auto 2.6vw 2.4vh auto!important;width:17vw;max-height:none;flex-direction:column;gap:.25vh;padding:.5vh .5vw;align-items:flex-start}
.projector-game.board-stage #joinPanel[data-join-mode=badge] .join-primary{flex-direction:column;align-items:flex-start;gap:.25vh}
.projector-game.board-stage #joinPanel[data-join-mode=badge] a[data-join-role=primary]{font-size:1.5vh;line-height:1.5}
.projector-game.board-stage #joinPanel[data-join-mode=badge] strong[data-join-role=primary]{line-height:1.4}
.projector-game #joinPanel[data-join-mode=lobby] [data-join-role=phone-qr]{padding-bottom:.45vh}strong)[data-join-role=primary]{color:#1c1b17;text-shadow:0 .3vh #fff8}

/* A material-scale show moment, rather than a word floating on a plain field. */
.projector-game .wager-stage{position:relative;isolation:isolate;overflow:hidden;background-image:linear-gradient(#0002,#0008),var(--material);background-size:cover;gap:3vh;padding:5vh 5vw;box-shadow:inset 0 0 0 1.4vh #ffffff28,inset 0 0 0 2.4vh #0007}
.projector-game .wager-stage::before{content:'';position:absolute;inset:4vh 3vw;z-index:-1;border:1.2vh double #b2d2f866;clip-path:polygon(5% 0,95% 0,100% 10%,100% 90%,95% 100%,5% 100%,0 90%,0 10%);background:linear-gradient(125deg,#06173988,transparent 40%,#0b183c66);box-shadow:inset 0 0 0 4vh #01102a33}
.projector-game .wager-stage h1{font-size:20vh;line-height:1.03;padding:2vh 3vw;background:linear-gradient(165deg,#0008,#0002);box-shadow:0 .7vh 0 #0008,inset 0 .3vh #ffffff50;transform:rotate(-3deg);text-shadow:0 .7vh .5vh #000a;max-width:95vw;position:relative}
.projector-game .wager-stage h2{font-size:6vh;position:relative;text-shadow:0 .3vh .5vh #000}
.projector-game .wager-stage .wager-count{font-size:8vh;position:relative}.projector-game .daily-lockup h1{border:.6vh solid #86b9f0;outline:1vh solid #061536cc;color:#d4ebff;background:linear-gradient(160deg,#123a6b,#051735)}
.projector-game .final-lockup{background-image:radial-gradient(ellipse at 50% 40%,#131e35cc,#000e 76%),var(--material);color:#f7f1dc;box-shadow:inset 0 0 20vw #000}
.projector-game .final-lockup::before{border-color:#e8d79b55;background:radial-gradient(ellipse at 50% 20%,#fff2bc2e,transparent 65%)}
.projector-game .final-lockup h1{font-size:24vh;transform:none;background:transparent;border:0;outline:0;color:#ffebae;box-shadow:none;text-shadow:0 .6vh #766142,0 1vh 3vh #000}

/* Companion for moments-helper.js. PROJECTOR ONLY; no changes to layout/typography.
   All actual animation keyframes are transform/opacity WAAPI and <=600 ms. */
body[data-role=screen] .gm-managed.moment-enter h1{animation:none!important}
body[data-role=screen] .gm-managed.moment-enter:after{display:none!important}
body[data-role=screen] .gm-correct-pop,
body[data-role=screen] .gm-rank-moving{position:relative;isolation:isolate}
/* A static team-colored edge catches light while the plate itself pops/shuffles. */
body[data-role=screen] .gm-correct-pop:after,
body[data-role=screen] .gm-rank-moving:after{content:'';position:absolute;inset:0;pointer-events:none;border-left:6px solid var(--gm-team,var(--team));box-shadow:inset 10px 0 18px color-mix(in srgb,var(--gm-team,var(--team)) 35%,transparent);z-index:1}
body[data-role=screen] .gm-score-source{opacity:0!important}
body[data-role=screen] .gm-score-host{position:relative}
body[data-role=screen] .gm-score-roll{position:absolute;right:0;top:0;display:block;overflow:hidden;pointer-events:none;z-index:35;white-space:nowrap;font-variant-numeric:tabular-nums}
body[data-role=screen] .gm-score-track{display:block;will-change:transform}
body[data-role=screen] .gm-score-track>span{display:flex;align-items:center;justify-content:flex-end;box-sizing:border-box;white-space:nowrap}
body[data-role=screen] .gm-edge-layer{position:fixed;inset:0;pointer-events:none;overflow:hidden;z-index:30;contain:strict}
body[data-role=screen] .gm-edge-mark{position:absolute;display:block;width:16px;height:25px;background:var(--accent,#eac66d);opacity:0;will-change:transform,opacity}body[data-role=screen] .gm-edge-layer .gm-edge-mark{width:19px;height:27px;background:#87bce8;border:3px solid #24578e;border-radius:48% 48% 43% 43%;box-shadow:inset 0 0 0 2px #c1e2fa}body[data-role=screen] .gm-edge-layer .gm-edge-mark:after{content:'';position:absolute;left:0;right:0;top:48%;height:2px;background:#24578e}
@media(prefers-reduced-motion:reduce){
 body[data-role=screen] .gm-edge-layer{display:none!important}
 body[data-role=screen] .gm-score-track{will-change:auto}
}

/* A synchronized short beam, clipped to safe material regions by the helper. */
body[data-role=screen] .gm-material-sweep{position:fixed;inset:0;pointer-events:none;z-index:25;contain:strict;--gm-sweep-light:#edf7ff}
body[data-role=screen] .gm-sweep-window{position:fixed;overflow:hidden;pointer-events:none}
body[data-role=screen] .gm-sweep-beam{position:absolute;top:0;bottom:0;display:block;opacity:0;background:linear-gradient(110deg,transparent 10%,color-mix(in srgb,var(--gm-sweep-light) 8%,transparent) 30%,color-mix(in srgb,var(--gm-sweep-light) 50%,transparent) 50%,color-mix(in srgb,var(--gm-sweep-light) 8%,transparent) 70%,transparent 90%);will-change:transform,opacity}body[data-role=screen] .gm-material-sweep{--gm-sweep-light:#b4dfff}
@media(prefers-reduced-motion:reduce){body[data-role=screen] .gm-material-sweep{display:none!important}}

/* Give the local fonts' ascenders/descenders their full semantic line boxes. */
.projector-game .ensemble-result .reveal-answer .clue-copy,.projector-game .ensemble-result .reveal-answer .clue-copy p{line-height:1.3}
.projector-game .ensemble-result .result-plates .result-team>span{line-height:1.4}
.projector-game .ensemble-result .result-plates .result-team :is(strong,.result-gain){line-height:1.5}
/* The optional narrow host view flows as a page; controls never cover replies. */

.projector-game .winner-stage li>.winner{margin:0;text-align:left;font:700 8vh/1.2 var(--category);color:var(--text)}

.projector-game #joinPanel [data-join-role=phone-qr]{margin:0}
.projector-game #joinPanel :is(a,strong)[data-join-role=primary]{display:block}
.projector-game .ensemble-result .result-plates .result-team :is(strong,.result-gain){padding-block:.7vh}

/* Final totals retain their stage size while using full font metric boxes. */
.projector-game .final-result{padding:2vh 4vw;gap:1vh}
.projector-game .final-result h1{line-height:1.6}
.projector-game .final-result .result-team{gap:1vh}
.projector-game .final-result .result-team>span{line-height:1.45}
.projector-game .final-result .final-mark{line-height:1.35}
.projector-game .final-result .final-delta{line-height:1.6}
.projector-game .final-result .final-score{display:flex;align-items:center;justify-content:center;gap:1vw;line-height:1.5}
.projector-game .final-result .final-score strong{line-height:1.6}
.projector-game .final-result .reveal-count{line-height:1.4}

/* Score gains and totals retain the original back-row minimum. */
.projector-game .ensemble-result .result-plates .result-team .result-gain{font-size:5vh}
.projector-game .ensemble-result .result-plates .result-team strong{font-size:5vh}
.projector-game .ensemble-result .result-plates .result-team[data-rank='1'] strong{font-size:5.5vh}
.projector-game .ensemble-result .result-plates .result-team :is(strong,.result-gain){padding-block:2px}
.projector-game>.ensemble-result:is([data-correct-count='6'],[data-correct-count='7']){grid-template-rows:minmax(0,63fr) minmax(0,37fr)}
.projector-game .ensemble-result:is([data-correct-count='6'],[data-correct-count='7']) .result-team:not([data-rank='1'])>span{font-size:3.1vh}

/* Eight correct teams share one score band; wide name plates fit without stacking their ink. */
.projector-game .ensemble-result:is([data-correct-count='6'],[data-correct-count='7'],[data-correct-count='8']) .result-plates{grid-template-columns:1.35fr repeat(3,minmax(0,1fr))}
.projector-game>.ensemble-result[data-correct-count='8']{grid-template-rows:minmax(0,63fr) minmax(0,37fr)}
.projector-game .ensemble-result[data-correct-count='8'] .result-plates{grid-template-columns:1.45fr repeat(4,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));padding:.5vh .7vw;gap:.3vh 1vw}
.projector-game .ensemble-result[data-correct-count='8'] .result-team[data-rank='1']{grid-row:1/3}
.projector-game .ensemble-result[data-correct-count='8'] .result-team:not([data-rank='1']){padding:0 .6vw;gap:0 .4vw}
.projector-game .ensemble-result[data-correct-count='8'] .result-team:not([data-rank='1'])>span{font-size:3.1vh;white-space:normal}
.projector-game .ensemble-result[data-correct-count='8'] .result-team:not([data-rank='1']) .result-gain{font-size:5vh}
.projector-game .ensemble-result[data-correct-count='8'] .result-team:not([data-rank='1']) strong{font-size:5vh}
.projector-game .ensemble-result[data-correct-count='8'] .result-team:not([data-rank='1']) :is(strong,.result-gain){padding-block:2px}

/* A long text-only clue borrows the header's height; its lockup joins the clock foot. */
.projector-game .question-stage:has(>.question-text[data-dense-text=true][data-image-count='0']){position:relative;grid-template-rows:minmax(0,1fr) auto}
.projector-game .question-stage:has(>.question-text[data-dense-text=true][data-image-count='0'])>.question-text{grid-row:1;grid-column:1}
.projector-game .question-stage:has(>.question-text[data-dense-text=true][data-image-count='0'])>.question-text .clue-copy{padding:.2em 0}
.projector-game .question-stage:has(>.question-text[data-dense-text=true][data-image-count='0'])>.question-meta{position:absolute;left:1vw;bottom:1.2vh;max-width:36vw;gap:.6vw;font-size:3vh}
.projector-game .question-stage:has(>.question-text[data-dense-text=true][data-image-count='0'])>.question-bottom{grid-row:2;grid-column:1;height:11.5vh;padding-left:38vw}
.projector-game .question-stage:has(>.question-text[data-dense-text=true][data-image-count='0']) .clock strong{display:block;line-height:1.3;padding:3px 0}
.projector-game .question-stage:has(>.question-text[data-dense-text=true][data-image-count='0']) .answer-pips{gap:.45vw}
.projector-game .question-stage:has(>.question-text[data-dense-text=true][data-image-count='0']) .answer-pips i{width:6vh;height:6vh}

/* Keep the specimen visible around the work, with calm contrast beneath every line. */
.projector-game .question-text .clue-copy{background-image:radial-gradient(ellipse,color-mix(in srgb,var(--clue) 97%,transparent) 10%,color-mix(in srgb,var(--clue) 88%,transparent) 65%,transparent 85%),linear-gradient(color-mix(in srgb,var(--clue) 72%,transparent),color-mix(in srgb,var(--clue) 72%,transparent))}

@media(max-width:899px){.projector-game #joinPanel{display:none!important}}

body[data-role=host] .host-preview .key-figure-labels{font:400 14px/1.35 Arial,Helvetica,sans-serif;color:#356553;margin:0}

/* Dense answer copy keeps its type size while using reading rather than display leading. */
.projector-game>.ensemble-result[data-long-answer=true]>.reveal-answer .clue-copy,
.projector-game>.ensemble-result[data-long-answer=true]>.reveal-answer .clue-copy p{line-height:1.05}
.projector-game>.ensemble-result[data-long-answer=true]>.reveal-answer .clue-copy{padding:.2em .5vw}
body[data-role=host] .host-preview .score-team>span{line-height:1.4}

/* A 4:3 stage keeps the complete answer above a single, subordinate scoreline. */
@media(max-aspect-ratio:3/2){
 .projector-game>.ensemble-result:is([data-correct-count='3'],[data-correct-count='8']){grid-template-rows:minmax(0,76fr) minmax(0,24fr);padding:1vh 1vw;gap:.5vh}
 .projector-game .ensemble-result:is([data-correct-count='3'],[data-correct-count='8'])>.result-plates{grid-template-rows:minmax(0,1fr);padding:.2vh .25vw;gap:.35vw}
 .projector-game .ensemble-result[data-correct-count='3']>.result-plates{grid-template-columns:1.35fr 1fr 1fr}
 .projector-game .ensemble-result[data-correct-count='8']>.result-plates{grid-template-columns:repeat(8,minmax(0,1fr))}
 .projector-game .ensemble-result:is([data-correct-count='3'],[data-correct-count='8']) .result-team,
 .projector-game .ensemble-result:is([data-correct-count='3'],[data-correct-count='8']) .result-team[data-rank='1']{grid-row:auto;grid-column:auto;padding:0 .2vw}
}

/* The back row reads a team tag, rather than inferring its colour. */
.projector-game .answer-pips i{width:9.2vh;height:9vh;border-width:.25vh;font-family:'Archivo Narrow',Arial,sans-serif;font-size:6.8vh}
.projector-game .question-stage:has(>.question-text[data-dense-text=true][data-image-count='0'])>.question-meta{max-width:23vw}
.projector-game .question-stage:has(>.question-text[data-dense-text=true][data-image-count='0'])>.question-bottom{padding-left:24vw}
.projector-game .question-stage:has(>.question-text[data-dense-text=true][data-image-count='0']) .answer-pips{gap:.2vw}
.projector-game .question-stage:has(>.question-text[data-dense-text=true][data-image-count='0']) .answer-pips i{width:9.2vh;height:9vh}

/* Full-width answer copy and stacked totals protect the 4:3 stage's size floors. */
@media(max-aspect-ratio:3/2){
 .projector-game>.ensemble-result[data-long-answer=true]>.reveal-answer{padding:0}
 .projector-game>.ensemble-result[data-long-answer=true]>.reveal-answer .clue-copy{padding:.2em 0}
 .projector-game .ensemble-result[data-correct-count='8']>.result-plates{grid-template-columns:1.9fr repeat(7,minmax(0,1fr))}
 .projector-game .ensemble-result[data-correct-count='8'] .result-team{grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto auto;align-content:center;gap:0}
 .projector-game .ensemble-result[data-correct-count='8'] .result-team>span{grid-column:1;grid-row:1}
 .projector-game .ensemble-result[data-correct-count='8'] .result-team .result-gain{grid-column:1;grid-row:2;line-height:1.23}
 .projector-game .ensemble-result[data-correct-count='8'] .result-team>strong{grid-column:1;grid-row:3;line-height:1.23;text-align:left}
}

/* Eight full names and two totals use a little more band height on a 4:3 stage. */
@media(max-aspect-ratio:3/2){
 .projector-game>.ensemble-result[data-correct-count='8']{grid-template-rows:minmax(0,72fr) minmax(0,28fr)}
 .projector-game>.ensemble-result>.reveal-answer{padding:0}
 .projector-game>.ensemble-result[data-long-answer=true]>.reveal-answer .clue-copy,
 .projector-game>.ensemble-result[data-long-answer=true]>.reveal-answer .clue-copy p{line-height:1}
 .projector-game .ensemble-result[data-correct-count='8']>.result-plates{grid-template-columns:1.7fr repeat(7,minmax(0,1fr))}
 .projector-game .ensemble-result[data-correct-count='8'] .result-plates .result-team{padding:0 .1vw}
 .projector-game .ensemble-result[data-correct-count='8'] .result-plates .result-team :is(strong,.result-gain){line-height:1.1;padding-inline:2px}
}

/* Give the eight names enough measure to break at words, not a final letter. */
@media(max-aspect-ratio:3/2){
 .projector-game .ensemble-result[data-correct-count='8']>.result-plates{grid-template-columns:1.2fr repeat(7,minmax(0,1fr))}
 .projector-game .ensemble-result[data-correct-count='8'] .result-plates .result-team{border-left-width:.3vw}
}

/* Figure questions use every available stage slot; each original image remains contained. */
.projector-game>.question-stage:has(>.figure-page){padding:1vh 1.5vw;gap:.6vh}
.projector-game>.question-stage:has(>.figure-page)>.question-meta{padding-bottom:0}
.projector-game>.question-stage>.figure-page{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr);align-items:stretch;gap:.6vh;padding:0}
.projector-game>.question-stage>.question-text.figure-page[data-image-count]>.clue-copy{font-size:8vh;padding:.3vh .5vw}
.projector-game>.question-stage>.question-text.figure-page[data-image-count][data-long-text=true]>.clue-copy{font-size:6vh}
.projector-game>.question-stage>.figure-page>.imageboard{align-self:center;justify-self:center;margin:0}
.projector-game .score-team:not([data-leader=true])>span{text-align:left;overflow-wrap:normal;word-break:normal}:root:not(),:root{--material:url("/phytopardy/textures/cotton-blue.webp?v=db8f084e9b4f4aef4efd")}

/* Host desk legibility: Kerik reads team names and controls at a glance. */
body[data-role=host] .grading>.responses>.response,body[data-role=host] .grading>.responses>.response:not([data-waiting=true]){grid-template-columns:168px minmax(0,1fr) 46px}
body[data-role=host] .grading .response-heading h3{font:700 16px/1.25 Arial,Helvetica,sans-serif;color:#1d2a26}
@media(min-width:1600px){body[data-role=host] .grading>.responses>.response{grid-template-columns:184px minmax(0,1fr) 46px}body[data-role=host] .grading .response-heading h3{font-size:17px}}
body[data-role=host] .desk-header :is(button,.button-link,summary){font:400 15px/1.2 Arial,Helvetica,sans-serif;color:#24322e}
body[data-role=host] .host-action-buttons>button,body[data-role=host] .host-more>summary{font:400 15px/1.2 Arial,Helvetica,sans-serif;color:#24322e}
body[data-role=host] .grading-heading>span{font:400 14px/1.2 Arial,Helvetica,sans-serif;color:#3d4a45}
body[data-role=host] .grading #confirmAll{min-height:48px;padding:10px 32px;margin-top:8px;font:700 20px/1.2 Arial,Helvetica,sans-serif}
body[data-role=host] .desk-header .room-menu>summary{font:400 15px/1.2 Arial,Helvetica,sans-serif;color:#24322e}
body[data-role=host] main .grading .grading-heading>span{font:400 14px/1.2 Arial,Helvetica,sans-serif;color:#3d4a45}

/* Packed course figures: only each intact artwork/caption gets a tight mat. */
.imageboard.packed-figures{--figure-label-size:28px;--figure-caption-height:35px;display:flex;align-items:flex-start;justify-content:center;gap:12px;background:transparent;aspect-ratio:auto;flex:none;max-width:100%;margin:0 auto}
.imageboard.packed-figures .figure-unit{display:block;flex:none;min-width:0;min-height:0;margin:0;padding:0}
.imageboard.packed-figures .figure-art{position:relative;width:100%;background:#fff;box-shadow:0 3px 10px #0003}
.imageboard.packed-figures .picture{position:absolute;display:block;margin:0;padding:0;background:transparent;box-shadow:none;border:0;border-radius:0;min-height:0}
.imageboard.packed-figures .picture img{width:100%!important;height:100%!important;max-height:none;object-fit:contain}
.imageboard.packed-figures .figure-caption{position:relative;height:var(--figure-caption-height);margin:0;padding:0;background:#fff;color:#111;text-shadow:none}
.imageboard.packed-figures .figure-label{font:700 var(--figure-label-size)/1.15 Arial,Helvetica,sans-serif;color:#111;text-shadow:none;min-height:0;background:#fff;text-transform:none;letter-spacing:0}
.imageboard.packed-figures .figure-caption>.figure-label{top:0;bottom:auto;transform:translateX(-50%);height:100%;width:auto;padding:0;white-space:nowrap}
.imageboard.packed-figures .figure-annotation{line-height:1.05;white-space:pre-line}
.projector-game .imageboard.packed-figures{--figure-label-size:5vh;--figure-caption-height:6.25vh;gap:1.2vh}
body[data-role=host] .host-preview .imageboard.packed-figures{--figure-label-size:20px;--figure-caption-height:25px;gap:8px}

/* The desk owns its figure budget; projector-sized artwork cannot expand it. */
body[data-role=host] .has-clue .host-preview :is(.question-text,.key-content) .imageboard.packed-figures{display:flex;align-items:flex-start;flex:none;max-width:100%;margin:0 auto}
body[data-role=host] .has-clue .host-preview .clue-copy{flex:none}
@media(min-width:901px){
 body[data-role=host] .host-game:has(.has-clue)>.host-actions{margin-bottom:8px}
 body[data-role=host] .host-layout.has-clue>.host-preview{min-width:0;contain:size}
 body[data-role=host] .has-clue .host-preview>.answer-key{height:100%;align-self:stretch;min-height:0}
 body[data-role=host] .has-clue .host-preview>.answer-key>.key-content{flex:1 1 0;min-height:0}
 body[data-role=host] .grading>.grading-heading{padding-bottom:6px}
 body[data-role=host] .grading>.responses{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:repeat(var(--answer-rows,8),minmax(0,1fr));align-content:stretch;gap:4px;overflow:visible}
 body[data-role=host] .grading>.responses[data-answer-columns='2']{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:24px}
 body[data-role=host] .grading>.responses>.response,body[data-role=host] .grading>.responses>.response:not([data-waiting=true]){min-height:0;grid-template-columns:136px minmax(0,1fr) 46px;gap:10px;align-content:center;padding:0}
 body[data-role=host] .grading[data-long-answers=true]>.responses{row-gap:2px}
 /* A full line can carry the name and answer when separate columns cannot fit. */
 body[data-role=host] .grading>.responses[data-answer-flow=true]>.response:not([data-waiting=true]){display:block;position:relative;padding:0 56px 0 0;align-content:center;font:400 var(--grade-copy-size,20px)/1.15 Arial,Helvetica,sans-serif}
 body[data-role=host] .grading>.responses[data-answer-flow=true] .response:not([data-waiting=true]) :is(.response-heading,.response-copy){display:inline;line-height:inherit}
 body[data-role=host] .grading>.responses[data-answer-flow=true] .response-heading{padding-top:0;margin-right:8px}
 body[data-role=host] .grading>.responses[data-answer-flow=true] .response-heading h3{display:inline}
 body[data-role=host] .grading>.responses[data-answer-flow=true] .response-text{display:inline;font:400 max(15px,var(--grade-copy-size,20px))/1.15 Arial,Helvetica,sans-serif!important}
 body[data-role=host] .grading>.responses[data-answer-flow=true] .grade-toggle{position:absolute;right:0;top:50%;transform:translateY(-50%)}
 body[data-role=host] .grading>.responses[data-answer-flow=true] .response-copy .suggestion{margin-top:2px}
}

/* The lobby card occupies exactly the board's slot, above the live team rail. */
@media(min-width:900px){
 .projector-game.board-stage[data-join-mode=lobby]>.board{grid-area:1/1;pointer-events:none}
 .projector-game.board-stage[data-join-mode=lobby]>.scoreboard{grid-area:2/1}
 .projector-game.board-stage #joinPanel[data-join-mode=lobby]{position:relative!important;inset:auto!important;grid-area:1/1!important;align-self:stretch;justify-self:stretch;width:100%;height:100%;min-width:0;min-height:0;margin:0;padding:3vh 3vw;gap:1.5vh;grid-template-rows:minmax(0,.8fr) minmax(0,1.2fr);background-color:var(--clue)}
 .projector-game.board-stage #joinPanel[data-join-mode=lobby] a[data-join-role=primary]{min-width:0;font-size:6vh;line-height:1.4}
 .projector-game.board-stage #joinPanel[data-join-mode=lobby] strong[data-join-role=primary]{min-width:0;min-height:0;align-self:stretch;display:flex;align-items:center;font-size:22vh;line-height:1.5}
 .projector-game.board-stage[data-join-mode=lobby] .score-team{transition:background-color .2s,box-shadow .2s}
 .projector-game.board-stage[data-join-mode=lobby] .score-team[data-joined=false]:before{opacity:.2;box-shadow:none}
 .projector-game.board-stage[data-join-mode=lobby] .score-team[data-joined=true]{background:color-mix(in srgb,var(--team) 14%,transparent);box-shadow:inset 0 -.35vh var(--team)}
 .projector-game.board-stage[data-join-mode=lobby] .score-team[data-joined=true]:before{opacity:1;box-shadow:0 0 1.5vh var(--team)}
}
@media(prefers-reduced-motion:reduce){.projector-game.board-stage[data-join-mode=lobby] .score-team{transition:none}}

/* Whole illustrated answers and results occupy separate, bounded grid tracks.
   Short keys sit above the figures; the longest key reads alongside them. */
.projector-game>.ensemble-result:has(>.figure-page){grid-template-rows:minmax(0,1.8fr) minmax(0,1fr);padding:1vh 1.5vw;gap:1vh}
.projector-game>.ensemble-result:is([data-correct-count='6'],[data-correct-count='7'],[data-correct-count='8']):has(>.figure-page){grid-template-rows:minmax(0,63fr) minmax(0,37fr)}
.projector-game>.ensemble-result[data-correct-count='0']:has(>.figure-page){grid-template-rows:minmax(0,1fr)}
.projector-game>.ensemble-result>.reveal-answer.question-text.figure-page{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr);align-items:stretch;justify-content:stretch;gap:1vh;padding:0;font-size:6vh}
.projector-game>.ensemble-result>.reveal-answer.question-text.figure-page>.clue-copy{grid-area:1/1;min-width:0;margin:0;padding:0;font-size:6vh;line-height:1.08}
.projector-game>.ensemble-result>.reveal-answer.question-text.figure-page>.clue-copy p{line-height:1.08}
.projector-game>.ensemble-result>.reveal-answer.question-text.figure-page>.clue-copy{padding-block:.12em}
.projector-game>.ensemble-result>.reveal-answer.question-text.figure-page[data-detailed-figure=true]>.clue-copy{font-family:var(--category);font-weight:700;text-transform:none;letter-spacing:-.02em}
.projector-game>.ensemble-result>.reveal-answer.question-text.figure-page>.imageboard{grid-area:2/1;align-self:center;justify-self:center;margin:0}
.projector-game>.ensemble-result>.reveal-answer.question-text.figure-page[data-figure-layout=columns]{grid-template-columns:minmax(0,1.85fr) minmax(0,1fr);grid-template-rows:minmax(0,1fr);column-gap:2vw;align-items:center}
.projector-game>.ensemble-result>.reveal-answer.question-text.figure-page[data-figure-layout=columns]>.imageboard{grid-area:1/2}
.projector-game>.ensemble-result>.reveal-answer.question-text.figure-page[data-figure-layout=columns]>.clue-copy,
.projector-game>.ensemble-result>.reveal-answer.question-text.figure-page[data-figure-layout=columns]>.clue-copy p{line-height:1.02}
@media(max-aspect-ratio:3/2){
 .projector-game>.ensemble-result[data-correct-count='3']:has(>.figure-page){grid-template-rows:minmax(0,76fr) minmax(0,24fr)}
 .projector-game>.ensemble-result[data-correct-count='8']:has(>.figure-page){grid-template-rows:minmax(0,72fr) minmax(0,28fr)}
}

/* Two-line team names must clear the score below them in the board scoreline. */
.projector-game.board-stage:not([data-join-mode=lobby]) .scoreboard{row-gap:1.6vh}

/* The picking turn stays with the game board and uses its existing type/colour. */
.picking-team{margin:0;padding:.25em .6em;color:var(--value);font:700 16px/1.2 var(--category);overflow-wrap:anywhere}
.projector-game.board-stage:has(>.picking-team){grid-template-rows:auto minmax(0,1fr) 35vh}
.projector-game>.picking-team{font-size:2.8vh;min-width:0}
body[data-role=host] .host-game:not(:has(.has-clue)) .host-preview:has(>.picking-team){grid-template-rows:auto minmax(0,1fr) auto}
.host-preview>.picking-team{max-width:100%;color:var(--desk-ink)}
.score-team[data-pick-team]{cursor:pointer}
.score-team[data-pick-team]:focus-visible{outline:2px solid var(--accent);outline-offset:2px}

@media(min-width:900px){
 .projector-game.board-stage[data-join-mode=lobby]:has(>.picking-team)>.board{grid-area:2/1}
 .projector-game.board-stage[data-join-mode=lobby]:has(>.picking-team)>.scoreboard{grid-area:3/1}
 .projector-game.board-stage[data-join-mode=lobby]:has(>.picking-team) #joinPanel{grid-area:2/1!important}
}
@media(max-width:899px){body[data-role=screen] .projector-game.board-stage:has(>.picking-team){grid-template-rows:auto minmax(0,1fr) 36vh}}

/* The corrected two-part rust reveal keeps both full sentences above its figures. */
@media(min-width:900px){
 .projector-game .ensemble-result[data-clue="2-3"]>.reveal-answer .clue-copy,
 .projector-game .ensemble-result[data-clue="2-3"]>.reveal-answer .clue-copy p{font-size:6vh;line-height:1.08}
}

/* Spoken judging needs separate right/wrong actions before any score is saved. */
body[data-role=host] .response .grade-actions:not([hidden]){position:static;transform:none;grid-column:3;grid-row:1;display:flex;align-self:center;gap:6px}
body[data-role=host] .response:has(.grade-actions:not([hidden])){grid-template-columns:minmax(100px,.7fr) minmax(0,1fr) auto}
@media(max-width:900px){body[data-role=host] .response .grade-actions:not([hidden]){grid-column:2;grid-row:1/3}body[data-role=host] .response:has(.grade-actions:not([hidden])){grid-template-columns:minmax(0,1fr) auto}}
@media(min-width:900px){.projector-game.board-stage:has(>.picking-team) .board .tile:not(.reserved){font-size:10vh}}
@media(max-width:900px){
 body[data-role=host] .host-preview>.board .category{font-size:clamp(9px,2.7vw,14px);line-height:1.05;padding:.3em .12em;white-space:normal;overflow-wrap:anywhere}
 body[data-role=host] .host-preview>.board .tile:not(.reserved){font-size:clamp(24px,9vw,40px)}
 body[data-role=host] .host-preview>.scoreboard{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(4,minmax(40px,auto));gap:4px 10px}
 body[data-role=host] .host-preview>.scoreboard .score-team>span{font-size:12px;overflow-wrap:normal;word-break:normal}
}

.projector-game #joinPanel[data-join-mode]{z-index:11}

/* Pending typed answers offer both decisions within the existing mark area. */
body[data-role=host] .response .grade-actions:not([hidden]){flex-wrap:nowrap;max-width:none}
body[data-role=host] .response .grade-actions button{width:42px;min-width:42px;height:42px;min-height:42px;padding:0}
@media(min-width:901px){
 body[data-role=host] .grading>.responses[data-answer-flow=true]>.response:has(.grade-actions:not([hidden])){padding-right:104px}
 body[data-role=host] .grading>.responses[data-answer-flow=true] .grade-actions:not([hidden]){position:absolute;right:0;top:50%;transform:translateY(-50%)}
}

/* Intact words and bounded content at projector and hand-held widths. */
.projector-game :is(.question-text,.clue-copy,.clue-copy p,.question-meta,.score-team>span,.result-team>span,.podium li>span,.wager-stage h1,.wager-stage h2,.category,.picking-team){overflow-wrap:normal;word-break:normal;hyphens:manual;text-overflow:clip;min-width:0}
.projector-game .question-text .clue-copy,.projector-game .question-text .clue-copy p{font-size:inherit;line-height:1.16;letter-spacing:0}
.projector-game .question-text .clue-copy{padding:.15em .4em}
.projector-game .question-text[data-long-text=true] .clue-copy{font-family:var(--category);font-weight:700;text-transform:none;letter-spacing:0}
.projector-game .question-stage:has(>.question-text[data-dense-text=true][data-image-count='0']){grid-template-rows:auto minmax(0,1fr) auto}
.projector-game .question-stage:has(>.question-text[data-dense-text=true][data-image-count='0'])>.question-meta{position:static;max-width:none;grid-area:auto;font-size:clamp(14px,3vh,38px)}
.projector-game .question-stage:has(>.question-text[data-dense-text=true][data-image-count='0'])>.question-text{grid-area:auto}
.projector-game .question-stage:has(>.question-text[data-dense-text=true][data-image-count='0'])>.question-bottom{grid-area:auto;padding-left:0;height:auto}
.projector-game .question-bottom{grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto;gap:12px 24px;min-width:0}
.projector-game .question-bottom .clock{grid-area:1/2;min-width:max-content;position:static}
.projector-game .question-bottom .clock strong{font-size:clamp(32px,7vh,90px);line-height:1.3;display:block;padding:0 .1em}
.projector-game .question-bottom .answer-pips{grid-area:1/1;display:flex;flex-wrap:wrap;justify-content:center;gap:clamp(6px,1vw,20px);min-width:0}
.projector-game .question-bottom .answer-pips i,
.projector-game .question-stage:has(>.question-text[data-dense-text=true][data-image-count='0']) .answer-pips i{width:clamp(34px,7vh,76px);height:clamp(34px,7vh,76px);flex:0 0 auto;border-width:2px;font:700 clamp(14px,2.7vh,32px)/1.2 Arial,Helvetica,sans-serif}
.projector-game .answer-pips i span{display:block;font:inherit;white-space:nowrap}
.projector-game .answer-pips i[data-filled=true]::after{width:18px;height:18px;font-size:14px;right:-4px;top:-4px}
.projector-game .question-bottom .timer-track{grid-area:2/1/3/3;height:8px;position:static}
.projector-game .imageboard.packed-figures .figure-caption,
.projector-game .imageboard.packed-figures .figure-caption .figure-label{background:transparent;color:var(--text);text-shadow:0 2px 3px #0008}
.projector-game .imageboard.packed-figures .figure-art{background:transparent;box-shadow:none}
.projector-game .score-team>span{width:100%}
.projector-game .score-team strong{margin-top:0}
.projector-game .wager-stage :is(h1,h2){width:100%;max-width:100%;transform:none;text-wrap:balance}
.projector-game .wager-stage h1{font-size:clamp(38px,12vw,180px)}
.projector-game .wager-stage h2{font-size:clamp(20px,5vh,70px);line-height:1.25}
@media(max-width:899px){
 .projector-game{height:100dvh;min-height:0;overflow:visible}
 .projector-game.board-stage,.projector-game.board-stage.wide-scores{grid-template-rows:minmax(0,1fr) 36vh;padding:12px;gap:12px}
 .projector-game.board-stage:has(>.picking-team){grid-template-rows:auto minmax(0,1fr) 36vh}
 .projector-game .board{gap:4px;min-width:0;min-height:0}
 .projector-game .board .category{font:700 clamp(14px,2.3vw,24px)/1.2 var(--category);letter-spacing:0;padding:4px 1px;text-transform:none}
 .projector-game .board .tile:not(.used):not(.reserved){font-size:clamp(24px,7vw,64px);line-height:1.3;padding:2px}
 .projector-game .board .tile.reserved{font-size:14px;letter-spacing:0}
 .projector-game .scoreboard{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(4,minmax(0,1fr));gap:8px 18px;padding:8px 12px}
 .projector-game .score-team,.projector-game.wide-scores .score-team,.projector-game .score-team[data-leader=true]{grid-area:auto;padding:0;align-items:flex-start;justify-content:center;text-align:left;gap:2px}
 .projector-game .score-team>span,.projector-game.wide-scores .score-team>span,.projector-game .score-team[data-leader=true]>span{font-size:18px;line-height:1.25;padding:0}
 .projector-game .score-team strong,.projector-game.wide-scores .score-team strong,.projector-game .score-team[data-leader=true]>strong{font-size:24px;line-height:1.3;padding:0;top:0}
 .projector-game .score-team:before{left:-8px;width:3px}
 .projector-game>.question-stage,.projector-game>.question-stage:has(>.figure-page){height:100dvh;padding:16px;gap:12px;grid-template-rows:auto minmax(0,1fr) auto}
 .projector-game .question-meta{font-size:18px;line-height:1.3;padding:0;gap:12px}
 .projector-game .question-meta b{font-size:24px;line-height:1.3;padding:4px 8px;flex:none}
 .projector-game .question-bottom{grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto auto;gap:12px;padding:0}
 .projector-game .question-bottom .clock{grid-area:1/1;justify-self:center}
 .projector-game .question-bottom .clock strong{font-size:38px}
 .projector-game .question-bottom .answer-pips{grid-area:2/1;gap:6px}
 .projector-game .question-bottom .answer-pips i,
 .projector-game .question-stage:has(>.question-text[data-dense-text=true][data-image-count='0']) .answer-pips i{width:36px;height:36px;font-size:14px}
 .projector-game .question-bottom .timer-track{grid-area:3/1;height:6px}
 .projector-game .question-bottom>span{font-size:18px;line-height:1.3;text-align:center}
 .projector-game .question-text,.projector-game>.ensemble-result>.reveal-answer{padding:0}
 .projector-game .imageboard.packed-figures{--figure-label-size:22px;--figure-caption-height:30px;gap:8px}
 .projector-game>.ensemble-result,.projector-game>.ensemble-result[data-long-answer=true],.projector-game>.ensemble-result:has(>.figure-page){height:100dvh;grid-template-rows:minmax(0,1fr) auto;padding:16px;gap:16px}
 .projector-game>.ensemble-result>.reveal-answer.question-text.figure-page[data-figure-layout=columns]{grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr);gap:8px}
 .projector-game>.ensemble-result>.reveal-answer.question-text.figure-page[data-figure-layout=columns]>.imageboard{grid-area:2/1}
 .projector-game .ensemble-result>.result-plates,
 .projector-game .ensemble-result[data-correct-count]>.result-plates{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:auto;gap:8px 12px;padding:12px;max-height:42vh}
 .projector-game .ensemble-result .result-plates .result-team,
 .projector-game .ensemble-result[data-correct-count] .result-team[data-rank]{grid-area:auto;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto;padding:0 6px;gap:2px 4px;min-width:0}
 .projector-game .ensemble-result[data-correct-count] .result-team[data-rank]>span{font-size:16px;line-height:1.3;white-space:normal}
 .projector-game .ensemble-result[data-correct-count] .result-team[data-rank] :is(strong,.result-gain){font-size:20px;line-height:1.3;padding:0}
 .projector-game .podium{height:100dvh;padding:20px 16px;gap:16px}
 .projector-game .podium h1{font-size:32px;line-height:1.3}
 .projector-game .podium li,.projector-game .podium li:is(:first-child,[data-top]){font-size:20px;padding:6px 8px;gap:12px;flex:1;min-width:0}
 .projector-game .podium li>span,.projector-game .winner-stage li>.winner{font:700 20px/1.3 var(--category);min-width:0}
 .projector-game .podium li>strong,.projector-game .podium li:is(:first-child,[data-top])>strong{font-size:28px;line-height:1.3;flex:none}
 .projector-game .podium li:before,.projector-game .podium li:is(:first-child,[data-top]):before{font-size:20px;width:24px;flex:none}
 .projector-game .wager-stage{height:100dvh;padding:36px 24px;gap:24px}
 .projector-game .wager-stage h1,.projector-game .final-lockup h1{font-size:64px;line-height:1.2;padding:12px 6px}
 .projector-game .wager-stage h2{font-size:28px}
 .projector-game .final-result{height:100dvh;padding:24px;gap:24px}
 .projector-game .final-result h1{font-size:48px}
 .projector-game .final-result .result-team{width:100%;padding:16px;gap:16px}
 .projector-game .final-result .result-team>span{font-size:28px;line-height:1.3}
 .projector-game .final-result .final-mark{font-size:32px;line-height:1.3}
 .projector-game .final-result .final-delta{font-size:64px;line-height:1.3}
 .projector-game .final-result .final-score,.projector-game .final-result .final-score strong{font-size:28px;line-height:1.3}
 .projector-game .final-result .reveal-count{font-size:18px}
}
/* The join lockup replaces the board; hidden tiles must not compete with it. */
@media(min-width:900px){.projector-game.board-stage[data-join-mode=lobby]>.board{opacity:0;pointer-events:none}}
.projector-game .score-team>span,.projector-game.wide-scores .score-team>span{line-height:1.3}
.projector-game .score-team strong,.projector-game.wide-scores .score-team strong{line-height:1.4;margin:0;padding-block:0;top:0}
.projector-game .score-team strong [data-score-copy]{display:block;line-height:inherit}
.projector-game .score-team,.projector-game.wide-scores .score-team{gap:6px}
/* Filled colour and solid border carry receipt state inside the badge. */
.projector-game .answer-pips i[data-filled=true]::after{display:none}
.projector-game .ensemble-result .result-plates .result-team :is(strong,.result-gain),
.projector-game .ensemble-result[data-correct-count='8'] .result-plates .result-team :is(strong,.result-gain){line-height:1.5}
.projector-game .result-team [data-score-copy]{display:block;line-height:inherit}
@media(max-width:899px){
 .projector-game .ensemble-result[data-correct-count] .result-plates{grid-auto-rows:auto;max-height:none}
 .projector-game .ensemble-result[data-correct-count] .result-plates .result-team{grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto;align-content:start;gap:2px 6px}
 .projector-game .ensemble-result[data-correct-count] .result-plates .result-team>span{grid-area:1/1/2/3}
 .projector-game .ensemble-result[data-correct-count] .result-plates .result-team>.result-gain{grid-area:2/1;line-height:1.5}
 .projector-game .ensemble-result[data-correct-count] .result-plates .result-team>strong{grid-area:2/2;line-height:1.5;text-align:right}
}
/* Authored hyphens and slashes also stay within the original intact word. */
.projector-game .clue-word,body[data-role=team] .clue-word{display:inline-block;white-space:nowrap;font:inherit;line-height:inherit}
.projector-game .scoreboard{grid-template-rows:repeat(2,minmax(0,1fr));align-content:stretch}
.projector-game .score-team{min-width:0;min-height:0}
@media(max-width:899px){
 body[data-role=screen] .projector-game .scoreboard{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:repeat(8,minmax(0,1fr));gap:3px;padding:8px 12px;align-content:stretch}
 body[data-role=screen] .projector-game .score-team,
 body[data-role=screen] .projector-game.wide-scores .score-team,
 body[data-role=screen] .projector-game .score-team[data-leader=true]{display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:12px;grid-area:auto;padding:0;text-align:left}
 body[data-role=screen] .projector-game .score-team>span,
 body[data-role=screen] .projector-game.wide-scores .score-team>span{font-size:18px;line-height:1.3;width:auto;flex:1;order:0;padding:0}
 body[data-role=screen] .projector-game .score-team strong,
 body[data-role=screen] .projector-game.wide-scores .score-team strong{font-size:24px;line-height:1.4;flex:none;order:1;margin:0;padding:0;top:0}
 body[data-role=screen] .projector-game .score-team [data-score-copy]{width:max-content}
}
@media(min-width:900px) and (max-width:1200px){
 .projector-game .ensemble-result[data-correct-count='8']>.result-plates{grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));gap:8px 16px}
 .projector-game .ensemble-result[data-correct-count='8'] .result-plates .result-team[data-rank]{grid-area:auto;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto;padding:0 6px;gap:4px 8px}
 .projector-game .ensemble-result[data-correct-count='8'] .result-plates .result-team>span{grid-area:1/1/2/3;font-size:22px;line-height:1.3}
 .projector-game .ensemble-result[data-correct-count='8'] .result-plates .result-team>.result-gain{grid-area:2/1;font-size:28px;line-height:1.5}
 .projector-game .ensemble-result[data-correct-count='8'] .result-plates .result-team>strong{grid-area:2/2;font-size:28px;line-height:1.5}
}
@media(max-width:899px){
 .projector-game .ensemble-result[data-correct-count] .result-plates{grid-template-columns:minmax(0,1fr);grid-template-rows:auto;gap:4px;padding:10px}
 .projector-game .ensemble-result[data-correct-count] .result-plates .result-team{grid-template-columns:minmax(0,1fr) auto auto;grid-template-rows:auto;padding:0 6px;gap:8px}
 .projector-game .ensemble-result[data-correct-count] .result-plates .result-team>span{grid-area:1/1;font-size:16px;line-height:1.4}
 .projector-game .ensemble-result[data-correct-count] .result-plates .result-team>.result-gain{grid-area:1/2;font-size:18px;line-height:1.5}
 .projector-game .ensemble-result[data-correct-count] .result-plates .result-team>strong{grid-area:1/3;font-size:18px;line-height:1.5}
}
@media(max-width:899px){
 body[data-role=screen] .projector-game>.ensemble-result[data-correct-count]{grid-template-rows:minmax(0,1fr) auto}
 .projector-game .ensemble-result[data-correct-count] .result-plates{min-height:max-content;grid-template-rows:none;grid-auto-rows:minmax(34px,auto)}
}
/* Keep the turn label, all eight scores and back-row-sized board values visible. */
@media(min-width:900px){
 .projector-game.board-stage:has(>.picking-team)>.board{row-gap:.35vh;padding-block:.65vh}
 .projector-game.board-stage:has(>.picking-team) .board .tile:not(.reserved){line-height:.9}
 .projector-game.board-stage:has(>.picking-team) .board .tile:not(.used):not(.reserved){padding-top:0;padding-bottom:.25vh}
}
/* Both rust explanations span the page above the two corresponding figures. */
.projector-game>.ensemble-result[data-clue="2-3"][data-correct-count]:not([data-correct-count="0"]):has(>.figure-page){grid-template-rows:minmax(0,72fr) minmax(0,28fr)}
.projector-game>.ensemble-result[data-clue="2-3"]>.reveal-answer.question-text.figure-page{grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr)}
.projector-game>.ensemble-result[data-clue="2-3"]>.reveal-answer.question-text.figure-page>.clue-copy{grid-area:1/1;line-height:1}
.projector-game>.ensemble-result[data-clue="2-3"]>.reveal-answer.question-text.figure-page>.clue-copy p{line-height:1}
.projector-game>.ensemble-result[data-clue="2-3"]>.reveal-answer.question-text.figure-page>.imageboard{grid-area:2/1}

/* Dense source prompts retain the established projector reading size. */
@media(min-width:900px){
 .projector-game .question-text[data-dense-text=true] .clue-copy,
 .projector-game .question-text[data-dense-text=true] .clue-copy p{line-height:1}
}
@media(min-width:900px) and (max-width:1200px){
 .projector-game .ensemble-result[data-correct-count='8'] .result-plates .result-team>.result-gain,
 .projector-game .ensemble-result[data-correct-count='8'] .result-plates .result-team>strong{font-size:5vh;line-height:1.2}
}

@media(min-width:900px){
 .projector-game .question-stage:has(>.question-text[data-dense-text=true][data-image-count='0']){grid-template-rows:minmax(0,1fr) 11.5vh;padding:.3vh .5vw;gap:0}
 .projector-game .question-stage:has(>.question-text[data-dense-text=true][data-image-count='0'])>.question-meta{position:absolute;left:1vw;bottom:1.5vh;max-width:23vw;font-size:3vh}
 .projector-game .question-stage:has(>.question-text[data-dense-text=true][data-image-count='0'])>.question-text{grid-area:1/1;align-self:stretch}
 .projector-game .question-stage:has(>.question-text[data-dense-text=true][data-image-count='0'])>.question-bottom{grid-area:2/1;height:11.5vh;padding-left:24vw;grid-template-rows:minmax(0,1fr);gap:0 12px}
 .projector-game .question-stage:has(>.question-text[data-dense-text=true][data-image-count='0']) .timer-track{position:absolute;left:0;right:0;bottom:0;height:8px}
 .projector-game .question-text[data-dense-text=true] .clue-copy{padding:0}
}

@media(min-width:900px){
 .projector-game .question-text[data-dense-text=true] .clue-copy,.projector-game .question-text[data-dense-text=true] .clue-copy p{letter-spacing:-.02em}
 .projector-game .question-text[data-dense-text=true] .clue-copy p+p{margin-top:.25em}
 .projector-game .ensemble-result[data-correct-count='8'] .result-plates .result-team>span{padding-block:2px}
}
/* Host start: the board's blue field, a display lockup and one illuminated tile. */
body[data-role=host]:has(.setup){background:var(--stage)}
.setup{isolation:isolate;position:relative;min-height:100svh;min-height:100dvh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:clamp(28px,6vh,58px);padding:40px 24px;overflow:hidden;background:radial-gradient(ellipse at 50% 36%,#4274b966,transparent 64%),linear-gradient(125deg,#020616,#0b245c 45%,#020616);color:var(--text);text-align:center}
.setup:before{content:'';position:absolute;z-index:-1;inset:clamp(12px,3vw,32px);border:1px solid #8cb9eb55;clip-path:polygon(0 0,36% 0,36% 1%,64% 1%,64% 0,100% 0,100% 100%,64% 100%,64% 99%,36% 99%,36% 100%,0 100%);box-shadow:inset 0 0 60px #010617,0 0 0 8px #152d5840;pointer-events:none}
.setup:after{content:'';position:absolute;z-index:-1;width:100%;height:22vh;bottom:-14vh;border-radius:50%;background:#346db466;box-shadow:0 -1px #b4dfff66,0 -12px 90px #478bd944;pointer-events:none}
.setup h1{font:400 clamp(46px,11.8vw,148px)/1.15 var(--display);letter-spacing:.015em;color:#e5f3ff;text-shadow:0 3px #34659a,0 7px #06142e,0 14px 24px #0009;margin:0}
.setup #create{width:min(560px,100%);position:relative}
.setup #createButton{width:100%;min-height:clamp(100px,17vh,152px);border:3px solid #9bc8f4;border-radius:7px;background:linear-gradient(170deg,#376bae,#10316d 53%,#081d48);color:var(--value);font:400 clamp(36px,7vw,65px)/1.2 var(--display);text-transform:uppercase;letter-spacing:.025em;text-shadow:0 3px 2px #000b;box-shadow:inset 0 3px #d3e9ff88,inset 0 -5px #020d2b99,0 8px 0 #020a21,0 16px 40px #0009;transition:transform .15s,filter .15s}
.setup #createButton:hover:not(:disabled){border-color:#e5f3ff;filter:brightness(1.16);transform:translateY(-2px)}
.setup #createButton:active:not(:disabled){transform:translateY(4px);box-shadow:inset 0 3px #d3e9ff88,0 4px 0 #020a21,0 10px 25px #0009}
.setup #createButton:disabled{opacity:.65}
.setup .form-error{position:absolute;top:100%;left:0;right:0;color:#ffd4be;font-size:14px;min-height:0;margin-top:14px}
.setup .form-error:empty{display:none}
.setup-links{display:flex;flex-wrap:wrap;justify-content:center;gap:4px 24px;color:#c4d8f4;font-size:14px}
.setup-links a{min-height:44px;display:inline-flex;align-items:center;padding:0 4px}
@media(prefers-reduced-motion:reduce){.setup #createButton{transition:none}}

/* Keep the clue value whole when dense prompts use the compact footer. */
.projector-game .question-meta>b{flex:none}

/* Cotton Blue host desk. Each phase gives its working object the stage. */
body[data-role=host] #app:has(.host-game[data-desk-phase]){height:100dvh;display:flex;flex-direction:column;overflow:hidden;background:var(--stage);color:var(--text)}
body[data-role=host] #app .host-game[data-desk-phase],body[data-role=host] #app .desk-header:has(.host-more){--desk:var(--clue);--desk-ink:#fff;--desk-line:#7897d0;--control:#12347e;color:#fff;color-scheme:dark}
body[data-role=host] #app .desk-header:has(.host-more){flex:none;min-height:66px;padding:8px 24px;gap:24px;background:linear-gradient(#172e68,#081638);border:0;box-shadow:0 3px 0 #3f5d95,0 8px 20px #0005;z-index:5;flex-wrap:nowrap}
body[data-role=host] #app .desk-header .brand{font:400 28px/1 var(--display);letter-spacing:.035em;color:var(--value);text-shadow:1px 2px #000a}
body[data-role=host] #app .header-controls{flex:1;flex-wrap:nowrap;gap:10px}
body[data-role=host] #app .desk-header :is(button,.button-link,.host-more>summary){min-height:44px;padding:9px 13px;border:1px solid #688ac2;background:linear-gradient(#234885,#0d2354);color:#fff;font:700 16px/1.2 var(--category);border-radius:4px;text-decoration:none}
body[data-role=host] #app .desk-header .pace-clock{margin-right:auto;display:flex;gap:12px;align-items:center;padding:0;min-height:0;color:#e2e7ff;font:700 16px/1.2 var(--category);white-space:nowrap}
body[data-role=host] #app .pace-clock .pace-times{gap:4px;display:flex;flex-wrap:nowrap}
body[data-role=host] #app .pace-clock .pace-delta{padding:0;background:none;color:var(--value);font:700 16px/1.2 var(--category)}
body[data-role=host] #app .connection:empty{display:none}
body[data-role=host] #app .host-more{position:relative;margin:0}
body[data-role=host] #app .more-panel{
 position:absolute;z-index:30;inset-inline-end:0;top:calc(100% + 8px);
 width:min(380px,calc(100vw - 28px));max-height:calc(100dvh - 84px);
 overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable;
 padding:10px 12px;background:#0b2050;color:#fff;border:1px solid #7897d0;
 border-radius:8px;box-shadow:0 12px 30px #0009;
}
.more-section+.more-section{margin-top:10px;padding-top:9px;border-top:1px solid #7897d04d}
.more-section h2{margin:0 0 2px;padding:0 8px;color:#b9ccef;font:700 14px/1.3 var(--category)}
.more-row{display:flex;gap:4px}
.more-row>button{flex:1}
.more-row>#soundMuted{flex:1.5}
body[data-role=host] #app .desk-header .more-panel button{
 width:100%;min-width:44px;min-height:44px;justify-content:flex-start;text-align:left;
 padding:5px 8px;border-color:transparent;border-radius:5px;background:none;font-size:15px;
}
body[data-role=host] #app .desk-header .more-panel button:hover:not(:disabled){background:#1a3975}
body[data-role=host] #app .desk-header .more-panel :is(button,select):focus-visible{outline-offset:-3px}
body[data-role=host] #app .desk-header .more-panel #void{color:#ffc4bb}
.more-panel #hostHelpToggle kbd{margin-inline-start:auto;color:#b9ccef}
.more-fields{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);gap:8px;padding:4px 8px}
.more-fields .mode-control{display:block;margin:0;color:#e2e7ff;font:700 14px/1.2 var(--category)}
.more-fields select{
 width:100%;height:44px;min-height:44px;margin:4px 0 0;padding:0 6px;
 background:#162f61;color:#fff;border-color:#688ac2;font:700 15px/1.2 var(--category);
 text-overflow:ellipsis;
}
@media(max-width:800px){
 body[data-role=host] #app .more-panel{max-height:calc(100dvh - 128px)}
}
body[data-role=host] #app .host-game[data-desk-phase]{flex:1;height:auto;min-height:0;padding:16px 24px 20px;display:flex;flex-direction:column;gap:12px;overflow:hidden;background:radial-gradient(ellipse at 50% 0,#244a8b88,transparent 70%),var(--clue)}
body[data-role=host] #app .host-game .host-actions{order:2;flex:none;margin:0;min-height:48px;display:flex;flex-direction:row;align-items:center;justify-content:space-between;flex-wrap:nowrap;gap:12px;padding:0;background:none;border:0;box-shadow:none}
body[data-role=host] #app .host-game .host-status{max-width:none;display:block;color:#dce6ff}
body[data-role=host] #app .host-game .host-status strong{font:700 18px/1.2 var(--category)}
body[data-role=host] #app .host-game .host-action-buttons{display:flex;gap:8px;width:auto;flex-wrap:nowrap;margin-left:auto}
body[data-role=host] #app .host-game :is(button,.button-link){min-height:46px;padding:10px 18px;font:700 18px/1.2 var(--category);color:#fff;background:linear-gradient(#264e91,#102c68);border:1px solid #7897d0;border-radius:4px;box-shadow:inset 0 1px #fff3,0 3px 0 #020c27}
body[data-role=host] #app .host-game button.primary{color:#091736;background:linear-gradient(#ffc184,#ff9b4d);border-color:#ffca96;min-height:48px;font:700 22px/1.1 var(--category)}
body[data-role=host] #app .host-game .host-layout{order:1;display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr);flex:1;min-height:0;gap:24px;align-items:stretch;overflow:visible}
body[data-role=host] #app .host-game .host-preview{display:flex;flex-direction:column;gap:12px;min-height:0;height:100%;contain:none;overflow:visible;background:transparent;box-shadow:none;color:#fff}
body[data-role=host] #app .host-game .host-preview>.question-stage{flex:1;min-height:0;height:auto;display:grid;grid-template-columns:minmax(0,1fr) 180px;grid-template-rows:auto minmax(0,1fr);gap:16px 28px;padding:24px 28px;background:linear-gradient(160deg,#234b8a88,#07163c55),var(--material);background-size:cover;border:2px solid #5179b5;border-radius:5px;box-shadow:inset 0 2px #ffffff42,inset 0 -4px 12px #0007,0 8px 20px #0004;overflow:hidden}
body[data-role=host] #app .host-game .question-meta{grid-area:1/1;display:flex;justify-content:flex-start;max-width:none;gap:12px;font:700 22px/1.2 var(--category);align-self:start;color:#dce6ff}
body[data-role=host] #app .host-game .question-meta b{font:400 30px/1 var(--display);color:var(--value)}
body[data-role=host] #app .host-game .question-text{grid-area:2/1;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:16px;min-height:0;height:100%;max-height:none;padding:0;overflow:auto;justify-content:safe center;font:800 clamp(26px,3.1vw,44px)/1.2 var(--body)!important;text-transform:none;text-align:left;text-overflow:clip}
body[data-role=host] #app .host-game .question-text .clue-copy{flex:none;width:100%;font:inherit}
body[data-role=host] #app .host-game .question-text p{white-space:normal;overflow:visible;text-overflow:clip;text-wrap:pretty;line-height:1.2;display:block;text-align:left}
body[data-role=host] #app .host-game .question-text p~p{display:block;margin-top:.45em}
body[data-role=host] #app .host-game .question-text .imageboard{display:flex}
body[data-role=host] #app .host-game .question-bottom{grid-area:1/2/3/3;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:20px;min-height:0;font-size:16px}
body[data-role=host] #app .host-game .clock{display:block;text-align:center}
body[data-role=host] #app .host-game .clock strong{font:400 86px/1.1 var(--display);color:var(--value);text-shadow:2px 4px #0009}
body[data-role=host] #app .host-game .timer-track{flex:none;display:block;width:100%;height:7px;background:#0007;order:2}
body[data-role=host] #app .host-game .host-submissions{display:flex;align-items:center;gap:22px;flex:none;min-height:70px}
body[data-role=host] #app .host-submissions>strong{font:400 30px/1.1 var(--display);color:var(--value);white-space:nowrap}
body[data-role=host] #app .submission-chips{flex:1;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px 14px}
body[data-role=host] #app .submission-chip{display:flex;gap:8px;align-items:center;padding:4px 9px;background:#071331;box-shadow:inset 3px 0 var(--team);color:#d6e2fa;font:700 16px/1.25 var(--category);border-radius:3px;overflow-wrap:anywhere;min-height:29px}
body[data-role=host] #app .submission-chip i{font-style:normal;color:#93a7cc}
body[data-role=host] #app .submission-chip[data-submitted=true]{background:#24487d;color:#fff;box-shadow:inset 3px 0 var(--team),inset 0 0 0 1px #83a7da}
body[data-role=host] #app .submission-chip[data-submitted=true] i{color:var(--value)}
body[data-role=host] #app .host-game .answer-key{flex:1;min-height:0;height:auto;display:flex;flex-direction:column;gap:10px;padding:16px 0;margin:0;background:none;border:0;border-top:3px solid var(--accent);box-shadow:none;overflow:hidden}
body[data-role=host] #app .host-game .answer-key h2{flex:none;padding:0;color:var(--value);font:700 19px/1.2 var(--category)}
body[data-role=host] #app .host-game .key-content{flex:1;min-height:0;max-height:none;height:auto;padding:0;display:flex;flex-direction:column;justify-content:flex-start;align-items:stretch;gap:10px;overflow:auto;font:800 20px/1.25 var(--body);color:#fff;text-transform:none}
body[data-role=host] #app .host-game .key-content .clue-copy{font:inherit;flex:none}
body[data-role=host] #app .host-game .key-content p{line-height:1.25;text-align:left}
body[data-role=host] #app .host-game .key-figure-labels{color:#e2e7ff;font:700 15px/1.25 var(--category)}
body[data-role=host] #app .host-game .key-peek{position:relative;flex:none;padding:0;min-height:44px;overflow:visible;border:0;align-self:start;display:block}
body[data-role=host] #app .key-peek summary{display:flex;align-items:center;gap:10px;min-height:44px;padding:9px 12px;color:#dce6ff;font:700 16px/1.2 var(--category);border:1px solid #7897d0;border-radius:4px}
body[data-role=host] #app .key-peek summary::-webkit-details-marker{display:none}
body[data-role=host] #app .key-peek .key-peek-content{position:absolute;bottom:calc(100% + 8px);left:0;z-index:4;width:min(620px,calc(100vw - 48px));height:min(380px,50dvh);padding:20px;display:flex;flex-direction:column;gap:8px;background:#071a44;border:2px solid var(--accent);box-shadow:0 10px 40px #000a}
body[data-role=host] #app .host-game[data-desk-phase=locked] .host-layout,body[data-role=host] #app .host-game[data-desk-phase=revealed] .host-layout,body[data-role=host] #app .host-game[data-spoken=true] .host-layout{grid-template-columns:minmax(0,.85fr) minmax(0,1.5fr)}
body[data-role=host] #app .host-game:is([data-desk-phase=locked],[data-desk-phase=revealed]) .question-stage{flex:0 1 45%;min-height:120px;grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr);padding:16px;gap:8px;box-shadow:none;background:#07163866;border:1px solid #5179b5}
body[data-role=host] #app .host-game:is([data-desk-phase=locked],[data-desk-phase=revealed]) .question-text{font-size:20px!important}
body[data-role=host] #app .host-game:is([data-desk-phase=locked],[data-desk-phase=revealed]) .question-bottom{display:none}
body[data-role=host] #app .host-game .grading{height:100%;min-height:0;display:flex;flex-direction:column;overflow:hidden;color:#fff}
body[data-role=host] #app .host-game .grading-heading{display:flex;align-items:center;justify-content:space-between;flex:none;gap:8px;min-height:32px;margin:0 0 8px;padding:0}
body[data-role=host] #app .host-game .grading-heading h2{font:700 22px/1.2 var(--category)}
body[data-role=host] #app .host-game .grading-heading>span{font:700 15px/1.2 var(--category);color:#dce6ff}
body[data-role=host] #app .host-game .grading>.responses{display:flex;flex-direction:column;grid-template-columns:none;grid-template-rows:none;justify-content:flex-start;align-content:normal;flex:1;min-height:0;height:auto;max-height:none;overflow:auto;scrollbar-gutter:stable;padding:0 8px 0 0;gap:0}
body[data-role=host] #app .host-game .responses>.response,body[data-role=host] #app .host-game .responses>.response:not([data-waiting=true]){display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto;align-items:center;align-content:center;position:relative;flex:none;min-height:76px;height:auto;padding:12px 0;gap:5px 12px;border:0;border-bottom:1px solid #5674a4;background:none;box-shadow:none;color:#fff;overflow:visible;opacity:1}
body[data-role=host] #app .host-game .response .response-heading{grid-area:1/1;display:block;padding:0;margin:0;line-height:1.25}
body[data-role=host] #app .host-game .response .response-heading h3{display:block;font:700 18px/1.25 var(--category);color:#dce6ff;overflow-wrap:normal;word-break:normal}
body[data-role=host] #app .host-game .response .response-copy{grid-area:2/1;display:block;min-height:0;overflow:visible}
body[data-role=host] #app .host-game .response .response-text{display:block;white-space:pre-wrap;overflow-wrap:anywhere;max-height:none;overflow:visible;font:800 18px/1.3 var(--body)!important;color:#fff}
body[data-role=host] #app .host-game .response .suggestion{position:static;display:flex;flex-wrap:wrap;gap:5px;margin:4px 0 0;opacity:1;height:auto;width:auto;clip-path:none;font:700 14px/1.25 var(--category);color:#dce6ff}
body[data-role=host] #app .host-game .suggestion-source{font:inherit;color:var(--value)}
body[data-role=host] #app .host-game .suggestion-reason{font:inherit;color:#dce6ff}
body[data-role=host] #app .host-game .response :is(.grade-toggle,.grade-actions:not([hidden])){grid-area:1/2/3/3;position:static;transform:none;align-self:center;display:flex;min-width:46px;min-height:46px;width:auto;height:46px;max-width:none;padding:0;gap:6px}
body[data-role=host] #app .host-game .response .grade-actions:not([hidden]){border:0;box-shadow:none;background:none}
body[data-role=host] #app .host-game .response :is(.grade-toggle,.grade-actions button){min-width:46px;min-height:46px;width:46px;height:46px;padding:0;font:700 26px/1 var(--category);border:1px solid #8aa7d4;border-radius:4px;box-shadow:inset 0 1px #fff3}
body[data-role=host] #app .host-game .grade-toggle[data-grade=right]{background:#22543e;color:#fff}
body[data-role=host] #app .host-game .grade-toggle[data-grade=wrong]{background:#632837;color:#fff}
body[data-role=host] #app .host-game .grading>#confirmAll{flex:none;position:static;min-height:50px;width:100%;margin:12px 0 0;padding:10px 20px;font:700 23px/1.2 var(--category);color:#091736;background:linear-gradient(#ffc184,#ff9b4d)}
body[data-role=host] #app .host-game .scoring-complete{color:#dce6ff;font:700 15px/1.2 var(--category);padding:0;background:none}
body[data-role=host] #app .host-game .final-reveals{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin:8px 0 0;flex:none}
body[data-role=host] #app .host-game .final-reveals button{min-height:44px;font-size:16px;padding:6px 8px}
body[data-role=host] #app .host-game .host-preview>.picking-team{flex:none;color:var(--value);font:700 24px/1.2 var(--category);padding:0}
body[data-role=host] #app .host-game .host-preview>.board{flex:1;min-height:0;height:auto;grid-template-rows:.8fr repeat(5,1fr);padding:8px;gap:5px}
body[data-role=host] #app .host-game .board .category{font-size:clamp(15px,2vw,25px)}
body[data-role=host] #app .host-game .board .tile{font-size:clamp(30px,6vh,58px);min-height:44px}
body[data-role=host] #app .host-game .board .tile.reserved{font-size:clamp(15px,3vh,28px)}
body[data-role=host] #app .host-game .host-preview>.scoreboard{flex:none;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));gap:8px 20px;min-height:0;padding:12px;background:#04102c}
body[data-role=host] #app .host-game .score-team{min-height:32px;gap:8px;padding:3px 0}
body[data-role=host] #app .host-game .score-team>span{font:700 17px/1.2 var(--category)}
body[data-role=host] #app .host-game .score-team strong{font:400 26px/1 var(--display)}
body[data-role=host] #app .host-game[data-desk-phase=wager] .host-layout{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr)}
body[data-role=host] #app .host-game .wager-stage{flex:1;min-height:0;gap:22px;background:none;box-shadow:none;transform:none;padding:16px}
body[data-role=host] #app .host-game .wager-stage h1{font:400 clamp(48px,7vw,92px)/1.1 var(--display);color:var(--value);transform:none;text-shadow:2px 4px #0009}
body[data-role=host] #app .host-game .wager-stage h2{font:700 28px/1.2 var(--category)}
body[data-role=host] #app .host-game .wager-count{font:400 60px/1 var(--display)}
body[data-role=host] #app .host-game .wager-desk{display:flex;flex-direction:column;justify-content:center;min-height:0;color:#fff}
body[data-role=host] #app .host-game .wager-desk>div{flex:none;min-height:52px;padding:5px 0;gap:12px;border-color:#5674a4;font:700 18px/1.2 var(--category)}
body[data-role=host] #app .host-game .wager-desk>div button{min-height:44px;font-size:16px;padding:6px 10px}
body[data-role=host] #app .host-game #wagerForm button{background:var(--accent);color:#091736;width:100%;min-height:50px}
body[data-role=host] #app .host-game .podium{height:100%;min-height:0;padding:12px 4vw;background:none;box-shadow:none;display:flex;flex-direction:column;justify-content:center}
body[data-role=host] #app .host-game .podium h1{font:400 42px/1.1 var(--display)}
body[data-role=host] #app .host-game .podium ol{display:grid;gap:12px;margin:18px 0;padding-left:40px}
body[data-role=host] #app .host-game .podium li{font:700 24px/1.2 var(--category);padding:4px 16px;min-height:38px;transform:none;background:none}
body[data-role=host] #app .host-game .podium li strong{font:400 30px/1 var(--display)}
body[data-role=host] #app .host-game .podium .winner{font:700 30px/1.2 var(--category);margin:0}
body[data-role=host] #app .host-game dialog{color:#fff;background:#0b2050;border:1px solid #7897d0}
body[data-role=host] #app .host-game dialog input,body[data-role=host] #app .host-game dialog select{color:#111;background:#fff}
body[data-role=host] #app .host-game dialog .team-admin-row>button{min-height:38px;padding:6px 8px;font-size:16px}
@media(max-width:800px){
 body[data-role=host] #app .desk-header:has(.host-more){display:grid;grid-template-columns:auto 1fr;gap:5px 14px;padding:10px 14px;min-height:108px}
 body[data-role=host] #app .desk-header .brand{font-size:25px;grid-area:1/1}
 body[data-role=host] #app .header-controls{display:contents}
 body[data-role=host] #app .desk-header .pace-clock{grid-area:1/2;justify-self:end;flex-wrap:wrap;gap:2px 8px;justify-content:flex-end;font-size:14px}
 body[data-role=host] #app .desk-header .pace-delta{font-size:14px}
 body[data-role=host] #app .desk-header #scoresView{grid-area:2/1;justify-self:start}
 body[data-role=host] #app .desk-header .button-link{grid-area:2/2;justify-self:start;margin-left:2px}
 body[data-role=host] #app .desk-header .host-more{grid-area:2/2;justify-self:end}
 body[data-role=host] #app .desk-header :is(button,.button-link,.host-more>summary){font-size:16px;padding:9px 12px}
 body[data-role=host] #app .connection{position:absolute;top:0;left:0;font-size:11px;background:#071638}
 body[data-role=host] #app .host-game[data-desk-phase]{padding:14px;gap:12px}
 body[data-role=host] #app .host-game .host-actions{min-height:48px;gap:0}
 body[data-role=host] #app .host-game .host-status{display:none}
 body[data-role=host] #app .host-game .host-action-buttons{width:100%;display:flex;gap:8px}
 body[data-role=host] #app .host-game .host-action-buttons button{flex:1;padding:10px 12px;font-size:18px;min-width:0}
 body[data-role=host] #app .host-game .host-layout{gap:12px}
 body[data-role=host] #app .host-game .host-preview{gap:10px}
 body[data-role=host] #app .host-game .host-preview>.question-stage{grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto minmax(0,1fr);padding:16px;gap:14px 8px;border-radius:3px}
 body[data-role=host] #app .host-game .question-meta{font-size:17px;gap:8px;flex-wrap:wrap;max-width:none}
 body[data-role=host] #app .host-game .question-meta b{font-size:23px}
 body[data-role=host] #app .host-game .question-text{grid-area:2/1/3/3;font-size:26px!important;gap:12px;justify-content:safe center}
 body[data-role=host] #app .host-game .question-bottom{grid-area:1/2;gap:0;min-width:68px;align-self:start}
 body[data-role=host] #app .host-game .clock strong{font-size:46px}
 body[data-role=host] #app .host-game .timer-track{display:none}
 body[data-role=host] #app .host-game .host-submissions{display:block;min-height:0}
 body[data-role=host] #app .host-submissions>strong{display:block;font-size:25px;margin:0 0 7px}
 body[data-role=host] #app .submission-chips{grid-template-columns:repeat(2,minmax(0,1fr));gap:5px 8px}
 body[data-role=host] #app .submission-chip{font-size:14px;min-height:28px;padding:4px 8px;gap:6px}
 body[data-role=host] #app .host-game .key-peek{min-height:44px}
 body[data-role=host] #app .key-peek .key-peek-content{width:calc(100vw - 28px);height:min(380px,50dvh);padding:14px}
 body[data-role=host] #app .host-game:is([data-desk-phase=locked],[data-desk-phase=revealed],[data-spoken=true]) .host-layout{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,.65fr) minmax(0,1.35fr)}
 body[data-role=host] #app .host-game:is([data-desk-phase=locked],[data-desk-phase=revealed]) .host-preview{display:flex;gap:0}
 body[data-role=host] #app .host-game:is([data-desk-phase=locked],[data-desk-phase=revealed]) .question-stage{display:none}
 body[data-role=host] #app .host-game .answer-key{padding:8px 0 0;gap:5px}
 body[data-role=host] #app .host-game .key-content{font-size:19px;justify-content:flex-start}
 body[data-role=host] #app .host-game .grading-heading{min-height:26px;margin-bottom:4px}
 body[data-role=host] #app .host-game .grading-heading h2{font-size:19px}
 body[data-role=host] #app .host-game .responses>.response,body[data-role=host] #app .host-game .responses>.response:not([data-waiting=true]){grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto;gap:5px 12px;padding:12px 0;min-height:80px}
 body[data-role=host] #app .host-game .response .response-heading{grid-area:1/1}
 body[data-role=host] #app .host-game .response .response-heading h3{font-size:18px}
 body[data-role=host] #app .host-game .response .response-copy{grid-area:2/1}
 body[data-role=host] #app .host-game .response .response-text{font-size:17px!important}
 body[data-role=host] #app .host-game .response :is(.grade-toggle,.grade-actions:not([hidden])){grid-area:1/2/3/3}
 body[data-role=host] #app .host-game .grading>#confirmAll{margin-top:8px;min-height:48px}
 body[data-role=host] #app .host-game .final-reveals{grid-template-columns:repeat(2,minmax(0,1fr));gap:4px}
 body[data-role=host] #app .host-game .final-reveals button{font-size:14px;padding:4px;min-height:44px}
 body[data-role=host] #app .host-game .board .category{font:700 14px/1.2 var(--category);letter-spacing:-1.6px;padding:4px 0;overflow-wrap:normal;word-break:normal}
 body[data-role=host] #app .host-game .host-preview>.picking-team{font-size:21px}
 body[data-role=host] #app .host-game .host-preview>.scoreboard{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(4,minmax(0,1fr));padding:8px;gap:4px 12px}
 body[data-role=host] #app .host-game .score-team{min-height:28px}
 body[data-role=host] #app .host-game .score-team>span{font-size:13px}
 body[data-role=host] #app .host-game .score-team strong{font-size:23px}
 body[data-role=host] #app .host-game[data-desk-phase=wager] .host-layout{grid-template-columns:1fr;grid-template-rows:minmax(0,.7fr) minmax(0,1.3fr);gap:8px}
 body[data-role=host] #app .host-game .wager-stage{padding:0;gap:12px}
 body[data-role=host] #app .host-game .wager-stage h1{font-size:48px}
 body[data-role=host] #app .host-game .wager-stage h2{font-size:21px}
 body[data-role=host] #app .host-game .wager-count{font-size:40px}
 body[data-role=host] #app .host-game .wager-desk>div{min-height:44px;padding:0;font-size:16px;gap:8px}
 body[data-role=host] #app .host-game .wager-desk>div button{min-height:44px;padding:4px 8px;font-size:14px}
 body[data-role=host] #app .host-game .wager-desk label{margin:0 0 10px}
 body[data-role=host] #app .host-game .podium{padding:0 8px}
 body[data-role=host] #app .host-game .podium h1{font-size:36px}
 body[data-role=host] #app .host-game .podium ol{padding-left:24px;gap:9px;margin:16px 0}
 body[data-role=host] #app .host-game .podium li{font-size:20px;padding:5px 10px;min-height:40px}
 body[data-role=host] #app .host-game .podium li::marker{font-size:20px}
 body[data-role=host] #app .host-game .podium .winner{font-size:23px}
 body[data-role=host] #app .host-game .podium li strong{font-size:26px}
 body[data-role=host] #app .host-game[data-spoken=true] .host-layout{grid-template-rows:minmax(0,1fr) minmax(0,.5fr)}
 body[data-role=host] #app .host-game[data-spoken=true] .question-text{font-size:22px!important}
}

body[data-role=host] #app .host-game .board button.tile{color:var(--value);background:linear-gradient(#ffffff22,transparent 35%,#0008),var(--value-backing);padding:0;border:0;border-radius:0;box-shadow:inset 0 2px #fff5,inset 0 -3px 5px #0009;text-shadow:1px 2px #000b}
body[data-role=host] #app .host-game .board button.tile.used{background:var(--used);color:transparent;opacity:.45}
body[data-role=host] #app .host-game .question-text{color:#fff}
body[data-role=host] #app .host-game .key-peek:not([open])>.key-peek-content,body[data-role=host] #app .host-more:not([open])>.more-panel{display:none}

body[data-role=host] #app .desk-header #paceClock time{font:inherit}
body[data-role=host] #app .host-game[data-spoken=true] .grade-actions [data-mark=true]{background:var(--accent);color:#091736}

@media(max-width:800px){
 body[data-role=host] #app .host-game:is([data-desk-phase=locked],[data-desk-phase=revealed]):has(.answer-key>.key-content[data-dense-text=true]) .host-layout{grid-template-rows:minmax(0,1.2fr) minmax(0,1fr)}
 body[data-role=host] #app .host-game:is([data-desk-phase=locked],[data-desk-phase=revealed]):has(.answer-key>.key-content:not([data-image-count="0"])) .host-layout{grid-template-rows:minmax(0,1fr) minmax(0,1fr)}
}

@media(max-width:800px){body[data-role=host] #app .host-game .key-peek .key-peek-content{left:auto}}

body[data-role=host] #app .host-game .host-submissions{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:10px 20px}
body[data-role=host] #app .host-submissions>.submission-chips{grid-area:1/2}
body[data-role=host] #app .host-submissions>.key-peek{grid-area:1/3;align-self:center}
@media(max-width:800px){
 body[data-role=host] #app .host-game .host-submissions{grid-template-columns:minmax(0,1fr) auto;gap:6px 10px}
 body[data-role=host] #app .host-submissions>strong{margin:0}
 body[data-role=host] #app .host-submissions>.key-peek{grid-area:1/2}
 body[data-role=host] #app .host-submissions>.submission-chips{grid-area:2/1/3/3}
 body[data-role=host] #app .host-game .key-peek>summary{min-height:44px;font-size:15px}
 body[data-role=host] #app .host-game:has(.question-text[data-dense-text=true]) .submission-chips{grid-template-columns:repeat(4,minmax(0,1fr))}
 body[data-role=host] #app .host-game:has(.question-text[data-dense-text=true]) .submission-chip{font-size:14px;padding:4px;gap:3px;white-space:nowrap;overflow:hidden}
 body[data-role=host] #app .host-game:has(.question-text[data-dense-text=true]) .submission-chip>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 body[data-role=host] #app .host-game .key-peek .key-peek-content{left:auto;right:0;bottom:52px}
 body[data-role=host] #app .host-game .board .tile{font-size:34px}
 body[data-role=host] #app .host-game .board .tile.reserved{font-size:17px}
}
body[data-role=host] #app .host-game .grading{margin:0}
@media(min-width:801px){
 body[data-role=host] #app .host-game[data-spoken=true] .host-layout{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr) auto;gap:16px}
 body[data-role=host] #app .host-game[data-spoken=true] .grading{height:auto}
 body[data-role=host] #app .host-game[data-spoken=true] .responses{flex:none}
 body[data-role=host] #app .host-game[data-spoken=true] .grading-heading{margin-bottom:0}
}
body[data-role=host] #app .key-peek .key-peek-content{left:auto;right:0}
body[data-role=host] #app .host-game .score-team>span{line-height:1.45}

body[data-role=host] #app .submission-tag{display:none}
body[data-role=host] #app .submission-chip{overflow-wrap:normal;word-break:normal}
body[data-role=host] #app .host-game .score-team{min-height:44px}
@media(max-width:800px){
 body[data-role=host] #app .host-game .host-preview>.scoreboard{display:none}
 body[data-role=host] #app .host-game:has(.question-text[data-dense-text=true]) .submission-name{display:none}
 body[data-role=host] #app .host-game:has(.question-text[data-dense-text=true]) .submission-tag{display:inline}
}

body[data-role=host] #app .host-game .figure-caption .figure-label{font-size:14px;line-height:1.2}
body[data-role=host] #app .submission-chip>i{flex:none;min-width:12px;font-size:14px}

body[data-role=host] .clue-word{display:inline-block;white-space:nowrap;font:inherit;line-height:inherit}

/* Classroom overscan: scenery can bleed, readable content stays in the frame. */
body[data-role=screen] #app>.projector-game.board-stage{padding:2.2vh 2.2vw}
body[data-role=screen] #app>.projector-game>:is(.question-stage,.ensemble-result,.wager-stage,.podium,.final-result){padding:2.2vh 5vw;height:100dvh}
body[data-role=screen] #app>.projector-game>.question-stage{grid-template-rows:auto minmax(0,1fr) auto;gap:1vh}
body[data-role=screen] #app>.projector-game>.question-stage>.question-meta{position:static;grid-area:1/1;max-width:none;padding:0;font-size:clamp(18px,3vh,38px)}
body[data-role=screen] #app>.projector-game>.question-stage>.question-text{grid-area:2/1;align-self:stretch;max-width:100%;min-width:0}
body[data-role=screen] #app>.projector-game>.question-stage>.question-bottom{grid-area:3/1;height:auto;padding:0;align-items:center;gap:1vh 2vw}
body[data-role=screen] #app>.projector-game>.question-stage .timer-track{position:static}
body[data-role=screen] #app>.projector-game>.question-stage .clock{align-self:center}
body[data-role=screen] #app>.projector-game>.question-stage .clue-copy{padding:0;max-width:70ch;justify-self:center;width:100%}
.daily-double-banner{display:flex;align-items:baseline;justify-content:space-between;gap:1vw;min-width:0;color:var(--value);text-transform:none}
.daily-double-banner>strong{font:400 clamp(24px,4vh,54px)/1.2 var(--display);white-space:nowrap}
.daily-double-banner>span{font:700 clamp(18px,3vh,38px)/1.25 var(--category);text-align:right;min-width:0}
.projector-game .question-meta:has(>.daily-double-banner){display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.5vh 1vw}
.projector-game .question-meta>.daily-double-banner{grid-column:1/-1}
@media(max-width:899px){
 .projector-game .daily-double-banner{flex-direction:column;align-items:flex-start;gap:4px}
 .projector-game .daily-double-banner>span{text-align:left}
}

/* The open key occupies the clue reading area; the clock stays in view. */
body[data-role=host] #app .host-preview:has(.key-peek[open]) .question-text{visibility:hidden}
@media(min-width:801px){
 /* Compare in reading order, leaving spare height below the actual content. */
 body[data-role=host] #app .host-game:is([data-desk-phase=locked],[data-desk-phase=revealed]) .host-preview{justify-content:flex-start}
 body[data-role=host] #app .host-game:is([data-desk-phase=locked],[data-desk-phase=revealed]) .question-stage{flex:none;min-height:0;height:var(--comparison-question-height);align-content:start}
 body[data-role=host] #app .host-game:is([data-desk-phase=locked],[data-desk-phase=revealed]) .question-text{justify-content:flex-start}
 body[data-role=host] #app .host-game:is([data-desk-phase=locked],[data-desk-phase=revealed]) .answer-key{order:0;flex:none;height:var(--comparison-key-height)}
}

/* Reserve real glyph space while retaining the established reading floors. */
body[data-role=screen] .projector-game .clue-copy[data-compact-words=true]{font-family:var(--category);font-weight:700;text-transform:none}
@media(min-width:900px){
 body[data-role=screen] #app>.projector-game.board-stage:has(>.picking-team){grid-template-rows:auto minmax(0,1fr) 32vh}
 body[data-role=screen] #app>.projector-game>.question-stage .clue-copy,
 body[data-role=screen] #app>.projector-game>.ensemble-result>.question-text>.clue-copy{padding-block:.2em}
 body[data-role=screen] #app>.projector-game>.question-stage:has(>.question-text[data-dense-text=true][data-image-count='0']){grid-template-rows:minmax(0,1fr) auto}
 body[data-role=screen] #app>.projector-game>.question-stage:has(>.question-text[data-dense-text=true][data-image-count='0'])>.question-text{grid-area:1/1}
 body[data-role=screen] #app>.projector-game>.question-stage:has(>.question-text[data-dense-text=true][data-image-count='0'])>.question-meta{position:absolute;left:5vw;bottom:4vh;max-width:22vw;grid-area:auto}
 body[data-role=screen] #app>.projector-game>.question-stage:has(>.question-text[data-dense-text=true][data-image-count='0'])>.question-bottom{grid-area:2/1;padding-left:24vw}
}
@media(min-width:900px){
 body[data-role=screen] .projector-game .question-text[data-dense-text=true] .clue-copy,
 body[data-role=screen] .projector-game .question-text[data-dense-text=true] .clue-copy p{text-transform:none;letter-spacing:-.06em}
}
@media(min-width:900px){
 body[data-role=screen] #app>.projector-game>.question-stage:has(>.question-text[data-dense-text=true][data-image-count='0'])>.question-bottom{gap:2px 16px}
 body[data-role=screen] #app>.projector-game>.question-stage:has(>.question-text[data-dense-text=true][data-image-count='0']) .clock{padding:0;min-width:0}
 body[data-role=screen] #app>.projector-game>.question-stage:has(>.question-text[data-dense-text=true][data-image-count='0']) .clock strong{font-size:max(32px,5vh);line-height:1.2}
 body[data-role=screen] #app>.projector-game>.question-stage:has(>.question-text[data-dense-text=true][data-image-count='0']) .answer-pips i{width:6vh;height:6vh}
 body[data-role=screen] .projector-game .question-text[data-dense-text=true] .clue-copy p+p{margin-top:0}
}

/* Daily Double identity uses a wider footer measure without stealing clue height. */
@media(min-width:900px){
 body[data-role=screen] #app>.projector-game>.question-stage:has(>.question-text[data-dense-text=true][data-image-count='0']):has(.daily-double-banner)>.question-bottom{padding-left:44vw}
 body[data-role=screen] #app>.projector-game>.question-stage:has(>.question-text[data-dense-text=true][data-image-count='0']):has(.daily-double-banner)>.question-meta{width:42vw;max-width:42vw;font-size:clamp(14px,2.2vh,28px);gap:.3vh 1vw}
 body[data-role=screen] #app>.projector-game>.question-stage:has(>.question-text[data-dense-text=true][data-image-count='0']):has(.daily-double-banner)>.question-meta>b{font-size:clamp(24px,3vh,38px);line-height:1.2;padding:0 8px}
 body[data-role=screen] #app>.projector-game>.question-stage:has(>.question-text[data-dense-text=true][data-image-count='0']) .daily-double-banner>strong{font-size:clamp(20px,2.6vh,32px)}
 body[data-role=screen] #app>.projector-game>.question-stage:has(>.question-text[data-dense-text=true][data-image-count='0']) .daily-double-banner>span{font-size:clamp(14px,2vh,24px)}
}
/* Keep the existing value type inside its tiles after the overscan inset. */
@media(min-width:900px){body[data-role=screen] #app>.projector-game.board-stage:has(>.picking-team){grid-template-rows:auto minmax(0,1fr) 32vh}}

/* Archivo Narrow glyph ranges need breathing room above their first line. */
body[data-role=screen] #app>.projector-game>.question-stage .clue-copy{padding:.22em 0}

/* Host desk while teams answer: the clue starts under its category, the clock
   sits on the category line, and the figure gets the card's full width. */
@media(min-width:801px){
 body[data-role=host] #app .host-game:is([data-desk-phase=answering],[data-desk-phase=paused]) .host-preview>.question-stage{grid-template-columns:minmax(0,1fr) auto;gap:10px 28px;padding:18px 28px 22px}
 body[data-role=host] #app .host-game:is([data-desk-phase=answering],[data-desk-phase=paused]) .question-stage>.question-meta{align-self:center}
 body[data-role=host] #app .host-game:is([data-desk-phase=answering],[data-desk-phase=paused]) .question-stage>.question-text{grid-column:1/-1;grid-row:2}
 body[data-role=host] #app .host-game:is([data-desk-phase=answering],[data-desk-phase=paused]) .question-stage>.question-text.figure-page{justify-content:flex-start}
 body[data-role=host] #app .host-game:is([data-desk-phase=answering],[data-desk-phase=paused]) .question-stage>.question-bottom{grid-area:1/2/2/3;flex-direction:column;align-items:stretch;justify-content:center;gap:4px;min-width:150px}
 body[data-role=host] #app .host-game:is([data-desk-phase=answering],[data-desk-phase=paused]) .question-bottom .clock{text-align:right}
 body[data-role=host] #app .host-game:is([data-desk-phase=answering],[data-desk-phase=paused]) .question-bottom .clock strong{font-size:56px;line-height:1.05;padding:0}
}

/* Host Scores: one full-width row per team, name first at reading size. */
body[data-role=host] #app .host-game .podium:not(.winner-stage){justify-content:flex-start;padding:18px 3vw 22px;gap:10px}
body[data-role=host] #app .host-game .podium:not(.winner-stage) h1{font:400 34px/1.1 var(--display);margin:0}
body[data-role=host] #app .host-game .podium:not(.winner-stage) ol{flex:1;min-height:0;display:grid;grid-auto-rows:minmax(0,1fr);gap:8px;margin:0;padding:0}
body[data-role=host] #app .host-game .podium:not(.winner-stage) li,body[data-role=host] #app .host-game .podium:not(.winner-stage) li:is(:first-child,[data-top]){display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:20px;flex:none;min-height:0;max-height:120px;margin:0;padding:0 28px 0 20px;list-style:none;font:700 clamp(24px,4.6vh,48px)/1.1 var(--category);border-left:8px solid var(--team);background:linear-gradient(90deg,color-mix(in srgb,var(--team) 22%,transparent),#ffffff0a 55%);box-shadow:none}
body[data-role=host] #app .host-game .podium:not(.winner-stage) li:before,body[data-role=host] #app .host-game .podium:not(.winner-stage) li:is(:first-child,[data-top]):before{display:none}
body[data-role=host] #app .host-game .podium:not(.winner-stage) li>span{flex:none;font:inherit;line-height:1.35;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body[data-role=host] #app .host-game .podium:not(.winner-stage) li>strong,body[data-role=host] #app .host-game .podium:not(.winner-stage) li:is(:first-child,[data-top])>strong{font:400 clamp(28px,5.2vh,54px)/1 var(--display);color:var(--value)}
@media(max-width:800px){body[data-role=host] #app .host-game .podium:not(.winner-stage) li,body[data-role=host] #app .host-game .podium:not(.winner-stage) li:is(:first-child,[data-top]){font-size:20px;gap:10px;padding-right:10px}body[data-role=host] #app .host-game .podium:not(.winner-stage) li>strong,body[data-role=host] #app .host-game .podium:not(.winner-stage) li:is(:first-child,[data-top])>strong{font-size:26px}}

/* Host messages appear under the header, clear of the action bar. */
body[data-role=host] #toast{bottom:auto;top:78px;font-size:18px;box-shadow:0 8px 24px #0008}

/* Host answer key: one line per expected response, term first. */
body[data-role=host] #app .host-game .key-content .key-lines{display:flex;flex-direction:column;gap:.55em}
body[data-role=host] #app .host-game .key-content .key-line{margin:0;padding-left:.7em;border-left:3px solid var(--accent);font-weight:500;color:#dce6ff;text-align:left}
body[data-role=host] #app .host-game .key-content .key-term{font-weight:800;color:#fff}
body[data-role=host] #app .host-game .key-content .key-term:after{content:'';display:block}
body[data-role=host] #app .host-game .key-content .key-letter{display:inline-block;min-width:1.5em;margin-right:.35em;padding:0 .3em;border-radius:3px;background:var(--accent);color:#0a1a44;font-weight:800;text-align:center}
body[data-role=host] #app .host-game .key-content .key-note{font-size:.86em}
@media(max-width:800px){body[data-role=host] #app .host-game .key-content .key-lines{gap:.2em;font-size:.88em}body[data-role=host] #app .host-game .key-content .key-line{line-height:1.15;padding-left:.5em}}
