/* znrust.com - Zombie Nation website. One stylesheet for every page (web/README.md).
   Tokens: ink + bone neutrals, one accent (the wordmark's blood red), sharp corners everywhere. */

:root {
  --bg: #e9e8e3;
  --surface: #f4f3ef;
  --surface-2: #dcdad3;
  --ink: #19191b;
  --muted: #505056;
  --line: #c4c2ba;
  --accent: #b3301d;
  --accent-ink: #fbfaf7;
  --accent-soft: rgb(179 48 29 / .1);
  --ok: #2f7a3a;
  --shadow: 4px 4px 0 var(--ink);
  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Barlow", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
  --wrap: 1280px;
  --gutter: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(.16, 1, .3, 1);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #121214;
    --surface: #1a1a1d;
    --surface-2: #242428;
    --ink: #ebeae5;
    --muted: #a3a29d;
    --line: #313136;
    --accent: #e0553e;
    --accent-ink: #180b08;
    --accent-soft: rgb(224 85 62 / .12);
    --ok: #5cc06c;
    --shadow: 4px 4px 0 #000;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #121214;
  --surface: #1a1a1d;
  --surface-2: #242428;
  --ink: #ebeae5;
  --muted: #a3a29d;
  --line: #313136;
  --accent: #e0553e;
  --accent-ink: #180b08;
  --accent-soft: rgb(224 85 62 / .12);
  --ok: #5cc06c;
  --shadow: 4px 4px 0 #000;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--font-body);
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
/* A <video>'s height attribute is a real CSS height (no UA "auto" as for img): without this a 1920x1080 clip drew 1080 px tall. */
video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.05; letter-spacing: -.01em; margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
code, kbd { font-family: var(--font-mono); font-size: .88em; }
code { background: var(--surface-2); padding: .1em .35em; white-space: nowrap; border: 1px solid var(--line); }
/* Chat commands (build.py tags every <code> starting with "/"): an accent chip you can't miss */
code.cmd {
  color: var(--accent); background: var(--accent-soft); border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent);
  font-weight: 600; padding: .08em .42em .12em; letter-spacing: -.01em;
}
.nudge code.cmd, .tile-convoy code.cmd, .discord-card code.cmd { background: color-mix(in srgb, var(--accent) 22%, transparent); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--muted); }
.mono { font-family: var(--font-mono); }

/* Grain over everything, fixed so it never repaints on scroll. */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: .06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55em; white-space: nowrap;
  font: 700 1.05rem/1 var(--font-display); letter-spacing: .04em; text-transform: uppercase;
  padding: .9em 1.3em; border: 2px solid var(--ink); background: var(--surface); color: var(--ink);
  text-decoration: none; cursor: pointer; box-shadow: var(--shadow);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s;
}
.btn:hover { color: var(--ink); transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--ink); }
.btn:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--ink); }
.btn i { font-size: 1.25em; }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { color: var(--accent-ink); }
.btn-sm { font-size: .92rem; padding: .62em .9em; box-shadow: 3px 3px 0 var(--ink); }
:root[data-theme="dark"] .btn, :root[data-theme="dark"] .btn:hover { border-color: #000; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .btn { border-color: #000; } }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav .wrap { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 800 1.35rem/1 var(--font-display); text-transform: uppercase; letter-spacing: .02em; }
.brand img { width: 38px; height: 38px; }
.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a {
  font: 600 1.05rem/1 var(--font-display); text-transform: uppercase; letter-spacing: .05em;
  padding: 10px 12px; text-decoration: none; color: var(--muted);
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); }
.nav-links a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--accent); }
.nav-tools { display: flex; align-items: center; gap: 10px; }
.icon-btn {
  display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line);
  background: transparent; color: var(--ink); cursor: pointer; font-size: 1.2rem;
}
.icon-btn:hover { border-color: var(--ink); }
.menu-btn { display: none; }
@media (max-width: 900px) {
  .nav .wrap { gap: 12px; }
  .menu-btn { display: grid; }
  .nav-links {
    display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 16px;
  }
  .nav[data-open] .nav-links { display: flex; }
  .nav-links a { padding: 14px 0; font-size: 1.25rem; }
  .nav-tools .btn { display: none; }
  .nav-tools { margin-left: auto; }
}

/* ---------- Hero ---------- */
.hero { position: relative; border-bottom: 2px solid var(--ink); overflow: hidden; }
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  min-height: min(calc(100dvh - 68px - 120px), 760px);
}
.hero-copy { display: flex; flex-direction: column; justify-content: center; gap: 26px; padding: 56px var(--gutter) 64px max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))); position: relative; z-index: 2; }
.hero-copy .wordmark { width: min(520px, 100%); margin-left: -6px; }
.hero-copy h1 { font-size: clamp(2rem, 3.4vw, 2.9rem); font-weight: 800; text-transform: uppercase; }
.hero-copy p.lede { font-size: 1.2rem; color: var(--muted); max-width: 34ch; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-art { position: relative; min-height: 340px; }
.hero-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 40%; }
.hero-art::before { /* ink rule that separates copy from art */
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--ink); z-index: 1;
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; min-height: 0; }
  .hero-art { order: -1; min-height: 0; aspect-ratio: 16 / 10; }
  .hero-art::before { display: none; }
  .hero-copy { padding: 32px var(--gutter) 40px; }
}

/* ---------- Right now on the island (under the hero) ---------- */
/* One asymmetric block: the server on the left, a kill-feed style panel on the right. The panel stays dark in both
   themes on purpose: it mirrors the game's own HUD. */
.live { border-bottom: 2px solid var(--ink); background: var(--surface); }
.live-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 72px); align-items: start; padding-top: 44px; padding-bottom: 48px; }
.live-server { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.live-state { display: flex; align-items: center; gap: 10px; font: 700 1rem/1 var(--font-display); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.live-count { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.live-count b { font: 800 clamp(4rem, 8vw, 6.5rem)/.85 var(--font-display); font-variant-numeric: tabular-nums; }
.live-count > span { font: 700 clamp(1.3rem, 2.2vw, 1.8rem)/1.1 var(--font-display); text-transform: uppercase; color: var(--muted); }
.live-line { font-size: 1.1rem; color: var(--muted); max-width: 52ch; }
.live-line b { color: var(--ink); font-family: var(--font-mono); font-weight: 500; }
.live-server .connect { max-width: 440px; }
.live-facts { margin: 8px 0 0; display: grid; gap: 0; border-top: 1px solid var(--line); max-width: 560px; }
.live-facts > div { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 14px; align-items: baseline; padding: 11px 0; border-bottom: 1px solid var(--line); }
.live-facts dt { font: 700 .9rem/1.4 var(--font-display); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.live-facts dd { margin: 0; line-height: 1.45; }
.live-facts .countdown-line { display: block; }

.feed-panel {
  --fp-bg: #18181b; --fp-ink: #ecebe6; --fp-muted: #a3a29d; --fp-line: #2c2c31; --fp-accent: #e0553e;
  background: var(--fp-bg); color: var(--fp-ink); border: 2px solid #000; box-shadow: 8px 8px 0 var(--accent);
  padding: 20px 22px 18px; min-width: 0;
}
.feed-head { display: flex; align-items: center; gap: 8px; font: 700 .95rem/1 var(--font-display); text-transform: uppercase; letter-spacing: .1em; color: var(--fp-muted); margin: 0 0 12px; }
.feed-head i { color: var(--fp-accent); }
.feed-head + .ev-list { margin-bottom: 22px; }
.feed-panel .ev-list { color: var(--fp-ink); }
.feed-panel .ev-list li i { color: var(--fp-accent); }
.feed-panel .ev-list .ev-meta, .feed-panel .ev-list .ev-detail, .feed-panel .ev-empty { color: var(--fp-muted); }
.death-list { list-style: none; margin: 0; padding: 0; display: grid; }
.death-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: baseline; padding: 7px 0; border-top: 1px solid var(--fp-line); font-size: .95rem; line-height: 1.35; transition: opacity .45s var(--ease), transform .45s var(--ease); }
.death-list li:first-child { border-top: 0; }
.death-list b { font-weight: 600; }
.death-list .d-text { color: var(--fp-muted); }
.death-list .d-text b { color: var(--fp-ink); }
.death-list time { font-family: var(--font-mono); font-size: .78rem; color: var(--fp-muted); white-space: nowrap; }
.death-list li.enter { opacity: 0; transform: translateY(-8px); }
.feed-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; color: var(--fp-ink); font: 700 .95rem/1 var(--font-display); text-transform: uppercase; letter-spacing: .06em; text-decoration: none; }
.feed-more:hover { color: var(--fp-accent); }
@media (max-width: 900px) {
  .live-grid { grid-template-columns: 1fr; padding-top: 32px; }
  .feed-panel { box-shadow: 5px 5px 0 var(--accent); }
}
@media (max-width: 480px) { .live-facts > div { grid-template-columns: 1fr; gap: 2px; } }

.live-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--muted); flex: none; }
.live-dot[data-state="up"] { background: var(--ok); box-shadow: 0 0 0 0 color-mix(in srgb, var(--ok) 60%, transparent); animation: pulse 2.4s infinite; }
.live-dot[data-state="down"] { background: var(--accent); }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
.connect { display: grid; grid-template-columns: minmax(0, 1fr) auto; margin-top: 6px; }
.connect code { padding: 10px 12px; background: var(--bg); border: 1px solid var(--line); border-right: 0; font-size: .82rem; white-space: normal; overflow-wrap: anywhere; line-height: 1.35; display: flex; align-items: center; }
.connect button { border: 1px solid var(--ink); background: var(--ink); color: var(--bg); font: 700 .9rem/1 var(--font-display); text-transform: uppercase; letter-spacing: .05em; padding: 0 14px; cursor: pointer; }
.connect button:active { transform: translateY(1px); }
.countdown-line { font-family: var(--font-mono); font-size: .9rem; color: var(--ink); font-variant-numeric: tabular-nums; }
.ev-list { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 4px; font-size: .92rem; }
.ev-list li { display: grid; grid-template-columns: 18px minmax(0, 1fr) auto; grid-template-areas: "icon name meta" ". detail detail"; column-gap: 8px; row-gap: 1px; align-items: baseline; transition: opacity .4s var(--ease), transform .4s var(--ease); }
.ev-list li i { grid-area: icon; color: var(--accent); position: relative; top: 2px; }
.ev-list .ev-name { grid-area: name; font-weight: 600; line-height: 1.3; }
.ev-list .ev-meta { grid-area: meta; color: var(--muted); font-family: var(--font-mono); font-size: .8rem; white-space: nowrap; }
.ev-list .ev-detail { grid-area: detail; color: var(--muted); font-size: .85rem; line-height: 1.35; }
.ev-list .ev-detail:empty { display: none; }
.ev-list li.ev-empty { display: block; }
.ev-list li.enter, .ev-list li.leave { opacity: 0; transform: translateX(-8px); }
@media (prefers-reduced-motion: no-preference) {
  .bump { animation: bump .6s var(--ease); }
}
@keyframes bump { 30% { color: var(--accent); } }
.skeleton { display: inline-block; min-width: 3ch; color: transparent !important; background: linear-gradient(90deg, var(--surface-2), var(--line), var(--surface-2)); background-size: 200% 100%; animation: shimmer 1.4s infinite linear; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* ---------- Sections ---------- */
section.block { padding: clamp(64px, 9vw, 120px) 0; }
.section-title { font-size: clamp(2.3rem, 5vw, 4rem); text-transform: uppercase; font-weight: 800; }
.section-title em { font-style: italic; color: var(--accent); padding-right: .06em; }
.section-lede { margin-top: 18px; font-size: 1.15rem; color: var(--muted); max-width: 60ch; }
.eyebrow { font: 600 .95rem/1 var(--font-display); text-transform: uppercase; letter-spacing: .14em; color: var(--accent); margin-bottom: 14px; display: block; }

/* Zombie roster: a scroll-snap strip of type cards */
.roster { margin-top: 48px; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 1fr); gap: 0; overflow-x: auto; scroll-snap-type: x mandatory; border: 2px solid var(--ink); background: var(--surface); scrollbar-width: thin; }
.zcard { scroll-snap-align: start; padding: 26px 24px 28px; border-left: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; min-height: 300px; }
.zcard:first-child { border-left: 0; }
.zcard h3 { font-size: 2rem; text-transform: uppercase; }
.zcard .role { color: var(--muted); font-size: 1rem; flex: 1; }
.zcard dl { display: grid; grid-template-columns: auto 1fr; align-items: baseline; gap: 6px 14px; margin: 0; font-size: .95rem; }
.zcard dt { color: var(--muted); font-family: var(--font-display); text-transform: uppercase; letter-spacing: .05em; font-size: .9rem; padding-top: 2px; }
.zcard dd { margin: 0; font-family: var(--font-mono); font-size: .9rem; text-align: right; }
.zcard.hot { background: var(--accent-soft); }
.zcard.hot h3 { color: var(--accent); }
.infection { margin-top: 28px; display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start; max-width: 860px; }
.infection i { font-size: 2.2rem; color: var(--accent); }

/* Placeholder slots (web/media.json entries with no image or video yet) */
.slot-ph {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; width: 100%;
  background: repeating-linear-gradient(135deg, var(--surface-2) 0 10px, var(--surface) 10px 20px);
  color: var(--muted); font: 600 .9rem/1.2 var(--font-display); text-transform: uppercase; letter-spacing: .08em; text-align: center; padding: 16px;
}
.slot-ph i { font-size: 2.6rem; color: var(--ink); opacity: .5; }
.zcard .portrait { margin: -26px -24px 6px; border-bottom: 1px solid var(--line); }
.zcard .portrait > * { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; }
.zcard.hot .portrait .slot-ph i { color: var(--accent); opacity: .8; }
.buff { margin-top: 36px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 2px solid var(--ink); }
.buff div { padding: 22px 24px 0 0; }
.buff div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.buff b { display: block; font: 800 2.6rem/1 var(--font-display); color: var(--accent); }
.buff span { color: var(--muted); }
@media (max-width: 760px) { .buff { grid-template-columns: 1fr; } .buff div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); padding-top: 18px; margin-top: 18px; } }
/* The four reasons strip under the live panel: what sets the server apart, in one glance. */
.why { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 2px solid var(--ink); border-bottom: 1px solid var(--line); }
.why > div { padding: 22px 20px 24px 0; display: grid; grid-template-columns: 30px 1fr; gap: 10px; align-items: start; min-width: 0; }
.why > div > div { display: block; min-width: 0; }
.why > div + div { padding-left: 20px; border-left: 1px solid var(--line); }
.why i { font-size: 1.5rem; color: var(--accent); margin-top: 2px; }
.why b { display: block; font: 700 1.25rem/1.1 var(--font-display); text-transform: uppercase; margin-bottom: 4px; }
.why span { color: var(--muted); font-size: .97rem; }
@media (max-width: 900px) { .why { grid-template-columns: 1fr 1fr; } .why > div:nth-child(3) { padding-left: 0; border-left: 0; } .why > div:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 520px) { .why { grid-template-columns: 1fr; } .why > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); } }

/* From Hell: one big highlight, two stacked */
.fights { margin-top: 48px; display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 16px; }
.fight { border: 2px solid var(--ink); background: var(--surface); display: flex; flex-direction: column; min-width: 0; }
.fight .clip > * { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-bottom: 2px solid var(--ink); }
/* In-game panels shown until a clip exists: whole, on the game's sky colour */
[data-fit="contain"] { object-fit: contain !important; background: linear-gradient(180deg, #8f9b7f, #6f7a62); padding: 4%; }
.fight .body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 8px; }
.fight h3 { font-size: 1.7rem; text-transform: uppercase; }
.fight p { color: var(--muted); }
.fight .levels { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.fight .levels span { font: 600 .85rem/1 var(--font-display); text-transform: uppercase; letter-spacing: .06em; padding: 6px 8px; border: 1px solid var(--line); }
.fight .levels span:last-child { border-color: var(--accent); color: var(--accent); }
.fight-main { grid-row: span 2; }
.fight-main h3 { font-size: 2.2rem; }
.fight-side { display: grid; grid-template-columns: minmax(0, 1fr); }
.fight-side .clip > * { aspect-ratio: 21 / 9; }
.how-start { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 10px 28px; color: var(--muted); }
.how-start span { display: inline-flex; gap: 8px; align-items: center; }
.how-start i { color: var(--accent); font-size: 1.2rem; }
@media (max-width: 900px) { .fights { grid-template-columns: 1fr; } .fight-main { grid-row: auto; } }

/* Quests: the story window with the escort map pinned over its corner */
.quests { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.quest-art { display: grid; gap: 22px; min-width: 0; }
.quest-map { margin: 0; display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr); gap: 18px; align-items: center; }
.quest-map img { border: 2px solid var(--ink); }
.quest-map figcaption { color: var(--muted); font-size: .97rem; }
.quest-map figcaption b { display: block; color: var(--ink); font: 700 1.2rem/1.2 var(--font-display); text-transform: uppercase; margin-bottom: 4px; }
@media (max-width: 560px) { .quest-map { grid-template-columns: 1fr; } }
.tag { display: inline-block; font: 700 .85rem/1 var(--font-display); text-transform: uppercase; letter-spacing: .1em; padding: 6px 9px; background: var(--ink); color: var(--bg); margin-bottom: 16px; }
.elements { margin-top: 26px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px 26px; }
.elements > div { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 10px; }
.elements i { font-size: 1.4rem; color: var(--accent); margin-top: 2px; }
.elements b { display: block; font: 700 1.15rem/1.2 var(--font-display); text-transform: uppercase; margin-bottom: 2px; }
.elements span { color: var(--muted); font-size: .97rem; }
@media (max-width: 900px) { .quests { grid-template-columns: 1fr; } .quests > :first-child { order: 2; } }
@media (max-width: 560px) { .elements { grid-template-columns: 1fr; } }

/* Also on the island: compact columns */
.also { margin-top: 40px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 2px solid var(--ink); border-bottom: 1px solid var(--line); }
.also article { padding: 22px 20px 24px 0; display: flex; flex-direction: column; gap: 8px; }
.also figure { margin: 0 0 8px; aspect-ratio: 4 / 3; background: linear-gradient(180deg, #8f9b7f, #6f7a62); border: 2px solid var(--ink); display: grid; place-items: center; overflow: hidden; }
.also figure img { width: 100%; height: 100%; object-fit: contain; padding: 6%; }
.also article + article { padding-left: 20px; border-left: 1px solid var(--line); }
.also h3 { font-size: 1.35rem; text-transform: uppercase; }
.also p { color: var(--muted); font-size: .97rem; }
.also .note { font: 600 .82rem/1.2 var(--font-display); text-transform: uppercase; letter-spacing: .08em; color: var(--accent); }
@media (max-width: 1000px) { .also { grid-template-columns: 1fr 1fr; } .also article:nth-child(odd) { padding-left: 0; border-left: 0; } .also article { border-top: 1px solid var(--line); } }
@media (max-width: 560px) { .also { grid-template-columns: 1fr; } .also article { padding-left: 0 !important; border-left: 0 !important; } }

/* Progress: screenshot with offset caption panel */
.split { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.split.flip { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.shot { margin: 0; border: 2px solid var(--ink); box-shadow: 10px 10px 0 var(--accent); background: #1d1c19; }
.shot figcaption { font-size: .9rem; color: var(--muted); padding: 10px 0 0; background: var(--bg); }
.points { display: grid; gap: 22px; margin-top: 30px; }
.point { display: grid; grid-template-columns: 34px 1fr; gap: 12px; }
.point i { font-size: 1.6rem; color: var(--accent); margin-top: 2px; }
.point h3 { font-size: 1.35rem; text-transform: uppercase; margin-bottom: 4px; }
.point p { color: var(--muted); }
@media (max-width: 900px) {
  .split, .split.flip { grid-template-columns: 1fr; }
  .split.flip > :first-child { order: 2; }
}

/* Town band: full-bleed aerial with a plate of copy over it */
.band { position: relative; border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); overflow: hidden; }
.band > img, .band > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 52%; }
.band .wrap { position: relative; padding-top: clamp(80px, 12vw, 160px); padding-bottom: clamp(80px, 12vw, 160px); }
.plate { background: var(--bg); border: 2px solid var(--ink); box-shadow: var(--shadow); padding: clamp(24px, 4vw, 44px); max-width: 560px; }
.plate ul { margin: 22px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; }
.plate li { display: flex; gap: 10px; align-items: baseline; }
.plate li i { color: var(--accent); }
@media (max-width: 560px) { .plate ul { grid-template-columns: 1fr; } }

/* Wipe + vote */
.wipe { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0; border: 2px solid var(--ink); background: var(--surface); }
.wipe-copy { padding: clamp(28px, 4vw, 52px); display: flex; flex-direction: column; gap: 18px; }
.countdown { display: flex; gap: 0; border: 2px solid var(--ink); align-self: flex-start; }
.countdown div { padding: 12px 16px; text-align: center; border-left: 1px solid var(--line); min-width: 74px; }
.countdown div:first-child { border-left: 0; }
.countdown b { display: block; font: 800 2.2rem/1 var(--font-display); font-variant-numeric: tabular-nums; }
.countdown span { font: 600 .8rem/1 var(--font-display); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.wipe-art { position: relative; min-height: 340px; margin: 0; border-left: 2px solid var(--ink); background: #2a5d7c; }
.wipe-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }
.carry { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 22px; font-size: .98rem; }
.carry h4 { font-size: 1.05rem; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 4px; }
.carry ul { margin: 0; padding-left: 18px; color: var(--muted); }
@media (max-width: 860px) {
  .wipe { grid-template-columns: 1fr; }
  .wipe-art { border-left: 0; border-top: 2px solid var(--ink); aspect-ratio: 16/9; min-height: 0; }
}

/* Closing call to action */
.closer { background: var(--accent); color: var(--accent-ink); border-top: 2px solid var(--ink); }
.closer .wrap { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; padding-top: 72px; padding-bottom: 72px; }
.closer h2 { font-size: clamp(2.4rem, 5.5vw, 4.4rem); text-transform: uppercase; font-weight: 800; }
.closer p { margin-top: 12px; font-size: 1.15rem; max-width: 52ch; opacity: .92; }
.closer .btn { background: var(--ink); color: var(--bg); border-color: var(--ink); box-shadow: 4px 4px 0 rgb(0 0 0 / .35); }
.closer .btn:hover { color: var(--bg); }
@media (max-width: 760px) { .closer .wrap { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.footer { border-top: 2px solid var(--ink); padding: 44px 0 56px; font-size: .95rem; color: var(--muted); }
.footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer h4 { color: var(--ink); font-size: 1.05rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 12px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--accent); }
.footer .fine { grid-column: 1 / -1; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
@media (max-width: 760px) { .footer .wrap { grid-template-columns: 1fr 1fr; } .footer .wrap > :first-child { grid-column: 1 / -1; } }

/* ---------- Subpage header ---------- */
.page-head { border-bottom: 2px solid var(--ink); padding: clamp(44px, 7vw, 88px) 0 clamp(32px, 5vw, 56px); position: relative; overflow: hidden; }
.page-head h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); text-transform: uppercase; font-weight: 800; }
.page-head p { margin-top: 16px; font-size: 1.2rem; color: var(--muted); max-width: 58ch; }
.crumbs { font: 600 .95rem/1 var(--font-display); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 16px; display: flex; gap: 8px; }
.crumbs a { text-decoration: none; }

/* ---------- Wiki ---------- */
.wiki { display: grid; grid-template-columns: 230px minmax(0, 1fr) 190px; gap: 48px; padding-top: 48px; padding-bottom: 96px; align-items: start; }
.wiki-side, .wiki-toc { position: sticky; top: 92px; max-height: calc(100dvh - 110px); overflow-y: auto; font-size: .98rem; }
.wiki-side h4, .wiki-toc h4 { font-size: .95rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin: 0 0 12px; }
.wiki-side ul, .wiki-toc ul { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 2px; }
.wiki-side a { display: block; padding: 7px 12px; text-decoration: none; border-left: 2px solid var(--line); color: var(--muted); }
.wiki-side a:hover { color: var(--ink); border-left-color: var(--ink); }
.wiki-side a[aria-current="page"] { color: var(--ink); border-left-color: var(--accent); background: var(--accent-soft); font-weight: 600; }
.wiki-toc a { display: block; padding: 4px 0; text-decoration: none; color: var(--muted); font-size: .92rem; }
.wiki-toc a:hover { color: var(--accent); }
.wiki-search { width: 100%; font: inherit; font-size: .95rem; padding: 9px 12px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); margin-bottom: 18px; }
.wiki-search::placeholder { color: var(--muted); }
.wiki-search:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: transparent; }
.prose { max-width: 900px; min-width: 0; }
.prose > p, .prose > ul, .prose > ol { max-width: 72ch; }
.prose > * + * { margin-top: 1.05em; }
.prose h2 { font-size: 2.2rem; text-transform: uppercase; margin-top: 2.2em; padding-top: .4em; border-top: 2px solid var(--ink); clear: both; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.45rem; text-transform: uppercase; margin-top: 1.8em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .35em; }
.prose strong { font-weight: 600; }
.prose figure { margin: 1.8em 0; }
.prose figure img, .prose figure video { border: 2px solid var(--ink); background: #1d1c19; }
.prose figure video { display: block; width: 100%; height: auto; }
.prose figcaption { margin-top: 8px; font-size: .92rem; color: var(--muted); }
.prose .lead { font-size: 1.2rem; color: var(--muted); }
.table-wrap { overflow-x: auto; border: 2px solid var(--ink); }
.prose table { width: 100%; border-collapse: collapse; font-size: .97rem; background: var(--surface); }
.prose th { text-align: left; font: 700 .95rem/1.2 var(--font-display); text-transform: uppercase; letter-spacing: .05em; background: var(--surface-2); padding: 10px 14px; white-space: nowrap; }
.prose td { padding: 9px 14px; border-top: 1px solid var(--line); vertical-align: top; }
.prose td code { white-space: nowrap; }
.callout { border-left: 4px solid var(--accent); background: var(--accent-soft); padding: 14px 18px; }
.callout strong:first-child { font-family: var(--font-display); text-transform: uppercase; letter-spacing: .05em; font-weight: 700; margin-right: 6px; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.card-link { display: flex; flex-direction: column; gap: 8px; padding: 22px; border: 2px solid var(--ink); background: var(--surface); text-decoration: none; transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.card-link:hover { color: var(--ink); transform: translate(-2px, -2px); box-shadow: var(--shadow); }
.card-link i { font-size: 1.8rem; color: var(--accent); }
.card-link h3 { font-size: 1.5rem; text-transform: uppercase; margin: 0; }
.card-link p { color: var(--muted); font-size: .97rem; }
.pager { display: flex; justify-content: space-between; gap: 16px; margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--line); }
.pager a { text-decoration: none; display: flex; flex-direction: column; gap: 4px; }
.pager a span { font: 600 .85rem/1 var(--font-display); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.pager a b { font: 700 1.35rem/1.1 var(--font-display); text-transform: uppercase; }
.pager a:last-child { text-align: right; margin-left: auto; }
.search-results { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 2px; }
.search-results a { display: block; padding: 8px 12px; text-decoration: none; background: var(--surface); border-left: 2px solid var(--accent); }
.search-results small { display: block; color: var(--muted); }
@media (max-width: 1180px) { .wiki { grid-template-columns: 220px minmax(0, 1fr); } .wiki-toc { display: none; } }
@media (max-width: 820px) {
  .wiki { grid-template-columns: 1fr; gap: 24px; padding-top: 28px; }
  .wiki-side { position: static; max-height: none; }
  .wiki-side ul { grid-template-columns: 1fr 1fr; margin-bottom: 8px; }
}

/* ---------- Wiki furniture ---------- */
.infobox { float: right; width: 300px; margin: 0 0 24px 32px; border: 2px solid var(--ink); background: var(--surface); font-size: .95rem; box-shadow: var(--shadow); }
.prose > .infobox { margin-top: 0; }
.infobox > header { background: var(--ink); color: var(--bg); padding: 10px 14px; font: 800 1.35rem/1.1 var(--font-display); text-transform: uppercase; letter-spacing: .02em; }
.infobox figure { margin: 0 !important; }
.infobox figure img { border: 0 !important; border-bottom: 1px solid var(--line) !important; }
.infobox > img, .infobox > .slot-ph { width: 100%; border-bottom: 1px solid var(--line); background: #1d1c19; }
.infobox .cap { padding: 8px 14px; font-size: .85rem; color: var(--muted); border-bottom: 1px solid var(--line); }
.infobox dl { margin: 0; }
.infobox dl > div { display: grid; grid-template-columns: 42% 1fr; gap: 10px; align-items: baseline; padding: 9px 14px; border-top: 1px solid var(--line); }
.infobox dl > div:first-child { border-top: 0; }
.infobox dt { font: 700 .85rem/1.5 var(--font-display); text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.infobox dd { margin: 0; line-height: 1.5; }
.infobox .row-head { background: var(--surface-2); font: 700 .85rem/1 var(--font-display); text-transform: uppercase; letter-spacing: .08em; padding: 8px 14px; }
.prose figure.right, .prose figure.left { width: min(46%, 400px); margin: .3em 0 1.2em; }
.prose figure.right { float: right; margin-left: 28px; }
.prose figure.left { float: left; margin-right: 28px; }
.prose figure.small { width: min(34%, 280px); }
.prose figure.wide img { width: 100%; }
.prose figure img { width: 100%; }
.prose figure.plain img { border: 0; background: none; }
.hatnote { display: flex; gap: 8px; align-items: baseline; font-style: italic; color: var(--muted); padding-left: 2px; }
.hatnote i { font-style: normal; color: var(--accent); }
.glance { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); border: 2px solid var(--ink); background: var(--surface); clear: both; }
.glance > div { padding: 16px 18px; border-left: 1px solid var(--line); }
.glance > div:first-child { border-left: 0; }
.glance b { display: block; font: 800 2rem/1 var(--font-display); color: var(--accent); }
.glance span { color: var(--muted); font-size: .92rem; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(var(--min, 170px), 1fr)); gap: 14px; margin: 1.4em 0; clear: both; }
.gallery figure { margin: 0 !important; }
.gallery figure img { border: 2px solid var(--ink); }
.gallery figcaption { margin-top: 6px; font-size: .88rem; color: var(--muted); }
.gallery.icons figure img { border: 0; background: none; }
.timeline { list-style: none; padding: 0 !important; margin: 1.4em 0; counter-reset: step; clear: both; max-width: none !important; }
.timeline > li { position: relative; display: grid; grid-template-columns: 56px minmax(0, 1fr) minmax(0, 230px); gap: 0 18px; padding: 16px 0; border-top: 1px solid var(--line); margin: 0 !important; }
.timeline > li::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 44px; height: 44px; border: 2px solid var(--ink); background: var(--surface); font: 800 1.35rem/1 var(--font-display); }
.timeline h4 { font-size: 1.3rem; text-transform: uppercase; margin: 2px 0 4px; }
.timeline p { color: var(--muted); font-size: .97rem; }
.timeline .badge { display: inline-block; font: 700 .75rem/1 var(--font-display); text-transform: uppercase; letter-spacing: .08em; padding: 4px 6px; border: 1px solid var(--line); color: var(--muted); margin-right: 6px; vertical-align: 2px; }
.timeline .badge.hot { border-color: var(--accent); color: var(--accent); }
.timeline img { width: 100%; border: 2px solid var(--ink); }
@media (max-width: 760px) { .timeline > li { grid-template-columns: 52px minmax(0, 1fr); } .timeline > li > img { grid-column: 2; margin-top: 10px; max-width: 280px; } }
kbd { display: inline-grid; place-items: center; min-width: 2.1em; height: 2.1em; padding: 0 .5em; border: 2px solid var(--ink); border-bottom-width: 4px; background: var(--surface); font: 700 .95rem/1 var(--font-display); text-transform: uppercase; color: var(--ink); }
.bindcmd { display: flex; align-items: stretch; }
.bindcmd code { flex: 1; padding: 6px 10px; display: flex; align-items: center; white-space: nowrap; overflow-x: auto; }
.bindcmd button { border: 1px solid var(--ink); background: var(--ink); color: var(--bg); font: 700 .8rem/1 var(--font-display); text-transform: uppercase; letter-spacing: .05em; padding: 0 10px; cursor: pointer; }
.nudge { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 18px 22px; align-items: center; padding: 20px 22px; background: var(--ink); color: var(--bg); border: 2px solid var(--ink); box-shadow: 6px 6px 0 var(--accent); clear: both; }
.nudge kbd { background: var(--accent); color: var(--accent-ink); border-color: #000; font-size: 1.25rem; min-width: 3.4em; height: 2.4em; }
.nudge b { display: block; font: 800 1.45rem/1.1 var(--font-display); text-transform: uppercase; margin-bottom: 4px; }
.nudge p { color: color-mix(in srgb, var(--bg) 75%, var(--ink)); font-size: .97rem; max-width: none !important; }
.nudge a.btn { box-shadow: 3px 3px 0 #000; border-color: #000; }
@media (max-width: 760px) { .nudge { grid-template-columns: auto minmax(0, 1fr); } .nudge a.btn { grid-column: 1 / -1; justify-self: start; } }
.status-pill { display: inline-block; font: 700 .8rem/1 var(--font-display); text-transform: uppercase; letter-spacing: .1em; padding: 5px 8px; background: var(--accent); color: var(--accent-ink); vertical-align: middle; }
.clear { clear: both; }
@media (max-width: 700px) {
  .infobox { float: none; width: 100%; margin: 0 0 24px; }
  .prose figure.right, .prose figure.left { float: none; width: 100%; margin: 1.2em 0; }
}

/* Town shops ({{town_shops}}) */
.shop-index { display: flex; flex-wrap: wrap; gap: 6px; margin: 1.2em 0 1.6em; clear: both; }
.shop-index a { text-decoration: none; font: 600 .92rem/1 var(--font-display); text-transform: uppercase; letter-spacing: .05em; padding: 8px 10px; border: 1px solid var(--line); background: var(--surface); }
.shop-index a:hover { border-color: var(--ink); color: var(--ink); }
.shops { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: 18px; }
.shop { border: 2px solid var(--ink); background: var(--surface); display: flex; flex-direction: column; scroll-margin-top: 90px; }
.shop .sign { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; border-bottom: 2px solid var(--ink); }
.shop header { padding: 12px 16px 4px; display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.shop h3 { font-size: 1.45rem; text-transform: uppercase; margin: 0 !important; }
.shop header span { color: var(--muted); font-size: .9rem; text-align: right; }
.trades-head { display: flex; justify-content: space-between; padding: 6px 16px; font: 700 .78rem/1 var(--font-display); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); border-bottom: 1px solid var(--line); }
.prose ul.trades { list-style: none; margin: 0; padding: 4px 0 8px; max-width: none; }
.trades li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 5px 16px; margin: 0 !important; }
.trades li:nth-child(even) { background: color-mix(in srgb, var(--surface-2) 45%, transparent); }
.trades img { width: 34px; height: 34px; object-fit: contain; flex: none; }
.trades .get { display: flex; align-items: center; gap: 10px; min-width: 0; font-size: .97rem; line-height: 1.25; }
.trades .get b { color: var(--muted); font-weight: 600; white-space: nowrap; }
.trades .pay { display: flex; align-items: center; gap: 4px; flex: none; }
.trades .pay b { font: 700 1.05rem/1 var(--font-display); font-variant-numeric: tabular-nums; }
.trades .pay img { width: 28px; height: 28px; }
.trades .noicon { width: 34px; height: 34px; flex: none; border: 1px dashed var(--line); }

/* ---------- Vote ---------- */
.sites { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.site { border: 2px solid var(--ink); background: var(--surface); padding: 26px; display: flex; flex-direction: column; gap: 12px; }
.site h3 { font-size: 1.8rem; text-transform: uppercase; }
.site .rp { font: 800 3rem/1 var(--font-display); color: var(--accent); }
.site .rp small { font-size: .4em; color: var(--muted); letter-spacing: .06em; }
.site .btn { margin-top: auto; align-self: flex-start; }
.ladder { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 2px solid var(--ink); }
.ladder div { padding: 22px; border-left: 1px solid var(--line); background: var(--surface); }
.ladder div:first-child { border-left: 0; }
.ladder b { display: block; font: 800 2.4rem/1 var(--font-display); }
.ladder span { color: var(--muted); }
.ladder em { display: block; margin-top: 8px; font-style: normal; font: 700 1.3rem/1 var(--font-display); color: var(--accent); }
.steps { counter-reset: s; list-style: none; padding: 0; display: grid; gap: 18px; }
.steps li { display: grid; grid-template-columns: 52px 1fr; gap: 14px; align-items: start; }
.steps li::before { counter-increment: s; content: counter(s); display: grid; place-items: center; width: 44px; height: 44px; border: 2px solid var(--ink); font: 800 1.4rem/1 var(--font-display); background: var(--surface); }
@media (max-width: 900px) { .sites { grid-template-columns: 1fr; } .ladder { grid-template-columns: 1fr 1fr; } .ladder div:nth-child(3) { border-left: 0; } .ladder div:nth-child(n+3) { border-top: 1px solid var(--line); } }

/* ---------- About / Discord ---------- */
.two-col { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.facts { border: 2px solid var(--ink); background: var(--surface); }
.facts div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 14px 20px; border-top: 1px solid var(--line); }
.facts div:first-child { border-top: 0; }
.facts dt { color: var(--muted); font: 600 1rem/1.3 var(--font-display); text-transform: uppercase; letter-spacing: .05em; }
.facts dd { margin: 0; text-align: right; font-weight: 600; }
.facts dl { margin: 0; }
.discord-card { border: 2px solid var(--ink); background: var(--ink); color: var(--bg); padding: 32px; display: flex; flex-direction: column; gap: 18px; box-shadow: 10px 10px 0 var(--accent); }
.discord-card h2 { font-size: 2.2rem; text-transform: uppercase; }
.discord-card .counts { display: flex; gap: 28px; }
.discord-card .counts b { display: block; font: 800 2.6rem/1 var(--font-display); }
.discord-card .counts span { color: color-mix(in srgb, var(--bg) 70%, var(--ink)); font-size: .95rem; }
.discord-card .btn { align-self: flex-start; border-color: #000; }
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; } }

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
  .reveal.in { opacity: 1; transform: none; }
  .hero-copy > * { animation: rise .9s var(--ease) both; animation-delay: calc(var(--i, 0) * 90ms + 80ms); }
  .hero-art img { animation: settle 1.6s var(--ease) both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
@keyframes settle { from { opacity: 0; transform: scale(1.05); } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* Wipe-day phase line (PvP / chaos / shutdown countdown, site.js); hidden outside wipe day. */
.wipe-phase { font-family: var(--font-mono); font-variant-numeric: tabular-nums; color: var(--ink); font-weight: 700; }
.wipe .wipe-phase { margin: 10px 0 0; font-size: 1rem; }
.wipe-phase[hidden] { display: none !important; }
