:root {
  --paper: #ffffff;
  --ink: #1e2125;
  --muted: #6a6f78;
  --rule: #dde0e4;
  --faint: #f3f4f6;
  --grey: #b9bec5;
  --flavio: #2d5b8c;
  --lula: #b53a36;
  --serif: 'Source Serif 4', Georgia, serif;
  --sans: 'IBM Plex Sans Condensed', 'Arial Narrow', sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #15171a; --ink: #e8e9eb; --muted: #9aa0a8; --rule: #2e3237; --faint: #1d2024;
    --grey: #5b616a; --flavio: #6f9fd4; --lula: #e0726d;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--serif);
  font-size: 18px; line-height: 1.55; font-variant-numeric: lining-nums; }
.wrap { max-width: 1000px; margin: 0 auto; padding: 0 20px; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--flavio); outline-offset: 2px; }

.masthead { border-bottom: 1px solid var(--rule); }
.masthead .wrap { display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  padding-top: 14px; padding-bottom: 12px; flex-wrap: wrap; }
.brand { font-family: var(--serif); font-weight: 700; font-size: 22px; text-decoration: none; letter-spacing: -0.01em; }
.masthead-note { margin: 0; font-family: var(--sans); font-size: 14px; color: var(--muted); }
.live-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--lula);
  margin-right: 6px; vertical-align: 1px; animation: pulse 2s infinite; }
@keyframes pulse { 50% { opacity: .25; } }
@media (prefers-reduced-motion: reduce) { .live-dot { animation: none; } }

.hero { padding: 40px 0 8px; }
.hero h1 { font-size: clamp(30px, 4.6vw, 46px); line-height: 1.08; font-weight: 600; letter-spacing: -0.015em;
  margin: 0 0 16px; max-width: 22ch; }
.dek { font-size: 20px; max-width: 62ch; margin: 0 0 28px; }

.duel { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 8px 0 6px; }
.duel .who { font-family: var(--sans); font-size: 15px; color: var(--muted); }
.duel .big { font-family: var(--serif); font-weight: 600; font-size: clamp(54px, 9vw, 96px); line-height: 1;
  letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.duel .votes { font-family: var(--sans); font-size: 15px; color: var(--muted); font-variant-numeric: tabular-nums; }
.duel .right { text-align: right; }
.fl { color: var(--flavio); } .lu { color: var(--lula); }

.track-wrap { margin: 14px 0 4px; }
.caption { font-family: var(--sans); font-size: 14px; color: var(--muted); margin: 6px 0 0; }

section { padding: 34px 0 6px; border-top: 1px solid var(--rule); margin-top: 34px; }
section h2 { font-size: 26px; line-height: 1.2; font-weight: 600; margin: 0 0 10px; max-width: 34ch; }
section p { max-width: 64ch; margin: 0 0 14px; }
.cols { display: grid; grid-template-columns: minmax(0, 1fr) 250px; gap: 36px; }
.cols aside { font-family: var(--sans); font-size: 14.5px; color: var(--muted); line-height: 1.45; }
.cols aside strong { color: var(--ink); font-weight: 600; }
figure { margin: 16px 0 6px; }
figure svg { display: block; width: 100%; height: auto; overflow: visible; }
figcaption { font-family: var(--sans); font-size: 13px; color: var(--muted); margin-top: 6px; }
svg text { font-family: var(--sans); fill: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; }
svg .ink { fill: var(--ink); }
svg .strong { font-weight: 600; }

table { width: 100%; border-collapse: collapse; font-family: var(--sans); font-size: 15px;
  font-variant-numeric: tabular-nums; margin: 10px 0; }
th { text-align: left; font-weight: 600; border-bottom: 1.5px solid var(--ink); padding: 6px 10px 6px 0;
  vertical-align: bottom; white-space: nowrap; }
th button { all: unset; cursor: pointer; }
th button:hover { text-decoration: underline; }
td { border-bottom: 1px solid var(--rule); padding: 6px 10px 6px 0; }
td.n, th.n { text-align: right; }
.share { display: inline-block; height: 8px; vertical-align: middle; }
.lists { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.lists h3 { font-family: var(--sans); font-size: 16px; font-weight: 600; margin: 0 0 4px; }
.lists ol { margin: 0; padding: 0; list-style: none; font-family: var(--sans); font-size: 15px; }
.lists li { display: flex; justify-content: space-between; gap: 10px; padding: 5px 0; border-bottom: 1px solid var(--rule); }
.lists li span:last-child { font-variant-numeric: tabular-nums; }
.countdown { font-family: var(--sans); font-size: 16px; }
.loading, .error { font-family: var(--sans); color: var(--muted); padding: 60px 0; }
.site-footer { border-top: 1px solid var(--rule); margin-top: 48px; padding-top: 16px; padding-bottom: 40px;
  font-family: var(--sans); font-size: 13.5px; color: var(--muted); }
.site-footer p { margin: 0 0 6px; max-width: 80ch; }

@media (max-width: 760px) {
  body { font-size: 17px; }
  .cols { grid-template-columns: 1fr; gap: 8px; }
  .lists { grid-template-columns: 1fr; }
  .hide-sm { display: none; }
}
