/* Theme presentation only: game logic, answer content, and scoring are shared. */
.theme-brand{font-family:Bangers,Comic,sans-serif;font-size:clamp(1rem,3vw,1.7rem);line-height:1.1;max-width:160px;letter-spacing:.04em}.theme-brand[hidden]{display:none!important}
.theme-picker{width:min(920px,94vw);padding:1.2rem;background:#fff8d9;color:#071b35;border:5px solid #071b35;max-height:92dvh;overflow:auto}.theme-options{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:1rem}.theme-option{padding:0;overflow:hidden;text-align:left}.theme-option strong{display:block;padding:.65rem}.theme-option[aria-pressed=true]{outline:5px solid #16a6d4;outline-offset:3px}.theme-thumb{aspect-ratio:16/10;background-size:cover;background-position:center}.theme-option[data-theme-choice=joe] .theme-thumb{background-size:contain;background-repeat:no-repeat;background-color:#071b35}
:root[data-theme]:not([data-theme=joe]){--comic-ink:#151124;--comic-paper:#faf5ff;--comic-yellow:#d0b6ff;--comic-cyan:#bceaff;--comic-red:#ad42fc;--ink:var(--comic-ink);--yellow:var(--comic-yellow);--cyan:var(--comic-cyan)}
:root[data-theme=mj]{--comic-ink:#140d26;--comic-paper:#faf5ff;--comic-yellow:#e3c4ff;--comic-cyan:#bcedff;--comic-red:#ed4bc8;--theme-bg:#1a1035;--theme-accent:#ed4bc8;--theme-head:#ffe4fc}
:root[data-theme=broadway]{--comic-ink:#331118;--comic-paper:#fff6e4;--comic-yellow:#f7d58c;--comic-cyan:#ffeab4;--comic-red:#a2223c;--theme-bg:#270b12;--theme-accent:#d4a94f;--theme-head:#ffe9b5}
:root[data-theme=stranger]{--comic-ink:#170a0c;--comic-paper:#fff1e8;--comic-yellow:#e8beb9;--comic-cyan:#f6d9d0;--comic-red:#b12837;--theme-bg:#090b12;--theme-accent:#e34e5b;--theme-head:#ff9a9f}
:root[data-theme=transformers]{--comic-ink:#081b32;--comic-paper:#edfaff;--comic-yellow:#aeeaff;--comic-cyan:#d5f7ff;--comic-red:#ef4659;--theme-bg:#06172b;--theme-accent:#30cdf4;--theme-head:#bff4ff}
:root[data-theme]:not([data-theme=joe]) body{background:radial-gradient(ellipse at 50% 0%,color-mix(in srgb,var(--theme-accent) 22%,var(--theme-bg)),var(--theme-bg) 65%);color:var(--theme-head);font-family:Comic,system-ui,sans-serif}
:root[data-theme]:not([data-theme=joe]) header,:root[data-theme]:not([data-theme=joe]) .game-header,:root[data-theme]:not([data-theme=joe]) .prep-header{background:var(--comic-ink);color:var(--theme-head);border-bottom:3px solid var(--theme-accent);box-shadow:0 5px 25px #0007}
:root[data-theme]:not([data-theme=joe]) h1,:root[data-theme]:not([data-theme=joe]) h2,:root[data-theme]:not([data-theme=joe]) h3{color:var(--theme-head)}
:root[data-theme]:not([data-theme=joe]) .mode-card,:root[data-theme]:not([data-theme=joe]) .collection-card,:root[data-theme]:not([data-theme=joe]) .episode-chapter,:root[data-theme]:not([data-theme=joe]) .question-card,:root[data-theme]:not([data-theme=joe]) .panel,:root[data-theme]:not([data-theme=joe]) .prep-card,:root[data-theme]:not([data-theme=joe]) .report-summary,:root[data-theme]:not([data-theme=joe]) .account-card,:root[data-theme]:not([data-theme=joe]) .retry-briefing{background:var(--comic-paper);color:var(--comic-ink);border:3px solid var(--theme-accent);box-shadow:0 8px 24px #0006;border-radius:10px}
:root[data-theme]:not([data-theme=joe]) .mode-card h2,:root[data-theme]:not([data-theme=joe]) .question-card h1,:root[data-theme]:not([data-theme=joe]) .panel h1,:root[data-theme]:not([data-theme=joe]) .panel h2,:root[data-theme]:not([data-theme=joe]) .prep-card h2,:root[data-theme]:not([data-theme=joe]) .collection-card h2,:root[data-theme]:not([data-theme=joe]) .account-card h1,:root[data-theme]:not([data-theme=joe]) .retry-briefing h1,:root[data-theme]:not([data-theme=joe]) .episode-chapter h2,:root[data-theme]:not([data-theme=joe]) .theme-picker h1{color:var(--comic-ink)}
:root[data-theme]:not([data-theme=joe]) button,:root[data-theme]:not([data-theme=joe]) .button,:root[data-theme]:not([data-theme=joe]) .prep-menu-link,:root[data-theme]:not([data-theme=joe]) header>a{background:var(--comic-yellow);color:var(--comic-ink);border:2px solid var(--theme-accent);box-shadow:0 3px 0 var(--theme-accent);border-radius:6px;font-family:Comic,system-ui,sans-serif;font-weight:700;text-shadow:none;letter-spacing:.01em}
:root[data-theme]:not([data-theme=joe]) .mode-image{width:100%;aspect-ratio:3/2;background-size:cover!important;border-radius:6px;box-shadow:none}
:root[data-theme]:not([data-theme=joe]) .portrait{background-size:cover!important;background-position:center!important;border-radius:5px}
:root[data-theme]:not([data-theme=joe]) .book-source,:root[data-theme]:not([data-theme=joe]) .book-hint-source{background:var(--comic-paper);color:var(--comic-ink)}
:root[data-theme]:not([data-theme=joe]) #gameMenu,:root[data-theme]:not([data-theme=joe]) #episodePlayer,:root[data-theme]:not([data-theme=joe]) #hqIntro,:root[data-theme]:not([data-theme=joe]) .comic-dialog{background:var(--comic-paper);color:var(--comic-ink);border-color:var(--theme-accent);box-shadow:0 12px 50px #000b}
:root[data-theme]:not([data-theme=joe]) #gameMenu h2,:root[data-theme]:not([data-theme=joe]) #episodePlayer h2,:root[data-theme]:not([data-theme=joe]) #hqIntro h1{color:var(--comic-ink)}
:root[data-theme]:not([data-theme=joe]) #transitionFx{background:var(--theme-bg);background-image:radial-gradient(ellipse at center,color-mix(in srgb,var(--theme-accent) 30%,var(--theme-bg)),var(--theme-bg));}
:root[data-theme]:not([data-theme=joe]) #transitionArt{width:min(94vw,900px);aspect-ratio:3/2;background-size:cover!important;background-position:center!important;border:2px solid var(--theme-accent);box-shadow:0 0 45px #000;animation:theme-reveal 2.4s ease-in-out both!important}
:root[data-theme]:not([data-theme=joe]) #transitionSpeaker{background:var(--comic-ink);color:var(--theme-head);border:2px solid var(--theme-accent);box-shadow:none;transform:none;font-family:Comic,system-ui,sans-serif}
:root[data-theme]:not([data-theme=joe]) #transitionBurst{background:var(--comic-ink);color:var(--theme-head);font-size:clamp(1.5rem,5vw,3rem);border:2px solid var(--theme-accent);padding:.6rem;transform:none;text-shadow:none}
:root[data-theme]:not([data-theme=joe]) #transitionNote{color:var(--theme-head);background:var(--comic-ink)}
:root[data-theme]:not([data-theme=joe]) #rewardScene .cinema-copy{background:var(--comic-ink);color:var(--theme-head)}
:root[data-theme]:not([data-theme=joe]) #rewardScene .cinema-copy p{background:var(--comic-ink);border-color:var(--theme-accent)}
#rewardScene[data-themed=true] #cinemaBackdrop{background-size:cover!important;animation:theme-camera var(--theme-scene-time,25s) ease-in-out both!important}#rewardScene[data-themed=true] #cinemaFlash{animation:none!important}
.theme-story{display:grid;gap:.7rem}.theme-story-art{aspect-ratio:3/2;background-size:cover;overflow:hidden;animation:theme-camera 30s ease-in-out infinite alternate;transform-origin:center}.theme-story p{padding:.7rem;background:var(--comic-ink);color:var(--theme-head);font-size:1.1rem}.theme-story.paused .theme-story-art{animation-play-state:paused}.theme-story progress{width:100%;height:14px}
:root[data-theme=broadway] h1,:root[data-theme=broadway] h2,:root[data-theme=broadway] header strong,:root[data-theme=broadway] .theme-brand{font-family:Georgia,serif;letter-spacing:.08em;text-transform:uppercase}
:root[data-theme=stranger] h1,:root[data-theme=stranger] h2,:root[data-theme=stranger] .theme-brand{font-family:Georgia,serif;letter-spacing:.06em;text-transform:uppercase;text-shadow:0 0 10px #d1002670}
:root[data-theme=stranger] .mode-card{border-color:#932334;border-radius:0;box-shadow:0 0 22px #b2002230}:root[data-theme=stranger] #transitionArt{filter:contrast(1.18) saturate(.8)}
:root[data-theme=transformers] .mode-card,:root[data-theme=transformers] .question-card{border-radius:0;border-left:6px solid #ef4659}:root[data-theme=transformers] .theme-brand{font-family:Bangers,Comic,sans-serif;color:#bff4ff;letter-spacing:.08em}
@keyframes theme-reveal{0%{opacity:0;transform:scale(.95)}18%,82%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(1.04)}}
@keyframes theme-camera{0%{transform:scale(1);filter:brightness(.65)}30%{transform:scale(1.06);filter:brightness(.95)}70%{transform:scale(1.12);filter:brightness(1.06)}100%{transform:scale(1.04);filter:brightness(1)}}
/* Twenty deterministic treatments cycle with the existing transition sequence. */
[data-theme-variant="1"],[data-theme-variant="6"],[data-theme-variant="11"],[data-theme-variant="16"]{--theme-angle:-3deg}[data-theme-variant="2"],[data-theme-variant="7"],[data-theme-variant="12"],[data-theme-variant="17"] #transitionArt{transform-origin:left center!important}[data-theme-variant="3"],[data-theme-variant="8"],[data-theme-variant="13"],[data-theme-variant="18"] #transitionArt{transform-origin:right center!important}[data-theme-variant="4"],[data-theme-variant="9"],[data-theme-variant="14"],[data-theme-variant="19"] #transitionArt{transform-origin:center bottom!important}
@media(max-width:600px){.theme-picker{padding:.8rem}.theme-options{grid-template-columns:repeat(2,minmax(0,1fr));gap:.6rem}.theme-option strong{font-size:1rem}.theme-brand{max-width:110px;font-size:1rem}:root[data-theme]:not([data-theme=joe]) #transitionArt{width:94vw}:root[data-theme]:not([data-theme=joe]) #transitionBurst{bottom:8%;left:3%;right:3%}}
@media(prefers-reduced-motion:reduce){.theme-story-art,#rewardScene[data-themed=true] #cinemaBackdrop{animation:none!important}}
@media print{:root[data-theme]:not([data-theme=joe]) body{background:white;color:black}.theme-brand{display:none}}
:root[data-theme]:not([data-theme=joe]) .theme-character{background-size:contain!important;background-position:center!important;background-repeat:no-repeat!important;background-color:transparent}
:root[data-theme]:not([data-theme=joe]) #transitionArt.theme-character{width:min(78vw,66dvh,650px);aspect-ratio:1;border:0;box-shadow:none;background-color:transparent;background-size:contain!important}
#rewardScene[data-themed=true] #cinemaActor:not([hidden]){background-size:contain!important;background-position:center!important;background-repeat:no-repeat!important;background-color:transparent;border:0;box-shadow:none;width:34%;left:10%;bottom:12%;opacity:1;aspect-ratio:1;animation:theme-extraction var(--theme-scene-time,25s) ease-in-out both!important;filter:drop-shadow(4px 7px 4px #0009)}
@keyframes theme-extraction{0%,15%{opacity:0;transform:translateX(-35%) scale(.75)}25%{opacity:1;transform:translateX(0) scale(.85)}55%{transform:translateX(80%) scale(.95)}85%,100%{opacity:1;transform:translateX(140%) scale(1.05)}}
:root[data-theme=mj] #rewardScene[data-themed=true] #cinemaActor{animation-name:theme-dance!important}:root[data-theme=broadway] #rewardScene[data-themed=true] #cinemaActor{animation-name:theme-bow!important}
@keyframes theme-dance{0%,10%{opacity:0;transform:translateX(-60%) rotate(-4deg)}20%{opacity:1;transform:translateX(0)}35%{transform:translateX(40%) rotate(6deg)}50%{transform:translateX(20%) rotate(-6deg)}65%{transform:translateX(100%) rotate(5deg)}80%,100%{transform:translateX(130%) rotate(0)}}
@keyframes theme-bow{0%,10%{opacity:0;transform:translateX(-70%)}25%{opacity:1;transform:translateX(20%)}55%{transform:translateX(90%)}70%{transform:translateX(90%) scaleY(.86) rotate(8deg)}85%,100%{transform:translateX(90%) scaleY(1) rotate(0)}}
@media(prefers-reduced-motion:reduce){#rewardScene[data-themed=true] #cinemaActor{animation:none!important;opacity:1;transform:none}}

:root[data-theme]:not([data-theme=joe]) #transitionFx[data-theme-variant="0"] #transitionArt{animation-name:theme-transition-0!important}
@keyframes theme-transition-0{0%{opacity:0;transform:translate(-100%,0%) rotate(-4deg) scale(.7)}25%,75%{opacity:1;transform:translate(0,0) rotate(0) scale(1)}100%{opacity:0;transform:translate(50.0%,0.0%) rotate(4deg) scale(1.08)}}

:root[data-theme]:not([data-theme=joe]) #transitionFx[data-theme-variant="1"] #transitionArt{animation-name:theme-transition-1!important}
@keyframes theme-transition-1{0%{opacity:0;transform:translate(100%,0%) rotate(4deg) scale(.7)}25%,75%{opacity:1;transform:translate(0,0) rotate(0) scale(1)}100%{opacity:0;transform:translate(-50.0%,0.0%) rotate(-4deg) scale(1.08)}}

:root[data-theme]:not([data-theme=joe]) #transitionFx[data-theme-variant="2"] #transitionArt{animation-name:theme-transition-2!important}
@keyframes theme-transition-2{0%{opacity:0;transform:translate(0%,-80%) rotate(-6deg) scale(.7)}25%,75%{opacity:1;transform:translate(0,0) rotate(0) scale(1)}100%{opacity:0;transform:translate(0.0%,40.0%) rotate(6deg) scale(1.08)}}

:root[data-theme]:not([data-theme=joe]) #transitionFx[data-theme-variant="3"] #transitionArt{animation-name:theme-transition-3!important}
@keyframes theme-transition-3{0%{opacity:0;transform:translate(0%,80%) rotate(6deg) scale(.7)}25%,75%{opacity:1;transform:translate(0,0) rotate(0) scale(1)}100%{opacity:0;transform:translate(0.0%,-40.0%) rotate(-6deg) scale(1.08)}}

:root[data-theme]:not([data-theme=joe]) #transitionFx[data-theme-variant="4"] #transitionArt{animation-name:theme-transition-4!important}
@keyframes theme-transition-4{0%{opacity:0;transform:translate(-50%,-50%) rotate(-10deg) scale(.7)}25%,75%{opacity:1;transform:translate(0,0) rotate(0) scale(1)}100%{opacity:0;transform:translate(25.0%,25.0%) rotate(10deg) scale(1.08)}}

:root[data-theme]:not([data-theme=joe]) #transitionFx[data-theme-variant="5"] #transitionArt{animation-name:theme-transition-5!important}
@keyframes theme-transition-5{0%{opacity:0;transform:translate(50%,-50%) rotate(10deg) scale(.7)}25%,75%{opacity:1;transform:translate(0,0) rotate(0) scale(1)}100%{opacity:0;transform:translate(-25.0%,25.0%) rotate(-10deg) scale(1.08)}}

:root[data-theme]:not([data-theme=joe]) #transitionFx[data-theme-variant="6"] #transitionArt{animation-name:theme-transition-6!important}
@keyframes theme-transition-6{0%{opacity:0;transform:translate(-50%,50%) rotate(-8deg) scale(.7)}25%,75%{opacity:1;transform:translate(0,0) rotate(0) scale(1)}100%{opacity:0;transform:translate(25.0%,-25.0%) rotate(8deg) scale(1.08)}}

:root[data-theme]:not([data-theme=joe]) #transitionFx[data-theme-variant="7"] #transitionArt{animation-name:theme-transition-7!important}
@keyframes theme-transition-7{0%{opacity:0;transform:translate(50%,50%) rotate(8deg) scale(.7)}25%,75%{opacity:1;transform:translate(0,0) rotate(0) scale(1)}100%{opacity:0;transform:translate(-25.0%,-25.0%) rotate(-8deg) scale(1.08)}}

:root[data-theme]:not([data-theme=joe]) #transitionFx[data-theme-variant="8"] #transitionArt{animation-name:theme-transition-8!important}
@keyframes theme-transition-8{0%{opacity:0;transform:translate(-30%,0%) rotate(-25deg) scale(.7)}25%,75%{opacity:1;transform:translate(0,0) rotate(0) scale(1)}100%{opacity:0;transform:translate(15.0%,0.0%) rotate(25deg) scale(1.08)}}

:root[data-theme]:not([data-theme=joe]) #transitionFx[data-theme-variant="9"] #transitionArt{animation-name:theme-transition-9!important}
@keyframes theme-transition-9{0%{opacity:0;transform:translate(30%,0%) rotate(25deg) scale(.7)}25%,75%{opacity:1;transform:translate(0,0) rotate(0) scale(1)}100%{opacity:0;transform:translate(-15.0%,0.0%) rotate(-25deg) scale(1.08)}}

:root[data-theme]:not([data-theme=joe]) #transitionFx[data-theme-variant="10"] #transitionArt{animation-name:theme-transition-10!important}
@keyframes theme-transition-10{0%{opacity:0;transform:translate(0%,-30%) rotate(-15deg) scale(.7)}25%,75%{opacity:1;transform:translate(0,0) rotate(0) scale(1)}100%{opacity:0;transform:translate(0.0%,15.0%) rotate(15deg) scale(1.08)}}

:root[data-theme]:not([data-theme=joe]) #transitionFx[data-theme-variant="11"] #transitionArt{animation-name:theme-transition-11!important}
@keyframes theme-transition-11{0%{opacity:0;transform:translate(0%,30%) rotate(15deg) scale(.7)}25%,75%{opacity:1;transform:translate(0,0) rotate(0) scale(1)}100%{opacity:0;transform:translate(0.0%,-15.0%) rotate(-15deg) scale(1.08)}}

:root[data-theme]:not([data-theme=joe]) #transitionFx[data-theme-variant="12"] #transitionArt{animation-name:theme-transition-12!important}
@keyframes theme-transition-12{0%{opacity:0;transform:translate(-70%,-15%) rotate(-3deg) scale(.7)}25%,75%{opacity:1;transform:translate(0,0) rotate(0) scale(1)}100%{opacity:0;transform:translate(35.0%,7.5%) rotate(3deg) scale(1.08)}}

:root[data-theme]:not([data-theme=joe]) #transitionFx[data-theme-variant="13"] #transitionArt{animation-name:theme-transition-13!important}
@keyframes theme-transition-13{0%{opacity:0;transform:translate(70%,15%) rotate(3deg) scale(.7)}25%,75%{opacity:1;transform:translate(0,0) rotate(0) scale(1)}100%{opacity:0;transform:translate(-35.0%,-7.5%) rotate(-3deg) scale(1.08)}}

:root[data-theme]:not([data-theme=joe]) #transitionFx[data-theme-variant="14"] #transitionArt{animation-name:theme-transition-14!important}
@keyframes theme-transition-14{0%{opacity:0;transform:translate(-15%,-70%) rotate(-7deg) scale(.7)}25%,75%{opacity:1;transform:translate(0,0) rotate(0) scale(1)}100%{opacity:0;transform:translate(7.5%,35.0%) rotate(7deg) scale(1.08)}}

:root[data-theme]:not([data-theme=joe]) #transitionFx[data-theme-variant="15"] #transitionArt{animation-name:theme-transition-15!important}
@keyframes theme-transition-15{0%{opacity:0;transform:translate(15%,70%) rotate(7deg) scale(.7)}25%,75%{opacity:1;transform:translate(0,0) rotate(0) scale(1)}100%{opacity:0;transform:translate(-7.5%,-35.0%) rotate(-7deg) scale(1.08)}}

:root[data-theme]:not([data-theme=joe]) #transitionFx[data-theme-variant="16"] #transitionArt{animation-name:theme-transition-16!important}
@keyframes theme-transition-16{0%{opacity:0;transform:translate(-60%,25%) rotate(-12deg) scale(.7)}25%,75%{opacity:1;transform:translate(0,0) rotate(0) scale(1)}100%{opacity:0;transform:translate(30.0%,-12.5%) rotate(12deg) scale(1.08)}}

:root[data-theme]:not([data-theme=joe]) #transitionFx[data-theme-variant="17"] #transitionArt{animation-name:theme-transition-17!important}
@keyframes theme-transition-17{0%{opacity:0;transform:translate(60%,-25%) rotate(12deg) scale(.7)}25%,75%{opacity:1;transform:translate(0,0) rotate(0) scale(1)}100%{opacity:0;transform:translate(-30.0%,12.5%) rotate(-12deg) scale(1.08)}}

:root[data-theme]:not([data-theme=joe]) #transitionFx[data-theme-variant="18"] #transitionArt{animation-name:theme-transition-18!important}
@keyframes theme-transition-18{0%{opacity:0;transform:translate(-20%,20%) rotate(-30deg) scale(.7)}25%,75%{opacity:1;transform:translate(0,0) rotate(0) scale(1)}100%{opacity:0;transform:translate(10.0%,-10.0%) rotate(30deg) scale(1.08)}}

:root[data-theme]:not([data-theme=joe]) #transitionFx[data-theme-variant="19"] #transitionArt{animation-name:theme-transition-19!important}
@keyframes theme-transition-19{0%{opacity:0;transform:translate(20%,-20%) rotate(30deg) scale(.7)}25%,75%{opacity:1;transform:translate(0,0) rotate(0) scale(1)}100%{opacity:0;transform:translate(-10.0%,10.0%) rotate(-30deg) scale(1.08)}}

/* Stranger Things: cinematic horror, scoped independently of comic skins. */
@font-face{font-family:HawkinsTitle;src:local('ITC Benguiat Bold'),local('Benguiat Bold'),local('Benguiat');font-weight:700;font-display:swap}
:root[data-theme=stranger]{--comic-ink:#e4e7ed;--comic-paper:#10131c;--comic-yellow:#29131c;--comic-cyan:#163043;--comic-red:#cc2639;--ink:#e4e7ed;--yellow:#ef3344;--cyan:#88b7ce;--red:#cc2639;--theme-bg:#06070b;--theme-accent:#e02a3c;--theme-head:#f1e9e5}
:root[data-theme=stranger] body{background:radial-gradient(ellipse at 0 15%,#17344866,transparent 55%),radial-gradient(ellipse at 95% 70%,#5b102633,transparent 55%),#06070b!important;background-size:auto!important;color:#e4e7ed!important;font-weight:400}
:root[data-theme=stranger] body *{font-family:Arial,Helvetica,sans-serif!important;letter-spacing:normal;text-shadow:none}
:root[data-theme=stranger] :is(h1,h2,h3,h4,.theme-brand){font-family:HawkinsTitle,Georgia,'Times New Roman',serif!important;font-weight:700;letter-spacing:.075em;line-height:1.2;text-transform:uppercase;color:#ed3445!important;text-shadow:0 0 18px #ad152755!important}
:root[data-theme=stranger] .theme-brand{font-size:clamp(.95rem,2.5vw,1.5rem);color:#09070a!important;-webkit-text-stroke:1px #ef3344;letter-spacing:.025em;border-top:1px solid #ed3445;border-bottom:1px solid #ed3445;padding:.3rem 0;text-shadow:0 0 14px #ed344577!important}
:root[data-theme=stranger] :is(header,.game-header,.prep-header){background:#07090ff2!important;border-bottom:1px solid #751c2b!important;box-shadow:0 6px 30px #0008!important;color:#e4e7ed!important}
:root[data-theme=stranger] :is(header strong,.game-header strong,.question-head,.milestone-heading,.question-meta){font-weight:600!important;font-size:1rem;letter-spacing:.1em;text-transform:uppercase;color:#acbfce!important}
:root[data-theme=stranger] :is(button,.button,.prep-menu-link,#menuNav a,header>a,summary){background:#141923!important;background-image:none!important;color:#eef0f4!important;border:1px solid #536074!important;border-radius:2px!important;box-shadow:none!important;text-shadow:none!important;transform:none!important;font-family:Arial,Helvetica,sans-serif!important;font-weight:600;letter-spacing:.08em;font-size:1rem;line-height:1.4}
:root[data-theme=stranger] :is(button,.button,.prep-menu-link,#menuNav a,header>a):hover{background:#24202c!important;border-color:#e43b4d!important;box-shadow:0 0 15px #d5283b25!important}
:root[data-theme=stranger] :is(button,.button):active{background:#311923!important;box-shadow:none!important}
:root[data-theme=stranger] :is(button,a,input,select,textarea,summary):focus-visible{outline:2px solid #91c9e9!important;outline-offset:4px}
:root[data-theme=stranger] :is(.mode-card,.collection-card,.episode-chapter,.question-card,.panel,.prep-card,.report-summary,.account-card,.retry-briefing,.report-wrap,#leaderboardPanel,.battle-banner,.combat-hud>div,.answer-history details,.prep-content details,.wrong-answer,.prep-status,#linkCode,.battle-invite,.auto-advance-note,.theme-picker,.comic-dialog,dialog){background:#10131cf2!important;background-image:none!important;color:#e4e7ed!important;border:1px solid #414656!important;border-radius:2px!important;box-shadow:0 12px 35px #0007!important}
:root[data-theme=stranger] .mode-card{padding:1rem;transition:border-color .25s,box-shadow .25s}
:root[data-theme=stranger] .mode-card:hover{border-color:#a8273b!important;box-shadow:0 0 28px #a8273b22!important}
:root[data-theme=stranger] :is(.mode-image,.portrait,.vehicle-image,.theme-thumb){border:0!important;border-radius:0!important;box-shadow:none!important;filter:saturate(.65) contrast(1.07)}
:root[data-theme=stranger] .mode-image{height:auto!important;aspect-ratio:16/9!important}
:root[data-theme=stranger] :is(.question-card h1,#prompt,.prep-content .question){font-family:Arial,Helvetica,sans-serif!important;text-transform:none!important;letter-spacing:normal!important;text-shadow:none!important;color:#f1f2f5!important;font-weight:600!important;line-height:1.5}
:root[data-theme=stranger] :is(p,label,li,td,figcaption,.book-content,.book-source,.book-hint-source,.prep-content,.question-card,#questionSkill){color:#d9dfe8!important}
:root[data-theme=stranger] :is(input:not([type=checkbox]):not([type=radio]):not([type=range]),select,textarea){background:#0a0d14!important;color:#edf0f4!important;border:1px solid #596475!important;border-radius:2px!important;font-weight:400!important}
:root[data-theme=stranger] :is(#readingPassage,#passage,.book-passage){background:#0b1019!important;color:#e4e7ed!important;border-color:#6895af!important;line-height:1.65}
:root[data-theme=stranger] :is(#answerChoices button,#choices button,.prep-content .choice){background:#151b27!important;color:#edf0f4!important;border:1px solid #66758a!important;box-shadow:none!important;line-height:1.5;font-weight:400;letter-spacing:normal}
:root[data-theme=stranger] :is(#answerChoices .letter,#choices .letter){background:#283245!important;color:#f0f4f8!important;border:0!important;border-radius:2px!important}
:root[data-theme=stranger] :is(#answerChoices button.correct,.prep-content .choice.correct){background:#163d35!important;border-color:#76c6ad!important;color:#f1fff8!important}
:root[data-theme=stranger] :is(#answerChoices button.wrong,.prep-content .choice.wrong){background:#461d2a!important;border-color:#ed6676!important;color:#fff4f6!important}
:root[data-theme=stranger] :is(#choices .selected,.prep-content .choice[aria-pressed=true]){background:#243c54!important;border-color:#9bc9e9!important}
:root[data-theme=stranger] :is(#questionFeedback,#feedback,.cinema-copy,.cinema-copy p,.cinema-actions,.theme-story p,#transitionNote){background:#0b101cf2!important;color:#e5e9f0!important;border:1px solid #5b2336!important;box-shadow:none!important}
:root[data-theme=stranger] :is(.book-source,.book-hint-source){background:transparent!important;border-color:#414656!important;font-size:.875rem!important;color:#aeb8c7!important}
:root[data-theme=stranger] :is(table,th,td){background:#111823!important;color:#e4e7ed!important;border:1px solid #414d61!important;font-family:Arial,Helvetica,sans-serif!important}
:root[data-theme=stranger] th{background:#1c2636!important;font-weight:700!important;letter-spacing:.06em}
:root[data-theme=stranger] :is(tbody tr:nth-child(even),.leader){background:#172334!important}
:root[data-theme=stranger] :is(progress,meter){background:#0b0f18!important;border:1px solid #4a586c!important;accent-color:#b93349!important;border-radius:0!important}
:root[data-theme=stranger] progress::-webkit-progress-bar{background:#0b0f18!important}
:root[data-theme=stranger] progress::-webkit-progress-value{background:linear-gradient(90deg,#641b31,#e13750)!important}
:root[data-theme=stranger] progress::-moz-progress-bar{background:linear-gradient(90deg,#641b31,#e13750)!important}
:root[data-theme=stranger] :is(.roster-chip,.milestone-chip){border:1px solid #435167!important;box-shadow:none!important}
:root[data-theme=stranger] :is(dialog,.comic-dialog)::backdrop{background:#020308ed!important;backdrop-filter:blur(5px)}
:root[data-theme=stranger] #transitionFx{background:radial-gradient(ellipse at 50% 65%,#4c132666,#06070b 65%)!important}
:root[data-theme=stranger] #transitionFx[data-theme-variant] #transitionArt{animation:stranger-reveal 2.4s ease-in-out both!important;filter:saturate(.45) contrast(1.15) drop-shadow(0 0 24px #9d1c3544)!important}
:root[data-theme=stranger] :is(#transitionSpeaker,#transitionBurst,#attackOverlay h1){background:transparent!important;border:0!important;box-shadow:none!important;transform:none!important;font-family:HawkinsTitle,Georgia,serif!important;color:#ec374b!important;text-shadow:0 0 18px #df153f55!important;letter-spacing:.06em}
:root[data-theme=stranger] #transitionSpeaker{border-bottom:1px solid #a32339!important}
:root[data-theme=stranger] #transitionBurst{font-size:clamp(1.4rem,5vw,2.8rem)!important;line-height:1.3}
:root[data-theme=stranger] #attackOverlay{background:#050810!important}
:root[data-theme=stranger] #attackOverlay p{background:#0a0c15e8!important;border:1px solid #81243a!important;color:#e6e9ee!important;box-shadow:none!important;transform:none!important}
:root[data-theme=stranger] .theme-story-art{aspect-ratio:16/9!important;animation:stranger-camera 30s ease-in-out infinite alternate!important}
:root[data-theme=stranger] #rewardScene[data-themed=true] #cinemaBackdrop{animation:stranger-camera var(--theme-scene-time,25s) ease-in-out both!important}
@keyframes stranger-reveal{0%{opacity:0;transform:scale(.97);filter:blur(6px)}20%,80%{opacity:1;transform:scale(1);filter:blur(0)}100%{opacity:0;transform:scale(1.04);filter:blur(3px)}}
@keyframes stranger-camera{from{transform:scale(1);filter:brightness(.65) saturate(.65)}to{transform:scale(1.07);filter:brightness(.85) saturate(.75)}}
@media(prefers-reduced-motion:reduce){:root[data-theme=stranger] #transitionFx[data-theme-variant] #transitionArt,:root[data-theme=stranger] .theme-story-art,:root[data-theme=stranger] #rewardScene[data-themed=true] #cinemaBackdrop{animation:none!important;transform:none!important}:root[data-theme=stranger] .mode-card{transition:none}}
@media print{:root[data-theme=stranger] body,:root[data-theme=stranger] :is(.question-card,.prep-card,.report-wrap,table,th,td){background:white!important;color:black!important}:root[data-theme=stranger] body *{color:black!important;text-shadow:none!important}}

/* Retry study guidance must never inherit the Joe cyan panel. */
:root[data-theme=stranger] .study-tip-card{background:#0c1019!important;background-image:none!important;border:1px solid #853044!important;border-left:3px solid #ad3048!important;box-shadow:none!important;color:#e4e7ed!important;border-radius:2px!important}
:root[data-theme=stranger] .study-tip-card strong{display:block;color:#ed6173!important;font-weight:600!important;font-size:1rem!important;letter-spacing:.12em!important;line-height:1.5!important}
:root[data-theme=stranger] .study-tip-card p{color:#e1e6ef!important;font-size:1.1rem!important;line-height:1.65!important}

/* Phantom uses actual production footage and an opera-house palette. */
:root[data-theme=phantom]{--comic-ink:#090708;--comic-paper:#171015;--comic-yellow:#d4b46c;--comic-blue:#251520;--comic-red:#922536;--theme-accent:#d4b46c;--theme-head:#eddbb4;background:#090708;color:#eddbb4;font-family:Georgia,serif}
:root[data-theme=phantom] :is(h1,h2,h3,.theme-brand){font-family:Georgia,serif!important;font-weight:700;letter-spacing:.07em;color:#e0c286;text-shadow:0 2px 12px #9a122944}
:root[data-theme=phantom] :is(button,input,select,.prep-menu-link){font-family:Georgia,serif!important;background:#1e131b;color:#f3e4c7;border:1px solid #a3844b;box-shadow:none}
:root[data-theme=phantom] :is(.game-view,.question-card,.mode-card,.collection-card,.study-tip-card,.retry-briefing,dialog){background:#171015!important;color:#f3e4c7;border:1px solid #725536;box-shadow:0 12px 35px #0008}
:root[data-theme=phantom] :is(.account-art,.theme-thumb,.mode-image){background-image:url('/trainer/assets/themes/phantom/footage-0.webp');background-size:contain;background-repeat:no-repeat;background-position:center}
.game-header{display:flex!important;flex-wrap:nowrap!important;align-items:center;gap:clamp(4px,1vw,12px)}
.game-header>img{width:clamp(55px,15vw,145px);height:auto;flex-shrink:0}.game-header>.theme-brand{max-width:24%;font-size:clamp(.65rem,2.2vw,1.25rem)!important;line-height:1.1;flex-shrink:1}.game-header>#modeTitle{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:clamp(.65rem,2vw,1.1rem)!important}.game-header>button{flex-shrink:0;white-space:nowrap;font-size:clamp(.65rem,2.1vw,1.05rem)!important;padding:clamp(8px,2vw,14px)!important}
.real-reward-video{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;background:#050506;z-index:1}#rewardScene[data-real-footage=true] #cinemaBackdrop{visibility:hidden}#rewardScene[data-real-footage=true][data-poster=false] #cinemaActor{visibility:hidden}#rewardScene[data-poster=true] #cinemaActor{z-index:3;background-size:contain!important}#rewardScene .cinema-reveal{z-index:4}#rewardScene .cinema-reward-stamp{z-index:5}

/* Theatre skins: velvet, brass, programme typography, and quiet controls. */
:root:is([data-theme=phantom],[data-theme=broadway]){--ink:#eee3cc;--yellow:#c9a86c;--cyan:#2b1820;--theme-bg:#0c080b;--theme-head:#f0dfb9;--theme-accent:#c9a86c}
:root:is([data-theme=phantom],[data-theme=broadway]) body{background:#10090d!important;background-image:radial-gradient(ellipse at top,#3e1524 0,transparent 65%),linear-gradient(90deg,#090609,#201019 50%,#090609)!important;color:#eee3cc!important;font-family:Georgia,'Times New Roman',serif!important;font-weight:400!important}
:root:is([data-theme=phantom],[data-theme=broadway]) :is(p,label,li,td,span,input,select,button,.book-content,.book-source,.question-card,.study-tip-card){font-family:Georgia,'Times New Roman',serif!important;font-weight:400;letter-spacing:normal!important;text-shadow:none!important}
:root:is([data-theme=phantom],[data-theme=broadway]) :is(h1,h2,h3,strong,.theme-brand,.game-header){font-family:Georgia,'Times New Roman',serif!important;color:#e6cc99!important;text-shadow:none!important;font-weight:400!important;letter-spacing:.045em!important;line-height:1.3}
:root:is([data-theme=phantom],[data-theme=broadway]) :is(.mode-card,.question-card,.prep-card,.collection-card,.account-card,.study-tip-card,.retry-briefing,.report-wrap,dialog,.comic-dialog,.panel){background:#191017!important;background-image:none!important;color:#eee3cc!important;border:1px solid #826b43!important;border-radius:3px!important;box-shadow:0 12px 32px #0006!important;transform:none!important}
:root:is([data-theme=phantom],[data-theme=broadway]) :is(.mode-card,.question-card,.prep-card,.collection-card,.study-tip-card,dialog)::before,:root:is([data-theme=phantom],[data-theme=broadway]) :is(.mode-card,.question-card,.prep-card,.collection-card,.study-tip-card,dialog)::after{background:none!important;box-shadow:none!important}
:root:is([data-theme=phantom],[data-theme=broadway]) :is(button,.prep-menu-link,.comic-dialog button){background:linear-gradient(#33212a,#1d1219)!important;background-image:linear-gradient(#33212a,#1d1219)!important;color:#f0dfb9!important;border:1px solid #b19359!important;border-radius:3px!important;box-shadow:0 2px 8px #0004!important;transform:none!important;text-transform:none!important;font-size:1rem;line-height:1.4}
:root:is([data-theme=phantom],[data-theme=broadway]) button:hover{background:#49313a!important;border-color:#ead19b!important}
:root:is([data-theme=phantom],[data-theme=broadway]) :is(input,select,textarea){background:#0c090d!important;color:#eee3cc!important;border:1px solid #826b43!important;border-radius:3px!important;box-shadow:none!important}
:root:is([data-theme=phantom],[data-theme=broadway]) :is(.game-header,header){background:#0c080beF!important;background-image:none!important;border-bottom:1px solid #ae8b4f!important;box-shadow:0 5px 24px #0008!important}
:root:is([data-theme=phantom],[data-theme=broadway]) :is(.game-view,.question-screen){background:transparent!important;border:0!important;box-shadow:none!important}
:root:is([data-theme=phantom],[data-theme=broadway]) :is(#readingPassage,#passage,.book-passage,#questionFeedback,#feedback,.study-tip-card,.cinema-copy,.cinema-copy p,.cinema-actions,.theme-story p,#transitionNote){background:#21141d!important;color:#eee3cc!important;border:1px solid #826b43!important;box-shadow:none!important;transform:none!important}
:root:is([data-theme=phantom],[data-theme=broadway]) :is(#questionPrompt,#prompt,.question-card h1,.book-content){color:#fff1d8!important;font-size:clamp(1.15rem,2.5vw,1.7rem);line-height:1.55!important;text-transform:none!important}
:root:is([data-theme=phantom],[data-theme=broadway]) :is(#answerChoices button,#choices button){background:#271923!important;color:#fff1d8!important;border:1px solid #8b744c!important;text-align:left!important}
:root:is([data-theme=phantom],[data-theme=broadway]) :is(#answerChoices .letter,#choices .letter){background:#422b35!important;color:#e8cf9c!important;border:1px solid #947a4f!important;box-shadow:none!important;font-family:Georgia,serif!important}
:root:is([data-theme=phantom],[data-theme=broadway]) :is(button.correct,.choice.correct){background:#18382b!important;border-color:#75ad89!important}
:root:is([data-theme=phantom],[data-theme=broadway]) :is(button.wrong,.choice.wrong){background:#4a1725!important;border-color:#c9657b!important}
:root:is([data-theme=phantom],[data-theme=broadway]) :is(.book-source,.book-hint-source){background:transparent!important;border:0!important;border-top:1px solid #665039!important;color:#bdae97!important;font-size:.875rem!important}
:root:is([data-theme=phantom],[data-theme=broadway]) :is(table,th,td){background:#1e141b!important;color:#eee3cc!important;border:1px solid #6e5737!important;font-family:Georgia,serif!important}
:root:is([data-theme=phantom],[data-theme=broadway]) :is(#transitionFx,#attackOverlay){background:radial-gradient(ellipse at center,#3b1828,#080609 75%)!important}
:root:is([data-theme=phantom],[data-theme=broadway]) :is(#transitionSpeaker,#transitionBurst){background:#130b12dd!important;color:#e8cf9c!important;border:1px solid #ad8b51!important;box-shadow:none!important;transform:none!important;font-family:Georgia,serif!important}
:root:is([data-theme=phantom],[data-theme=broadway]) :is(.cinematic-world,.cinematic-veil){opacity:.15!important;background-image:none!important}
:root:is([data-theme=phantom],[data-theme=broadway]) .cinema-reveal{background:repeating-linear-gradient(90deg,#230913,#64162e 12%,#300c1b 24%)!important;border:0!important;box-shadow:inset 0 0 35px #000b!important}
:root:is([data-theme=phantom],[data-theme=broadway]) :is(.cinema-reward-stamp,.cinematic-streak){background:#160c13eF!important;border:1px solid #b49359!important;color:#eeddb8!important;box-shadow:none!important;transform:none!important;font-family:Georgia,serif!important}
:root:is([data-theme=phantom],[data-theme=broadway]) .roster-chip{border:1px solid #9a7c49!important;box-shadow:none!important;background-color:#130d13}
:root[data-theme=phantom] .theme-brand.phantom-logo{width:clamp(82px,22vw,120px);aspect-ratio:1.35;overflow:hidden;display:block;flex-shrink:0;max-width:24%;line-height:0!important}
:root[data-theme=phantom] .phantom-logo img{width:100%;height:auto;display:block}
:root[data-theme=phantom] .game-header{height:auto!important;min-height:84px!important}
:root[data-theme=phantom] #rewardScene[data-character-reward=true] #cinemaActor{visibility:visible!important;width:60%!important;left:20%!important;height:80%!important;top:10%!important;bottom:auto!important;aspect-ratio:auto!important;background-size:contain!important;animation:none!important;border:0!important;box-shadow:none!important;filter:drop-shadow(0 8px 18px #000b)}

/* Transformers belongs to the same bold cartoon/comic family as Yo Joe. */
:root[data-theme=transformers]{--comic-ink:#071b35;--comic-paper:#f5f5db;--comic-yellow:#ffe027;--comic-cyan:#22e0ef;--comic-red:#ef3446;--theme-head:#ffe027;--theme-accent:#22e0ef;--theme-bg:#071b35}
:root[data-theme=transformers] body{font-family:Comic,'Comic Sans MS',cursive!important;font-weight:700!important;background:#071b35!important;background-image:radial-gradient(#235487 2px,transparent 2px)!important;background-size:12px 12px!important}
:root[data-theme=transformers] :is(h1,h2,h3,strong,button,.theme-brand,#transitionBurst,#transitionSpeaker,.cinema-reward-stamp){font-family:Bangers,Comic,cursive!important;letter-spacing:.04em!important}
:root[data-theme=transformers] :is(.mode-card,.question-card,.collection-card,.account-card,dialog,.study-tip-card){border:4px solid #000!important;border-radius:0!important;box-shadow:7px 7px #000!important;background-image:radial-gradient(#0001 1px,transparent 1px)!important;background-size:8px 8px!important}
:root[data-theme=transformers] :is(button,.prep-menu-link){border:3px solid #000!important;border-radius:0!important;box-shadow:4px 4px #000,6px 6px #ef3446!important;background:#ffe027!important;color:#071b35!important;transform:none!important}
:root[data-theme=transformers] .game-header{background:#ffe027!important;border-bottom:5px solid #000!important;color:#071b35!important}
:root[data-theme=transformers] .theme-brand{color:#071b35!important}
:root[data-theme=transformers] :is(#transitionSpeaker,#transitionBurst){border:4px solid #000!important;box-shadow:7px 7px #000!important;background:#ffe027!important;color:#071b35!important}

/* Michael Jackson: signature wordmark, concert lighting, black/silver/red. */
:root[data-theme=mj]{--ink:#edf0f3;--yellow:#e9ecef;--cyan:#17191f;--comic-ink:#111217;--comic-paper:#17191f;--comic-yellow:#e9ecef;--comic-cyan:#25272f;--comic-red:#be172c;--theme-bg:#06070a;--theme-accent:#c91b35;--theme-head:#f7f8fa;color-scheme:dark}
:root[data-theme=mj] body{background:#06070a!important;background-image:radial-gradient(ellipse at 15% 0,#bbc8dd14,transparent 48%),radial-gradient(ellipse at 85% 0,#a311251b,transparent 42%),linear-gradient(#08090c,#111218 50%,#050507)!important;background-attachment:fixed!important;color:#edf0f3!important;font-family:Arial,Helvetica,sans-serif!important;font-weight:400!important}
:root[data-theme=mj] :is(p,span,label,li,td,figcaption,button,input,select,textarea,.book-content,.book-source,.book-hint-source,.question-card,.study-tip-card){font-family:Arial,Helvetica,sans-serif!important;letter-spacing:normal!important;font-weight:400;text-shadow:none!important}
:root[data-theme=mj] :is(h1,h2,h3,strong,.game-header,#transitionBurst,#transitionSpeaker,.cinema-reward-stamp,.cinematic-streak){font-family:Arial,Helvetica,sans-serif!important;font-weight:800!important;letter-spacing:.065em!important;line-height:1.2!important;text-shadow:none!important;color:#f7f8fa!important}
:root[data-theme=mj] :is(.game-header,.prep-header,header){background:#07080bf5!important;background-image:none!important;border:0!important;border-bottom:1px solid #666a75!important;box-shadow:0 4px 24px #0007!important;color:#f7f8fa!important}
:root[data-theme=mj] .theme-brand.mj-logo{width:clamp(90px,24vw,150px);height:auto;aspect-ratio:455/265;max-width:25%;display:block;flex-shrink:0;background-image:url('/trainer/assets/themes/mj/logo-reference.jpg?v=52');background-size:337.6% 559.2%;background-position:50% 4.93%;background-repeat:no-repeat;filter:invert(1);font-size:0!important;line-height:0!important;overflow:hidden;color:transparent!important}
:root[data-theme=mj] .game-header{height:auto!important;min-height:76px!important}
:root[data-theme=mj] :is(.game-view,.question-screen,.prep-content){background:transparent!important;color:#edf0f3!important;border:0!important;box-shadow:none!important}
:root[data-theme=mj] :is(.mode-card,.question-card,.collection-card,.account-card,.prep-card,.panel,.report-wrap,.study-tip-card,.retry-briefing,dialog,.comic-dialog){background:linear-gradient(145deg,#20232c,#101116)!important;background-image:linear-gradient(145deg,#20232c,#101116)!important;color:#edf0f3!important;border:1px solid #565b68!important;border-radius:8px!important;box-shadow:0 12px 32px #0007!important;transform:none!important}
:root[data-theme=mj] :is(.mode-card,.question-card,.collection-card,.prep-card,.study-tip-card,dialog,.comic-dialog)::before,:root[data-theme=mj] :is(.mode-card,.question-card,.collection-card,.prep-card,.study-tip-card,dialog,.comic-dialog)::after{background:none!important;border:0!important;box-shadow:none!important}
:root[data-theme=mj] .mode-card{border-top:2px solid #c91b35!important;padding:1.2rem!important}
:root[data-theme=mj] .mode-card h2{font-size:clamp(1.3rem,3vw,1.8rem)!important;margin:.75rem 0!important}
:root[data-theme=mj] :is(.mode-image,.portrait,.vehicle-image,.theme-thumb){border:0!important;box-shadow:none!important;border-radius:4px;background-color:#06070b!important}
:root[data-theme=mj] :is(button,.prep-menu-link,.comic-dialog button){background:linear-gradient(#30333c,#1e2028)!important;color:#f7f8fa!important;border:1px solid #8a909d!important;border-radius:5px!important;box-shadow:0 3px 12px #0005!important;transform:none!important;font-size:1rem!important;font-family:Arial,Helvetica,sans-serif!important;font-weight:700!important;text-transform:none!important;line-height:1.4!important;letter-spacing:.02em!important;text-shadow:none!important}
:root[data-theme=mj] button:hover{border-color:#f0f3f7!important;background:#393d48!important}
:root[data-theme=mj] :is(.mode-card>button,#nextQuestion,#continueQuestion,#skipReward,#startIntro){background:linear-gradient(#bd1930,#851324)!important;border-color:#e8495e!important;color:#fff!important}
:root[data-theme=mj] :is(input,select,textarea){background:#090a0f!important;color:#edf0f3!important;border:1px solid #767d8b!important;border-radius:4px!important;box-shadow:none!important;font-weight:400!important}
:root[data-theme=mj] :is(#questionPrompt,#prompt,.question-card h1,.book-content){color:#f2f4f7!important;font-family:Arial,Helvetica,sans-serif!important;font-weight:500!important;letter-spacing:normal!important;text-transform:none!important;line-height:1.55!important;font-size:clamp(1.15rem,2.5vw,1.65rem)!important}
:root[data-theme=mj] :is(#answerChoices button,#choices button,.prep-content .choice){background:#1d2028!important;color:#f2f4f7!important;border:1px solid #777f8d!important;border-radius:5px!important;box-shadow:none!important;line-height:1.5!important;text-align:left!important;font-weight:400!important}
:root[data-theme=mj] :is(#answerChoices .letter,#choices .letter){background:#373d49!important;color:#f7f8fa!important;border:0!important;border-radius:3px!important;box-shadow:none!important;font-family:Arial,Helvetica,sans-serif!important;font-weight:700!important}
:root[data-theme=mj] :is(button.correct,.choice.correct){background:#153b30!important;border-color:#72c2a1!important;color:#eafff5!important}
:root[data-theme=mj] :is(button.wrong,.choice.wrong){background:#461724!important;border-color:#e45a74!important;color:#fff3f5!important}
:root[data-theme=mj] :is(#readingPassage,#passage,.book-passage,#questionFeedback,#feedback,.cinema-copy,.cinema-copy p,.cinema-actions,.theme-story p,#transitionNote){background:#11141cF2!important;color:#edf0f3!important;border:1px solid #626a7c!important;border-radius:5px!important;box-shadow:none!important;transform:none!important;line-height:1.55!important}
:root[data-theme=mj] .study-tip-card{border-left:3px solid #c91b35!important}
:root[data-theme=mj] :is(.book-source,.book-hint-source){background:transparent!important;color:#adb5c4!important;border:0!important;border-top:1px solid #454b58!important;border-radius:0!important;font-size:.875rem!important}
:root[data-theme=mj] :is(table,th,td){background:#151820!important;color:#edf0f3!important;border:1px solid #495263!important;font-family:Arial,Helvetica,sans-serif!important}
:root[data-theme=mj] th{background:#272d39!important;font-weight:700!important}
:root[data-theme=mj] :is(.roster-chip,.milestone-chip){border:1px solid #8c94a1!important;border-radius:3px;box-shadow:none!important;background-color:#090b10!important}
:root[data-theme=mj] :is(progress,meter){accent-color:#d0253d!important;background:#0a0c11!important;border:1px solid #5a6371!important;border-radius:3px!important}
:root[data-theme=mj] progress::-webkit-progress-bar{background:#0a0c11!important} :root[data-theme=mj] progress::-webkit-progress-value{background:linear-gradient(90deg,#8e1428,#e02b45)!important}
:root[data-theme=mj] :is(#transitionFx,#attackOverlay){background:radial-gradient(ellipse at 50% 0,#858ea733,transparent 55%),#030407!important;background-image:radial-gradient(ellipse at 50% 0,#858ea733,transparent 55%)!important}
:root[data-theme=mj] :is(#transitionSpeaker,#transitionBurst,.cinematic-streak,.cinema-reward-stamp){background:#090b11dd!important;color:#f8f9fb!important;border:1px solid #949dab!important;border-radius:3px!important;box-shadow:none!important;transform:none!important;font-family:Arial,Helvetica,sans-serif!important;letter-spacing:.04em!important}
:root[data-theme=mj] #transitionArt{border:0!important;box-shadow:0 0 55px #aebad329!important;background-size:contain!important;filter:none!important}
:root[data-theme=mj] .cinematic-video{border:0!important;border-radius:3px!important;box-shadow:0 0 65px #aebad322!important}
:root[data-theme=mj] :is(.cinematic-world,.cinematic-veil){opacity:.18!important;background-image:none!important}
:root[data-theme=mj] .cinema-reveal{background:linear-gradient(90deg,#030406,#242a36,#030406)!important;border:0!important;box-shadow:none!important}
:root[data-theme=mj] .theme-option[data-theme-choice=mj] .theme-thumb{background-image:url('/trainer/assets/themes/mj/logo-reference.jpg?v=52')!important;background-size:337.6% 559.2%!important;background-position:50% 4.93%!important;filter:invert(1)}
:root[data-theme=mj] :is(dialog,.comic-dialog)::backdrop{background:#020308ed!important;backdrop-filter:blur(5px)}
:root[data-theme=mj] :is(.question-card,.mode-card,.collection-card,.study-tip-card) p{color:#d6dce6!important}
@media(max-width:600px){:root[data-theme=mj] .game-header>button{font-size:.75rem!important;padding:.65rem!important}:root[data-theme=mj] #modeTitle{font-size:.75rem!important}:root[data-theme=mj] .mode-card{padding:1rem!important}}
@media print{:root[data-theme=mj] body,:root[data-theme=mj] :is(.question-card,.prep-card,table,th,td){background:white!important;color:black!important}:root[data-theme=mj] body *{color:black!important;text-shadow:none!important}}
:root[data-theme=mj] :is(.episode-chapter,.report-summary,.theme-picker,.theme-option,.question-art,.intro-copy){background:#151820!important;background-image:none!important;color:#edf0f3!important;border:1px solid #5b6372!important;border-radius:6px!important;box-shadow:0 8px 24px #0006!important;transform:none!important}
:root[data-theme=mj] :is(.button,header>a,.prep-header>a){background:#1d2028!important;color:#eef1f7!important;border:1px solid #777f8d!important;border-radius:4px!important;box-shadow:none!important;font-family:Arial,Helvetica,sans-serif!important;text-shadow:none!important;transform:none!important}
:root[data-theme=mj] :is(.episode-chapter,.report-summary,.theme-picker,.intro-copy) :is(h1,h2,h3,p,strong){color:#edf0f3!important}
:root[data-theme=mj] :is(.mode-image,.portrait,#transitionArt){background-size:contain!important;background-repeat:no-repeat!important}
