/* PlayCode homepage — "Mission Control" family (docs/design/07-website.md §12, D13).
   Tokens and above-the-fold rules live in critical.css (inlined into every page). */

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

a { color: var(--accent-fg); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--accent-fg); outline-offset: 3px; border-radius: 6px; }
::selection { background: color-mix(in srgb, var(--accent) 30%, transparent); }
h1, h2, h3 { line-height: 1.2; letter-spacing: -0.01em; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
main { display: block; outline: none; }

.skip { position: absolute; left: 16px; top: -100px; z-index: 100; padding: 10px 16px; border-radius: 10px; background: var(--accent); color: var(--accent-on); font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }

/* ── background: grid + drifting stars (pure CSS) ─────────────────────── */
.sky::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 10%, transparent 75%); mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 10%, transparent 75%); }
.sky i { position: absolute; inset: 0; background-repeat: repeat; opacity: .55; }
.sky i:first-child {
  background-image: radial-gradient(1px 1px at 24px 36px, #fff, transparent), radial-gradient(1px 1px at 132px 92px, #cfe9ff, transparent), radial-gradient(1.5px 1.5px at 250px 170px, #ffe7b0, transparent), radial-gradient(1px 1px at 340px 40px, #e4dcff, transparent), radial-gradient(1px 1px at 420px 300px, #fff, transparent), radial-gradient(1.5px 1.5px at 60px 400px, #bff9ff, transparent), radial-gradient(1px 1px at 200px 330px, #fff, transparent);
  background-size: 480px 480px;
  animation: drift 160s linear infinite;
}
.sky i:last-child {
  background-image: radial-gradient(1px 1px at 70px 120px, #fff, transparent), radial-gradient(1px 1px at 210px 40px, #d8ccff, transparent), radial-gradient(2px 2px at 150px 250px, rgba(255, 143, 184, .85), transparent), radial-gradient(1px 1px at 280px 200px, #fff, transparent);
  background-size: 320px 320px;
  opacity: .35;
  animation: drift 240s linear infinite reverse;
}
@keyframes drift { to { background-position: 0 -960px; } }
@media (prefers-color-scheme: light) { .sky i { display: none; } }

/* ── header ───────────────────────────────────────────────────────────── */
.brand span { white-space: nowrap; }
.nav { display: flex; gap: 2px; order: 3; width: 100%; margin-inline: -8px; }
.nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 10px; color: var(--muted); text-decoration: none; font-weight: 600; font-size: .95rem; transition: color .18s, background-color .18s; }
.nav a:hover { color: var(--text); background: var(--panel); }
.nav a[aria-current="page"] { color: var(--text); box-shadow: inset 0 -2px 0 var(--accent); border-radius: 10px 10px 4px 4px; }
.langs { order: 2; margin-left: auto; display: flex; gap: 6px; }
.lang { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 999px; color: var(--text); text-decoration: none; font-size: .85rem; font-weight: 600; }
.lang:hover { border-color: var(--accent); }
@media (min-width: 640px) {
  .nav { order: 2; width: auto; margin-left: auto; margin-inline-end: 0; }
  .langs { order: 3; margin-left: 0; }
}

.lang-hint { background: color-mix(in srgb, var(--accent) 12%, var(--bg)); border-bottom: 1px solid var(--line); font-size: .92rem; }
.lang-hint .wrap { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; min-height: 48px; }
.lang-hint-close { margin-left: auto; width: 40px; height: 40px; border: 0; border-radius: 10px; background: transparent; color: var(--text); font-size: 1.4rem; cursor: pointer; }
.lang-hint-close:hover { background: var(--panel); }

/* ── shared pieces ────────────────────────────────────────────────────── */
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04), 0 24px 60px -36px rgba(0, 0, 0, .7); }
@media (prefers-color-scheme: light) { .panel { box-shadow: 0 1px 2px rgba(20, 30, 80, .06), 0 20px 50px -34px rgba(20, 30, 80, .25); } }
.pad { padding: 20px; }
@media (min-width: 768px) { .pad { padding: 28px; } .wrap { padding-inline: 24px; } }
@media (min-width: 1100px) { .wrap { padding-inline: 32px; } }

.sec { margin-block: 48px; }
@media (min-width: 900px) { .sec { margin-block: 72px; } }
.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.sec-title { display: flex; align-items: center; gap: 12px; font-size: 1.3rem; margin-bottom: 20px; }
.sec-title::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--accent), var(--violet), var(--pink)); box-shadow: 0 0 12px var(--accent); }
.more { font-weight: 600; text-decoration: none; }
.more:hover { text-decoration: underline; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px; font-family: var(--mono); font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--accent-fg); }
.eyebrow::before { content: ""; width: 12px; height: 12px; background: var(--gold); clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); filter: drop-shadow(0 0 6px var(--gold)); animation: twinkle 2.8s ease-in-out infinite; }
@media (prefers-color-scheme: light) { .eyebrow::before { background: #d99a1e; filter: none; } }
@keyframes twinkle { 50% { transform: scale(.7) rotate(45deg); opacity: .7; } }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px color-mix(in srgb, var(--accent) 8%, transparent), 0 0 22px var(--accent); } }
.lead { font-size: clamp(1.05rem, 1rem + .4vw, 1.24rem); color: var(--muted); max-width: 40em; }
.meta, .crumb { color: var(--faint); font-size: .92rem; }
.crumb a { color: var(--muted); }
.center { text-align: center; justify-content: center; }
.narrow { max-width: 760px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 12px; border: 1px solid transparent; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; transition: transform .18s, box-shadow .18s, border-color .18s, background-color .18s; }
.btn-primary { background: linear-gradient(100deg, var(--accent), color-mix(in srgb, var(--accent) 45%, var(--violet))); color: var(--accent-on); box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 40%, transparent), 0 10px 30px -10px color-mix(in srgb, var(--accent) 70%, transparent); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 0 0 1px var(--accent), 0 14px 36px -10px var(--accent); }
.btn-ghost { background: var(--panel); color: var(--text); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--accent); }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.chip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: .76rem; font-weight: 700; letter-spacing: .02em; border: 1px solid color-mix(in srgb, currentColor 40%, transparent); background: color-mix(in srgb, currentColor 10%, transparent); }
.chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.chip-released, .chip-maintenance { color: var(--ok); }
.chip-beta { color: var(--warn); }
.chip-development, .chip-idea { color: var(--violet-fg); }
.chip-retired { color: var(--faint); }

/* ── home ─────────────────────────────────────────────────────────────── */
.hero-grid { display: grid; gap: 28px; align-items: center; }
.hero-logo { order: -1; width: 128px; }
.hero-logo img { display: block; width: 100%; height: auto; border-radius: 28%; -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 58%, transparent 72%); mask-image: radial-gradient(circle at 50% 50%, #000 58%, transparent 72%); filter: drop-shadow(0 0 40px rgba(179, 139, 255, .35)); }
@media (prefers-color-scheme: light) { .hero-logo img { -webkit-mask-image: none; mask-image: none; box-shadow: 0 30px 70px -30px rgba(70, 60, 180, .55); } }
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 48px; }
  .hero-logo { order: 0; width: min(100%, 400px); justify-self: end; }
}
.hero { padding-block: 64px 24px; }
@media (min-width: 900px) { .hero { padding-block: 120px 40px; } }
.hero-title { font-size: clamp(2.3rem, 1.1rem + 5.4vw, 4.6rem); line-height: 1.08; letter-spacing: -0.025em; font-weight: 800; max-width: 14em; margin-bottom: 20px; }
.grad { background: linear-gradient(100deg, var(--accent-fg) 0%, var(--violet-fg) 50%, var(--pink-fg) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
@supports not ((-webkit-background-clip: text) or (background-clip: text)) { .grad { color: var(--text); } }

.games-sec + .games-sec { margin-top: 48px; }
/* Same column width in every section: 3 columns on a PC-wide page, 2 on a tablet, 1 on a phone. */
.grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
.card { position: relative; overflow: hidden; display: flex; flex-direction: column; transition: transform .22s, border-color .22s, box-shadow .22s; }
.card:hover, .card:focus-within { transform: translateY(-3px); border-color: color-mix(in srgb, var(--accent) 60%, transparent); box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 30%, transparent), 0 24px 60px -30px var(--accent); }
.card:focus-within { outline: 2px solid var(--accent-fg); outline-offset: 3px; }
.card-art { aspect-ratio: 16 / 11; overflow: hidden; border-bottom: 1px solid var(--line); }
.card-art img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
/* Three phone screenshots peeking up from the bottom edge, on a glow in the game's accent colour. */
.card-shots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; align-items: start; padding: 18px 18px 0; background:
  radial-gradient(circle at 50% 120%, color-mix(in srgb, var(--accent) 55%, transparent), transparent 70%),
  var(--panel-solid); }
.card-shots img { height: auto; aspect-ratio: auto; border-radius: 14px; border: 1px solid var(--line-2); box-shadow: 0 14px 30px -18px rgba(0, 0, 0, .8); transition: transform .3s; }
.card-shots img:nth-child(2) { transform: translateY(-6px); }
.card:hover .card-shots img:nth-child(2) { transform: translateY(-12px); }
.card-body { padding: 18px 20px 20px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; flex: 1; }
.card h3 { font-size: 1.22rem; margin: 6px 0 0; }
.card-link { color: var(--text); text-decoration: none; }
.card-link::after { content: ""; position: absolute; inset: 0; }
.card-link:focus-visible { outline: none; }
.card-sub { color: var(--muted); margin: 0; }
.card-meta { color: var(--faint); font-size: .85rem; margin: 4px 0 0; }
.card-promo { color: var(--text); margin: 6px 0 0; }
.card-cta { margin: auto 0 0; padding-top: 10px; font-weight: 700; color: var(--accent-fg); }

.art-gen { position: relative; display: grid; place-items: center; background:
  radial-gradient(circle at 28% 22%, color-mix(in srgb, var(--accent) 60%, transparent), transparent 58%),
  radial-gradient(circle at 82% 88%, color-mix(in srgb, var(--violet) 50%, transparent), transparent 55%),
  linear-gradient(var(--grid) 1px, transparent 1px) 0 0 / 28px 28px,
  linear-gradient(90deg, var(--grid) 1px, transparent 1px) 0 0 / 28px 28px,
  var(--panel-solid); }
.art-gen span { font-size: clamp(3.2rem, 8vw, 5.5rem); font-weight: 800; color: #fff; text-shadow: 0 0 30px var(--accent), 0 2px 0 rgba(0, 0, 0, .25); }

.empty { text-align: center; padding: 56px 20px; display: grid; justify-items: center; gap: 8px; }
.empty h2 { font-size: 1.5rem; margin: 12px 0 0; }
.empty p { color: var(--muted); margin: 0; }
.empty-orbit { width: 88px; height: 88px; border-radius: 50%; border: 1px dashed var(--line-2); position: relative; display: grid; place-items: center; }
.empty-orbit::before { content: ""; width: 22px; height: 22px; transform: rotate(45deg); border: 2px solid var(--accent); border-radius: 4px; box-shadow: 0 0 18px var(--accent); }
.empty-orbit span { position: absolute; inset: -1px; border-radius: 50%; animation: spin 6s linear infinite; }
.empty-orbit span::after { content: ""; position: absolute; top: -4px; left: 50%; width: 8px; height: 8px; margin-left: -4px; border-radius: 50%; background: var(--violet); box-shadow: 0 0 12px var(--violet); }
@keyframes spin { to { transform: rotate(360deg); } }

.about-strip { padding: 28px; display: grid; gap: 4px; background: linear-gradient(120deg, color-mix(in srgb, var(--accent) 10%, var(--panel)), color-mix(in srgb, var(--violet) 12%, var(--panel))); }
.about-strip h2 { font-size: 1.4rem; }
.about-strip p { color: var(--muted); max-width: 46em; }

/* ── news ─────────────────────────────────────────────────────────────── */
.news-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.news-item { padding: 20px 22px; }
.news-item h2, .news-item h3 { font-size: 1.15rem; margin: 4px 0 6px; }
.news-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0; font-family: var(--mono); font-size: .8rem; color: var(--faint); }
.news-game { font-family: var(--font); font-weight: 600; text-decoration: none; }

/* ── page headings and prose ──────────────────────────────────────────── */
.page-head { padding-block: 48px 0; }
@media (min-width: 900px) { .page-head { padding-block: 80px 0; } }
.page-head h1 { font-size: clamp(1.9rem, 1.3rem + 2.6vw, 3rem); margin-bottom: 12px; }
.prose { line-height: 1.78; }
.prose > :first-child { margin-top: 0; }
.prose > :last-child { margin-bottom: 0; }
.prose h2 { font-size: 1.2rem; margin: 1.9em 0 .6em; }
.prose h3 { font-size: 1.05rem; margin: 1.6em 0 .5em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1em; }
.prose li { margin: .35em 0; }
.prose li::marker { color: var(--accent-fg); }
.prose a { overflow-wrap: anywhere; }
.prose code { font-family: var(--mono); font-size: .88em; padding: .1em .4em; border-radius: 6px; background: var(--field); border: 1px solid var(--line); }
.prose pre { overflow-x: auto; padding: 14px; border-radius: 12px; background: var(--field); border: 1px solid var(--line); }
.prose blockquote { margin: 0 0 1em; padding: 4px 16px; border-left: 3px solid var(--accent); color: var(--muted); }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
.doc { max-width: 820px; }
.notice { display: grid; gap: 2px; max-width: 820px; margin-bottom: 16px; padding: 14px 18px; border-radius: 12px; border: 1px solid color-mix(in srgb, var(--warn) 55%, transparent); background: color-mix(in srgb, var(--warn) 10%, var(--bg)); }
.notice strong { color: var(--warn); }
.notice span { color: var(--muted); font-size: .92rem; }

/* ── game page ────────────────────────────────────────────────────────── */
.game-hero { display: grid; gap: 32px; align-items: center; padding-block: 48px 8px; }
@media (min-width: 900px) { .game-hero { grid-template-columns: 1.05fr .95fr; gap: 56px; padding-block: 88px 16px; } .hero-art img { max-height: min(70vh, 600px); } }
.game-hero h1 { font-size: clamp(2.3rem, 1.3rem + 4.2vw, 4.2rem); font-weight: 800; letter-spacing: -0.025em; margin: 16px 0 12px; }
.game-hero .lead { margin-bottom: 12px; }
.promo { color: var(--text); font-weight: 600; }
.hero-art { justify-self: center; width: 100%; display: grid; place-items: center; }
.hero-art img { width: auto; max-height: min(56vh, 600px); border-radius: 28px; border: 1px solid var(--line-2); box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 20%, transparent), 0 30px 90px -30px var(--accent); }
.hero-art.art-gen { aspect-ratio: 4 / 3; border-radius: 28px; border: 1px solid var(--line-2); box-shadow: 0 30px 90px -40px var(--accent); }
.stores { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.store-btn { display: inline-flex; flex-direction: column; justify-content: center; min-height: 54px; min-width: 160px; padding: 6px 20px; border-radius: 12px; background: #000; color: #fff; border: 1px solid rgba(255, 255, 255, .28); text-decoration: none; line-height: 1.2; transition: transform .18s, border-color .18s; }
.store-btn:hover { transform: translateY(-1px); border-color: var(--accent); }
.store-btn small { font-size: .72rem; opacity: .85; }
.store-btn strong { font-size: 1.12rem; }
.soon { display: inline-flex; align-items: center; gap: 10px; margin-top: 24px; padding: 10px 16px; border-radius: 12px; border: 1px dashed var(--line-2); color: var(--muted); font-weight: 600; }
.soon::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent); animation: pulse 2.4s ease-in-out infinite; }
.game-desc { display: grid; gap: 16px; align-items: start; }
@media (min-width: 900px) { .game-desc { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); } }
.facts { margin: 0; display: grid; gap: 14px; }
.facts dt { font-size: .78rem; font-family: var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--faint); }
.facts dd { margin: 2px 0 0; font-weight: 600; }
.shots { list-style: none; margin: 0; padding: 4px 2px 14px; display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: thin; }
.shots li { flex: none; scroll-snap-align: start; }
.shots img { display: block; height: clamp(300px, 58vh, 520px); width: auto; border-radius: 20px; border: 1px solid var(--line); background: var(--panel-solid); }
.features { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.features h3 { font-size: 1.05rem; color: var(--accent-fg); }
.features p { color: var(--muted); margin: 0; }
.subnav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.subnav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--panel); color: var(--text); text-decoration: none; font-weight: 600; font-size: .94rem; }
.subnav a:hover { border-color: var(--accent); }
.subnav a[aria-current="page"] { border-color: var(--accent); color: var(--accent-fg); }
.two { display: grid; gap: 16px; align-items: start; }
@media (min-width: 900px) { .two { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.stack { display: grid; gap: 16px; }
.two h2, .narrow h2 { font-size: 1.2rem; }
.faqs { margin-top: 8px; }
.faq { border-top: 1px solid var(--line); scroll-margin-top: 88px; }
.faq summary { min-height: 44px; display: flex; align-items: center; gap: 12px; cursor: pointer; font-weight: 600; padding: 8px 0; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; content: "+" / ""; margin-left: auto; flex: none; width: 24px; text-align: center; font-family: var(--mono); color: var(--accent-fg); }
.faq[open] summary::after { content: "−"; content: "−" / ""; }
.faq p { color: var(--muted); }
.faq-a { padding: 0 0 14px; color: var(--muted); }
.faq-a h4 { font-size: 1rem; color: var(--text); margin: 1.2em 0 .4em; }
.faq-link { margin: 6px 0 0; font-size: .85rem; }
.faq-link a { font-family: var(--mono); color: var(--faint); text-decoration: none; }
.faq-link a:hover { color: var(--accent-fg); }
.faq:target summary { color: var(--accent-fg); }
.mail-cta { font-size: 1.05rem; }
.mail-cta a { font-weight: 700; overflow-wrap: anywhere; }

/* ── forms ────────────────────────────────────────────────────────────── */
.inquiry { display: grid; gap: 16px; margin-top: 8px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; }
.req, .opt { font-weight: 400; font-size: .85rem; color: var(--faint); }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 11px 14px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--field); color: var(--text); font: inherit; font-size: 1rem; transition: border-color .18s, box-shadow .18s; }
.field textarea { resize: vertical; min-height: 150px; line-height: 1.6; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 28%, transparent); }
.field [aria-invalid="true"] { border-color: var(--crit); }
.count { margin: 0; justify-self: end; font-size: .8rem; color: var(--faint); font-family: var(--mono); }
.check { grid-template-columns: auto 1fr; align-items: start; gap: 10px; }
.check input { width: 22px; height: 22px; min-height: 0; margin: 2px 0 0; accent-color: var(--accent); }
.check label { font-weight: 400; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-note { margin: 0; font-size: .85rem; color: var(--faint); }
.form-status { margin: 0; min-height: 1.6em; font-weight: 600; }
.form-status.ok { color: var(--ok); }
.form-status.err { color: var(--crit); }
.inquiry .btn { justify-self: start; }

/* ── footer ───────────────────────────────────────────────────────────── */
.foot { margin-top: 96px; border-top: 1px solid var(--line); background: color-mix(in srgb, var(--bg-2) 80%, transparent); padding-block: 48px 28px; font-size: .92rem; }
.foot-grid { display: grid; gap: 32px; }
@media (min-width: 768px) { .foot-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.foot-brand p { color: var(--muted); margin-top: 8px; }
.foot h2 { font-size: .78rem; font-family: var(--mono); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); margin-bottom: 12px; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li a { display: inline-flex; align-items: center; min-height: 36px; color: var(--muted); text-decoration: none; }
.foot li a:hover { color: var(--text); text-decoration: underline; }
.biz { grid-column: 1 / -1; padding-top: 24px; border-top: 1px solid var(--line); }
.biz dl { margin: 0; display: grid; gap: 6px 28px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); font-size: .84rem; }
.biz dl div { display: flex; flex-wrap: wrap; gap: 0 8px; }
.biz dt { color: var(--faint); }
.biz dd { margin: 0; color: var(--muted); overflow-wrap: anywhere; }
.biz a { color: var(--muted); }
.foot-bottom { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--faint); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media print {
  .sky, .top, .foot, .subnav, .lang-hint { display: none !important; }
  body { background: #fff; color: #000; }
  .panel { box-shadow: none; border: 0; background: none; }
}

/* press kit (/<slug>/press/) */
.press-files { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); }
.press-files li { padding: 12px; display: flex; flex-direction: column; gap: 10px; }
.press-files img { display: block; width: 100%; height: 200px; object-fit: contain; border-radius: 12px; background: var(--panel-solid); }
.press-files p { margin: 0; overflow-wrap: anywhere; }

/* Phones: a one-column grid sizes its column to the widest unbreakable run of text unless told otherwise, which
   made the page wider than the screen (game page description on 320–390 px). Columns may shrink; long text breaks. */
:where(.hero-grid, .card-body, .about-strip, .news-list, .notice, .game-hero, .game-desc, .facts, .two, .stack, .inquiry, .field, .foot-grid) { grid-template-columns: minmax(0, 1fr); } /* :where = no specificity: the wider layouts in @media still win */
.check { grid-template-columns: auto minmax(0, 1fr); }
.prose, .card-body, .facts dd { overflow-wrap: anywhere; }
html, body { overflow-x: clip; }
