/* ==========================================================================
   TwitchStorm — site styles
   Light "catalogue" look: warm paper, graphite ink, the mint bolt from the
   favicon as the single brand colour. Product shots have white backgrounds,
   so they sit on light "plates" in both themes.
   ========================================================================== */

/* ── Tokens ─────────────────────────────────────────────────────────────── */
:root {
  --paper: #f5f4f0;
  --surface: #ffffff;
  --surface-2: #eeede8;
  --ink: #121214;
  --ink-2: #4a4a4f;
  --muted: #76767c;
  --line: #e1dfd8;
  --line-strong: #cfccc3;

  --brand: #53ffb0;          /* favicon mint */
  --brand-ink: #0b2b1d;      /* text/icons on mint */
  --brand-deep: #00875a;     /* mint dark enough for text on paper */
  --brand-wash: #dcfbea;

  --plate: #f1f0ec;          /* behind product photos (white bg is multiplied away) */
  --plate-blend: multiply;

  --focus: #00875a;
  --shadow: 0 1px 2px rgb(18 18 20 / .05), 0 4px 16px rgb(18 18 20 / .06);
  --shadow-lift: 0 2px 4px rgb(18 18 20 / .06), 0 12px 32px rgb(18 18 20 / .10);

  --font: "Archivo", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: ui-monospace, "SFMono-Regular", "Cascadia Mono", "Consolas", monospace;

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #111113;
    --surface: #19191c;
    --surface-2: #202024;
    --ink: #f3f2ee;
    --ink-2: #c4c3be;
    --muted: #8d8c88;
    --line: #2a2a2f;
    --line-strong: #3a3a40;
    --brand-deep: #53ffb0;
    --brand-wash: #12301f;
    --plate: #e9e8e3;
    --focus: #53ffb0;
    --shadow: 0 1px 2px rgb(0 0 0 / .3);
    --shadow-lift: 0 4px 24px rgb(0 0 0 / .45);
    color-scheme: dark;
  }
}

/* ── Base ───────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
:where(ul[class], ol[class]) { list-style: none; padding: 0; }
abbr[title] { text-decoration: none; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--brand); color: var(--brand-ink); }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.skip-link {
  position: absolute; left: 12px; top: -48px; z-index: 100;
  background: var(--ink); color: var(--paper); padding: 8px 14px; border-radius: var(--r-sm);
}
.skip-link:focus { top: 12px; }
.icon { width: 1.1em; height: 1.1em; flex: none; }

/* Mono micro-label used for categories, stats and eyebrows */
.label, .eyebrow, .section-meta, .board-title {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ── Header ─────────────────────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: flex; align-items: center; gap: 28px;
  min-height: 64px;
}
.logo {
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none; font-weight: 800; font-size: 19px; letter-spacing: -.01em;
  font-stretch: 112%;
  flex: none;
}
.logo b { font-weight: 800; color: var(--brand-deep); }
.logo__mark { width: 30px; height: 30px; }
.main-nav { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.main-nav::-webkit-scrollbar { display: none; }
.main-nav a {
  padding: 7px 12px; border-radius: 999px; white-space: nowrap;
  text-decoration: none; font-size: 14.5px; font-weight: 600; color: var(--ink-2);
}
.main-nav a:hover { background: var(--surface-2); color: var(--ink); }
.main-nav a[aria-current="page"] { background: var(--ink); color: var(--paper); }
.header-search {
  margin-left: auto; position: relative; display: flex; align-items: center;
  width: min(280px, 100%);
}
.header-search .icon { position: absolute; left: 12px; color: var(--muted); }
.header-search input {
  width: 100%; height: 40px; padding: 0 14px 0 38px;
  border: 1px solid var(--line); border-radius: 999px; background: var(--surface);
  font-size: 14.5px;
}
.header-search input:focus { outline: none; border-color: var(--ink); }

@media (max-width: 860px) {
  .site-header__inner { flex-wrap: wrap; gap: 8px 16px; padding-block: 10px; }
  .header-search { order: 2; width: auto; flex: 1; margin-left: 0; }
  .main-nav { order: 3; width: 100%; margin-inline: -12px; padding-inline: 0; }
  .page-home .header-search { display: none; }
}

/* ── Buttons, chips, tags ───────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 42px; padding: 0 18px; border-radius: 999px; border: 0;
  font-weight: 700; font-size: 14.5px; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: color-mix(in srgb, var(--ink) 85%, var(--brand)); }
.btn--buy { background: var(--brand); color: var(--brand-ink); height: 38px; padding: 0 16px; font-size: 14px; }
.btn--buy:hover { box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 35%, transparent); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  --game: var(--ink);
  display: inline-flex; align-items: center; gap: 8px;
  height: 38px; padding: 0 14px; border-radius: 999px;
  border: 1px solid var(--line-strong); background: var(--surface);
  font-size: 14px; font-weight: 600; text-decoration: none; cursor: pointer;
}
.chip::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--game); }
.chip[data-filter="all"]::before { display: none; }
.chip span { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.chip[aria-pressed="true"] span { color: inherit; opacity: .7; }

.game-tag {
  --game: var(--ink);
  display: inline-flex; align-items: center; gap: 6px; width: fit-content;
  font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  color: var(--ink-2); text-decoration: none;
}
.game-tag::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--game); }
a.game-tag:hover { color: var(--ink); text-decoration: underline; }

/* ── Plates (image containers) ──────────────────────────────────────────── */
.plate {
  position: relative; display: grid; place-items: center; flex: none;
  background: var(--plate); border-radius: var(--r-md); overflow: hidden;
  aspect-ratio: 1;
}
.plate img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: var(--plate-blend); }
.plate__fallback {
  font-weight: 900; font-stretch: 125%; font-size: 2.4em; color: #b9b7ae; line-height: 1;
}
.plate--xs { width: 44px; border-radius: var(--r-sm); }
.plate--xs img { padding: 3px; }
.plate--sm { width: 56px; border-radius: 10px; }
.plate--sm img { padding: 4px; }
.plate--sm .plate__fallback { font-size: 22px; }
.plate--card { width: 100%; border-radius: var(--r-md) var(--r-md) 0 0; }
.plate--card img { object-position: bottom; }
.plate--product { width: 100%; aspect-ratio: 4 / 3; }
.plate--product img { padding: 14%; }
.plate--profile { width: clamp(132px, 22vw, 220px); border-radius: var(--r-lg); }
.plate--profile img { object-position: bottom; }
.plate--profile .plate__fallback { font-size: clamp(56px, 9vw, 96px); }

/* ── Sections ───────────────────────────────────────────────────────────── */
.section { padding-block: clamp(48px, 7vw, 88px); }
.section--tight { padding-block: clamp(32px, 4vw, 48px); }
.section--alt { background: var(--surface); border-block: 1px solid var(--line); }
.section-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  margin-bottom: 24px;
}
.section-title {
  font-size: clamp(26px, 3.4vw, 38px); line-height: 1.1; font-weight: 800;
  font-stretch: 112%; letter-spacing: -.02em;
}
.section-title--sm { font-size: 20px; margin-bottom: 16px; }
.section-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 700; font-size: 15px; text-decoration: none; color: var(--brand-deep);
}
.section-link:hover { text-decoration: underline; }
.lede { max-width: 72ch; font-size: 17.5px; color: var(--ink-2); margin-bottom: 28px; }
.lede a, .prose-block a {
  color: var(--ink); text-decoration-color: var(--brand-deep); text-decoration-thickness: 2px;
  text-underline-offset: 3px; font-weight: 600;
}
.lede a:hover, .prose-block a:hover { background: var(--brand-wash); }
.prose-block { max-width: 760px; }
.prose-block > * + * { margin-top: 1em; }
.prose-block p { color: var(--ink-2); font-size: 17px; }
.page-title {
  font-size: clamp(34px, 5vw, 52px); line-height: 1.05; font-weight: 900;
  font-stretch: 115%; letter-spacing: -.025em; margin-bottom: .4em;
}

/* ── Breadcrumbs ────────────────────────────────────────────────────────── */
.crumbs ol { list-style: none; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; padding: 18px 0 0; font-size: 13.5px; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line-strong); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.crumbs [aria-current] { color: var(--ink); font-weight: 600; }

/* ── Home hero ──────────────────────────────────────────────────────────── */
.hero {
  padding-block: clamp(40px, 7vw, 96px) clamp(40px, 6vw, 72px);
  background:
    radial-gradient(60% 80% at 100% 0%, color-mix(in srgb, var(--brand) 22%, transparent), transparent 70%),
    var(--paper);
  border-bottom: 1px solid var(--line);
}
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 20px; color: var(--ink-2); }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--brand-deep); box-shadow: 0 0 0 4px var(--brand-wash); }
.hero__title {
  font-size: clamp(40px, 6.4vw, 80px); line-height: .98; font-weight: 900;
  font-stretch: 118%; letter-spacing: -.035em; text-wrap: balance;
}
.hero__lede { margin-top: 22px; max-width: 54ch; font-size: clamp(17px, 1.6vw, 19px); color: var(--ink-2); }

.hero-search {
  position: relative; display: flex; align-items: center; gap: 8px;
  margin-top: 30px; max-width: 560px; padding: 6px 6px 6px 46px;
  background: var(--surface); border: 1px solid var(--line-strong); border-radius: 999px;
  box-shadow: var(--shadow);
}
.hero-search:focus-within { border-color: var(--ink); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 40%, transparent); }
.hero-search .icon { position: absolute; left: 18px; color: var(--muted); width: 20px; height: 20px; }
.hero-search input { flex: 1; min-width: 0; height: 44px; border: 0; background: none; font-size: 16.5px; }
.hero-search input:focus { outline: none; }

.hero__stats { display: flex; gap: clamp(24px, 4vw, 48px); margin-top: 34px; }
.hero__stats dt { font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.hero__stats dd { font-size: clamp(28px, 3.2vw, 40px); font-weight: 900; font-stretch: 115%; letter-spacing: -.02em; line-height: 1.1; }

.hero__board, .glance {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 22px; box-shadow: var(--shadow);
}
.board-title { margin-bottom: 12px; }
.top-picks { display: grid; gap: 4px; }
.top-pick {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px;
  padding: 8px; margin-inline: -8px; border-radius: var(--r-md);
}
.top-pick:hover { background: var(--surface-2); }
.top-pick__body { display: grid; min-width: 0; }
.top-pick__name { font-weight: 700; text-decoration: none; line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.top-pick__name:hover { text-decoration: underline; }
.top-pick__share { text-align: right; line-height: 1.1; }
.top-pick__share b { display: block; font-size: 20px; font-weight: 800; font-stretch: 112%; }
.top-pick__share span { font-family: var(--mono); font-size: 10.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
}

/* ── Player grid & cards ────────────────────────────────────────────────── */
#players .chips { margin-bottom: 28px; }
.player-grid {
  display: grid; gap: 16px;
  grid-template-columns: repeat(auto-fill, minmax(196px, 1fr));
}
.player-grid--compact { grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); }
.player-card { display: flex; }
.player-card[hidden] { display: none; }
.player-card__link {
  display: flex; flex-direction: column; width: 100%;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md);
  text-decoration: none; overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.player-card__link:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); border-color: var(--line-strong); }
.player-card__body { display: grid; gap: 4px; padding: 14px 16px 16px; }
.player-card__name { font-size: 20px; font-weight: 800; font-stretch: 110%; letter-spacing: -.01em; line-height: 1.2; }
.player-card__gear { display: grid; gap: 2px; margin-top: 6px; font-size: 12.5px; color: var(--muted); line-height: 1.35; }
.player-card__gear span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.player-card__gear abbr {
  display: inline-grid; place-items: center; width: 16px; height: 16px; margin-right: 4px;
  font-family: var(--mono); font-size: 10px; font-weight: 700;
  border: 1px solid var(--line-strong); border-radius: 4px; color: var(--ink-2);
}
.player-grid--compact .player-card__gear { display: none; }
@media (max-width: 520px) {
  .player-grid, .player-grid--compact { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .player-card__body { padding: 10px 12px 12px; }
  .player-card__name { font-size: 17px; }
  .player-card__gear { display: none; }
}
.empty { padding: 40px 0; text-align: center; color: var(--ink-2); font-size: 17px; }
.link-button { background: none; border: 0; padding: 0; color: var(--brand-deep); font-weight: 700; text-decoration: underline; cursor: pointer; }

/* ── Leaderboards ───────────────────────────────────────────────────────── */
.board-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.board {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px;
}
.section:not(.section--alt) .board { background: var(--surface); }
.board__title { font-size: 18px; font-weight: 800; font-stretch: 110%; margin-bottom: 10px; }
.ranked { display: grid; gap: 2px; }
.ranked__row { display: grid; grid-template-columns: 18px auto 1fr auto; align-items: center; gap: 12px; padding: 6px 0; }
.ranked__row + .ranked__row { border-top: 1px dashed var(--line); }
.ranked__pos { font-family: var(--mono); font-size: 12px; color: var(--muted); text-align: center; }
.ranked__row:first-child .ranked__pos {
  display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%;
  background: var(--brand); color: var(--brand-ink); font-weight: 700;
}
.ranked__main { display: grid; gap: 6px; min-width: 0; }
.ranked__name { font-weight: 650; font-size: 14.5px; line-height: 1.3; text-decoration: none; }
.ranked__name:hover { text-decoration: underline; }
.ranked__bar { height: 4px; border-radius: 4px; background: var(--surface-2); position: relative; overflow: hidden; }
.ranked__bar::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--share); background: var(--ink); border-radius: inherit; }
.ranked__row:first-child .ranked__bar::after { background: var(--brand-deep); }
.ranked__count { font-family: var(--mono); font-size: 13px; font-weight: 600; min-width: 3.2em; text-align: right; }

/* ── Player profile ─────────────────────────────────────────────────────── */
.profile { padding-block: 24px clamp(40px, 6vw, 64px); border-bottom: 1px solid var(--line); }
.profile__grid {
  display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(280px, 380px);
  gap: clamp(20px, 3.5vw, 44px); align-items: center;
}
.profile__head { display: grid; gap: 10px; align-content: center; }
.profile__title {
  font-size: clamp(44px, 7vw, 92px); line-height: .95; font-weight: 900; font-stretch: 120%;
  letter-spacing: -.035em; overflow-wrap: anywhere;
}
.profile__title span {
  display: block; margin-top: 8px;
  font-size: clamp(17px, 1.8vw, 22px); font-weight: 600; font-stretch: 100%; letter-spacing: 0; color: var(--ink-2);
}
.profile__meta { font-size: 14px; color: var(--muted); }
.profile__meta a { color: inherit; }
.profile__socials { display: flex; gap: 12px; font-weight: 700; font-size: 14px; }
.jump { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.jump a {
  padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-strong);
  font-size: 13.5px; font-weight: 600; text-decoration: none; background: var(--surface);
}
.jump a:hover { border-color: var(--ink); }
.glance__list { display: grid; }
.glance__row { display: grid; grid-template-columns: 92px 1fr; gap: 12px; align-items: baseline; padding: 10px 0; }
.glance__row + .glance__row { border-top: 1px solid var(--line); }
.glance__row dd { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; font-weight: 700; line-height: 1.3; }
.glance__row dd a { text-decoration: none; }
.glance__row dd a:hover { text-decoration: underline; text-decoration-color: var(--brand-deep); text-decoration-thickness: 2px; }
.glance__pop {
  font-family: var(--mono); font-size: 11px; font-weight: 500; color: var(--brand-deep);
  background: var(--brand-wash); padding: 1px 6px; border-radius: 4px; white-space: nowrap;
}

@media (max-width: 1060px) {
  .profile__grid { grid-template-columns: auto minmax(0, 1fr); }
  .glance { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .profile__grid { grid-template-columns: 1fr; }
  .plate--profile { width: 132px; }
}

/* ── Gear sections ──────────────────────────────────────────────────────── */
.gear-section + .gear-section { border-top: 1px solid var(--line); }
.product-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.product {
  display: flex; flex-direction: column; gap: 14px; padding: 12px 12px 16px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
}
.product__body { display: grid; gap: 4px; padding-inline: 4px; flex: 1; align-content: start; }
.product__name { font-size: 17px; font-weight: 750; line-height: 1.3; }
.product__pop { font-size: 13px; color: var(--muted); }
.product__pop b { color: var(--ink); }
.product .btn--buy { margin-inline: 4px; }

.spec-sheet { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 4px 20px; }
.spec-row { display: grid; grid-template-columns: 130px auto 1fr auto; align-items: center; gap: 16px; padding: 12px 0; }
.spec-row + .spec-row { border-top: 1px solid var(--line); }
.spec-row__name { font-weight: 700; }
.spec-row .btn--buy { height: 34px; padding: 0 14px; font-size: 13px; }
@media (max-width: 620px) {
  .spec-row { grid-template-columns: auto 1fr auto; gap: 4px 12px; }
  .spec-row .label { grid-column: 2; grid-row: 1; }
  .spec-row .plate { grid-row: 1 / 3; }
  .spec-row__name { grid-column: 2; }
  .spec-row .btn--buy { grid-column: 3; grid-row: 1 / 3; }
  .spec-row .btn--buy span { display: none; }
}

/* ── FAQ ────────────────────────────────────────────────────────────────── */
.faq-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr); gap: 32px; }
@media (max-width: 760px) { .faq-wrap { grid-template-columns: 1fr; } }
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px 0; cursor: pointer; list-style: none; font-weight: 700; font-size: 17px;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary .icon { transition: transform .2s ease; color: var(--muted); }
.faq__item[open] summary .icon { transform: rotate(45deg); color: var(--ink); }
.faq__item p { padding: 0 0 20px; color: var(--ink-2); max-width: 68ch; }

/* ── Similar setups ─────────────────────────────────────────────────────── */
.mini-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.mini-card {
  display: flex; align-items: center; gap: 14px; padding: 10px 16px 10px 10px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); text-decoration: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.mini-card:hover { border-color: var(--line-strong); box-shadow: var(--shadow); }
.mini-card > span { display: grid; }
.mini-card__name { font-weight: 800; font-size: 17px; font-stretch: 108%; }
.mini-card__meta { font-size: 13px; color: var(--muted); }

/* ── Game page ──────────────────────────────────────────────────────────── */
.game-hero {
  padding-block: 28px clamp(36px, 5vw, 56px);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--game) 9%, transparent));
}
.game-hero__title {
  margin-top: 12px; max-width: 16ch;
  font-size: clamp(40px, 6.5vw, 80px); line-height: .98; font-weight: 900; font-stretch: 118%; letter-spacing: -.035em;
}
.game-hero__lede { margin-top: 18px; max-width: 60ch; font-size: 18px; color: var(--ink-2); }

.not-found .hero-search { margin-block: 8px 24px; }

/* ── Footer ─────────────────────────────────────────────────────────────── */
.site-footer { background: #121214; color: #c9c8c3; padding-top: 56px; margin-top: 0; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px; }
.footer-network li { display: grid; gap: 2px; }
.footer-network a { color: #f3f2ee; font-weight: 700; }
.footer-network span { font-size: 13px; color: #8d8c88; }
.site-footer__brand p { margin-top: 14px; max-width: 42ch; font-size: 15px; }
.logo--footer { color: #f3f2ee; }
.logo--footer b { color: var(--brand); }
.footer-heading { font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: #8d8c88; margin-bottom: 12px; font-weight: 500; }
.site-footer ul { list-style: none; padding: 0; display: grid; gap: 8px; font-size: 15px; }
.site-footer__legal {
  display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  margin-top: 48px; padding-block: 24px; border-top: 1px solid #2a2a2f; font-size: 13px; color: #8d8c88;
}
.site-footer__legal p:first-child { max-width: 80ch; }
@media (max-width: 960px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } .site-footer__brand { grid-column: 1 / -1; } }
.site-footer .logo__mark circle { fill: var(--brand); }

/* ── Sister-site links (HLPLANET, TwitchGFX) ──────────────────────────── */
.feature-link {
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4px 24px;
  margin-top: clamp(28px, 4vw, 40px); padding: 20px 24px;
  background: #121214; color: #f3f2ee; border: 1px solid var(--line); border-radius: var(--r-lg); text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease;
}
.feature-link:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.feature-link .label { grid-column: 1; color: #8d8c88; }
.feature-link__title { grid-column: 1; font-size: clamp(19px, 2.2vw, 24px); font-weight: 800; font-stretch: 110%; line-height: 1.2; }
.feature-link__cta {
  grid-column: 2; grid-row: 1 / 3; display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 14.5px; color: var(--brand);
}
@media (max-width: 620px) {
  .feature-link { grid-template-columns: 1fr; }
  .feature-link__cta { grid-column: 1; grid-row: auto; margin-top: 6px; }
}

.product__read {
  display: block; margin-top: 4px; font-size: 13px; font-weight: 650; line-height: 1.35;
  color: var(--brand-deep); text-decoration: none;
}
.product__read span { font-weight: 500; color: var(--muted); }
.product__read:hover { text-decoration: underline; }

.guides {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 20px;
  margin-top: 24px; padding-top: 18px; border-top: 1px dashed var(--line-strong);
}
.guides ul { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.guides a { font-weight: 650; font-size: 14.5px; text-decoration-color: var(--brand-deep); text-underline-offset: 3px; }
.guides li span { font-family: var(--mono); font-size: 11px; color: var(--muted); margin-left: 4px; }

.board__guide {
  display: block; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line);
  font-size: 13.5px; font-weight: 650; text-decoration: none; color: var(--brand-deep);
}
.board__guide span { font-weight: 500; color: var(--muted); }
.board__guide:hover { text-decoration: underline; }

.resource-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.resource {
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2px 16px; height: 100%;
  padding: 16px 18px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md);
  text-decoration: none; transition: border-color .15s ease;
}
.resource:hover { border-color: var(--ink); }
.resource .label { grid-column: 1; }
.resource__title { grid-column: 1; font-weight: 750; line-height: 1.3; }
.resource .icon { grid-column: 2; grid-row: 1 / 3; color: var(--brand-deep); }

/* ── Gear rankings ──────────────────────────────────────────────────────── */
.gear-hero {
  padding-block: 28px clamp(36px, 5vw, 56px); border-bottom: 1px solid var(--line);
  background: radial-gradient(50% 90% at 100% 0%, color-mix(in srgb, var(--brand) 18%, transparent), transparent 70%);
}
.gear-hero__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(240px, 340px); gap: clamp(24px, 4vw, 56px); align-items: end; }
.gear-hero .game-hero__title { max-width: 18ch; margin-top: 0; }
@media (max-width: 820px) { .gear-hero__grid { grid-template-columns: 1fr; } }
.podium {
  display: grid; gap: 6px; padding: 14px 14px 18px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow);
}
.podium .plate { margin-bottom: 6px; }
.podium .label, .podium__name, .podium__share { padding-inline: 4px; }
.podium__name { font-size: 20px; font-weight: 800; font-stretch: 108%; line-height: 1.2; text-decoration: none; }
.podium__name:hover { text-decoration: underline; }
.podium__share { font-size: 14px; color: var(--muted); }
.podium__share b { color: var(--ink); font-size: 16px; }
.podium .btn--buy { margin: 8px 4px 0; }

.rank-table { display: grid; gap: 10px; }
.rank-row {
  display: grid; grid-template-columns: 28px auto minmax(0, 1fr) auto auto; align-items: center; gap: 16px;
  padding: 12px 16px 12px 12px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md);
}
.rank-row__pos { font-family: var(--mono); font-size: 13px; color: var(--muted); text-align: center; }
.rank-row:first-child .rank-row__pos {
  display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%;
  background: var(--brand); color: var(--brand-ink); font-weight: 700;
}
.rank-row__main { display: grid; gap: 6px; min-width: 0; }
.rank-row__name { font-size: 17px; font-weight: 750; line-height: 1.25; }
.rank-row__main .ranked__bar { max-width: 360px; }
.rank-row__users { font-size: 13px; color: var(--muted); line-height: 1.45; }
.rank-row__users a { color: var(--ink-2); text-decoration: none; font-weight: 600; }
.rank-row__users a:hover { text-decoration: underline; }
.rank-row__stats { display: grid; justify-items: end; line-height: 1.15; min-width: 64px; }
.rank-row__stats b { font-size: 22px; font-weight: 800; font-stretch: 110%; }
.rank-row__stats > span { font-family: var(--mono); font-size: 11.5px; color: var(--muted); }
.rank-row .btn--buy { height: 34px; padding: 0 14px; font-size: 13px; }
@media (max-width: 700px) {
  .rank-row { grid-template-columns: 22px auto minmax(0, 1fr) auto; gap: 10px 12px; }
  .rank-row .btn--buy { grid-column: 3 / -1; justify-self: start; }
}

.trend {
  display: inline-block; margin-top: 4px; padding: 1px 6px; border-radius: 4px;
  font-family: var(--mono); font-size: 11.5px; font-weight: 600; white-space: nowrap;
}
.trend--up { background: var(--brand-wash); color: var(--brand-deep); }
.trend--down { background: color-mix(in srgb, #e5484d 14%, transparent); color: #c4292f; }
@media (prefers-color-scheme: dark) { .trend--down { color: #ff8589; } }

.singles { margin-top: 18px; }
.singles summary { cursor: pointer; font-weight: 700; color: var(--ink-2); }
.singles ul { margin-top: 12px; columns: 2 260px; column-gap: 32px; padding-left: 18px; color: var(--muted); font-size: 14px; }
.singles li { margin-bottom: 4px; break-inside: avoid; }
.singles a { color: var(--ink-2); }

.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: clamp(32px, 5vw, 72px); }
.split .section-title { margin-bottom: 18px; }
.split .section-meta { margin: -8px 0 16px; }
.brand-list { display: grid; gap: 10px; }
.brand-list li { display: grid; grid-template-columns: 140px 1fr 48px; align-items: center; gap: 14px; }
.brand-list__name { font-weight: 700; }
.movers { display: grid; gap: 10px; font-weight: 650; }
.movers .trend { margin: 0 10px 0 0; min-width: 3.4em; text-align: center; }

/* ── Setup changes ──────────────────────────────────────────────────────── */
.changes { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); }
.changes--solo { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.change {
  display: flex; align-items: center; gap: 14px; padding: 12px 14px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md);
}
.section--alt .change { background: var(--paper); }
.change__who { display: flex; align-items: center; gap: 10px; flex: none; width: 118px; text-decoration: none; }
.change__who > span { display: grid; line-height: 1.2; min-width: 0; }
.change__who b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.change__who:hover b { text-decoration: underline; }
.change__what { display: grid; gap: 2px; min-width: 0; }
.change__what .label a { color: inherit; }
.change__swap { font-size: 14px; line-height: 1.35; }
.change__swap s { color: var(--muted); text-decoration-color: color-mix(in srgb, var(--muted) 70%, transparent); }
.change__swap > span { color: var(--brand-deep); font-weight: 700; margin-inline: 2px; }
@media (max-width: 420px) { .changes { grid-template-columns: 1fr; } .change__who { width: 96px; } }

.new-players { margin-top: 28px; }
.new-players ul { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.new-players a, .new-players span:not(.label) {
  display: inline-block; padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line-strong);
  font-size: 14px; font-weight: 650; text-decoration: none; background: var(--surface);
}
.new-players a:hover { border-color: var(--ink); }
.new-players span:not(.label) { color: var(--muted); border-style: dashed; }

.board__title a { text-decoration: none; }
.board__title a:hover { text-decoration: underline; }
.board__title .label { margin-left: 6px; font-weight: 500; }
.board__more {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 12px;
  font-size: 13.5px; font-weight: 700; text-decoration: none; color: var(--ink);
}
.board__more:hover { color: var(--brand-deep); }
.chip--plain::before { display: none; }
.guides--top { margin: 0 0 28px; padding: 0 0 18px; border-top: 0; border-bottom: 1px dashed var(--line-strong); }

.gear-cards { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.gear-card {
  display: flex; flex-direction: column; gap: 14px; height: 100%; padding: 12px 12px 18px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease;
}
.gear-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.gear-card__body { display: grid; gap: 4px; padding-inline: 6px; flex: 1; align-content: start; }
.gear-card__lead { font-size: 18px; font-weight: 800; font-stretch: 106%; line-height: 1.25; }
.gear-card__lead b { color: var(--brand-deep); margin-left: 4px; }
.gear-card__rest { font-size: 13px; color: var(--muted); line-height: 1.45; }
.gear-card__cta { display: inline-flex; align-items: center; gap: 6px; padding-inline: 6px; font-weight: 700; font-size: 14px; }

/* ── Setup card (share image) ───────────────────────────────────────────── */
.setup-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.setup-card__copy { display: grid; gap: 14px; justify-items: start; }
.setup-card__copy p { color: var(--ink-2); max-width: 46ch; }
.setup-card__figure img { width: 100%; height: auto; border-radius: var(--r-lg); box-shadow: var(--shadow-lift); }
@media (max-width: 760px) { .setup-card { grid-template-columns: 1fr; } }

/* ── HTML sitemap hub ───────────────────────────────────────────────────── */
.hub-top { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 32px; margin: 8px 0 40px; }
.hub-heading { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 800; font-stretch: 108%; margin-bottom: 12px; }
.hub-heading > span:not(.hub-dot), .hub-list span { font-family: var(--mono); font-size: 12px; font-weight: 500; color: var(--muted); }
.hub-dot { width: 10px; height: 10px; border-radius: 3px; background: var(--game); }
.hub-list { display: grid; gap: 6px; }
.hub-list a, .hub-players a { text-decoration: none; font-weight: 600; }
.hub-list a:hover, .hub-players a:hover { text-decoration: underline; text-decoration-color: var(--brand-deep); }
.hub-game { padding-top: 24px; margin-top: 24px; border-top: 1px solid var(--line); }
.hub-players { columns: 5 150px; column-gap: 24px; }
.hub-players li { padding: 3px 0; break-inside: avoid; }

/* ── Motion preferences ─────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
