/* A resolution-independent 16:9 stage. Container units scale type, controls
   and the live canvas together at 1280, 1920, 3840 pixels or beyond. */
body[data-screen="game"][data-display="projector"]{overflow:hidden;display:grid;place-items:center;min-height:100dvh}
body[data-screen="game"][data-display="projector"] #showScreen{container-type:size;width:min(100vw,177.777778dvh);height:min(100dvh,56.25vw);display:flex;flex-direction:column;position:relative;overflow:hidden}
body[data-screen="game"][data-display="projector"] .topbar{flex:0 0 5.74cqh;height:5.74cqh;min-height:0;width:100%;padding:.83cqh 3.5cqw;max-width:none;font-size:.83cqw}
body[data-screen="game"][data-display="projector"] .brand{gap:.63cqw}
body[data-screen="game"][data-display="projector"] .brand img{width:1.78cqw;height:3.43cqh}
body[data-screen="game"][data-display="projector"] .brand span{font-size:.83cqw}
body[data-screen="game"][data-display="projector"] .brand small{font-size:.47cqw}
body[data-screen="game"][data-display="projector"] .top-actions{gap:.52cqw}
body[data-screen="game"][data-display="projector"] .top-actions button{min-width:0;font-size:max(12px,.78cqw);padding:.74cqh .63cqw}
body[data-screen="game"][data-display="projector"] .top-actions .icon-button{width:2.2cqw;height:3.7cqh;font-size:1.15cqw;padding:0}
body[data-screen="game"][data-display="projector"] main{flex:1;min-height:0;max-width:none;width:100%;padding:1.67cqh 3.5cqw 1.48cqh}
body[data-screen="game"][data-display="projector"] .site-footer{flex:0 0 3.52cqh;min-height:0;padding:1cqh 3.5cqw;font-size:max(10px,.52cqw)}
body[data-screen="game"][data-display="projector"] .classic-stage{height:100%;min-height:0;grid-template-columns:minmax(0,.42fr) minmax(0,.58fr);gap:.94cqw}
body[data-screen="game"][data-display="projector"] .classic-heading{min-height:10.46cqh;margin-bottom:1.57cqh;gap:1.04cqw;padding:0 .52cqw 0 .89cqw}
body[data-screen="game"][data-display="projector"] .classic-logo{transform:none;width:12.5cqw;height:9.72cqh;margin:0}
body[data-screen="game"][data-display="projector"] .logo-coin{top:0;left:3.85cqw;width:5.36cqw;height:5.36cqw;font-size:2.29cqw;line-height:4.9cqw;border-width:.156cqw}
body[data-screen="game"][data-display="projector"] .logo-ribbon{gap:.625cqw;padding:.37cqh .57cqw .65cqh;border-width:.104cqw}
body[data-screen="game"][data-display="projector"] .logo-ribbon span{font-size:1.77cqw}
body[data-screen="game"][data-display="projector"] .logo-ribbon strong{font-size:3.18cqw}
body[data-screen="game"][data-display="projector"] .classic-player{gap:.83cqh}
body[data-screen="game"][data-display="projector"] .classic-player strong{font-size:1.04cqw}
body[data-screen="game"][data-display="projector"] .classic-player .eyebrow{font-size:.67cqw}
body[data-screen="game"][data-display="projector"] .classic-value{font-size:.73cqw}
body[data-screen="game"][data-display="projector"] .classic-stage .question-box{position:relative;z-index:2;width:calc(100% + 2.4cqw);min-height:9cqh;padding:1.2cqh 1.15cqw;border-width:.104cqw;border-radius:.26cqw 1.04cqw 1.04cqw .26cqw}
body[data-screen="game"][data-display="projector"] .classic-stage .question-box h1{font-size:1.7cqw;line-height:1.12}
body[data-screen="game"][data-display="projector"] .classic-stage .question-box.long-question h1{font-size:1.5cqw}
body[data-screen="game"][data-display="projector"] .classic-stage .question-meta{font-size:.63cqw;padding:.83cqh .31cqw}
body[data-screen="game"][data-display="projector"] .classic-stage .answers{flex:0 0 auto;min-height:0;grid-template-rows:repeat(4,minmax(6.6cqh,auto));gap:.93cqh}
body[data-screen="game"][data-display="projector"] .classic-stage .answer{min-height:0;font-size:max(16px,1.5cqw);line-height:1.14;padding:.55cqh .73cqw .55cqh .52cqw;gap:.68cqw;border-width:.104cqw;border-radius:.68cqw .26cqw .26cqw .68cqw}
body[data-screen="game"][data-display="projector"] .classic-stage .answer .key{width:2.24cqw;height:2.24cqw;font-size:1.83cqw;flex-shrink:0}
body[data-screen="game"][data-display="projector"] .classic-stage .risk-bar{margin-top:1.76cqh;gap:.89cqw;padding:0 .31cqw}
body[data-screen="game"][data-display="projector"] .classic-stage .risk-bar strong{max-width:none;font-size:2.3cqw;padding:.74cqh .47cqw;border-width:.104cqw}
body[data-screen="game"][data-display="projector"] .classic-stage .risk-bar strong.all-or-nothing{font-size:1.65cqw;padding:1.1cqh .36cqw}
body[data-screen="game"][data-display="projector"] .classic-stage .risk-bar small{font-size:1.25cqw}
body[data-screen="game"][data-display="projector"] .classic-host .presenter-panel{min-height:0;max-width:none;margin:0;border-radius:.16cqw}
body[data-screen="game"][data-display="projector"] .classic-host .presenter-frame{min-height:0;height:auto}
body[data-screen="game"][data-display="projector"] .decision-panel{padding:1.48cqh .94cqw;margin-top:1.39cqh;border-radius:.26cqw}
body[data-screen="game"][data-display="projector"] .decision-title{font-size:max(12px,.78cqw)}
body[data-screen="game"][data-display="projector"] .narration-controls{margin-bottom:.56cqh}
body[data-screen="game"][data-display="projector"] .narration-controls .quiet-button{font-size:max(12px,.73cqw);padding:.46cqh .52cqw}
body[data-screen="game"][data-display="projector"] .decision-panel .helps{grid-template-columns:repeat(4,minmax(0,1fr));gap:.42cqw;margin-top:1.2cqh}
body[data-screen="game"][data-display="projector"] .decision-panel .help{flex-direction:column;justify-content:center;min-height:7.04cqh;font-size:max(12px,.73cqw);padding:.83cqh .36cqw;gap:.56cqh}
body[data-screen="game"][data-display="projector"] .decision-panel .help-icon{font-size:1.46cqw}
body[data-screen="game"][data-display="projector"] .decision-panel .help em{font-size:.57cqw;padding:.28cqh .26cqw;right:.26cqw;top:.46cqh}
body[data-screen="game"][data-display="projector"] .decision-panel .round-controls{min-height:3.98cqh;margin-top:1.3cqh;gap:.625cqw}
body[data-screen="game"][data-display="projector"] .decision-panel .round-controls .gold-button{min-width:10.4cqw;font-size:max(12px,.83cqw);padding:1.2cqh .94cqw}
body[data-screen="game"][data-display="projector"] .decision-panel .round-controls .stop-button{font-size:max(12px,.78cqw);padding:1.2cqh .78cqw}
body[data-screen="game"][data-display="projector"] .decision-panel .round-controls .eyebrow{font-size:.68cqw}
body[data-screen="game"][data-display="projector"] .classic-stage .result-feedback{margin-top:1.57cqh;padding:1.1cqh .94cqw;font-size:.78cqw;min-height:0}
body[data-screen="game"][data-display="projector"] .bible-evidence .reference{font-size:.78cqw;margin-top:.74cqh}
body[data-screen="game"][data-display="projector"] .classic-stage .bible-verse{font-size:1.04cqw;line-height:1.32;margin:.74cqh 0 .46cqh}
body[data-screen="game"][data-display="projector"] .bible-edition{font-size:.63cqw}

/* Phone keeps the original two-column composition. No display:contents,
   zoom or sticky logo: the heading always occupies its own place in the quiz. */
body[data-screen="game"][data-display="mobile"]{overflow-x:hidden}
body[data-screen="game"][data-display="mobile"] #showScreen{width:100%;height:auto;display:block}
body[data-screen="game"][data-display="mobile"] .topbar{height:52px;padding:6px 3%;max-width:none}
body[data-screen="game"][data-display="mobile"] .brand span{display:none}
body[data-screen="game"][data-display="mobile"] .brand img{width:28px;height:31px}
body[data-screen="game"][data-display="mobile"] .top-actions{gap:4px}
body[data-screen="game"][data-display="mobile"] .top-actions .quiet-button{font-size:11px;padding:8px 6px;min-width:0}
body[data-screen="game"][data-display="mobile"] .top-actions .icon-button{width:32px;height:34px;padding:0}
body[data-screen="game"][data-display="mobile"] main{padding:10px 3% 18px;max-width:900px;min-height:0}
body[data-screen="game"][data-display="mobile"] .classic-stage{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:auto auto auto;gap:12px 8px;min-height:0;height:auto;align-items:start}
body[data-screen="game"][data-display="mobile"] .classic-quiz{grid-column:1;grid-row:2;display:flex;flex-direction:column;min-width:0}
body[data-screen="game"][data-display="mobile"] .classic-heading{grid-column:1/-1;grid-row:1;position:static;min-height:0;height:auto;margin:0;padding:0;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:5px;background:transparent}
body[data-screen="game"][data-display="mobile"] .classic-logo{width:100%;max-width:180px;height:80px;transform:none;margin:0}
body[data-screen="game"][data-display="mobile"] .classic-player{text-align:center;align-items:center;gap:2px;width:100%;min-width:0}
body[data-screen="game"][data-display="mobile"] .classic-player .eyebrow{font-size:10px;letter-spacing:.02em}
body[data-screen="game"][data-display="mobile"] .classic-player strong{font-size:13px;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body[data-screen="game"][data-display="mobile"] .classic-value{font-size:11px}
body[data-screen="game"][data-display="mobile"] .classic-stage .question-box{width:100%;min-height:76px;padding:11px 10px;border-width:1px;border-radius:3px 15px 15px 3px;position:relative;z-index:auto}
body[data-screen="game"][data-display="mobile"] .classic-stage .question-box h1{font-size:16px;line-height:1.2;overflow-wrap:anywhere}
body[data-screen="game"][data-display="mobile"] .classic-stage .question-box.long-question h1{font-size:15px}
body[data-screen="game"][data-display="mobile"] .classic-stage .question-meta{font-size:9px;padding:7px 1px;letter-spacing:0;gap:5px;flex-wrap:wrap}
body[data-screen="game"][data-display="mobile"] .classic-stage .answers{flex:0 0 auto;min-height:0;display:grid;grid-template-rows:repeat(4,minmax(44px,auto));gap:7px}
body[data-screen="game"][data-display="mobile"] .classic-stage .answer{font-size:14px;min-height:44px;line-height:1.2;padding:7px 7px;gap:7px;border-width:1px;border-radius:10px 3px 3px 10px;overflow-wrap:anywhere}
body[data-screen="game"][data-display="mobile"] .classic-stage .answer .key{width:25px;height:25px;font-size:22px;flex-shrink:0}
body[data-screen="game"][data-display="mobile"] .classic-stage .risk-bar{margin:13px 0 0;gap:6px;padding:0}
body[data-screen="game"][data-display="mobile"] .classic-stage .risk-bar strong{font-size:clamp(11px,3.3vw,18px);padding:7px 2px;border-width:1px;min-height:33px;display:grid;place-items:center}
body[data-screen="game"][data-display="mobile"] .classic-stage .risk-bar strong.all-or-nothing{font-size:11px;padding:8px 1px}
body[data-screen="game"][data-display="mobile"] .classic-stage .risk-bar small{font-size:11px;letter-spacing:.02em;margin-top:5px}
body[data-screen="game"][data-display="mobile"] .classic-stage>.classic-host{grid-column:2;grid-row:2;display:flex;min-width:0;min-height:0;position:relative;top:auto;height:auto;align-self:stretch}
body[data-screen="game"][data-display="mobile"] .classic-host .presenter-panel{position:absolute;inset:0;width:100%;height:100%;min-height:0;max-width:none;margin:0;border-radius:4px;display:flex;flex-direction:column}
body[data-screen="game"][data-display="mobile"] .classic-host .presenter-frame{height:100%;min-height:0;aspect-ratio:auto}
body[data-screen="game"][data-display="mobile"] .classic-stage .result-feedback{margin-top:12px;font-size:13px;padding:10px;min-height:0;overflow-wrap:anywhere}
body[data-screen="game"][data-display="mobile"] .classic-stage .result-feedback strong{font-size:15px}
body[data-screen="game"][data-display="mobile"] .classic-stage .bible-verse{font-size:15px;line-height:1.4}
body[data-screen="game"][data-display="mobile"] .classic-stage>.decision-panel{grid-row:3;grid-column:1/-1;margin:0;padding:12px}
body[data-screen="game"][data-display="mobile"] .decision-title{font-size:12px}
body[data-screen="game"][data-display="mobile"] .narration-controls .quiet-button{font-size:13px;min-height:36px}
body[data-screen="game"][data-display="mobile"] .decision-panel .helps{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:9px}
body[data-screen="game"][data-display="mobile"] .decision-panel .help{min-height:48px;padding:9px;flex-direction:row;justify-content:flex-start;font-size:13px;gap:7px}
body[data-screen="game"][data-display="mobile"] .decision-panel .help-icon{font-size:23px}
body[data-screen="game"][data-display="mobile"] .decision-panel .round-controls{margin-top:10px;gap:8px}
body[data-screen="game"][data-display="mobile"] .decision-panel .round-controls .gold-button,body[data-screen="game"][data-display="mobile"] .decision-panel .round-controls .stop-button{font-size:14px;min-height:46px;min-width:0;padding:11px 10px}
body[data-screen="game"][data-display="mobile"] .decision-panel .round-controls .eyebrow{font-size:12px;max-width:42%}
body[data-screen="game"][data-display="mobile"] .site-footer{font-size:10px;padding:12px 3%;min-height:0}
body[data-screen="game"][data-display="mobile"] dialog.keep-presenter{margin:auto;width:calc(100% - 24px);max-height:calc(100dvh - 24px)}
@media(min-width:600px){body[data-screen="game"][data-display="mobile"] .classic-stage .question-box h1{font-size:21px}body[data-screen="game"][data-display="mobile"] .classic-stage .answer{font-size:18px}body[data-screen="game"][data-display="mobile"] .classic-stage .risk-bar strong{font-size:24px}}
