/* Mosaic site — built on assets/mosaic-tokens.css */

html, body { margin: 0; min-height: 100%; }
body { background: var(--bg-primary); }

.site {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  min-height: 100vh;
  letter-spacing: -0.015em;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.site * { box-sizing: border-box; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 48px; }
@media (max-width: 760px) { .wrap { padding: 0 20px; } }

/* ---------- type ---------- */
.display { font-weight: 700; letter-spacing: -0.05em; line-height: 1.05; color: var(--text-primary); }
.kicker {
  font-size: 11px; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--text-muted);
}
.dek { font-size: 16px; line-height: 1.6; color: var(--text-secondary); }
.micro { font-size: 12px; color: var(--text-muted); }
.hair { height: 1px; background: var(--border-hairline); border: none; margin: 0; }
.hairStrong { height: 1px; background: var(--border-subtle); border: none; margin: 0; }

/* ---------- masthead ---------- */
.mast { display: flex; align-items: center; justify-content: space-between; padding: 20px 0 16px; }
.mast .left { display: flex; align-items: center; gap: 28px; }
.mast nav { display: flex; gap: 4px; }
.mast nav button {
  background: none; border: none; font: inherit; font-size: 13.5px;
  color: var(--text-muted); cursor: pointer; padding: 5px 10px; border-radius: 999px;
  transition: color 0.15s, background 0.15s; letter-spacing: -0.015em;
}
.mast nav button:hover { color: var(--text-primary); }
.mast nav button.on { color: var(--text-primary); font-weight: 600; background: var(--button-default); }
[data-theme="dark"] .mast nav button.on { background: rgba(255,255,255,0.09); }
.mast .right { display: flex; align-items: center; gap: 14px; }

.themeBtn { width: 32px; height: 18px; border-radius: 999px; border: none; cursor: pointer; position: relative; background: rgba(0,0,0,0.10); padding: 0; }
[data-theme="dark"] .themeBtn { background: rgba(255,255,255,0.16); }
.themeBtn i { position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; border-radius: 50%; background: #27292D; transition: left 0.2s; display: block; }
[data-theme="dark"] .themeBtn i { left: 16px; background: #FEF9EF; }

/* ---------- ticks (the moodline) ---------- */
.ticks { display: inline-flex; gap: 3px; align-items: center; }
.ticks i { display: inline-block; border-radius: 2.5px; transition: background 0.25s ease; }

/* ---------- chips ---------- */
.chip {
  display: inline-flex; align-items: center; gap: 7px; border-radius: 999px;
  padding: 5px 13px; font-size: 12.5px; font-weight: 500; border: none; cursor: pointer;
  background: var(--button-default); color: var(--text-secondary); font-family: inherit;
  transition: background 0.15s; white-space: nowrap; flex-shrink: 0;
}
[data-theme="dark"] .chip { background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.75); }
.chip.on { background: var(--button-selected); color: #3d362a; }
[data-theme="dark"] .chip.on { background: rgba(255,255,255,0.20); color: #fff; }

/* ---------- favicon tiles ---------- */
.fav {
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 600; color: #fff; border-radius: 5px; flex-shrink: 0;
}
.favimg { object-fit: cover; background: var(--bg-card); border-radius: 5px; }
.faceimg { border-radius: 50%; box-shadow: inset 0 0 0 1px var(--border-hairline); }
/* smooth Apple-style hover zoom on framing-column sources */
.lsrc .fav, .lsrc .favimg, .lsrc .faceimg { transition: transform .24s cubic-bezier(.2,.7,.2,1), box-shadow .24s ease; transform-origin: center bottom; cursor: pointer; }
.lsrc .fav:hover, .lsrc .favimg:hover, .lsrc .faceimg:hover { transform: scale(1.55); box-shadow: 0 6px 16px rgba(0,0,0,.45); position: relative; z-index: 3; }

/* ---------- lens columns (feed lead + story framings) ---------- */
.lenses { display: grid; grid-template-columns: 1fr 1fr 1fr; border-radius: 14px; overflow: hidden; border: 1px solid var(--border-hairline); }
.lens { padding: 20px 24px 24px; background: var(--bg-surface); transition: background 0.2s; display: flex; flex-direction: column; }
.lens .lsrc { margin-top: auto; padding-top: 18px; }
.lens + .lens { border-left: 1px solid var(--border-hairline); }
.lens:hover { background: var(--bg-card); }
[data-theme="dark"] .lens:hover { background: #222428; }
.lens .rule { height: 3px; border-radius: 99px; width: 44px; margin-bottom: 14px; transition: background 0.25s; }
.lens h3 { font-weight: 700; font-size: 20px; line-height: 25px; letter-spacing: -0.05em; margin: 0 0 8px; }
.lens p { font-size: 14px; line-height: 21px; color: var(--text-secondary); margin: 0 0 14px; }
.lens blockquote { border-left: 2px solid var(--border-subtle); margin: 0 0 14px; padding: 2px 0 2px 10px; }
.lens blockquote .q { font-size: 13px; font-style: italic; line-height: 18px; color: var(--text-secondary); }

/* bare lens variant for the story page (no card box) */
.lenses.bare { border: none; border-radius: 0; overflow: visible; }
.lenses.bare .lens { background: transparent; padding: 18px 26px 8px 0; }
.lenses.bare .lens + .lens { border-left: 1px solid var(--border-hairline); padding-left: 26px; }
.lenses.bare .lens:hover { background: transparent; }

/* ---------- feed queue rows (accordion) ---------- */
.qrow {
  border-bottom: 1px solid var(--border-hairline); margin: 0 -16px; border-radius: 10px; transition: background 0.15s;
}
.qrow.open { background: var(--bg-surface); }
.qrow-head {
  display: flex; align-items: center; gap: 18px; padding: 18px 16px; cursor: pointer; border-radius: 10px;
}
.qrow:not(.open) .qrow-head:hover { background: var(--bg-surface); }
.qrow .thumb { width: 92px; height: 68px; border-radius: 8px; flex-shrink: 0; }
/* feed thumbnail — a prominent square that sets the row height (text sits centred beside it) */
.qrow-thumb { width: clamp(112px, 12vw, 132px); aspect-ratio: 1 / 1; flex: 0 0 auto; border-radius: 10px; overflow: hidden; }
.qrow-thumb img, .qrow-thumb canvas, .qrow-thumb svg { width: 100%; height: 100%; object-fit: cover; display: block; }
.qrow h4 { font-weight: 600; font-size: 15.5px; line-height: 21px; margin: 0; letter-spacing: -0.02em; text-transform: none; color: var(--text-primary); }
.qrow .sum { font-size: 13px; line-height: 18px; color: var(--text-secondary); margin: 4px 0 0; }
.qrow .go { font-size: 12.5px; font-weight: 500; color: var(--text-secondary); white-space: nowrap; flex-shrink: 0; }
.qrow-fault { font-size: 13px; line-height: 18.5px; color: var(--text-primary); font-style: italic; margin: 7px 0 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.qrow-fault .qrow-faultlabel { font-style: normal; font-weight: 600; font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--text-muted); margin-right: 7px; }
.qrow.compact .qrow-head { padding-top: 11px; padding-bottom: 11px; }
.qrow-frames { padding: 0 16px 20px; animation: fcardReveal 0.28s ease; }
.qrow-framefoot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 14px; flex-wrap: wrap; }

/* ---------- collage placeholder ---------- */
.collage { position: relative; overflow: hidden; background: #EDE7DC; display: block; }
[data-theme="dark"] .collage { background: #1D1F22; }
.collage i { position: absolute; display: block; }

/* ---------- story page ---------- */
.storyhead { display: flex; justify-content: space-between; align-items: center; padding: 22px 0 26px; }
.backlink { background: none; border: none; font: inherit; font-size: 13px; font-weight: 500; color: var(--text-secondary); cursor: pointer; padding: 0; }
.backlink:hover { color: var(--text-primary); }

.factline { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; line-height: 20px; color: var(--text-secondary); }
.factline b { color: var(--mosaic-green); font-weight: 700; }

.recgroup { border-top: 1px solid var(--border-hairline); }
.recgroup .ghead {
  display: flex; align-items: center; gap: 12px; padding: 14px 2px; cursor: pointer;
  background: none; border: none; width: 100%; font: inherit; text-align: left; color: var(--text-primary);
}
.recgroup .ghead:hover .gtitle { text-decoration: underline; text-decoration-color: var(--border-subtle); text-underline-offset: 3px; }
.recgroup .gtitle { font-weight: 700; font-size: 15px; letter-spacing: -0.03em; flex: 1; min-width: 0; }
.recgroup .ghead .micro { white-space: nowrap; }
.recitem { display: grid; grid-template-columns: 56px 160px 1fr; gap: 14px; padding: 9px 2px 9px 30px; font-size: 13px; align-items: baseline; }
.recitem .d { color: var(--text-muted); font-size: 11.5px; }
.recitem .s { color: var(--text-secondary); font-weight: 500; display: flex; gap: 7px; align-items: center; }
.recitem .h { color: var(--text-primary); line-height: 18px; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* flexible markdown body — styled to match the design so dossier sections render consistently */
.mdbody .md-h { padding: 26px 0 6px; }
.mdbody .md-h:first-child { padding-top: 4px; }
.mdbody .md-p { font-size: 16px; line-height: 26px; color: var(--text-secondary); margin: 0 0 14px; }
.mdbody .md-p strong { color: var(--text-primary); font-weight: 600; }
.mdbody .md-q { border-left: 2px solid var(--border-subtle); margin: 4px 0 16px; padding: 2px 0 2px 14px; font-style: italic; color: var(--text-secondary); font-size: 15px; line-height: 23px; }
.mdbody .md-ul { margin: 0 0 14px; padding-left: 20px; }
.mdbody .md-ul li { font-size: 15px; line-height: 23px; color: var(--text-secondary); margin: 0 0 6px; }
.mdbody .md-ul li strong { color: var(--text-primary); }
.mdbody .md-a { color: var(--text-primary); text-decoration: none; border-bottom: 1px solid var(--border-strong, var(--text-secondary)); padding-bottom: 1px; }
.mdbody .md-a:hover { border-bottom-color: var(--text-primary); }
.mdbody .md-fav { width: 14px; height: 14px; border-radius: 3px; vertical-align: -2px; margin-right: 5px; }

/* history chips */
.hchips { display: flex; align-items: stretch; }
.hchip { border: 1px solid var(--border-subtle); border-radius: 10px; padding: 9px 12px; background: var(--bg-surface); min-width: 104px; }
.hchip.now { border: 1.5px solid var(--text-primary); }
.hconn { align-self: center; width: 18px; height: 1.5px; background: var(--border-subtle); flex-shrink: 0; }

/* ---------- sources page ---------- */
.srctable { border: 1px solid var(--border-hairline); border-radius: 12px; overflow: hidden; margin-bottom: 28px; }
.srctable .thead, .srctable .trow { display: grid; grid-template-columns: 1.4fr 1.8fr 1.1fr 70px 90px; gap: 14px; padding: 12px 18px; align-items: center; }
.srctable .thead { background: var(--bg-surface); border-bottom: 1px solid var(--border-hairline); padding-top: 9px; padding-bottom: 9px; }
.srctable .trow { border-bottom: 1px solid var(--border-hairline); }
.srctable .trow:last-child { border-bottom: none; }
.srctable .trow:hover { background: var(--bg-surface); }
.cell { font-size: 12.5px; color: var(--text-secondary); line-height: 17px; }

/* ---------- full-width expandable feed cards (the "cards" front-page cut) ---------- */
.fcardlist { display: flex; flex-direction: column; gap: 18px; padding: 14px 0 8px; }
.fcard {
  overflow: hidden; border: 1px solid var(--border-hairline); border-radius: 18px;
  background: var(--bg-surface); transition: box-shadow 0.18s ease;
}
.fcard:hover { box-shadow: var(--shadow-card); }
.fcard.open { box-shadow: var(--shadow-card); }
.fcard-head { display: flex; align-items: stretch; }
.fcard-banner { position: relative; width: 290px; flex-shrink: 0; overflow: hidden; background: #EDE7DC; cursor: pointer; }
[data-theme="dark"] .fcard-banner { background: #1D1F22; }
.fcard-banner .collage { position: absolute; inset: 0; }
.fcard-banner .collage i { position: absolute; display: block; }
.fcard-body { flex: 1; min-width: 0; padding: 19px 24px 20px; }
.fcard-title {
  font-weight: 700; font-size: 27px; line-height: 31px; letter-spacing: -0.04em;
  margin: 10px 0 0; color: var(--text-primary); cursor: pointer; text-wrap: pretty;
}
.fcard-title:hover { text-decoration: underline; text-decoration-color: var(--border-subtle); text-underline-offset: 3px; }
.fcard-sum { font-size: 15px; line-height: 22px; color: var(--text-secondary); margin: 10px 0 0; max-width: 740px; }
.fcard-meta { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 17px; flex-wrap: wrap; }
.fcard-mood { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.fcard-expand {
  display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--border-subtle);
  background: none; cursor: pointer; font: inherit; font-size: 13px; font-weight: 600;
  color: var(--text-primary); padding: 7px 14px; border-radius: 999px; letter-spacing: -0.01em;
  transition: background 0.15s; white-space: nowrap;
}
.fcard-expand:hover { background: var(--button-default); }
[data-theme="dark"] .fcard-expand:hover { background: rgba(255,255,255,0.07); }
.fcard-expand .caret { font-size: 9px; color: var(--text-muted); }
.fcard-frames { padding: 0 24px 20px; }
.fcard-framefoot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 14px; flex-wrap: wrap; }
@media (prefers-reduced-motion: no-preference) {
  .fcard-frames { animation: fcardReveal 0.28s ease; }
}
@keyframes fcardReveal { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

/* ---------- story hero (collage cover with overlaid title) ---------- */
.shero {
  position: relative; max-width: 920px; margin: 6px auto 0; min-height: 440px;
  border-radius: 16px; overflow: hidden; display: flex; align-items: flex-end;
}
.shero-art { position: absolute; inset: 0; }
.shero-art .collage { position: absolute; inset: 0; }
.shero-art .collage i { position: absolute; display: block; }
.shero-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(18,16,12,0.18) 0%, rgba(18,16,12,0) 28%, rgba(18,16,12,0.44) 60%, rgba(18,16,12,0.80) 100%);
}
.shero-content { position: relative; z-index: 2; padding: 30px 34px 28px; width: 100%; }
.shero-kicker { font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.82); }
.shero-title {
  color: #fff; font-size: clamp(30px, 5vw, 50px); line-height: 1.04; letter-spacing: -0.045em;
  margin: 14px 0 0; max-width: 760px; text-wrap: pretty; text-shadow: 0 2px 28px rgba(0,0,0,0.28);
}
.shero-mood { display: flex; align-items: center; gap: 12px; margin-top: 18px; flex-wrap: wrap; }
.shero-mood .micro { color: rgba(255,255,255,0.85); }
@media (max-width: 760px) {
  .fcard-head { flex-direction: column; }
  .fcard-banner { width: 100%; height: 170px; }
  .fcard-body { padding: 16px; }
  .fcard-frames { padding: 0 16px 16px; }
  .fcard-title { font-size: 22px; line-height: 26px; }
  .shero { min-height: 360px; border-radius: 12px; }
  .shero-content { padding: 22px 18px 20px; }
}

/* facts checklist grid */
.factgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 28px; }

/* ---------- transitions ---------- */
.pagefade { opacity: 1; transform: none; }
@media (prefers-reduced-motion: no-preference) {
  .pagefade { transition: opacity 0.25s ease, transform 0.25s ease; }
  .pagefade.pre { opacity: 0; transform: translateY(6px); }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* Tablet & down — stack the three-column narrative grids */
@media (max-width: 760px) {
  .lenses { grid-template-columns: 1fr; }
  .lens + .lens { border-left: none; border-top: 1px solid var(--border-hairline); }

  /* bare lenses (story page) — stack with top rules */
  .lenses.bare { display: grid; grid-template-columns: 1fr; }
  .lenses.bare .lens { padding: 18px 0; }
  .lenses.bare .lens + .lens { border-left: none; border-top: 1px solid var(--border-hairline); padding-left: 0; }
}

/* Phone */
@media (max-width: 600px) {
  /* masthead — drop the date, let nav scroll if needed */
  .mast { padding: 16px 0 12px; }
  .mast .right .micro { display: none; }
  .mast .left { gap: 14px; min-width: 0; flex: 1; }
  .mast nav { gap: 2px; overflow-x: auto; -ms-overflow-style: none; scrollbar-width: none; }
  .mast nav::-webkit-scrollbar { display: none; }
  .mast nav button { padding: 5px 9px; }

  /* feed queue rows — tighter gap */
  .qrow { gap: 13px; }

  /* facts checklist → single column */
  .factgrid { grid-template-columns: 1fr; }

  /* full-record items → date + source on one line, headline below */
  .recitem { grid-template-columns: auto 1fr; gap: 5px 12px; padding-left: 24px; }
  .recitem .h { grid-column: 1 / -1; }

  /* story-so-far chips → horizontal scroll */
  .hchips { overflow-x: auto; padding-bottom: 4px; -ms-overflow-style: none; scrollbar-width: none; }
  .hchips::-webkit-scrollbar { display: none; }
  .hchip { min-width: 96px; }

  /* SOURCES table → stacked cards (hide header, label each cell) */
  .srctable .thead { display: none; }
  .srctable .trow { grid-template-columns: 1fr; gap: 5px; padding: 16px; }
  .srctable .trow .cell { display: block; }
  .srctable .trow .cell::before {
    color: var(--text-muted); font-weight: 600; margin-right: 6px;
  }
  .srctable .trow .cell:nth-child(2)::before { content: "Owner:"; }
  .srctable .trow .cell:nth-child(3)::before { content: "Ownership:"; }
  .srctable .trow .cell:nth-child(4)::before { content: "Founded:"; }
  .srctable .trow .cell:nth-child(5)::before { content: "Country:"; }
}

/* ---------- dossier components (MD directives) — neutral, editorial ---------- */
.md-comp { margin: 22px 0; }
.md-comp .md-h { margin-bottom: 10px; }
/* tldr / list spacing on the static page (the .mdbody rule is app-only) — give bullets room to breathe */
.md-comp .md-ul { margin: 0; padding-left: 20px; list-style: disc; }
.md-comp .md-ul li { font-size: 14px; line-height: 1.55; color: var(--text-secondary); margin: 0 0 10px; padding-left: 4px; }
.md-comp .md-ul li:last-child { margin-bottom: 0; }
.md-comp .md-ul li strong { color: var(--text-primary); font-weight: 600; }
.md-matters { display: flex; gap: 12px; align-items: baseline; flex-wrap: wrap; background: var(--button-default); border-radius: 12px; padding: 12px 16px; margin: 18px 0; font-size: 14px; color: var(--text-secondary); }
[data-theme="dark"] .md-matters { background: rgba(255,255,255,0.05); }
.md-mtag { font-weight: 600; color: var(--text-primary); font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; white-space: nowrap; }
.md-snapshot { font-size: 12.5px; color: var(--text-muted); border-top: 1px solid var(--border-hairline); border-bottom: 1px solid var(--border-hairline); padding: 9px 0; margin: 16px 0; }
.md-fault { border-top: 1px solid var(--border-subtle); padding-top: 18px; }
/* the one large pull — a clean medium-weight question (not bold+italic) */
.md-faultq { font-size: 24px; font-weight: 500; font-style: normal; line-height: 1.32; letter-spacing: -0.03em; color: var(--text-primary); }
.md-loud { background: var(--button-default); border-radius: 12px; padding: 12px 16px; margin: 16px 0; font-size: 13px; color: var(--text-secondary); }
[data-theme="dark"] .md-loud { background: rgba(255,255,255,0.05); }
.md-loudlbl { font-weight: 600; color: var(--text-primary); display: block; margin-bottom: 4px; }
.md-blind { border-top: 1px solid var(--border-subtle); padding-top: 18px; }
.md-qcard { margin: 14px 0; border-left: 2px solid var(--border-subtle); padding: 4px 0 4px 14px; }
.md-qcard p { margin: 0 0 8px; font-size: 14px; line-height: 1.5; color: var(--text-primary); }
.md-qcard footer { display: flex; gap: 10px; align-items: baseline; font-size: 12px; }
.md-qview { color: var(--text-muted); }
.md-qeng { color: var(--text-muted); margin-left: auto; font-variant-numeric: tabular-nums; white-space: nowrap; }
/* tweet / social card — shows the real post WITH its engagement (Reddit upvotes, X likes/rt) */
.md-tweet { margin: 14px 0; border: 1px solid var(--border-subtle); border-radius: 12px; padding: 12px 14px; background: var(--button-default); }
[data-theme="dark"] .md-tweet { background: rgba(255,255,255,0.04); }
.md-tweethead { display: flex; gap: 8px; align-items: center; font-size: 12px; margin-bottom: 7px; }
.md-tweethead i { font-size: 15px; color: var(--text-secondary); }
.md-tweethead a, .md-tweethead > span:nth-of-type(1) { font-weight: 600; color: var(--text-primary); text-decoration: none; }
.md-tweeteng { margin-left: auto; color: var(--text-muted); font-size: 12px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.md-tweet p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--text-primary); }
.md-tweet-reddit { border-left: 3px solid #ff4500; }
.md-tweet-x { border-left: 3px solid var(--text-secondary); }
.md-tweet-youtube { border-left: 3px solid #f00; }
.md-method { margin-top: 30px; padding-top: 16px; border-top: 1px solid var(--border-hairline); font-size: 12px; color: var(--text-muted); line-height: 1.6; }
.md-record .md-ul { font-size: 13px; }
/* blind spot — uniform gap rows (PATTERN 3): one gap per row, label + body, equal spacing, no run-in bold */
.md-blind .md-gap { padding: 12px 0; }
.md-blind .md-gap + .md-gap { border-top: 1px solid var(--border-hairline); }
.md-gap-label { font-weight: 600; font-size: 14px; line-height: 1.4; letter-spacing: -0.01em; color: var(--text-primary); margin-bottom: 3px; }
.md-gap-body { font-size: 14px; line-height: 1.5; color: var(--text-secondary); }
/* record — source/country GROUPS, each a header (rule + title + count) + favicon rows (PATTERN 4) */
.md-record .rec-intro { font-size: 13px; line-height: 1.5; color: var(--text-muted); margin: 0 0 16px; }
.md-record .rec-group { margin: 18px 0; }
.md-record .rec-ghead { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.md-record .rec-rule { width: 3px; height: 16px; border-radius: 99px; background: var(--text-muted); opacity: 0.55; flex-shrink: 0; }
.md-record .rec-gtitle { font-weight: 700; font-size: 15px; letter-spacing: -0.02em; color: var(--text-primary); }
.md-record .rec-count { margin-left: auto; font-size: 12px; color: var(--text-muted); white-space: nowrap; }
.md-record .rec-gcap { font-size: 13px; line-height: 1.5; color: var(--text-muted); margin: 0 0 8px 13px; }
.md-record .rec-item { display: flex; align-items: center; gap: 12px; padding: 7px 0 7px 13px; border-top: 1px solid var(--border-hairline); }
.md-record .rec-ghead + .rec-item, .md-record .rec-gcap + .rec-item { border-top: none; }
.md-record .rec-fav { border-radius: 5px; flex-shrink: 0; object-fit: cover; background: var(--bg-surface); }
.md-record .rec-mono { width: 18px; height: 18px; border-radius: 5px; background: #3a4452; color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 9px; font-weight: 600; flex-shrink: 0; }
.md-record .rec-hl { font-size: 14px; line-height: 1.4; color: var(--text-secondary); flex: 1; min-width: 0; }
.md-record .rec-link { color: var(--text-muted); text-decoration: none; flex-shrink: 0; font-size: 14px; }
.md-record .rec-link:hover { color: var(--text-primary); }
/* chart */
.md-chart { margin: 18px 0; }
.md-chart figcaption { font-weight: 600; font-size: 14px; margin-bottom: 12px; color: var(--text-primary); }
.md-barrow { display: grid; grid-template-columns: 150px 1fr 54px; gap: 12px; align-items: center; margin: 8px 0; font-size: 13px; color: var(--text-secondary); }
.md-bartrack { height: 20px; background: var(--bg-card); border-radius: 6px; overflow: hidden; }
.md-bartrack i { display: block; height: 100%; border-radius: 6px; }
.md-barval { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--text-primary); }
.md-chartsrc, .md-chartnote { font-size: 11px; color: var(--text-muted); margin-top: 8px; }
.md-chartnote { font-style: italic; }
@media (max-width: 680px) { .md-barrow { grid-template-columns: 100px 1fr 44px; } }
/* take-chips inside framing columns */
.ltakes { margin-top: 12px; display: flex; flex-direction: column; gap: 10px; }
.ltake { font-size: 11.5px; line-height: 1.45; }
.ltake-head { display: flex; flex-wrap: wrap; gap: 7px; align-items: baseline; }
.ltake-voice { font-weight: 600; color: var(--text-primary); }
.ltake-view { color: var(--text-muted); font-size: 10.5px; }
.ltake-ev { color: var(--text-secondary); margin-top: 1px; }

/* feed → /topics/{slug} links (cards now navigate to the permanent static page) */
.storylink { color: inherit; text-decoration: none; }
.storylink:hover { text-decoration: underline; text-underline-offset: 3px; }
a.fcard-banner { display: block; cursor: pointer; }
a.chip { text-decoration: none; }

/* hero dek (editorial hook under the short headline) — React story view */
.shero-dek { color: rgba(255,255,255,0.92); font-size: clamp(15px, 1.8vw, 20px); line-height: 1.34; font-weight: 500; margin: 12px 0 0; max-width: 56ch; text-shadow: 0 2px 18px rgba(0,0,0,0.4); }
