/* Faithful show-stage composition from the approved Oct20 mockup.
   Decorative scenery never contains question clues or correctness. */
.hq-live-stage-design.join-body,.hq-live-stage-design.projector-body{background:#092365 url('/assets/stage-showtime.webp') center top/cover fixed no-repeat}
.hq-live-stage-design .live-brand-name{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#fff;font-size:clamp(24px,3vw,40px);font-weight:950;letter-spacing:-.04em;line-height:1.05;-webkit-text-stroke:1px #fff;paint-order:stroke fill;text-shadow:0 3px 0 #6527cd,2px 0 0 #6527cd,-2px 0 0 #6527cd,0 -2px 0 #6527cd,0 6px 0 #23116b,0 7px 15px #050823}
.hq-live-stage-design .live-brand-lockup{width:auto!important;max-width:100%!important;gap:14px;justify-content:center}
.hq-live-stage-design .live-brand-mark{width:92px;flex:0 0 92px}
.hq-live-stage-design .live-brand-lockup .live-brand-mark img{width:92px;height:49px;background:transparent!important;filter:brightness(1.14) saturate(1.25)}
.hq-live-stage-design .join-brand,.hq-live-stage-design .live-title-brand,.hq-live-stage-design .live-host-brand{background:transparent;border:0;padding:8px 0}
.hq-live-stage-design .live-title-brand .live-brand-name{color:#fff}
.hq-live-stage-design .live-title-brand{width:max-content;max-width:100%;padding:14px 20px;background:linear-gradient(135deg,#0a2c72,#1d0b67);border-radius:12px}
.hq-live-stage-design .projector-top{background:linear-gradient(90deg,#061b4be6,#132d7cba,#061b4be6);border:1px solid #457edc88;border-bottom:3px solid #ffd332;border-radius:15px;padding:10px 18px;box-shadow:0 5px 22px #020c49aa}
.hq-live-stage-design .projector-shell{padding:14px 5vw 16vh;gap:12px;grid-template-rows:auto auto auto;align-content:start}
.hq-live-stage-design .projector-main{align-items:start}
.hq-live-stage-design .projector-question-card{background:transparent;border:0;box-shadow:none!important;backdrop-filter:none;padding:10px 3vw!important;border-radius:0}
.hq-live-stage-design .projector-stage-status{margin-bottom:12px}
.hq-live-stage-design .projector-kicker{background:linear-gradient(#153b98,#061c65);border:1px solid #578aff;border-radius:30px;padding:9px 18px;box-shadow:0 4px 0 #040a45;color:white;font-weight:850;letter-spacing:0}
.hq-live-stage-design .projector-question{background:linear-gradient(145deg,#fff,#edf7ff);border:5px solid #ffdf2c;border-radius:26px;box-shadow:0 0 0 2px #fff8,0 0 28px #3dcfff99,inset 0 -5px 14px #b3d7fa77;padding:24px;margin-bottom:18px;font-size:clamp(32px,3.6vw,58px)}
.hq-live-stage-design .projector-timer,.hq-live-stage-design .join-countdown{background:linear-gradient(145deg,#ff2039,#ec0038);border:3px solid #ffd94f;box-shadow:0 0 16px #ff754ecc,inset 0 3px 0 #ffffff55,0 4px 0 #8b0036;color:#fff;border-radius:30px;font-weight:950;text-shadow:0 2px 0 #94002e}
.hq-live-stage-design :is(.live-stage-option,.join-choice,.projector-option){background:linear-gradient(130deg,#ffffff66,var(--choice) 48%,var(--choice));border:2px solid #ffffffaa;box-shadow:inset 0 3px 0 #ffffff88,inset 0 -5px 12px #001d5b22,0 5px 0 #03115399,0 0 15px color-mix(in srgb,var(--choice) 45%,transparent);border-radius:16px}
.hq-live-stage-design :is(.live-stage-option,.join-choice,.projector-option){--choice:#62d6ff;--key:#005de8}
.hq-live-stage-design :is(.live-stage-option,.join-choice,.projector-option):nth-child(6n+2){--choice:#6bff9d;--key:#008a39}
.hq-live-stage-design :is(.live-stage-option,.join-choice,.projector-option):nth-child(6n+3){--choice:#ffdf3b;--key:#ef9700}
.hq-live-stage-design :is(.live-stage-option,.join-choice,.projector-option):nth-child(6n+4){--choice:#ff87db;--key:#e90066}
.hq-live-stage-design :is(.live-stage-option,.join-choice,.projector-option):nth-child(6n+5){--choice:#b589ff;--key:#7525d0}
.hq-live-stage-design :is(.live-stage-option,.join-choice,.projector-option):nth-child(6n+6){--choice:#64eee8;--key:#007b88}
.hq-live-stage-design :is(.live-choice-letter,.join-choice-key,.projector-option>span){background:linear-gradient(145deg,color-mix(in srgb,var(--key) 75%,white),var(--key) 40%);box-shadow:inset 0 2px 0 #ffffff55,0 3px 0 #001b4b44;text-shadow:0 2px 0 #001b4b44}
.hq-live-stage-design .projector-options{gap:16px}
.hq-live-stage-design .projector-option{min-height:104px;font-size:clamp(28px,3vw,46px)}
.hq-live-stage-design .projector-bottom{padding:6px 12px;background:#061945b3;border-radius:10px;color:#fff}
.hq-live-stage-design[data-live-phase="reveal"] .projector-main,.hq-live-stage-design[data-live-phase="ended"] .projector-main{grid-template-columns:1fr}
.hq-live-stage-design .projector-side{background:#031343d9;border:2px solid #397cff;padding:14px 20px;box-shadow:0 0 18px #1758ff66;border-radius:20px}
.hq-live-stage-design .projector-side h2{text-align:center;font-size:24px;margin:0 0 16px;color:white}
.hq-live-stage-design .projector-board{grid-template-columns:repeat(5,minmax(0,1fr));align-items:end;gap:14px}
.hq-live-stage-design .projector-board>*:not(.projector-rank.podium){grid-column:1/-1}
.hq-live-stage-design .projector-rank.podium{display:flex;flex-direction:column;justify-content:flex-start;gap:10px;min-height:150px;padding:12px 8px;color:#071b45;border:3px solid #fff6;border-radius:18px;box-shadow:inset 0 5px 0 #fff8,0 0 18px #6e68ff80;text-align:center}
.hq-live-stage-design .projector-rank.podium>b{display:grid;place-items:center;font-size:30px;width:50px;height:50px;border-radius:50%;background:#fff6;box-shadow:0 3px 0 #0002;color:inherit}
.hq-live-stage-design .projector-rank.podium>span{font-size:20px;font-weight:900;overflow-wrap:anywhere}
.hq-live-stage-design .projector-rank.podium>strong{font-size:28px;color:inherit}
.hq-live-stage-design .projector-rank.p1{background:linear-gradient(#fff477,#ffc116);min-height:175px}
.hq-live-stage-design .projector-rank.p2{background:linear-gradient(#f5f7ff,#aab7da)}
.hq-live-stage-design .projector-rank.p3{background:linear-gradient(#ffcc75,#ef7928)}
.hq-live-stage-design .projector-rank.p4{background:linear-gradient(#c99aff,#7a32dd);color:white}
.hq-live-stage-design .projector-rank.p5{background:linear-gradient(#ff9edf,#ed2c9b);color:white}
.hq-live-stage-design .projector-answer{background:linear-gradient(#0bd75a,#006e29);border:3px solid #7bff64;box-shadow:0 0 24px #27ff6c77;color:white}
.hq-live-stage-design .join-shell{width:min(820px,calc(100% - 24px));padding-top:16px;padding-bottom:18vh}
.hq-live-stage-design .join-card{background:linear-gradient(145deg,#08298cdf,#041449e8);border:2px solid #4ecbff;box-shadow:0 0 0 4px #04105388,0 0 35px #2171ff88,inset 0 0 28px #173aff66}
.hq-live-stage-design .join-question h2{border:3px solid #ffdf2c;box-shadow:0 0 18px #49d5ff55,inset 0 -4px 14px #b7dcff66}
.hq-live-stage-design .join-stat{background:linear-gradient(#133fa0,#061d60);border:1px solid #2a8bff;box-shadow:inset 0 2px 0 #ffffff22}
.hq-live-stage-design .join-result{display:flex;flex-direction:column;gap:6px;position:relative;padding:20px;isolation:isolate;box-shadow:inset 0 0 40px #fff2,0 0 22px #195fff55}
.hq-live-stage-design .join-result.earned-points{background:repeating-conic-gradient(from -18deg at 50% 35%,#18c95e 0 15deg,#0d9848 15deg 30deg);border:3px solid #baff4b}
.hq-live-stage-design .join-result.correct-no-points{background:repeating-conic-gradient(from -18deg at 50% 35%,#176ce8 0 15deg,#1545a9 15deg 30deg);border:3px solid #64eaff}
.hq-live-stage-design .join-result.bad{background:repeating-conic-gradient(from -18deg at 50% 35%,#ed3549 0 15deg,#b60e37 15deg 30deg);border:3px solid #ffb45a}
.hq-live-stage-design .join-result.not-submitted{background:linear-gradient(#1852a4,#092a70);border:3px solid #85cfff}
.hq-live-stage-design .join-result-icon{width:100%;margin:0;line-height:0}
.hq-live-stage-design .join-result-icon .hq-game-graphic{width:min(290px,70%);max-height:250px;object-fit:contain;aspect-ratio:auto;filter:drop-shadow(0 8px 7px #001c4755)}
.hq-live-stage-design .join-result h2{font-size:clamp(32px,6vw,52px);font-weight:1000;font-style:italic;color:#fff;text-shadow:3px 3px 0 #052d2a,-2px -2px 0 #052d2a,2px -2px 0 #052d2a,-2px 2px 0 #052d2a,0 5px 0 #052d2a;margin:0 0 8px}
.hq-live-stage-design .join-result>div:not(.join-result-icon){background:#e9f8ffed;border-radius:12px;color:#061b45;padding:12px 18px;min-width:65%;box-sizing:border-box}
.hq-live-stage-design .join-result .join-points{background:#ffe02b;font-size:34px;box-shadow:0 5px 0 #b57500;transform:rotate(-2deg)}
.hq-live-stage-design .join-next-hint{background:#071b6899;border-radius:9px;padding:10px 14px;line-height:1.3}
.hq-live-stage-design .join-lock{background:linear-gradient(#0e369bcc,#041549e8);border:2px solid #397cff;box-shadow:0 0 20px #4a5bff55}
.hq-live-stage-design .waiting-art{width:220px!important;max-height:210px;object-fit:contain;aspect-ratio:auto!important}
.hq-live-stage-design #hostRoom>.live-panel{background:linear-gradient(#03133ee8,#071e58ed),url('/assets/stage-showtime.webp') center/cover;border:2px solid #0d83ff;box-shadow:0 0 25px #1066ff66}
.hq-live-stage-design .live-question-stage{background:linear-gradient(#06164166,#06164133),url('/assets/stage-showtime.webp') center/cover;border:3px solid #087cff;box-shadow:inset 0 0 28px #2266ff77;padding:20px}
.hq-live-stage-design .live-stage-question{border:3px solid #ffe13d;box-shadow:0 0 18px #48caff77}
@media(min-width:900px) and (max-height:850px){.hq-live-stage-design .projector-option{min-height:88px}.hq-live-stage-design .projector-shell{padding-bottom:14vh}.hq-live-stage-design .projector-question{font-size:clamp(30px,3.5vw,48px);padding:18px}.hq-live-stage-design .projector-top{padding:8px 14px}.hq-live-stage-design .projector-brand .live-brand-name{font-size:30px}}
@media(max-width:650px){.hq-live-stage-design .projector-shell{padding:10px 10px 13vh}.hq-live-stage-design .projector-top{gap:12px;padding:10px;justify-content:center}.hq-live-stage-design .projector-brand{align-items:center}.hq-live-stage-design .live-brand-name{font-size:28px}.hq-live-stage-design .live-brand-lockup{gap:10px}.hq-live-stage-design .projector-question{font-size:30px;padding:18px 12px}.hq-live-stage-design .projector-option{font-size:24px;min-height:96px}.hq-live-stage-design .projector-board{grid-template-columns:repeat(2,minmax(0,1fr))}.hq-live-stage-design .projector-rank.podium{min-height:140px}.hq-live-stage-design .projector-rank.p1{grid-column:1/-1;min-height:130px}.hq-live-stage-design .join-card{padding:16px}.hq-live-stage-design .join-result{padding:18px 12px}.hq-live-stage-design .join-result-icon .hq-game-graphic{max-height:210px;width:220px}.hq-live-stage-design .join-result>div:not(.join-result-icon){width:100%;font-size:20px}.hq-live-stage-design .join-result h2{font-size:36px}.hq-live-stage-design .join-choice{font-size:22px}}
@media(prefers-reduced-motion:reduce){.hq-live-stage-design *{animation:none!important;transition:none!important}}
/* Revealed feedback becomes the focus, as in the approved student-state panels.
   The result itself includes the correct answer when needed. */
.hq-live-stage-design .join-question.is-revealed-context{display:block;margin-bottom:8px}
.hq-live-stage-design .join-question.is-revealed-context h2,.hq-live-stage-design .join-question.is-revealed-context .join-countdown{display:none}
/* Short laptop displays: preserve readable result type and substantial artwork,
   remove spare spacing rather than making the whole celebration tiny. */
@media(min-width:651px) and (max-height:850px){
 .hq-live-stage-design.join-body .join-shell{padding-bottom:24px}
 .hq-live-stage-design .join-card:has(.join-result){padding:16px}
 .hq-live-stage-design .join-result{padding:12px;gap:6px}
 .hq-live-stage-design .join-result-icon .hq-game-graphic{max-height:180px;width:210px}
 .hq-live-stage-design .join-result>div:not(.join-result-icon){padding:8px 18px}
 .hq-live-stage-design .join-result .join-speed-badge,.hq-live-stage-design .join-result .join-streak-badge{margin:0 4px}
 .hq-live-stage-design .join-result .join-next-hint{margin:0;padding:8px 14px}
}
/* body prefix matches the runtime-added approved-v4 cascade specificity.
   Exact current homepage values, scoped to this tool's shared header only. */
body.hq-live-stage-design .site-header{background:linear-gradient(100deg,#061b4b,#06286b 73%,#10275b);border-bottom:3px solid #ffd332}
body.hq-live-stage-design .site-header .nav{padding:11px 24px}
body.hq-live-stage-design .site-header .brand img{width:92px;height:49px;max-width:92px;object-fit:contain;filter:brightness(1.14) saturate(1.25);background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;padding:0;display:block}
