@font-face {
  font-family: Archivo;
  src: url("fonts/archivo.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}
@font-face {
  font-family: Oxanium;
  src: url("fonts/oxanium.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}

:root {
  --void: #07080c;
  --paper: #e6e0d2;
  --mute: #8a8696;
  --line: rgba(230, 224, 210, 0.12);
  --ice: #7ee7de;
  --sun: #e0b66c;
  --pad: clamp(1.1rem, 3vw, 3.25rem);
  --nav: 3.75rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --safe-t: env(safe-area-inset-top, 0px);
  --safe-b: env(safe-area-inset-bottom, 0px);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--void); color-scheme: dark; }
body {
  min-height: 100%;
  overflow-x: hidden;
  font-size: clamp(0.95rem, 0.88rem + 0.28vw, 1.125rem);
  line-height: 1.5;
  padding-left: env(safe-area-inset-left, 0px);
  padding-right: env(safe-area-inset-right, 0px);
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
canvas { display: block; }
h1, h2, h3 { font-weight: 560; letter-spacing: -0.03em; line-height: 0.95; }

.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 80;
  padding: 0.5rem 0.8rem; background: var(--paper); color: var(--void);
}
.skip:focus { top: 1rem; }

#boot {
  position: fixed; inset: 0; z-index: 90; background: var(--void);
  display: grid; place-items: center; transition: opacity 0.6s var(--ease);
}
#boot i {
  width: min(12rem, 40vw); height: 1px; background: rgba(230,224,210,.12); position: relative; overflow: hidden;
}
#boot i::after {
  content: ""; position: absolute; inset: 0 auto 0 0; width: 0%; background: var(--ice);
  animation: boot 1.4s var(--ease) forwards;
}
#boot.is-out { opacity: 0; pointer-events: none; }
@keyframes boot { to { width: 100%; } }

.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between;
  height: calc(var(--nav) + var(--safe-t));
  padding: var(--safe-t) var(--pad) 0;
}
.nav.is-solid {
  background: rgba(7, 8, 12, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.mark { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 600; letter-spacing: 0.04em; }
.mark-ico { width: 1.05rem; height: 1.05rem; color: var(--ice); }
.nav-links { display: flex; gap: clamp(1.2rem, 2.5vw, 2.2rem); color: var(--mute); font-size: 0.92rem; }
.nav-links a:hover, .nav-links a:focus-visible { color: var(--paper); }
.nav-toggle { display: none; width: 2.5rem; height: 2.5rem; position: relative; }
.nav-toggle span {
  position: absolute; left: 0.6rem; right: 0.6rem; height: 1px; background: var(--paper);
  transition: transform 0.3s var(--ease);
}
.nav-toggle span:first-child { top: 1rem; }
.nav-toggle span:last-child { top: 1.4rem; }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(0.2rem) rotate(42deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-0.2rem) rotate(-42deg); }
.sheet {
  position: fixed; inset: 0; z-index: 30; background: var(--void);
  display: flex; flex-direction: column; justify-content: center; gap: 1.2rem;
  padding: var(--pad); font-size: clamp(2rem, 8vw, 3.2rem); letter-spacing: -0.03em;
}
.sheet[hidden] { display: none; }

.eyebrow {
  font-family: Oxanium, sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ice);
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  padding: calc(var(--nav) + var(--safe-t) + 1rem) var(--pad) calc(1.4rem + var(--safe-b));
}
#hero-gl { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-copy { position: relative; max-width: 22rem; }
.hero-copy h1 {
  margin: 0.55rem 0 0.8rem;
  font-size: clamp(3rem, 8vw, 6.5rem);
  font-stretch: 92%;
}
.lede { color: var(--mute); margin-bottom: 1.4rem; max-width: 34ch; }
.cta {
  display: inline-flex; align-items: center; gap: 0.55rem;
  padding: 0.7rem 1.05rem; border: 1px solid var(--line); border-radius: 999px;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.cta:hover, .cta:focus-visible { border-color: var(--ice); transform: translateY(-1px); }
.hero-hint {
  position: absolute; right: var(--pad); bottom: calc(1.4rem + var(--safe-b));
  font-family: Oxanium, sans-serif; font-size: 0.68rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--mute);
}

.facts-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.facts-row article {
  padding: 1.35rem var(--pad);
  border-right: 1px solid var(--line);
}
.facts-row article:last-child { border-right: 0; }
.facts-row b { display: block; font-size: clamp(1.2rem, 2vw, 1.7rem); font-weight: 500; margin-bottom: 0.25rem; }
.facts-row span { color: var(--mute); font-size: 0.88rem; }

.voyage { height: 900vh; position: relative; }
.voyage-sticky {
  position: sticky; top: 0; height: 100svh; overflow: hidden;
}
#voyage-gl { position: absolute; inset: 0; width: 100%; height: 100%; }
.voyage-ui {
  position: relative; z-index: 2; height: 100%;
  display: grid; grid-template-rows: auto 1fr auto auto;
  padding: calc(var(--nav) + var(--safe-t) + 0.4rem) var(--pad) calc(1rem + var(--safe-b));
  pointer-events: none;
}
.voyage-ui .ticks, .voyage-ui .intel { pointer-events: auto; }
.v-kicker {
  font-family: Oxanium, sans-serif; font-size: 0.68rem; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--mute);
}
.ticks {
  position: absolute; top: calc(var(--nav) + var(--safe-t) + 0.7rem); right: var(--pad);
  display: flex; gap: 0.35rem; list-style: none;
}
.ticks button {
  width: 18px; height: 2px; background: rgba(230,224,210,.2); padding: 0.55rem 0;
  background-clip: content-box; transition: background-color 0.3s;
}
.ticks button.is-on { background-color: var(--ice); background-clip: content-box; }
.v-now { align-self: end; padding-bottom: 1rem; }
.v-name { font-size: clamp(2.4rem, 6vw, 4.8rem); font-stretch: 90%; }
.v-au { color: var(--sun); font-family: Oxanium, sans-serif; margin-top: 0.2rem; }
.v-gaps {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1rem;
  padding: 0.85rem 0; border-top: 1px solid var(--line); margin-bottom: 0.7rem;
}
.v-gaps span {
  display: block; font-family: Oxanium, sans-serif; font-size: 0.62rem;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--mute); margin-bottom: 0.2rem;
}
.v-gaps b { font-weight: 500; }
.intel {
  border: 1px solid var(--line); border-radius: 12px;
  padding: 0.9rem 1.05rem;
  background: rgba(7, 8, 12, 0.55);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.7rem 1rem;
}
.intel div span {
  display: block; font-family: Oxanium, sans-serif; font-size: 0.62rem;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--mute);
}
.intel div b { font-weight: 500; font-size: 0.92rem; }

.atlas { padding: clamp(3.2rem, 8vh, 6.5rem) var(--pad); }
.sec { margin-bottom: 1.6rem; }
.sec h2 { font-size: clamp(1.8rem, 3.4vw, 3rem); margin-top: 0.4rem; }
.atlas-grid {
  display: grid; grid-template-columns: 1.3fr 0.9fr; gap: clamp(1.4rem, 4vw, 3.5rem);
  margin-bottom: 2.4rem;
}
.atlas-lead h3 { font-size: clamp(1.4rem, 2.2vw, 2rem); margin-bottom: 0.7rem; }
.atlas-lead p { color: var(--mute); max-width: 58ch; }
.atlas-list { list-style: none; display: grid; gap: 0.7rem; }
.atlas-list li {
  display: flex; justify-content: space-between; gap: 1rem;
  border-bottom: 1px solid var(--line); padding-bottom: 0.7rem;
}
.atlas-list span { font-family: Oxanium, sans-serif; font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mute); }
.table-wrap { overflow-x: auto; }
.dist { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.dist th {
  text-align: left; font-family: Oxanium, sans-serif; font-size: 0.65rem;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--mute);
  font-weight: 500; padding: 0.55rem 0.8rem 0.55rem 0; border-bottom: 1px solid var(--line);
}
.dist td { padding: 0.7rem 0.8rem 0.7rem 0; border-bottom: 1px solid var(--line); }
.dist td:nth-child(n+2) { font-family: Oxanium, sans-serif; }
.dist td:last-child { text-align: right; }

.worlds {
  padding: clamp(3.2rem, 8vh, 6.5rem) var(--pad);
  scroll-margin-top: calc(var(--nav) + 0.4rem);
}
.worlds-lead { color: var(--mute); max-width: 62ch; margin: -0.6rem 0 1.8rem; }
.world-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
  margin-bottom: 2.2rem;
}
.world-grid article {
  padding: 1.15rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.world-globe {
  width: min(100%, 11rem);
  height: auto;
  aspect-ratio: 1;
  display: block;
  margin: 0 auto 0.85rem;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #2a3144, #07080c 72%);
}
.ly {
  color: var(--sun);
  font-size: 1.15rem;
  margin: 0 0 0.7rem;
  letter-spacing: 0.02em;
}
.world-grid .tag {
  font-family: Oxanium, sans-serif;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ice);
}
.world-grid h3 { font-size: clamp(1.35rem, 2vw, 1.7rem); margin: 0.3rem 0 0.15rem; }
.world-grid dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem 0.9rem;
  margin-bottom: 0.85rem;
}
.world-grid span {
  display: block;
  font-family: Oxanium, sans-serif;
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mute);
}
.world-grid b { font-weight: 500; font-size: 0.9rem; }
.world-grid article > p { color: var(--mute); font-size: 0.92rem; }

.galaxies {
  position: relative;
  padding: 0 0 calc(2rem + var(--safe-b));
}
#galaxies-gl {
  position: relative;
  width: 100%;
  height: min(78svh, 54rem);
  background: #05060a;
}
.gal-ui { position: relative; padding: 1.6rem var(--pad) 0; }
.gal-lead { margin: -0.3rem 0 1.2rem; }
.gal-facts {
  margin: 0 0 1.4rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: rgba(7, 8, 12, 0.35);
}
.gal-facts article { padding: 1rem 1.1rem; }
.gal-cards {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.9rem; margin-top: 1.5rem;
}
.gal-cards article {
  padding: 1.1rem 1.15rem; border: 1px solid var(--line); border-radius: 12px;
  background: rgba(7, 8, 12, 0.55);
}
.gal-cards .font-num { color: var(--sun); font-size: 0.75rem; }
.gal-cards h3 { margin: 0.3rem 0 0.55rem; font-size: 1.35rem; }
.gal-cards p { color: var(--mute); font-size: 0.92rem; }
.gal-cards dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem 0.8rem;
  margin: 0.7rem 0 0.8rem;
}
.gal-cards span {
  display: block;
  font-family: Oxanium, sans-serif;
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mute);
}
.gal-cards b { font-weight: 500; font-size: 0.88rem; }

.sky {
  padding: clamp(3.2rem, 8vh, 6.5rem) var(--pad);
  scroll-margin-top: calc(var(--nav) + 0.4rem);
}
.moon-row {
  display: grid;
  grid-template-columns: minmax(12rem, 18rem) 1fr;
  gap: clamp(1.2rem, 4vw, 3rem);
  align-items: center;
  margin-bottom: 2.4rem;
}
#moon-phase {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 28%, #1a1c24, #07080c 70%);
}
.moon-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem 1rem;
  margin: 0.8rem 0 1rem;
}
.moon-stats span {
  display: block;
  font-family: Oxanium, sans-serif;
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mute);
}
.phase-list {
  list-style: none;
  display: grid;
  gap: 0.45rem;
}
.phase-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.4rem;
  font-size: 0.92rem;
}
.phase-list span { color: var(--mute); font-family: Oxanium, sans-serif; font-size: 0.8rem; }
.sky-sub { font-size: 1.2rem; margin: 0 0 1rem; }
.const-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
  margin-bottom: 2rem;
}
.const-grid figure {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.8rem 0.9rem 0.95rem;
}
.const-map { width: 100%; height: auto; background: radial-gradient(circle at 50% 40%, #12141c, #07080c); border-radius: 8px; }
.const-grid figcaption { margin-top: 0.55rem; font-size: 0.95rem; }
.const-grid figcaption span { display: block; color: var(--mute); font-size: 0.8rem; margin-top: 0.15rem; }

.shop {
  padding: clamp(3.2rem, 8vh, 6.5rem) var(--pad);
  scroll-margin-top: calc(var(--nav) + 0.4rem);
}
.pack-grid, .heist-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
  margin-bottom: 2.2rem;
}
.heist-grid { grid-template-columns: repeat(4, 1fr); }
.pack-grid article, .heist-grid article {
  padding: 1.2rem 1.25rem 1.3rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.pack-grid .tag, .heist-grid .tag, .shop-contact .tag {
  font-family: Oxanium, sans-serif;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ice);
}
.pack-grid h3, .heist-grid h3 { font-size: clamp(1.6rem, 2.4vw, 2.1rem); margin: 0.3rem 0 0.15rem; font-stretch: 92%; }
.price { margin: 0.1rem 0 0.85rem; }
.price b { font-size: 1.7rem; font-weight: 500; color: var(--sun); }
.price s { margin-left: 0.45rem; color: var(--mute); font-size: 0.95rem; }
.pack-grid .cta, .heist-grid .cta { justify-content: center; width: 100%; }
.pack-mark {
  width: 2rem; height: 2rem; margin-bottom: 0.7rem;
}
.pack-mark svg { width: 100%; height: 100%; display: block; }
.hud {
  display: grid;
  grid-template-columns: 1.3fr 0.85fr 0.85fr;
  gap: 0.45rem;
  margin-bottom: 0.55rem;
}
.hud div {
  padding: 0.45rem 0.5rem 0.5rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(7, 8, 12, 0.45);
}
.hud span {
  display: block;
  font-family: Oxanium, sans-serif;
  font-size: 0.58rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mute);
}
.hud b {
  font-weight: 500;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.hud-bar {
  display: block;
  height: 3px;
  border-radius: 99px;
  background: rgba(230, 224, 210, 0.08);
  margin: 0 0 0.85rem;
  overflow: hidden;
}
.hud-bar::after {
  content: "";
  display: block;
  height: 100%;
  width: 0;
  background: currentColor;
  transition: width 1.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.pack.is-on .hud-bar::after { width: var(--bar, 40%); }
.pack-bits { color: var(--mute); font-size: 0.9rem; margin: 0 0 1.05rem; flex: 1; line-height: 1.45; }

.pack-star {
  --pack: #e0b66c;
  color: var(--pack);
  border-color: rgba(224, 182, 108, 0.38);
  background:
    radial-gradient(1px 1px at 12% 22%, #fff 0.6px, transparent 1.2px),
    radial-gradient(1px 1px at 78% 18%, #ffe7b0 0.7px, transparent 1.3px),
    radial-gradient(1px 1px at 62% 72%, #fff 0.5px, transparent 1.1px),
    radial-gradient(1px 1px at 28% 80%, #e0b66c 0.6px, transparent 1.2px),
    radial-gradient(1.4px 1.4px at 88% 48%, #fff 0.5px, transparent 1.3px),
    radial-gradient(ellipse at 50% -10%, rgba(224, 182, 108, 0.16), transparent 52%),
    #0b0a08;
}
.pack-star h3, .pack-star .price b, .pack-star .tag { color: #e0b66c; }
.pack-star .cta { border-color: rgba(224, 182, 108, 0.4); }
.pack-star .pack-bits { color: #b6aa90; }

.pack-galaxy {
  --pack: #7ee7de;
  color: var(--pack);
  border-color: rgba(126, 231, 222, 0.5);
  background:
    radial-gradient(ellipse at 80% 0%, rgba(126, 231, 222, 0.2), transparent 46%),
    radial-gradient(ellipse at 10% 90%, rgba(124, 92, 220, 0.22), transparent 50%),
    radial-gradient(1px 1px at 18% 30%, #c9f6ff 0.6px, transparent 1.2px),
    radial-gradient(1px 1px at 70% 24%, #fff 0.5px, transparent 1.1px),
    radial-gradient(1px 1px at 42% 78%, #b9a6ff 0.6px, transparent 1.2px),
    #07080f;
}
.pack-galaxy h3, .pack-galaxy .price b, .pack-galaxy .tag { color: #7ee7de; }
.pack-galaxy .cta { border-color: rgba(126, 231, 222, 0.5); }
.pack-galaxy .pack-bits { color: #9aa8b4; }

.pack-mw {
  --pack: #d8d0ea;
  color: var(--pack);
  border-color: rgba(216, 208, 234, 0.35);
  background:
    linear-gradient(108deg, transparent 0%, rgba(220, 210, 255, 0.08) 42%, rgba(255, 236, 210, 0.1) 50%, rgba(180, 200, 255, 0.08) 58%, transparent 100%),
    radial-gradient(1px 1px at 22% 40%, #fff 0.5px, transparent 1.1px),
    radial-gradient(1px 1px at 74% 36%, #ffe7c4 0.5px, transparent 1.1px),
    radial-gradient(1px 1px at 48% 58%, #c9d6ff 0.6px, transparent 1.2px),
    #08070c;
}
.pack-mw h3, .pack-mw .price b, .pack-mw .tag { color: #e6e0d2; }
.pack-mw .cta { border-color: rgba(216, 208, 234, 0.4); }
.pack-mw .pack-bits { color: #9b96a8; }

.solo-list {
  list-style: none;
  display: grid;
  gap: 0;
  margin: 0 0 2.2rem;
  border-top: 1px solid var(--line);
}
.solo-list li {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 1rem;
  align-items: center;
  padding: 0.72rem 0;
  border-bottom: 1px solid var(--line);
}
.solo-list span { color: var(--mute); }
.solo-list b { font-weight: 500; }
.solo-list a { color: var(--ice); font-family: Oxanium, sans-serif; font-size: 0.85rem; }
.solo-list a:hover, .solo-list a:focus-visible { color: var(--paper); }
.shop-contact {
  margin: 0 0 1.6rem;
  padding: 1rem 1.15rem;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.shop-contact .tag { margin-bottom: 0.35rem; }
.shop-contact a { color: var(--ice); }
.shop-contact a:hover, .shop-contact a:focus-visible { color: var(--paper); }
.shop-contact p + p { color: var(--mute); margin-top: 0.25rem; font-size: 0.95rem; }
.order-note { display: grid; gap: 0.4rem; margin-top: 0.85rem; }
.order-note span {
  font-family: Oxanium, sans-serif;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mute);
}
.order-note textarea {
  width: 100%;
  resize: vertical;
  min-height: 4.2rem;
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(7, 8, 12, 0.55);
  color: var(--paper);
  font: inherit;
  line-height: 1.4;
}
.order-note textarea:focus {
  outline: none;
  border-color: var(--ice);
}
.shop-notes {
  display: grid;
  gap: 0.7rem;
  padding: 1rem 1.15rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--mute);
  font-size: 0.92rem;
}
.shop-notes b { color: var(--paper); font-weight: 500; }
.build-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  margin-bottom: 2.2rem;
}
.build-grid article {
  padding: 1.2rem 1.25rem 1.3rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
}
.build-grid h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); margin: 0.35rem 0 0.2rem; }
.build-grid .tag {
  font-family: Oxanium, sans-serif;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ice);
}
.build-val { color: var(--sun); margin: 0 0 0.55rem; letter-spacing: 0.02em; }
.build-hint { color: var(--mute); font-size: 0.85rem; margin: 0.55rem 0 1rem; flex: 1; }
.build-grid .cta { justify-content: center; width: 100%; }
.build-grid input[type="range"] {
  width: 100%;
  accent-color: var(--ice);
  height: 1.4rem;
}
.build-chips { display: flex; gap: 0.4rem; flex-wrap: wrap; margin: 0.15rem 0 0.2rem; }
.build-chips button {
  min-width: 2.6rem;
  padding: 0.45rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: Oxanium, sans-serif;
}
.build-chips button.is-on {
  border-color: var(--ice);
  color: var(--ice);
}
.dist a { color: var(--ice); }
.dist a:hover, .dist a:focus-visible { color: var(--paper); }

.foot {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.7rem;
  padding: 1.2rem var(--pad) calc(1.2rem + var(--safe-b));
  border-top: 1px solid var(--line);
  color: var(--mute); font-size: 0.78rem; letter-spacing: 0.04em;
}

.toast {
  position: fixed; bottom: calc(1.2rem + var(--safe-b)); left: 50%; transform: translateX(-50%);
  z-index: 50; padding: 0.55rem 0.9rem; border: 1px solid var(--ice);
  background: rgba(7,8,12,.9); font-family: Oxanium, sans-serif; font-size: 0.78rem;
  letter-spacing: 0.08em;
}
.toast[hidden] { display: none; }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .facts-row, .atlas-grid, .gal-cards, .world-grid, .intel, .const-grid, .pack-grid, .heist-grid, .build-grid { grid-template-columns: 1fr 1fr; }
  .moon-row { grid-template-columns: 1fr; }
  .hero-hint { display: none; }
  .intel { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .facts-row, .atlas-grid, .gal-cards, .world-grid, .const-grid, .pack-grid, .heist-grid, .build-grid { grid-template-columns: 1fr; }
  .facts-row article { border-right: 0; border-bottom: 1px solid var(--line); }
  .v-gaps { grid-template-columns: 1fr; }
  .hero-copy { max-width: 100%; }
  #galaxies-gl { height: 56svh; }
  .hud { grid-template-columns: 1fr 1fr 1fr; }
  .solo-list li { grid-template-columns: 1fr auto; }
  .solo-list a { grid-column: 2; }
}
@media (min-width: 1920px) { html { font-size: 17px; } }
@media (min-width: 2560px) { html { font-size: 20px; } :root { --pad: 4.5rem; } }
@media (min-width: 3840px) {
  html { font-size: 28px; }
  :root { --pad: 6rem; --nav: 5.5rem; }
  .cta { min-height: 3.2rem; padding: 0.95rem 1.5rem; }
}
@media (min-width: 7680px) { html { font-size: 48px; } }
@media (hover: none) and (pointer: coarse) {
  .cta, .nav-toggle, .ticks button, .build-chips button { min-height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  #boot { display: none; }
}
