/* ============================================================
   fcc.cc · /news/ — Penny Press
   Layered on top of commons.css + fcc-editorial-tokens.css.
   Sourced from design_handoff_news/news.reference.css
   (.news-mock canvas scoping stripped for live use).
   ============================================================ */

/* When the mobile reflow is active (news-mobile.js sets
   body[data-news-mode="mobile"]), hide the desktop chrome so the
   .news-mobile root owns the whole viewport. See news-mobile.css. */
body[data-news-mode="mobile"] [data-commons-shell="topbar"],
body[data-news-mode="mobile"] .news-mast,
body[data-news-mode="mobile"] .news-meta-strip,
body[data-news-mode="mobile"] .news-subnav,
body[data-news-mode="mobile"] .cat-strip,
body[data-news-mode="mobile"] .topics-strip,
body[data-news-mode="mobile"] #mainContent,
body[data-news-mode="mobile"] .fineprint,
body[data-news-mode="mobile"] .scroll-top-btn,
body[data-news-mode="mobile"] .footer-access-btn,
body[data-news-mode="mobile"] .collapse-article-btn,
body[data-news-mode="mobile"] .skip-link { display: none !important; }

body[data-commons-page="news"] {
  --serif: "Source Serif 4", Charter, "Iowan Old Style", Georgia, serif;
  --sans:  "Inter", -apple-system, system-ui, sans-serif;
  --mono:  "JetBrains Mono", ui-monospace, Menlo, monospace;
  --maxw:  1280px;
  --gutter: 32px;

  --paper:    #0d0e10;
  --paper-2:  #15171a;
  --paper-3:  #1d2024;
  --ink:      #efe7d6;
  --ink-2:    #c8c0b0;
  --ink-3:    #8a8276;
  --ink-4:    #5a564e;
  --rule:     #2a2825;
  --rule-2:   color-mix(in srgb, #2a2825 70%, transparent);
  --accent:   #d4593f;
  --accent-2: #e87a5e;
  --accent-wash: color-mix(in srgb, #d4593f 14%, transparent);
  --accent-ink:  #0d0e10;
  --good:     #6fa66c;
  --bad:      #b0594a;
  --whisker-w: 56px;
  --whisker-h: 3px;

  font-family: var(--serif);
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body[data-commons-page="news"] *,
body[data-commons-page="news"] *::before,
body[data-commons-page="news"] *::after { box-sizing: border-box; }
body[data-commons-page="news"] a { color: inherit; text-decoration: none; }
:where(body[data-commons-page="news"] button) { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }

/* ============================================================
   News masthead
   ============================================================ */
.news-mast {
  padding: 28px var(--gutter) 22px;
  border-bottom: 3px double var(--ink);
  background: var(--paper);
}
.news-mast-inner {
  max-width: var(--maxw);
  margin: 0 auto;
}
.news-mast .top-line {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 24px;
  margin-bottom: 14px;
}
.news-mast .eyebrow {
  font-family: var(--sans);
  font-size: 10.5px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.news-mast .eyebrow .accent { color: var(--accent); font-weight: 600; }
.news-mast .eyebrow .sep { color: var(--rule); margin: 0 10px; }
.news-mast .edition {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-3);
  letter-spacing: 0.06em;
}
.news-mast h1 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 900;
  font-style: italic;
  font-size: clamp(56px, 7vw, 88px);
  letter-spacing: -0.025em;
  line-height: 0.95;
  color: var(--ink);
  text-align: center;
}
.news-mast .tagline {
  margin-top: 12px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 16px;
  color: var(--ink-2);
  text-align: center;
}

/* Meta strip below masthead */
.news-meta-strip {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 16px var(--gutter);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 28px;
  border-bottom: 1px solid var(--rule);
  font-family: var(--sans);
}
.news-meta-strip .col .k {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 4px;
  font-weight: 500;
}
.news-meta-strip .col .v {
  font-family: var(--mono);
  font-size: 13.5px;
  color: var(--ink);
  letter-spacing: 0.02em;
}
.news-meta-strip .col .v .accent { color: var(--accent); }
.news-meta-strip .col .v.serif {
  font-family: var(--serif);
  font-size: 16px;
  font-style: italic;
  letter-spacing: 0;
}

/* ============================================================
   Sub-nav — view tabs + utility
   ============================================================ */
.news-subnav {
  border-bottom: 1px solid var(--ink);
  background: var(--paper);
}
.news-subnav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: stretch;
  font-family: var(--sans);
}
.news-subnav .tab {
  padding: 14px 22px;
  color: var(--ink-3);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-bottom: 3px solid transparent;
  margin-bottom: -1px;
  cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px;
}
.news-subnav .tab:hover { color: var(--ink); }
.news-subnav .tab[aria-current="page"],
.news-subnav .tab[data-active="1"] {
  color: var(--ink);
  border-bottom-color: var(--accent);
}
.news-subnav .tab .count {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--ink-4);
  letter-spacing: 0.02em;
  font-weight: 500;
  background: var(--paper-2);
  padding: 2px 6px;
  border-radius: 2px;
  text-transform: none;
}
.news-subnav .spacer { flex: 1; }
.news-subnav .utility {
  display: flex; align-items: center; gap: 18px;
  padding: 10px 0;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--ink-3);
}
.news-subnav .utility .sep { color: var(--rule); }
.news-subnav .utility .badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--mono);
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  padding: 4px 9px;
  border: 1px solid var(--rule);
  color: var(--ink-2);
}
.news-subnav .utility .badge.ok { border-color: var(--rule); color: var(--ink-2); }
.news-subnav .utility .badge.ok::before {
  content: "";
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--good);
}
.news-subnav .utility .badge.warn { border-color: var(--accent); color: var(--accent); }
.news-subnav .utility .badge.warn::before {
  content: "";
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
}
.news-subnav .utility .badge.fail { border-color: var(--bad); color: var(--bad); }
.news-subnav .utility .badge.fail::before {
  content: "";
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--bad);
}

/* ============================================================
   Category strip (below sub-nav, above content)
   ============================================================ */
.cat-strip {
  border-bottom: 1px solid var(--rule);
  background: var(--paper);
}
.cat-strip-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 12px var(--gutter);
  display: flex;
  align-items: center;
  gap: 4px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.cat-strip-inner::-webkit-scrollbar { display: none; }
.cat-strip .label {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 600;
  margin-right: 14px;
  white-space: nowrap;
}
.cat-chip {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
  padding: 6px 12px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 2px;
  cursor: pointer;
  white-space: nowrap;
}
.cat-chip:hover { color: var(--ink); }
.cat-chip[aria-current="true"],
.cat-chip.active {
  color: var(--accent);
  border-color: var(--accent);
}

/* ============================================================
   News content area
   ============================================================ */
.news-page {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 36px var(--gutter) 80px;
}

/* ── Featured story (broadsheet hero) ────────────────────── */
.featured-story-card {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 40px;
  align-items: start;
  border-bottom: 3px double var(--ink);
  padding-bottom: 36px;
  margin-bottom: 36px;
}
.featured-story-media {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--paper-2);
  border: 1px solid var(--rule);
}
.featured-story-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.featured-story-media::before {
  content: "";
  position: absolute; inset: 14px;
  border: 1px dashed var(--rule);
  pointer-events: none;
  z-index: 1;
}
.featured-story-media.fcc-ph {
  background:
    radial-gradient(circle at 30% 30%, color-mix(in srgb, var(--accent) 18%, transparent), transparent 60%),
    linear-gradient(135deg, var(--paper-3), #0a0b0d);
  display: grid; place-items: center;
}
.featured-story-fallback {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 900;
  font-size: 96px;
  letter-spacing: -0.03em;
  color: var(--ink);
  position: relative;
  z-index: 2;
}
.featured-story-media .kicker-overlay {
  position: absolute;
  top: 16px; left: 16px;
  font-family: var(--mono);
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  padding: 5px 9px;
  background: var(--accent);
  color: var(--accent-ink);
  z-index: 2;
}
.featured-story-media.has-video {
  aspect-ratio: auto;
  overflow: visible;
  border: none;
  background: transparent;
}
.featured-story-media.has-video::before { display: none; }
.featured-story-media .featured-story-video {
  display: block;
  width: 100%;
  aspect-ratio: 16/9;
  background: #000;
  border: 1px solid var(--rule);
}
.featured-story-video-attrib {
  margin-top: 10px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: var(--ink-3);
}
.featured-story-video-attrib a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid color-mix(in srgb, var(--accent) 40%, transparent);
}
.featured-story-video-attrib a:hover { border-bottom-color: var(--accent); }

/* Embed-link video (e.g. ProPublica documentary): the clip isn't self-hosted,
   so the poster image doubles as a "Watch the documentary" card linking out to
   YouTube/Vimeo. Nothing loads from the video host until the reader clicks. */
.featured-story-media.has-embed-video { cursor: pointer; }
.featured-video-cta {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #fff;
  background:
    radial-gradient(circle at 50% 42%, rgba(0,0,0,.16), rgba(0,0,0,.46) 70%),
    linear-gradient(to top, rgba(0,0,0,.74), rgba(0,0,0,.04) 44%);
  transition: background .18s ease;
}
.featured-video-cta:hover,
.featured-video-cta:focus-visible {
  outline: none;
  background:
    radial-gradient(circle at 50% 42%, rgba(0,0,0,.08), rgba(0,0,0,.40) 70%),
    linear-gradient(to top, rgba(0,0,0,.80), rgba(0,0,0,.06) 44%);
}
.featured-video-cta-play {
  width: 74px; height: 74px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 27px; line-height: 1;
  padding-left: 5px; /* optical-center the ▶ glyph */
  box-shadow: 0 6px 26px rgba(0,0,0,.45);
  transition: transform .18s ease, box-shadow .18s ease;
}
.featured-video-cta:hover .featured-video-cta-play,
.featured-video-cta:focus-visible .featured-video-cta-play {
  transform: scale(1.07);
  box-shadow: 0 9px 32px rgba(0,0,0,.55);
}
.featured-video-cta:focus-visible .featured-video-cta-play {
  outline: 3px solid #fff; outline-offset: 3px;
}
.featured-video-cta-label {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 16px 18px;
  display: flex; flex-direction: column; gap: 2px;
}
.featured-video-cta-label strong {
  font-family: var(--serif);
  font-size: 18px; font-weight: 800;
  letter-spacing: -0.01em;
  text-shadow: 0 1px 8px rgba(0,0,0,.65);
}
.featured-video-cta-sub {
  font-family: var(--mono);
  font-size: 10.5px; letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.88);
  text-shadow: 0 1px 6px rgba(0,0,0,.65);
}
@media (prefers-reduced-motion: reduce) {
  .featured-video-cta, .featured-video-cta-play { transition: none; }
  .featured-video-cta:hover .featured-video-cta-play { transform: none; }
}

.featured-story-copy { min-width: 0; }
.featured-story-kicker {
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
/* Shown on a deep-linked story pulled from the archive (old, out of view). */
.featured-archived-badge {
  display: inline-block;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-wash, rgba(212, 89, 63, 0.14));
  border: 1px solid color-mix(in srgb, var(--accent) 38%, transparent);
  border-radius: 999px;
  padding: 3px 10px;
  margin: -2px 0 14px;
}
/* Dismissible notice when a deep link resolves to nothing (removed/unknown). */
.news-deeplink-miss {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 8px 0 16px;
  padding: 10px 14px;
  border: 1px solid color-mix(in srgb, var(--accent) 30%, var(--rule, rgba(255,255,255,0.14)));
  border-radius: 10px;
  background: var(--accent-wash, rgba(212, 89, 63, 0.10));
  font-family: var(--sans);
  font-size: 14px;
  color: var(--ink-2, var(--ink));
}
.news-deeplink-miss-text { flex: 1 1 auto; min-width: 220px; }
.news-deeplink-miss-search {
  flex: 0 0 auto;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background: transparent;
  border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent);
  border-radius: 999px;
  padding: 6px 12px;
  cursor: pointer;
  transition: background .14s ease, color .14s ease;
}
.news-deeplink-miss-search:hover,
.news-deeplink-miss-search:focus-visible {
  background: var(--accent);
  color: var(--accent-ink, #0d0e10);
  outline: none;
}
.news-deeplink-miss-close {
  flex: 0 0 auto;
  background: transparent;
  border: 0;
  color: var(--ink-3, var(--text-dim));
  cursor: pointer;
  font-size: 14px;
  padding: 4px 6px;
  line-height: 1;
}
.news-deeplink-miss-close:hover { color: var(--ink); }
.featured-story-title {
  display: block;
  font-family: var(--serif);
  font-weight: 800;
  font-size: clamp(34px, 3.4vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-wrap: balance;
  margin-bottom: 16px;
}
.featured-story-title:hover { color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; text-decoration-color: var(--accent); }
.featured-story-meta {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 14px;
}
.featured-story-meta .src { color: var(--accent); font-weight: 600; }
.featured-story-excerpt {
  margin: 0 0 22px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink-2);
  text-wrap: pretty;
}
.featured-story-actions {
  display: flex; gap: 12px;
  margin: 0;
}
.featured-story-actions .featured-story-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 2px;
}
.featured-story-actions .featured-story-link:hover {
  background: var(--accent);
  color: var(--accent-ink);
}

/* ── Section heads inside the list ────────────────────── */
.feed-section-head {
  display: flex; align-items: baseline; justify-content: space-between;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 8px;
  margin-bottom: 24px;
  position: relative;
}
.feed-section-head::after {
  content: "";
  position: absolute;
  left: 0; bottom: -1px;
  height: var(--whisker-h);
  width: var(--whisker-w);
  background: var(--accent);
}
.feed-section-head h2 {
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 700;
  font-size: 28px;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.feed-section-head .hint {
  font-family: var(--sans);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* ============================================================
   Items — tiers
   ============================================================
   Tier 1 (item 0) — wide thumb, large serif headline, dek
   Tier 2 (items 1-3) — 3-col grid, medium cards
   Tier 3 (items 4+) — list rows, 100px thumb left, condensed
   ============================================================ */

.list { display: grid; gap: 0; }

.item {
  display: grid;
  padding: 22px 0;
  border-bottom: 1px solid var(--rule);
  position: relative;
}
.item:last-child { border-bottom: 0; }

/* TIER 1 — top story */
.item.tier-1 {
  grid-template-columns: 1.1fr 1fr;
  gap: 32px;
  padding: 28px 0 32px;
  border-bottom: 3px double var(--rule);
  align-items: start;
}
.item.tier-1 .thumb,
.item.tier-1 .thumb-wrap {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--paper-2);
  border: 1px solid var(--rule);
  position: relative;
}
.item.tier-1 .thumb-wrap::before {
  content: "";
  position: absolute; inset: 10px;
  border: 1px dashed var(--rule);
  pointer-events: none;
}
.item.tier-1 .thumb {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.item.tier-1 .body { padding-top: 4px; }
.item.tier-1 .kicker {
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
.item.tier-1 .t {
  display: block;
  font-family: var(--serif);
  font-weight: 800;
  font-size: clamp(28px, 2.6vw, 38px);
  letter-spacing: -0.015em;
  line-height: 1.1;
  color: var(--ink);
  text-wrap: balance;
}
.item.tier-1 .t .out { color: var(--ink-3); font-size: 0.55em; vertical-align: top; margin-left: 6px; }
.item.tier-1 .e {
  margin-top: 14px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-2);
  text-wrap: pretty;
}

/* TIER 2 — medium grid */
.tier-2-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 28px 0;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--rule);
}
.item.tier-2 {
  display: block;
  padding: 0;
  border: 0;
}
.item.tier-2 .thumb,
.item.tier-2 .thumb-wrap {
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--paper-2);
  border: 1px solid var(--rule);
  margin-bottom: 14px;
  position: relative;
}
.item.tier-2 .thumb-wrap::before {
  content: "";
  position: absolute; inset: 8px;
  border: 1px dashed var(--rule);
}
.item.tier-2 .thumb { width: 100%; height: 100%; object-fit: cover; display: block; }
.item.tier-2 .kicker {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}
.item.tier-2 .t {
  display: block;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 21px;
  line-height: 1.2;
  letter-spacing: -0.005em;
  color: var(--ink);
  text-wrap: pretty;
}
.item.tier-2 .e {
  margin-top: 8px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--ink-3);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* TIER 3 — condensed list */
.item.tier-3 {
  grid-template-columns: 100px 1fr auto;
  gap: 22px;
  align-items: center;
  padding: 16px 0;
}
.item.tier-3 .thumb-wrap,
.item.tier-3 .thumb {
  width: 100px;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--paper-2);
  border: 1px solid var(--rule);
  position: relative;
}
.item.tier-3 .thumb-wrap::before {
  content: "";
  position: absolute; inset: 6px;
  border: 1px dashed var(--rule);
}
.item.tier-3 .thumb {
  display: block; width: 100%; height: 100%;
  object-fit: cover;
}
.item.tier-3 .body { padding: 0; }
.item.tier-3 .kicker {
  font-family: var(--sans);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 4px;
}
.item.tier-3 .t {
  display: block;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 17px;
  line-height: 1.3;
  letter-spacing: -0.005em;
  color: var(--ink);
}
.item.tier-3 .e {
  margin-top: 4px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 13px;
  color: var(--ink-3);
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.item.tier-3 .item-actions { margin-top: 8px; }

/* Item meta + actions (shared across tiers) */
.item .m {
  margin-top: 10px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
  display: flex; align-items: center; gap: 8px;
  flex-wrap: wrap;
}
.item .m .src { color: var(--ink-2); font-weight: 600; }
.item .m .sep { color: var(--rule); }
.item .pill {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 2px 6px;
  border: 1px solid var(--rule);
  color: var(--ink-3);
  font-weight: 500;
}
.item .pill.media-icon-pill {
  font-size: 11px;
  letter-spacing: 0;
  padding: 1px 6px;
}

.item-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  flex-wrap: wrap;
}
.audio-preview-btn,
.audioPreviewBtn,
.audioBtn {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 7px 14px;
  background: transparent;
  border: 1px solid var(--rule);
  color: var(--ink-2);
  border-radius: 2px;
  cursor: pointer;
  transition: border-color 0.14s, background 0.14s, color 0.14s;
}
.audio-preview-btn:hover,
.audioBtn:hover { color: var(--ink); border-color: var(--ink-2); }
.audio-preview-btn[data-active="1"],
.audioBtn[data-active="1"] {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: var(--accent);
}
.audio-preview-btn[data-active="1"]::before,
.audioBtn[data-active="1"]::before {
  content: "■ ";
  font-size: 12px;
  margin-right: 2px;
}
.audio-preview-btn:not([data-active="1"])::before,
.audioBtn:not([data-active="1"])::before {
  content: "▶ ";
  font-size: 11px;
  margin-right: 2px;
}
.chip.reblogBtn,
.reblogBtn,
.expand-article-btn {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 7px 14px;
  background: transparent;
  border: 1px solid var(--rule);
  color: var(--ink-2);
  border-radius: 2px;
  cursor: pointer;
}
.reblogBtn:hover,
.expand-article-btn:hover { color: var(--ink); border-color: var(--ink-2); }

/* Vote control */
.vote {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 11px;
  margin-right: auto;
}
.voteBtn,
.quote-action-btn {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 10px;
  background: transparent;
  border: 1px solid var(--rule);
  color: var(--ink-3);
  border-radius: 2px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.voteBtn:hover { color: var(--ink); border-color: var(--ink-2); }
.voteBtn[data-active="1"][data-dir="up"] {
  color: var(--accent);
  border-color: var(--accent);
}
.voteBtn[data-active="1"][data-dir="down"] {
  color: var(--ink-2);
  border-color: var(--ink-3);
}
.voteBtn .vote-count {
  font-family: var(--mono);
  font-size: 10px;
  opacity: 0.7;
  font-weight: 600;
}
.score,
.app-pill {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 4px 8px;
  border-radius: 2px;
  border: 1px solid var(--rule);
  color: var(--ink-3);
}
.app-pill-positive {
  color: var(--accent);
  border-color: var(--accent);
}
.app-pill-negative {
  color: var(--ink-3);
  border-color: var(--rule);
}
.app-pill-empty {
  color: var(--ink-4);
}
/* Featured byline → author page (?source=X&author=Y) */
.featured-story-meta .featured-byline {
  color: var(--ink-2);
  text-decoration: none;
  border-bottom: 1px dotted var(--rule);
}
.featured-story-meta .featured-byline:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

/* Read-here eligibility marker on unified Top Stories rows */
.rh-pill {
  display: inline-flex;
  align-items: center;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid color-mix(in srgb, var(--accent) 45%, var(--rule));
  border-radius: 999px;
  padding: 2px 7px;
  margin-left: 6px;
}
/* Compact tier-3 rows: zero votes is the overwhelming default, so a "Score 0"
   pill + "Appreciate 0" count on every row is chrome without signal. Hide both
   at zero (the controls reappear as soon as a story has votes); featured and
   tier-1 keep the full readout. */
.item.tier-3 .vote .score.app-pill-empty { display: none; }
.item.tier-3 .vote .voteBtn[data-count="0"] .vote-count { display: none; }

/* Thumb fallbacks */
.thumb.logo {
  width: 100%; height: 100%;
  object-fit: contain;
  padding: 18%;
  background: var(--paper-2);
}
.thumb.ph {
  display: grid; place-items: center;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 900;
  font-size: 32px;
  letter-spacing: -0.02em;
  color: var(--ink-3);
  background: var(--paper-2);
  width: 100%;
  height: 100%;
}

/* ============================================================
   Footer (system status + freshness + about)
   ============================================================ */
.fineprint {
  border-top: 3px double var(--ink);
  padding: 32px var(--gutter);
  background: var(--paper);
}
.fineprint-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.fineprint h4 {
  margin: 0 0 10px;
  font-family: var(--sans);
  font-size: 10.5px; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--ink);
}
.fineprint .freshness-card {
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-2);
}
.fineprint .freshness-card .when {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--ink-3);
  margin-top: 6px;
  font-style: normal;
}
.fineprint .freshness-card.stale .when,
.fineprint .freshness-card.stale { color: var(--accent); }
.fineprint .sources-list {
  list-style: none;
  padding: 0; margin: 0;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-3);
  letter-spacing: 0.04em;
  columns: 2;
  column-gap: 16px;
}
.fineprint .sources-list li {
  padding: 3px 0;
}
.fineprint .sources-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 4px;
}
.fineprint .sources-nav {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: var(--ink-3);
}
.fineprint .sources-nav[hidden] { display: none; }
.fineprint .sources-nav-btn {
  font-family: var(--mono);
  font-size: 14px;
  line-height: 1;
  padding: 2px 8px;
  background: transparent;
  border: 1px solid var(--rule);
  border-radius: 2px;
  color: var(--ink-2);
  cursor: pointer;
}
.fineprint .sources-nav-btn:hover:not(:disabled) {
  color: var(--ink);
  border-color: var(--ink-2);
}
.fineprint .sources-nav-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.fineprint .sources-nav-label {
  min-width: 32px;
  text-align: center;
}
.fineprint .system-status {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--ink-2);
}
.fineprint .system-status .row {
  display: flex; justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px dashed var(--rule-2);
}
.fineprint .system-status .row:last-child { border-bottom: 0; }
.fineprint .system-status .k { color: var(--ink-3); }
.fineprint .system-status .v { color: var(--ink); font-family: var(--mono); font-size: 11px; }
.fineprint .system-status .v.ok::before {
  content: "● ";
  color: var(--good);
}
.fineprint .system-status .v.warn::before {
  content: "● ";
  color: var(--accent);
}
.fineprint .system-status .v.fail::before {
  content: "● ";
  color: var(--bad);
}
.fineprint .colophon {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--rule);
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--ink-4);
  letter-spacing: 0.04em;
  text-align: center;
}

/* ============================================================
   Floating action buttons (footer / back-to-top)
   ============================================================ */
.fab {
  position: fixed;
  bottom: 16px;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 9px 14px;
  background: var(--paper);
  border: 1px solid var(--ink);
  color: var(--ink);
  border-radius: 2px;
  cursor: pointer;
  z-index: 50;
}
.fab:hover { background: var(--ink); color: var(--paper); }
.fab.scroll-top-btn { right: 16px; }
.fab.footer-access-btn { right: 70px; }
/* Collapse affordance for an expanded featured article. Sits bottom-left (clear
   of the TOP/FOOTER cluster and the sitewide right rail). Hidden unless JS adds
   .show — i.e. only while the article is expanded AND its inline "Collapse
   article" toggle has scrolled out of reach. When shown, it renders like any
   other .fab (no display override, so it matches TOP/FOOTER exactly). */
.fab.collapse-article-btn { left: 16px; }
.fab.collapse-article-btn:not(.show) { display: none; }
/* Clear the sitewide right rail (fcc-site-rail.js sets body[data-rail]).
   Rail is 260px expanded / 48px collapsed; hidden at <= 900px viewport. */
body[data-rail="expanded"] .fab.scroll-top-btn    { right: calc(260px + 16px); }
body[data-rail="expanded"] .fab.footer-access-btn { right: calc(260px + 70px); }
body[data-rail="collapsed"] .fab.scroll-top-btn    { right: calc(48px + 16px); }
body[data-rail="collapsed"] .fab.footer-access-btn { right: calc(48px + 70px); }
@media (max-width: 900px) {
  body[data-rail="expanded"] .fab.scroll-top-btn,
  body[data-rail="collapsed"] .fab.scroll-top-btn    { right: 16px; }
  body[data-rail="expanded"] .fab.footer-access-btn,
  body[data-rail="collapsed"] .fab.footer-access-btn { right: 70px; }
}
/* moreBtn / resumeScrollBtn are inline in #moreWrap, not floating */
#moreWrap .fab { position: static; }

/* Light-mode bias for paper presets — Penny Press tokens already swap
   via fcc-editorial-tokens.css under html[data-mode="light"]; this
   section just carries any news-specific overrides. */
html[data-mode="light"] body[data-commons-page="news"] {
  --paper:    #f6f1e6;
  --paper-2:  #ece4d2;
  --paper-3:  #d8cfba;
  --ink:      #1a1816;
  --ink-2:    #3d3a36;
  --ink-3:    #6f6a62;
  --ink-4:    #9d988e;
  --rule:     #c8c0b0;
  --rule-2:   color-mix(in srgb, #c8c0b0 70%, transparent);
  --accent:   #a33827;
  --accent-2: #c2543c;
  --accent-wash: color-mix(in srgb, #a33827 14%, transparent);
  --accent-ink:  #f6f1e6;
}

/* ============================================================
   Accessibility helpers (sr-only / skip-link variants)
   ============================================================ */
.sr-only,
.fcc-sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}

/* ============================================================
   Skeleton loader (initial load)
   ============================================================ */
.skel-wrap { display: grid; gap: 12px; margin-top: 14px; }
.skel-wrap[hidden] { display: none; }
.skel-pulse {
  background: color-mix(in srgb, var(--ink) 8%, transparent);
  border-radius: 2px;
  animation: skelPulse 1.2s ease-in-out infinite;
}
.skel-featured {
  display: grid; gap: 12px;
  border: 1px solid var(--rule);
  padding: 12px;
}
@media (min-width: 860px) {
  .skel-featured { grid-template-columns: minmax(0, 360px) 1fr; }
}
.skel-img { width: 100%; aspect-ratio: 16/9; }
.skel-card {
  display: grid;
  grid-template-columns: 132px 120px 1fr;
  gap: 12px;
  border: 1px solid var(--rule);
  padding: 12px;
  align-items: start;
}
.skel-vote { width: 100%; height: 96px; }
.skel-thumb { width: 100%; aspect-ratio: 3/2; }
.skel-copy { display: grid; gap: 8px; align-self: center; }
.skel-line { height: 14px; }
.skel-w40 { width: 40%; } .skel-w50 { width: 50%; } .skel-w60 { width: 60%; }
.skel-w70 { width: 70%; } .skel-w80 { width: 80%; } .skel-w90 { width: 90%; }
@keyframes skelPulse { 0%, 100% { opacity: .12; } 50% { opacity: .22; } }

/* Slow-fetch loading chip (shown if first fetch > 800ms) */
.news-loading-ping {
  display: flex; align-items: center; gap: 12px;
  margin: 12px auto 18px;
  padding: 10px 18px;
  border: 1px solid var(--rule);
  border-radius: 2px;
  background: var(--paper-2);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-2);
  width: fit-content;
  animation: newsLoadingFadeIn .2s ease-out;
}
.news-loading-ping[hidden] { display: none; }
.news-loading-ping-spinner {
  display: inline-block;
  width: 14px; height: 14px;
  border: 2px solid var(--rule);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: newsLoadingSpin .9s linear infinite;
  flex: 0 0 auto;
}
@keyframes newsLoadingSpin { to { transform: rotate(360deg); } }
@keyframes newsLoadingFadeIn { from { opacity: 0; transform: translateY(-2px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) {
  .news-loading-ping-spinner, .news-loading-ping { animation: none; }
  .skel-pulse { animation: none; }
}

/* ============================================================
   Sub-nav extras — source filter + play headlines
   ============================================================ */
#viewTabs .source-filter-select {
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  border: 1px solid var(--rule);
  border-radius: 2px;
  color: var(--ink-2);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 24px 6px 10px;
  margin-left: 12px;
  cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink-3) 50%),
                    linear-gradient(135deg, var(--ink-3) 50%, transparent 50%);
  background-position: calc(100% - 12px) center, calc(100% - 8px) center;
  background-size: 4px 4px, 4px 4px;
  background-repeat: no-repeat;
}
#viewTabs .source-filter-select:hover { color: var(--ink); border-color: var(--ink-2); }
#viewTabs .source-filter-select option { background: var(--paper); color: var(--ink); }
.play-headlines-btn {
  margin-left: 12px;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 7px 14px;
  background: transparent;
  border: 1px solid var(--rule);
  color: var(--ink-2);
  border-radius: 2px;
  cursor: pointer;
}
.play-headlines-btn:hover { color: var(--ink); border-color: var(--ink-2); }
.play-headlines-btn[data-active="1"] {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: var(--accent);
}

/* Make the sub-nav children flex-friendly (tabs + select + button on one line) */
#viewTabs { display: flex; align-items: center; flex-wrap: wrap; gap: 0; }

/* ============================================================
   Featured-story expanded article reader
   Spans the full width of the broadsheet hero (.featured-story-card
   is a 2-col grid). The reading measure is then re-imposed on each
   top-level child via the `> *` rule below — image + lede stay in
   the hero row, the article unfurls across both columns.
   ============================================================ */
.featured-story-full-content {
  grid-column: 1 / -1;
  max-width: none;
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.72;
  color: var(--ink);
  margin: 32px 0 0;
  padding: 40px 0 0;
  border-top: 3px double var(--ink);
  position: relative;
}
/* Ornament centered on the top double-rule — a printer's pilcrow break. */
.featured-story-full-content::before {
  content: "§";
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--paper);
  padding: 0 18px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 24px;
  line-height: 1;
  color: var(--accent);
}
.featured-story-full-content p { margin: 0 auto 1em; }
.featured-story-full-content * { padding: revert; margin-left: 0; margin-right: 0; max-width: 100%; }
/* Center top-level children in a comfortable reading column. The element-name
   selectors below (p, h1-h6, ul/ol, blockquote, etc.) each beat the universal
   `*` rule's margin-left/right: 0 on specificity (0,1,1 vs 0,1,0). */
.featured-story-full-content > p,
.featured-story-full-content > h1,
.featured-story-full-content > h2,
.featured-story-full-content > h3,
.featured-story-full-content > h4,
.featured-story-full-content > h5,
.featured-story-full-content > h6,
.featured-story-full-content > ul,
.featured-story-full-content > ol,
.featured-story-full-content > blockquote,
.featured-story-full-content > pre,
.featured-story-full-content > figure,
.featured-story-full-content > hr,
.featured-story-full-content > div {
  max-width: 68ch;
  margin-left: auto;
  margin-right: auto;
}
.featured-story-full-content figure,
.featured-story-full-content [class*="block-image"] { margin: 0; padding: 0; }
.featured-story-full-content h1,
.featured-story-full-content h2,
.featured-story-full-content h3,
.featured-story-full-content h4 { margin: 1.6em auto .55em; line-height: 1.25; font-family: var(--serif); font-style: italic; }
.featured-story-full-content h2 { font-size: 24px; }
.featured-story-full-content h3 { font-size: 19px; }
.featured-story-full-content img { max-width: 100%; height: auto; margin: 1em 0; border: 1px solid var(--rule); }
/* Inline links kept for trusted sources (LINK_TRUSTED_SOURCES — e.g. ProPublica)
   must read as links, not body text. Match the editorial accent + hairline
   underline used elsewhere (e.g. video attribution). Only trusted sources have
   anchors here — every other source's are unwrapped to plain text upstream. */
.featured-story-full-content a[href] {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid color-mix(in srgb, var(--accent) 45%, transparent);
  transition: border-color .15s ease;
}
.featured-story-full-content a[href]:hover,
.featured-story-full-content a[href]:focus-visible {
  border-bottom-color: var(--accent);
}
.featured-story-full-content a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.featured-story-full-content a:hover { color: var(--accent-2); }
/* Drop cap on the first paragraph — broadsheet flourish, accent-tinted. */
.featured-story-full-content > p:first-of-type::first-letter {
  float: left;
  font-family: var(--serif);
  font-weight: 800;
  font-style: normal;
  font-size: 68px;
  line-height: 0.86;
  margin: 6px 12px 0 0;
  color: var(--accent);
}
/* Syndication source credit ("This story was originally published by …" + an
   optional author byline), lifted out of the body by fccNewsSourceNote so it
   reads as small sans metadata instead of catching the drop-cap as a false lede. */
/* The note keeps the body's inherited serif/18px so its 68ch width (and centered
   margin) matches the article column exactly — its left edge lines up with the
   paragraphs. The small sans treatment lives on the inner spans, not the div, so
   it can't shrink the ch unit and indent the box. */
.featured-story-full-content .news-source-note {
  max-width: 68ch;
  margin: 0 auto 1.9em;
}
.featured-story-full-content .news-source-note .news-source-note-credit {
  display: block;
  font-family: var(--sans);
  font-size: 12.5px;
  line-height: 1.5;
  letter-spacing: 0.04em;
  font-style: italic;
  color: var(--ink-3);
}
.featured-story-full-content .news-source-note .news-source-note-byline {
  display: block;
  margin-top: 3px;
  font-family: var(--sans);
  font-size: 11px;
  line-height: 1.5;
  font-style: normal;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-2);
}
/* The outlet name in a required credit (e.g. ProPublica) links to the original
   story — accent, plain underline, not the heavier inline-link border. */
.featured-story-full-content .news-source-note a[href] {
  color: var(--accent);
  border-bottom: none;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.featured-story-full-content .news-source-note a[href]:hover {
  color: var(--accent-2);
}
/* Pull-quote: horizontal rules above & below, italic centered display type. */
.featured-story-full-content blockquote {
  font-family: var(--serif);
  font-style: italic;
  font-size: 21px;
  line-height: 1.5;
  text-align: center;
  border-left: 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  margin: 1.8em auto;
  padding: 1em 1em;
  max-width: 58ch;
  color: var(--ink);
}
.featured-story-full-content figure { margin: 1em auto; }
.featured-story-full-content figcaption { font-size: 13px; color: var(--ink-3); margin-top: 4px; }
.featured-story-full-content ul,
.featured-story-full-content ol { margin: 0 auto 1em; padding-left: 1.5em; }
.featured-story-full-content > ul,
.featured-story-full-content > ol { max-width: calc(68ch - 1.5em); }
.featured-story-full-content li { margin-bottom: .35em; }
/* Asterism section break for any <hr> the source emits. */
.featured-story-full-content hr {
  border: 0;
  height: auto;
  text-align: center;
  margin: 2em auto;
  max-width: 30ch;
  overflow: visible;
}
.featured-story-full-content hr::before {
  content: "⁂";
  font-family: var(--serif);
  font-size: 20px;
  color: var(--ink-3);
  letter-spacing: 0.4em;
  display: inline-block;
}

/* ── Margin pull-quotes ───────────────────────────────────────────────────
   Lift a sentence (inserted by insertArticlePullquotes() in app.js) into the
   empty right gutter beside the centered 68ch reading column — a broadsheet
   flourish that uses the wasted horizontal space on wide screens. Hidden below
   1280px (narrow screens have no gutter, and stacking the same sentence right
   above its paragraph reads as a glitch). The body column is left untouched:
   the quote floats into the existing right margin via a calc() offset, so the
   reading measure, drop cap and centered blockquotes are unchanged. */
.featured-story-full-content .pullquote { display: none; }

@media (min-width: 1280px) {
  .featured-story-full-content .pullquote {
    display: block;
    float: right;
    clear: right;
    width: 15rem;
    /* Sit just outside the 68ch column's right edge: slide left from the
       container edge by (gutter − quote − gap). max(0px, …) keeps it on-screen
       if the gutter is ever tighter than the quote. */
    margin: 0.35rem 0 1.3rem 2.5rem;
    margin-right: max(0px, calc((100% - 68ch) / 2 - 17rem));
    font-family: var(--serif);
    font-style: italic;
    font-size: 1.5rem;
    line-height: 1.34;
    color: var(--ink);
    border-top: 3px solid var(--accent);
    padding-top: 0.7rem;
    text-wrap: balance;
  }
  .featured-story-full-content .pullquote::after {
    content: "";
    display: block;
    width: 2.5rem;
    height: 2px;
    margin-top: 0.7rem;
    background: var(--rule);
  }
}

.featured-story-license {
  max-width: 68ch;
  margin: 36px auto 0;
  padding: 18px 0 0;
  border-top: 1px solid var(--rule);
  background: transparent;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--ink-3);
  line-height: 1.55;
  text-align: center;
}
.featured-story-license a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }

.featured-story-clear {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 7px 14px;
  background: transparent;
  border: 1px solid var(--rule);
  color: var(--ink-3);
  border-radius: 2px;
  cursor: pointer;
}
.featured-story-clear:hover { color: var(--ink); border-color: var(--ink-2); }
.featured-story-actions .expand-article-btn.is-disabled { opacity: 0.62; cursor: not-allowed; pointer-events: none; }

/* Inline audio player (article body audio embeds) */
.inline-audio-player {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 8px 0 16px;
  padding: 8px 14px;
  border: 1px solid var(--rule);
  background: var(--paper-2);
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-2);
}
.inline-audio-player button {
  background: none; border: 0; color: var(--accent);
  font: inherit; cursor: pointer;
  padding: 0;
}
.inline-audio-player button:hover { color: var(--ink); }
.inline-audio-time { font-variant-numeric: tabular-nums; }

.listen-full-article-btn {
  display: block;
  width: fit-content;
  margin: 28px auto 8px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 10px 18px;
  background: var(--ink);
  color: var(--paper);
  border: 1px solid var(--ink);
  border-radius: 2px;
  cursor: pointer;
}
.listen-full-article-btn:hover { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }

/* Top-of-article "Listen to full article" — sits in the featured-story-actions
   row alongside Read original / Listen. Filled-accent style to advertise the
   newly-prominent professional Kokoro narration. */
.featured-story-actions .featured-listen-full-article-btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 10px 16px;
  background: var(--accent);
  color: var(--accent-ink);
  border: 1px solid var(--accent);
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.14s, color 0.14s, border-color 0.14s;
}
.featured-story-actions .featured-listen-full-article-btn:hover {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.featured-story-actions .featured-listen-full-article-btn[data-active="1"] {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

/* ============================================================
   Persistent audio player bar (#newsAudioPlayer)
   ============================================================ */
.news-player-shell {
  position: fixed; left: 0; right: 0; bottom: 0;
  z-index: 30;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(130%) blur(14px);
  -webkit-backdrop-filter: saturate(130%) blur(14px);
  border-top: 1px solid var(--ink);
  box-shadow: 0 -2px 20px color-mix(in srgb, var(--ink) 20%, transparent);
  padding: 12px 16px 16px;
  padding-bottom: max(16px, env(safe-area-inset-bottom));
  transition: transform .25s ease, opacity .25s ease;
}
.news-player-shell[hidden] { display: none; }
.news-player {
  max-width: 900px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr auto;
  gap: 12px; align-items: center;
}
.news-player-info { min-width: 0; overflow: hidden; }
.news-player-title {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 700;
  font-size: 15px;
  color: var(--ink);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.news-player-source {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--ink-3);
  margin-top: 2px;
}
.news-player-controls { display: flex; align-items: center; gap: 8px; }
.news-player-controls button {
  background: transparent;
  border: 1px solid var(--rule);
  color: var(--ink);
  border-radius: 2px;
  cursor: pointer;
  min-width: 34px; min-height: 34px;
  font-size: 14px;
  display: flex; align-items: center; justify-content: center;
  transition: border-color .15s, background .15s;
}
.news-player-controls button:hover {
  border-color: var(--accent);
  background: var(--accent-wash);
}
.news-player-controls button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
}
.news-player-progress { display: flex; align-items: center; gap: 6px; min-width: 0; }
.news-player-progress span {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-3);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  min-width: 32px;
}
.news-player-progress input[type=range] {
  flex: 1; min-width: 80px; max-width: 200px; height: 4px;
  -webkit-appearance: none; appearance: none;
  background: var(--rule);
  cursor: pointer;
}
.news-player-progress input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 12px; height: 12px;
  background: var(--accent);
  border-radius: 50%; border: 0;
}
.news-player-progress input[type=range]::-moz-range-thumb {
  width: 12px; height: 12px;
  background: var(--accent);
  border-radius: 50%; border: 0;
}
@media (max-width: 600px) {
  .news-player { grid-template-columns: 1fr; gap: 8px; }
  .news-player-controls { justify-content: center; flex-wrap: wrap; }
  .news-player-progress input[type=range] { max-width: none; min-width: 60px; }
}
/* Load-failure state (mp3 missing/still syncing): the bar stays up with an
   explanation in the source line; transport controls hide (nothing to play),
   ✕ still closes. IDs out-rank the `.news-player-controls button`
   display:flex rule that defeats [hidden]. */
.news-player-shell.news-player-error .news-player-progress,
.news-player-shell.news-player-error #newsPlayerPlayBtn,
.news-player-shell.news-player-error #newsPlayerNextBtn { display: none; }
.news-player-shell.news-player-error .news-player-source { color: var(--accent); }

/* ============================================================
   Resolve overlap: persistent player ↔ right site-rail ↔ FAB
   buttons. body[data-news-player="visible"] is set by app.js
   while the article-audio bar is open.
   ============================================================ */
/* Player shell stops at the rail's inner edge so the rail and
   its bottom controls (Search/Random) remain fully usable. */
body[data-rail="expanded"]  .news-player-shell { right: 260px; }
body[data-rail="collapsed"] .news-player-shell { right: 48px; }
@media (max-width: 900px) {
  body[data-rail="expanded"]  .news-player-shell,
  body[data-rail="collapsed"] .news-player-shell { right: 0; }
}

/* Lift the floating FOOTER/TOP buttons above the player so they
   don't sit on top of the player's empty right-side padding. */
body[data-news-player="visible"] .fab { bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
@media (max-width: 600px) {
  body[data-news-player="visible"] .fab { bottom: calc(110px + env(safe-area-inset-bottom, 0px)); }
}

/* ─── Source profiles (clickable source names) ──────────────────────────────
   A source name (the featured kicker + every card's meta line) links to an
   in-app, archive-backed profile: curated "about" blurb, the outlet's
   contributors, and its article history. The profile lives inside #mainContent;
   the feed is hidden via body.viewing-source while a profile is open. */

/* Source-name link affordance — keep the existing .src colors, add interaction. */
a.src-link { text-decoration: none; cursor: pointer; }
.featured-story-meta a.src-link { color: var(--accent); }
.item .m a.src-link { color: var(--ink-2); }
a.src-link:hover,
a.src-link:focus-visible {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  text-decoration-color: var(--accent);
}

/* Footer "Sources" list — each name is a button that opens its profile. */
.fineprint .sources-list .source-chip-link {
  appearance: none;
  background: none;
  border: 0;
  padding: 0;
  margin: 0;
  font: inherit;
  color: inherit;
  letter-spacing: inherit;
  text-align: left;
  cursor: pointer;
}
.fineprint .sources-list .source-chip-link:hover,
.fineprint .sources-list .source-chip-link:focus-visible {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Feed ⇄ profile view toggle. The profile is the only #mainContent child kept. */
.source-profile { display: none; }
body.viewing-source .source-profile { display: block; }
body.viewing-source .news-subnav,
body.viewing-source .cat-strip { display: none !important; }
body.viewing-source #mainContent > :not(#sourceProfile) { display: none !important; }

.source-profile { padding: 8px 0 48px; outline: none; }

.sp-back {
  appearance: none;
  background: none;
  border: 0;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  cursor: pointer;
  padding: 8px 0;
  margin-bottom: 6px;
}
.sp-back:hover,
.sp-back:focus-visible { color: var(--accent); }

/* About header. */
.sp-header { border-bottom: 1px solid var(--rule); padding-bottom: 26px; margin-bottom: 28px; }
.sp-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
.sp-name {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(30px, 5vw, 46px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 14px;
  text-wrap: balance;
}
.sp-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.sp-tag {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
  border: 1px solid var(--rule);
  padding: 3px 9px;
  border-radius: 999px;
}
.sp-tag-open {
  color: var(--accent);
  border-color: color-mix(in srgb, var(--accent) 45%, var(--rule));
}
.sp-blurb {
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 62ch;
  margin: 0 0 18px;
  text-wrap: pretty;
}
.sp-headfoot { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; }
.sp-stats {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--ink-3);
}
.sp-homepage {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
}
.sp-homepage:hover,
.sp-homepage:focus-visible { text-decoration: underline; text-underline-offset: 3px; }
.sp-homepage .out { font-size: 0.9em; }
.sp-cats { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.sp-cats .pill {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 3px 7px;
  border: 1px solid var(--rule);
  color: var(--ink-3);
}

/* Section heads (Contributors / Articles). */
.sp-section-head { display: flex; align-items: baseline; gap: 12px; margin-bottom: 16px; }
.sp-section-title {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin: 0;
}
.sp-filter-note {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--accent);
}

/* Contributors. */
.sp-contributors { margin-bottom: 34px; }
.sp-contrib-empty {
  font-family: var(--serif);
  font-style: italic;
  font-size: 15px;
  color: var(--ink-3);
  margin: 0;
  max-width: 58ch;
}
.sp-section-count {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-3);
}
.sp-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.sp-chip {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--sans);
  font-size: 12.5px;
  line-height: 1.2;
  color: var(--ink-2);
  background: var(--paper-2);
  border: 1px solid var(--rule);
  border-radius: 999px;
  padding: 4px 11px;
  cursor: pointer;
  transition: border-color .15s, color .15s, background .15s;
}
.sp-chip-all { font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; }
.sp-chip-more {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
  border-style: dashed;
  background: none;
}
.sp-chip-more:hover,
.sp-chip-more:focus-visible { color: var(--accent); border-color: var(--accent); }
.sp-chip:hover { border-color: color-mix(in srgb, var(--accent) 50%, var(--rule)); color: var(--ink); }
.sp-chip.is-active {
  border-color: var(--accent);
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 12%, var(--paper-2));
}
.sp-chip-count {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--ink-3);
  background: var(--paper-3);
  border-radius: 999px;
  padding: 1px 6px;
}
.sp-chip.is-active .sp-chip-count { color: var(--accent); }

/* Article grid. */
.sp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 22px;
}
.sp-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--rule);
  background: var(--paper-2);
  overflow: hidden;
}
.sp-card-media { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--paper-3); }
.sp-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sp-card-body { display: flex; flex-direction: column; gap: 9px; padding: 14px 15px 16px; flex: 1; }
.sp-card-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.sp-card-meta .pill {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 2px 6px;
  border: 1px solid var(--rule);
  color: var(--ink-3);
}
.sp-card-when {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.sp-card-title {
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.3;
  color: var(--ink);
  text-decoration: none;
  text-wrap: pretty;
}
.sp-card-title:hover,
.sp-card-title:focus-visible {
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-underline-offset: 3px;
}
.sp-card-excerpt {
  font-family: var(--sans);
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--ink-3);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.sp-card-actions { margin-top: auto; padding-top: 4px; }
.sp-card .source-link {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
}
.sp-card .source-link:hover,
.sp-card .source-link:focus-visible { text-decoration: underline; text-underline-offset: 3px; }

/* Load more + loading / empty / error states. */
.sp-more-wrap { display: flex; justify-content: center; margin-top: 30px; }
.sp-more-btn {
  appearance: none;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--ink-2);
  background: none;
  border: 1px solid var(--rule);
  padding: 11px 26px;
  cursor: pointer;
}
.sp-more-btn:hover,
.sp-more-btn:focus-visible { border-color: var(--accent); color: var(--accent); }
.sp-more-loading,
.source-profile-loading,
.sp-empty {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--ink-3);
}
.source-profile-loading { padding: 40px 0; }
.sp-empty { grid-column: 1 / -1; padding: 18px 0; }
.source-profile-error { padding: 24px 0; font-family: var(--serif); color: var(--ink-2); }
.sp-retry {
  display: inline-block;
  margin-top: 10px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid var(--rule);
  padding: 8px 18px;
  background: none;
  color: var(--ink-2);
  cursor: pointer;
}
.sp-retry:hover,
.sp-retry:focus-visible { border-color: var(--accent); color: var(--accent); }

