/* ============================================================
   Indie Peak - component styles
   Standalone. Depends on indiepeak-tokens.css
   ============================================================ */

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: var(--leading-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 400; line-height: var(--leading-tight); letter-spacing: var(--tracking-tight); }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }

[hidden] { display: none !important; }

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
  border-radius: 4px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: var(--gutter); top: -64px; z-index: 100;
  background: var(--accent); color: var(--accent-ink);
  padding: .6rem 1rem; border-radius: var(--r-ctl); font-weight: 700;
  transition: top .15s ease;
}
.skip-link:focus { top: 12px; }

.icon { width: 1em; height: 1em; fill: currentColor; flex: none; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(2.5rem, 5vw, 4.5rem); }
.section--tight { padding-block: clamp(2rem, 4vw, 3rem); }
.section-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: var(--sp-4); margin-bottom: var(--sp-5);
  border-bottom: 1px solid var(--border); padding-bottom: var(--sp-4);
}
.section-head__title { font-size: var(--step-3); }
.section-head__sub { color: var(--muted); font-size: var(--step--1); margin-top: .35rem; max-width: 46ch; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-mono); font-size: .72rem; letter-spacing: .16em;
  text-transform: uppercase; color: var(--muted);
}
.eyebrow::before { content: ""; width: 18px; height: 2px; background: var(--accent); }
.link-more {
  display: inline-flex; align-items: center; gap: .4rem;
  color: var(--muted); font-size: var(--step--1); font-weight: 600; white-space: nowrap;
}
.link-more:hover { color: var(--fg); }
.link-more .icon { font-size: .75rem; transition: transform .15s ease; }
.link-more:hover .icon { transform: translateX(3px); }

/* ---------- Buttons ---------- */
.btn {
  --_bg: transparent; --_fg: var(--fg); --_bd: var(--border-strong);
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 44px; padding: .65rem 1.15rem;
  background: var(--_bg); color: var(--_fg); border: 1px solid var(--_bd);
  border-radius: var(--r-ctl); font-weight: 600; font-size: var(--step-0);
  cursor: pointer; transition: background .16s ease, border-color .16s ease, transform .12s ease, color .16s ease;
}
.btn:hover { background: color-mix(in oklab, var(--fg) 8%, transparent); border-color: var(--fg); color: var(--fg); }
.btn:active { transform: translateY(1px); }

.btn--primary { --_bg: var(--accent); --_fg: var(--accent-ink); --_bd: var(--accent); font-weight: 700; }
.btn--primary:hover { background: color-mix(in oklab, var(--accent) 88%, white); border-color: color-mix(in oklab, var(--accent) 88%, white); color: var(--accent-ink); }

.btn--ghost { --_bd: transparent; --_fg: var(--muted); padding-inline: .7rem; }
.btn--ghost:hover { background: color-mix(in oklab, var(--fg) 7%, transparent); color: var(--fg); border-color: transparent; }

.btn--sm { min-height: 38px; padding: .4rem .8rem; font-size: var(--step--1); }
.btn--block { width: 100%; }

.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border: 1px solid var(--border-strong);
  background: transparent; border-radius: var(--r-ctl); cursor: pointer; color: var(--fg);
  transition: background .16s ease, border-color .16s ease;
}
.icon-btn:hover { background: color-mix(in oklab, var(--fg) 8%, transparent); border-color: var(--fg); }

/* ---------- Status chips ---------- */
.chip {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .25rem .6rem; border-radius: var(--r-pill);
  font-size: .75rem; font-weight: 600; line-height: 1.5; white-space: nowrap;
  border: 1px solid var(--border-strong); color: var(--muted);
  background: color-mix(in oklab, var(--muted) 8%, transparent);
}
.chip .icon { font-size: .8rem; }
/* Out now reads as a filled, confirmed badge; coming soon as a dashed, pending outline.
   Fill, border style and hue all differ, so the two greens never read as a pair. */
.chip--out   { color: var(--accent-ink); background: var(--st-out); border-color: var(--st-out); }
.chip--soon  { color: var(--st-soon);  border-color: color-mix(in oklab, var(--st-soon) 62%, transparent); border-style: dashed; background: color-mix(in oklab, var(--st-soon) 12%, transparent); }
.chip--early { color: var(--st-early); border-color: color-mix(in oklab, var(--st-early) 40%, transparent); background: color-mix(in oklab, var(--st-early) 14%, transparent); }
.chip--late  { color: var(--st-late);  border-color: color-mix(in oklab, var(--st-late) 40%, transparent);  background: color-mix(in oklab, var(--st-late) 14%, transparent); }

/* tag / mood chips */
.tag {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .28rem .65rem; border-radius: var(--r-pill);
  font-size: .72rem; font-weight: 600; color: var(--muted);
  border: 1px solid var(--border); background: var(--surface-2);
}
.tag:hover { color: var(--fg); border-color: var(--border-strong); }

/* platform icon row */
.plat-row { display: inline-flex; align-items: center; gap: .45rem; color: var(--muted); }
.plat-row .icon { font-size: .95rem; }
.plat-row--lg .icon { font-size: 1.15rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: color-mix(in srgb, var(--bg) 80%, transparent);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter);
  min-height: var(--header-h); display: flex; align-items: center; gap: var(--sp-5);
}
.brand { display: inline-flex; align-items: center; gap: .6rem; }
.brand-mark { width: 30px; height: 30px; color: var(--accent); flex: none; }
.brand-name { font-family: var(--font-display); font-size: 1.02rem; letter-spacing: .01em; }
.brand-name span { color: var(--muted); font-weight: 400; }

.nav { display: flex; align-items: center; gap: .25rem; }
.nav a {
  position: relative; padding: .55rem .7rem; border-radius: var(--r-sm);
  color: var(--muted); font-weight: 600; font-size: var(--step-0);
  transition: color .15s ease, background .15s ease;
}
.nav a:hover { color: var(--fg); background: color-mix(in oklab, var(--fg) 6%, transparent); }
.nav a[aria-current="page"] { color: var(--fg); }
.nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: .7rem; right: .7rem; bottom: .3rem;
  height: 2px; background: var(--accent); border-radius: 2px;
}

.header-spacer { flex: 1 1 auto; }
.header-tools { display: flex; align-items: center; gap: var(--sp-2); }
.week-pill {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .4rem .75rem; border-radius: var(--r-pill);
  border: 1px solid var(--border); background: var(--surface);
  color: var(--muted); font-size: var(--step--1); font-weight: 600; white-space: nowrap;
}
.week-pill b { color: var(--fg); font-weight: 700; }
.week-pill .icon { color: var(--st-out); font-size: .8rem; }

.search-mini {
  display: flex; align-items: center; gap: .5rem;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-pill); padding: .4rem .4rem .4rem .85rem; color: var(--muted);
  transition: border-color .15s ease;
}
.search-mini:focus-within { border-color: var(--border-strong); }
.search-mini .icon { font-size: .85rem; }
.search-mini input {
  background: transparent; border: 0; outline: 0; color: var(--fg);
  width: 150px; font-size: var(--step--1);
}
.search-mini input::placeholder { color: var(--faint); }
.search-mini button {
  border: 0; background: var(--surface-2); color: var(--fg);
  width: 30px; height: 30px; border-radius: var(--r-pill); cursor: pointer;
  display: grid; place-items: center; transition: background .15s ease, color .15s ease;
}
.search-mini button:hover { background: var(--accent); color: var(--accent-ink); }

.menu-toggle { display: none; }
.mobile-nav {
  display: none; border-top: 1px solid var(--border);
  background: color-mix(in srgb, var(--bg) 94%, transparent);
}
.mobile-nav.open { display: block; }
.mobile-nav ul { display: grid; }
.mobile-nav a {
  padding: .9rem var(--gutter); border-bottom: 1px solid var(--border);
  color: var(--fg); font-weight: 600; display: flex; align-items: center; justify-content: space-between;
}
.mobile-nav a .icon { color: var(--muted); }

/* ---------- Cover art (branded placeholder tiles) ---------- */
.cover {
  position: relative; overflow: hidden; background:
    radial-gradient(120% 80% at 18% 0%, var(--surface-2), var(--bg) 72%);
  isolation: isolate;
}
.cover--3x4 { aspect-ratio: 3 / 4; }
.cover--1x1 { aspect-ratio: 1 / 1; }
.cover--16x9 { aspect-ratio: 16 / 9; }
.cover svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.cover__ph {
  position: absolute; left: .55rem; top: .55rem; z-index: 2;
  font-family: var(--font-mono); font-size: .58rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--faint);
  background: color-mix(in srgb, var(--bg) 70%, transparent);
  border: 1px solid var(--border); border-radius: 5px; padding: .12rem .35rem;
}
.cover__title {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: .9rem .9rem .85rem;
  background: linear-gradient(to top, color-mix(in srgb, var(--bg) 92%, transparent) 12%, transparent);
}
.cover__title h3 { font-size: var(--step-2); line-height: 1.05; }
.cover__title p { color: var(--muted); font-size: .78rem; margin-top: .3rem; }

/* ---------- Game card ---------- */
.card {
  display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-card); overflow: hidden;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.card:hover {
  transform: var(--hover-lift); border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
}
.card .cover { border-bottom: 1px solid var(--border); }
.card__body { padding: .8rem .9rem .95rem; display: flex; flex-direction: column; gap: .55rem; }
.card__genre { color: var(--muted); font-size: .78rem; }
.card__foot { display: flex; align-items: center; justify-content: space-between; gap: .5rem; }

/* rails */
.rail {
  display: grid; grid-auto-flow: column;
  grid-auto-columns: minmax(196px, 232px); gap: var(--sp-4);
  overflow-x: auto; padding-bottom: var(--sp-3); padding-top: 4px;
  scroll-snap-type: x proximity;
}
.rail > * { scroll-snap-align: start; }
.rail::-webkit-scrollbar { height: 8px; }
.rail::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 99px; }
.rail::-webkit-scrollbar-track { background: transparent; }

/* rail scroll affordance: edge fade plus optional prev/next buttons */
.rail-wrap { position: relative; }
.rail-wrap::before, .rail-wrap::after {
  content: ""; position: absolute; top: 0; bottom: var(--sp-3); width: 56px;
  z-index: 2; pointer-events: none; opacity: 0; transition: opacity .2s ease;
}
.rail-wrap::before { left: 0; background: linear-gradient(to right, var(--bg), color-mix(in srgb, var(--bg) 0%, transparent)); }
.rail-wrap::after  { right: 0; background: linear-gradient(to left, var(--bg), color-mix(in srgb, var(--bg) 0%, transparent)); }
.rail-wrap.can-prev::before, .rail-wrap.can-next::after { opacity: 1; }

.rail-btn {
  position: absolute; top: calc(50% - (var(--sp-3) / 2)); transform: translateY(-50%);
  z-index: 3; display: none; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: var(--r-pill); cursor: pointer;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  color: var(--fg); border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-sm);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: background .16s ease, color .16s ease, border-color .16s ease, opacity .16s ease;
}
.rail-wrap.is-scrollable .rail-btn { display: inline-flex; }
.rail-btn--prev { left: -6px; }
.rail-btn--next { right: -6px; }
.rail-btn .icon { font-size: .85rem; }
.rail-btn:not(:disabled):hover { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.rail-btn:disabled { opacity: 0; pointer-events: none; }

/* ---------- Release rows (radar) ---------- */
.day-head {
  display: flex; align-items: center; gap: var(--sp-3);
  margin: var(--sp-6) 0 var(--sp-3);
}
.day-head h2, .day-head h3 { font-size: var(--step-1); }
.day-head .date { color: var(--muted); font-family: var(--font-mono); font-size: .8rem; }
.day-head hr { flex: 1; border: 0; border-top: 1px solid var(--border); }

.release-row {
  display: grid; grid-template-columns: 60px minmax(0, 1fr) auto auto;
  gap: var(--sp-4); align-items: center;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 12px; padding: .7rem; margin-bottom: .6rem;
  transition: border-color .16s ease, background .16s ease;
}
.release-row:hover { border-color: var(--border-strong); background: var(--surface-2); }
.release-row .cover { width: 60px; border-radius: 8px; }
.release-row__main { min-width: 0; }
.release-row__title { font-family: var(--font-display); font-size: var(--step-1); }
.release-row__sub { color: var(--muted); font-size: .78rem; margin-top: .2rem; display: flex; gap: .6rem; flex-wrap: wrap; align-items: center; }
.release-row__when { text-align: right; font-family: var(--font-mono); font-size: .8rem; color: var(--muted); white-space: nowrap; }
.release-row__when b { color: var(--fg); display: block; font-size: .9rem; }

/* ---------- News ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-5); }
.news-grid--lead { grid-template-columns: 1.4fr 1fr 1fr; }
.news-card {
  display: flex; flex-direction: column; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--r-card); overflow: hidden;
  transition: transform .18s ease, border-color .18s ease;
}
.news-card:hover { transform: var(--hover-lift); border-color: var(--border-strong); }
.news-card .cover { border-bottom: 1px solid var(--border); }
.news-card__body { padding: var(--sp-4); display: flex; flex-direction: column; gap: .55rem; flex: 1; }
.news-cat {
  font-family: var(--font-mono); font-size: .66rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--muted);
}
.news-cat--feature { color: var(--accent); }
.news-cat--roundup { color: var(--st-early); }
.news-card__title { font-size: var(--step-2); }
.news-card__sum { color: var(--muted); font-size: var(--step--1); }
.news-card__meta {
  margin-top: auto; padding-top: .55rem; border-top: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between; gap: .5rem;
  color: var(--muted); font-size: .74rem;
}
.news-card__meta .src { display: inline-flex; align-items: center; gap: .35rem; }
.news-card--lead { display: grid; grid-template-columns: 1.1fr 1fr; }
.news-card--lead .news-card__body { justify-content: center; }

/* Peak Picks */
.picks { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-5); }
.pick {
  display: grid; grid-template-columns: auto 1fr; gap: var(--sp-4);
  padding: var(--sp-5); background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-card); align-items: start;
  transition: border-color .18s ease, transform .18s ease;
}
.pick:hover { border-color: var(--border-strong); transform: var(--hover-lift); }
.pick__rank {
  font-family: var(--font-display); font-size: 2.4rem; line-height: 1;
  color: var(--border-strong);
}
.pick__title { font-size: var(--step-2); }
.pick__note { color: var(--muted); font-size: var(--step--1); margin-top: .5rem; }
.pick__foot { margin-top: .9rem; display: flex; align-items: center; gap: .6rem; }

/* ---------- Filters / controls ---------- */
.filterbar {
  display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-3);
  padding: var(--sp-4); background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-card);
}
.filter-group { display: flex; flex-direction: column; gap: .35rem; min-width: 140px; flex: 1 1 140px; }
.filter-group > label { font-size: .72rem; color: var(--muted); font-weight: 600; letter-spacing: .02em; }
.select {
  position: relative; display: flex; align-items: center;
}
.select select {
  appearance: none; width: 100%; min-height: 42px;
  background: var(--surface-2); border: 1px solid var(--border-strong);
  border-radius: var(--r-ctl); padding: .5rem 2.2rem .5rem .75rem; cursor: pointer;
  transition: border-color .15s ease, background .15s ease;
}
.select select:hover { border-color: var(--fg); }
.select .icon { position: absolute; right: .75rem; pointer-events: none; color: var(--muted); font-size: .7rem; }

.chips-scroll { display: flex; flex-wrap: wrap; gap: .5rem; }
.fchip {
  display: inline-flex; align-items: center; gap: .4rem; cursor: pointer;
  padding: .45rem .85rem; border-radius: var(--r-pill);
  border: 1px solid var(--border-strong); background: transparent;
  color: var(--muted); font-size: var(--step--1); font-weight: 600;
  transition: color .15s ease, border-color .15s ease, background .15s ease;
}
.fchip .icon { font-size: .8rem; }
.fchip:hover { color: var(--fg); border-color: var(--fg); }
.fchip[aria-pressed="true"] {
  color: var(--fg);
  background: color-mix(in oklab, var(--accent) 16%, transparent);
  border-color: color-mix(in oklab, var(--accent) 55%, transparent);
}

/* segmented control */
.seg {
  display: inline-flex; padding: 4px; gap: 4px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-pill);
}
.seg button {
  border: 0; background: transparent; cursor: pointer;
  padding: .5rem 1.1rem; border-radius: var(--r-pill);
  color: var(--muted); font-weight: 700; font-size: var(--step-0);
  min-height: 40px; transition: background .16s ease, color .16s ease;
}
.seg button:hover { color: var(--fg); background: color-mix(in oklab, var(--fg) 7%, transparent); }
.seg button[aria-selected="true"] { background: var(--accent); color: var(--accent-ink); }

.result-count { color: var(--muted); font-size: var(--step--1); margin: 0; font-family: inherit; font-weight: 400; }
.result-count b { color: var(--fg); }

.notice {
  display: flex; align-items: flex-start; gap: .6rem;
  color: var(--muted); font-size: var(--step--1);
  border-left: 2px solid var(--border-strong); padding-left: .8rem;
}
.notice .icon { color: var(--faint); margin-top: .15rem; }

/* ---------- Page head ---------- */
.page-head { display: flex; flex-direction: column; gap: var(--sp-3); max-width: 62ch; padding-top: clamp(2rem, 5vw, 3.5rem); }
.page-head h1 { font-size: var(--step-5); }
.page-head p { color: var(--muted); }
.stamp {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-mono); font-size: .76rem; color: var(--muted);
}
.stamp .icon { color: var(--faint); }

.search-big {
  display: flex; align-items: center; gap: .75rem;
  background: var(--surface); border: 1px solid var(--border-strong);
  border-radius: var(--r-ctl); padding: .4rem .4rem .4rem 1rem;
  margin-top: var(--sp-4); max-width: 560px; width: 100%;
  transition: border-color .15s ease;
}
.search-big:focus-within { border-color: var(--accent); }
.search-big > .icon { color: var(--muted); font-size: 1.05rem; }
.search-big input { flex: 1; background: transparent; border: 0; outline: 0; min-height: 40px; font-size: var(--step-1); }
.search-big input::placeholder { color: var(--faint); }
.search-big .icon-btn { width: 40px; height: 40px; border-color: transparent; }

/* ---------- Game detail ---------- */
.breadcrumb { display: flex; flex-wrap: wrap; gap: .5rem; color: var(--muted); font-size: var(--step--1); margin-top: var(--sp-3); }
.breadcrumb a:hover { color: var(--fg); }
.breadcrumb span[aria-current] { color: var(--fg); }
.game-layout { display: grid; grid-template-columns: 340px 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.game-cover .cover { border-radius: var(--r-card); border: 1px solid var(--border); box-shadow: var(--shadow-lg); }
.facts { border-top: 1px solid var(--border); margin-top: var(--sp-5); }
.facts > div { display: grid; grid-template-columns: 150px 1fr; gap: var(--sp-4); padding: .75rem 0; border-bottom: 1px solid var(--border); }
.facts dt { color: var(--muted); font-size: var(--step--1); }
.facts dd { margin: 0; }
.facts dd a:hover { color: var(--accent); }
.tags-line { display: flex; flex-wrap: wrap; gap: .5rem; }
.links-list a {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .8rem 0; border-bottom: 1px solid var(--border); font-weight: 600;
  transition: color .15s ease, padding-left .15s ease;
}
.links-list a:hover { color: var(--accent); padding-left: .35rem; }
.links-list .icon { color: var(--muted); font-size: .8rem; }
.links-list a:hover .icon { color: var(--accent); }
.game-head h1 { font-size: var(--step-5); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--border); }
.hero__bg { position: absolute; inset: 0; z-index: 0; opacity: .5; }
.hero__inner { position: relative; z-index: 1; }
.hero__inner {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center; padding-block: clamp(2.5rem, 6vw, 5rem);
}
.hero__copy { display: flex; flex-direction: column; gap: var(--sp-4); align-items: flex-start; }
.hero__title { font-size: var(--step-6); }
.hero__blurb { color: var(--muted); font-size: var(--step-1); max-width: 52ch; }
.hero__facts { display: flex; flex-wrap: wrap; gap: var(--sp-3) var(--sp-5); align-items: center; }
.hero__cover { position: relative; }
.hero__cover .cover { border-radius: var(--r-card); border: 1px solid var(--border); box-shadow: var(--shadow-lg); }
.hero__countdown {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-mono); font-size: var(--step--1); color: var(--muted);
  padding: .4rem .7rem; border: 1px dashed var(--border-strong); border-radius: var(--r-ctl);
}
.hero__countdown b { color: var(--fg); }

/* ---------- Newsletter ---------- */
.newsletter {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: var(--sp-5);
  align-items: center; padding: var(--sp-6);
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-card);
}
.newsletter h2 { font-size: var(--step-3); }
.newsletter p { color: var(--muted); margin-top: .5rem; max-width: 44ch; }
.newsletter form { display: flex; gap: .5rem; flex-wrap: wrap; }
.newsletter input[type="email"] {
  flex: 1 1 200px; min-height: 44px; background: var(--bg);
  border: 1px solid var(--border-strong); border-radius: var(--r-ctl);
  padding: .6rem .85rem;
}
.newsletter input::placeholder { color: var(--faint); }
.newsletter__note { font-size: .74rem; color: var(--faint); margin-top: .5rem; }
.newsletter__ok { color: var(--st-out); font-size: var(--step--1); font-weight: 600; }

/* ---------- Article / long form ---------- */
.prose { max-width: 70ch; }
.prose > * + * { margin-top: var(--sp-4); }
.prose h2 { font-size: var(--step-4); margin-top: var(--sp-7); }
.prose p { color: #D8DDE6; }
.prose blockquote {
  margin: var(--sp-6) 0; padding: var(--sp-4) var(--sp-5);
  border-left: 3px solid var(--accent); background: var(--surface);
  border-radius: 0 var(--r-card) var(--r-card) 0;
  font-size: var(--step-2); font-family: var(--font-display); line-height: 1.25;
}
.prose blockquote cite { display: block; margin-top: .6rem; font-family: var(--font-body); font-size: var(--step--1); color: var(--muted); font-style: normal; }
.callout {
  display: flex; gap: .8rem; padding: var(--sp-4) var(--sp-5);
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-card);
  color: var(--muted); font-size: var(--step--1);
}
.callout .icon { color: var(--accent); margin-top: .2rem; }
.inline-game {
  display: grid; grid-template-columns: 96px 1fr; gap: var(--sp-4);
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-card);
  padding: var(--sp-4); margin: var(--sp-6) 0; align-items: center;
}
.inline-game .cover { border-radius: 10px; }
.article-head { max-width: 60ch; }
.article-head h1 { font-size: var(--step-5); margin-top: var(--sp-3); }
.article-meta { display: flex; flex-wrap: wrap; gap: var(--sp-4); color: var(--muted); font-size: var(--step--1); margin-top: var(--sp-4); align-items: center; }
.article-meta .byline { color: var(--fg); font-weight: 600; }
.share-row { display: flex; gap: .5rem; flex-wrap: wrap; }

/* ---------- Empty / 404 ---------- */
.state {
  text-align: center; padding: clamp(3rem, 8vw, 6rem) var(--sp-4);
  border: 1px dashed var(--border-strong); border-radius: var(--r-card);
  display: flex; flex-direction: column; align-items: center; gap: var(--sp-3);
}
.state__icon {
  width: 64px; height: 64px; display: grid; place-items: center;
  border-radius: var(--r-pill); background: var(--surface); border: 1px solid var(--border);
  color: var(--accent); margin-bottom: var(--sp-2);
}
.state__icon .icon { font-size: 1.6rem; }
.state h2 { font-size: var(--step-4); }
.state p { color: var(--muted); max-width: 48ch; }
.state__actions { display: flex; gap: .6rem; flex-wrap: wrap; justify-content: center; margin-top: var(--sp-2); }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-2); border-top: 1px solid var(--border); margin-top: var(--sp-8); }
.footer-main {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: var(--sp-6);
  padding-block: var(--sp-7);
}
.footer-brand p { color: var(--muted); font-size: var(--step--1); margin-top: var(--sp-3); max-width: 34ch; }
.footer-col h4 { font-family: var(--font-body); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); margin-bottom: var(--sp-3); }
.footer-col a { display: block; color: var(--muted); padding: .3rem 0; font-size: var(--step--1); }
.footer-col a:hover { color: var(--fg); }
.footer-bottom {
  display: flex; flex-wrap: wrap; gap: var(--sp-3) var(--sp-5); align-items: center;
  justify-content: space-between; padding-block: var(--sp-4);
  border-top: 1px solid var(--border); color: var(--faint); font-size: .78rem;
}
.footer-bottom a { color: var(--muted); }
.footer-bottom a:hover { color: var(--fg); }
.footer-stamp { font-family: var(--font-mono); }

/* ---------- Utilities ---------- */
.stack { display: flex; flex-direction: column; }
.stack-3 { gap: var(--sp-3); }
.stack-4 { gap: var(--sp-4); }
.row { display: flex; align-items: center; gap: var(--sp-3); flex-wrap: wrap; }
.muted { color: var(--muted); }
.faint { color: var(--faint); }
.mono { font-family: var(--font-mono); }
.mt-5 { margin-top: var(--sp-5); }
.mt-6 { margin-top: var(--sp-6); }
.center { text-align: center; }
.grid-games { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-5); }
.pagination { display: flex; align-items: center; justify-content: center; gap: .4rem; margin-top: var(--sp-6); }
.pagination a, .pagination span {
  min-width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center;
  padding: 0 .5rem; border: 1px solid var(--border); border-radius: var(--r-ctl); color: var(--muted);
}
.pagination a:hover { color: var(--fg); border-color: var(--border-strong); }
.pagination [aria-current="page"] { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); font-weight: 700; }

/* ---------- Responsive ---------- */
@media (max-width: 1023px) {
  .grid-games { grid-template-columns: repeat(3, 1fr); }
  .news-grid, .news-grid--lead, .picks { grid-template-columns: repeat(2, 1fr); }
  .footer-main { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .nav, .search-mini { display: none; }
  .menu-toggle { display: inline-flex; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__cover { max-width: 380px; }
  .game-layout { grid-template-columns: 1fr; }
  .game-cover { max-width: 320px; }
}

@media (max-width: 767px) {
  :root { --header-h: 60px; }
  .week-pill { display: none; }
  .news-card--lead { grid-template-columns: 1fr; }
  .news-grid, .news-grid--lead, .picks { grid-template-columns: 1fr; }
  .grid-games { grid-template-columns: repeat(2, 1fr); gap: var(--sp-4); }
  .newsletter { grid-template-columns: 1fr; padding: var(--sp-5); }
  .release-row { grid-template-columns: 52px minmax(0,1fr); gap: var(--sp-3); }
  .release-row .cover { width: 52px; }
  .release-row__meta-cell { grid-column: 2; display: flex; align-items: center; gap: var(--sp-3); flex-wrap: wrap; }
  .release-row__when { text-align: left; }
  .section-head { flex-wrap: wrap; }
  .footer-main { grid-template-columns: 1fr; gap: var(--sp-5); }
  .rail-wrap::before, .rail-wrap::after { width: 36px; }
  .rail-btn { width: 36px; height: 36px; }
  .rail-btn--prev { left: -4px; }
  .rail-btn--next { right: -4px; }
}

@media (max-width: 420px) {
  .grid-games { grid-template-columns: 1fr 1fr; gap: var(--sp-3); }
  .cover__title h3 { font-size: var(--step-1); }
  .week-pill { display: none; }
}

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .card:hover, .news-card:hover, .pick:hover { transform: none; }
}

/* ---------- v1.0.1 fixes (a11y + launch polish, 2026-10-12) ---------- */
.pick__rank { color: var(--muted); }
.cover__title h3, .cover__title .cover__name {
  font-family: var(--font-display); font-size: var(--step-2); line-height: 1.05;
}
.news-card__main { display: flex; flex-direction: column; flex: 1; color: inherit; text-decoration: none; }
.news-card__meta { margin: 0 var(--sp-4); padding: .55rem 0 var(--sp-4); }
@media (max-width: 420px) {
  .cover__title h3, .cover__title .cover__name { font-size: var(--step-1); }
}

/* ---------- v1.1.0: real cover art (Steam CDN, hotlinked) ---------- */
.cover { position: relative; }
.cover__img { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: cover; display: block; }
.cover__ph { position: relative; z-index: 2; }

/* ---------- v1.1.1: native 2:3 covers + titles below art ---------- */
.cover--2x3 { aspect-ratio: 2 / 3; }
.card__head { display: flex; flex-direction: column; gap: .15rem; }
.card__title { font-size: var(--step-0); line-height: 1.25; }
.card__dev { color: var(--muted); font-size: .78rem; }

/* ---------- v1.1.2: hero layout reservation (CLS) ---------- */
@media (max-width: 1023px) {
  .hero__copy { min-height: 300px; }
}

/* ---------- v1.1.5: news pagination (real paging, fixed Next spacing) ---------- */
.pagination button {
  min-width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center;
  gap: .45rem; padding: 0 .5rem; border: 1px solid var(--border); border-radius: var(--r-ctl);
  color: var(--muted); background: none; font: inherit; font-weight: 600; cursor: pointer;
}
.pagination button:hover { color: var(--fg); border-color: var(--border-strong); }
.pagination a { gap: .45rem; }
.pagination .icon { font-size: .8em; }
.pagination[hidden] { display: none; }
[data-od-id="news-list"] { scroll-margin-top: 92px; }

/* ---------- v1.1.6: clickable release rows ---------- */
a.release-row { color: inherit; text-decoration: none; }
a.release-row:hover .release-row__title { color: var(--accent); }
a.release-row:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ---------- v1.2.7: pick covers ---------- */
.pick { grid-template-columns: auto auto 1fr; }
.pick__cover { width: 64px; }
@media (max-width: 767px) { .pick__cover { width: 54px; } }

/* ---------- v1.4.0: consent banner ---------- */
.ipk-consent {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem;
  padding: .8rem 1.25rem; background: var(--card, #12151a);
  border-top: 1px solid var(--border); box-shadow: 0 -8px 24px rgba(0, 0, 0, .35);
}
.ipk-consent[hidden] { display: none; }
.ipk-consent__text { margin: 0; font-size: .85rem; color: var(--muted); max-width: 46rem; }
.ipk-consent__text a { color: var(--accent); }
.ipk-consent__actions { display: flex; gap: .5rem; }
.ipk-consent__btn {
  min-width: 96px; padding: .5rem 1rem; border-radius: var(--r-ctl);
  font: inherit; font-weight: 600; cursor: pointer; border: 1px solid var(--border);
}
.ipk-consent__btn--accept { background: var(--accent); color: #0B0D10; border-color: var(--accent); }
.ipk-consent__btn--decline { background: none; color: var(--muted); }
.ipk-consent__btn:hover { filter: brightness(1.08); }

/* Newsletter sign-up block in the footer */
.footer-col--signup .footer-col__note { color: var(--muted); font-size: var(--step--1); margin: 0 0 var(--sp-3); }
.nl-form input[type="email"] { width: 100%; padding: .55rem .75rem; border: 1px solid var(--border-strong); border-radius: 8px; background: var(--surface); color: var(--fg); font: inherit; font-size: var(--step--1); }
.nl-form input[type="email"]:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.nl-form .nl-actions { margin-top: var(--sp-2); }
.nl-consent { display: flex; gap: .5rem; align-items: flex-start; color: var(--faint); font-size: var(--step--2); margin-top: .5rem; line-height: 1.4; }
.nl-consent input { margin-top: .18rem; accent-color: var(--accent); }
.nl-status { margin: .5rem 0 0; font-size: var(--step--1); color: var(--st-out); }

/* Contact form (replaces the old mailto block) */
.contact-form label { display: block; font-weight: 600; font-size: var(--step--1); margin-bottom: .35rem; }
.contact-form input[type="text"], .contact-form input[type="email"], .contact-form textarea { width: 100%; padding: .55rem .75rem; border: 1px solid var(--border-strong); border-radius: 8px; background: var(--surface); color: var(--fg); font: inherit; font-size: var(--step--1); }
.contact-form input:focus-visible, .contact-form textarea:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.contact-form__meta { color: var(--faint); font-size: var(--step--2); }
