:root { --fg: #1b1b1b; --muted: #666; --bg: #fff; --accent: #e8553e; --line: #e5e5e5; --soft: #f6f6f6; --warm: #fff4f1; }
/* --accent is for marks (dots, rules); --accent-text is the same hue dark/light enough to read as small text. */
:root { --accent-text: #b93c27; --ok: #2d6a2d; --warn: #8a5a12; --bad: #a32; --fs-label: .75rem; --fs-small: .875rem; --fs-h1: 1.5rem; }
@media (prefers-color-scheme: dark) { :root { --fg: #eee; --muted: #a3a6ad; --bg: #14161a; --line: #2c2f35; --soft: #1d2026; --warm: #2a1c19; --accent-text: #f2836e; --ok: #7cc47c; --warn: #e0a85a; --bad: #f08070; } }
@media (min-width: 600px) { :root { --fs-h1: 1.75rem; } }
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 17px/1.55 -apple-system, system-ui, sans-serif; }
header.site { display: flex; justify-content: space-between; padding: 12px 16px; border-bottom: 1px solid var(--line); }
header.site a { color: inherit; text-decoration: none; font-weight: 600; } header.site nav { display: flex; gap: 14px; } header.site nav a { font-weight: 400; }
main { max-width: 720px; margin: 0 auto; padding: 16px; }
h1 { font-size: 1.6rem; line-height: 1.25; margin: 4px 0 12px; }
a { color: inherit; }
.kind { font-size: var(--fs-label); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.callout { background: var(--warm); border-left: 3px solid var(--accent); padding: 10px 14px; border-radius: 4px; }
.notice { border: 1px dashed var(--accent); padding: 10px 14px; border-radius: 4px; }
.about { background: var(--soft); padding: 4px 14px; border-radius: 4px; }
.about h2 { font-size: 1rem; }
.timeline { position: relative; height: 44px; margin: 22px 0; border-bottom: 2px solid var(--line); }
.timeline .dot { position: absolute; bottom: -7px; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: var(--accent); }
.timeline .year { position: absolute; bottom: -26px; font-size: .75rem; color: var(--muted); } .year.start { left: 0; } .year.end { right: 0; }
.wave { border-top: 1px solid var(--line); padding: 12px 0; }
.wave h3 { font-size: 1.05rem; margin: 0 0 4px; } .when { color: var(--muted); font-weight: 400; margin-right: 6px; }
.items { padding-left: 18px; } blockquote { margin: 4px 0; color: var(--muted); font-style: italic; }
.engagement, .ruled, .sources { font-size: .85rem; color: var(--muted); }
.badge { font-size: .7rem; padding: 1px 7px; border-radius: 99px; background: var(--soft); white-space: nowrap; }
.badge.reliable { color: var(--ok); } .badge.needs_second_source { color: var(--warn); } .badge.banned { color: var(--bad); }
.correction { font-size: .85rem; border-left: 3px solid var(--muted); padding-left: 8px; }
.threads { list-style: none; padding: 0; } .threads li { padding: 10px 0; border-bottom: 1px solid var(--line); }
.threads a { font-weight: 600; display: block; } .count { display: block; font-size: .9rem; color: var(--muted); }
.outlets { list-style: none; padding: 0; } .outlets li { padding: 6px 0; border-bottom: 1px solid var(--line); }
a.badge { text-decoration: none; } .citing h3 { font-size: 1rem; margin-bottom: 4px; }
header.site { align-items: center; gap: 12px; flex-wrap: wrap; }
form.search { flex: 1; min-width: 140px; max-width: 320px; }
form.search input, .search-page input { width: 100%; padding: 6px 10px; border: 1px solid var(--line); border-radius: 6px; background: var(--bg); color: var(--fg); font: inherit; }
.search-form { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 4px; }
.search-page input { flex: 1 1 14em; font-size: 1.1rem; padding: 10px 12px; }
/* Result rows reuse the homepage row; rerun links sit above the row's full-cover title link. */
.results .excerpt { margin: 4px 0 0; font-size: var(--fs-small); color: var(--muted); }
.results mark { background: var(--warm); color: var(--fg); border-radius: 2px; }
.results .waves-hit { position: relative; z-index: 1; list-style: none; margin: 8px 0 0; padding: 0 0 0 10px; border-left: 2px solid var(--line); }
.results .waves-hit li { padding: 3px 0; border: 0; } .results .waves-hit a { font-size: var(--fs-small); }
/* The rerun's date is muted and, as an inline-block, keeps out of the link's underline. */
.results .waves-hit .when { display: inline-block; }
@media (max-width: 480px) { .threads.results li.has-thumb > .waves-hit, .threads.results li.has-thumb > .excerpt { grid-column: 1 / -1; } }
.wave h3[id] { scroll-margin-top: 1.6em; }
.intro h1 { font-size: var(--fs-h1); letter-spacing: -.01em; margin-bottom: 6px; } .intro p { color: var(--muted); margin-top: 0; max-width: 36em; }
.section-label { font-size: var(--fs-label); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 22px 0 4px; }
.section-label.back { color: var(--accent-text); }
nav.sort { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; font-size: var(--fs-small); color: var(--muted); margin-top: 14px; }
nav.sort a { color: var(--fg); text-decoration: none; padding: 4px 0; }
nav.sort a[aria-current] { font-weight: 700; box-shadow: inset 0 -2px var(--accent); }
nav.sort.filter { margin-top: 2px; }
/* Homepage rows echo the link card: type label, title, count, dot timeline. The title link covers the whole row. */
.threads li.story { position: relative; padding: 14px 0; }
.threads li.is-back::before { content: ""; position: absolute; left: -10px; top: 14px; bottom: 14px; width: 3px; border-radius: 2px; background: var(--accent); }
.story .kind { margin: 0 0 2px; line-height: 1.3; }
.story .flag { color: var(--accent-text); font-weight: 700; } .story .flag::before { content: "· "; color: var(--muted); font-weight: 400; }
.story a.title { font-weight: 650; line-height: 1.3; text-decoration: none; } .story a.title::after { content: ""; position: absolute; inset: 0; }
.story a.title:hover, .story a.title:focus-visible { text-decoration: underline; }
.story .count { margin: 3px 0 0; font-size: var(--fs-small); } .story .count strong { color: var(--fg); }
.mini { display: flex; align-items: center; gap: 8px; margin-top: 8px; font-size: .7rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.mini .track { position: relative; flex: 1; height: 10px; border-bottom: 2px solid var(--line); }
.mini-dot { position: absolute; bottom: -5px; width: 8px; height: 8px; margin-left: -4px; border-radius: 50%; background: var(--accent); opacity: .8; }
.banner { margin: -16px -16px 12px; }
.banner img { display: block; width: 100%; height: 34vw; max-height: 300px; min-height: 140px; object-fit: cover; }
.banner figcaption { font-size: .7rem; color: var(--muted); padding: 4px 16px 0; }
.banner figcaption a { color: inherit; }
@media (min-width: 752px) { .banner { margin: 0 0 12px; } .banner img { border-radius: 8px; } .banner figcaption { padding: 4px 0 0; } }
.video { position: relative; aspect-ratio: 16 / 9; margin: 6px 0; } .video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; border-radius: 6px; }
a.watch { font-weight: 600; margin-right: 8px; }
.rerun-no { margin: 0; font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); font-weight: 700; }
.rerun-no .permalink { color: inherit; text-decoration: none; }
.rerun-no .permalink:hover::after, .rerun-no .permalink:focus::after { content: " #"; }
.wave h3, .wave .anchor { scroll-margin-top: 12px; }
.wave:has(:target) { background: color-mix(in srgb, var(--accent) 7%, transparent); }
a.brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 1.15rem; letter-spacing: -.01em; }
a.brand svg { display: block; }
.threads li.has-thumb { display: grid; grid-template-columns: 72px 1fr; column-gap: 14px; align-items: start; }
.threads li.has-thumb .thumb { grid-row: span 4; width: 72px; height: 72px; border-radius: 8px; object-fit: cover; }
.threads li.has-thumb > :not(.thumb) { grid-column: 2; }
@media (max-width: 480px) { .threads li.has-thumb { grid-template-columns: 56px 1fr; column-gap: 12px; } .threads li.has-thumb .thumb { width: 56px; height: 56px; } }
