@font-face{font-family:ChakraPetch;src:url('/fonts/chakra-petch-regular.ttf') format('truetype');font-weight:400;font-display:swap}
@font-face{font-family:ChakraPetch;src:url('/fonts/chakra-petch-medium.ttf') format('truetype');font-weight:500;font-display:swap}
@font-face{font-family:ChakraPetch;src:url('/fonts/chakra-petch-semibold.ttf') format('truetype');font-weight:600 700;font-display:swap}
@font-face{font-family:Inter;src:url('/fonts/inter-regular.woff2') format('woff2');font-style:normal;font-weight:400;font-display:swap}
@font-face{font-family:Plex;src:url('/fonts/ibm-plex-sans.woff2') format('woff2');font-display:swap}
:root{color-scheme:dark;--bg:#07090e;--panel:#0e1420;--text:#e9edf4;--dim:#929db1;--accent:#9cb7e8;--line:#252e40;--ok:#84bcae;--danger:#e2948b;font-family:ChakraPetch,Arial,sans-serif;color:var(--text);background:var(--bg);font-synthesis:none}
*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,input,select,summary{-webkit-tap-highlight-color:transparent}button,select,summary{cursor:pointer}button{border:1px solid var(--line);background:transparent;color:var(--text);padding:12px 18px;min-height:44px;border-radius:0}button:hover:not(:disabled){border-color:var(--accent);color:var(--accent)}button:disabled{cursor:default;opacity:.45}button.primary{background:var(--accent);border-color:var(--accent);color:#101a2c}button.primary:hover:not(:disabled){background:#b9cced;color:#101a2c}button.quiet{padding:10px 0;border-color:transparent;min-height:44px;text-align:left}button.danger{color:var(--danger)}:focus-visible{outline:2px solid var(--accent);outline-offset:5px}a{color:var(--dim);text-underline-offset:5px}a:hover{color:var(--text)}h1,h2,p,blockquote{margin:0}p{line-height:1.6}.ui-label{font-family:ChakraPetch,Arial,sans-serif;font-weight:500}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}[hidden]{display:none!important}
.stage{position:relative;display:flex;flex-direction:column;min-height:640px;height:76svh;max-height:1040px;padding:28px 4.5%;isolation:isolate;overflow:clip}.stage-header,.stage-footer{display:flex;align-items:center;justify-content:space-between;gap:24px;flex-wrap:wrap}.brand{font-size:17px;font-weight:600;letter-spacing:-.02em}.stage-mode{font-size:13px;color:var(--dim)}.stage-body{flex:1;display:flex;align-items:center;justify-content:center;padding:50px 0}.stage-body.lobby{flex-direction:column;gap:16px}.title-heading{width:min(100%,1080px);line-height:1}.title-canvas{width:100%;height:auto;display:block;image-rendering:pixelated}.lobby-question{font-size:clamp(18px,2vw,25px);color:var(--dim);margin-top:-8px}.stage-footer{font-size:11px;letter-spacing:.06em}.phase-label{color:var(--accent);font-size:13px}.round-number{color:var(--dim);font-size:13px}
.question-content{width:min(100%,1000px)}.question-kicker{color:var(--dim);font-size:13px;margin-bottom:24px}.quote{font-family:Plex,Arial,sans-serif;font-size:clamp(28px,3.9vw,61px);line-height:1.22;letter-spacing:-.025em;max-width:950px;text-wrap:pretty;overflow-wrap:anywhere}.attribution{min-height:47px;font-size:23px;line-height:1.5;padding-top:10px;color:var(--accent)}.candidates{margin:26px 0 0;padding:0;list-style:none;display:flex;gap:38px;flex-wrap:wrap}.candidate{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:8px 12px;flex:1;min-width:180px;max-width:100%;overflow-wrap:anywhere}.command{font-size:14px;letter-spacing:0;color:var(--dim);white-space:nowrap}.candidate-name{font-size:24px;line-height:1.3}.candidate-note{grid-column:1/-1;min-height:23px;font-size:14px;color:var(--dim)}.candidate.correct .candidate-name,.candidate.correct .candidate-note{color:var(--accent)}.round-result{min-height:96px;margin-top:25px}.voting-hint{font-size:16px;color:var(--dim)}.result-line{font-size:20px}.context{color:var(--dim);font-size:16px;margin-top:8px;max-width:780px;overflow-wrap:anywhere}.reveal-light{position:absolute;left:0;top:0;width:5px;height:5px;background:var(--accent);pointer-events:none}.interlude{align-items:flex-start;flex-direction:column;max-width:1000px;width:100%;margin:auto;gap:20px}.interlude h1{font-size:clamp(32px,5vw,64px);font-weight:500}.overline{color:var(--accent);font-size:12px}
.desk{max-width:1320px;margin:auto;border-top:1px solid var(--line);padding:26px 4.5% 30px}.desk-header{display:flex;justify-content:space-between;align-items:center;gap:20px;flex-wrap:wrap;margin-bottom:24px}.desk h2{font-size:17px;font-weight:500}.desk h2 span{font-size:13px;color:var(--dim);margin-left:12px}.desk nav{display:flex;gap:24px;flex-wrap:wrap;font-size:14px}.control-row{display:flex;align-items:center;flex-wrap:wrap;gap:14px 20px}.control-copy{flex:1;min-width:180px}.control-copy p{font-size:15px;color:var(--dim)}.control-copy h3{font-size:20px;font-weight:500;margin:0 0 5px}.choice-buttons{display:flex;gap:12px;flex-wrap:wrap}.choice-buttons button{min-width:112px}.control-subrow{margin-top:20px;display:flex;gap:16px;align-items:center;flex-wrap:wrap}.help{color:var(--dim);font-size:15px;max-width:620px}.error{color:var(--danger);margin:16px 0}.success{color:var(--ok)}details{margin-top:26px}summary{font-size:14px;color:var(--dim);padding:12px 0;width:fit-content}.setup-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:28px;margin-top:15px}.setup-grid>div{display:flex;flex-direction:column;align-items:flex-start;gap:8px}label,.file-label{display:block;font-size:14px;margin-bottom:5px}select,input[type=text]{border:1px solid var(--line);padding:10px 12px;color:var(--text);background:var(--bg);min-height:44px;max-width:100%;border-radius:0}input[type=file]{font-size:13px;max-width:100%;padding:8px 0}input::file-selector-button{font:inherit;padding:8px;background:var(--panel);color:var(--text);border:1px solid var(--line);margin-right:8px}.practice-votes{margin-top:22px;padding-top:18px;display:flex;gap:12px;align-items:center;flex-wrap:wrap}.practice-votes label{margin:0}.feedback{font-size:14px;color:var(--dim);min-height:23px}.display-page .stage{height:100svh;max-height:none;min-height:560px}.voter{max-width:720px;margin:0 auto;padding:40px 24px}.voter .overline{margin-top:64px}.voter h1{font-size:46px;font-weight:500;margin:15px 0}.voter label{margin-top:28px}.voter blockquote{font-size:28px;line-height:1.3;margin:34px 0 24px;overflow-wrap:anywhere}.voter #vote-status{margin-top:28px;color:var(--dim)}.voter .vote-choice{display:flex;width:100%;align-items:center;gap:20px;margin:10px 0;text-align:left}.voter .vote-choice span{font-size:20px}.voter .vote-choice code{color:var(--accent)}
.lobby-start{margin-top:20px}.stage[data-phase=read],.stage[data-phase=open],.stage[data-phase=lastcall],.stage[data-phase=closed],.stage[data-phase=reveal]{height:auto;min-height:max(640px,76svh);max-height:none}.display-page .stage[data-phase=read],.display-page .stage[data-phase=open],.display-page .stage[data-phase=lastcall],.display-page .stage[data-phase=closed],.display-page .stage[data-phase=reveal]{min-height:100svh}
@media(min-width:1600px){.stage{padding-left:7%;padding-right:7%}}
@media(max-width:650px){.stage{height:auto;min-height:570px;padding:22px 22px 26px}.stage-header{gap:10px}.stage-mode{font-size:11px}.brand{font-size:15px}.stage-body{padding:54px 0 28px}.stage-body.lobby{padding:100px 0 110px}.lobby-question{font-size:17px;margin-top:0}.candidates{display:grid;grid-template-columns:1fr;gap:15px;margin-top:20px}.candidate{min-width:0;grid-template-columns:86px 1fr;gap:2px 12px}.candidate-name{font-size:22px}.candidate-note{grid-column:2;min-height:0}.candidate-note:empty{display:none}.attribution{font-size:20px;min-height:44px}.question-kicker{margin-bottom:18px}.round-result{min-height:86px;margin-top:24px}.voting-hint{font-size:14px}.desk{padding:24px 22px}.desk nav{gap:14px;font-size:13px}.desk h2 span{display:block;margin:4px 0 0}.control-row{align-items:flex-start}.control-copy{flex-basis:100%}.choice-buttons{gap:8px}.choice-buttons button{min-width:86px}.display-page .stage{min-height:100svh;height:auto}.stage-footer{font-size:10px}.context{font-size:15px}}
@media(prefers-reduced-motion:reduce){.reveal-light{display:none}}
.neural-scene{position:absolute;inset:0;width:100%;height:100%;z-index:-1;pointer-events:none;opacity:.55;mask-image:radial-gradient(ellipse 60% 53% at 50% 43%,transparent 18%,#000 85%)}
.lobby-question{font-family:ChakraPetch,Arial,sans-serif;font-size:clamp(18px,1.8vw,24px);font-weight:500;letter-spacing:0;color:var(--dim);margin-top:4px}

.connect-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:0 0 24px}.connect-row .help{flex-basis:100%;font-size:13px}.mode-select{display:flex;align-items:center;gap:12px;margin-top:22px;flex-wrap:wrap}.mode-select label{margin:0}.statement-list{list-style:none;padding:0;margin:22px 0;display:grid;gap:15px}.statement-list li{font-size:clamp(18px,2.1vw,29px);line-height:1.4}.statement-list .command{display:inline-block;min-width:40px}.text-guess{display:flex;gap:10px;flex-wrap:wrap}.mode-score{font-size:13px;color:var(--dim)}.source-lines{margin-top:14px;display:grid;gap:8px}.source-lines p{font-size:15px;color:var(--dim)}.connect-row input{width:240px}.lobby-start:disabled{opacity:.5}.neural-scene{opacity:.64}

/* The host operates the round; the separate 16:9 view is the broadcast. */
.host-header{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:24px 32px;border-bottom:1px solid var(--line)}
.host-header h1{font-size:24px;font-weight:600;letter-spacing:-.04em}.host-header h1 span{font-size:13px;font-weight:400;letter-spacing:0;color:var(--dim);margin-left:18px}.host-header #connection-status{font-size:14px;color:var(--accent)}
.host-layout{display:grid;grid-template-columns:340px minmax(0,1fr);gap:36px;padding:32px;max-width:1920px;margin:auto;align-items:start}
.host-page .desk{width:100%;max-width:none;border:0;padding:0;margin:0}.host-page .connect-row{display:block;margin-bottom:30px}.channel-actions{display:flex;gap:10px;flex-wrap:wrap}.host-page .connect-row input{width:100%}.host-page .connect-row .help{font-size:14px;margin-top:12px}.host-page .control-row{display:block}.host-page .control-copy{margin-bottom:20px}.host-page .control-copy h3{font-size:26px;line-height:1.2}.host-page .control-copy p{font-size:16px}.host-page .mode-select{margin:0 0 18px}.host-page .mode-select select{flex:1}.host-page #controls>button.primary{width:100%;font-size:18px}.host-page .choice-buttons{display:grid;gap:8px}.host-page .choice-buttons button{text-align:left;overflow-wrap:anywhere}.host-page .control-row>.primary{width:100%;margin:0 0 14px}.host-page .text-guess{margin-bottom:16px}.round-guide{font-size:14px;line-height:1.5;color:var(--dim);margin:16px 0}.host-round-status{color:var(--accent);font-size:16px;margin:20px 0 8px;font-variant-numeric:tabular-nums}.host-page details{border-top:1px solid var(--line);padding-top:10px;margin-top:24px}.host-page .setup-grid{display:flex;flex-direction:column;gap:24px}.host-page .practice-votes{font-size:14px}.host-page .error{margin-top:0}.host-page .desk .help{font-size:14px}
.broadcast{min-width:0}.broadcast-header{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:18px}.broadcast-header h2{font-size:18px;font-weight:500;margin:0}.broadcast-header .help{font-size:14px}.broadcast-header a{font-size:15px;color:var(--accent);white-space:nowrap}.preview-frame{position:relative;aspect-ratio:16/9;overflow:hidden;background:var(--bg);border:1px solid var(--line)}.preview-frame iframe{display:block;position:absolute;top:0;left:0;width:1920px;height:1080px;border:0;transform-origin:0 0}.broadcast-help{display:flex;align-items:center;gap:16px;flex-wrap:wrap;color:var(--dim);font-size:14px;margin-top:14px}.broadcast-help p{flex:1;min-width:240px}.broadcast-help button{color:var(--accent);font-size:14px}.broadcast-help #copy-status{color:var(--ok)}

.display-page .stage{padding:40px 6%;min-height:100svh}.display-page .stage-header{flex-wrap:nowrap;align-items:start;min-height:88px}.display-page .brand{display:none}.display-page .stage-mode{font-size:22px}.display-page .stage-body{padding:32px 0}.display-page .question-content{width:min(100%,1450px)}.display-page .question-kicker{font-size:26px;margin-bottom:28px;color:var(--accent)}.display-page .quote{font-size:clamp(32px,3.65vw,70px);line-height:1.2;max-width:1400px}.display-page .attribution{font-size:36px;min-height:62px}.display-page .candidates{gap:28px 48px;margin-top:38px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}.display-page .candidate{min-width:0;align-items:start;grid-template-columns:72px minmax(0,1fr);gap:8px 18px}.display-page .command{font-size:64px;line-height:1.1;font-weight:600;color:var(--accent)}.display-page .candidate-name{font-size:42px;line-height:1.25;padding-top:2px}.display-page .candidate-note{grid-column:2;font-size:22px;min-height:28px}.display-page .candidate.correct .command{color:var(--ok)}.display-page .candidate.correct .candidate-name{color:var(--ok)}.display-page .round-result{min-height:96px;margin-top:36px}.display-page .voting-hint,.display-page .result-line{font-size:28px;color:var(--text)}.display-page .vote-count{font-size:22px;color:var(--dim);margin-top:8px}.display-page .context{font-size:22px;max-width:1200px}.display-page .phase-label,.display-page .round-number{font-size:20px}.display-page .stage-footer{min-height:32px}.round-clock{display:flex;align-items:center;gap:24px;color:var(--accent);flex-shrink:0}.clock-label{font-size:24px}.clock-digits{font-size:64px;font-weight:600;line-height:1;font-variant-numeric:tabular-nums;min-width:88px;text-align:right}.clock-track{position:absolute;bottom:0;left:0;right:0;height:4px;background:var(--line)}.clock-track span{display:block;width:100%;height:100%;background:var(--accent);transform-origin:left}.stage[data-phase=lastcall] .round-clock{color:var(--text)}.stage[data-phase=closed] .candidates{opacity:.55}.display-page .statement-list{gap:24px;margin:20px 0}.display-page .statement-list li{font-family:Plex,Arial,sans-serif;font-size:32px;line-height:1.3;overflow-wrap:anywhere}.display-page .stage[data-mode=forgery] .statement-list li{display:grid;grid-template-columns:72px minmax(0,1fr);gap:18px}.display-page .statement-list .command{font-family:ChakraPetch,Arial,sans-serif}.display-page .statement-list .correct{color:var(--ok)}.display-page .source-lines{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 28px}.display-page .source-lines p{font-size:20px}.display-page .stage[data-mode=forgery] .attribution:empty,.display-page .stage[data-mode=wanted] .attribution:empty{display:none}.display-page .stage[data-mode=forgery] .round-result{margin-top:24px}
@media(max-width:1050px){.host-layout{grid-template-columns:280px minmax(0,1fr);padding:24px;gap:24px}.broadcast-header{align-items:start;flex-direction:column;gap:8px}.host-header{padding:20px 24px}}
@media(max-width:760px){.host-header{align-items:start}.host-header h1 span{display:block;margin:6px 0 0}.host-layout{display:flex;flex-direction:column;padding:24px 20px;gap:32px}.host-page .desk{max-width:none}.broadcast{width:100%}.broadcast-header{flex-direction:row;align-items:center}.host-header #connection-status{font-size:12px;max-width:150px;text-align:right}.host-page .choice-buttons{grid-template-columns:repeat(auto-fit,minmax(130px,1fr))}}
@media(max-width:900px){.display-page .stage{padding:24px 5%}.display-page .stage-header{min-height:68px;gap:12px}.display-page .stage-mode{font-size:16px}.round-clock{gap:12px}.clock-label{font-size:17px}.clock-digits{font-size:36px;min-width:60px}.display-page .candidates{gap:20px;grid-template-columns:repeat(3,minmax(0,1fr))}.display-page .candidate{grid-template-columns:1fr;gap:10px}.display-page .command{font-size:34px}.display-page .candidate-name{font-size:27px}.display-page .candidate-note{grid-column:1;font-size:17px}.display-page .question-kicker{font-size:22px}.display-page .voting-hint,.display-page .result-line{font-size:22px}.display-page .vote-count{font-size:18px}.display-page .statement-list li{font-size:24px}.display-page .phase-label,.display-page .round-number{font-size:16px}}
@media(max-width:500px){.display-page .stage-header{flex-wrap:wrap}.round-clock{width:100%;justify-content:space-between}.display-page .stage-body{padding:32px 0}.display-page .candidates{grid-template-columns:1fr;gap:20px}.display-page .candidate{grid-template-columns:60px minmax(0,1fr);gap:6px 12px}.display-page .candidate-note{grid-column:2}.display-page .candidate-name{font-size:26px}.display-page .attribution{font-size:26px}.display-page .round-result{margin-top:28px}.display-page .source-lines{grid-template-columns:1fr}.display-page .stage[data-mode=forgery] .statement-list li{grid-template-columns:46px minmax(0,1fr);gap:12px}}

@media(min-width:501px){.display-page .stage[data-phase]{height:100svh;min-height:100svh;max-height:100svh}.display-page .stage-body{min-height:0}.display-page .question-content{flex-shrink:0}}
