/* November reference: square panels, pixel accents and compact category cards. */
body.quiz-theme{--quiz-panel:#17181b;--quiz-raised:#1f2125;--quiz-border:#24262b;--quiz-stage:#17181b}
body.quiz-theme .games-page{padding-top:36px;padding-bottom:72px}
body.quiz-theme .games-heading{margin-bottom:26px;gap:24px}
body.quiz-theme .games-heading h1,body.quiz-theme .quiz-page .games-heading h1{font:600 44px/1.1 Geist,sans-serif;letter-spacing:-.035em}
body.quiz-theme .games-heading p:not(.games-eyebrow){font:400 16px/1.5 Geist,sans-serif;color:#9a9ca3;max-width:720px}
body.quiz-theme .games-eyebrow{display:flex;align-items:center;gap:8px;font:12px Silkscreen,monospace;letter-spacing:.04em;color:#8be695;margin-bottom:12px}
body.quiz-theme .games-eyebrow:before{content:'';width:6px;height:6px;flex:none;background:#5bd46a}
body.quiz-theme .games-library-count{font:11px 'Geist Mono',monospace;color:#8a8d95}
.quiz-hub-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:24px;align-items:start}
.quiz-hub-main{min-width:0}
.quiz-featured{display:flex;align-items:center;gap:24px;flex-wrap:wrap;position:relative;padding:28px;margin-bottom:16px;border:1px solid #24262b;background:#17181b;background-image:linear-gradient(#ffffff05 1px,transparent 1px),linear-gradient(90deg,#ffffff05 1px,transparent 1px);background-size:32px 32px}
.quiz-featured-icon{display:grid;place-items:center;width:88px;height:88px;flex:none;background:#1f2125;border:1px solid #2f3137;box-shadow:inset -4px -4px #0003}
.quiz-featured-icon img,.quiz-category-icon img{object-fit:contain;image-rendering:pixelated}
.quiz-featured>div{flex:1 1 230px;min-width:0}
.quiz-featured h2{font:600 26px/1.15 Geist,sans-serif;letter-spacing:-.02em;margin:8px 0}
.quiz-featured p:not(.games-kicker){color:#9a9ca3;font-size:13px;line-height:1.6;margin:0}
.quiz-featured .games-kicker{color:#f5c04a;font:10px Silkscreen,monospace}
body.quiz-theme .quiz-featured .game-launch{margin:0;flex:none;gap:16px}
body.quiz-theme .games-hub .game-library{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
body.quiz-theme .games-hub .game-tile{position:relative;min-width:0;padding:20px;border:1px solid #24262b;border-radius:0;background:#17181b;box-shadow:none;transition:background .15s,transform .15s;overflow:visible}
body.quiz-theme .games-hub .game-tile:hover{background:#1c1d21;border-color:#34373e;box-shadow:none;transform:translateY(-2px)}
.quiz-category-icon{display:grid;place-items:center;width:52px;height:52px;background:#1f2125;border:1px solid #2a2c31;margin-bottom:16px}
.quiz-category-icon img{width:32px;height:32px}
body.quiz-theme .games-hub .game-tile-copy{padding:0;min-width:0}
body.quiz-theme .games-hub .game-tile-copy .games-kicker{font:9px Silkscreen,monospace;color:#8a8d95;line-height:1.7}
body.quiz-theme .games-hub .game-tile-copy h2{font:600 18px/1.25 Geist,sans-serif;letter-spacing:-.01em;margin:8px 0}
body.quiz-theme .games-hub .game-tile-copy>p:not(.games-kicker){font:14px/1.5 Geist,sans-serif;color:#9a9ca3}
body.quiz-theme .games-hub .game-tags{gap:5px;margin:16px 0;padding-top:14px;border-top:1px solid #24262b}
body.quiz-theme .games-hub .game-tags li{border:0;border-radius:0;background:transparent;padding:0 5px 0 0;font:10px/1.6 'Geist Mono',monospace;color:#8a8d95}
body.quiz-theme :is(.mob-next,.mob-result-actions button,.duel-primary,.game-launch,.games-play-link){border-radius:0;box-shadow:inset -3px -3px #0003,inset 3px 3px #ffffff38;font-weight:600}
body.quiz-theme .games-hub .game-launch{min-height:38px;font-size:12px;padding:10px 12px}
.quiz-hub-aside{display:flex;flex-direction:column;gap:16px;position:sticky;top:24px;min-width:0}
.quiz-hub-board,.quiz-hub-guide{background:#17181b;border:1px solid #24262b}
.quiz-hub-board header{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:18px;border-bottom:1px solid #24262b}
.quiz-hub-board h2,.quiz-hub-guide h2{font:600 16px Geist,sans-serif;margin:0}
.quiz-hub-board header>span{font:9px Silkscreen,monospace;color:#8a8d95}
.quiz-hub-board-scope{font-size:11px;color:#8a8d95;padding:0 18px;margin:14px 0 6px}
#quiz-hub-leaders{list-style:none;padding:6px 18px;margin:0}
#quiz-hub-leaders li{display:grid;grid-template-columns:22px minmax(0,1fr) auto;align-items:center;gap:10px;padding:12px 0}
#quiz-hub-leaders li>span{font:12px 'Geist Mono',monospace;color:#9a9ca3}
#quiz-hub-leaders li>span:first-child{font:11px Silkscreen,monospace}
#quiz-hub-leaders li:nth-child(-n+3)>span:first-child{color:#f5c04a}
#quiz-hub-leaders strong{font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#quiz-hub-status{font-size:12px;line-height:1.6;color:#9a9ca3;padding:0 18px}
#quiz-hub-status:empty{display:none}
.quiz-hub-board>a{display:block;padding:15px 18px;border-top:1px solid #24262b;font-size:12px;color:#8be695}
.quiz-hub-guide{padding:20px}.quiz-hub-guide p{font-size:13px;line-height:1.7;color:#9a9ca3}.quiz-hub-guide a{font-size:12px;line-height:1.7;color:#8be695}
body.quiz-theme :is(.quiz-settings,.mob-game,.mob-results,.quiz-subject,.mob-subject,.quiz-rankings,.quiz-rank-card,.quiz-image,.duel,.duel-player,.quiz-run-settings){border-radius:0;box-shadow:none;background:#17181b;border-color:#24262b}
body.quiz-theme :is(.quiz-settings select,.quiz-settings .mob-text-button,.quiz-type,.games-edition,.quiz-rank-switch,.quiz-rank-switch button){border-radius:0}
body.quiz-theme .mob-game:before{display:none}
body.quiz-theme .mob-game-top{background:#17181b;border-bottom:1px solid #24262b;padding:18px 24px}
body.quiz-theme .quiz-phase:before{border-radius:0;box-shadow:none}
body.quiz-theme .mob-stats>div,body.quiz-theme .mob-stats>div:last-child{border:0;border-right:1px solid #24262b;border-radius:0;background:transparent;padding:6px 15px}
body.quiz-theme .mob-stats>div:last-child{border:0}
body.quiz-theme .mob-stats strong{font:24px Silkscreen,monospace}
body.quiz-theme .mob-stats span,body.quiz-theme .quiz-type{font:10px 'Geist Mono',monospace}
body.quiz-theme .quiz-page .mob-question-area h3{font:600 30px/1.25 Geist,sans-serif;letter-spacing:-.025em}
body.quiz-theme .quiz-page .mob-option{min-height:64px;border-radius:0;background:#1f2125;border-color:#2f3137;padding:16px;box-shadow:none}
body.quiz-theme .mob-option kbd{border-radius:0;background:#17181b}
body.quiz-theme .mob-option[data-result=correct]{background:#1b2a1e;border-color:#5bd46a;color:#8be695}
body.quiz-theme .mob-option[data-result=wrong]{background:#2e1c1e;border-color:#84464c;color:#ff8a8a}
body.quiz-theme .mob-feedback{border-radius:0;box-shadow:none;background:#1b2a1e}
body.quiz-theme .mob-feedback[data-correct=false]{background:#2e1c1e}
body.quiz-theme .mob-results{position:relative;text-align:left;padding:32px;background-image:linear-gradient(#ffffff04 1px,transparent 1px),linear-gradient(90deg,#ffffff04 1px,transparent 1px);background-size:32px 32px}
body.quiz-theme .mob-final-score{font:56px Silkscreen,monospace;color:#8be695}
body.quiz-theme .mob-result-actions{justify-content:flex-start;flex-wrap:wrap;gap:16px}
body.quiz-theme .quiz-review{grid-template-columns:1fr;gap:0}
body.quiz-theme .quiz-review li{border:0;border-bottom:1px solid #24262b;border-radius:0;padding:18px 12px;background:#17181b}
body.quiz-theme .quiz-review li[data-correct=true]{background:#172019}
body.quiz-theme .quiz-rankings{padding:24px}
body.quiz-theme .quiz-rank-card{background:#17181b}
@media(min-width:1400px){body.quiz-theme .games-hub .game-library{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:1000px){.quiz-hub-layout{grid-template-columns:minmax(0,1fr) 260px;gap:16px}.quiz-featured{padding:22px;gap:16px}.quiz-featured-icon{width:64px;height:64px}.quiz-featured h2{font-size:23px}}
@media(max-width:850px){.quiz-hub-layout{grid-template-columns:1fr}.quiz-hub-aside{position:static;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}.quiz-featured>div{flex-basis:260px}}
@media(max-width:600px){body.quiz-theme .games-page{padding-top:28px}body.quiz-theme .games-heading h1,body.quiz-theme .quiz-page .games-heading h1{font-size:36px}body.quiz-theme .games-heading p:not(.games-eyebrow){font-size:14px}body.quiz-theme .games-hub .game-library{grid-template-columns:1fr}.quiz-hub-aside{grid-template-columns:1fr}.quiz-featured{padding:20px}.quiz-featured>div{flex:1 1 150px}.quiz-featured .game-launch{width:100%}.quiz-featured h2{font-size:22px}body.quiz-theme .quiz-page .mob-question-area h3{font-size:25px}body.quiz-theme .mob-results{padding:24px 18px}body.quiz-theme .mob-final-score{font-size:42px}body.quiz-theme .quiz-rankings{padding:18px 14px}body.quiz-theme .mob-stats strong{font-size:19px}}
@media(prefers-reduced-motion:reduce){body.quiz-theme .game-tile{transition:none}}

body.quiz-theme .games-hub .game-tile{padding:0;overflow:hidden}
.quiz-card-link{display:flex;flex:1;flex-direction:column;min-width:0;padding:20px;color:inherit;text-decoration:none}
.quiz-card-link:focus-visible{outline:2px solid #5bd46a;outline-offset:-3px}
body.quiz-theme .games-hub .game-tile-copy{flex:1}
body.quiz-theme .games-hub .game-tags{margin:18px 0 0;padding:0;border:0;gap:6px;margin-top:auto;padding-top:18px}
body.quiz-theme .games-hub .game-tags li{display:inline-flex;align-items:center;padding:4px 8px;border:1px solid #34373e;background:#1f2125;border-radius:3px;color:#b8c6bc;font:11px/1.4 'Geist Mono',monospace}
.quiz-card-link:hover h2{color:#8be695}

/* Actual play screens, captured from each game. */
body.quiz-theme .games-hub .quiz-card-link{padding:0}
.quiz-card-preview{width:100%;aspect-ratio:16/9;overflow:hidden;background:#17181b;border-bottom:1px solid #2a2c31}
.quiz-card-preview img{display:block;width:100%;height:100%;object-fit:contain;image-rendering:auto}
body.quiz-theme .games-hub .quiz-card-link .game-tile-copy{padding:20px}
.quiz-featured-icon{width:160px;height:100px;box-shadow:none;background:#17181b}
.quiz-featured-icon img{width:100%;height:100%;object-fit:contain;image-rendering:auto}
@media(max-width:600px){.quiz-featured-icon{width:96px;height:64px}}

/* A single category item keeps each card easy to scan. */
.quiz-card-art{display:grid;place-items:center;width:100%;height:140px;background:#191d1b;background-image:radial-gradient(ellipse at center,#5bd46a0b,transparent 72%);border-bottom:1px solid #2a2c31}
.quiz-card-art img{display:block;width:80px;height:80px;object-fit:contain;image-rendering:pixelated;filter:drop-shadow(0 6px 4px #0003)}
.game-tile:nth-child(3n+2) .quiz-card-art{background-color:#1c1b20;background-image:radial-gradient(ellipse at center,#b798f50b,transparent 72%)}
.game-tile:nth-child(3n) .quiz-card-art{background-color:#201d18;background-image:radial-gradient(ellipse at center,#f5c04a0b,transparent 72%)}
.quiz-featured-icon{width:88px;height:88px;background:#1f2125}
.quiz-featured-icon img{width:56px;height:56px;image-rendering:pixelated}
@media(max-width:600px){.quiz-card-art{height:132px}.quiz-card-art img{width:72px;height:72px}.quiz-featured-icon{width:64px;height:64px}.quiz-featured-icon img{width:44px;height:44px}}
