/* ============================================================
   HANTAVIRUS GLOBAL TRACKER
   Modern clean data dashboard — white, dense, functional
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter+Tight:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600;700&display=swap');

:root {
  /* Surface */
  --bg: #ffffff;
  --surface: #fafafa;
  --surface-2: #f4f4f5;
  --surface-hover: #f8f8f8;
  --border: #e4e4e7;
  --border-strong: #d4d4d8;
  --border-dark: #18181b;

  /* Text */
  --text: #09090b;
  --text-soft: #3f3f46;
  --text-muted: #71717a;
  --text-faint: #a1a1aa;

  /* Semantic */
  --red: #dc2626;
  --red-soft: #fef2f2;
  --red-hover: #b91c1c;
  --red-deep: #7f1d1d;
  --orange: #ea580c;
  --amber: #d97706;
  --green: #16a34a;
  --blue: #2563eb;

  /* Type */
  --font-sans: 'Inter Tight', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  /* Geometry */
  --radius: 6px;
  --radius-lg: 10px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
  --shadow: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.08), 0 2px 6px rgba(0,0,0,0.04);
  --max: 1280px;
}

/* ============================================================
   RESET
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html {
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  font-feature-settings: 'cv11', 'ss01';
  /* Always reserve scrollbar width so pages with short content don't shift
     the viewport horizontally compared with pages that scroll. Fixes the
     "navbar moves slightly right when entering Countries" complaint. */
  scrollbar-gutter: stable;
}

body {
  line-height: 1.5;
  font-weight: 400;
  letter-spacing: -0.005em;
  min-height: 100vh;
}

img, svg, video { display: block; max-width: 100%; height: auto; }
button { font: inherit; cursor: pointer; background: none; border: none; color: inherit; }
a { color: inherit; text-decoration: none; }

::selection { background: var(--red); color: #fff; }

/* ============================================================
   LAYOUT PRIMITIVES
   ============================================================ */

.shell {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 clamp(1rem, 2.5vw, 2rem);
}

.mono { font-family: var(--font-mono); font-feature-settings: 'tnum' on, 'lnum' on; font-variant-numeric: tabular-nums; }
.tnum { font-variant-numeric: tabular-nums; font-feature-settings: 'tnum' on, 'lnum' on; }

/* ============================================================
   TOPBAR
   ============================================================ */

.topbar {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(180%) blur(8px);
  background-color: rgba(255, 255, 255, 0.92);
}

.topbar__inner {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  min-height: 56px;
  padding: 8px 0;
  flex-wrap: wrap;       /* wrap on tight viewports instead of cropping */
  row-gap: 0.35rem;
}
@media (max-width: 900px) {
  .topbar__inner { gap: 0.75rem; }
}
@media (max-width: 900px) {
  /* Brand on top row alone; nav becomes a full-width second row that
     wraps its own links onto further lines if needed. Avoids the ugly
     "timestamp drops onto its own row under the brand" state in the
     760–900 range. */
  .topbar__inner { padding-bottom: 0.5rem; }
  .nav { flex-basis: 100%; margin-left: 0; justify-content: flex-start; }
  .topbar__updated { display: none; }
  .topbar__live { margin-left: auto; }
}
@media (max-width: 720px) {
  .brand__sub { display: none; }
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.02em;
  color: var(--text);
}
.brand__mark {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--red);
  position: relative;
  flex-shrink: 0;
}
.brand__mark::after {
  content: '';
  position: absolute;
  inset: -3px;
  border: 1.5px solid var(--red);
  border-radius: 50%;
  opacity: 0.4;
  animation: ring 2s ease-in-out infinite;
}
@keyframes ring {
  0%, 100% { transform: scale(1); opacity: 0.4; }
  50% { transform: scale(1.25); opacity: 0; }
}
.brand__sub {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0;
  margin-left: 0.25rem;
}

.nav {
  display: flex;
  gap: 0.25rem;
  margin-left: auto;
  align-items: center;
  flex-wrap: wrap;       /* let extra links wrap rather than disappear */
  flex-shrink: 1;
  min-width: 0;
}
.nav a {
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-soft);
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}
@media (max-width: 1024px) {
  .nav a { padding: 0.4rem 0.65rem; font-size: 0.82rem; }
}
@media (max-width: 720px) {
  .nav { gap: 0.1rem; margin-left: 0; }
  .nav a { padding: 0.4rem 0.55rem; font-size: 0.78rem; }
  .topbar__live { padding-left: 0.5rem; }
}
.nav a:hover { background: var(--surface-2); color: var(--text); }
.nav a.active { background: var(--text); color: #fff; }

.topbar__live {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--red);
  padding-left: 1rem;
  border-left: 1px solid var(--border);
}
.topbar__live::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--red);
  border-radius: 50%;
  animation: pulse-dot 1.5s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.topbar__updated {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  /* Reserve fixed width so the post-fetch "—" → "12 May 2026 · 07:21 UTC"
     swap doesn't shift the rest of the navbar (CLS guard). */
  min-width: 19ch;
  text-align: right;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
/* Don't override the @media (max-width:900){ display:none } from earlier.
   Inline-block applies only when the element is visible. */
@media (min-width: 901px) {
  .topbar__updated { display: inline-block; }
}

/* ============================================================
   PAGE HEADER
   ============================================================ */

.page-header {
  padding: 2.25rem 0 1.5rem;
  border-bottom: 1px solid var(--border);
}

.page-header__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--red);
  background: var(--red-soft);
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  margin-bottom: 0.85rem;
}
.page-header__eyebrow::before {
  content: '';
  width: 5px; height: 5px;
  background: var(--red);
  border-radius: 50%;
}

.page-header h1 {
  font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.1;
  color: var(--text);
}

.page-header p {
  margin-top: 0.65rem;
  color: var(--text-muted);
  font-size: 0.96rem;
  max-width: 70ch;
}

/* ============================================================
   COUNTERS — Worldometers-style mega stats
   ============================================================ */

.counters {
  padding: 2rem 0 1.5rem;
  border-bottom: 1px solid var(--border);
}

.counters__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
/* Force 2-up on tablet to avoid the "3 + 1 orphan" layout. */
@media (max-width: 900px) and (min-width: 560px) {
  .counters__grid { grid-template-columns: 1fr 1fr; }
}

.counter {
  background: var(--bg);
  padding: 1.25rem 1.5rem;
  position: relative;
  transition: background 0.15s;
}
.counter:hover { background: var(--surface); }

.counter__label {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 0.55rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.counter__label::before {
  content: '';
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--text-faint);
  display: inline-block;
}
.counter--cases .counter__label::before { background: var(--red); }
.counter--deaths .counter__label::before { background: var(--red-deep); }
.counter--countries .counter__label::before { background: var(--text); }
.counter--cfr .counter__label::before { background: var(--amber); }

.counter__value {
  font-family: var(--font-mono);
  font-size: clamp(2rem, 1.4rem + 2vw, 2.85rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--text);
  margin-bottom: 0.5rem;
  font-variant-numeric: tabular-nums;
}
.counter--cases .counter__value { color: var(--red); }
.counter--deaths .counter__value { color: var(--red-deep); }

.counter__delta {
  font-size: 0.78rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.counter__delta strong {
  font-family: var(--font-mono);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--red);
}
.counter__delta .arrow {
  font-size: 0.7rem;
  color: var(--red);
}

/* ============================================================
   GRID — main content layout
   ============================================================ */

.main-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  padding: 1.5rem 0;
}
@media (min-width: 1024px) {
  .main-grid { grid-template-columns: 1fr 360px; }
}

/* ============================================================
   CARD
   ============================================================ */

.card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.card__head {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.card__title {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.card__title-count {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-muted);
  background: var(--surface-2);
  padding: 2px 7px;
  border-radius: 999px;
  letter-spacing: 0;
}

.card__sub {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 400;
}

.card__body { padding: 1.25rem; }
.card__body--flush { padding: 0; }

/* Filter pills */
.pills {
  display: inline-flex;
  background: var(--surface-2);
  border-radius: 999px;
  padding: 3px;
  gap: 0;
}
.pills button {
  padding: 0.32rem 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: 999px;
  transition: all 0.15s;
}
.pills button:hover { color: var(--text); }
.pills button.active {
  background: var(--bg);
  color: var(--text);
  box-shadow: var(--shadow-sm);
}

/* ============================================================
   MAP — small, clear
   ============================================================ */

.map-card {
  position: relative;
}

.map {
  position: relative;
  background: linear-gradient(180deg, #fafafa 0%, #f4f4f5 100%);
  height: 380px;
  overflow: hidden;
}

#worldMap { width: 100%; height: 100%; }
#worldMap path.country {
  fill: #e4e4e7;
  stroke: #ffffff;
  stroke-width: 0.5;
  transition: fill 0.15s, stroke 0.15s;
  cursor: pointer;
}
#worldMap path.country:hover {
  stroke: #18181b;
  stroke-width: 1.2;
}
#worldMap path.country.l1 { fill: #fee2e2; }
#worldMap path.country.l2 { fill: #fca5a5; }
#worldMap path.country.l3 { fill: #ef4444; }
#worldMap path.country.l4 { fill: #b91c1c; }
#worldMap path.country.l5 { fill: #7f1d1d; }

.map__legend {
  position: absolute;
  bottom: 12px; left: 12px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.55rem 0.75rem;
  font-size: 0.7rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: var(--shadow-sm);
}
.map__legend-label {
  color: var(--text-muted);
  font-weight: 500;
}
.map__legend-scale {
  display: flex;
  align-items: center;
  gap: 2px;
}
.map__legend-scale .swatch {
  width: 18px; height: 10px;
  display: inline-block;
}
.map__legend-bound {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-muted);
}

.map__tooltip {
  position: absolute;
  background: var(--text);
  color: #fff;
  padding: 0.55rem 0.7rem;
  border-radius: var(--radius);
  font-size: 0.78rem;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.12s;
  white-space: nowrap;
  z-index: 10;
  box-shadow: var(--shadow-lg);
}
.map__tooltip.show { opacity: 1; }
.map__tooltip strong {
  display: block;
  font-weight: 600;
  margin-bottom: 0.2rem;
  font-size: 0.85rem;
}
.map__tooltip .tt-row {
  display: flex;
  gap: 0.85rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: rgba(255,255,255,0.85);
}
.map__tooltip .tt-row span strong {
  color: #fff;
  display: inline;
  margin-right: 4px;
}

/* ============================================================
   OUTBREAK FEED — sidebar
   ============================================================ */

.feed {
  display: flex;
  flex-direction: column;
}

.feed__item {
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid var(--border);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: start;
  transition: background 0.15s;
  cursor: pointer;
}
.feed__item:hover { background: var(--surface); }
.feed__item:last-child { border-bottom: none; }
.feed__item--link { color: inherit; text-decoration: none; }
.feed__item--link:hover h4 { color: var(--red); }
.feed__ext { font-size: 0.78em; color: var(--text-muted); margin-left: 0.25rem; }

.feed__date {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  font-weight: 500;
  white-space: nowrap;
  padding-top: 0.1rem;
  letter-spacing: -0.01em;
}

.feed__body h4 {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.35;
  margin-bottom: 0.25rem;
  letter-spacing: -0.01em;
}
.feed__body p {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.45;
}
.feed__body .tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.45rem;
  padding: 2px 7px;
  border-radius: 4px;
  color: var(--text-soft);
  background: var(--surface-2);
}
.feed__body .tag.critical { color: #fff; background: var(--red); }
.feed__body .tag.active { color: var(--orange); background: #fff7ed; }
.feed__body .tag.watch { color: var(--amber); background: #fffbeb; }

/* ============================================================
   CHARTS
   ============================================================ */

.chart-wrap {
  position: relative;
  height: 260px;
  padding: 1rem 1.25rem 1.25rem;
}

.chart-meta {
  display: flex;
  gap: 1.5rem;
  padding: 0.85rem 1.25rem;
  border-top: 1px solid var(--border);
  background: var(--surface);
  font-family: var(--font-mono);
  font-size: 0.72rem;
}
.chart-meta__item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--text-muted);
}
.chart-meta__item .swatch {
  width: 10px; height: 10px;
  border-radius: 2px;
  display: inline-block;
}
.chart-meta__item strong {
  color: var(--text);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

/* ============================================================
   TABLE — country ledger (the protagonist)
   ============================================================ */

.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.country-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.country-table thead { background: var(--surface); }

.country-table th {
  text-align: left;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  padding: 0.65rem 1rem;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
  transition: color 0.15s;
}
.country-table th:hover { color: var(--text); }
.country-table th.sort-asc::after,
.country-table th.sort-desc::after {
  content: '';
  display: inline-block;
  width: 0; height: 0;
  margin-left: 5px;
  vertical-align: middle;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
}
.country-table th.sort-asc::after { border-bottom: 5px solid var(--red); }
.country-table th.sort-desc::after { border-top: 5px solid var(--red); }
.country-table th.num,
.country-table td.num { text-align: right; font-family: var(--font-mono); font-variant-numeric: tabular-nums; }

.country-table td {
  padding: 0.7rem 1rem;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}
.country-table tbody tr {
  transition: background 0.12s;
  cursor: pointer;
}
.country-table tbody tr:hover { background: var(--surface); }
.country-table tbody tr:last-child td { border-bottom: none; }

.country-table .rank {
  font-family: var(--font-mono);
  color: var(--text-faint);
  font-weight: 500;
  font-size: 0.78rem;
}

.country-table .country-cell {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 600;
  color: var(--text);
}
.country-table .flag {
  font-size: 1rem;
  line-height: 1;
  width: 22px;
}
.country-table .country-cell a:hover { color: var(--red); }

.country-table .num--cases { color: var(--red); font-weight: 600; }
.country-table .num--deaths { color: var(--red-deep); font-weight: 500; }
.country-table .num--cfr { color: var(--text-soft); }
.country-table .num--recent { color: var(--orange); font-weight: 500; }
.country-table .num--recent.zero { color: var(--text-faint); font-weight: 400; }

.region-pill {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 500;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--text-soft);
}

.species-cell {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.bar {
  display: inline-block;
  width: 50px;
  height: 5px;
  background: var(--surface-2);
  border-radius: 999px;
  overflow: hidden;
  margin-left: 0.5rem;
  vertical-align: middle;
}
.bar__fill {
  display: block;
  height: 100%;
  background: var(--red);
  transform-origin: left;
  border-radius: 999px;
}

/* Search bar above table */
.table-toolbar {
  display: flex;
  gap: 0.75rem;
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  align-items: center;
  flex-wrap: wrap;
}
.search {
  flex: 1;
  min-width: 200px;
  position: relative;
}
.search input {
  width: 100%;
  padding: 0.5rem 0.85rem 0.5rem 2.1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  font-size: 0.85rem;
  font-family: var(--font-sans);
  color: var(--text);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.search input:focus {
  outline: none;
  border-color: var(--text);
  box-shadow: 0 0 0 3px rgba(24,24,27,0.06);
}
.search input::placeholder { color: var(--text-faint); }
.search::before {
  content: '';
  position: absolute;
  left: 0.75rem;
  top: 50%;
  width: 14px; height: 14px;
  transform: translateY(-50%);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2371717a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.3-4.3'/%3E%3C/svg%3E") no-repeat center / contain;
}

.region-filter {
  display: inline-flex;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2px;
}
.region-filter button {
  padding: 0.35rem 0.7rem;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: 4px;
  transition: all 0.15s;
}
.region-filter button:hover { color: var(--text); }
.region-filter button.active { background: var(--text); color: #fff; }

/* ============================================================
   FACT TILES (compact, modern)
   ============================================================ */

.fact-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  padding: 1.5rem 0;
}

.fact-tile {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  transition: border-color 0.15s, transform 0.15s;
}
.fact-tile:hover {
  border-color: var(--border-strong);
  transform: translateY(-1px);
}

.fact-tile__num {
  font-family: var(--font-mono);
  font-size: 1.85rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--red);
  line-height: 1;
  margin-bottom: 0.65rem;
  font-variant-numeric: tabular-nums;
}

.fact-tile__label {
  font-size: 0.88rem;
  color: var(--text-soft);
  line-height: 1.45;
  margin-bottom: 0.6rem;
}
.fact-tile__label strong { color: var(--text); font-weight: 600; }

.fact-tile__source {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  padding-top: 0.6rem;
  border-top: 1px solid var(--border);
}

/* ============================================================
   SUBSCRIBE / CTA
   ============================================================ */

.subscribe {
  background: var(--text);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin: 1.5rem 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: center;
}
@media (min-width: 800px) { .subscribe { grid-template-columns: 1.2fr 1fr; } }

.subscribe h2 {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
}
.subscribe p {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.65);
  margin-top: 0.6rem;
  max-width: 50ch;
}

.subscribe form {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.subscribe input {
  flex: 1;
  min-width: 200px;
  padding: 0.7rem 0.95rem;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  color: #fff;
  border-radius: var(--radius);
  font-size: 0.88rem;
  font-family: var(--font-sans);
}
.subscribe input::placeholder { color: rgba(255,255,255,0.5); }
.subscribe input:focus {
  outline: none;
  border-color: rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.12);
}
.subscribe button {
  padding: 0.7rem 1.25rem;
  background: var(--red);
  color: #fff;
  border-radius: var(--radius);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: background 0.15s;
}
.subscribe button:hover { background: var(--red-hover); }

/* ============================================================
   FOOTER
   ============================================================ */

.footer {
  border-top: 1px solid var(--border);
  padding: 2rem 0 1.5rem;
  margin-top: 2rem;
  font-size: 0.85rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}
@media (min-width: 700px) { .footer__grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; } }

.footer__brand p {
  color: var(--text-muted);
  font-size: 0.82rem;
  max-width: 38ch;
  margin-top: 0.65rem;
  line-height: 1.5;
}

.footer h5 {
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 0.65rem;
  letter-spacing: -0.005em;
}
.footer ul { list-style: none; display: flex; flex-direction: column; gap: 0.35rem; }
.footer a {
  color: var(--text-muted);
  font-size: 0.82rem;
  transition: color 0.15s;
}
.footer a:hover { color: var(--text); }

.footer__legal {
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ============================================================
   PROSE pages (about, methodology, country)
   ============================================================ */

.prose {
  max-width: 720px;
  margin: 0 auto;
  padding: 2.5rem 0 4rem;
}
.prose .breadcrumb {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  display: flex;
  gap: 0.45rem;
  align-items: center;
}
.prose .breadcrumb a { color: var(--text-muted); }
.prose .breadcrumb a:hover { color: var(--text); }
.prose .breadcrumb .sep { color: var(--text-faint); }

.prose h1 {
  font-size: clamp(1.8rem, 1.4rem + 1.5vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.1;
  margin-bottom: 0.85rem;
}

.prose .lede {
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--text-soft);
  margin-bottom: 2rem;
  max-width: 60ch;
}

.prose h2 {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  margin: 2rem 0 0.75rem;
  line-height: 1.2;
}

.prose h3 {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin: 1.5rem 0 0.5rem;
}

.prose p {
  margin-bottom: 1rem;
  line-height: 1.65;
  color: var(--text-soft);
  font-size: 0.96rem;
}

.prose ul, .prose ol { margin: 0.75rem 0 1.25rem 1.25rem; line-height: 1.6; }
.prose li { margin-bottom: 0.3rem; color: var(--text-soft); font-size: 0.94rem; }

.prose a { color: var(--red); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; }
.prose a:hover { color: var(--red-hover); }

.prose blockquote {
  border-left: 3px solid var(--red);
  padding: 0.25rem 0 0.25rem 1.1rem;
  margin: 1.5rem 0;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text);
  letter-spacing: -0.015em;
}

.prose__byline {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ============================================================
   COUNTRY PAGE — header
   ============================================================ */

.country-hero {
  padding: 2rem 0;
  border-bottom: 1px solid var(--border);
}
.country-hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: stretch;
}
@media (min-width: 900px) { .country-hero__grid { grid-template-columns: 1fr 460px; gap: 2.5rem; } }

.country-hero h1 {
  font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.08;
  margin-bottom: 0.6rem;
}
.country-hero h1 .flag-big {
  display: inline-block;
  margin-right: 0.5rem;
  font-size: 1.1em;
}
.country-hero .lede {
  color: var(--text-soft);
  font-size: 1rem;
  line-height: 1.55;
  max-width: 56ch;
}

.country-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--border);
  gap: 1px;
}
.country-stats .cs {
  background: var(--bg);
  padding: 1rem 1.1rem;
}
.country-stats .cs__label {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.45rem;
}
.country-stats .cs__value {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  line-height: 1.05;
}
.country-stats .cs--cases .cs__value { color: var(--red); }
.country-stats .cs--deaths .cs__value { color: var(--red-deep); }
.country-stats .cs--small .cs__value {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: -0.015em;
}

/* ============================================================
   ANIMATIONS
   ============================================================ */

@keyframes rise {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.rise { animation: rise 0.4s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.rise-1 { animation-delay: 0.04s; }
.rise-2 { animation-delay: 0.08s; }
.rise-3 { animation-delay: 0.12s; }
.rise-4 { animation-delay: 0.16s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}

/* ============================================================
   UTILITIES
   ============================================================ */

.row { display: flex; gap: 0.75rem; align-items: center; flex-wrap: wrap; }
.muted { color: var(--text-muted); }
.divider { height: 1px; background: var(--border); margin: 1.5rem 0; }

/* ============================================================
   pSEO COMPONENTS — TL;DR, breadcrumbs, FAQ, related, etc.
   ============================================================ */

/* Breadcrumbs */
.breadcrumbs {
  font-size: 0.78rem;
  color: var(--text-muted);
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
  margin-bottom: 0.5rem;
  font-family: var(--font-mono);
}
.breadcrumbs a { color: var(--text-muted); }
.breadcrumbs a:hover { color: var(--red); }
.breadcrumbs .sep { color: var(--text-faint); }
.breadcrumbs span[aria-current] { color: var(--text); font-weight: 500; }

/* TL;DR box — AI-SEO money shot */
.tldr {
  border: 1px solid var(--border);
  border-left: 3px solid var(--red);
  background: linear-gradient(180deg, #fef9f9 0%, #fefefe 100%);
  border-radius: var(--radius-lg);
  padding: 1.1rem 1.25rem;
  margin: 1.5rem 0 2rem;
}
.tldr__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.tldr__badge {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--red);
  padding: 0.18rem 0.45rem;
  border-radius: 4px;
  background: var(--red-soft);
}
.tldr__updated {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-muted);
}
.tldr__q {
  font-weight: 600;
  font-size: 0.96rem;
  color: var(--text);
  margin-bottom: 0.4rem;
  letter-spacing: -0.005em;
}
.tldr__a {
  font-size: 0.94rem;
  line-height: 1.55;
  color: var(--text-soft);
  margin: 0;
  max-width: none;
}

/* FAQ block */
.faq { margin: 2rem 0; }
.faq h2 { margin-bottom: 1rem; }
.faq__item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 0.5rem;
  background: var(--bg);
  transition: border-color 0.15s;
}
.faq__item[open] { border-color: var(--border-strong); }
.faq__item summary {
  padding: 0.85rem 1.1rem;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 2.5rem;
  letter-spacing: -0.01em;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: '+';
  position: absolute;
  right: 1.1rem;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-mono);
  font-weight: 400;
  color: var(--text-muted);
  font-size: 1.2rem;
  transition: transform 0.15s;
}
.faq__item[open] summary::after { content: '−'; }
.faq__item summary:hover { color: var(--red); }
.faq__answer {
  padding: 0 1.1rem 1rem;
  color: var(--text-soft);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* Related dispatches widget */
.related {
  margin: 2.5rem 0 1rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}
.related h3 {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 0.85rem;
}
.related__list { list-style: none; display: grid; grid-template-columns: 1fr; gap: 0; margin: 0; padding: 0; }
@media (min-width: 700px) { .related__list { grid-template-columns: 1fr 1fr; gap: 0; } }
.related__list li { margin: 0; }
.related__list a {
  display: block;
  padding: 0.85rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin: -1px 0 0 -1px;
  transition: background 0.15s, border-color 0.15s;
}
.related__list a:hover { background: var(--surface); border-color: var(--text); text-decoration: none; }
.related__label {
  display: block;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text);
  letter-spacing: -0.005em;
}
.related__note {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

/* Cite widget */
.cite {
  margin: 2rem 0;
  padding: 1rem 1.1rem;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.cite h4 {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}
.cite code {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-soft);
  display: block;
  word-break: break-word;
  line-height: 1.5;
}

/* Fact table (species at-a-glance) */
.fact-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg);
}
.fact-table th, .fact-table td {
  padding: 0.65rem 0.85rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--border);
}
.fact-table tr:last-child th, .fact-table tr:last-child td { border-bottom: none; }
.fact-table th {
  font-weight: 500;
  color: var(--text-muted);
  font-size: 0.78rem;
  width: 38%;
  background: var(--surface);
}
.fact-table td { color: var(--text); font-weight: 500; }
.fact-table em { font-style: italic; color: var(--text-soft); font-weight: 400; }

/* Compare table */
.compare-table-wrap { overflow-x: auto; margin: 1.25rem 0 2rem; }
.compare-table {
  width: 100%;
  min-width: 540px;
  border-collapse: collapse;
  font-size: 0.88rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.compare-table thead th {
  background: var(--text);
  color: #fff;
  text-align: left;
  font-weight: 600;
  padding: 0.7rem 1rem;
  letter-spacing: -0.005em;
  font-size: 0.85rem;
}
.compare-table tbody th {
  text-align: left;
  font-weight: 500;
  color: var(--text-muted);
  background: var(--surface);
  padding: 0.7rem 1rem;
  font-size: 0.78rem;
  width: 28%;
  vertical-align: top;
}
.compare-table tbody td {
  padding: 0.7rem 1rem;
  border-bottom: 1px solid var(--border);
  color: var(--text-soft);
  vertical-align: top;
  line-height: 1.5;
}
.compare-table tbody tr:last-child td,
.compare-table tbody tr:last-child th { border-bottom: none; }
.compare-table tbody tr:hover { background: var(--surface); }

/* Footer mega-nav */
.footer__mega {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem 2rem;
  padding-bottom: 1.75rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
}
@media (min-width: 600px) { .footer__mega { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .footer__mega { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1200px) { .footer__mega { grid-template-columns: repeat(6, 1fr); } }

.footer__col h5 {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text);
  margin-bottom: 0.65rem;
}
.footer__col ul { list-style: none; display: flex; flex-direction: column; gap: 0.4rem; padding: 0; margin: 0; }
.footer__col a {
  font-size: 0.82rem;
  color: var(--text-muted);
  transition: color 0.15s;
}
.footer__col a:hover { color: var(--red); }

/* Species/term/compare grid cards */
.species-grid, .terms-grid, .card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin: 1.5rem 0 3rem;
}
@media (min-width: 700px) {
  .species-grid, .terms-grid, .card-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1000px) {
  .species-grid { grid-template-columns: repeat(3, 1fr); }
  .terms-grid { grid-template-columns: repeat(3, 1fr); }
}

.species-card, .term-card, .link-card {
  display: block;
  padding: 1.25rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: border-color 0.15s, transform 0.15s, box-shadow 0.15s;
  text-decoration: none;
}
.species-card:hover, .term-card:hover, .link-card:hover {
  border-color: var(--text);
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.species-card__group {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--red);
  margin-bottom: 0.4rem;
}
.species-card__name {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.25rem;
  color: var(--text);
}
.species-card__binomial { color: var(--text-muted); font-size: 0.82rem; margin-bottom: 0.65rem; }
.species-card__binomial em { font-style: italic; }
.species-card__summary {
  font-size: 0.85rem;
  color: var(--text-soft);
  line-height: 1.5;
  margin-bottom: 0.85rem;
}
.species-card__stats {
  display: flex;
  gap: 0.85rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  padding-top: 0.65rem;
  border-top: 1px solid var(--border);
}
.species-card__stats strong {
  color: var(--red);
  font-weight: 600;
  margin-right: 2px;
}
.species-card__region { margin-left: auto; color: var(--text-muted); font-family: var(--font-sans); font-size: 0.75rem; }

.term-card h2 {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin-bottom: 0.4rem;
  color: var(--text);
}
.term-card p {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

.link-card h2 {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin-bottom: 0.45rem;
  color: var(--text);
}
.link-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

/* Mobile prose tightening */
@media (max-width: 600px) {
  .prose { padding: 1.5rem 0 3rem; }
  .country-hero__grid { gap: 1.25rem; }
}

/* ============================================================
   NO-DATA STATES (real-source-only mode)
   ============================================================ */

.country-table tr.row--no-data { background: var(--bg); }
.country-table tr.row--no-data .country-cell a { color: var(--text-muted); }
.country-table tr.row--no-data:hover { background: var(--surface); }
.country-table tr.row--no-data .num--cases,
.country-table tr.row--no-data .num--deaths,
.country-table tr.row--no-data .num--cfr,
.country-table tr.row--no-data .num--recent { color: var(--text-faint); font-weight: 400; }

.src-badge {
  display: inline-block;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green);
  margin-left: 0.4rem;
  flex-shrink: 0;
  vertical-align: middle;
}

.no-data-panel {
  height: 100%;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.6rem;
  padding: 1.5rem;
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius);
  background: var(--surface);
}
.no-data-panel strong {
  font-size: 1rem;
  color: var(--text);
  font-weight: 600;
  letter-spacing: -0.01em;
}
.no-data-panel span {
  font-size: 0.88rem;
  color: var(--text-soft);
  line-height: 1.5;
}
.no-data-panel .no-data-panel__src {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  padding-top: 0.5rem;
  margin-top: 0.25rem;
  border-top: 1px solid var(--border);
}
.no-data-panel em { font-style: italic; color: var(--text); }

.tt-source {
  margin-top: 0.4rem;
  padding-top: 0.35rem;
  border-top: 1px solid rgba(255,255,255,0.18);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0;
  text-transform: none;
}
.tt-row--nodata {
  font-size: 0.74rem;
  color: rgba(255,255,255,0.7);
  font-family: var(--font-sans);
  letter-spacing: 0;
}

/* country-hero stat cards: muted "Data unavailable" state */
.cs--unsourced .cs__value {
  color: var(--text-faint);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: -0.005em;
}
.cs--unsourced .cs__label::after {
  content: '  ·  no source';
  color: var(--text-faint);
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
}

/* counter row: explicit unsourced visual */
.counter--unsourced .counter__value {
  color: var(--text-faint);
  font-size: clamp(1.4rem, 1rem + 1.2vw, 1.85rem);
  font-family: var(--font-sans);
  font-weight: 600;
  letter-spacing: -0.015em;
}
.counter--unsourced .counter__delta { color: var(--text-faint); }

/* Alert pill (WHO DON outbreak marker on country rows) */
.alert-pill {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 2px 6px;
  border-radius: 999px;
  margin-left: 0.4rem;
  flex-shrink: 0;
}
.alert-pill--critical { background: var(--red); color: #fff; }
.alert-pill--active   { background: #fff7ed; color: var(--orange); border: 1px solid var(--orange); }
.alert-pill--report   { background: var(--surface-2); color: var(--text-soft); }
.alert-pill--watch    { background: #fffbeb; color: var(--amber); border: 1px solid var(--amber); }

.num--papers { color: var(--text-soft); font-weight: 500; }
.num--signals { color: var(--orange); font-weight: 600; }

/* Reporting caveat — when ECDC under-reports vs literature evidence */
.reporting-caveat,
.awaiting-2026 {
  margin: 1.25rem 0 2rem;
  padding: 1rem 1.25rem;
  border: 1px solid var(--amber);
  border-left: 4px solid var(--amber);
  background: #fffbeb;
  border-radius: var(--radius-lg);
  font-size: 0.92rem;
}
.awaiting-2026 {
  border-color: var(--text-muted);
  border-left-color: var(--red);
  background: var(--surface);
}
.awaiting-2026 h3 {
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--red);
  margin-bottom: 0.6rem;
}
.awaiting-2026 p { color: var(--text-soft); line-height: 1.55; }
.awaiting-2026__baseline {
  font-size: 0.85rem;
  border-top: 1px dashed var(--border);
  margin-top: 0.8rem;
  padding-top: 0.6rem;
  color: var(--text-muted);
}
.awaiting-2026__baseline strong { color: var(--text); }
.awaiting-2026__baseline span { font-family: var(--font-mono); }
.reporting-caveat h3 {
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--amber);
  margin-bottom: 0.6rem;
}
.reporting-caveat p {
  color: var(--text-soft);
  line-height: 1.55;
  margin-bottom: 0.55rem;
}
.reporting-caveat p:last-child { margin-bottom: 0; }

/* Country page outbreak alert callout */
.alert-callout {
  margin: 1.25rem 0 2rem;
  padding: 1rem 1.25rem;
  border: 1px solid var(--red);
  border-left: 4px solid var(--red);
  background: var(--red-soft);
  border-radius: var(--radius-lg);
}
.alert-callout h3 {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--red);
  margin-bottom: 0.45rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.alert-callout h3::before {
  content: '';
  width: 8px; height: 8px;
  background: var(--red);
  border-radius: 50%;
  animation: pulse-dot 1.5s ease-in-out infinite;
}
.alert-callout p {
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--text);
  line-height: 1.4;
  margin-bottom: 0.5rem;
}
.alert-callout .alert-meta {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.alert-callout a { color: var(--red); }

/* Source badges on country page */
.src-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--text-soft);
  margin-right: 0.4rem;
}
.src-pill--ok { background: #ecfdf5; color: var(--green); }
.src-pill::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: currentColor;
}

/* 24-hour mover widget on homepage hero */
.mover-widget {
  margin-top: 1.5rem;
  padding: 0.75rem 1rem;
  background: linear-gradient(180deg, var(--red-soft) 0%, var(--bg) 100%);
  border: 1px solid var(--red);
  border-radius: var(--radius-lg);
  border-left: 3px solid var(--red);
}
.mover-widget__head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 0.55rem;
}
.mover-widget__head strong {
  color: var(--red);
  font-weight: 600;
}
.mover-widget__live {
  color: var(--red);
  font-size: 0.7rem;
  animation: pulse-dot 1.5s ease-in-out infinite;
}
.mover-widget__sub { color: var(--text-faint); font-weight: 400; }
.mover-widget__body {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.mover-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.6rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.82rem;
  color: var(--text);
  text-decoration: none;
  transition: border-color 0.15s, transform 0.15s;
}
.mover-pill:hover {
  border-color: var(--red);
  transform: translateY(-1px);
}
.mover-pill__flag { font-size: 0.95rem; line-height: 1; }
.mover-pill__name { font-weight: 500; letter-spacing: -0.005em; }
.mover-pill__count {
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--red);
  font-size: 0.78rem;
}

/* Signal feed (country page latest news from GDELT + Google News) */
.signal-feed {
  margin: 2rem 0;
  padding: 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg);
}
.signal-feed h2 {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin-bottom: 0.45rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.signal-feed__count {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--text-muted);
  background: var(--surface-2);
  padding: 2px 8px;
  border-radius: 999px;
}
.signal-feed__lede {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 1rem;
  max-width: 60ch;
}
.signal-feed__langs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
  margin: 0.25rem 0 1.1rem;
  padding: 0.65rem 0.9rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.signal-feed__langs-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-right: 0.25rem;
}
.signal-feed__lang-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
  padding: 0.2rem 0.6rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.78rem;
  background: var(--bg);
  white-space: nowrap;
}
.signal-feed__lang-pill strong { font-weight: 600; color: var(--text); }
.signal-feed__lang-pill > span {
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.7rem;
}

.signal-feed__list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.6rem; }
.signal-feed__item {
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border);
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 0.75rem;
  align-items: start;
  font-size: 0.85rem;
}
.signal-feed__item:last-child { border-bottom: none; }
.signal-feed__date {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  white-space: nowrap;
  padding-top: 0.1rem;
}
.signal-feed__item a {
  display: block;
  font-weight: 500;
  color: var(--text);
  line-height: 1.4;
  margin-bottom: 0.2rem;
}
.signal-feed__item a:hover { color: var(--red); }
.signal-feed__meta {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-muted);
}
.signal-feed__lang {
  display: inline-block;
  padding: 1px 5px;
  background: var(--surface-2);
  border-radius: 4px;
  margin-left: 0.25rem;
}
