:root {
  --bg: #0b1611;
  --playfield: #101b16;
  --subpanel: #15251e;
  --surface: #17221d;
  --surface-high: #212c27;
  --surface-bright: #303c36;
  --paper: #fffaf0;
  --section-paper: #f4f7e8;
  --chip-border: #d8dfc9;
  --lime: #d8ff5a;
  --lime-dim: #cbf14e;
  --deep: #0b3b2a;
  --ink: #06100c;
  --muted: #c5c9b0;
  --outline: #8f937c;
  --outline-dark: #454936;
  --blue: #7bd0ff;
  --pink: #f1dcf2;
  --orange: #ff8a3d;
  --red: #ffb4ab;
  --shadow: 4px 4px 0 var(--deep);
  --shadow-sm: 2px 2px 0 var(--deep);
  --shadow-black: 4px 4px 0 #000;
  --font-display: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  --font-body: "Atkinson Hyperlegible", "Segoe UI", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", "SFMono-Regular", ui-monospace, monospace;
}

* { box-sizing: border-box; }
html { color-scheme: dark; scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 0;
  overflow-x: hidden;
  background: var(--playfield);
  color: #d9e6dd;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
}
a { color: inherit; }
p { margin: 0 0 1rem; }
.skip-link {
  position: absolute;
  left: -999px;
  top: 12px;
  z-index: 100;
  background: var(--lime);
  color: var(--ink);
  padding: 8px 12px;
  border: 2px solid #000;
}
.skip-link:focus { left: 12px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg);
  border-bottom: 4px solid var(--outline-dark);
  box-shadow: 4px 4px 0 #000;
}
.nav-shell {
  width: min(1200px, 100%);
  margin: 0 auto;
  padding: 8px 24px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--lime-dim);
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  font-style: italic;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}
.brand img {
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  image-rendering: auto;
  filter: drop-shadow(2px 2px 0 #000);
}
.brand span { display: inline-block; }
.nav-links {
  display: flex;
  justify-content: center;
  gap: 18px;
  min-width: 0;
}
.nav-link {
  color: var(--muted);
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  padding: 9px 0 6px;
  border-bottom: 4px solid transparent;
}
.nav-link:hover,
.nav-link:focus-visible,
.nav-link.is-active {
  color: var(--lime);
  border-bottom-color: var(--lime);
  outline: none;
}
.nav-actions { display: flex; align-items: center; gap: 12px; }
.steam-button,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  border: 2px solid var(--deep);
  border-radius: 0;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  box-shadow: var(--shadow);
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}
.steam-button,
.button-primary {
  background: var(--lime);
  color: #000;
  padding: 8px 16px;
}
.button-outline {
  background: transparent;
  color: var(--lime);
  border-color: var(--lime);
  padding: 8px 16px;
}
.button:hover,
.button:focus-visible,
.steam-button:hover,
.steam-button:focus-visible {
  transform: translate(2px, 2px);
  box-shadow: var(--shadow-sm);
  outline: none;
}
.steam-text-link {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  color: #d9e6dd;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.nav-search {
  position: relative;
  display: flex;
  align-items: center;
}
.nav-search span {
  position: absolute;
  right: 8px;
  width: 14px;
  height: 14px;
  overflow: hidden;
  text-indent: 100px;
}
.nav-search span::before {
  content: "";
  position: absolute;
  inset: 1px;
  border: 2px solid var(--deep);
  border-radius: 50%;
}
.nav-search span::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 7px;
  border-top: 2px solid var(--deep);
  transform: rotate(45deg);
}
.nav-search input {
  width: 150px;
  height: 28px;
  background: var(--section-paper);
  color: var(--ink);
  border: 2px solid var(--deep);
  border-radius: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  padding: 4px 26px 4px 8px;
  box-shadow: var(--shadow-sm);
}
.menu-mark { display: none; width: 18px; height: 14px; border-top: 3px solid var(--lime); border-bottom: 3px solid var(--lime); position: relative; }
.menu-mark::before { content: ""; position: absolute; left: 0; right: 0; top: 4px; border-top: 3px solid var(--lime); }

main,
.footer-inner {
  width: min(1200px, 100%);
  margin: 0 auto;
  padding-inline: 24px;
}
.home-page,
.content-page,
.faq-page,
.maps-page {
  padding-top: 24px;
  padding-bottom: 48px;
}
.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}
.trust-strip.vertical { display: grid; justify-items: start; }
.trust-chip {
  display: inline-flex;
  max-width: 100%;
  background: var(--paper);
  color: var(--ink);
  border: 2px solid var(--chip-border);
  border-radius: 0;
  padding: 4px 8px;
  box-shadow: var(--shadow-sm);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
}
.tilt-1 { transform: rotate(-1deg); }
.tilt-2 { transform: rotate(1deg); }
.tilt-3 { transform: rotate(0); }

.breadcrumb {
  display: flex;
  gap: 6px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 12px;
  margin-bottom: 14px;
}
.breadcrumb a { color: var(--lime); }
.eyebrow {
  color: var(--lime);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}
h1, h2, h3 {
  font-family: var(--font-display);
  letter-spacing: 0;
}
h1 {
  margin: 8px 0 16px;
  font-size: clamp(40px, 7vw, 72px);
  line-height: .95;
  text-transform: uppercase;
}
h2 {
  margin: 0 0 16px;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1;
  text-transform: uppercase;
}
h3 {
  margin: 0 0 8px;
  font-size: 24px;
  line-height: 1.05;
}

.home-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 430px);
  gap: 48px;
  align-items: center;
  background: var(--subpanel);
  border: 1px solid var(--outline-dark);
  padding: 48px;
  overflow: hidden;
}
.home-hero::after,
.proof-block::after {
  content: "";
  position: absolute;
  right: -60px;
  bottom: -80px;
  width: 220px;
  height: 220px;
  opacity: .08;
  border: 18px solid var(--lime);
  transform: rotate(12deg);
}
.hero-copy { position: relative; z-index: 1; min-width: 0; }
.hero-copy h1 {
  max-width: 720px;
  color: #fff;
  text-shadow: 2px 2px 0 var(--deep);
}
.hero-copy p {
  max-width: 720px;
  color: var(--muted);
  font-size: 18px;
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
}
.hero-diagram {
  position: relative;
  z-index: 1;
  transform: rotate(2deg);
}
.diagram-paper {
  background: var(--paper);
  color: var(--ink);
  border: 2px solid var(--deep);
  box-shadow: 8px 8px 0 var(--deep);
  padding: 10px;
}
.diagram-stage {
  position: relative;
  min-height: 235px;
  border: 1px solid var(--outline);
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(11,59,42,.08) 1px, transparent 1px) 0 0 / 28px 28px,
    linear-gradient(rgba(11,59,42,.08) 1px, transparent 1px) 0 0 / 28px 28px,
    var(--section-paper);
}
.diagram-paper p {
  margin: 8px 0 0;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 12px;
}
.figure {
  position: absolute;
  bottom: 42px;
  width: 58px;
  height: 116px;
  border: 3px solid #000;
  background: #fff;
}
.figure::before {
  content: "";
  position: absolute;
  left: 10px;
  top: -34px;
  width: 34px;
  height: 34px;
  border: 3px solid #000;
  border-radius: 50%;
  background: #fff;
}
.figure.before { left: 48px; }
.figure.after {
  right: 54px;
  background:
    repeating-linear-gradient(-22deg, var(--lime) 0 12px, var(--deep) 12px 24px, var(--blue) 24px 32px);
}
.figure.after::before {
  background: repeating-linear-gradient(-22deg, var(--lime) 0 9px, var(--deep) 9px 18px);
}
.arrow-line {
  position: absolute;
  left: 42%;
  top: 50%;
  width: 70px;
  border-top: 4px solid #000;
}
.arrow-line::after {
  content: "";
  position: absolute;
  right: -2px;
  top: -8px;
  width: 14px;
  height: 14px;
  border-top: 4px solid #000;
  border-right: 4px solid #000;
  transform: rotate(45deg);
}
.paint-field {
  position: absolute;
  inset: 14px;
  pointer-events: none;
}
.paint-field i {
  position: absolute;
  display: block;
  width: 90px;
  height: 20px;
  background: var(--lime);
  border: 2px solid var(--deep);
  transform: rotate(-14deg);
}
.paint-field i:nth-child(1) { left: 26px; top: 18px; }
.paint-field i:nth-child(2) { right: 38px; top: 32px; background: var(--blue); transform: rotate(18deg); }
.paint-field i:nth-child(3) { left: 104px; bottom: 22px; background: var(--orange); transform: rotate(9deg); }
.paint-field i:nth-child(4) { right: 18px; bottom: 64px; width: 62px; background: var(--lime-dim); transform: rotate(-32deg); }
.swatches { position: absolute; left: 16px; bottom: 14px; display: flex; gap: 4px; }
.swatches span { width: 22px; height: 22px; border: 2px solid #000; background: var(--lime); }
.swatches span:nth-child(2) { background: var(--deep); }
.swatches span:nth-child(3) { background: var(--blue); }

.rough-divider {
  height: 6px;
  margin: 28px 0;
  background: repeating-linear-gradient(45deg, var(--lime-dim) 0 10px, transparent 10px 20px);
}
.home-tasks h2 {
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
}
.home-tasks h2::before {
  content: "";
  width: 18px;
  height: 18px;
  background: var(--lime);
  border: 2px solid #000;
  transform: rotate(45deg);
}
.note-grid,
.related-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}
.task-card,
.related-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 168px;
  background: var(--paper);
  color: var(--ink);
  border: 2px solid var(--deep);
  border-radius: 0;
  box-shadow: var(--shadow);
  padding: 16px;
  text-decoration: none;
  transition: transform .12s ease, box-shadow .12s ease;
}
.task-card:nth-child(odd) { transform: rotate(-.5deg); }
.task-card:nth-child(even) { transform: rotate(.5deg); }
.task-card:hover,
.task-card:focus-visible,
.related-card:hover,
.related-card:focus-visible {
  transform: translate(2px, 2px);
  box-shadow: var(--shadow-sm);
  outline: none;
}
.task-card > div {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
}
.card-icon {
  width: 28px;
  height: 28px;
  border: 2px solid var(--deep);
  display: grid;
  place-items: center;
  color: var(--deep);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
}
.note-label {
  background: var(--section-paper);
  border: 1px solid var(--chip-border);
  color: #516600;
  padding: 2px 5px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
}
.task-card h3 {
  margin-top: 14px;
  color: var(--ink);
}
.task-card p,
.related-card span {
  color: var(--deep);
  font-size: 14px;
}

.proof-block {
  position: relative;
  overflow: hidden;
  background: var(--subpanel);
  border: 2px solid var(--outline-dark);
  padding: 32px;
}
.proof-block h2 { color: #fff; }
.proof-block p { max-width: 780px; color: var(--muted); }
.proof-block div {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 12px;
}
.proof-block span {
  color: var(--lime);
  border: 1px solid rgba(216,255,90,.35);
  background: rgba(216,255,90,.06);
  padding: 5px 8px;
  font-family: var(--font-mono);
  font-size: 12px;
}

.guide-hero,
.controls-hero {
  position: relative;
  margin-bottom: 28px;
}
.guide-hero h1 {
  color: var(--lime);
  text-shadow: 2px 2px 0 #000;
}
.hero-title-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 150px;
  gap: 24px;
  align-items: start;
}
.quick-answer {
  position: relative;
  max-width: 760px;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--deep);
  box-shadow: var(--shadow);
  padding: 18px 18px 18px 44px;
  transform: rotate(1deg);
}
.quick-answer p {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
}
.quick-badge {
  position: absolute;
  left: -10px;
  top: -10px;
  width: 34px;
  height: 34px;
  background: var(--lime);
  border: 2px solid #000;
  box-shadow: var(--shadow-sm);
}
.quick-badge::after {
  content: "";
  position: absolute;
  left: 12px;
  top: 7px;
  width: 8px;
  height: 15px;
  border: solid #000;
  border-width: 0 3px 3px 0;
  transform: rotate(40deg);
}
.paint-sticker {
  width: 132px;
  height: 118px;
  justify-self: end;
  border: 2px solid #000;
  box-shadow: var(--shadow-black);
  background:
    repeating-linear-gradient(28deg, var(--lime) 0 14px, var(--deep) 14px 28px, var(--blue) 28px 40px);
  transform: rotate(10deg);
}
.paint-sticker span {
  display: block;
  width: 64px;
  height: 64px;
  margin: 24px auto;
  border: 8px solid var(--paper);
  border-radius: 50%;
  box-shadow: inset 0 0 0 10px var(--deep), inset 0 0 0 20px var(--lime);
  background: #000;
}
.content-grid,
.friends-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 32px;
  align-items: start;
}
.right-column { display: grid; gap: 24px; align-content: start; }
.paper-section,
.checklist-paper,
.faq-list.compact {
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--deep);
  box-shadow: var(--shadow);
  padding: 24px;
  margin-bottom: 28px;
}
.paper-section:nth-child(even) { transform: rotate(.5deg); background: var(--section-paper); }
.paper-section h2 span,
.checklist-paper h2 {
  display: inline-block;
  background: var(--lime);
  color: #000;
  border: 1px solid #000;
  box-shadow: var(--shadow-sm);
  padding: 4px 8px;
}
.section-status,
.status-chip {
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  margin: 0 0 12px;
  background: var(--lime);
  color: var(--ink);
  border: 1px solid var(--deep);
  box-shadow: var(--shadow-sm);
  padding: 3px 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}
.flow-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 20px;
}
.flow-card {
  position: relative;
  z-index: 1;
  background: var(--bg);
  color: #d9e6dd;
  border: 1px solid var(--outline-dark);
  box-shadow: var(--shadow-sm);
  padding: 18px;
  text-align: center;
}
.flow-card span {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  background: var(--lime);
  color: #000;
  border: 2px solid #000;
  border-radius: 50%;
  box-shadow: var(--shadow-sm);
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
}
.flow-card:nth-child(2) span { background: var(--blue); }
.flow-card:nth-child(3) span { background: var(--pink); }
.flow-card p { color: var(--muted); font-size: 14px; }
.flow-card em {
  display: inline-block;
  color: var(--red);
  border: 1px solid var(--red);
  padding: 2px 5px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-style: normal;
}
.checklist,
.numbered-checklist {
  list-style: none;
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 16px 0 0;
}
.checklist li,
.numbered-checklist li {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  background: var(--section-paper);
  border: 1px solid var(--chip-border);
  padding: 7px;
}
.checklist li span {
  width: 16px;
  height: 16px;
  margin: 3px auto 0;
  border: 1px solid var(--outline);
}
.numbered-checklist li span {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  background: var(--lime);
  color: #000;
  border: 2px solid #000;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
}
.checklist p,
.numbered-checklist p { margin: 0; }

.table-wrap {
  width: 100%;
  overflow-x: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  min-width: 620px;
}
th,
td {
  padding: 12px;
  border: 1px solid var(--chip-border);
  text-align: left;
  vertical-align: top;
}
th {
  background: var(--surface-bright);
  color: #d9e6dd;
  font-family: var(--font-display);
  font-size: 20px;
  text-transform: uppercase;
}
td { color: var(--ink); background: var(--paper); }
tr:nth-child(even) td { background: var(--section-paper); }
kbd {
  display: inline-block;
  background: var(--section-paper);
  color: var(--ink);
  border: 2px solid var(--deep);
  box-shadow: var(--shadow-sm);
  padding: 2px 7px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
}
.source-rail,
.related-rail,
.dark-side-card {
  background: var(--subpanel);
  border: 1px solid var(--outline-dark);
  box-shadow: var(--shadow);
  padding: 18px;
}
.source-rail h2,
.source-rail h3,
.related-rail h3,
.dark-side-card h2 {
  color: var(--lime);
  font-size: 24px;
}
.source-rail dl {
  display: grid;
  gap: 8px;
  margin: 0 0 18px;
}
.source-rail dt {
  color: var(--lime);
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
}
.source-rail dd {
  margin: 0;
  color: #d9e6dd;
  font-family: var(--font-mono);
  font-size: 12px;
}
.source-rail ul {
  list-style: none;
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0;
}
.source-rail a,
.maps-rail a {
  color: var(--blue);
  font-weight: 700;
}
.source-rail small {
  display: block;
  color: var(--muted);
  font-size: 12px;
}
.related-rail {
  display: grid;
  gap: 10px;
}
.related-rail .related-card {
  min-height: auto;
  padding: 10px;
  box-shadow: var(--shadow-sm);
}
.related-section { margin-top: 8px; }
.related-section h2 { color: #fff; }

.controls-hero {
  background: var(--paper);
  color: var(--ink);
  border: 2px solid var(--deep);
  box-shadow: var(--shadow);
  padding: 32px;
  transform: rotate(-1deg);
}
.controls-hero h1 {
  color: var(--ink);
  text-shadow: 2px 2px 0 var(--lime);
}
.controls-hero .paint-sticker {
  position: absolute;
  right: 18px;
  top: -28px;
  width: 82px;
  height: 72px;
}
.controls-hero .paint-sticker span {
  width: 38px;
  height: 38px;
  margin-top: 14px;
  border-width: 5px;
  box-shadow: inset 0 0 0 6px var(--deep), inset 0 0 0 12px var(--lime);
}
.controls-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr);
  gap: 32px;
  align-items: start;
}
.matrix-panel {
  background: var(--subpanel);
  border: 1px solid var(--outline);
  box-shadow: var(--shadow);
  padding: 18px;
}
.matrix-panel h2,
.friends-hero h1 {
  color: var(--lime);
}
.matrix-panel table td {
  background: var(--subpanel);
  color: #d9e6dd;
  border-color: var(--outline-dark);
}
.matrix-panel tr:nth-child(even) td {
  background: var(--surface);
}
.controls-side {
  display: grid;
  gap: 24px;
}
.warning-card {
  background: var(--paper);
  color: var(--ink);
  border: 2px solid var(--deep);
  box-shadow: var(--shadow);
  padding: 18px;
  transform: rotate(1deg);
}
.warning-card h2::before,
.safe-warning strong::before {
  content: "!";
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  margin-right: 6px;
  border: 2px solid var(--orange);
  color: var(--orange);
  font-family: var(--font-mono);
  font-size: 12px;
}
.warning-stamp {
  display: inline-block;
  background: var(--orange);
  color: #000;
  border: 2px solid var(--deep);
  box-shadow: var(--shadow-sm);
  padding: 4px 7px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
}
.dark-side-card article {
  background: var(--section-paper);
  color: var(--ink);
  border: 1px solid var(--deep);
  box-shadow: var(--shadow-sm);
  padding: 12px;
  margin-top: 12px;
}
.dark-side-card article:nth-child(odd) { transform: rotate(-1deg); }
.dark-side-card article:nth-child(even) { transform: rotate(1deg); }

.friends-grid { grid-template-columns: minmax(0, 1fr) 280px; }
.friends-hero {
  position: relative;
  background: var(--subpanel);
  border: 1px solid var(--outline-dark);
  padding: 32px;
  margin-bottom: 32px;
}
.friends-hero h1 {
  max-width: 820px;
  font-size: clamp(34px, 6vw, 58px);
}
.friends-hero p { max-width: 780px; color: var(--muted); }
.friends-hero .paint-sticker {
  width: 40px;
  height: 40px;
  box-shadow: var(--shadow-sm);
  float: left;
  margin: 8px 10px 0 0;
}
.friends-hero .paint-sticker span { display: none; }
.checklist-paper {
  position: relative;
  transform: rotate(.5deg);
}
.checklist-paper::before {
  content: "Field notes";
  position: absolute;
  right: -10px;
  top: -13px;
  background: var(--lime);
  color: #000;
  border: 2px solid #000;
  box-shadow: var(--shadow-sm);
  padding: 3px 6px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  transform: rotate(4deg);
}
.safe-warning {
  background: #2b1717;
  color: var(--red);
  border-left: 4px solid var(--red);
  padding: 14px 18px;
  margin: 0 0 28px;
}
.safe-warning strong {
  display: block;
  font-family: var(--font-display);
  font-size: 24px;
  text-transform: uppercase;
}
.safe-warning p { margin: 0; color: #ffdad6; font-family: var(--font-mono); font-size: 12px; }

.maps-page {
  width: min(1200px, 100%);
  margin: 0 auto;
  padding-inline: 24px;
}
.maps-grid {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}
.maps-rail h1 {
  color: #fff;
  text-shadow: 2px 2px 0 var(--deep);
}
.maps-rail > p {
  background: var(--subpanel);
  border: 1px solid var(--outline-dark);
  padding: 16px;
  color: var(--muted);
}
.maps-rail h2 {
  margin-top: 28px;
  color: var(--lime);
  font-size: 24px;
}
.maps-rail {
  display: grid;
  gap: 10px;
}
.build-pill {
  width: max-content;
  max-width: 100%;
  background: var(--paper);
  color: var(--ink);
  border: 2px solid var(--chip-border);
  box-shadow: var(--shadow-sm);
  padding: 4px 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
}
.empty-state-panel {
  position: relative;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--outline);
  box-shadow: var(--shadow);
  padding: 48px;
  transform: rotate(.5deg);
}
.hold-badge {
  position: absolute;
  left: -16px;
  top: -16px;
  background: var(--red);
  color: #000;
  border: 2px solid var(--ink);
  box-shadow: var(--shadow-sm);
  padding: 6px 12px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  text-transform: uppercase;
  transform: rotate(-3deg);
}
.empty-state-panel > div {
  min-height: 315px;
  display: grid;
  place-items: center;
  text-align: center;
  border: 4px dashed var(--outline);
  background: var(--section-paper);
  padding: 28px;
}
.empty-icon {
  width: 44px;
  height: 52px;
  border: 3px solid var(--outline);
  display: block;
  position: relative;
}
.empty-icon::before {
  content: "";
  position: absolute;
  right: -9px;
  bottom: 5px;
  width: 20px;
  height: 20px;
  border: 3px solid var(--outline);
  border-radius: 50%;
  background: var(--section-paper);
}
.empty-icon::after {
  content: "";
  position: absolute;
  right: -12px;
  bottom: 2px;
  width: 13px;
  border-top: 3px solid var(--outline);
  transform: rotate(45deg);
}
.empty-state-panel h2 { margin-bottom: 0; }
.empty-state-panel aside {
  max-width: 520px;
  background: var(--surface-bright);
  color: #d9e6dd;
  border-left: 4px solid var(--red);
  padding: 16px;
  text-align: left;
}
.empty-state-panel aside p { margin: 4px 0 0; color: var(--muted); }

.faq-hero {
  position: relative;
  min-height: 230px;
  background: var(--subpanel);
  border-bottom: 2px solid var(--outline-dark);
  padding: 32px 170px 32px 0;
  overflow: hidden;
}
.faq-hero h1 {
  color: #fff;
  max-width: 560px;
}
.faq-hero p {
  max-width: 680px;
  color: var(--muted);
}
.faq-hero .paint-sticker {
  position: absolute;
  right: 16px;
  top: 28px;
}
.faq-list details {
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--deep);
  box-shadow: var(--shadow-sm);
  margin-bottom: 12px;
}
.faq-list.compact {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
}
.faq-list.compact h2 { display: none; }
summary {
  position: relative;
  cursor: pointer;
  list-style: none;
  padding: 16px 46px 16px 16px;
  font-weight: 700;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "";
  position: absolute;
  right: 18px;
  top: 19px;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  transform: rotate(45deg);
}
details[open] summary::after {
  top: 24px;
  transform: rotate(225deg);
}
details p {
  padding: 0 16px 12px;
  margin: 0;
}
details .section-status {
  margin-left: 16px;
  margin-bottom: 16px;
}
.faq-support { margin-top: 32px; }

.caution {
  margin-top: 32px;
  background: rgba(216,255,90,.05);
  border: 1px dashed var(--outline);
  color: var(--muted);
  padding: 16px;
  font-size: 13px;
}
.footer {
  background: var(--surface-high);
  border-top: 4px solid var(--outline-dark);
}
.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 2fr);
  gap: 32px;
  padding-top: 32px;
  padding-bottom: 32px;
}
.footer strong {
  display: block;
  color: #fff;
  font-family: var(--font-display);
  font-size: 24px;
  text-transform: uppercase;
}
.footer p {
  max-width: 520px;
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 12px;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: flex-end;
  align-items: start;
}
.footer a {
  color: var(--muted);
  font-size: 12px;
  text-decoration: none;
}
.footer a:hover,
.footer a:focus-visible { color: var(--lime); }

@media (max-width: 980px) {
  .nav-shell {
    grid-template-columns: auto auto;
  }
  .nav-links {
    grid-column: 1 / -1;
    justify-content: flex-start;
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 4px;
  }
  .home-hero,
  .content-grid,
  .friends-grid,
  .controls-layout,
  .maps-grid,
  .footer-inner {
    grid-template-columns: 1fr;
  }
  .hero-title-row {
    grid-template-columns: 1fr;
  }
  .paint-sticker {
    justify-self: start;
  }
  .note-grid,
  .related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .source-rail { position: static; }
}

@media (max-width: 720px) {
  main,
  .footer-inner,
  .maps-page {
    padding-inline: 14px;
  }
  .nav-shell {
    padding-inline: 14px;
    display: flex;
    justify-content: space-between;
  }
  .nav-links,
  .nav-search,
  .steam-button {
    display: none;
  }
  .menu-mark { display: block; }
  .brand { font-size: 20px; }
  .home-hero,
  .controls-hero,
  .friends-hero,
  .paper-section,
  .checklist-paper,
  .proof-block,
  .empty-state-panel {
    padding: 18px;
    max-width: 100%;
    overflow: hidden;
  }
  .home-hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
  .hero-copy,
  .controls-hero,
  .friends-hero,
  .paper-section,
  .task-card,
  .related-card,
  .quick-answer {
    min-width: 0;
    max-width: 100%;
  }
  h1 {
    font-size: clamp(32px, 10vw, 40px);
    overflow-wrap: anywhere;
    word-break: normal;
  }
  .hero-copy h1 {
    font-size: clamp(34px, 10.5vw, 42px);
  }
  .hero-copy p,
  .quick-answer p,
  .faq-hero p {
    font-size: 16px;
    overflow-wrap: anywhere;
  }
  .cta-row,
  .proof-block div {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }
  .button,
  .steam-text-link {
    width: 100%;
    max-width: 100%;
    text-align: center;
  }
  .note-grid,
  .related-grid,
  .flow-cards {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero-diagram,
  .diagram-paper,
  .diagram-stage {
    width: 100%;
    max-width: 100%;
  }
  .hero-diagram {
    transform: rotate(1deg);
  }
  .diagram-stage { min-height: 210px; }
  .figure.before { left: 30px; }
  .figure.after { right: 30px; }
  .arrow-line { left: 39%; width: 48px; }
  .quick-answer {
    padding: 18px;
    transform: none;
  }
  .quick-badge { display: none; }
  .paint-sticker {
    width: 86px;
    height: 76px;
  }
  .paint-sticker span {
    width: 42px;
    height: 42px;
    margin-top: 15px;
  }
  .faq-hero {
    padding: 20px 0;
    min-height: auto;
  }
  .faq-hero .paint-sticker {
    position: relative;
    right: auto;
    top: auto;
    margin-bottom: 16px;
  }
  .footer-links {
    justify-content: flex-start;
  }
  table,
  thead,
  tbody,
  tr,
  th,
  td {
    display: block;
    min-width: 0;
    width: 100%;
  }
  table { min-width: 0; }
  thead { display: none; }
  tr {
    border: 1px solid var(--chip-border);
    margin-bottom: 10px;
  }
  td {
    border: 0;
    border-bottom: 1px solid var(--chip-border);
    overflow-wrap: anywhere;
  }
  td:last-child { border-bottom: 0; }
  td::before {
    content: attr(data-label);
    display: block;
    color: var(--outline);
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 3px;
  }
}

@media (max-width: 420px) {
  .trust-strip { display: grid; grid-template-columns: minmax(0, 1fr); }
  .trust-chip {
    width: fit-content;
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
  }
  .diagram-paper { box-shadow: var(--shadow); }
  .figure {
    width: 44px;
    height: 92px;
  }
  .figure::before {
    left: 6px;
    width: 28px;
    height: 28px;
  }
  .figure.before { left: 22px; }
  .figure.after { right: 20px; }
  .arrow-line { left: 38%; width: 38px; }
  .empty-state-panel > div {
    min-height: 260px;
    padding: 18px;
  }
}
