/* Zombies Aren't Real Wiki — dark tactical console. */

:root {
  --bg: #0a0d13;
  --bg-2: #121824;
  --text: #eef2f7;
  --text-dim: #9dabc0;
  --acid: #c6f24e;
  --cyan: #4fd6e0;
  --bg-3: color-mix(in srgb, var(--bg-2) 96%, var(--text));
  --bg-elev: color-mix(in srgb, var(--bg-2) 93%, var(--text));
  --line: color-mix(in srgb, var(--text) 16%, transparent);
  --line-soft: color-mix(in srgb, var(--text) 9%, transparent);
  --acid-hover: color-mix(in srgb, var(--acid) 88%, var(--text));
  --cyan-hover: color-mix(in srgb, var(--cyan) 78%, var(--text));
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", "Cascadia Mono", Consolas, "Courier New", monospace;
  --shell: 1160px;
  --r: 8px;
  --r-sm: 5px;
  --shadow: 0 1px 0 color-mix(in srgb, var(--text) 4%, transparent) inset, 0 12px 34px -18px color-mix(in srgb, var(--bg) 90%, transparent);
  --shadow-lift: 0 1px 0 color-mix(in srgb, var(--text) 6%, transparent) inset, 0 20px 44px -20px color-mix(in srgb, var(--bg) 95%, transparent);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  background-color: var(--bg);
  background-image:
    radial-gradient(900px 420px at 78% -6%, color-mix(in srgb, var(--cyan) 7%, transparent), transparent 70%),
    radial-gradient(760px 380px at 8% 2%, color-mix(in srgb, var(--cyan) 6%, transparent), transparent 70%),
    linear-gradient(color-mix(in srgb, var(--text) 1.8%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb, var(--text) 1.8%, transparent) 1px, transparent 1px);
  background-size: auto, auto, 100% 32px, 32px 100%;
}
img { max-width: 100%; display: block; height: auto; }
a { color: var(--cyan); text-underline-offset: 3px; text-decoration-color: color-mix(in srgb, var(--cyan) 35%, transparent); transition: color .18s ease, text-decoration-color .18s ease; }
a:hover { color: var(--cyan-hover); text-decoration-color: var(--cyan-hover); }
::selection { color: var(--bg); background-color: var(--acid); }

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--acid); color: var(--bg); padding: .6rem 1rem; z-index: 60; font-weight: 700; border-radius: 0 0 var(--r-sm) 0;
}
.skip:focus { left: 0; }

.shell { max-width: var(--shell); margin: 0 auto; padding: 0 24px; }

/* ---------- masthead ---------- */
.masthead {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  border-bottom: 1px solid var(--line-soft);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
}
.masthead::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--acid) 50%, transparent) 18%, color-mix(in srgb, var(--cyan) 35%, transparent) 55%, transparent);
  opacity: .6;
}
.masthead-row {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  padding-top: 12px; padding-bottom: 12px;
}
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; color: var(--text); }
.brand-mark {
  font-family: var(--mono); font-size: .72rem; letter-spacing: .08em;
  background: var(--bg-elev); color: var(--acid);
  border: 1px solid color-mix(in srgb, var(--acid) 45%, transparent);
  padding: 7px 8px; border-radius: var(--r-sm); font-weight: 800;
  box-shadow: 0 0 18px -6px color-mix(in srgb, var(--acid) 50%, transparent);
}
.brand-name { font-size: 1.14rem; font-weight: 750; line-height: 1.15; letter-spacing: -.015em; }
.brand-name em { font-style: normal; color: var(--acid); }
.nav { display: flex; gap: 2px; flex-wrap: wrap; margin-left: auto; }
.nav a {
  font-family: var(--mono); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--text-dim); text-decoration: none; padding: 7px 11px; border-radius: var(--r-sm);
  border: 1px solid transparent;
}
.nav a:hover { color: var(--text); background: var(--bg-3); border-color: var(--line); }
.masthead-cta {
  font-family: var(--mono); font-size: .74rem; letter-spacing: .06em; text-transform: uppercase;
  color: var(--bg); background: var(--acid); padding: 10px 15px; border-radius: var(--r-sm);
  text-decoration: none; font-weight: 800; white-space: nowrap;
  box-shadow: 0 0 22px -8px color-mix(in srgb, var(--acid) 70%, transparent), 0 1px 0 color-mix(in srgb, var(--text) 35%, transparent) inset;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.masthead-cta:hover { color: var(--bg); background: var(--acid-hover); transform: translateY(-1px); box-shadow: 0 0 30px -8px color-mix(in srgb, var(--acid) 85%, transparent); }
.nav-toggle {
  display: none; margin-left: auto; font-family: var(--mono); font-size: .76rem;
  letter-spacing: .1em; text-transform: uppercase; background: var(--bg-3);
  color: var(--text); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 9px 13px; cursor: pointer;
}
.nav-toggle:hover { border-color: var(--acid); color: var(--acid); }
.ruler {
  height: 24px; display: flex; align-items: stretch; overflow: hidden;
  border-top: 1px solid var(--line-soft);
}
.ruler i {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px;
  border-left: 1px solid var(--line-soft); white-space: nowrap; padding: 0 6px;
  font-family: var(--mono); font-size: .62rem; letter-spacing: .16em; color: var(--text-dim);
}
.ruler i:first-child { border-left: 0; }
.ruler i::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--line); box-shadow: 0 0 0 1px color-mix(in srgb, var(--text) 4%, transparent); }
.ruler i:nth-child(1)::before { background: var(--acid); box-shadow: 0 0 8px color-mix(in srgb, var(--acid) 80%, transparent); }
.ruler i:nth-child(4)::before { background: var(--cyan); box-shadow: 0 0 8px color-mix(in srgb, var(--cyan) 70%, transparent); }

/* ---------- shared type ---------- */
.kicker {
  font-family: var(--mono); font-size: .72rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--acid); margin: 0 0 .7rem; display: flex; align-items: center; gap: 9px;
}
.kicker::before { content: ""; width: 18px; height: 2px; background: var(--acid); box-shadow: 0 0 10px color-mix(in srgb, var(--acid) 60%, transparent); }
h1, h2, h3 { text-wrap: balance; }
h1 {
  font-size: clamp(2.3rem, 5.6vw, 3.5rem);
  font-weight: 820; line-height: 1.04; letter-spacing: -.032em; margin: 0 0 .9rem;
}
h2 {
  font-size: clamp(1.5rem, 3.2vw, 2rem);
  font-weight: 760; line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .95rem;
}
h3 { font-size: 1.14rem; font-weight: 720; line-height: 1.32; margin: 1.9rem 0 .5rem; }
.lede { font-size: 1.08rem; color: var(--text-dim); max-width: 62ch; margin: 0 0 1.5rem; }
.badge {
  font-family: var(--mono); font-size: .7rem; letter-spacing: .16em;
  color: var(--text-dim); margin: 0 0 1.1rem; display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
}
.badge::before { content: ""; width: 7px; height: 7px; background: var(--cyan); border-radius: 50%; box-shadow: 0 0 10px color-mix(in srgb, var(--cyan) 80%, transparent); }

/* ---------- hero ---------- */
.hero { position: relative; padding: 38px 0 10px; overflow: hidden; }
.hero-watermark {
  position: absolute; inset-inline: 0; top: 0; text-align: center;
  font-size: 14vw; font-weight: 850; line-height: 1;
  color: color-mix(in srgb, var(--text) 2.8%, transparent); pointer-events: none; user-select: none; white-space: nowrap; letter-spacing: -.04em;
}
.hero-grid {
  position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: 44px; align-items: center;
}
.hero-copy { position: relative; }
.hero-copy .lede { margin-bottom: 1.35rem; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-price {
  font-family: var(--mono); font-size: .78rem; letter-spacing: .04em; color: var(--text-dim);
  margin: .95rem 0 0;
}
.hero-price strong { color: var(--acid); font-weight: 800; }
.hero-status {
  font-family: var(--mono); font-size: .72rem; letter-spacing: .08em; color: var(--text-dim);
  margin: 1.1rem 0 0; border-top: 1px solid var(--line-soft); padding-top: .85rem;
  display: flex; gap: 18px; flex-wrap: wrap;
}
.section-guides { padding-top: 32px; }
.hero-status b { color: var(--acid); font-weight: 700; }
.hero-map {
  position: relative; background: var(--bg-2);
  border: 1px solid var(--line); padding: 8px; border-radius: var(--r);
  box-shadow: var(--shadow);
}
.hero-map::after { content: "IN-GAME CAPTURE"; position: absolute; top: -9px; right: 12px; font-family: var(--mono); font-size: .6rem; letter-spacing: .14em; color: var(--bg); background: var(--acid); padding: 2px 8px; border-radius: 3px; font-weight: 800; }
.hero-map-img {
  display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover;
  border-radius: 4px; background: var(--bg-2);
}
.hero-map-caption {
  font-family: var(--mono); font-size: .6rem; letter-spacing: .13em; color: var(--text-dim);
  margin: 9px 2px 2px; text-align: center;
}

/* ---------- player plate ---------- */
.plate { padding-top: 34px; }
.stage {
  position: relative; width: 100%; height: 224px;
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r);
  box-shadow: var(--shadow); overflow: hidden;
}
.stage iframe { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; border: 0; display: block; background: transparent; }
.stage[data-gf-state="playing"] iframe {
  width: 646px !important; height: 190px !important;
  top: 17px !important; right: 17px !important; bottom: auto !important; left: auto !important;
  border-radius: var(--r-sm);
}
.stage-cover-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  opacity: .2; filter: saturate(1.05) contrast(1.05);
  pointer-events: none; user-select: none; z-index: 0;
}
.stage-fallback {
  position: absolute; inset: 0; z-index: 1;
  background-color: var(--bg-2);
  background-image: linear-gradient(110deg, color-mix(in srgb, var(--bg) 92%, transparent), color-mix(in srgb, var(--bg-2) 84%, transparent));
  display: none; align-items: center; justify-content: flex-start;
  padding: 17px 22px; overflow: hidden;
}
.stage[data-gf-state="playing"] .stage-fallback { display: flex; }
.stage-fallback-inner {
  position: relative; z-index: 1; display: flex; align-items: center; gap: 16px;
  width: calc(100% - 664px); min-width: 240px;
}
.stage-fallback-art {
  width: 152px; height: auto; flex-shrink: 0;
  border: 1px solid var(--line); border-radius: var(--r-sm);
  box-shadow: 0 10px 22px -10px color-mix(in srgb, var(--bg) 90%, transparent);
}
.stage-fallback-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; min-width: 0; }
.stage-fallback-copy .cover-kicker { margin: 0; }
.stage-fallback-title { font-size: 1.08rem; font-weight: 800; line-height: 1.2; margin: 0; }
.stage-fallback-btn { padding: 8px 14px; font-size: .74rem; margin-top: 2px; }
.cover {
  position: absolute; inset: 0; z-index: 3; display: flex; align-items: center; justify-content: center;
  gap: 28px; padding: 18px 24px;
  background-color: var(--bg-2);
  background-image: linear-gradient(110deg, color-mix(in srgb, var(--bg) 92%, transparent), color-mix(in srgb, var(--bg-2) 84%, transparent));
  overflow: hidden;
}
.cover[hidden] { display: none; }
.cover > :not(.stage-cover-bg) { position: relative; z-index: 1; }
.cover-art {
  max-height: 158px; width: auto; max-width: 40%;
  border: 1px solid var(--line); border-radius: var(--r-sm); box-shadow: 0 12px 26px -12px color-mix(in srgb, var(--bg) 90%, transparent);
}
.cover-inner { text-align: left; max-width: 520px; }
.cover-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.cover-steam-link { padding: 11px 16px; font-size: .78rem; }
.cover-kicker {
  font-family: var(--mono); font-size: .68rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--cyan); margin: 0 0 .5rem;
}
.cover-title { font-size: clamp(1.4rem, 3vw, 1.9rem); font-weight: 800; letter-spacing: -.02em; margin: 0 0 .35rem; }
.cover-tag { font-family: var(--mono); font-size: .74rem; letter-spacing: .03em; color: var(--text-dim); margin: 0 0 1rem; }
.play-btn {
  font-family: var(--mono); font-size: .82rem; letter-spacing: .08em; text-transform: uppercase;
  background: var(--acid); color: var(--bg); border: 0; border-radius: var(--r-sm);
  padding: 13px 22px; cursor: pointer; font-weight: 800;
  box-shadow: 0 0 24px -8px color-mix(in srgb, var(--acid) 70%, transparent), 0 1px 0 color-mix(in srgb, var(--text) 35%, transparent) inset;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.play-btn:hover { background: var(--acid-hover); transform: translateY(-1px); box-shadow: 0 0 32px -8px color-mix(in srgb, var(--acid) 85%, transparent); }
.play-btn:focus-visible, .btn:focus-visible, .pill:focus-visible, .nav-toggle:focus-visible, .nav a:focus-visible { outline: 2px solid var(--acid); outline-offset: 3px; }
.loader {
  position: absolute; inset: 0; z-index: 4; display: grid; place-items: center; text-align: center;
  background-color: var(--bg-2); padding: 24px; overflow: hidden;
}
.loader[hidden] { display: none; }
.loader-inner { position: relative; z-index: 1; }
.loader-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; width: 84px; margin: 0 auto .8rem; }
.loader-grid i { aspect-ratio: 1; background: var(--line); animation: tick 1.1s infinite ease-in-out; border-radius: 2px; }
.loader-grid i:nth-child(2) { animation-delay: .12s; }
.loader-grid i:nth-child(3) { animation-delay: .24s; }
.loader-grid i:nth-child(4) { animation-delay: .36s; }
.loader-grid i:nth-child(5) { animation-delay: .48s; background: var(--acid); }
.loader-grid i:nth-child(6) { animation-delay: .6s; }
.loader-grid i:nth-child(7) { animation-delay: .72s; }
.loader-grid i:nth-child(8) { animation-delay: .84s; }
.loader-grid i:nth-child(9) { animation-delay: .96s; }
@keyframes tick {
  0%, 70%, 100% { background: var(--line); transform: scale(.9); }
  35% { background: var(--acid); transform: scale(1); }
}
.loader-text { font-family: var(--mono); font-size: .76rem; letter-spacing: .1em; color: var(--text-dim); margin: 0; }
.stage-error {
  position: absolute; inset: 0; z-index: 5; display: grid; place-items: center; text-align: center;
  background-color: var(--bg-2); padding: 24px; overflow: hidden;
}
.stage-error[hidden] { display: none; }
.stage-error-inner { position: relative; z-index: 1; }
.stage-error-title { font-weight: 700; font-size: 1.05rem; margin: 0 0 .4rem; }
.stage-error-hint { font-size: .88rem; color: var(--text-dim); max-width: 46ch; margin: 0 auto 1rem; }
.stage-error-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.pill-link { text-decoration: none; display: inline-flex; align-items: center; }
.plate-note {
  font-family: var(--mono); font-size: .74rem; color: var(--text-dim);
  max-width: 76ch; margin: 14px 0 0; line-height: 1.6;
}
.engage { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 16px 0 0; }

/* ---------- sections ---------- */
.section { padding: 48px 0 0; }
.section > h2:first-of-type { margin-top: 0; }

/* ---------- quick start ---------- */
.qs-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.home-hub .qs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 660px) {
  .home-hub .qs-grid { grid-template-columns: 1fr; }
}
.qs-card {
  position: relative; display: flex; flex-direction: column; gap: 8px;
  background: linear-gradient(160deg, var(--bg-2), var(--bg));
  border: 1px solid var(--line); border-radius: var(--r);
  padding: 18px 17px 18px; text-decoration: none; color: var(--text);
  box-shadow: var(--shadow); overflow: hidden;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.qs-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--acid); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.qs-card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--acid) 55%, transparent); box-shadow: var(--shadow-lift); }
.qs-card:hover::before { transform: scaleX(1); }
.qs-num { font-family: var(--mono); font-size: .7rem; letter-spacing: .16em; color: var(--cyan); }
.qs-title { font-size: 1.1rem; font-weight: 720; line-height: 1.25; }
.qs-stretch { color: var(--text); text-decoration: none; }
.qs-stretch:hover { color: var(--acid); text-decoration: none; }
.qs-stretch::after { content: ""; position: absolute; inset: 0; }
.qs-text { font-size: .87rem; color: var(--text-dim); line-height: 1.55; }
.qs-open { margin-top: auto; padding-top: 10px; font-family: var(--mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--acid); }
.qs-card:hover .qs-open { color: var(--acid-hover); }

/* ---------- two column ---------- */
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 34px; align-items: start; }
.mod-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.mod-card {
  display: flex; flex-direction: column; gap: 9px;
  background: linear-gradient(160deg, var(--bg-2), var(--bg));
  border: 1px solid var(--line); border-radius: var(--r);
  padding: 18px 17px; text-decoration: none; color: var(--text); box-shadow: var(--shadow);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.mod-card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--cyan) 60%, transparent); box-shadow: var(--shadow-lift); }
.mod-card h3 { margin: 0; font-size: 1.06rem; }
.mod-card p { margin: 0; font-size: .87rem; color: var(--text-dim); line-height: 1.55; }
.chips { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.chips li {
  font-family: var(--mono); font-size: .71rem; letter-spacing: .03em;
  background: var(--bg-3); border: 1px solid var(--line); border-radius: 4px;
  padding: 4px 8px; color: var(--text-dim);
}
.chips-tags li { color: var(--text-dim); }
.chip-key { color: var(--cyan); font-weight: 700; }

.side-head {
  font-family: var(--mono); font-size: .7rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--acid); margin: 0 0 .7rem; padding-bottom: .5rem; border-bottom: 1px solid var(--line);
}
.side-links { display: flex; flex-direction: column; gap: 2px; margin-bottom: 1.5rem; }
.side-links a {
  font-size: .93rem; color: var(--text); text-decoration: none; padding: 8px 10px;
  border-left: 2px solid transparent; border-radius: 0 4px 4px 0;
}
.side-links a:hover { background: var(--bg-2); border-left-color: var(--acid); color: var(--acid); text-decoration: none; }
.side-facts { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r); padding: 14px 15px; box-shadow: var(--shadow); }
.side-facts-head {
  font-family: var(--mono); font-size: .7rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--text-dim); margin: 0 0 .7rem;
}
.facts { margin: 0; }
.facts div { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; border-bottom: 1px dotted var(--line); }
.facts div:last-child { border-bottom: 0; }
.facts dt { font-size: .82rem; color: var(--text-dim); }
.facts dd { font-size: .84rem; margin: 0; text-align: right; font-weight: 650; color: var(--text); }

/* ---------- prose ---------- */
.prose { max-width: 76ch; }
.prose p { margin: 0 0 1.1rem; }
.prose ul, .prose ol { margin: 0 0 1.1rem; padding-left: 1.4rem; }
.prose li { margin: 0 0 .5rem; }
.prose h2 {
  margin-top: 2.6rem; padding-top: .6rem; border-top: 1px solid var(--line-soft);
  font-family: var(--mono); font-size: 1.02rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: var(--acid);
}
.prose h2:first-of-type { border-top: 0; margin-top: 2.8rem; }
.prose h2[id], .prose h3[id] { scroll-margin-top: 96px; }
.prose h3 { margin-top: 1.7rem; }
.prose strong { font-weight: 720; color: var(--text); }
.prose blockquote {
  margin: 1.3rem 0; padding: .3rem 0 .3rem 1.1rem;
  border-left: 3px solid var(--cyan); color: var(--text-dim);
}
.prose table { width: 100%; border-collapse: collapse; font-size: .9rem; margin: 1.3rem 0 1.5rem; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.prose thead th {
  background: var(--bg-3); font-family: var(--mono); font-size: .72rem;
  letter-spacing: .1em; text-transform: uppercase; color: var(--text-dim);
}
.prose tbody tr:nth-child(even) { background: color-mix(in srgb, var(--text) 2.2%, transparent); }
.prose code {
  font-family: var(--mono); font-size: .86em; background: var(--bg-3);
  border: 1px solid var(--line); border-radius: 4px; padding: 1px 5px; color: var(--cyan);
}

.page { padding: 44px 0 10px; }

/* ---------- wiki layout (sidebar + article) ---------- */
.wiki {
  display: grid; grid-template-columns: 258px minmax(0, 1fr);
  gap: 44px; padding-top: 40px; padding-bottom: 10px; align-items: start;
}
.wiki-main { min-width: 0; }
.wiki .prose { max-width: none; }
.wiki-shot { margin: 1.2rem 0 1.7rem; }
.wiki-shot img { border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); }
.wiki-shot figcaption {
  font-family: var(--mono); font-size: .7rem; letter-spacing: .04em;
  color: var(--text-dim); margin-top: .6rem; line-height: 1.55;
}
.wiki-side { position: sticky; top: 96px; }
.wiki-side .side-nav { display: flex; flex-direction: column; gap: 2px; }
.wiki-side .side-nav a {
  font-size: .94rem; color: var(--text); text-decoration: none; padding: 8px 10px;
  border-left: 2px solid transparent; border-radius: 0 4px 4px 0;
}
.wiki-side .side-nav a:hover { background: var(--bg-2); border-left-color: var(--acid); color: var(--acid); text-decoration: none; }
.wiki-side .side-head + .side-nav { margin-bottom: 1.5rem; }
.wiki-side .side-nav-plain a { color: var(--text-dim); font-size: .88rem; }

/* ---------- FAQ ---------- */
.faq { margin-top: 2.6rem; }
.faq h3 { margin-top: 1.8rem; }

/* ---------- talk (likes + comments) ---------- */
.talk { border-top: 1px solid var(--line); }
.talk-lede { font-size: .96rem; color: var(--text-dim); max-width: 60ch; margin: 0 0 1.2rem; }
.like-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 1.4rem; }
.pill {
  font-family: var(--mono); font-size: .8rem; letter-spacing: .06em;
  background: var(--bg-2); color: var(--text); border: 1px solid var(--line);
  border-radius: var(--r-sm); padding: 9px 16px; cursor: pointer;
  transition: border-color .18s ease, color .18s ease, background .18s ease, transform .18s ease;
}
.pill:hover { border-color: var(--acid); color: var(--acid); transform: translateY(-1px); }
.pill[aria-pressed="true"], .pill[data-gf-liked] { background: var(--acid); color: var(--bg); border-color: var(--acid); }
.pill .num { margin-left: 2px; }
.engage-msg { font-size: .85rem; color: var(--acid); }
.talk-box { display: flex; flex-direction: column; gap: 10px; margin-bottom: 1.4rem; }
.talk-box[data-gf-empty]::before {
  content: "No notes yet. What did you build first on your last run?";
  display: block; font-size: .9rem; color: var(--text-dim); margin-bottom: .4rem;
}
.talk-box[data-gf-off] { display: none; }
.comment {
  background: var(--bg-2); border: 1px solid var(--line); border-left: 3px solid var(--cyan);
  border-radius: var(--r-sm); padding: 13px 15px;
}
.comment[data-gf-owner] { border-left-color: var(--cyan); background: var(--bg-3); }
.comment-head { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin: 0 0 .35rem; }
.comment-name { font-weight: 700; font-size: .92rem; color: var(--text); }
.comment-time { font-family: var(--mono); font-size: .72rem; color: var(--text-dim); }
.comment-owner {
  display: none; font-family: var(--mono); font-size: .64rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  background: var(--cyan); color: var(--bg); padding: 2px 6px; border-radius: 3px;
}
.comment[data-gf-owner] .comment-owner { display: inline-block; }
.comment-owner[hidden] { display: none !important; }
.comment-to { font-size: .82rem; color: var(--text-dim); }
.comment-sub { margin-left: 22px; }
.comment-text { font-size: .93rem; }
.comment-text p { margin: 0 0 .4rem; }
.comment-text p:last-child { margin-bottom: 0; }
.comment-reply {
  font-family: var(--mono); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase;
  background: none; border: 0; color: var(--cyan); cursor: pointer; padding: 0; margin-top: .45rem;
}
.comment-reply:hover { color: var(--cyan-hover); }
.comment-replies { display: flex; flex-direction: column; gap: 8px; margin-top: .7rem; }
.talk-form { max-width: 640px; }
.talk-form-row { margin-bottom: .75rem; }
.talk-label {
  display: block; font-family: var(--mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--text-dim); margin-bottom: .35rem;
}
.talk-label span { color: var(--text-dim); text-transform: none; letter-spacing: 0; }
.talk-input {
  width: 100%; font-family: var(--sans); font-size: .94rem; color: var(--text);
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 10px 12px;
  transition: border-color .18s ease;
}
.talk-input:focus { outline: 2px solid var(--acid); outline-offset: 1px; border-color: var(--acid); }
.talk-area { resize: vertical; min-height: 76px; }
.talk-form-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.talk-replying { font-size: .85rem; color: var(--cyan); margin: 0 0 .6rem; }
.talk-cancel {
  font-family: var(--mono); font-size: .76rem; letter-spacing: .1em; text-transform: uppercase;
  background: none; border: 0; color: var(--text-dim); cursor: pointer; padding: 0;
}
.talk-cancel:hover { color: var(--cyan); }
.btn {
  font-family: var(--mono); font-size: .82rem; letter-spacing: .08em; text-transform: uppercase;
  background: var(--bg-2); color: var(--text); border: 1px solid var(--line);
  border-radius: var(--r-sm); padding: 11px 17px; cursor: pointer; text-decoration: none; font-weight: 700;
  transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
}
.btn:hover { border-color: var(--acid); color: var(--acid); transform: translateY(-1px); text-decoration: none; }
.btn.primary { background: var(--acid); border-color: var(--acid); color: var(--bg); box-shadow: 0 0 22px -8px color-mix(in srgb, var(--acid) 65%, transparent), 0 1px 0 color-mix(in srgb, var(--text) 30%, transparent) inset; }
.btn.primary:hover { background: var(--acid-hover); color: var(--bg); box-shadow: 0 0 30px -8px color-mix(in srgb, var(--acid) 80%, transparent); }
.btn.ghost { background: transparent; }
.btn.solid { background: var(--acid); border-color: var(--acid); color: var(--bg); }
.btn.solid:hover { background: var(--acid-hover); color: var(--bg); }
.talk-msg { font-size: .88rem; margin: 0; color: var(--acid); }

/* ---------- closing ---------- */
.closing { padding-bottom: 12px; }
.closing-box {
  position: relative; background:
    radial-gradient(600px 200px at 100% 0%, color-mix(in srgb, var(--acid) 8%, transparent), transparent 70%),
    var(--bg-2);
  border: 1px solid var(--line); border-radius: var(--r); border-left: 3px solid var(--acid);
  padding: 28px 30px; box-shadow: var(--shadow);
}
.closing-box h2 { margin-bottom: .6rem; }
.closing-box p { color: var(--text-dim); max-width: 58ch; margin: 0 0 1.2rem; }

/* ---------- footer ---------- */
.foot { margin-top: 64px; background: var(--bg-2); border-top: 1px solid var(--line); }
.foot-grid {
  display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: 30px; padding-top: 40px; padding-bottom: 16px;
}
.foot-col { display: flex; flex-direction: column; gap: 7px; }
.foot-head {
  font-family: var(--mono); font-size: .7rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--acid); margin: 0 0 .5rem;
}
.foot-brand { font-size: 1.08rem; font-weight: 720; margin: 0; }
.foot-brand em { font-style: normal; color: var(--acid); }
.foot-tag { font-size: .9rem; color: var(--text-dim); margin: 0; max-width: 44ch; }
.foot-note { font-size: .8rem; color: var(--text-dim); margin: .5rem 0 0; max-width: 48ch; line-height: 1.55; }
.foot-col a { font-size: .9rem; color: var(--text-dim); text-decoration: none; }
.foot-col a:hover { color: var(--acid); text-decoration: underline; }
.foot-price { font-size: .8rem; color: var(--text-dim); margin: .35rem 0 0; }
.foot-copy {
  max-width: var(--shell); margin: 0 auto; padding: 12px 24px 24px;
  border-top: 1px solid var(--line-soft);
  font-family: var(--mono); font-size: .75rem; letter-spacing: .06em; color: var(--text-dim);
}

/* ---------- ad slots (CLS-safe) ---------- */
.ad-slot {
  margin: 28px auto;
  padding: 12px 16px;
  max-width: 100%;
  border: 1px solid var(--line-soft);
  border-radius: var(--r);
  background: var(--bg-2);
  text-align: center;
  overflow: hidden;
}
.ad-label {
  margin: 0 0 8px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.ad-frame-banner,
.ad-frame-rect,
.ad-frame-native {
  margin: 0 auto;
  max-width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  font-size: 12px;
}
.ad-frame-banner { width: 320px; min-height: 50px; }
.ad-frame-rect { width: 300px; min-height: 250px; }
.ad-frame-native { width: 100%; min-height: 120px; }
.ad-slot iframe { border: 0; display: block; margin: 0 auto; max-width: 100%; }

/* ---------- entrance motion ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.hero-copy > * { animation: rise .55s ease both; }
.hero-copy > *:nth-child(2) { animation-delay: .06s; }
.hero-copy > *:nth-child(3) { animation-delay: .12s; }
.hero-copy > *:nth-child(4) { animation-delay: .18s; }
.hero-copy > *:nth-child(5) { animation-delay: .24s; }
.hero-map { animation: rise .6s ease .1s both; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .stage[data-gf-state="playing"] { height: auto; min-height: 360px; padding-bottom: 206px; }
  .stage[data-gf-state="playing"] .stage-fallback { align-items: flex-start; padding: 16px; }
  .stage[data-gf-state="playing"] .stage-fallback-inner { width: 100%; min-width: 0; }
  .stage[data-gf-state="playing"] iframe {
    width: calc(100% - 32px) !important; height: 190px !important;
    top: auto !important; right: 16px !important; bottom: 16px !important; left: 16px !important;
  }
  .qs-grid { grid-template-columns: repeat(2, 1fr); }
  .mod-grid { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; gap: 28px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .wiki { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .prose table { display: block; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .wiki-side { position: static; }
  .wiki-side .side-nav, .side-links { flex-direction: row; flex-wrap: wrap; }
  .wiki-side .side-nav a, .side-links a { border-left: 0; border: 1px solid var(--line); border-radius: var(--r-sm); padding: 6px 11px; }
  .side-facts { display: none; }
}
@media (max-width: 660px) {
  body { font-size: 16px; }
  .shell { padding: 0 18px; }
  .nav-toggle { display: block; }
  .nav { display: none; width: 100%; flex-direction: column; gap: 2px; order: 5; padding-bottom: 10px; }
  .nav[data-open="true"] { display: flex; }
  .nav a { padding: 10px 11px; }
  .masthead-cta { order: 4; width: 100%; text-align: center; }
  .hero { padding-top: 38px; }
  .hero-watermark { font-size: 22vw; }
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-status { gap: 10px 18px; }
  .cover, .stage-fallback-inner { flex-direction: column; gap: 16px; text-align: center; }
  .cover { position: relative; inset: auto; min-height: 360px; padding: 22px 18px; }
  .cover-art { max-height: 110px; max-width: 62%; }
  .cover-inner { text-align: center; }
  .cover-actions { justify-content: center; }
  .stage { height: auto; min-height: 360px; }
  .qs-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .ruler i:nth-child(n+5) { display: none; }
  .closing-box { padding: 22px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
