:root{color:#edf0e9;font-synthesis:none;--muted:#a6afa4;--line:#303a30;--accent:#e4f29e;--panel:#1b221c;background:#101411;font-family:Segoe UI,system-ui,sans-serif;font-size:16px}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,.button{color:#edf0e9;cursor:pointer;background:#262f27;border:1px solid #3b473b;border-radius:7px;justify-content:center;align-items:center;gap:8px;min-height:42px;padding:10px 14px;text-decoration:none;display:inline-flex}button:hover,.button:hover{background:#354035;border-color:#69775f}button:disabled{opacity:.35;cursor:not-allowed}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline-offset:3px;outline:3px solid #e4f29e}.primary{background:var(--accent);color:#1b2410;border-color:var(--accent);font-weight:700}.primary:hover{background:#f1ffc0}.correct{color:#e8ffe2;background:#365339;border-color:#68836a}.wrong{color:#ffd9d5;background:#4e2b29;border-color:#85524c}h1,h2,h3,p{margin-top:0}h1{letter-spacing:-.045em;margin-bottom:12px;font-size:clamp(30px,3.4vw,48px);font-weight:650;line-height:1.05}h2{letter-spacing:-.025em;margin-bottom:10px;font-size:23px}h3{margin-bottom:9px;font-size:19px}p{line-height:1.6}.muted,.lede,small{color:var(--muted)}small{font-size:12px}.eyebrow{letter-spacing:.12em;color:#c8d2bd;margin-bottom:12px;font-size:12px;font-weight:700}.app-shell{grid-template-columns:210px minmax(0,1fr);min-height:100dvh;display:grid}.sidebar{border-right:1px solid var(--line);background:#151b16;flex-direction:column;height:100dvh;padding:32px 20px;display:flex;position:sticky;top:0}.brand{letter-spacing:.06em;color:var(--accent);align-items:center;gap:13px;margin-bottom:64px;font-size:18px;line-height:1.05;display:flex}.brand b{letter-spacing:-.04em;font-size:34px}.sidebar-label{letter-spacing:.12em;color:#8f9b8c;margin:0 12px 14px;font-size:11px}.nav{color:#aab4a6;background:0 0;border:0;justify-content:flex-start;margin-bottom:9px;padding:13px 12px;font-size:14px}.nav.active{color:var(--accent);background:#2d3925}.sidebar-bottom{color:var(--muted);margin-top:auto;font-size:13px}.sidebar-bottom p{margin-top:20px}.status{color:#e5c087;border:1px solid #4c5145;border-radius:5px;padding:10px;display:block}.status.ok{color:var(--accent);border-color:#647443}.workspace{width:100%;min-width:0;max-width:1800px;margin:auto;padding:0 36px 40px}.topbar{border-bottom:1px solid var(--line);letter-spacing:.045em;justify-content:space-between;align-items:center;gap:16px;min-height:90px;margin-bottom:32px;font-size:12px;display:flex}.toolbar{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.toolbar button{font-size:13px}.mode{color:var(--accent);white-space:nowrap;border:1px solid #6d744c;border-radius:4px;padding:6px 9px;font-size:11px}.section-head{justify-content:space-between;align-items:center;gap:20px;margin-bottom:25px;display:flex}.section-head p:last-child{margin-bottom:0}.turn-count{color:var(--muted);white-space:nowrap;font-size:13px}.turn-count b{color:#edf0e9;padding:0 5px;font-size:28px}.control-grid{grid-template-columns:minmax(0,1fr) 300px;gap:26px;display:grid}.show-column{min-width:0}.monitor-label{letter-spacing:.08em;color:#aab6a3;justify-content:space-between;padding:0 0 10px;font-size:11px;display:flex}.monitor{aspect-ratio:16/9;border:1px solid #4c5848;border-radius:10px;overflow:hidden;box-shadow:0 12px 50px #0003;container-type:inline-size}.panel{background:var(--panel);border:1px solid var(--line);border-radius:10px;padding:23px}.transport{justify-content:space-between;align-items:center;gap:18px;margin-top:20px;display:flex}.transport h2{margin-bottom:13px;font-size:27px}.difficulty{text-transform:uppercase;letter-spacing:.06em;color:#d7e6b0;font-size:12px;display:inline-block}.difficulty.medium{color:#efd497}.difficulty.hard{color:#eda997}.phase-label{letter-spacing:.1em;color:var(--muted);text-align:right;margin-bottom:9px;font-size:11px}.transport-main{min-width:120px}.go{min-width:132px;min-height:60px;font-size:21px}.judgment{flex-wrap:wrap;gap:8px;display:flex}.secondary-actions{margin-top:14px}.secondary-actions button{background:0 0;font-size:12px}.host-note{margin-top:30px;padding:0 4px}.host-note p:last-child{color:#d8dfce;font-size:20px;font-style:italic}.right-rail{flex-direction:column;gap:20px;display:flex}.right-rail .panel{padding:19px}.scoreboard .section-head{align-items:flex-start;gap:7px;margin-bottom:18px}.scoreboard h2{margin:0;font-size:19px}.scoreboard small{font-size:9px;line-height:1.5}.score-row{border-radius:5px;grid-template-columns:20px 1fr 35px;align-items:center;gap:10px;margin:2px -7px;padding:14px 8px;font-size:14px;display:grid}.score-row.current{background:#303c29}.score-row small{color:#f0c080;display:block}.score-row strong{text-align:right;font-size:23px;font-weight:500}.rank{color:#89977d;font-size:12px}.answer-key{background:#22291b;border:1px dashed #636b44;border-radius:8px;padding:20px}.answer-key .eyebrow{color:#dce69b;font-size:10px}.answer-key h3{font-size:20px}.answer-key p{color:#b4bba6;margin-bottom:12px;font-size:13px}.answer{color:#f1f6d4;margin:17px 0;font-size:22px}.right-rail .panel p{color:var(--muted);font-size:13px}.right-rail .panel button{width:100%;margin-top:7px;font-size:12px}.event-log{border-top:1px solid var(--line);color:#b2bba7;margin-top:25px;padding-top:20px;font-size:13px}.event-log summary{cursor:pointer}.event-log p{margin:10px 0}.text-button{color:var(--muted);background:0 0;border:0;margin-top:20px;font-size:13px}.notice{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;background:#303822;border:1px solid #6b7846;border-radius:8px;margin:16px 0;padding:16px}.notice pre{font:inherit;white-space:pre-wrap;margin:0 0 10px}.notice.error,.error{color:#ffd7ce}.notice.error{background:#3b2420;border-color:#7a4a3c}.setup{padding:20px 0}.setup h1{font-size:54px}.lede{font-size:18px}.setup-columns{grid-template-columns:1fr 1fr;gap:28px;max-width:1100px;margin-top:35px;display:grid}.setup .panel p{color:var(--muted);font-size:14px}.team-input{align-items:center;gap:15px;margin-bottom:13px;display:flex}.team-input span{color:#c5d99f;min-width:22px;font-size:14px}.team-input input{width:100%}input,select,textarea{color:#edf0e9;background:#101811;border:1px solid #46513f;border-radius:6px;width:100%;min-width:0;padding:11px 12px}textarea{resize:vertical;line-height:1.5}label{color:#bbc7b2;margin-bottom:17px;font-size:14px;display:block}label>input,label>select,label>textarea{margin-top:7px}.team-input input{margin:0}.wide{width:100%;margin-top:16px}.run-order{padding:20px 0}.run-order>div{align-items:center;gap:18px;padding:14px 5px;font-size:14px;display:flex}.run-order b{color:var(--accent);font-size:24px}.loading{flex-direction:column;justify-content:center;align-items:center;gap:20px;min-height:100dvh;display:flex}.rubric{min-width:220px;font-size:13px}.rubric fieldset{border:1px solid #53613e;border-radius:6px;margin:5px 0 10px;padding:10px}.rubric label{align-items:center;gap:9px;margin:8px 0;font-size:13px;display:flex}.rubric input{width:17px;height:17px;accent-color:var(--accent);margin:0}.rubric legend{color:#e4f29e}.winner{color:var(--accent)}.editor-grid{grid-template-columns:240px minmax(0,1fr);gap:22px;margin-top:25px;display:grid}.question-list{max-height:75dvh;padding-right:5px;overflow:auto}.question-list button{text-align:left;overflow-wrap:anywhere;width:100%;margin-bottom:6px;font-size:12px;display:block}.question-list small{margin-bottom:5px;font-size:10px;display:block}.question-list span{font-size:14px;display:block}.question-list .selected{border-color:var(--accent);color:var(--accent)}.form-grid{grid-template-columns:1fr 1fr;gap:0 16px;display:grid}.editor .toolbar{margin:15px 0}.editor p{color:var(--muted)}.stage{color:#f3f5df;background:#182015;flex-direction:column;height:100%;min-height:0;display:flex;position:relative;overflow:hidden;container-type:inline-size}.stage:before{content:"";pointer-events:none;background:radial-gradient(at 50% 20%,#58623844,#0000 65%);position:absolute;inset:0}.stage-top{letter-spacing:.13em;justify-content:space-between;align-items:center;gap:3cqw;padding:3cqw 4cqw 0;font-size:1.15cqw;display:flex;position:relative}.stage-brand{letter-spacing:.06em;font-size:1.75cqw}.stage-brand b{color:#e7f4a0}.stage-main{text-align:center;flex-direction:column;flex:1;justify-content:center;align-items:center;min-height:0;padding:2cqw 6cqw;display:flex;position:relative}.stage-kicker{color:#d9e998;letter-spacing:.24em;margin:1cqw 0 2.5cqw;font-size:1.4cqw}.stage h1{letter-spacing:-.035em;text-wrap:balance;max-width:100%;margin:0 0 2cqw;font-size:6.5cqw;font-weight:650;line-height:1.08}.stage h1.countdown{font-size:16cqw;animation:.8s ease-in-out infinite pulse}.stage-sub{color:#c6cfb0;margin:0;font-size:2cqw}.team-ribbon{color:#f0f5d9;margin:3cqw 0 0;font-size:2.25cqw}.team-ribbon span{text-transform:uppercase;letter-spacing:.08em;color:#aebd96;margin-left:1cqw;font-size:1.35cqw}.stage-scores{background:#0b120b66;border-top:1px solid #d5e6a019;justify-content:center;gap:4cqw;padding:2cqw 4cqw;display:flex;position:relative}.stage-scores>div{text-align:center;flex-direction:column;gap:.25cqw;min-width:10cqw;display:flex}.stage-scores small{color:#bbc6a8;font-size:1.2cqw}.stage-scores strong{color:#e7f3a6;font-size:2.6cqw;font-weight:500}.stage-clock{font-variant-numeric:tabular-nums;color:#dfe9af;font-size:3cqw;position:absolute;bottom:2cqw;right:3cqw}.stage-clock small{letter-spacing:.08em;font-size:.7cqw;display:block}.lyric{color:#e9f6ba;margin:.4cqw 0;font-size:3.2cqw;line-height:1.4}.phase-champion h1{color:#e7f4a0;font-size:9cqw}.audience-shell{background:#182015;height:100dvh}.audience-shell .stage,.embedded-stage .stage{height:100dvh}.audience-gate{z-index:3;text-align:center;background:#0c120df2;flex-direction:column;justify-content:center;align-items:center;padding:30px;display:flex;position:fixed;inset:0}.audience-gate p{max-width:600px;color:var(--muted)}.fullscreen{opacity:.2;font-size:12px;position:fixed;bottom:12px;right:15px}.fullscreen:hover{opacity:1}.duplicate-controls{z-index:2;background:#101811e8;flex-wrap:wrap;justify-content:center;align-items:center;gap:12px;padding:12px;font-size:12px;display:flex;position:fixed;bottom:0;left:0;right:0}.duplicate-controls .rubric,.duplicate-controls .rubric fieldset{gap:10px;display:flex}.duplicate-controls span{max-width:400px}.duplicate-controls button{font-size:12px}@keyframes pulse{50%{opacity:.5;transform:scale(.97)}}@media (prefers-reduced-motion:reduce){*,:before,:after{transition:none!important;animation:none!important}}@media (min-width:1600px){.workspace{padding-left:55px;padding-right:55px}.control-grid{grid-template-columns:minmax(0,1fr) 340px}}@media (max-width:1150px){.app-shell{grid-template-columns:170px minmax(0,1fr)}.sidebar{padding:25px 12px}.workspace{padding-left:20px;padding-right:20px}.control-grid{grid-template-columns:minmax(0,1fr)}.right-rail{grid-template-columns:1fr 1fr;display:grid}.right-rail>section:last-child{grid-column:1/-1}.topbar{flex-wrap:wrap;padding:15px 0}.setup-columns{grid-template-columns:1fr}}@media (max-width:700px){.app-shell{display:block}.sidebar{flex-flow:wrap;align-items:center;gap:8px;height:auto;padding:15px;position:relative}.brand{margin:0 15px 0 0;font-size:11px}.brand b{font-size:19px}.sidebar-label,.sidebar-bottom{display:none}.nav{margin:0;padding:9px;font-size:12px}.nav svg{display:none}.workspace{padding:0 15px 25px}.topbar{margin-bottom:24px}.topbar>span{display:none}.section-head{align-items:flex-start}.right-rail{grid-template-columns:1fr}.right-rail>section:last-child{grid-column:auto}.transport{flex-wrap:wrap;padding:18px}.transport-main{width:100%}.phase-label{text-align:left}.editor-grid{grid-template-columns:1fr}.question-list{max-height:180px}.form-grid{grid-template-columns:1fr}.setup h1{font-size:42px}.stage-top{font-size:1.45cqw}.stage-scores small{font-size:1.7cqw}.stage h1{font-size:7.5cqw}.audience-shell{min-width:0}}.duplicate-controls{z-index:4}.round-jump{border:1px solid var(--line);background:var(--panel);border-radius:8px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-top:16px;padding:16px;display:flex}.round-jump>span{color:var(--accent);font-size:14px}.round-jump small{margin-top:4px;font-size:12px;display:block}.duplicate-controls .round-jump{margin:0;padding:4px 8px}.transport-main>.skip-music{margin-bottom:8px;margin-right:8px}.karaoke{flex-direction:column;justify-content:center;gap:1.4cqw;width:100%;min-height:13cqw;display:flex}.karaoke-line{color:#c5c9c1;flex-wrap:wrap;justify-content:center;gap:.22em;margin:0;font-size:4.2cqw;font-weight:700;line-height:1.35;display:flex}.karaoke-word{white-space:nowrap;position:relative}.karaoke-fill{color:#f4ec65;clip-path:inset(0 100% 0 0);text-shadow:0 0 12px #f4ec6522;transition:clip-path 90ms linear;position:absolute;inset:0}.karaoke-next{color:#bbc4ad;min-height:3cqw;margin:0;font-size:2.1cqw;line-height:1.4}.stage h1.performance-command{letter-spacing:0;color:#e7f4a0;margin-bottom:2cqw;font-size:2.9cqw}.stage:has(.karaoke) .stage-kicker{margin-bottom:1.2cqw}.word-timing-editor{border-top:1px solid var(--line);margin-top:25px;padding-top:22px}.word-timing-editor audio{width:100%;margin:8px 0}.timing-preview{text-align:center;background:#101811;border-radius:8px;margin-bottom:20px;padding:20px;container-type:inline-size}.word-timing-scroll{max-height:450px;margin:15px 0;overflow:auto}.word-timing-scroll fieldset{border:1px solid var(--line);border-radius:6px;margin:0 0 15px;padding:12px}.word-timing-scroll legend{color:var(--muted);font-size:13px}.word-timing-row{grid-template-columns:minmax(100px,2fr) minmax(75px,1fr) minmax(75px,1fr) auto auto;align-items:end;gap:8px;margin-bottom:10px;display:grid}.word-timing-row label{margin:0}.word-timing-row button{min-height:44px;font-size:12px}.timing-reviewed{align-items:center;gap:10px;margin-top:20px;display:flex}.timing-reviewed input{flex-shrink:0;width:18px;height:18px;margin:0}@media (max-width:900px){.word-timing-row{grid-template-columns:2fr 1fr 1fr}.word-timing-row button{grid-row:2}}.lyric-preview{text-align:center;width:100%;margin:1cqw 0 2cqw}.lyric-preview-label{letter-spacing:.14em;color:#bbc4ad;margin:0 0 .7cqw;font-size:1.1cqw}.lyric-preview-first{color:#edf0e9;margin:0 0 .6cqw;font-size:3.4cqw;font-weight:650;line-height:1.3}.lyric-preview-next{color:#bbc4ad;margin:0;font-size:2.4cqw;line-height:1.3}.stage:has(.lyric-preview) h1{margin-bottom:1cqw;font-size:4cqw}.stage:has(.lyric-preview) h1.countdown{font-size:9cqw}.stage:has(.lyric-preview) .stage-kicker{margin-bottom:1cqw}.restart-dialog{background:var(--panel);color:#edf0e9;border:1px solid #85524c;border-radius:12px;width:min(560px,100vw - 32px);max-height:calc(100dvh - 40px);padding:28px;overflow:auto;box-shadow:0 20px 80px #0008}.restart-dialog::backdrop{background:#080c0be8}.restart-dialog p{font-size:14px}.restart-dialog .restart-ack{align-items:center;gap:12px;margin-top:24px;display:flex}.restart-ack input{flex-shrink:0;width:20px;height:20px;margin:0}.restart-dialog .toolbar{justify-content:flex-end;margin-top:24px}.game-theme{isolation:isolate;--panel:#12234ceb;--line:#51658d;--muted:#c0cce2;background:#1e3161;min-height:100dvh;position:relative}.game-content{z-index:1;position:relative}.game-theme .sidebar{background:#0f1d41d9}.game-theme .panel,.game-theme .setup-card{background:var(--panel)}.game-theme .topbar{background:0 0}.game-theme .stage,.game-theme .audience-shell,.game-theme .embedded-stage{background:#1e3161}.game-theme .stage{isolation:isolate}.game-theme .stage:before{z-index:0;background:radial-gradient(at 50% 25%,#95b8ff18,#0000 70%)}.star-field{z-index:0;pointer-events:none;opacity:.72;width:100%;height:100%;position:absolute;inset:0}.star-field-ambient{opacity:.5;position:fixed}.game-theme .stage-top,.game-theme .stage-main,.game-theme .stage-scores{z-index:1}.game-theme .stage h1,.game-theme .karaoke-line{text-shadow:0 2px 14px #0a153bcc}.game-theme .stage-scores{background:#0a173ac7}.game-theme .stage-sub,.game-theme .stage-scores small,.game-theme .karaoke-next,.game-theme .lyric-preview-next{color:#d0dcf2}.game-theme .audience-gate{background:#162854f5}.game-theme .duplicate-controls{background:#0e1d41f2}.restored-notice{justify-content:space-between;align-items:center;gap:16px;display:flex}.restored-notice p{margin:6px 0 0;font-size:13px}.restored-notice strong{color:#eff4ff}.game-theme .notice{background:#102148f0}
