* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
:root {
  --text: rgba(255,255,255,.94);
  --soft: rgba(227,236,255,.72);
  --muted: rgba(209,221,255,.58);
  --glass: rgba(8, 11, 35, .38);
  --glass-strong: rgba(8, 12, 39, .62);
  --line: rgba(255,255,255,.15);
  --cyan: #8fe8ff;
  --blue: #7f9cff;
  --violet: #c9a7ff;
  --pink: #ff8fe8;
  --gold: #ffdca8;
  --green: #9fffe0;
}

html, body { width: 100%; height: 100%; overflow: hidden; -webkit-text-size-adjust: 100%; background: #030512; color: var(--text); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }

body {
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(circle at 50% 34%, rgba(106,134,255,.24), transparent 34%),
    radial-gradient(circle at 16% 64%, rgba(255,117,231,.14), transparent 30%),
    radial-gradient(circle at 86% 52%, rgba(90,244,255,.13), transparent 31%),
    linear-gradient(180deg, #030512 0%, #070923 34%, #0a0f2c 66%, #040512 100%);
}

body::before {
  content: ""; position: fixed; inset: 0; z-index: 4; pointer-events: none; opacity: .08; mix-blend-mode: screen;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240' viewBox='0 0 240 240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.9'/%3E%3C/svg%3E");
}

body::after {
  content: ""; position: fixed; inset: 0; z-index: 7; pointer-events: none;
  background: radial-gradient(circle at center, transparent 42%, rgba(1,2,8,.2) 70%, rgba(0,0,0,.68) 100%);
}

#space { position: fixed; inset: 0 auto auto 0; width: 100%; height: var(--galaxy-stage-height, 100%); display: block; z-index: 1; touch-action: none; }
body:not(.tablet-map-ui), body:not(.is-map) { --galaxy-stage-height: 100%; }

.nebula-sheet, .nebula-sheet::before, .nebula-sheet::after { content: ""; position: fixed; inset: 0; pointer-events: none; }

.nebula-sheet {
  z-index: 2; opacity: .94; filter: blur(22px) saturate(1.24); animation: nebulaDrift 24s ease-in-out infinite alternate;
  background:
    radial-gradient(ellipse at 12% 72%, rgba(255,111,238,.21), transparent 37%),
    radial-gradient(ellipse at 36% 76%, rgba(143,111,255,.2), transparent 39%),
    radial-gradient(ellipse at 72% 70%, rgba(94,131,255,.19), transparent 38%),
    radial-gradient(ellipse at 92% 62%, rgba(74,255,225,.16), transparent 31%);
}

.nebula-sheet::before {
  opacity: .72; filter: blur(70px); animation: nebulaCounter 32s ease-in-out infinite alternate;
  background:
    radial-gradient(ellipse at 24% 84%, rgba(255,172,252,.25), transparent 27%),
    radial-gradient(ellipse at 55% 80%, rgba(123,118,255,.22), transparent 31%),
    radial-gradient(ellipse at 83% 78%, rgba(142,235,255,.2), transparent 27%);
}

.nebula-sheet::after {
  opacity: .9; filter: blur(45px); animation: pulseGlow 9s ease-in-out infinite;
  background:
    radial-gradient(circle at 50% 26%, rgba(235,250,255,.15), transparent 8%),
    radial-gradient(circle at 84% 32%, rgba(120,220,255,.13), transparent 12%),
    radial-gradient(circle at 17% 28%, rgba(255,120,222,.12), transparent 13%);
}

.fog-bank {
  position: fixed; inset: auto -14vw -12vh -14vw; height: 46vh; z-index: 3; pointer-events: none; opacity: .95; filter: blur(36px); animation: fogShift 20s ease-in-out infinite alternate;
  background:
    radial-gradient(ellipse at 8% 80%, rgba(231,116,255,.3), transparent 33%),
    radial-gradient(ellipse at 34% 77%, rgba(135,117,255,.25), transparent 34%),
    radial-gradient(ellipse at 73% 75%, rgba(87,132,255,.23), transparent 35%),
    radial-gradient(ellipse at 94% 70%, rgba(88,255,218,.19), transparent 31%);
}

.lens-flare {
  position: fixed;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  opacity: .42;
  mix-blend-mode: screen;
  background:
    radial-gradient(circle at var(--flare-x, 50%) var(--flare-y, 42%), rgba(255,255,255,.14), transparent 3.5%),
    radial-gradient(circle at var(--flare-x, 50%) var(--flare-y, 42%), rgba(143,232,255,.1), transparent 14%);
  transition: opacity .8s ease;
}

.lens-flare::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(12vw, 170px);
  height: 96vh;
  pointer-events: none;
  transform: translate(-50%, -50%) rotate(8deg);
  transform-origin: center;
  opacity: .34;
  filter: blur(18px);
  background:
    linear-gradient(
      180deg,
      transparent 0%,
      rgba(255,255,255,0) 13%,
      rgba(170,200,255,.045) 30%,
      rgba(255,255,255,.105) 50%,
      rgba(170,200,255,.045) 70%,
      rgba(255,255,255,0) 87%,
      transparent 100%
    );
}

.lens-flare::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(3vw, 38px);
  height: 88vh;
  pointer-events: none;
  transform: translate(-50%, -50%) rotate(8deg);
  transform-origin: center;
  opacity: .2;
  filter: blur(9px);
  background:
    linear-gradient(
      180deg,
      transparent 0%,
      rgba(255,255,255,0) 16%,
      rgba(255,255,255,.045) 36%,
      rgba(255,255,255,.11) 50%,
      rgba(255,255,255,.045) 64%,
      rgba(255,255,255,0) 84%,
      transparent 100%
    );
}

body.mobile-ui .lens-flare { display: none; }

.shooting-stars { position: fixed; inset: 0; z-index: 6; pointer-events: none; overflow: hidden; }

.meteor {
  position: absolute; left: 0; top: 0; width: var(--meteor-width, 170px); height: 2px; opacity: 0; border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.96));
  filter: drop-shadow(0 0 8px rgba(255,255,255,.72));
  transform: translate3d(-40vw,-40vh,0) rotate(155deg);
  will-change: transform, opacity;
}

.meteor::after {
  content: ""; position: absolute; right: -2px; top: -2px; width: 6px; height: 6px; border-radius: 50%; background: white; box-shadow: 0 0 11px white, 0 0 24px rgba(126,215,255,.9);
}

.meteor.shooting { animation: meteorShoot var(--meteor-duration, 10s) cubic-bezier(.22,.03,.28,1) forwards; }
.ui { position: fixed; inset: 0; z-index: 30; pointer-events: none; }
.screen { position: absolute; inset: 0; opacity: 0; pointer-events: none; transition: opacity .9s ease, filter .9s ease, transform .9s ease; }
.screen.active { opacity: 1; pointer-events: auto; }

.intro {
  display: grid;
  place-items: center;
  min-height: 100svh;
  padding: clamp(18px, 4vw, 44px);
  text-align: center;
}

.intro-card {
  width: min(1160px, 100%);
  padding: 0 clamp(14px, 3vw, 28px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transform: translateY(0);
  animation: riseIn 1.2s cubic-bezier(.2,.85,.2,1) both .3s;
  overflow: visible;
}

.kicker { display: inline-flex; align-items: center; gap: 10px; margin-bottom: clamp(20px, 3vh, 30px); padding: 9px 14px; border: 1px solid rgba(255,255,255,.15); border-radius: 999px; background: rgba(255,255,255,.075); color: rgba(230,238,255,.79); font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; backdrop-filter: blur(16px); box-shadow: 0 0 30px rgba(122,203,255,.12); }
.kicker::before { content:""; width: 7px; height: 7px; border-radius:999px; background: var(--cyan); box-shadow: 0 0 16px var(--cyan), 0 0 34px var(--violet); }

h1 {
  max-width: min(1120px, 100%);
  margin: 0 auto;
  padding: 0 .08em;
  overflow: visible;
  font-size: clamp(46px, 8vw, 116px);
  line-height: .86;
  letter-spacing: -.072em;
  text-align: center;
  text-wrap: balance;
  text-shadow: 0 0 26px rgba(143,232,255,.24), 0 24px 85px rgba(0,0,0,.38);
}

h1 span {
  line-height: .88;
  background: linear-gradient(100deg,#fff 0%,#dbcaff 34%,#8fe8ff 66%,#fff 100%);
  background-size: 190% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  animation: sheen 5.5s ease-in-out infinite alternate;
}

.headline-small {
  display: block;
  font-size: .88em;
}

.headline-galaxy {
  display: block;
  margin-top: -.035em;
  font-size: 1.08em;
}

.intro-card p { max-width: 760px; margin: clamp(18px, 3vh, 30px) auto 0; color: var(--soft); font-size: clamp(16px, 1.85vw, 21px); line-height: 1.55; text-align: center; }
.actions { display: flex; justify-content: center; align-items: center; gap: 12px; margin-top: clamp(26px, 4vh, 42px); flex-wrap: wrap; }

button { font: inherit; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
a { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }

.primary-btn, .chip-btn { position: relative; overflow: hidden; border-radius: 999px; cursor: pointer; color: white; transition: transform .24s ease, border-color .24s ease, box-shadow .24s ease, background .24s ease; }
.primary-btn { padding: 15px 25px; border: 1px solid rgba(255,255,255,.22); background: linear-gradient(135deg,rgba(255,255,255,.14),rgba(255,255,255,.04)), rgba(12,18,50,.5); font-weight: 900; letter-spacing: .02em; backdrop-filter: blur(18px); box-shadow: inset 0 0 20px rgba(255,255,255,.055), 0 18px 64px rgba(58,157,255,.22), 0 0 34px rgba(143,232,255,.26), 0 0 78px rgba(201,167,255,.18); filter: drop-shadow(0 0 18px rgba(143,232,255,.18)); }
.primary-btn::before { content:""; position:absolute; inset:-80% -30%; background: linear-gradient(90deg,transparent,rgba(255,255,255,.3),transparent); transform: translateX(-72%) rotate(12deg); transition: transform .72s ease; }
.primary-btn:hover, .chip-btn:hover { transform: translateY(-2px) scale(1.02); border-color: rgba(143,232,255,.46); box-shadow: 0 22px 74px rgba(58,157,255,.26), 0 0 40px rgba(143,232,255,.28), 0 0 88px rgba(201,167,255,.2); }
.primary-btn:hover::before { transform: translateX(66%) rotate(12deg); }
.chip-btn { padding: 11px 14px; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.06); color: rgba(255,255,255,.84); font-size: 13px; font-weight: 800; }

.bottom-hint { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%); z-index: 32; color: rgba(226,235,255,.5); font-size: 12px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; pointer-events: none; animation: bottomHintRiseIn 1.2s cubic-bezier(.2,.85,.2,1) both .3s; transition: opacity .9s ease, transform .9s ease, filter .9s ease, visibility .9s ease; }

.hud { padding: 22px; }
.hud-panel { contain: layout paint style; position: absolute; left: 22px; top: 22px; width: min(430px, calc(100vw - 44px)); padding: 21px; border: 1px solid var(--line); border-radius: 28px; background: var(--glass); backdrop-filter: blur(20px); box-shadow: 0 26px 96px rgba(0,0,0,.3); transform: translateY(12px); transition: transform .8s ease; }
.hud.active .hud-panel { transform: translateY(0); }
.hud-status-row { display:flex; justify-content:flex-end; align-items:center; margin-bottom: 10px; }
.hud-title { display:block; margin-bottom:10px; }
.hud-title h2 { font-size: 29px; line-height: 1; letter-spacing: -.045em; white-space: nowrap; }
.status-pill { display:inline-flex; align-items:center; justify-content:center; white-space: nowrap; padding: 6px 12px; border: 1px solid rgba(143,232,255,.22); border-radius: 999px; color: rgba(143,232,255,.78); background: rgba(143,232,255,.07); font-size: 10px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.hud-panel p { color: var(--soft); line-height: 1.55; font-size: 14px; }
.system-card { margin-top: 16px; padding: 16px; border: 1px solid rgba(255,255,255,.13); border-radius: 20px; background: rgba(255,255,255,.062); color: rgba(233,240,255,.8); min-height: 0; line-height: 1.52; }
.system-card.is-empty { display: none; }
.system-card strong { display:block; color:white; font-size: 20px; margin-bottom:5px; letter-spacing: -.02em; }
.system-card small { display:block; margin-top:11px; color: rgba(143,232,255,.72); font-size:11px; font-weight:900; text-transform:uppercase; letter-spacing:.09em; }
.system-list { display:grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap:10px; margin-top:16px; }
.system-jump { min-width: 0; padding: 11px 13px; border: 1px solid rgba(255,255,255,.13); border-radius: 16px; background: rgba(255,255,255,.052); color: rgba(255,255,255,.83); cursor:pointer; text-align:left; transition: background .2s ease, transform .2s ease, border-color .2s ease; }
.system-jump:hover { transform: translateY(-1px); background: rgba(143,232,255,.09); border-color: rgba(143,232,255,.34); }
.system-jump b { display:block; font-size: 13px; margin-bottom:3px; white-space: nowrap; }
.system-jump span { display:block; font-size: 11px; color: rgba(226,235,255,.55); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.future-exploration-note { position: relative; margin-top: 15px; padding: 4px 0 4px 16px; border: 0; border-radius: 0; background: transparent; color: rgba(233,240,255,.74); line-height: 1.45; box-shadow: none; }
.future-exploration-note::before { content:""; position:absolute; left:0; top:5px; bottom:5px; width:3px; border-radius:999px; background: linear-gradient(180deg, rgba(255,220,168,.9), rgba(143,232,255,.55)); box-shadow: 0 0 18px rgba(255,220,168,.18); }
.future-exploration-note strong { display:block; color: rgba(255,220,168,.9); font-size: 11px; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; margin-bottom: 4px; }
.future-exploration-note span { display:block; font-size: 12px; color: rgba(226,235,255,.68); }

.hud-actions { display:flex; flex-wrap:wrap; gap:10px; margin-top:16px; }

.labels { position:fixed; inset:0; z-index: 27; pointer-events:none; opacity:0; transition: opacity .75s ease; }
body.is-map .labels { opacity:1; }
.label { position:absolute; left: 0; top: 0; transform: translate3d(-999px,-999px,0) translate(-50%, calc(-100% - 18px)); will-change: transform, opacity; contain: layout paint; padding: 8px 11px; border:1px solid rgba(255,255,255,.14); border-radius:999px; background: rgba(8,12,35,.42); backdrop-filter: blur(14px); color: rgba(255,255,255,.9); font-size: 12px; font-weight: 900; letter-spacing:.055em; text-transform:uppercase; white-space:nowrap; box-shadow:0 12px 42px rgba(0,0,0,.24); transition: transform .18s ease, opacity .18s ease, border-color .18s ease; }
.label.hot { border-color: rgba(143,232,255,.5); }

.flash { position:fixed; inset:0; z-index: 23; pointer-events:none; opacity:0; mix-blend-mode:screen; background: radial-gradient(circle at center, rgba(255,255,255,.62), rgba(143,232,255,.24) 15%, rgba(202,168,255,.1) 34%, transparent 65%); }
body.is-entering .flash { animation: flashPulse 2.7s ease-in-out both; }
body.is-entering .intro { opacity:0; transform: scale(1.045); filter: blur(12px); }
body.is-entering .bottom-hint, body.is-map .bottom-hint, body.is-exiting .bottom-hint { opacity:0; visibility: hidden; transform: translateX(-50%) translateY(8px); filter: blur(8px); }

.toast { position: fixed; left: 50%; right: auto; bottom: 26px; z-index: 36; width: auto; max-width: calc(100vw - 52px); transform: translate(-50%, 24px); opacity: 0; pointer-events: none; display: inline-flex; align-items: center; justify-content: center; padding: 11px 14px; border: 1px solid rgba(255,255,255,.14); border-radius: 999px; background: rgba(255,255,255,.06); backdrop-filter: blur(16px); color: rgba(255,255,255,.84); text-align:center; font-size: 13px; line-height: 1.2; font-weight: 800; white-space: nowrap; box-shadow: none; transition: opacity .35s ease, transform .35s ease, border-color .24s ease, background .24s ease; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

.ship-cursor {
  position: fixed; left: 0; top: 0; width: 46px; height: 46px; z-index: 60; pointer-events: none; opacity: 0; will-change: transform, opacity, filter;
  transform: translate3d(-100px, -100px, 0) rotate(0deg) scale(1);
  transition: opacity .24s ease, filter .24s ease;
  filter: drop-shadow(0 0 10px rgba(143,232,255,.35)) drop-shadow(0 0 24px rgba(122,157,255,.22));
}
.ship-cursor svg { width: 100%; height: 100%; display: block; }
.ship-cursor .thruster {
  position: absolute; left: 50%; top: 50%; width: 22px; height: 22px; transform: translate(-50%, 5px); border-radius: 50%;
  background: radial-gradient(circle at 50% 0%, rgba(255,255,255,.98), rgba(143,232,255,.82) 24%, rgba(111,126,255,.38) 52%, rgba(111,126,255,0) 78%);
  filter: blur(1px); opacity: .75; mix-blend-mode: screen;
}
.ship-cursor .pulse {
  position: absolute; inset: -10px; border-radius: 50%; border: 0;
  background: radial-gradient(circle, rgba(143,232,255,.2) 0%, rgba(143,232,255,.1) 38%, rgba(143,232,255,0) 72%);
  filter: blur(9px); opacity: .55; transform: scale(.82); mix-blend-mode: screen;
}
body.has-ship-cursor, body.has-ship-cursor * { cursor: none !important; }

body.mobile-ui { overscroll-behavior: none; }
body.mobile-ui .hud { padding: 0; }
body.mobile-ui .hud-panel { top: auto; left: 12px; right: 12px; bottom: calc(env(safe-area-inset-bottom, 0px) + 12px); width: auto; height: auto; max-height: none; overflow: visible; border-radius: 24px; padding: 18px; background: rgba(7, 10, 31, .74); backdrop-filter: blur(22px); }
body.mobile-ui .hud-panel p { font-size: 13px; }
body.mobile-ui .system-card { padding: 14px; min-height: 0; }
body.mobile-ui .system-list { grid-template-columns: 1fr; max-height: none; overflow: visible; }
body.mobile-ui .system-jump { min-height: 52px; }
body.mobile-ui .hud-actions { position: static; bottom: auto; background: transparent; padding-top: 0; }
@media (min-width: 560px) and (max-width: 1024px) {
  body.mobile-ui .system-list { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
body.mobile-ui .label { font-size: 10px; padding: 7px 10px; }
body.mobile-ui h1 { font-size: clamp(36px, 10.6vw, 70px); line-height: .88; padding: 0 .02em; letter-spacing: -.066em; }
body.mobile-ui .headline-galaxy { font-size: 1.06em; margin-top: -.025em; }
body.mobile-ui .intro-card { justify-content: center; }
body.mobile-ui .intro-card p { max-width: 92vw; margin-top: 11px; font-size: 15px; line-height: 1.5; }
body.mobile-ui .actions { gap: 10px; }
body.mobile-ui .primary-btn, body.mobile-ui .chip-btn { min-height: 48px; }
body.mobile-ui .bottom-hint { display: none; }
body.mobile-ui .toast { left: calc(env(safe-area-inset-left, 0px) + 16px); top: calc(env(safe-area-inset-top, 0px) + 16px); right: auto; bottom: auto; transform: translateY(-14px); width: auto; max-width: min(420px, calc(100vw - 32px)); font-size: 13px; padding: 11px 14px; text-align: left; white-space: normal; }
body.mobile-ui .toast.show { transform: translateY(0); }
body.mobile-ui .meteor { opacity: 0; filter: drop-shadow(0 0 6px rgba(255,255,255,.52)); }
body.mobile-ui .ship-cursor { display: none !important; }

@media (min-width: 700px) and (max-width: 1100px) {
  body.mobile-ui .hud-panel {
    left: clamp(22px, 4vw, 42px);
    right: clamp(22px, 4vw, 42px);
    bottom: calc(env(safe-area-inset-bottom, 0px) + clamp(18px, 2.6vh, 28px));
    width: auto;
    max-height: none;
    overflow: visible;
  }

  body.tablet-map-ui.is-map #space {
    height: var(--galaxy-stage-height, 58vh);
  }

  body.mobile-ui .system-list {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  body.mobile-ui .toast {
    left: calc(env(safe-area-inset-left, 0px) + 22px);
    top: calc(env(safe-area-inset-top, 0px) + 22px);
    max-width: min(420px, calc(100vw - 44px));
    transform: translateY(-16px);
  }

  body.mobile-ui .toast.show {
    transform: translateY(0);
  }
}

.webgl-fallback { position: fixed; inset: 0; z-index: 100; display: none; place-items: center; padding: 24px; background: radial-gradient(circle at 50% 30%, rgba(143,232,255,.13), transparent 30%), #030512; }
body.no-webgl .webgl-fallback { display: grid; }
body.no-webgl #space, body.no-webgl .nebula-sheet, body.no-webgl .fog-bank, body.no-webgl .lens-flare, body.no-webgl .shooting-stars, body.no-webgl .ui, body.no-webgl .labels, body.no-webgl .ship-cursor { display: none; }

.fallback-card { width: min(720px, 94vw); padding: 30px; border-radius: 30px; border: 1px solid rgba(255,255,255,.14); background: rgba(8,11,35,.64); backdrop-filter: blur(18px); box-shadow: 0 28px 90px rgba(0,0,0,.38); text-align: center; }
.fallback-card h1 { font-size: clamp(38px, 8vw, 76px); margin-bottom: 16px; }
.fallback-card p { color: var(--soft); line-height: 1.7; max-width: 560px; margin: 0 auto 22px; }
.fallback-links { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }

.top-controls { position: fixed; top: 18px; right: 18px; z-index: 38; display: flex; align-items: center; gap: 16px; pointer-events: auto; animation: riseIn 1.2s cubic-bezier(.2,.85,.2,1) both .3s; transition: opacity .9s ease, transform .9s ease, visibility .9s ease; }
.top-controls .chip-btn { min-height: 40px; }
.contact-control {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 4px 2px;
  color: rgba(255,255,255,.94);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .02em;
  text-decoration: none;
  text-shadow: 0 0 18px rgba(143,232,255,.24), 0 0 38px rgba(201,167,255,.2);
  transition: transform .22s ease, filter .22s ease, opacity .22s ease;
}
.contact-control::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 6px;
  height: 1px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255,255,255,0), rgba(143,232,255,.9), rgba(255,255,255,0));
  box-shadow: 0 0 14px rgba(143,232,255,.5);
  transform: scaleX(.72);
  opacity: .72;
  transition: transform .22s ease, opacity .22s ease;
}
.contact-control:hover {
  transform: translateY(-1px);
  filter: drop-shadow(0 0 18px rgba(143,232,255,.28));
}
.contact-control:hover::after {
  transform: scaleX(1);
  opacity: 1;
}
.intro-copyright {
  position: fixed;
  right: clamp(18px, 3vw, 34px);
  bottom: calc(env(safe-area-inset-bottom, 0px) + 22px);
  z-index: 38;
  max-width: calc(100vw - 36px);
  color: rgba(226,235,255,.52);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .02em;
  line-height: 1.4;
  text-align: right;
  pointer-events: none;
  text-shadow: 0 0 20px rgba(143,232,255,.14);
  animation: riseIn 1.2s cubic-bezier(.2,.85,.2,1) both .3s;
  transition: opacity .34s ease, transform .34s ease, visibility .34s ease;
}
body.is-entering .contact-control,
body.is-map .contact-control,
body.is-exiting .contact-control,
body.is-entering .intro-copyright,
body.is-map .intro-copyright,
body.is-exiting .intro-copyright {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
body.is-entering .intro-copyright,
body.is-map .intro-copyright,
body.is-exiting .intro-copyright {
  transform: translateY(8px);
}
body.is-entering .contact-control,
body.is-map .contact-control,
body.is-exiting .contact-control {
  transform: translateY(-8px);
}

.detail-overlay { position: fixed; inset: 0; z-index: 42; display: grid; place-items: center; padding: 24px; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .45s ease, visibility .45s ease; background: radial-gradient(circle at var(--overlay-x, 50%) var(--overlay-y, 50%), rgba(143,232,255,.13), transparent 30%), rgba(1,2,10,.32); backdrop-filter: blur(8px); }
.detail-overlay.open { opacity: 1; visibility: visible; pointer-events: auto; }
.detail-card { contain: layout paint; width: min(920px, 96vw); max-height: min(760px, 88vh); overflow: auto; border: 1px solid rgba(255,255,255,.16); border-radius: 34px; background: linear-gradient(135deg, rgba(255,255,255,.105), rgba(255,255,255,.035)), rgba(6, 9, 30, .82); box-shadow: 0 30px 120px rgba(0,0,0,.48), inset 0 0 70px rgba(143,232,255,.035); backdrop-filter: blur(24px); transform: translateY(20px) scale(.98); transition: transform .45s cubic-bezier(.2,.85,.2,1); }
.detail-overlay.open .detail-card { transform: translateY(0) scale(1); }
.detail-hero { position: relative; padding: 30px; overflow: hidden; border-bottom: 1px solid rgba(255,255,255,.1); }
.detail-hero::before { content: ""; position: absolute; inset: -50% -10%; background: radial-gradient(circle at 16% 20%, var(--system-color, #8fe8ff), transparent 19%), radial-gradient(circle at 80% 50%, var(--system-alt, #caa8ff), transparent 24%); opacity: .16; filter: blur(18px); pointer-events: none; }
.detail-close { position: absolute; top: 18px; right: 18px; z-index: 2; width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.16); border-radius: 50%; background: rgba(255,255,255,.07); color: white; cursor: pointer; font-size: 22px; line-height: 1; backdrop-filter: blur(12px); }
.detail-kicker { position: relative; z-index: 1; color: rgba(143,232,255,.78); text-transform: uppercase; letter-spacing: .14em; font-size: 12px; font-weight: 900; margin-bottom: 10px; }
.detail-title { position: relative; z-index: 1; font-size: clamp(38px, 6vw, 82px); letter-spacing: -.07em; line-height: .9; margin-bottom: 14px; }
.detail-copy { position: relative; z-index: 1; max-width: 680px; color: rgba(227,236,255,.76); line-height: 1.7; font-size: 16px; }
.detail-body { padding: 26px 30px 30px; }
.journey-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 18px 0 24px; }
.journey-card { min-height: 120px; padding: 16px; border: 1px solid rgba(255,255,255,.12); border-radius: 22px; background: rgba(255,255,255,.055); }
.journey-card b { display:block; margin-bottom: 8px; color: white; font-size: 15px; }
.journey-card span { display:block; color: rgba(227,236,255,.64); font-size: 13px; line-height: 1.5; }
.detail-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.detail-actions a, .detail-actions button { text-decoration: none; display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 11px 15px; border-radius: 999px; border: 1px solid rgba(255,255,255,.15); background: rgba(255,255,255,.07); color: white; font: inherit; font-size: 13px; font-weight: 900; cursor: pointer; }
.detail-actions .primary-link { background: linear-gradient(135deg, rgba(143,232,255,.22), rgba(201,167,255,.12)); border-color: rgba(143,232,255,.35); }

.engine-particle { position: fixed; will-change: transform, opacity; left: 0; top: 0; z-index: 59; width: 7px; height: 7px; pointer-events: none; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.95), rgba(143,232,255,.62) 36%, rgba(143,232,255,0) 72%); mix-blend-mode: screen; opacity: 0; transform: translate3d(-100px,-100px,0) scale(1); filter: blur(.2px) drop-shadow(0 0 10px rgba(143,232,255,.65)); }

.seo-content { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

@media (max-width: 850px) {
  .top-controls { top: calc(env(safe-area-inset-top, 0px) + 12px); right: 12px; gap: 12px; }
  .top-controls .chip-btn { min-height: 38px; padding: 9px 12px; font-size: 12px; }
  .contact-control { min-height: 38px; font-size: 12px; }
  .contact-control::after { bottom: 5px; }
  .intro-copyright { right: 14px; bottom: calc(env(safe-area-inset-bottom, 0px) + 16px); max-width: 245px; font-size: 11px; }
  .detail-overlay { padding: 12px; align-items: end; }
  .detail-card { width: 100%; max-height: 86vh; border-radius: 26px; }
  .detail-hero { padding: 26px 20px 20px; }
  .detail-body { padding: 20px; }
  .journey-grid { grid-template-columns: 1fr; }
  .detail-copy { font-size: 14px; }
}

@media (hover: none), (pointer: coarse) {
  .primary-btn:hover, .chip-btn:hover { transform: none; border-color: rgba(255,255,255,.14); box-shadow: none; }
  .primary-btn:hover { border-color: rgba(255,255,255,.22); box-shadow: inset 0 0 20px rgba(255,255,255,.055), 0 18px 64px rgba(58,157,255,.22), 0 0 34px rgba(143,232,255,.26), 0 0 78px rgba(201,167,255,.18); }
  .primary-btn:hover::before { transform: translateX(-72%) rotate(12deg); }
  .system-jump:hover { transform: none; background: rgba(255,255,255,.052); border-color: rgba(255,255,255,.13); }
}

@keyframes nebulaDrift { from { transform: translate3d(-1.5vw,1vh,0) scale(1); } to { transform: translate3d(1.8vw,-1.2vh,0) scale(1.05); } }
@keyframes nebulaCounter { from { transform: translate3d(1vw,.5vh,0) scale(1); } to { transform: translate3d(-1.2vw,-1vh,0) scale(1.08); } }
@keyframes pulseGlow { 0%,100% { opacity:.72; transform:scale(1); } 50% { opacity:1; transform:scale(1.05); } }
@keyframes fogShift { from { transform: translate3d(-1.5vw,0,0) scale(1.02); } to { transform: translate3d(1.5vw,-1.5vh,0) scale(1.08); } }
@keyframes meteorShoot { 0% { opacity: 0; transform: translate3d(var(--meteor-start-x), var(--meteor-start-y), 0) rotate(155deg) scaleX(.72); } 16% { opacity: .88; } 72% { opacity: .76; } 100% { opacity: 0; transform: translate3d(var(--meteor-end-x), var(--meteor-end-y), 0) rotate(155deg) scaleX(.96); } }
@keyframes riseIn { from { opacity:0; transform: translateY(24px) scale(.98); filter:blur(10px); } to { opacity:1; transform: translateY(0) scale(1); filter:blur(0); } }
@keyframes bottomHintRiseIn { from { opacity:0; transform: translateX(-50%) translateY(24px) scale(.98); filter:blur(10px); } to { opacity:1; transform: translateX(-50%) translateY(0) scale(1); filter:blur(0); } }
@keyframes sheen { from { background-position:0% 50%; } to { background-position:100% 50%; } }
@keyframes flashPulse { 0%{ opacity:0; transform:scale(.62);} 36%{ opacity:1; transform:scale(1.05);} 100%{ opacity:0; transform:scale(1.95);} }

@media (max-width: 850px) {
  .hud-panel { top:14px; left:14px; width: calc(100vw - 28px); border-radius: 23px; padding: 17px; }
  body.mobile-ui .hud-panel { top: auto; left: 12px; right: 12px; bottom: calc(env(safe-area-inset-bottom, 0px) + 12px); width: auto; }
  .hud-title h2 { font-size: 28px; }
  .status-pill { max-width: 100%; font-size: 9px; letter-spacing: .095em; }
  .system-list { grid-template-columns: 1fr; }
  .intro { padding: max(18px, env(safe-area-inset-top)) 18px max(18px, env(safe-area-inset-bottom)); }
  .bottom-hint { display:none; }
  .actions { margin-top: 28px; }
}

@media (max-width: 480px) {
  .kicker {
    margin-bottom: 18px;
    padding: 8px 11px;
    font-size: 10px;
    letter-spacing: .12em;
  }

  h1 {
    max-width: 98vw;
    font-size: clamp(34px, 10.6vw, 56px);
    line-height: .9;
    letter-spacing: -.064em;
    padding: 0 .02em;
  }

  .headline-galaxy {
    font-size: 1.06em;
    margin-top: -.02em;
  }

  .intro-card p {
    margin-top: 15px;
    font-size: 14.5px;
    line-height: 1.5;
  }

  .actions {
    margin-top: 26px;
  }
}

@media (max-height: 680px) {
  .intro-card {
    min-height: auto;
  }

  .kicker {
    margin-bottom: 16px;
  }

  h1 {
    font-size: clamp(38px, 9.8vw, 82px);
    line-height: .88;
    padding: 0 .02em;
  }

  .intro-card p {
    margin-top: 14px;
    line-height: 1.45;
  }

  .actions {
    margin-top: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .engine-particle, .meteor { display: none !important; }
}
/* Phone galaxy map drawer: desktop and tablet layouts stay untouched. */
.mobile-map-toggle, .phone-map-actions { display: none; }

@media (max-width: 699.98px) {
  body.phone-map-ui.is-map {
    --phone-drawer-side: 12px;
    --phone-drawer-bottom: calc(env(safe-area-inset-bottom, 0px) + 12px);
    --phone-drawer-tab-height: 58px;
    --phone-drawer-toast-gap: 10px;
    --phone-drawer-max-height: min(74svh, calc(100svh - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px) - 24px));
    --phone-drawer-current-height: var(--phone-drawer-tab-height);
  }

  body.phone-map-ui.is-map #space {
    height: 100%;
  }

  body.phone-map-ui.is-map .hud {
    pointer-events: none;
  }

  body.phone-map-ui.is-map .hud::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0;
    background: rgba(2, 4, 17, .34);
    backdrop-filter: blur(0);
    transition: opacity .32s ease, backdrop-filter .32s ease;
  }

  body.phone-map-ui.is-map.phone-map-open .hud::before {
    opacity: 1;
    backdrop-filter: blur(7px);
  }

  body.phone-map-ui.is-map .phone-map-actions {
    position: fixed;
    left: calc(env(safe-area-inset-left, 0px) + 18px);
    top: calc(env(safe-area-inset-top, 0px) + 18px);
    z-index: 9;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 8px;
    pointer-events: auto;
  }

  body.phone-map-ui.is-map .phone-map-actions .chip-btn {
    min-height: 40px;
    min-width: 116px;
    padding: 10px 13px;
    border-radius: 999px;
    border-color: rgba(255,255,255,.16);
    background: rgba(7, 10, 31, .58);
    color: rgba(255,255,255,.88);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .02em;
    text-align: center;
    backdrop-filter: blur(18px);
    box-shadow: 0 14px 46px rgba(0,0,0,.28), inset 0 0 18px rgba(255,255,255,.04);
  }

  body.phone-map-ui.is-map .hud-panel .hud-actions {
    display: none;
  }

  body.phone-map-ui.is-map .toast {
    left: auto;
    right: calc(env(safe-area-inset-right, 0px) + 18px);
    top: auto;
    bottom: calc(var(--phone-drawer-bottom) + var(--phone-drawer-tab-height) + var(--phone-drawer-toast-gap));
    z-index: 9;
    max-width: min(66vw, 300px);
    width: auto;
    padding: 10px 12px;
    text-align: right;
    white-space: normal;
    transform: translateY(10px);
  }

  body.phone-map-ui.is-map .toast.show {
    transform: translateY(0);
  }

  body.phone-map-ui.is-map.phone-map-open .toast {
    bottom: calc(var(--phone-drawer-bottom) + var(--phone-drawer-current-height, var(--phone-drawer-tab-height)) + var(--phone-drawer-toast-gap));
  }

  body.phone-map-ui.is-map .mobile-map-toggle {
    position: fixed;
    left: var(--phone-drawer-side);
    right: var(--phone-drawer-side);
    bottom: var(--phone-drawer-bottom);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: auto;
    min-height: var(--phone-drawer-tab-height);
    padding: 0 18px 0 19px;
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 24px;
    background: rgba(7, 10, 31, .74);
    color: rgba(255,255,255,.94);
    font-size: 14px;
    font-weight: 900;
    letter-spacing: -.01em;
    line-height: 1;
    white-space: nowrap;
    backdrop-filter: blur(22px);
    box-shadow: 0 22px 78px rgba(0,0,0,.34), inset 0 0 20px rgba(255,255,255,.045);
    transform: translateY(0);
    pointer-events: auto;
    transition:
      left .34s cubic-bezier(.2,.85,.2,1),
      right .34s cubic-bezier(.2,.85,.2,1),
      bottom .34s cubic-bezier(.2,.85,.2,1),
      width .34s cubic-bezier(.2,.85,.2,1),
      min-height .34s cubic-bezier(.2,.85,.2,1),
      padding .34s cubic-bezier(.2,.85,.2,1),
      border-radius .34s ease,
      border-color .24s ease,
      background .24s ease,
      box-shadow .24s ease,
      color .24s ease,
      font-size .18s ease;
  }

  body.phone-map-ui.is-map .mobile-map-toggle::after {
    content: "";
    flex: 0 0 auto;
    width: 15px;
    height: 15px;
    border-top: 3px solid rgba(255,255,255,.94);
    border-right: 3px solid rgba(255,255,255,.94);
    border-radius: 2px;
    transform: rotate(-45deg) translateY(2px);
    filter: drop-shadow(0 0 10px rgba(143,232,255,.62));
    transition: transform .28s ease, filter .24s ease, border-color .24s ease;
  }

  body.phone-map-ui.is-map .mobile-map-toggle:active::after {
    transform: rotate(-45deg) translateY(-1px);
  }

  body.phone-map-ui.is-map.phone-map-open .mobile-map-toggle {
    left: auto;
    right: calc(var(--phone-drawer-side) + 8px);
    bottom: calc(var(--phone-drawer-bottom) + var(--phone-drawer-current-height, var(--phone-drawer-tab-height)) - 56px + 4px);
    width: 56px;
    min-height: 52px;
    padding: 0;
    justify-content: center;
    border-color: transparent;
    border-radius: 18px;
    background: transparent;
    box-shadow: none;
    color: transparent;
    font-size: 0;
    pointer-events: auto;
    opacity: 1;
  }

  body.phone-map-ui.is-map.phone-map-open .mobile-map-toggle::after {
    width: 14px;
    height: 14px;
    border-top-color: rgba(255,255,255,.98);
    border-right-color: rgba(255,255,255,.98);
    transform: rotate(135deg) translateY(-2px);
    filter: drop-shadow(0 0 12px rgba(143,232,255,.78)) drop-shadow(0 0 22px rgba(201,167,255,.38));
  }

  body.phone-map-ui.is-map.phone-map-open .mobile-map-toggle:active::after {
    transform: rotate(135deg) translateY(1px);
  }

  body.phone-map-ui.is-map .hud-panel {
    z-index: 2;
    left: var(--phone-drawer-side);
    right: var(--phone-drawer-side);
    bottom: var(--phone-drawer-bottom);
    width: auto;
    height: auto;
    max-height: var(--phone-drawer-max-height);
    padding: 18px;
    overflow-y: auto;
    overflow-x: hidden;
    border-radius: 24px;
    background: rgba(7, 10, 31, .74);
    backdrop-filter: blur(22px);
    transform: translateY(calc(100% + 22px));
    opacity: 0;
    pointer-events: none;
    transition: transform .34s cubic-bezier(.2,.85,.2,1), opacity .24s ease;
  }

  body.phone-map-ui.is-map.phone-map-open .hud-panel {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  body.phone-map-ui.is-map.phone-map-open .hud-status-row {
    padding-right: 56px;
  }

  body.phone-map-ui.is-map.phone-map-open #space,
  body.phone-map-ui.is-map.phone-map-open .labels {
    pointer-events: none;
  }
}

/* Updated selected-system layout: keep Galaxy Map clean, show details separately. */
#systemInfo,
.system-card {
  display: none !important;
}

.detail-overlay {
  inset: 0;
  z-index: 42;
  display: grid;
  place-items: center;
  padding: clamp(16px, 3vw, 34px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  background:
    radial-gradient(circle at var(--overlay-x, 50%) var(--overlay-y, 50%), rgba(143,232,255,.16), transparent 30%),
    radial-gradient(circle at 18% 82%, rgba(255,143,232,.1), transparent 28%),
    rgba(1,2,10,.48);
  backdrop-filter: blur(12px) saturate(1.15);
  transition: opacity .42s ease, visibility .42s ease;
}

.detail-overlay.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.detail-card {
  pointer-events: auto;
  width: min(980px, 96vw);
  max-height: min(800px, 88svh);
  overflow: auto;
  border-radius: 34px;
  border: 1px solid rgba(255,255,255,.16);
  background:
    linear-gradient(135deg, rgba(255,255,255,.11), rgba(255,255,255,.035)),
    rgba(6, 9, 30, .84);
  box-shadow:
    0 34px 130px rgba(0,0,0,.56),
    0 0 90px rgba(143,232,255,.12),
    inset 0 0 80px rgba(143,232,255,.04);
  backdrop-filter: blur(26px);
  transform: translateY(22px) scale(.98);
  transition: transform .45s cubic-bezier(.2,.85,.2,1);
}

.detail-overlay.open .detail-card {
  transform: translateY(0) scale(1);
}

.detail-hero {
  padding: clamp(24px, 4vw, 38px);
}

.detail-kicker {
  color: rgba(143,232,255,.86);
  letter-spacing: .16em;
}

.detail-title {
  font-size: clamp(46px, 7vw, 92px);
  margin-bottom: 16px;
}

.detail-copy {
  max-width: 820px;
  font-size: clamp(14px, 1.5vw, 17px);
  line-height: 1.72;
}

.detail-body {
  padding: clamp(22px, 3vw, 32px) clamp(24px, 4vw, 38px) clamp(24px, 4vw, 38px);
}

.journey-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 0 0 24px;
}

.journey-card {
  min-height: 0;
  padding: 18px;
  border-radius: 24px;
  background:
    radial-gradient(circle at 14% 10%, rgba(143,232,255,.12), transparent 34%),
    rgba(255,255,255,.058);
}

.benefit-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.benefit-card-head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.benefit-orb {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(143,232,255,.28);
  background: radial-gradient(circle, rgba(143,232,255,.22), rgba(201,167,255,.08));
  color: white;
  box-shadow: 0 0 26px rgba(143,232,255,.18);
  font-size: 15px;
}

.benefit-card-head b {
  display: block;
  margin: 0 0 5px;
  color: white;
  font-size: 18px;
  letter-spacing: -.02em;
}

.benefit-card-head em {
  display: block;
  color: rgba(227,236,255,.68);
  font-size: 13px;
  line-height: 1.45;
  font-style: normal;
}

.journey-points {
  list-style: none;
  display: grid;
  gap: 10px;
}

.journey-points li {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 10px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 16px;
  background: rgba(255,255,255,.04);
}

.journey-point-icon {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--system-color, #8fe8ff);
  background: rgba(143,232,255,.08);
  font-size: 10px;
  line-height: 1;
  box-shadow: 0 0 14px rgba(143,232,255,.1);
}

.journey-points b {
  display: block;
  margin: 0 0 3px;
  color: rgba(255,255,255,.94);
  font-size: 13px;
}

.journey-points small {
  display: block;
  color: rgba(227,236,255,.63);
  font-size: 12px;
  line-height: 1.45;
}

.detail-actions a,
.detail-actions button {
  min-height: 42px;
  padding: 10px 14px;
}

@media (max-width: 850px) {
  .detail-overlay {
    padding: calc(env(safe-area-inset-top, 0px) + 12px) 12px calc(env(safe-area-inset-bottom, 0px) + 12px);
  }

  .detail-card {
    width: 100%;
    max-height: 88svh;
    border-radius: 26px;
  }

  .detail-hero {
    padding: 24px 18px 18px;
  }

  .detail-close {
    width: 38px;
    height: 38px;
    top: 14px;
    right: 14px;
  }

  .detail-title {
    font-size: clamp(34px, 11vw, 54px);
  }

  .detail-copy {
    font-size: 14px;
    line-height: 1.62;
  }

  .detail-body {
    padding: 18px;
  }

  .journey-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .benefit-card-head b {
    font-size: 17px;
  }
}

/* Intro navigation removed from homepage */

@keyframes introChromeIn {
  from { opacity: 0; transform: translateY(24px); filter: blur(10px); }
  to { opacity: 1; transform: translateY(0); filter: blur(0); }
}

.detail-status {
  display: inline-flex;
  width: fit-content;
  margin-top: 14px;
  padding: 7px 11px;
  border: 1px solid rgba(143,232,255,.22);
  border-radius: 999px;
  background: rgba(143,232,255,.07);
  color: rgba(143,232,255,.8);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.detail-status[hidden] {
  display: none;
}

.detail-card.is-uncharted-system .detail-hero {
  border-bottom: 0;
}

.detail-card.is-uncharted-system .detail-body {
  padding-top: 0;
}

.detail-card.is-uncharted-system .journey-grid {
  display: none;
}

/* Separate simple pages */
html.simple-page-root,
html.simple-page-root body {
  min-height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
}

body.simple-page {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}

body.simple-page .intro-shell-nav,

body.simple-page .page-shell {
  position: relative;
  z-index: 12;
  width: min(980px, calc(100vw - 36px));
  margin: 0 auto;
  padding: clamp(118px, 15vh, 170px) 0 clamp(96px, 12vh, 130px);
}

body.simple-page .page-card {
  padding: clamp(26px, 5vw, 54px);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: clamp(26px, 4vw, 42px);
  background: linear-gradient(135deg, rgba(255,255,255,.105), rgba(255,255,255,.035)), rgba(7, 10, 31, .68);
  box-shadow: 0 26px 100px rgba(0,0,0,.36), inset 0 0 30px rgba(255,255,255,.045);
  backdrop-filter: blur(24px);
}

.page-kicker {
  margin: 0 0 16px;
  color: rgba(143,232,255,.78);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .04em;
  text-transform: none;
}

.page-card h1 {
  margin: 0;
  max-width: 820px;
  font-size: clamp(42px, 8vw, 84px);
  line-height: .92;
  letter-spacing: -.065em;
  text-align: left;
}

.page-card h1 span {
  background: linear-gradient(100deg,#fff 0%,#dbcaff 34%,#8fe8ff 66%,#fff 100%);
  background-size: 190% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.page-copy {
  max-width: 760px;
  margin-top: 24px;
  color: rgba(226,235,255,.74);
  font-size: clamp(15px, 1.7vw, 18px);
  line-height: 1.7;
}

.page-copy p + p { margin-top: 15px; }

.page-copy a {
  color: rgba(143,232,255,.9);
  text-decoration: none;
}

.page-copy a:hover { text-decoration: underline; }

.page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.page-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 16px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.86);
  text-decoration: none;
  font-size: 13px;
  font-weight: 400;
  transition: transform .22s ease, border-color .22s ease, background .22s ease;
}

.page-actions a:hover {
  transform: translateY(-1px);
  border-color: rgba(143,232,255,.42);
  background: rgba(143,232,255,.09);
}

@media (max-width: 760px) {
  .intro-shell-nav {
    top: calc(env(safe-area-inset-top, 0px) + 12px);
  }

  .intro-shell-nav-inner {
    min-height: 48px;
  }

  .intro-brand {
    left: 16px;
  }

  .intro-brand img {
    width: clamp(92px, 28vw, 132px);
    height: auto;
  }

  .intro-nav-links {
    gap: clamp(28px, 10vw, 56px);
  }

  .intro-nav-link {
    font-size: 12px;
  }

  body.simple-page .page-shell {
    width: min(100% - 28px, 980px);
    padding-top: 108px;
  }
}

@media (max-width: 430px) {
  .intro-shell-nav-inner {
    justify-content: space-between;
  }

  .intro-brand span {
    display: inline;
  }
}
