:root {
  --ink: #14233b;
  --ink-soft: #31445f;
  --muted: #6d7d92;
  --accent: #e5634c;
  --accent-dark: #b84432;
  --sun: #f4c45f;
  --paper: #fffdfa;
  --canvas: #f4f6f9;
  --line: #dde5ee;
  --soft: #fff0eb;
  --blue-soft: #edf3ff;
  --shadow: 0 12px 30px rgba(20, 35, 59, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
.wrap { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.muted { color: var(--muted); font-size: 12px; }

.hero {
  background: var(--ink);
  color: #fff;
  border-top: 6px solid var(--accent);
  overflow: hidden;
}
.hero-inner { padding: 38px 0 28px; }
.eyebrow, .section-label {
  color: var(--accent);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.7px;
  text-transform: uppercase;
}
.hero .eyebrow { color: #ffc0b1; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(250px, .55fr);
  gap: 56px;
  align-items: end;
  margin-top: 14px;
}
h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(34px, 5vw, 60px);
  line-height: 1.02;
  letter-spacing: -1.8px;
}
h1 em { color: #ffc0b1; font-style: normal; }
.hero-copy {
  max-width: 680px;
  margin: 20px 0 0;
  color: #d5deeb;
  font-size: 16px;
  line-height: 1.65;
}
.hero-note {
  display: grid;
  gap: 7px;
  border: 1px solid #40516b;
  border-radius: 14px;
  padding: 17px;
  background: rgba(255,255,255,.04);
  color: #d7e0ec;
  font-size: 12px;
  line-height: 1.45;
}
.hero-note strong { color: #fff; font-size: 14px; }
.note-mark { color: #ffc0b1; font-size: 24px; font-weight: 800; }
.search-row { display: flex; gap: 8px; margin-top: 29px; max-width: 760px; }
.search-row input {
  min-width: 0;
  flex: 1;
  border: 0;
  border-radius: 9px;
  padding: 13px 15px;
  color: var(--ink);
  background: #fff;
  font: inherit;
  outline: 3px solid transparent;
}
.search-row input:focus { outline-color: #ffc0b1; }
.search-row button {
  border: 1px solid #52627a;
  border-radius: 9px;
  padding: 0 16px;
  background: transparent;
  color: #fff;
  cursor: pointer;
  font: inherit;
}
.search-row button:hover { border-color: #ffc0b1; color: #ffc0b1; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; padding: 24px 0 20px; }
.stat { border: 1px solid var(--line); border-radius: 12px; background: var(--paper); padding: 15px 17px; }
.stat-value { display: block; font-size: 26px; font-weight: 800; line-height: 1.1; }
.stat-label { display: block; margin-top: 5px; color: var(--muted); font-size: 12px; }
.controls { padding: 4px 0 20px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.filter {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  cursor: pointer;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 800;
}
.filter:hover, .filter.active { border-color: var(--ink); background: var(--ink); color: #fff; }
.error { margin: 8px 0 20px; border: 1px solid #efc4ba; border-radius: 10px; background: #fff0eb; color: #9f392b; padding: 12px 14px; font-size: 13px; }

.day-section { margin: 18px 0 38px; }
.day-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 15px; margin-bottom: 12px; }
.day-heading h2 { margin: 0; font-size: 23px; letter-spacing: -.4px; }
.day-heading a { color: var(--accent-dark); font-size: 12px; font-weight: 800; text-decoration: none; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.card { overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: 0 5px 14px rgba(20,35,59,.045); transition: transform .18s ease, box-shadow .18s ease; }
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.card-media { height: 175px; background: var(--blue-soft); }
.card-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.card-fallback { display: grid; height: 100%; place-items: center; padding: 18px; color: #476899; text-align: center; font-size: 12px; font-weight: 800; }
.card-body { padding: 15px 16px 16px; }
.card-meta { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 8px; color: var(--muted); font-size: 11px; }
.badge { border-radius: 999px; background: var(--soft); color: var(--accent-dark); padding: 4px 8px; font-size: 9px; font-weight: 800; letter-spacing: .5px; text-transform: uppercase; }
.card h3 { margin: 0 0 10px; font-size: 18px; line-height: 1.25; letter-spacing: -.2px; }
.evidence { border-left: 3px solid var(--sun); border-radius: 6px; background: #fffaf0; color: #5c5a4d; padding: 9px 10px; font-size: 12px; line-height: 1.5; }
.evidence-label { display: block; margin-bottom: 3px; color: #8a6919; font-size: 9px; font-weight: 800; letter-spacing: .7px; text-transform: uppercase; }
.card-details { margin-top: 11px; }
.card-details summary { color: var(--accent-dark); cursor: pointer; font-size: 12px; font-weight: 800; }
.card-details p { margin: 8px 0 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.actions { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 13px; }
.actions a { border-radius: 999px; padding: 7px 9px; font-size: 10px; font-weight: 800; text-decoration: none; }
.source { background: var(--ink); color: #fff; }
.video { background: var(--accent); color: #fff; }
.empty { border: 1px dashed #cbd5e1; border-radius: 14px; background: #fff; color: var(--muted); padding: 38px 20px; text-align: center; }

.social-section { margin: 44px 0 20px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 12px; margin-bottom: 12px; }
.section-heading h2 { margin: 4px 0 0; font-size: 26px; letter-spacing: -.5px; }
.social-radar { border: 1px solid #d6e3f7; border-radius: 14px; background: var(--blue-soft); padding: 17px; }
.radar-summary { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 12px; }
.radar-chip { border: 1px solid #d4e1f2; border-radius: 999px; background: #fff; color: #466694; padding: 6px 9px; font-size: 10px; font-weight: 800; }
.radar-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px 20px; }
.radar-row { display: flex; justify-content: space-between; gap: 10px; border-top: 1px solid #dbe6f4; padding: 8px 0 0; color: #385476; font-size: 11px; }
.radar-row span:last-child { color: var(--muted); text-align: right; }
.footer { display: flex; justify-content: space-between; gap: 15px; border-top: 1px solid var(--line); color: var(--muted); padding: 19px 0 32px; font-size: 11px; }

@media (max-width: 900px) { .hero-grid { gap: 28px; grid-template-columns: 1fr; } .cards { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 600px) {
  .wrap { width: min(100% - 20px, 560px); }
  .hero-inner { padding: 28px 0 22px; }
  h1 { font-size: 36px; letter-spacing: -1px; }
  .hero-copy { font-size: 14px; }
  .search-row { display: grid; grid-template-columns: 1fr; }
  .search-row button { min-height: 42px; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 8px; padding-top: 16px; }
  .stat { padding: 12px; }
  .stat-value { font-size: 21px; }
  .cards, .radar-grid { grid-template-columns: 1fr; }
  .card-media { height: 190px; }
  .day-heading { display: block; }
  .day-heading a { display: inline-block; margin-top: 5px; }
  .footer { display: block; }
  .footer span { display: block; margin-top: 5px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .card { transition: none; } .card:hover { transform: none; } }
