/* wiki-core.css: generated by site/tools/build_pages.py from site.css, pages.css, wiki.css, art.css. Edit those files, not this one. */
/* Seidr Awakening - site styles (2026-11 redesign).
   Layout: painted scenes carry every big moment; type and gold frames sit on them like a game's own menus.
   Colour comes from the game itself: Hesh lapis and gold on umber stone, Oru lantern teal, Thalm deep-sea magenta, the Skein's cyan.
   One radius band (2px), no box shadows. Logo face: Metamorphous (the game's title face). Headings and labels: Archivo. Body: Literata. */
/* widths in em, not ch: 1ch = .578em in Literata and Archivo, and ch would change when the fallback font swaps */

@font-face { font-family: "Archivo"; src: url("../assets/fonts/archivo-var-latin.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Metamorphous"; src: url("../assets/fonts/metamorphous-latin.woff2") format("woff2"); font-weight: 400; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Literata"; src: url("../assets/fonts/literata-normal-latin.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Literata"; src: url("../assets/fonts/literata-italic-latin.woff2") format("woff2"); font-weight: 400 700; font-style: italic; font-display: swap; }
/* size-matched fallbacks, so the page does not jump when the real fonts arrive */
@font-face { font-family: "Literata Fallback"; src: local("Georgia"); font-weight: 100 500; font-style: normal; size-adjust: 106.2%; ascent-override: 110.8%; descent-override: 29.0%; line-gap-override: 0%; }
@font-face { font-family: "Literata Fallback"; src: local("Georgia Bold"), local("Georgia-Bold"); font-weight: 600 900; font-style: normal; size-adjust: 97.5%; ascent-override: 120.7%; descent-override: 31.6%; line-gap-override: 0%; }
@font-face { font-family: "Literata Fallback"; src: local("Georgia Italic"), local("Georgia-Italic"); font-weight: 100 900; font-style: italic; size-adjust: 89.7%; ascent-override: 131.2%; descent-override: 34.3%; line-gap-override: 0%; }
@font-face { font-family: "Archivo Fallback"; src: local("Arial"); font-weight: 100 500; size-adjust: 97.7%; ascent-override: 89.9%; descent-override: 21.5%; line-gap-override: 0%; }
@font-face { font-family: "Archivo Fallback"; src: local("Arial Bold"), local("Arial-BoldMT"); font-weight: 600; size-adjust: 94.9%; ascent-override: 92.5%; descent-override: 22.1%; line-gap-override: 0%; }
@font-face { font-family: "Archivo Fallback"; src: local("Arial Bold"), local("Arial-BoldMT"); font-weight: 700; size-adjust: 100.1%; ascent-override: 87.7%; descent-override: 21.0%; line-gap-override: 0%; }
@font-face { font-family: "Archivo Fallback"; src: local("Arial Bold"), local("Arial-BoldMT"); font-weight: 800; size-adjust: 103.0%; ascent-override: 85.2%; descent-override: 20.4%; line-gap-override: 0%; }
@font-face { font-family: "Archivo Fallback"; src: local("Arial Bold"), local("Arial-BoldMT"); font-weight: 900; size-adjust: 107.2%; ascent-override: 81.9%; descent-override: 19.6%; line-gap-override: 0%; }
@font-face { font-family: "Metamorphous Fallback"; src: local("Palatino Linotype"); size-adjust: 125.2%; ascent-override: 76.9%; descent-override: 22.9%; line-gap-override: 0%; }
@font-face { font-family: "SeidrRunes"; src: url("../assets/fonts/noto-runic.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "SeidrHiero"; src: url("../assets/fonts/noto-hiero.woff2") format("woff2"); font-display: swap; }

:root {
  /* ground: umber stone, the colour of the dunes after Eld has set */
  --night-0: #17110c;
  --night-1: #20170f;
  --night-2: #2b1f14;
  --night-3: #3a2a1b;
  /* brand: Hesh gold, as on the game's banners and HUD frames */
  --ember: #e2b04a;
  --ember-hi: #f6d27e;
  --ember-deep: #8a5c1c;
  --metal: linear-gradient(180deg, #fff0bf 0%, #efc561 38%, #c98f2c 62%, #f0c96a 100%);
  /* the lapis of the Hesh banners, used as a whole surface */
  --lapis-ground: #22398f;
  --lapis-ground-2: #1b2e76;
  /* accent: the Skein */
  --skein: #6fe3e4;
  /* legacy names kept so every page and the play lane's styles still resolve */
  --lapis: #9a4a26;
  --lapis-hi: #6fe3e4;
  --bronze: #b9803f;
  --bronze-hi: #d9a15e;
  --verdigris: #6fb8a2;
  --sand: #ecd9bc;
  --sand-dim: #c2ad8f;
  --gold: #f0b65a;
  --gold-deep: #b9803f;
  --ink: #f4eadb;
  --ink-2: #c9b9a4;
  --ink-3: #9c8a76;
  --line: rgba(240, 214, 180, .16);
  --line-hi: rgba(240, 182, 90, .5);
  --hesh: #f0b65a;
  --oru: #59d6c3;
  --oru-copper: #d98b4c;
  --thalm: #e36ab4;
  --thalm-mag: #e36ab4;
  --ok: #8fdcaa;
  --warn: #ffb55a;
  --f-display: "Archivo", "Archivo Fallback", "Arial Black", "Helvetica Neue", Arial, sans-serif;
  --f-logo: "Metamorphous", "Metamorphous Fallback", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  --f-label: "Archivo", "Archivo Fallback", "Helvetica Neue", Arial, sans-serif;
  --f-body: "Literata", "Literata Fallback", Charter, "Iowan Old Style", Georgia, serif;
  --f-glyph: "SeidrRunes", "SeidrHiero", "Segoe UI Historic", "Noto Sans Runic", "Noto Sans Egyptian Hieroglyphs", serif;
  --gutter: max(16px, 4.5vw);
  --maxw: 1320px;
  --header-h: 72px;
  --r: 2px;
  --shade: 0 30px 80px -40px rgba(0, 0, 0, .9); /* the one elevation, used only by the open mobile menu */
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); background: var(--night-0); color-scheme: dark; }
body {
  margin: 0; min-height: 100vh; background: var(--night-0); color: var(--ink);
  font: 400 1.125rem/1.7 var(--f-body); font-optical-sizing: auto;
  overflow-x: hidden; text-rendering: optimizeLegibility;
}
[hidden] { display: none !important; }
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--gold); text-decoration-thickness: 1px; text-underline-offset: .22em; }
/* a long file name or address in running text may break rather than push the page sideways */
main p a, main li a, main dd a { overflow-wrap: anywhere; }
/* a long word (EmulationStation, Licences) on a narrow screen with a large browser font breaks instead of widening the page */
p, li, dt, dd, figcaption, h1, h2, h3, h4 { overflow-wrap: break-word; }
@media (max-width: 26em) { p, li, dt, dd, h1, h2, h3 { hyphens: auto; } h1, h2 { overflow-wrap: anywhere; } }
a:hover { color: #ffd795; }
:focus-visible { outline: 2px solid var(--skein); outline-offset: 3px; border-radius: var(--r); }
::selection { background: var(--ember); color: #23160a; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 100; background: var(--ember); color: #160b05; padding: .6rem 1rem; border-radius: var(--r); font: 700 .875rem/1 var(--f-label); text-transform: uppercase; letter-spacing: .1em; }
.skip:focus { top: 12px; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- type ---------- */
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 800; line-height: 1; margin: 0 0 .45em; color: var(--ink); text-wrap: balance; letter-spacing: -.015em; }
h1 { font-size: clamp(2.8rem, 7vw, 6.2rem); line-height: .9; letter-spacing: -.03em; text-transform: uppercase; font-weight: 900; }
h2 { font-size: clamp(2.1rem, 4.4vw, 3.9rem); line-height: .95; letter-spacing: -.025em; text-transform: uppercase; font-weight: 900; }
h3 { font-size: clamp(1.3rem, 2vw, 1.65rem); line-height: 1.1; color: var(--sand); font-weight: 750; letter-spacing: -.01em; }
h4 { font-size: 1.2rem; color: var(--gold); }
p { margin: 0 0 1.1em; max-width: 36.99em; }
.lead { font-size: clamp(1.2rem, 1.7vw, 1.42rem); line-height: 1.55; color: var(--ink); max-width: 30.06em; }
.muted { color: var(--ink-2); }
.small { font-size: 1rem; line-height: 1.6; }
.kicker { font: italic 400 1.1rem/1.4 var(--f-body); color: var(--sand-dim); margin: 0 0 .8rem; }
.glyph { font-family: var(--f-glyph); font-style: normal; font-weight: 400; }
.nowrap { white-space: nowrap; }
em, i { font-style: italic; }
strong { font-weight: 650; color: var(--ink); }
code, kbd, samp { font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; font-size: .86em; }
kbd { display: inline-block; min-width: 1.7em; text-align: center; padding: .05em .45em; margin: 0 .05em; border: 1px solid var(--line-hi); border-bottom-width: 2px; border-radius: var(--r); background: rgba(255,255,255,.04); color: var(--sand); line-height: 1.5; }
/* inline code: a name or command moves whole to the next line and breaks only when longer than a line (critic round 32 D1) */
code { background: rgba(255,255,255,.06); padding: .08em .35em; border-radius: var(--r); color: var(--sand); overflow-wrap: break-word; }
pre { margin: 0; overflow-x: auto; }
/* licences.html: long licence texts wrap inside the column on every width (critic round 33 D4) */
.licence-text { white-space: pre-wrap; overflow-wrap: anywhere; font-size: .8125rem; line-height: 1.55; color: var(--ink); background: var(--night-1); border: 1px solid var(--line); border-radius: var(--r); padding: 1rem 1.1rem; margin-top: 1.5rem; }
/* a phone: the file's own line breaks give way (build_credits.py marks them), so a text wraps once, at the phone's width */
@media (max-width: 699px) {
  .licence-text .soft, .licence-text .ind { white-space: normal; }
  .licence-text { padding: .8rem .7rem; }
}
/* licences.html: the contents box, the crates by licence, and one folded section per text (S-AWK-C19-LICENCES-LENGTH) */
.lic-toc { margin-top: 1.5rem; padding: .6rem 1.1rem; background: var(--night-1); border: 1px solid var(--line); border-radius: var(--r); }
.lic-toc ul { list-style: none; margin: 0; padding: 0; }
.lic-toc li { margin: 0; }
.lic-toc a { display: inline-block; padding: .35rem 0; }
.lic-by dt { margin-top: 1rem; font-weight: 700; color: var(--sand); }
.lic-by dd { margin: .2rem 0 0; }
.lic-by ul { list-style: none; margin: 0; padding: 0; }
.lic-by li { margin: 0; font-size: .95rem; }
.lic-by .lic-crate { margin-right: .4rem; }
.lic-by a { display: inline-block; margin-right: .5rem; padding: .25rem 0; font-size: .8125rem; }
details.lic-fold { max-width: none; padding: 0; }
details.lic-fold summary { flex-wrap: nowrap; align-items: baseline; min-height: 44px; padding: .7rem 0; font: 400 .95rem/1.4 var(--f-body); color: var(--ink-2); }
details.lic-fold .lic-file { flex: 0 1 auto; max-width: 55%; min-width: 0; overflow-wrap: anywhere; font-weight: 700; color: var(--sand); }
details.lic-fold .lic-who { flex: 1 1 0; min-width: 0; font-size: .8125rem; }
/* phones: the file name over the crates that carry it, both the full width beside the arrow */
@media (max-width: 599px) {
  details.lic-fold summary { display: grid; grid-template-columns: auto 1fr; column-gap: .7rem; row-gap: .15rem; }
  details.lic-fold summary::before { align-self: center; }
  details.lic-fold .lic-file { grid-column: 2; max-width: none; }
  details.lic-fold .lic-who { grid-column: 2; }
}
details.lic-fold .licence-text { margin-top: .4rem; }
details.lic-fold .lic-used { max-width: none; font-size: .8125rem; color: var(--ink-2); }
.lic-up { margin: .8rem 0; font-size: .875rem; }
.lic-up a { display: inline-block; padding: .35rem 0; }
ul, ol { padding-left: 1.3em; margin: 0 0 1.1em; max-width: 36.99em; }
li { margin-bottom: .35em; }
hr { border: 0; border-top: 1px solid var(--line); margin: 3rem 0; }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: calc(var(--maxw) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.wrap.narrow { max-width: calc(820px + 2 * var(--gutter)); }
section { position: relative; }
.sec { padding-block: clamp(3rem, 6.5vw, 6.4rem); }
.sec.tight { padding-block: clamp(2.8rem, 5.5vw, 5rem); }
.sec.lapis { background: var(--night-1); }
.sec.dune { background: var(--night-1); }
.cols { display: grid; gap: clamp(1.5rem, 4vw, 4.5rem); }
@media (min-width: 900px) {
  .cols.c2 { grid-template-columns: 1fr 1fr; }
  .cols.c-7-5 { grid-template-columns: 7fr 5fr; }
  .cols.c-5-7 { grid-template-columns: 5fr 7fr; }
  .cols.c3 { grid-template-columns: repeat(3, 1fr); }
  .cols.center { align-items: center; }
}

/* section head: an engraved glyph ring, then the title */
.sec-head { display: grid; grid-template-columns: auto 1fr; gap: 0 1.2rem; align-items: center; margin-bottom: clamp(1.8rem, 3.4vw, 3rem); }
.sec-head .ring { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line-hi); display: grid; place-items: center; color: var(--gold); background: none; }
.sec-head .ring svg { width: 24px; height: 24px; }
.sec-head h2 { margin: 0; }
.sec-head p { grid-column: 2; margin: .7rem 0 0; color: var(--ink-2); }
.sec-head.plain { grid-template-columns: 1fr; }
.sec-head.plain p { grid-column: 1; }
@media (max-width: 520px) { .sec-head { grid-template-columns: 1fr; } .sec-head p { grid-column: 1; } .sec-head .ring { margin-bottom: .9rem; } }

.ico { width: 1.2em; height: 1.2em; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; vertical-align: -.2em; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; height: var(--header-h); background: rgb(18, 13, 10); border-bottom: 1px solid var(--line); }
/* the blur sits on a layer of its own: a backdrop-filter on the header itself would trap the fixed phone menu inside it */
.site-header::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
html.menu-open .site-header::before { display: none; }
.site-header .wrap { height: 100%; display: flex; align-items: center; gap: 1.2rem; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--ember-hi); font: 400 1.35rem/1 var(--f-logo); white-space: nowrap; }
.brand svg { width: 34px; height: 34px; color: var(--ember); flex: none; }
/* the name never gives way: below the width the full bar needs, the menu button takes over instead */
.brand { flex-shrink: 0; }
/* the beta mark beside the name: a small engraved tag in the name's own gold */
.beta-mark { flex: none; align-self: center; font: 700 max(11px, .62rem)/1 var(--f-label); letter-spacing: .16em; text-transform: uppercase; color: var(--ember-hi); border: 1px solid rgba(242, 195, 91, .55); border-radius: var(--r); padding: .32em .5em .26em .62em; margin-left: -.1rem; }
.beta-mark i { font-style: normal; }
/* beside the bar there is no room for "Closed testing" on one line: the tag stacks the two words there (below, from 1100 px),
   so it says the same at every width (critic round 24 F16: "Testing" here, "Closed testing" at 1024) */
.fine-beta strong { color: var(--ember-hi); letter-spacing: .04em; }
.beta-line { margin: 1.1rem auto 0; max-width: 36em; color: var(--ink-2); font-size: 1rem; line-height: 1.55; }
.beta-tag { font: 700 .8125rem/1 var(--f-label); letter-spacing: .14em; text-transform: uppercase; color: var(--ember-hi); margin-right: .35rem; }
/* a phone, or a larger browser font: the wordmark is sized by the screen, not the font, so it never runs under the menu button */
@media (max-width: 30em) {
  .site-header .wrap { gap: .8rem; }
  .brand { font-size: min(1.35rem, 4.6vw); gap: .4rem; }
  /* the beta mark keeps a fixed size here too, so a larger browser font cannot push the name under the menu button */
  .beta-mark { font-size: 10px; letter-spacing: .1em; padding: .35em .4em .3em .5em; margin-left: 0; }
  /* closed testing: the bar is tight here, so the two words stack (one label at every width) */
  .beta-mark { line-height: 1.05; text-align: center; }
  .beta-mark i { display: block; }
  .brand span { flex-shrink: 0; }
  .brand svg { width: min(34px, 8vw); height: min(34px, 8vw); }
}
/* a phone on its side: a slimmer header, so the page keeps more of a 390 px tall screen */
@media (max-height: 500px) and (orientation: landscape) {
  :root { --header-h: 58px; }
  .nav-toggle { width: 44px; height: 44px; }
}
.brand:hover { color: #fff1c4; }
.brand:hover svg { color: var(--skein); }
.nav { margin-left: auto; display: flex; align-items: center; gap: .1rem; }
.nav a { font: 700 .875rem/1 var(--f-label); text-transform: uppercase; letter-spacing: .12em; color: var(--ink-2); text-decoration: none; padding: .7rem .75rem; border-radius: var(--r); position: relative; white-space: nowrap; }
.nav a:hover { color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); }
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: .75rem; right: .75rem; bottom: .2rem; height: 2px; background: var(--ember); }
.nav a.btn.primary, .nav a.btn.primary[aria-current="page"] { color: #23160a; }
.nav a.btn[aria-current="page"]::after { display: none; }
.nav .btn { margin-left: .7rem; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line-hi); color: var(--ink); border-radius: var(--r); width: 48px; height: 48px; cursor: pointer; place-items: center; }
.nav-toggle svg { width: 24px; height: 24px; }
/* em, not px: a larger browser font size moves every switch below with it. Three header layouts (c19, critic round 27 S2: at
   1101-1439 px only the menu button showed, no section links and no "Apply to test"):
   - up to 68.75em (1100 px): the menu button and the full-screen menu;
   - 68.75-80em (1100-1280 px): the bar with the five main sections, "Apply to test", and a "More" list for the other three;
   - from 80em: every link in the bar (tighter letter-spacing below 88em; the full bar needs about 1145 px of content width). */
/* tablets (768-1100 px): the main action stays in view beside the menu button; the open menu keeps its own (c19 critic round
   33 S4: from 768 to 1024 px no gold action showed outside the menu) */
.site-header .head-cta { display: none; }
@media (min-width: 48em) and (max-width: 68.75em) {
  html.js .site-header .head-cta { display: inline-flex; margin-left: auto; }
  html.js .site-header .head-cta + .nav-toggle { margin-left: 0; }
}
.nav-more { position: relative; display: contents; }
.nav-more-btn { display: none; }
.nav-more-list { display: contents; }
@media (max-width: 68.75em) {
  .nav-toggle { display: grid; }
  .nav { position: fixed; inset: var(--header-h) 0 0 0; background: var(--night-0); border-top: 1px solid var(--line); padding: .8rem var(--gutter) 2rem; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0; margin: 0; overflow-y: auto; overscroll-behavior: contain; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .18s, transform .18s, visibility .18s; box-shadow: var(--shade); }
  .nav.open { opacity: 1; transform: none; visibility: visible; }
  .nav a { padding: 1.05rem .2rem; font-size: .9rem; border-bottom: 1px solid var(--line); }
  .nav a[aria-current="page"]::after { left: auto; right: .2rem; top: 50%; bottom: auto; width: 8px; height: 8px; transform: translateY(-50%) rotate(45deg); }
  .nav .btn { margin: 1rem 0 0; justify-content: center; }
}
/* a phone on its side: the open menu in two columns, so all nine links fit above the fold (844 x 390) */
@media (max-width: 68.75em) and (max-height: 500px) and (orientation: landscape) {
  .nav { display: grid; grid-template-columns: 1fr 1fr; column-gap: 2.4rem; align-content: start; padding-top: .4rem; }
  .nav a { padding: .85rem .2rem; }
  .nav .btn { grid-column: 1 / -1; margin-top: .7rem; }
}
/* the breakpoints meet: the phone menu ends at 68.75em and the bar starts just past it (68.7501em, under 0.002 px at 16 px), so no
   fractional window width falls between them (fleet-ai review of 8aff4edc) */
/* the bar (from 1100 px): the "Closed testing" tag stacks its two words, so the name and tag take less width */
@media (min-width: 68.7501em) {
  .site-header .wrap { gap: .8rem; }
  .beta-mark { line-height: 1.05; text-align: center; }
  .beta-mark i { display: block; }
}
@media (min-width: 68.7501em) and (max-width: 88em) {
  .nav a, .nav-more-btn { font-size: .8125rem; letter-spacing: .05em; padding-inline: .38rem; }
  .nav a[aria-current="page"]::after { left: .38rem; right: .38rem; }
  .nav { gap: 0; }
  .nav .btn { margin-left: .3rem; padding-inline: .7rem; }
}
@media (min-width: 68.7501em) and (max-width: 80em) {
  html.js .nav-more { display: block; }
  html.js .nav-more-btn { display: inline-flex; align-items: center; gap: .3rem; font: 700 .8125rem/1 var(--f-label); text-transform: uppercase; letter-spacing: .05em; color: var(--ink-2); background: none; border: 0; border-radius: var(--r); padding: .7rem .38rem; cursor: pointer; position: relative; white-space: nowrap; }
  html.js .nav-more-btn:hover, html.js .nav-more-btn[aria-expanded="true"] { color: var(--ink); }
  html.js .nav-more-btn svg { flex: none; width: .9em; height: .9em; stroke: currentColor; fill: none; stroke-width: 2.4; transition: transform .15s; }
  html.js .nav-more-btn[aria-expanded="true"] svg { transform: rotate(180deg); }
  /* the page being read is one of the three: the button carries the same underline as a current link */
  html.js .nav-more-btn.current { color: var(--ink); }
  html.js .nav-more-btn.current::after { content: ""; position: absolute; left: .38rem; right: .38rem; bottom: .2rem; height: 2px; background: var(--ember); }
  html.js .nav-more-list { display: none; position: absolute; top: calc(100% + .45rem); right: 0; min-width: 12rem; flex-direction: column; background: var(--night-0); border: 1px solid var(--line-hi); border-radius: var(--r); padding: .35rem; box-shadow: var(--shade); z-index: 60; }
  html.js .nav-more.open .nav-more-list { display: flex; }
  html.js .nav-more-list a { padding: .85rem .8rem; letter-spacing: .08em; }
  html.js .nav-more-list a[aria-current="page"]::after { left: .8rem; right: auto; width: 1.4rem; }
  /* the bar has this look from the first paint, so nothing moves when site.js arrives. Until it has put its handlers on the
     button (.more-ready), or if it breaks before that, the list opens by the pointer or the keyboard focus alone, with no gap
     under the button for the pointer to fall into (S-AWK-C19-MORE-NO-SITEJS-FALLBACK) */
  html.js:not(.more-ready) .nav-more:hover .nav-more-list, html.js:not(.more-ready) .nav-more:focus-within .nav-more-list { display: flex; }
  html.js:not(.more-ready) .nav-more-list { top: 100%; }
}
@media (min-width: 88.0001em) { .nav a { padding-inline: .5rem; letter-spacing: .08em; } .nav a[aria-current="page"]::after { left: .5rem; right: .5rem; } .nav .btn { margin-left: .3rem; } }
/* without JavaScript, and when site.js fails (head.js drops .js): nothing can open a menu, so every link is in the header, which
   then scrolls with the page. Past 80em the one-line bar holds them. Up to 80em: the name with the page's main action at the
   end of its row, and the eight links in one row under it, from edge to edge. On a phone: the name, then the links and the
   action as one block of three columns */
html:not(.js) .nav-toggle { display: none; }
html:not(.js) .nav { position: static; display: flex; flex-direction: row; flex-wrap: wrap; align-items: center; opacity: 1; visibility: visible; transform: none; transition: none; background: none; border: 0; padding: 0; max-height: none; overflow: visible; box-shadow: none; }
@media (max-width: 80em) {
  html:not(.js) .site-header .wrap { flex-wrap: wrap; row-gap: .5rem; padding-block: .75rem; }
  html:not(.js) .site-header .head-cta { display: inline-flex; margin-left: auto; }
  html:not(.js) .nav { flex-basis: 100%; margin: 0; justify-content: space-between; gap: .25rem 0; }
  html:not(.js) .nav .btn { display: none; }
  /* the bar's underline marks the current page, not the phone menu's diamond, and the menu's row lines go (critic round 31 S5) */
  html:not(.js) .nav a { border-bottom: 0; padding: .55rem .2rem; font-size: .8125rem; letter-spacing: .04em; }
  html:not(.js) .nav a[aria-current="page"]::after { left: .2rem; right: .2rem; top: auto; bottom: .15rem; width: auto; height: 2px; transform: none; }
}
@media (max-width: 699px) {
  html:not(.js) .site-header .wrap { padding-block: .35rem .5rem; row-gap: .25rem; }
  html:not(.js) .site-header .head-cta { display: none; }
  html:not(.js) .nav { display: grid; grid-template-columns: repeat(3, auto); justify-content: space-between; gap: .1rem .5rem; }
  html:not(.js) .nav a { padding-block: .5rem; }
  html:not(.js) .nav .btn { display: inline-flex; grid-column: auto; justify-self: start; margin: 0; min-height: 32px; padding: .3rem .6rem; gap: .35rem; font-size: .8125rem; letter-spacing: .04em; }
  html:not(.js) .nav a.btn[aria-current="page"]::after { display: none; }
}
/* the narrowest phones (320 px): the three columns still fit */
@media (max-width: 359px) {
  html:not(.js) .site-header .wrap { padding-inline: .75rem; }
  html:not(.js) .nav { column-gap: .25rem; }
  html:not(.js) .nav a { font-size: .75rem; letter-spacing: .02em; }
  html:not(.js) .nav .btn { padding-inline: .45rem; font-size: .75rem; letter-spacing: .02em; }
  html:not(.js) .nav .btn svg { display: none; }
}
/* without JS (or when it fails) nothing can open a world entry: every entry shows, and the pins, the list and the hint that
   point at them are left out (critic round 28 S9) */
html:not(.js) .world-entry[hidden] { display: block !important; }
html:not(.js) .pin, html:not(.js) .world-list, html:not(.js) .js-only { display: none; }
/* the play page's "Start the game" in the header is for the open phone menu only: in a bar it would stand beside the same
   button on the game itself */
html:not(.js) .nav a.drawer-only { display: none; }
@media (min-width: 68.7501em) { .nav a.drawer-only { display: none; } }
html:not(.js) .site-header { position: static; height: auto; }

/* ---------- buttons: a cut-corner plate ---------- */
.btn { --cut: 10px; display: inline-flex; align-items: center; justify-content: center; gap: .65rem; font: 700 .88rem/1.1 var(--f-label); text-transform: uppercase; letter-spacing: .12em; padding: 1rem 1.6rem; min-height: 52px; border-radius: 0; text-decoration: none; cursor: pointer; border: 0; color: var(--ink); background: rgba(244, 234, 219, .1); position: relative; transition: background .2s, color .2s, transform .2s;
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut)); }
.btn::before { content: ""; position: absolute; inset: 0; pointer-events: none; border: 1px solid rgba(244, 234, 219, .45);
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut)); }
.btn:hover { background: rgba(244, 234, 219, .2); color: #fff; }
.btn:active { transform: translateY(1px); }
/* the cut corners (clip-path) also cut away an outline, so the keyboard ring is drawn inside the shape on the ::before layer
   (WCAG 2.4.7; critic round 21): cyan on the dark buttons, dark on the gold ones */
.btn:focus-visible { outline: none; }
.btn:focus-visible::before { inset: 3px; border: 2px solid var(--skein); }
/* a dark button is translucent, so over pale art (the home hero's sand) its cyan ring could fall to about 3:1: while focused it
   takes a near-black fill, so the ring clears 3:1 against any backdrop (critic round 22) */
.btn:not(.primary):focus-visible { background: rgba(18, 13, 10, .82); }
.btn.primary { background: var(--metal); color: #23160a; }
.btn.primary::before { border-color: transparent; }
.btn.primary:focus-visible::before { border-color: #23160a; }
.btn.primary:hover { background: linear-gradient(180deg, #fff6d8 0%, #f7d47a 40%, #dca242 65%, #f7d684 100%); color: #23160a; }
.btn.lg { padding: 1.25rem 2.3rem; min-height: 64px; font-size: 1rem; --cut: 14px; }
.btn.sm { padding: .6rem 1.05rem; min-height: 42px; font-size: .875rem; --cut: 7px; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; transform: none; }
.btn svg { width: 1.2em; height: 1.2em; stroke: currentColor; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.btn-row { display: flex; flex-wrap: wrap; gap: .9rem 1rem; }

/* tag: a small engraved label */
.cart { display: inline-flex; align-items: center; gap: .45rem; font: 700 .875rem/1 var(--f-label); text-transform: uppercase; letter-spacing: .12em; padding: .45rem .7rem; border: 1px solid var(--line-hi); border-radius: var(--r); color: var(--sand); background: none; margin-right: 8px; white-space: nowrap; }
.cart::after { content: none; }
.cart.ok { color: var(--ok); border-color: rgba(143, 220, 170, .55); }
.cart.warn { color: var(--warn); border-color: rgba(255, 181, 90, .6); }
.cart.lapis { color: var(--skein); border-color: rgba(111, 227, 228, .5); }
.cart.sample { color: #ffd6a3; border-color: #e0893a; }

/* slab: a carved panel with corner brackets */
.slab { position: relative; padding: clamp(1.3rem, 3vw, 2.2rem); background: var(--night-2); border: 1px solid var(--line); }
.slab::before { content: ""; position: absolute; inset: 7px; pointer-events: none; opacity: .85;
  background:
    linear-gradient(var(--line-hi), var(--line-hi)) top left / 16px 1px no-repeat, linear-gradient(var(--line-hi), var(--line-hi)) top left / 1px 16px no-repeat,
    linear-gradient(var(--line-hi), var(--line-hi)) top right / 16px 1px no-repeat, linear-gradient(var(--line-hi), var(--line-hi)) top right / 1px 16px no-repeat,
    linear-gradient(var(--line-hi), var(--line-hi)) bottom left / 16px 1px no-repeat, linear-gradient(var(--line-hi), var(--line-hi)) bottom left / 1px 16px no-repeat,
    linear-gradient(var(--line-hi), var(--line-hi)) bottom right / 16px 1px no-repeat, linear-gradient(var(--line-hi), var(--line-hi)) bottom right / 1px 16px no-repeat; }
.slab > :last-child { margin-bottom: 0; }
.slab h3 { margin-top: 0; }

/* the glyph frieze above the footer: runes and hieroglyphs that ignite when scrolled into view */
.frieze { display: flex; justify-content: center; align-items: center; gap: clamp(.6rem, 2vw, 1.5rem); padding: 1.6rem var(--gutter); overflow: hidden; color: rgba(240, 214, 180, .26); font-family: var(--f-glyph); font-size: clamp(1.1rem, 2.4vw, 1.6rem); user-select: none; }
.frieze::before, .frieze::after { content: ""; flex: 1 1 0; max-width: 30vw; height: 1px; background: linear-gradient(90deg, transparent, var(--line-hi)); }
.frieze::after { transform: scaleX(-1); }
.frieze span { transition: color .9s ease; }
.frieze.lit span { color: var(--ember-hi); }
.frieze.lit span:nth-child(even) { color: var(--skein); }
.frieze.lit span:nth-child(2) { transition-delay: .12s; } .frieze.lit span:nth-child(3) { transition-delay: .24s; } .frieze.lit span:nth-child(4) { transition-delay: .36s; }
.frieze.lit span:nth-child(5) { transition-delay: .48s; } .frieze.lit span:nth-child(6) { transition-delay: .6s; } .frieze.lit span:nth-child(7) { transition-delay: .72s; } .frieze.lit span:nth-child(8) { transition-delay: .84s; } .frieze.lit span:nth-child(9) { transition-delay: .96s; }
html:not(.js) .frieze { color: var(--ember-hi); }

/* ---------- platforms and readouts ---------- */
.plat { display: flex; flex-wrap: wrap; gap: .4rem 1rem; font: 700 .875rem/1.4 var(--f-label); text-transform: uppercase; letter-spacing: .1em; color: var(--ink-2); }
.plat span { display: inline-flex; align-items: center; gap: .4rem; }
.plat span.no { opacity: .55; text-decoration: line-through; text-decoration-thickness: 1px; }
.readout { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (min-width: 640px) { .readout { grid-template-columns: repeat(2, 1fr); } }
.readout > div { background: var(--night-1); padding: 1.2rem 1.4rem; }
.readout dt { font: 700 .875rem/1.4 var(--f-label); text-transform: uppercase; letter-spacing: .12em; color: var(--ink-2); }
.readout dd { margin: .3rem 0 0; font-family: var(--f-display); font-weight: 800; font-size: clamp(1.7rem, 3vw, 2.4rem); color: var(--ink); line-height: 1.05; font-variant-numeric: tabular-nums; }
.readout p { max-width: none; }
.readout dd small { font-family: var(--f-body); font-weight: 400; font-size: .9rem; color: var(--ink-2); display: block; margin-top: .3rem; line-height: 1.45; }
dl { margin: 0; }

/* ---------- figures ---------- */
figure { margin: 0; }
figcaption { font-size: .95rem; color: var(--ink-2); margin-top: .7rem; line-height: 1.5; max-width: 40.46em; }
.frame { position: relative; border: 1px solid var(--line); padding: 0; background: var(--night-1); }
.frame img { width: 100%; }
.bleed { margin-inline: calc(50% - 50vw); width: 100vw; max-width: 100vw; }
.bleed img { width: 100%; max-height: 780px; object-fit: cover; object-position: 50% 50%; }
.shot img { width: 100%; }
.shot-grid { display: grid; gap: 1rem; }
@media (min-width: 700px) { .shot-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .shot-grid.g3 { grid-template-columns: repeat(3, 1fr); } }
.roster { display: grid; gap: .8rem 1.2rem; grid-template-columns: repeat(2, 1fr); margin-top: 1.4rem; }
@media (min-width: 760px) { .roster { grid-template-columns: repeat(5, 1fr); } }
.roster div { border-top: 1px solid var(--line-hi); padding-top: .55rem; }
.roster b { display: block; font-family: var(--f-display); font-weight: 700; color: var(--sand); font-size: 1.05rem; line-height: 1.2; }
.roster span { color: var(--ink-2); font-size: .9rem; line-height: 1.4; display: block; }

/* ---------- tables ---------- */
.tablewrap { overflow-x: auto; border: 1px solid var(--line); background: var(--night-1); -webkit-overflow-scrolling: touch; }
.tablewrap:focus-visible { outline-offset: 0; }
table.data { border-collapse: collapse; width: 100%; font-size: .98rem; line-height: 1.45; font-variant-numeric: tabular-nums; }
table.data caption { text-align: left; padding: .9rem 1rem; color: var(--ink-2); font-size: .92rem; caption-side: bottom; }
table.data th, table.data td { padding: .7rem .9rem; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
table.data thead th { font: 700 .875rem/1.3 var(--f-label); text-transform: uppercase; letter-spacing: .1em; color: var(--ember-hi); background: var(--night-2); white-space: nowrap; position: sticky; top: 0; }
table.data tbody th { font-weight: 600; color: var(--ink); }
table.data tr:last-child td, table.data tr:last-child th { border-bottom: 0; }
table.data td.num, table.data th.num { text-align: right; }
table.data .sortbtn { all: unset; cursor: pointer; display: inline-flex; gap: .35rem; align-items: center; color: inherit; font: inherit; }
table.data .sortbtn:focus-visible { outline: 2px solid var(--skein); outline-offset: 2px; }

/* ---------- tabs ---------- */
.tabs [role="tablist"] { display: flex; flex-wrap: wrap; gap: 0; border-bottom: 1px solid var(--line); margin-bottom: 1.8rem; }
.tabs [role="tab"] { font: 700 .875rem/1.1 var(--f-label); text-transform: uppercase; letter-spacing: .12em; background: none; border: 0; color: var(--ink-2); padding: 1rem 1.2rem; min-height: 50px; cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; display: inline-flex; align-items: center; gap: .5rem; }
.tabs [role="tab"]:hover { color: var(--ink); }
.tabs [role="tab"][aria-selected="true"] { color: var(--ink); border-bottom-color: var(--ember); }
.tabs [role="tabpanel"][hidden] { display: none; }
.keylist { display: grid; gap: .1rem 1.8rem; grid-template-columns: 1fr; margin: 0 0 1rem; max-width: none; }
@media (min-width: 700px) { .keylist { grid-template-columns: repeat(2, 1fr); } }
.keylist > div { display: grid; grid-template-columns: minmax(8.5rem, 11rem) 1fr; gap: .8rem; padding: .6rem 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.keylist dt { color: var(--sand); }
.keylist dt code { overflow-wrap: normal; white-space: nowrap; }
@media (max-width: 25em) { .keylist > div { grid-template-columns: 1fr; gap: .15rem; } }
.keylist dd { margin: 0; color: var(--ink); line-height: 1.5; }

/* ---------- misc blocks ---------- */
.note { display: flex; gap: .9rem; align-items: flex-start; padding: 1.1rem 1.3rem; border: 1px solid var(--line); border-left: 1px solid var(--line); background: var(--night-1); max-width: 41.62em; margin-bottom: 1.4rem; font-size: 1rem; line-height: 1.6; }
.note svg { width: 24px; height: 24px; flex: none; color: var(--ember-hi); margin-top: .1rem; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.note p { margin: 0; }
.note.sample { border-color: #e0893a; }
.note.placeholder svg { color: var(--skein); }
.steps { list-style: none; counter-reset: step; padding: 0; max-width: none; }
.steps > li { counter-increment: step; position: relative; padding: 0 0 1.8rem 3.6rem; margin: 0; border-left: 1px solid var(--line); margin-left: 1.3rem; }
.steps > li:last-child { border-left-color: transparent; padding-bottom: 0; }
.steps > li::before { content: counter(step); position: absolute; left: -1.3rem; top: -.15rem; width: 2.6rem; height: 2.6rem; display: grid; place-items: center; border-radius: 50%; background: var(--night-0); border: 1px solid var(--ember); color: var(--ember-hi); font: 700 .95rem/1 var(--f-label); }
.steps h3 { margin-bottom: .3rem; }
.codeblock { position: relative; background: #0c0806; border: 1px solid var(--line); border-radius: var(--r); padding: 1rem 1.1rem; color: #f2dcc0; font-size: max(14px, .9rem); line-height: 1.6; overflow-x: auto; max-width: 100%; }
.codeblock code { background: none; padding: 0; color: inherit; white-space: pre; overflow-wrap: normal; }
.copy { position: absolute; top: .45rem; right: .45rem; font: 700 max(14px, .8rem)/1 var(--f-label); text-transform: uppercase; letter-spacing: .1em; padding: .35rem .7rem; min-height: 34px; border-radius: var(--r); border: 1px solid var(--line-hi); background: var(--night-2); color: var(--sand); cursor: pointer; }
.copy:hover { color: var(--ember-hi); }
.codeblock.hascopy { padding-top: 2.8rem; }

details { border-top: 1px solid var(--line); padding: 1rem 0; max-width: 41.62em; }
details:last-of-type { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; font-family: var(--f-display); font-weight: 700; font-size: 1.2rem; color: var(--sand); list-style: none; display: flex; align-items: center; gap: .7rem; min-height: 34px; }
summary::-webkit-details-marker { display: none; }
summary::before { content: ""; width: .55rem; height: .55rem; border-right: 2px solid var(--ember); border-bottom: 2px solid var(--ember); transform: rotate(-45deg); transition: transform .2s; margin-left: .2rem; flex: none; }
details[open] > summary::before { transform: rotate(45deg); }
details > :not(summary) { margin-top: .8rem; }

/* ---------- footer ---------- */
.site-footer { background: #0c0806; border-top: 1px solid var(--line); padding: 0 0 1.8rem; }
.footer-grid { display: grid; gap: 1.6rem 2.2rem; padding-top: 1.8rem; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; } }
.site-footer h2 { font: 700 .875rem/1.3 var(--f-label); text-transform: uppercase; letter-spacing: .14em; color: var(--ember-hi); margin-bottom: .5rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0 1.1rem; }
.site-footer li { margin: 0; }
.site-footer a { color: var(--ink-2); text-decoration: none; display: inline-block; padding: .3rem 0; }
.site-footer a.brand { display: flex; color: var(--ink); padding: 0; margin-bottom: 1rem; }
.site-footer a:hover { color: var(--ink); text-decoration: underline; }
.site-footer .fine { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 1.1rem; color: var(--ink-2); font-size: max(14px, .9375rem); line-height: 1.55; max-width: none; margin: 0; }
.site-footer .fine p { max-width: 62em; margin-bottom: .45rem; }
.site-footer .fine a { display: inline; padding: 0; color: var(--gold); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .22em; }
.site-footer .fine a:hover { color: #ffd795; }
.site-footer .frieze { padding-block: 1rem; }

/* ---------- page head (inner pages): the title over a painted scene ---------- */
.page-head { position: relative; padding: clamp(3rem, 6vw, 5.2rem) 0 clamp(2.2rem, 4vw, 3.4rem); overflow: hidden; isolation: isolate; background: var(--night-1); border-bottom: 1px solid var(--line); }
.page-head .head-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: var(--bg-pos, 50% 40%); }
.page-head:has(.head-bg)::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, rgba(18,13,10,.94) 0%, rgba(18,13,10,.78) 42%, rgba(18,13,10,.25) 75%, rgba(18,13,10,.15) 100%), linear-gradient(0deg, var(--night-0) 0%, rgba(18,13,10,0) 45%); }
.page-head h1 { font-size: clamp(2.6rem, 5.4vw, 4.6rem); margin-bottom: .3em; max-width: 9em; }
.page-head .lead { margin-bottom: 0; }
.page-head .cart { margin-bottom: 1rem; }
@media (max-width: 760px) {
  .page-head:has(.head-bg) { padding-top: 14rem; }
  .page-head .head-bg { height: 17rem; }
  .page-head:has(.head-bg)::after { background: linear-gradient(0deg, var(--night-1) 0%, var(--night-1) calc(100% - 17rem), rgba(23,17,12,.35) calc(100% - 9rem), rgba(23,17,12,.1) 100%); }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
}
@media print { .site-header, .site-footer, .frieze, canvas, video { display: none; } body { background: #fff; color: #000; } }

/* ---------- overflow guards ---------- */
.cols > *, .steps > li, .steps li > *, .page-head > *, .sec-head > *, .wrap > * { min-width: 0; }
.steps { min-width: 0; }
.tablewrap, .codeblock { max-width: 100%; }
.note + .sec-head { margin-top: 2.4rem; }
.cols > figure, .cols > .frame { align-self: start; }

/* plain term/description list */
.plainlist { display: grid; gap: 0; max-width: 64rem; }
.plainlist > div { display: grid; gap: .25rem 2rem; padding: 1.1rem 0; border-top: 1px solid var(--line); }
@media (min-width: 760px) { .plainlist > div { grid-template-columns: 11rem 1fr; } }
.plainlist dt { font: 700 .8rem/1.6 var(--f-label); text-transform: uppercase; letter-spacing: .12em; color: var(--ember-hi); }
.plainlist dd { margin: 0; line-height: 1.6; }

/* long reference sections that start collapsed (js/fold.js) */
.sec.fold:not(.open) .wrap * { display: none; }
.sec.fold:not(.open) .wrap .sec-head, .sec.fold:not(.open) .wrap .sec-head *, .sec.fold:not(.open) .wrap *:has(.sec-head) { display: revert; }
.sec.fold:not(.open) .wrap.cols { display: block; }
.sec.fold:not(.open) .wrap .sec-head { display: grid; }
.sec.fold:not(.open) .wrap .sec-head .ring svg { display: block; }
.sec.fold:not(.open) { padding-block: clamp(.9rem, 2vw, 1.5rem); }
.sec.fold:not(.open) .sec-head { margin-bottom: 0; }
.sec.fold .sec-head h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); text-transform: none; letter-spacing: -.01em; font-weight: 800; }
.sec.fold .sec-head { cursor: pointer; }
.sec.fold .sec-head .ring { width: 40px; height: 40px; }
.sec.fold .sec-head .ring svg { width: 20px; height: 20px; }
.sec.fold .sec-head { grid-template-columns: auto 1fr auto; }
.sec.fold .sec-head p { grid-column: 2 / 4; }
.fold-btn { grid-column: 3; grid-row: 1; justify-self: end; background: transparent; color: var(--ink); border: 1px solid var(--line-hi); border-radius: var(--r); padding: .55rem 1.1rem; font: 700 .875rem/1 var(--f-label); text-transform: uppercase; letter-spacing: .12em; cursor: pointer; min-height: 44px; }
.fold-btn:hover, .fold-btn:focus-visible { background: rgba(255, 255, 255, .06); }
.sec.fold .sec-head:not(:has(.ring)) h2 { grid-column: 1 / 3; }
.sec.fold .sec-head:not(:has(.ring)) p { grid-column: 1 / -1; }
@media (max-width: 600px) {
  .sec.fold .sec-head { grid-template-columns: auto 1fr; }
  .sec.fold .sec-head p { grid-column: 1 / -1; }
  .fold-btn { grid-column: 1 / -1; grid-row: auto; justify-self: start; margin-top: .9rem; }
}

/* pages other tools write (credits, terms, refunds): reading pages, not posters */
.page-legal main h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
.page-legal main h2 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); text-transform: none; letter-spacing: -.01em; margin-top: 2.2rem; }
.page-legal main h3 { font-size: 1.1rem; color: var(--sand); margin-top: 1.4rem; }
.page-legal .sec { padding-top: clamp(3rem, 6vw, 5rem); }
.page-legal details.fold-list { margin: .8rem 0 0; border: 1px solid var(--line); border-radius: var(--r); padding: .2rem 1rem; }
.page-legal details.fold-list summary { cursor: pointer; padding: .8rem 0; font: 700 .9rem/1.3 var(--f-label); text-transform: uppercase; letter-spacing: .08em; color: var(--gold); }
.page-legal details.fold-list[open] summary { border-bottom: 1px solid var(--line); margin-bottom: .6rem; }
/* the open phone menu: only the root stops scrolling (overflow on body as well made body the scroll container, so the sticky
   header fell back to the top of the document, thousands of px above the screen, with the close button). The header is pinned
   while the menu is open and the body keeps its height, so closing the menu leaves the reader exactly where they were. */
html.menu-open { overflow: hidden; }
html.menu-open .site-header { position: fixed; top: 0; left: 0; right: 0; }
html.menu-open body:not(.page-home) { padding-top: var(--header-h); }

@media (max-width: 699px) {
  .tabs [role="tablist"] { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .tabs [role="tablist"]::-webkit-scrollbar { display: none; }
  .tabs [role="tab"] { white-space: nowrap; flex: 0 0 auto; padding-inline: .9rem; }
}
.page-legal main p, .page-legal main li, .page-legal main a { overflow-wrap: anywhere; }

/* phones: a slightly tighter reading size (17px on 27px) and shorter section gaps, so long pages stay short */
@media (max-width: 599px) {
  body { font-size: 1.0625rem; line-height: 1.6; }
  .sec { padding-block: clamp(3rem, 9vw, 8.5rem); }
  .page-legal main h2 { margin-top: 1.7rem; }
}
/* a folded section is one summary row: its name, a one-line preview and the Show button on the right; no icon ring */
.sec.fold .sec-head .ring { display: none !important; }
.sec.fold .sec-head { grid-template-columns: 1fr auto; }
.sec.fold .sec-head h2 { grid-column: 1; }
.sec.fold .sec-head p { grid-column: 1 / -1; }
.sec.fold .fold-btn { grid-column: 2; grid-row: 1; justify-self: end; margin-top: 0; }
@media (max-width: 600px) {
  .sec.fold .sec-head { grid-template-columns: 1fr auto; gap: 0 .8rem; }
  .sec.fold .fold-btn { grid-column: 2; grid-row: 1; margin-top: 0; padding-inline: .8rem; }
  .sec.fold .sec-head h2 { font-size: 1.3rem; }
}

/* Seidr Awakening - page-specific components. Loaded after site.css. */

/* ---------- shared small pieces ---------- */
.page-head.compact { padding-block: clamp(2rem, 4vw, 3.4rem) 1.4rem; }
.page-head.compact h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
@media (min-width: 1100px) {
  .page-head:not(.with-art):not(.with-card):not(.wiki-head) > .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: clamp(2rem, 5vw, 5rem); align-items: end; }
  .page-head:not(.with-art):not(.with-card):not(.wiki-head) > .wrap > h1 { margin-bottom: 0; }
  .page-head:not(.with-art):not(.with-card):not(.wiki-head) > .wrap > :not(h1) { grid-column: 2; }
  .page-head:not(.with-art):not(.with-card):not(.wiki-head) > .wrap > h1 + * { margin-top: 0; }
}
.jump { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.6rem; }
.jump a { font: 700 .875rem/1 var(--f-label); text-transform: uppercase; letter-spacing: .1em; text-decoration: none; padding: .6rem 1rem; border: 1px solid var(--line-hi); border-radius: var(--r); color: var(--ink); min-height: 44px; display: inline-flex; align-items: center; }
.jump a:hover { background: rgba(242,195,91,.1); color: var(--gold); }
.placeholder-tag { background: rgba(111, 227, 228, .14); border: 1px dashed var(--lapis-hi); color: #d6f6f6; padding: .05em .45em; border-radius: var(--r); font-size: .92em; }
.cta-band { background: radial-gradient(70% 140% at 50% 120%, rgba(242,195,91,.14), transparent 70%), linear-gradient(180deg, var(--night-0), var(--night-1)); border-top: 1px solid var(--line); }
.cta-band .btn-row { margin-top: 1.4rem; }

/* ---------- home ---------- */
.seedbox canvas { width: 100%; height: auto; aspect-ratio: 360 / 260; background: #120d0a; border: 1px solid var(--line); margin: .4rem 0 .8rem; }
.seed-form { display: flex; gap: .6rem; }
.seed-form input { flex: 1; min-width: 0; font: 500 .92rem/1.2 ui-monospace, Menlo, Consolas, monospace; padding: .7rem .8rem; border: 1px solid var(--line-hi); background: var(--night-0); color: var(--ink); border-radius: var(--r); letter-spacing: .02em; }
.seed-form input[aria-invalid="true"] { border-color: var(--warn); }
.seedbox #seed-desc { margin: .8rem 0 0; min-height: 3.2em; }
.mini-road { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; max-width: none; position: relative; }
.mini-road li { position: relative; padding: 0 0 1.5rem 2.2rem; margin: 0; background: linear-gradient(var(--line), var(--line)) 0 0 / 2px 100% no-repeat; margin-left: .6rem; }
.mini-road li::before { content: ""; position: absolute; left: -.62rem; top: .35rem; width: 1rem; height: 1rem; border-radius: 50%; background: var(--night-0); border: 2px solid var(--gold-deep); }
.mini-road li.done::before { background: var(--gold); border-color: var(--gold); box-shadow: none; }
.mini-road b { display: block; font-family: var(--f-display); font-weight: 400; font-size: 1.25rem; color: var(--sand); }
.mini-road span { color: var(--ink-2); }
@media (min-width: 900px) {
  .mini-road { grid-template-columns: repeat(5, 1fr); gap: 1.2rem; }
  .mini-road li { background: linear-gradient(var(--line), var(--line)) 0 0 / 100% 2px no-repeat; margin: 0; padding: 1.4rem 0 0; }
  .mini-road li.done { background-image: linear-gradient(var(--gold-deep), var(--gold-deep)); }
  .mini-road li::before { left: 0; top: -.58rem; }
}
.dial { position: relative; width: min(260px, 100%); margin: 0 auto .4rem; }
.dial svg { width: 100%; height: auto; }
.dial-num { position: absolute; left: 0; right: 0; bottom: 0; text-align: center; font-family: var(--f-display); font-size: 3rem; line-height: 1; color: var(--ink); }
.badge-line { display: flex; flex-wrap: wrap; gap: .4rem .8rem; align-items: center; justify-content: center; margin: .6rem 0 1rem; text-align: center; }
.commit-demo input[type="range"], .calc input[type="range"] { width: 100%; accent-color: var(--gold); height: 32px; }
.feature h3 { font-size: clamp(1.5rem, 2.8vw, 2rem); }

/* ---------- world ---------- */
.stars-fig svg { width: 100%; height: auto; border: 1px solid var(--line-hi); }
.threads { display: grid; gap: 1.2rem; }
@media (min-width: 800px) { .threads { grid-template-columns: repeat(3, 1fr); } }
.thr { padding: 1.4rem 1.4rem 1.2rem; border: 1px solid var(--line); background: rgba(255,255,255,.03); }
.thr:nth-child(2) h3 { color: var(--oru); } .thr:nth-child(3) h3 { color: var(--thalm); }
.thr h3 { margin: .8rem 0 .4rem; } .thr p { margin-bottom: .5rem; }
.player { display: grid; grid-template-columns: auto 1fr auto; gap: .9rem; align-items: center; margin-bottom: 1.2rem; }
.pbtn { width: 58px; height: 58px; border-radius: 50%; border: 1.5px solid var(--gold); background: linear-gradient(180deg, #ff8b52, #e8662e); color: #1b1305; cursor: pointer; display: grid; place-items: center; box-shadow: none; transition: transform .15s; }
.pbtn:hover { transform: scale(1.05); }
.pbtn svg { width: 26px; height: 26px; }
.pwave { position: relative; height: 72px; }
.pwave canvas { width: 100%; height: 100%; }
.pseek { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.pwave:focus-within { outline: 3px solid var(--lapis-hi); outline-offset: 3px; }
.ptime { font-variant-numeric: tabular-nums; font-size: .9rem; color: var(--ink-2); white-space: nowrap; }
@media (max-width: 440px) { .player { grid-template-columns: auto 1fr; } .ptime { grid-column: 1 / -1; } }
.verse { margin: 0 0 1rem; padding: 1rem 0 1rem 1.2rem; border-left: 3px solid var(--gold); font-style: italic; font-size: 1.2rem; line-height: 1.55; color: var(--sand); }
.ages { list-style: none; padding: 0; margin: 0; max-width: none; display: grid; gap: 1.6rem; }
.ages li { display: grid; grid-template-columns: 64px 1fr; gap: 1.2rem; margin: 0; align-items: start; }
.agn { width: 56px; height: 56px; border: 1px solid var(--line-hi); border-radius: 50%; display: grid; place-items: center; color: var(--gold); background: radial-gradient(circle, rgba(242,195,91,.15), transparent 70%); }
.agn svg { width: 28px; height: 28px; }
.ages h3 { margin: 0 0 .3rem; } .ages p { margin-bottom: .7rem; }
@media (min-width: 900px) {
  .ages { grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
  .ages::before { content: ""; position: absolute; left: 2%; right: 2%; top: 28px; height: 1px; background: linear-gradient(90deg, transparent, var(--line-hi) 10%, var(--line-hi) 90%, transparent); }
  .ages li { grid-template-columns: 1fr; padding: 0 1rem; gap: 1rem; }
  .agn { background-color: var(--night-0); position: relative; }
}
.cast { display: grid; gap: 2rem; }
@media (min-width: 900px) { .cast { grid-template-columns: repeat(3, 1fr); } }
.cast h3 { border-bottom: 1px solid var(--line); padding-bottom: .5rem; margin-bottom: 1rem; }
.cast dt { font-family: var(--f-display); color: var(--gold); margin-top: 1rem; }
.cast dd { margin: .2rem 0 0; color: var(--ink-2); }
.gloss > div { display: grid; grid-template-columns: 1fr; gap: .1rem; padding: .9rem 0; border-top: 1px solid var(--line); }
.gloss dt { font-family: var(--f-display); color: var(--gold); font-size: 1.15rem; }
.gloss dd { margin: 0; }
@media (min-width: 700px) { .gloss > div { grid-template-columns: 12rem 1fr; gap: 1.5rem; } }

/* ---------- factions ---------- */
.plates { display: grid; gap: 1.2rem; margin: 1.4rem 0 2rem; }
@media (min-width: 640px) { .plates { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .plates { grid-template-columns: repeat(4, 1fr); } }
.plate { border: 1px solid var(--line); background: rgba(26, 19, 15, .7); display: flex; flex-direction: column; }
.plate img { width: 100%; aspect-ratio: 1; object-fit: cover; border-bottom: 1px solid var(--line-hi); }
.plate div { padding: 1rem 1.1rem 1.2rem; }
.plate h4 { margin-bottom: .3rem; font-size: 1.2rem; color: var(--gold); }
.plate p { margin: 0; font-size: .95rem; line-height: 1.6; color: var(--ink-2); }
.facts > div { display: grid; grid-template-columns: 1fr; padding: .7rem 0; border-top: 1px solid var(--line); }
.facts dt { font-family: var(--f-display); color: var(--gold); } .facts dd { margin: 0; }
@media (min-width: 640px) { .facts > div { grid-template-columns: 8rem 1fr; gap: 1rem; } }
.teaser { min-height: 280px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 2rem; border: 1px dashed var(--line-hi); }
.teaser .emb { width: 110px; height: 110px; margin-bottom: 1.2rem; }
.teaser p { margin: 1rem 0 0; color: var(--ink-2); font-size: .95rem; }
.teaser .sw { display: flex; gap: .5rem; } .teaser .sw i { width: 30px; height: 30px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); }
.oru-sec { background: linear-gradient(180deg, var(--night-0), #10201d 40%, var(--night-0)); }
.oru-sec .sec-head .ring { color: var(--oru); border-color: rgba(79,214,200,.5); }
.oru-sec .facts dt { color: var(--oru); }
.oru-t { color: var(--oru); background: radial-gradient(circle at 50% 30%, rgba(79,214,200,.14), transparent 70%); border-color: rgba(79,214,200,.45); }
.oru-t svg { stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.thalm-sec { background: linear-gradient(180deg, var(--night-0), #121a1f 40%, #1c1019 100%); }
.thalm-sec .sec-head .ring { color: var(--thalm); border-color: rgba(227, 106, 180,.5); }
.thalm-sec .facts dt { color: var(--thalm); }
.thalm-t { color: var(--thalm); background: radial-gradient(circle at 50% 30%, rgba(224,82,159,.14), transparent 70%); border-color: rgba(227, 106, 180,.45); }
.thalm-t svg { stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.hesh-sec .sec-head .ring { box-shadow: none; }

/* ---------- campaign ---------- */
.shape { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); margin-bottom: 1.6rem; }
@media (min-width: 700px) { .shape { grid-template-columns: repeat(4, 1fr); } }
.shape > div { background: var(--night-1); padding: 1rem 1.2rem; }
.shape b { display: block; font-family: var(--f-display); font-weight: 400; color: var(--gold); font-size: 1.2rem; } .shape span { color: var(--ink-2); font-size: .92rem; line-height: 1.4; display: block; }
.act { --ac: var(--gold); --ac-bg: rgba(232, 102, 46, .18); background: linear-gradient(180deg, var(--ac-bg), transparent 55%); border-top: 1px solid var(--line); }
.act-oru { --ac: var(--oru); --ac-bg: rgba(79,214,200,.12); }
.act-thalm { --ac: var(--thalm); --ac-bg: rgba(224,82,159,.12); }
.act-head { display: flex; gap: 1.2rem; align-items: center; margin-bottom: 1rem; }
.actemb { width: 72px; height: 72px; color: var(--ac); flex: none; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.actn { margin: 0 0 .2rem; font-family: var(--f-display); color: var(--ac); font-size: 1.05rem; }
.act-head h2 { margin: 0 0 .2rem; color: var(--ink); }
.act-blurb { max-width: 34.68em; font-size: 1.15rem; color: var(--sand); }
.missions { display: grid; gap: 1.4rem; margin-top: 2rem; }
@media (min-width: 900px) { .missions { grid-template-columns: repeat(2, 1fr); gap: 1.6rem 2.4rem; } .missions .mission:nth-child(even) { margin-top: 2.2rem; } }
.mission { position: relative; padding: 1.5rem 1.5rem 1.4rem 1.5rem; border: 1px solid var(--line); background: rgba(18, 13, 10, .6); }
.mhead { display: flex; gap: 1rem; align-items: center; margin-bottom: 1rem; }
.mhead h3 { margin: 0 0 .4rem; color: var(--ink); }
.mnum { flex: none; width: 3.2rem; height: 3.2rem; display: grid; place-items: center; font-family: var(--f-display); font-size: 1.5rem; color: var(--ac); border: 1.5px solid var(--ac); border-radius: 999px; position: relative; margin-right: 6px; }
.mnum::after { content: ""; position: absolute; right: -7px; top: 50%; transform: translateY(-50%); height: 120%; width: 2px; background: var(--ac); border-radius: 2px; }
.mission dl > div { display: grid; grid-template-columns: 6.4rem 1fr; gap: .8rem; padding: .5rem 0; border-top: 1px solid rgba(227,199,155,.12); font-size: .96rem; line-height: 1.55; }
.mission dt { color: var(--ac); font-family: var(--f-display); } .mission dd { margin: 0; }
.narr { margin: 1rem 0 0; padding-left: 1rem; border-left: 2px solid var(--ac); font-style: italic; color: var(--sand); line-height: 1.55; max-width: none; }
.narr.sealed { color: var(--ink-2); font-size: .92rem; }
@media (max-width: 420px) { .mission dl > div { grid-template-columns: 1fr; gap: .1rem; } }

/* ---------- how to play ---------- */
.clock { list-style: none; padding: 0; margin: 0 0 .8rem; max-width: none; }
.clock li { display: grid; grid-template-columns: 3.6rem 1fr; gap: .8rem; padding: .55rem 0; border-bottom: 1px solid rgba(227,199,155,.12); margin: 0; align-items: baseline; }
.clock time { font-family: var(--f-display); color: var(--gold); font-variant-numeric: tabular-nums; }
.wins > div { padding: .8rem 0; border-top: 1px solid var(--line); }
.wins dt { font-family: var(--f-display); color: var(--gold); font-size: 1.15rem; } .wins dd { margin: .15rem 0 0; }

/* ---------- ladder ---------- */
.season-facts { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); margin-bottom: 1.8rem; }
@media (min-width: 700px) { .season-facts { grid-template-columns: repeat(4, 1fr); } }
.season-facts > div { background: var(--night-1); padding: 1rem 1.2rem; }
.season-facts b { display: block; font-family: var(--f-display); font-weight: 400; color: var(--gold); font-size: 1.5rem; } .season-facts span { color: var(--ink-2); font-size: .92rem; line-height: 1.4; display: block; }
.lb-controls { display: flex; flex-wrap: wrap; gap: .8rem 1.2rem; align-items: end; margin-bottom: 1rem; }
.lb-controls label, .calc-form label { display: grid; gap: .3rem; font-size: .9rem; color: var(--ink-2); }
input[type="number"], input[type="search"], select { font: inherit; font-size: 1rem; min-height: 44px; padding: .5rem .75rem; border: 1px solid var(--line-hi); background: var(--night-0); color: var(--ink); border-radius: var(--r); max-width: 100%; }
select { padding-right: 1.5rem; }
.lb { position: relative; max-height: 640px; overflow: auto; }
.lb::after { content: "SAMPLE DATA"; position: sticky; display: block; bottom: 0; height: 0; }
.lb tbody tr:nth-child(odd) { background: rgba(255,255,255,.02); }
.lb td, .lb th { white-space: nowrap; }
.dots { list-style: none; display: flex; gap: .5rem; padding: 0; margin: 0; max-width: none; }
.dots li { width: 1.5rem; height: 1.5rem; border-radius: 50%; margin: 0; background: var(--ok); border: 2px solid #3e8e66; }
.dots li.q { background: transparent; border: 2px solid var(--warn); position: relative; }
.dots li.q::after { content: ""; position: absolute; inset: 3px 50% 3px calc(50% - 1px); background: var(--warn); transform: rotate(45deg); }
.calc-grid { display: grid; gap: 1.6rem; }
@media (min-width: 800px) { .calc-grid { grid-template-columns: 1.2fr 1fr; align-items: center; } }
.calc-form { display: grid; grid-template-columns: repeat(2, 1fr); gap: .9rem 1.1rem; }
@media (max-width: 380px) { .calc-form { grid-template-columns: 1fr; } }
.calc-out { text-align: center; }
.calc-out .dial-num { font-size: 3rem; }
.how-online h3 { font-size: 1.3rem; }

/* ---------- roadmap ---------- */
.budget > div { display: grid; grid-template-columns: 1fr; padding: .6rem 0; border-top: 1px solid var(--line); }
.budget dt { color: var(--ink-2); font-size: .92rem; } .budget dd { margin: 0; color: var(--gold); font-family: var(--f-display); font-size: 1.15rem; }
@media (min-width: 500px) { .budget > div { grid-template-columns: 1fr 1fr; gap: 1rem; align-items: baseline; } }
.road { list-style: none; padding: 0; margin: 0; max-width: none; position: relative; }
.road > li { position: relative; margin: 0; padding: 0 0 2.4rem 3.2rem; background: linear-gradient(var(--line), var(--line)) 0 0 / 2px 100% no-repeat; margin-left: 1rem; }
.road > li::before { content: ""; position: absolute; left: -.82rem; top: .45rem; width: 1.4rem; height: 1.4rem; border-radius: 50%; background: var(--night-1); border: 2px solid var(--gold-deep); }
.road > li.done { background-image: linear-gradient(var(--gold-deep), var(--gold-deep)); } .road > li.done::before { background: var(--gold); border-color: var(--gold); box-shadow: none; }
.road > li.next::before { border-color: var(--lapis-hi); box-shadow: none; }
.road > li:last-child { background: none; padding-bottom: 0; }
.road h3 { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem .9rem; margin-bottom: .5rem; color: var(--ink); }
.road .rm-gate { padding: .8rem 1rem; border: 1px solid var(--line); background: rgba(242,195,91,.05); font-size: .96rem; line-height: 1.55; margin-top: .4rem; }
.road .rm-gate b { color: var(--gold); font-weight: 600; }

/* ---------- play ---------- */
/* the stage is the largest 4:3 box that fits under the sticky header with the bar under it in view (1280x800: the whole game shows) */
.stage { position: relative; width: 100%; max-width: min(960px, calc((100svh - var(--header-h, 68px) - 96px) * 4 / 3)); min-width: min(100%, 320px); aspect-ratio: 4 / 3; margin-inline: auto; background: #000; border: 1px solid var(--line-hi); box-shadow: none; overflow: hidden; scroll-margin-top: calc(var(--header-h, 68px) + 8px); }
.stage iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; }
/* a phone held upright: the stage is tall, so the game inside uses its portrait band layout (HUD under the view, phone-sized) */
@media (max-width: 599px) and (orientation: portrait) { .stage:not(.is-fs) { aspect-ratio: 640 / 1040; max-width: min(100%, calc((100svh - var(--header-h, 68px) - 24px) * 640 / 1040)); } }
.stage iframe[hidden], .stage-start[hidden] { display: none; }
.stage.settling iframe { visibility: hidden; }
.stage-start { position: absolute; inset: 0; display: grid; place-items: start center; }
.stage-start img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 58% 50%; filter: brightness(.7) saturate(.95); }
.stage-start::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 22%, rgba(18, 13, 10, .55) 0, rgba(18, 13, 10, 0) 62%); pointer-events: none; }
.stage-start-in { position: relative; z-index: 1; text-align: center; padding: clamp(1rem, 6%, 3.5rem) 1rem 1rem; }
@media (max-width: 699px) { .page-play .head-card .hc-facts { display: none; } .page-play .head-card:has(.hc-status[hidden]) { display: none; } .page-play .head-card { padding: .55rem .9rem; } .page-play .page-head.with-card .head-grid { gap: 1rem; } .page-play .stage-start-in { padding-top: .7rem; } }
.stage-start-in p { margin: .9rem auto 0; color: var(--ink); text-shadow: 0 1px 8px #000; }
.stage-bar { display: flex; flex-wrap: wrap; gap: .8rem 1.2rem; align-items: center; max-width: 960px; margin: 1rem auto 0; }
/* the game's own notes that used to sit on the canvas (keyboard focus, sound off) live here, outside the game */
.stage-notes { max-width: 960px; margin: .5rem auto 0; display: flex; flex-wrap: wrap; gap: .4rem 1rem; }
.stage-notes p { margin: 0; padding: .3rem .7rem; border: 1px solid rgba(242,195,91,.45); border-radius: var(--r); color: var(--gold); background: rgba(242,195,91,.06); font-size: .95rem; }
.stage-notes p[hidden] { display: none; }
.seg { display: inline-flex; flex-wrap: wrap; max-width: 100%; border: 1px solid var(--line-hi); border-radius: var(--r); overflow: hidden; }
.seg-b { display: inline-flex; align-items: center; min-height: 44px; padding: .5rem 1.05rem; font-family: var(--f-display); font-size: .95rem; line-height: 1.1; white-space: nowrap; color: var(--ink-2); background: transparent; border: 0; border-right: 1px solid var(--line); cursor: pointer; text-decoration: none; }
.seg-b:last-child { border-right: 0; }
.seg-b:hover { color: var(--ink); background: rgba(255,255,255,.05); }
.seg-b[aria-pressed="true"], .seg-b[aria-current="page"] { color: var(--gold); background: rgba(242,195,91,.12); box-shadow: none; }
.seg-b:focus-visible { outline: 2px solid var(--gold); outline-offset: -3px; }
.bar-actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.stage-beta { text-wrap: balance; max-width: 30em; margin: 0 auto .6rem; font: 700 .8125rem/1.2 var(--f-label); letter-spacing: .16em; text-transform: uppercase; color: var(--ember-hi); }
/* the rule for the poster's paragraphs below takes the margins: the build line keeps its own gap above Start */
.stage-start-in .stage-beta { margin: .9rem auto .6rem; }
.page-play .beta-line { margin: .6rem 0 0; }
/* side by side, the facts card is as tall as the words beside it: their tops and feet line up */
/* the facts share the card's height between them, a rule between each (not on a phone held on its side, which has no card) */
@media (min-width: 900px) and (min-height: 521px) {
  .page-play .page-head.with-card .head-card { align-self: stretch; display: flex; flex-direction: column; }
  .page-play .head-card .hc-facts { flex: 1; display: flex; flex-direction: column; gap: 0; }
  .page-play .head-card .hc-facts div { flex: 1; align-content: center; }
  .page-play .head-card .hc-facts div + div, .page-play .head-card .hc-status:not([hidden]) + .hc-facts { border-top: 1px solid var(--line); }
}
/* a large phone on its side: with no card the words take the whole width, so the title stays on one line */
@media (orientation: landscape) and (max-height: 520px) and (max-width: 1100px) { .page-play .page-head.with-card .head-grid { grid-template-columns: minmax(0, 1fr); } }
@media (min-width: 700px) { .page-play .page-head + .sec.tight { padding-top: 1.5rem; } }
.beta-banner { border: 1px solid rgba(242, 195, 91, .55); border-radius: var(--r); background: rgba(26, 19, 15, .7); padding: .7rem 1rem; max-width: none; }
.beta-banner .beta-tag { display: block; margin: 0 0 .3rem; }
/* the notice shows once (S-AWK-C19-PLAY-NOTICE-TWICE): on wide screens the box under the lead carries it and the poster says only
   the build. On phones the poster carries it instead, so the head keeps only the feedback link and Start stays in the first view */
.stage-beta-note { display: none; }
@media (max-width: 699px), (orientation: landscape) and (max-height: 520px) and (max-width: 1100px) {
  .page-play .beta-banner { border: 0; background: none; padding: 0; }
  .page-play .beta-banner .beta-tag, .page-play .beta-banner .beta-more { display: none; }
  .page-play .stage-beta-note { display: inline; }
}
/* a small phone (320 x 640 and the like): the lead keeps its first sentence, so Start the game is in the first view */
@media (max-width: 699px) and (max-height: 700px) { .page-play .page-head .lead-more { display: none; } }
/* ... and the head loses the empty band over its title (it has no picture here), so both lines under Start are whole too */
@media (max-width: 699px) and (max-height: 700px) {
  html .page-play .page-head.compact { padding-block: 1.1rem .8rem; }
  .page-play .page-head .lead { font-size: 1.05rem; }
  .stage-start-in .stage-beta { margin-block: 0 .5rem; }
  .stage-start-in #start-note { margin-top: .5rem; font-size: .875rem; line-height: 1.4; }
}
.stage-bar #play-status { margin: 0; flex-basis: 100%; }
@media (max-width: 700px) { .seg { flex: 1 1 100%; } .seg-b { flex: 1 1 auto; justify-content: center; padding-inline: .6rem; } }
@media (max-width: 380px) { .seg-b { font-size: .88rem; padding-inline: .4rem; } }
.rig { max-width: 960px; margin: .8rem auto 0; padding: .75rem 1rem; border: 1px solid var(--line-hi); background: var(--night-1); color: var(--ink); font-size: .98rem; }
.rig strong { color: var(--gold); font-family: var(--f-display); font-weight: 400; }
.ladder-offer { max-width: 960px; margin: .8rem auto 0; padding: .9rem 1rem; border: 1px solid var(--line-hi); background: var(--night-1); color: var(--ink); }
.ladder-offer p { margin: 0 0 .6rem; }
.lo-row { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; }
.lo-row label { color: var(--ink-2); }
.lo-row input { flex: 1 1 14rem; min-height: 40px; padding: .4rem .7rem; font: inherit; color: var(--ink); background: var(--night-0); border: 1px solid var(--line-hi); border-radius: var(--r); }
.lo-row input:focus-visible { outline: 2px solid var(--gold); outline-offset: 1px; }
#ladder-status { margin: .6rem 0 0; color: var(--ink-2); }
.bar-note { max-width: 960px; margin: .8rem auto 0; }
.rotate-note { display: none; max-width: 960px; margin: .8rem auto 0; }
@media (max-width: 700px) and (orientation: portrait) { .rotate-note { display: block; } }
/* full screen (real or the fixed-position fallback): a rail of its own holds the way out, so it is always there and never on the game.
   Landscape: a 56 px rail on the left (the game's wide view gives up a sliver of width); portrait: a 56 px bar on top. */
.stage-exit { display: none; }
.stage:fullscreen, .stage.pseudo-fs { max-width: none; min-width: 0; width: 100vw; height: 100vh; height: 100dvh; aspect-ratio: auto; border: 0; box-shadow: none; background: #120d0a; }
.stage:-webkit-full-screen { max-width: none; width: 100vw; height: 100vh; aspect-ratio: auto; border: 0; background: #120d0a; }
.stage.pseudo-fs { position: fixed; inset: 0; z-index: 90; }
.stage.is-fs .stage-exit { display: inline-flex; position: absolute; z-index: 5; left: calc(6px + env(safe-area-inset-left, 0px)); top: calc(6px + env(safe-area-inset-top, 0px)); width: 44px; min-height: 44px; padding: 0; justify-content: center; }
.stage.is-fs .stage-exit .lbl { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.stage.is-fs iframe { left: calc(56px + env(safe-area-inset-left, 0px)); width: calc(100% - 56px - env(safe-area-inset-left, 0px)); }
@media (orientation: portrait) {
  .stage.is-fs .stage-exit { width: auto; padding: 0 .9rem; }
  .stage.is-fs .stage-exit .lbl { position: static; width: auto; height: auto; overflow: visible; clip-path: none; }
  .stage.is-fs iframe { left: 0; width: 100%; top: calc(56px + env(safe-area-inset-top, 0px)); height: calc(100% - 56px - env(safe-area-inset-top, 0px)); }
}
html.noscroll, html.noscroll body { overflow: hidden; }
.mode-sel { min-width: 0; }
video { width: 100%; height: auto; background: #000; }

/* print / forced colours */
@media (forced-colors: active) { .btn, .cart { border: 1px solid ButtonText; } .dial-num, .readout dd { color: CanvasText; } }

/* Voices: compact clip list (world.html) */
.vgrid { display: grid; gap: 2rem 2.4rem; }
@media (min-width: 900px) { .vgrid { grid-template-columns: repeat(2, 1fr); } }
.vgroup h3 { margin-bottom: .2rem; }
.voices { list-style: none; padding: 0; margin: .8rem 0 0; max-width: none; }
.voice { display: grid; grid-template-columns: auto 1fr auto; gap: .9rem; align-items: center; margin: 0; padding: .7rem 0; border-bottom: 1px solid rgba(227,199,155,.12); }
.voice .pbtn.sm { width: 44px; height: 44px; box-shadow: none; }
.voice .pbtn.sm svg { width: 20px; height: 20px; }
.vtext { display: grid; gap: .15rem; min-width: 0; }
.vlabel { font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; color: var(--gold); }
.vtext q { font-style: italic; color: var(--sand); line-height: 1.45; quotes: "\201C" "\201D"; }
.vbar { display: block; height: 3px; margin-top: .35rem; background: rgba(227,199,155,.18); border-radius: 2px; overflow: hidden; }
.vbar i { display: block; height: 100%; width: 0; background: var(--gold); }
.voice.playing .vbar i { background: #ff8b52; }
.voice audio { grid-column: 1 / -1; width: 100%; }

/* Gallery of in-engine screenshots (play.html, how-to-play.html) */
.gallery { display: grid; gap: 1.2rem; margin: 1.6rem 0 0; padding: 0; list-style: none; max-width: none; }
@media (min-width: 560px) { .gallery { grid-template-columns: repeat(2, 1fr); } .gallery > li:first-child { grid-column: span 2; } }
@media (min-width: 1000px) { .gallery { grid-template-columns: repeat(4, 1fr); } }
.gallery figure { margin: 0; border: 1px solid var(--line); background: rgba(26, 19, 15, .7); display: flex; flex-direction: column; }
.gallery img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-bottom: 1px solid var(--line-hi); background: #000; }
.gallery-note { margin-top: 1.2rem; }
.shot-link { display: block; cursor: zoom-in; }
.shot-link:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.gallery figcaption { padding: .8rem .95rem 1rem; font-size: .9rem; line-height: 1.5; color: var(--ink-2); }
.gallery figcaption strong { display: block; font-family: var(--f-display); color: var(--gold); font-size: 1rem; margin-bottom: .15rem; }

/* Hero concept plates (factions.html) */
.heroes { display: grid; gap: 1.2rem; margin: 1.6rem 0 0; }
@media (min-width: 760px) { .heroes { grid-template-columns: repeat(3, 1fr); } }
.hero-plate { border: 1px solid var(--line); background: rgba(26, 19, 15, .7); margin: 0; }
.hero-plate img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-bottom: 1px solid var(--line-hi); }
.hero-plate figcaption { padding: .9rem 1.1rem 1.1rem; font-size: .95rem; line-height: 1.55; color: var(--ink-2); }
.hero-plate figcaption strong { display: block; font-family: var(--f-display); font-size: 1.15rem; color: var(--gold); margin-bottom: .2rem; }
.hero-plate .cart { display: inline-block; margin-bottom: .5rem; }

/* Status board (roadmap.html) */
.status { display: grid; gap: .8rem; margin: 1.4rem 0 0; padding: 0; list-style: none; max-width: none; }
.status li { margin: 0; padding: .9rem 1.1rem; border: 1px solid var(--line); background: rgba(26, 19, 15, .55); }
.status li.ok { border-left-color: #6fcf97; } .status li.wip { border-left-color: var(--gold); }
.status b { display: block; margin-bottom: .15rem; color: var(--sand); }
.status span { font-size: .93rem; color: var(--ink-2); }

/* Ladder page */
.board-filter { display: flex; flex-wrap: wrap; gap: .8rem 1.2rem; align-items: center; margin-bottom: 1rem; }
.board-filter label { display: flex; align-items: center; gap: .5rem; color: var(--ink-2); }
.board-filter select { min-height: 40px; font-size: .95rem; }
.board-filter p { margin: 0; }
.board-wrap { overflow-x: auto; }
.board { width: 100%; border-collapse: collapse; font-size: .98rem; }
.board th, .board td { padding: .6rem .8rem; text-align: left; border-bottom: 1px solid var(--line); }
.board th { color: var(--ink-2); font-family: var(--f-display); font-weight: 400; font-size: .88rem; }
.board td.num { font-variant-numeric: tabular-nums; }
.board-empty { padding: 1.2rem 1rem; border: 1px solid var(--line); background: var(--night-1); max-width: 34.68em; }
.steps { max-width: 40.46em; padding-left: 1.2rem; }
.steps li { margin: 0 0 .8rem; }

/* Campaign page: twelve missions */
.missions2 { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; max-width: 62rem; }
.missions2 li { display: grid; grid-template-columns: 3rem 1fr; gap: 1rem; padding: 1.1rem 0; border-top: 1px solid var(--line); }
.mnum2 { font-family: var(--f-display); font-size: 1.6rem; color: var(--gold); }
.missions2 h3 { margin: 0 0 .3rem; font-size: 1.3rem; }
.missions2 p { margin: 0 0 .3rem; line-height: 1.6; }
.missions2 .mmeta { color: var(--ink-2); }
.lead2 { max-width: 35.84em; font-size: 1.15rem; line-height: 1.7; }

/* home: the eight new units */
.newunits { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(118px, 1fr)); gap: 0; border: 1px solid var(--line); max-width: none; margin: 1rem 0 .4rem; }
.newunits li { margin: 0; outline: 1px solid var(--line); outline-offset: -1px; }
.newunits a { display: grid; grid-template-rows: 104px auto auto; justify-items: center; gap: .1rem; padding: .5rem .4rem .6rem; text-decoration: none; color: var(--ink); height: 100%; }
.newunits a:hover, .newunits a:focus-visible { background: rgba(255, 255, 255, .04); }
.newunits .np { display: flex; align-items: flex-end; justify-content: center; width: 100%; height: 104px; margin-bottom: .3rem; background: radial-gradient(48% 12% at 50% 92%, rgba(242, 195, 91, .18), transparent 72%); }
.newunits img { max-height: 100%; max-width: 100%; width: auto; height: auto; object-fit: contain; }
.newunits b { font-family: var(--f-display); font-weight: 400; color: var(--sand); text-align: center; line-height: 1.2; min-width: 0; max-width: 100%; overflow-wrap: normal; hyphens: manual; }
.newunits a > span:last-child { font-size: .875rem; color: var(--ink-2); font-style: italic; }
@media (max-width: 560px) {
  .newunits { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .newunits a { grid-template-rows: 72px auto auto; padding: .4rem .2rem .5rem; }
  .newunits .np { height: 72px; }
  .newunits b { font-size: .875rem; }
  .newunits a > span:last-child { font-size: .875rem; }
}
@media (max-width: 400px) {
  .newunits { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ===============================================================================================================   2026-11-10 (site round 2): art-led peoples, campaign acts, ladders, news, hero pause control. One radius band (4-8px),
   no new shadows, colours from the :root tokens only.
   ==================================================================================================================== */

/* section heads without a glyph ring: one column, so the description sits under the title, never beside it */
.sec-head.plain { grid-template-columns: minmax(0, 1fr); }
.sec-head.plain p { grid-column: 1; }
.h3like { font-size: clamp(1.25rem, 2.2vw, 1.6rem); }

/* tabs without JavaScript: every panel shows and the tab bar hides (head.js adds .js to <html> before the first paint) */
html:not(.js) .tabs [role="tablist"] { display: none; }
html:not(.js) .tabs [role="tabpanel"][hidden] { display: block !important; margin-top: 2.4rem; }

/* ---------- home hero ---------- */
.hero .where { list-style: none; padding: 0; margin: 0 0 1.4rem; display: flex; flex-wrap: wrap; gap: .4rem 1.3rem; color: var(--sand); max-width: none; }
.hero .where li { margin: 0; display: inline-flex; align-items: center; gap: .45rem; }
.hero .where .ico { color: var(--gold); }
.hero .price { margin: 1.2rem 0 0; color: var(--ink); }
.vid-toggle { position: absolute; z-index: 3; right: .8rem; bottom: .8rem; display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; padding: .45rem .85rem;
  border: 1px solid var(--line-hi); border-radius: var(--r); background: rgba(18, 13, 10, .78); color: var(--sand); font: 400 .95rem/1 var(--f-body); cursor: pointer; }
.vid-toggle:hover { color: var(--gold); background: rgba(18, 13, 10, .92); }
.vid-toggle .ico { width: 1.1em; height: 1.1em; }
html.js .gate-cap { padding-bottom: 4.2rem; }

/* ---------- home: the three peoples as pictures ---------- */
.trio { display: grid; gap: 2.2rem; }
@media (min-width: 900px) { .trio { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; } }
.folk { --acc: var(--gold); }
.folk.oru { --acc: var(--oru); }
.folk.thalm { --acc: var(--thalm); }
.folk-pic { display: block; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 9; background: var(--night-1); }
.folk-pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.folk:hover .folk-pic img { transform: scale(1.03); }
.folk .thread { margin: 1rem 0 .2rem; color: var(--acc); font-style: italic; }
.folk h3 { margin: 0 0 .4rem; font-size: clamp(1.4rem, 2.2vw, 1.75rem); }
.folk h3 a { color: var(--sand); text-decoration: none; }
.folk h3 a:hover { color: var(--acc); text-decoration: underline; }
.folk p { margin: 0; }

.news-strip { border-block: 1px solid var(--line); }
.news-strip .wrap { display: grid; gap: .3rem 2rem; align-items: baseline; }
@media (min-width: 900px) { .news-strip .wrap { grid-template-columns: minmax(0, 18rem) minmax(0, 1fr); } }
.news-strip p { margin: 0; }

/* ---------- page heads with one picture ---------- */
.page-head.with-art .head-grid, .page-head.with-card .head-grid { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 900px) { .page-head.with-card .head-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } }
.page-head.with-card .head-grid > div > :last-child { margin-bottom: 0; }
.head-card { border: 1px solid var(--line-hi); border-radius: var(--r); background: rgba(26, 19, 15, .7); padding: 1.1rem 1.3rem; }
.head-card p { margin: 0 0 .6rem; }
.head-card p:last-child { margin-bottom: 0; }
.head-card .hc-label { font: 700 .875rem/1.3 var(--f-label); text-transform: uppercase; letter-spacing: .12em; color: var(--ember-hi); }
.hc-status { display: flex; align-items: center; gap: .6rem; font-weight: 600; color: var(--ink); }
.hc-status .dot { width: .7rem; height: .7rem; border-radius: 50%; background: var(--ink-2); flex: none; }
.hc-status.up .dot { background: #7fd08a; }
.hc-status.down .dot { background: #e0a050; }
.hc-facts { margin: 0; display: grid; gap: .45rem; }
.hc-facts div { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr); gap: .8rem; }
.hc-facts dt { font: 700 .875rem/1.5 var(--f-label); text-transform: uppercase; letter-spacing: .1em; color: var(--ink-2); }
.hc-facts dd { margin: 0; }
.head-heroes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; align-items: end; max-width: none; }
.head-heroes li { margin: 0; }
.head-heroes a { display: grid; justify-items: center; gap: .3rem; text-decoration: none; color: var(--ink); text-align: center; }
.head-heroes img { height: clamp(110px, 14vw, 210px); width: auto; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .45)); }
.head-heroes span { font: 700 .875rem/1.25 var(--f-label); text-transform: uppercase; letter-spacing: .06em; }
.head-heroes small { color: var(--ink-2); font-style: italic; }
.head-heroes a:hover span, .head-heroes a:focus-visible span { color: var(--ember-hi); }
/* the narrowest phones: a title such as MATRIARCH fits its third of the row without breaking inside the word (critic round 30 D1) */
@media (max-width: 22.5em) { .head-heroes { gap: .5rem; } .head-heroes span { font-size: .75rem; letter-spacing: .02em; overflow-wrap: normal; } }
@media (min-width: 900px) { .page-head.with-art .head-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } }
.head-art { margin: 0; }
.page-head.with-art .facts-row { grid-template-columns: 1fr; gap: .6rem; }
.head-art img { width: 100%; border-radius: var(--r); border: 1px solid var(--line-hi); }
.head-art figcaption { margin-top: .5rem; }
.dl-size { opacity: .8; }
.btn .dl-size { display: block; flex-basis: 100%; font-size: max(14px, .95em); letter-spacing: .04em; }
.btn:has(.dl-size) { flex-wrap: wrap; text-align: left; row-gap: .15rem; }

/* ---------- peoples page ---------- */
.people-tabs [role="tablist"], .act-tabs [role="tablist"] { margin-bottom: 1.6rem; }
.people-panel { --acc: var(--gold); --floor: rgba(242, 195, 91, .18); }
.people-panel.oru { --acc: var(--oru); --floor: rgba(79, 214, 200, .2); }
.people-panel.thalm { --acc: var(--thalm); --floor: rgba(227, 106, 180, .18); }
.people-shot img, .act-shot img { width: 100%; border-radius: var(--r); border: 1px solid var(--line); }
.people-text { display: grid; gap: 1rem 3rem; margin-top: 1.8rem; }
@media (min-width: 900px) { .people-text { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); } }
.people-text .thread { color: var(--acc); font-style: italic; margin: 0 0 .2rem; }
.people-text h2 { margin: 0 0 .6rem; }
.people-text h3 { font-size: 1.2rem; color: var(--acc); margin-top: .3rem; }
.people-text .more { font-family: var(--f-display); }
.tips { padding-left: 1.1em; }
.tips li { margin-bottom: .6rem; }
.roster10 { margin-top: 1.8rem; grid-template-columns: repeat(6, minmax(0, 1fr)); }
.roster10 li:last-child { grid-column: span 1; }
.roster10 a { grid-template-rows: 150px auto auto; padding: .8rem .4rem .9rem; }
.roster10 .np { height: 150px; }
.roster10 .np { background: radial-gradient(48% 12% at 50% 92%, var(--floor), transparent 72%); }
.roster10 a:hover b, .roster10 a:focus-visible b { color: var(--acc); }
@media (max-width: 640px) { .roster10 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 380px) { .roster10 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- campaign ---------- */
.facts-row { list-style: none; padding: 0; margin: 1.6rem 0 0; display: grid; gap: 1rem 2rem; max-width: none; }
@media (min-width: 900px) { .facts-row { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.facts-row li { margin: 0; border-top: 1px solid var(--line-hi); padding-top: .7rem; color: var(--ink-2); }
.facts-row b { color: var(--sand); font-weight: 600; }
.act-panel { display: grid; gap: 1.6rem 3rem; align-items: start; }
@media (min-width: 900px) { .act-panel:not([hidden]) { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); } .act-shot { position: sticky; top: calc(var(--header-h) + 1rem); } }
.missions2 li { grid-template-columns: 3rem minmax(0, 1fr); }
.missions2 li:first-child { border-top: 0; padding-top: 0; }
.missions2 h3 { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .8rem; }
/* a wide screen: an act's four missions two by two beside its picture, so neither column runs on alone */
@media (min-width: 1100px) {
  .act-panel .missions2 { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 2rem; }
  .act-panel .missions2 li { grid-template-columns: 2.4rem minmax(0, 1fr); gap: .7rem; }
  .act-panel .missions2 li:nth-child(2) { border-top: 0; padding-top: 0; }
}
.brief { margin: .2rem 0 .4rem; padding: 0; }
.brief p { margin: 0; font-style: italic; color: var(--ink); }
.brief footer { font-size: .95rem; color: var(--ink-2); }
.price { color: var(--ink); }

/* ---------- ladders ---------- */
.board-note { margin: 0 0 .8rem; }
.board-rules { margin-top: 2rem; }
.board-rules h3 { font-size: 1.2rem; }

/* ---------- world ---------- */
.vp { display: inline-grid; place-items: center; flex: none; width: 2.75rem; height: 2.75rem; padding: 0; border: 1px solid var(--line-hi); border-radius: 50%; background: transparent; color: var(--gold); cursor: pointer; }
.vp:hover { background: rgba(255, 255, 255, .06); }
.vp .ico { width: 1.1rem; height: 1.1rem; }
.vp[aria-pressed="true"] { background: var(--gold); color: var(--night-0); border-color: var(--gold); }
.volva-lines { list-style: none; padding: 0; margin: 0; max-width: none; display: grid; gap: 1.2rem; }
.volva-lines li { margin: 0; display: flex; gap: 1rem; align-items: flex-start; border-top: 1px solid var(--line); padding-top: 1.1rem; }
.volva-lines blockquote { margin: 0; }
.volva-lines blockquote p { margin: 0 0 .2rem; font-size: 1.15rem; font-style: italic; color: var(--ink); }
.volva-lines footer { color: var(--ink-2); font-size: .95rem; }
.ages4 { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.6rem 2rem; max-width: none; }
@media (min-width: 760px) { .ages4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .ages4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.ages4 > li { margin: 0; border-top: 1px solid var(--line-hi); padding-top: .9rem; }
.ages4 h3 { margin: 0 0 .1rem; }
.ages4 h3 span { color: var(--gold); margin-right: .3rem; }
.ages4 .rite { color: var(--ink-2); margin: 0 0 .7rem; }
.ages4 dl > div { padding: .3rem 0; }
.ages4 dt { font-family: var(--f-display); color: var(--sand); }
.ages4 dd { margin: 0; line-height: 1.5; }
.heroes3 { list-style: none; padding: 0; margin: 0; display: grid; gap: 2rem; max-width: none; }
@media (min-width: 760px) { .heroes3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.heroes3 li { margin: 0; }
.heroes3 a { display: grid; justify-items: center; gap: .5rem; text-decoration: none; }
.heroes3 .np { display: flex; align-items: flex-end; justify-content: center; height: 240px; width: 100%; background: radial-gradient(40% 10% at 50% 94%, rgba(242, 195, 91, .2), transparent 72%); }
.heroes3 img { max-height: 100%; width: auto; }
.heroes3 b { font-family: var(--f-display); font-weight: 400; font-size: 1.25rem; color: var(--sand); text-align: center; }
.heroes3 a:hover b { color: var(--gold); text-decoration: underline; }
.heroes3 p { text-align: center; margin: .4rem auto 0; color: var(--ink-2); }

/* ---------- news ---------- */
.news-entry { display: grid; gap: 1rem 3rem; }
@media (min-width: 900px) { .news-entry { grid-template-columns: minmax(0, 15rem) minmax(0, 1fr); } }
.news-date h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin: 0 0 .2rem; }
.news-entry .plainlist > div:first-child { border-top: 0; padding-top: 0; }
.news-entry figure { margin: 1.2rem 0 1.6rem; }
.news-entry figure + .plainlist > div:first-child { border-top: 1px solid var(--line); padding-top: 1rem; }
@media (max-width: 560px) {
  .roster10 a { grid-template-rows: 96px auto auto; }
  .roster10 .np { height: 96px; }
  .roster10 b, .newunits b { font-size: .95rem; }
  .roster10 a > span:last-child, .newunits a > span:last-child { font-size: .875rem; }
}
/* play.html: the earlier changes under the new ones, and the engine clip under the screenshots (one folded section each) */
.sub-h { margin: 2rem 0 .8rem; }
.wrap-clip { margin-top: 2.4rem; }

/* folded long reference blocks (older news, handheld numbers): the summary is a full-width row */
.older-builds details, .perf-fold details { max-width: none; }
.older-builds details > .sec, .perf-fold details > .wrap { padding-block: 1.6rem 0; }
.older-builds details > .sec > .wrap, .perf-fold details > .wrap { padding-inline: 0; }

/* play page: the loading and failure line drawn over the game frame until the game runs */
.stage-veil { position: absolute; inset: auto 0 0 0; z-index: 4; padding: 1.4rem max(16px, 2vw); background: linear-gradient(0deg, rgba(10,7,4,.92), rgba(10,7,4,0));
  color: var(--ink); font: 700 .95rem/1.4 var(--f-label); text-align: center; pointer-events: none; }
/* the play page's run switcher and the wiki's people switcher wear the site's square caps buttons */
.seg-b { font: 700 .875rem/1.1 var(--f-label) !important; text-transform: uppercase; letter-spacing: .1em; }
.seg-b[aria-pressed="true"], .seg-b[aria-current="page"] { color: #23160a !important; background: var(--metal) !important; }
.peoplebar a { font: 700 .875rem/1.1 var(--f-label); text-transform: uppercase; letter-spacing: .1em; }
.page-head.compact-head { padding-block: clamp(4rem, 8vw, 6rem) clamp(1.6rem, 3vw, 2.4rem); }

/* the play page after a failed load: the poster, dimmed, with the message and Try again on top */
.stage-start.failed img { filter: brightness(.35) saturate(.6); }
.stage-start.failed #start-note { color: var(--ink); font-size: 1rem; max-width: 26.59em; }
.stage-start.failed #start-note a { display: inline-block; margin-top: .6rem; }
/* units overview: the name under every figure, one aligned row per people */

/* units overview: the second paragraph of the head stands apart */
.page-wiki .page-head .lead + p, .page-wiki .page-head p + p { margin-top: .9rem; }
/* the play page run switcher: two rows on the narrowest phones, so every label shows */
@media (max-width: 359px) { .seg { flex-wrap: wrap; } .seg .seg-b { flex: 1 1 45%; } }
/* world map on a phone: the names stand next to the lights */

/* play page: the screens as a sideways strip under the game, and the build details as tabs */
.h-compact { font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin: 0 0 1.2rem; }
.strip-gallery { display: grid !important; grid-auto-flow: column; grid-auto-columns: minmax(280px, 30%); grid-template-columns: none !important; gap: .8rem;
  overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: .6rem; scrollbar-color: var(--line-hi) transparent; }
.strip-gallery > li { scroll-snap-align: start; }
@media (max-width: 699px) { .strip-gallery { grid-auto-columns: 78%; } }
.detail-tabs [role="tabpanel"] { padding-top: 1.6rem; }
/* tab strips that scroll sideways on a phone fade at the edge, so the cut-off tab reads as more */
@media (max-width: 699px) {
  .tabs [role="tablist"] { -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
  .seg { flex-wrap: wrap; max-width: 100%; } .seg .seg-b { flex: 1 1 auto; justify-content: center; }
  .page-play .page-head { padding-block: 4.6rem 1.2rem; }
  .page-play .sec.tight:first-of-type { padding-block-start: 1rem; }
}
/* open unit card: the picture sits at the top */
.card[open] .pic { align-self: start; }
/* what's new on the play page: the items side by side on wide screens */
@media (min-width: 900px) {
  #new > div > .plainlist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 2.4rem; }
  #new > div > .plainlist > div { display: block; }
  #new > div > .plainlist dt { margin-bottom: .3rem; }
}

/* an empty ladder: the invitation is its own button above the sentence */
.board-empty .btn { display: table; margin: 0 0 .9rem; }
/* units overview: bigger figures */

/* big capitals: a little air between words, so "IT YOURSELF" never reads as one word */
h1, h2, .h-compact { word-spacing: .08em; }
/* the narrowest phones: long page titles fit */
@media (max-width: 359px) { .page-head h1 { font-size: 2.05rem; overflow-wrap: anywhere; } }
/* a button's small print (download size) sits on its own line */
.btn .btn-note { display: block; font-size: .78em; letter-spacing: .06em; opacity: .8; }
.btn:has(.btn-note) { flex-wrap: wrap; text-align: left; }
/* old 640 by 480 captures are never shown larger than they were taken */
img[src*="assets/img/shot_"] { max-width: min(100%, 640px); }

/* play page on a phone: the game picture sits right below, so the head is plain text on the solid ground */
@media (max-width: 699px) {
  .page-play .page-head .head-bg { display: none; }
  .page-play .page-head::after { display: none; }
  .page-play .page-head { background: var(--night-1); }
}
/* small labels never below 13px */
.act-tabs [role="tab"], .campaign .label, .mission .lvl, .card .age, .eyebrow-sm { font-size: max(.8125rem, 1em) !important; }
.card .age { font-size: .8125rem !important; }
/* landscape phones: a smaller wordmark so Apply to test stays in view; the wordmark starts clear of the header (the header is
   58 px there: 4.2rem left "Seidr" touching it, critic round 31 S8) */
@media (max-height: 500px) and (orientation: landscape) {
  .logotype .l1 { font-size: clamp(2.6rem, 11vh, 4rem) !important; }
  .logotype .l2 { font-size: clamp(1rem, 4.5vh, 1.6rem) !important; }
  .keyart-copy { padding-top: calc(var(--header-h) + .8rem) !important; }
  .tagline { margin-block: .4rem .8rem !important; }
}
.mmeta { font-size: .8125rem !important; }
kbd { font-size: max(.8125rem, .85em); }

/* phone landscape: the tagline and buttons get a dark backing over the art */
@media (max-height: 520px) and (orientation: landscape) {
  .keyart-copy { background: radial-gradient(closest-side, rgba(14,10,7,.82), rgba(14,10,7,.55) 70%, rgba(14,10,7,0)); padding-inline: 2rem; }
  .tagline { text-shadow: 0 1px 2px #000, 0 0 10px rgba(0,0,0,.85); }
}
/* page heads with a painting: the right side darkens too, so a subtitle never sits on the bright sun */
.page-head:has(.head-bg) .lead, .page-head:has(.head-bg) .thread, .page-head:has(.head-bg) p { text-shadow: 0 1px 2px rgba(0,0,0,.9), 0 0 14px rgba(0,0,0,.75); }
/* handheld: the download size on its own centred line */
.btn .dl-size { text-align: center; }
.btn:has(.dl-size) { justify-content: center; text-align: center; }

/* ---------- round 11 ---------- */
/* a page head can show a closer crop of its painting (--bg-z), about the same point it is placed at */
.page-head:has(.head-bg) { overflow: clip; }
.page-head .head-bg { transform: scale(var(--bg-z, 1)); transform-origin: var(--bg-pos, 50% 40%); }
/* tab strips of two or three tabs: on a phone they all stay in view, on two rows if they must */
@media (max-width: 480px) {
  .tabs [role="tablist"]:not(:has(> :nth-child(4))) { flex-wrap: wrap; overflow: visible; -webkit-mask-image: none; mask-image: none; }
  .tabs [role="tablist"]:not(:has(> :nth-child(4))) > [role="tab"] { flex: 1 1 auto; padding-inline: .55rem; letter-spacing: .06em; white-space: normal; }
  /* the play page's four modes: two by two */
  .seg { display: grid; grid-template-columns: 1fr 1fr; }
  .seg .seg-b { border-right: 0; border-bottom: 1px solid var(--line); }
  .seg .seg-b:nth-child(odd) { border-right: 1px solid var(--line); }
  .seg .seg-b:nth-last-child(-n+2) { border-bottom: 0; }
}
/* the brand mark keeps its size on the narrowest phones */
.brand svg { flex-shrink: 0; }
/* world: the Awakening line under the three threads is the section's last word, set large */
.threads + p { max-width: 26.59em; margin: 3rem auto 0 !important; text-align: center; font-size: clamp(1.2rem, 1.9vw, 1.5rem); line-height: 1.5; color: var(--sand); padding-top: 2rem; border-top: 1px solid var(--line); }
/* play: the side box is as tall as its words */
.cols > .slab { align-self: start; }
/* handheld: the five install steps in two columns on a wide screen */
@media (min-width: 1000px) {
  #steps .steps { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: repeat(3, auto); grid-auto-flow: column; column-gap: clamp(3rem, 5vw, 5rem); }
  #steps .steps > li:nth-child(3) { border-left-color: transparent; }
  #steps .steps { max-width: none; }
  #steps .codeblock code { white-space: pre-wrap; overflow-wrap: anywhere; }
}
/* ladder: the empty board is a full-width line, the button beside the words */
.board-empty { max-width: none; }
@media (min-width: 800px) {
  .board-empty:not([hidden]) { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 1.6rem; }
  .board-empty .btn { margin: 0; }
}

/* the campaign's three acts on a phone: three equal tabs, a long name on two lines inside its tab */
@media (max-width: 480px) {
  .act-tabs [role="tablist"] { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }
  .act-tabs [role="tablist"] > [role="tab"] { text-align: center; padding-inline: .3rem; }
}

/* a phone on its side (about 844 x 390): the page head is one line and a lead, the decorative picture beside it steps aside, so
   the content (and the play page's Start button) is on the first screen */
@media (orientation: landscape) and (max-height: 520px) and (max-width: 1100px) {
  .page-head { padding-block: 1.6rem 1.2rem; }
  .page-head h1 { font-size: clamp(2rem, 9vh, 2.8rem); max-width: none; }
  .page-head.with-art .head-art { display: none; }
  html { font-size: 88%; }
  body { line-height: 1.6; }
  .sec { padding-block: 2rem; }
  .sec.tight { padding-block: 1.6rem; }
  .page-head.compact { padding-block: .9rem .7rem; }
  .page-head.compact .lead { display: none; }
  .page-head.with-card .head-card, .page-head.with-card .head-heroes { display: none; }
  /* the game takes the screen under the header (in the wide layout the game draws for any window shape), less one row for
     its controls, so Full screen and Restart stay in reach under it */
  .stage:not(.is-fs) { max-width: none; width: 100%; aspect-ratio: auto; height: calc(100svh - var(--header-h, 68px) - 80px); }
  .stage-bar { margin-top: .6rem; }
}
/* handheld: every command, path and checksum the reader types or compares is at least 14 px */
.page-handheld code { font-size: max(14px, .9em); }
/* a phone on its side, 760 px and wider: the two-column layouts stay two columns, so a page is not twice as long as it needs to be */
@media (orientation: landscape) and (max-height: 520px) and (min-width: 760px) and (max-width: 1100px) {
  .cols.c2, .cols.c-7-5, .cols.c-5-7 { grid-template-columns: 1fr 1fr; }
}

/* privacy.html: one reading column; the headings a step below the display size, with room above each */
.page-privacy .wrap.narrow h2 { font-size: clamp(1.7rem, 2.8vw, 2.4rem); margin: 2.4rem 0 .8rem; }
.page-privacy .wrap.narrow > h2:first-child, .page-privacy .wrap.narrow > .sec-head:first-child h2 { margin-top: 0; }
.page-privacy .wrap.narrow h3 { margin-top: 1.6rem; }
.pv-tabs [role="tablist"] { margin-bottom: 1.4rem; }
.pv-tabs [role="tabpanel"] > p:first-child { margin-top: 0; }
/* the opening section: what in short + who is responsible beside your rights + complaints, where there is room */
@media (min-width: 760px) { .page-privacy .wrap.narrow.pv-cols { display: grid; grid-template-columns: 1fr 1fr; column-gap: 3rem; align-items: start; } .page-privacy .pv-col > h2:first-child { margin-top: 0; } }
/* the retention schedule reads as two columns where there is room (it is the page's main list, shown open) */
@media (min-width: 760px) { .page-privacy .wrap.narrow { max-width: 68rem; } .page-privacy #pv-share > ul { columns: 2; column-gap: 2.4rem; max-width: none; } .page-privacy #pv-share li { break-inside: avoid; } }
/* wide screens: the tab texts run in two columns, so they fill the width of the tab row above them */
@media (min-width: 1000px) { .page-privacy .pv-tabs [role="tabpanel"] > p, .page-privacy .pv-tabs [role="tabpanel"] > ul, .page-privacy .pv-more > ul { columns: 2; column-gap: 2.4rem; max-width: none; } .page-privacy .pv-tabs li { break-inside: avoid; } .page-privacy #pv-online > p { columns: auto; max-width: none; } .page-privacy .pv-more { max-width: none; } }
/* the privacy head: the heading and the lead start on the same line and the same left edge as the sections under them */
.page-privacy .page-head:not(.with-art):not(.with-card):not(.wiki-head) > .wrap, .page-beta .page-head:not(.with-art):not(.with-card):not(.wiki-head) > .wrap { align-items: start; }
/* the online-play schedule: one row a kind of data, what it is under its name, how long it is kept beside it */
.pv-table { margin: 0 0 1.2rem; }
.pv-table thead th { position: static; }
.pv-table tbody th { font-weight: 700; }
.pv-table tbody th span { display: block; margin-top: .2rem; font-weight: 400; color: var(--ink-2); font-size: .92rem; }
.pv-table td { width: 34%; color: var(--gold); font-weight: 600; }
/* phones: each row stacks, the name and what it holds at full width, then how long it is kept */
@media (max-width: 699px) {
  .pv-table thead { display: none; }
  .pv-table tbody th, .pv-table tbody td { display: block; width: auto; padding: 0 .2rem; border: 0; }
  .pv-table tbody th { padding-top: .6rem; }
  .pv-table tbody td { padding-bottom: .6rem; border-bottom: 1px solid var(--line); }
  .pv-table tbody td::before { content: "Kept for: "; color: var(--ink-2); font-weight: 400; }
  .pv-table tbody th span { font-size: .875rem; line-height: 1.4; }
}
.pv-detail-toggle { margin: 0 0 .8rem; }
@media (min-width: 700px) and (min-height: 521px), (min-width: 1101px) { .pv-detail-toggle { display: none; } }
@media (max-width: 699px), (orientation: landscape) and (max-height: 520px) and (max-width: 1100px) { .pv-brief tbody th span { display: none; } .pv-brief tbody th { padding-top: .45rem; } .pv-brief tbody td { padding-bottom: .45rem; } }
.page-privacy .sec.fold .sec-head h2 { font-size: clamp(1.7rem, 2.8vw, 2.4rem); text-transform: uppercase; font-weight: 900; letter-spacing: -.025em; }
/* about: privacy and contact side by side on a wide screen */
@media (min-width: 760px) { .about-pair { display: grid; grid-template-columns: 3fr 2fr; column-gap: clamp(2rem, 5vw, 4.5rem); align-items: start; } }
.about-pair > div > p:last-child { margin-bottom: 0; }
@media (max-width: 759px) { .about-pair > #contact { margin-top: 2.4rem; } }
/* a phone on its side: the privacy notice's section headings sit a little closer */
@media (orientation: landscape) and (max-height: 520px) and (max-width: 1100px) { .page-privacy .wrap.narrow h2 { font-size: 1.5rem; } .page-privacy .wrap.narrow h2:not(:first-child) { margin-top: 1.6rem; } }
/* the closed beta gate (beta.html): the sign-up form, and beside it leaving and what we hold */
.page-beta .wrap.narrow { max-width: 68rem; }
@media (min-width: 760px) { .beta-cols { display: grid; grid-template-columns: 3fr 2fr; column-gap: clamp(2rem, 5vw, 4.5rem); align-items: start; } }
.beta-form h2, .beta-side h2 { font-size: clamp(1.7rem, 2.8vw, 2.4rem); margin: 0 0 1rem; }
.beta-side h3 { margin-top: 1.6rem; }
@media (max-width: 759px) { .beta-side { margin-top: 2.6rem; padding-top: 2rem; border-top: 1px solid var(--line); } }
.beta-field { display: grid; gap: .45rem; font-weight: 600; color: var(--ink); }
.beta-field input { font: inherit; font-weight: 400; font-size: 1.05rem; min-height: 48px; padding: .6rem .85rem; border: 1px solid var(--line-hi); background: var(--night-0); color: var(--ink); border-radius: var(--r); max-width: 100%; }
.beta-form [aria-invalid="true"] { border-color: var(--warn); outline: 2px solid var(--warn); outline-offset: 2px; }
.beta-note { font-size: .92rem; color: var(--ink-2); margin: .5rem 0 0; }
.beta-ticks { border: 1px solid var(--line); border-radius: var(--r); padding: .6rem 1rem 1rem; margin: 1.4rem 0; }
.beta-ticks legend { padding: 0 .4rem; font: 700 .875rem/1.3 var(--f-label); text-transform: uppercase; letter-spacing: .12em; color: var(--gold); }
.beta-ticks label { display: grid; grid-template-columns: 28px 1fr; gap: .7rem; align-items: start; padding: .55rem 0; cursor: pointer; }
.beta-ticks input { width: 24px; height: 24px; margin: .1rem 0 0; accent-color: var(--gold); cursor: pointer; }
.beta-msg { border: 1px solid var(--warn); border-radius: var(--r); padding: .7rem 1rem; color: var(--ink); background: rgba(255, 181, 90, .08); }
.beta-msg.good { border-color: var(--ok); background: rgba(143, 220, 170, .08); }
.beta-use { margin: .7rem 0 0; color: var(--ink); }
.beta-msg .beta-continue { display: flex; width: max-content; max-width: 100%; margin-top: .9rem; }
/* beta.html without JS: the outcome the sign-up API names in the address fragment (#beta-sent, #beta-e-ticks ...) is shown by
   :target; with JS (html.beta-js) the page shows its own message instead, so never both */
.beta-out { display: none; }
.beta-out:target { display: block; }
html.beta-js .beta-out:target { display: none; }
.beta-out .beta-continue-static { display: flex; width: max-content; max-width: 100%; margin-top: .9rem; }
/* after "check your email" the sign-up is done: the form's fields fold away, the message and Continue stay */
.beta-form.beta-done > :not(h2):not(.beta-msg:not([hidden])) { display: none; }
#beta-sent:target ~ .beta-field, #beta-sent:target ~ .beta-use, #beta-sent:target ~ .beta-ticks, #beta-sent:target ~ button,
#beta-sent:target ~ .beta-notice,
#beta-confirmed:target ~ .beta-field, #beta-confirmed:target ~ .beta-use, #beta-confirmed:target ~ .beta-ticks, #beta-confirmed:target ~ button,
#beta-confirmed:target ~ .beta-notice { display: none; }
.beta-also { display: block; margin-top: .8rem; }
/* the ticks' own message, by the boxes (focus goes to the first missing one) */
.beta-tickmsg { margin: .6rem 0 0; border: 1px solid var(--warn); border-radius: var(--r); padding: .55rem .9rem; color: var(--ink); background: rgba(255, 181, 90, .08); }
/* the sign-up notice is its own block under the button, not text the button floats in (critic round 17 L2) */
.beta-notice { margin-top: 1.6rem; padding-top: 1.2rem; border-top: 1px solid var(--line); }
/* Leave asks first (beta.js); the ask sits where the button was */
.beta-leave-ask p { margin: 0 0 .8rem; }
.beta-leave-ask .btn { margin: 0 .5rem .5rem 0; }
.beta-leave[hidden], .beta-leave-ask[hidden], .beta-manage[hidden] { display: none; }
.beta-msg:focus { outline: 2px solid var(--ember-hi); outline-offset: 2px; }
/* on a phone the returning-tester column comes after the long form: the head links straight to it (critic round 24 F7) */
.beta-jump { margin: .9rem 0 0; }
@media (min-width: 760px) { .beta-jump { display: none; } }
/* on a phone, "Already a tester?" and the sign-in come before the long notice under the form (critic round 25 F13): the form's
   boxes join the column (display: contents keeps them in the form) and the notice is ordered after the side column */
@media (max-width: 759px) {
  .beta-cols { display: flex; flex-direction: column; }
  .beta-cols > .beta-form { display: contents; }
  .beta-cols > .beta-side { order: 1; }
  .beta-cols .beta-notice { order: 2; margin-top: 2rem; }
}
.beta-first { margin: .9rem 0 0; color: var(--ink); }
/* a phone on its side: play and beta keep the intro's first sentence (it holds the sign-up link) */
@media (orientation: landscape) and (max-height: 520px) and (max-width: 1100px) {
  .page-play .page-head.compact .lead, .page-beta .page-head.compact .lead { display: block; }
  .page-play .page-head .lead-more { display: none; }
}
/* a hyphenated name never breaks at its hyphen ("ORU-/VAEL", critic round 24 F15) */
.nw { white-space: nowrap; }

/* c19: the beta and privacy pages carry a head picture beside the title (critic rounds 25-26: no picture at all). On a phone the
   form and the notice come first: the picture is left out there, as the landscape phone already does for every head picture. */
.page-head.compact.with-art .head-grid { gap: 1.6rem 2.4rem; }
@media (min-width: 900px) { .page-head.compact.with-art .head-grid { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); } }
@media (max-width: 699px) { .page-beta .head-art, .page-privacy .head-art { display: none; } }

/* an accepted tester on beta.html (critic round 30 S5/S7): the form is done and the way-in column is gone, so the status and
   Leave stack in one column instead of a short box beside a tall one; a heading or message brought into view stops below the
   sticky header */
@media (min-width: 760px) { .beta-cols:has(.beta-form.beta-done) { grid-template-columns: minmax(0, 1fr); max-width: 44rem; } }
.beta-cols:has(.beta-form.beta-done) .beta-side { margin-top: 2rem; }
.page-beta h1, .page-beta .beta-msg, .page-beta h2 { scroll-margin-top: calc(var(--header-h) + 1rem); }
.stage-nojs { margin: 0 0 .8rem; padding: .6rem .9rem; border: 1px solid var(--ember); border-radius: var(--r); background: rgba(14, 10, 7, .85); color: var(--ink); font-weight: 600; }

/* Seidr Awakening - unit wiki (units.html, hesh.html, oru.html, thalm.html). Loaded after pages.css.
   The roster is a carved ledger: hairline-ruled cells, each a figure standing on its own lit floor. Opening a cell turns it
   into a full-width entry. Accent colour per people. */

.page-wiki { --acc: var(--gold); --acc-2: var(--lapis-hi); --floor: rgba(242, 195, 91, .2); }
.wiki-oru { --acc: var(--oru); --acc-2: var(--oru-copper); --floor: rgba(79, 214, 200, .2); }
.wiki-thalm { --acc: var(--thalm); --acc-2: #63d8ee; --floor: rgba(227, 106, 180, .18); }

/* ---------- head ---------- */
.wiki-head { padding-block: clamp(2rem, 4.5vw, 3.6rem) clamp(1.4rem, 3vw, 2.2rem); }
.wiki-head h1 { font-size: clamp(2.4rem, 5.4vw, 4.2rem); margin-bottom: .15em; }
.wiki-head .lead { max-width: 34.68em; }
.head-strip { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: clamp(.6rem, 2vw, 1.6rem); margin-top: 1.6rem; }
.head-strip img { height: clamp(64px, 8vw, 140px); width: auto; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .45)); }
/* a people's own page: its five models beside the words on a wide screen, under them (from the left) on a narrower one */
body:not(.wiki-all) .wiki-head .head-strip { justify-content: flex-start; gap: clamp(.9rem, 3vw, 2rem); }
body:not(.wiki-all) .wiki-head .head-strip img { height: clamp(84px, 13vw, 130px); }
/* the Mythic giant (last) stands taller than the line in front of it */
body:not(.wiki-all) .wiki-head .head-strip img:last-child { height: clamp(104px, 17vw, 170px); }
@media (min-width: 1100px) {
  body:not(.wiki-all) .wiki-head > .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .85fr); column-gap: clamp(2rem, 4vw, 4rem); }
  body:not(.wiki-all) .wiki-head > .wrap > * { grid-column: 1; }
  body:not(.wiki-all) .wiki-head .head-strip { grid-column: 2; grid-row: 1 / span 6; align-self: center; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(0, 1.8fr); align-items: end; justify-items: center; gap: .6rem; }
  body:not(.wiki-all) .wiki-head .head-strip img { height: auto; max-height: 230px; width: auto; max-width: 100%; object-fit: contain; }
  body:not(.wiki-all) .wiki-head .head-strip img:last-child { max-height: 290px; }
  /* the Thalm's giant is a coiled serpent, wider than tall: it gets a row of its own under the choir */
  body.wiki-thalm .wiki-head .head-strip { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  body.wiki-thalm .wiki-head .head-strip img:last-child { grid-column: 1 / -1; max-height: 170px; }
  /* the unit wiki's head: each people's hero and Mythic giant, two rows of three, beside the words */
  body.wiki-all .wiki-head > .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); column-gap: clamp(2rem, 4vw, 4rem); }
  body.wiki-all .wiki-head > .wrap > * { grid-column: 1; }
  body.wiki-all .wiki-head .head-strip { grid-column: 2; grid-row: 1 / span 6; align-self: center; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: end; justify-items: center; gap: 1rem .6rem; }
  body.wiki-all .wiki-head .head-strip img { height: auto; max-height: 170px; width: auto; max-width: 100%; object-fit: contain; }
}
.crumbs { font-size: .92rem; color: var(--ink-2); margin-bottom: .9rem; }
.crumbs a { color: var(--sand); display: inline-block; padding: .35rem 0; min-height: 24px; }
.crumbs [aria-current] { color: var(--ink-2); }
.thread { font-style: italic; color: var(--sand-dim); margin: 0 0 .9rem; }
.wiki-head .thread { color: var(--acc); }
.peoplebar { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.4rem; }
.peoplebar a { display: inline-flex; align-items: center; gap: .55rem; min-height: 44px; padding: .45rem 1rem; border: 1px solid var(--line-hi); border-radius: var(--r); color: var(--ink-2); text-decoration: none; font-family: var(--f-display); }
.peoplebar a:hover { color: var(--ink); background: rgba(255, 255, 255, .04); }
.peoplebar a[aria-current="page"] { color: var(--night-0); background: var(--acc); border-color: var(--acc); }
.peoplebar .ico { width: 1.2em; height: 1.2em; }
.wiki-sec { padding-block: clamp(2rem, 4vw, 3.2rem); }
.wiki-sec + .wiki-sec { border-top: 1px solid var(--line); }
.wiki-sec .sec-head { margin-bottom: 1.3rem; }
.wiki-sec .sec-head .ring { color: var(--acc); }

/* ---------- the ledger of cards ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 0; grid-auto-flow: row dense; border: 1px solid var(--line); }
.cards.halls { grid-template-columns: repeat(auto-fill, minmax(208px, 1fr)); }
details.card { border: 0; padding: 0; margin: 0; max-width: none; background: var(--night-0); min-width: 0; outline: 1px solid var(--line); outline-offset: -1px; }
details.card:not([open]) > .dossier { display: none; }
details.card:last-of-type { border-bottom: 0; }
details.card > :not(summary) { margin-top: 0; }
.card > summary { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "pic pic" "nm age" "rl rl" "kv kv"; align-items: start; gap: .15rem .5rem; padding: .7rem .85rem .85rem; min-height: 0; font-family: var(--f-body); font-size: 1rem; color: var(--ink); cursor: pointer; height: 100%; }
.card > summary::before { display: none; }
.card > summary:hover { background: rgba(255, 255, 255, .035); }
.card > summary:focus-visible { outline-offset: -3px; }
.card .pic { grid-area: pic; display: flex; align-items: flex-end; justify-content: center; height: 150px; margin-bottom: .45rem;
  background: radial-gradient(48% 13% at 50% 93%, var(--floor), transparent 72%); }
.card.bld .pic { height: 160px; }
.card .pic img { max-height: 100%; width: auto; max-width: 100%; object-fit: contain; }
.card .age { grid-area: age; font: 700 .75rem/1 var(--f-label); text-transform: uppercase; letter-spacing: .08em; color: var(--acc); border: 1px solid currentColor; border-radius: var(--r); height: 1.6rem; display: grid; place-items: center; padding: 0 .4rem; margin-top: .1rem; white-space: nowrap; }
.card .nm { grid-area: nm; font-family: var(--f-display); font-size: 1.08rem; line-height: 1.2; color: var(--sand); }
.card .rl { grid-area: rl; font-size: .875rem; line-height: 1.35; color: var(--ink-2); font-style: italic; }
.card .kv { grid-area: kv; font-size: .875rem; color: var(--ink-2); margin-top: .3rem; font-variant-numeric: tabular-nums; }
.card .kv b { color: var(--ink); font-weight: 600; }
.card.star .nm { color: var(--acc); }
.nopic { display: grid; place-items: center; width: 100%; height: 100%; border: 1px dashed var(--line-hi); color: var(--ink-2); font-size: .875rem; }

/* open: the cell becomes a full-width entry of the ledger */
details.card[open] { grid-column: 1 / -1; background: var(--night-1); }
.card[open] > summary { height: auto; grid-template-columns: auto 1fr auto; grid-template-areas: "nm rl age" "kv kv kv"; align-items: baseline; padding: 1rem 1.3rem .4rem; }
.card[open] > summary .pic { display: none; }
.card[open] > summary .nm { font-size: clamp(1.4rem, 2.4vw, 1.8rem); }
.card[open] > summary .rl { font-size: .95rem; }
.dossier { display: grid; gap: 1.2rem 2rem; padding: .6rem 1.3rem 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 760px) { .dossier { grid-template-columns: minmax(180px, 230px) minmax(0, 1.25fr) minmax(0, 1fr); } }
.dossier .big { display: flex; align-items: flex-end; justify-content: center; min-height: 200px; background: radial-gradient(46% 11% at 50% 94%, var(--floor), transparent 72%); }
.dossier .big img { max-height: 300px; width: auto; }
/* the model stands at the top of its column, not at the foot of a column the stats stretched (critic round 24 F9) */
@media (min-width: 760px) { .dossier .big { align-self: start; } }
.ledger-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
@media (min-width: 1100px) { .ledger-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.ledger-grid > div { padding: .55rem .7rem .55rem 0; border-bottom: 1px solid var(--line); }
.ledger-grid dt { font-size: .875rem; color: var(--ink-2); }
.ledger-grid dd { margin: 0; font-family: var(--f-display); font-size: 1.2rem; line-height: 1.25; color: var(--ink); }
.ledger-grid dd small { display: block; font-family: var(--f-body); font-size: .875rem; color: var(--ink-2); line-height: 1.35; }
.ledger-grid sup a { font-family: var(--f-body); font-size: .9rem; padding: 0 .2rem; }
.hit { font-size: .9rem; color: var(--ink); margin: .8rem 0 .6rem; max-width: none; font-variant-numeric: tabular-nums; }
.hit span { color: var(--ink-2); margin-right: .3rem; }
.rules { list-style: none; padding: 0; margin: .4rem 0 0; font-size: .92rem; line-height: 1.5; max-width: none; }
.rules li { margin: 0 0 .45rem; }
.rules b { color: var(--acc); font-weight: 600; }
.tale p { font-size: .98rem; line-height: 1.6; }
.tale .verse { font-size: 1.05rem; border-left-color: var(--acc); margin: 0 0 1rem; padding-block: .3rem; }
.tale .verse p { margin: 0 0 .3rem; }
.tale .verse footer { font-style: normal; font-size: .875rem; color: var(--ink-2); }
.tale .vs { margin: 0 0 .5rem; font-size: .92rem; }
.tale .vs b { display: block; font-family: var(--f-display); font-weight: 400; color: var(--sand); }

/* ---------- tips ---------- */
.tips { list-style: none; counter-reset: tip; padding: 0; margin: 0; display: grid; gap: 1rem 2.4rem; max-width: none; }
@media (min-width: 860px) { .tips { grid-template-columns: repeat(3, 1fr); } }
.tips li { counter-increment: tip; position: relative; padding-left: 2.4rem; margin: 0; line-height: 1.6; }
.tips li::before { content: counter(tip, upper-roman); position: absolute; left: 0; top: -.05rem; font-family: var(--f-display); font-size: 1.15rem; color: var(--acc); }

/* ---------- overview: one band per people, the roster as a frieze of figures ---------- */
.overview { display: grid; border-top: 1px solid var(--line); }
.overview .people { display: grid; gap: .8rem 2.4rem; padding: 1.5rem 0; border-bottom: 1px solid var(--line); align-items: center; }
@media (min-width: 900px) { .overview .people { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }
.overview .people.oru { --acc: var(--oru); --floor: rgba(79, 214, 200, .2); }
.overview .people.thalm { --acc: var(--thalm); --floor: rgba(227, 106, 180, .18); }
.overview .people.hesh { --acc: var(--gold); }
.overview h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin-bottom: .1rem; }
.overview h2 a { color: var(--sand); text-decoration: none; }
.overview h2 a:hover { color: var(--acc); text-decoration: underline; }
.overview .thread { color: var(--acc); margin-bottom: .5rem; }
.overview .who p:last-child { margin-bottom: 0; }
.strip { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .3rem; max-width: none; min-width: 0; }
.strip li { margin: 0; }
.strip a { display: flex; align-items: flex-end; justify-content: center; width: 78px; height: 112px; border: 1px solid transparent; border-radius: var(--r); padding: 3px; background: radial-gradient(50% 12% at 50% 90%, var(--floor), transparent 72%); }
.strip a:hover, .strip a:focus-visible { border-color: var(--acc); }
.strip img { max-height: 100%; width: auto; }
table.roles td a { font-family: var(--f-display); color: var(--sand); text-decoration: none; }
table.roles td a:hover { color: var(--gold); text-decoration: underline; }
table.roles td span { display: block; font-size: 1rem; color: var(--ink-2); }
table.roles td.none { color: var(--ink-2); font-style: italic; }
table.roles tr.b th { color: var(--ink-2); }
table.roles tr.b:first-of-type th, table.roles tr:not(.b) + tr.b > * { border-top: 1px solid var(--line-hi); }
@media (max-width: 520px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cards.halls { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card .pic, .card.bld .pic { height: 118px; }
  .card > summary { padding: .6rem .6rem .75rem; }
  .card .nm { font-size: .98rem; }
  .card[open] > summary { padding: .9rem .9rem .3rem; grid-template-columns: 1fr auto; grid-template-areas: "nm age" "rl rl" "kv kv"; }
  .dossier { padding: .4rem .9rem 1.2rem; }
  .dossier .big img { max-height: 220px; }
}

/* ---------- voice samples ---------- */
.barks { margin: 0 0 1rem; }
.barks h3 { font-family: var(--f-display); font-weight: 400; font-size: 1rem; color: var(--sand); margin: 0 0 .35rem; }
.barks ul { list-style: none; padding: 0; margin: 0; max-width: none; }
.barks li { display: grid; grid-template-columns: 2.75rem minmax(0, 1fr); grid-template-areas: "b l" "b q"; column-gap: .6rem; align-items: center; margin: 0; padding: .15rem 0; border-top: 1px solid var(--line); }
.barks li:first-child { border-top: 0; }
.barks .vl { grid-area: l; font-size: .8rem; color: var(--ink-2); line-height: 1.3; align-self: end; }
.barks q { grid-area: q; quotes: "\201C" "\201D"; font-size: .95rem; line-height: 1.35; color: var(--ink); align-self: start; }
.vp { grid-area: b; display: inline-grid; place-items: center; width: 2.75rem; height: 2.75rem; padding: 0; border: 1px solid var(--line-hi); border-radius: 50%; background: transparent; color: var(--acc); cursor: pointer; }
.vp:hover { background: rgba(255, 255, 255, .06); }
.vp:focus-visible { outline: 2px solid var(--acc); outline-offset: 2px; }
.vp .ico { width: 1.1rem; height: 1.1rem; }
.vp[aria-pressed="true"] { background: var(--acc); color: var(--night-0); border-color: var(--acc); }
.tale .verse footer { display: flex; align-items: center; gap: .6rem; }
.tale .verse .vp { grid-area: auto; }

/* 2026-11-10: reflow at 320 px (WCAG 1.4.10) and card names on two lines at most */
.overview .people > * { min-width: 0; }
@media (max-width: 899px) { .overview .people { grid-template-columns: minmax(0, 1fr); } }
.card .nm { text-wrap: balance; overflow-wrap: normal; hyphens: manual; }  /* never split inside a name (critic round 30 D1) */
.card .kv .nw { white-space: nowrap; }

@media (min-width: 521px) { .cards { grid-template-columns: repeat(auto-fill, minmax(188px, 1fr)); } }

/* phones: roster cards stack name, Age and cost so a long name (Patchwright, Wandering Hearth, Deep Leviathan) has the whole
   card width and nothing breaks mid-word or spills (was 359 px; critic round 30 D1 measured breaks at 360-390 px) */
@media (max-width: 26.25em) {
  .cards .card > summary, .cards .card[open] > summary { grid-template-columns: 1fr; grid-template-areas: "pic" "nm" "age" "rl" "kv"; }
  .card .age { justify-self: start; }
}
@media (max-width: 359px) {
  .cards .card .kv, .cards .card .kv * { white-space: normal; overflow-wrap: anywhere; }
  .newunits { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}

/* units overview: each people is a line-up across the page, every figure the same size with its name under it */
.overview .people { grid-template-columns: minmax(0, 1fr) !important; gap: 1.2rem; padding: 2rem 0; }
.overview .people .who { display: grid; grid-template-columns: minmax(0, auto) minmax(0, 1fr); gap: .2rem 2rem; align-items: baseline; }
.overview .people .who h2 { grid-row: span 2; margin: 0; }
.overview .people .who p { margin: 0; }
.overview .strip { display: grid; grid-template-columns: repeat(11, minmax(0, 1fr)); gap: .4rem; }
.overview .strip a { text-decoration: none; width: auto; height: auto; flex-direction: column; justify-content: flex-end; align-items: center; gap: .45rem; padding: .6rem .2rem .5rem; aspect-ratio: auto; }
.overview .strip img { height: 132px; max-height: none; width: auto; max-width: 100%; object-fit: contain; }
/* names never split inside a word (critic rounds 30-31 D1): title case (an upper-case PATCHWRIGHT did not fit its tile), normal wrapping */
.overview .strip .sn { font: 700 .8125rem/1.15 var(--f-label); letter-spacing: .01em; color: var(--ink-2); text-align: center; min-height: 2.3em; max-width: 100%; overflow-wrap: normal; hyphens: manual; }
.overview .strip a:hover .sn, .overview .strip a:focus-visible .sn { color: var(--ink); }
@media (max-width: 1279px) { .overview .strip { grid-template-columns: repeat(6, minmax(0, 1fr)); } }  /* eleven across from 1280 px: narrower tiles cut the names */
@media (max-width: 699px) {
  .overview .people .who { grid-template-columns: minmax(0, 1fr); }
  .overview .strip { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .overview .strip img { height: 96px; }
}
/* a phone: three to a row, so the longest names (Patchwright, Rustbiter) keep a space between them */
@media (max-width: 480px) { .overview .strip { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* people pages on a phone: the three switches as one compact row */
@media (max-width: 599px) {
  .peoplebar { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .3rem; }
  .peoplebar a { justify-content: center; padding: .45rem .3rem; font-size: .8125rem; letter-spacing: .04em; text-align: center; }
  .peoplebar a svg { display: none; }
}

/* ---------- round 11 ---------- */
/* roster cards: names get two lines, so role and numbers sit on one line across a row */
.cards .card:not([open]) > summary { grid-template-rows: auto minmax(2.6em, auto) auto 1fr; }
.cards .card:not([open]) .kv { align-self: end; }
.cards .card .age { align-self: start; }
/* the twelfth cell: on to the buildings */
.card-next { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .6rem; min-height: 12rem; background: var(--night-0); outline: 1px solid var(--line); outline-offset: -1px;
  font: 700 .875rem/1.2 var(--f-label); text-transform: uppercase; letter-spacing: .12em; color: var(--acc); text-decoration: none; }
.card-next .ico { width: 28px; height: 28px; }
.card-next:hover { background: rgba(255, 255, 255, .035); color: var(--ink); }
.card-next:focus-visible { outline: 2px solid var(--acc); outline-offset: -3px; color: var(--ink); }  /* visible focus (critic round 31 D2, WCAG 2.4.7) */
/* five buildings, five columns */
@media (min-width: 1100px) { .cards.halls { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
/* units overview on a phone on its side: each people's eleven in one row, so the three peoples take one screen and a half */
@media (orientation: landscape) and (max-height: 520px) and (min-width: 760px) {
  .overview .people { padding: 1.2rem 0; gap: .8rem; }
  .overview .strip { grid-template-columns: repeat(11, minmax(0, 1fr)); gap: .2rem; }
  .overview .strip img { height: 76px; }
  .overview .strip .sn { font-size: .66rem; letter-spacing: 0; }
}

/* open, where the browser lets a <details> box step aside (::details-content): the card keeps its cell in the grid, marked as
   open, and its entry opens as a full-width panel straight after the card's row; the cards after it fill the rest of that row
   (dense flow), so the grid keeps its order (c19, critic round 27 S5: the opened card used to jump to the start of a new row).
   Elsewhere the opened card becomes the full-width entry, as before. */
.dz-nm { display: none; }
/* a card brought into view stops below the sticky header */
details.card > summary { scroll-margin-top: calc(var(--header-h) + .6rem); }
@supports selector(::details-content) {
  details.card[open], details.card[open]::details-content { display: contents; }
  .card[open] > summary { height: 100%; grid-template-columns: 1fr auto; grid-template-areas: "pic pic" "nm age" "rl rl" "kv kv"; align-items: start; padding: .7rem .85rem .85rem; background: var(--night-1); outline: 2px solid var(--acc); outline-offset: -2px; position: relative; }
  .card[open] > summary .pic { display: flex; }
  /* the open card's gold border is not a focus ring: a keyboard focus adds the site's teal ring inside it (critic round 32 D2) */
  .card[open] > summary:focus-visible { outline: 2px solid var(--skein); outline-offset: -6px; box-shadow: inset 0 0 0 2px var(--acc); }
  .card[open] > summary .nm { font-size: 1.08rem; color: var(--acc); }
  .card[open] > summary .rl { font-size: .875rem; }
  /* a notch under the open card points at its panel */
  .card[open] > summary::after { content: ""; position: absolute; left: 50%; bottom: -1px; width: 14px; height: 14px; background: var(--acc); transform: translate(-50%, 50%) rotate(45deg); z-index: 1; }
  details.card[open] > .dossier { grid-column: 1 / -1; background: var(--night-1); border-top: 2px solid var(--acc); outline: 1px solid var(--line); outline-offset: -1px; padding-top: 1.1rem; }
  .dz-nm { display: block; grid-column: 1 / -1; margin: 0; font-family: var(--f-display); font-weight: 700; font-size: clamp(1.4rem, 2.4vw, 1.8rem); line-height: 1.2; color: var(--sand); }
  .dz-nm span { font: italic 400 .95rem/1.3 var(--f-body); color: var(--ink-2); margin-left: .5rem; }
}

/* ---------- world: the painted Seidr, read by its parts ---------- */
.world-map { position: relative; background: var(--night-0); }
.world-scene { position: relative; isolation: isolate; }
.world-scene > picture { display: block; }
.world-scene > img, .world-scene > picture > img { width: 100%; height: auto; display: block; }
.world-scene::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(0deg, var(--night-0) 0%, rgba(23,17,12,0) 30%), linear-gradient(60deg, rgba(23,17,12,.85) 0%, rgba(23,17,12,0) 40%); }
.pin { position: absolute; z-index: 2; left: var(--x); top: var(--y); transform: translate(-50%, -50%); width: 44px; height: 44px; border-radius: 50%; border: 0; padding: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.pin::before { content: ""; width: 18px; height: 18px; border-radius: 50%; border: 2px solid #fff; background: rgba(18,13,10,.55); transition: transform .2s, background .2s; }
.pin::after { content: ""; position: absolute; inset: 4px; border-radius: 50%; border: 1px solid rgba(255,255,255,.6); animation: ping 2.6s ease-out infinite; }
@keyframes ping { from { transform: scale(.5); opacity: 1; } to { transform: scale(1.5); opacity: 0; } }
.pin:hover::before, .pin[aria-pressed="true"]::before { transform: scale(1.25); background: var(--ember); border-color: #fff; }
.pin-label { position: absolute; left: 50%; top: calc(100% - 4px); transform: translateX(-50%); white-space: nowrap; font: 700 .875rem/1 var(--f-label); text-transform: uppercase; letter-spacing: .14em; color: #fff; padding: .35rem .5rem; background: rgba(18,13,10,.72); pointer-events: none; }
.world-key h1 { font-size: clamp(3rem, 7vw, 6.4rem); }
.world-key { display: grid; gap: 1.6rem 3rem; padding-top: 1.5rem; padding-bottom: clamp(3rem, 6vw, 5rem); position: relative; z-index: 3; }
@media (min-width: 1000px) { .world-key { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; } .world-key > div:first-child { margin-top: clamp(-20rem, -17vw, -12rem); } }
.world-entry { min-height: 12rem; }
.world-entry h2 { font-size: clamp(2.2rem, 4.4vw, 3.8rem); margin-bottom: .6rem; }
.world-entry .kicker { margin-bottom: .5rem; }
.world-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1.6rem; max-width: none; }
@media (min-width: 640px) { .world-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.world-list li { margin: 0; }
.world-list button { all: unset; box-sizing: border-box; cursor: pointer; display: grid; gap: .2rem; width: 100%; padding: .85rem 0; border-top: 1px solid var(--line); min-height: 44px; }
.world-list button b { font: 800 1.15rem/1.05 var(--f-display); color: var(--ink-2); text-transform: uppercase; letter-spacing: -.01em; }
.world-list button span { font: 700 .875rem/1.3 var(--f-label); text-transform: uppercase; letter-spacing: .13em; color: var(--ink-3); }
.world-list button:hover b, .world-list button[aria-pressed="true"] b { color: var(--ink); }
.world-list button[aria-pressed="true"] { border-top-color: var(--ember); }
.world-list button[aria-pressed="true"] span { color: var(--ember-hi); }
.world-list button:focus-visible { outline: 2px solid var(--skein); outline-offset: 3px; }
@media (max-width: 699px) {
  .pin-label { display: none; }
  .pin { width: 36px; height: 36px; }
  .pin::before { width: 14px; height: 14px; }
  .world-key { margin-top: 0; }
}
@media (prefers-reduced-motion: reduce) { .pin::after, .keyart-img { animation: none; } }

/* threads on the world page: three columns, each name in its people's colour */
.threads .thr { border: 0; background: none; padding: 0; }
.threads .thr:nth-child(1) h3 { color: var(--hesh); }
.threads .thr:nth-child(2) h3 { color: var(--oru); }
.threads .thr:nth-child(3) h3 { color: var(--thalm-mag); }
.threads .thr h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); text-transform: uppercase; font-weight: 900; margin: .3rem 0 .5rem; }
.threads .cart { border: 0; padding: 0; color: var(--ink-2); font: italic 400 1.05rem/1.3 var(--f-body); text-transform: none; letter-spacing: 0; }

/* ---------- peoples page and campaign: painted art leads ---------- */
.people-shot.painted img, .act-shot.painted img { border: 0; }
.people-shot .ingame { display: grid; grid-template-columns: 1fr; gap: .8rem; align-items: center; margin-top: 1rem; }
@media (max-width: 760px) { .people-shot .ingame { grid-template-columns: 1fr; } }
.people-shot > .ingame:first-child { margin-top: 0; }
.people-shot .ingame img { width: 100%; height: auto; }
.people-shot .ingame img { border: 1px solid var(--line); }
.people-shot .ingame span { font-size: 1rem; line-height: 1.6; color: var(--ink-2); max-width: 46em; }
.people-shot .ingame strong { display: block; color: var(--gold); font-family: var(--f-display); margin-bottom: .2rem; }
.missions2 { list-style: none; padding: 0; max-width: none; }
.missions2 li { display: grid; gap: 1rem; padding: 1.4rem 0; border-top: 1px solid var(--line); margin: 0; }
.mnum2 { font: 400 2.6rem/1 var(--f-logo); color: var(--ember-hi); white-space: nowrap; }
/* two-digit missions (10-12) at this size need more than the 2.4-3rem number column: it grows to fit (critic round 29 D1) */
.missions2 li, .act-panel .missions2 li { grid-template-columns: minmax(3rem, max-content) minmax(0, 1fr); }
.mmeta { font: 700 .7rem/1.4 var(--f-label); text-transform: uppercase; letter-spacing: .12em; color: var(--ink-3); margin: .5rem 0 0; }

/* unit roster plates (peoples page, wiki): standing models on a lit floor */
.newunits { list-style: none; padding: 0; display: grid; gap: .6rem; max-width: none; }
.newunits li { margin: 0; }
.newunits a { display: grid; justify-items: center; text-align: center; gap: .3rem; text-decoration: none; color: var(--ink); border-top: 1px solid var(--line); }
.newunits .np { display: flex; align-items: flex-end; justify-content: center; width: 100%; }
.newunits img { max-height: 100%; width: auto; transition: transform .3s ease; }
.newunits a:hover img { transform: translateY(-4px); }
.newunits b { font: 700 1rem/1.15 var(--f-display); }
.newunits a > span:last-child { font: 700 .875rem/1.3 var(--f-label); text-transform: uppercase; letter-spacing: .12em; color: var(--ink-3); }
html:not(.js) .world-entry[hidden] { display: block !important; margin-top: 2rem; }
html:not(.js) .pin, html:not(.js) .world-list { display: none; }

/* world map on a phone: a taller 4:3 window on the painting, the lights placed to match */
@media (max-width: 699px) {
  .world-scene { aspect-ratio: 4 / 3; overflow: hidden; }
  .world-scene > picture { height: 100%; }
  .world-scene > picture > img, .world-scene > img { height: 100%; width: 100%; object-fit: cover; object-position: 39.2% 50%; }
  .world-scene .pin { left: calc((var(--x) - 10%) * 1.342) !important; }
}
