/*! GamingNews stylesheet: generated from the prototype's src/styles by build.js; edit there, then run wordpress/sync-assets.js */
/* ---- 01-tokens.css ---- */
/* ==========================================================================
   01 — Design tokens
   WordPress: mirror these in theme.json (settings.color.palette,
   settings.typography.fontFamilies / fontSizes, settings.spacing).
   ========================================================================== */

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Serif 4";
  src: url("../fonts/source-serif-4-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Serif 4";
  src: url("../fonts/source-serif-4-latin-wght-italic.woff2") format("woff2");
  font-weight: 200 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Barlow Semi Condensed";
  src: url("../fonts/barlow-semi-condensed-latin-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Barlow Semi Condensed";
  src: url("../fonts/barlow-semi-condensed-latin-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "Barlow Semi Condensed";
  src: url("../fonts/barlow-semi-condensed-latin-800-italic.woff2") format("woff2");
  font-weight: 800;
  font-style: italic;
  font-display: swap;
}

:root {
  /* Typography */
  --font-display: "Barlow Semi Condensed", "Arial Narrow", "Roboto Condensed", sans-serif;
  --font-ui: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-serif: "Source Serif 4", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --font-mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --fs-xs: 0.75rem;     /* 12 */
  --fs-sm: 0.8125rem;   /* 13 */
  --fs-base: 0.9375rem; /* 15 */
  --fs-md: 1.0625rem;   /* 17 */
  --fs-lg: clamp(1.125rem, 1.05rem + 0.3vw, 1.3125rem);
  --fs-xl: clamp(1.3125rem, 1.15rem + 0.6vw, 1.625rem);
  --fs-2xl: clamp(1.625rem, 1.35rem + 1.1vw, 2.25rem);
  --fs-3xl: clamp(2rem, 1.55rem + 1.9vw, 3.125rem);
  --fs-4xl: clamp(2.375rem, 1.7rem + 2.8vw, 4rem);
  --fs-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem); /* article copy */

  --lh-tight: 1.05;
  --lh-snug: 1.22;
  --lh-ui: 1.45;
  --lh-body: 1.7;

  --measure: 68ch;

  /* Spacing (4px base) */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.25rem;
  --sp-6: 1.5rem;
  --sp-8: 2rem;
  --sp-10: 2.5rem;
  --sp-12: 3rem;
  --sp-16: 4rem;
  --sp-20: 5rem;
  --section-gap: clamp(2.75rem, 2rem + 3vw, 4.5rem);

  /* Layout */
  --container: 82.5rem; /* 1320px */
  --gutter: 1rem;
  --header-h: 3.75rem;
  --radius-sm: 4px;
  --radius: 8px;
  --radius-lg: 14px;

  /* Motion */
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --dur: 160ms;

  /* Brand accent — identical fill in both themes, dark ink on top */
  --accent: #ff5b2e;
  --accent-hover: #ff7650;
  --on-accent: #170a05;

  /* Ad slot sizes (reserved space prevents layout shift) */
  --ad-leaderboard-h: 100px;   /* mobile 320x100 */
  --ad-inline-h: 250px;        /* 300x250 */
  --ad-sidebar-h: 600px;       /* 300x600 */
  --ad-footer-h: 100px;
}

@media (min-width: 48em) {
  :root { --gutter: 1.5rem; --header-h: 4rem; }
}
@media (min-width: 64em) {
  :root {
    --gutter: 2rem;
    --ad-leaderboard-h: 90px;  /* 728x90 / 970x90 */
    --ad-footer-h: 250px;      /* 970x250 */
  }
}

/* ---------- Dark theme (default brand theme) ---------- */
:root,
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #111214;
  --bg-elev: #16171a;
  --surface: #1b1c20;
  --surface-2: #222328;
  --surface-3: #2a2b31;
  --border: #2a2c32;
  --border-strong: #3b3e46;
  --text: #ededee;
  --text-strong: #ffffff;
  --text-muted: #a6a8b0;
  --text-faint: #858893;
  --accent-text: #ff7a55;      /* accent used as text on --bg (≥ 6:1) */
  --accent-soft: rgb(255 91 46 / 0.14);
  --focus: #ffb199;
  --scrim: rgb(8 9 10 / 0.72);
  --shadow: 0 1px 2px rgb(0 0 0 / 0.4), 0 8px 24px rgb(0 0 0 / 0.28);
  --sponsored-bg: #1f1d17;
  --sponsored-border: #4a4330;
  --sponsored-text: #e3cf96;
  --ad-bg: repeating-linear-gradient(135deg, #18191c 0 10px, #1c1d21 10px 20px);
  --media-bg: #1d1e23;
  --score-track: #33353c;
}

/* ---------- Light theme ---------- */
:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f6f5f2;
  --bg-elev: #ffffff;
  --surface: #ffffff;
  --surface-2: #efeee9;
  --surface-3: #e6e4de;
  --border: #e0ded7;
  --border-strong: #c9c6bd;
  --text: #1b1c1f;
  --text-strong: #0c0d0e;
  --text-muted: #55575e;
  --text-faint: #636570;
  --accent-text: #b8361a;      /* ≥ 5:1 on --bg */
  --accent-soft: rgb(255 91 46 / 0.12);
  --focus: #b8361a;
  --scrim: rgb(12 12 14 / 0.62);
  --shadow: 0 1px 2px rgb(20 20 20 / 0.06), 0 8px 24px rgb(20 20 20 / 0.08);
  --sponsored-bg: #fbf6e6;
  --sponsored-border: #e1d2a3;
  --sponsored-text: #6e5814;
  --ad-bg: repeating-linear-gradient(135deg, #efeee9 0 10px, #e9e7e1 10px 20px);
  --media-bg: #e4e2dc;
  --score-track: #dcd9d1;
}

/* ---- 02-base.css ---- */
/* ==========================================================================
   02 — Base: reset, typography, focus, utilities
   ========================================================================== */

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

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

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-ui);
  font-size: var(--fs-base);
  line-height: var(--lh-ui);
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body.is-locked { overflow: hidden; }

img, svg, video { display: block; max-width: 100%; height: auto; }
img { font-style: italic; } /* alt text styling when broken */

h1, h2, h3, h4, h5, h6, p, figure, blockquote, dl, dd, ul, ol { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: var(--lh-snug);
  color: var(--text-strong);
  letter-spacing: -0.005em;
  text-wrap: balance;
}

p { text-wrap: pretty; }

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }

hr { border: 0; border-top: 1px solid var(--border); margin: var(--sp-8) 0; }

::selection { background: var(--accent); color: var(--on-accent); }

/* Focus — always visible for keyboard users */
:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
  border-radius: 2px;
}
:focus:not(:focus-visible) { outline: none; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Utilities */
.visually-hidden {
  position: absolute !important;
  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(--sp-4);
  top: -100px;
  z-index: 100;
  padding: var(--sp-3) var(--sp-4);
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 600;
  border-radius: var(--radius);
  text-decoration: none;
}
.skip-link:focus { top: var(--sp-3); }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.stack > * + * { margin-top: var(--stack, var(--sp-4)); }

.muted { color: var(--text-muted); }
.nowrap { white-space: nowrap; }

[hidden] { display: none !important; }

/* Kicker / eyebrow text */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-family: var(--font-ui);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-text);
  text-decoration: none;
}
a.kicker:hover { text-decoration: underline; }

.meta {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 var(--sp-2);
}
.meta > * + *::before {
  content: "";
  display: inline-block;
  width: 3px; height: 3px;
  margin-right: var(--sp-2);
  vertical-align: middle;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.6;
}
.meta a { text-decoration: none; color: var(--text); font-weight: 500; }
.meta a:hover { text-decoration: underline; }

/* ---- 03-layout.css ---- */
/* ==========================================================================
   03 — Layout: header, navigation, trending strip, sections, footer
   WordPress template parts: header.php, footer.php, template-parts/nav-*.php
   ========================================================================== */

/* ---------- Site header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.site-header__inner {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  height: var(--header-h);
}

/* Wordmark */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  color: var(--text-strong);
  flex-shrink: 0;
}
.brand__mark { width: 30px; height: 30px; flex-shrink: 0; }
.brand__mark .m-bg { fill: var(--accent); }
.brand__mark .m-fg { fill: var(--on-accent); }
.brand__word {
  font-family: var(--font-display);
  font-weight: 800;
  font-style: italic;
  font-size: 1.5rem;
  letter-spacing: -0.01em;
  line-height: 1;
  text-transform: uppercase;
}
.brand__word b { font-weight: 800; color: var(--accent-text); }
.brand__tld {
  font-family: var(--font-ui);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--text-faint);
  align-self: flex-end;
  margin-bottom: 0.2rem;
  margin-left: -0.3rem;
}
@media (max-width: 22em) { .brand__tld { display: none; } }

/* Primary navigation (desktop) */
.primary-nav { display: none; margin-left: var(--sp-4); }
.primary-nav__list { display: flex; align-items: center; gap: var(--sp-1); }
.primary-nav__link,
.primary-nav__toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  min-height: 40px;
  padding: 0 var(--sp-3);
  border: 0;
  border-radius: var(--radius);
  background: none;
  font-size: var(--fs-base);
  font-weight: 550;
  color: var(--text);
  text-decoration: none;
  position: relative;
}
.primary-nav__link:hover,
.primary-nav__toggle:hover { background: var(--surface-2); }
.primary-nav__link[aria-current="page"]::after,
.primary-nav__toggle.is-current::after {
  content: "";
  position: absolute;
  left: var(--sp-3); right: var(--sp-3);
  bottom: -12px;
  height: 2px;
  background: var(--accent);
}
.primary-nav__toggle svg { width: 12px; height: 12px; transition: transform var(--dur) var(--ease); }
.primary-nav__toggle[aria-expanded="true"] svg { transform: rotate(180deg); }

.nav-item { position: relative; }
.submenu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 230px;
  padding: var(--sp-2);
  background: var(--bg-elev);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.submenu a {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-2) var(--sp-3);
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 550;
}
.submenu a:hover { background: var(--surface-2); }
.submenu small { display: block; font-weight: 400; color: var(--text-muted); font-size: var(--fs-xs); }

@media (min-width: 64em) {
  .primary-nav { display: block; }
}

/* Header actions */
.header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: var(--sp-1);
}
.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: none;
  color: var(--text);
}
.icon-btn:hover { background: var(--surface-2); }
.icon-btn svg { width: 20px; height: 20px; }
.icon-btn[aria-expanded="true"] { background: var(--surface-2); border-color: var(--border-strong); }

.theme-toggle span { display: contents; }
.theme-toggle .icon-sun { display: none; }
:root[data-theme="light"] .theme-toggle .icon-sun { display: block; }
:root[data-theme="light"] .theme-toggle .icon-moon { display: none; }

.header-actions .header-cta { display: none; }
@media (min-width: 80em) { .header-actions .header-cta { display: inline-flex; margin-left: var(--sp-2); } }

.menu-toggle { display: inline-grid; }
@media (min-width: 64em) { .menu-toggle { display: none; } }

/* Search panel (disclosure under header) */
.search-panel {
  border-top: 1px solid var(--border);
  background: var(--bg-elev);
  padding-block: var(--sp-4);
}
.search-panel form { display: flex; gap: var(--sp-2); max-width: 46rem; }
.search-panel .hint { margin-top: var(--sp-2); font-size: var(--fs-xs); color: var(--text-faint); }
.search-panel kbd {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  padding: 1px 5px;
  border: 1px solid var(--border-strong);
  border-radius: 4px;
}

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  z-index: 49;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding-block: var(--sp-4) var(--sp-12);
}
.mobile-menu__list > li { border-bottom: 1px solid var(--border); }
.mobile-menu__list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 56px;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--text-strong);
}
.mobile-menu__list a[aria-current="page"] { color: var(--accent-text); }
.mobile-menu__platforms {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-2);
  padding-bottom: var(--sp-4);
}
.mobile-menu__platforms a {
  min-height: 48px;
  font-family: var(--font-ui);
  font-size: var(--fs-base);
  font-weight: 600;
  padding: 0 var(--sp-4);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}
.mobile-menu__label {
  display: block;
  padding-top: var(--sp-4);
  padding-bottom: var(--sp-2);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.mobile-menu__search { margin-block: var(--sp-6); display: flex; gap: var(--sp-2); }
.mobile-menu__secondary {
  display: flex; flex-wrap: wrap; gap: var(--sp-2) var(--sp-5);
  margin-top: var(--sp-6);
  font-size: var(--fs-sm);
  color: var(--text-muted);
}
.mobile-menu__secondary a { color: inherit; }
@media (min-width: 64em) { .mobile-menu { display: none !important; } }

/* ---------- Trending strip ---------- */
.trending-strip { border-bottom: 1px solid var(--border); background: var(--bg); }
.trending-strip__inner {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  min-height: 44px;
  overflow-x: auto;
  scrollbar-width: none;
}
.trending-strip__inner::-webkit-scrollbar { display: none; }
.trending-strip__label {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-text);
}
.trending-strip__label svg { width: 14px; height: 14px; }
.trending-strip ul { display: flex; gap: var(--sp-2); }
.trending-strip li { flex-shrink: 0; }
.trending-strip a {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 var(--sp-3);
  border-radius: 999px;
  border: 1px solid var(--border);
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  white-space: nowrap;
}
.trending-strip a:hover { color: var(--text); border-color: var(--border-strong); }

/* ---------- Page structure ---------- */
.site-main { display: block; min-height: 50vh; }
.section { margin-top: var(--section-gap); }
.section--band {
  padding-block: var(--section-gap);
  background: var(--bg-elev);
  border-block: 1px solid var(--border);
}
.section--band + .section { margin-top: var(--section-gap); }

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--sp-4);
  margin-bottom: var(--sp-5);
  padding-top: var(--sp-3);
  border-top: 2px solid var(--text-strong);
}
.section-head__title {
  font-size: var(--fs-2xl);
  text-transform: uppercase;
  letter-spacing: 0.01em;
}
.section-head__title a { text-decoration: none; }
.section-head__title a:hover { color: var(--accent-text); }
.section-head__more {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
}
.section-head__more:hover { color: var(--accent-text); }
.section-head__more svg { width: 14px; height: 14px; }
.section-head--small .section-head__title { font-size: var(--fs-xl); }

/* Two-column content + sidebar */
.with-sidebar {
  display: grid;
  grid-template-columns: minmax(0, 1fr); /* never let long content widen the page on phones */
  gap: var(--sp-12) var(--sp-10);
}
@media (min-width: 64em) {
  .with-sidebar { grid-template-columns: minmax(0, 1fr) 300px; }
}
@media (min-width: 80em) {
  .with-sidebar { grid-template-columns: minmax(0, 1fr) 320px; column-gap: var(--sp-12); }
}
.sidebar { display: grid; gap: var(--sp-10); align-content: start; }
.sidebar__sticky { position: sticky; top: calc(var(--header-h) + var(--sp-6)); display: grid; gap: var(--sp-8); }
@media (max-width: 63.99em) { .sidebar .ad-slot--sidebar { display: none; } }

/* Page header (archives, static pages) */
.page-header { padding-block: var(--sp-8) var(--sp-6); }
.page-header__title { font-size: var(--fs-4xl); line-height: var(--lh-tight); text-transform: uppercase; }
.page-header__lede { margin-top: var(--sp-3); max-width: 60ch; font-size: var(--fs-lg); color: var(--text-muted); }

/* ---------- Footer ---------- */
.site-footer {
  margin-top: var(--section-gap);
  background: var(--bg-elev);
  border-top: 1px solid var(--border);
  font-size: var(--fs-sm);
}
.site-footer__top {
  display: grid;
  gap: var(--sp-10);
  padding-block: var(--sp-12);
}
@media (min-width: 48em) {
  .site-footer__top { grid-template-columns: 1.4fr repeat(3, 1fr); }
}
.site-footer__about p { margin-top: var(--sp-4); max-width: 38ch; color: var(--text-muted); }
.site-footer h2 {
  font-family: var(--font-ui);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: var(--sp-3);
}
.site-footer ul { display: grid; gap: var(--sp-1); }
.site-footer li a, .footer-linkbtn {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  color: var(--text);
  text-decoration: none;
  background: none; border: 0; padding: 0; font-size: inherit;
}
.site-footer li a:hover, .footer-linkbtn:hover { color: var(--accent-text); text-decoration: underline; }
.site-footer__social { display: flex; gap: var(--sp-2); margin-top: var(--sp-5); }
.site-footer__social a {
  display: inline-grid; place-items: center;
  width: 40px; height: 40px;
  border: 1px solid var(--border); border-radius: var(--radius);
  color: var(--text-muted);
}
.site-footer__social a:hover { color: var(--text); border-color: var(--border-strong); }
.site-footer__social svg { width: 18px; height: 18px; }
.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--sp-4);
  padding-block: var(--sp-6);
  border-top: 1px solid var(--border);
  color: var(--text-faint);
}
.site-footer__bottom p { max-width: 70ch; }
.proto-controls { display: flex; flex-wrap: wrap; gap: var(--sp-2) var(--sp-4); align-items: center; }

/* ---- 04-components.css ---- */
/* ==========================================================================
   04 — Components
   Each block maps to a reusable template part (see docs/wordpress.md).
   ========================================================================== */

/* ---------- Buttons & form controls ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  min-height: 44px;
  padding: 0 var(--sp-5);
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: var(--fs-base);
  font-weight: 650;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.btn svg { width: 16px; height: 16px; }
.btn--primary { background: var(--accent); color: var(--on-accent); }
.btn--primary:hover { background: var(--accent-hover); }
.btn--secondary { background: var(--surface-2); border-color: var(--border-strong); color: var(--text); }
.btn--secondary:hover { background: var(--surface-3); }
.btn--ghost { background: none; border-color: var(--border-strong); color: var(--text); }
.btn--ghost:hover { background: var(--surface-2); }
.btn--sm { min-height: 36px; padding: 0 var(--sp-3); font-size: var(--fs-sm); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; }

.field { display: grid; gap: var(--sp-2); }
.field label, .label {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--text);
}
.field .hint { font-size: var(--fs-xs); color: var(--text-muted); }
.input, .select, .textarea {
  width: 100%;
  min-height: 44px;
  padding: 0 var(--sp-4);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  font-size: var(--fs-md);
}
.textarea { padding-block: var(--sp-3); min-height: 140px; resize: vertical; line-height: var(--lh-ui); }
.select {
  appearance: none;
  padding-right: 2.5rem;
  font-size: var(--fs-base);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%23999' stroke-width='1.6'%3E%3Cpath d='M2.5 4.5 6 8l3.5-3.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  background-size: 12px;
}
.input::placeholder, .textarea::placeholder { color: var(--text-faint); }
.input:focus-visible, .select:focus-visible, .textarea:focus-visible { outline-offset: 0; border-color: var(--focus); }
.checkbox { display: flex; gap: var(--sp-3); align-items: flex-start; font-size: var(--fs-sm); color: var(--text-muted); }
.checkbox input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--accent); flex-shrink: 0; }

/* Status message after demo form submit */
.form-status { font-size: var(--fs-sm); color: var(--text-muted); min-height: 1.4em; }
.form-status.is-success { color: var(--text); }
.form-status.is-success::before { content: "✓ "; color: var(--accent-text); font-weight: 700; }
.form-status.is-error { color: var(--accent-text); }

/* "Requires backend" notice */
.backend-note {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--fs-xs);
  color: var(--text-faint);
}
.backend-note::before {
  content: "Demo";
  padding: 1px 6px;
  border: 1px solid var(--border-strong);
  border-radius: 4px;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ---------- Media + placeholder fallback ---------- */
.media {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background:
    radial-gradient(120% 90% at 85% 10%, color-mix(in srgb, var(--accent) 12%, transparent), transparent 60%),
    var(--media-bg);
  aspect-ratio: var(--ratio, 16 / 9);
}
.media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Fallback treatment when an image is missing or fails: brand mark on tinted tile */
.media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -0;
  background: url("../img/fallback-mark.svg") center / 56px no-repeat;
  opacity: 0;
}
.media.is-broken img { visibility: hidden; }
.media.is-broken::after, .media--empty::after { opacity: 0.5; }
.media--portrait { --ratio: 3 / 4; }
.media--square { --ratio: 1 / 1; }
.media--wide { --ratio: 21 / 9; }
.media--4x3 { --ratio: 4 / 3; }

/* ---------- Tags / platform chips ---------- */
.tags { display: flex; flex-wrap: wrap; gap: var(--sp-2); }
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 28px;
  padding: 0 var(--sp-3);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  white-space: nowrap;
}
a.tag:hover { color: var(--text); border-color: var(--text-muted); }
.tag--platform::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 1px;
  background: var(--accent);
  transform: rotate(45deg);
}
.platforms-inline { font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.02em; color: var(--text-muted); }

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 7px;
  border-radius: 4px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--surface-3);
  color: var(--text);
}
.badge--accent { background: var(--accent); color: var(--on-accent); }
.badge--outline { background: none; border: 1px solid var(--border-strong); color: var(--text-muted); }
.badge--live::before {
  content: "";
  width: 6px; height: 6px;
  margin-right: 6px;
  border-radius: 50%;
  background: currentColor;
}

/* ---------- Story cards ---------- */
.card {
  position: relative;
  display: grid;
  gap: var(--sp-3);
  align-content: start;
}
.card__media { order: -1; }
.card__body { display: grid; gap: var(--sp-2); align-content: start; }
.card__title {
  font-size: var(--fs-lg);
  line-height: var(--lh-snug);
  font-weight: 700;
}
.card__title a { text-decoration: none; }
.card__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card:hover .card__title a { text-decoration: underline; text-decoration-thickness: 2px; text-decoration-color: var(--accent); }
.card:hover .media img { filter: brightness(1.06); }
.card__dek { color: var(--text-muted); font-size: var(--fs-base); line-height: 1.5; }
.card .kicker, .card .meta a, .card .tag { position: relative; z-index: 2; }
.card__top { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-2) var(--sp-3); }
.card__score { position: absolute; z-index: 2; top: var(--sp-3); left: var(--sp-3); }

/* Lead story */
.card--lead .card__title { font-size: var(--fs-3xl); line-height: var(--lh-tight); letter-spacing: -0.01em; }
.card--lead .card__dek { font-size: var(--fs-lg); line-height: 1.5; max-width: 60ch; }
.card--lead { gap: var(--sp-4); }

/* Medium */
.card--md .card__title { font-size: var(--fs-xl); }

/* Horizontal row (feed) */
.card--row { grid-template-columns: minmax(0, 1fr) 112px; gap: var(--sp-4); align-items: start; }
.card--row .card__media { order: 2; }
.card--row .card__title { font-size: var(--fs-lg); }
@media (min-width: 40em) {
  .card--row { grid-template-columns: 240px minmax(0, 1fr); gap: var(--sp-5); }
  .card--row .card__media { order: -1; }
  .card--row .card__title { font-size: var(--fs-xl); }
}
@media (max-width: 39.99em) { .card--row .card__dek { display: none; } }

/* Compact (thumb + headline) */
.card--compact { grid-template-columns: 96px minmax(0, 1fr); gap: var(--sp-3); align-items: start; }
.card--compact .card__title { font-size: var(--fs-md); line-height: 1.25; }
.card--compact .media { --ratio: 4 / 3; border-radius: var(--radius-sm); }

/* Text-only */
.card--text .card__title { font-size: var(--fs-md); line-height: 1.3; }

/* Review card */
.card--review .card__title { font-size: var(--fs-lg); }
.card--review .card__verdict-label { font-size: var(--fs-sm); font-weight: 700; color: var(--text); }

/* Feed list with dividers */
.feed { display: grid; }
.feed > * { padding-block: var(--sp-5); border-bottom: 1px solid var(--border); }
.feed > *:first-child { padding-top: 0; }

/* Card grid */
.card-grid {
  display: grid;
  gap: var(--sp-10) var(--sp-6);
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
}
.card-grid--4 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); }
/* Archive grid: fixed 1/2/3 columns so the in-feed ad after card 6 always closes a full row */
.card-grid--archive { grid-template-columns: 1fr; }
@media (min-width: 40em) { .card-grid--archive { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 64em) { .card-grid--archive { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.card-grid > .ad-slot, .card-grid > .card--sponsored-wide { grid-column: 1 / -1; }

/* ---------- Sponsored content ---------- */
.card--sponsored {
  padding: var(--sp-4);
  background: var(--sponsored-bg);
  border: 1px solid var(--sponsored-border);
  border-radius: var(--radius-lg);
}
.sponsored-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--sponsored-text);
}
.sponsored-label::before {
  content: "";
  width: 14px; height: 14px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 1a7 7 0 1 0 0 14A7 7 0 0 0 8 1Zm.8 10.5H7.2V7h1.6v4.5ZM8 5.8a1 1 0 1 1 0-2 1 1 0 0 1 0 2Z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 1a7 7 0 1 0 0 14A7 7 0 0 0 8 1Zm.8 10.5H7.2V7h1.6v4.5ZM8 5.8a1 1 0 1 1 0-2 1 1 0 0 1 0 2Z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.sponsored-by { font-size: var(--fs-xs); color: var(--sponsored-text); }
.sponsored-banner {
  display: flex; flex-wrap: wrap; gap: var(--sp-2) var(--sp-4); align-items: center;
  padding: var(--sp-3) var(--sp-4);
  background: var(--sponsored-bg);
  border: 1px solid var(--sponsored-border);
  border-radius: var(--radius);
  font-size: var(--fs-sm);
  color: var(--sponsored-text);
}

/* ---------- Affiliate disclosure ---------- */
.affiliate-disclosure {
  display: flex;
  gap: var(--sp-3);
  padding: var(--sp-3) var(--sp-4);
  border-left: 3px solid var(--sponsored-border);
  background: var(--surface);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-family: var(--font-ui);
  font-size: var(--fs-sm);
  line-height: 1.5;
  color: var(--text-muted);
}
.affiliate-disclosure strong { color: var(--text); }
.affiliate-disclosure a { color: var(--text); }

/* ---------- Review score ---------- */
.score {
  --size: 52px;
  --pct: 0;
  position: relative;
  display: inline-grid;
  place-items: center;
  width: var(--size);
  height: var(--size);
  border-radius: 50%;
  background:
    radial-gradient(closest-side, var(--bg-elev) 79%, transparent 80% 100%),
    conic-gradient(var(--accent) calc(var(--pct) * 1%), var(--score-track) 0);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: calc(var(--size) * 0.4);
  line-height: 1;
  color: var(--text-strong);
  font-variant-numeric: tabular-nums;
  box-shadow: 0 0 0 3px var(--bg-elev);
}
.score--sm { --size: 40px; }
.score--lg { --size: 112px; }
.score--lg .score__max { font-size: 0.32em; color: var(--text-muted); font-weight: 600; display: block; text-align: center; margin-top: 2px; }
.score__inner { display: grid; justify-items: center; }

.score-scale { display: grid; gap: var(--sp-2); }
.score-scale__track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 3px;
}
.score-scale__track span { height: 8px; background: var(--score-track); border-radius: 2px; }
.score-scale__track span.is-on { background: var(--accent); }
.score-scale__track span.is-half { background: linear-gradient(90deg, var(--accent) 50%, var(--score-track) 50%); }
.score-scale__labels { display: flex; justify-content: space-between; font-size: var(--fs-xs); color: var(--text-faint); }

/* ---------- Ad slots ----------
   Reserved height prevents CLS. Slots render a neutral placeholder in the
   prototype; real creatives load only after consent (see consent.js).
   html[data-ads="off"] removes slots completely (layout must still look complete). */
.ad-slot {
  display: grid;
  justify-items: center;
  gap: 6px;
  margin-inline: auto;
  width: 100%;
}
.ad-slot__label {
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.ad-slot__box {
  display: grid;
  place-items: center;
  width: 100%;
  max-width: var(--ad-w, 100%);
  height: var(--ad-h);
  background: var(--ad-bg);
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-sm);
  color: var(--text-faint);
  font-size: var(--fs-xs);
  text-align: center;
  line-height: 1.4;
  contain: strict;
}
.ad-slot--leaderboard { --ad-h: var(--ad-leaderboard-h); --ad-w: 320px; padding-block: var(--sp-6); }
@media (min-width: 48em) { .ad-slot--leaderboard { --ad-w: 728px; } }
@media (min-width: 64em) { .ad-slot--leaderboard { --ad-w: 970px; } }
.ad-slot--inline { --ad-h: var(--ad-inline-h); --ad-w: 300px; margin-block: var(--sp-8); }
.ad-slot--sidebar { --ad-h: var(--ad-sidebar-h); --ad-w: 300px; }
.ad-slot--footer { --ad-h: var(--ad-footer-h); --ad-w: 320px; padding-block: var(--sp-8) 0; }
@media (min-width: 64em) { .ad-slot--footer { --ad-w: 970px; } }
.ad-slot--infeed { --ad-h: 250px; --ad-w: 970px; padding-block: var(--sp-2); }
@media (max-width: 47.99em) { .ad-slot--infeed { --ad-w: 300px; } }

html[data-ads="off"] .ad-slot { display: none !important; }

/* ---------- Newsletter ---------- */
.newsletter {
  position: relative;
  display: grid;
  gap: var(--sp-5);
  padding: var(--sp-6);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.newsletter::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--accent);
}
.newsletter__title { font-size: var(--fs-xl); }
.newsletter__text { color: var(--text-muted); max-width: 52ch; }
.newsletter__form { display: grid; gap: var(--sp-3); }
.newsletter__row { display: flex; flex-wrap: wrap; gap: var(--sp-2); }
.newsletter__row .input { flex: 1 1 200px; }
.newsletter--band { padding: clamp(1.5rem, 1rem + 3vw, 3.5rem); }
@media (min-width: 64em) {
  .newsletter--band { grid-template-columns: 1fr 1fr; align-items: center; column-gap: var(--sp-12); }
  .newsletter--band .newsletter__title { font-size: var(--fs-3xl); line-height: var(--lh-tight); }
}

/* ---------- Breadcrumbs ---------- */
.breadcrumbs { padding-top: var(--sp-6); font-size: var(--fs-sm); color: var(--text-muted); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: var(--sp-1) var(--sp-2); list-style: none; padding: 0; }
.breadcrumbs li { display: inline-flex; align-items: center; gap: var(--sp-2); }
.breadcrumbs li + li::before { content: "/"; color: var(--text-faint); }
.breadcrumbs a { color: var(--text-muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--text); text-decoration: underline; }
.breadcrumbs [aria-current] { color: var(--text); max-width: 40ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- Pagination ---------- */
.pagination { margin-top: var(--sp-12); }
.pagination ul { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--sp-1); list-style: none; padding: 0; }
.pagination a, .pagination span {
  display: inline-grid;
  place-items: center;
  min-width: 44px;
  height: 44px;
  padding: 0 var(--sp-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-weight: 600;
  text-decoration: none;
  color: var(--text);
}
.pagination a:hover { background: var(--surface-2); }
.pagination [aria-current="page"] { background: var(--text-strong); color: var(--bg); border-color: var(--text-strong); }
.pagination .is-disabled { color: var(--text-faint); border-color: transparent; }
.pagination .gap { border: 0; min-width: 24px; color: var(--text-faint); }

/* ---------- Filters ---------- */
.filters {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--sp-4);
  padding-block: var(--sp-4);
  border-block: 1px solid var(--border);
}
.filters__row { display: flex; flex-wrap: wrap; gap: var(--sp-3) var(--sp-4); align-items: end; }
.filters__group { display: grid; gap: 6px; min-width: 0; }
.filters__group .select { min-width: 170px; }
.filters__summary { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--sp-3); align-items: center; font-size: var(--fs-sm); color: var(--text-muted); }

.chip-group { display: flex; flex-wrap: wrap; gap: var(--sp-2); border: 0; padding: 0; margin: 0; min-width: 0; }
.chip-group legend { margin-bottom: 6px; padding: 0; }
.chip {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 var(--sp-4);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: none;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
}
.chip:hover { color: var(--text); background: var(--surface-2); }
.chip[aria-pressed="true"], .chip[aria-current="true"], .chip.is-active {
  background: var(--text-strong);
  border-color: var(--text-strong);
  color: var(--bg);
}
.chip-scroller { display: flex; gap: var(--sp-2); overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.chip-scroller::-webkit-scrollbar { display: none; }
.chip-scroller .chip { flex-shrink: 0; }

.segmented {
  display: inline-flex;
  padding: 3px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  background: var(--surface);
}
.segmented button {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 36px;
  padding: 0 var(--sp-3);
  border: 0;
  border-radius: 5px;
  background: none;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--text-muted);
}
.segmented button svg { width: 16px; height: 16px; }
.segmented button[aria-pressed="true"] { background: var(--surface-3); color: var(--text-strong); }

/* ---------- Share ---------- */
.share { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-2); }
.share__label { font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-faint); margin-right: var(--sp-1); }
.share a, .share button {
  display: inline-grid;
  place-items: center;
  width: 40px; height: 40px;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  background: none;
  color: var(--text-muted);
}
.share a:hover, .share button:hover { color: var(--text); background: var(--surface-2); }
.share svg { width: 17px; height: 17px; }
.share__status { font-size: var(--fs-xs); color: var(--text-muted); min-width: 6em; }

/* ---------- Author ---------- */
.avatar {
  display: inline-grid;
  place-items: center;
  width: var(--av, 40px);
  height: var(--av, 40px);
  flex-shrink: 0;
  border-radius: 50%;
  background: hsl(var(--hue, 15) 30% 32%);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: calc(var(--av, 40px) * 0.4);
  letter-spacing: 0.02em;
}
.byline { display: flex; align-items: center; gap: var(--sp-3); }
.byline__text { display: grid; gap: 2px; font-size: var(--fs-sm); }
.byline__name { font-weight: 650; color: var(--text); text-decoration: none; }
.byline__name:hover { text-decoration: underline; }
.byline__dates { color: var(--text-muted); }

.author-box {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--sp-4);
  padding: var(--sp-6);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
}
.author-box { --av: 64px; }
.author-box__name { font-size: var(--fs-xl); }
.author-box__role { font-size: var(--fs-sm); color: var(--accent-text); font-weight: 600; margin-top: 2px; }
.author-box__bio { margin-top: var(--sp-3); color: var(--text-muted); font-size: var(--fs-base); line-height: 1.6; }
.author-box__beats { margin-top: var(--sp-3); }

/* ---------- Ranked list (trending) ---------- */
.ranked { counter-reset: rank; display: grid; }
.ranked > li {
  counter-increment: rank;
  position: relative;
  display: grid;
  grid-template-columns: 2.25rem 1fr;
  gap: var(--sp-2);
  padding-block: var(--sp-4);
  border-bottom: 1px solid var(--border);
}
.ranked > li:first-child { padding-top: 0; }
.ranked > li::before {
  content: counter(rank, decimal-leading-zero);
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
  color: var(--accent-text);
}
.ranked .card__title { font-size: var(--fs-md); line-height: 1.3; }

/* ---------- Table of contents ---------- */
.toc {
  font-size: var(--fs-sm);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
}
.toc summary {
  display: flex; justify-content: space-between; align-items: center;
  padding: var(--sp-4);
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
.toc summary::-webkit-details-marker { display: none; }
.toc summary::after { content: "+"; font-size: 1.25rem; line-height: 1; color: var(--text-muted); }
.toc[open] summary::after { content: "−"; }
.toc ol { list-style: none; padding: 0 var(--sp-4) var(--sp-4); margin: 0; display: grid; gap: 2px; counter-reset: toc; }
.toc li { counter-increment: toc; }
.toc a {
  display: grid;
  grid-template-columns: 1.75rem 1fr;
  padding: 6px var(--sp-2);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  text-decoration: none;
  line-height: 1.35;
}
.toc a::before { content: counter(toc, decimal-leading-zero); font-variant-numeric: tabular-nums; color: var(--text-faint); font-weight: 600; }
.toc a:hover { color: var(--text); background: var(--surface-2); }
.toc a[aria-current="true"] { color: var(--text-strong); background: var(--accent-soft); }
.toc a[aria-current="true"]::before { color: var(--accent-text); }
.toc li.toc__sub a { padding-left: calc(var(--sp-2) + 1.75rem); grid-template-columns: 1fr; font-size: var(--fs-xs); }
.toc li.toc__sub a::before { content: none; }

/* ---------- Comments ---------- */
.comments__list { display: grid; gap: var(--sp-6); margin-top: var(--sp-6); }
.comment { display: grid; grid-template-columns: auto 1fr; gap: var(--sp-3); --av: 36px; }
.comment__head { display: flex; flex-wrap: wrap; gap: var(--sp-2); align-items: baseline; font-size: var(--fs-sm); }
.comment__name { font-weight: 650; }
.comment__time { color: var(--text-faint); font-size: var(--fs-xs); }
.comment__body { margin-top: 4px; font-size: var(--fs-base); line-height: 1.6; color: var(--text); }
.comment__actions { margin-top: 6px; display: flex; gap: var(--sp-4); font-size: var(--fs-xs); }
.comment__actions button { background: none; border: 0; padding: 4px 0; color: var(--text-muted); font-weight: 600; }
.comment__actions button:hover { color: var(--text); }
.comment--reply { margin-left: calc(36px + var(--sp-3)); }
.comment-form { display: grid; gap: var(--sp-4); margin-top: var(--sp-8); padding: var(--sp-6); border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); }

/* ---------- Notices ---------- */
.notice {
  display: flex;
  gap: var(--sp-3);
  padding: var(--sp-4);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  background: var(--surface);
  font-size: var(--fs-sm);
  line-height: 1.55;
  color: var(--text-muted);
}
.notice strong { color: var(--text); }
.notice svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 1px; color: var(--accent-text); }

.empty-state {
  display: grid;
  justify-items: center;
  gap: var(--sp-3);
  padding: var(--sp-16) var(--sp-4);
  text-align: center;
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-lg);
  color: var(--text-muted);
}
.empty-state h2, .empty-state h3 { font-size: var(--fs-xl); }

/* ---------- Release rows (upcoming) ---------- */
.release-date {
  display: grid;
  place-items: center;
  align-content: center;
  width: 64px;
  min-height: 64px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  background: var(--surface);
  text-align: center;
  line-height: 1;
}
.release-date__day { font-family: var(--font-display); font-size: 1.75rem; font-weight: 700; color: var(--text-strong); }
.release-date__mon { font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-text); margin-top: 3px; }
.release-date--window .release-date__day { font-size: 1.25rem; }
.release-date--tba { border-style: dashed; }
.release-date--tba .release-date__day { font-size: 1.125rem; color: var(--text-muted); }

.release-row {
  position: relative;
  display: grid;
  grid-template-columns: 64px 56px minmax(0, 1fr);
  gap: var(--sp-4);
  align-items: center;
  padding-block: var(--sp-4);
  border-bottom: 1px solid var(--border);
}
.release-row .media { --ratio: 3 / 4; border-radius: var(--radius-sm); }
.release-row__title { font-size: var(--fs-lg); line-height: 1.2; }
.release-row__title a { text-decoration: none; }
.release-row__title a::after { content: ""; position: absolute; inset: 0; }
.release-row:hover .release-row__title a { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; }
.release-row__meta { margin-top: 4px; font-size: var(--fs-sm); color: var(--text-muted); }
.release-row__side { display: none; }
@media (min-width: 48em) {
  .release-row { grid-template-columns: 72px 64px minmax(0, 1fr) auto; gap: var(--sp-5); }
  .release-row__side { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
  .release-date { width: 72px; min-height: 72px; }
}

.precision { font-size: var(--fs-xs); font-weight: 600; color: var(--text-muted); display: inline-flex; align-items: center; gap: 6px; }
.precision::before { content: ""; width: 8px; height: 8px; border-radius: 50%; border: 2px solid currentColor; }
.precision--day { color: var(--text); }
.precision--day::before { background: var(--accent); border-color: var(--accent); }
.precision--tba::before { border-style: dotted; }

/* Game tile (cover) */
.game-tile { position: relative; display: grid; gap: var(--sp-3); align-content: start; }
.game-tile__title { font-size: var(--fs-lg); line-height: 1.2; }
.game-tile__title a { text-decoration: none; }
.game-tile__title a::after { content: ""; position: absolute; inset: 0; }
.game-tile:hover .game-tile__title a { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; }
.game-tile__when { display: flex; justify-content: space-between; gap: var(--sp-2); align-items: center; font-size: var(--fs-sm); font-weight: 600; }

/* ---------- Prose (article body) ---------- */
.prose {
  font-family: var(--font-serif);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--text);
  max-width: var(--measure);
}
.prose > * + * { margin-top: 1.15em; }
.prose h2 {
  margin-top: 2em;
  font-size: var(--fs-2xl);
  line-height: 1.15;
}
.prose h3 { margin-top: 1.6em; font-size: var(--fs-xl); }
.prose h2 + *, .prose h3 + * { margin-top: 0.6em; }
.prose a { color: var(--text-strong); text-decoration-color: var(--accent); text-decoration-thickness: 2px; }
.prose a:hover { color: var(--accent-text); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: 0.4em; }
.prose li::marker { color: var(--accent-text); font-weight: 600; }
.prose blockquote {
  padding-left: var(--sp-6);
  border-left: 3px solid var(--accent);
  font-size: 1.2em;
  line-height: 1.5;
  font-style: italic;
  color: var(--text-strong);
}
.prose blockquote footer { margin-top: var(--sp-3); font-family: var(--font-ui); font-size: var(--fs-sm); font-style: normal; color: var(--text-muted); }
.prose blockquote footer::before { content: "— "; }
.prose figure { margin-block: 2em; }
.prose > p:first-of-type::first-letter {
  float: left;
  margin: 0.08em 0.1em 0 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 3.5em;
  line-height: 0.8;
  color: var(--accent-text);
}
.prose .ad-slot, .prose .affiliate-disclosure, .prose .callout, .prose .product { font-family: var(--font-ui); }

figcaption, .caption {
  margin-top: var(--sp-3);
  font-family: var(--font-ui);
  font-size: var(--fs-sm);
  line-height: 1.5;
  color: var(--text-muted);
}
.credit { color: var(--text-faint); font-size: var(--fs-xs); letter-spacing: 0.01em; }
.credit::before { content: " "; }

.callout {
  padding: var(--sp-5);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  background: var(--surface);
  font-size: var(--fs-base);
  line-height: 1.6;
}
.callout__title { display: flex; gap: var(--sp-2); align-items: center; font-family: var(--font-ui); font-size: var(--fs-sm); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent-text); margin-bottom: var(--sp-2); }
.callout__title svg { width: 16px; height: 16px; }

.product {
  display: grid;
  gap: var(--sp-4);
  padding: var(--sp-5);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  background: var(--surface);
  font-size: var(--fs-base);
  line-height: 1.55;
}
.product__head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--sp-3); align-items: baseline; }
.product__name { font-family: var(--font-display); font-size: var(--fs-xl); font-weight: 700; color: var(--text-strong); }
.product__price { font-size: var(--fs-sm); color: var(--text-muted); font-weight: 600; }
.product .proscons { gap: var(--sp-4); }
.product__foot { display: flex; flex-wrap: wrap; gap: var(--sp-3); align-items: center; font-size: var(--fs-xs); color: var(--text-faint); }

/* Pros / cons */
.proscons { display: grid; gap: var(--sp-6); }
@media (min-width: 40em) { .proscons { grid-template-columns: 1fr 1fr; } }
.proscons h3, .proscons h4 { font-family: var(--font-ui); font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); margin-bottom: var(--sp-3); }
.proscons ul { list-style: none; padding: 0; display: grid; gap: var(--sp-2); }
.proscons li { display: grid; grid-template-columns: 20px 1fr; gap: var(--sp-2); line-height: 1.45; }
.proscons li::before { font-weight: 800; font-size: 1.05em; line-height: 1.3; }
.proscons .pros li::before { content: "+"; color: var(--accent-text); }
.proscons .cons li::before { content: "−"; color: var(--text-faint); }

/* Definition list for game details */
.details { display: grid; gap: 0; font-size: var(--fs-sm); }
.details > div { display: grid; grid-template-columns: 7.5rem 1fr; gap: var(--sp-3); padding-block: var(--sp-3); border-bottom: 1px solid var(--border); }
.details > div:first-child { padding-top: 0; }
.details dt { color: var(--text-muted); }
.details dd { font-weight: 550; color: var(--text); }
.details a { color: var(--text); }

/* ---------- Consent banner ----------
   Non-blocking: sits at the bottom, never covers the reading column center,
   no scroll lock. Equal-weight Accept / Reject buttons. */
.consent {
  position: fixed;
  z-index: 60;
  left: var(--sp-3);
  right: var(--sp-3);
  bottom: var(--sp-3);
  max-width: 34rem;
  padding: var(--sp-5);
  background: var(--bg-elev);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  font-size: var(--fs-sm);
  line-height: 1.55;
}
@media (min-width: 48em) { .consent { left: var(--sp-6); bottom: var(--sp-6); right: auto; } }
.consent h2 { font-size: var(--fs-lg); margin-bottom: var(--sp-2); }
.consent p { color: var(--text-muted); }
.consent__actions { display: flex; flex-wrap: wrap; gap: var(--sp-2); margin-top: var(--sp-4); }
.consent__actions .btn { flex: 1 1 auto; }
.consent__prefs { display: grid; gap: var(--sp-3); margin-top: var(--sp-4); padding-top: var(--sp-4); border-top: 1px solid var(--border); }
.consent__prefs .checkbox { color: var(--text); }
.consent__prefs .checkbox span small { display: block; color: var(--text-muted); }

/* Toast (copy link etc.) */
.toast {
  position: fixed;
  z-index: 70;
  left: 50%;
  bottom: var(--sp-6);
  transform: translateX(-50%);
  padding: var(--sp-3) var(--sp-5);
  border-radius: 999px;
  background: var(--text-strong);
  color: var(--bg);
  font-size: var(--fs-sm);
  font-weight: 600;
}

/* ---- 05-pages.css ---- */
/* ==========================================================================
   05 — Page layouts
   ========================================================================== */

/* ---------- Homepage: featured grid ---------- */
.featured {
  display: grid;
  gap: var(--sp-8);
  padding-top: var(--sp-6);
}
.featured__side { display: grid; gap: var(--sp-5); align-content: start; }
.featured__side > * + * { padding-top: var(--sp-5); border-top: 1px solid var(--border); }
@media (min-width: 48em) and (max-width: 63.99em) {
  .featured__side { grid-template-columns: 1fr 1fr; gap: var(--sp-6); }
  .featured__side > * + * { padding-top: 0; border-top: 0; }
  .featured__side .card--compact { grid-template-columns: 1fr; }
  .featured__side .card--compact .media { --ratio: 16 / 9; }
}
@media (min-width: 64em) {
  .featured { grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); gap: var(--sp-10); }
  .featured__side .card--compact { grid-template-columns: 132px minmax(0, 1fr); }
  .featured__side .card--compact .card__title { font-size: var(--fs-lg); }
}
.featured__side-head {
  font-family: var(--font-ui);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
}

/* Homepage: reviews row */
.reviews-row { display: grid; gap: var(--sp-8) var(--sp-6); grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
@media (max-width: 39.99em) {
  .reviews-row { grid-auto-flow: column; grid-auto-columns: 78%; grid-template-columns: none; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: var(--sp-3); }
  .reviews-row > * { scroll-snap-align: start; }
}

/* Homepage: upcoming */
.upcoming-home { display: grid; gap: var(--sp-8); }
@media (min-width: 64em) { .upcoming-home { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: var(--sp-10); } }
.upcoming-home .release-row:first-child { padding-top: 0; }

/* Homepage: platform hubs */
.platform-hubs { display: grid; gap: var(--sp-10) var(--sp-6); }
@media (min-width: 40em) { .platform-hubs { grid-template-columns: 1fr 1fr; } }
@media (min-width: 80em) { .platform-hubs { grid-template-columns: repeat(4, 1fr); } }
.platform-hub { display: grid; gap: var(--sp-4); align-content: start; }
.platform-hub__head {
  display: flex; justify-content: space-between; align-items: center;
  padding-bottom: var(--sp-3);
  border-bottom: 1px solid var(--border-strong);
}
.platform-hub__title { display: flex; gap: var(--sp-2); align-items: center; font-size: var(--fs-xl); text-transform: uppercase; }
.platform-hub__title a { text-decoration: none; }
.platform-hub__title a:hover { color: var(--accent-text); }
.platform-hub__title svg { width: 22px; height: 22px; color: var(--accent-text); }
.platform-hub ul { display: grid; gap: 0; }
.platform-hub li { padding-block: var(--sp-3); border-bottom: 1px solid var(--border); }
.platform-hub li:last-child { border-bottom: 0; }

/* ---------- Article ---------- */
.article-header { padding-block: var(--sp-6) var(--sp-8); }
.article-header__inner { max-width: 54rem; display: grid; gap: var(--sp-4); }
.article-title { font-size: var(--fs-4xl); line-height: var(--lh-tight); letter-spacing: -0.012em; }
.article-dek { font-family: var(--font-serif); font-size: var(--fs-xl); line-height: 1.45; color: var(--text-muted); max-width: 46ch; font-weight: 400; }
.article-meta-row {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center;
  gap: var(--sp-4);
  padding-top: var(--sp-5);
  margin-top: var(--sp-2);
  border-top: 1px solid var(--border);
}
.article-hero { margin-bottom: var(--sp-10); }
.article-hero .media { border-radius: var(--radius); }
@media (max-width: 47.99em) {
  .article-hero { margin-inline: calc(var(--gutter) * -1); }
  .article-hero .media { border-radius: 0; }
  .article-hero figcaption { padding-inline: var(--gutter); }
}

.article-layout { display: grid; gap: var(--sp-12) var(--sp-10); }
@media (min-width: 64em) {
  .article-layout { grid-template-columns: minmax(0, 1fr) 300px; }
}
@media (min-width: 80em) {
  .article-layout { grid-template-columns: minmax(0, 1fr) 320px; column-gap: var(--sp-16); }
  .article-layout--toc { grid-template-columns: 220px minmax(0, 1fr) 300px; column-gap: var(--sp-10); }
}
.article-main { min-width: 0; display: grid; gap: var(--sp-10); align-content: start; }
.article-main > .prose { margin-inline: 0; }

.toc-rail { display: none; }
.toc--inline { max-width: var(--measure); }
@media (min-width: 80em) {
  .toc-rail { display: block; }
  .toc-rail .toc { position: sticky; top: calc(var(--header-h) + var(--sp-6)); border: 0; background: none; }
  .toc-rail .toc summary { padding-inline: 0; pointer-events: none; }
  .toc-rail .toc summary::after { content: none; }
  .toc-rail .toc ol { padding-inline: 0; }
  .article-layout--toc .toc--inline { display: none; }
}

.article-footer { display: grid; gap: var(--sp-8); max-width: var(--measure); }
.article-footer__row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--sp-4); align-items: center; padding-block: var(--sp-5); border-block: 1px solid var(--border); }

.updated-note { font-size: var(--fs-sm); color: var(--text-muted); }

/* ---------- Review ---------- */
.verdict {
  display: grid;
  gap: var(--sp-6);
  padding: clamp(1.25rem, 1rem + 1.5vw, 2rem);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  background: var(--surface);
  max-width: none;
}
.verdict__top { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--sp-5); align-items: center; }
.verdict__label { font-family: var(--font-display); font-size: var(--fs-2xl); font-weight: 700; text-transform: uppercase; color: var(--text-strong); line-height: 1; }
.verdict__label-sub { margin-top: var(--sp-2); font-size: var(--fs-sm); color: var(--text-muted); }
.verdict__text { font-family: var(--font-serif); font-size: var(--fs-lg); line-height: 1.55; }
.verdict__foot { display: flex; flex-wrap: wrap; gap: var(--sp-2) var(--sp-5); font-size: var(--fs-sm); color: var(--text-muted); padding-top: var(--sp-4); border-top: 1px solid var(--border); }
.verdict__foot strong { color: var(--text); font-weight: 600; }

.score-explainer { display: grid; gap: var(--sp-4); padding: var(--sp-6); border: 1px solid var(--border); border-radius: var(--radius-lg); }
.score-explainer h2 { font-size: var(--fs-xl); }
.score-bands { display: grid; gap: 0; font-size: var(--fs-sm); }
.score-bands div { display: grid; grid-template-columns: 4.5rem 7rem 1fr; gap: var(--sp-3); padding-block: var(--sp-2); border-bottom: 1px solid var(--border); color: var(--text-muted); }
.score-bands div.is-current { color: var(--text); background: var(--accent-soft); margin-inline: calc(var(--sp-3) * -1); padding-inline: var(--sp-3); border-radius: var(--radius-sm); }
.score-bands b { color: var(--text); font-variant-numeric: tabular-nums; }
@media (max-width: 39.99em) { .score-bands div { grid-template-columns: 4rem 1fr; } .score-bands div span:last-child { grid-column: 2; } }

.side-card { padding: var(--sp-5); border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); }
.side-card__title { font-family: var(--font-ui); font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-faint); margin-bottom: var(--sp-4); }
.side-card--game { display: grid; grid-template-columns: 72px 1fr; gap: var(--sp-4); align-items: center; }

/* ---------- Game detail ---------- */
.game-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.game-hero__bg { position: absolute; inset: 0; z-index: -1; }
.game-hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.55; }
.game-hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, color-mix(in srgb, var(--bg) 35%, transparent), var(--bg) 92%); }
.game-hero__inner { display: grid; gap: var(--sp-6); padding-block: var(--sp-6) var(--sp-10); }
.game-hero__cover { width: 168px; box-shadow: var(--shadow); border-radius: var(--radius); }
.game-hero__title { font-size: var(--fs-4xl); line-height: var(--lh-tight); text-transform: uppercase; }
.game-hero__facts { display: flex; flex-wrap: wrap; gap: var(--sp-3) var(--sp-6); margin-top: var(--sp-4); font-size: var(--fs-sm); color: var(--text-muted); }
.game-hero__facts strong { display: block; color: var(--text); font-size: var(--fs-base); }
@media (min-width: 48em) {
  .game-hero__inner { grid-template-columns: 220px minmax(0, 1fr); align-items: end; padding-top: var(--sp-16); }
  .game-hero__cover { width: 220px; }
}
.game-desc { font-family: var(--font-serif); font-size: var(--fs-body); line-height: var(--lh-body); max-width: var(--measure); }
.game-desc > * + * { margin-top: 1em; }
.coverage-tabs { margin-bottom: var(--sp-6); }

/* ---------- Upcoming ---------- */
.calendar-toolbar {
  position: sticky;
  top: var(--header-h);
  z-index: 10;
  background: var(--bg);
  display: grid;
  gap: var(--sp-3);
  padding-block: var(--sp-4);
  border-bottom: 1px solid var(--border);
}
@media (min-width: 64em) {
  .calendar-toolbar { grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: var(--sp-6); }
}
.calendar-toolbar__month { display: flex; align-items: center; gap: var(--sp-2); }
.calendar-toolbar__month .select { min-width: 180px; }
.month-group { margin-top: var(--sp-10); }
.month-group__title {
  display: flex; justify-content: space-between; align-items: baseline;
  font-size: var(--fs-2xl);
  text-transform: uppercase;
  padding-bottom: var(--sp-3);
  border-bottom: 2px solid var(--text-strong);
}
.month-group__title small { font-family: var(--font-ui); font-size: var(--fs-sm); font-weight: 500; color: var(--text-muted); text-transform: none; }
.month-group__note { margin-top: var(--sp-3); font-size: var(--fs-sm); color: var(--text-muted); }
.month-group .card-grid { margin-top: var(--sp-6); grid-template-columns: repeat(auto-fill, minmax(min(100%, 170px), 1fr)); gap: var(--sp-8) var(--sp-5); }
@media (max-width: 29.99em) { .month-group .card-grid { grid-template-columns: 1fr 1fr; } }
.legend { display: flex; flex-wrap: wrap; gap: var(--sp-2) var(--sp-6); font-size: var(--fs-sm); }

/* ---------- Search ---------- */
.search-hero { padding-block: var(--sp-8) var(--sp-6); }
.search-hero form { display: flex; gap: var(--sp-2); max-width: 46rem; margin-top: var(--sp-4); }
.search-hero .input { font-size: var(--fs-lg); min-height: 52px; }
.search-hero .btn { min-height: 52px; }
.search-results { display: grid; }
.search-results > * { padding-block: var(--sp-5); border-bottom: 1px solid var(--border); }
mark { background: var(--accent-soft); color: inherit; padding: 0 2px; border-radius: 2px; box-shadow: inset 0 -2px 0 var(--accent); }

/* ---------- Static pages ---------- */
.static-layout { display: grid; gap: var(--sp-10); padding-bottom: var(--sp-8); }
@media (min-width: 64em) { .static-layout { grid-template-columns: 220px minmax(0, 1fr); column-gap: var(--sp-16); } }
.static-nav { font-size: var(--fs-sm); }
.static-nav ul { display: flex; flex-wrap: wrap; gap: var(--sp-2); }
@media (min-width: 64em) {
  .static-nav ul { position: sticky; top: calc(var(--header-h) + var(--sp-6)); display: grid; gap: 2px; }
  .static-nav a { display: block; padding: var(--sp-2) var(--sp-3); border-radius: var(--radius-sm); }
}
.static-nav a { color: var(--text-muted); text-decoration: none; }
.static-nav .chip { color: var(--text-muted); }
.static-nav a:hover, .static-nav a[aria-current="page"] { color: var(--text-strong); background: var(--surface-2); }
.static-nav a[aria-current="page"] { box-shadow: inset 2px 0 0 var(--accent); }

.team-grid { display: grid; gap: var(--sp-5); grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); font-family: var(--font-ui); }
.team-grid .author-box { padding: var(--sp-5); --av: 52px; }
.team-grid .author-box__name { font-size: var(--fs-lg); }

.contact-layout { display: grid; gap: var(--sp-10); }
@media (min-width: 64em) { .contact-layout { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); } }
.contact-form { display: grid; gap: var(--sp-5); }
.contact-form__row { display: grid; gap: var(--sp-5); }
@media (min-width: 40em) { .contact-form__row { grid-template-columns: 1fr 1fr; } }

.data-table { width: 100%; border-collapse: collapse; font-family: var(--font-ui); font-size: var(--fs-sm); }
.data-table th, .data-table td { text-align: left; padding: var(--sp-3); border-bottom: 1px solid var(--border); vertical-align: top; }
.data-table th { color: var(--text-muted); font-weight: 600; }
.table-wrap { overflow-x: auto; }

/* ---------- 404 ---------- */
.error-page { padding-block: var(--sp-20); display: grid; gap: var(--sp-5); justify-items: start; }
.error-page__code { font-family: var(--font-display); font-style: italic; font-weight: 800; font-size: clamp(5rem, 3rem + 10vw, 11rem); line-height: 0.85; color: var(--accent-text); }

/* ---------- Style guide ---------- */
.sg-section { margin-top: var(--sp-12); display: grid; gap: var(--sp-5); }
.sg-section > h2 { font-size: var(--fs-2xl); padding-top: var(--sp-3); border-top: 2px solid var(--text-strong); }
.swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: var(--sp-3); }
.swatch { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; font-size: var(--fs-xs); }
.swatch span { display: block; height: 56px; }
.swatch code { display: block; padding: var(--sp-2); color: var(--text-muted); }
.sg-row { display: flex; flex-wrap: wrap; gap: var(--sp-4); align-items: center; }
.sg-demo { padding: var(--sp-6); border: 1px dashed var(--border-strong); border-radius: var(--radius-lg); }
