/* USER B1219: the Far Worlds wiki, built from the site's own parts (site.css, which every wiki page loads first): the Stone
   Rim bevel and outline, the dark panels on the white page, Geist for words and Press Start 2P for labels and counts, the
   era colours on tier chips, and the stepped block edge under a dark band. A few rules copy inner.css (the kicker, the
   eyebrow and the slab), so a wiki page loads no landing styles. No CSS filter or blur anywhere (the frame-rate rule). */

body.wiki { background: var(--page); overflow-x: hidden; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.wiki a:focus-visible, .wiki summary:focus-visible { outline: 3px solid var(--sr-accent); outline-offset: 2px; }

/* ---- The wiki's bar: a dark band under the site's navigation, its search and sections, a block edge into the page ---- */
.wbar { position: relative; background: var(--ground); color: var(--sr-ink); padding: 112px 0 92px; }
.wbar > .wrap { position: relative; z-index: 6; }
.wbar-top { display: flex; align-items: center; gap: 24px; }
.wmark { display: inline-flex; align-items: center; gap: 12px; flex: none; font: 10px/1 var(--sr-numeral); color: var(--sr-accent);
  text-transform: uppercase; text-shadow: 0 2px 0 rgba(0, 0, 0, .6); }
.sq { display: inline-block; flex: none; width: 8px; height: 8px; background: var(--sr-accent); box-shadow: 0 2px 0 rgba(0, 0, 0, .6); }
.wsearch { position: relative; flex: 1; max-width: 560px; margin-left: auto; color: var(--sr-faint); }
.wsearch .glass { position: absolute; z-index: 1; left: 14px; top: 50%; translate: 0 -50%; pointer-events: none; }
.wsearch input { width: 100%; height: 44px; margin: 0; padding: 0 14px 0 44px; font: 500 15px/1 var(--sr-font); color: var(--sr-ink);
  background: #070B10; border: 0; border-radius: 0; outline: none; -webkit-appearance: none; appearance: none;
  box-shadow: 0 0 0 2px var(--sr-outline), inset 0 0 0 1px var(--sr-line-hi), inset 0 3px 0 rgba(0, 0, 0, .45); }
.wsearch input::placeholder { color: var(--sr-faint); opacity: 1; }
.wsearch input:focus { box-shadow: 0 0 0 2px var(--sr-outline), inset 0 0 0 2px var(--sr-accent); }
.wsearch input::-webkit-search-cancel-button { -webkit-appearance: none; }
.wsuggest { position: absolute; z-index: 60; left: 0; right: 0; top: calc(100% + 8px); margin: 0; padding: 4px 0; list-style: none;
  background: rgb(12, 17, 24); border: 3px solid; border-color: var(--sr-bevel); box-shadow: 0 0 0 2px var(--sr-outline), 0 14px 30px rgba(0, 0, 0, .3); }
.wsuggest[hidden] { display: none; }
.wsuggest a { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 10px 14px; font: 600 15px/1.25 var(--sr-font); color: var(--sr-ink); }
.wsuggest em { flex: none; font: 8px/1.6 var(--sr-numeral); font-style: normal; color: var(--sr-faint); text-transform: uppercase; }
.wsuggest li.on a, .wsuggest a:hover { background: var(--sr-raised); }
.wsuggest .none { padding: 10px 14px; font: 500 14px/1.3 var(--sr-font); color: var(--sr-muted); }
.wcats { display: flex; gap: 2px; margin: 18px 0 0 -12px; }
.wcats a { display: inline-flex; align-items: center; flex: none; height: 36px; padding: 0 12px; font: 600 14px/1 var(--sr-font); color: var(--sr-muted); white-space: nowrap; }
.wcats a:hover { color: var(--sr-ink); background: var(--sr-raised); }
.wcats a[aria-current] { color: var(--sr-ink); box-shadow: inset 0 -3px 0 var(--sr-ok); }
/* The block edge: the site's edge tiles, 24 px a block, drawn once at build (build-wiki.mjs), 2 to 3 blocks deep. */
.wedge { position: absolute; z-index: 5; left: 0; right: 0; bottom: -1px; height: 72px; pointer-events: none;
  background: url('edge-meadow.png') 0 100% / 2400px 72px repeat-x; image-rendering: pixelated; }

/* The hub's header: one game picture under the band's words, shaded on its left so they read. */
/* (No overflow clip and a z-index of its own: the search's list hangs below the band, over the page under it, USER B1276.) */
.wbar.hero { padding: 148px 0 132px; z-index: 1; }
.wbar.hero .media { position: absolute; inset: 0; }
.wbar.hero .media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.wbar.hero .shade { position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(90deg, rgba(6, 10, 16, .84) 0%, rgba(6, 10, 16, .58) 42%, rgba(6, 10, 16, .12) 78%),
    linear-gradient(180deg, rgba(6, 10, 16, .55) 0%, rgba(6, 10, 16, 0) 26%, rgba(6, 10, 16, 0) 60%, rgba(6, 10, 16, .7) 100%); }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; margin: 0 0 20px; font: 8px/1 var(--sr-numeral); color: var(--sr-accent); text-shadow: 0 2px 0 rgba(0, 0, 0, .6); }
.eyebrow::before { content: ""; width: 8px; height: 8px; background: var(--sr-accent); box-shadow: 0 2px 0 rgba(0, 0, 0, .6); }
.hero h1 { max-width: 760px; margin: 0 0 16px; font: 800 clamp(46px, 5.2vw, 76px)/.96 var(--sr-font); letter-spacing: -.035em; text-shadow: 0 6px 0 rgba(0, 0, 0, .38); text-wrap: balance; }
.hero .lede { max-width: 560px; margin: 0 0 28px; font: 500 18px/1.5 var(--sr-font); color: #DCE6EF; text-shadow: 0 2px 0 rgba(0, 0, 0, .5); }
.wsearch.big { max-width: 640px; margin: 0; }
.wsearch.big input { height: 56px; padding-left: 50px; font-size: 17px; }
.wsearch.big .glass { left: 18px; }
.hero .wcats { flex-wrap: wrap; margin-top: 22px; }
.hero .wcats a { color: #CFD9E3; text-shadow: 0 2px 0 rgba(0, 0, 0, .6); }

/* ---- The page: breadcrumbs, the title, the infobox beside the article ---- */
.wmain { padding: 28px 0 88px; }
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; margin: 0 0 26px; padding: 0; list-style: none; font: 600 13.5px/1.4 var(--sr-font); color: var(--text-3); }
.crumbs li + li::before { content: ""; display: inline-block; width: 4px; height: 4px; margin: 0 10px; background: var(--text-3); vertical-align: middle; }
.crumbs a { color: var(--text-2); }
.crumbs a:hover { color: var(--text); text-decoration: underline; }
/* The infobox floats right of the article, as on the wikis players know: the words and tables beside it take the room
   left, and what comes after it runs the page's full width. */
.witem { display: flow-root; }
.witem > .ib { float: right; width: 340px; margin: 0 0 36px 56px; }
.tbox, .minis, .rchips { display: flow-root; }
.kicker, .wkind, .wsec p.kicker { display: flex; align-items: center; gap: 12px; margin: 0 0 16px; font: 8px/1 var(--sr-numeral); color: var(--text-2); text-transform: uppercase; }
.kicker::before, .wkind::before { content: ""; width: 8px; height: 8px; background: var(--sr-ok); box-shadow: 0 0 0 2px var(--sr-outline); }
.whead h1 { margin: 0 0 18px; font: 800 clamp(38px, 4.2vw, 56px)/1.02 var(--sr-font); letter-spacing: -.035em; color: var(--text); overflow-wrap: anywhere; }
.lead { max-width: 760px; margin: 0 0 8px; font: 500 18px/1.6 var(--sr-font); color: var(--text-2); }
.lead b { font-weight: 750; color: var(--text); }
.whead.wide { margin-bottom: 32px; }
.whead.wide .lead { max-width: 820px; }
/* Links in the words: the site's underline, in its green. */
.wbody a, .wtable a, .whead a, .az a, .wsec p a { color: var(--text); text-decoration: underline; text-decoration-color: var(--sr-ok); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.wbody a:hover, .wtable a:hover, .az a:hover { color: var(--bid); }

.wsec { margin-top: 48px; }
.wsec h2 { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 0 0 18px; padding-bottom: 12px; border-bottom: 3px solid var(--page-3);
  font: 800 27px/1.15 var(--sr-font); letter-spacing: -.02em; color: var(--text); }
.wsec h2::before { content: ""; width: 10px; height: 10px; background: var(--sr-ok); box-shadow: 0 0 0 2px var(--sr-outline); }
.wsec h2.big { border: 0; padding: 0; font-size: clamp(28px, 2.8vw, 36px); }
.wsec h2.big::before { content: none; }
.wsec h3 { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 30px 0 12px; font: 750 18px/1.3 var(--sr-font); color: var(--text); }
.wsec h2 + h3, .wsec h2 + p + h3 { margin-top: 0; }
.wsec p { max-width: 760px; margin: 0 0 14px; font: 500 16.5px/1.6 var(--sr-font); color: var(--text-2); }
.wsec p.note { margin-bottom: 14px; font-size: 14.5px; color: var(--text-3); }
/* Notes and Tips: bullets of full sentences, set like the section's paragraphs (USER B1302). */
.wsec ul.bul { max-width: 760px; margin: 0 0 14px; padding-left: 22px; font: 500 16.5px/1.6 var(--sr-font); color: var(--text-2); }
.wsec ul.bul li { margin: 0 0 6px; }
.wsec ul.bul li::marker { color: var(--sr-ok); }
.n { display: inline-flex; align-items: center; height: 20px; padding: 0 6px; font: 8px/1 var(--sr-numeral); color: var(--text-2); background: var(--page-2); box-shadow: inset 0 0 0 1px var(--rule); }
.sample { height: 22px; }
.dim { color: var(--text-3); }

/* ---- The infobox: a stone rim panel, like the game's item card ---- */
.ib { position: relative; padding: 18px 18px 6px; background: #0E141B; color: var(--sr-ink); border: 4px solid; border-color: var(--sr-bevel);
  box-shadow: 0 0 0 2px var(--sr-outline), 0 24px 48px rgba(17, 22, 28, .16); }
.ib-art { display: grid; place-items: center; height: 168px; background: #090D12;
  box-shadow: 0 0 0 2px var(--sr-outline), inset 3px 3px 0 rgba(0, 0, 0, .5), inset -3px -3px 0 rgba(255, 255, 255, .06); }
.ib-art .art { width: 96px; height: 96px; }
.ib-art.map svg { width: 138px; height: 138px; }
/* A creature's still from the Book of Finds, and a camp place's picture from the Camp Projects board. */
.ib-art .art.pt { width: 144px; height: 144px; }
.ib-art:has(.photo) { height: auto; aspect-ratio: 16 / 9; overflow: hidden; }
.ib-art .art.photo { width: 100%; height: 100%; object-fit: cover; }
.ib-name { margin: 16px 0 10px; font: 800 22px/1.15 var(--sr-font); letter-spacing: -.02em; }
.ib-facts { margin: 0; }
.ib-facts > div { display: grid; grid-template-columns: 118px minmax(0, 1fr); gap: 12px; align-items: baseline; padding: 11px 0; border-top: 3px solid #26303B; }
.ib-facts dt { font: 8px/1.7 var(--sr-numeral); color: var(--sr-muted); text-transform: uppercase; }
.ib-facts dd { margin: 0; font: 600 15px/1.4 var(--sr-font); color: var(--sr-ink); }
.ib-facts dd a { color: var(--sr-ink); text-decoration: underline; text-decoration-color: var(--sr-accent); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.ib .era { margin-left: 6px; font-weight: 500; color: var(--sr-muted); }

/* ---- Item art and counts ---- */
.ic { display: block; flex: none; image-rendering: auto; }
.ic.px, .art.px { image-rendering: pixelated; }
.ic.photo { object-fit: cover; box-shadow: 0 0 0 2px var(--sr-outline); }
.ic.none, .art.none { background: var(--page-3); }
.ct { display: inline-flex; align-items: center; height: 18px; margin-left: 6px; padding: 0 5px; font: 8px/1 var(--sr-numeral); color: var(--sr-ink);
  background: #0E141B; box-shadow: 0 0 0 1px var(--sr-outline); vertical-align: 2px; white-space: nowrap; }

/* ---- Tables: a dark head, white rows, the item's art beside its name ---- */
.tbox { margin: 0 0 8px; background: #FFFFFF; box-shadow: 0 0 0 2px var(--sr-outline); }
.tbox.scroll { overflow-x: auto; }
.wtable { width: 100%; border-collapse: collapse; font: 500 15px/1.45 var(--sr-font); color: var(--text-2); }
.wtable thead th { padding: 12px 16px; font: 8px/1.6 var(--sr-numeral); font-weight: 400; color: var(--sr-accent); text-align: left; text-transform: uppercase;
  white-space: nowrap; background: #0E141B; }
.wtable tbody th, .wtable td { padding: 12px 16px; text-align: left; vertical-align: middle; border-top: 1px solid var(--rule); }
.wtable tbody tr:first-child > * { border-top: 0; }
.wtable tbody th { font-weight: 700; color: var(--text); }
.wtable .r { text-align: right; }
.wtable .c { text-align: center; }
.cell-item { display: inline-flex; align-items: center; gap: 12px; }
.wtable.stack tbody th { white-space: nowrap; }
.wtable td:last-child .at { display: inline-block; min-width: 140px; }
.self { font-weight: 750; color: var(--text); }
/* A compact list of items: the art beside the name, in columns. */
.minis { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 6px 18px; margin: 0; padding: 0; list-style: none; }
.minis li { display: flex; align-items: center; gap: 10px; min-height: 40px; font: 600 14.5px/1.25 var(--sr-font); color: var(--text); }
.asks { margin: 0; padding: 0; list-style: none; }
.asks li { padding: 3px 0; }
.ings { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0; padding: 0; list-style: none; }
.ings li { display: inline-flex; align-items: center; gap: 8px; }
.at { font-weight: 600; color: var(--text); }
.heat { display: block; font-size: 13px; color: var(--text-3); }
/* The tier table: one band a era in the era's colour, and lighter rows between. */
.tiers tbody tr:nth-child(even) > * { background: var(--page-2); }
.tiers td, .tiers tbody th { white-space: nowrap; }
.tiers td:nth-last-child(2) { white-space: normal; min-width: 220px; }
.tiers td:last-child { white-space: normal; min-width: 128px; }
.eraband[data-era="1"] { --era: var(--era-1); } .eraband[data-era="2"] { --era: var(--era-2); } .eraband[data-era="3"] { --era: var(--era-3); }
.eraband[data-era="4"] { --era: var(--era-4); } .eraband[data-era="5"] { --era: var(--era-5); }
.wtable .eraband th { padding: 10px 16px; font: 8px/1.6 var(--sr-numeral); font-weight: 400; color: var(--text); text-transform: uppercase;
  background: var(--page-3); border-top: 2px solid var(--sr-outline); }
.wtable tbody tr.eraband:first-child th { border-top: 0; }
.eraband .sq { width: 10px; height: 10px; margin-right: 10px; background: var(--era); box-shadow: 0 0 0 2px var(--sr-outline); vertical-align: -1px; }
/* The enchantments table: one band a family, in the kicker's green. */
.eraband.fam { --era: var(--sr-ok); }
.ench td:nth-child(2) { min-width: 150px; }
.ench .eraband th { padding: 12px 16px; }
.ench .fh { display: inline-flex; align-items: center; margin-right: 24px; }
.ench .by { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; vertical-align: middle; }
.ench .byl { color: var(--text-3); }
.ench .by .ings { gap: 4px 14px; font: 600 13.5px/1.3 var(--sr-font); text-transform: none; }
.eraband .lv { margin-left: 14px; color: var(--text-3); }
.scrollhint { display: none; }

/* A long group opens folded: its words stay in the page. */
.fold { margin-top: 30px; }
.fold > summary { display: flex; align-items: center; gap: 14px; cursor: pointer; list-style: none; }
.fold > summary::-webkit-details-marker { display: none; }
.fold > summary h3 { margin: 0; }
.fold .more { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; font: 650 12.5px/1 var(--sr-font); color: var(--text);
  background: #FFFFFF; box-shadow: 0 0 0 2px var(--sr-outline), inset -2px -3px 0 rgba(0, 0, 0, .1); }
.fold[open] .more { font-size: 0; } .fold[open] .more::after { content: "Hide"; font-size: 12.5px; }
.fold[open] > summary { margin-bottom: 12px; }

/* ---- Region chips ---- */
.rchips { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.rchips a { display: inline-flex; align-items: center; gap: 8px; min-height: 34px; padding: 6px 12px; font: 650 14px/1.2 var(--sr-font); color: var(--text); text-decoration: none;
  background: #FFFFFF; box-shadow: 0 0 0 2px var(--sr-outline), inset -2px -3px 0 rgba(0, 0, 0, .08); }
.rchips a:hover { background: var(--page-2); color: var(--text); }
.ring { flex: none; width: 8px; height: 8px; background: var(--sr-ok); box-shadow: 0 0 0 2px var(--sr-outline); }
.rchips.dark a { color: var(--sr-ink); background: var(--sr-rim); box-shadow: 0 0 0 2px var(--sr-outline), inset 2px 2px 0 rgba(255, 255, 255, .14), inset -2px -2px 0 rgba(0, 0, 0, .35); }
.rchips.dark a:hover { background: var(--sr-rim-hi); color: var(--sr-ink); }
.rchips.dark li[aria-current] a { box-shadow: 0 0 0 2px var(--sr-outline), inset 0 0 0 2px var(--sr-accent); }
.rchips .op { margin-left: 2px; font: 500 12px/1.2 var(--sr-font); color: var(--sr-muted); }

/* ---- The navbox: a dark slab at the foot of the article ---- */
.slab { background: #0E141B; color: var(--sr-ink); border: 4px solid; border-color: var(--sr-bevel); box-shadow: 0 0 0 2px var(--sr-outline); }
.navbox { margin-top: 64px; padding: 22px 24px 24px; }
.nb-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 16px; margin-bottom: 18px; }
.nb-head h2 { margin: 0; font: 800 22px/1.2 var(--sr-font); letter-spacing: -.02em; }
.nb-head a { font: 600 14px/1.3 var(--sr-font); color: var(--sr-ink); text-decoration: underline; text-decoration-color: var(--sr-accent); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.ladder { display: grid; grid-template-columns: repeat(15, minmax(0, 1fr)); gap: 6px; margin: 0; padding: 0; list-style: none; }
.ladder a { display: grid; justify-items: center; align-content: start; gap: 6px; height: 100%; padding: 10px 3px 10px; text-align: center;
  background: #151D26; box-shadow: inset 0 0 0 1px var(--ground-line); }
.ladder a:hover { background: #1B2632; }
.ladder li[aria-current] a { background: #1B2632; box-shadow: inset 0 0 0 2px var(--sr-accent); }
.ladder .tn { font: 600 11.5px/1.2 var(--sr-font); color: var(--sr-muted); }
.ladder li[aria-current] .tn { color: var(--sr-ink); }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(124px, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.tiles a { display: grid; justify-items: center; align-content: start; gap: 8px; height: 100%; padding: 14px 8px 12px; text-align: center; text-decoration: none; }
.tiles .tn { font: 650 13.5px/1.25 var(--sr-font); overflow-wrap: anywhere; }
.tiles .ic.pt { width: 64px; height: 64px; }
.tiles.cats .ic.pt { width: 48px; height: 48px; }

/* A camp project: its card's words, what it asks for, its terms, and what it brings. */
.wsec.stage h2::before { content: none; }
.wsec.stage > p.note { margin-top: -6px; }
/* A system page's How to start (DESIGN.md section 7): numbered steps, each number in the count badge's pixel font. */
ol.howto { counter-reset: step; max-width: 820px; margin: 0; padding: 0; list-style: none; }
ol.howto li { counter-increment: step; position: relative; margin: 0 0 14px; padding-left: 46px; font: 500 16.5px/1.55 var(--sr-font); color: var(--text-2); }
ol.howto li::before { content: counter(step); position: absolute; left: 0; top: 1px; display: grid; place-items: center; width: 28px; height: 28px;
  font: 10px/1 var(--sr-numeral); color: var(--sr-ink); background: #0E141B; box-shadow: 0 0 0 2px var(--sr-outline); }
ol.howto b { color: var(--text); }
.terms { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; padding: 0; list-style: none; }
.terms li { padding: 6px 12px; font: 600 14px/1.3 var(--sr-font); color: var(--text); background: var(--page-2); box-shadow: inset 0 0 0 1px var(--rule); }
.done { margin-top: 16px; padding: 16px 18px 4px; background: #0E141B; color: var(--sr-ink); box-shadow: 0 0 0 2px var(--sr-outline), inset 0 4px 0 var(--sr-ok); }
.wsec .done p { color: #CFD9E3; font-size: 15.5px; }
.wsec .done p b { color: var(--sr-ink); }
.wsec .done p.dl { margin: 4px 0 10px; font: 8px/1.6 var(--sr-numeral); color: var(--sr-accent); text-transform: uppercase; }
.tiles .ts { font: 8px/1.6 var(--sr-numeral); text-transform: uppercase; }
.navbox .tiles a { background: #151D26; box-shadow: inset 0 0 0 1px var(--ground-line); color: var(--sr-ink); }
.navbox .tiles a:hover { background: #1B2632; }
.wsec .tiles a { background: #FFFFFF; color: var(--text); box-shadow: 0 0 0 2px var(--sr-outline), inset -2px -3px 0 rgba(0, 0, 0, .06); }
.wsec .tiles a:hover { background: var(--page-2); }
.wsec .tiles .ts { color: var(--text-3); }
.ringlist { display: grid; gap: 16px; }
.rrow { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 16px; align-items: start; }
.rl { margin: 9px 0 0; font: 8px/1.6 var(--sr-numeral); color: var(--sr-muted); text-transform: uppercase; }

/* ---- The hub ---- */
.hub .wsec { margin-top: 64px; }
.hub .wsec:first-child { margin-top: 24px; }
.tiles.cats { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.tiles.cats a { grid-template-columns: 48px 1fr; grid-template-rows: auto auto; justify-items: start; align-content: center; column-gap: 14px; row-gap: 4px;
  min-height: 76px; padding: 12px 16px; text-align: left; }
.tiles.cats a > :first-child { grid-row: 1 / 3; align-self: center; }
.tiles.cats .ic.map svg { width: 48px; height: 48px; display: block; }
.eras { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin: 26px 0 0; padding: 0; list-style: none; }
.eras > li { padding: 14px 14px 6px; background: #0E141B; color: var(--sr-ink); box-shadow: 0 0 0 2px var(--sr-outline), inset 0 6px 0 var(--era); }
.eras > li[data-era="1"] { --era: var(--era-1); } .eras > li[data-era="2"] { --era: var(--era-2); } .eras > li[data-era="3"] { --era: var(--era-3); }
.eras > li[data-era="4"] { --era: var(--era-4); } .eras > li[data-era="5"] { --era: var(--era-5); }
.wsec .eras .en { display: flex; align-items: center; gap: 10px; margin: 8px 0 10px; font: 8px/1.6 var(--sr-numeral); color: var(--sr-ink); text-transform: uppercase; }
.eras .en .sq { background: var(--era); box-shadow: 0 0 0 2px var(--sr-outline); }
.steps { margin: 0; padding: 0; list-style: none; }
.steps li { display: grid; grid-template-columns: 34px minmax(0, 1fr); grid-template-areas: "c m" "c l"; column-gap: 10px; padding: 9px 0; border-top: 3px solid #26303B; }
.steps .tier { grid-area: c; align-self: center; justify-self: start; }
.steps .tm { grid-area: m; font: 700 15px/1.2 var(--sr-font); }
.steps .tl { grid-area: l; font: 500 12.5px/1.3 var(--sr-font); color: var(--sr-muted); }
.linechips { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.linechips a { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 14px 0 6px; font: 650 14px/1 var(--sr-font); color: var(--text);
  background: #FFFFFF; box-shadow: 0 0 0 2px var(--sr-outline), inset -2px -3px 0 rgba(0, 0, 0, .08); }
.linechips a:hover { background: var(--page-2); }
.hub .navbox { margin-top: 28px; }
.about .lead { max-width: 720px; }

/* ---- The A to Z page ---- */
.letters { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 32px; }
.letters a { display: inline-grid; place-items: center; width: 34px; height: 34px; font: 10px/1 var(--sr-numeral); color: var(--sr-ink); background: var(--sr-rim);
  box-shadow: 0 0 0 2px var(--sr-outline), inset 2px 2px 0 rgba(255, 255, 255, .14), inset -2px -2px 0 rgba(0, 0, 0, .35); }
.az { margin-bottom: 28px; }
.az h2 { margin: 0 0 10px; font: 14px/1 var(--sr-numeral); }
.az ul { columns: 3 240px; column-gap: 32px; margin: 0; padding: 0; list-style: none; font: 500 15px/1.4 var(--sr-font); }
.az li { padding: 4px 0; break-inside: avoid; }
.az .dim { font-size: 12.5px; }

/* ---- Play and Discord, as the site's plain pages end ---- */
.wreach { padding: 0 0 96px; }
.reachp { display: grid; grid-template-columns: 1fr 1fr; }
.way { padding: 26px 28px 28px; }
.way + .way { border-left: 3px solid #26303B; }
.way h2 { margin: 0 0 8px; font: 800 24px/1.1 var(--sr-font); letter-spacing: -.02em; }
.way p { margin: 0 0 18px; font: 500 15.5px/1.5 var(--sr-font); color: #CFD9E3; }

/* ---- Narrower windows ---- */
@media (max-width: 1100px) {
  .witem > .ib { width: 300px; margin-left: 36px; }
  .ladder { grid-template-columns: repeat(8, minmax(0, 1fr)); }
  .eras { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .wbar { padding: 120px 0 84px; }
  .wbar-top { flex-direction: column; align-items: stretch; gap: 14px; }
  .wmark { align-self: flex-start; }
  .wsearch { max-width: none; margin: 0; }
  .wcats { overflow-x: auto; scrollbar-width: none; margin: 12px -16px 0; padding: 0 4px; }
  .wcats::-webkit-scrollbar { display: none; }
  .wbar.hero { padding: 132px 0 112px; }
  .hero h1 { font-size: clamp(38px, 11vw, 52px); }
  .hero .lede { font-size: 16px; margin-bottom: 22px; }
  .hero .wcats { flex-wrap: nowrap; }
  .wsearch.big input { height: 52px; font-size: 16px; }
  .wmain { padding-top: 20px; }
  .crumbs ol { margin-bottom: 18px; }
  /* On a phone the first lines come before the infobox, and the infobox's name (the title just above) is left out. */
  .witem { display: flex; flex-direction: column; }
  .witem > .whead { order: 1; } .witem > .lead { order: 2; } .witem > .ib { order: 3; } .witem > .wbody { order: 4; }
  .witem > .ib { float: none; width: auto; margin: 20px 0 4px; }
  .whead h1 { margin-bottom: 14px; }
  .ib-name { display: none; }
  .ib-facts { margin-top: 14px; }
  .wtable.stack tbody th { white-space: normal; }
  .minis { grid-template-columns: 1fr 1fr; gap: 4px 12px; }
  .ib-art { height: 136px; }
  .ib-facts > div { grid-template-columns: 96px minmax(0, 1fr); }
  .lead { font-size: 16.5px; }
  .wsec { margin-top: 40px; }
  .wsec h2 { font-size: 23px; }
  /* A table of rows stacks each row into a card, each cell under its label. */
  .wtable.stack thead { display: none; }
  .wtable.stack, .wtable.stack tbody, .wtable.stack tr, .wtable.stack th, .wtable.stack td { display: block; }
  .wtable.stack tbody tr { padding: 14px 16px; border-top: 1px solid var(--rule); }
  .wtable.stack tbody tr:first-child { border-top: 0; }
  .wtable.stack tbody th, .wtable.stack td { padding: 4px 0; border: 0; text-align: left; }
  /* A cell with nothing in it leaves the card, label and all (the look review, Nov 28: K1). */
  .wtable.stack td:empty { display: none; }
  .wtable.stack td[data-label]::before { content: attr(data-label); display: block; margin: 6px 0 4px; font: 8px/1.6 var(--sr-numeral); color: var(--text-3); text-transform: uppercase; }
  /* The tier table keeps its columns and scrolls sideways, the name column held at the left. */
  .tiers tbody th, .tiers thead th:first-child { position: sticky; left: 0; z-index: 1; background: #FFFFFF; box-shadow: 2px 0 0 var(--rule); }
  .tiers thead th:first-child { background: #0E141B; }
  .tiers tbody th .cell-item { gap: 8px; }
  .tiers tbody th a { white-space: normal; display: inline-block; max-width: 116px; }
  .wtable .eraband th { position: static; box-shadow: none; }
  .tiers .eraband .lv { display: none; }
  .wsec p.scrollhint, .scrollhint { display: block; margin: 0 0 10px; }
  .tiers td:nth-last-child(2) { min-width: 300px; }
  .navbox { margin-top: 48px; padding: 18px 14px 16px; }
  .ladder { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tiles { grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); }
  /* A navbox shows 8 of its tiles on a phone; its link opens the rest. */
  .navbox .tiles li:nth-child(n+9) { display: none; }
  .tiles.cats { grid-template-columns: 1fr 1fr; gap: 10px; }
  .tiles.cats a { grid-template-columns: 1fr; justify-items: start; min-height: 0; padding: 12px; }
  .tiles.cats a > :first-child { grid-row: auto; }
  .rrow { grid-template-columns: 1fr; gap: 8px; }
  .rl { margin: 0; }
  .eras { grid-template-columns: 1fr; }
  .eras .steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 10px; }
  .eras .steps li { grid-template-columns: 1fr; grid-template-areas: "c" "m" "l"; row-gap: 4px; }
  .reachp { grid-template-columns: 1fr; }
  .way { padding: 22px 20px 24px; }
  .way + .way { border-left: 0; border-top: 3px solid #26303B; }
  .wreach { padding-bottom: 72px; }
}
