body[data-season-case=true] #game-dialog{background:#10262e;border:1px solid #bba272;border-radius:14px;color:#f0e5cb}body[data-season-case=true] #game-dialog .game-body,body[data-season-case=true] #game-dialog .host-briefing{background:radial-gradient(ellipse at top right,#304d53,#10262e 80%);color:#f0e5cb}body[data-season-case=true] #game-dialog .game-body>h2{font-family:Georgia,serif;color:#efdab0}body[data-season-case=true] #game-dialog .game-description{color:#cad4cf}body[data-season-case=true] #game-dialog>.cinema-scene,body[data-season-case=true] #featured{background:radial-gradient(circle at 80% 40%,#bba27222,transparent 40%),repeating-linear-gradient(100deg,#152e37 0 30px,#1b363e 30px 31px)}body[data-season-case=true] .cinema-scene:after{content:'✧';position:absolute;right:10%;top:35px;font-size:95px;line-height:1;color:#d8bd82}.case-feature-seal{position:absolute;right:8%;top:15%;font-size:150px;color:#d8bd82}.case-feature-seal small{display:block;font:11px var(--body);letter-spacing:.2em}.case-question{margin:24px 0}.case-question h3{font:600 23px/1.4 var(--body);color:#f5e8cf}body[data-season-case=true] .screening-room{max-width:620px;margin:18px auto}body[data-season-case=true] .screening-room video{width:100%;max-height:300px;object-fit:contain;background:#071317;border:1px solid #bda77c66;border-radius:10px}body[data-season-case=true] .screening-room figcaption{font-size:11px;color:#bbc8c5;margin-top:7px}.case-transcript{padding:12px 16px;border:1px solid #ffffff25;border-radius:8px;color:#dce5dc;font-size:13px;line-height:1.6}.case-transcript summary{cursor:pointer}body[data-season-case=true] #game-dialog .answer{background:#24424a;color:#f0e6d1;border:1px solid #8c9d91;border-radius:8px;padding:18px}body[data-season-case=true] #game-dialog .play-primary{background:#dec18b;color:#162d34;border:0;border-radius:8px}body[data-season-case=true] #game-dialog .secondary-button{color:#ebdbb8;border-color:#8f9d91;background:#203841}.case-workpad{padding:18px;background:#0b1e25;border:1px solid #bda77c66;border-radius:12px;margin:20px 0}.case-pad-tools{display:flex;gap:10px;flex-wrap:wrap;margin:10px 0}.case-pad-tools button[aria-pressed=true]{outline:2px solid #dec18b}#case-canvas{display:block;width:100%;height:auto;aspect-ratio:900/420;background:#f1e5cc;touch-action:none;border-radius:5px;cursor:crosshair}.case-workpad p{font-size:12px;line-height:1.6}.case-workpad label,#case-math-form label{display:block;margin:16px 0 8px}#case-notes,#case-number{box-sizing:border-box;width:100%;background:#f1e5cc;color:#183039;border:1px solid #bca77c;padding:13px;border-radius:6px;font:16px var(--body)}#case-number{max-width:180px;display:block}#case-math-help{font-size:12px}#case-result:not(:empty){display:grid;justify-items:start;gap:20px;margin-top:24px}#case-result .feedback{box-sizing:border-box;width:100%;background:#24434b;color:#f0e5cb;border-color:#dec18b;margin:0;padding:20px}.case-check{display:flex;gap:10px;align-items:baseline;line-height:1.6;margin:12px 0}.case-check input{accent-color:#d9bd82}.case-seal{width:140px;height:140px;border:3px double #d8bd82;border-radius:50%;display:grid;place-content:center;text-align:center;font:700 22px/1.2 Georgia;color:#e4c890;margin:25px auto}.case-tally{text-align:center;font-size:18px}.dashboard [data-season-cover=true] .cover{background:radial-gradient(circle at 50% 25%,#567078,#10262e 70%);color:#e4c890;border:1px solid #ba9c65}.dashboard [data-season-cover=true] .catalog-emblem{color:#e4c890;font-size:90px}.dashboard [data-season-cover=true] .cover strong{font-family:Georgia,serif}@media(max-width:640px){.case-workpad{padding:12px}.case-pad-tools{gap:8px}.case-pad-tools button{font-size:12px}.case-question h3{font-size:20px}.case-feature-seal{opacity:.25}}


.case-order{list-style:none;padding:0;display:grid;gap:12px}.case-order li{display:flex;align-items:center;gap:10px;padding:15px;background:#ffffff0d;border:1px solid #ffffff35;border-radius:8px}.case-order li span{flex:1}.case-cinema-ribbon{font-size:10px;letter-spacing:.12em;display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:12px 0;border-block:1px solid #ffffff25;margin:16px 0}
body[data-adventure=lighthouse-zero] #game-dialog{background:#102d3d;border-color:#e5ba70}body[data-adventure=lighthouse-zero] #game-dialog .game-body,body[data-adventure=lighthouse-zero] #game-dialog .host-briefing{background:linear-gradient(145deg,#102d3d,#0b101a);color:#f4ead9}body[data-adventure=lighthouse-zero] #game-dialog .play-primary{background:#e5ba70;color:#102d3d}body[data-adventure=lighthouse-zero] .case-cinema-ribbon{color:#e5ba70}
body[data-adventure=velvet-vault] #game-dialog{background:#302036;border-color:#e7bb81}body[data-adventure=velvet-vault] #game-dialog .game-body,body[data-adventure=velvet-vault] #game-dialog .host-briefing{background:linear-gradient(145deg,#302036,#0b101a);color:#f4ead9}body[data-adventure=velvet-vault] #game-dialog .play-primary{background:#e7bb81;color:#302036}body[data-adventure=velvet-vault] .case-cinema-ribbon{color:#e7bb81}
body[data-adventure=platform-thirteen] #game-dialog{background:#222239;border-color:#bfc7e7}body[data-adventure=platform-thirteen] #game-dialog .game-body,body[data-adventure=platform-thirteen] #game-dialog .host-briefing{background:linear-gradient(145deg,#222239,#0b101a);color:#f4ead9}body[data-adventure=platform-thirteen] #game-dialog .play-primary{background:#bfc7e7;color:#222239}body[data-adventure=platform-thirteen] .case-cinema-ribbon{color:#bfc7e7}
body[data-adventure=abyssal-archive] #game-dialog{background:#082b38;border-color:#7fe0d1}body[data-adventure=abyssal-archive] #game-dialog .game-body,body[data-adventure=abyssal-archive] #game-dialog .host-briefing{background:linear-gradient(145deg,#082b38,#0b101a);color:#f4ead9}body[data-adventure=abyssal-archive] #game-dialog .play-primary{background:#7fe0d1;color:#082b38}body[data-adventure=abyssal-archive] .case-cinema-ribbon{color:#7fe0d1}
body[data-adventure=emerald-engine] #game-dialog{background:#153c2d;border-color:#d7db87}body[data-adventure=emerald-engine] #game-dialog .game-body,body[data-adventure=emerald-engine] #game-dialog .host-briefing{background:linear-gradient(145deg,#153c2d,#0b101a);color:#f4ead9}body[data-adventure=emerald-engine] #game-dialog .play-primary{background:#d7db87;color:#153c2d}body[data-adventure=emerald-engine] .case-cinema-ribbon{color:#d7db87}
body[data-adventure=sugar-street] #game-dialog{background:#49303a;border-color:#efb5ab}body[data-adventure=sugar-street] #game-dialog .game-body,body[data-adventure=sugar-street] #game-dialog .host-briefing{background:linear-gradient(145deg,#49303a,#0b101a);color:#f4ead9}body[data-adventure=sugar-street] #game-dialog .play-primary{background:#efb5ab;color:#49303a}body[data-adventure=sugar-street] .case-cinema-ribbon{color:#efb5ab}
body[data-adventure=clockwork-letter] #game-dialog{background:#382e22;border-color:#dcc083}body[data-adventure=clockwork-letter] #game-dialog .game-body,body[data-adventure=clockwork-letter] #game-dialog .host-briefing{background:linear-gradient(145deg,#382e22,#0b101a);color:#f4ead9}body[data-adventure=clockwork-letter] #game-dialog .play-primary{background:#dcc083;color:#382e22}body[data-adventure=clockwork-letter] .case-cinema-ribbon{color:#dcc083}
body[data-adventure=neon-last-life] #game-dialog{background:#222044;border-color:#acf277}body[data-adventure=neon-last-life] #game-dialog .game-body,body[data-adventure=neon-last-life] #game-dialog .host-briefing{background:linear-gradient(145deg,#222044,#0b101a);color:#f4ead9}body[data-adventure=neon-last-life] #game-dialog .play-primary{background:#acf277;color:#222044}body[data-adventure=neon-last-life] .case-cinema-ribbon{color:#acf277}
body[data-adventure=whiteout-rescue] #game-dialog{background:#223748;border-color:#d2e2f0}body[data-adventure=whiteout-rescue] #game-dialog .game-body,body[data-adventure=whiteout-rescue] #game-dialog .host-briefing{background:linear-gradient(145deg,#223748,#0b101a);color:#f4ead9}body[data-adventure=whiteout-rescue] #game-dialog .play-primary{background:#d2e2f0;color:#223748}body[data-adventure=whiteout-rescue] .case-cinema-ribbon{color:#d2e2f0}
body[data-adventure=velvet-curtain] #game-dialog{background:#3a1830;border-color:#f0b2c8}body[data-adventure=velvet-curtain] #game-dialog .game-body,body[data-adventure=velvet-curtain] #game-dialog .host-briefing{background:linear-gradient(145deg,#3a1830,#0b101a);color:#f4ead9}body[data-adventure=velvet-curtain] #game-dialog .play-primary{background:#f0b2c8;color:#3a1830}body[data-adventure=velvet-curtain] .case-cinema-ribbon{color:#f0b2c8}
body[data-adventure=neon-last-life] #game-dialog{border-radius:0;box-shadow:0 0 24px #acf27735}body[data-adventure=neon-last-life] #game-dialog h2,body[data-adventure=neon-last-life] .case-cinema-ribbon{font-family:monospace;text-transform:uppercase}body[data-adventure=neon-last-life] .answer{border-radius:0!important}
body[data-adventure=sugar-street] #game-dialog .case-question{border:2px dashed #efb5ab;padding:20px;border-radius:20px}body[data-adventure=sugar-street] #game-dialog h2{font-style:italic}
body[data-adventure=abyssal-archive] #game-dialog .case-question{border-left:3px solid #7fe0d1;padding-left:20px}body[data-adventure=abyssal-archive] .case-cinema-ribbon{font-family:monospace}
body[data-adventure=velvet-vault] #game-dialog .case-question,body[data-adventure=velvet-curtain] #game-dialog .case-question{border:4px double #e7bb8166;padding:20px}body[data-adventure=velvet-vault] #game-dialog h2{letter-spacing:.04em}
body[data-adventure=whiteout-rescue] #game-dialog h2{font-family:var(--body);font-weight:800}body[data-adventure=clockwork-letter] .case-cinema-ribbon{border-style:dashed}body[data-adventure=emerald-engine] #game-dialog .answer{border-radius:20px 4px!important}

body[data-season-case=true] #game-dialog>.cinema-scene:after{display:none}

.dashboard [data-adventure=lighthouse-zero] .cover strong,.dashboard [data-adventure=platform-thirteen] .cover strong{font-family:Georgia,serif;font-weight:500}
.dashboard [data-adventure=velvet-vault] .cover strong{font-family:Georgia,serif;letter-spacing:.08em;text-transform:uppercase;font-size:27px}
.dashboard [data-adventure=sugar-street] .cover strong{font-family:Georgia,serif;font-style:italic;color:#ffe0d4}
.dashboard [data-adventure=neon-last-life] .cover strong{font-family:monospace;text-transform:uppercase;color:#acf277;text-shadow:3px 3px #8744ae}
.dashboard [data-adventure=abyssal-archive] .cover strong{font-family:monospace;text-transform:uppercase;font-size:27px;color:#b2f3df}
.dashboard [data-adventure=velvet-curtain] .cover strong{font-family:Georgia,serif;font-style:italic;color:#f0b2c8}
.dashboard [data-adventure=whiteout-rescue] .cover strong{text-transform:uppercase;font-weight:900;letter-spacing:-.03em}
.dashboard [data-adventure=clockwork-letter] .cover strong{font-family:Georgia,serif;color:#ead4a6}
.dashboard [data-adventure=emerald-engine] .cover strong{font-family:Georgia,serif;color:#e2e6af}

.case-replay-film{margin-top:12px}#case-film-status{display:block;margin-top:8px;font:12px/1.5 var(--body);color:#dbd7cd}

body[data-season-case=true] .screening-room .case-replay-film{margin:12px 14px 0}body[data-season-case=true] #case-film-status{padding:0 14px 12px}

/* Keep decorative artwork out of the cover's title space. */
body.dashboard .game-tile[data-adventure="observatory-case"] .catalog-emblem{
 position:absolute;top:38px;right:18px;margin:0;font-size:76px;line-height:1;pointer-events:none;
}
body.dashboard .game-tile .cover strong{
 flex-shrink:0;min-width:0;max-width:100%;white-space:normal;overflow-wrap:anywhere;text-wrap:balance;
}
body.dashboard .game-tile .cover small{flex-shrink:0}
body.dashboard .tile-title{white-space:normal;overflow-wrap:anywhere;line-height:1.45}
body.dashboard #featured .feature-copy h2,
body.dashboard #game-dialog .game-body>h2,
body.dashboard #game-dialog .cinema-scene h2{overflow-wrap:anywhere;text-wrap:balance}
@media(max-width:640px){
 body.dashboard .game-tile .cover strong{font-size:22px!important;line-height:1.1;overflow-wrap:normal;word-break:normal;letter-spacing:-.04em}
}

/* Compact progress is informational: chapters unlock through play. */
.case-journey{display:flex;gap:8px;list-style:none;margin:0 0 18px;padding:0}
.case-journey li{flex:1;min-width:0;border-top:3px solid #ffffff25;padding-top:7px;color:#c6bec5;font:600 11px/1.2 var(--body)}
.case-journey li.complete{border-color:#afd3b6;color:#afd3b6}
.case-journey li.current{border-color:var(--a-accent,#efdab0);color:#fff5e7}
.case-journey li.current span{display:inline-block;border-radius:4px;background:#ffffff14;padding:3px 5px;margin-top:-3px}
@media(max-width:640px){.case-journey{gap:6px}.case-journey li{font-size:10px}}

/* Evidence and answers share the first screen; guidance follows play. */
body.dashboard[data-season-case=true] #game-dialog .game-body>h2{font-size:clamp(25px,3vw,36px);line-height:1.15;margin:6px 0 10px}
body.dashboard[data-season-case=true] #game-dialog .game-body>.eyebrow{font-size:10px;margin:0 0 6px}
body.dashboard[data-season-case=true] #game-dialog .game-description{margin:0 0 16px;max-width:900px;line-height:1.55}
.case-play-stage{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px;align-items:start}
.case-play-stage--question-only{grid-template-columns:1fr}
.case-play-stage>*{min-width:0}
body[data-season-case=true] .case-play-stage .screening-room{margin:0;max-width:none}
.case-play-stage .case-transcript{margin-top:12px}
.case-play-stage .case-question{margin:0}
.case-play-stage .case-question>.eyebrow{margin-top:0}
.case-play-stage .case-question h3{margin:6px 0 16px;font-size:20px;line-height:1.35}
body[data-season-case=true] #game-dialog .case-play-stage .answer{padding:12px}
.case-chapter-controls{margin-top:24px;padding:14px 0;border-top:1px solid #ffffff25;color:#d8d3d9;font-size:12px}
.case-chapter-controls>summary{cursor:pointer;padding:4px 0}
.case-chapter-controls .guide-read{margin:0}
@media(max-width:700px){
 .case-play-stage{grid-template-columns:1fr;gap:16px}
 body.dashboard[data-season-case=true] #game-dialog .game-body{padding:16px}
 body.dashboard[data-season-case=true] #game-dialog>.cinema-scene{height:104px}
 body[data-season-case=true] .case-play-stage .screening-room video{max-height:170px}
 .case-play-stage .case-question h3{font-size:18px}
}
