/* The game's own palette and type, so the page and the gate read as one place:
   tooled leather, gilt edges, parchment ink. */
:root {
  --void: #0d0b08;
  --surface: #17130e;
  --surface-2: #211b14;
  --surface-3: #2e261b;
  --fg: #f0e5cf;
  --fg-soft: #cdbf9f;
  --fg-faint: #a3957a;
  --gold: #d6a441;
  --line: 1.5px solid #6d5426;
  --display: "IM Fell English", "Iowan Old Style", Georgia, serif;
  --titling: "Emberwold Titling", "IM Fell English", Georgia, serif;
  --sans: "Alegreya Sans", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --measure: 40rem;
}

* { box-sizing: border-box; }
html { font-synthesis-weight: none; scroll-behavior: smooth; }
/* Scrollbars in the page's own leather and gilt. Nothing said the page was dark, so a browser that draws its bars
   (a mouse on a Mac, every Windows) drew them pale grey down the side of it and beside the guide's contents. */
html { color-scheme: dark; scrollbar-color: #5a4626 var(--void); }
.toc { scrollbar-color: rgba(214, 164, 65, .28) transparent; }
.toc:hover { scrollbar-color: rgba(214, 164, 65, .5) transparent; }
/* Safari reads only these. */
::-webkit-scrollbar { width: 10px; height: 10px; background: var(--void); }
::-webkit-scrollbar-thumb { background: #5a4626; border: 2px solid var(--void); border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: #7a6032; }
.toc::-webkit-scrollbar { width: 6px; background: transparent; }
.toc::-webkit-scrollbar-thumb { background: rgba(214, 164, 65, .28); border: 0; }
/* A link into the page lands with its heading below the bar rather than under
   it. The bar wraps to two lines on a narrower screen, so its height is
   measured (play.js sets --bar) and this is only the fallback. */
html { scroll-padding-top: calc(var(--bar, 64px) + 20px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: radial-gradient(120% 60% at 50% 0%, #241a10 0%, var(--void) 70%) fixed, var(--void);
  color: var(--fg); font-family: var(--sans); font-size: 1.0625rem; line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--gold); text-underline-offset: 3px; }
a:focus-visible, .btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
code { font-family: var(--mono); font-size: .9em; color: var(--fg); background: var(--surface-2);
  padding: 1px 5px; border-radius: 2px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ── the bar across the top ───────────────────────────────────────── */
.top {
  position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 12px clamp(16px, 4vw, 40px);
  background: rgba(13, 11, 8, .86); backdrop-filter: blur(6px); border-bottom: 1px solid rgba(214, 164, 65, .18);
}
.mark { font-family: var(--titling); font-weight: 400; font-size: 1.25rem; letter-spacing: .12em; text-transform: uppercase; color: var(--fg); text-decoration: none; }
/* The menu and the kicker in the logo's small capitals (lowercase, which the titling face sets as small capitals):
   in spaced monospace they were the one line of the page that read like a terminal. */
.top nav { display: flex; flex-wrap: wrap; gap: 4px 18px; justify-content: flex-end;
  font-family: var(--titling); font-size: 1rem; letter-spacing: .08em; text-transform: lowercase; }
.top nav a { color: var(--fg-soft); text-decoration: none; }
.top nav a:hover { color: var(--fg); }
.top nav a.play { color: var(--gold); }
/* On a phone the bar keeps the two ways out of the page — the guide and the game — and drops the sections. */
@media (max-width: 760px) { .top nav a:not(.play):not(.keep) { display: none; } }
/* …unless the page's script is there to open a menu (play.js sets .menu-js): then the bar is the mark, the way into
   the game and a Menu button, and the sections open under it as a list a thumb can use — every one of them, not two. */
.menu-toggle, .play-bar { display: none; }
@media (max-width: 760px) {
  .menu-js .has-menu .play-bar { display: inline-flex; margin-left: auto; font-family: var(--titling); font-size: 1.05rem;
    letter-spacing: .08em; text-transform: lowercase; color: var(--gold); text-decoration: none; padding: 8px 4px; }
  .menu-js .has-menu .menu-toggle { display: inline-flex; align-items: center; gap: 9px; min-height: 40px; padding: 6px 12px;
    background: transparent; border: 1px solid rgba(214, 164, 65, .35); border-radius: 3px; color: var(--fg);
    font-family: var(--titling); font-size: 1.05rem; letter-spacing: .08em; text-transform: lowercase; cursor: pointer; }
  .menu-js .has-menu .menu-toggle:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
  /* three strokes, the middle one shorter: drawn, since the titling face has no such glyph */
  .menu-lines { position: relative; width: 16px; height: 2px; background: currentColor; }
  .menu-lines::before, .menu-lines::after { content: ''; position: absolute; left: 0; height: 2px; background: currentColor; }
  .menu-lines::before { top: -5px; width: 16px; } .menu-lines::after { top: 5px; width: 11px; }
  .has-menu.open .menu-lines { background: transparent; }
  .has-menu.open .menu-lines::before { top: 0; width: 16px; transform: rotate(45deg); }
  .has-menu.open .menu-lines::after { top: 0; width: 16px; transform: rotate(-45deg); }
  .menu-js .top.has-menu nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0;
    padding: 6px clamp(16px, 4vw, 40px) 14px; background: #0d0b08; border-bottom: 1px solid rgba(214, 164, 65, .25);
    /* one column whatever the height: the bar's own wrap carried over, and on a short screen the last of the list
       broke into a second column beside the first; a list taller than the screen scrolls inside instead */
    flex-wrap: nowrap; justify-content: flex-start; box-shadow: 0 18px 30px rgba(0, 0, 0, .5); max-height: calc(100dvh - var(--bar, 64px));
    overflow-y: auto; overscroll-behavior: contain; font-size: 1.2rem; }
  .menu-js .top.has-menu.open nav { display: flex; }
  /* .top in the selector too: the phone rule above that drops the sections is three classes deep */
  .menu-js .top.has-menu nav a { display: block; padding: 11px 2px; border-bottom: 1px solid rgba(214, 164, 65, .1); }
  .menu-js .top.has-menu nav a:last-of-type { border-bottom: 0; }
  /* the game has its own place in the bar; in the list it would be said twice */
  .menu-js .top.has-menu nav a.play { display: none; }
}
/* A narrow phone holds the mark, the game and the button on one line only if the mark gives up some of its spacing,
   and the narrowest keeps the button's three strokes and lets the word go to a screen reader alone. */
@media (max-width: 420px) {
  .menu-js .top.has-menu { gap: 10px; }
  .menu-js .has-menu .mark { font-size: 1.05rem; letter-spacing: .07em; }
  .menu-js .has-menu .mark img { width: 26px; height: 26px; }
}
@media (max-width: 380px) {
  .menu-js .has-menu .menu-word { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .menu-js .has-menu .menu-toggle { padding: 6px 11px; }
}

main { padding: 0 clamp(16px, 4vw, 40px); }

/* ── every section, down the left ────────────────────────────────── */
/* The bar keeps five places, because thirteen wrapped it onto a second line; this keeps every section a click away.
   Only on a screen wide enough to keep the reading clear of it — the wide pictures give up what it takes, rather than
   pass under it — and only once the first screen is behind, so it never sits over the opening. */
.page-index { display: none; }
@media (min-width: 1400px) {
  .page-index { display: flex; flex-direction: column; gap: 2px; position: fixed; z-index: 5; left: clamp(16px, 2.4vw, 48px);
    top: calc(var(--bar, 64px) + 48px); width: 170px; font-family: var(--titling); font-size: .95rem; letter-spacing: .06em;
    text-transform: lowercase; opacity: 0; visibility: hidden; transition: opacity .3s, visibility 0s .3s; }
  .page-index.shown { opacity: 1; visibility: visible; transition: opacity .3s; }
  .page-index a { color: var(--fg-faint); text-decoration: none; padding: 3px 0 3px 12px; border-left: 2px solid rgba(214, 164, 65, .15); }
  .page-index a:hover { color: var(--fg); }
  .page-index a.here { color: var(--fg); border-left-color: var(--gold); }
}

/* ── the first screen ─────────────────────────────────────────────── */
.hero {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 56px);
  align-items: center; max-width: 1240px; margin: 0 auto; padding: clamp(40px, 8vw, 96px) 0 clamp(32px, 6vw, 72px);
}
@media (max-width: 900px) { .hero { grid-template-columns: 1fr; } }
.kicker { margin: 0 0 12px; font-family: var(--titling); font-size: 1.05rem; letter-spacing: .12em;
  text-transform: lowercase; color: var(--fg-faint); }
h1 { margin: 0; font-family: var(--display); font-weight: 700; font-size: clamp(2rem, 4.6vw, 3.3rem);
  line-height: 1.08; letter-spacing: -.01em; }
.lede { margin: 20px 0 0; color: var(--fg-soft); font-size: 1.125rem; max-width: 34rem; }
.cta { margin: 28px 0 0; display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
  /* The gate's word for a button — Wake — is set in the game's sans in spaced capitals, and so are these: in spaced mono
     they were where the page stopped sounding like the game and started sounding like a terminal. Mono is kept for
     code, keys and bare numbers. */
  display: inline-block; padding: 11px 20px; font-family: var(--sans); font-weight: 500; font-size: .875rem; letter-spacing: .12em;
  text-transform: uppercase; text-decoration: none; color: var(--fg); background: var(--surface-2);
  border: var(--line); border-radius: 2px; transition: background-color .12s, border-color .12s;
}
.btn:hover { background: var(--surface-3); border-color: var(--gold); }
.btn.quiet { background: transparent; color: var(--fg-soft); }

/* ── pictures of the game, framed like its windows ───────────────── */
.shot { margin: 0; }
.shot img {
  display: block; width: 100%; height: auto; border: var(--line); border-radius: 3px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .55);
}
.shot figcaption { margin-top: 10px; font-size: .875rem; color: var(--fg-faint); }
/* A picture of a wide screen is unreadable on a narrow one: these swap in the game as a phone shows it (a <picture>),
   held to a phone's width so a full-height screen is not two screens of the page. */
@media (max-width: 600px) { .shot.phone-tall img { max-width: 320px; margin-inline: auto; } }
.hero-shot img { box-shadow: 0 24px 70px rgba(0, 0, 0, .7), 0 0 0 6px rgba(214, 164, 65, .06); }

.gallery {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px;
  max-width: 1240px; margin: 8px auto 72px;
}
.gallery.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .gallery, .gallery.three { grid-template-columns: 1fr; } }

/* ── reading ──────────────────────────────────────────────────────── */
.prose { max-width: var(--measure); margin: 0 auto; padding: 32px 0; }
.prose h2, .come h2 {
  /* in the logo's capitals, the lowercase as small capitals: a heading is a name, and the wordmark's hand says so */
  margin: 0 0 18px; font-family: var(--titling); font-weight: 400; letter-spacing: .03em; font-size: clamp(1.6rem, 3vw, 2.1rem);
  line-height: 1.15;
}
.prose h2::after { content: ''; display: block; width: 44px; height: 2px; margin-top: 12px; background: var(--gold); opacity: .7; }
.prose p { margin: 0 0 1.1em; color: var(--fg-soft); }
.prose em { color: var(--fg); font-style: italic; }
.prose ul { padding-left: 1.2em; color: var(--fg-soft); }
.prose li { margin-bottom: .7em; }
.prose li b { color: var(--fg); font-weight: 600; }

/* ── the numbers ──────────────────────────────────────────────────── */
.facts { max-width: 1040px; margin: 24px auto 56px; padding: 28px clamp(16px, 3vw, 32px);
  background: var(--surface); border: var(--line); border-radius: 3px; }
.facts ul { list-style: none; margin: 0; padding: 0; display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px 28px; }
@media (max-width: 760px) { .facts ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.facts li { display: flex; flex-direction: column; gap: 4px; }
.facts b { font-family: var(--display); font-size: 2.2rem; line-height: 1; color: var(--gold); }
.facts span { font-size: .9rem; color: var(--fg-soft); line-height: 1.4; }
.facts .note { margin: 20px 0 0; font-family: var(--sans); font-size: .875rem; line-height: 1.5; color: var(--fg-faint); }

/* ── classes ──────────────────────────────────────────────────────── */
.classes { margin: 18px 0 20px; display: grid; grid-template-columns: max-content 1fr; gap: 8px 16px; }
.classes dt { font-family: var(--display); font-weight: 600; color: var(--fg); }
.classes dd { margin: 0; color: var(--fg-soft); }

.honest { border-top: 1px solid rgba(214, 164, 65, .18); border-bottom: 1px solid rgba(214, 164, 65, .18);
  margin-top: 24px; margin-bottom: 24px; }
.tech li { margin-bottom: .9em; }

/* ── the playtest, while there is one (src/site/playtest.ts) ─────── */
.playtest-band { max-width: 48rem; margin: 0 auto 48px; padding: 28px clamp(18px, 3vw, 32px);
  background: var(--surface); border: var(--line); border-radius: 3px; }
.playtest-band h2 { margin: 0 0 14px; font-family: var(--titling); font-weight: 400; letter-spacing: .03em;
  font-size: clamp(1.4rem, 2.6vw, 1.8rem); line-height: 1.15; }
.playtest-band p { margin: 0 0 .9em; color: var(--fg-soft); }
.playtest-band b { color: var(--fg); font-weight: 600; }
.playtest-band .cta { margin: 20px 0 0; }
/* The playtest's page reads as the guide does: room above each section, the first one included. */
.playtest-page .prose { padding-top: clamp(40px, 6vw, 72px); }
.playtest-page .prose h2 { margin-top: 48px; }
.playtest-page .come { margin: 56px 0 0; text-align: left; }
.playtest-page .come .cta { justify-content: flex-start; }
.prose .playtest-note { margin: 18px 0 28px; padding: 12px 16px; border-left: 2px solid var(--gold);
  background: var(--surface); color: var(--fg-soft); font-size: .95rem; }

.come { max-width: var(--measure); margin: 40px auto 80px; text-align: center; }
.come p { color: var(--fg-soft); }
.come .cta { justify-content: center; }

footer { padding: 28px clamp(16px, 4vw, 40px) 40px; border-top: 1px solid rgba(214, 164, 65, .14);
  text-align: center; font-size: .85rem; color: var(--fg-faint); }
footer p { max-width: var(--measure); margin: 0 auto; }
.foot-links { margin-top: 0 !important; }
/* Padded to a thumb's size: it was a 37 by 16 target at the foot of a long page. */
.foot-links a { color: var(--fg-soft); display: inline-block; padding: 12px 10px; }

/* ── how it's made, said at the door ──────────────────────────────── */
.made-note { margin: 18px 0 0; font-size: .9rem; color: var(--fg-faint); }
.made { background: var(--surface); border: var(--line); border-radius: 3px;
  padding: 28px clamp(18px, 3vw, 32px); margin-top: 8px; margin-bottom: 32px; }
.made ul { margin-bottom: 0; }

/* One picture on its own, as wide as the reading and a little more. */
.shot.solo { max-width: 1040px; margin: 8px auto 56px; }

/* ── the traveller's guide (/guide/, made from docs/GUIDE.md) ────────
   The reading down the middle and the contents beside it, kept in view as you go; on a phone the
   contents fold into one line above the reading. */
.guide { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(24px, 4vw, 56px);
  max-width: 1120px; margin: 0 auto; padding-top: clamp(28px, 5vw, 56px); }
/* A window from the game is portrait, and read at the size it is on screen rather than stretched across the column. */
.guide-body .shot.window { max-width: 400px; margin-left: auto; margin-right: auto; }
/* Except the talents, whose two columns are the window: folded to 400px they would be a window nobody sees. */
.guide-body .shot.window.wide { max-width: none; }
.guide-body .shot.window img { border-radius: 6px; }
.guide-body { max-width: 44rem; margin: 0; padding: 0 0 40px; }
.guide-body h1 { margin-bottom: 8px; }
.guide-sub { font-family: var(--sans); font-style: italic; font-size: 1.2rem; color: var(--fg); margin-bottom: 1.4em !important; }
.guide-body h2.part { margin-top: 64px; font-size: clamp(1.8rem, 3.4vw, 2.4rem); }
.guide-body h2.part + .shot { margin: 4px 0 28px; }
.guide-body h3 { margin: 40px 0 12px; font-family: var(--display); font-weight: 600; font-size: 1.45rem; line-height: 1.2; color: var(--fg); }
.guide-body h4 { margin: 28px 0 10px; font-family: var(--display); font-size: 1.15rem; color: var(--fg); }
.guide-body hr { border: 0; height: 1px; margin: 40px 0; background: linear-gradient(90deg, transparent, rgba(214, 164, 65, .35), transparent); }
.guide-body strong { color: var(--fg); font-weight: 700; }
.guide-body li p { margin: .5em 0 0; }
.guide-body ol { padding-left: 1.4em; color: var(--fg-soft); }
kbd { display: inline-block; min-width: 1.6em; padding: 0 .4em; font-family: var(--mono); font-size: .8em; line-height: 1.55;
  text-align: center; color: var(--fg); background: var(--surface-2); border: 1px solid #6d5426; border-bottom-width: 2px;
  border-radius: 3px; vertical-align: .08em; }
.table { overflow-x: auto; margin: 0 0 1.4em; border: 1px solid rgba(214, 164, 65, .22); border-radius: 3px; }
.table table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.table th, .table td { padding: 8px 12px; text-align: left; vertical-align: top; border-bottom: 1px solid rgba(214, 164, 65, .12); color: var(--fg-soft); }
.table th { font-family: var(--sans); font-weight: 500; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--fg-faint); background: var(--surface); }
.table tr:last-child td { border-bottom: 0; }
.table td:first-child { color: var(--fg); white-space: nowrap; }
.guide-body .come { margin: 72px 0 0; text-align: left; }
.guide-body .come .cta { justify-content: flex-start; }
.guide-body .come h2::after { display: none; }

.toc { position: sticky; top: calc(var(--bar, 64px) + 16px); align-self: start; max-height: calc(100vh - var(--bar, 64px) - 32px);
  overflow-y: auto; padding-right: 6px; font-size: .9rem; scrollbar-width: thin; }
.toc summary { cursor: pointer; font-family: var(--sans); font-weight: 500; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--fg-faint); list-style: none; padding: 4px 0 10px; }
.toc summary::-webkit-details-marker { display: none; }
.toc ol { list-style: none; margin: 0; padding: 0; }
.toc li { margin: 0; }
.toc a { display: block; padding: 3px 0 3px 10px; color: var(--fg-soft); text-decoration: none; border-left: 2px solid transparent; line-height: 1.35; }
.toc a:hover { color: var(--fg); }
.toc a.here { color: var(--gold); border-left-color: var(--gold); }
.toc-part { margin-top: 14px !important; }
.toc-part > span { display: block; padding-left: 12px; font-family: var(--sans); font-weight: 500; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--fg-faint); }
.toc-part > a { font-family: var(--display); font-size: 1.02rem; color: var(--fg); }
.toc-part ol a { padding-left: 20px; font-size: .86rem; }
.toc-lone { margin-top: 10px !important; }
.top nav a[aria-current="page"] { color: var(--fg); }

@media (max-width: 900px) {
  /* minmax(0, …), not 1fr: a bare 1fr will not shrink below its widest line, and the chat table's commands
     held the whole page at twice a phone's width. */
  .guide { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .toc { position: static; max-height: none; overflow: visible; background: var(--surface); border: var(--line);
    border-radius: 3px; padding: 10px 14px; }
  .toc summary { padding: 4px 0; min-height: 40px; display: flex; align-items: center; gap: .5em; }
  .toc a { padding-top: 7px; padding-bottom: 7px; }
  .toc details[open] summary { padding-bottom: 8px; }
  .guide-page .top nav a:not(.play) { display: inline; }
}
@media (max-width: 900px) {
  .toc summary::after { content: '  ▾'; }
  .toc details[open] summary::after { content: '  ▴'; }
}
/* On a phone a table's first column may wrap — the chat commands held it at three quarters of the screen and left
   their meanings a word a line — and a table of four columns (the keys) folds each row into two pairs, so nothing
   has to be scrolled sideways to be read. */
@media (max-width: 600px) {
  .table td:first-child { white-space: normal; }
  .table kbd { white-space: nowrap; }
  .table table:has(tr > :nth-child(4)) thead { display: none; }
  .table table:has(tr > :nth-child(4)) tr { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border-bottom: 1px solid rgba(214, 164, 65, .12); }
  .table table:has(tr > :nth-child(4)) td { border-bottom: 0; }
  .table table:has(tr > :nth-child(4)) td:nth-child(odd) { color: var(--fg); }
  .table table:has(tr > :nth-child(4)) tr:last-child { border-bottom: 0; }
}

/* ── the logo ─────────────────────────────────────────────────────────
   The emblem beside the name in the bar, cut out round its ring so it stands on the dark as a seal; and the whole
   logo over the hero as what it was drawn as, a printed plate on parchment, rather than recoloured for the dark —
   its ink is the coal's body and the letters', and turned light it read as a negative. */
.mark { display: inline-flex; align-items: center; gap: 10px; }
.mark img { width: 30px; height: 30px; flex: none; }
/* The way back to the top, so a thumb's height to tap, without the bar growing for it. */
.mark { min-height: 44px; margin: -8px 0; }
.logo-plate { display: block; width: min(176px, 48vw); height: auto; margin: 0 0 22px; border-radius: 3px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .6), 0 0 0 1px rgba(214, 164, 65, .28); }

/* ── the release notes ────────────────────────────────────────────────
   The guide's frame — the releases beside the reading, kept in view — with each release a dated entry on a thread
   that runs down the page, its changes in the world set out to be read. */
.changes .lede { margin: 16px 0 0; }
.tally { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin: 32px 0 8px;
  background: rgba(214, 164, 65, .22); border: var(--line); border-radius: 3px; overflow: hidden; }
.tally div { padding: 14px 16px; background: var(--surface); }
.tally dt { font-family: var(--titling); font-size: .95rem; letter-spacing: .1em; text-transform: lowercase; color: var(--fg-faint); }
.tally dd { margin: 4px 0 0; font-family: var(--titling); font-size: 1.5rem; letter-spacing: .04em; line-height: 1.15; color: var(--gold); }
.release { position: relative; margin: 0; padding: 48px 0 8px 32px; border-left: 1px solid rgba(214, 164, 65, .28); }
.release:first-of-type { margin-top: 40px; }
.release::before { content: ''; position: absolute; left: -6px; top: 58px; width: 11px; height: 11px; border-radius: 50%;
  background: var(--void); border: 2px solid #8a6a2c; box-sizing: border-box; }
.release.newest::before { background: radial-gradient(circle at 50% 60%, #ffd678 0 25%, #d97821 55%, #7a3a10 100%);
  border-color: #f0b54e; box-shadow: 0 0 10px rgba(240, 150, 50, .7); }
.release-date { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 4px; font-size: .9rem; color: var(--fg-faint); }
.release-date time { margin-right: 4px; }
.chip { display: inline-block; padding: 1px 9px 2px; font-family: var(--titling); font-size: .8rem; letter-spacing: .08em;
  text-transform: lowercase; color: var(--fg-soft); border: 1px solid rgba(214, 164, 65, .35); border-radius: 999px; }
.chip.latest { color: #1a1108; background: var(--gold); border-color: var(--gold); }
.chip.wipe { color: #f2b9a4; border-color: rgba(220, 110, 80, .55); }
/* On top of the page's scroll-padding, so the date above the number lands in view too. */
.release h2 { scroll-margin-top: 14px; }
.release h2 { margin: 0; font-family: var(--titling); font-weight: 400; font-size: clamp(1.7rem, 3.2vw, 2.2rem);
  letter-spacing: .06em; line-height: 1.1; color: var(--fg); }
.release.newest h2 { color: var(--gold); }
.release-lead { margin: 14px 0 0; font-family: var(--sans); font-style: italic; font-size: 1.15rem; line-height: 1.5; color: var(--fg); }
.release .world { list-style: none; margin: 22px 0 0; padding: 0; }
.release .world li { margin: 0; padding: 14px 0 14px 22px; position: relative; border-top: 1px solid rgba(214, 164, 65, .1); }
.release .world li:first-child { border-top: 0; padding-top: 4px; }
.release .world li::before { content: ''; position: absolute; left: 2px; top: 1.15em; width: 7px; height: 7px;
  transform: rotate(45deg); background: #b5852f; opacity: .8; }
.release .world li:first-child::before { top: calc(1.15em - 10px); }
.release .world h4 { margin: 0 0 4px; font-family: var(--display); font-weight: 600; font-size: 1.15rem; line-height: 1.3; color: var(--fg); }
.release .world p { margin: 0; color: var(--fg-soft); }
.release em { color: var(--fg); }
.release strong { color: var(--fg); font-weight: 700; }
.quiet-release { margin: 18px 0 0; color: var(--fg-faint); font-style: italic; }
.changes-page .toc a { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.changes-page .toc a b { font-weight: 500; color: inherit; font-variant-numeric: tabular-nums; }
.changes-page .toc a span { font-size: .78rem; color: var(--fg-faint); white-space: nowrap; }
@media (max-width: 600px) {
  .tally { grid-template-columns: minmax(0, 1fr); }
  .tally div { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 10px 14px; }
  .tally dd { margin: 0; font-size: 1.3rem; }
  .release { padding-left: 20px; }
}

/* ── the privacy page ─────────────────────────────────────────────────
   Prose at the reading measure, set a little closer than an essay: a page people come to for one answer. */
.legal { padding-top: clamp(28px, 5vw, 56px); padding-bottom: 64px; }
.legal h1 { margin-bottom: 8px; }
.legal .lede { margin: 12px 0 0; }
.legal-date { margin-top: 10px !important; font-size: .9rem; color: var(--fg-faint) !important; }
.legal h2 { margin-top: 44px; }
.legal li { margin-bottom: .8em; }
.legal-contact { padding: 12px 16px; background: var(--surface); border: var(--line); border-radius: 3px; color: var(--fg) !important; }
.legal-contact[data-pending] { border-style: dashed; color: var(--fg-faint) !important; font-style: italic; }

/* Beside the index down the left (above, by the bar), the wide pictures give up the room it takes. Here, after their
   own rules, so these win. */
@media (min-width: 1400px) {
  .gallery { max-width: min(1240px, calc(100vw - 2 * 230px)); }
  .shot.solo, .facts { max-width: min(1040px, calc(100vw - 2 * 230px)); }
}
