:root {
  --empty: #e4e4e4; --empty2: #eeeeee; --tri: #f4f4f4; --win: #2a9d5c; --win-ink: #1f7a47; --adv: #9fd8b3; --adv-ink: #121212; --win-text: #ffffff; --win-soft: rgba(42,157,92,.13); --c-own: #8a63c9; --c-dna: #c9c9c9; --c-dna-ink: #121212; --c-unk: #bdbdbd; --c-step0: #bdbdbd; --spag: #cfcfcf; --land: #f0eeea;
  --bg: #ffffff; --ink: #121212; --ink-2: #333; --ink-3: #727272; --rule: #e2e2e2; --grid: #ececec;
  --hl: #e4572e; --hl-ink: #b23a14; --hl-soft: rgba(228,87,46,.14); --ctx: #c7c7c7; --ctx-ink: #8a8a8a; --rival: #5b6b7f;
  --sans: "Libre Franklin", "Helvetica Neue", Arial, sans-serif;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --stage: #121212;
}
:lang(ar) { --sans: "Noto Sans Arabic", "Libre Franklin", sans-serif; --serif: "Noto Naskh Arabic", "Noto Sans Arabic", serif; }
:lang(hi) { --sans: "Noto Sans Devanagari", "Libre Franklin", sans-serif; --serif: "Noto Serif Devanagari", "Noto Sans Devanagari", serif; }
:lang(zh) { --sans: "Libre Franklin", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif; --serif: "Source Serif 4", "Noto Serif SC", "Songti SC", serif; }
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
body.on-wrapped { background: var(--stage); }
a { color: inherit; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; inset-inline-start: -999px; }
.skip:focus { inset-inline-start: 8px; top: 8px; z-index: 99; background: var(--ink); color: #fff; padding: 6px 10px; }
:focus-visible { outline: 2px solid var(--hl); outline-offset: 2px; }

/* header */
.top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 18px; padding: 10px 20px; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--rule); flex-wrap: wrap; }
body.on-wrapped .top { background: rgba(18,18,18,.94); border-color: #2a2a2a; color: #f2f2f2; }
.brand { font-family: var(--serif); font-weight: 700; font-size: 19px; text-decoration: none; letter-spacing: -0.01em; }
.nav { display: flex; gap: 18px; flex: 1; flex-wrap: wrap; }
.nav a { color: var(--ink-3); text-decoration: none; font-size: 13px; font-weight: 600; letter-spacing: .02em; padding: 4px 0; border-bottom: 2px solid transparent; }
body.on-wrapped .nav a { color: #a9a9a9; }
.nav a[aria-current="page"] { color: var(--ink); border-color: var(--ink); }
body.on-wrapped .nav a[aria-current="page"] { color: #fff; border-color: #fff; }
.lang select { background: transparent; color: inherit; border: 1px solid var(--rule); border-radius: 4px; padding: 5px 8px; font: inherit; font-size: 13px; }
body.on-wrapped .lang select { border-color: #3a3a3a; }
.lang option { color: #111; }
.banner { padding: 7px 20px; font-size: 12.5px; color: #5c4a10; background: #fbf4dc; border-bottom: 1px solid #efe3b8; }
body.on-wrapped .banner { color: #d9c88e; background: #1d1a10; border-color: #33301f; }

/* ---------- Wrapped ---------- */
.wrapped { position: relative; max-width: 440px; margin: 18px auto; height: min(800px, calc(100vh - 130px)); min-height: 600px; border-radius: 16px; overflow: hidden; user-select: none; touch-action: pan-y; box-shadow: 0 20px 60px rgba(0,0,0,.45); }
.progress { position: absolute; top: 12px; inset-inline: 14px; display: flex; gap: 4px; z-index: 5; }
.progress span { flex: 1; height: 3px; border-radius: 2px; background: rgba(255,255,255,.3); overflow: hidden; }
.progress span i { display: block; height: 100%; width: 0; background: #fff; }
.progress span.done i { width: 100%; }
.card { position: absolute; inset: 0; padding: 52px 28px 96px; display: flex; flex-direction: column; justify-content: center; gap: 12px; color: #fff; }
.card[hidden] { display: none; }
.card .kicker { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; opacity: .9; }
:lang(ar) .card .kicker, :lang(hi) .card .kicker, :lang(zh) .card .kicker { letter-spacing: 0; text-transform: none; font-size: 14px; }
.card .big { font-size: clamp(64px, 19vw, 112px); font-weight: 800; line-height: .92; letter-spacing: -0.04em; font-feature-settings: "tnum" 0; }
.card .mid { font-family: var(--serif); font-size: clamp(26px, 7vw, 34px); font-weight: 700; line-height: 1.12; letter-spacing: -0.01em; }
.card .lead { font-size: 18px; line-height: 1.38; max-width: 32ch; margin: 0; }
.card .mini { margin: 6px 0 2px; }
.card .mini svg { display: block; width: 100%; height: auto; overflow: visible; }
.card .mini text { font-family: var(--sans); fill: #fff; }
.card .list { margin: 0; padding: 0; list-style: none; font-size: 16px; }
.card .src { position: absolute; bottom: 66px; inset-inline: 28px; font-size: 11.5px; opacity: .85; }
.card .src a { color: #fff; }
.card .cta { align-self: flex-start; margin-top: 10px; background: #fff; color: #111; border-radius: 999px; padding: 12px 20px; font-weight: 700; text-decoration: none; }
.wctl { position: absolute; bottom: 16px; inset-inline: 16px; display: flex; justify-content: space-between; align-items: center; z-index: 6; }
.wctl button, .wctl a { background: rgba(0,0,0,.28); color: #fff; border: 1px solid rgba(255,255,255,.35); border-radius: 999px; padding: 8px 14px; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; text-decoration: none; }
.c-1 { background: linear-gradient(160deg, #e4572e, #a8331a); } .c-2 { background: linear-gradient(160deg, #3b3fb6, #20236e); } .c-3 { background: linear-gradient(160deg, #127a5a, #0a4a37); }
.c-4 { background: linear-gradient(160deg, #1d1d1d, #2f2f2f); } .c-5 { background: linear-gradient(160deg, #b8860b, #7a5600); } .c-6 { background: linear-gradient(160deg, #7b2a8c, #4a1656); }
.c-7 { background: linear-gradient(160deg, #0f5ea8, #0a3a6a); }
.tap { position: absolute; top: 40px; bottom: 64px; width: 38%; z-index: 4; background: transparent; border: 0; cursor: pointer; }
.tap.prev { inset-inline-start: 0; } .tap.next { inset-inline-end: 0; width: 62%; }

/* ---------- article pages ---------- */
.page { max-width: 640px; margin: 0 auto; padding: 36px 20px 80px; }
/* each page's text, written into its HTML for crawlers and readers without JavaScript (i18n_work/prerender.py); app.js removes it */
html.js .pre { display: none; }
.pre { overflow-wrap: anywhere; } .pre table { display: block; max-width: 100%; overflow-x: auto; }
.kick { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--hl-ink); }
:lang(ar) .kick, :lang(hi) .kick, :lang(zh) .kick { letter-spacing: 0; text-transform: none; font-size: 14px; }
.page h1 { font-family: var(--serif); font-size: clamp(30px, 5.4vw, 44px); line-height: 1.12; margin: 10px 0 14px; letter-spacing: -0.015em; font-weight: 700; }
.dek { font-family: var(--serif); font-size: 20px; line-height: 1.45; color: var(--ink-2); margin: 0 0 14px; }
.dateline { font-size: 13px; color: var(--ink-3); border-top: 1px solid var(--rule); padding-top: 10px; margin: 18px 0 26px; }
.page h2 { font-family: var(--sans); font-size: 22px; line-height: 1.25; margin: 52px 0 8px; font-weight: 700; letter-spacing: -0.01em; }
.page p, .page li { font-family: var(--serif); font-size: 18px; line-height: 1.6; color: var(--ink-2); }
.page ul { padding-inline-start: 22px; }
.keys { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 8px 0 6px; }
.key { border-top: 3px solid var(--ink); padding-top: 10px; }
.key .v { font-size: 34px; font-weight: 800; letter-spacing: -0.02em; line-height: 1; }
.key .v small { font-size: 16px; font-weight: 600; color: var(--ink-3); }
.key .l { font-size: 14px; line-height: 1.35; color: var(--ink-2); margin-top: 6px; }
.key .t { font-size: 12px; color: var(--ink-3); margin-top: 6px; line-height: 1.35; }
.note { font-size: 13px !important; color: var(--ink-3) !important; font-family: var(--sans) !important; line-height: 1.45 !important; }

/* charts break out wider than the text column */
.fig { margin: 22px -20px 30px; padding: 0 20px; }
@media (min-width: 980px) { .fig.wide { margin-inline: -150px; } }
.fig .hed { font-family: var(--serif); font-weight: 700; font-size: 21px; line-height: 1.3; margin: 0 0 4px; color: var(--ink); }
.fig .chat { font-family: var(--sans); font-size: 14px; line-height: 1.45; color: var(--ink-2); margin: 0 0 12px; }
.fig svg { display: block; width: 100%; height: auto; direction: ltr; overflow: visible; }
.fig .src { font-family: var(--sans); font-size: 12px; color: var(--ink-3); margin-top: 10px; }
.mult { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 720px) { .mult { grid-template-columns: 1fr; gap: 18px; } .keys { grid-template-columns: 1fr; gap: 14px; } }
.panel-t { font-size: 13px; font-weight: 700; margin: 0 0 4px; }
details { margin-top: 8px; font-family: var(--sans); font-size: 13px; color: var(--ink-3); }
summary { cursor: pointer; }
table { border-collapse: collapse; width: 100%; font-family: var(--sans); font-size: 13px; margin-top: 8px; }
th, td { text-align: start; padding: 6px 8px; border-bottom: 1px solid var(--grid); vertical-align: top; }
th { color: var(--ink-3); font-weight: 600; font-size: 11.5px; text-transform: uppercase; letter-spacing: .04em; border-bottom-color: var(--ink); }
td.num, th.num { text-align: end; font-variant-numeric: tabular-nums; }
.tablewrap { overflow-x: auto; }
.cov td { text-align: center; } .cov td:first-child, .cov th:first-child { text-align: start; white-space: nowrap; }
.sq { display: inline-block; width: 10px; height: 10px; border-radius: 2px; }
.sq.have { background: var(--ink); } .sq.none { border: 1px solid #bbb; } .sq.pend { background: repeating-linear-gradient(45deg, #d9a400 0 2px, #fff 2px 4px); border: 1px solid #d9a400; }

/* svg text */
.ax text, .lab { font-family: var(--sans); font-size: 12px; fill: var(--ink-3); }
.ax path { display: none; } .ax line { stroke: var(--grid); }
.lab { paint-order: stroke; stroke: #fff; stroke-width: 3px; stroke-linejoin: round; }
.lab.dark { fill: var(--ink); } .lab.b { font-weight: 700; } .lab.hl { fill: var(--hl-ink); font-weight: 700; } .lab.sm { font-size: 11px; }
.ann { font-family: var(--sans); font-size: 12.5px; fill: var(--ink); }
.tip { position: fixed; z-index: 50; pointer-events: none; background: #fff; color: #121212; font-family: var(--sans); font-size: 13px; padding: 7px 10px; border: 1px solid #d0d0d0; border-radius: 3px; max-width: 260px; box-shadow: 0 3px 12px rgba(0,0,0,.12); }
footer.foot { max-width: 640px; margin: 0 auto; padding: 16px 20px 40px; font-size: 12px; color: var(--ink-3); border-top: 1px solid var(--rule); }
@media (max-width: 640px) { .top { gap: 6px 12px; padding: 8px 14px; } .brand { flex: 1; font-size: 17px; } .nav { order: 3; flex: 1 1 100%; gap: 16px; } .page h2 { font-size: 20px; } .page p, .page li { font-size: 17px; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }

/* ---------- scrollytelling: every candidate, one dot ---------- */
.scrolly { position: relative; margin: 28px -20px 10px; }
.scrolly .graphic { position: sticky; top: 92px; height: 58vh; max-height: 720px; display: flex; align-items: center; justify-content: center; z-index: 1; }
.scrolly .graphic svg { width: 100%; height: 100%; display: block; direction: ltr; }
.scrolly .steps { position: relative; z-index: 2; margin-top: -10vh; pointer-events: none; }
.scrolly .step { margin: 0 auto 60vh; max-width: 340px; background: rgba(255,255,255,.96); border: 1px solid var(--rule); box-shadow: 0 2px 12px rgba(0,0,0,.06); padding: 14px 16px; font-family: var(--serif); font-size: 17px; line-height: 1.5; color: var(--ink); pointer-events: auto; }
.scrolly .step:last-child { margin-bottom: 40vh; }
.scrolly .step b { font-family: var(--sans); }
@media (min-width: 980px) {
  .scrolly { margin-inline: -260px; display: grid; grid-template-columns: 290px 1fr; gap: 30px; }
  .scrolly .steps { margin-top: 0; grid-column: 1; grid-row: 1; }
  .scrolly .graphic { grid-column: 2; grid-row: 1; top: 70px; height: calc(100vh - 90px); }
  .scrolly .step { margin: 0 0 70vh; }
  .scrolly .step:first-child { margin-top: 20vh; }
}
.sc-dot { transition: opacity .4s; }
.sc-g text { font-family: var(--sans); }
.scrolly-static { margin: 26px 0 10px; }
.st-step { border-top: 1px solid var(--rule); padding-top: 12px; margin-bottom: 26px; }
.st-txt { font-family: var(--serif) !important; font-size: 17px !important; margin: 0 0 6px; }
.st-n { display: inline-block; width: 22px; height: 22px; border-radius: 50%; background: var(--ink); color: #fff; font-family: var(--sans); font-size: 12px; font-weight: 700; text-align: center; line-height: 22px; margin-inline-end: 6px; }
.st-step svg { width: 100%; height: auto; display: block; direction: ltr; overflow: visible; }
.reclab { font-family: var(--sans); font-size: 11px; }

.units { display: block; width: 100%; max-width: 180px; height: auto; margin: 8px 0 2px; }
.cov td, .cov th { padding: 4px 8px; }
.cov th { white-space: normal; font-size: 10.5px; letter-spacing: .02em; text-align: center; }
.cov tfoot td { border-top: 1px solid var(--ink); border-bottom: 0; font-size: 12.5px; }
@media (max-width: 640px) { .cov td, .cov th { padding: 4px 4px; } .cov td:first-child { white-space: normal; font-size: 12px; } }
.credits { margin: 64px 0 10px; padding: 26px 26px 18px; background: #faf7f2; border-top: 4px solid var(--hl); }
.credits h2 { font-family: var(--serif) !important; font-size: 28px !important; margin: 6px 0 10px !important; }
.credits p { margin: 0 0 16px; }
.credits ul { list-style: none; padding: 0; margin: 0; }
.credits li { padding: 12px 0; border-top: 1px solid #e8e1d6; font-family: var(--sans) !important; font-size: 16px !important; line-height: 1.4 !important; }
.credits li b { font-size: 17px; }
.credits li a { color: var(--hl-ink); font-weight: 600; text-decoration: none; margin-inline-start: 6px; font-size: 14px; }
.credits li a:hover { text-decoration: underline; }
.credits li span { display: block; color: var(--ink-3); font-size: 14px; margin-top: 2px; }
.mapwrap { display: grid; grid-template-columns: 1fr 260px; gap: 22px; align-items: start; }
.mapbox svg { width: 100%; height: auto; display: block; }
.mdot { cursor: pointer; outline: none; }
.mdot circle { transition: r .15s; }
.mdot:hover circle, .mdot:focus circle { stroke: var(--ink); stroke-width: 2; }
.mdot.on circle { stroke: var(--ink); stroke-width: 3; r: 12; }
.mappanel { border-top: 3px solid var(--ink); padding-top: 12px; min-height: 220px; font-family: var(--sans); }
.mappanel h3 { font-family: var(--serif); font-size: 24px; line-height: 1.15; margin: 8px 0 4px; }
.mp-badge { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #fff; padding: 3px 7px; border-radius: 2px; }
.mp-office { font-size: 14px !important; color: var(--ink-3) !important; margin: 0 0 10px !important; font-family: var(--sans) !important; line-height: 1.4 !important; }
.mp-row { font-size: 14px !important; margin: 4px 0 !important; font-family: var(--sans) !important; color: var(--ink-2) !important; line-height: 1.4 !important; }
.mp-stats { margin: 10px 0 !important; padding: 0 !important; list-style: none; }
.mp-stats li { font-family: var(--sans) !important; font-size: 13.5px !important; color: var(--ink-2) !important; border-top: 1px solid var(--grid); padding: 6px 0 !important; line-height: 1.4 !important; }
.mp-watch { display: block; margin-top: 10px; padding: 10px 12px; background: var(--ink); color: #fff; text-decoration: none; font-weight: 700; font-size: 14px; border-radius: 3px; }
.mp-watch span { display: block; font-weight: 400; font-size: 12px; opacity: .8; margin-top: 3px; }
.mp-watch:hover { background: var(--hl-ink); }
.mp-none, .mp-hint { font-size: 14px !important; color: var(--ink-3) !important; font-family: var(--sans) !important; }
.mapselect { margin: 0 0 10px; font: inherit; font-size: 14px; padding: 6px 8px; border: 1px solid var(--rule); border-radius: 4px; background: #fff; max-width: 100%; }
@media (max-width: 820px) { .mapwrap { grid-template-columns: 1fr; } .mappanel { min-height: 0; } }
.mp-tag{font-style:normal;font-size:11px;letter-spacing:.04em;text-transform:uppercase;color:#e6e6e6;border:1px solid #9a9a9a;border-radius:3px;padding:0 4px;margin-inline-start:4px;white-space:nowrap}
footer.foot { display: flex; align-items: center; gap: 20px; }
footer.foot p { margin: 0; }
.foot-logo { flex: none; width: 120px; height: auto; border-radius: 14px; display: block; }
@media (max-width: 520px) { footer.foot { flex-direction: column; align-items: flex-start; gap: 12px; } }
.keys .units { max-width: 100%; }
mark.hlm { color: inherit; padding: 0 2px; margin: 0 -2px; border-radius: 2px; -webkit-box-decoration-break: clone; box-decoration-break: clone;
  background: linear-gradient(to right, rgba(228,87,46,.26), rgba(228,87,46,.26)) no-repeat 0 85% / 0% 62%;
  transition: background-size .9s cubic-bezier(.3,.7,.2,1) .15s; }
[dir="rtl"] mark.hlm { background-position: 100% 85%; }
mark.hlm.on { background-size: 100% 62%; }
@media (prefers-reduced-motion: reduce) { mark.hlm { transition: none; } }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-logo { width: 32px; height: 32px; border-radius: 7px; flex: none; display: block; }
@media (max-width: 640px) { .brand-logo { width: 28px; height: 28px; border-radius: 6px; } }
.brand-logo { width: auto; height: 31px; border-radius: 0; }
@media (max-width: 640px) { .brand-logo { width: auto; height: 27px; border-radius: 0; } }
.foot-logo { border-radius: 0; width: 130px; }

/* theme toggle */
.theme-btn { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; padding: 0; border: 1px solid var(--rule); border-radius: 4px; background: transparent; color: var(--ink); cursor: pointer; flex: none; }
.theme-btn:hover { border-color: var(--ink-3); }
.theme-btn:focus-visible { outline: 2px solid var(--hl); outline-offset: 2px; }
.theme-btn .i-sun, html[data-theme="dark"] .theme-btn .i-moon { display: none; }
html[data-theme="dark"] .theme-btn .i-sun { display: block; }
.lang { margin-inline-start: auto; }
.only-dark { display: none !important; }
html[data-theme="dark"] .only-dark { display: block !important; }
html[data-theme="dark"] .only-light { display: none !important; }
.foot-logo-dark { width: 120px; border-radius: 12px; }

/* dark theme */
html[data-theme="dark"] {
  color-scheme: dark;
  --bg: #121212; --ink: #ececec; --ink-2: #c8c8c8; --ink-3: #9a9a9a; --rule: #333; --grid: #262626;
  --ctx: #4f4f4f; --ctx-ink: #8f8f8f; --hl-soft: rgba(228,87,46,.22); --hl-ink: #f07a52;
  --empty: #424242; --empty2: #2a2a2a; --tri: #1b1b1b; --win: #3fbf74; --win-ink: #5fd38d; --adv: #2f6b47; --adv-ink: #e6f4ea; --win-text: #0b2615; --win-soft: rgba(63,191,116,.16); --c-own: #b39ae6; --c-dna: #575757; --c-dna-ink: #ececec; --c-unk: #5a5a5a; --c-step0: #7c7c7c; --rival: #8a9bb3; --spag: #3b3b3b; --land: #262626;
}
html[data-theme="dark"] .top { background: rgba(18,18,18,.96); }
html[data-theme="dark"] .banner { color: #e9d9a0; background: #2b2410; border-bottom-color: #43391a; }
html[data-theme="dark"] .lab { stroke: var(--bg); }
html[data-theme="dark"] .tip { background: #1e1e1e; color: var(--ink); border-color: #444; }
html[data-theme="dark"] .scrolly .step { background: rgba(26,26,26,.96); box-shadow: 0 2px 12px rgba(0,0,0,.5); }
html[data-theme="dark"] .st-n, html[data-theme="dark"] .mp-watch { color: var(--bg); }
html[data-theme="dark"] .mp-tag { color: #333; border-color: #777; }
html[data-theme="dark"] .credits { background: #1c1a17; }
html[data-theme="dark"] .credits li { border-top-color: #34302a; }
html[data-theme="dark"] .mapselect { background: var(--bg); color: var(--ink); }
html[data-theme="dark"] .lang option { color: var(--ink); background: var(--bg); }
html[data-theme="dark"] .sq.none { border-color: #666; }
html[data-theme="dark"] mark.hlm { background-image: linear-gradient(to right, rgba(228,87,46,.38), rgba(228,87,46,.38)); }
html[data-theme="dark"] .mp-watch { background: #242424; color: var(--ink); border: 1px solid #3a3a3a; }
html[data-theme="dark"] .mp-watch:hover { border-color: var(--hl); }
html[data-theme="dark"] .mp-tag { color: #cfcfcf; border-color: #6a6a6a; }
/* phone header: one row when it fits, wraps gracefully on very narrow screens */
@media (max-width: 640px) {
  .top { gap: 8px 10px; padding: 8px 12px; flex-wrap: wrap; }
  .brand { flex: none; }
  .nav { order: 0; flex: 1 1 auto; gap: 12px; flex-wrap: nowrap; white-space: nowrap; }
  .nav a { font-size: 12.5px; letter-spacing: 0; }
  .lang { margin-inline-start: 0; }
  .lang select { font-size: 12px; padding: 5px 2px 5px 6px; }
  .theme-btn { width: 32px; height: 32px; }
}
@media (max-width: 400px) {
  .top { gap: 6px 8px; padding: 8px 10px; }
  .nav { gap: 10px; }
  .nav a { font-size: 12px; }
  .brand-logo { height: 24px; }
  .theme-btn { width: 30px; height: 30px; }
}
@media (max-width: 640px) {
  .cov { table-layout: fixed; width: 100%; }
  .cov th:first-child, .cov td:first-child { width: 28%; }
  .cov th { font-size: 8.5px; letter-spacing: 0; padding: 4px 1px; overflow-wrap: anywhere; }
  .cov td { padding: 4px 1px; }
}
.cov .th-s { display: none; }
@media (max-width: 640px) {
  .cov .th-l { display: none; } .cov .th-s { display: inline; }
  .cov th { font-size: 9px; overflow-wrap: normal; }
}
/* mid-size screens: never let the scrollytelling break out past a 40px gutter */
@media (min-width: 980px) {
  .scrolly { margin-inline: calc(-1 * min(260px, (100vw - 600px) / 2 - 40px)); }
}
/* YouTube buttons: soft YouTube-red tint instead of a solid black block */
.mp-watch, html[data-theme="dark"] .mp-watch { border: 1px solid; transition: background-color .15s, border-color .15s; }
.mp-watch { background: #fdeeed; border-color: #f4c9c6; color: #c00; }
.mp-watch span { color: #5c2b28; opacity: .9; }
.mp-watch:hover { background: #fbe0de; border-color: #e8a19c; }
.mp-watch .mp-tag { color: #a8322b; border-color: #e3aaa6; }
html[data-theme="dark"] .mp-watch { background: #2a1715; border-color: #4d2522; color: #ff5a52; }
html[data-theme="dark"] .mp-watch span { color: #ecd0ce; }
html[data-theme="dark"] .mp-watch:hover { background: #351c1a; border-color: #ff4e45; }
html[data-theme="dark"] .mp-watch .mp-tag { color: #f0b2ae; border-color: #7a3a36; }
.mp-wl { display: flex; align-items: center; gap: 8px; font-weight: 700; }
.mp-wl i { font-style: normal; flex: 1; }
.mp-yt { flex: none; }
.mp-ext { flex: none; opacity: .75; }
.mp-watch:hover .mp-ext { opacity: 1; }
[dir="rtl"] .mp-ext { transform: scaleX(-1); }
.mp-watch svg.mp-yt { width: 22px !important; height: 16px !important; max-width: none; }
.mp-watch svg.mp-ext { width: 13px !important; height: 13px !important; max-width: none; }
.lab.win { fill: var(--win-ink); font-weight: 700; }
/* scrollytelling: green highlighter to match the green "good outcome" dots */
.scrolly mark.hlm, .scrolly-static mark.hlm { background-image: linear-gradient(to right, rgba(42,157,92,.24), rgba(42,157,92,.24)); }
html[data-theme="dark"] .scrolly mark.hlm, html[data-theme="dark"] .scrolly-static mark.hlm { background-image: linear-gradient(to right, rgba(63,191,116,.32), rgba(63,191,116,.32)); }
.fig svg.leg-ic { width: 14px !important; height: 14px !important; display: inline-block; vertical-align: -2px; max-width: none; margin: 0; }
.lang { position: relative; display: inline-flex; align-items: center; }
.lang .globe { position: absolute; inset-inline-start: 8px; pointer-events: none; color: var(--ink-3); }
.lang select { padding-inline-start: 30px; }
@media (max-width: 640px) { .lang .globe { inset-inline-start: 6px; width: 14px; height: 14px; } .lang select { padding-inline-start: 24px; } }
@media (max-width: 380px) {
  .top { gap: 6px; }
  .nav { gap: 8px; } .nav a { font-size: 11.5px; }
  .brand-logo { height: 22px; }
  .theme-btn { width: 28px; height: 28px; }
  .lang select { padding-inline-start: 22px; padding-inline-end: 0; }
  .lang .globe { inset-inline-start: 5px; width: 13px; height: 13px; }
}
:lang(ja) { --sans: "Libre Franklin", "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif; --serif: "Source Serif 4", "Noto Sans JP", "Hiragino Mincho ProN", serif; }
:lang(ko) { --sans: "Libre Franklin", "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif; --serif: "Source Serif 4", "Noto Sans KR", "AppleMyungjo", serif; }
:lang(ru) { --sans: "Libre Franklin", "Helvetica Neue", Arial, sans-serif; --serif: "Source Serif 4", Georgia, serif; }
:lang(ur) { --sans: "Noto Sans Arabic", "Libre Franklin", sans-serif; --serif: "Noto Naskh Arabic", "Noto Sans Arabic", serif; }
:lang(ur) .kick, :lang(ja) .kick, :lang(ko) .kick { letter-spacing: 0; text-transform: none; font-size: 14px; }
:lang(vi) { --sans: "Libre Franklin", "Noto Sans", Arial, sans-serif; }
:lang(zh-Hant) { --sans: "Libre Franklin", "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif; --serif: "Source Serif 4", "Noto Sans TC", "PingFang TC", serif; }
:lang(hy) { --sans: "Libre Franklin", "Noto Sans Armenian", Arial, sans-serif; --serif: "Source Serif 4", "Noto Sans Armenian", serif; }
:lang(hy) .kick { letter-spacing: .04em; }
:lang(fa) { --sans: "Noto Sans Arabic", "Libre Franklin", sans-serif; --serif: "Noto Naskh Arabic", "Noto Sans Arabic", serif; }
:lang(fa) .kick { letter-spacing: 0; text-transform: none; font-size: 14px; }
/* phones: full language names need room — logo, language and theme on row 1, sections on row 2 */
@media (max-width: 640px) {
  .top { flex-wrap: wrap; row-gap: 4px; }
  .brand { order: 0; }
  .lang { order: 1; margin-inline-start: auto; }
  .theme-btn { order: 2; }
  .nav { order: 3; flex: 1 1 100%; }
  .lang select { font-size: 13px; padding-inline-start: 26px; }
  .lang .globe { width: 14px; height: 14px; inset-inline-start: 7px; }
}
.cr-thanks { margin-top: 18px; padding-top: 18px; border-top: 2px solid var(--ink); font-family: var(--sans); }
.cr-thanks p { font-size: 15px; line-height: 1.5; color: var(--ink-2); margin: 0 0 10px; }
.cr-thanks .cr-th { font-family: var(--serif); font-size: 22px; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.cr-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.cr-btn { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 4px; font-weight: 700; font-size: 14px; text-decoration: none; color: #fff; --btn-yt-tri: #c00; }
.cr-btn.tw { background: #9146ff; } .cr-btn.tw:hover { background: #772ce8; }
.cr-btn.yt { background: #e00000; --btn-yt-tri: #e00000; } .cr-btn.yt:hover { background: #c00000; --btn-yt-tri: #c00000; }
.cr-btn svg { flex: none; width: auto !important; }
.cr-btn.yt svg rect { fill: #fff; }
html[data-theme="dark"] .cr-thanks { border-top-color: #4a443b; }
.special { margin: 14px 0 10px; padding: 14px 26px; border: 1px solid var(--rule); font-family: var(--sans); }
.special h3 { margin: 0 0 6px; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.special p { margin: 0; display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: 15px; }
.special .sp-i { white-space: nowrap; font-weight: 600; }
.special i { font-style: normal; font-weight: 400; color: var(--ink-3); }
.special a { color: var(--hl-ink); font-weight: 600; text-decoration: none; font-size: 14px; margin-inline-start: 4px; }
.special a:hover { text-decoration: underline; }
:lang(ar) .special h3, :lang(fa) .special h3, :lang(ur) .special h3, :lang(hi) .special h3, :lang(zh) .special h3, :lang(hy) .special h3 { letter-spacing: 0; text-transform: none; font-size: 14px; }
.special p, .special .sp-i, .special a { font-family: var(--sans) !important; }
.special p { font-size: 15px !important; line-height: 1.5 !important; }
.donate { max-width: 640px; margin: 40px auto 0; padding: 18px 20px 22px; border-top: 1px solid var(--rule); font-family: var(--sans); text-align: center; }
.donate p { margin: 0 0 12px; font-size: 16px; font-weight: 600; color: var(--ink); }
.donate-btns { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; }
.donate-btn { display: inline-block; padding: 9px 16px; border-radius: 4px; border: 1px solid #1f7a47; color: #1f7a47; font-weight: 700; font-size: 14px; text-decoration: none; }
.donate-btn:hover { background: #1f7a47; color: #fff; }
html[data-theme="dark"] .donate-btn { border-color: #5fd38d; color: #5fd38d; }
html[data-theme="dark"] .donate-btn:hover { background: #5fd38d; color: #0b2615; }
.special p { flex-direction: column; gap: 4px; }
.why { margin: 14px 0 0; }
.why summary { font-family: var(--sans); font-size: 13.5px; font-weight: 600; color: var(--ink-2); list-style: none; display: inline-flex; align-items: center; gap: 6px; }
.why summary::-webkit-details-marker { display: none; }
.why summary::before { content: ""; width: 7px; height: 7px; border-right: 1.75px solid currentColor; border-bottom: 1.75px solid currentColor; transform: rotate(-45deg); transition: transform .15s; margin-inline-end: 2px; }
[dir="rtl"] .why summary::before { transform: rotate(135deg); }
.why[open] summary::before { transform: rotate(45deg); }
.why p.note { margin: 6px 0 0 !important; }

/* ---------- By the numbers ---------- */
.topline { margin: 30px 0 34px; padding-top: 14px; border-top: 3px solid var(--ink); font-family: var(--sans); }
.topline .kick { margin-bottom: 18px; }
.tl-v { font-family: var(--serif); font-weight: 700; line-height: 1; color: var(--win-ink); letter-spacing: -0.015em; font-variant-numeric: lining-nums tabular-nums; white-space: nowrap; }
.tl-v .cur { font-size: .56em; vertical-align: .66em; margin-inline-end: .05em; font-weight: 600; }
.tl-l { font-size: 15px; line-height: 1.4; color: var(--ink-2); text-wrap: pretty; }

/* Hero: the 7 and who did it */
.tl-hero { display: grid; grid-template-columns: auto 1fr; align-items: end; column-gap: 18px; padding-bottom: 22px; border-bottom: 1px solid var(--rule); }
.tl-hero .tl-v { font-size: 128px; line-height: .74; letter-spacing: -0.04em; }
.tl-hero .tl-l { font-family: var(--serif); font-size: 26px; font-weight: 700; line-height: 1.15; color: var(--ink); padding-bottom: 2px; max-width: 16ch; }
.tl-cols { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; margin-top: 24px; }
.tl-col h3 { margin: 0 0 12px; padding-bottom: 7px; border-bottom: 1px solid var(--rule); font-family: var(--sans); font-size: 11.5px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--ink-3); }
.tl-col h3 span { color: var(--win-ink); margin-inline-start: 4px; }
.tl-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.tl-list li { display: flex; align-items: center; gap: 11px; margin: 0; padding: 0; }
.tl-list .av { flex: none; width: 42px; height: 42px; border-radius: 50%; object-fit: cover; background: var(--win-soft); color: var(--win-ink); display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 13.5px; box-shadow: 0 0 0 1px var(--rule); }
.tl-w { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.tl-w b { font-size: 15px; font-weight: 700; color: var(--ink); }
.tl-o { font-size: 13px; color: var(--ink-3); }
.tl-seat { font-size: 11px; font-weight: 700; letter-spacing: .06em; color: var(--ink-3); white-space: nowrap; }
.tl-seat::before { content: "·"; margin: 0 .45em; font-weight: 400; }

/* The four money and organizing figures */
.tl-stats { display: grid; grid-template-columns: 1fr 1fr; }
.tl-stat { padding: 20px 0 18px; border-bottom: 1px solid var(--rule); }
.tl-stat:nth-child(odd) { padding-inline-end: 24px; }
.tl-stat:nth-child(even) { padding-inline-start: 24px; border-inline-start: 1px solid var(--rule); }
.tl-stat .tl-v { font-size: 44px; margin-bottom: 8px; }
.tl-src { font-size: 12px !important; line-height: 1.5 !important; color: var(--ink-3); margin: 12px 0 0 !important; font-family: var(--sans) !important; }
[dir="rtl"] .tl-v { unicode-bidi: plaintext; text-align: right; }

@media (max-width: 720px) {
  .tl-hero .tl-v { font-size: 92px; }
  .tl-hero .tl-l { font-size: 21px; }
  .tl-cols { grid-template-columns: 1fr; row-gap: 22px; margin-top: 20px; }
  .tl-stats { grid-template-columns: 1fr; }
  .tl-stat, .tl-stat:nth-child(odd), .tl-stat:nth-child(even) { padding: 16px 0 14px; border-inline-start: 0; }
  .tl-stat .tl-v { font-size: 38px; margin-bottom: 6px; }
}
/* r2 */
.topline .tl-list, .topline .tl-list li { font-family: var(--sans) !important; padding: 0 !important; margin: 0 !important; list-style: none; }
.topline .tl-list li::before, .topline .tl-list li::marker { content: none; display: none; }
.topline .tl-list { gap: 13px; }
.topline .tl-n { display: flex; align-items: baseline; flex-wrap: wrap; column-gap: 7px; }
.topline .tl-seat::before { content: none; }
.topline .tl-seat { font-size: 10.5px; letter-spacing: .07em; color: var(--ink-3); }
.topline .tl-o { font-size: 13px; line-height: 1.35; }
.tl-hero .tl-l { font-size: 30px; max-width: 10em; text-wrap: balance; }
@media (max-width: 720px) { .tl-hero .tl-l { font-size: 23px; } }
.tl-hero .tl-l { max-width: 13em; }
/* 15 = 7 + 8 */
.tl-col h3 { font-size: 12px; letter-spacing: .08em; color: var(--ink-2); }
.tl-col h3 .tl-cn { font-family: var(--serif); font-size: 20px; font-weight: 700; letter-spacing: 0; color: var(--win-ink); margin: 0 4px 0 0; text-transform: none; vertical-align: -1px; }
[dir="rtl"] .tl-col h3 .tl-cn { margin: 0 0 0 4px; }
.tl-hero .tl-l .tl-sub { display: block; margin-top: 8px; font-family: var(--sans); font-size: 13.5px; font-weight: 400; line-height: 1.4; color: var(--ink-3); max-width: 34ch; text-wrap: pretty; }
.tl-hero .tl-l { max-width: none; }
.tl-hero { align-items: center; }
/* small accents: direction, status, link arrows */
b.up { color: var(--win-ink); font-weight: 700; white-space: nowrap; }
.odot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-inline-end: 6px; vertical-align: .05em; box-shadow: 0 0 0 1px rgba(0,0,0,.08); }
.arr { display: inline-block; margin-inline-start: .3em; font-size: .85em; line-height: 1; opacity: .7; text-decoration: none; }
a:hover .arr { opacity: 1; }
[dir="rtl"] .arr { transform: scaleX(-1); }
/* pull quote */
.pq { margin: 30px 0 34px; padding: 2px 0 2px 22px; border-inline-start: 4px solid var(--win); }
[dir="rtl"] .pq { padding: 2px 22px 2px 0; }
.pq p { margin: 0 !important; font-family: var(--serif) !important; font-size: 26px !important; line-height: 1.3 !important; font-weight: 600; color: var(--ink) !important; text-wrap: balance; }
@media (max-width: 720px) { .pq p { font-size: 21px !important; } }
/* results at a glance */
.glance table { width: 100%; }
.glance td.mk { width: 26px; padding-inline-end: 0; text-align: center; }
.glance .ok { color: var(--win-ink); font-weight: 800; }
.glance .no { color: var(--ink-3); }
.glance td { vertical-align: top; }
.glance td.num { white-space: nowrap; }
@media (max-width: 720px) {
  .glance thead { display: none; }
  .glance table, .glance tbody { display: block; width: 100%; }
  .glance tr { display: grid; grid-template-columns: 20px auto 1fr; column-gap: 10px; row-gap: 3px; padding: 10px 0; border-bottom: 1px solid var(--rule); }
  .glance td { border: 0 !important; padding: 0 !important; }
  .glance td.mk { grid-row: 1 / span 2; text-align: start; }
  .glance td:nth-child(2) { grid-column: 2 / 4; }
  .glance td:nth-child(3) { grid-column: 2; text-align: start; font-weight: 700; color: var(--ink); }
  .glance td:nth-child(4) { grid-column: 3; text-align: start; color: var(--ink-3); white-space: normal; }
}
/* ---------- vote share vs. spending baseline ---------- */
.sb { --sb-cols: 13rem minmax(0, 1fr) 7.5rem 8.5rem; margin-top: 14px; font-family: var(--sans); }
.sb-head, .sb-row, .sb-axis { display: grid; grid-template-columns: var(--sb-cols); column-gap: 16px; align-items: center; }
.sb-head { padding-bottom: 8px; border-bottom: 1px solid var(--ink); font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); align-items: end; }
.sb-head .sb-c i { display: block; font-style: normal; font-weight: 400; letter-spacing: 0; text-transform: none; font-size: 11.5px; }
.sb-row { padding: 9px 0; border-bottom: 1px solid var(--rule); }
.sb-name { display: flex; align-items: center; gap: 10px; min-width: 0; }
.sb-name span { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.sb-name b { font-size: 14.5px; color: var(--ink); }
.sb-name small { font-size: 11.5px; color: var(--ink-3); letter-spacing: .03em; }
.sb-av { flex: none; width: 34px; height: 34px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1px var(--rule); }
.sb-track { position: relative; height: 26px; }
.sb-tick { position: absolute; top: -9px; bottom: -9px; border-inline-start: 1px dashed var(--rule); }
.sb-tick:first-child { border-inline-start: 1px solid var(--ink-3); }
.sb-bar { position: absolute; inset-inline-start: 0; top: 4px; height: 18px; background: var(--win); border-radius: 0 2px 2px 0; }
[dir="rtl"] .sb-bar { border-radius: 2px 0 0 2px; }
.sb-val { position: absolute; top: 50%; transform: translateY(-50%); margin-inline-start: 6px; font-family: var(--serif); font-weight: 700; font-size: 17px; color: var(--win-ink); white-space: nowrap; }
.sb-c { font-size: 13.5px; color: var(--ink-2); text-align: end; white-space: nowrap; }
.sb-vote b { color: var(--ink); }
.sb-arr { color: var(--ink-3); }
.sb-axis { padding-top: 6px; font-size: 11.5px; color: var(--ink-3); }
.sb-ticks { position: relative; height: 14px; }
.sb-ticks i { position: absolute; font-style: normal; transform: translateX(-50%); }
[dir="rtl"] .sb-ticks i { transform: translateX(50%); }
@media (max-width: 720px) {
  .sb { --sb-cols: 1fr; }
  .sb-head { display: none; }
  .sb-row { grid-template-columns: 1fr auto; row-gap: 6px; }
  .sb-name { grid-column: 1 / -1; }
  .sb-track { grid-column: 1 / -1; }
  .sb-c { text-align: start; font-size: 12.5px; }
  .sb-axis { grid-template-columns: 1fr; }
  .sb-axis > span:not(.sb-ticks) { display: none; }
}
.sb { --sb-cols: 12.5rem minmax(0, 1fr) 8rem 10rem; }
.sb-head .sb-ax { letter-spacing: .05em; }
.sb-ticks i:last-child { transform: translateX(-100%); }
[dir="rtl"] .sb-ticks i:last-child { transform: translateX(100%); }
.sb-ticks i:first-child { transform: none; }
.sb-head .sb-c { white-space: normal; }
/* Nov 3 general election */
.odot.ring { background: transparent; box-shadow: none; border: 2px solid; width: 8px; height: 8px; box-sizing: border-box; }
.fig .gen-sum { font-family: var(--sans); font-size: 14px; line-height: 1.45; color: var(--ink-2); margin: 2px 0 12px; padding-inline-start: 10px; border-inline-start: 3px solid var(--win); }
.fig .gen-sum .gen-w { color: var(--win-ink); font-weight: 700; }
.mp-gen .odot { margin-inline-start: 2px; }
/* Nov 3: results box under the newcomers */
.dateline .dl-upd { margin-inline-start: 10px; padding-inline-start: 10px; border-inline-start: 1px solid var(--rule); color: var(--ink-2); font-weight: 600; }
.tl-res { grid-column: 1 / -1; margin: 26px 0 0; padding: 0; border-top: 1px solid var(--rule); font-family: var(--sans); }
.tl-rr { display: grid; grid-template-columns: 11.5em 1fr; column-gap: 18px; padding: 11px 0; border-bottom: 1px solid var(--rule); align-items: baseline; }
.tl-res dt { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.tl-res dt .tl-cn { font-family: var(--serif); font-size: 18px; letter-spacing: 0; color: var(--ink); margin-inline-end: 4px; text-transform: none; }
.tl-res dd { margin: 0; display: flex; flex-wrap: wrap; column-gap: 18px; row-gap: 5px; font-size: 14.5px; line-height: 1.35; }
.tl-rn { white-space: nowrap; }
.tl-rn b { font-weight: 600; color: var(--ink); }
.tl-rn .tl-seat { margin-inline-start: 6px; }
.tl-rn .tl-seat::before { content: none; }
.tl-st { font-style: normal; font-size: 12.5px; margin-inline-start: 6px; color: var(--ink-3); }
.tl-st-lead { color: var(--win-ink); }
@media (max-width: 720px) {
  .tl-rr { grid-template-columns: 1fr; row-gap: 6px; }
  .tl-rn { white-space: normal; }
}
.dateline { display: flex; flex-wrap: wrap; row-gap: 4px; }
.dateline .dl-upd { white-space: nowrap; }
.rec-leg { display: block; margin-top: 4px; color: var(--ink-2); white-space: nowrap; }
sup.fn { font-size: .7em; font-weight: 700; color: var(--ink-3); margin-inline-start: 1px; vertical-align: .45em; line-height: 0; }
.fig .tl-fn, .tl-fn { font-family: var(--sans); font-size: 12px; line-height: 1.45; color: var(--ink-3); margin: 8px 0 0; grid-column: 1 / -1; }
.topline .tl-fn { font-family: var(--sans) !important; font-size: 12px !important; line-height: 1.45 !important; color: var(--ink-3); margin: 10px 0 0 !important; }
/* donations-by-day bars above the $ week-after stat */
.tl-spark { display: block; width: 100%; height: auto; margin: 0 0 12px; overflow: visible; }
.tl-spark text { font-family: var(--sans); font-size: 11px; fill: var(--ink-3); }
.tl-spark .tl-sp-c { font-weight: 700; fill: var(--ink-2); }
.tl-spark .tl-sp-a { fill: var(--win-ink); font-weight: 700; }
/* donations-by-day bars: grow in, then hover */
.tl-spark .sp-bar { fill: var(--c-dna); transform-box: fill-box; transform-origin: 50% 100%; transform: scaleY(0); transition: transform .7s cubic-bezier(.2,.75,.25,1) calc(var(--i) * 55ms), fill .15s, opacity .15s; }
.tl-spark .sp-a .sp-bar { fill: var(--win); }
.tl-spark.in .sp-bar { transform: scaleY(1); }
.tl-spark text { opacity: 0; transition: opacity .5s ease .5s; }
.tl-spark .tl-sp-c { transition-delay: 1.05s; }
.tl-spark.in text { opacity: 1; }
.tl-spark .sp-col { cursor: pointer; }
.tl-spark.hov .sp-col:not(.on) .sp-bar { opacity: .45; }
.tl-spark .sp-col.on .sp-bar { fill: var(--ink-2); }
.tl-spark .sp-a.on .sp-bar { fill: var(--win-ink); }
@media (prefers-reduced-motion: reduce) { .tl-spark .sp-bar, .tl-spark text { transition: none; } }
/* donations stat on its own row, then calls | doors */
.tl-stats .tl-stat.tl-wide { grid-column: 1 / -1; padding-inline: 0; border-inline-start: 0; }
.tl-stats .tl-stat.tl-wide ~ .tl-stat:nth-child(even) { padding-inline: 0 24px; border-inline-start: 0; }
.tl-stats .tl-stat.tl-wide ~ .tl-stat:nth-child(odd) { padding-inline: 24px 0; border-inline-start: 1px solid var(--rule); }
.tl-wide .tl-spark { max-width: none; }
@media (max-width: 720px) { .tl-stats .tl-stat.tl-wide ~ .tl-stat:nth-child(n) { padding-inline: 0; border-inline-start: 0; } }
/* spending chart: names jump to the map */
.to-map { all: unset; cursor: pointer; display: inline-flex; align-items: baseline; gap: 4px; border-bottom: 1px solid transparent; }
.to-map b { border-bottom: 1px dotted var(--ink-3); }
.to-map:hover b, .to-map:focus-visible b { color: var(--win-ink); border-bottom-color: var(--win-ink); }
.to-map:focus-visible { outline: 2px solid var(--win); outline-offset: 2px; border-radius: 2px; }
.to-map-i { font-size: 11px; color: var(--ink-3); }
.to-map:hover .to-map-i { color: var(--win-ink); }
.mdot.pulse circle { animation: dotpulse 1.4s ease-out 2; transform-box: fill-box; transform-origin: center; }
@keyframes dotpulse { 0% { transform: scale(1); } 30% { transform: scale(1.6); } 100% { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .mdot.pulse circle { animation: none; } }
/* Abdul El-Sayed case study */
.ab { margin: 46px 0 30px; padding-top: 14px; border-top: 3px solid var(--ink); }
.ab-head { display: flex; align-items: center; gap: 14px; }
.ab-av { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex: none; box-shadow: 0 0 0 1px var(--rule); }
.ab h2 { margin: 4px 0 0; }
.ab-dek { font-size: 17px; color: var(--ink-2); margin: 12px 0 0; }
.ab .step .ab-sh, .ab .st-txt .ab-sh { font-family: var(--serif); font-weight: 700; }
.ab svg .ab-coll { fill: var(--hl, #e4572e); font-size: 11px; }
.ab-src { margin-top: 6px; }
.ab .scrolly-static .st-step svg { margin-top: 6px; }
.ab svg .ab-note { font-size: 11.5px; paint-order: stroke; stroke: var(--bg); stroke-width: 3px; stroke-linejoin: round; }
.ab svg .ab-end { font-size: 12px; }
.ab svg .ab-tag { font-family: var(--sans); font-size: 12px; font-weight: 800; letter-spacing: .1em; fill: var(--hl); }
.ab svg .ab-blink { animation: abblink 1s steps(2, start) 3; }
@keyframes abblink { to { visibility: hidden; } }
@media (prefers-reduced-motion: reduce) { .ab svg .ab-blink { animation: none; } }
.ab svg .ab-panel .lab { font-size: 12px; }
.ab .scrolly .step { max-width: 320px; }
/* Abdul story, desktop: the chart breaks out of the column to the full window; text cards scroll over it */
body { overflow-x: clip; }
.ab svg .ab-ctxl { font-size: 11.5px; fill: var(--ink-3); font-style: italic; paint-order: stroke; stroke: var(--bg); stroke-width: 3px; stroke-linejoin: round; }
@media (min-width: 980px) {
  .ab .scrolly.ab-sc { display: block; width: 100vw; margin: 28px 0 10px calc(50% - 50vw); }
  .ab .scrolly.ab-sc .graphic { position: sticky; top: 56px; height: calc(100vh - 56px); max-height: none; width: 100%; }
  .ab .scrolly.ab-sc .steps { margin-top: calc(-100vh + 56px); }
  .ab .scrolly.ab-sc .step { width: 340px; max-width: 340px; margin: 0 0 85vh; box-shadow: 0 6px 24px rgba(0,0,0,.10); }
  .ab .scrolly.ab-sc .step:first-child { margin-top: 60vh; }
  .ab .scrolly.ab-sc .step:last-child { margin-bottom: 55vh; }
  .ab .scrolly.ab-sc .step[data-side="left"] { margin-left: max(32px, calc(50vw - 640px)); }
  .ab .scrolly.ab-sc .step[data-side="right"] { margin-left: auto; margin-right: max(32px, calc(50vw - 640px)); }
}
@media (min-width: 980px) { .ab .scrolly.ab-sc, .ab .scrolly.ab-sc .steps { display: flow-root; } }
/* Abdul story: stream cards beside the Hasan lines */
.ab .graphic { position: relative; }
.ab-layer { position: absolute; inset: 0; pointer-events: none; }
.ab-media { position: absolute; width: 210px; display: block; background: var(--bg); border: 1px solid var(--rule); box-shadow: 0 6px 20px rgba(0,0,0,.14); padding: 6px; text-decoration: none; color: var(--ink); font-family: var(--sans); opacity: 0; transform: translateY(10px) scale(.96); transition: opacity .45s ease, transform .45s ease; pointer-events: none; z-index: 1; }
.ab-media.on { opacity: 1; transform: none; pointer-events: auto; }
.ab-m-img { position: relative; display: block; }
.ab-m-img img { display: block; width: 100%; height: auto; }
.ab-m-img .mp-yt { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 34px; height: 24px; filter: drop-shadow(0 1px 3px rgba(0,0,0,.4)); }
.ab-m-t { display: block; font-size: 12px; font-weight: 700; line-height: 1.3; margin: 6px 2px 2px; text-transform: none; }
a.ab-media:hover .ab-m-t { color: var(--hl-ink); }
.ab-m-stat { padding: 10px 12px; border-left: 3px solid var(--hl); }
.ab-m-stat b { display: block; font-size: 12px; letter-spacing: .04em; text-transform: uppercase; color: var(--hl-ink); }
.ab-m-stat span { display: block; font-size: 14px; margin-top: 4px; }
.ab-media-ph { position: static; opacity: 1; transform: none; pointer-events: auto; width: auto; max-width: 260px; margin: 8px 0 6px; }
@media (prefers-reduced-motion: reduce) { .ab-media { transition: none; } }
.ab-media .ab-m-img svg.mp-yt { width: 34px !important; height: 24px !important; max-width: none; margin: 0; }
.ab-m-stat .ab-m-img { margin: -4px -6px 8px; }
.ab-m-stat { width: 230px; }
.ab .scrolly mark.hlm, .ab .scrolly-static mark.hlm { background-image: linear-gradient(to right, rgba(42,157,92,.34), rgba(42,157,92,.34)); }
html[data-theme="dark"] .ab .scrolly mark.hlm, html[data-theme="dark"] .ab .scrolly-static mark.hlm { background-image: linear-gradient(to right, rgba(63,191,116,.42), rgba(63,191,116,.42)); }
/* Abdul story: running campaign totals */
.ab-money { position: absolute; top: 14px; z-index: 2; font-family: var(--sans); background: var(--bg); padding: 6px 0 0; text-align: right; pointer-events: none; }
.ab-money-h { font-size: 11px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 6px; }
.ab-money-r { display: inline-flex; align-items: center; gap: 7px; margin-left: 22px; }
.ab-mf img { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; display: block; box-shadow: 0 0 0 2px var(--win); }
.ab-money-o .ab-mf img { box-shadow: 0 0 0 2px var(--ctx-ink); }
.ab-mn { font-size: 13px; font-weight: 700; color: var(--ink-2); }
.ab-mv { font-family: var(--serif); font-size: 22px; font-weight: 700; color: var(--win-ink); font-variant-numeric: tabular-nums lining-nums; min-width: 8.2ch; text-align: left; }
.ab-money-o .ab-mv { color: var(--ink-2); }
.ab-money-ph { font-family: var(--sans) !important; font-size: 13px !important; line-height: 1.45 !important; color: var(--ink-2); margin: 6px 0 2px !important; }
.ab-money-ph b { display: block; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }

/* photo cards that still link to the stream: small "watch" tag above the title instead of a play button on the photo */
.ab-m-watch { display: flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--hl-ink); margin-bottom: 3px; }
.ab-media .ab-m-watch svg.mp-yt { position: static; transform: none; width: 16px !important; height: 11px !important; filter: none; }

/* counters: total over a small campaign + outside breakdown */
.ab-mcol { display: inline-flex; flex-direction: column; align-items: flex-end; line-height: 1.1; }
.ab-msub { font-size: 11px; color: var(--ink-3); margin-top: 2px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.ab-mv { font-variant-numeric: tabular-nums; }
.ab-msub-ph { font-size: 12px; color: var(--ink-3); }

/* media cards: one look for all three (orange bar, 16:9 photo, date line, one line of text) */
.ab-media { padding: 8px 10px 10px; border-left: 3px solid var(--hl); }
.ab-media .ab-m-img { margin: 0 0 8px; }
.ab-media .ab-m-img img { aspect-ratio: 16 / 9; object-fit: cover; }
.ab-m-k { display: flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--hl-ink); }
.ab-media .ab-m-k svg.mp-yt { position: static; transform: none; width: 15px !important; height: 11px !important; filter: none; flex: none; margin: 0; }
.ab-media .ab-m-t { font-size: 13px; font-weight: 600; line-height: 1.35; margin: 4px 0 0; }
a.ab-media:hover .ab-m-t { color: var(--hl-ink); text-decoration: underline; }

/* counters: name and amount side by side, breakdown underneath */
.ab-money .ab-mcol { align-items: flex-start; }
.ab-mtop { display: inline-flex; align-items: baseline; gap: 8px; }
.ab-money .ab-msub { margin-top: 3px; }
.ab-money-r { text-align: left; }
.ab-m-yt { display: inline-block; vertical-align: -1px; margin-left: 5px; }
.ab-media .ab-m-yt svg.mp-yt { position: static; transform: none; width: 15px !important; height: 11px !important; filter: none; margin: 0; }
.ab-m-nw { white-space: nowrap; }
/* chart labels in the Abdul story get a halo so lines never run through the words */
.ab svg text.lab { paint-order: stroke; stroke: var(--bg); stroke-width: 3px; stroke-linejoin: round; }
/* full-width Abdul chart in right-to-left languages: the breakout margin must be on the start side, and cards pinned on both sides
   (the chart itself stays left-to-right, so "left"/"right" cards keep their physical side) */
@media (min-width: 980px) {
  .ab .scrolly.ab-sc { margin-left: 0; margin-inline-start: calc(50% - 50vw); }
  .ab .scrolly.ab-sc .step[data-side="left"] { margin-right: auto; }
}
.ab-srcd { margin: 18px 0 8px; }
.ab-srcd .note { font-size: 13px; line-height: 1.55; }

/* pro-Israel money against Hasan-backed candidates */
:root { --pi-ie: #e4572e; --pi-don: #2a78d6; --pi-oth: #c9c6bd; }
html[data-theme="dark"] { --pi-ie: #f07a52; --pi-don: #5a9cf0; --pi-oth: #4c4a45; }
.pi-keys { margin: 10px 0 4px; }
.pi-key { border-top-color: var(--pi-ie); }
.pi-key .v { color: var(--hl-ink); font-variant-numeric: tabular-nums; }
.pi-key .l b, .pi-key .l bdi { font-weight: 700; color: var(--ink); }
.pi-ctl { font-family: var(--sans); }
.pi-tg { display: inline-flex; border: 1px solid var(--ink-3); border-radius: 6px; overflow: hidden; margin: 2px 0 10px; }
.pi-tg button { font: inherit; font-size: 13.5px; font-weight: 600; padding: 7px 14px; min-height: 36px; border: 0; background: transparent; color: var(--ink-2); cursor: pointer; }
.pi-tg button + button { border-inline-start: 1px solid var(--ink-3); }
.pi-tg button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.pi-tg button:focus-visible { outline: 2px solid var(--hl); outline-offset: -2px; }
.pi-chat { margin: 0 0 8px !important; }
.pi-leg { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 13px; color: var(--ink-2); margin-bottom: 6px; }
.pi-sw { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.pi-sw i { width: 12px; height: 12px; border-radius: 2px; display: inline-block; }
.pi-ie { background: var(--pi-ie); } .pi-don { background: var(--pi-don); } .pi-oth { background: var(--pi-oth); }
.pi { font-family: var(--sans); border-top: 1px solid var(--ink); }
.pi-row { display: grid; grid-template-columns: 13rem minmax(0, 1fr) 9.5rem; column-gap: 16px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--rule); outline: none; }
.pi-row.on, .pi-row:focus-visible { background: var(--tri); }
.pi-track { position: relative; height: 24px; margin-inline-end: 4.5rem; }
.pi-bar { position: absolute; inset-inline-start: 0; top: 3px; height: 18px; display: flex; min-width: 2px; }
.pi-bar > span:not(.pi-brk) { height: 100%; }
.pi-bar > span + span:not(.pi-brk) { box-shadow: inset 1px 0 0 var(--bg); }
[dir="rtl"] .pi-bar > span + span:not(.pi-brk) { box-shadow: inset -1px 0 0 var(--bg); }
.pi-brk { position: absolute; top: -3px; bottom: -3px; inset-inline-end: 14%; width: 9px; background: var(--bg); transform: skewX(-18deg); border-inline: 1.5px solid var(--ink-3); }
.pi-val { position: absolute; top: 50%; transform: translateY(-50%); margin-inline-start: 7px; font-family: var(--serif); font-weight: 700; font-size: 16px; color: var(--ink); white-space: nowrap; }
.pi-val small, .pi-val-cut small { font-family: var(--sans); font-weight: 400; font-size: 11.5px; color: var(--ink-3); }
.pi-res { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; }
.pi-val-cut { position: static; transform: none; margin: 0; }
.pi-badge { font-size: 11.5px; font-weight: 700; padding: 2px 8px; border-radius: 10px; white-space: nowrap; letter-spacing: .01em; }
.pi-w { background: var(--win); color: var(--win-text); }
.pi-l { background: var(--win-soft); color: var(--win-ink); box-shadow: inset 0 0 0 1px var(--win); }
.pi-x { background: transparent; color: var(--ink-3); box-shadow: inset 0 0 0 1px var(--rule); }
.pi-ini { display: inline-flex; align-items: center; justify-content: center; background: var(--empty2); color: var(--ink-3); font-size: 12px; font-weight: 700; }
.pi-none { margin-top: 8px; }
.pi-all .pi-track { margin-inline-end: 8.5rem; }
@media (max-width: 720px) {
  .pi-keys { grid-template-columns: 1fr; gap: 14px; }
  .pi-row { grid-template-columns: minmax(0, 1fr) auto; row-gap: 6px; }
  .pi-row .sb-name { grid-column: 1; grid-row: 1; }
  .pi-res { grid-column: 2; grid-row: 1; }
  .pi-track { grid-column: 1 / -1; grid-row: 2; }
  .pi-tg button { padding: 7px 11px; font-size: 13px; }
  .pi-track { margin-inline-end: 4rem; }
  .pi-all .pi-track { margin-inline-end: 9rem; }
}

/* Methods: how the pro-Israel money reaches the races, and the groups counted */
.fl-ways { padding-inline-start: 24px; }
.fl-ways li { margin-bottom: 10px; }
.fl-ways li b { font-family: var(--sans); font-size: 16px; color: var(--ink); }
.page h3.pg-k { margin: 30px 0 4px; padding-bottom: 7px; border-bottom: 1px solid var(--ink); font-family: var(--sans); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
:lang(ar) .page h3.pg-k, :lang(fa) .page h3.pg-k, :lang(ur) .page h3.pg-k, :lang(hi) .page h3.pg-k, :lang(zh) .page h3.pg-k, :lang(zt) .page h3.pg-k, :lang(ja) .page h3.pg-k, :lang(ko) .page h3.pg-k { letter-spacing: 0; text-transform: none; font-size: 14px; }
.pg-list { list-style: none; padding: 0 !important; margin: 0; }
.page .pg-list li { padding: 10px 0 11px; border-bottom: 1px solid var(--grid); font-family: var(--sans); font-size: 14px; line-height: 1.45; }
.pg-list .pg-n { font-weight: 700; font-size: 15.5px; color: var(--ink); text-decoration: none; margin-inline-end: 8px; }
.pg-list .pg-n:hover { text-decoration: underline; }
.pg-list .pg-a { color: var(--ink-2); }
.pg-list .pg-a b { color: var(--pi-ie); font-weight: 800; }
.pg-list .pg-d { display: block; color: var(--ink-3); margin-top: 2px; }
.pg-list .pg-d a { color: var(--ink-3); white-space: nowrap; }
/* Methods: the money trail */
.ft { --ft-t: #c98500; --ft-s: #e8336f; }
.ft-leg { display: flex; flex-wrap: wrap; gap: 6px 18px; font-family: var(--sans); font-size: 13px; color: var(--ink-2); margin: 4px 0 12px; }
.ft-leg i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-inline-end: 6px; vertical-align: -1px; }
.ft-i-t { background: var(--ft-t); } .ft-i-s { background: var(--ft-s); }
.ft svg text { font-family: var(--sans); }
.ft .ft-hd { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; fill: var(--ink-3); }
.ft .ft-rule { stroke: var(--rule); }
.ft .ft-link { fill: none; stroke: var(--ft-t); stroke-linejoin: round; opacity: .9; } .ft .ft-link.est { stroke-dasharray: 3 3; }
.ft .ft-hit { fill: transparent; rx: 4px; } .ft .ft-row:hover .ft-hit { fill: rgba(143, 160, 255, .07); }
.ft .ft-n { font-size: 15px; font-weight: 600; fill: var(--ink); } .ft .ft-n.root { font-size: 16.5px; font-weight: 700; }
.ft .ft-s { font-size: 13.5px; fill: var(--ink-2); } .ft .ft-s .amt { font-weight: 700; fill: var(--ink); }
.ft .ft-bar { fill: var(--ft-s); }
.ft .ft-v { font-size: 13.5px; fill: var(--ink-2); } .ft .ft-v .a { font-weight: 700; fill: var(--ink); }
.ft .ft-v.in, .ft .ft-v.in .a { fill: #fff; }
/* no outline on the text: nothing crosses it, and at small sizes an outline smudges the letters */
html.v2 .page p.ft-note, .page p.ft-note { font-family: var(--sans); font-size: 14px; line-height: 1.55; color: var(--ink-2); margin: 12px 0 0; }
/* a near-solid card behind this chart, so the page's + pattern doesn't sit behind small text */
/* the Methods charts sit on a near-solid card, so the page's + pattern doesn't show behind small text */
html.v2 .page .fig.wide.ft, html.v2 .page .fig.wide.rc { background: rgba(6, 8, 38, .92); }
html.v2 .page .fig.wide.ft .src, html.v2 .page .fig.wide.rc .src { font-size: 13px; }
.ft-leg i.ft-i-d { width: 18px; height: 0; border-radius: 0; border-top: 2px dashed var(--ft-t); vertical-align: 3px; }
.ft .ft-brk { fill: var(--bg); } .ft .ft-brk-l { stroke: var(--ft-s); stroke-width: 1.5; fill: none; }
/* Methods: one color per route, shared by the three pro-Israel charts (validated on the navy: lightness, chroma, CVD) */
.pir { --r-don: #3987e5; --r-own: #d55181; --r-fec: #c98500; --r-list: #9085e9; --r-unm: #6b72c9; }
.pir-leg { display: flex; flex-wrap: wrap; gap: 6px 18px; font-family: var(--sans); font-size: 13px; color: var(--ink-2); margin: 4px 0 12px; }
.pir-i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-inline-end: 6px; vertical-align: -1px; }
.pir-i.don { background: var(--r-don); } .pir-i.own { background: var(--r-own); } .pir-i.fec { background: var(--r-fec); } .pir-i.list { background: var(--r-list); }
.pir-i.unm { background: repeating-linear-gradient(45deg, var(--r-unm) 0 2px, transparent 2px 4px); border: 1px solid var(--r-unm); }
.pir svg text { font-family: var(--sans); }
/* route by race */
.rc .rc-seg.don { fill: var(--r-don); } .rc .rc-seg.own { fill: var(--r-own); } .rc .rc-seg.fec { fill: var(--r-fec); } .rc .rc-seg.list { fill: var(--r-list); }
.rc .rc-seg.unm { fill: url(#rc-hatch); stroke: var(--r-unm); stroke-width: 1; } .rc .rc-hl { stroke: var(--r-unm); stroke-width: 2; }
.rc .ft-hd { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; fill: var(--ink-3); } .rc .ft-rule { stroke: var(--rule); }
.rc .rc-n { font-size: 15px; font-weight: 600; fill: var(--ink); } .rc .rc-row.all .rc-n { font-weight: 800; }
.rc .rc-t { font-size: 13.5px; font-weight: 700; fill: var(--ink); }
/* percentages: the same dark ink on every color (5:1 or better on all four) */
.rc .rc-p { font-size: 12.5px; font-weight: 700; fill: #0b0d2e; pointer-events: none; } .rc .rc-p.unm { fill: var(--ink); }
/* Sankey */
.sk .sk-rib { opacity: .42; transition: opacity .15s; } .sk svg.hov .sk-rib { opacity: .07; } .sk svg.hov .sk-rib.on { opacity: .85; }
.sk .sk-rib, .sk .sk-node, .sk .sk-l, .sk .sk-lead { pointer-events: none; }
.sk .sk-hit { fill: transparent; cursor: default; }
.sk .sk-l { transition: opacity .15s; } .sk svg.hov .sk-l.dim { opacity: .3; }
.sk .sk-rib.own, .sk .sk-node.own { fill: var(--r-own); } .sk .sk-rib.fec, .sk .sk-node.fec { fill: var(--r-fec); } .sk .sk-rib.list, .sk .sk-node.list { fill: var(--r-list); }
.sk .sk-node.org { fill: var(--ink-2); } .sk .sk-node.cand { fill: var(--ink); }
.sk .sk-l { cursor: default; paint-order: stroke; stroke: var(--bg); stroke-width: 3.5px; stroke-linejoin: round; }
.sk .sk-l .nm { font-size: 12.5px; font-weight: 600; fill: var(--ink); } .sk .sk-l .vl { font-size: 12px; fill: var(--ink-3); }
.sk .sk-lead { stroke: var(--ink-3); stroke-width: .8; fill: none; }
.sk .sk-hd { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; fill: var(--ink-3); }
/* the money trail's bars, in the route colors */
.ft .ft-bar.own { fill: var(--r-own); } .ft .ft-bar.fec { fill: var(--r-fec); }

.ft-leg i.ft-i-t.ln, .pir-leg i.ft-i-t.ln { width: 18px; height: 0; border-radius: 0; border-top: 4px solid var(--ft-t); vertical-align: 2px; background: none; }
