/* spcxtaa.com, on the Spcxtaa design system (Contour, Graphite version).
   The fonts, colors, motion, the Contour edge and the shared pieces (label, lockup, status mark)
   come from design/graphite.css, the shared copy every Spcxtaa interface loads; it is linked
   before this file and is never edited here. What follows is the site's own.
   One continuous cool-graphite surface. Sections are split by hairlines and tone steps, not cards;
   only art, forms and the closing statement are framed, and those frames carry the Contour corner.
   A headline's second line is set lighter and quieter.
   Spcxtaa Games keeps night-tinted surfaces and a lime signal on the same shapes and type.
   The corporate pages never name or link it; it is reached only at /games/. */

/* 1. The site's own measures */
:root {
  --pad: max(16px, 5vw);
  --header: 80px;
}

/* 2. Base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 24px); }
body { margin: 0; background: var(--ground); color: var(--ink); font: 400 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
button, input, select { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 20px; top: -100px; z-index: 100; padding: 12px 18px; border-radius: 12px; background: var(--ink); color: var(--ground); }
.skip:focus { top: 12px; }
h1, h2, h3 { margin: 0; font-weight: 560; text-wrap: balance; }
/* The second line of a headline answers the first: same face, lighter and quieter. */
:is(h1, h2) em { font-style: normal; font-weight: 300; color: var(--ink-2); }

/* 3. Pieces the pages share */
.button { --r: 14px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; height: 46px; padding: 0 20px; border: 0; border-radius: var(--r); background: var(--button-bg, var(--ink)); color: var(--button-ink, var(--ground)); font: 500 15px/1 var(--sans); white-space: nowrap; cursor: pointer; user-select: none; -webkit-tap-highlight-color: transparent; --edge: linear-gradient(180deg, rgba(255, 255, 255, .45), rgba(255, 255, 255, .08) 45%, rgba(0, 0, 0, .12)); transition: transform var(--t-slow) var(--spring), background var(--t-fast) var(--ease-out), color var(--t-fast); }
.button:hover { transform: translateY(-1px); }
.button:active { transform: scale(.975); transition: transform var(--t-instant) var(--ease-out), background var(--t-fast); }
.button:disabled { opacity: .45; cursor: default; pointer-events: none; }
.button .action-arrow { font-size: 16px; transition: transform var(--t-slow) var(--spring); }
.button:hover .action-arrow { transform: translate(2px, -2px); }
.secondary-button, .button.secondary { background: var(--line); color: var(--ink); --edge: linear-gradient(180deg, rgba(233, 236, 239, .2), rgba(233, 236, 239, .08) 32%, rgba(233, 236, 239, .05)); }
.secondary-button:hover, .button.secondary:hover { background: var(--line-2); }
.text-link { display: inline-flex; align-items: center; gap: 10px; padding: 6px 0 3px; border: 0; border-bottom: 1px solid var(--line-2); background: none; font: 500 15px/1.3 var(--sans); color: var(--ink); white-space: nowrap; cursor: pointer; transition: border-color var(--t-fast); }
.text-link:hover { border-color: var(--ink); }
.text-link .action-arrow { transition: transform var(--t-slow) var(--spring); }
.text-link:hover .action-arrow { transform: translate(2px, -2px); }
.status { display: inline-flex; align-items: center; gap: 8px; font: 400 10px/1.4 var(--tech); letter-spacing: .12em; text-transform: uppercase; color: var(--on-art-2); white-space: nowrap; }
.status b { font-weight: 700; color: var(--on-art); }
.development-status { color: var(--info); }
.development-status::before { content: ''; width: 6px; height: 6px; flex-shrink: 0; transform: rotate(45deg); box-shadow: inset 0 0 0 1.5px currentColor; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 22px; }
.action-arrow { display: inline-flex; flex-shrink: 0; line-height: 1; }
.action-arrow svg { display: block; width: 1em; height: 1em; }

/* 4. Floating dock and footer */
/* A zero-height sticky strip; flow-root keeps the dock's top margin inside it, so the 12px gap survives while stuck. */
body > header { display: flow-root; position: sticky; top: env(safe-area-inset-top, 0px); z-index: 30; height: 0; padding: 0 var(--pad); }
.dock { --r: 18px; display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 52px; margin: 12px 0 0; padding: 0 8px 0 18px; border-radius: var(--r); background: var(--glass); -webkit-backdrop-filter: blur(18px) saturate(120%); backdrop-filter: blur(18px) saturate(120%); }
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-mark { display: block; width: 20px; height: 20px; overflow: visible; }
.wordmark { display: block; height: 15px; width: auto; color: var(--ink); }
.dock nav { display: flex; gap: 2px; }
.dock nav a { --r: 10px; display: inline-block; padding: 8px 13px; border-radius: var(--r); font-size: 14px; color: var(--ink-2); white-space: nowrap; transition: color var(--t-fast), background var(--t-fast); }
.dock nav a:hover { color: var(--ink); }
.dock nav a[aria-current] { color: var(--ink); background: var(--line); }
.dock nav a[aria-current]::after { opacity: 0; }
body > footer { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; padding: 36px var(--pad); border-top: 1px solid var(--line); }
footer .brand .wordmark { height: 12px; }
footer .brand img { width: 16px; }
footer nav { display: flex; gap: 26px; font-size: 14px; color: var(--ink-2); }
footer nav a:hover { color: var(--ink); }
footer > .label { justify-self: end; }

/* 5. Hero: the rendered hall, with the copy on its quiet left side */
.hero { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 600px; height: min(calc(100svh - 112px), 860px); overflow: hidden; }
.hero-art { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 70% 78%; animation: settle var(--t-cine) var(--ease-out) both; }
@keyframes settle { from { transform: scale(1.05); } to { transform: none; } }
.hero::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, var(--ground) 0%, rgba(7, 8, 10, .84) 30%, rgba(7, 8, 10, 0) 64%), linear-gradient(0deg, var(--ground) 0%, rgba(7, 8, 10, 0) 18%); }
.hero-copy { position: relative; z-index: 2; max-width: 980px; padding: 0 var(--pad) 56px; }
.hero h1 { margin: 20px 0 24px; font: 500 clamp(44px, 6.6vw, 96px)/.96 var(--sans); letter-spacing: -.045em; }
.hero-intro { max-width: 40ch; margin: 0 0 30px; color: var(--ink-2); font-size: 18px; }
/* Under the hero: the charter's five words on the home page, a plain two-part line elsewhere. No boxes, only hairlines. */
.pillars { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin: 0; padding: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--s2); }
.pillars li { padding: 22px 0 22px var(--pad); border-left: 1px solid var(--line); font: 700 clamp(11px, 1.05vw, 14px)/1.4 var(--tech); letter-spacing: .1em; text-transform: uppercase; overflow-wrap: anywhere; }
.pillars li:first-child { border-left: 0; }
.pillars li + li { padding-left: clamp(14px, 2vw, 28px); }
.pillars li::after { content: ''; display: block; width: 28px; height: 2px; margin-top: 12px; background: var(--ice); }
.strip { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 32px; padding: 16px var(--pad); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--s2); font: 400 10.5px/1.4 var(--tech); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.hero-band { height: auto; min-height: min(56vh, 540px); }
.hero-short { min-height: 360px; }
.hero-band h1 { margin-bottom: 0; }
.hero-band .hero-copy { padding-top: calc(var(--header) + 72px); }
.hero-error { height: auto; min-height: calc(100svh - 52px); }
.hero-error .hero-art { filter: brightness(.5); }
.hero-error::after { content: '404'; position: absolute; z-index: 1; right: var(--pad); top: 50%; transform: translateY(-50%); font: 700 clamp(120px, 18vw, 300px)/.8 var(--tech); letter-spacing: .02em; color: rgba(233, 236, 239, .06); pointer-events: none; }

/* 6. Sections: a label column and a content column, parted by hairlines */
.section { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 32px; margin: 0 var(--pad); padding: clamp(72px, 9vw, 128px) 0; border-bottom: 1px solid var(--line); }
.section > * { min-width: 0; }
.section.stacked { grid-template-columns: minmax(0, 1fr); gap: 40px; }
.section:last-child { border-bottom: 0; }
.head { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.head h2 { font: 500 clamp(28px, 3.2vw, 44px)/1.04 var(--sans); letter-spacing: -.035em; }
.head p:not(.label, .lockup) { max-width: 34ch; margin: 0; color: var(--ink-2); }
.head .text-link { margin-top: 10px; }
.head-long h2 { max-width: 1100px; font-size: clamp(30px, 3.8vw, 56px); line-height: 1.08; }

/* Division directory */
.divisions { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-2); }
.divisions > li { border-bottom: 1px solid var(--line); }
.division { display: grid; grid-template-columns: clamp(72px, 9vw, 120px) minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 22px 0; }
.division .code { font: 700 clamp(24px, 2.8vw, 38px)/1 var(--tech); letter-spacing: .04em; }
.division .d-state { display: flex; align-items: center; gap: 8px; }
.division.locked .code, .division.locked .d-state { color: var(--ink-3); }
.redact { --r: 6px; display: block; width: min(260px, 60%); height: 22px; border-radius: var(--r); background: repeating-linear-gradient(135deg, var(--line-2) 0 5px, transparent 5px 10px), var(--line); }
.redact.short { width: min(190px, 44%); }

/* Statement: the closing line on the light material, cut with the Contour corner at its largest */
.statement { padding: clamp(48px, 7vw, 96px) var(--pad) 48px; }
.statement-card { --r: 44px; --ground: #ebe8e2; --ink: #0b0c0e; --ink-2: #5c5a55; --ink-3: #8a8780; --line: rgba(11, 12, 14, .1); --line-2: rgba(11, 12, 14, .2); --edge: linear-gradient(180deg, rgba(255, 255, 255, .9), rgba(255, 255, 255, .2)); display: flex; flex-direction: column; align-items: flex-start; gap: 22px; margin: 0; padding: clamp(56px, 9vw, 120px) clamp(22px, 5vw, 72px); border-radius: var(--r); background: var(--ground); color: var(--ink); color-scheme: light; }
.statement h2 { margin: 0; font: 500 clamp(40px, 6vw, 88px)/.96 var(--sans); letter-spacing: -.045em; }
.statement p:not(.label) { max-width: 560px; margin: 0; color: var(--ink-2); font-size: 17px; }
.statement + footer, .account-section + footer { border-top: 0; }

/* About */
/* The mission explains the charter headline, so it sits directly beneath it on the same left edge. */
.mission { display: grid; gap: 14px; max-width: 720px; }
.mission p:not(.label) { margin: 0; color: var(--ink-2); font-size: 20px; line-height: 1.65; }
.mission strong { font-weight: 500; color: var(--ink); }

/* 7. Account */
.account-section { padding: 64px var(--pad) 120px; }
.account-card { --r: 28px; max-width: 580px; padding: 32px; border-radius: var(--r); background: var(--s2); }
.account-card h2 { margin: 0 0 22px; font: 560 24px/1.25 var(--sans); letter-spacing: -.025em; }
.account-card p { color: var(--ink-2); }
.account-card a { text-decoration: underline; text-decoration-color: var(--ink-3); text-underline-offset: 5px; }
.account-card a:hover { text-decoration-color: var(--ink); }
.account-form { display: grid; gap: 20px; }
.field { display: grid; gap: 8px; font: 500 13px/1.4 var(--sans); color: var(--ink-2); }
.input { --r: 14px; display: flex; align-items: center; height: 50px; padding: 0 16px; border-radius: var(--r); background: var(--s1); transition: background var(--t-fast); }
.input:focus-within { background: var(--ground); --edge-paint: var(--ice); }
.input:focus-within::after { clip-path: var(--ring2, var(--ring)); }
.field input { flex: 1; width: 100%; min-width: 0; height: 100%; padding: 0; border: 0; border-radius: 0; background: none; outline: none; color: var(--ink); font: 16px/1.4 var(--sans); appearance: none; }
.field small, .account-help { font: 14px/1.5 var(--sans); color: var(--ink-2); }
.account-form .button { justify-self: start; }
.form-error { margin: 0 !important; color: var(--accent-hi) !important; overflow-wrap: anywhere; }
.form-error:empty { display: none; }
.account-divider { margin: 26px 0; border-top: 1px solid var(--line); }
.account-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.account-grid .account-card { max-width: none; }
.account-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 28px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.account-toolbar p { margin: 0; font: 400 10.5px/1.4 var(--tech); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.account-section .text-link { border-bottom: 0; color: var(--ink); text-decoration: underline; text-decoration-color: var(--ink-3); text-underline-offset: 5px; }
.account-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.account-delete { grid-column: 1 / -1; }
.account-delete .button { background: rgba(255, 51, 34, .12); color: var(--accent-hi); --glow: rgba(255, 82, 66, .9); --edge: linear-gradient(rgba(255, 82, 66, .5), rgba(255, 82, 66, .25)); }
.account-delete .button:hover { transform: none; }
.account-delete .button:hover { background: rgba(255, 51, 34, .2); }
.account-delete .account-form { max-width: 480px; margin-top: 24px; }
.account-card details summary { min-height: 44px; padding: 10px 0; font-size: 16px; cursor: pointer; }
.code-card { max-width: 690px; }
.recovery-code { --r: 18px; padding: 24px; border-radius: var(--r); background: var(--s1); color: var(--ink); font: 500 1.2rem/1.8 var(--mono); letter-spacing: .07em; white-space: pre-wrap; overflow-wrap: anywhere; }
.check { display: flex; align-items: flex-start; gap: 12px; margin: 26px 0; line-height: 1.5; }
.check input { flex-shrink: 0; width: 20px; height: 20px; accent-color: var(--ink); }
.session-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; padding: 20px 0; border-top: 1px solid var(--line); }
.session-row div { min-width: 0; }
.session-row p { margin: 8px 0; font-size: 14px; overflow-wrap: anywhere; }
.session-row small { font-size: 14px; color: var(--ink-2); }
.verified-email { overflow-wrap: anywhere; }
.verified-email span { display: block; font-size: 14px; color: var(--ok); }
.account-notice, #account-feedback { margin: 0 0 24px; color: var(--warn); line-height: 1.6; }
#account-feedback:empty { display: none; }

/* 8. Games division: night-tinted surfaces and a lime signal, same shapes and motion */
.games-site { --ground: #0a0d18; --s1: #0e1220; --s2: #131829; --s3: #1a2034; --s4: #232a42; --ink-2: #aab0c8; --ink-3: #6f7694; --line: rgba(170, 185, 255, .09); --accent: #c4f25a; --accent-hi: #d4ff6e; --accent-ink: #0d1020; --button-bg: var(--accent); --button-ink: var(--accent-ink); --glass: rgba(12, 16, 32, .55); --glow: rgba(214, 255, 120, .9); --edge: linear-gradient(180deg, rgba(190, 205, 255, .24), rgba(190, 205, 255, .07) 32%, rgba(190, 205, 255, .04)); background: var(--ground); }
.games-site .button { --glow: rgba(255, 255, 255, .95); --edge: linear-gradient(180deg, rgba(255, 255, 255, .6), rgba(255, 255, 255, .1) 45%, rgba(0, 0, 0, .1)); font-weight: 600; }
.games-site .button:hover { background: var(--accent-hi); }
.games-site .secondary-button { --glow: rgba(214, 255, 120, .9); --edge: linear-gradient(180deg, rgba(190, 205, 255, .24), rgba(190, 205, 255, .07) 32%, rgba(190, 205, 255, .04)); }
.games-site .secondary-button:hover { background: var(--line-2); }
.parent-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 6px var(--pad); background: #070913; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--ink-2); }
.parent-bar a { display: inline-flex; align-items: center; gap: 8px; min-height: 32px; }
.parent-bar a:hover { color: var(--ink); }
/* The division's name sits beside the wordmark in the same lettering. */
.games-header .lockup { font-size: 16.5px; line-height: 1; }
.games-header nav { overflow-x: auto; scrollbar-width: none; }
.games-header nav::-webkit-scrollbar { display: none; }
.games-site :is(h1, h2) em { font-weight: inherit; color: var(--accent); }
.eyebrow { margin: 0 0 22px; font: 400 10.5px/1.4 var(--tech); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }

/* Games landing: the latest release, then every game as a large tile */
.hub-hero { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 660px; height: min(86svh, 840px); overflow: hidden; }
.hub-hero::before { content: ''; position: absolute; inset: 0; z-index: 1; background: radial-gradient(ellipse at 20% 30%, #232052 0, transparent 60%), linear-gradient(0deg, var(--ground) 0%, rgba(10, 13, 24, 0) 30%); pointer-events: none; }
.hub-art { position: absolute; top: 0; right: 0; bottom: 0; width: 64%; height: 100%; object-fit: cover; object-position: 50% 45%; -webkit-mask-image: linear-gradient(90deg, #0000 0%, #000 30%); mask-image: linear-gradient(90deg, #0000 0%, #000 30%); animation: settle var(--t-cine) var(--ease-out) both; }
.hub-copy { position: relative; z-index: 2; max-width: 760px; padding: 0 var(--pad) 56px; }
.hub-copy h1 { margin: 0 0 20px; font: 620 clamp(56px, 7vw, 112px)/.95 var(--sans); letter-spacing: -.05em; }
.hub-copy .deck { max-width: 460px; margin: 0 0 34px; color: #d3d6e6; font-size: 19px; line-height: 1.55; }
.hub-stats { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; align-items: end; gap: 24px; margin: 0 var(--pad); padding: 22px 0 26px; border-top: 1px solid rgba(255, 255, 255, .12); }
.hub-stats dl { display: contents; }
.hub-stats dt { margin-bottom: 4px; color: var(--ink-2); font-size: 13px; }
.hub-stats dd { margin: 0; font: 700 26px/1.15 var(--tech); letter-spacing: .02em; font-variant-numeric: tabular-nums; }
.hub-stats dl:first-child > div:first-child dd { color: var(--accent); }
.hub-stats .metrics-status { justify-self: end; margin: 0; font-size: 13px; }
.hub { padding: 110px var(--pad) 120px; }
.hub-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 40px; }
.hub-head .eyebrow { margin: 0; }
.hub-head h2 { margin-top: 14px; font: 620 clamp(40px, 4.4vw, 64px)/1 var(--sans); letter-spacing: -.045em; }
/* Segmented filter: contour.js adds a thumb that rides a spring to the pressed tab. */
.tabs { --r: 14px; position: relative; display: flex; gap: 2px; padding: 4px; border-radius: var(--r); background: var(--s1); }
.tabs .thumb { --r: 10px; position: absolute; top: 4px; bottom: 4px; left: 0; z-index: 0; border-radius: var(--r); background: var(--accent); --edge: linear-gradient(180deg, rgba(255, 255, 255, .5), rgba(255, 255, 255, .1) 45%, rgba(0, 0, 0, .1)); transition: transform var(--t-slow) var(--spring), width var(--t-slow) var(--spring); }
.tabs button { --r: 10px; position: relative; z-index: 1; height: 36px; padding: 0 18px; border: 0; border-radius: var(--r); background: none; color: var(--ink-2); font: 520 14px var(--sans); cursor: pointer; transition: color var(--t-fast); }
.tabs button::after { opacity: 0; }
.tabs button[aria-pressed="true"] { color: var(--accent-ink); }
.tabs:not(:has(.thumb)) button[aria-pressed="true"] { background: var(--accent); }
.tabs button:not([aria-pressed="true"]):hover { color: var(--ink); }
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.tile { --r: 28px; position: relative; display: block; overflow: hidden; aspect-ratio: 16 / 10; border-radius: var(--r); background: var(--s2); }
.tile > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(.82); transition: transform var(--t-cine) var(--ease-out), filter var(--t-slow) var(--ease-out); }
.tile:hover > img { transform: scale(1.04); filter: brightness(.95); }
.tile::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(0deg, rgba(10, 13, 24, .96) 18%, rgba(10, 13, 24, 0) 72%); pointer-events: none; }
.tile .cap { position: absolute; z-index: 3; left: 26px; right: 26px; bottom: 24px; display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; pointer-events: none; }
.tile h3 { margin: 12px 0 6px; font: 600 32px/1.05 var(--sans); letter-spacing: -.035em; }
.tile .cap p { margin: 0; color: var(--on-art-2); font-size: 15px; }
.tile .status { color: var(--on-art-2); }
.tile .development-status, .game-hero .development-status { color: var(--info); }
.tile-stats { display: flex; flex-wrap: wrap; gap: 4px 20px; margin: 12px 0 0; color: var(--ink-2); font-size: 13px; }
.tile-stats div { display: flex; gap: 6px; }
.tile-stats dd { margin: 0; color: var(--ink); font-weight: 600; }
.tile .tile-note { margin-top: 12px; color: var(--ink-2); font-size: 13px; }
.tile .go { --r: 12px; flex-shrink: 0; display: grid; place-items: center; width: 46px; height: 46px; border-radius: var(--r); background: rgba(255, 255, 255, .09); color: var(--accent); font-size: 18px; transition: background var(--t-base) var(--ease-out), color var(--t-fast); }
.tile .go::after { opacity: 0; }
.tile:hover .go { background: var(--accent); color: var(--accent-ink); }
.tile-link { position: absolute; inset: 0; z-index: 2; }
.tile-link:focus-visible { outline-offset: -4px; border-radius: 24px; }
.follow { --r: 14px; flex-shrink: 0; position: relative; z-index: 4; display: inline-flex; align-items: center; gap: 12px; height: 46px; padding: 0 22px; border-radius: var(--r); background: rgba(12, 16, 32, .5); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); font: 560 14px var(--sans); white-space: nowrap; pointer-events: auto; transition: color var(--t-fast); }
.follow:hover { color: var(--accent); }
.metrics-status { margin: 18px 0 0; color: var(--ink-2); font-size: 14px; line-height: 1.6; }
.game-metrics dt { margin-bottom: 8px; color: var(--ink-2); font-size: 14px; }
.game-community { margin-top: 26px; }
.game-community > p { margin: 0 0 8px; color: var(--ink-2); font-size: 14px; }
.game-community ul { display: flex; flex-wrap: wrap; gap: 4px 22px; margin: 0; padding: 0; list-style: none; }
.game-community a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-size: 14px; text-decoration: underline; text-decoration-color: var(--ink-3); text-underline-offset: 5px; transition: text-decoration-color var(--t-fast); }
.game-community a:hover { text-decoration-color: var(--accent); }
.game-community .action-arrow { color: var(--accent); }
.development-note { color: var(--ink-2); line-height: 1.75; }
.game-metrics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin: 24px 0; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.game-metrics dd { margin: 0; font: 560 26px/1.3 var(--sans); letter-spacing: -.02em; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
/* Plain counts are set in the display face; dates and ratings stay in the reading face. */
.game-metrics :is([data-stat="visits"], [data-stat="playing"], [data-stat="favorites"]) { font: 700 22px/1.55 var(--tech); letter-spacing: .02em; }

/* Individual game pages */
.game-overview { position: relative; overflow: hidden; padding: var(--header) var(--pad) 0; background: var(--ground); }
.game-overview > :not(.game-backdrop) { position: relative; z-index: 1; }
.game-backdrop { position: absolute; z-index: 0; top: -120px; left: -10%; width: 120%; max-width: none; height: 980px; object-fit: cover; filter: blur(70px) saturate(1.3); opacity: .38; -webkit-mask-image: linear-gradient(#000 40%, #0000); mask-image: linear-gradient(#000 40%, #0000); pointer-events: none; }
.pets-overview { background: radial-gradient(ellipse at 85% 12%, #142b34 0, transparent 52%), var(--ground); }
.tower-overview { background: radial-gradient(ellipse at 85% 12%, #322519 0, transparent 52%), var(--ground); }
.superhuman-overview { background: radial-gradient(ellipse at 85% 12%, #312519 0, transparent 52%), var(--ground); }
.dungeon-overview { background: radial-gradient(ellipse at 85% 12%, #152f40 0, transparent 52%), var(--ground); }
.game-breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; padding: 34px 0; border-bottom: 1px solid var(--line); color: var(--ink-2); font-size: 14px; }
.game-breadcrumb a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--ink-3); text-underline-offset: 5px; }
.game-hero { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 6%; align-items: center; padding: 70px 0 76px; }
.game-hero h1 { margin: 20px 0 28px; font: 620 clamp(44px, 5vw, 76px)/1.04 var(--sans); letter-spacing: -.05em; }
.game-hero .status { margin-top: 4px; color: var(--ink-2); }
.game-deck { max-width: 430px; margin: 0 0 32px; color: var(--ink-2); font-size: 20px; line-height: 1.6; }
.game-cover { --r: 28px; margin: 0; overflow: hidden; border-radius: var(--r); background: var(--s2); }
.game-cover img { display: block; width: 100%; height: auto; }
.dungeon-cover figcaption { padding: 12px 18px; border-top: 1px solid var(--line); color: var(--ink-2); font-size: 14px; }
.game-stat-section { padding: 0 0 28px; }
.game-stat-section .game-metrics { grid-template-columns: repeat(5, minmax(0, 1fr)); margin: 0; padding: 28px 0; }
.game-stat-section [data-stat="releaseDate"], .game-stat-section [data-stat="rating"] { font-size: 20px; }
.game-features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; padding: 48px 0 60px; border-top: 1px solid var(--line); }
.game-feature h2, .game-credits h2 { margin: 0 0 18px; font: 600 clamp(22px, 2vw, 26px)/1.25 var(--sans); letter-spacing: -.03em; }
.game-feature p { margin: 0; color: var(--ink-2); line-height: 1.75; }
.game-updates { padding: 28px 0 40px; border-top: 1px solid var(--line); }
.game-updates > h2 { margin: 0 0 22px; font: 600 clamp(22px, 2vw, 26px)/1.25 var(--sans); letter-spacing: -.03em; }
.update-log, .log-patches { list-style: none; margin: 0; padding: 0; }
.update-log { display: grid; gap: 12px; }
.game-updates summary { list-style: none; cursor: pointer; }
.update-notes > summary::-webkit-details-marker, .list-more > summary::-webkit-details-marker { display: none; }
.update-notes > summary { display: grid; grid-template-columns: 290px minmax(0, 1fr) 24px; gap: 24px; align-items: center; }
.update-notes > summary::after { content: '+'; justify-self: end; color: var(--accent); font: 400 22px/1 var(--mono); transition: transform var(--t-slow) var(--spring); }
.update-notes[open] > summary::after { transform: rotate(45deg); }
.row-meta { display: flex; align-items: center; gap: 14px; }
.row-meta time { color: var(--ink-2); font: 500 12px/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.version-badge { --r: 8px; flex-shrink: 0; display: inline-flex; align-items: center; height: 26px; padding: 0 12px; border-radius: var(--r); background: var(--s3); font: 500 12.5px/1 var(--mono); color: var(--accent); }
.version-badge::after { opacity: 0; }
.row-text { display: grid; gap: 4px; color: #cfd2e2; font-size: 15px; line-height: 1.5; }
/* An update is a raised card; its patches hang beneath it on a thin branch line. */
.log-update { --r: 22px; border-radius: var(--r); background: var(--s2); }
.log-update > summary { padding: 18px 22px; }
.log-update > summary:focus-visible { outline-offset: -4px; border-radius: 18px; }
.log-update[open] { padding: 0 22px 22px; }
.log-update[open] > summary { margin: 0 -22px; }
.log-update .version-badge { height: 30px; padding: 0 14px; background: var(--accent); color: var(--accent-ink); font-size: 13.5px; font-weight: 600; }
.log-update .row-text strong { color: var(--ink); font: 600 19px/1.25 var(--sans); letter-spacing: -.02em; }
.log-patches { margin: 0 0 0 30px; padding-left: 26px; border-left: 1px solid var(--s4); }
.log-patches > li { position: relative; border-bottom: 1px solid var(--line); }
.log-patches > li::before { content: ''; position: absolute; left: -26px; top: 27px; width: 18px; border-top: 1px solid var(--s4); }
.log-patches .update-notes > summary { grid-template-columns: 260px minmax(0, 1fr) 24px; padding: 14px 0; }
.log-patches .row-meta { gap: 10px; }
.log-patches .update-notes[open] { padding-bottom: 18px; }
.list-more > summary { display: inline-block; margin-top: 16px; padding: 6px 0; color: var(--ink); font-size: 14px; text-decoration: underline; text-underline-offset: 5px; }
.list-more[open] > summary { display: none; }
.list-more > .update-log { margin-top: 12px; }
.update-notes h4 { margin: 18px 0 6px; font: 400 10.5px/1.4 var(--tech); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.update-notes ul { margin: 0; padding-left: 18px; list-style: disc; color: #cfd2e2; line-height: 1.6; }
.update-notes li { margin: 4px 0; }
.update-notes li::marker { color: var(--accent); }
.game-credits { padding: 28px 0 34px; border-top: 1px solid var(--line); }
.game-credits dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 40px; margin: 0; }
.game-credits dt { font-weight: 600; overflow-wrap: anywhere; }
.game-credits dd { margin: 6px 0 0; color: var(--ink-2); line-height: 1.7; }
.game-back { padding: 34px 0 60px; border-top: 1px solid var(--line); }

/* 9. Responsive */
@media (max-width: 900px) {
  .section { grid-template-columns: minmax(0, 1fr); }
  .division { grid-template-columns: 64px minmax(0, 1fr) auto; }
  .game-hero { grid-template-columns: 1fr; gap: 36px; }
  .game-features { gap: 26px; }
  .game-stat-section .game-metrics { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  /* The Games dock has too many destinations for one pill; it becomes a two-row panel. */
  .games-header .dock { --r: 24px; flex-wrap: wrap; height: auto; gap: 8px; padding: 12px 12px 8px 20px; }
  .games-header nav { width: 100%; margin: 0 -4px; -webkit-mask-image: linear-gradient(90deg, #0000, #000 18px, #000 calc(100% - 18px), #0000); mask-image: linear-gradient(90deg, #0000, #000 18px, #000 calc(100% - 18px), #0000); }
  .games-site { --header: 132px; }
}
@media (max-width: 700px) {
  :root { --header: 76px; }
  .update-notes > summary { grid-template-columns: minmax(0, 1fr) 24px; gap: 10px 12px; }
  .update-notes > summary::after { grid-row: 1; grid-column: 2; }
  .row-text { grid-column: 1 / -1; }
  .log-patches { margin-left: 14px; padding-left: 18px; }
  .log-patches > li::before { left: -18px; width: 12px; }
  .log-patches .update-notes > summary { grid-template-columns: minmax(0, 1fr) 24px; }
  .dock { padding-left: 18px; gap: 8px; }
  .corp .dock .wordmark { display: none; }
  .dock nav a { padding: 9px 11px; font-size: 13.5px; }
  /* On a phone the copy comes first and the hall sits beneath it. */
  .hero { height: auto; min-height: 0; }
  .hero-copy { padding-top: 132px; padding-bottom: 380px; }
  .hero-art { top: auto; height: 420px; object-position: 70% 100%; }
  .hero::before { top: auto; height: 420px; background: linear-gradient(180deg, var(--ground) 0%, rgba(7, 8, 10, 0) 40%), linear-gradient(0deg, var(--ground) 0%, rgba(7, 8, 10, 0) 12%); }
  .hero-band { min-height: 0; }
  .hero-band .hero-copy { padding-bottom: 36px; }
  .hero-band .hero-art { top: 0; height: 100%; object-position: 70% 78%; }
  .hero-band::before { top: 0; height: 100%; background: linear-gradient(0deg, var(--ground) 0%, rgba(7, 8, 10, .7) 100%); }
  .hero-error .hero-copy { padding-bottom: 120px; }
  .strip { flex-direction: column; }
  .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pillars li { padding: 16px var(--pad); border-top: 1px solid var(--line); }
  .pillars li + li { padding-left: var(--pad); }
  .pillars li:nth-child(odd) { border-left: 0; }
  .pillars li:first-child, .pillars li:nth-child(2) { border-top: 0; }
  .statement { padding-bottom: 24px; }
  .statement-card { --r: 30px; }
  .hero-error::after { right: -2%; top: auto; bottom: 20px; transform: none; }
  body > footer { grid-template-columns: 1fr; gap: 16px; }
  footer > .label { justify-self: start; }
  .account-section { padding: 40px var(--pad) 70px; }
  .account-card { padding: 24px; }
  .account-grid { grid-template-columns: 1fr; }
  .account-section .button { width: 100%; }
  .session-row { flex-direction: column; }
  .game-features, .game-credits dl { grid-template-columns: 1fr; }
  .game-stat-section .game-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hub-hero { height: auto; min-height: 0; padding-top: var(--header); }
  .hub-art { position: static; width: 100%; height: auto; aspect-ratio: 16 / 10; -webkit-mask-image: linear-gradient(0deg, #0000 0%, #000 35%); mask-image: linear-gradient(0deg, #0000 0%, #000 35%); }
  .hub-copy { margin-top: -30px; padding-bottom: 40px; }
  .hub-copy h1 { font-size: 52px; }
  .hub-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hub-stats .metrics-status { display: none; }
  .hub-stats dd { font-size: 20px; }
  .hub { padding: 80px var(--pad) 90px; }
  .hub-head { flex-direction: column; align-items: flex-start; }
  .tiles { grid-template-columns: 1fr; gap: 28px; }
  .tile { aspect-ratio: auto; overflow: visible; background: none; clip-path: none !important; }
  .tile::before, .tile::after, .tile .go { display: none; }
  .tile > img { position: relative; display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; border-radius: 24px; filter: none; }
  .tile .cap { position: static; flex-direction: column; align-items: flex-start; gap: 14px; padding: 16px 0 0; }
  .tile h3 { font-size: 26px; }
  .games-header .lockup { font-size: 14.5px; }
  .parent-bar { padding: 4px var(--pad); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
