:root{color-scheme:dark;--bg:#080e1c;--panel:#0e1729;--line:#26334b;--ink:#eaf2ff;--muted:#8b9bb5;--cyan:#75f5dd;--gold:#ffd17b;--red:#ff6b86;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at 80% 0,#172c41 0,transparent 48%),var(--bg);color:var(--ink)}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer;color:inherit}button:disabled{opacity:.35;cursor:default}button:focus-visible,a:focus-visible,canvas:focus-visible{outline:3px solid var(--gold);outline-offset:4px}button{border:1px solid var(--line);border-radius:6px;background:#142036;padding:10px 15px;font-size:14px}button:hover:not(:disabled){border-color:var(--cyan);color:var(--cyan)}[hidden]{display:none!important}main{max-width:1392px;margin:auto;padding:27px 44px 20px}.masthead{display:flex;align-items:center;justify-content:space-between;margin-bottom:27px}.brand{color:var(--ink);text-decoration:none;font-size:14px;letter-spacing:2px;font-weight:750;display:flex;align-items:center;gap:14px}.brand-mark{display:grid;place-items:center;width:36px;height:36px;background:var(--cyan);color:var(--bg);font-size:23px;letter-spacing:-4px;padding-right:5px;font-weight:900}.edition{border-left:1px solid #465066;padding-left:15px;color:var(--muted);font-size:12px;font-weight:500;letter-spacing:1px}.build-tag,.version{font-family:ui-monospace,monospace;font-size:12px;color:var(--muted);letter-spacing:1px}.game-shell{border:1px solid #36425b;border-radius:12px;overflow:hidden;box-shadow:0 35px 90px #0006}.topbar{display:flex;justify-content:space-between;align-items:center;background:#101a2c;padding:18px 25px;gap:12px}.wordmark{font-size:23px;font-weight:900;font-style:italic;letter-spacing:-1px;display:flex;align-items:center;gap:5px}.wordmark>span{color:var(--cyan)}.wordmark small{font-size:11px;font-weight:500;font-style:normal;letter-spacing:1.2px;color:var(--muted);margin-left:22px}.tools{display:flex;gap:8px}.tools button{background:transparent;padding:8px 12px;white-space:nowrap}kbd{font-family:inherit;font-size:12px;opacity:.5;margin-left:6px}.arena{position:relative;aspect-ratio:1120/680;overflow:hidden;background:#090f20;isolation:isolate}canvas{display:block;width:100%;height:100%;touch-action:none;outline:none}.screen{position:absolute;inset:0;display:grid;place-items:center;background:linear-gradient(90deg,#090f20ed 0,#090f20cc 46%,#090f2010 100%)}.intro{width:100%;padding:32px 7%}.kicker,.eyebrow{font:500 12px ui-monospace,monospace;letter-spacing:2px;color:var(--muted)}.kicker{color:var(--gold);margin:0 0 18px}h1{font-size:clamp(38px,5.25vw,76px);line-height:.98;letter-spacing:-3px;margin:0 0 19px;font-weight:900}h1 em{color:var(--cyan);font-style:normal}.intro-copy{font-size:16px;line-height:1.5;color:#b9c8df;margin:0 0 20px}.mode-picker{display:flex;gap:4px;width:max-content;border:1px solid #31405b;background:#0b1424;padding:4px;border-radius:7px}.mode-picker button{border:0;background:transparent;padding:8px 18px;color:var(--muted)}.mode-picker .selected{background:#29374c;color:var(--ink)}.mode-detail{color:var(--muted);font:12px ui-monospace,monospace;letter-spacing:.2px;margin:9px 0 18px}.primary{background:var(--cyan);color:#07251f;border:0;font-size:15px;font-weight:800;letter-spacing:1px;padding:17px 24px;min-width:276px;display:flex;align-items:center;justify-content:space-between;gap:32px;box-shadow:0 0 32px #75f5dd12}.primary:hover:not(:disabled){background:#a0ffe9;color:#07251f;box-shadow:0 0 32px #75f5dd33}.primary span{font-size:23px;line-height:1}.start-hint{font-size:12px;color:var(--muted);margin:14px 0 0}.start-hint b{margin:0 8px;color:#52617a}.record{font:12px ui-monospace,monospace;display:block;color:var(--gold);margin-top:13px}.hud{position:absolute;top:23px;left:26px;right:26px;display:flex;justify-content:space-between;pointer-events:none}.hud>div{width:30%}.eyebrow{display:block;letter-spacing:1.8px;margin-bottom:6px}.hud strong{font:700 27px ui-monospace,monospace;text-shadow:0 2px 12px #000}.hud i{font-style:normal;font-size:18px;color:var(--muted)}#hearts{color:var(--cyan);letter-spacing:4px;font-size:22px}.hud-center{text-align:center}.hud-right{text-align:right}.time-track{position:absolute;top:0;left:0;right:0;height:3px;background:#ffffff09}#time-progress{height:100%;width:0;background:var(--cyan)}.dash-hud{position:absolute;bottom:20px;left:50%;transform:translateX(-50%);text-align:center;font:12px ui-monospace,monospace;color:var(--cyan);letter-spacing:1px;pointer-events:none}.dash-hud>div{width:154px;height:5px;background:#26334b;margin:8px auto}.dash-hud i{height:100%;display:block;background:var(--cyan);width:100%}.dash-hud small{font-size:11px;color:var(--muted)}.toast{position:absolute;top:100px;left:50%;transform:translateX(-50%);padding:10px 17px;background:#13243dee;border:1px solid #52728a;border-radius:6px;opacity:0;transition:opacity .15s;pointer-events:none;color:var(--gold);font-size:14px;text-align:center;max-width:90%;white-space:nowrap}.toast.show{opacity:1}.modal{width:min(600px,90%);padding:34px;background:#0f1c30f5;border:1px solid #476077;border-radius:12px;box-shadow:0 20px 80px #0008}.modal h2{font-size:36px;letter-spacing:-1px;margin:12px 0;color:var(--ink);line-height:1.1}.modal p{font-size:16px;line-height:1.5;color:#b9c8df}.modal .primary{margin-top:24px;width:100%;min-width:0}.modal .secondary{margin-top:10px;width:100%;padding:13px}.upgrade-grid{display:grid;gap:10px;margin-top:22px}.upgrade{display:flex;text-align:left;align-items:center;gap:16px;padding:16px;background:#17273e}.upgrade b{display:block;font-size:17px;color:var(--cyan);margin-bottom:4px}.upgrade small{font-size:14px;color:#b9c8df}.upgrade .number{display:grid;place-items:center;width:34px;height:34px;flex:none;border:1px solid #45616b;border-radius:5px;color:var(--gold)}.results{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:24px 0}.results>div{padding:15px 9px;background:#192a40;border-radius:6px;text-align:center}.results b{display:block;font:700 25px ui-monospace,monospace;color:var(--cyan)}.results span{font-size:12px;color:var(--muted);display:block;margin-top:5px}.game-footer{padding:17px 24px;display:flex;gap:15px;justify-content:space-between;align-items:center;background:#101a2c;color:var(--muted);font:11px ui-monospace,monospace;letter-spacing:.7px}.game-footer>div{display:flex;align-items:center;white-space:nowrap}.game-footer p{margin:0;font-size:11px;color:var(--cyan)}.game-footer p span{color:var(--muted);text-transform:none;letter-spacing:0}.legend{display:inline-block;width:7px;height:7px;margin:0 8px 0 18px;transform:rotate(45deg)}.legend:first-child{margin-left:0}.cyan{background:var(--cyan)}.gold{background:var(--gold)}.red{background:var(--red)}.underbar{display:flex;justify-content:space-between;align-items:center;margin-top:18px;gap:15px}.underbar p{font-size:14px;color:var(--muted);margin:0;line-height:1.5}.underbar b{font-weight:500;color:#b9c8df;margin-right:5px}.underbar button{background:transparent;border:0;text-decoration:underline;text-underline-offset:4px;white-space:nowrap;color:var(--muted)}.touch-controls{position:absolute;inset:0;pointer-events:none}#joystick{position:absolute;bottom:22px;left:22px;width:94px;height:94px;border:1px solid #75f5dd66;background:#75f5dd0b;border-radius:50%;pointer-events:auto;touch-action:none;display:grid;place-items:center}#stick{width:37px;height:37px;border:1px solid #75f5dd99;background:#75f5dd44;border-radius:50%;pointer-events:none}#touch-dash{position:absolute;bottom:27px;right:22px;width:78px;height:78px;border-radius:50%;background:#75f5dd22;border:1px solid var(--cyan);color:var(--cyan);font-size:12px;letter-spacing:1px;pointer-events:auto;touch-action:none}
@media(min-width:1500px){main{padding-top:40px}}
@media(max-width:1000px){main{padding:20px}.wordmark small,.version{display:none}.game-footer p span{display:none}.intro{padding:22px 6%}.kicker{margin-bottom:12px;font-size:11px}.intro-copy{margin-bottom:12px}h1{font-size:51px;margin-bottom:14px}.mode-detail{margin-bottom:12px}.primary{padding:14px 20px}.record{margin-top:9px}.topbar{padding:13px 18px}}
@media(max-width:700px){main{padding:14px 10px}.masthead{margin-bottom:16px}.edition,.build-tag{display:none}.brand{font-size:12px}.brand-mark{width:30px;height:30px;font-size:20px}.arena{aspect-ratio:auto;height:min(680px,76svh);min-height:490px}.topbar{padding:12px}.wordmark{font-size:20px}.tools button{font-size:12px;padding:7px 9px}.tools kbd{display:none}.intro{padding:25px}.screen{background:linear-gradient(90deg,#090f20ee,#090f2080)}h1{font-size:clamp(42px,10vw,62px);line-height:1.02;letter-spacing:-2px}.kicker{font-size:10px;letter-spacing:1.1px}.intro-copy{font-size:15px;margin-bottom:18px}.primary{width:100%;min-width:0;padding:17px}.mode-picker{width:100%;justify-content:space-between}.mode-picker button{padding:9px 14px;flex:1}.start-hint{font-size:11px}.game-footer{padding:13px;font-size:10px;justify-content:center}.game-footer p{display:none}.underbar{align-items:flex-start}.underbar p{font-size:12px}.underbar b{display:block}.underbar button{font-size:12px;padding:0 4px}.hud{top:18px;left:15px;right:15px}.eyebrow{font-size:10px;letter-spacing:1px}.hud strong{font-size:22px}#hearts{font-size:16px;letter-spacing:2px}.hud i{font-size:14px}.modal{padding:24px}.modal h2{font-size:31px}.modal p{font-size:15px}.upgrade{padding:12px}.dash-hud{bottom:26px;font-size:10px}.dash-hud>div{width:86px}.dash-hud small{display:none}.toast{font-size:12px;white-space:normal;top:84px;width:max-content}.results b{font-size:20px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
.screen{overflow-y:auto;overscroll-behavior:contain;padding:12px 0}.modal{max-height:calc(100% - 16px);overflow-y:auto}.modal.loadout{width:min(770px,94%);padding:25px 30px}.loadout-heading{display:flex;justify-content:space-between;align-items:center;gap:20px}.loadout-heading h2{font-size:40px;margin-bottom:4px}#loadout-ship{width:140px;height:132px;flex:none}.loadout-note{margin:0 0 20px!important;line-height:1.4!important}.weapon-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.weapon-card{display:flex;flex-direction:column;text-align:left;padding:17px 14px;min-width:0;border-color:#36445d;background:#14233a;border-radius:8px}.weapon-card.selected{border-color:var(--weapon-color);background:linear-gradient(135deg,#254238,#172639);box-shadow:inset 0 0 0 1px var(--weapon-color)}.weapon-card:hover{border-color:var(--weapon-color)!important}.weapon-top{display:flex;justify-content:space-between;align-items:center;width:100%;margin-bottom:18px}.weapon-number{font:12px ui-monospace,monospace;color:var(--muted)}.weapon-pattern{display:flex;gap:4px;align-items:center;width:70px;height:22px;justify-content:flex-end;color:var(--weapon-color)}.weapon-pattern i{display:block;width:15px;height:3px;background:currentColor;border-radius:2px;box-shadow:0 0 8px currentColor}.weapon-pattern.scatter{gap:5px;transform:rotate(-90deg)}.weapon-pattern.scatter i:first-child{transform:rotate(25deg)}.weapon-pattern.scatter i:last-child{transform:rotate(-25deg)}.weapon-pattern.rail{gap:0}.weapon-pattern.rail i{width:22px;height:3px}.weapon-card b{font-size:17px;color:var(--weapon-color);margin-bottom:8px}.weapon-tag{font:10px ui-monospace,monospace;letter-spacing:.7px;color:#b5c5dd;margin-bottom:11px;line-height:1.5}.weapon-card small{font-size:14px;line-height:1.45;color:#b8c5d9}.loadout .primary{margin-top:18px;font-size:14px}.hud-note{display:block;color:#a1b1c9;font:10px ui-monospace,monospace;margin-top:7px;letter-spacing:.7px}.asset-status{display:block;color:var(--muted);font-size:13px;margin-top:8px}.asset-status:empty{display:none}
@media(max-width:700px){.modal.loadout{padding:20px}.loadout-heading{gap:10px}.loadout-heading h2{font-size:28px}#loadout-ship{width:93px;height:88px}.loadout-note{font-size:14px!important;margin-bottom:15px!important}.weapon-grid{grid-template-columns:1fr;gap:8px}.weapon-card{padding:12px 14px;display:grid;grid-template-columns:1fr 80px;column-gap:10px}.weapon-top{grid-column:2;grid-row:1/3;margin:0;align-self:center}.weapon-number{display:none}.weapon-card b{grid-column:1;grid-row:1;margin:0 0 5px;font-size:16px}.weapon-tag{grid-column:1;grid-row:2;font-size:9px;margin-bottom:5px}.weapon-card small{grid-column:1/3;font-size:13px}.loadout .primary{font-size:12px;padding:14px 12px}.hud-note{font-size:8px;letter-spacing:0}.start-hint{max-width:270px;line-height:1.6}.hud{left:12px;right:12px}.hud>div{width:33.3%}.toast{top:115px}}
/* Roguelike missions, boss telegraphs and manual twin-stick controls. */
.intro h1{font-size:clamp(38px,4.85vw,68px)}.start-hint{line-height:1.65}.hud-center strong{display:block;font-size:23px;line-height:1.15}.hud-center .eyebrow{font-size:10px;line-height:1.3}.hud #hearts{display:block;max-width:100%;font-size:18px;letter-spacing:1px;line-height:1.35}.bossbar{position:absolute;top:109px;left:50%;transform:translateX(-50%);width:min(500px,66%);pointer-events:none;text-align:center}.bossbar>span{font:10px ui-monospace,monospace;letter-spacing:.8px;color:#ffe1d0;text-shadow:0 2px 6px #000;display:block;margin-bottom:7px}.bossbar>div{height:8px;padding:1px;background:#09111fe6;border:1px solid #52617a;border-radius:5px;overflow:hidden}.bossbar i{display:block;height:100%;width:100%;background:var(--red);border-radius:5px}.toast{top:158px;white-space:normal;width:max-content;max-width:80%;line-height:1.4}.route-preview{display:flex;flex-wrap:wrap;gap:6px;margin:18px 0 0}.route-preview span,.run-summary span{font:10px ui-monospace,monospace;letter-spacing:.4px;border:1px solid #354762;border-radius:4px;padding:7px 8px;color:#b6c6dc}.route-preview .route-boss{color:var(--gold);border-color:#75603d}.run-summary{display:flex;gap:7px;flex-wrap:wrap;margin:24px 0 12px}.carry-note{font-size:13px!important}.weapon-pattern.missile i{height:6px;border-radius:5px 0 0 5px}.weapon-pattern.arc{transform:skewY(-16deg);gap:0}.weapon-pattern.arc i:nth-child(2){transform:rotate(65deg)}.weapon-pattern.disc i{width:13px;height:13px;background:transparent;border:2px solid currentColor;border-radius:50%;box-shadow:none}
#fire-stick{position:absolute;bottom:22px;right:22px;width:94px;height:94px;border:1px solid #ffd17b88;background:#ffd17b0b;border-radius:50%;pointer-events:auto;touch-action:none;display:grid;place-items:center}#aim-knob{width:37px;height:37px;border:1px solid #ffd17b99;background:#ffd17b44;border-radius:50%;pointer-events:none}#joystick small,#fire-stick small{position:absolute;bottom:-16px;font:9px ui-monospace,monospace;letter-spacing:1px;color:var(--muted);pointer-events:none}#touch-dash{bottom:140px;right:34px;width:68px;height:68px;background:#183932dd;font-size:10px}.touch-controls~.dash-hud{bottom:30px}
@media(max-width:1000px){.intro h1{font-size:48px}}
@media(max-width:700px){.intro h1{font-size:clamp(35px,9.5vw,52px)}.intro-copy{font-size:14px}.mode-detail{font-size:10px;line-height:1.4}.hud-center strong{font-size:16px}.hud-center .eyebrow{font-size:8px;letter-spacing:.5px}.hud #hearts{font-size:13px;letter-spacing:0;max-width:105px}.bossbar{top:106px;width:78%}.bossbar>span{font-size:8px;letter-spacing:0}.toast{top:155px;font-size:11px}.route-preview{gap:4px;margin-top:13px}.route-preview span{font-size:8px;padding:6px}.modal .kicker{line-height:1.6}.modal.loadout{padding:17px}.loadout-heading h2{font-size:27px}.loadout-note{font-size:12px!important}.weapon-card small{font-size:12px}.dash-hud{bottom:34px}.game-footer{letter-spacing:.3px}}
.brand-mark{font-size:16px;letter-spacing:-1px;padding-right:0}.wordmark{font-size:21px}.wordmark small{margin-left:14px}
@media(max-width:700px){.wordmark{font-size:16px;gap:3px}.tools{gap:5px}.tools button{padding:7px 7px}}
/* Fleet hangar: the ships and the next playable run are the main surface. */
.screen{place-items:start center;padding:12px 0;background:#091222ee}.modal{align-self:center}.hangar{padding:16px 5% 20px;align-self:center}.hangar-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:15px}.hangar .kicker{margin:0 0 6px;font-size:12px}.hangar h1{font-size:32px!important;letter-spacing:-1px;line-height:1.15;margin:0}.wallet{text-align:right}.wallet small{font:12px ui-monospace,monospace;color:var(--muted);letter-spacing:1px}.wallet strong{display:block;font:700 28px ui-monospace,monospace;color:var(--gold)}.fleet-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.ship-card{display:flex;flex-direction:column;align-items:center;min-width:0;padding:10px 8px 12px;background:radial-gradient(ellipse at 50% 32%,#233c53 0,#112139 74%);border:1px solid #3a4c65;border-radius:10px;position:relative}.ship-card canvas{width:100%;height:clamp(85px,10vw,130px);object-fit:contain;pointer-events:none}.ship-card.selected{border-color:var(--ship-color);box-shadow:inset 0 0 0 1px var(--ship-color),0 0 24px #0005;background:radial-gradient(ellipse at 50% 30%,#2b475b 0,#152a40 74%)}.ship-card:hover{border-color:var(--ship-color)!important}.ship-card b{font-size:18px;color:var(--ship-color);margin:0 0 5px}.ship-card>span{font:11px ui-monospace,monospace;color:#b5c3d9;letter-spacing:.3px}.ship-card small{font:12px ui-monospace,monospace;color:#dee8f7;margin-top:8px;text-align:center}.ship-overview{display:flex;align-items:center;justify-content:space-between;gap:14px;border:1px solid #31485f;border-radius:8px;background:#0d1e32;padding:12px 16px;margin-top:12px}.ship-ability{display:flex;align-items:center;gap:13px}.ability-emblem{width:44px;height:44px;flex:none;padding:8px;border:1px solid currentColor;border-radius:50%;background:#ffffff09}.ability-emblem svg{display:block;width:100%;height:100%}.ship-ability b{font-size:16px}.ship-ability p{font-size:14px;color:#b7c9df;line-height:1.4;margin:5px 0 0}.ship-overview>button{flex:none;font-size:12px;color:var(--gold);border-color:#8a7047;padding:12px}.hangar-launch{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-top:18px}.hangar .mode-detail{margin:8px 0 0;font-size:12px;line-height:1.4}.hangar .primary{font-size:14px;padding:16px 18px;min-width:250px}.hangar .record{font-size:12px;margin-top:7px}.pilot-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:12px}.pilot-row p{font-size:12px;line-height:1.5;color:var(--muted);margin:0 auto 0 0}.pilot-row button{padding:6px 9px;font-size:12px}.pilot-row>div{display:flex;gap:6px}.action-error{font-size:14px!important;color:#ffb09d!important;min-height:0;margin:8px 0!important}.action-error:empty{display:none}.shop-wallet{font:700 27px ui-monospace,monospace!important;color:var(--gold)!important}.shop-upgrade{justify-content:space-between}.shop-upgrade strong{font:700 16px ui-monospace,monospace;color:var(--gold);white-space:nowrap}.shop-upgrade i{font:13px ui-monospace,monospace;color:var(--muted);font-style:normal;margin-left:10px}.pit-stop{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:22px 0}.pit-stop button{padding:18px 10px;border-color:#526a80}.pit-stop b{display:block;color:var(--cyan);font-size:14px}.pit-stop small{display:block;color:var(--muted);font-size:14px;margin-top:9px}
/* Circular charge dial: outer ring is the first charge, inner ring banks the second. */
.super-button{--super-color:#81ffb0;position:absolute;bottom:17px;left:50%;transform:translateX(-50%);display:flex;flex-direction:column;align-items:center;gap:7px;width:146px;padding:0;color:var(--super-color);background:transparent;border:0;border-radius:50%;touch-action:manipulation;z-index:2}.super-button:disabled{opacity:1;cursor:default}.super-dial{position:relative;display:grid;place-items:center;width:100px;height:100px;border-radius:50%;background:radial-gradient(circle,#213950 0,#0a172aea 65%);box-shadow:0 3px 18px #0007;flex:none}.super-rings{position:absolute;inset:0;width:100%;height:100%;transform:rotate(-90deg);fill:none;pointer-events:none}.super-ring-track{stroke:#34465b;stroke-width:5}.super-ring-fill{stroke:var(--super-color);stroke-width:5;stroke-linecap:round;stroke-dasharray:100;stroke-dashoffset:100;transition:stroke-dashoffset .18s ease}.super-reserve-track{stroke:#283b51;stroke-width:2}.super-reserve-fill{stroke-width:2;opacity:.8}.super-icon{display:grid;place-items:center;width:42px;height:42px;filter:drop-shadow(0 0 6px var(--super-color))}.super-icon svg{width:100%;height:100%;display:block}.super-copy{display:block;text-align:center;white-space:nowrap;text-shadow:0 2px 5px #000,0 0 8px #000}.super-copy b{display:block;font:700 11px ui-monospace,monospace;letter-spacing:.3px}.super-copy small{display:block;font:11px ui-monospace,monospace;color:#b9cce0;margin-top:4px}.super-bank{position:absolute;right:0;top:2px;padding:3px 5px;font:700 12px ui-monospace,monospace;color:#081421;background:var(--super-color);border:2px solid #0b1829;border-radius:12px}.super-button.ready{cursor:pointer}.super-button.ready .super-dial{box-shadow:0 0 28px color-mix(in srgb,var(--super-color) 40%,transparent),inset 0 0 18px color-mix(in srgb,var(--super-color) 18%,transparent)}.super-button.ready .super-copy small{color:var(--super-color)}.super-button.active .super-dial{background:radial-gradient(circle,#4a3757,#0a172a 70%)}.super-button.active .super-icon{color:#fff}.super-button:hover:not(:disabled){color:var(--super-color)}.dash-hud{left:calc(50% - 150px);bottom:31px}.dash-hud>div{width:110px}
.upgrade.selected{border-color:var(--cyan);background:#203f49;box-shadow:inset 0 0 0 1px var(--cyan)}.upgrade.selected .number{color:#0c2925;background:var(--cyan);border-color:var(--cyan)}.modal .upgrade-selection{font-size:13px;min-height:20px;color:var(--gold);margin:14px 0 0}.modal #confirm-upgrade{margin-top:13px}.confirm-hint{display:block;font-size:12px;color:var(--muted);margin-top:10px;text-align:center}.hangar{align-self:start;margin-block:auto}.ship-card>span{text-align:center;line-height:1.4}
.combo{position:absolute;top:145px;left:26px;color:var(--gold);font:700 13px ui-monospace,monospace;pointer-events:none;text-shadow:0 2px 8px #000}.hud-center{padding:8px 10px 10px;background:#11243bc9;border:1px solid #365977;border-radius:8px;margin-top:-8px}.hud .hud-center{width:38%}.hud .hud-center strong{font-size:28px}.hud-center .eyebrow{font-size:12px}.hud #hearts{font-size:26px}.hud-note{font-size:11px;line-height:1.35}#mission-hint{color:#b7f4e5;font-size:12px}#run-cash{color:var(--gold)}.bossbar{top:128px}.toast{top:180px}.wordmark small{font-size:12px}.route-preview span,.run-summary span{font-size:12px}.upgrade small{line-height:1.4}.weapon-tag{font-size:11px}
@media(max-width:1000px){.hangar{padding:10px 4% 18px}.hangar-heading{margin-bottom:10px}.hangar h1{font-size:28px!important}.ship-card canvas{height:92px}.ship-card>span{font-size:9px}.ship-card b{font-size:16px}.ship-card small{font-size:10px}.ship-overview{padding:10px}.ship-ability p{font-size:13px}.hangar-launch{margin-top:12px}.hangar .primary{min-width:225px;font-size:12px;padding:14px}.hangar .mode-picker button{padding:8px 13px}.hangar .mode-detail{font-size:11px}.pilot-row{margin-top:9px}}
@media(max-width:700px){.arena{height:min(800px,82svh);min-height:620px}.hangar{padding:12px 15px}.hangar-heading{margin-bottom:10px}.hangar h1{font-size:24px!important}.wallet strong{font-size:23px}.fleet-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.ship-card{padding:5px 6px 9px}.ship-card canvas{height:78px}.ship-card b{font-size:16px;margin-bottom:3px}.ship-card>span{font-size:9px}.ship-card small{font-size:11px;margin-top:5px}.ship-overview{flex-wrap:wrap;gap:10px;margin-top:9px}.ship-ability{gap:10px}.ability-emblem{width:35px;height:35px;padding:6px}.ship-ability b{font-size:14px}.ship-ability p{font-size:12px;margin-top:4px}.ship-overview>button{width:100%;padding:8px;font-size:12px}.hangar-launch{display:block;margin-top:12px}.hangar .primary{margin-top:12px;padding:14px;font-size:13px}.hangar .mode-detail{font-size:11px}.pilot-row{gap:6px}.pilot-row p{width:100%;font-size:12px}.pilot-row button{font-size:12px;padding:5px 7px}.hangar .record{font-size:11px}.hud>div{width:27%}.hud .hud-center{width:45%;padding:7px 4px;margin-top:-3px}.hud .hud-center strong{font-size:19px}.hud-center .eyebrow{font-size:9px;line-height:1.4}.hud #hearts{font-size:23px}#mission-hint{font-size:10px}.hud-note{font-size:9px;letter-spacing:0;line-height:1.4}#weapon-name{font-size:9px}.hud{left:10px;right:10px;gap:5px}.bossbar{top:135px;width:88%}.bossbar>span{font-size:10px}.toast{top:183px;max-width:91%}.combo{top:164px;left:12px;font-size:11px}.super-button{width:128px;bottom:16px;gap:5px}.super-dial{width:86px;height:86px}.super-icon{width:36px;height:36px}.super-copy b{font-size:10px;letter-spacing:0}.super-copy small{font-size:10px;margin-top:3px}.super-bank{font-size:10px}.dash-hud{left:50%;bottom:151px;font-size:10px}.dash-hud>div{width:86px;margin:5px auto}.dash-hud small{display:none}.fleet-grid .ship-card:last-child:nth-child(odd){grid-column:1/-1;width:calc(50% - 3.5px);justify-self:center}#joystick{left:14px;width:82px;height:82px}#fire-stick{right:14px;width:82px;height:82px}#touch-dash{right:22px;bottom:133px;width:62px;height:62px}.route-preview span,.run-summary span{font-size:11px}.pit-stop{gap:8px}.pit-stop b{font-size:12px}.pit-stop small{font-size:12px}.shop-upgrade b{font-size:15px}.shop-upgrade small{font-size:13px}.modal{padding:22px}}

/* The final challenge is earned by winning every base difficulty with the entire fleet. */
.ship-clear{display:block;font:10px ui-monospace,monospace;font-style:normal;color:#899db7;margin-top:8px;text-align:center}.ship-clear.complete{color:var(--cyan)}.god-progress{font:11px ui-monospace,monospace;line-height:1.5;color:#a5b6cc;margin:12px 0 0}.god-progress.unlocked{color:#ff9dcc}.mode-picker button[data-mode="god"]{color:#ff9dcc}.mode-picker button[data-mode="god"].selected{background:#562844}.mode-picker button[data-mode="god"]:disabled{color:#92a0b5;opacity:.6}.hangar-launch{flex-wrap:wrap}.hangar-launch>div{min-width:0}
@media(max-width:700px){.ship-clear{font-size:9px;margin-top:6px}.god-progress{font-size:10px}.hangar .mode-picker button{padding:9px 7px;font-size:12px}.hangar-launch>div{width:100%}}
.difficulty-stamps{display:flex;flex-wrap:wrap;gap:6px 12px}.difficulty-stamps span{font:11px ui-monospace,monospace;color:#8298b2}.difficulty-stamps .cleared{color:var(--cyan)}

.guardian-bars{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:9px}.guardian-bars[hidden]{display:none}.guardian-card{padding:6px;background:#0a1223ed;border:1px solid #354762;border-radius:6px;min-width:0}.guardian-card b{display:block;font:700 14px ui-monospace,monospace;color:var(--guardian-color);white-space:nowrap}.guardian-card>span{display:block;height:5px;background:#293249;margin:5px 0}.guardian-card i{background:var(--guardian-color);border-radius:0}.guardian-card small{font:12px ui-monospace,monospace;color:#d2def3}.guardian-card.defeated{opacity:.5}.guardian-phase .toast{top:250px}.guardian-phase .combo{top:230px}@media(max-width:700px){.guardian-bars{gap:4px}.guardian-card{padding:5px 2px}.guardian-card b{font-size:12px}.guardian-phase .toast{top:254px}}

.hangar-actions{display:flex;align-items:center;gap:14px;flex-shrink:0}.hangar-heading>div:first-child{min-width:0}.rift-entry{width:84px;height:84px;padding:0;border:0;background:transparent;flex-shrink:0;border-radius:50%;transition:transform .2s}.rift-entry img{display:block;width:100%;height:100%;object-fit:contain}.rift-entry:hover{background:transparent;transform:scale(1.08)}.rift-entry:focus-visible{outline:2px solid #b1a1ff;outline-offset:3px}.modal.rift-keypad{width:min(390px,94%);text-align:center}.rift-code{display:block;font:700 34px ui-monospace,monospace;letter-spacing:6px;padding:16px 8px;margin:18px 0;background:#080f20;border:1px solid #7663b0;border-radius:8px;color:#d3c5ff}.keypad{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.keypad button{min-height:48px;font-size:22px;background:#192840;border-color:#435579}.keypad button[data-rift-key="clear"]{font-size:14px}.modal.rift-keypad .primary{margin-top:8px}.modal.rift-keypad .action-error{min-height:24px;margin:12px 0 4px;font-size:14px}.modal.rift-menu{width:min(850px,95%)}.rift-menu h2{font-size:30px}.rift-ship-label{display:block;font-size:14px;color:#b9c8df;margin-bottom:6px}#rift-ship{width:100%;font:inherit;font-size:16px;color:var(--ink);background:#152239;border:1px solid #516588;border-radius:6px;padding:12px}.destination-group{margin-top:20px}.destination-group h3{font-size:18px;color:#cfbfff;margin:0 0 9px}.destination-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.destination-grid button{text-align:left;min-height:108px;padding:12px;background:#142238;border-color:#3a506f}.destination-grid button:hover{border-color:#b6a0ff;background:#243250}.destination-grid b{display:block;font-size:16px;line-height:1.3;margin:8px 0;color:#eff1ff}.destination-grid small{font:12px ui-monospace,monospace;color:#c9b6ff}.destination-grid span{font-size:14px;color:#9dded5}.destination-grid [data-jump-stage="3"]{border-color:#76623f}.full-repair{color:#81ffb0!important;font-weight:700;letter-spacing:1px}@media(max-width:700px){.hangar-heading{gap:10px}.hangar-actions{gap:5px}.rift-entry{width:64px;height:64px}.hangar-actions .wallet strong{font-size:20px}.destination-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.modal.rift-menu{padding:20px 15px}.rift-menu h2{font-size:27px}.destination-grid button{min-height:110px}.rift-code{font-size:28px;letter-spacing:3px}}@media(prefers-reduced-motion:reduce){.rift-entry:hover{transform:none}}

/* Co-op extends the existing hangar and combat surface. */
.coop-entry{width:100%;display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:12px;border-color:#6684ab;background:#182940;font-weight:700;color:#c3ddff}.coop-entry span{font-size:12px;color:#92b5d7;font-weight:500}.coop-form{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:15px 0}.coop-form label{font-size:14px;color:#bdcce0;display:grid;gap:7px}.coop-form select,.coop-join input{width:100%;font:inherit;font-size:16px;background:#101c30;color:#eff5ff;border:1px solid #516887;border-radius:6px;padding:12px}.coop-join{display:flex;gap:10px;margin-top:16px}.coop-join input{min-width:0;letter-spacing:3px;text-transform:uppercase}.coop-join button{flex-shrink:0}.coop-code{display:block;text-align:center;font:700 36px ui-monospace,monospace;letter-spacing:7px;color:#b6d9ff;background:#0b1425;border:1px solid #4b6382;border-radius:8px;padding:16px;margin:16px 0}.coop-crew{display:grid;grid-template-columns:1fr 1fr;gap:12px}.coop-crew>div{background:#192b40;border:1px solid #3d5671;border-radius:8px;padding:14px;text-align:center}.coop-crew b,.coop-crew small{display:block;line-height:1.5}.coop-crew small{color:#a9bed3;font-size:14px}.coop-crew canvas{height:110px;max-width:190px;margin:auto}.coop-strip{position:absolute;left:22px;bottom:24px;font:12px ui-monospace,monospace;display:grid;gap:7px;max-width:220px;pointer-events:none;text-shadow:0 2px 5px #000}.coop-strip b{color:#b3d1ff;font-size:14px}.coop-strip span{color:#adc2d6;line-height:1.5}#touch-revive{position:absolute;bottom:129px;left:12px;pointer-events:auto;touch-action:none;max-width:100px;font-size:11px;background:#233d5b;border-color:#adcfff}.modal.coop-modal{width:min(720px,94%);max-height:95%;overflow:auto}.coop-modal .weapon-grid{margin:14px 0}.coop-modal .weapon-card{min-height:0;padding:13px}.coop-modal .weapon-card b{font-size:17px}.coop-modal .weapon-card small{font-size:13px}.coop-modal .weapon-card.selected{border-color:var(--cyan);background:#24434a}.coop-modal h2{font-size:30px}.coop-modal .primary{margin-top:14px}.coop-note{font-size:14px!important}.coop-modal .upgrade-grid{margin-top:12px}
@media(max-width:1000px){.coop-strip{bottom:18px;left:15px;max-width:150px;font-size:11px}.coop-strip b{font-size:12px}.coop-entry{font-size:13px}.coop-entry span{font-size:11px}}
@media(max-width:700px){.coop-strip{top:197px;bottom:auto;left:12px;max-width:180px}.coop-entry{flex-wrap:wrap}.coop-entry span{font-size:10px}.coop-form{grid-template-columns:1fr}.coop-crew canvas{height:85px}.coop-code{font-size:28px}.coop-modal .weapon-grid{grid-template-columns:1fr}.coop-join button{padding:10px}.coop-modal h2{font-size:26px}.coop-modal .weapon-card small{font-size:14px}}

/* Controller status stays outside the arena; focus is distinct from an equipped choice. */
.controller-bar{display:grid;gap:7px;padding:12px 20px;background:#0d1729;border-top:1px solid #293b54;color:#b6c7da;font-size:14px;line-height:1.5}.controller-bar.connected #controller-status{color:#8ef2c7}.controller-bar #controller-hint:empty{display:none}.controller-focus{outline:3px solid #ffd17b!important;outline-offset:3px;box-shadow:0 0 0 5px #080e1c!important}.controller-editing{outline-color:#75f5dd!important}.controller-bar #controller-hint{color:#c8d8e9}.controller-map{line-height:1.7!important}#dash-control{max-width:160px;line-height:1.5}@media(max-width:700px){.controller-bar{padding:12px 14px}}

/* Active runs use the browser viewport, with a compact title/control bar. */
body.run-active{overflow:hidden;overscroll-behavior:none}
.run-active main{max-width:none;margin:0;padding:0}
.run-active .masthead,.run-active .underbar,.run-active .game-footer,.run-active .controller-bar{display:none}
.run-active .game-shell{position:fixed;inset:0;z-index:10;width:100%;height:100vh;height:100dvh;display:flex;flex-direction:column;border:0;border-radius:0;box-shadow:none;padding-bottom:env(safe-area-inset-bottom)}
.run-active .topbar{flex:none;min-height:56px;padding:8px max(14px,env(safe-area-inset-right)) 8px max(14px,env(safe-area-inset-left));padding-top:max(8px,env(safe-area-inset-top));border-bottom:1px solid #293b54}
.run-active .wordmark small{display:none}
.run-active .tools{align-items:center}
.run-active .tools button{min-height:40px}
.run-active .arena{flex:1 1 0;min-height:0;height:auto;width:100%;aspect-ratio:auto}
.run-active #game{position:absolute;inset:0}
.run-active .screen{max-height:100%;padding:12px 0}
.run-active.run-menu .controller-bar{display:grid;flex:none;max-height:84px;overflow:auto;padding:8px 16px}
.controller-indicator{font-size:20px;line-height:1;display:grid;place-items:center;min-width:28px;color:var(--cyan)}
@media(max-width:700px){.run-active .topbar{gap:8px}.run-active .wordmark{font-size:17px}.run-active .tools button{font-size:13px;padding:8px}.run-active .controller-indicator{font-size:17px;min-width:20px}.run-active.run-menu .controller-bar{max-height:72px;font-size:14px}.run-active .modal{padding:18px}.run-active .toast{max-width:90%}}
@media(max-height:600px){.run-active .topbar{min-height:48px;padding-top:max(4px,env(safe-area-inset-top));padding-bottom:4px}.run-active .hud{top:10px}.run-active .hud .hud-center strong{font-size:18px}.run-active .hud #hearts{font-size:20px}.run-active .hud-center{padding:4px 7px}.run-active .hud-note{margin-top:3px}.run-active .bossbar{top:104px}.run-active .super-dial{width:64px;height:64px}.run-active .super-icon{width:30px;height:30px}.run-active .super-button{bottom:10px;gap:3px}.run-active .super-copy b,.run-active .super-copy small{font-size:11px}.run-active .dash-hud{bottom:23px;left:calc(50% - 130px)}.run-active .toast{top:142px}.run-active .combo{top:120px}.run-active .guardian-phase .toast{top:194px}.run-active .guardian-card{padding:3px}.run-active .guardian-card b{font-size:12px}.run-active .guardian-bars{margin-top:5px}.run-active .modal{padding:16px}.run-active .modal h2{font-size:26px}.run-active.run-menu .controller-bar{display:none}}

.boss-pair-bars{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:8px}.duo-phase .toast{top:250px}.duo-phase .combo{top:230px}@media(max-height:600px){.run-active .duo-phase .toast{top:194px}.run-active .boss-pair-bars{margin-top:4px}.run-active .duo-phase .combo{top:178px}}

/* Pet bay extends the copper, neon and painted sprite style of the fleet. */
.pet-machine-entry{display:grid;place-items:center;width:86px;height:86px;min-height:86px;padding:0;border-color:#b78046;background:linear-gradient(120deg,#312540,#152e37);box-shadow:0 0 22px #d79a3524;flex-shrink:0;text-align:left}.pet-machine-entry img{display:block;object-fit:contain;width:82px;height:82px;mix-blend-mode:screen}.pet-machine-entry:hover:not(:disabled){border-color:#ffdaa6;box-shadow:0 0 25px #ffa7353d}.equipped-pet{margin:0 0 10px;font-size:14px;color:#b7d9cf}.modal.pets-modal{width:min(1000px,96%);max-height:95%;overflow:auto;padding:24px}.pet-title{display:flex;align-items:center;justify-content:space-between;gap:12px}.pet-title h2{font-size:30px;margin:10px 0}.pet-balance{font-size:24px;white-space:nowrap;color:#ffdf9c}.pet-machine-panel{display:grid;grid-template-columns:200px 1fr;align-items:center;gap:24px;padding:16px;background:radial-gradient(ellipse at 15% 45%,#482743,#142339 60%);border:1px solid #66506a;border-radius:10px;margin-top:16px}.pet-machine-art{width:200px;height:220px;object-fit:contain;mix-blend-mode:screen}.pet-machine-controls p{margin:10px 0 15px;font-size:16px}.pet-price{font-size:20px;color:#ffe0a8}.pet-machine-controls small{display:block;font-size:14px;line-height:1.6;color:#c0cbdc;margin-top:12px}.pet-machine-controls .primary{min-width:0;width:100%;justify-content:center;margin:0}.pet-machine-panel.rolling .pet-machine-art{animation:pet-machine-breathe .65s ease-in-out infinite alternate}.pet-collection-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:24px 0 12px}.pet-collection-heading h3{font-size:20px;margin:0}.pet-collection-heading h3 span{font-size:14px;color:#a9b9cf;margin-left:8px}.pet-collection{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.pet-card{display:flex;flex-direction:column;min-width:0;background:#111c30;border:1px solid #35445e;border-radius:8px;padding:14px}.pet-card.equipped{border-color:var(--pet-color);box-shadow:inset 0 0 24px #9beccc12}.pet-rarity{display:flex;flex-wrap:wrap;justify-content:space-between;gap:7px;font-size:14px}.pet-rarity b{color:var(--pet-color)}.pet-rarity span{color:#cad4e1}.pet-card canvas,.pet-reveal canvas{mix-blend-mode:screen;object-fit:contain;flex-shrink:0}.pet-card canvas{width:100%;height:145px}.pet-card h3{font-size:22px;color:var(--pet-color);margin:2px 0 5px}.pet-ability{font-size:14px;color:#dae6f7}.pet-card p{font-size:14px;line-height:1.6;color:#b4c5de;flex:1;margin:9px 0 16px}.pet-card button{width:100%;min-height:42px}.pet-card button[aria-pressed=true]{opacity:1;color:var(--pet-color);background:#203b40}.pet-reveal{display:flex;align-items:center;gap:20px;margin-top:10px;padding:15px;border:1px solid var(--pet-color);border-radius:9px;background:#17283b}.pet-reveal canvas{width:130px;height:120px}.pet-reveal span{font-size:14px;color:var(--pet-color)}.pet-reveal h3{font-size:26px;margin:8px 0}.pet-reveal h3 small{font-size:14px;color:var(--pet-color);margin-left:8px}.pet-reveal p{font-size:14px;margin:0 0 10px}.pet-reveal b{font-size:14px;color:var(--pet-color)}#pets-back{width:100%;margin-top:20px}#pet-action-status{min-height:20px;font-size:14px;margin:12px 0 0}#pet-hud{color:#b9e7df}
@keyframes pet-machine-breathe{from{filter:brightness(1)}to{filter:brightness(1.35);transform:translateY(-3px)}}
@media(max-width:1000px){.pet-machine-entry{width:70px;height:70px;min-height:70px;padding:0}.pet-machine-entry img{width:66px;height:66px}.hangar-heading{flex-wrap:wrap}.hangar-actions{max-width:100%}.pet-collection{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.pet-title{flex-wrap:wrap}.pet-title h2{font-size:26px}.pet-machine-panel{grid-template-columns:100px minmax(0,1fr);gap:12px;padding:12px}.pet-machine-art{width:100px;height:150px}.pet-price{font-size:16px}.pet-machine-controls .primary{padding:14px 8px;font-size:14px;letter-spacing:0}.pet-machine-controls p{font-size:14px}.pet-machine-controls small{grid-column:1/-1;font-size:14px}.modal.pets-modal{padding:16px}.pet-card{padding:10px}.pet-collection{gap:8px}.pet-card canvas{height:110px}.pet-card h3{font-size:20px}.pet-reveal{gap:10px}.pet-reveal canvas{width:86px;height:110px}.pet-reveal h3 small{display:block;margin:3px 0}.pet-collection-heading{flex-wrap:wrap}.hangar-actions{gap:8px}}
@media(max-width:360px){.pet-collection{grid-template-columns:1fr}.pet-machine-panel{grid-template-columns:1fr}.pet-machine-art{margin:auto;height:140px;width:140px}}
@media(prefers-reduced-motion:reduce){.pet-machine-panel.rolling .pet-machine-art{animation:none}}

@media(max-width:600px){.hangar-actions{flex-wrap:wrap}}

.pet-held{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.pet-empty-slot{display:grid;place-items:center;min-height:180px;border:1px dashed #475976;border-radius:8px;color:#8295b3;font:14px ui-monospace,monospace}.pet-card.undiscovered{background:#0d1627;border-color:#293750}.pet-card.undiscovered h3{font-size:19px;color:#8293af}.pet-card.undiscovered canvas{opacity:.7}.pet-card>small{font-size:12px;color:#a9b9d0}.pet-storage-choice{margin:20px 0;padding:18px;background:#16273c;border:1px solid #8f91c7;border-radius:10px}.pet-storage-choice h3{font-size:22px;margin:0 0 10px}.pet-storage-choice>p{font-size:14px;line-height:1.6}.pet-choice-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.pet-choice-card{display:flex;flex-direction:column;align-items:center;gap:8px;text-align:left;min-width:0;padding:12px;background:#111d30}.pet-choice-card canvas{width:100%;height:100px;object-fit:contain;mix-blend-mode:screen}.pet-choice-card b{font-size:17px;color:var(--pet-color)}.pet-choice-card small{font-size:14px;color:#d1dced}.pet-choice-card span{font-size:14px;line-height:1.5;color:#aebdd3;flex:1}.pet-choice-card strong{font:14px ui-monospace,monospace;margin-top:8px}.pet-choice-card.selected{border-color:#b6fff0;box-shadow:inset 0 0 0 1px #b6fff0;background:#223e46}.pet-storage-choice .primary{width:100%;white-space:normal}#pet-keep-status{min-height:23px;color:#b6fff0}@media(max-width:600px){.pet-choice-grid{grid-template-columns:1fr}.pet-choice-card{display:grid;grid-template-columns:80px 1fr}.pet-choice-card canvas{grid-row:1/5;height:100px}.pet-held{grid-template-columns:1fr}.pet-storage-choice{padding:12px}.pet-empty-slot{min-height:80px}}

.account-dialog{width:min(440px,calc(100vw - 32px));max-height:calc(100dvh - 32px);box-sizing:border-box;overflow:auto;padding:28px;border:1px solid #47667e;border-radius:18px;color:#eaf5ff;background:#101c30;box-shadow:0 20px 90px #0009}.account-dialog::backdrop{background:#030815e8}.account-dialog h2{font-size:26px;margin:8px 0 14px}.account-dialog p{font-size:15px;line-height:1.5;color:#bccddd}.account-dialog form{display:grid;gap:14px}.account-dialog label{display:grid;gap:7px;font-size:15px}.account-dialog input:not([type=checkbox]){width:100%;box-sizing:border-box;border:1px solid #425d77;border-radius:8px;padding:12px;background:#080f20;color:#edf9ff;font:inherit;font-size:16px}.account-dialog input:focus{outline:2px solid #75f5dd;outline-offset:2px}.account-dialog button{min-height:44px;white-space:normal}.account-dialog .primary{width:100%;margin-top:10px}.account-dialog .account-check{display:flex;gap:10px;align-items:flex-start;font-size:14px;line-height:1.5}.account-dialog .account-check input{margin-top:4px}.account-note{display:block;font-size:14px;color:#9cb2c9;line-height:1.5}.account-links{display:flex;gap:8px;flex-wrap:wrap;margin-top:15px}.account-dialog .recovery-code{display:block;user-select:all;overflow-wrap:anywhere;padding:16px;background:#070d19;color:#75f5dd;border:1px solid #3f6d6b;border-radius:8px;font:18px/1.6 monospace;margin:16px 0}.account-dialog>button{margin:5px 0}.account-dialog .action-error{color:#ffb3a5}.coop-crew{grid-template-columns:repeat(3,minmax(0,1fr))}.coop-crew b{overflow-wrap:anywhere}@media(max-width:520px){.coop-crew{grid-template-columns:1fr}.account-dialog{padding:20px}}

/* The ship console stays legible while only the arena artwork changes brightness. */
#game{filter:brightness(var(--arena-brightness,1))}
.tools .settings-entry{display:grid;place-items:center;width:44px;min-height:44px;padding:9px;color:#a9e9dd;border:1px solid #456878;background:#152c3a;flex:none}
.settings-entry svg{width:24px;height:24px}.tools .settings-entry:hover{color:#d3fff5;border-color:#75f5dd;background:#1b3b46}
.settings-dialog{width:min(490px,calc(100vw - 24px));max-height:calc(100dvh - 24px);overflow:auto;overscroll-behavior:contain;padding:26px;border:1px solid #538178;border-radius:16px;background:#101c30;color:#eaf5ff;box-shadow:0 24px 80px #000b}
.settings-dialog::backdrop{background:#03081588}.settings-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}.settings-heading .kicker{color:#89c8bf;font-size:12px;letter-spacing:2px}.settings-heading h2{font-size:30px;line-height:1.1;margin:8px 0 0}.settings-heading .icon-button{font-size:28px;min-width:44px;min-height:44px;padding:3px 10px;background:#14283a}
.settings-account{margin-top:22px;padding:16px;border:1px solid #3e596d;border-radius:9px;background:#14283a}.settings-label{display:block;color:#a9bcd0;font:12px/1.4 ui-monospace,monospace;letter-spacing:1.4px}.settings-account strong{display:block;font-size:20px;overflow-wrap:anywhere;margin:7px 0;color:#b1f3dc}.settings-account p{font-size:14px;line-height:1.6;color:#b9cbdd;margin:0 0 14px}.settings-account button{width:100%;min-height:44px;background:#20394a}
.settings-section{margin-top:22px;padding-top:18px;border-top:1px solid #30465c}.settings-control{margin:16px 0 6px}.settings-control>div{display:flex;justify-content:space-between;align-items:baseline;gap:14px}.settings-control label{font-size:16px;font-weight:600}.settings-control output{color:#91f0d7;font:14px ui-monospace,monospace;min-width:48px;text-align:right}.settings-control input{display:block;width:100%;height:38px;margin:7px 0 0;accent-color:#75f5dd;cursor:pointer;touch-action:pan-y}.settings-control input:focus-visible{outline:2px solid #ffd17b;outline-offset:3px;border-radius:6px}
.settings-note{color:#afc2d5;font-size:14px;line-height:1.6;margin:8px 0}.settings-track{display:flex;gap:12px;align-items:center;color:#aceedc}.settings-track>span{font-size:27px}.settings-track b{font-size:16px;display:block}.settings-track small{display:block;font-size:14px;color:#afc2d5;margin-top:4px}.settings-section button{margin:8px 5px 6px 0;min-height:44px}.settings-section button[aria-pressed=true]{border-color:#ffd17b;color:#ffd17b;background:#353229}
.brightness-reference{display:flex;gap:4px;filter:brightness(var(--arena-brightness,1));border-radius:4px;overflow:hidden}.brightness-reference i{height:8px;flex:1;background:#17263c}.brightness-reference i:nth-child(2){background:#345270}.brightness-reference i:nth-child(3){background:#688ca3}.brightness-reference i:nth-child(4){background:#9fcecf}.brightness-reference i:nth-child(5){background:#d5f9ef}.settings-footer{display:flex;gap:12px;justify-content:space-between;margin-top:16px}.settings-footer button{min-height:46px;white-space:normal}.settings-footer .primary{min-width:110px;padding:12px 20px;margin:0}.settings-dialog button:focus-visible{outline:3px solid #ffd17b;outline-offset:3px}
@media(max-width:520px){.settings-dialog{padding:20px}.settings-heading h2{font-size:26px}.settings-footer{gap:8px}.settings-footer .primary{min-width:90px}.topbar .tools{align-items:center}.topbar .tools .settings-entry{width:44px;padding:9px}}

/* Research paths extend the hangar's neon instrumentation. */
.tech-entry{width:100%;display:flex;align-items:center;gap:14px;text-align:left;background:#152838;border-color:#5aa58f;margin:12px 0;color:#d5fff0;padding:14px 18px;min-height:58px}.tech-entry svg{width:30px;height:30px;flex:none}.tech-entry span{flex:1}.tech-entry b{display:block;font-size:16px}.tech-entry small{display:block;font-size:14px;color:#a9c9c2;margin-top:4px}.tech-entry strong{font-size:20px;white-space:nowrap}.modal.tech-modal{width:min(1080px,96%);max-height:94%;overflow:auto;padding:26px}.tech-heading{display:flex;justify-content:space-between;align-items:center;gap:18px}.tech-heading h2{font-size:30px;margin:8px 0}.tech-wallet{color:#90ffe0;font-size:30px;white-space:nowrap}.tech-wallet small{font-size:16px}.tech-intro{font-size:16px!important;line-height:1.6!important}.tech-layout{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(235px,1fr);gap:24px;align-items:start}.tech-branch-labels{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));text-align:center;gap:8px;font-size:14px;margin:4px 0 12px}.tech-nodes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px 10px}.tech-node{position:relative;display:grid;grid-template-columns:28px 1fr;gap:5px 6px;align-items:center;padding:12px 9px;min-height:86px;background:#101c30;text-align:left;border-color:#3b4b62;white-space:normal}.tech-node b{font-size:14px;line-height:1.35;overflow-wrap:anywhere}.tech-node small{grid-column:2;font-size:12px;color:#abbdd3}.tech-number{grid-row:1/3;font:700 16px ui-monospace,monospace;color:var(--tech-color)}.tech-node::before{content:'';position:absolute;width:1px;height:20px;background:var(--tech-color);opacity:.45;left:50%;bottom:100%}.tech-node.foundation,.tech-node.apex{grid-column:1/-1;justify-self:center;width:70%}.tech-node.foundation::before{display:none}.tech-node.available{border-color:#79b2a1}.tech-node.researched{background:#163333;border-color:var(--tech-color)}.tech-node.selected{outline:2px solid var(--tech-color);outline-offset:3px;background:#22354a}.tech-detail{position:sticky;top:0;background:#142438;border:1px solid #526575;border-top:3px solid var(--tech-color);border-radius:9px;padding:20px}.tech-detail h3{font-size:26px;line-height:1.2;margin:12px 0;color:var(--tech-color)}.tech-detail p{font-size:16px;line-height:1.6}.tech-detail small{display:block;font-size:14px;line-height:1.6;color:#aabfd2}.tech-detail .primary{width:100%;font-size:14px;justify-content:center;white-space:normal;padding:15px 8px;min-width:0}.tech-stats{display:flex;flex-wrap:wrap;gap:8px}.tech-stats span{padding:6px 8px;background:#0a1729;border-radius:4px;font-size:14px;color:#d4e7f4}.tech-requires,.tech-current{font-size:14px!important}.tech-earning{margin:22px 0 10px;border:1px solid #3e5568;padding:14px;border-radius:6px;font-size:14px;color:#bcd0e2}.tech-earning summary{cursor:pointer;font-size:16px;color:#d8fff1}.tech-earning p{font-size:14px;line-height:1.5}.tech-earning div{display:grid;gap:8px}#tech-back{width:100%}#tech-status{min-height:20px}.utility-button{position:absolute;z-index:4;bottom:30px;left:calc(50% + 100px);display:grid;grid-template-columns:38px minmax(0,1fr);gap:5px 9px;width:200px;min-height:66px;text-align:left;padding:10px;background:#0d1c30ed;border:1px solid var(--tech-color,#90ffe0);touch-action:manipulation}.utility-button .utility-number{grid-row:1/3;display:grid;place-items:center;width:36px;height:36px;border:2px solid var(--tech-color,#90ffe0);border-radius:50%;font:700 15px ui-monospace,monospace;color:var(--tech-color,#90ffe0)}.utility-button b{font-size:14px;line-height:1.3}.utility-button small{font-size:12px;color:#bed1de}.utility-button:disabled{opacity:.65}.utility-button.ready{box-shadow:0 0 16px #90ffe026}.tech-run-earned{color:#90ffe0!important;font-size:14px!important}.tech-utility-note{font-size:14px!important;color:#bfeadf!important}
@media(max-width:780px){.tech-layout{grid-template-columns:1fr}.tech-detail{position:static;grid-row:1}.tech-nodes{gap:18px 8px}.modal.tech-modal{padding:18px}.utility-button{left:auto;right:12px;bottom:145px;width:160px;min-height:60px}.tech-heading h2{font-size:26px}}
@media(max-height:600px) and (min-width:781px){.utility-button{bottom:12px;left:calc(50% + 65px);width:180px}}
@media(max-width:400px){.tech-node{grid-template-columns:1fr;padding:10px 7px}.tech-number{grid-row:auto}.tech-node small{grid-column:1}.tech-node.foundation,.tech-node.apex{width:85%}.tech-wallet{font-size:24px}}

/* Compact controls and upward, curved research paths. */
.tech-entry{width:48px;height:48px;min-height:48px;flex:none;display:grid;place-items:center;padding:10px;margin:0;border-radius:50%;background:#132a32;color:#90ffe0}.tech-entry svg{width:26px;height:26px}.tech-entry:hover{background:#1d4244}.tech-map{max-height:540px;overflow:auto;border:1px solid #304652;border-radius:18px;background:radial-gradient(ellipse at 50% 100%,#14333580,transparent 70%);scrollbar-color:#537c7b #0c1728}.tech-nodes{display:block;position:relative;min-width:500px;width:100%;aspect-ratio:600/820}.tech-connections{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}.tech-node,.tech-node.foundation,.tech-node.apex{position:absolute;transform:translate(-50%,-50%);width:26%;min-height:66px;display:grid;grid-template-columns:22px minmax(0,1fr);gap:3px 5px;padding:8px 7px;border-radius:18px;z-index:1}.tech-node::before{display:none}.tech-node b{font-size:14px}.tech-node small{grid-column:2}.tech-number{grid-row:1/3;font-size:12px;display:grid;place-items:center;width:22px;height:22px;border:1px solid var(--tech-color);border-radius:50%}.utility-button{width:155px;min-height:52px;padding:7px;grid-template-columns:24px minmax(0,1fr);gap:3px 7px}.utility-button .utility-number{width:24px;height:24px;font-size:12px;border-width:1px}.utility-button b{font-size:14px}.utility-button small{font-size:12px}@media(max-width:780px){.tech-map{max-height:460px}.utility-button{width:145px;min-height:52px}.tech-detail{padding:14px}.tech-entry{width:44px;height:44px;min-height:44px}}@media(max-height:600px) and (min-width:781px){.utility-button{width:155px}}

.utility-art{background-image:url('assets/utility-atlas.png');background-size:500% 400%;background-repeat:no-repeat}.tech-number.utility-art{width:24px;height:24px;border:0;border-radius:0}.utility-button .utility-number.utility-art{border:0;border-radius:0;width:28px;height:28px}.tech-detail-art.utility-art{display:block;width:72px;height:72px;margin:12px 0 0}.tech-node{grid-template-columns:24px minmax(0,1fr)}

/* Adventure routes: the same quiet space art used in the arena. */
.career-panel{padding:14px 18px;border:1px solid #75f5dd30;border-radius:12px;background:#0c1929;margin:14px 0;color:#b7cde0}.career-panel>div{display:flex;justify-content:space-between;gap:12px}.career-panel b{color:#75f5dd;font-size:13px;letter-spacing:.12em}.career-panel small{font-size:12px}.career-panel progress{display:block;width:100%;height:6px;margin:10px 0;accent-color:#75f5dd}.feature-locked{opacity:.45}.ship-card:disabled{opacity:.5;cursor:not-allowed}.adventure-routes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:20px 0}.route-card{padding:0 0 15px;text-align:left;overflow:hidden;border:1px solid #43516a;border-radius:12px;background:#101c2d;color:#d8e7f3;transition:border-color .15s,transform .15s}.route-card.selected,.pit-stop .selected{border-color:#75f5dd;box-shadow:0 0 0 2px #75f5dd55}.route-card:hover{border-color:var(--route-color,#75f5dd);transform:translateY(-2px)}.route-image{display:block;width:100%;height:104px;background-image:url('assets/adventure-backgrounds.png');background-size:300% 200%;background-repeat:no-repeat}.route-card small,.route-card b,.route-card p,.route-card em{display:block;margin:10px 14px 0}.route-card small{font-size:9px;color:var(--route-color,#ffd17b);letter-spacing:.08em}.route-card b{font-size:18px}.route-card p{font-size:13px;line-height:1.4;min-height:38px}.route-card em{font-size:11px;font-style:normal;color:#94adc4}.boss-route .route-image{background-image:radial-gradient(ellipse,#6c3555,#10192d);background-size:100%;font-size:65px;text-align:center;color:#ffb3ce}.route-votes{font-size:12px;color:#9fc9ef}.leaderboard-table{width:100%;border-collapse:collapse;margin:20px 0;text-align:left;font-variant-numeric:tabular-nums}.leaderboard-table td,.leaderboard-table th{padding:10px;border-bottom:1px solid #314156}.leaderboard-table th{font-size:11px;color:#92a9c0;text-transform:uppercase}.leaderboard-table td:nth-child(3){color:#75f5dd;font-weight:700}.empty-board{padding:30px 0;color:#9fc9ef}#board-results{min-height:100px}@media(max-width:640px){.adventure-routes{grid-template-columns:1fr}.route-image{height:80px}.route-card p{min-height:0}.career-panel>div{font-size:12px}.route-card small{font-size:10px}}

/* Locked fleet art reveals only the silhouette; unlock requirements remain readable. */
.ship-card.ship-locked{opacity:1;background:radial-gradient(ellipse at 50% 32%,#253449 0,#101c2c 74%);border-color:#34445a}
.ship-card.ship-locked:hover{border-color:#34445a!important}
.ship-card.ship-locked canvas{filter:drop-shadow(0 0 1px #9baec8) drop-shadow(0 0 5px #8198bb38)}
.ship-card.ship-locked b{color:#a8b8cb}
.ship-card.ship-locked>span,.ship-card.ship-locked small{color:#8d9db2}
.ship-card.ship-locked .ship-clear{color:#bdcde0}

/* Four menu destinations keep flight setup separate from progression and collecting. */
#screen.has-hangar-nav{bottom:82px}
.hangar-nav{position:absolute;z-index:8;bottom:10px;left:50%;transform:translateX(-50%);width:min(570px,calc(100% - 24px));display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;padding:5px;background:#101d2ff5;border:1px solid #425670;border-radius:16px;box-shadow:0 8px 26px #0008}
.hangar-nav button{min-width:0;min-height:58px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;padding:5px 3px;border:1px solid transparent;border-radius:11px;background:transparent;color:#aabed4;font-size:14px;font-weight:600;line-height:1.1}
.hangar-nav button svg{width:23px;height:23px;flex:none}
.hangar-nav button img{width:28px;height:25px;object-fit:contain;mix-blend-mode:screen}
.hangar-nav button:hover:not(:disabled){background:#21334b;border-color:#526b88;color:#e7f6ff}
.hangar-nav button.selected{background:#213b47;border-color:#68c4b4;color:#a7ffdd}
.hangar-nav button.feature-locked{opacity:1;color:#96a6bc}
.hangar-nav button.feature-locked span::after{content:' 🔒';font-size:11px}
.hangar-nav button:disabled{opacity:.5;cursor:wait}
.hangar-actions{gap:12px}.hangar-heading{margin-bottom:10px}
.ship-overview{margin-block:12px}.ship-clear{line-height:1.4;text-align:center}
.upgrade-heading{display:flex;justify-content:space-between;align-items:center;gap:15px}.upgrade-heading h2{font-size:29px!important;margin:7px 0!important}.upgrade-heading .shop-wallet{font-size:22px!important;white-space:nowrap}
.upgrade-ship-picker{display:flex;align-items:center;gap:12px;font-size:15px;color:#becfe3;margin:20px 0 8px}.upgrade-ship-picker select{flex:1;min-width:0;background:#16283c;color:#e1f2ff;border:1px solid #52677e;border-radius:8px;padding:10px;font:inherit}
.upgrade-note{font-size:14px!important;margin:8px 0!important}.research-link{display:flex;align-items:center;gap:14px;width:100%;margin-top:18px;padding:14px;text-align:left;background:#152e37;border:1px solid #567a81;border-radius:12px}.research-link svg{width:28px;height:28px;flex:none;color:#9ef1d6}.research-link>span:first-of-type{flex:1}.research-link b,.research-link small{display:block}.research-link b{font-size:16px}.research-link small{font-size:14px;font-weight:400;color:#adc9d0;margin-top:5px;line-height:1.4}
.career-panel{padding:15px;margin:18px 0}.career-panel b{font-size:14px;letter-spacing:.05em}.career-panel small{display:block;font-size:14px;line-height:1.5}.career-panel progress{height:8px;margin:12px 0}
.sector-lock{text-align:center;padding:24px 8px;max-width:470px;margin:auto}.sector-lock-icon{display:grid;place-items:center;width:78px;height:78px;border:1px solid #617590;border-radius:50%;background:#203047;margin:0 auto 22px;color:#a8c7e6}.sector-lock-icon svg{width:38px;height:38px}.sector-lock .kicker{display:block}.sector-lock h2{font-size:29px!important}.sector-lock>strong{display:block;color:#a8ffdd;font-size:19px;margin:18px 0}.sector-lock p{font-size:16px!important;line-height:1.6}.sector-lock progress{display:block;width:min(280px,100%);height:8px;accent-color:#7ee9c4;margin:22px auto 28px}.sector-lock .primary{width:100%;justify-content:center;font-size:14px}
.modal.pets-modal{width:min(850px,96%)}.pet-machine-panel{display:block;padding:12px 18px 18px;background:radial-gradient(ellipse at 50% 20%,#253c4c,#132133 65%)}
.capsule-stage{width:100%;margin:0 auto}.capsule-stage canvas{display:block;width:100%;height:auto;aspect-ratio:18/7}.capsule-stage p{font-size:14px!important;text-align:center;color:#9cf2d8!important;margin:0 0 16px!important;min-height:20px}
.pet-machine-controls{display:grid;grid-template-columns:1fr auto;gap:6px 16px;align-items:center}.pet-price{font-size:16px}.pet-machine-controls>p{font-size:14px!important;margin:0!important}.pet-machine-controls .primary{grid-column:2;grid-row:1/3;width:auto;min-width:210px;min-height:48px;font-size:14px;padding:13px}.pet-machine-controls .capsule-odds{grid-column:1/-1;font-size:12px;margin-top:10px;text-align:center;line-height:1.6}.roll-rules{grid-column:1/-1;font-size:14px;color:#b6c7d9}.roll-rules summary{cursor:pointer;text-align:center}.roll-rules p{font-size:14px!important;line-height:1.5;margin:8px 0!important}
.pet-discovery{margin-top:22px;border:1px solid #415572;background:#0c1828;border-radius:12px;padding:14px}.pet-discovery>summary{cursor:pointer;color:#d6e9ff;font-size:14px;font-weight:700;letter-spacing:.03em}.pet-discovery>summary span{display:block;color:#9fb3c9;font-size:13px;font-weight:400;letter-spacing:0;margin:7px 0 0 18px}.pet-discovery .pet-collection{margin-top:16px}.pet-card{position:relative;background:radial-gradient(ellipse at 50% 20%,#23394c,#101e31 70%);box-shadow:inset 0 2px 0 var(--pet-color)}.pet-card.equipped{box-shadow:inset 0 3px 0 var(--pet-color),0 0 16px #7bffe019}.pet-card.undiscovered{background:radial-gradient(ellipse at 50% 20%,#223046,#0c1828 70%)}.pet-card.undiscovered canvas{opacity:.85}.pet-held{margin-top:12px}.pet-collection-heading h3{font-size:19px}
@media(max-width:600px){.hangar-nav button{font-size:12px;min-height:56px}.hangar-nav{gap:2px;width:calc(100% - 16px);bottom:8px}#screen.has-hangar-nav{bottom:79px}.modal.pets-modal{padding:16px}.pet-title h2{font-size:25px}.pet-balance{font-size:21px}.pet-machine-panel{padding:9px 10px 14px}.pet-machine-controls{grid-template-columns:1fr}.pet-machine-controls .primary{grid-row:auto;grid-column:1;width:100%;margin-top:9px}.pet-price,.pet-machine-controls>p{text-align:center}.pet-machine-controls .capsule-odds{font-size:12px}.upgrade-heading{align-items:start}.upgrade-heading h2{font-size:25px!important}.upgrade-heading .shop-wallet{font-size:18px!important}.sector-lock{padding:12px 0}.sector-lock>strong{font-size:18px}}
@media(prefers-reduced-motion:reduce){.pet-machine-panel.rolling .pet-machine-art{animation:none}}

/* Menu fit audit: consistent sizing, flexible content and game-native fleet controls. */
.hangar-nav button{font-size:14px;min-width:0}.hangar-nav button>span{max-width:100%;line-height:1.2}.hangar-nav button svg,.hangar-nav button img{flex-shrink:0}
.screen{min-width:0;scrollbar-gutter:stable}.modal,.hangar,.modal>div,.modal>section{min-width:0;max-width:100%}.modal{overflow-x:hidden;scrollbar-gutter:stable;overflow-wrap:break-word}
.modal h2,.pet-title,.upgrade-heading,.career-panel>div{min-width:0;flex-wrap:wrap}.modal h2{overflow-wrap:anywhere}.modal button{max-width:100%;white-space:normal;overflow-wrap:break-word}
.modal .mode-picker,.hangar .mode-picker{display:flex;flex-wrap:wrap;width:100%;max-width:100%;gap:4px}.modal .mode-picker button,.hangar .mode-picker button{flex:1 1 76px;min-width:0;padding:10px 8px;min-height:40px;font-size:14px}
.modal.leaderboard-modal{width:min(680px,94%)}.leaderboard-modal .mode-picker{margin-top:10px}.leaderboard-modal>p{font-size:14px;margin:10px 0 14px}
.leaderboard-table{table-layout:fixed;width:100%;margin:16px 0;border:1px solid #324c63;border-radius:8px;background:#0d192a}.leaderboard-table .rank-col{width:12%}.leaderboard-table .pilot-col{width:44%}.leaderboard-table .count-col{width:22%}.leaderboard-table th{font-size:12px;letter-spacing:.04em;background:#182b3f}.leaderboard-table td{font-size:14px}.leaderboard-table td,.leaderboard-table th{padding:10px 8px;overflow-wrap:anywhere}.leaderboard-table tr:last-child td{border-bottom:0}.leaderboard-table tbody tr:nth-child(even){background:#142236}.leaderboard-table th:nth-child(n+3),.leaderboard-table td:nth-child(n+3){text-align:right}#board-results{min-width:0;overflow-wrap:anywhere}
.fleet-picker{min-width:0;margin:14px 0;border:1px solid #49637a;border-radius:12px;background:#102236;overflow:hidden}.fleet-picker>summary{display:flex;align-items:center;gap:12px;list-style:none;cursor:pointer;padding:9px 14px;min-height:76px;background:linear-gradient(110deg,#183a45,#17263c)}.fleet-picker>summary::-webkit-details-marker{display:none}.fleet-picker summary canvas{width:94px;height:62px;object-fit:contain;flex:none}.fleet-picker summary>span:not(.picker-chevron){flex:1;min-width:0}.fleet-picker summary small{display:block;color:#9fbccc;font:12px ui-monospace,monospace;letter-spacing:.08em}.fleet-picker summary b{display:block;color:#b1ffdf;font-size:19px;margin-top:4px;overflow-wrap:anywhere}.picker-chevron{font-size:24px;color:#a4e2d1;transition:transform .15s}.fleet-picker[open] .picker-chevron{transform:rotate(180deg)}.fleet-picker summary[aria-disabled=true]{opacity:.5;cursor:wait}.fleet-picker summary:focus-visible{outline:3px solid #ffd17b;outline-offset:-3px}
.fleet-choice-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;padding:10px;max-height:300px;overflow-y:auto;overscroll-behavior:contain}.fleet-choice{min-width:0;display:flex;flex-direction:column;align-items:center;gap:4px;padding:7px 5px;border:1px solid #3e5770;border-radius:8px;background:radial-gradient(ellipse at 50% 20%,#294257,#142439);text-align:center}.fleet-choice canvas{width:100%;height:64px;object-fit:contain}.fleet-choice b{font-size:14px;color:var(--ship-color)}.fleet-choice small{font-size:12px;color:#aec5d7;line-height:1.4}.fleet-choice.selected{border-color:var(--ship-color);box-shadow:inset 0 0 0 1px var(--ship-color);background:#21413f}.fleet-choice.locked{opacity:1;background:#162335;cursor:not-allowed}.fleet-choice.locked canvas{filter:drop-shadow(0 0 1px #a3b7d1)}.fleet-choice.locked b,.fleet-choice.locked small{color:#9badc2}
.coop-form{grid-template-columns:1fr;gap:8px}.coop-form .fleet-picker{margin:0}.hosting-difficulty{border:0;padding:0;margin:8px 0;min-width:0}.hosting-difficulty legend{font:12px ui-monospace,monospace;color:#9fbccc;letter-spacing:.08em;margin-bottom:8px}.coop-join{min-width:0;flex-wrap:wrap}.coop-join input{flex:1 1 170px;max-width:100%}.coop-join button{flex:1 0 90px}.coop-code{overflow-wrap:anywhere;letter-spacing:clamp(2px,1vw,7px)}.coop-crew>div{min-width:0}.coop-note{overflow-wrap:anywhere}
.pet-title{flex-wrap:wrap}.pet-title h2{margin:8px 0}.pet-balance{max-width:100%;overflow-wrap:anywhere;white-space:normal}.pet-card,.pet-choice-card,.pet-reveal>div,.tech-detail,.research-link>span{min-width:0}.pet-card h3,.pet-card p,.pet-choice-card b,.pet-reveal h3,.research-link small{overflow-wrap:anywhere}.pet-reveal{min-width:0}.research-link{gap:10px}.research-link>span:last-child{flex:none}.tech-map{max-width:100%}.sector-lock .primary{letter-spacing:.03em}
@media(max-width:600px){.hangar-nav button{font-size:clamp(11px,3.4vw,13px)}.modal{padding:18px}.modal.leaderboard-modal{padding:16px}.leaderboard-table td,.leaderboard-table th{padding:9px 6px}.leaderboard-table th{letter-spacing:0}.fleet-choice-grid{grid-template-columns:repeat(2,minmax(0,1fr));max-height:270px}.fleet-picker summary canvas{width:76px;height:52px}.fleet-picker summary{padding:8px 10px;gap:9px}.fleet-picker summary b{font-size:17px}.pet-machine-controls .primary{min-width:0}.upgrade-heading .shop-wallet{max-width:100%;white-space:normal;overflow-wrap:anywhere}.hangar-launch>div{min-width:0;width:100%}.hangar-launch>.primary{width:100%;min-width:0}.career-panel>div{gap:8px}.topbar{gap:8px}.wordmark{min-width:0}.wordmark small{display:none}}
@media(max-width:380px){.leaderboard-modal .mode-picker button{flex-basis:40%;font-size:13px}.leaderboard-table .rank-col{width:13%}.leaderboard-table .pilot-col{width:41%}.leaderboard-table .count-col{width:23%}.modal .primary{font-size:13px;letter-spacing:.04em;padding:14px 12px}.pet-reveal{grid-template-columns:1fr;text-align:center}.pet-reveal canvas{margin:auto}.pet-title h2{font-size:23px}.topbar .tools{gap:4px}.topbar .tools button{padding:7px}.hangar-heading{gap:8px}.hangar h1{font-size:27px!important}.wallet strong{font-size:23px}}
@media(prefers-reduced-motion:reduce){.picker-chevron{transition:none}}

.account-dialog,.settings-dialog{overflow-x:hidden;overflow-wrap:anywhere}.account-dialog .primary{min-width:0;gap:12px;font-size:14px}.account-dialog form,.account-dialog label,.settings-heading>div,.settings-control>div{min-width:0}.settings-control>div,.settings-footer{flex-wrap:wrap}.settings-footer button{flex:1;min-width:0}.settings-footer .primary{min-width:90px}.account-links button{flex:1 1 auto;min-width:0}

/* The navigation owns a layout row, outside the scrollable arena. */
html,body{height:100%;overflow:hidden}
body main,.run-active main{width:100%;max-width:none;height:100dvh;margin:0;padding:0}
.masthead,.underbar,.game-footer{display:none}
.game-shell,.run-active .game-shell{position:relative;inset:auto;display:flex;flex-direction:column;width:100%;height:100dvh;min-height:0;border:0;border-radius:0;padding:0;overflow:hidden;box-shadow:none}
.topbar,.run-active .topbar{flex:none;min-height:56px;padding:8px max(12px,env(safe-area-inset-right)) 8px max(12px,env(safe-area-inset-left));padding-top:max(8px,env(safe-area-inset-top));border-bottom:1px solid #293b54}
.arena,.run-active .arena{flex:1 1 0;min-height:0;height:auto;width:100%;aspect-ratio:auto}
#screen,#screen.has-hangar-nav,.run-active #screen{inset:0;padding:16px max(10px,env(safe-area-inset-right)) 20px max(10px,env(safe-area-inset-left));scroll-padding:20px;overflow:auto;overscroll-behavior:contain}
.hangar-nav,.run-active .hangar-nav{position:relative;inset:auto;transform:none;flex:none;order:5;align-self:stretch;width:100%;margin:0;z-index:8;gap:4px;border-width:1px 0 0;border-radius:0;padding:6px max(8px,env(safe-area-inset-right)) max(6px,env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-left));background:#101d2f;box-shadow:none;grid-template-columns:repeat(4,minmax(0,1fr))}
.hangar-nav button{width:100%;min-height:54px;max-width:220px;justify-self:center;cursor:pointer}
.hangar-nav button:disabled{cursor:default;opacity:.45}
.controller-bar,.run-active.run-menu .controller-bar{flex:none;max-height:54px;overflow:auto;padding:5px 12px;font-size:12px;line-height:1.3}
.controller-bar:not(.connected){display:none}
.topbar .wordmark{min-width:0}.topbar .tools{flex:none}.topbar .tools #how{width:38px;min-width:38px;padding:7px;font-size:20px}
.modal,.intro{min-width:0;max-width:100%;box-sizing:border-box;overflow-wrap:anywhere}
.route-grid,.weapon-grid,.upgrade-grid{min-width:0}.route-card,.weapon-card,.upgrade{min-width:0;overflow-wrap:anywhere}
button:focus-visible,summary:focus-visible{outline:2px solid #a8ffdf;outline-offset:3px}
@media(max-width:600px){.topbar .wordmark{font-size:20px}.topbar .wordmark small{display:none}.hangar-nav button{font-size:11px;min-height:52px}.hangar-nav button svg{width:21px;height:21px}.route-grid{grid-template-columns:1fr}.topbar .tools button{min-width:34px}.topbar kbd{display:none}}
@media(max-height:500px){.topbar,.run-active .topbar{min-height:42px;padding-top:4px;padding-bottom:4px}.hangar-nav button{min-height:40px;flex-direction:row;font-size:11px;gap:5px}.hangar-nav button svg,.hangar-nav button img{width:19px;height:19px}.controller-bar{display:none!important}}

/* Mobile flight: safe edges, compact landscape HUD and separate thumb controls. */
.mobile-tip{display:none}.topbar .tools #fullscreen{min-width:38px;width:38px;padding:5px;font-size:24px}
#game{touch-action:none}.screen button{touch-action:manipulation}
@media(pointer:coarse){.mobile-tip{display:block;color:#9fb9ce;font-size:12px;text-align:center;margin:8px 0}.screen input,.screen select,.screen textarea{font-size:16px}.hangar-nav button{touch-action:manipulation}.fleet-choice{min-height:104px}.topbar .tools{gap:3px}}
@media(pointer:coarse) and (orientation:portrait){.run-active .super-button{left:calc(50% - 30px);width:64px;bottom:18px}.run-active .super-dial{width:60px;height:60px}.run-active .super-copy{display:none}.run-active .utility-button{left:calc(50% + 12px);right:auto;bottom:25px;width:50px;min-height:50px;display:grid;place-items:center;padding:7px}.run-active .utility-button b,.run-active .utility-button small{display:none}.run-active .dash-hud{left:50%;bottom:110px}.run-active #touch-dash{right:24px;bottom:124px;width:52px;height:52px}.run-active #touch-revive{right:86px;bottom:124px;width:58px;height:52px}.run-active .coop-strip{top:160px;max-width:180px;font-size:10px}.run-active .coop-strip b{font-size:10px}}
@media(orientation:landscape) and (max-height:600px){
 .topbar .wordmark{font-size:18px}.topbar .wordmark small{display:none}.topbar,.run-active .topbar{min-height:42px;padding-top:max(3px,env(safe-area-inset-top));padding-bottom:3px}.topbar .tools button{min-height:32px}.hangar-nav button{min-height:36px;flex-direction:row;font-size:11px;gap:5px}.hangar-nav{padding-top:3px;padding-bottom:max(3px,env(safe-area-inset-bottom))}.hangar-nav button svg,.hangar-nav button img{width:20px;height:20px}.controller-bar{display:none!important}
 .run-active .hud{top:5px;left:max(10px,env(safe-area-inset-left));right:max(10px,env(safe-area-inset-right));gap:10px}.hud>div{min-width:0}.hud-center{max-width:50%}.hud strong{font-size:21px;line-height:1.1}.hud .eyebrow{font-size:9px;letter-spacing:.3px}.hud .hud-note{font-size:9px;line-height:1.25}.run-active #weapon-name,.run-active #pet-hud,.run-active #run-cash{display:none}.run-active .bossbar{top:59px;width:48%}.bossbar>span{font-size:9px;margin-bottom:3px}.guardian-card{padding:3px}.guardian-card b,.guardian-card small{font-size:8px}
 .run-active #joystick,.run-active #fire-stick{width:76px;height:76px;bottom:18px}.run-active #joystick{left:max(14px,env(safe-area-inset-left))}.run-active #fire-stick{right:max(14px,env(safe-area-inset-right))}.run-active #touch-dash{left:105px;right:auto;bottom:20px;width:48px;height:48px}.run-active #touch-revive{right:105px;bottom:20px;width:52px;height:48px;font-size:9px}
 .run-active .super-button{left:calc(50% - 32px);bottom:12px;width:54px;gap:0}.run-active .super-dial{width:52px;height:52px}.run-active .super-icon{width:27px;height:27px}.run-active .super-copy{display:none}.run-active .utility-button{left:calc(50% + 8px);right:auto;bottom:14px;width:50px;min-height:50px;display:grid;place-items:center;padding:6px}.run-active .utility-button b,.run-active .utility-button small{display:none}.run-active .dash-hud{left:180px;bottom:18px;font-size:8px}.run-active .dash-hud>div{width:48px;height:3px;margin:3px auto}.run-active .coop-strip{top:62px;left:12px;bottom:auto;max-width:180px;font-size:9px;gap:2px}.run-active .coop-strip b{font-size:9px}.run-active .toast{top:105px;bottom:auto;font-size:11px;max-width:55%;padding:7px 10px}.run-active .combo{display:none}
 .screen .weapon-grid,.screen .route-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.screen .modal h2{font-size:25px}.screen .modal{padding:16px}.mobile-tip{margin:4px 0}
}

/* Landscape phones: full-height playfield with thumb controls in the side gutters. */
@media(orientation:landscape) and (max-height:600px){
 .touch-device.run-active:not(.run-menu) .hangar-nav,
 .touch-device.run-active:not(.run-menu) .controller-bar{display:none!important}
 .touch-device.run-active:not(.run-menu) .topbar{position:absolute;inset:0 0 auto;z-index:9;min-height:0;height:0;padding:0;border:0;background:none;pointer-events:none;justify-content:flex-end}
 .touch-device.run-active:not(.run-menu) .topbar .wordmark,
 .touch-device.run-active:not(.run-menu) #how,
 .touch-device.run-active:not(.run-menu) #settings-button,
 .touch-device.run-active:not(.run-menu) #controller-indicator{display:none}
 .touch-device.run-active:not(.run-menu) .topbar .tools{position:absolute;top:max(4px,env(safe-area-inset-top));right:max(5px,env(safe-area-inset-right));display:flex;gap:3px;pointer-events:auto}
 .touch-device.run-active:not(.run-menu) .topbar .tools button{width:36px;min-width:36px;height:36px;min-height:36px;padding:3px;font-size:11px;background:#0b1c2ae8;border-color:#527486}
 .touch-device.run-active:not(.run-menu) .topbar .tools #fullscreen{font-size:22px}
 .touch-device.run-active:not(.run-menu) #pause kbd{display:none}
 .touch-device.run-active:not(.run-menu) .arena{height:100%;flex:1 1 100%;background:#08111f}
 .touch-device.run-active:not(.run-menu) #game{inset:0 auto 0 50%;transform:translateX(-50%);width:min(calc(100% - 176px - env(safe-area-inset-left) - env(safe-area-inset-right)),164.705882dvh);height:100%}
 .touch-device.run-active:not(.run-menu) .hud{top:max(5px,env(safe-area-inset-top));left:96px;right:96px;gap:5px}
 .touch-device.run-active:not(.run-menu) .hud>div{width:23%}
 .touch-device.run-active:not(.run-menu) .hud .hud-center{width:54%;max-width:none;margin:0;padding:0 4px;border:0;background:none;border-radius:0}
 .touch-device.run-active:not(.run-menu) .hud strong,
 .touch-device.run-active:not(.run-menu) .hud .hud-center strong{font-size:16px;line-height:1.05}
 .touch-device.run-active:not(.run-menu) .hud .eyebrow{font-size:8px;line-height:1.1;letter-spacing:0}
 .touch-device.run-active:not(.run-menu) .hud .hud-note{font-size:8px;line-height:1.1;margin-top:2px;letter-spacing:0}
 .touch-device.run-active:not(.run-menu) #objective{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 .touch-device.run-active:not(.run-menu) .bossbar{top:46px;width:min(360px,45%)}
 .touch-device.run-active:not(.run-menu) .bossbar>span{margin-bottom:2px;font-size:8px}
 .touch-device.run-active:not(.run-menu) .bossbar>div{height:5px}
 .touch-device.run-active:not(.run-menu) .guardian-bars,
 .touch-device.run-active:not(.run-menu) .boss-pair-bars{gap:3px;margin-top:3px}
 .touch-device.run-active:not(.run-menu) .guardian-card{padding:2px;border:0;background:#0a172bbb}
 .touch-device.run-active:not(.run-menu) .guardian-card small{display:none}
 .touch-device.run-active:not(.run-menu) #joystick,
 .touch-device.run-active:not(.run-menu) #fire-stick{width:72px;height:72px;bottom:max(15px,env(safe-area-inset-bottom));opacity:.8}
 .touch-device.run-active:not(.run-menu) #joystick{left:max(7px,env(safe-area-inset-left))}
 .touch-device.run-active:not(.run-menu) #fire-stick{right:max(7px,env(safe-area-inset-right))}
 .touch-device.run-active:not(.run-menu) #touch-dash{left:max(21px,env(safe-area-inset-left));right:auto;bottom:99px;width:44px;height:44px;font-size:9px}
 .touch-device.run-active:not(.run-menu) .utility-button{left:max(21px,env(safe-area-inset-left));right:auto;bottom:151px;width:44px;min-height:44px;height:44px;padding:5px}
 .touch-device.run-active:not(.run-menu) .super-button{left:auto;right:max(21px,env(safe-area-inset-right));bottom:99px;width:44px;height:44px;transform:none}
 .touch-device.run-active:not(.run-menu) .super-dial{width:44px;height:44px}
 .touch-device.run-active:not(.run-menu) #touch-revive{right:max(21px,env(safe-area-inset-right));bottom:151px;width:44px;height:44px;padding:3px;font-size:8px}
 .touch-device.run-active:not(.run-menu) .dash-hud{left:43px;bottom:88px;transform:translateX(-50%)}
 .touch-device.run-active:not(.run-menu) #dash-label,
 .touch-device.run-active:not(.run-menu) .dash-hud small{display:none}
 .touch-device.run-active:not(.run-menu) .dash-hud>div{width:40px;height:3px;margin:0}
 .touch-device.run-active:not(.run-menu) .coop-strip{top:auto;bottom:5px;left:110px;max-width:calc(100% - 220px);gap:0;font-size:8px}
 .touch-device.run-active:not(.run-menu) .coop-strip b{font-size:8px}
 .touch-device.run-active:not(.run-menu) .coop-strip #connection-status{font-size:8px;line-height:1.1}
 .touch-device.run-active:not(.run-menu) .toast{top:78px;bottom:auto;max-width:46%;font-size:10px;line-height:1.2;padding:5px 8px;pointer-events:none}
}
/* Banked pilot XP: restrained reactor glow and a filling promotion meter. */
.level-recap{text-align:center;width:min(500px,100%);margin:auto}.level-recap h2{margin:10px 0 18px}.recap-center{display:flex;justify-content:center;align-items:center;gap:28px;margin:12px 0 22px}.recap-badge{--recap-burst:0;position:relative;isolation:isolate;display:flex;flex-direction:column;justify-content:center;width:180px;height:180px;flex:none;background:radial-gradient(circle,#65f6d729,transparent 67%);transform:scale(calc(1 + var(--recap-burst)*.055))}.recap-badge svg{position:absolute;inset:0;width:100%;height:100%;stroke:#79efdc;stroke-width:2;filter:drop-shadow(0 0 5px #78ead878);opacity:calc(.6 + var(--recap-burst)*.4);z-index:-1}.recap-badge .recap-orbit{stroke-width:1;stroke:#428c91}.recap-badge small,.recap-badge>span{font:10px ui-monospace,monospace;color:#acddd8;letter-spacing:1px}.recap-badge>strong{font:800 66px/1.2 ui-monospace,monospace;color:#c0fff0;text-shadow:0 0 22px #69ffb94d}.recap-badge>span{color:var(--gold);letter-spacing:.5px}.recap-stats{text-align:left;display:grid;gap:12px;min-width:0}.recap-stats>b{color:var(--gold);font:700 clamp(23px,4vw,30px) ui-monospace,monospace;overflow-wrap:anywhere}.recap-stats>span{color:#bbdfdc;font:12px ui-monospace,monospace}.recap-stats strong{color:var(--cyan);font-size:23px}.recap-stats small{font:12px ui-monospace,monospace;color:#9caec8}.recap-progress>div:first-child{display:flex;justify-content:space-between;gap:10px;font:11px ui-monospace,monospace;color:#bce4df;margin-bottom:9px}.recap-track{height:13px;overflow:hidden;border:1px solid #4b717b;border-radius:3px;background:#081725}.recap-track i{display:block;height:100%;width:0;background:linear-gradient(90deg,#338c95,#81f6d6);box-shadow:0 0 13px #a2ffe58c}.modal .recap-announcement{min-height:22px;font-size:14px;line-height:1.5;margin:14px 0;color:#c7e5de}.recap-unlocks{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin:14px 0}.recap-unlocks>span{display:grid;gap:6px;flex:1 1 130px;background:#162c3d;border:1px solid #416c75;border-top:2px solid var(--gold);border-radius:5px;padding:11px}.recap-unlocks small{font:10px ui-monospace,monospace;color:var(--gold)}.recap-unlocks b{font-size:15px;color:#e0efec}.level-recap .primary{width:100%;min-width:0;margin-top:10px;min-height:44px}
@media(max-width:450px){.recap-center{gap:14px}.recap-badge{width:145px;height:145px}.recap-badge>strong{font-size:51px}.recap-badge small,.recap-badge>span{font-size:8px}.recap-stats>span,.recap-stats small{font-size:10px}}
@media(orientation:landscape) and (max-height:600px){.level-recap h2{margin:5px 0}.recap-center{margin:4px 0 10px;gap:24px}.recap-badge{width:112px;height:112px}.recap-badge>strong{font-size:38px}.recap-badge small,.recap-badge>span{font-size:7px}.recap-stats{gap:7px}.modal .recap-announcement{margin:9px 0;min-height:0}.level-recap .primary{margin-top:4px}.recap-unlocks{margin:8px 0}}
@media(prefers-reduced-motion:reduce){.recap-badge{transform:none}}
.capsule-console{position:relative;width:100%;isolation:isolate}.capsule-console .capsule-lever{position:absolute;left:76.1%;top:10.7%;width:20.3%;height:76.8%;min-width:44px;min-height:44px;display:flex;align-items:flex-end;justify-content:center;margin:0;padding:0 2px .5%;border:1px solid transparent;border-radius:4px;background:transparent;color:#a0f8e2;touch-action:manipulation;box-shadow:none}.capsule-lever span{font:700 clamp(12px,1.6vw,14px) ui-monospace,monospace;letter-spacing:.05em;text-shadow:0 1px 4px #06111e}.capsule-console .capsule-lever:hover:not(:disabled){border-color:#80dbcf;background:#8ce8df0c;box-shadow:inset 0 0 18px #8ce8df14}.capsule-console .capsule-lever:disabled{opacity:.7;background:transparent}.capsule-console .capsule-lever:focus-visible,.capsule-console .capsule-lever.controller-focus{outline:2px solid var(--gold);outline-offset:2px}.pet-machine-controls{grid-template-columns:1fr 1fr}.pet-machine-controls>p{text-align:right}@media(max-width:600px){.pet-machine-controls{grid-template-columns:1fr}.pet-machine-controls>p{text-align:center}.capsule-lever span{font-size:12px;letter-spacing:0}}

/* Rift command console uses the game's existing panels, artwork and neon palette. */
.dev-heading{display:flex;align-items:center;gap:18px;margin-bottom:18px}.dev-heading img{width:90px;height:90px;object-fit:contain}.dev-heading h2{margin:6px 0}.dev-status{color:#8cf5ce;font:14px ui-monospace,monospace;letter-spacing:1px}.dev-module{background:linear-gradient(135deg,#152539,#0b1526);border:1px solid #415974;border-top:2px solid #8bcfc9;border-radius:10px;padding:18px;margin:14px 0}.dev-module h3{color:#bbafff;margin:0;font-size:19px}.dev-module p{font-size:14px;line-height:1.5}.dev-module fieldset{margin:0;padding:0;border:0;min-width:0}.dev-values{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.dev-values label,.dev-loadout label{display:flex;flex-direction:column;gap:8px;font-size:14px;color:#a9c3d5;min-width:0}.dev-module input[type=number],.dev-module select{width:100%;min-width:0;box-sizing:border-box;background:#081222;border:1px solid #46657f;border-radius:6px;color:#d3fff1;padding:12px;font:16px ui-monospace,monospace}.dev-values input{font-size:21px!important}.dev-values button{font-size:14px;padding:9px;min-height:42px}.dev-toggle{display:flex;align-items:center;gap:10px;margin:18px 0;font-size:16px}.dev-toggle input{width:20px;height:20px;accent-color:#ae8cff}.dev-loadout{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:18px 0}.dev-modes button{border-top:3px solid var(--mode-tint)}.dev-modes b{color:var(--mode-tint)}.dev-module fieldset:disabled{opacity:.55}.dev-module :focus-visible{outline:2px solid #b0ffef;outline-offset:3px}@media(max-width:520px){.dev-values,.dev-loadout{grid-template-columns:1fr}.dev-heading img{width:64px;height:64px}.dev-heading{gap:10px}.dev-module{padding:12px}.dev-values label{gap:6px}.dev-heading h2{font-size:26px}}

.account-dialog .account-delete{color:#ffc3cb;border:1px solid #a45768;background:#321c2d}.account-dialog .account-delete:hover:not(:disabled){background:#4a2538;border-color:#ff8aa0}.account-dialog .account-delete:focus-visible{outline:2px solid #ffbec9;outline-offset:3px}
