@font-face { font-family: 'Cinzel'; font-weight: 600; font-display: swap; src: url('/fonts/cinzel-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'EB Garamond'; font-weight: 500; font-display: swap; src: url('/fonts/eb-garamond-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Source Sans 3'; font-weight: 400; font-display: swap; src: url('/fonts/source-sans-3-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Source Sans 3'; font-weight: 600; font-display: swap; src: url('/fonts/source-sans-3-latin-600-normal.woff2') format('woff2'); }
/* The hub's look (2026-10-25): black, silver and restrained amethyst around the shard seal.
   Types: Cinzel for the wordmark and small labels, EB Garamond for headings, Source Sans 3 for everything you read.
   Palette and seal geometry come from the original Arcane Shard site (arcaneshard/website/index.html, favicon.svg).
   Visual identity only: nothing here says anything about a fictional world. Hand-made and lo-fi: hairlines, grain, no glow. */
:root {
  --bg: #07070a; --bg-2: #101015; --bg-3: #1a1822;
  --line: #302c3c; --line-2: #61566e; --ctl: #91859e; /* control outlines: 3:1 on the page and card grounds */
  --ink: #eeedf4; --ink-2: #c7c2d3; --ink-3: #aaa1b8;
  --gold: #c3adf0; --gold-ink: #130d20; --verd: #91c9c5;
  --prod: #c3adf0; --qa: #91c9c5; --dev: #d4a0b8; --env: var(--gold); --on-env: var(--gold-ink); --stamp: #c6badc;
  --gut: max(16px, env(safe-area-inset-left), env(safe-area-inset-right));
  --display: 'Cinzel', 'Trajan Pro', 'Palatino Linotype', Georgia, serif;
  --serif: 'EB Garamond', 'Palatino Linotype', Georgia, serif;
  --sans: 'Source Sans 3', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono: ui-monospace, 'Cascadia Mono', Consolas, monospace;
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
  color-scheme: dark;
}
/* Black by default. The optional light theme keeps the same cool silver/amethyst palette. */
:root[data-scheme="light"] {
  --bg: #f1eff5; --bg-2: #faf9fc; --bg-3: #e5e0ee; --line: #c9c1d4; --line-2: #92849f; --ctl: #7a6a8b;
  --ink: #211b2c; --ink-2: #4c405d; --ink-3: #695979; --gold: #62428b; --gold-ink: #faf9fc; --verd: #286765;
  --prod: #62428b; --qa: #286765; --dev: #87405f; --stamp: #62428b; color-scheme: light;
}
@media (prefers-contrast: more) { :root:not([data-scheme="light"]) { --line: #776785; --line-2: #bdb0ce; --ctl: #d0c3df; --ink-2: #e4dcec; --ink-3: #cec1dc; } .game, .btn.ghost, .chip, .filter, .seg { border-width: 2px; } }
html[data-env="qa"] { --env: var(--qa); --on-env: #0b1011; }
html[data-env="dev"] { --env: var(--dev); --on-env: #14090b; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.55 var(--sans); overflow-x: hidden; padding-bottom: env(safe-area-inset-bottom); }
/* tape grain over everything, very faint: the page should look dubbed, not rendered */
body::after { content: ""; position: fixed; inset: 0; z-index: 50; pointer-events: none; opacity: .045; background-image: var(--grain); mix-blend-mode: overlay; }
img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: 3px; }
button { font: inherit; color: inherit; }
:focus-visible, .pad-focus { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 3px; box-shadow: 0 0 0 5px var(--bg); }
main:focus { outline: none; }
.skip { position: fixed; left: var(--gut); top: max(8px, env(safe-area-inset-top)); z-index: 100; transform: translateY(-250%); background: var(--gold); color: var(--gold-ink); font: 600 15px/1 var(--sans); padding: 0 18px; min-height: 44px; display: inline-flex; align-items: center; border-radius: 3px; text-decoration: none; }
.skip:focus { transform: none; }
.ic { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: min(1120px, 100% - 2 * var(--gut)); margin: 0 auto; }

/* ---- header: the lockup (the seal's ring round a shard) and one link ---- */
.bar { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 6px max(var(--gut), calc((100% - 1120px) / 2)); padding-top: calc(6px + env(safe-area-inset-top)); border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 11px; min-height: 44px; text-decoration: none; margin-right: auto; }
.brand .mark { width: 34px; height: 34px; flex: none; }
.brand .mark .ring { stroke: var(--line-2); } .brand .mark .tri { stroke: var(--gold); } .brand .mark .core { fill: var(--gold); stroke: none; }
.brand b { font: 600 15px/1 var(--display); letter-spacing: .17em; text-transform: uppercase; color: var(--ink); white-space: nowrap; }
.brand i { font: 400 13px/1 var(--sans); font-style: normal; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); margin-left: 2px; }
.bar { flex-wrap: wrap; }
/* the Prod / QA / Dev switch (every page): a compact segmented control between the logo and the Discord link; a test build tints it and the rule under the bar */
.bar .seg button { font-size: 14px; padding: 0 10px; min-width: 52px; }
html:not([data-env="prod"]) .bar { border-bottom-color: var(--env); }
html:not([data-env="prod"]) .bar .seg { border-color: var(--env); }
html:not([data-env="prod"]) .bar .seg button[aria-checked="true"] { background: var(--env); color: var(--on-env); box-shadow: none; }
.bar-link { display: inline-flex; align-items: center; min-height: 44px; padding: 0 6px; color: var(--ink-2); text-decoration: none; font-size: 15px; }
.bar-link:hover { color: var(--ink); text-decoration: underline; }
.envnote { margin: 0; padding: 8px var(--gut); text-align: center; font-size: 14px; color: var(--on-env); background: var(--env); }
.envnote[hidden] { display: none; }
.envnote button { appearance: none; background: none; border: 0; color: inherit; text-decoration: underline; cursor: pointer; min-height: 44px; padding: 0 8px; }

/* ---- hero: the etched seal and a faint amethyst wash on black ---- */
.hero { position: relative; overflow: hidden; isolation: isolate; border-bottom: 1px solid var(--line);
  background: radial-gradient(ellipse 80% 120% at 18% 0%, rgba(153,116,210,.1), transparent 60%), var(--bg); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .06; background-image: var(--grain); }
.hero .seal-bg { position: absolute; z-index: -1; right: max(-90px, calc(50% - 760px)); top: 50%; width: min(560px, 120vw); height: auto; transform: translateY(-50%); opacity: .1; pointer-events: none; }
.seal-bg .ring, .seal-bg .tri { fill: none; stroke: var(--gold); stroke-width: .5; } .seal-bg .tri.b { stroke: var(--ink-3); }
.hero-in { width: min(1120px, 100% - 2 * var(--gut)); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 360px); gap: 28px 48px; align-items: center; padding: 40px 0 38px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; letter-spacing: .005em; }
h1 { font-size: clamp(2.3rem, 6.5vw, 3.7rem); line-height: 1.04; margin: 0 0 12px; text-wrap: balance; }
.kicker { font: 600 12px/1 var(--display); letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin: 0 0 12px; }
.lede { font-size: 18px; line-height: 1.5; color: var(--ink-2); max-width: 52ch; margin: 0 0 18px; }
.note { font-size: 15px; color: var(--ink-3); max-width: 52ch; margin: 14px 0 0; }
.cta-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; text-decoration: none; cursor: pointer; font: 600 16px/1.1 var(--sans); letter-spacing: .02em; padding: 0 22px; min-height: 48px; border-radius: 3px;
  background: var(--env); color: var(--on-env); border: 1px solid var(--env); transition: background-color .15s ease, border-color .15s ease; }
.btn:hover { background: color-mix(in srgb, var(--env) 86%, #fff); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--ctl); }
.btn.ghost:hover { border-color: var(--ink-3); background: var(--bg-3); }
.btn .env { font-size: 11px; padding: 3px 6px; border-radius: 2px; background: var(--on-env); color: var(--env); letter-spacing: .1em; }
.btn[hidden] { display: none; }
.btn .tri { width: 12px; height: 12px; fill: currentColor; }

/* the start-here plate: a framed screenshot with a caption underneath, like a card in a sleeve */
.feature { display: block; text-decoration: none; border: 1px solid var(--line-2); padding: 6px; background: var(--bg); border-radius: 3px; }
.feature:hover, .feature:focus-visible { border-color: var(--gold); }
.feature .shot { display: block; position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #000; }
.feature img { width: 100%; height: 100%; object-fit: cover; }
.feature .f-text { display: block; padding: 10px 6px 4px; }
.feature .f-kick { display: block; font: 600 11px/1 var(--display); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; }
.feature .f-name { display: block; font: 500 1.5rem/1.1 var(--serif); color: var(--ink); }
.feature .f-meta { display: block; font-size: 14px; color: var(--ink-3); margin-top: 3px; }

.studio-intro { max-width: 58ch; }
.alpha-note { font-size: 16px; line-height: 1.55; color: var(--ink-2); max-width: 60ch; margin: 0 0 22px; padding-left: 16px; border-left: 2px solid var(--gold); }

/* ---- games ---- */
.section { padding: 40px 0 16px; scroll-margin-top: 8px; }
.sec-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 24px; margin-bottom: 14px; }
h2 { font-size: clamp(1.7rem, 4vw, 2.3rem); line-height: 1.1; margin: 0; }
h2::after { content: ""; display: block; width: 56px; height: 1px; margin-top: 10px; background: linear-gradient(90deg, var(--gold), transparent); }
.sec-head p { margin: 0; color: var(--ink-3); font-size: 15px; }
.toolbar { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; padding: 8px 0 14px; }
.search { position: relative; flex: 0 1 230px; min-width: 160px; }
.search .ic { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--ink-3); pointer-events: none; }
.search input { width: 100%; font: 400 16px/1 var(--sans); color: var(--ink); background: var(--bg-2); border: 1px solid var(--ctl); border-radius: 3px; padding: 0 34px 0 38px; min-height: 44px; }
.search input::placeholder { color: var(--ink-3); }
.search kbd { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); font: 600 11px/1 var(--mono); color: var(--ink-3); border: 1px solid var(--line-2); border-radius: 3px; padding: 3px 6px; }
.filters { display: flex; flex-wrap: wrap; gap: 6px; }
.filter { appearance: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; font: 600 14px/1 var(--sans); color: var(--ink-2); background: transparent; border: 1px solid var(--ctl); border-radius: 999px; padding: 0 14px; min-height: 44px; }
.filter .ic { width: 15px; height: 15px; }
.filter:hover { color: var(--ink); border-color: var(--ink-3); }
.filter[aria-pressed="true"] { color: var(--gold-ink); background: var(--gold); border-color: var(--gold); }
.tools-end { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.sort { font: 400 15px/1 var(--sans); color: var(--ink-2); background: var(--bg-2); border: 1px solid var(--ctl); border-radius: 3px; padding: 0 10px; min-height: 44px; }
.count { font-size: 14px; color: var(--ink-3); white-space: nowrap; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.game { position: relative; display: flex; flex-direction: column; background: var(--bg-2); border: 1px solid var(--line); border-radius: 3px; overflow: hidden; transition: border-color .2s ease; scroll-margin-top: 12px; }
.game:hover { border-color: color-mix(in srgb, var(--gold) 55%, var(--line)); }
.game.hit { border-color: var(--gold); box-shadow: 0 0 0 2px color-mix(in srgb, var(--gold) 45%, transparent); }
.game .art { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #000; border-bottom: 1px solid var(--line); }
.game .art .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; filter: saturate(.4); }
.game .art .sk { position: absolute; right: 4%; bottom: -6%; height: 104%; width: auto; mix-blend-mode: screen; opacity: .8; filter: grayscale(1) brightness(1.05); }
.game.shot .art .ph { opacity: 1; filter: none; }
.badges { position: absolute; top: 8px; left: 8px; z-index: 2; display: flex; flex-wrap: wrap; gap: 5px; max-width: calc(100% - 60px); }
.badge { font: 600 11px/1 var(--display); letter-spacing: .12em; text-transform: uppercase; padding: 5px 7px; border-radius: 2px; background: rgba(7,7,10,.9); color: var(--ink-2); border: 1px solid var(--line-2); }
.badge.new { background: var(--stamp); color: var(--gold-ink); border-color: transparent; }
.badge.fresh { color: var(--env); border-color: var(--env); }
.game .body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.titlerow { display: flex; align-items: center; }
.game h3 { font: 500 1.35rem/1.15 var(--serif); margin: 0; min-width: 0; }
.game h3 a { text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; margin: -8px 0 -10px; }
.game h3 a:hover { text-decoration: underline; }
.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 10px; font-size: 14px; color: var(--ink-3); }
.meta .plays { display: inline-flex; gap: 6px; } .meta .plays .ic { width: 16px; height: 16px; }
.game .blurb { margin: 0; color: var(--ink-2); font-size: 15px; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.actions { margin-top: auto; padding-top: 4px; }
.play { width: 100%; }
.play.off { background: transparent; color: var(--ink-3); border-color: var(--line); cursor: default; pointer-events: none; }
.fav { position: absolute; top: 4px; right: 4px; z-index: 3; appearance: none; cursor: pointer; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 3px; background: transparent; color: var(--ink-2); }
.fav .ic { filter: drop-shadow(0 0 3px #000); }
.fav:hover { color: var(--ink); }
.fav[aria-pressed="true"] { color: var(--gold); } .fav[aria-pressed="true"] .ic { fill: currentColor; }
.empty { grid-column: 1 / -1; color: var(--ink-3); border: 1px dashed var(--line-2); padding: 28px; text-align: center; }
.empty button { margin-left: 8px; }

/* content-note tags: audience first, then the card's notes */
.cn { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 5px; }
.cn li { font: 600 12px/1 var(--sans); letter-spacing: .02em; padding: 5px 8px; border-radius: 2px; border: 1px solid var(--line-2); color: var(--ink-2); }
.cn li.aud { color: var(--ink); border-color: var(--verd); }
.cn li.warn { color: #e6bd78; border-color: rgba(230,189,120,.5); }
.cn li.good { color: #a9cfa0; border-color: rgba(169,207,160,.45); }
:root[data-scheme="light"] .cn li.warn { color: #7a4700; } :root[data-scheme="light"] .cn li.good { color: #2f5a2a; }

/* ---- build info: the per-card PROD / QA / DEV chips with "pushed Xh ago" are on for everyone (Jared, 2026-10-20); always visible, with no hide control ---- */

.chips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; margin-top: 4px; }
.chip .nn { display: none; }
.chip { display: flex; flex-direction: column; justify-content: center; gap: 2px; text-decoration: none; padding: 4px 8px; min-height: 36px; border: 1px solid var(--line); border-radius: 3px; font-size: 12px; color: var(--ink-3); min-width: 0; }
.chip b { font: 600 11px/1 var(--display); letter-spacing: .14em; color: var(--c); }
.chip[data-env="prod"] { --c: var(--prod); } .chip[data-env="qa"] { --c: var(--qa); } .chip[data-env="dev"] { --c: var(--dev); }
.chip span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
a.chip:hover { border-color: var(--c); }
.chip.none { border-style: dashed; } .chip.current { border-color: var(--c); color: var(--ink-2); }
.viewing { font-size: 14px; color: var(--ink-3); }
.viewing b { color: var(--env); }

.strips:empty { display: none; }
.strip { margin: 0 0 12px; }
.strip h3 { font: 600 12px/1 var(--display); letter-spacing: .18em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 8px; }
.strip ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.strip a { display: inline-flex; flex-direction: column; justify-content: center; min-height: 44px; padding: 6px 14px; border: 1px solid var(--ctl); border-radius: 3px; text-decoration: none; background: var(--bg-2); font: 600 15px/1.25 var(--sans); }
.strip a small { font: 400 12px/1.2 var(--sans); color: var(--ink-3); }
.strip a:hover { border-color: var(--gold); }
.strip a.plain { border: 0; background: none; text-decoration: underline; font: 400 14px/1 var(--sans); }
.strip .more { margin-left: 6px; align-self: center; }

details.old { margin-top: 28px; border-top: 1px solid var(--line); padding-top: 12px; }
details.old summary { cursor: pointer; color: var(--ink-2); font-size: 15px; min-height: 44px; display: flex; align-items: center; }
details.old .grid { content-visibility: auto; contain-intrinsic-size: auto 1600px; margin-top: 14px; }
details.old .game { opacity: .85; }

/* ---- footer: about, links, and the build switch Jared uses (small, quiet) ---- */
footer { margin-top: 40px; border-top: 1px solid var(--line); background: var(--bg-2); padding: 26px 0 36px; color: var(--ink-3); font-size: 15px; }
footer .wrap { display: grid; gap: 18px; }
footer .about { max-width: 70ch; margin: 0; }
footer .about + .about { margin-top: -8px; }
footer a { color: var(--ink-2); }
.foot-row { display: flex; flex-wrap: wrap; gap: 4px 22px; align-items: center; }
.foot-row a, .linkbtn { display: inline-flex; align-items: center; min-height: 44px; }
.credit { color: var(--ink-2); }
.linkbtn { appearance: none; background: none; border: 0; cursor: pointer; color: var(--ink-2); font: inherit; gap: 8px; padding: 0; text-decoration: underline; text-underline-offset: 3px; }
.linkbtn[hidden] { display: none; }
.linkbtn .ic { width: 16px; height: 16px; }
.linkbtn[aria-pressed="true"] { color: var(--gold); }
.buildbar { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: center; padding-top: 12px; border-top: 1px dashed var(--line); font-size: 14px; }
.buildbar .lbl { letter-spacing: .12em; text-transform: uppercase; font: 600 12px/1 var(--display); }
.seg { display: inline-flex; border: 1px solid var(--ctl); border-radius: 3px; }
.seg button { appearance: none; border: 0; background: transparent; color: var(--ink-3); cursor: pointer; font: 600 14px/1 var(--sans); padding: 0 14px; min-height: 44px; min-width: 56px; }
.seg button + button { border-left: 1px solid var(--ctl); }
.seg button:hover { color: var(--ink); }
.seg button[aria-checked="true"] { color: var(--ink); background: var(--bg-3); box-shadow: inset 0 -2px 0 var(--c, var(--gold)); }
.seg button[data-env="prod"] { --c: var(--prod); } .seg button[data-env="qa"] { --c: var(--qa); } .seg button[data-env="dev"] { --c: var(--dev); }
footer kbd, dialog kbd { font: 600 12px/1 var(--mono); border: 1px solid var(--line-2); border-radius: 3px; padding: 3px 6px; color: var(--ink-2); }

/* ---- static pages: /privacy/ ---- */
.doc { width: min(720px, 100% - 2 * var(--gut)); margin: 0 auto; padding: 40px 0 28px; }
.doc h1 { font-size: clamp(2.2rem, 6vw, 3.2rem); margin: 0 0 18px; }
.doc h2 { font-size: 1.6rem; margin: 30px 0 8px; } .doc h2::after { display: none; }
.doc p, .doc li { color: var(--ink-2); font-size: 17px; max-width: 68ch; }
.doc p b { color: var(--ink); }
.doc ul { padding-left: 22px; } .doc li { margin: 6px 0; }
.doc a { color: var(--ink); }
.doc .updated { font-size: 14px; color: var(--ink-3); margin-top: 28px; }
.lost { min-height: 62vh; display: grid; place-items: center; text-align: center; padding: 40px 16px; }
.lost .mark { width: 72px; height: 72px; margin: 0 auto 14px; opacity: .7; }
.lost .mark .ring { stroke: var(--line-2); } .lost .mark .tri { stroke: var(--gold); } .lost .mark .core { fill: var(--gold); stroke: none; }
.lost h1 { font-size: clamp(2.2rem, 7vw, 3.6rem); }
.lost p { color: var(--ink-2); }

dialog.help { max-width: min(520px, 100% - 32px); width: 100%; padding: 22px 24px; border: 1px solid var(--line-2); border-radius: 3px; background: var(--bg-2); color: var(--ink); }
dialog.help::backdrop { background: rgba(4,10,7,.82); }
dialog.help h2 { font-size: 1.6rem; margin-bottom: 14px; }
dialog.help dl { display: grid; grid-template-columns: auto 1fr; gap: 10px 16px; margin: 0 0 18px; font-size: 16px; }
dialog.help dt { white-space: nowrap; } dialog.help dd { margin: 0; color: var(--ink-2); }

/* ---- phones ---- */
@media (max-width: 860px) {
  .hero-in { grid-template-columns: 1fr; padding: 28px 0 28px; gap: 22px; }
  .feature { max-width: 440px; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .brand i { display: none; }
  .hero-in { padding: 22px 0 24px; gap: 18px; }
  .feature .shot { aspect-ratio: 2 / 1; }
  h1 { font-size: 2.15rem; }
  .lede { font-size: 17px; margin-bottom: 14px; }
  .cta-row .btn { flex: 1 1 auto; }
  .toolbar { gap: 8px; }
  .search { flex: 1 1 100%; max-width: none; }
  .search kbd { display: none; }
  .filters { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(-1 * var(--gut)); padding: 0 var(--gut) 4px; scrollbar-width: none; flex: 1 1 100%; }
  .filter { flex: none; }
  .sort { display: none; }
  .tools-end { margin-left: 0; }
  .section { padding-top: 28px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .game .body { padding: 8px 10px 10px; gap: 6px; }
  .game h3 { font-size: 1.12rem; }
  .meta { font-size: 13px; } .meta .plays { display: none; }
  .game .blurb { font-size: 14px; line-height: 1.35; }
  .cn li { font-size: 11px; padding: 4px 6px; }
  .cn li.good, .cn li.info { display: none; }  /* a card keeps the audience and the warnings; the full list is on the game's page */
  .play { min-height: 44px; padding: 0 10px; font-size: 15px; }
  .game .badges { display: none; }
  /* one compact row of three chips (about 30px tall); the label sits over the time */
  .chips { gap: 3px; margin-top: 2px; }
  .chip { padding: 2px 3px; min-height: 30px; gap: 1px; align-items: center; text-align: center; font-size: 11px; line-height: 1.15; }
  .chip b { font-size: 10px; letter-spacing: .08em; }
  .bar { row-gap: 0; }
  .bar .seg { order: 3; flex: 1 1 100%; margin: 2px 0 4px; }
  .bar .seg button { flex: 1 1 0; }
}
@media (max-width: 399px) { .chip .x, .chip .nx { display: none; } .chip .nn { display: inline; } }
@media (max-width: 359px) { .grid { grid-template-columns: 1fr; } }
@media (max-height: 520px) and (orientation: landscape) {  /* a phone on its side: Play is on the first screen, the plate sits beside the words */
  .hero-in { grid-template-columns: minmax(0, 1fr) 270px; padding: 16px 0 18px; gap: 18px 32px; }
  h1 { font-size: clamp(1.8rem, 8vh, 2.6rem); margin-bottom: 8px; }
  .lede { font-size: 16px; margin-bottom: 10px; }
  .note { margin-top: 8px; font-size: 14px; }
  .bar { min-height: 48px; }
  .feature .f-text { display: none; }
  .grid { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px; }
  .section { padding-top: 24px; }
  .sort { display: inline-block; }
  .game .blurb { -webkit-line-clamp: 2; }
}
@media (min-width: 2200px) { html { zoom: 1.6; } }
@media (min-width: 3000px) { html { zoom: 2.2; } }
@media (min-width: 2200px) { :focus-visible, .pad-focus { outline-width: 5px; outline-offset: 5px; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
}
@media (prefers-reduced-motion: no-preference) {
  .game { animation: rise .3s ease both; }
  @keyframes rise { from { opacity: 0; transform: translateY(6px); } }
}
@media (forced-colors: active) {
  .btn, .game, .chip, .fav, .filter, .search input, .sort, .feature, .seg { border: 1px solid CanvasText; }
  .seg button[aria-checked="true"], .filter[aria-pressed="true"] { outline: 2px solid Highlight; }
}
@media print {
  :root { --bg: #fff; --bg-2: #fff; --bg-3: #fff; --ink: #000; --ink-2: #222; --ink-3: #444; --line: #bbb; --line-2: #888; color-scheme: light; }
  body { background: #fff; color: #000; font-size: 11pt; } body::after, .hero::before { display: none; }
  .bar, .toolbar, .feature, .seal-bg, .actions, .chips, .skip, .strips, .cta-row, .badges, .fav, .sk, #install, .buildbar { display: none !important; }
  .hero-in { grid-template-columns: 1fr; padding: 0 0 12px; }
  .grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .game { break-inside: avoid; animation: none; border: 1px solid #888; }
  .game .art { display: none; }
}
/* ---- a game's page: /games/<slug>/ (landing.py). The content-note tags (.cn) are styled in hub.css. ---- */
.gp { padding-bottom: 24px; }
.gp-crumbs { padding: 8px 0 0; }
.gp-crumbs a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--ink-2); text-decoration: none; font-size: 15px; }
.gp-crumbs a:hover { color: var(--ink); text-decoration: underline; }
.gp-top { display: grid; grid-template-columns: 1.25fr 1fr; gap: 32px; align-items: center; padding: 6px 0 26px; }
.gp-media { position: relative; border: 1px solid var(--line-2); padding: 6px; background: var(--bg); border-radius: 3px; aspect-ratio: auto; }
.gp-media img, .gp-media video { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; display: block; background: #000; }
.gp h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); line-height: 1.04; margin: 0 0 14px; }
.gp .kicker { margin-bottom: 10px; }
.gp-intro .cn { margin: 0 0 14px; }
.gp-intro .lede { margin-bottom: 20px; font-size: 18px; max-width: 56ch; }
.gp-play { min-height: 54px; font-size: 17px; padding: 0 28px; }
.gp-small { font-size: 14px; color: var(--ink-3); margin: 12px 0 0; }
.gp-builds { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 14px; color: var(--ink-3); margin: 8px 0 0; }
.gp-b b { font: 600 11px/1 var(--display); letter-spacing: .14em; color: var(--c); }
.gp-b[data-env="prod"] { --c: var(--prod); } .gp-b[data-env="qa"] { --c: var(--qa); } .gp-b[data-env="dev"] { --c: var(--dev); }
.gp-body { display: grid; gap: 6px; }
.gp-sec { border-top: 1px solid var(--line); padding: 20px 0 6px; }
.gp-sec h2 { font-size: 1.7rem; margin: 0 0 14px; }
.gp-sec p { color: var(--ink-2); font-size: 17px; max-width: 70ch; margin: 0 0 10px; }
.gp-facts { margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px 28px; }
.gp-facts dt { font: 600 12px/1.2 var(--display); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 4px; }
.gp-facts dd { margin: 0; color: var(--ink-2); font-size: 16px; }
.gp-facts dd b { color: var(--ink); }
.gp-dev { display: inline-flex; align-items: center; gap: 6px; margin: 0 14px 4px 0; }
.gp-notes ul { list-style: none; margin: 0 0 6px; padding: 0; display: grid; gap: 8px; }
.gp-notes li { display: grid; grid-template-columns: minmax(130px, 200px) 1fr; gap: 4px 16px; padding: 10px 14px; border: 1px solid var(--line); border-left-width: 3px; border-radius: 3px; background: var(--bg-2); font-size: 16px; color: var(--ink-2); }
.gp-notes li b { color: var(--ink); font: 600 16px/1.4 var(--sans); }
.gp-notes li.warn { border-left-color: #e6bd78; } .gp-notes li.good { border-left-color: #a9cfa0; } .gp-notes li.info { border-left-color: var(--line-2); }
.gp-aud b { color: var(--ink); }
.gp-gallery ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.gp-gallery img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border: 1px solid var(--line); border-radius: 3px; background: #000; }
.gp-end { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 18px; border-top: 1px solid var(--line); margin: 14px 0 0; }
@media (max-width: 860px) { .gp-top { grid-template-columns: 1fr; gap: 18px; } }
@media (max-width: 620px) { .gp-notes li { grid-template-columns: 1fr; } .gp-play { width: 100%; } .gp-intro .cn { max-height: none; } .gp-intro .cn li.good, .gp-intro .cn li.info { display: list-item; } }
@media (max-height: 520px) and (orientation: landscape) { .gp-top { grid-template-columns: 1fr 1fr; gap: 20px; padding-bottom: 14px; align-items: start; } .gp-media { position: sticky; top: 8px; } .gp h1 { font-size: clamp(1.8rem, 7vh, 2.6rem); } .gp-intro .lede { font-size: 16px; margin-bottom: 12px; } }
@media print { .gp-media video, .gp-play, .cta-row, .gp-end { display: none !important; } }
/* ---- card preview clips (clips.py): the video fades in over the still once it is actually playing ---- */
.game .art video.clip { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .3s ease; pointer-events: none; }
.game .art video.clip.on { opacity: 1; }
.game.flagship .art video.clip { object-position: center 30%; }
@media (prefers-reduced-motion: reduce) { .game .art video.clip { display: none; } }
@media print { .game .art video.clip { display: none; } }
