/* goblinsilver.com — editorial community hub stylesheet */

:root {
  --paper:        #f4f3ef;
  --paper-2:      #ebe9e2;
  --paper-3:      #e2e0d7;
  --ink:          #15181a;
  --ink-2:        #2b2f33;
  --ink-3:        #5a5f64;
  --ink-4:        #8a8f93;
  --hair:         #d8d6cf;
  --hair-2:       #c7c5bd;

  --goblin:       oklch(0.62 0.16 145);     /* primary green */
  --goblin-deep:  oklch(0.48 0.14 145);
  --goblin-soft:  oklch(0.92 0.05 145);
  --goblin-ink:   oklch(0.28 0.08 145);

  --silver:       oklch(0.78 0.01 250);
  --silver-deep:  oklch(0.62 0.01 250);

  --amber:        oklch(0.72 0.14 75);
  --rust:         oklch(0.58 0.16 35);

  --sans:    "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  --serif:   "Newsreader", "Spectral", Georgia, serif;
  --mono:    "JetBrains Mono", ui-monospace, monospace;

  /* density */
  --pad-section: 56px;
  --pad-row:     16px;
  --gap-col:     32px;
}

[data-density="compact"] {
  --pad-section: 36px;
  --pad-row:     11px;
  --gap-col:     22px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: default; }

/* ─── layout shell ──────────────────────────────────────────────── */
.gs-shell { min-height: 100vh; }
.gs-container {
  max-width: 1480px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ─── top meta bar ──────────────────────────────────────────────── */
.gs-meta {
  border-bottom: 1px solid var(--hair);
  background: var(--paper);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.gs-meta .gs-container {
  display: flex; align-items: center; justify-content: space-between;
  height: 32px;
}
.gs-meta-left, .gs-meta-right { display: flex; gap: 18px; align-items: center; }
.gs-meta-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--goblin); display: inline-block; margin-right: 6px;
  box-shadow: 0 0 0 3px color-mix(in oklch, var(--goblin) 20%, transparent);
}
.gs-meta a:hover { color: var(--ink); }

/* ─── masthead ──────────────────────────────────────────────────── */
.gs-mast {
  border-bottom: 1px solid var(--ink);
  padding: 22px 0 18px;
}
.gs-mast .gs-container {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}
.gs-mast-l { display: flex; gap: 10px; align-items: center; color: var(--ink-3); font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; }
.gs-mast-r { display: flex; gap: 14px; justify-content: flex-end; align-items: center; }
.gs-wordmark {
  font-family: var(--serif);
  font-weight: 800;
  font-size: 44px;
  line-height: 1;
  letter-spacing: -0.025em;
  display: flex; align-items: center; gap: 10px;
  font-feature-settings: "ss01" on;
}
.gs-wordmark-dot {
  width: 14px; height: 14px;
  background: var(--goblin);
  transform: rotate(45deg);
  display: inline-block;
}
.gs-search {
  display: flex; align-items: center; gap: 8px;
  border: 1px solid var(--hair);
  padding: 6px 10px;
  font-family: var(--mono); font-size: 11px;
  color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.04em;
  border-radius: 2px;
  transition: border-color .15s;
}
.gs-search:hover { border-color: var(--ink); color: var(--ink); }
.gs-search kbd {
  font-family: var(--mono); font-size: 10px;
  padding: 1px 5px; border: 1px solid var(--hair);
  background: var(--paper-2);
  border-radius: 2px; color: var(--ink-3);
}
.gs-btn {
  font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em;
  padding: 7px 12px; border: 1px solid var(--ink);
  background: var(--ink); color: var(--paper);
  border-radius: 2px;
  transition: background .15s, color .15s;
}
.gs-btn:hover { background: var(--goblin); border-color: var(--goblin); color: var(--paper); }
/* the hero CTA renders as an <a>; keep padding/alignment behaving like the button */
a.gs-btn { display: inline-flex; align-items: center; }
.gs-btn-ghost {
  font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em;
  padding: 7px 12px; border: 1px solid var(--hair);
  background: transparent; color: var(--ink);
  border-radius: 2px;
}
.gs-btn-ghost:hover { border-color: var(--ink); }

/* ─── primary nav ───────────────────────────────────────────────── */
.gs-nav {
  border-bottom: 1px solid var(--hair);
  background: var(--paper);
  position: sticky; top: 0; z-index: 100;
}
.gs-nav .gs-container {
  display: flex; gap: 0; align-items: stretch;
  height: 44px;
}
.gs-nav-item {
  display: flex; align-items: center;
  padding: 0 18px;
  font-family: var(--sans); font-size: 13px; font-weight: 500;
  letter-spacing: 0.005em;
  color: var(--ink-2);
  border-right: 1px solid var(--hair);
  transition: background .15s, color .15s;
  position: relative;
}
.gs-nav-item:first-child { border-left: 1px solid var(--hair); }
.gs-nav-item:hover { background: var(--paper-2); color: var(--ink); }
.gs-nav-item.is-active {
  color: var(--ink); font-weight: 600;
  background: var(--paper);
}
.gs-nav-item.is-active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px;
  height: 2px; background: var(--goblin);
}
.gs-nav-grow { flex: 1; border-right: 1px solid var(--hair); }
.gs-nav-meta {
  display: flex; align-items: center; gap: 14px;
  padding: 0 18px;
  font-family: var(--mono); font-size: 11px; color: var(--ink-3);
  text-transform: uppercase; letter-spacing: 0.04em;
}
.gs-nav-pulse {
  display: inline-block; width: 7px; height: 7px; border-radius: 50%;
  background: var(--goblin);
  animation: gs-pulse 2s infinite;
}
@keyframes gs-pulse {
  0%, 100% { box-shadow: 0 0 0 0 color-mix(in oklch, var(--goblin) 50%, transparent); }
  50%      { box-shadow: 0 0 0 6px color-mix(in oklch, var(--goblin) 0%, transparent); }
}

/* ─── ticker ────────────────────────────────────────────────────── */
.gs-ticker {
  border-bottom: 1px solid var(--hair);
  background: var(--paper-2);
  overflow: hidden;
}
.gs-ticker .gs-container {
  display: flex; align-items: center;
  height: 34px; gap: 24px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.02em;
}
.gs-ticker-label {
  text-transform: uppercase; font-weight: 700; color: var(--ink);
  border-right: 1px solid var(--hair); padding-right: 16px;
  display: flex; align-items: center; gap: 6px;
}
.gs-ticker-track {
  display: flex; gap: 36px; flex: 1;
  animation: gs-tick 60s linear infinite;
  white-space: nowrap;
}
.gs-ticker-item { display: flex; gap: 8px; align-items: center; }
.gs-ticker-tag {
  font-weight: 700; color: var(--goblin-deep);
}
@keyframes gs-tick {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ─── hero ─────────────────────────────────────────────────────── */
.gs-hero {
  padding: var(--pad-section) 0;
  border-bottom: 1px solid var(--ink);
}
.gs-hero .gs-container {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: var(--gap-col);
}
.gs-hero-lead { display: grid; gap: 18px; }
.gs-kicker {
  font-family: var(--mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--goblin-deep); font-weight: 700;
  display: flex; align-items: center; gap: 10px;
}
.gs-kicker::before {
  content: ""; width: 24px; height: 1px; background: var(--goblin-deep);
}
.gs-hero-headline {
  font-family: var(--serif); font-weight: 800;
  font-size: clamp(40px, 4.4vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: var(--ink);
  text-wrap: pretty;
  margin: 0;
}
.gs-hero-headline em { font-style: italic; color: var(--goblin-deep); }
/* hero headline is now a link out to the lead story/video */
.gs-hero-headline-link { transition: color .15s; }
a.gs-hero-headline-link:hover .gs-hero-headline { color: var(--goblin-deep); }
.gs-hero-deck {
  font-family: var(--serif); font-weight: 400;
  font-size: 19px; line-height: 1.5;
  color: var(--ink-2);
  max-width: 60ch; margin: 0;
  text-wrap: pretty;
}
.gs-hero-meta {
  display: flex; gap: 18px; align-items: center;
  font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.05em;
  color: var(--ink-3);
  padding-top: 6px;
  border-top: 1px solid var(--hair);
}
.gs-hero-meta strong { color: var(--ink); font-weight: 600; }
.gs-confidence {
  display: flex; align-items: center; gap: 8px;
}
.gs-confidence-bar {
  width: 140px; height: 6px;
  background: var(--paper-3);
  position: relative;
  border-radius: 1px;
}
.gs-confidence-fill {
  position: absolute; left: 0; top: 0; bottom: 0;
  background: var(--goblin);
  border-radius: 1px;
}
.gs-confidence-num {
  font-family: var(--mono); font-weight: 700; color: var(--ink);
  font-variant-numeric: tabular-nums;
}

/* hero rail */
.gs-hero-rail {
  border-left: 1px solid var(--hair);
  padding-left: var(--gap-col);
  display: grid; gap: 22px;
  align-content: start;
}
.gs-rail-h {
  font-family: var(--mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--ink-3); font-weight: 700;
  display: flex; justify-content: space-between; align-items: baseline;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--ink);
}
.gs-rail-h span:last-child { color: var(--goblin-deep); }
.gs-rail-item {
  display: grid; gap: 4px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--hair);
}
.gs-rail-item:last-child { border-bottom: 0; padding-bottom: 0; }
.gs-rail-item-tag {
  font-family: var(--mono); font-size: 10px;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--ink-3); font-weight: 700;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.gs-rail-item-headline {
  font-family: var(--serif); font-weight: 600;
  font-size: 18px; line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-wrap: pretty;
  transition: color .15s;
}
.gs-rail-item:hover .gs-rail-item-headline { color: var(--goblin-deep); }
.gs-rail-item-meta {
  font-family: var(--mono); font-size: 10px;
  text-transform: uppercase; letter-spacing: 0.05em;
  color: var(--ink-4);
  display: flex; gap: 10px;
}
/* rail items carry a small feed thumbnail (video still / article image) */
.gs-rail-item.has-thumb {
  grid-template-columns: 130px 1fr;
  gap: 12px;
  align-items: stretch;
}
/* trim the serif's top leading so the title's cap height sits flush with the thumbnail top,
   and clamp the title to 2 lines */
.gs-rail-item.has-thumb .gs-rail-item-headline {
  font-size: 16px;
  margin-top: -4px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
@supports (text-box-trim: trim-start) {
  .gs-rail-item.has-thumb .gs-rail-item-headline {
    margin-top: 0;
    text-box-trim: trim-start;
    text-box-edge: cap alphabetic;
  }
}
/* push the meta + tag to the bottom so they line up with the bottom of the thumbnail */
.gs-rail-item.has-thumb .gs-rail-item-meta { margin-top: auto; }
.gs-rail-item-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.gs-rail-thumb {
  aspect-ratio: 16 / 9;
  align-self: start;
  position: relative; overflow: hidden;
  border-radius: 2px;
  background: linear-gradient(135deg, var(--ink) 0%, var(--ink-2) 100%);
}
.gs-rail-thumb.is-article { background: var(--goblin-soft); }
.gs-rail-item:hover .gs-rail-thumb .gs-play { background: var(--rust); }
.gs-rail-thumb .gs-play { width: 26px; height: 26px; }
.gs-rail-thumb .gs-play-tri {
  border-left-width: 8px; border-top-width: 5px; border-bottom-width: 5px; margin-left: 2px;
}

/* ─── section headers ──────────────────────────────────────────── */
.gs-section { padding: var(--pad-section) 0; border-bottom: 1px solid var(--hair); }
.gs-section-h {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-bottom: 28px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--ink);
}
.gs-section-title {
  font-family: var(--serif); font-weight: 800;
  font-size: 28px; line-height: 1; letter-spacing: -0.015em;
  margin: 0;
  display: flex; align-items: baseline; gap: 12px;
}
.gs-section-num {
  font-family: var(--mono); font-size: 11px;
  color: var(--ink-3); font-weight: 700;
  letter-spacing: 0.06em;
}
.gs-section-sub {
  font-family: var(--mono); font-size: 11px; color: var(--ink-3);
  text-transform: uppercase; letter-spacing: 0.06em;
  display: flex; gap: 14px; align-items: center;
}
.gs-section-sub a { transition: color .15s; }
.gs-section-sub a:hover { color: var(--goblin-deep); }

/* ─── rumor engine table ───────────────────────────────────────── */
.gs-rumors {
  display: grid;
  border-top: 1px solid var(--hair);
}
.gs-rumor-row {
  display: grid;
  grid-template-columns: 36px 1.4fr 1fr 160px 80px 80px;
  gap: 20px; align-items: center;
  padding: var(--pad-row) 8px;
  border-bottom: 1px solid var(--hair);
  cursor: default;
  transition: background .15s;
  position: relative;
}
.gs-rumor-row:hover { background: var(--paper-2); }
.gs-rumor-row.is-pinned { background: color-mix(in oklch, var(--goblin) 4%, transparent); }
.gs-rumor-row.is-pinned::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0;
  width: 3px; background: var(--goblin);
}
.gs-rumor-votes {
  font-family: var(--mono); font-weight: 700; font-variant-numeric: tabular-nums;
  font-size: 13px;
  color: var(--ink); text-align: center;
}
.gs-rumor-votes-arrow {
  display: block; font-size: 10px; color: var(--ink-3); line-height: 1;
}
.gs-rumor-main { display: grid; gap: 6px; }
.gs-rumor-title {
  font-family: var(--serif); font-weight: 600;
  font-size: 17px; line-height: 1.25; letter-spacing: -0.005em;
  color: var(--ink); margin: 0;
  text-wrap: pretty;
  transition: color .15s;
}
.gs-rumor-row:hover .gs-rumor-title { color: var(--goblin-deep); }
.gs-rumor-meta-line {
  display: flex; gap: 10px; align-items: center;
  font-family: var(--mono); font-size: 10px; color: var(--ink-3);
  text-transform: uppercase; letter-spacing: 0.05em;
}
.gs-pinned-pill {
  background: var(--goblin); color: var(--paper);
  padding: 1px 6px; border-radius: 2px; font-weight: 700;
}
.gs-source {
  font-family: var(--mono); font-size: 11px; color: var(--ink-3);
  text-transform: uppercase; letter-spacing: 0.04em;
}
.gs-source-kind {
  display: inline-block;
  padding: 1px 5px; margin-right: 6px;
  font-size: 9px; font-weight: 700;
  border: 1px solid currentColor;
  border-radius: 2px;
}
.gs-source-kind--leak     { color: var(--rust); }
.gs-source-kind--official { color: var(--goblin-deep); }
.gs-source-kind--rumor    { color: var(--amber); }

.gs-confidence-cell {
  display: grid; gap: 4px; min-width: 140px;
}
.gs-confidence-cell .gs-confidence-bar { width: 100%; }
.gs-confidence-cell-lbl {
  display: flex; justify-content: space-between;
  font-family: var(--mono); font-size: 10px; color: var(--ink-3);
  text-transform: uppercase; letter-spacing: 0.04em;
}

.gs-rumor-age, .gs-rumor-comments {
  font-family: var(--mono); font-size: 11px; color: var(--ink-3);
  text-align: right; font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

/* ─── painted showcase ─────────────────────────────────────────── */
.gs-painted {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--hair);
  border: 1px solid var(--hair);
}
.gs-painted-card {
  background: var(--paper);
  display: grid;
  cursor: default;
  transition: transform .25s ease, box-shadow .25s ease;
  position: relative;
}
.gs-painted-card:hover {
  z-index: 5;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px -12px rgba(21,24,26,0.18);
}
.gs-painted-img {
  aspect-ratio: 1 / 1;
  position: relative;
  overflow: hidden;
  background: var(--paper-3);
}
.gs-painted-img::before {
  /* halftone-ish texture */
  content: "";
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(135deg,
      rgba(0,0,0,0.08) 0 1px, transparent 1px 8px),
    radial-gradient(circle at 30% 35%,
      color-mix(in oklch, var(--card-c, var(--goblin)) 70%, transparent) 0%,
      color-mix(in oklch, var(--card-c, var(--goblin)) 25%, transparent) 35%,
      transparent 65%);
  mix-blend-mode: multiply;
}
.gs-painted-img::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, transparent 50%, rgba(21,24,26,0.18));
}
.gs-painted-img-mark {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-size: 10px;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.1em; text-transform: uppercase;
  text-shadow: 0 1px 0 rgba(0,0,0,0.3);
  z-index: 1;
}
.gs-painted-tag {
  position: absolute; top: 10px; left: 10px;
  z-index: 2;
  font-family: var(--mono); font-size: 10px;
  background: var(--ink); color: var(--paper);
  padding: 3px 6px; border-radius: 2px;
  text-transform: uppercase; letter-spacing: 0.05em;
  font-weight: 700;
}
.gs-painted-faction {
  position: absolute; bottom: 10px; left: 10px; right: 10px;
  z-index: 2;
  display: flex; justify-content: space-between; align-items: end;
  font-family: var(--mono); font-size: 10px;
  text-transform: uppercase; letter-spacing: 0.05em;
  color: rgba(255,255,255,0.95);
  font-weight: 600;
}
.gs-painted-info {
  padding: 14px;
  display: grid; gap: 8px;
  border-top: 1px solid var(--hair);
}
.gs-painted-title {
  font-family: var(--serif); font-weight: 600; font-size: 16px; line-height: 1.25;
  margin: 0; color: var(--ink);
  letter-spacing: -0.005em;
  text-wrap: pretty;
}
.gs-painted-meta {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--mono); font-size: 10px;
  text-transform: uppercase; letter-spacing: 0.04em;
  color: var(--ink-3);
}
.gs-painted-meta strong { color: var(--ink); font-weight: 600; }
.gs-painted-stats {
  display: flex; gap: 12px;
}
.gs-painted-card:hover .gs-painted-img::after {
  background: linear-gradient(180deg, transparent 40%, rgba(21,24,26,0.28));
}

/* ─── painted: Instagram embeds ────────────────────────────────── */
/* Official IG embeds have a hard 326px min-width, so we auto-fit columns
   to that floor rather than forcing a fixed 4-up like .gs-painted. */
.gs-painted-ig {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(326px, 1fr));
  gap: 16px;
  align-items: start;
}
.gs-painted-ig .instagram-media {
  margin: 0 !important;          /* override embed.js's injected inline margin */
  min-width: 0 !important;
}

/* ─── news feed ────────────────────────────────────────────────── */
.gs-news {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap-col);
}
.gs-news-lead {
  border-right: 1px solid var(--hair);
  padding-right: var(--gap-col);
  display: grid; gap: 16px; align-content: start;
}
.gs-news-lead-img {
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, var(--ink) 0%, var(--ink-2) 100%);
  position: relative;
  overflow: hidden;
}
.gs-news-lead-img::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(45deg,
      rgba(255,255,255,0.04) 0 2px, transparent 2px 16px),
    radial-gradient(circle at 70% 40%,
      color-mix(in oklch, var(--goblin) 55%, transparent) 0%, transparent 50%);
}
.gs-news-lead-img-mark {
  position: absolute; inset: 0;
  display: flex; align-items: end; padding: 18px;
  font-family: var(--mono); font-size: 10px;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.1em; text-transform: uppercase;
}
.gs-news-lead-headline {
  font-family: var(--serif); font-weight: 800;
  font-size: 34px; line-height: 1.05; letter-spacing: -0.02em;
  margin: 0; color: var(--ink);
  text-wrap: pretty;
}
.gs-news-lead-snippet {
  font-family: var(--serif); font-size: 17px; line-height: 1.5;
  color: var(--ink-2); margin: 0;
  text-wrap: pretty;
}
.gs-news-lead .gs-news-byline { padding-top: 8px; border-top: 1px solid var(--hair); }
.gs-news-byline {
  display: flex; gap: 12px; align-items: center;
  font-family: var(--mono); font-size: 11px; color: var(--ink-3);
  text-transform: uppercase; letter-spacing: 0.05em;
}
.gs-news-byline strong { color: var(--ink); font-weight: 600; }

.gs-news-list { display: grid; gap: 0; }
.gs-news-item {
  display: grid; grid-template-columns: 120px 1fr; gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--hair);
  transition: background .15s;
}
.gs-news-item:first-child { padding-top: 0; }
.gs-news-item:last-child { border-bottom: 0; padding-bottom: 0; }
.gs-news-item:hover { background: var(--paper-2); margin: 0 -8px; padding-left: 8px; padding-right: 8px; }
.gs-news-thumb {
  aspect-ratio: 4 / 3;
  background: var(--paper-3);
  position: relative; overflow: hidden;
}
.gs-news-thumb::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(135deg,
      rgba(0,0,0,0.06) 0 1px, transparent 1px 6px);
}
.gs-news-thumb-mark {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-size: 9px;
  color: var(--ink-3); letter-spacing: 0.1em; text-transform: uppercase;
}
.gs-news-headline {
  font-family: var(--serif); font-weight: 700;
  font-size: 19px; line-height: 1.2; letter-spacing: -0.01em;
  margin: 0 0 6px; color: var(--ink);
  text-wrap: pretty;
  transition: color .15s;
}
.gs-news-item:hover .gs-news-headline { color: var(--goblin-deep); }
.gs-news-snippet {
  font-family: var(--sans); font-size: 13px; line-height: 1.5;
  color: var(--ink-3); margin: 0 0 8px;
  text-wrap: pretty;
}

/* ─── live feed: real WHC articles + Valrak videos ─────────────── */
/* News items/lead are anchor tags when they link out — reset link styling. */
.gs-news-lead-link,
a.gs-news-item {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
.gs-news-lead-link {
  display: grid;
  gap: 16px;
  align-content: start;
}

/* Real video thumbnail fills the framed box; hide the placeholder hatch on it. */
.gs-feed-thumb-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  z-index: 1;
}
.gs-news-lead-img.has-img::before,
.gs-news-thumb.has-img::before { display: none; }

/* Article tiles have no source image — give them a branded plate instead. */
.gs-news-thumb.is-article {
  background: var(--goblin-soft);
}
.gs-news-thumb.is-article::before {
  background-image:
    repeating-linear-gradient(135deg,
      color-mix(in oklch, var(--goblin) 12%, transparent) 0 1px, transparent 1px 7px);
}
.gs-feed-thumb-mark {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: end;
  justify-content: start;
  padding: 8px;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  pointer-events: none;
}
.gs-news-thumb.is-article .gs-feed-thumb-mark { color: var(--goblin-deep); }
.gs-news-thumb.is-video  .gs-feed-thumb-mark,
.gs-news-lead-img .gs-feed-thumb-mark {
  color: rgba(255,255,255,0.7);
  text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}
.gs-news-lead-img-mark { z-index: 2; }

/* Kind badge (top-left of the thumbnail). */
.gs-feed-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 3;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 3px 7px;
  border-radius: 2px;
}
.gs-feed-badge.is-video   { background: var(--rust);   color: var(--paper); }
.gs-feed-badge.is-article { background: var(--goblin); color: var(--paper); }

/* Inline kind tag for list items. */
.gs-news-tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 2px 6px;
  border-radius: 2px;
  margin-bottom: 6px;
}
.gs-news-tag.is-video   { background: color-mix(in oklch, var(--rust) 14%, var(--paper)); color: var(--rust); }
.gs-news-tag.is-article { background: var(--goblin-soft); color: var(--goblin-ink); }

/* Play button overlay on video thumbnails. */
.gs-play {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: color-mix(in oklch, var(--ink) 76%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .15s, background .15s;
}
.gs-news-lead-link:hover .gs-play,
a.gs-news-item:hover .gs-play {
  background: var(--rust);
  transform: translate(-50%, -50%) scale(1.06);
}
.gs-play-tri {
  width: 0;
  height: 0;
  margin-left: 4px;
  border-left: 16px solid var(--paper);
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
}
.gs-news-thumb .gs-play { width: 30px; height: 30px; }
.gs-news-thumb .gs-play-tri {
  border-left-width: 9px;
  border-top-width: 6px;
  border-bottom-width: 6px;
  margin-left: 2px;
}

/* ─── main grid ────────────────────────────────────────────────── */
.gs-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 48px;
}

/* ─── sidebar ──────────────────────────────────────────────────── */
.gs-side {
  padding: var(--pad-section) 0;
  display: grid; gap: 36px;
  align-content: start;
  border-left: 1px solid var(--hair);
  padding-left: 32px;
}
.gs-side-block { display: grid; gap: 14px; }
.gs-side-h {
  font-family: var(--serif); font-weight: 800;
  font-size: 18px; line-height: 1; margin: 0;
  padding-bottom: 8px; border-bottom: 1px solid var(--ink);
  display: flex; justify-content: space-between; align-items: baseline;
}
.gs-side-h-num {
  font-family: var(--mono); font-size: 10px;
  color: var(--ink-3); font-weight: 700;
  letter-spacing: 0.06em;
}

.gs-release {
  display: grid; grid-template-columns: 48px 1fr auto; gap: 12px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--hair);
  align-items: center;
}
.gs-release:last-child { border-bottom: 0; }
.gs-release-date {
  font-family: var(--mono); font-size: 11px; font-weight: 700;
  color: var(--ink); text-align: center; line-height: 1.1;
}
.gs-release-date span { display: block; font-size: 9px; color: var(--ink-3); font-weight: 500; }
.gs-release-title {
  font-family: var(--sans); font-size: 13px; font-weight: 500;
  line-height: 1.25; color: var(--ink);
}
.gs-release-state {
  font-family: var(--mono); font-size: 9px; color: var(--ink-3);
  text-transform: uppercase; letter-spacing: 0.04em;
  display: block; margin-top: 2px;
}
.gs-release-swatch {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--gs-c, var(--silver));
}

/* ─── release calendar band (full-width, below the hero) ────────── */
.gs-release-band {
  padding: var(--pad-section) 0;
  border-bottom: 1px solid var(--hair);
}
.gs-release-band-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 0 var(--gap-col);
}
/* the band lays rows out in columns, so drop the sidebar's per-row
   bottom rule and let the grid gap do the spacing */
.gs-release-band-grid .gs-release {
  border-bottom: 0;
  padding: 12px 0;
}
/* live release rows: link affordance + marquee box-set callout */
a.gs-release.is-link:hover .gs-release-title { color: var(--goblin-deep); text-decoration: underline; }
.gs-release-band-grid .gs-release.is-featured {
  grid-column: 1 / -1;
  margin: 4px 0;
  padding: 14px 16px;
  border: 1px solid var(--goblin);
  border-left: 3px solid var(--goblin);
  border-radius: 4px;
  background: var(--goblin-soft);
}
.gs-release.is-featured .gs-release-title { font-size: 15px; font-weight: 700; }
.gs-release-badge {
  display: inline-block; vertical-align: middle; margin-left: 8px;
  padding: 2px 6px; border-radius: 2px;
  font-family: var(--mono); font-size: 9px; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--paper); background: var(--goblin-deep);
}

.gs-painter {
  display: grid; grid-template-columns: 22px 1fr auto auto; gap: 12px;
  padding: 8px 0;
  border-bottom: 1px dashed var(--hair);
  align-items: center;
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.02em;
}
.gs-painter:last-child { border-bottom: 0; }
.gs-painter-rank {
  font-weight: 700; color: var(--ink-3);
  font-variant-numeric: tabular-nums;
}
.gs-painter-handle { color: var(--ink); font-weight: 600; }
.gs-painter-score { color: var(--ink-3); font-variant-numeric: tabular-nums; }
.gs-painter-change { font-weight: 700; color: var(--goblin-deep); }

.gs-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.gs-tag {
  font-family: var(--mono); font-size: 11px;
  padding: 4px 8px; border: 1px solid var(--hair); border-radius: 2px;
  color: var(--ink-2);
  transition: background .15s, color .15s, border-color .15s;
}
.gs-tag:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* ─── goblin sez widget (loud mode only) ───────────────────────── */
.gs-goblin-sez {
  position: relative;
  background: var(--ink);
  color: var(--paper);
  padding: 18px 18px 18px 64px;
  border-radius: 2px;
  font-family: var(--serif); font-style: italic;
  font-size: 15px; line-height: 1.4;
  letter-spacing: -0.005em;
}
.gs-goblin-sez svg {
  position: absolute; top: 14px; left: 14px;
  width: 38px; height: 38px;
}
.gs-goblin-sez-attr {
  display: block; margin-top: 8px;
  font-family: var(--mono); font-style: normal; font-size: 10px;
  color: var(--goblin); text-transform: uppercase; letter-spacing: 0.08em;
}
.gs-goblin-sez::before {
  content: ""; position: absolute;
  top: 28px; left: -7px;
  width: 14px; height: 14px;
  background: var(--ink);
  transform: rotate(45deg);
}

/* ─── footer ───────────────────────────────────────────────────── */
.gs-foot {
  background: var(--ink);
  color: var(--paper);
  padding: 56px 0 32px;
  border-top: 1px solid var(--ink);
}
.gs-foot .gs-container {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}
.gs-foot-brand .gs-wordmark { color: var(--paper); }
.gs-foot-brand p {
  font-family: var(--serif); font-size: 15px; line-height: 1.5;
  color: var(--silver); max-width: 36ch;
  margin: 16px 0 0;
}
.gs-foot-col-h {
  font-family: var(--mono); font-size: 10px;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--silver-deep); font-weight: 700;
  margin: 0 0 12px;
}
.gs-foot-col a {
  display: block; padding: 5px 0;
  font-family: var(--sans); font-size: 13px;
  color: var(--paper); opacity: 0.78;
  transition: color .15s, opacity .15s;
}
.gs-foot-col a:hover { color: var(--goblin); opacity: 1; }
.gs-foot-base {
  margin-top: 40px; padding-top: 24px;
  border-top: 1px solid color-mix(in oklch, var(--paper) 12%, transparent);
  display: flex; justify-content: space-between;
  font-family: var(--mono); font-size: 10px; color: var(--silver-deep);
  text-transform: uppercase; letter-spacing: 0.06em;
}

/* ─── modal ────────────────────────────────────────────────────── */
.gs-modal-veil {
  position: fixed; inset: 0; z-index: 1000;
  background: color-mix(in oklch, var(--ink) 60%, transparent);
  backdrop-filter: blur(4px) saturate(120%);
  display: flex; align-items: center; justify-content: center;
  padding: 40px;
  animation: gs-fadein .2s ease;
}
@keyframes gs-fadein { from { opacity: 0; } to { opacity: 1; } }
.gs-modal {
  background: var(--paper);
  width: 100%; max-width: 820px;
  max-height: 90vh; overflow: auto;
  border: 1px solid var(--ink);
  display: grid;
  animation: gs-slideup .25s cubic-bezier(.2,.7,.3,1);
}
@keyframes gs-slideup { from { transform: translateY(12px); opacity: 0; } to { transform: none; opacity: 1; } }
.gs-modal-h {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid var(--ink);
  font-family: var(--mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--ink-3);
}
.gs-modal-x {
  width: 28px; height: 28px; display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--hair); border-radius: 2px;
  font-family: var(--mono); font-size: 14px;
  transition: background .15s, border-color .15s, color .15s;
}
.gs-modal-x:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.gs-modal-body { padding: 28px 32px 32px; }

/* rumor modal */
.gs-modal-kicker {
  font-family: var(--mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--goblin-deep); font-weight: 700;
  margin-bottom: 12px;
}
.gs-modal-title {
  font-family: var(--serif); font-weight: 800;
  font-size: 32px; line-height: 1.08; letter-spacing: -0.02em;
  margin: 0 0 16px; color: var(--ink);
  text-wrap: pretty;
}
.gs-modal-blurb {
  font-family: var(--serif); font-size: 17px; line-height: 1.55;
  color: var(--ink-2); margin: 0 0 24px;
  text-wrap: pretty;
}
.gs-modal-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--hair);
  border-bottom: 1px solid var(--hair);
  margin: 0 0 24px;
}
.gs-modal-cell {
  padding: 14px 0;
  border-right: 1px solid var(--hair);
  display: grid; gap: 4px;
}
.gs-modal-cell:last-child { border-right: 0; }
.gs-modal-cell-l {
  font-family: var(--mono); font-size: 10px; color: var(--ink-3);
  text-transform: uppercase; letter-spacing: 0.06em; font-weight: 700;
}
.gs-modal-cell-v {
  font-family: var(--serif); font-size: 20px; font-weight: 700;
  color: var(--ink); letter-spacing: -0.01em;
}
.gs-modal-section {
  padding: 18px 0;
  border-top: 1px solid var(--hair);
}
.gs-modal-section-h {
  font-family: var(--mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.06em; font-weight: 700;
  color: var(--ink-3); margin: 0 0 10px;
}
.gs-evidence-item {
  display: grid; grid-template-columns: 60px 1fr auto; gap: 14px;
  padding: 10px 0; border-bottom: 1px dashed var(--hair);
  align-items: center;
  font-family: var(--mono); font-size: 11px; color: var(--ink-3);
}
.gs-evidence-item:last-child { border-bottom: 0; }
.gs-evidence-thumb {
  width: 60px; height: 40px;
  background: var(--paper-3); border: 1px solid var(--hair);
  font-size: 9px; color: var(--ink-4);
  display: flex; align-items: center; justify-content: center;
  letter-spacing: 0.1em;
}
.gs-evidence-text { color: var(--ink); font-family: var(--sans); font-size: 13px; }
.gs-evidence-time { color: var(--ink-4); font-variant-numeric: tabular-nums; }

/* painted modal */
.gs-modal-painted {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 0;
}
.gs-modal-painted .gs-painted-img { aspect-ratio: 4 / 5; border-right: 1px solid var(--ink); }
.gs-modal-painted-side { padding: 28px 32px; display: grid; gap: 18px; align-content: start; }

/* ─── mascot intensities (loud-only chrome) ────────────────────── */
.gs-loud .gs-hero-headline em { color: var(--goblin); }
.gs-loud .gs-mast { border-bottom-color: var(--goblin-deep); border-bottom-width: 3px; }
.gs-loud .gs-wordmark-dot {
  width: 18px; height: 18px;
  background: var(--goblin);
  box-shadow: 0 0 0 3px color-mix(in oklch, var(--goblin) 25%, transparent);
}
.gs-loud .gs-section-h { border-bottom-color: var(--goblin-deep); }
.gs-loud .gs-hero { border-bottom-color: var(--goblin-deep); border-bottom-width: 2px; }

.gs-off .gs-meta-dot { background: var(--ink-3); box-shadow: none; }
.gs-off .gs-nav-pulse { background: var(--ink-3); animation: none; }
.gs-off .gs-wordmark-dot { background: var(--ink); }
.gs-off .gs-pinned-pill { background: var(--ink); }
.gs-off .gs-kicker { color: var(--ink); }
.gs-off .gs-kicker::before { background: var(--ink); }
.gs-off .gs-hero-headline em { color: var(--ink); font-style: normal; }
.gs-off .gs-confidence-fill { background: var(--ink); }
.gs-off .gs-section-num,
.gs-off .gs-section-sub a:hover { color: var(--ink); }
.gs-off .gs-rail-h span:last-child { color: var(--ink-3); }
.gs-off .gs-rail-item:hover .gs-rail-item-headline { color: var(--ink); }
.gs-off .gs-rumor-row:hover .gs-rumor-title { color: var(--ink); }
.gs-off .gs-rumor-row.is-pinned { background: var(--paper-2); }
.gs-off .gs-rumor-row.is-pinned::before { background: var(--ink); }
.gs-off .gs-news-item:hover .gs-news-headline { color: var(--ink); }
.gs-off .gs-foot-col a:hover { color: var(--paper); }
.gs-off .gs-painter-change { color: var(--ink); }
.gs-off .gs-source-kind--official { color: var(--ink); }
.gs-off .gs-modal-kicker { color: var(--ink); }
.gs-off .gs-nav-item.is-active::after { background: var(--ink); }
.gs-off .gs-ticker-tag { color: var(--ink); }

/* ═══ Responsive / mobile ═════════════════════════════════════════════
   Mobile-friendliness layer. Desktop layout (≥ 901px) is unchanged; the
   rules below only take effect at narrower widths. */

/* ── Tablet and below (≤ 900px) ── */
@media (max-width: 900px) {
  .gs-container { padding: 0 20px; }

  /* Primary nav: 7 items + meta are ~900px wide and would push the whole
     page sideways. Turn the bar into a horizontal scroll strip and drop
     the right-hand meta. We scroll the inner .gs-container (not the sticky
     .gs-nav itself) so the bar stays pinned to the top while scrolling. */
  .gs-nav .gs-container {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
  }
  .gs-nav .gs-container::-webkit-scrollbar { display: none; }
  .gs-nav-item { flex: 0 0 auto; white-space: nowrap; }
  .gs-nav-item.is-active::after { bottom: 0; }   /* keep underline from being clipped */
  .gs-nav-grow, .gs-nav-meta { display: none; }

  /* main content + sidebar -> single column (sidebar drops below).
     Drop the sidebar's left divider + indent now that it's no longer
     sitting in the right-hand column. */
  .gs-main { grid-template-columns: 1fr; gap: 36px; }
  .gs-side { gap: 28px; border-left: 0; padding-left: 0; }

  /* hero splits into one column; the rail swaps its left divider for a
     top one so it reads as a section beneath the lead. */
  .gs-hero .gs-container { grid-template-columns: 1fr; gap: 24px; }
  .gs-hero-rail {
    border-left: 0; padding-left: 0;
    border-top: 1px solid var(--hair); padding-top: 24px;
  }

  /* four-up grids -> two-up */
  .gs-painted,
  .gs-modal-grid { grid-template-columns: 1fr 1fr; }
  .gs-foot .gs-container { grid-template-columns: 1fr 1fr; gap: 28px; }
}

/* ── Phones (≤ 560px) ── */
@media (max-width: 560px) {
  .gs-container { padding: 0 16px; }

  /* top meta bar: wrap instead of a fixed 32px row */
  .gs-meta .gs-container { flex-wrap: wrap; height: auto; gap: 4px 14px; padding-top: 6px; padding-bottom: 6px; }
  .gs-meta-left, .gs-meta-right { flex-wrap: wrap; gap: 8px 12px; }

  /* hide the "Live · <date>" block on mobile */
  .gs-meta-left { display: none; }

  /* masthead: stack + center, logo on top, controls allowed to wrap */
  .gs-mast .gs-container { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 14px; }
  .gs-wordmark { font-size: 32px; order: -1; }
  .gs-mast-l, .gs-mast-r { justify-content: center; }
  .gs-mast-r { flex-wrap: wrap; }

  /* scale big display type down */
  .gs-hero-headline { font-size: clamp(28px, 8vw, 40px); }
  .gs-news-lead-headline { font-size: 26px; }
  .gs-modal-title { font-size: 24px; }

  /* hero meta + section headers: wrap/stack instead of overflowing */
  .gs-hero-meta { flex-wrap: wrap; gap: 8px 14px; }
  .gs-section-h { flex-direction: column; align-items: flex-start; gap: 8px; }
  .gs-section-sub { flex-wrap: wrap; }

  /* collapse remaining multi-column grids */
  .gs-painted,
  .gs-painted-ig,
  .gs-modal-grid,
  .gs-news,
  .gs-modal-painted { grid-template-columns: 1fr; }
  .gs-foot .gs-container { grid-template-columns: 1fr; gap: 24px; }

  /* news lead: swap its right divider for a bottom one when stacked */
  .gs-news-lead { border-right: 0; padding-right: 0; border-bottom: 1px solid var(--hair); padding-bottom: 24px; }

  /* news item: image stacks above text, kept small so the placeholder
     gradient doesn't become a giant block on each row */
  .gs-news-item { grid-template-columns: 1fr; gap: 10px; }
  .gs-news-thumb { max-width: 160px; }

  /* rumor row -> stacked card: votes pinned left, content stacked right.
     age/comments columns hidden (that data is already in the meta line) */
  .gs-rumor-row {
    grid-template-columns: 30px 1fr;
    gap: 6px 12px;
    align-items: start;
  }
  .gs-rumor-votes     { grid-column: 1; grid-row: 1 / span 3; }
  .gs-rumor-main      { grid-column: 2; grid-row: 1; }
  .gs-source          { grid-column: 2; grid-row: 2; }
  .gs-confidence-cell { grid-column: 2; grid-row: 3; min-width: 0; }
  .gs-rumor-age, .gs-rumor-comments { display: none; }

  /* modal: tighter veil + body so it isn't a sliver on a phone */
  .gs-modal-veil { padding: 12px; }
  .gs-modal-body { padding: 20px; }
  /* stacked stat grid: swap right dividers for bottom dividers */
  .gs-modal-grid .gs-modal-cell { border-right: 0; border-bottom: 1px dashed var(--hair); padding: 12px 0 !important; }
  .gs-modal-grid .gs-modal-cell:last-child { border-bottom: 0; }
  /* painted modal: image stacks above the details */
  .gs-modal-painted .gs-painted-img { aspect-ratio: 4 / 3; border-right: 0; border-bottom: 1px solid var(--ink); }
  .gs-modal-painted-side { padding: 20px; }
}
