:root {
  color-scheme: dark;
  --bg: #040b18;
  --panel: #0b1729;
  --ink: #eef9ff;
  --muted: #99aec4;
  --cyan: #73e9ff;
  --amber: #ffc76a;
  --violet: #bba0ff;
  --line: rgba(172, 207, 241, .15);
  --sector-color: var(--cyan);
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; width: 100%; height: 100%; background: var(--bg); }
body { color: var(--ink); overflow: hidden; overscroll-behavior: none; -webkit-tap-highlight-color: transparent; }
button, input { font: inherit; }
button { color: inherit; touch-action: manipulation; cursor: pointer; -webkit-user-select: none; user-select: none; }
button:focus-visible, a:focus-visible, input:focus-visible + .switch { outline: 2px solid var(--amber); outline-offset: 4px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
button:disabled { cursor: default; }
button svg, a.button svg, .wordmark svg, .mission-row svg, .streak-badge svg, .modal-emblem svg, .tutorial-mark svg, .help-diagram svg { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
button svg, a.button svg { width: 22px; height: 22px; flex: 0 0 auto; }
button { transition: background .16s ease, border-color .16s ease, transform .16s ease; }
button:active:not(:disabled) { transform: scale(.975); }
.app { position: relative; width: 100%; height: 100%; height: 100dvh; isolation: isolate; overflow: hidden; }
#gameCanvas { position: absolute; inset: 0; display: block; width: 100%; height: 100%; touch-action: none; }
#gameCanvas:focus-visible { outline: 2px solid var(--amber); outline-offset: -5px; }
.menu-screen { position: absolute; inset: 0; z-index: 30; overflow: auto; background: linear-gradient(180deg, rgba(4, 11, 24, .2), rgba(4, 11, 24, .1) 35%, rgba(4, 11, 24, .89) 72%, #040b18); }
.menu-shell { width: min(100%, 470px); min-height: 100%; margin: 0 auto; padding: max(14px, var(--safe-top)) 24px max(20px, var(--safe-bottom)); display: flex; flex-direction: column; }
.menu-topbar { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.wordmark { display: inline-flex; align-items: center; gap: 8px; color: #b7ccd9; font-size: 10px; font-weight: 700; letter-spacing: .12em; white-space: nowrap; }
.wordmark svg { width: 21px; height: 21px; color: var(--cyan); }
.utility-buttons { display: flex; gap: 6px; }
.icon-button { display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 10px; flex-shrink: 0; border: 1px solid var(--line); border-radius: 50%; background: rgba(13, 29, 46, .65); color: #cadde9; }
.icon-button:hover { background: rgba(115, 233, 255, .12); border-color: rgba(115, 233, 255, .35); }
.menu-hero { position: relative; z-index: 0; display: flex; flex: 1 0 195px; flex-direction: column; justify-content: center; align-items: center; padding: 28px 0 18px; text-align: center; }
.hero-orbit { position: absolute; z-index: -1; top: 49%; left: 50%; width: min(69vw, 300px); aspect-ratio: 1; border: 1px solid rgba(115, 233, 255, .12); border-radius: 50%; transform: translate(-50%, -50%) rotate(-28deg); background: radial-gradient(ellipse, rgba(23, 113, 151, .08), transparent 65%); box-shadow: 0 0 75px rgba(50, 147, 189, .04), inset 0 0 38px rgba(51, 110, 147, .04); }
.hero-orbit::before { content: ""; position: absolute; inset: 16%; border: 1px solid rgba(115, 233, 255, .055); border-radius: 50%; }
.hero-orbit i { position: absolute; width: 7px; height: 7px; left: 50%; top: -4px; background: var(--amber); box-shadow: 0 0 17px rgba(255, 199, 106, .85); border-radius: 50%; }
.hero-orbit span { position: absolute; width: 3px; height: 3px; left: 5%; top: 75%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); border-radius: 50%; }
.eyebrow { margin: 0; color: var(--cyan); font-size: 11px; font-weight: 700; line-height: 1.5; letter-spacing: .15em; text-transform: uppercase; }
.hero-eyebrow { margin-bottom: 13px; color: #91bbc9; font-size: 10px; letter-spacing: .17em; }
h1 { margin: 0; max-width: 100%; color: #effaff; font-size: clamp(37px, 12.9vw, 62px); font-weight: 900; line-height: 1; letter-spacing: .035em; text-shadow: 0 0 32px rgba(115, 233, 255, .17); }
.tagline { margin: 15px 0 0; color: #adc9d8; font-size: clamp(21px, 6.4vw, 29px); font-weight: 400; line-height: 1.2; letter-spacing: -.035em; }
.tagline span { color: var(--amber); }
.hero-divider { display: flex; align-items: center; gap: 15px; margin-top: 17px; opacity: .7; }
.hero-divider span { width: 37px; height: 1px; background: linear-gradient(90deg, transparent, rgba(115, 233, 255, .5)); }
.hero-divider span:last-child { transform: rotate(180deg); }
.hero-divider svg { width: 16px; height: 16px; fill: none; stroke: var(--cyan); stroke-width: 1.3; }
.menu-controls { position: relative; display: flex; flex-direction: column; gap: 12px; }
.personal-stats { display: grid; grid-template-columns: 1fr 1fr; margin: 0 0 3px; padding: 0 0 14px; border-bottom: 1px solid var(--line); text-align: center; }
.personal-stats > div + div { border-left: 1px solid var(--line); }
.stat-label { display: block; color: var(--muted); font-size: 11px; font-weight: 650; line-height: 1.3; letter-spacing: .09em; }
.personal-stats strong { display: block; margin-top: 5px; font-size: 25px; font-weight: 650; font-variant-numeric: tabular-nums; letter-spacing: -.035em; }
.personal-stats > div:first-child strong { color: var(--amber); }
.mode-selector { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 4px; border: 1px solid var(--line); border-radius: 14px; background: rgba(10, 23, 41, .8); }
.mode-button { min-height: 44px; padding: 10px 5px; border: 1px solid transparent; border-radius: 10px; background: transparent; color: var(--muted); font-size: 14px; font-weight: 650; }
.mode-button[aria-pressed="true"] { color: #e8faff; background: #1a3447; border-color: rgba(115, 233, 255, .2); box-shadow: 0 2px 8px rgba(0, 0, 0, .15); }
.mode-button:hover { color: var(--ink); }
.mode-description { min-height: 17px; margin: -3px 0 1px; color: var(--muted); font-size: 12px; line-height: 1.4; text-align: center; }
.button { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; min-height: 50px; padding: 13px 18px; border: 1px solid transparent; border-radius: 13px; font-size: 15px; font-weight: 700; line-height: 1.3; }
.button-primary { color: #092230; background: linear-gradient(115deg, #b3f5ff, #72ddec); border-color: rgba(219, 252, 255, .3); box-shadow: 0 7px 27px rgba(67, 202, 224, .16), inset 0 1px 0 rgba(255, 255, 255, .2); }
.button-primary:hover { background: #b5f4ff; }
.button-primary svg { stroke-width: 2; }
.play-button { min-height: 60px; justify-content: space-between; padding: 17px 22px; font-size: 19px; letter-spacing: -.02em; }
.play-button svg { width: 24px; height: 24px; }
.button-secondary { color: #d0e2ef; background: rgba(116, 157, 190, .07); border-color: var(--line); }
.button-secondary:hover { background: rgba(116, 157, 190, .14); }
.button-text { min-height: 44px; padding: 10px 12px; color: var(--muted); background: transparent; font-size: 14px; }
.button-text:hover { color: var(--ink); background: rgba(116, 157, 190, .06); }
.trail-picker { padding-top: 7px; }
.trail-heading { display: flex; align-items: start; justify-content: space-between; gap: 8px; margin: 0 1px 9px; }
.trail-heading > .stat-label { flex: 0 0 auto; }
.trail-heading > span:last-child { color: #9bb4c7; font-size: 11px; line-height: 1.35; text-align: right; }
.trail-options { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 7px; }
.trail-chip { display: flex; min-width: 0; min-height: 44px; padding: 7px 4px; align-items: center; justify-content: center; gap: 6px; border: 1px solid var(--line); border-radius: 10px; color: #a5bacc; background: rgba(10, 23, 41, .72); font-size: 11px; font-weight: 600; }
.trail-chip[aria-pressed="true"] { color: var(--ink); border-color: rgba(115, 233, 255, .55); background: rgba(73, 159, 179, .12); }
.trail-chip.locked, .trail-chip[aria-disabled="true"], .trail-chip:disabled { opacity: .68; }
.trail-chip.locked::after, .trail-chip[aria-disabled="true"]::after { content: ""; flex: 0 0 3px; width: 3px; height: 3px; border: 0; border-radius: 50%; background: currentColor; opacity: .75; }
.trail-swatch { --swatch: var(--cyan); flex: 0 0 8px; width: 8px; height: 8px; background: var(--swatch); border-radius: 50%; box-shadow: 0 0 8px color-mix(in srgb, var(--swatch), transparent 60%); }
.swatch-violet { --swatch: #bba0ff; }.swatch-gold { --swatch: #ffc76a; }.swatch-comet { --swatch: #99bdff; }
.game-hud { position: absolute; z-index: 20; top: 0; left: 0; right: 0; padding: max(12px, var(--safe-top)) 20px 15px; pointer-events: none; background: linear-gradient(180deg, rgba(4, 11, 24, .87), rgba(4, 11, 24, .38) 72%, transparent); }
.score-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .7fr) 44px; align-items: center; gap: 12px; width: min(100%, 480px); margin: 0 auto; }
.score-block, .best-block, .personal-stats > div, .result-stats > div { min-width: 0; }
.score-block strong, .best-block strong, .personal-stats strong, .result-stats strong { max-width: 100%; overflow-wrap: anywhere; }
.score-block strong { display: block; font-size: 39px; font-weight: 700; line-height: 1.06; letter-spacing: -.055em; font-variant-numeric: tabular-nums; text-shadow: 0 2px 16px rgba(0, 0, 0, .2); }
.best-block { text-align: right; }
.best-block strong { display: block; margin-top: 4px; color: var(--amber); font-size: 19px; font-weight: 650; line-height: 1.1; font-variant-numeric: tabular-nums; }
.pause-button { pointer-events: auto; align-self: start; }
.pause-button svg { stroke-width: 3; }
.sector-strip { width: min(100%, 480px); margin: 15px auto 0; }
.sector-copy { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.sector-copy strong { color: var(--sector-color); font-size: 11px; font-weight: 700; letter-spacing: .12em; }
.sector-copy span { color: #9bb3c7; font-size: 11px; }
.sector-track { height: 2px; background: rgba(160, 207, 229, .12); overflow: hidden; border-radius: 3px; }
#sectorProgress { width: 0%; height: 100%; background: var(--sector-color); box-shadow: 0 0 10px var(--sector-color); transition: width .12s linear; }
.streak-badge { width: fit-content; display: flex; align-items: center; gap: 5px; margin-top: 14px; padding: 6px 10px; border: 1px solid rgba(187, 160, 255, .18); border-radius: 8px; background: rgba(34, 23, 61, .5); color: var(--violet); }
.streak-badge svg { width: 14px; height: 14px; }
.streak-badge strong { font-size: 17px; font-variant-numeric: tabular-nums; }.streak-badge span { font-size: 10px; font-weight: 700; letter-spacing: .08em; }
.game-footer { position: absolute; z-index: 20; bottom: 0; left: 0; right: 0; padding: 18px 20px max(15px, var(--safe-bottom)); pointer-events: none; background: linear-gradient(0deg, rgba(4, 11, 24, .93), rgba(4, 11, 24, .6) 65%, transparent); }
.resource-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; max-width: 480px; margin: 0 auto; }
.energy-meter { display: flex; flex: 0 0 auto; align-items: center; gap: 8px; }
.energy-meter .stat-label { font-size: 10px; letter-spacing: .06em; }
.energy-pips { display: flex; gap: 4px; }.energy-pip { position: relative; display: block; width: 24px; height: 7px; border: 1px solid rgba(115, 233, 255, .15); border-radius: 3px; background: var(--cyan); box-shadow: 0 0 11px rgba(115, 233, 255, .2); overflow: hidden; }
.energy-pip.empty { background: rgba(107, 155, 181, .15); box-shadow: none; }
.energy-pip.charging { background: rgba(107, 155, 181, .15); box-shadow: none; }
.energy-pip.charging::before { content: ""; position: absolute; inset: 0; transform-origin: left; transform: scaleX(var(--charge, 0)); background: rgba(115, 233, 255, .6); }
.energy-value { color: #aed3df; font-size: 11px; font-variant-numeric: tabular-nums; }
.rescue-status { display: flex; align-items: center; justify-content: flex-end; gap: 5px; min-width: 0; color: #cbbf9b; font-size: 11px; line-height: 1.35; text-align: right; }
.rescue-status::before { content: ""; flex: 0 0 5px; width: 5px; height: 5px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 9px rgba(255, 199, 106, .4); }
.rescue-status.used { color: #91a5b8; }.rescue-status.used::before { background: #6e7f8e; box-shadow: none; }
.mission-row { display: flex; align-items: center; gap: 8px; max-width: 480px; margin: 13px auto 0; padding-top: 11px; border-top: 1px solid rgba(152, 186, 209, .13); color: #afc2d1; font-size: 12px; }
.mission-row svg { width: 16px; height: 16px; flex: 0 0 auto; color: var(--amber); }
.mission-row > span { flex: 1; min-width: 0; }.mission-row > strong { color: var(--amber); font-size: 12px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.mission-row.complete { color: var(--cyan); }.mission-row.complete strong { color: var(--cyan); }
.tutorial-card { position: absolute; z-index: 26; left: 16px; right: 16px; bottom: calc(max(15px, var(--safe-bottom)) + 91px); display: flex; align-items: center; gap: 10px; max-width: 450px; margin: 0 auto; padding: 13px 8px 13px 13px; border: 1px solid rgba(115, 233, 255, .32); border-radius: 15px; background: rgba(10, 30, 46, .87); box-shadow: 0 8px 32px rgba(0, 0, 0, .25); pointer-events: none; }
.tutorial-mark { flex: 0 0 32px; color: var(--cyan); }.tutorial-mark svg { display: block; width: 32px; height: 32px; }
.tutorial-card > div { flex: 1; }.tutorial-card strong { display: block; color: var(--cyan); font-size: 14px; }.tutorial-card p { margin: 4px 0 0; color: #c4d5e1; font-size: 12px; line-height: 1.45; }
.tutorial-card .icon-button { border-color: transparent; background: transparent; color: #94b2c5; width: 44px; height: 44px; pointer-events: auto; }
.toast { position: absolute; z-index: 32; top: 27%; left: 16px; right: 16px; display: flex; flex-direction: column; align-items: center; gap: 6px; max-width: 430px; margin: 0 auto; text-align: center; pointer-events: none; text-shadow: 0 2px 14px #040b18, 0 0 23px #040b18; }
.toast strong { color: var(--amber); font-size: 23px; font-weight: 750; letter-spacing: -.025em; }.toast span { color: #d1e6ef; font-size: 12px; }.toast.error strong { color: #ffa28f; }.toast.good strong { color: var(--cyan); }
.sector-reveal { position: absolute; z-index: 34; top: 34%; left: 15px; right: 15px; text-align: center; pointer-events: none; text-shadow: 0 2px 20px #040b18, 0 0 42px #040b18; }
.sector-reveal > span { color: var(--sector-color); font-size: 11px; font-weight: 700; letter-spacing: .24em; }.sector-reveal > strong { display: block; margin-top: 8px; font-size: clamp(25px, 8vw, 38px); font-weight: 750; line-height: 1.1; letter-spacing: -.025em; }.sector-reveal > p { margin: 8px 0 0; color: #b4c9d7; font-size: 14px; }
.modal { position: absolute; inset: 0; z-index: 50; display: flex; align-items: center; justify-content: center; padding: max(16px, var(--safe-top)) 16px max(16px, var(--safe-bottom)); background: rgba(3, 9, 20, .76); -webkit-backdrop-filter: blur(15px); backdrop-filter: blur(15px); overflow-y: auto; overscroll-behavior: contain; }
#settingsModal, #helpModal { z-index: 60; }
#privacyModal { z-index: 70; }
.modal-card { width: min(100%, 422px); max-height: 100%; padding: 25px 22px 16px; border: 1px solid rgba(168, 215, 241, .2); border-radius: 24px; background: radial-gradient(ellipse at 90% 0, rgba(29, 73, 96, .4), transparent 48%), linear-gradient(150deg, #101e31, #081322 72%); box-shadow: 0 30px 100px rgba(0, 0, 0, .35), inset 0 1px 0 rgba(255, 255, 255, .04); overflow-y: auto; scrollbar-width: thin; }
h2 { margin: 8px 0 0; color: var(--ink); font-size: 29px; font-weight: 750; line-height: 1.14; letter-spacing: -.045em; }
.modal-description { margin: 10px 0 24px; color: var(--muted); font-size: 14px; line-height: 1.55; }
.keyboard-instructions { margin: 0 0 18px; color: #afc2d1; font-size: 12px; line-height: 1.5; }
.keyboard-help { margin-bottom: 10px; }
.keyboard-help summary { min-height: 44px; padding: 12px 0; color: #c4d5e1; font-size: 12px; cursor: pointer; }
.keyboard-help summary:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; }
.settings-note.build-version { margin-top: 8px; margin-bottom: 0; font-variant-numeric: tabular-nums; }
.modal-emblem { display: grid; place-items: center; width: 56px; height: 56px; margin: 2px auto 24px; color: var(--cyan); border: 1px solid rgba(115, 233, 255, .22); border-radius: 50%; background: rgba(115, 233, 255, .05); box-shadow: 0 0 45px rgba(115, 233, 255, .045); }.modal-emblem svg { width: 28px; height: 28px; stroke-width: 2.5; }
.pause-card { text-align: center; padding-top: 32px; }.pause-card h2 { font-size: 32px; }.pause-card > .button-text { margin-top: 7px; }
.two-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }.two-actions .button { padding-left: 6px; padding-right: 6px; font-size: 14px; }
.results-card { text-align: center; }.results-card > .eyebrow { color: #93b9c7; font-size: 10px; letter-spacing: .12em; }.results-card h2 { font-size: 29px; }
.result-hero { display: flex; flex-direction: column; align-items: center; margin: 22px 0 20px; min-height: 111px; }.result-hero > strong { display: block; margin-top: 3px; color: var(--cyan); font-size: clamp(49px, 15vw, 68px); line-height: 1; font-weight: 750; letter-spacing: -.065em; font-variant-numeric: tabular-nums; text-shadow: 0 0 35px rgba(115, 233, 255, .12); }
.record-pill { display: block; margin-top: 10px; padding: 5px 10px; border: 1px solid rgba(255, 199, 106, .28); border-radius: 20px; background: rgba(255, 199, 106, .07); color: var(--amber); font-size: 10px; font-weight: 750; letter-spacing: .09em; }
.result-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 8px; padding: 19px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }.result-stats strong { display: block; color: #e2f0f7; font-size: 22px; font-weight: 650; letter-spacing: -.035em; font-variant-numeric: tabular-nums; }.result-stats span { display: block; margin-top: 4px; color: var(--muted); font-size: 11px; }
#resultSector { display: flex; align-items: center; justify-content: center; min-height: 27px; font-size: 12px; font-weight: 700; line-height: 1.2; letter-spacing: .015em; white-space: normal; }
.next-goal { margin: 17px 0; text-align: left; padding-left: 12px; border-left: 2px solid var(--amber); }.next-goal .stat-label { color: var(--amber); font-size: 10px; }.next-goal p { margin: 6px 0 0; color: #c7d9e4; font-size: 13px; line-height: 1.45; }.results-card > .button-text { margin-top: 4px; }
.modal-topline { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-top: -11px; margin-right: -10px; }.modal-topline > .eyebrow { font-size: 10px; }.modal-topline .icon-button { border-color: transparent; background: transparent; }.settings-card h2, .help-card h2 { margin-top: 3px; }.settings-card .modal-description { margin-bottom: 12px; }
.settings-list { margin-top: 6px; }.setting-row { position: relative; display: flex; align-items: center; gap: 16px; min-height: 89px; padding: 17px 0; border-bottom: 1px solid var(--line); cursor: pointer; }.setting-row > span:first-child { flex: 1; min-width: 0; }.setting-row strong { display: block; font-size: 15px; font-weight: 600; }.setting-row small { display: block; margin-top: 6px; color: var(--muted); font-size: 12px; line-height: 1.5; }.switch-input { position: absolute; right: 0; top: 0; width: 49px; height: 100%; opacity: 0; cursor: pointer; }.switch { position: relative; flex: 0 0 47px; width: 47px; height: 28px; border: 1px solid rgba(162, 192, 213, .2); border-radius: 30px; background: #233143; transition: background .2s; }.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #a0b0bf; box-shadow: 0 1px 3px rgba(0, 0, 0, .2); transition: transform .2s, background .2s; }.switch-input:checked + .switch { background: #73dcea; border-color: #73dcea; }.switch-input:checked + .switch::after { transform: translateX(19px); background: #082332; }.settings-note { margin: 18px 0 6px; color: #8fa6ba; font-size: 11px; line-height: 1.5; text-align: center; }
.help-steps { list-style: none; margin: 20px 0 18px; padding: 0; }.help-steps li { display: flex; align-items: center; gap: 13px; padding: 15px 0; border-bottom: 1px solid var(--line); }.help-steps li:first-child { padding-top: 0; }.help-diagram { display: block; flex: 0 0 52px; width: 52px; height: 56px; color: var(--cyan); border-radius: 11px; background: rgba(115, 233, 255, .055); }.help-diagram svg { width: 52px; height: 52px; stroke-width: 1.6; }.help-steps li:nth-child(2) .help-diagram { color: var(--amber); background: rgba(255, 199, 106, .055); }.help-steps li:nth-child(3) .help-diagram { color: var(--violet); background: rgba(187, 160, 255, .055); }.help-steps strong { display: block; font-size: 14px; }.help-steps p { margin: 5px 0 0; color: var(--muted); font-size: 12px; line-height: 1.5; }.help-tip { display: flex; align-items: center; gap: 10px; margin: 0 0 20px; color: var(--amber); }.help-tip > span { font-size: 26px; }.help-tip > p { margin: 0; color: #b9cbd8; font-size: 12px; line-height: 1.5; }
.privacy-card h2 { margin-top: 3px; font-size: 28px; }
.privacy-copy { margin-top: 25px; }
.privacy-copy section + section { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.privacy-copy h3 { margin: 0 0 9px; color: #e0f0f7; font-size: 15px; font-weight: 650; line-height: 1.45; }
.privacy-copy p { margin: 0; color: #acc1d2; font-size: 14px; line-height: 1.65; }
.privacy-copy p + p { margin-top: 11px; }
.privacy-links { display: grid; gap: 7px; margin-top: 25px; padding-top: 20px; border-top: 1px solid var(--line); }
.privacy-links a { font-size: 14px; text-decoration: none; touch-action: manipulation; }
.privacy-links .button-text { color: var(--cyan); }
#privacyButton { margin-top: 3px; color: #b0c9da; }
@media (min-width: 600px) { .game-hud, .game-footer { padding-left: max(20px, calc((100vw - 480px) / 2)); padding-right: max(20px, calc((100vw - 480px) / 2)); }.menu-screen { background: linear-gradient(180deg, rgba(4, 11, 24, .18), rgba(4, 11, 24, .85) 90%); }.menu-shell { padding-top: max(24px, var(--safe-top)); padding-bottom: max(28px, var(--safe-bottom)); }.menu-hero { flex-basis: 230px; }.menu-controls { gap: 14px; } }
@media (max-width: 350px) { .menu-shell { padding-left: 19px; padding-right: 19px; }.wordmark { font-size: 9px; letter-spacing: .06em; gap: 5px; }.utility-buttons { gap: 4px; }.trail-options { gap: 5px; }.trail-chip { gap: 4px; font-size: 11px; }.trail-chip.locked::after, .trail-chip[aria-disabled="true"]::after { display: none; }.game-hud { padding-left: 15px; padding-right: 15px; }.game-footer { padding-left: 15px; padding-right: 15px; }.energy-meter { gap: 6px; }.energy-pip { width: 20px; }.rescue-status { font-size: 11px; }.modal-card { padding-left: 18px; padding-right: 18px; }.tutorial-card { gap: 8px; padding-left: 10px; }.tutorial-mark { display: none; } }
@media (max-height: 700px) { .menu-hero { flex-basis: 172px; padding-top: 20px; padding-bottom: 13px; }.hero-eyebrow { margin-bottom: 10px; }.tagline { margin-top: 12px; font-size: 23px; }.hero-divider { margin-top: 12px; }.menu-controls { gap: 10px; }.personal-stats { padding-bottom: 10px; }.personal-stats strong { font-size: 22px; }.play-button { min-height: 55px; padding-top: 14px; padding-bottom: 14px; }.trail-picker { padding-top: 4px; }.trail-heading { margin-bottom: 7px; }.game-hud { padding-top: max(9px, var(--safe-top)); }.sector-strip { margin-top: 11px; }.score-block strong { font-size: 35px; }.modal-card { padding-top: 20px; }.result-hero { margin-top: 16px; margin-bottom: 15px; min-height: 96px; }.result-hero > strong { font-size: 57px; }.result-stats { gap: 13px 7px; padding-top: 14px; padding-bottom: 14px; }.next-goal { margin-top: 14px; margin-bottom: 14px; }.help-steps { margin-top: 16px; margin-bottom: 15px; }.help-steps li { padding-top: 11px; padding-bottom: 11px; }.help-tip { margin-bottom: 17px; } }
@media (max-height: 590px) { .menu-shell { padding-top: max(8px, var(--safe-top)); padding-bottom: max(12px, var(--safe-bottom)); }.menu-hero { flex-basis: 153px; padding-top: 12px; padding-bottom: 10px; }.hero-eyebrow { font-size: 9px; margin-bottom: 8px; }.tagline { font-size: 21px; line-height: 1.14; margin-top: 10px; }.hero-divider { display: none; }.menu-controls { gap: 8px; }.personal-stats { margin-bottom: 1px; padding-bottom: 8px; }.personal-stats strong { margin-top: 3px; font-size: 21px; }.mode-description { font-size: 11px; margin-top: -1px; margin-bottom: 0; }.play-button { min-height: 51px; padding-top: 12px; padding-bottom: 12px; }.trail-picker { padding-top: 2px; }.trail-heading { margin-bottom: 6px; }.trail-heading > span:last-child { font-size: 10px; }.modal { padding-left: 13px; padding-right: 13px; }.modal-card { padding-top: 16px; padding-bottom: 12px; border-radius: 20px; }.results-card h2 { font-size: 26px; }.result-hero { margin: 12px 0; min-height: 88px; }.result-hero > strong { font-size: 52px; }.result-stats { gap: 10px 7px; padding: 11px 0; }.result-stats strong { font-size: 20px; }.next-goal { margin: 12px 0; }.next-goal p { margin-top: 4px; font-size: 12px; }.results-card > .button-primary { min-height: 47px; }.results-card > .button-text { margin-top: 0; }.pause-card { padding-top: 24px; }.modal-emblem { margin-bottom: 18px; }.modal-description { margin-bottom: 19px; }.help-card h2 { font-size: 26px; }.help-steps { margin-top: 14px; margin-bottom: 12px; }.help-steps li { gap: 10px; padding: 10px 0; }.help-steps p { font-size: 12px; line-height: 1.4; }.help-tip { margin-bottom: 14px; }.help-tip > p { font-size: 11px; }.setting-row { min-height: 81px; padding-top: 15px; padding-bottom: 15px; }.game-footer { padding-top: 15px; }.mission-row { margin-top: 10px; padding-top: 9px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; } }
.reduce-motion *, .reduce-motion *::before, .reduce-motion *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
