/* One stylesheet, no framework, no web fonts.

   Dark by default: these sites sit on top of a game's own key art, and a light
   chrome around it looks like a document about a game rather than a place a
   player would stay. A light preference is still honoured. */

:root {
  --bg: #0b0d11;
  --bg-sunk: #101319;
  --bg-raised: #151a22;
  --bg-lift: #1c222c;
  --ink: #eef1f6;
  --ink-soft: #a8b1c0;
  --ink-faint: #7b8595;
  --line: #232a35;
  --line-strong: #323b49;
  --accent: #fbbf24;
  --accent-ink: #0b0d11;
  --accent-soft: #2a2109;
  --good: #4ade80;
  --good-soft: #0f2a1a;
  --bad: #f87171;
  --bad-soft: #2a1212;
  --dead: #6b7280;
  --dead-soft: #191d25;
  --shadow: 0 1px 2px rgba(0,0,0,.5), 0 12px 32px rgba(0,0,0,.35);
  --radius: 14px;
  --wrap: 74rem;
}

@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --bg: #ffffff;
    --bg-sunk: #f5f7fa;
    --bg-raised: #ffffff;
    --bg-lift: #eef1f6;
    --ink: #12151b;
    --ink-soft: #545c6b;
    --ink-faint: #7d8695;
    --line: #e2e6ec;
    --line-strong: #cbd2dc;
    --accent: #b45309;
    --accent-ink: #ffffff;
    --accent-soft: #fef3c7;
    --good: #15803d;
    --good-soft: #dcfce7;
    --bad: #b91c1c;
    --bad-soft: #fee2e2;
    --dead: #9ca3af;
    --dead-soft: #f1f3f6;
    --shadow: 0 1px 2px rgba(16,18,22,.06), 0 10px 28px rgba(16,18,22,.06);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.65 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-underline-offset: 2px; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.025em; margin: 0; }
img { max-width: 100%; }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }

.sr-only, .skip:not(:focus) {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip:focus {
  position: fixed; inset: .75rem auto auto .75rem; z-index: 60;
  background: var(--accent); color: var(--accent-ink); padding: .6rem 1rem; border-radius: 8px;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .55rem 1.05rem; border-radius: 10px; font-weight: 650; font-size: .92rem;
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: transform .12s, filter .12s;
}
.btn:hover { transform: translateY(-1px); filter: brightness(1.06); }
.btn--play { background: var(--accent); color: var(--accent-ink); white-space: nowrap; }
.btn--primary { background: var(--accent); color: var(--accent-ink); }
.btn--sm { padding: .45rem .85rem; font-size: .85rem; }

/* ---------- masthead ---------- */

.masthead {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in srgb, var(--bg) 90%, transparent);
  backdrop-filter: saturate(170%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.masthead__inner { display: flex; align-items: center; gap: 1rem; min-height: 62px; flex-wrap: wrap; }

.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: inherit; margin-right: auto; }
.brand__icon { width: 36px; height: 36px; border-radius: 9px; display: block; }
.brand__text { display: flex; align-items: baseline; gap: .4rem; }
.brand__name { font-weight: 700; letter-spacing: -.03em; font-size: 1.02rem; }
.brand__kind { font-size: .64rem; text-transform: uppercase; letter-spacing: .12em; color: var(--accent); font-weight: 700; }

.nav { display: flex; gap: .15rem; flex-wrap: wrap; }
.nav a {
  color: var(--ink-soft); text-decoration: none; font-size: .9rem; font-weight: 550;
  padding: .42rem .7rem; border-radius: 9px; white-space: nowrap;
}
.nav a:hover { color: var(--ink); background: var(--bg-lift); }
.nav a.is-active { color: var(--accent); background: var(--accent-soft); }

.menu-toggle { display: none; }

@media (max-width: 1000px) {
  .menu-toggle {
    display: grid; place-items: center; width: 42px; height: 38px; order: 3;
    background: none; border: 1px solid var(--line-strong); border-radius: 9px;
    cursor: pointer; color: var(--ink);
  }
  .menu-toggle__bar, .menu-toggle__bar::before, .menu-toggle__bar::after {
    content: ""; display: block; width: 17px; height: 1.5px; background: currentColor; border-radius: 2px;
  }
  .menu-toggle__bar { position: relative; }
  .menu-toggle__bar::before { position: absolute; top: -5.5px; }
  .menu-toggle__bar::after { position: absolute; top: 5.5px; }
  .masthead .btn--play { order: 2; }
  .nav { display: none; order: 4; width: 100%; flex-direction: column; padding-bottom: .7rem; }
  .nav-open .nav { display: flex; }
  .nav a { padding: .6rem .75rem; }
}

/* ---------- status banner ---------- */

.banner { background: var(--accent-soft); border-bottom: 1px solid color-mix(in srgb, var(--accent) 35%, transparent); }
.banner__text {
  margin: 0; padding: .8rem 0; font-size: .89rem; line-height: 1.55;
  color: color-mix(in srgb, var(--accent) 82%, var(--ink));
}
.banner__text strong { color: var(--accent); }

/* ---------- hero ---------- */

.hero { position: relative; isolation: isolate; overflow: hidden; padding: 5rem 0 4rem; min-height: 27rem; display: flex; align-items: center; }
.hero--tight { padding: 3.25rem 0 2.5rem; min-height: 19rem; }
.hero__art { position: absolute; inset: 0; z-index: -2; }
.hero__art img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
/* Contrast has to be guaranteed without knowing anything about the picture.
   A game's key art can be bright anywhere, so relying on the artist having
   left a dark corner under the copy is how hero text becomes unreadable.
   Three layers: a flat scrim over everything, a stronger wash under the text
   column, and a text shadow as the last line of defence. The right-hand side
   still shows the art at close to full strength. */
.hero__art::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(96deg,
      color-mix(in srgb, var(--bg) 96%, transparent) 0%,
      color-mix(in srgb, var(--bg) 92%, transparent) 38%,
      color-mix(in srgb, var(--bg) 70%, transparent) 58%,
      color-mix(in srgb, var(--bg) 30%, transparent) 78%,
      color-mix(in srgb, var(--bg) 12%, transparent) 100%),
    linear-gradient(to bottom,
      color-mix(in srgb, var(--bg) 45%, transparent) 0%,
      transparent 30%,
      transparent 62%,
      color-mix(in srgb, var(--bg) 80%, transparent) 92%,
      var(--bg) 100%);
}
@media (max-width: 900px) {
  .hero__art::after {
    background: linear-gradient(to bottom,
      color-mix(in srgb, var(--bg) 78%, transparent),
      color-mix(in srgb, var(--bg) 90%, transparent) 55%,
      var(--bg) 100%);
  }
}
.hero__title, .hero__lede { text-shadow: 0 1px 14px color-mix(in srgb, var(--bg) 85%, transparent); }
.hero__inner { position: relative; }
.hero__title { font-size: clamp(2.1rem, 6vw, 3.9rem); font-weight: 800; max-width: 18ch; }
.hero__lede { margin-top: 1.1rem; max-width: 42rem; }
.hero__lede p { color: var(--ink-soft); font-size: 1.06rem; margin: 0 0 .7rem; }
.hero__flash { color: var(--ink) !important; }
.hero__flash strong { color: var(--accent); }

.qlinks { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1.6rem; max-width: 58rem; }
.qlink {
  display: inline-block; padding: .5rem .95rem; border-radius: 10px;
  background: color-mix(in srgb, var(--bg-raised) 82%, transparent);
  border: 1px solid var(--line-strong); color: var(--ink);
  text-decoration: none; font-size: .88rem; font-weight: 570;
  backdrop-filter: blur(6px); transition: border-color .12s, transform .12s;
}
.qlink:hover { border-color: var(--accent); transform: translateY(-1px); }
.qlink.is-primary { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); font-weight: 680; }

.chips { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1rem; }

/* ---------- structure ---------- */

main { padding-bottom: 4rem; }

.crumbs {
  display: flex; flex-wrap: wrap; gap: .45rem; align-items: center;
  font-size: .84rem; color: var(--ink-faint); margin: 1.6rem 0 1.9rem;
}
.crumbs a { color: var(--ink-soft); text-decoration: none; }
.crumbs a:hover { color: var(--accent); text-decoration: underline; }

.hero + .wrap { padding-top: 2.25rem; }
.section { margin-bottom: 3.25rem; }
.section__title { font-size: 1.5rem; font-weight: 700; margin-bottom: .7rem; }
.section__intro { color: var(--ink-soft); margin: 0 0 1.4rem; max-width: 48rem; }

.prose { max-width: 48rem; }
.prose h2 { font-size: 1.3rem; margin: 2.1rem 0 .6rem; }
.prose p { color: var(--ink-soft); }

.list { padding-left: 1.15rem; color: var(--ink-soft); max-width: 48rem; }
.list li { margin-bottom: .4rem; }
.steps { padding-left: 1.3rem; max-width: 48rem; color: var(--ink-soft); }
.steps li { margin-bottom: .55rem; }
.steps li::marker { color: var(--accent); font-weight: 700; }

/* ---------- stats & chart ---------- */

.stats { display: grid; gap: .9rem; margin: 0 0 2rem; grid-template-columns: repeat(auto-fit, minmax(11.5rem, 1fr)); }
.stat { background: var(--bg-raised); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.15rem; box-shadow: var(--shadow); }
.stat__label { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-faint); font-weight: 650; }
.stat__value { margin: .35rem 0 0; font-size: 1.95rem; font-weight: 750; letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
.stat__exact { margin: .15rem 0 0; font-size: .77rem; color: var(--ink-faint); font-variant-numeric: tabular-nums; }
.stat__note { margin: .5rem 0 0; font-size: .82rem; font-weight: 600; }
.stat__note--up { color: var(--good); }
.stat__note--down { color: var(--bad); }
.stat__note--flat { color: var(--ink-faint); }

.chart-block { margin: 0; }
.chart-block__caption { font-size: .86rem; color: var(--ink-faint); margin-bottom: .6rem; max-width: 48rem; }
.chart { background: var(--bg-raised); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1rem .6rem; box-shadow: var(--shadow); }
.chart svg { display: block; width: 100%; height: auto; overflow: visible; }
.chart__area { fill: var(--accent); opacity: .12; }
.chart__line { fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.chart__dot { fill: var(--accent); opacity: 0; transition: opacity .15s; }
.chart:hover .chart__dot { opacity: .85; }
.chart__tick { fill: var(--ink-faint); font-size: 11px; }
.chart__tick--end { text-anchor: end; }
.chart__range { display: flex; justify-content: space-between; margin: .5rem 0 0; font-size: .78rem; color: var(--ink-faint); font-variant-numeric: tabular-nums; }
.chart-block__data { margin-top: .9rem; }
.chart-block__data summary { cursor: pointer; font-size: .87rem; color: var(--ink-soft); }

.chart.js-animate .chart__line { stroke-dasharray: var(--line-length); stroke-dashoffset: var(--line-length); }
.chart.js-animate.is-visible .chart__line { animation: draw 1.1s cubic-bezier(.4,0,.2,1) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .chart.js-animate .chart__line { stroke-dasharray: none; stroke-dashoffset: 0; } }

/* ---------- codes ---------- */

.code-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .8rem; }
.code-card { display: flex; flex-wrap: wrap; gap: .9rem 1.2rem; align-items: center; background: var(--bg-raised); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.1rem; box-shadow: var(--shadow); }
.code-card.is-expired { opacity: .68; }
.code-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; }
.code-card__proof { font-size: .85rem; color: var(--ink-soft); }

.code-copy, .code-chip {
  display: inline-flex; align-items: center; gap: .8rem; cursor: pointer;
  background: var(--bg-lift); border: 1px solid var(--line-strong); border-radius: 10px;
  padding: .55rem .8rem; color: inherit; font: inherit; transition: border-color .15s, background .15s;
}
.code-copy:hover, .code-chip:hover { border-color: var(--accent); }
.code-copy__value, .code-chip__value { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-weight: 650; font-size: 1rem; letter-spacing: .02em; }
.code-copy__action, .code-chip__action { font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; color: var(--accent); }
.code-copy.is-copied, .code-chip.is-copied { border-color: var(--good); background: var(--good-soft); }
.code-copy.is-failed, .code-chip.is-failed { border-color: var(--bad); }

.pill { display: inline-block; font-size: .68rem; font-weight: 700; padding: .24rem .58rem; border-radius: 999px; text-transform: uppercase; letter-spacing: .07em; }
.pill--live { background: var(--good-soft); color: var(--good); }
.pill--dead, .pill--unverified { background: var(--dead-soft); color: var(--dead); }
.pill--official { background: var(--good-soft); color: var(--good); }
.pill--community { background: var(--accent-soft); color: var(--accent); }
.pill--tracker, .pill--media { background: var(--dead-soft); color: var(--ink-soft); }

.callout { background: var(--bg-sunk); border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: var(--radius); padding: 1.2rem 1.3rem; }
.callout__title { font-size: 1.05rem; margin-bottom: .5rem; }
.callout p { margin: 0; color: var(--ink-soft); max-width: 46rem; }

/* ---------- cards ---------- */

.cards { display: grid; gap: .9rem; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); }
.card { display: block; text-decoration: none; color: inherit; background: var(--bg-raised); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem 1.25rem; box-shadow: var(--shadow); transition: border-color .15s, transform .15s; }
.card:hover { border-color: var(--accent); transform: translateY(-2px); }
.card__title { font-size: 1.06rem; font-weight: 660; }
.card__text { margin: .4rem 0 0; color: var(--ink-soft); font-size: .92rem; }
.card__more { display: inline-block; margin-top: .75rem; font-size: .78rem; color: var(--accent); font-weight: 660; }

/* ---------- tables ---------- */

.tablefilter { display: flex; align-items: center; gap: .8rem; margin-bottom: .9rem; flex-wrap: wrap; }
.tablefilter__input { flex: 1 1 16rem; background: var(--bg-raised); border: 1px solid var(--line-strong); border-radius: 10px; padding: .55rem .8rem; color: var(--ink); font: inherit; font-size: .92rem; }
.tablefilter__input:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.tablefilter__count { font-size: .82rem; color: var(--ink-faint); }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-raised); }
.table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.table th, .table td { padding: .68rem .9rem; text-align: left; border-bottom: 1px solid var(--line); }
.table th { position: sticky; top: 0; background: var(--bg-lift); font-size: .72rem; text-transform: uppercase; letter-spacing: .07em; color: var(--ink-faint); font-weight: 680; white-space: nowrap; z-index: 1; }
.table tbody tr:last-child td { border-bottom: 0; }
.table tbody tr:hover { background: var(--bg-lift); }

/* ---------- tier list ---------- */

.tiers { display: grid; gap: .8rem; margin-bottom: 2rem; }
.tier { display: flex; gap: 0; background: var(--bg-raised); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.tier__badge {
  flex: 0 0 5.5rem; display: grid; place-items: center;
  font-size: 1.7rem; font-weight: 800; letter-spacing: -.04em;
  background: var(--bg-lift); color: var(--accent); border-right: 1px solid var(--line);
}
.tier__badge--s { background: #3b2a06; color: #fbbf24; }
.tier__badge--a { background: #33240b; color: #fcd34d; }
.tier__badge--b { background: #1e2a1a; color: #86efac; }
.tier__badge--c { background: #1a2330; color: #93c5fd; }
.tier__badge--d { background: #241c2e; color: #c4b5fd; }
.tier__body { padding: .95rem 1.1rem; flex: 1; min-width: 0; }
.tier__note { margin: 0 0 .65rem; font-size: .8rem; color: var(--ink-faint); }
.tier__items { display: flex; flex-wrap: wrap; gap: .4rem; }
.tier__item { display: inline-flex; align-items: baseline; gap: .4rem; background: var(--bg-lift); border: 1px solid var(--line); border-radius: 8px; padding: .3rem .6rem; font-size: .85rem; }
.tier__value { color: var(--accent); font-weight: 660; font-variant-numeric: tabular-nums; font-size: .8rem; }

/* ---------- tools ---------- */

.tool { background: var(--bg-raised); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem; box-shadow: var(--shadow); max-width: 44rem; }
.tool__row { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; margin-bottom: .9rem; }
.tool__label { flex: 0 0 100%; font-size: .78rem; text-transform: uppercase; letter-spacing: .07em; color: var(--ink-faint); font-weight: 650; }
.tool__select, .tool__input { flex: 1 1 12rem; background: var(--bg-lift); border: 1px solid var(--line-strong); border-radius: 10px; padding: .6rem .75rem; color: var(--ink); font: inherit; font-size: .95rem; }
.tool__select:focus, .tool__input:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.tool__chosen { list-style: none; padding: 0; margin: 0 0 1rem; display: flex; flex-wrap: wrap; gap: .45rem; }
.tool__chosen li { display: inline-flex; align-items: center; gap: .5rem; background: var(--bg-lift); border: 1px solid var(--line); border-radius: 8px; padding: .3rem .3rem .3rem .65rem; font-size: .87rem; }
.tool__drop { background: none; border: 0; color: var(--ink-faint); cursor: pointer; font-size: 1rem; line-height: 1; padding: .15rem .35rem; border-radius: 5px; }
.tool__drop:hover { color: var(--bad); background: var(--bad-soft); }
.tool__out { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding: 1rem 1.1rem; background: var(--accent-soft); border-radius: 11px; margin-bottom: .8rem; flex-wrap: wrap; }
.tool__out-label { font-size: .78rem; text-transform: uppercase; letter-spacing: .07em; color: var(--ink-soft); font-weight: 650; }
.tool__out-value { font-size: 1.85rem; font-weight: 780; color: var(--accent); font-variant-numeric: tabular-nums; letter-spacing: -.03em; }
.tool__hint { margin: 0 0 .5rem; font-size: .85rem; color: var(--ink-faint); }
.tool__hint--cost { color: var(--ink-soft); font-weight: 550; }

/* ---------- releases ---------- */

.releases { list-style: none; padding: 0; margin: 0; }
.release { display: flex; gap: 1.2rem; padding: 1rem 0; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.release:last-child { border-bottom: 0; }
.release__date { flex: 0 0 9rem; font-weight: 660; color: var(--accent); font-size: .93rem; }
.release__body { flex: 1 1 18rem; }
.release__head { margin: 0 0 .25rem; font-weight: 600; }
.release__meta { margin: 0; font-size: .86rem; color: var(--ink-faint); }
.release__meta code { background: var(--bg-lift); padding: .1rem .35rem; border-radius: 5px; font-size: .84rem; }

/* ---------- sources & channels ---------- */

.sources { list-style: none; padding: 0; margin: 0; display: grid; gap: .8rem; }
.source { background: var(--bg-raised); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.05rem 1.15rem; }
.source__head { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; }
.source__link { font-weight: 570; }
.source__status { margin: .55rem 0 0; font-size: .88rem; color: var(--ink); font-weight: 550; }
.source__note { margin: .5rem 0 0; color: var(--ink-soft); font-size: .91rem; }
.source__checked { margin: .35rem 0 0; color: var(--ink-faint); font-size: .79rem; }
.source-note { font-size: .86rem; color: var(--ink-faint); max-width: 48rem; }

.qa { border-bottom: 1px solid var(--line); }
.qa summary { cursor: pointer; font-weight: 590; padding: .85rem 0; }
.qa summary:hover { color: var(--accent); }
.qa__body { padding-bottom: .9rem; color: var(--ink-soft); }
.qa__body p { margin: 0 0 .6rem; max-width: 46rem; }

/* ---------- footer ---------- */

.footer { border-top: 1px solid var(--line); background: var(--bg-sunk); padding-block: 3rem 2.5rem; margin-top: 2rem; }
.footer__top { display: grid; gap: 2rem; grid-template-columns: 1.6fr 1fr 1fr 1fr; margin-bottom: 2.2rem; }
@media (max-width: 900px) { .footer__top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__top { grid-template-columns: 1fr; } }
.fcol { display: flex; flex-direction: column; gap: .45rem; min-width: 0; }
.fcol__title { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-faint); font-weight: 700; margin-bottom: .35rem; }
.fcol a { color: var(--ink-soft); text-decoration: none; font-size: .89rem; }
.fcol a:hover { color: var(--accent); text-decoration: underline; }
.fcol--brand { padding-right: 1.5rem; }
.fcol__brand { margin: 0; font-weight: 700; font-size: 1rem; }
.fcol__blurb { margin: .5rem 0 .9rem; color: var(--ink-faint); font-size: .87rem; line-height: 1.55; }
.fcol--brand .btn { align-self: flex-start; }
.footer__fine { margin: 0; padding-top: 1.5rem; border-top: 1px solid var(--line); color: var(--ink-faint); font-size: .81rem; line-height: 1.6; }


/* ---------- homepage hub ---------- */

.hub { display: grid; gap: .8rem; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); }
.hubcard { background: var(--bg-raised); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.15rem 1.2rem; }
.hubcard__title { font-size: 1rem; font-weight: 660; margin-bottom: .4rem; }
.hubcard__title a { text-decoration: none; color: inherit; }
.hubcard__title a:hover { color: var(--accent); }
.hubcard__text { margin: 0; color: var(--ink-soft); font-size: .9rem; }
.hubcard__meta { margin: .6rem 0 0; font-size: .78rem; color: var(--ink-faint); }

.codeblock { display: grid; gap: .7rem; grid-template-columns: repeat(auto-fit, minmax(19rem, 1fr)); }
.codeblock__item { background: var(--bg-raised); border: 1px solid var(--line); border-left: 3px solid var(--good); border-radius: var(--radius); padding: 1rem 1.1rem; }
.codeblock__item.is-dead { border-left-color: var(--dead); opacity: .7; }
.codeblock__name { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 1.05rem; font-weight: 680; margin-bottom: .35rem; }
.codeblock__line { margin: 0; font-size: .86rem; color: var(--ink-soft); }

.preview { display: grid; gap: .55rem; }
.preview__row { display: flex; align-items: center; gap: .8rem; background: var(--bg-raised); border: 1px solid var(--line); border-radius: 11px; padding: .65rem .9rem; flex-wrap: wrap; }
.preview__rank { flex: 0 0 2rem; font-weight: 800; color: var(--accent); font-size: 1rem; }
.preview__name { font-weight: 570; flex: 1 1 10rem; min-width: 0; }
.preview__value { font-variant-numeric: tabular-nums; color: var(--accent); font-weight: 660; font-size: .9rem; }
.preview__tier { font-size: .68rem; font-weight: 750; text-transform: uppercase; letter-spacing: .07em; background: var(--accent-soft); color: var(--accent); padding: .2rem .5rem; border-radius: 999px; }

.linkgrid { display: grid; gap: .4rem; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
.linkgrid a { display: flex; align-items: baseline; gap: .5rem; padding: .5rem .7rem; border-radius: 9px; text-decoration: none; color: var(--ink-soft); font-size: .89rem; border: 1px solid transparent; }
.linkgrid a:hover { color: var(--ink); background: var(--bg-raised); border-color: var(--line); }
.linkgrid a::before { content: "→"; color: var(--accent); font-size: .8rem; }

.trust { display: grid; gap: .9rem; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
.trust__item { background: var(--bg-sunk); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.15rem; }
.trust__title { font-size: .95rem; font-weight: 660; margin-bottom: .4rem; color: var(--accent); }
.trust__text { margin: 0; font-size: .89rem; color: var(--ink-soft); line-height: 1.6; }
