*, *::before, *::after { box-sizing: border-box; }
html { min-width: 320px; color-scheme: dark; background: var(--abyss-950); font-family: var(--font-body); -webkit-font-smoothing: antialiased; }
body { min-height: 100vh; margin: 0; overflow-x: hidden; background: var(--abyss-950); color: var(--foam-200); font-size: 13px; line-height: 1.45; }
button, input, select, textarea { font: inherit; }
button { -webkit-tap-highlight-color: transparent; }
button:focus-visible, [href]:focus-visible, input:focus-visible, select:focus-visible { outline: 2px solid var(--sonar-400); outline-offset: 2px; }
button:disabled { cursor: not-allowed !important; opacity: .38; filter: saturate(.45); }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3 { color: var(--foam-100); font-family: var(--font-command); letter-spacing: -.035em; text-wrap: balance; }
p { text-wrap: pretty; }
small { font-size: 11px; }
kbd { padding: 2px 5px; border: 1px solid var(--line); border-radius: 4px; background: var(--surface-inset); color: var(--foam-200); font: 10px var(--font-data); }
[hidden] { display: none !important; }
.fatal-state { margin: 32px; padding: 24px; border: 1px solid var(--ember-400); color: var(--foam-100); }
.boot-screen { position: fixed; z-index: 500; inset: 0; display: grid; place-content: center; justify-items: center; padding: 24px; background: var(--abyss-950); text-align: center; }
.boot-screen p { margin-top: 24px; color: var(--sonar-400); font: 10px var(--font-data); letter-spacing: .18em; }
.boot-screen h1 { margin-top: 8px; font-size: clamp(28px, 5vw, 48px); }
.boot-screen > span { margin-top: 8px; color: var(--foam-400); }
.boot-mark { position: relative; width: 92px; height: 92px; border: 1px solid var(--line); border-radius: 50%; }
.boot-mark i { position: absolute; inset: 50%; display: block; width: 1px; height: 38px; background: var(--sonar-400); transform-origin: top; animation: sonar-boot 1.6s var(--ease-out) infinite; }
.boot-mark i:nth-child(2) { animation-delay: .18s; opacity: .6; }.boot-mark i:nth-child(3) { animation-delay: .36s; opacity: .3; }
@keyframes sonar-boot { from { transform: rotate(-80deg); } to { transform: rotate(260deg); } }
.reduce-motion *, .reduce-motion *::before, .reduce-motion *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }
@media (forced-colors: active) { button, .instrument-panel, .mission-card, .region-command { border: 1px solid CanvasText !important; } }
