*{box-sizing:border-box} :root{color-scheme:dark;--red:#cf2450;--paper:#f3f1f0;--muted:#9da5af}
/* Startup briefing is CSS-only: it never waits for the large PNG downloads. */
#loading-screen{z-index:30;background:radial-gradient(ellipse at 18% 5%,#47172b 0,transparent 55%),#080e17;backdrop-filter:none}
.briefing-card{width:1000px;max-width:94%;max-height:94%;overflow:auto;padding:28px 34px;border:1px solid #ffffff26;border-top:3px solid #d52a57;background:linear-gradient(135deg,#18212bed,#0c121ced);box-shadow:0 22px 80px #0008}
.briefing-header{display:flex;justify-content:space-between;gap:14px;padding-bottom:15px;border-bottom:1px solid #ffffff20;font:10px Consolas,monospace;letter-spacing:1px;color:#b4becb}
.briefing-grid{display:grid;grid-template-columns:1.1fr 1fr;gap:38px;margin:25px 0}
.briefing-story h2{font-size:clamp(25px,3.3vw,48px);line-height:1.02;letter-spacing:-1px;margin:12px 0 20px;font-weight:900}
.briefing-story h2 em{font-style:normal;color:#ff668b;display:block}
.briefing-story>p:not(.eyebrow){font-size:14px;line-height:1.65;color:#bdc9d4;margin:12px 0}.briefing-story strong{color:#fff0ed}
.briefing-signature{margin-top:22px;font:9px/1.5 Consolas,monospace;letter-spacing:1px;color:#fc8fa6}
.briefing-orders{padding-left:27px;border-left:1px solid #ffffff20}.briefing-orders ol{list-style:none;padding:0;margin:22px 0 0}
.briefing-orders li{display:flex;gap:16px;padding:0 0 22px;animation:briefing-in .8s both}.briefing-orders li:nth-child(2){animation-delay:.35s}.briefing-orders li:nth-child(3){animation-delay:.7s}
.briefing-orders li>span{font:24px Consolas,monospace;color:#ed6b89}.briefing-orders strong{font:700 12px/1.5 Consolas,monospace;letter-spacing:.6px}
.briefing-orders li p{color:#aabacb;font-size:12px;line-height:1.6;margin:5px 0 0}
.briefing-load{border-top:1px solid #ffffff20;padding-top:18px}.loading-readout{display:flex;justify-content:space-between;gap:10px;font:10px/1.4 Consolas,monospace;letter-spacing:1px;color:#c4d8df}
#loading-count{white-space:nowrap;color:#ec91a6}#loading-progress{display:block;appearance:none;width:100%;height:7px;border:0;background:#303b4a;accent-color:#e63d68;margin:12px 0}
#loading-progress::-webkit-progress-bar{background:#303b4a}#loading-progress::-webkit-progress-value{background:linear-gradient(90deg,#b81d45,#ff7190);transition:width .25s}
#loading-progress::-moz-progress-bar{background:#ec4a72}
#loading-hint{font:11px/1.6 Consolas,monospace;color:#a8b6c7;margin:9px 0 15px;min-height:18px}
.briefing-load .primary{margin:0}.loading-actions{display:flex;flex-wrap:wrap;gap:14px;justify-content:space-between}
.loading-actions button{background:none;border:1px solid #6c7b91;color:#d4dfe9;font:10px/1.5 Consolas,monospace;padding:9px 12px;margin-top:13px}
.loading-actions button:hover{border-color:#ff7397}.briefing-card noscript{display:block;padding:15px;color:#ffabbf}
@keyframes briefing-in{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
@media(max-height:740px){.briefing-card{padding:18px 25px}.briefing-grid{margin:16px 0;gap:26px}.briefing-story h2{font-size:34px;margin:9px 0 12px}.briefing-story>p:not(.eyebrow){font-size:12px;margin:8px 0}.briefing-orders li{padding-bottom:14px}.briefing-orders ol{margin-top:14px}.briefing-signature{margin-top:12px}.briefing-load{padding-top:12px}}
@media(max-width:650px){.briefing-grid{grid-template-columns:1fr;gap:18px}.briefing-header{font-size:8px}.briefing-header>span:last-child{display:none}.briefing-orders{padding-left:0;border-left:0}.briefing-story h2{font-size:30px}.briefing-card{padding:18px}.loading-readout{font-size:9px}}
@media(prefers-reduced-motion:reduce){.briefing-orders li{animation:none}#loading-progress::-webkit-progress-value{transition:none}}
html,body{margin:0;width:100%;height:100%;overflow:hidden;background:#080a0d;color:var(--paper);font-family:Arial,Helvetica,sans-serif}
body{display:grid;place-items:center}button{font:inherit;cursor:pointer}button:focus-visible{outline:2px solid #fff;outline-offset:5px}
#stage{position:relative;width:min(100vw,177.7778vh);height:min(100vh,56.25vw);overflow:hidden;background:#11151b}
#stage:fullscreen{width:100vw;height:100vh;display:grid;place-items:center}
#world{position:absolute;width:100%;height:100%;object-fit:contain;image-rendering:auto;inset:0;touch-action:none}
#stage:fullscreen #world{width:100%;height:100%}
.vignette{position:absolute;inset:0;pointer-events:none;background:radial-gradient(ellipse at 50% 46%,transparent 35%,#05060b45 100%)}
.topbar{position:absolute;top:0;left:0;right:0;padding:25px 30px 35px;display:flex;align-items:flex-start;justify-content:space-between;background:linear-gradient(#070b13df,transparent);pointer-events:none}
.brand{font-weight:900;font-size:24px;letter-spacing:5px;border-left:4px solid var(--red);padding-left:12px}.brand span{display:block;font-size:8px;letter-spacing:3.4px;margin-top:5px;color:#c3c4ca}
.location{text-align:center}.eyebrow{font:10px Consolas,monospace;letter-spacing:2px;color:var(--muted)}.location strong{display:block;font-size:13px;letter-spacing:3px;margin-top:7px}
.telemetry{font:10px Consolas,monospace;letter-spacing:1px;padding-top:4px}.telemetry #fps{display:block;text-align:right;color:var(--muted);margin-top:9px}.live-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:var(--red);margin-right:6px;box-shadow:0 0 10px #e62150}
.bottom-bar{position:absolute;bottom:0;left:0;right:0;padding:40px 30px 23px;display:flex;gap:20px;align-items:flex-end;justify-content:space-between;background:linear-gradient(transparent,#060a12ed)}
.mission strong{display:block;font-size:13px;font-weight:400;letter-spacing:.3px;margin-top:8px}.mission .eyebrow{color:#f16586}.quick-keys{display:flex;gap:16px;align-items:center;font:9px Consolas,monospace;letter-spacing:.5px;color:#ced0d7;white-space:nowrap}
kbd{font:inherit;border:1px solid #ffffff38;border-radius:2px;padding:3px 5px;color:#f8f8fa}.quick-keys button{border:1px solid #ffffff38;background:#11172299;padding:7px 9px;color:#ddd;font:inherit}
#crosshair{position:absolute;top:50%;left:50%;width:16px;height:16px;transform:translate(-50%,-50%);opacity:.65;pointer-events:none}#crosshair i{position:absolute;background:#fff}#crosshair i:nth-child(1){width:4px;height:1px;left:0;top:8px}#crosshair i:nth-child(2){width:4px;height:1px;right:0;top:8px}#crosshair i:nth-child(3){height:4px;width:1px;top:0;left:8px}#crosshair i:nth-child(4){height:4px;width:1px;bottom:0;left:8px}
#map-panel{position:absolute;right:25px;top:95px;background:#0a0f19eb;border:1px solid #ffffff29;padding:12px;width:288px;box-shadow:0 12px 45px #0007}.map-title{font:11px Consolas,monospace;letter-spacing:1px;display:flex;justify-content:space-between}.map-title span{color:#87909f;font-size:8px}#minimap{width:100%;height:auto;display:block;margin:8px 0}.map-legend{font:8px Consolas,monospace;color:#aab1bf;display:flex;gap:7px;align-items:center}.map-legend b{color:#fff}.map-legend span{margin-left:auto;color:#f15c81}
#notice{position:absolute;left:50%;top:22%;transform:translateX(-50%);background:#0a101bed;border-left:3px solid var(--red);padding:12px 18px;font:11px Consolas,monospace;letter-spacing:1px;opacity:0;transition:opacity .25s;pointer-events:none;text-align:center;max-width:70%;line-height:1.6}#notice.visible{opacity:1}
.overlay{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:linear-gradient(90deg,#060910bd,#090d1677);backdrop-filter:blur(3px)}[hidden]{display:none!important}
.entry-card{width:560px;max-width:94%;max-height:94%;overflow:auto;padding:30px 38px 24px;background:linear-gradient(145deg,#171c25f8,#0a0f18f5);border:1px solid #ffffff26;box-shadow:0 30px 100px #0009;border-top:3px solid var(--red)}
.entry-label{display:flex;align-items:center;font:9px Consolas,monospace;color:#aab2c0;letter-spacing:1px}.entry-label>span:last-child{margin-left:auto;color:#e7e9ed}.crimson{color:#ef567c;margin:27px 0 12px}h1{font-size:58px;line-height:1;letter-spacing:7px;margin:0;font-weight:900}h1 span{display:block;font-size:16px;letter-spacing:8px;margin-top:9px;font-weight:400}
#intro-text{font-size:23px;line-height:1.4;margin:23px 0 20px;color:#dfe3ea}.entry-rule{width:40px;height:2px;background:var(--red)}.build-label{font:10px Consolas,monospace;letter-spacing:2px;color:#ec6687;margin:20px 0 10px}.description{font-size:13px;line-height:1.6;color:#b7bdc8;margin-bottom:22px}.primary{width:100%;display:flex;justify-content:space-between;align-items:center;background:#b5123c;border:1px solid #dd315c;color:white;padding:15px 20px;font-size:12px;font-weight:700;letter-spacing:2px}.primary:hover{background:#ce1a49}.primary span{font-size:20px}.secondary{display:block;background:none;border:0;color:#a9b2c2;text-decoration:underline;text-underline-offset:4px;font-size:11px;margin:12px auto 0;padding:5px}
.controls{display:flex;flex-wrap:wrap;gap:13px 16px;margin-top:24px;font:9px Consolas,monospace;color:#c7cdd7;align-items:center}.footnote{font-size:9px;line-height:1.8;color:#798594;margin:20px 0 0}#input-status{color:#ff93ad;font-size:11px;line-height:1.5;margin:8px 0 0}#input-status:empty{display:none}
@media(max-height:760px){.entry-card{padding:20px 30px}.crimson{margin-top:18px}h1{font-size:45px}#intro-text{font-size:19px;margin:16px 0}.description{margin-bottom:15px}.controls{margin-top:16px}.footnote{margin-top:15px}}
@media(max-width:900px){.topbar{padding:18px 20px}.brand{font-size:19px}.telemetry{font-size:8px}.bottom-bar{padding:30px 20px 15px}.quick-keys{gap:8px;font-size:8px}.mission strong{font-size:11px}#map-panel{width:220px;top:80px;right:20px}.location strong{font-size:10px}.eyebrow{font-size:8px}}
@media(max-height:560px){.entry-card{max-height:96%;overflow:auto;padding:16px 25px}h1{font-size:34px}h1 span{font-size:12px}#intro-text,.entry-rule,.desktop-break{display:none}.crimson{margin:14px 0 8px}.description{font-size:11px}.footnote{margin-top:12px}.controls{font-size:8px}#map-panel{width:180px;top:72px}.quick-keys>span{display:none}}

/* V0.2: combat indicators stay clear of the weapon and the bottom objective. */
#combat-hud{position:absolute;left:30px;bottom:102px;display:flex;gap:25px;background:#0a111cd9;border-left:3px solid var(--red);padding:13px 18px;pointer-events:none}
#combat-hud>div>span{display:block;font:9px Consolas,monospace;letter-spacing:1px;color:#a9b7c5}
#combat-hud strong{display:block;font:26px Consolas,monospace;margin-top:5px;color:#f3f5f5}
#combat-hud small{font-size:14px;color:#a9b7c5}#weapon-status{font-weight:normal;color:#f27c9b}
#damage-overlay{position:absolute;inset:0;pointer-events:none;box-shadow:inset 0 0 120px 45px #cb164e;opacity:0}
#hit-marker{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);font:36px Arial;color:#fff3d2;opacity:0;pointer-events:none}
.menu-tools{display:flex;justify-content:center;gap:20px;margin-top:10px}.menu-tools button{background:none;border:1px solid #ffffff30;color:#bac4cf;font:10px Consolas,monospace;padding:7px 10px}
@media(max-width:900px){#combat-hud{left:20px;bottom:88px;gap:18px;padding:10px 13px}#combat-hud strong{font-size:20px}}
@media(max-height:560px){#combat-hud{bottom:66px;padding:7px 10px;gap:12px}#combat-hud strong{font-size:16px}#combat-hud>div>span{font-size:7px}}

/* A short crimson wash, separate from the neutral HUD. */
#damage-overlay{background:radial-gradient(ellipse at center,#ab123321 15%,#a90d4070 75%);box-shadow:inset 0 0 130px 65px #d11b49}
#damage-label{position:absolute;top:60%;left:50%;transform:translateX(-50%);font:700 15px Consolas,monospace;letter-spacing:2px;background:#490f23e0;color:#fff1ef;padding:9px 15px;border-left:3px solid #ff416e;pointer-events:none;opacity:0}

#interaction{position:absolute;left:50%;bottom:23%;transform:translateX(-50%);padding:10px 18px;background:#101c29ee;border:1px solid #dbb66d;color:#ffe4a1;font:12px Consolas,monospace;letter-spacing:1px;max-width:75%;text-align:center;pointer-events:none}
.mission{max-width:62%}.mission strong{line-height:1.45}
@media(max-width:900px){#combat-hud{gap:13px}#interaction{font-size:10px}.mission{max-width:65%}}

.visual-settings{display:flex;justify-content:center;gap:10px;flex-wrap:wrap;margin-top:12px}
.visual-settings button{font:10px Consolas,monospace;background:#202937;color:#e5eaf0;border:1px solid #596475;padding:9px 12px}
.visual-settings button:hover{border-color:#e35b7e}
button:disabled{cursor:wait;opacity:.55}
#asset-status{font:10px Consolas,monospace;text-align:center;color:#aab5c1;line-height:1.5;margin:10px 0 0}


/* V0.6: compact landing screen; settings stay folded until requested. */
.entry-card{padding:22px 32px;width:540px}.entry-card .crimson{margin:17px 0 10px}.entry-card h1{font-size:46px}
.entry-card #intro-text{font-size:19px;margin:15px 0}.entry-card .build-label{margin:12px 0 6px}.entry-card .description{margin:8px 0 16px}
#menu-options{margin-top:14px;border-top:1px solid #ffffff21;padding-top:12px}#menu-options summary{cursor:pointer;color:#b8c2ce;font:11px Consolas,monospace;letter-spacing:.5px}#menu-options .menu-tools{margin:12px 0}
.menu-credit{text-align:center;margin:9px 0 0;font-size:9px}#asset-status{font-size:9px;margin-top:10px;color:#90adab}#difficulty-status{display:block;text-align:right;font-size:9px;color:#edb65d;margin-top:7px}
.challenge-card,.relay-card{width:720px;max-width:94%;max-height:94%;overflow:auto;background:linear-gradient(135deg,#1c2330,#080d16);border:1px solid #ffffff26;border-top:3px solid var(--red);padding:26px 30px;box-shadow:0 30px 100px #000a}
.challenge-card .crimson{margin:0 0 10px}.challenge-card h2,.relay-card h2{font-size:28px;letter-spacing:1px;margin:0 0 10px;font-weight:900}#difficulty-help{font:11px Consolas,monospace;line-height:1.5;color:#adb8c8;margin:0 0 20px}
.difficulty-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.difficulty-card{--accent:#a6cec1;display:flex;flex-direction:column;text-align:left;padding:16px 18px;background:linear-gradient(140deg,#202a36,#111722);border:1px solid #ffffff25;color:#f6f2ef;transition:background .15s,border-color .15s}
.difficulty-card.normal{--accent:#90bada}.difficulty-card.hardcore{--accent:#e7b373}.difficulty-card.inferno{--accent:#fa5276;background:linear-gradient(140deg,#341b29,#15131e)}
.difficulty-card:hover,.difficulty-card:focus-visible{border-color:var(--accent);background:#293440}.difficulty-card[aria-pressed=true]{box-shadow:inset 3px 0 var(--accent)}
.difficulty-emblem{display:flex;align-items:center;justify-content:space-between;width:100%;margin-bottom:10px;color:var(--accent)}.difficulty-emblem svg{width:35px;height:35px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}.difficulty-emblem>span{font:11px Consolas,monospace;opacity:.7}
.difficulty-card strong{font-size:20px;letter-spacing:.5px}.difficulty-subtitle{color:var(--accent);font-size:12px;margin-top:4px}.difficulty-detail{font-size:10px;color:#9ca9b9;margin-top:12px;line-height:1.4}.back-button{margin-top:18px;background:none;border:0;color:#adb6c7;font:11px Consolas,monospace;padding:5px 0}
.death-overlay{background:radial-gradient(ellipse at 50% 25%,#721129dd,#09080dfa 70%);backdrop-filter:blur(5px)}.death-card{position:relative;width:620px;max-width:94%;max-height:94%;overflow:auto;text-align:center;padding:25px 34px;background:repeating-linear-gradient(0deg,#ffffff03 0px,#ffffff03 1px,transparent 1px,transparent 4px),linear-gradient(165deg,#240f19ef,#090b11);border:1px solid #bb285c6e;border-top:3px solid #fd3567;box-shadow:0 0 90px #d61d5030}
.failure-code{font:9px Consolas,monospace;letter-spacing:2px;color:#fc7195}.broken-bank{width:115px;height:65px;fill:none;stroke:#fa537d;stroke-width:3;stroke-linecap:square;margin:17px 0 10px}
.death-card h2{font-size:45px;line-height:1.04;letter-spacing:3px;margin:0 0 18px;color:#f5e9e5}.death-card h2 span{color:#fc496f;text-shadow:3px 1px #ffffff24}.failure-message{font-size:14px;line-height:1.8;color:#cab8c2;margin:0 0 20px}.failure-message strong{color:#fff0df;font-weight:600}
.failure-ticker{display:flex;flex-wrap:wrap;justify-content:center;gap:12px;border-top:1px solid #d740713b;border-bottom:1px solid #d740713b;padding:11px 0;font:9px Consolas,monospace;color:#f57797}#death-stats{font:11px Consolas,monospace;color:#b89fae;line-height:1.6;margin:15px 0}.failure-footnote{font-size:10px;color:#a28595;margin:12px 0 0}
.relay-overlay{background:#051014d9}.relay-card{border-top-color:#81c5aa;background:linear-gradient(135deg,#142427,#081217)}.terminal-heading{display:flex;justify-content:space-between;color:#81c5aa;font:10px Consolas,monospace;letter-spacing:1px;margin-bottom:18px}.relay-card h2{font-size:25px}.relay-instructions{font-size:13px;line-height:1.6;color:#a7bebc;margin:0 0 18px}
.circuit-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:16px}.circuit{padding:10px 12px;font:11px Consolas,monospace;border:1px solid #45595c;background:#0b181d}.circuit::before{content:'';display:inline-block;width:6px;height:6px;border-radius:50%;background:currentColor;margin-right:8px}.circuit.online{color:#a8edbb;border-color:#629d7770}.circuit.offline{color:#ef8d9e;border-color:#9d4c6170}
.breaker-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.breaker-grid button{position:relative;background:#203037;color:#d4e7e3;border:1px solid #54716c;padding:12px;text-align:left}.breaker-grid b{display:block;font:24px Consolas,monospace;color:#fff}.breaker-grid span{display:block;font:9px Consolas,monospace;line-height:1.5;margin-top:7px}.breaker-grid i{position:absolute;top:14px;right:12px;width:9px;height:21px;background:#10191e;border:1px solid #64837d}.breaker-grid i::after{content:'';position:absolute;left:1px;right:1px;bottom:2px;height:7px;background:#7b9393}.breaker-grid [aria-pressed=true] i::after{bottom:10px;background:#a2e6c5}.breaker-grid button:hover{border-color:#b3f2d6;background:#2b4248}
#relay-message{min-height:38px;font:12px Consolas,monospace;line-height:1.6;color:#d8c891;margin:16px 0}.relay-card .primary{background:#245743;border-color:#76b49c}.relay-card .primary:hover{background:#2d6a53}.terminal-actions{display:flex;justify-content:space-between;gap:12px;margin-top:14px}.terminal-actions button{background:none;color:#b1ceca;border:0;font:10px Consolas,monospace;padding:5px 0}.terminal-footnote{font:9px Consolas,monospace;color:#78928f;line-height:1.5;margin:14px 0 0}
button:disabled{cursor:default}.primary:disabled{opacity:.45}
@media(max-height:700px){.challenge-card,.relay-card{padding:18px 24px}.difficulty-card{padding:12px 15px}.difficulty-emblem{margin-bottom:6px}.difficulty-detail{margin-top:7px}.challenge-card h2{font-size:23px}#difficulty-help{margin-bottom:13px}.death-card{padding:18px 28px}.broken-bank{height:42px;margin:10px 0}.death-card h2{font-size:36px;margin-bottom:12px}.failure-message{margin-bottom:12px}}
@media(max-width:600px){.challenge-card,.relay-card{padding:15px}.difficulty-grid{gap:8px}.difficulty-card{padding:11px}.difficulty-card strong{font-size:17px}.difficulty-detail{display:none}.difficulty-emblem svg{width:28px;height:28px}.difficulty-subtitle{font-size:10px}.breaker-grid{gap:5px}.breaker-grid button{padding:8px}.breaker-grid i{right:7px}.terminal-heading{font-size:8px}.entry-card{padding:16px 22px}}

/* V0.7: the final encounter keeps its attack state readable above the crosshair. */
#boss-hud{position:absolute;top:100px;left:50%;transform:translateX(-50%);width:min(460px,58%);background:#09121be8;border:1px solid #b7894566;padding:11px 16px;pointer-events:none}
.boss-heading{display:flex;justify-content:space-between;gap:8px;align-items:center}.boss-heading span{font:8px Consolas,monospace;color:#a7afb7}.boss-heading strong{font:700 13px Consolas,monospace;letter-spacing:2px}
.boss-track{height:5px;background:#243443;margin-top:9px}#boss-health{height:100%;width:100%;background:#f1b465;transition:width .15s}#boss-state{font:10px Consolas,monospace;text-align:center;margin:8px 0 0;letter-spacing:.7px;color:#f1c17d}
#boss-hud.vent{border-color:#6feaca}#boss-hud.vent #boss-health{background:#78f3d3}#boss-hud.vent #boss-state{color:#a0ffe6}#boss-hud.charge,#boss-hud.burst{border-color:#f29057}
.victory-overlay{background:radial-gradient(ellipse at 50% 25%,#143b3ae8,#06101afa 75%)}
.victory-card{width:690px;max-width:94%;max-height:94%;overflow:auto;padding:26px 36px;background:linear-gradient(145deg,#112c32,#09131e);border:1px solid #7be3c94d;border-top:3px solid #8be8d0;box-shadow:0 28px 100px #0009}
.victory-heading{display:flex;justify-content:space-between;gap:12px;font:9px Consolas,monospace;letter-spacing:1px;color:#84d2c3;border-bottom:1px solid #78e8d02a;padding-bottom:13px}
.victory-banner{display:flex;gap:24px;align-items:center;margin:22px 0 12px}.victory-banner svg{width:72px;flex-shrink:0;fill:#79e2c90d;stroke:#9aefd9;stroke-width:3}.victory-banner svg path:last-child{fill:none;stroke-width:5}.victory-banner .eyebrow{font-size:8px;letter-spacing:1.8px;color:#83b3ae;margin:0 0 10px}
.victory-card h2{font-size:39px;line-height:1.05;letter-spacing:-1px;margin:0;font-weight:900}.victory-card h2 span{color:#9befd9}.victory-copy{font-size:12px;line-height:1.65;color:#b3cbc9;margin:15px 0 20px}
.reward-window{border:1px solid #ffffff21;background:#060f19}.reward-title{padding:15px 20px;background:linear-gradient(110deg,#223940,#132330)}.reward-title>span{display:block;font:9px Consolas,monospace;letter-spacing:1.8px;color:#8de6cd}.reward-title strong{display:block;font-size:30px;letter-spacing:-1px;margin-top:5px}.reward-title small{font:11px Consolas,monospace;color:#a8c4c0}
.reward-code summary{display:flex;justify-content:space-between;cursor:pointer;font:10px Consolas,monospace;color:#c5d9db;padding:11px 20px;list-style:none}.reward-code summary:focus-visible{outline:2px solid #94ead5;outline-offset:-3px}.reward-code pre{font:11px/1.55 Consolas,monospace;color:#a8eed6;white-space:pre-wrap;overflow-wrap:anywhere;margin:0;padding:13px 20px;border-top:1px solid #ffffff14;background:#050b12}
.reward-download{display:flex;justify-content:space-between;margin:2px 20px 10px;padding:13px 17px;background:#98ecd6;color:#082822;text-decoration:none;font-size:11px;font-weight:800;letter-spacing:1.2px}.reward-download:hover{background:#c1ffef}.reward-download:focus-visible{outline:2px solid #fff;outline-offset:3px}.reward-note{font:8px Consolas,monospace;color:#769995;padding:0 20px;margin:10px 0 15px}
#victory-stats{text-align:center;font:10px/1.7 Consolas,monospace;color:#a3bdbb;margin:16px 0 8px}.victory-card .secondary{color:#bcdbd4;margin-top:4px}
@media(max-height:760px){.victory-card{padding:18px 28px}.victory-banner{margin:15px 0 8px;gap:18px}.victory-card h2{font-size:31px}.victory-banner svg{width:58px}.victory-copy{margin:9px 0 12px}.reward-title{padding:10px 17px}.reward-title strong{font-size:26px}#victory-stats{margin-top:10px}}
@media(max-width:700px){.victory-heading{font-size:7px}.victory-card{padding:15px 20px}.victory-card h2{font-size:27px}.victory-banner{gap:13px}.victory-banner svg{width:48px}#boss-hud{top:78px;width:60%;padding:8px 10px}.boss-heading span{display:none}.boss-heading{justify-content:center}}
@media(max-height:560px){#boss-hud{top:70px;padding:7px 12px}.boss-heading strong{font-size:10px}#boss-state{font-size:8px;margin-top:5px}.victory-banner{margin:10px 0}.victory-card h2{font-size:27px}.victory-copy{font-size:10px}.reward-title strong{font-size:23px}.reward-download{padding:10px 13px}.victory-heading{font-size:8px}}
@media(prefers-reduced-motion:reduce){#boss-health{transition:none}}

#boss-hud:not([hidden])~#notice{top:36%}

/* V0.7.1: the recovered source is visible immediately inside the victory terminal. */
.code-heading{display:flex;justify-content:space-between;gap:12px;padding:9px 17px;font:10px Consolas,monospace;color:#bad7d0;border-bottom:1px solid #ffffff18}.code-heading span{font-size:8px;color:#7da99c}
.reward-code pre{max-height:225px;overflow:auto;font-size:11px;line-height:1.55;padding:12px 17px;border:0}.reward-code pre:focus-visible{outline:2px solid #94ead5;outline-offset:-2px}.reward-note{margin:8px 0 11px}.victory-card{width:740px}
#victory-sound,#death-sound{font:9px Consolas,monospace;display:inline-block;padding:4px 8px;text-decoration:none;border:1px solid #ffffff33;float:right;margin:4px 0 0}
@media(max-height:760px){.victory-banner{margin:10px 0 6px}.victory-card h2{font-size:28px}.victory-copy{margin:6px 0 9px}.reward-title strong{font-size:24px}.reward-title{padding:8px 17px}.reward-code pre{max-height:190px;font-size:10px}.victory-heading{padding-bottom:9px}#victory-stats{margin:9px 0 4px}}

/* V0.8: the punchline is the dominant line, including on compact screens. */
.challenge-card{width:760px}.difficulty-card strong{font-size:14px;letter-spacing:1.3px;text-transform:uppercase;color:#acb8c6}
.difficulty-subtitle{font-size:21px;font-weight:750;line-height:1.25;color:#f9f4ed;margin-top:7px;letter-spacing:0;white-space:normal;overflow-wrap:normal}
.difficulty-card .difficulty-emblem{color:var(--accent)}.difficulty-card .difficulty-subtitle{border-left:3px solid var(--accent);padding-left:10px}
.difficulty-detail{margin-top:10px;color:#b7c3d0}
@media(max-height:700px){.difficulty-subtitle{font-size:19px}.difficulty-emblem svg{width:28px;height:28px}.difficulty-card strong{font-size:12px}.difficulty-detail{font-size:9px;margin-top:7px}}
@media(max-width:600px){.difficulty-subtitle{font-size:16px;margin-top:6px}.difficulty-card .difficulty-subtitle{padding-left:7px}.difficulty-card strong{font-size:11px}.difficulty-card{min-width:0}.difficulty-detail{display:none}}
@media(max-height:480px){.challenge-card{padding:12px 20px}.challenge-card h2{font-size:19px}.challenge-card .crimson{margin-bottom:6px}#difficulty-help{margin-bottom:8px;font-size:10px}.difficulty-card{padding:9px 12px}.difficulty-emblem{display:none}.difficulty-detail{display:none}.back-button{margin-top:10px}}
