@font-face{font-family:Barlow;src:url('./assets/barlow.woff2') format('woff2');font-weight:700;font-display:swap}
:root{--ink:#122a25;--cream:#f2edda;--muted:#bfc6ac;--gold:#ecd19b;--mint:#a5edce}*{box-sizing:border-box}body{margin:0;background:#183c2e;color:var(--cream);font-family:Arial,Helvetica,sans-serif;overflow:hidden;font-size:14px}button,input{font:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible{outline:3px solid #c9ffdb;outline-offset:4px}button{transition:background .15s,transform .15s,border-color .15s}button:hover{filter:brightness(1.07)}button:active{transform:translateY(1px)}[hidden]{display:none!important}#game{width:100vw;height:100vh;display:block;image-rendering:pixelated}.screen{position:fixed;inset:0;overflow:auto;z-index:10}.menu-screen{background:linear-gradient(90deg,#102a25ef,#152e26da 50%,#1a342b9c);padding:32px 5vw 20px;display:grid;place-items:center}.menu-wrap{width:100%;max-width:1180px}.menu-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:26px}.eyebrow{font-size:10px;font-weight:700;letter-spacing:2px;color:var(--gold)}.dot{display:inline-block;width:6px;height:6px;background:#bdeb92;border-radius:50%;margin-right:9px}.build-tag{font-size:10px;letter-spacing:1.6px;color:#ccd0b8}.title-row{display:flex;justify-content:space-between;align-items:center;margin-bottom:26px}h1{font-family:Barlow,Impact,'Arial Narrow',sans-serif;font-size:clamp(38px,4.7vw,74px);font-weight:700;line-height:.96;letter-spacing:-.4px;margin:0 0 19px}h1 span{color:#dacb93}p{line-height:1.6}.opening{color:#d0d4be;font-size:14px;margin:0;max-width:750px}.mission-stamp{border:1px solid #b8c29266;width:112px;height:133px;padding:15px;color:#dace9f;line-height:1.2;letter-spacing:2px;font-size:12px;flex-shrink:0;margin-left:30px}.mission-stamp>span{display:block;font:64px/.9 Barlow,Impact,sans-serif;letter-spacing:-2px;margin-bottom:12px}.section-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:13px}.section-heading h2{font-size:15px;font-weight:500;margin:0}.section-heading>span{font-size:11px;color:#b9c9ae}.heroes{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.hero-card{position:relative;display:flex;align-items:center;min-height:184px;border:1px solid #b2bea947;background:#112c24c9;color:var(--cream);text-align:left;padding:16px 8px;overflow:hidden}.hero-card.selected{border-color:#d9eaba;background:linear-gradient(120deg,#314b35ee,#1c3c32ed);box-shadow:inset 0 0 0 1px #d9eaba66}.hero-card[data-hero=ember].selected{border-color:#ebc898;background:linear-gradient(120deg,#53462fee,#343e2aed)}.hero-card[data-hero=orbit].selected{border-color:#c7b2e8;background:linear-gradient(120deg,#414451ee,#203d34ed)}.hero-card canvas{width:44%;max-width:168px;height:auto;image-rendering:pixelated;flex-shrink:0}.hero-copy{position:relative;z-index:1}.hero-number{font-size:8px;letter-spacing:1.3px;color:#a5c0a8;white-space:nowrap}h3{font-family:Barlow,Impact,sans-serif;font-weight:700;font-size:30px;line-height:1.1;margin:8px 0}.hero-copy p{font-size:11px;line-height:1.55;color:#d1d8c0;margin:7px 0 13px}.hero-trait{font-size:8px;letter-spacing:.8px;color:#dace9f;white-space:nowrap}.selected-mark{position:absolute;top:10px;right:13px;opacity:0;font-size:16px;color:#dfecc3}.selected .selected-mark{opacity:1}.launch-row{display:flex;justify-content:space-between;align-items:center;gap:30px;margin-top:23px}.difficulty{display:inline-flex;border:1px solid #a1b09877;padding:3px;gap:3px}.difficulty button{border:0;background:none;color:#c5cdb6;padding:9px 30px;font-size:12px}.difficulty button.selected{background:#e5dfc3;color:#163829}.launch-row p{font-size:11px;color:#c1cab0;margin:7px 0 0}.primary,.secondary{border:1px solid #e7dcab;background:#e9ddb0;color:#17392d;font-weight:700;font-size:14px;padding:19px 25px;min-width:225px;display:flex;justify-content:space-between;gap:30px;align-items:center;text-align:left}.primary span{font-size:22px;line-height:16px}.secondary{background:transparent;color:#e8dfbf;border-color:#b6c8a76b;font-weight:400;min-width:190px;justify-content:center}.menu-bottom{margin-top:23px;border-top:1px solid #acbe9c33;padding-top:16px;display:flex;justify-content:space-between;gap:16px;font-size:11px;color:#b5c7ad;align-items:center}.menu-bottom b{color:#e0dfc3}.text-button{background:none;border:0;color:#d4d6bc;padding:6px 0;font-size:12px;text-decoration:underline;text-underline-offset:4px}.record{font-size:10px;color:#b7c5a6;margin-top:14px;letter-spacing:.4px}#loading{position:absolute;inset:0;display:grid;place-content:center;text-align:center;background:#17382c;z-index:20}#loading p{font:34px Barlow,Impact,sans-serif}
#hud{position:absolute;inset:0;pointer-events:none}.hud-top{display:flex;align-items:center;gap:28px;background:linear-gradient(#102920f2,#102920de);border-bottom:1px solid #c0c79d55;padding:17px 24px 13px;box-shadow:0 10px 30px #10292022}.vitals{width:220px;flex-shrink:0}.bar-head{display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:9px;color:#cdd5bb;letter-spacing:.7px;margin-bottom:5px}.bar-head>strong{font-family:Barlow,Impact,sans-serif;font-size:17px;color:#f7efd3}.bar-head b{color:#f2eed7}.bar{height:7px;background:#5d705754;overflow:hidden}.bar>div{height:100%;transition:width .15s;background:#bfe997}.health{height:9px}.health>div.low{background:#ed9d7b}.power-row{display:flex;align-items:center;gap:8px;margin-top:8px;font-size:9px}.power-row>span{border:1px solid #bdb7d880;color:#e4d6fb;padding:1px 3px}.power{flex:1;height:5px}.power>div{background:#b6a0e8}.power-row>b{width:30px;color:#d3bfee;text-align:right}.power-row.ready{filter:brightness(1.3)}.level-block{flex:1;max-width:245px}.small{color:#a7b79d;font-size:9px;display:block;margin-top:7px}.experience>div{background:#7ed1be}.gold-block{display:grid;grid-template-columns:auto auto;column-gap:9px;align-items:center;min-width:70px}.gold-block strong{font:27px/1 Barlow,Impact,sans-serif;color:#f3d58b}.gold-block>span:last-child{grid-column:2;letter-spacing:2px;font-size:8px;color:#d1c9a4}.coin{grid-row:span 2;font-size:28px;color:#f6d077}.deadline{min-width:169px;border-left:1px solid #bdc59c55;padding-left:24px;margin-left:auto}.deadline>span{font-size:8px;letter-spacing:1.6px;color:#d0c99b;display:block}.deadline strong{font:31px/1.15 Barlow,Impact,sans-serif;color:#fff0bf;letter-spacing:1px}.deadline small{display:block;font-size:9px;color:#c1c8ac}.deadline.expired strong,.deadline.expired>span{color:#d1c7ad}.hud-actions{display:flex;gap:7px;pointer-events:auto}.icon-button{border:1px solid #bdc8a84d;color:#e3e5c8;background:#203d2f;width:35px;height:35px;font-size:16px}.objective{position:absolute;top:111px;left:26px;max-width:460px;text-shadow:0 2px 5px #102920,0 1px 10px #102920}.objective .eyebrow{font-size:8px;letter-spacing:1.7px}.objective i{font-style:normal;margin:0 5px;opacity:.5}.objective h2{font:25px/1.1 Barlow,Impact,sans-serif;margin:6px 0;color:#fff0cf}.objective p{font-size:11px;color:#e4e6c5;margin:0}.boss-hud{position:absolute;left:50%;top:110px;transform:translateX(-50%);width:min(470px,42vw);padding:11px 17px;background:#283627ec;border:1px solid #e7ad7977;text-align:center}.boss-hud>div:first-child{display:flex;justify-content:center;flex-direction:column}.boss-hud span{font-size:7px;letter-spacing:1.3px;color:#e4c59c}.boss-hud strong{font-family:Barlow,Impact,sans-serif;font-size:26px;color:#f8d1a0;margin:3px}.bar.boss>div{background:#eba180}.boss-hud small{display:block;font-size:9px;color:#d2c5a6;margin-top:6px}.dialogue{position:absolute;bottom:110px;left:25px;background:#172f26ec;border-left:3px solid #8bceb2;padding:12px 15px;max-width:420px;box-shadow:0 5px 20px #14291d33}.dialogue b{font-size:9px;letter-spacing:1.5px;color:#9ae1c5;display:block;margin-bottom:6px}.dialogue span{font-size:12px;color:#efecd3;line-height:1.5;display:block}.bottom-hud{position:absolute;bottom:0;left:0;width:100%;min-height:82px;background:linear-gradient(#132d248c,#102b21f5);border-top:1px solid #b9c59f33;display:flex;justify-content:space-between;align-items:center;gap:16px;padding:15px 25px}.control-hint{display:grid;grid-template-columns:auto auto;gap:10px 18px;font-size:10px;color:#c6d2b5}kbd{font-family:inherit;font-size:8px;border:1px solid #bdc5a358;padding:3px 5px;color:#ece9ce;margin-right:4px;white-space:nowrap}#dash-state{font-size:9px;color:#d6d1ac}.weapons{display:flex;gap:8px}.weapon-slot{width:115px;border:1px solid #d4d9aa66;display:flex;align-items:center;padding:8px;gap:9px;background:#1f3b2dc9;position:relative}.weapon-slot.empty{opacity:.55;border-style:dashed}.weapon-icon{font-size:25px}.weapon-slot>div{flex:1}.weapon-slot b{display:block;font-size:9px;font-weight:400;color:#eae7ce}.weapon-level{display:flex;gap:3px;margin-top:6px}.weapon-level i{width:12px;height:3px;background:#658268}.weapon-level i.lit{background:currentColor}.run-count{font-size:8px;color:#c1ceb1;letter-spacing:.8px;min-width:105px;text-align:right}.run-count>b{display:block;font:25px Barlow,Impact,sans-serif;color:#e5dfb4;letter-spacing:0}.run-count>span{display:block;color:#99d5bf;letter-spacing:0;margin-top:5px}.announcement{position:fixed;left:50%;top:35%;transform:translateX(-50%);text-align:center;pointer-events:none;z-index:5;min-width:400px;text-shadow:0 3px 9px #0c211b;background:radial-gradient(ellipse,#112c29bf,transparent 72%);padding:25px 70px}.announcement>span{font:44px/.95 Barlow,Impact,sans-serif;color:#fff0b8;letter-spacing:1px}.announcement p{font-size:12px;color:#e0f1d0}.toast{position:fixed;left:50%;bottom:106px;transform:translateX(-50%);padding:13px 22px;color:#f0e7c6;background:#1b342bec;border:1px solid #e1cd925c;z-index:25;font-size:12px;text-align:center;max-width:90vw;min-width:300px}.shade{background:#11291ed9;backdrop-filter:blur(3px);padding:30px 5vw;display:grid;place-items:center}.choice-wrap{width:100%;max-width:1020px;text-align:center}.choice-wrap h2,.pause-wrap h2,.results-wrap h2{font:clamp(36px,4.5vw,64px)/1 Barlow,Impact,sans-serif;margin:15px 0;color:#f4eacc}.choice-wrap>p{font-size:13px;color:#c9d3b8;margin-bottom:30px}.choice-options{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.upgrade-card{text-align:left;padding:24px 24px 28px;color:#f4edd2;background:linear-gradient(160deg,#354b35f0,#18372bf5);border:1px solid #bac79872;position:relative;min-height:265px;display:flex;flex-direction:column;align-items:flex-start}.upgrade-card:hover{background:#365542;border-color:#edf1c1;transform:translateY(-4px)}.upgrade-number{position:absolute;right:17px;top:17px;border:1px solid #ccd1a861;font:13px Barlow,Impact,sans-serif;width:25px;height:25px;display:grid;place-items:center}.upgrade-icon{font-size:40px;line-height:1;margin:5px 0 25px}.upgrade-tag{font-size:8px;letter-spacing:1.7px;color:#d0ce9e}.upgrade-card h3{font-size:30px;margin:9px 0 10px}.upgrade-card p{font-size:12px;color:#cbd5bc;line-height:1.6;margin:0}.pause-note{margin-top:28px;color:#ccd3b4;font-size:9px;letter-spacing:1.6px}.pause-note>span{display:block;margin-top:9px;color:#9fb59a;letter-spacing:0;font-size:11px}.pause-wrap{max-width:650px;width:100%;padding:20px 0}.pause-wrap>p{color:#c4cdb1;font-size:13px}.controls-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px 20px;margin:26px 0;color:#dedfc2;font-size:12px}.controls-grid kbd{font-size:10px}.help-note{line-height:1.75;border-top:1px solid #b5c7a63c;padding-top:20px}.settings{display:flex;gap:22px;flex-wrap:wrap;margin:22px 0 27px;font-size:11px;color:#d7dec1}.settings input{accent-color:#bfdcac;vertical-align:middle;margin-right:5px}.pause-wrap .primary{width:100%;margin-bottom:15px}.pause-wrap>.text-button{font-size:11px;color:#b0c0a3}.results-wrap{max-width:960px;width:100%}.results-wrap>p{font-size:13px;color:#c8d1b8;max-width:680px}.result-stats{display:grid;grid-template-columns:repeat(5,1fr);margin:28px 0;border-top:1px solid #b6c7a657;border-bottom:1px solid #b6c7a657;padding:22px 0;gap:20px}.result-stat strong{display:block;font:42px/1 Barlow,Impact,sans-serif;color:#eddaad}.result-stat span{font-size:8px;letter-spacing:1.5px;color:#baccb1;display:block;margin-top:8px}.results-detail{display:grid;grid-template-columns:1fr 1fr;gap:48px}.results-detail h3{font:18px Barlow,Impact,sans-serif;color:#ece4bb;margin:0 0 15px}.damage-row{display:grid;grid-template-columns:100px 1fr 50px;gap:10px;align-items:center;margin:12px 0;font-size:11px;color:#d0d5bc}.damage-row>i{height:5px;background:#516749}.damage-row>i>i{height:100%;display:block;background:#c5d18f}.damage-row>span:last-child{text-align:right;font-variant-numeric:tabular-nums}.results-detail p{font-size:12px;color:#c6d4b9;margin:0;line-height:1.7}.unlock{border-left:2px solid #caca93;margin-top:20px;padding:10px 16px;background:#a9be8620;font-size:11px;color:#e2e1bd}.result-actions{display:flex;gap:15px;margin-top:30px}.prototype-note{font-size:10px!important;color:#aaba9f!important;max-width:none!important;margin:20px 0 0}.menu-screen::-webkit-scrollbar,.screen::-webkit-scrollbar{width:6px}.screen::-webkit-scrollbar-thumb{background:#7a926f}
@media(max-height:780px) and (min-width:900px){.menu-screen{padding-top:20px;padding-bottom:16px}.menu-top{margin-bottom:17px}.title-row{margin-bottom:20px}h1{font-size:58px;margin-bottom:15px}.hero-card{min-height:165px;padding-top:8px;padding-bottom:8px}.hero-card canvas{max-width:142px}.menu-bottom{margin-top:17px;padding-top:13px}.launch-row{margin-top:17px}.record{margin-top:10px}}
@media(max-width:1050px){.hud-top{gap:17px;padding:12px 16px}.vitals{width:190px}.level-block{max-width:170px}.deadline{padding-left:16px;min-width:154px}.objective{top:105px;left:18px}.hero-card{flex-direction:column;text-align:center;min-height:270px;padding:12px}.hero-card canvas{width:115px;height:108px}.hero-copy p{font-size:11px}.hero-number{font-size:8px}.hero-trait{font-size:8px}.menu-wrap{max-width:850px}.mission-stamp{display:none}.title-row h1{font-size:56px}.bottom-hud{gap:8px;padding:12px 15px}.weapon-slot{width:93px;padding:7px;gap:6px}.weapon-slot b{font-size:8px}.control-hint{gap:9px;font-size:9px}.run-count{min-width:65px}.boss-hud{top:162px;width:390px}.upgrade-card{padding:20px}.upgrade-card h3{font-size:25px}}
@media(max-width:760px){.menu-screen{padding:22px 5vw;place-items:start center}.menu-top{margin-bottom:23px;gap:15px}.eyebrow{font-size:8px}.build-tag{font-size:8px}.title-row h1{font-size:47px}.opening{font-size:12px}.opening br{display:none}.section-heading{align-items:flex-start;gap:15px}.section-heading>span{font-size:9px;text-align:right;max-width:120px}.section-heading h2{font-size:13px}.heroes{gap:7px}.hero-card{padding:8px 5px;min-height:245px}.hero-card canvas{width:90px;height:95px}.hero-number{font-size:6px;letter-spacing:.5px}.hero-copy h3{font-size:27px}.hero-copy p{font-size:9px;padding:0 3px}.hero-trait{font-size:6px;letter-spacing:0}.launch-row{align-items:stretch;gap:15px}.primary{min-width:155px;padding:17px 19px;font-size:12px}.difficulty button{padding:9px 16px}.launch-row p{font-size:9px}.menu-bottom{font-size:9px;align-items:flex-start}.menu-bottom>span{max-width:68%;line-height:1.7}.text-button{font-size:10px}.hud-top{padding:10px;gap:12px;flex-wrap:wrap;justify-content:space-between}.vitals{width:42%}.level-block{display:none}.gold-block{min-width:48px}.gold-block strong{font-size:24px}.coin{font-size:21px}.deadline{min-width:100px;padding-left:10px}.deadline strong{font-size:25px}.deadline>span{font-size:6px;letter-spacing:.5px}.deadline small{font-size:7px;max-width:100px}.hud-actions{gap:4px}.icon-button{width:28px;height:28px;font-size:13px}.objective{top:102px;left:12px;max-width:320px}.objective h2{font-size:22px}.objective p{font-size:10px;max-width:285px}.bottom-hud{flex-wrap:wrap;justify-content:center;padding:9px 10px;gap:9px}.control-hint{grid-template-columns:repeat(4,auto);gap:8px;font-size:8px}.control-hint kbd{font-size:6px;padding:2px}.weapons{gap:5px}.weapon-slot{width:90px}.run-count{font-size:6px}.run-count>b{font-size:21px}.dialogue{bottom:126px;left:12px;max-width:305px;padding:10px 12px}.dialogue span{font-size:10px}.boss-hud{top:173px;width:280px}.boss-hud span{font-size:6px}.boss-hud strong{font-size:23px}.announcement{padding:20px 15px;min-width:300px;width:90%}.announcement>span{font-size:36px}.choice-options{grid-template-columns:1fr;gap:10px}.upgrade-card{min-height:130px;padding:17px 20px 17px 70px}.upgrade-icon{position:absolute;left:18px;top:37px;font-size:30px}.upgrade-card h3{font-size:26px;margin:6px 0}.upgrade-card p{font-size:11px}.upgrade-tag{font-size:7px}.upgrade-number{right:12px;top:10px;width:20px;height:20px;font-size:11px}.shade{padding:25px 6vw;place-items:start center}.choice-wrap>p{margin-bottom:22px}.choice-wrap h2,.pause-wrap h2,.results-wrap h2{font-size:42px}.pause-note{font-size:7px;margin-top:20px}.controls-grid{grid-template-columns:1fr;gap:16px}.result-stats{gap:12px;grid-template-columns:repeat(3,1fr);padding:20px 0}.result-stat strong{font-size:34px}.result-stat span{font-size:6px}.results-detail{grid-template-columns:1fr;gap:20px}.result-actions{flex-wrap:wrap}.result-actions>*{flex:1;min-width:160px}.settings{gap:14px}.pause-wrap{padding:0}}
@media(prefers-reduced-motion:reduce){*{transition:none!important}.shade{backdrop-filter:none}}

/* Colour pass: the interface sits in blue ink, leaving green to the forest. */
:root{--ink:#172239;--cream:#fff0d5;--muted:#c0c4d9;--gold:#f0cc87;--mint:#8fe5dc}
body{background:#17233a}.menu-screen{background:linear-gradient(100deg,#131c31ef,#1a2339d9 51%,#2432458f)}
.menu-top .eyebrow{color:#ecbc86}.dot{background:#efb88f}.opening{color:#d8d6da}.mission-stamp{color:#f4ca90;border-color:#e3c59a70}
.hero-card{background:#18283bd9;border-color:#859aaf61}.hero-card[data-hero=rook]{background:linear-gradient(120deg,#214452d9,#1b2d40ed)}
.hero-card[data-hero=ember]{background:linear-gradient(120deg,#593d31d9,#342d3ded)}.hero-card[data-hero=orbit]{background:linear-gradient(120deg,#463456d9,#242c45ed)}
.hero-card[data-hero=rook].selected{background:linear-gradient(120deg,#2c5d67ee,#223e55f0);border-color:#a5e6e4;box-shadow:inset 0 0 0 1px #a5e6e466}
.hero-card[data-hero=ember].selected{background:linear-gradient(120deg,#794735ee,#483748ed);border-color:#f7bf84;box-shadow:inset 0 0 0 1px #f7bf8466}
.hero-card[data-hero=orbit].selected{background:linear-gradient(120deg,#634376ee,#333d60ed);border-color:#d5b1ef;box-shadow:inset 0 0 0 1px #d5b1ef66}
.hero-copy p{color:#e0d7d3}.hero-number{color:#c4ccd5}.hero-trait{color:#ebcc9d}.selected-mark{color:#f8dfbd}
.section-heading>span,.menu-bottom,.record{color:#bec8d6}.menu-bottom b{color:#f0ddbf}.difficulty{border-color:#bbc0d080}.difficulty button{color:#d3cdd7}.difficulty button.selected{background:#edc88f;color:#273349}
.primary{background:#efcb94;border-color:#fae0ae;color:#222c43}.secondary{border-color:#afb9cf7b;color:#e9d9c0}.launch-row p{color:#d2ced8}.text-button{color:#d8d4e3}
.hud-top{background:linear-gradient(#121f33f4,#17283cdf);border-bottom-color:#9fadc760}.bar-head,.small{color:#c5cedb}.bar-head>b,.bar-head>strong{color:#fff0d6}.bar{background:#70819754}
.deadline{border-color:#afbdc155}.deadline>span{color:#ebc593}.deadline small{color:#c4ccdc}.icon-button{background:#22354a;color:#eee2d0;border-color:#bacbd060}
.objective{text-shadow:0 2px 5px #17223c,0 1px 10px #17223c}.objective p{color:#f4eadc}.objective h2{color:#fff1d5}
.bottom-hud{background:linear-gradient(#1c2a3db3,#17263bf7);border-color:#a7b9d150}.control-hint{color:#c8d2df}kbd{border-color:#b6bfd163;color:#f2e9dd}.weapon-slot{background:#20374acf;border-color:#b2c3cc66}.weapon-slot b{color:#f1e5d1}
.dialogue{background:#1c2a42ed;border-left-color:#8ce1df}.dialogue span{color:#efdfd3}.dialogue b{color:#91e4de}.toast{background:#242c44ef;border-color:#e0b77490}
.boss-hud{background:#3a283dec;border-color:#f0a68b8c}.shade{background:#111b30db}.upgrade-card{background:linear-gradient(160deg,#354563f2,#202c46f7);border-color:#b8bfd183}.upgrade-card:hover{background:#3b536f;border-color:#d4e6ee}.upgrade-card:nth-child(2){background:linear-gradient(160deg,#594656f2,#2e3049f7)}.upgrade-card:nth-child(3){background:linear-gradient(160deg,#49416af2,#262e4bf7)}.upgrade-card p,.choice-wrap>p{color:#d7d8e0}.upgrade-tag{color:#f0caa6}.pause-note{color:#c8d3e6}.pause-note>span{color:#aabdd1}
.pause-wrap>p,.controls-grid,.settings,.results-wrap>p,.results-detail p{color:#cbd2df}.damage-row{color:#cbd4e4}.damage-row>i{background:#53607a}.damage-row>i>i{background:#a9d3cd}.unlock{background:#b5984e25;border-color:#e3c287;color:#f0d9ba}.prototype-note{color:#b1c0d3!important}

/* Vivid arcade identity and layered, interactive reward cards. */
:root{--ink:#101a38;--cream:#f8fbff;--muted:#bcc9e7;--gold:#fddb6b;--mint:#50ebee}
h1{color:#f8fbff;text-shadow:0 7px 30px #050b2955}h1 span{color:#72dff7}.menu-top .eyebrow{color:#ffa2bc}.menu-screen{background:linear-gradient(100deg,#0f1731f2,#172644df 53%,#24396792)}.mission-stamp{border-color:#94cbed73;color:#90def9}.opening{color:#d2ddf0}
.section-heading h2,.hero-copy h3,.choice-wrap h2,.pause-wrap h2,.results-wrap h2{color:#f8fbff}.hero-copy p{color:#d2def2}.hero-trait{color:#a3e8ff}.hero-number{color:#b7cae3}.menu-bottom b{color:#f4f9ff}.difficulty button.selected{background:#7adfee;color:#142740}
.primary{background:linear-gradient(#8beaf5,#4ccfdf);border-color:#b7f9ff;color:#142941;box-shadow:0 5px 0 #197b986b,0 12px 25px #050b2440}.primary:hover{box-shadow:0 5px 0 #197b988f,0 12px 35px #38dbe636}.secondary{color:#e1ecff;border-color:#b0b7dd7b}.selected-mark{color:#f6fbff}.hero-card{box-shadow:0 9px 24px #060b204a,inset 0 1px #e5fbff14;border-radius:12px}.hero-card:hover{transform:translateY(-5px);box-shadow:0 20px 32px #050b2766,inset 0 1px #effaff40}.hero-card canvas{transition:transform .2s}.hero-card:hover canvas{transform:translateY(-4px) scale(1.04)}
.shade{background:radial-gradient(ellipse at 50% 30%,#183052e8,#0b1128ed 85%);backdrop-filter:blur(7px)}
.choice-wrap{max-width:1050px}.choice-wrap>.eyebrow{color:#a9ccff}.choice-wrap h2{margin-top:10px;text-shadow:0 4px 22px #070f30}.choice-wrap>p{color:#b9cbe8;margin-bottom:27px}.choice-options{gap:22px;perspective:900px}
.upgrade-card{--accent:#4aebee;isolation:isolate;overflow:hidden;min-height:354px;padding:21px 25px 20px;border-radius:15px;background:linear-gradient(155deg,#224d69f5,#172442fb 65%);border:1px solid #6597ab8f;border-top-color:#a5e8efaa;box-shadow:0 9px 0 #0a142ddd,0 20px 42px #02071880,inset 0 1px #e9fdff26;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
.upgrade-card:nth-child(2){--accent:#ff81a5;background:linear-gradient(155deg,#684066f5,#262347fc 70%);border-color:#be81a38a;border-top-color:#ffc2ddaa}
.upgrade-card:nth-child(3){--accent:#b398ff;background:linear-gradient(155deg,#554888f5,#22254cfc 70%);border-color:#9f8bc98a;border-top-color:#d9c8ffbb}
.upgrade-card::before{content:"";pointer-events:none;position:absolute;inset:0;background:radial-gradient(circle at var(--mx,50%) var(--my,25%),#ffffff18,transparent 58%);z-index:-1;opacity:.4;transition:opacity .18s}
.upgrade-card:hover,.upgrade-card:focus-visible{transform:translateY(-8px) scale(1.025);border-color:var(--accent);box-shadow:0 8px 0 #0a142dd9,0 30px 50px #02071999,0 0 30px color-mix(in srgb,var(--accent),transparent 78%);outline:2px solid var(--accent);outline-offset:3px;filter:none}
.upgrade-card:hover::before,.upgrade-card:focus-visible::before{opacity:1}.upgrade-card:active{transform:translateY(0) scale(.99);box-shadow:0 3px 0 #0a142d}
.upgrade-number{font:17px/1 Barlow,Impact,sans-serif;color:#edf9ff;border-color:#b5d4ee70;background:#0d19356e;z-index:2;top:16px;right:16px;border-radius:6px;width:29px;height:29px}
.power-preview{width:calc(100% + 30px);height:125px;object-fit:contain;align-self:center;image-rendering:pixelated;margin:-8px -15px 8px;pointer-events:none}.upgrade-tag{color:var(--accent);font-size:9px;letter-spacing:1.7px}.upgrade-card h3{font-size:30px;color:#f7fbff;line-height:1.05;margin:10px 0 13px}.upgrade-card p{color:#d1dcf1;line-height:1.6;font-size:12px}.choose-label{display:block;font-size:8px;letter-spacing:1.7px;color:var(--accent);padding-top:19px;margin-top:auto}.pause-note{color:#a2b8d9}.pause-note>span{color:#7897bb}
#cache-reveal{height:100px;margin:-18px auto 9px;position:relative}#cache-art{width:220px;height:103px;image-rendering:pixelated}#celebration{position:fixed;inset:0;width:100vw;height:100vh;pointer-events:none;z-index:18}
.boss-hud{background:#321f44ed;border-color:#e6859cb3}.boss-hud strong{color:#ffc3dc}.bar.boss>div{background:linear-gradient(90deg,#cf58ad,#fa8eab)}.objective h2{color:#fff9ff}.objective p{color:#e9f2ff}.dialogue span{color:#e9f1ff}.weapon-slot b{color:#e7f3ff}.result-stat strong{color:#89e5f2}.results-detail h3{color:#ecf5ff}.unlock{color:#eee0ff;border-color:#b392f2;background:#ac6cff1c}
.reduced-effects .hero-card:hover,.reduced-effects .hero-card:hover canvas,.reduced-effects .upgrade-card:hover,.reduced-effects .upgrade-card:focus-visible{transform:none}.reduced-effects *{transition:none!important}
@media(max-height:800px) and (min-width:761px){#cache-reveal{height:75px;margin-top:-12px;margin-bottom:6px}#cache-art{height:80px;width:173px}.choice-wrap h2{font-size:47px}.choice-wrap>p{margin-bottom:23px}.upgrade-card{min-height:315px;padding:17px 22px}.power-preview{height:99px;margin-bottom:2px}.upgrade-card h3{font-size:28px}.pause-note{margin-top:23px}}
@media(max-width:760px){.choice-options{gap:15px}.upgrade-card{min-height:185px;padding:17px 18px 17px 116px;border-radius:11px}.power-preview{position:absolute;left:4px;top:21px;width:115px;height:115px;margin:0}.upgrade-card h3{font-size:27px;line-height:1.05;margin:8px 0}.upgrade-card p{font-size:11px}.upgrade-tag{font-size:7px;max-width:85%;letter-spacing:1px}.upgrade-number{top:11px;right:11px;width:22px;height:22px;font-size:13px}.choose-label{font-size:7px;padding-top:12px}.upgrade-card:hover,.upgrade-card:focus-visible{transform:translateY(-3px) scale(1.01)}#cache-reveal{height:67px;margin-top:-4px}#cache-art{height:74px;width:159px}.choice-wrap h2{font-size:38px}.choice-wrap>p{font-size:12px;margin-bottom:22px}.choice-wrap>.eyebrow{font-size:8px}.shade{padding-top:24px;padding-bottom:25px}}

/* The basics stay visible before the start button, rather than behind Help. */
.start-guide{margin-top:22px;padding:17px 20px 13px;border:1px solid #84dcef46;border-radius:12px;background:linear-gradient(120deg,#182b46eb,#222744de);box-shadow:inset 0 1px #d1f8ff14}
.guide-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:15px}.guide-heading h2{margin:0;font:22px/1 Barlow,Impact,sans-serif;color:#f5faff}.guide-heading>span{font-size:10px;color:#a5cddd}
.guide-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.guide-step{display:flex;align-items:flex-start;gap:12px;min-width:0}.guide-number{font:27px/1 Barlow,Impact,sans-serif;color:#7ce7f2}.guide-step:nth-child(2) .guide-number{color:#ff9fbb}.guide-step:nth-child(3) .guide-number{color:#c4adff}.guide-step h3{font:19px/1.1 Barlow,Impact,sans-serif;color:#f2f7ff;margin:0 0 9px}.guide-step p{display:flex;align-items:center;flex-wrap:wrap;gap:5px;margin:0 0 8px;color:#e3ebf9;font-size:10px}.guide-step>div>span{display:block;color:#bfcee5;font-size:11px;line-height:1.5}.start-guide kbd{font-size:9px;white-space:nowrap;color:#edf7ff;background:#121e3bc9;border-color:#84b7d074;box-shadow:0 2px 0 #0b1634;border-radius:4px;padding:3px 5px}
.guide-footer{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:15px;padding-top:12px;border-top:1px solid #91b8da26;color:#b9cae1;font-size:10px;line-height:1.8}.guide-footer i{font-style:normal;margin:0 5px;color:#7b93b9}
@media(max-height:800px) and (min-width:761px){.start-guide{margin-top:16px;padding-top:13px;padding-bottom:10px}.guide-heading{margin-bottom:12px}.guide-footer{margin-top:11px;padding-top:9px}}
@media(max-width:760px){.start-guide{padding:15px 13px;margin-top:17px}.guide-heading{align-items:flex-start}.guide-heading>span{max-width:170px;text-align:right;font-size:9px;line-height:1.5}.guide-steps{gap:12px}.guide-step{gap:7px}.guide-number{font-size:22px}.guide-step h3{font-size:17px}.guide-step>div>span{font-size:10px}.guide-footer{font-size:9px}}
@media(max-width:520px){.guide-steps{grid-template-columns:1fr;gap:17px}.guide-number{width:24px;flex-shrink:0}.guide-step p{margin-bottom:5px}.guide-step>div>span{font-size:11px}.guide-footer{flex-direction:column;gap:9px}}

/* A short story, three goals, and one quiet tip at a time. */
.opening{max-width:790px}.opening p{margin:0 0 6px;line-height:1.5}.opening p:last-child{margin-bottom:0}
.mission-goals{list-style:none;counter-reset:goals;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:0 0 24px;padding:0}
.mission-goals li{counter-increment:goals;position:relative;padding:3px 0 3px 35px;border-left:2px solid #80e4ed;min-width:0}.mission-goals li:before{content:counter(goals);position:absolute;left:11px;top:4px;font:22px Barlow,Impact,sans-serif;color:#84ecf1}.mission-goals li:nth-child(2){border-color:#ffa4c1}.mission-goals li:nth-child(2):before{color:#ffa4c1}.mission-goals li:nth-child(3){border-color:#c5b3ff}.mission-goals li:nth-child(3):before{color:#c5b3ff}.mission-goals b{display:block;font:21px/1.1 Barlow,Impact,sans-serif;color:#f5f6ff}.mission-goals span{display:block;color:#c5d5ed;font-size:11px;line-height:1.5;margin-top:5px}
.dialogue{bottom:164px;max-width:410px}.dialogue[data-kind=tip]{background:#182640f5;border-color:#ffcc77}.dialogue[data-kind=tip] b{color:#ffcf80}
/* Every owned weapon stays on. Slots inspect; only the named Q power is activated. */
.bottom-hud{padding-top:12px;padding-bottom:11px;align-items:center;min-height:129px;background:linear-gradient(#142039e8,#111c36fa)}
.weapon-dock{position:relative;flex:1;max-width:800px;min-width:0}.dock-label{display:flex;justify-content:space-between;gap:12px;font-size:9px;letter-spacing:1px;font-weight:bold;color:#ddf5ff;margin-bottom:7px}.dock-label>span{font-size:10px;letter-spacing:0;font-weight:normal;color:#b8d2e9}
.loadout-row{display:grid;grid-template-columns:minmax(0,1fr) 170px;gap:10px}.weapons{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;min-width:0}.weapon-slot{pointer-events:auto;width:auto;min-width:0;min-height:61px;text-align:left;color:var(--weapon-color);border:1px solid #7598b967;background:#21324bee;border-radius:7px;padding:9px;gap:8px}.weapon-slot b{font:16px/1.1 Barlow,Impact,sans-serif;color:#f0f6ff}.weapon-slot .weapon-icon{color:var(--weapon-color);font-size:26px}.weapon-slot.empty{opacity:1;background:#151f35e8;border-color:#a0adce55}.weapon-slot.empty .weapon-icon{opacity:.45}.weapon-slot.empty b{color:#abbcd4}.weapon-state{display:block;font-size:8px;letter-spacing:.3px;margin-top:6px;color:#9becd9}.weapon-slot.empty .weapon-state{color:#bdc8d9}.weapon-level{color:var(--weapon-color);margin-top:5px;gap:3px}.weapon-level i{width:11px;height:3px;background:#435370}.weapon-slot:hover,.weapon-slot[aria-expanded=true]{border-color:var(--weapon-color);background:#2c4262;transform:translateY(-2px)}
.special-power{pointer-events:auto;border:1px solid #9f89d16b;border-radius:7px;padding:8px 10px 11px;background:#242341;color:#eef0ff;text-align:left;position:relative;overflow:hidden}.special-power kbd{float:right;margin:0}.special-power b{display:block;max-width:125px;font:17px/1.1 Barlow,Impact,sans-serif}.special-power>span{display:block;font-size:8px;margin-top:7px;color:#d1c3ec}.special-power>i{display:block;position:absolute;bottom:0;left:0;height:4px;width:100%;background:#504867}.special-power>i>i{display:block;height:100%;background:var(--weapon-color);transition:width .12s}.special-power:disabled{cursor:default;filter:none}.special-power.ready{background:linear-gradient(130deg,#48386b,#233c57);border-color:var(--weapon-color);box-shadow:0 0 16px #ae78ff3b}.special-power.ready>span{color:#c9ffec}
.last-upgrade{font-size:10px;color:#c0cfe4;line-height:1.45;margin-top:7px;min-height:15px}.weapon-detail{pointer-events:auto;position:absolute;bottom:calc(100% + 12px);left:0;width:min(450px,100%);background:#192944f5;border:1px solid #8ed9f0;border-radius:9px;padding:15px 35px 15px 17px;box-shadow:0 10px 40px #060d25aa}.weapon-detail>strong{font:21px/1.1 Barlow,Impact,sans-serif;color:#c0f6ff}.weapon-detail p{font-size:12px;color:#f2f6ff;line-height:1.5;margin:9px 0}.weapon-detail small{font-size:11px;color:#bccce7;line-height:1.5;display:block}.weapon-detail>button{position:absolute;top:6px;right:7px;width:28px;height:28px;border:0;border-radius:5px;background:#334568;color:white;font-size:22px}.toast{bottom:160px}
@media(max-width:1150px){.loadout-row{grid-template-columns:minmax(0,1fr) 144px;gap:7px}.weapon-slot{padding:8px 7px;gap:5px}.weapon-slot b{font-size:14px}.weapon-slot .weapon-icon{font-size:21px}.special-power b{font-size:15px;max-width:95px}.control-hint{grid-template-columns:1fr;gap:7px;font-size:9px}.run-count{min-width:65px;font-size:7px}}
@media(max-width:850px){.bottom-hud{display:grid;grid-template-columns:1fr 70px;gap:8px;padding:10px 12px}.weapon-dock{grid-column:1/-1;grid-row:1;max-width:none}.control-hint{display:flex;gap:13px;flex-wrap:wrap;grid-row:2;font-size:8px}.run-count{grid-row:2;display:flex;align-items:center;justify-content:flex-end;gap:6px}.run-count>b{font-size:18px}.run-count>span{display:none}.dialogue{bottom:194px;left:12px;max-width:350px}.toast{bottom:190px}.weapon-slot b{font-size:15px}.weapon-detail{width:min(450px,100%)}.mission-goals{gap:10px}.mission-goals b{font-size:19px}.mission-goals span{font-size:10px}}
@media(max-width:520px){.mission-goals{grid-template-columns:1fr;gap:11px;margin-bottom:22px}.mission-goals li{padding-top:1px;padding-bottom:1px}.mission-goals b{font-size:20px}.mission-goals span{margin-top:3px;font-size:11px}.loadout-row{grid-template-columns:minmax(0,1fr) 106px;gap:5px}.weapons{gap:4px}.weapon-slot{display:block;padding:6px;min-height:75px}.weapon-icon{display:none}.weapon-slot b{font-size:13px}.weapon-state{font-size:7px}.weapon-level{gap:2px}.weapon-level i{width:8px}.special-power{padding:7px}.special-power b{font-size:14px;max-width:none;padding-top:17px}.special-power kbd{position:absolute;top:4px;right:5px;font-size:7px;padding:1px 3px}.special-power>span{font-size:7px}.dock-label{font-size:8px}.dock-label>span{font-size:8px}.last-upgrade{font-size:9px}.dialogue{max-width:calc(100% - 24px);bottom:200px}.control-hint{gap:8px}.control-hint kbd{font-size:6px}}

.weapon-detail{left:auto;right:0}

.power-row>.power-label{border:0;padding:0;color:#d2c5f1;font-size:8px;letter-spacing:.5px}
