:root { color-scheme: dark; font-family: 'Segoe UI', Arial, sans-serif; background: #0b1425; color: #f4f4ed; font-synthesis: none; }
* { box-sizing: border-box; }
html, body { margin: 0; width: 100%; height: 100%; overflow: hidden; }
body { background: radial-gradient(ellipse at 22% 35%, #213c49 0, #101f32 35%, #0b1425 70%); }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; color: inherit; cursor: pointer; touch-action: manipulation; }
button:focus-visible, a:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }
[hidden] { display: none !important; }
.shell { max-width: 1180px; margin: auto; height: 100dvh; min-height: 0; display: flex; align-items: center; justify-content: space-between; padding: 32px 60px; gap: 55px; }
.editorial { display: flex; flex-direction: column; justify-content: space-between; align-self: stretch; max-height: 850px; flex: 1; padding: 16px 0; }
.wordmark { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #e8ede6; letter-spacing: 3px; font-size: 12px; font-weight: 700; }
.brand-icon { background: #c6f0ae; color: #112c33; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-size: 24px; }
.eyebrow, .overline { font-size: 10px; letter-spacing: 2.7px; font-weight: 700; color: #a4c5c9; }
.editorial h1 { font-size: clamp(30px, 3.3vw, 46px); line-height: 1.18; letter-spacing: -1.8px; font-weight: 650; margin: 25px 0; }
.editorial h1 span { color: #b6dfbd; }
.lede { color: #a3b7c2; line-height: 1.8; font-size: 15px; }
.legend { display: grid; gap: 18px; margin-top: 40px; font-size: 12px; color: #bdcdd2; }
.legend span { display: flex; gap: 12px; align-items: center; }
.legend i { width: 8px; height: 8px; border-radius: 2px; transform: rotate(-12deg); }
.cyan { background: #62dfed; }.amber { background: #ffc870; }.coral { background: #ff647f; }
.editorial-foot { font-size: 8px; letter-spacing: 1.7px; color: #78939e; display: flex; justify-content: space-between; }.editorial-foot span { font-size: 20px; }
.game-frame { position: relative; height: min(100%, 900px); aspect-ratio: 420 / 860; flex-shrink: 0; overflow: hidden; border-radius: 28px; background: #304e6b; box-shadow: 0 35px 100px #0006, 0 0 0 1px #94e1e026; isolation: isolate; }
canvas { width: 100%; height: 100%; display: block; touch-action: none; user-select: none; -webkit-user-select: none; }
.hud { position: absolute; z-index: 3; inset: max(24px, env(safe-area-inset-top)) 22px auto; pointer-events: none; }
.hud-top { display: flex; justify-content: space-between; align-items: center; }.micro { font-size: 8px; letter-spacing: 1.8px; color: #c7e3e5; display: block; margin-bottom: 5px; }.hud strong { display: block; font-size: 16px; text-shadow: 0 1px 8px #142d46; }
.icon-button { background: #13283f99; border: 1px solid #b5d7e329; border-radius: 50%; width: 37px; height: 37px; pointer-events: auto; font-size: 19px; }
.progress-track { margin: 15px 0 13px; height: 3px; border-radius: 5px; background: #16324870; }.progress-track div { height: 100%; background: #d6f5b2; border-radius: inherit; width: 0; }
.stats { display: flex; gap: 8px; }.stats > span { display: grid; grid-template-columns: 23px 1fr; grid-template-rows: 20px 12px; min-width: 82px; border-radius: 11px; padding: 8px 10px; background: #112d45b0; border: 1px solid #ffffff15; backdrop-filter: blur(10px); }.stats i { grid-row: 1 / 3; font-style: normal; align-self: center; color: #69e6f4; font-size: 24px; }.stats .weapon-symbol { color: #ffd18b; }.stats b { font-size: 19px; line-height: 20px; }.stats small { color: #9ac1d4; font-size: 6px; letter-spacing: 1px; }
.boss-hud { position: absolute; z-index: 2; top: 24%; left: 17%; right: 17%; }.boss-hud > div:first-child { display: flex; justify-content: space-between; font-size: 8px; font-weight: 700; letter-spacing: 1px; color: #ffeff0; text-shadow: 0 1px 4px #8b234a; }.boss-track { height: 7px; margin-top: 7px; padding: 2px; background: #4a243bb8; border: 1px solid #ffb5c84d; border-radius: 5px; }.boss-track i { display: block; height: 100%; width: 100%; background: #ff6782; border-radius: 3px; }
.notice { position: absolute; z-index: 4; left: 0; right: 0; top: 31%; text-align: center; font-size: 16px; font-weight: 750; text-shadow: 0 2px 10px #123954; color: #e9ffd9; opacity: 0; transition: opacity .15s; pointer-events: none; }
.gesture-hint { position: absolute; bottom: 6%; left: 18%; right: 18%; padding: 12px 0; background: #102d475c; border: 1px solid #c4f2ed30; border-radius: 35px; text-align: center; font-size: 8px; font-weight: 700; letter-spacing: 2px; color: #e3f4f4; pointer-events: none; }.gesture-hint span { font-size: 14px; margin: 0 10px; }
.overlay { position: absolute; inset: 0; z-index: 5; display: flex; align-items: center; justify-content: center; padding: 25px; background: linear-gradient(180deg,#10243830,#0d203744 22%,#10233be8 80%); }
.menu { width: 100%; text-align: center; padding-top: 10%; }.pill { display: inline-flex; align-items: center; gap: 7px; padding: 7px 10px; border: 1px solid #c9eee850; background: #102d4560; border-radius: 20px; font-size: 7px; letter-spacing: 1.7px; color: #dbf1ed; margin-bottom: 42px; }.pill i { width: 5px; height: 5px; border-radius: 50%; background: #cdf8b3; }.menu .overline { font-size: 8px; color: #d0e4d6; letter-spacing: 2.2px; margin: 0 0 15px; }
.menu h2 { font-size: clamp(32px, 5.4vh, 47px); line-height: .99; letter-spacing: -1.8px; font-weight: 850; margin: 0; text-shadow: 0 4px 30px #071b36a0; }.menu h2 em { font-style: normal; color: #d2f7b5; font-size: 1.42em; letter-spacing: -3px; }.menu-desc { font-size: 12px; line-height: 1.65; color: #c2d8dd; margin: 22px 0 25px; }.level-picker { display: flex; gap: 7px; margin-bottom: 15px; }.level-picker button { flex: 1; border: 1px solid #94cbd52e; border-radius: 10px; background: #17354b94; padding: 11px 2px; color: #94b4c6; font-size: 9px; }.level-picker span { display: block; font-size: 18px; font-weight: 700; margin-bottom: 4px; }.level-picker button.selected { border-color: #c3ecaa; background: #c6edb516; color: #def3cd; }
.primary-button { border: 0; border-radius: 13px; padding: 16px 18px; background: #d3f5ba; color: #173b40; font-size: 14px; font-weight: 750; width: 100%; display: flex; justify-content: space-between; align-items: center; box-shadow: 0 7px 25px #091e324d; }.primary-button span { font-size: 21px; line-height: 16px; }.primary-button:hover { background: #e1ffd0; }.controls-note { color: #8eacbb; font-size: 9px; line-height: 1.8; margin: 16px 0 0; }
.frame-footer { position: absolute; z-index: 6; bottom: max(10px, env(safe-area-inset-bottom)); left: 0; right: 0; text-align: center; font-size: 6px; color: #b7d2d778; letter-spacing: 1.6px; pointer-events: none; }.frame-footer span { font-size: 4px; margin: 0 9px; color: #c6f1ba; }
.frame-footer { bottom: max(3px, env(safe-area-inset-bottom)); letter-spacing: .2px; }.frame-footer #build-version { margin: 0; font-size: 8px; color: #c0dedc; }
.startup-help { margin: 8px 0 0; padding: 9px; border: 1px solid #ffcc8860; border-radius: 8px; color: #ffe4b9; font-size: 10px; line-height: 1.5; overflow-wrap: anywhere; }.startup-help a { color: #c7ffe1; text-underline-offset: 2px; }.startup-help code { color: #fff1d4; }
.catalog-home { display: inline-block; margin-top: 10px; padding: 4px 8px; font-size: 10px; color: #c4e0db; text-underline-offset: 3px; }
.pickup-toast { position: absolute; z-index: 4; left: 50%; bottom: 13%; transform: translateX(-50%); width: min(88%, 300px); display: flex; gap: 12px; align-items: center; padding: 11px 15px; border: 2px solid #a4ffd1; border-radius: 13px; background: #123c32f2; box-shadow: 0 8px 26px #061d3066; color: #e0ffe9; pointer-events: none; }
.pickup-toast-icon { flex: 0 0 36px; width: 36px; height: 36px; display: grid; place-items: center; border: 2px solid currentColor; border-radius: 50%; font-size: 25px; font-weight: 800; }.pickup-toast > div { min-width: 0; }.pickup-toast small { display: block; font-size: 9px; font-weight: 750; letter-spacing: 1.2px; }.pickup-toast strong { display: block; font-size: 20px; line-height: 1.2; margin: 3px 0; }.pickup-toast div > span { display: block; font-size: 10px; line-height: 1.4; }
.pickup-toast[data-kind="miss"] { border-color: #ffbd8b; background: #592f20f2; color: #ffe5d1; }.pickup-toast[data-kind="miss"] strong { font-size: 17px; }
.stats > span.received { border-color: #b3ffcf; background: #1c624be8; }
@media(max-height:700px) { .pickup-toast { padding: 8px 11px; gap: 9px; bottom: 13%; }.pickup-toast strong { font-size: 17px; }.pickup-toast small { font-size: 8px; }.pickup-toast div > span { font-size: 9px; } }
.result-card, .pause-card { width: 100%; text-align: center; padding: 28px 4px; }.result-card h2, .pause-card h2 { font-size: 32px; line-height: 1.08; letter-spacing: -1px; margin: 12px 0; }.result-card p, .pause-card p { color: #bdd4dc; line-height: 1.6; font-size: 12px; }.result-symbol { margin: 20px auto; display: grid; place-items: center; border-radius: 50%; width: 86px; height: 86px; border: 1px solid #c3efab88; background: #c4eeab18; color: #d2f5b8; font-size: 50px; }.result-stats { display: flex; justify-content: center; gap: 30px; margin: 26px 0; }.result-stats b { display: block; font-size: 28px; color: #eff6e9; }.result-stats small { display: block; font-size: 8px; color: #8cafbf; margin-top: 4px; letter-spacing: 1px; }.secondary-button { border-radius: 13px; padding: 14px; background: #b5dfdb0b; border: 1px solid #b3dcd632; width: 100%; margin-top: 9px; font-size: 12px; }.text-button { margin-top: 16px; border: 0; background: transparent; font-size: 11px; color: #b5cbd1; text-decoration: underline; text-underline-offset: 4px; }.pause-card .primary-button { margin-top: 30px; }
@media (max-width: 760px) { .shell { padding: 0; justify-content: center; gap: 0; }.editorial { display: none; }.game-frame { height: 100dvh; max-height: none; max-width: 100%; border-radius: 0; box-shadow: none; } }
@media (max-aspect-ratio: 420/860) { .game-frame { width: 100%; aspect-ratio: auto; }.hud { top: max(20px, env(safe-area-inset-top)); }.menu { padding-top: 2%; } }
@media (max-height: 660px) { .shell { padding-top: 0; padding-bottom: 0; }.game-frame { border-radius: 0; }.overlay { padding: 16px 22px; }.menu { padding-top: 0; }.pill { margin-bottom: 16px; padding: 5px 9px; }.menu-desc { margin: 14px 0 17px; }.controls-note { margin-top: 9px; }.level-picker button { padding: 8px 2px; }.result-symbol { height: 60px; width: 60px; margin: 14px auto; font-size: 32px; }.result-stats { margin: 18px 0; }.result-card h2 { font-size: 25px; } }
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }
.art-update { padding: 20px 0; border-top: 1px solid #84cddd20; }
.art-update > span { color: #6fe3eb; font-size: 9px; letter-spacing: 2px; }
.art-update p { margin: 9px 0; font-size: 21px; font-weight: 650; color: #ddf0e5; }
.art-update small { color: #92b3c3; font-size: 11px; line-height: 1.8; }
.unit-roster { display: grid; grid-template-columns: repeat(6,1fr); gap: 3px; margin: -8px 0 16px; }
.unit-roster > span { min-width: 0; font-size: 7px; color: #b4dae7; }
.unit-roster i { display: block; width: 100%; aspect-ratio: 1; background-image: url('./assets/squad-atlas.png'); background-size: 300% 200%; background-repeat: no-repeat; }
.unit-roster > span:nth-child(1) i { background-position: 0% 0%; }
.unit-roster > span:nth-child(2) i { background-position: 50% 0%; }
.unit-roster > span:nth-child(3) i { background-position: 100% 0%; }
.unit-roster > span:nth-child(4) i { background-position: 0% 100%; }
.unit-roster > span:nth-child(5) i { background-position: 50% 100%; }
.unit-roster > span:nth-child(6) i { background-position: 100% 100%; }
.menu { padding-top: 0; }.menu .pill { margin-bottom: 24px; }
.menu-desc { margin: 18px 0 12px; }
.asset-status { min-height: 12px; margin: 9px 0 0; font-size: 8px; color: #a5d4c3; }
.controls-note { margin-top: 8px; }
.primary-button:disabled { cursor: wait; opacity: .55; }
@media(max-height:700px) { .menu .pill { margin-bottom: 12px; }.menu h2 { font-size: 31px; }.menu .overline { margin-bottom: 10px; }.unit-roster { margin-bottom: 12px; }.menu-desc { margin: 12px 0; }.controls-note { font-size: 8px; } }
.stats { gap: 6px; }.stats > span { min-width: 72px; }.stats .score-stat { margin-left: auto; display: flex; flex-direction: column; justify-content: center; min-width: 64px; }.score-stat b { font-size: 15px; }.score-stat small { margin-top: 4px; }
.stats .critical { border-color: #ff7e91; background: #732f44dc; }.stats .critical i,.stats .critical b { color: #ffd1d7; }
.stats > span:nth-child(2) { min-width: 96px; } #weapon-mode { letter-spacing: .3px; white-space: nowrap; } #weapon-mode.timed { color: #ffe0a0; font-weight: 750; }
.pickup-status { display: flex; gap: 7px; align-items: center; margin-top: 6px; padding: 6px 8px; border: 1px solid #8ce9ce40; border-radius: 7px; background: #102e40e8; min-height: 27px; }
.pickup-status small { flex: 0 0 auto; font-size: 6px; letter-spacing: .6px; color: #a1c9c4; }.pickup-status b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 10px; font-weight: 700; color: #caffdf; }.pickup-status.collected { border-color: #b2ffd7; background: #185c4ce8; }
.feedback-list { display: grid; gap: 3px; margin-top: 4px; }.feedback-entry { padding: 4px 8px; border-left: 3px solid #bdcbd6; border-radius: 4px; background: #143047ed; color: #e0eaf0; font-size: 10px; line-height: 1.25; }
.feedback-entry[data-kind="miss"] { border-color: #ffb777; color: #ffe1b9; }.feedback-entry[data-kind="full"] { border-color: #ffdc80; color: #ffecb8; }.feedback-entry[data-kind="damage"] { border-color: #ff6c85; color: #ffd2da; background: #652c40ed; }.feedback-entry[data-kind="blocked"] { border-color: #79e5ff; color: #b5f3ff; }.feedback-entry[data-kind="bypass"] { border-color: #9caebb; color: #c7d5dd; }.feedback-entry[data-kind="opened"] { border-color: #ffd078; color: #ffe4b1; }
.streak { margin-top: 10px; padding: 6px 9px; background: #102a40b8; border-radius: 7px; color: #a7ccd7; }.streak > div:first-child { display: flex; align-items: center; justify-content: space-between; gap: 4px; }.streak b { font-size: 9px; letter-spacing: .7px; }.streak span { font-size: 7px; }.streak-track { height: 2px; background: #a5dce61a; margin-top: 5px; }.streak-track i { display: block; height: 100%; width: 0; background: #70f1d0; }.streak.active { color: #ecffd1; }.streak.overdrive { background: #614415d9; color: #fff0aa; }.streak.overdrive i { background: #ffe181; }
.boss-hud { top: 33%; }.notice { top: 42%; }.gesture-hint { bottom: 24%; left: 15%; right: 15%; }
.combat-controls { position: absolute; z-index: 4; bottom: max(12px, calc(env(safe-area-inset-bottom) + 6px)); right: 14px; }.dash-button { width: 92px; height: 44px; min-height: 44px; display: grid; grid-template-columns: 24px 1fr; padding: 6px; align-items: center; border: 1px solid #d8ffad; border-radius: 12px; background: linear-gradient(135deg,#d5f7b8,#79e2db); color: #0b3548; box-shadow: 0 5px 20px #061f3670; touch-action: none; user-select: none; -webkit-user-select: none; }.dash-button > span { grid-row: 1 / 3; font-size: 24px; line-height: 1; }.dash-button strong { font-size: 10px; line-height: 1.15; letter-spacing: .7px; }.dash-button small { font-size: 6px; line-height: 1.2; }.dash-button:disabled { background: #173d53ed; color: #a6c5d5; border-color: #6b9aae; box-shadow: none; cursor: default; }.dash-button.active { color: #fff; background: #207e92; border-color: #d9ffff; }
.sound-toggle { position: absolute; z-index: 7; left: 14px; bottom: max(12px, calc(env(safe-area-inset-bottom) + 6px)); min-height: 36px; border: 1px solid #a7d5db35; border-radius: 8px; padding: 8px 10px; background: #112f48b8; color: #b4d5e0; font-size: 8px; letter-spacing: 1px; }.sound-toggle[aria-pressed="true"] { color: #839da9; }
.result-stats { gap: 16px; }.result-stats b { font-size: 24px; }.result-stats small { font-size: 7px; }
@media(max-height:700px) { .hud { inset: max(14px, env(safe-area-inset-top)) 16px auto; }.hud strong { font-size: 13px; }.micro { font-size: 7px; }.progress-track { margin: 9px 0; }.stats > span { padding: 5px 8px; min-width: 64px; }.streak { margin-top: 6px; }.boss-hud { top: 35%; }.dash-button { width: 82px; }.controls-note { font-size: 7px; }.sound-toggle { min-height: 34px; padding: 7px; }.pickup-status { padding: 4px 6px; min-height: 25px; }.pickup-status small { font-size: 5px; }.pickup-status b,.feedback-entry { font-size: 9px; } }
