@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/barlow/barlow-condensed-normal-400.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 500; font-display: swap; src: url(/fonts/barlow/barlow-condensed-normal-500.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 600; font-display: swap; src: url(/fonts/barlow/barlow-condensed-normal-600.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 700; font-display: swap; src: url(/fonts/barlow/barlow-condensed-normal-700.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 800; font-display: swap; src: url(/fonts/barlow/barlow-condensed-normal-800.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow Condensed"; font-style: italic; font-weight: 400; font-display: swap; src: url(/fonts/barlow/barlow-condensed-italic-400.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow Condensed"; font-style: italic; font-weight: 600; font-display: swap; src: url(/fonts/barlow/barlow-condensed-italic-600.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow Condensed"; font-style: italic; font-weight: 700; font-display: swap; src: url(/fonts/barlow/barlow-condensed-italic-700.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Noto Sans Hebrew"; font-style: normal; font-weight: 100 900; font-stretch: 62.5% 100%; font-display: swap; src: url(/fonts/i18n/noto-sans-hebrew-wdth.woff2) format("woff2"); unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F; }
@font-face { font-family: "Noto Sans Arabic"; font-style: normal; font-weight: 100 900; font-stretch: 62.5% 100%; font-display: swap; src: url(/fonts/i18n/noto-sans-arabic-wdth.woff2) format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+200C-200E, U+2010-2011, U+FB50-FDFF, U+FE70-FEFC; }
:root {
  --sans: "Barlow Condensed", "Noto Sans Hebrew", "Noto Sans Arabic", "Arial Narrow", "Roboto Condensed", system-ui, sans-serif;
  --band: #23135f;
  --band-2: #3b24a8;
  --band-text: #d4cffa;
  --pop: #ff3e6c;
  --sun: #ffc93c;
  --bg: #f0f1f4;
  --surface: #ffffff;
  --surface-2: #eceef3;
  --line: #dde0e6;
  --text: #141414;
  --text-2: #3d414c;
  --muted: #5b5f6b;
  --link: #3b24a8;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --band: #1c0f4d;
    --band-2: #7d6bff;
    --pop: #ff5c84;
    --sun: #ffd35c;
    --bg: #120c22;
    --surface: #1c1531;
    --surface-2: #281f42;
    --line: #3b3159;
    --text: #f4f5f7;
    --text-2: #c9ccd4;
    --muted: #9ba1ad;
    --link: #b4a9ff;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --band: #1c0f4d;
  --band-2: #7d6bff;
  --pop: #ff5c84;
  --sun: #ffd35c;
  --bg: #120c22;
  --surface: #1c1531;
  --surface-2: #281f42;
  --line: #3b3159;
  --text: #f4f5f7;
  --text-2: #c9ccd4;
  --muted: #9ba1ad;
  --link: #b4a9ff;
  color-scheme: dark;
}
/* Data colours. Parties in US convention, crisp: Democrats blue, Republicans red; -1..-3 are margin shades for
   winner maps (lean, likely, safe). Sequential maps use ColorBrewer "Purples" (single hue, colour-blind safe), 4 classes;
   in dark mode the same hue runs toward light, so "more" is always the most prominent. --map-0 is "no data". */
:root {
  --party-dem: #1f44ff; --party-rep: #e81b23; --party-lib: #f2b300; --party-grn: #149c45;
  --party-cst: #8e44ad; --party-ind: #6b7280; --party-oth: #a0632b; --party-np: #b3b8c2;
  --dem-1: #c9d1ff; --dem-2: #7d8fff; --dem-3: #1f44ff; --rep-1: #ffc9cb; --rep-2: #f6686d; --rep-3: #e81b23; --tossup: #e3dcef;
  --map-0: #dfe0e6; --map-1: #bcbddc; --map-2: #9e9ac8; --map-3: #6a51a3; --map-4: #3f007d;
  --map-stroke: #ffffff; --map-label: #141414;
  --lv-federal: #1f2a6b; --lv-statewide: #7b1fa2; --lv-legislature: #00838f; --lv-judicial: #6d4c41;
  --lv-county: #e65100; --lv-municipal: #c2185b; --lv-school: #2e7d32; --lv-special-district: #455a64; --lv-measure: #b88600;
  --good: #0d7a55; --warn: #9a5f00;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --party-dem: #5470ff; --party-rep: #ff4249; --party-lib: #ffc933; --party-grn: #34c46a;
    --party-cst: #b57ad6; --party-ind: #a4abb8; --party-oth: #d08f55; --party-np: #6f7686;
    --dem-1: #2c3c96; --dem-2: #3f58e8; --dem-3: #7d93ff; --rep-1: #80262d; --rep-2: #c2262d; --rep-3: #ff5a60; --tossup: #3a3155;
    --map-0: #262036; --map-1: #3f2a78; --map-2: #6a51a3; --map-3: #9e9ac8; --map-4: #dadaeb;
    --map-stroke: #120c22; --map-label: #f4f5f7;
    --lv-federal: #9fa8ff; --lv-statewide: #d39bf0; --lv-legislature: #4dd0e1; --lv-judicial: #c9a27e;
    --lv-county: #ff9e40; --lv-municipal: #f48fb1; --lv-school: #81c784; --lv-special-district: #b0bec5; --lv-measure: #ffd54f;
    --good: #3ccb7f; --warn: #f5c060;
  }
}
:root[data-theme="dark"] {
  --party-dem: #5470ff; --party-rep: #ff4249; --party-lib: #ffc933; --party-grn: #34c46a;
  --party-cst: #b57ad6; --party-ind: #a4abb8; --party-oth: #d08f55; --party-np: #6f7686;
  --dem-1: #2c3c96; --dem-2: #3f58e8; --dem-3: #7d93ff; --rep-1: #80262d; --rep-2: #c2262d; --rep-3: #ff5a60; --tossup: #3a3155;
  --map-0: #262036; --map-1: #3f2a78; --map-2: #6a51a3; --map-3: #9e9ac8; --map-4: #dadaeb;
  --map-stroke: #120c22; --map-label: #f4f5f7;
  --lv-federal: #9fa8ff; --lv-statewide: #d39bf0; --lv-legislature: #4dd0e1; --lv-judicial: #c9a27e;
  --lv-county: #ff9e40; --lv-municipal: #f48fb1; --lv-school: #81c784; --lv-special-district: #b0bec5; --lv-measure: #ffd54f;
  --good: #3ccb7f; --warn: #f5c060;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 19px/1.5 var(--sans); }
a { color: var(--link); text-underline-offset: 3px; }
a:hover { color: var(--pop); }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; }
.skip { position: absolute; inset-inline-start: -9999px; }
.skip:focus { inset-inline-start: 16px; top: 8px; z-index: 10; background: var(--sun); color: #141414; padding: 8px 12px; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
main section.block { padding: 48px 0 8px; }
h2.title { font-size: clamp(28px, 4vw, 38px); line-height: 1.1; letter-spacing: -0.02em; margin: 0 0 20px; font-weight: 800; }
h2.title small { display: block; font-size: 15px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--pop); margin-bottom: 8px; }
@media (max-width: 520px) { body { font-size: 18px; } }
[dir="rtl"] svg.map, [dir="rtl"] .skyline, [dir="rtl"] .hemi, [dir="rtl"] .blocks, [dir="rtl"] .s404 { direction: ltr; }
/* Hebrew and Arabic use condensed widths of Noto Sans (wdth axis) to sit like Barlow Condensed; tracking made for
   Latin capitals is dropped for those scripts only, sizes and spacing stay the same. */
:lang(he), :lang(ar) { font-stretch: 75%; }
:lang(he) *, :lang(ar) * { letter-spacing: 0 !important; }
.bar { background: var(--band); color: #fff; }
.bar .wrap { display: flex; align-items: center; gap: 16px; min-height: 60px; }
.logo { display: block; line-height: 0; flex: none; }
.logo img { display: block; height: 42px; width: auto; }
.bar .tag { color: var(--band-text); font-size: 14px; }
.bar nav { margin-inline-start: auto; display: flex; gap: 6px; align-items: center; }
.bar nav a { color: #fff; text-decoration: none; font-size: 15px; font-weight: 500; padding: 8px 10px; }
.bar nav a:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }
.theme { background: transparent; border: 1px solid rgba(255, 255, 255, 0.35); color: #fff; width: 38px; height: 38px; display: grid; place-items: center; cursor: pointer; padding: 0; flex: none; }
.theme:hover { background: rgba(255, 255, 255, 0.1); }
.theme svg { width: 18px; height: 18px; }
.navmore { position: relative; }
.navmore > summary { list-style: none; cursor: pointer; color: #fff; font-size: 15px; font-weight: 500; padding: 8px 10px; display: flex; align-items: center; gap: 6px; }
.navmore > summary::-webkit-details-marker { display: none; }
.navmore > summary::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.navmore > summary:hover { background: rgba(255, 255, 255, 0.1); }
.navmore .sm { display: none; }
.navmore > div { position: absolute; z-index: 40; inset-inline-end: 0; top: calc(100% + 6px); min-width: 220px; background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--pop); box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22); padding: 6px; display: grid; }
.bar .navmore > div a { color: var(--text); padding: 10px 12px; font-size: 16px; }
.bar .navmore > div a:hover { background: var(--surface-2); color: var(--text); }
.navmore hr { border: 0; border-top: 1px solid var(--line); margin: 4px 6px; }
.langs { position: relative; }
.langs > summary { list-style: none; cursor: pointer; color: #fff; width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, 0.35); }
.langs > summary::-webkit-details-marker { display: none; }
.langs > summary:hover { background: rgba(255, 255, 255, 0.1); }
.langs > summary svg { width: 19px; height: 19px; }
.langs > div { position: absolute; z-index: 40; inset-inline-end: 0; top: calc(100% + 6px); min-width: 170px; background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--pop); box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22); padding: 6px; display: grid; }
.bar .langs > div a { color: var(--text); padding: 10px 12px; font-size: 16px; display: flex; justify-content: space-between; gap: 12px; }
.bar .langs > div a small { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; }
.bar .langs > div a[aria-current] { font-weight: 700; box-shadow: inset 3px 0 0 var(--pop); }
.bar .langs > div a:hover { background: var(--surface-2); color: var(--text); }
@media (max-width: 860px) {
  .bar .tag { display: none; }
  .bar nav > a.main { display: none; }
  .navmore .sm { display: block; }
  .navmore .lg { display: none; }
  .navmore > div { position: fixed; inset-inline-start: 0; inset-inline-end: 0; top: 60px; border-radius: 0; max-height: calc(100vh - 60px); overflow: auto; }
}
@media (max-width: 520px) {
  .bar .wrap { gap: 8px; }
  .logo img { height: 32px; }
  .bar nav { gap: 2px; }
  .bar nav a { padding: 8px 7px; font-size: 14px; }
  .bar nav a.hide-sm { display: none; }
}
@media (max-width: 400px) { .bar nav a.hide-xs { display: none; } }
.updates { background: var(--sun); color: #2a1d00; }
.updates .wrap { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 6px 14px; align-items: center; padding-top: 12px; padding-bottom: 12px; }
.updates-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--band); box-shadow: 0 0 0 4px rgba(35, 19, 95, 0.18); }
.updates-text { margin: 0; font-size: 15px; line-height: 1.45; }
.updates-text strong { font-weight: 700; margin-inline-end: 6px; }
.updates-text time { display: inline-block; margin-inline-start: 6px; font-weight: 600; color: #5c3d00; white-space: nowrap; }
.updates-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 2px 16px; justify-content: flex-end; }
.updates-links a { color: #2a1d00; font-weight: 600; font-size: 14px; white-space: nowrap; }
.updates-links a::after { content: " →"; }
.updates-links a:hover { color: var(--band); }
.updates a { color: inherit; }
.updates-text a { font-weight: 600; text-decoration: underline; }
.updates.fmt-alert { background: #d81f45; color: #fff; }
.updates.fmt-live { background: var(--band); color: #fff; }
.updates.fmt-results { background: #0f7b5f; color: #fff; }
.updates.fmt-calm { background: var(--surface-2); color: var(--text); }
.updates:is(.fmt-alert, .fmt-live, .fmt-results) .updates-text time, .updates:is(.fmt-alert, .fmt-live, .fmt-results) .updates-links a { color: inherit; }
.updates.fmt-alert .updates-dot { background: #fff; box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.25); }
.updates.fmt-live .updates-dot { background: #ff3e6c; box-shadow: 0 0 0 4px rgba(255, 62, 108, 0.3); }
.updates.fmt-results .updates-dot { background: var(--sun); box-shadow: 0 0 0 4px rgba(255, 201, 60, 0.3); }
.updates.fmt-calm .updates-dot { background: var(--muted); animation: none; }
@media (max-width: 860px) {
  .updates .wrap { grid-template-columns: auto minmax(0, 1fr); }
  .updates-links { grid-column: 2; justify-content: flex-start; }
}
@media (prefers-reduced-motion: no-preference) {
  .updates-dot { animation: pulse 2s ease-in-out infinite; }
  @keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(35, 19, 95, 0.06); } }
}
.foot { margin-top: 56px; background: var(--band); color: var(--band-text); font-size: 15px; }
.foot .wrap { padding-top: 26px; padding-bottom: 30px; display: flex; flex-wrap: wrap; gap: 10px 28px; align-items: baseline; }
.foot a { color: #fff; }
.foot a:hover { color: var(--sun); }
.foot p { margin: 0; }
.foot .links { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.foot button.linkish { background: none; border: 0; padding: 0; color: #fff; font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.totop { position: fixed; z-index: 50; inset-inline-end: 18px; bottom: 18px; width: 48px; height: 48px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.85); background: var(--band); color: #fff; display: grid; place-items: center; cursor: pointer; box-shadow: 0 8px 24px rgba(20, 10, 60, 0.35); opacity: 0; transform: translateY(14px) scale(0.9); pointer-events: none; transition: opacity 180ms, transform 180ms, background 120ms; }
.totop.on { opacity: 1; transform: none; pointer-events: auto; }
.totop:hover, .totop:focus-visible { background: var(--pop); }
.totop svg { width: 22px; height: 22px; }
@media (prefers-reduced-motion: reduce) { .totop { transition: none; } }
.consent { position: fixed; z-index: 60; inset-inline-start: 16px; inset-inline-end: 16px; bottom: 16px; max-width: 760px; margin: 0 auto; background: var(--surface); color: var(--text); border: 1px solid var(--line); border-top: 4px solid var(--band-2); box-shadow: 0 18px 44px rgba(0, 0, 0, 0.25); padding: 16px 18px; display: none; }
.consent.on { display: block; }
.consent h2 { margin: 0 0 6px; font-size: 20px; }
.consent p { margin: 0 0 12px; font-size: 16px; color: var(--text-2); }
.consent .row { display: flex; flex-wrap: wrap; gap: 8px; }
.consent button { font: 700 16px var(--sans); padding: 10px 16px; border: 1px solid var(--band); cursor: pointer; background: var(--surface); color: var(--text); }
.consent button.primary { background: var(--band); color: #fff; }
.consent .prefs { display: none; margin: 0 0 12px; padding: 10px 12px; background: var(--surface-2); font-size: 15px; }
.consent.more .prefs { display: grid; gap: 8px; }
.consent label { display: flex; gap: 10px; align-items: flex-start; }
.consent label small { display: block; color: var(--muted); }
.consent .gpc { font-size: 14px; color: var(--muted); }
.notify-box { position: fixed; z-index: 61; inset-inline-start: 16px; inset-inline-end: 16px; bottom: 16px; max-width: 520px; margin: 0 auto; background: var(--surface); color: var(--text); border: 1px solid var(--line); border-top: 4px solid var(--sun); box-shadow: 0 18px 44px rgba(0, 0, 0, 0.25); padding: 16px 18px; }
.notify-box[hidden] { display: none; }
.notify-box h2 { margin: 0 0 6px; font-size: 20px; }
.notify-box p { margin: 0 0 12px; font-size: 15px; color: var(--text-2); }
.notify-box form { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.notify-box input[type=email] { flex: 1 1 220px; font: 16px var(--sans); padding: 10px 12px; border: 1px solid var(--line); background: var(--surface); color: var(--text); }
.notify-box button { font: 700 16px var(--sans); padding: 10px 16px; border: 1px solid var(--band); cursor: pointer; background: var(--surface); color: var(--text); }
.notify-box button.primary { background: var(--band); color: #fff; }
.notify-box .close { position: absolute; top: 8px; inset-inline-end: 8px; border: 0; background: none; font-size: 22px; padding: 4px 10px; }
.notify-box .msg { font-weight: 600; min-height: 1.4em; margin: 6px 0 0; }
.notify-box .hp { position: absolute; inset-inline-start: -9999px; }
.ph { padding-top: 0; padding-bottom: 0; }
.ph h1 { margin: 2px 0 2px; font-size: clamp(32px, 5vw, 50px); line-height: 1.02; letter-spacing: -0.02em; font-weight: 800; }
.ph .sub { margin: 0; color: var(--text-2); font-size: 19px; max-width: 46em; }
.ph .flagline { display: flex; align-items: center; gap: 10px; margin: 4px 0 0; font-weight: 700; font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.sec { padding: 22px 0 0; }
.ph + .sec { padding-top: 14px; }
.sec > .wrap > h2 { margin: 0 0 8px; font-size: 26px; letter-spacing: -0.01em; line-height: 1.15; }
.sec > .wrap > p.lead { margin: -4px 0 12px; color: var(--muted); max-width: 52em; font-size: 17px; }
.sec h3.sub { margin: 20px 0 8px; font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.grid-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 14px; align-items: start; }
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }
.duo figure, .map-fig { margin: 0; }
.duo figcaption, .map-fig figcaption { font-size: 14px; color: var(--muted); margin-bottom: 8px; }
.panel { background: var(--surface); border: 1px solid var(--line); padding: 14px 16px; }
.rfacts { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 0; font-size: 16px; }
.rfacts dt { color: var(--muted); font-weight: 600; }
.rfacts dd { margin: 0; }
.inc { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 0 0 12px; font-size: 16px; }
.inc b { font-weight: 700; }
.senate-race + .senate-race { margin-top: 22px; }
.senate-race h4 { margin: 0 0 6px; font-size: 20px; }
.inc .k { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.links { columns: 4 170px; column-gap: 16px; margin: 0; padding: 0; list-style: none; font-size: 15px; }
.links li { break-inside: avoid; padding: 2px 0; }
.links small { color: var(--muted); font-variant-numeric: tabular-nums; }
.dtable { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--line); font-size: 15px; }
.dtable th { text-align: start; font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); padding: 9px 12px; border-bottom: 2px solid var(--line); }
.dtable td { padding: 9px 12px; border-top: 1px solid var(--line); vertical-align: top; }
.dtable td.n { font-variant-numeric: tabular-nums; white-space: nowrap; }
.dtable a { font-weight: 600; color: var(--text); }
.dtable tr.p-dem td:first-child, .dtable tr.p-rep td:first-child, .dtable tr.p-ind td:first-child { box-shadow: inset 6px 0 0 var(--p); padding-inline-start: 16px; }
.crumbs + * { margin-top: 0; }
main > .wrap:first-child .crumbs { padding: 10px 0 6px; }
.empty-note { margin: 0; color: var(--muted); font-size: 17px; }
.nhero { background: var(--band); color: #fff; border-bottom: 4px solid var(--pop); margin-top: 6px; }
.nhero-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 28px; align-items: center; padding-top: 26px; padding-bottom: 26px; }
.nhero-k { margin: 0; font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--sun); }
.nhero h1 { margin: 8px 0 10px; font-size: clamp(36px, 5vw, 60px); line-height: 0.98; letter-spacing: -0.03em; font-weight: 800; }
.nhero-sub { margin: 0 0 18px; color: var(--band-text); font-size: 18px; max-width: 32em; }
.nhero-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: rgba(255, 255, 255, 0.16); border: 1px solid rgba(255, 255, 255, 0.16); margin-bottom: 16px; }
.nhero-stats div { background: var(--band); padding: 10px 14px; }
.nhero-stats b { display: block; font-size: 34px; line-height: 1; font-weight: 800; font-variant-numeric: tabular-nums; }
.nhero-stats span { font-size: 14px; color: var(--band-text); }
.nhero-links { display: flex; flex-wrap: wrap; gap: 6px; }
.nhero-links a { display: inline-flex; gap: 6px; align-items: baseline; padding: 8px 12px; border: 1px solid rgba(255, 255, 255, 0.35); color: #fff; text-decoration: none; font-weight: 600; font-size: 16px; }
.nhero-links a small { color: var(--band-text); font-weight: 500; font-size: 13px; }
.nhero-links a:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }
.nhero-map { margin: 0; background: transparent; color: #fff; padding: 0; }
.nhero-map figcaption { margin: 0 0 6px; font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--band-text); }
.nhero-map .map-legend, .nhero-map .src-line, .nhero-map .src-line a { color: var(--band-text); }
.nhero-map .map a path { stroke: var(--band); }
@media (max-width: 900px) { .nhero-grid { grid-template-columns: minmax(0, 1fr); } }
.race-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 420px); grid-template-areas: "board side" "rest side"; gap: 24px; align-items: start; padding-top: 16px; }
.race-board { grid-area: board; } .race-side { grid-area: side; align-self: stretch; } .race-rest { grid-area: rest; }
.race-sticky { position: sticky; top: 14px; }
.rsec + .rsec { margin-top: 24px; }
.race-rest > .rsec:first-child { margin-top: 0; }
.rsec > h2 { margin: 0 0 8px; font-size: 22px; line-height: 1.2; }
@media (max-width: 900px) { .race-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "board" "side" "rest"; } .race-sticky { position: static; } }
.geo-desk { display: block; } .geo-phone { display: none; }
@media (max-width: 860px) { .duo { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) { .geo-desk { display: none; } .geo-phone { display: block; } .rfacts { grid-template-columns: 1fr; gap: 0; } .rfacts dd { margin-bottom: 8px; } .dtable .hide-sm { display: none; } }
.party { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 600; line-height: 1; padding-block: 4px 4px; padding-inline: 5px 6px; background: var(--surface-2); color: var(--text-2); white-space: nowrap; }
.party::before { content: ""; width: 8px; height: 8px; background: var(--p); flex: none; }
.p-dem { --p: var(--party-dem); } .p-rep { --p: var(--party-rep); } .p-lib { --p: var(--party-lib); } .p-grn { --p: var(--party-grn); }
.p-cst { --p: var(--party-cst); } .p-ind { --p: var(--party-ind); } .p-oth { --p: var(--party-oth); } .p-np { --p: var(--party-np); }
.cands { list-style: none; margin: 0; padding: 0; }
.cand { display: grid; grid-template-columns: 4px minmax(0, 1fr) auto auto; gap: 10px; align-items: center; padding: 8px 0; border-top: 1px solid var(--line); }
.cand:first-child { border-top: 0; }
.cand::before { content: ""; align-self: stretch; background: var(--p); }
.cand-name { font-weight: 600; font-size: 16px; line-height: 1.25; }
.cand-votes { font-variant-numeric: tabular-nums; color: var(--muted); font-size: 14px; text-align: end; }
.pill { display: inline-block; font-size: 12px; font-weight: 600; line-height: 1; padding: 5px 7px; border: 1px solid var(--line); color: var(--text-2); background: var(--surface); white-space: nowrap; }
.pill.roster-certified { border-color: var(--good); color: var(--good); }
.pill.roster-sample-ballot { border-color: var(--good); color: var(--good); }
.pill.roster-filed { border-color: var(--warn); color: var(--warn); }
.pill.roster-scheduled, .pill.roster-not-listed { border-style: dashed; color: var(--muted); }
.pill.results-not-reported { background: var(--surface-2); color: var(--muted); border-color: transparent; }
.pill.results-unofficial { background: var(--sun); color: #2a1d00; border-color: transparent; }
.pill.results-official { background: var(--band); color: #fff; border-color: transparent; }
.pill.forecast { background: transparent; border-color: var(--band-2); color: var(--band-2); }
.tally { font-size: 12px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
.race { background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--lvl); display: flex; flex-direction: column; }
.race-head { padding: 14px 16px 10px; }
.race-kicker { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; margin: 0 0 4px; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.race h3 { margin: 0; font-size: 19px; line-height: 1.2; }
.race h3 a { color: inherit; text-decoration: none; }
.race h3 a:hover { color: var(--pop); }
.race-where { margin: 4px 0 0; font-size: 14px; color: var(--muted); }
.race-body { padding: 0 16px 6px; flex: 1; }
.race-foot { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px 16px 14px; border-top: 1px solid var(--line); }
.more summary { cursor: pointer; padding: 8px 0 4px; font-size: 14px; font-weight: 600; color: var(--link); border-top: 1px solid var(--line); list-style: none; }
.more summary::-webkit-details-marker { display: none; }
.more summary::after { content: " ↓"; }
.more[open] summary { display: none; }
.more .cands { border-top: 1px solid var(--line); }
.race-empty { margin: 4px 0 10px; font-size: 14px; color: var(--muted); }
.lv-federal { --lvl: var(--lv-federal); } .lv-statewide { --lvl: var(--lv-statewide); } .lv-legislature { --lvl: var(--lv-legislature); }
.lv-judicial { --lvl: var(--lv-judicial); } .lv-county { --lvl: var(--lv-county); } .lv-municipal { --lvl: var(--lv-municipal); }
.lv-school { --lvl: var(--lv-school); } .lv-special-district { --lvl: var(--lv-special-district); } .lv-measure { --lvl: var(--lv-measure); }
.measure-band { padding: 8px 8px 0; --lvl: var(--lv-measure); }
.measure-band .emblem { width: 100%; height: auto; color: var(--lvl); }
.measure-q { margin: 2px 0 12px; font-size: 16px; color: var(--text-2); }
.yesno { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-bottom: 10px; }
.yesno span { padding: 8px 10px; background: var(--surface-2); font-weight: 700; font-size: 14px; display: flex; justify-content: space-between; }
.yesno small { font-weight: 500; color: var(--muted); }
.rbar { display: flex; height: 10px; background: var(--surface-2); margin: 10px 0 4px; overflow: hidden; }
.rbar i { display: block; height: 100%; background: var(--p); }
.bar-note { font-size: 12px; color: var(--muted); margin: 0 0 8px; }
.rtable { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--line); font-size: 15px; }
.rtable thead th { text-align: start; font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); padding: 10px 14px; border-bottom: 2px solid var(--line); }
.rtable td { padding: 11px 14px; vertical-align: top; }
.rtable tbody tr.r td:first-child { border-inline-start: 10px solid var(--lvl); }
.rtable tbody tr.r:nth-child(even of .r) td { background: color-mix(in srgb, var(--lvl) 6%, var(--surface)); }
.rtable tbody tr.r + tr.r td { border-top: 1px solid var(--line); }
.rtable tr.grp th { text-align: start; padding: 9px 14px; font-size: 13px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text); background: color-mix(in srgb, var(--lvl) 22%, var(--surface)); border-inline-start: 10px solid var(--lvl); border-top: 2px solid var(--lvl); }
.rtable tr.grp th small { font-weight: 600; letter-spacing: 0.04em; color: var(--muted); margin-inline-start: 8px; text-transform: none; font-size: 13px; }
.rtable a { color: var(--text); font-weight: 600; text-decoration: none; }
.rtable a:hover { color: var(--pop); text-decoration: underline; }
.rtable .type { color: var(--text-2); }
.rtable .parties { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; }
.rtable .count { white-space: nowrap; }
@media (max-width: 640px) {
  .rtable thead { display: none; }
  .rtable tr.r { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; border-inline-start: 10px solid var(--lvl); padding: 10px 12px; }
  .rtable tbody tr.r td:first-child { border-inline-start: 0; grid-column: 1 / -1; }
  .rtable td { display: block; padding: 0; background: none !important; }
  .rtable tbody tr.r + tr.r { border-top: 1px solid var(--line); }
  .rtable tbody tr.r + tr.r td { border-top: 0; }
  .rtable tr.grp { display: block; }
  .rtable tr.grp th { display: block; }
}
.crumbs { margin: 0; padding: 14px 0 0; list-style: none; display: flex; flex-wrap: wrap; gap: 4px; font-size: 14px; color: var(--muted); }
.crumbs li + li::before { content: "›"; margin-block: 0 0; margin-inline: 2px 6px; color: var(--muted); }
[dir="rtl"] .crumbs li + li::before { content: "‹"; }
.crumbs a { color: var(--text-2); }
.crumbs [aria-current] { color: var(--text); font-weight: 600; }
.ladder { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin: 0; padding: 0; list-style: none; border: 1px solid var(--line); background: var(--surface); }
.ladder > li { border-inline-start: 1px solid var(--line); min-width: 0; }
.ladder .pm > summary { padding: 10px 14px; }
.ladder .pm span { display: block; padding: 0; opacity: 1; color: var(--text); }
.ladder .pm summary b { color: var(--muted); }
.ladder > li:first-child { border-inline-start: 0; }
.ladder a, .ladder span { display: block; padding: 10px 14px; text-decoration: none; color: var(--muted); font-size: 14px; line-height: 1.3; }
.ladder b { display: block; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 700; }
.ladder a { color: var(--text); }
.ladder a:hover { background: var(--surface-2); }
.ladder [aria-current] { background: var(--band); color: #fff; }
.ladder [aria-current] b { color: var(--sun); }
.ladder span { opacity: 0.55; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 11px; border: 1px solid var(--line); background: var(--surface); color: var(--text); text-decoration: none; font-size: 14px; font-weight: 500; line-height: 1.2; }
.chip:hover { border-color: var(--band-2); color: var(--text); }
.chip small { color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; }
.chip[aria-current] { background: var(--band); border-color: var(--band); color: #fff; }
.chip[aria-current] small { color: var(--band-text); }
.chip.off { opacity: 0.45; pointer-events: none; }
.filters { display: grid; gap: 10px; }
.filters h4 { margin: 0 0 6px; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.picker { position: relative; display: inline-block; }
.picker summary { list-style: none; cursor: pointer; padding-block: 9px 9px; padding-inline: 12px 36px; border: 1px solid var(--line); background: var(--surface); font-weight: 600; font-size: 15px; position: relative; }
.picker summary::-webkit-details-marker { display: none; }
.picker summary::after { content: ""; position: absolute; right: 12px; top: 50%; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-70%) rotate(45deg); }
.picker[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.picker ul { position: absolute; z-index: 5; top: 100%; inset-inline-start: 0; margin: 4px 0 0; padding: 6px; list-style: none; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14); display: grid; grid-template-columns: repeat(3, minmax(130px, 1fr)); gap: 2px; max-height: 340px; overflow: auto; width: max-content; max-width: calc(100vw - 32px); }
.picker li a { display: block; padding: 6px 8px; color: var(--text); text-decoration: none; font-size: 14px; }
.picker li a:hover { background: var(--surface-2); }
.picker li a b { display: inline-block; width: 28px; color: var(--muted); font-weight: 600; font-size: 12px; }
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 0; }
.tile { background: var(--surface); border: 1px solid var(--line); padding: 14px 16px; margin: 0; display: flex; flex-direction: column-reverse; }
.tile dd { margin: 0; font-size: 30px; font-weight: 800; line-height: 1.05; font-variant-numeric: tabular-nums; }
.tile dt { margin-top: 4px; font-size: 13px; color: var(--muted); }
@media (max-width: 760px) {
  .ladder { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ladder > li:nth-child(3) { border-inline-start: 0; }
  .ladder > li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .picker ul { grid-template-columns: repeat(2, minmax(120px, 1fr)); }
}
.map { display: block; width: 100%; height: auto; }
.map a path { stroke: var(--map-stroke); stroke-width: 0.6; vector-effect: non-scaling-stroke; transition: fill 120ms; }
.map a:hover path, .map a:focus path { fill: var(--sun); }
.map a:focus { outline: none; }
.map a:focus-visible path { stroke: var(--text); stroke-width: 2; }
.map text { font: 600 11px var(--sans); fill: var(--map-label); paint-order: stroke; stroke: var(--map-stroke); stroke-width: 3px; stroke-linejoin: round; pointer-events: none; text-anchor: middle; dominant-baseline: central; }
.map .m0 { fill: var(--map-0); }
.map .m1 { fill: var(--map-1); }
.map .m2 { fill: var(--map-2); }
.map .m3 { fill: var(--map-3); }
.map .m4 { fill: var(--map-4); }
.map .mx { fill: var(--surface-2); }
.map .wd1 { fill: var(--dem-1); } .map .wd2 { fill: var(--dem-2); } .map .wd3 { fill: var(--dem-3); }
.map .wr1 { fill: var(--rep-1); } .map .wr2 { fill: var(--rep-2); } .map .wr3 { fill: var(--rep-3); }
.map .wt { fill: var(--tossup); } .map .wn { fill: var(--surface-2); }
.map .arrow { fill: none; stroke-width: 1.8; stroke-linecap: round; vector-effect: non-scaling-stroke; pointer-events: none; }
.map .arrow.to-dem { stroke: var(--party-dem); } .map .arrow.to-rep { stroke: var(--party-rep); }
.map .arrow-head { pointer-events: none; } .map .arrow-head.to-dem { fill: var(--party-dem); } .map .arrow-head.to-rep { fill: var(--party-rep); }
.map-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 10px 0 0; padding: 0; list-style: none; font-size: 13px; color: var(--muted); }
.map-legend li { display: inline-flex; align-items: center; gap: 6px; }
.map-legend i { width: 14px; height: 14px; display: inline-block; border: 1px solid var(--line); }
.office { background: var(--surface); border: 1px solid var(--line); display: grid; grid-template-rows: auto 1fr auto; }
.office-band { padding: 10px 10px 0; }
.office-band .emblem { width: 100%; height: auto; color: var(--lvl); }
.office.judge .office-band { --lvl: var(--lv-judicial); }
.office.sheriff .office-band { --lvl: var(--lv-county); }
.office-head.no-mark { grid-template-columns: 1fr; padding-top: 8px; }
.office-head { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: center; padding: 14px 16px 10px; }
.office-head .k { margin: 0; font-size: 13px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.office-head h3 { margin: 0; font-size: 24px; line-height: 1.1; }
.office-head h3 a { color: inherit; text-decoration: none; }
.office-head .where { margin: 2px 0 0; font-size: 15px; color: var(--muted); }
.office .body { padding: 0 16px 8px; }
.office .office-foot { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px 16px 14px; border-top: 1px solid var(--line); }
.office.gov { border-top: 6px solid var(--lv-statewide); }
.office.gov .flag { height: 46px; }
.office.judge { border-top: 6px solid var(--lv-judicial); }
.office.sheriff { border-top: 6px solid var(--lv-county); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 8px; }
.tags span { font-size: 13px; font-weight: 700; padding: 4px 8px; background: var(--surface-2); color: var(--text-2); }
.tags .strong { background: var(--lv-judicial); color: #fff; }
.retention { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin: 4px 0 10px; }
.retention span { padding: 10px; background: var(--surface-2); font-weight: 800; font-size: 18px; display: flex; justify-content: space-between; }
.retention small { color: var(--muted); font-weight: 500; }
.prob-bar.pend { background: var(--line); height: 34px; }
.seat-strip .p-pend { --p: var(--line); }
.hist { background: var(--surface); border: 1px solid var(--line); }
.hist-head { padding: 14px 16px 6px; }
.hist-head p { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.hist-head h3 { margin: 2px 0 0; font-size: 19px; }
.hist table { width: 100%; border-collapse: collapse; font-size: 15px; }
.hist td { padding: 8px 16px; border-top: 1px solid var(--line); vertical-align: middle; }
.hist td.n { text-align: end; font-variant-numeric: tabular-nums; white-space: nowrap; }
.hist td.share { width: 40%; }
.hist .sbar { height: 10px; background: var(--surface-2); }
.hist .sbar i { display: block; height: 100%; background: var(--p); }
.hist td:first-child { white-space: nowrap; }
.hist tr.won td:first-child { font-weight: 700; }
.hist tr.won td:first-child::after { content: " ✓"; color: var(--good); }
.hist-foot { padding: 10px 16px 14px; font-size: 14px; color: var(--muted); border-top: 1px solid var(--line); }
.hist-foot b { color: var(--text); }
.prob { background: var(--surface); border: 1px solid var(--line); padding: 14px 16px; }
.prob h3 { margin: 0 0 10px; font-size: 17px; }
.prob-bar { display: flex; height: 34px; font-weight: 800; font-size: 15px; color: #fff; }
.prob-bar span { display: flex; align-items: center; padding: 0 10px; background: var(--p); white-space: nowrap; }
.prob-bar span + span { justify-content: flex-end; }
.prob-note { margin: 8px 0 0; font-size: 13px; color: var(--muted); }
.range { position: relative; height: 54px; margin: 6px 0 2px; }
.range .axis { position: absolute; inset-inline-start: 0; inset-inline-end: 0; top: 26px; height: 2px; background: var(--line); }
.range .half { position: absolute; top: 14px; bottom: 14px; inset-inline-start: 50%; border-inline-start: 2px dashed var(--muted); }
.range .band { position: absolute; top: 18px; height: 18px; background: color-mix(in srgb, var(--p) 30%, transparent); border: 1px solid var(--p); }
.range .pt { position: absolute; top: 15px; width: 4px; height: 24px; margin-inline-start: -2px; background: var(--p); }
.range .lbl { position: absolute; top: 40px; font-size: 12px; color: var(--muted); transform: translateX(-50%); white-space: nowrap; }
.seats { background: var(--surface); border: 1px solid var(--line); padding: 14px 16px; }
.seats h3 { margin: 0 0 10px; font-size: 17px; }
.seat-strip { display: flex; flex-wrap: wrap; gap: 3px; position: relative; }
.seat-strip i { width: 12px; height: 12px; background: var(--p); }
.seat-strip i.open { background: transparent; box-shadow: inset 0 0 0 2px var(--p); }
.seat-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 10px 0 0; font-size: 14px; }
.seat-legend b { font-variant-numeric: tabular-nums; }
.majority { margin: 6px 0 0; font-size: 13px; color: var(--muted); }
.swing-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 12px; }
.swing-tiles div { background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--p); padding: 12px 14px; }
.swing-tiles b { display: block; font-size: 26px; font-weight: 800; font-variant-numeric: tabular-nums; }
.swing-tiles span { font-size: 13px; color: var(--muted); }
@media (max-width: 640px) { .swing-tiles { grid-template-columns: 1fr; } .hist td.share { display: none; } .hist td { padding: 8px 10px; } }
.feed-empty { margin: 0; padding: 16px; background: var(--surface-2); color: var(--muted); font-size: 16px; border-inline-start: 4px solid var(--line); }
/* Element actions and the share sheet, after Votes26: on the page only "Enlarge" (a pill) with Share and Embed as icon
   pills beside it; Enlarge lifts the element over the page (Escape or a click outside closes it). Share and Embed
   open one sheet with two tabs: Share (the card image in three formats, Share…, download, copy, networks, the link)
   and Embed (theme, size, auto-height code with credit). */
.el-actions { position: absolute; top: 10px; inset-inline-end: 10px; z-index: 3; display: inline-flex; gap: 6px; }
.el-actions.inline { position: static; }
.pill { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 32px; padding: 0 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--text-2); font: 600 15px var(--sans); cursor: pointer; white-space: nowrap; transition: color 150ms, border-color 150ms; }
.pill:hover { color: var(--link); border-color: var(--link); }
.pill.icon { width: 32px; padding: 0; }
.pill svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pill:focus-visible { outline: 2px solid var(--link); outline-offset: 2px; }
[data-fs] { position: relative; }
[data-fs][data-expanded] { position: fixed; inset: max(16px, 3vh) max(16px, calc((100vw - 1160px) / 2)); z-index: 60; overflow: auto; background: var(--surface); box-shadow: 0 30px 90px rgba(8, 4, 30, 0.45); padding: 22px; }
[data-fs][data-expanded] .hemi, [data-fs][data-expanded] .blocks, [data-fs][data-expanded] .map { max-width: none; max-height: 70vh; width: auto; margin: 0 auto; }
body.has-expanded::before { content: ""; position: fixed; inset: 0; z-index: 55; background: rgba(10, 6, 30, 0.55); }
.sheet { border: 0; padding: 0; width: min(980px, calc(100vw - 32px)); max-height: calc(100vh - 48px); background: var(--surface); color: var(--text); border-radius: 14px; box-shadow: 0 24px 80px rgba(8, 4, 30, 0.35); }
.sheet::backdrop { background: rgba(0, 0, 0, 0.55); }
.sheet-in { padding: 20px; }
.sheet-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.sheet-head h3 { margin: 0; font-size: 24px; }
.sheet-x { width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--surface-2); color: var(--text); font-size: 18px; cursor: pointer; }
.sheet-tabs { display: flex; gap: 6px; margin: 8px 0 18px; border-bottom: 1px solid var(--line); }
.sheet-tabs button { position: relative; padding: 10px 18px 12px; border: 0; background: none; font: 700 17px var(--sans); color: var(--muted); cursor: pointer; }
.sheet-tabs button[aria-selected="true"] { color: var(--text); }
.sheet-tabs button[aria-selected="true"]::after { content: ""; position: absolute; inset-inline-start: 10px; inset-inline-end: 10px; bottom: -1px; height: 3px; border-radius: 3px 3px 0 0; background: var(--link); }
.sheet [role="tabpanel"][hidden] { display: none; }
.share-body { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.share-preview { background: var(--surface-2); border-radius: 12px; padding: 10px; display: grid; place-items: center; min-height: 240px; }
.share-preview img { display: block; max-width: 100%; max-height: 58vh; border-radius: 8px; box-shadow: 0 8px 30px rgba(10, 16, 32, 0.25); }
.share-side { display: grid; gap: 12px; align-content: start; }
.seg { display: inline-flex; padding: 3px; gap: 2px; background: var(--surface-2); border-radius: 999px; width: max-content; max-width: 100%; }
.seg button { border: 0; background: none; padding: 7px 14px; border-radius: 999px; font: 600 15px var(--sans); color: var(--text-2); cursor: pointer; }
.seg button[aria-checked="true"] { background: var(--surface); color: var(--text); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 42px; padding: 0 16px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--text); font: 700 16px var(--sans); text-decoration: none; cursor: pointer; }
.btn:hover { border-color: var(--link); color: var(--link); }
.btn.primary { background: var(--link); border-color: var(--link); color: #fff; }
.btn.primary:hover { filter: brightness(1.08); color: #fff; }
.btn-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.networks { display: flex; flex-wrap: wrap; gap: 8px; }
.net { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--b); color: #fff; }
.net svg { width: 20px; height: 20px; fill: currentColor; }
.net:hover { filter: brightness(1.1); }
.copy-link { display: flex; gap: 8px; }
.copy-link input { flex: 1; min-width: 0; height: 42px; padding: 0 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface-2); color: var(--text-2); font: 500 15px var(--sans); }
.sheet .note { margin: 0; font-size: 14px; color: var(--muted); }
.embed-builder { display: grid; gap: 14px; }
.embed-form { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: end; }
.embed-form label { display: grid; gap: 6px; font: 700 13px var(--sans); letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.embed-code { width: 100%; min-height: 110px; padding: 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface-2); color: var(--text); font: 13px ui-monospace, monospace; resize: vertical; }
.embed-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.toast { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); padding: 8px 14px; border-radius: 999px; background: var(--text); color: var(--bg); font: 700 15px var(--sans); pointer-events: none; }
@media (max-width: 760px) {
  .sheet { width: 100vw; max-width: 100vw; max-height: 92vh; margin: auto 0 0; border-radius: 14px 14px 0 0; }
  .share-body { grid-template-columns: minmax(0, 1fr); }
  .share-preview img { max-height: 40vh; }
  .el-actions .pill span { display: none; }
  .el-actions .pill { width: 32px; padding: 0; }
}
.anchor { margin-inline-start: 8px; color: var(--muted); text-decoration: none; font-weight: 600; opacity: 0; transition: opacity 120ms; }
:hover > .anchor, .anchor:focus { opacity: 1; }
@media (hover: none) { .anchor { opacity: 0.6; } }
.feed { list-style: none; margin: 0; padding: 0; border-inline-start: 3px solid var(--line); }
.feed li { position: relative; padding-block: 0 16px; padding-inline: 18px 0; }
.feed li::before { content: ""; position: absolute; inset-inline-start: -8px; top: 6px; width: 13px; height: 13px; background: var(--surface); border: 3px solid var(--lvl, var(--muted)); }
.feed .meta { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: center; font-size: 14px; color: var(--muted); }
.feed time { font-weight: 700; color: var(--text); font-variant-numeric: tabular-nums; }
.feed .scope { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; font-size: 12px; padding: 3px 7px; background: var(--surface-2); color: var(--text-2); }
.feed .scope .flag { height: 14px; }
.feed .scope-national { background: var(--band); color: #fff; }
.feed h4 { margin: 4px 0 2px; font-size: 20px; line-height: 1.2; }
.feed p { margin: 0; color: var(--text-2); }
.feed .call { border-inline-start: 4px solid var(--p); padding-inline-start: 8px; }
.breaking { position: relative; display: grid; grid-template-columns: auto 1fr auto; gap: 6px 16px; align-items: center; background: var(--pop); color: #fff; padding: 14px 18px; border-bottom: 4px solid #8f0f33; }
.breaking .tag { font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; font-size: 14px; background: #fff; color: var(--pop); padding: 5px 9px; }
.breaking h3 { margin: 0; font-size: clamp(22px, 3.4vw, 34px); line-height: 1.05; font-style: italic; font-weight: 800; }
.breaking time { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.breaking a { color: #fff; }
@media (prefers-reduced-motion: no-preference) { .breaking .tag { animation: blink 1.4s steps(2, start) 3; } @keyframes blink { 50% { opacity: 0.35; } } }
@media (max-width: 640px) { .breaking { grid-template-columns: 1fr; } }
.h2h { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 0; background: var(--surface); border: 1px solid var(--line); border-top: 6px solid var(--band); }
.h2h-side { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 16px; align-items: end; padding: 18px 20px 0; }
.h2h-side.right { grid-template-columns: minmax(0, 1fr) 132px; text-align: end; }
.h2h-side.right .cand-art { order: 2; }
.h2h-name { margin: 0; font-size: clamp(24px, 3vw, 40px); line-height: 1.04; font-weight: 800; text-wrap: balance; }
.h2h-side .party { margin: 8px 0 6px; }
.h2h-num { display: block; font-size: clamp(40px, 6vw, 72px); font-weight: 800; line-height: 1; color: var(--p); font-variant-numeric: tabular-nums; padding-bottom: 14px; }
.h2h-num small { font-size: 16px; font-weight: 600; color: var(--muted); display: block; }
.h2h-mid { display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 18px 10px; gap: 6px; text-align: center; }
.h2h-mid b { font-size: 15px; font-style: italic; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); }
.h2h-bar { grid-column: 1 / -1; display: flex; height: 18px; background: var(--surface-2); position: relative; }
.h2h-bar i { display: block; height: 100%; background: var(--p); }
.h2h-bar::after { content: ""; position: absolute; inset-inline-start: 50%; top: -4px; bottom: -4px; border-inline-start: 2px solid var(--text); }
.h2h-foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; padding: 10px 20px 14px; font-size: 15px; color: var(--muted); border-top: 1px solid var(--line); }
.cand-art { position: relative; aspect-ratio: 4 / 5; display: grid; place-items: end center; }
.cand-art:has(img)::before { content: ""; position: absolute; inset: 22% 4% 0; background: radial-gradient(circle at 50% 45%, color-mix(in srgb, var(--p) 32%, transparent), transparent 70%); }
.cand-art img, .cand-art svg { position: relative; display: block; width: 100%; height: 100%; object-fit: contain; object-position: bottom; }
.cand-art .cutout { color: color-mix(in srgb, var(--p) 70%, var(--text-2)); }
.cand-art.p-np .cutout { color: var(--muted); }
.cand-art figcaption { position: absolute; inset-inline-start: 0; inset-inline-end: 0; bottom: 4px; text-align: center; font-size: 12px; font-style: italic; color: var(--muted); }
.cards-explain { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr)); gap: 12px; }
.explain { background: var(--surface); border: 1px solid var(--line); padding: 16px 18px; }
.explain .q { margin: 0 0 4px; font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--pop); }
.explain h4 { margin: 0 0 6px; font-size: 22px; line-height: 1.1; }
.explain p { margin: 0; color: var(--text-2); }
.explain .big { display: block; font-size: 44px; font-weight: 800; line-height: 1; margin: 6px 0; color: var(--text); }
.tech { background: var(--surface); border: 1px solid var(--line); border-inline-start: 6px solid var(--band-2); }
.tech summary { cursor: pointer; padding: 12px 16px; font-weight: 700; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 10px; }
.tech summary::-webkit-details-marker { display: none; }
.tech summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--muted); }
.tech[open] summary::after { content: "−"; }
.tech .body { padding: 0 16px 14px; color: var(--text-2); }
.tech dl { display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr); gap: 6px 16px; margin: 0; }
.tech dt { font-weight: 700; color: var(--text); }
.tech dd { margin: 0; }
.tech code { font: 14px ui-monospace, monospace; background: var(--surface-2); padding: 1px 5px; }
.mascots { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(200px, 100%), 1fr)); gap: 12px; }
.mascot { margin: 0; background: var(--surface); border: 1px solid var(--line); border-top: 6px solid var(--p); padding: 12px 14px; color: var(--p); }
.mascot .sketch { display: block; width: 100%; height: auto; }
.mascot figcaption { color: var(--text-2); font-size: 15px; }
.mascot figcaption b { display: block; color: var(--text); font-size: 18px; }
@media (max-width: 760px) {
  .h2h { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .h2h-mid { display: none; }
  .h2h-side, .h2h-side.right { grid-template-columns: minmax(0, 1fr); padding: 14px 12px 0; }
  .h2h-side .cand-art { max-width: 120px; }
  .h2h-side.right .cand-art { order: 0; margin-inline-start: auto; }
  .tech dl { grid-template-columns: 1fr; }
}
.flag { display: inline-block; line-height: 0; box-shadow: 0 0 0 1px var(--line); background: var(--surface-2); }
.flag img { display: block; height: 100%; width: auto; }
.skyline { display: block; width: 100%; height: auto; color: var(--sketch, var(--text-2)); --sketch-bg: var(--sketch-bg-own, var(--bg)); }
.skyline .fill { opacity: 0.35; }
.banner { position: relative; background: var(--band); color: #fff; overflow: hidden; border-bottom: 4px solid var(--pop); --sketch: rgba(212, 207, 250, 0.8); --sketch-bg-own: var(--band); }
.banner .wrap { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 6px 20px; align-items: end; padding-top: 30px; padding-bottom: 0; }
.banner .flag { height: 64px; grid-row: span 2; align-self: center; box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.25); }
.banner p { margin: 0; color: var(--sun); font-weight: 700; font-size: 14px; letter-spacing: 0.12em; text-transform: uppercase; }
.banner h1 { margin: 0; padding-bottom: 0.08em; font-size: clamp(36px, 6vw, 64px); line-height: 1.04; letter-spacing: -0.03em; }
.banner .wrap:not(:has(.skyline)) { padding-bottom: 24px; }
.banner .skyline { grid-column: 1 / -1; margin-top: 8px; }
.banner .city { position: absolute; inset-inline-end: 16px; bottom: 10px; font-size: 12px; font-style: italic; color: var(--band-text); opacity: 0.8; }
@media (max-width: 640px) { .banner .flag { height: 44px; } }
.emblem { display: block; width: 100%; height: auto; color: var(--lvl, var(--text)); }
.chamber { background: var(--surface); border: 1px solid var(--line); border-top: 6px solid var(--band); padding: 16px 18px 18px; }
.chamber h3 { margin: 0; font-size: 26px; line-height: 1.1; padding-inline-end: 150px; }
@media (max-width: 640px) { .chamber h3 { padding-inline-end: 0; padding-top: 40px; } }
.ba { margin-top: 6px; }
.ba > input { position: absolute; opacity: 0; pointer-events: none; }
.ba-tabs { display: flex; gap: 0; margin: 4px 0 10px; border: 1px solid var(--line); width: max-content; max-width: 100%; }
.ba-tabs label { padding: 7px 16px; font-weight: 700; font-size: 16px; cursor: pointer; color: var(--muted); }
.ba-tabs label + label { border-inline-start: 1px solid var(--line); }
.ba-panel { display: none; }
.sample-tag { display: inline-block; margin: 0 0 6px; padding: 4px 8px; background: var(--warn-bg, #fff1c2); color: #5c3d00; font-size: 13px; font-weight: 700; }
.blocks { display: block; width: 100%; max-width: 640px; height: auto; margin: 0 auto; }
.blocks .majority { stroke: var(--text); stroke-width: 3; stroke-linecap: round; }
.blocks text { font: 800 46px var(--sans); fill: var(--text); text-anchor: middle; }
.blocks text.small { font: 600 16px var(--sans); fill: var(--muted); }
.blocks text.n { font: 800 30px var(--sans); fill: #fff; }
.flips { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 8px 0 0; padding: 0; list-style: none; font-size: 16px; }
.flips i { display: inline-block; width: 22px; height: 14px; margin-inline-end: 6px; vertical-align: -2px; }
.chamber .sub { margin: 2px 0 12px; color: var(--muted); font-size: 16px; }
.p-vac { --p: var(--surface-2); }
.p-pend { --p: var(--line); }
.ba-wait { margin: 0 0 8px; font-size: 14px; color: var(--muted); }
.p-lv, .p-lv-one { --p: var(--lv-legislature); }
.hemi { display: block; width: 100%; max-width: 640px; height: auto; margin: 0 auto; }
.hemi circle { fill: var(--p); }
.hemi .open { fill: none; stroke: var(--p); stroke-width: 1.6; }
.hemi .open.p-vac { stroke: var(--muted); }
.hemi .majority { stroke: var(--text); stroke-width: 3; stroke-linecap: round; }
.hemi text { font: 800 46px var(--sans); fill: var(--text); text-anchor: middle; }
.hemi text.small { font: 600 16px var(--sans); fill: var(--muted); }
.tug { position: relative; display: flex; height: 44px; margin: 14px 0 6px; background: var(--surface-2); }
.tug i { display: flex; align-items: center; height: 100%; background: var(--p); color: #fff; font-style: normal; font-weight: 800; font-size: 22px; padding: 0 10px; white-space: nowrap; overflow: hidden; }
.tug i.right { justify-content: flex-end; }
.tug i.thin { padding: 0; }
.tug::after { content: ""; position: absolute; inset-inline-start: var(--maj); top: -8px; bottom: -8px; border-inline-start: 3px solid var(--text); }
.tug-scale { position: relative; height: 20px; font-size: 14px; color: var(--muted); }
.tug-scale span { position: absolute; transform: translateX(-50%); white-space: nowrap; font-weight: 700; color: var(--text); }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(190px, 100%), 1fr)); gap: 8px; margin-top: 12px; }
.facts div { background: var(--surface-2); padding: 10px 12px; border-inline-start: 5px solid var(--p, var(--line)); }
.facts b { display: block; font-size: 28px; line-height: 1.05; font-variant-numeric: tabular-nums; }
.facts span { font-size: 15px; color: var(--text-2); }
.compare { display: grid; grid-template-columns: auto 1fr auto; gap: 6px 12px; align-items: center; margin-top: 14px; font-size: 16px; }
.compare .lbl { font-weight: 700; }
.compare .bar { display: flex; height: 16px; background: var(--surface-2); }
.compare .bar i { display: block; height: 100%; background: var(--p); }
.compare .n { font-variant-numeric: tabular-nums; color: var(--muted); white-space: nowrap; }
.sen-tiles text { font: 800 14px var(--sans); text-anchor: middle; dominant-baseline: central; fill: var(--text); pointer-events: none; }
.sen-tiles .seat { fill: var(--p); }
.sen-tiles .notup { fill-opacity: 0.32; }
.sen-tiles .up { stroke: var(--text); stroke-width: 2.4; }
.sen-tiles .special { stroke: var(--sun); stroke-width: 3.2; stroke-dasharray: 5 3; }
.sen-tiles .pres { fill: none; stroke-width: 3; }
.sen-tiles .pres-R { stroke: var(--party-rep); } .sen-tiles .pres-D { stroke: var(--party-dem); }
.sen-key { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 10px 0 0; padding: 0; list-style: none; font-size: 15px; color: var(--text-2); }
.sen-key i { display: inline-block; width: 18px; height: 14px; margin-inline-end: 6px; vertical-align: -2px; background: var(--p); }
.sen-groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 10px; margin-top: 14px; }
.sen-group { background: var(--surface-2); padding: 10px 12px; border-top: 5px solid var(--p); }
.sen-group h4 { margin: 0 0 6px; font-size: 18px; line-height: 1.15; }
.sen-group h4 small { display: block; font-size: 14px; font-weight: 500; color: var(--muted); }
.sen-group ul { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 4px; }
.sen-group li { font-weight: 700; font-size: 15px; padding: 3px 7px; background: var(--surface); border: 1px solid var(--line); }
.sen-group li.sp { border-color: var(--sun); }
.sen-group li em { font-style: normal; font-weight: 500; color: var(--muted); }
.control { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 12px; }
.control article { background: var(--surface); border: 1px solid var(--line); border-top: 6px solid var(--p); padding: 14px 16px; }
.control h3 { margin: 0; font-size: 15px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.control .who { margin: 4px 0 2px; font-size: 34px; font-weight: 800; line-height: 1; }
.control .why { margin: 0 0 10px; font-size: 16px; color: var(--text-2); }
.control .need { font-size: 16px; }
.control .need b { font-size: 22px; }
.control .pill { margin-top: 10px; }
.fbar { display: none; flex-wrap: wrap; gap: 8px; align-items: flex-end; margin: 0 0 10px; padding: 10px; background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--band-2); }
.js .fbar { display: flex; }
.fbar > label { flex: 1 1 150px; }
.fbar > label:first-child { flex: 2 1 220px; }
.fbar .fcount { flex: 0 0 auto; }
.fbar label { display: grid; gap: 3px; font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); min-width: 0; }
.fbar input, .fbar select { font: 500 16px/1.2 var(--sans); color: var(--text); background: var(--bg); border: 1px solid var(--line); border-radius: 0; height: 40px; padding: 0 10px; width: 100%; min-width: 0; -webkit-appearance: none; appearance: none; }
.fbar input { padding-inline-start: 32px; background: var(--bg) no-repeat 10px 50% / 15px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23888' stroke-width='2'%3E%3Ccircle cx='7' cy='7' r='5'/%3E%3Cpath d='m11 11 4 4'/%3E%3C/svg%3E"); }
.fbar select { padding-inline-end: 30px; background: var(--bg) no-repeat right 10px center / 10px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23888' stroke-width='1.6'/%3E%3C/svg%3E"); cursor: pointer; }
.fbar select.on, .fbar input.on { border-color: var(--band-2); box-shadow: inset 0 -2px 0 var(--band-2); }
.fbar input:focus, .fbar select:focus { outline: 2px solid var(--sun); outline-offset: 1px; }
.fbar .fcount { display: flex; align-items: center; gap: 8px; height: 40px; font-size: 14px; color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.fbar .fcount b { color: var(--text); }
.fbar button { height: 40px; padding: 0 12px; font: 600 14px var(--sans); color: var(--link); background: transparent; border: 1px solid var(--line); cursor: pointer; }
.fbar button[hidden] { display: none; }
.fempty { display: none; margin: 0; padding: 18px; background: var(--surface); border: 1px solid var(--line); border-top: 0; color: var(--muted); }
.fempty.on { display: block; }
[data-row].off, [data-group].off { display: none !important; }
@media (max-width: 640px) {
  .fbar > label { flex: 1 1 calc(50% - 4px); }
  .fbar > label:first-child { flex-basis: 100%; }
  .fbar .fcount { flex: 1 1 100%; justify-content: space-between; height: auto; }
}
.pm { position: relative; display: block; }
.pm > summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 8px; padding: 10px 14px; min-height: 100%; box-sizing: border-box; }
.pm > summary::-webkit-details-marker { display: none; }
.pm > summary b { display: block; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 700; color: var(--muted); }
.pm > summary span { display: block; font-size: 15px; font-weight: 600; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pm > summary::after { content: ""; width: 9px; height: 9px; border-right: 2px solid var(--band-2); border-bottom: 2px solid var(--band-2); transform: translateY(-3px) rotate(45deg); }
.pm[open] > summary::after { transform: translateY(2px) rotate(-135deg); }
.pm > summary:hover { background: var(--surface-2); }
.pm-panel { position: absolute; z-index: 30; top: calc(100% + 4px); inset-inline-start: 0; width: max(100%, 300px); max-width: calc(100vw - 32px); background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--band-2); box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18); display: grid; grid-template-rows: auto auto 1fr; max-height: 420px; }
.pm-head { display: none; justify-content: space-between; align-items: center; padding: 12px 14px 4px; font-weight: 700; font-size: 18px; }
.pm-head button { font: 600 15px var(--sans); background: transparent; border: 0; color: var(--link); cursor: pointer; padding: 6px; }
.pm-search { display: none; padding: 8px; border-bottom: 1px solid var(--line); }
.js .pm-search { display: block; }
.pm-search input { width: 100%; box-sizing: border-box; height: 40px; padding: 0 10px; font: 500 16px var(--sans); color: var(--text); background: var(--bg); border: 1px solid var(--line); }
.pm-list { list-style: none; margin: 0; padding: 4px; overflow: auto; }
.pm-list a { display: flex; justify-content: space-between; gap: 10px; padding: 9px 10px; color: var(--text); text-decoration: none; font-size: 16px; }
.pm-list a:hover, .pm-list a:focus { background: var(--surface-2); outline: none; }
.pm-list a[aria-current] { font-weight: 700; box-shadow: inset 3px 0 0 var(--band-2); }
.pm-list small { color: var(--muted); font-variant-numeric: tabular-nums; }
.pm-list li.off { display: none; }
.pm-none { display: none; padding: 12px; color: var(--muted); font-size: 15px; }
.pm-none.on { display: block; }
@media (max-width: 640px) {
  .pm[open]::before { content: ""; position: fixed; inset: 0; z-index: 29; background: rgba(10, 6, 30, 0.45); }
  .pm-panel { position: fixed; top: auto; inset-inline-start: 0; inset-inline-end: 0; bottom: 0; width: auto; max-width: none; max-height: 78vh; border-radius: 14px 14px 0 0; border-top-width: 0; padding-bottom: env(safe-area-inset-bottom); }
  .pm-head { display: flex; }
  .pm-list a { padding: 13px 12px; }
}
.pm.solo { display: inline-block; min-width: min(320px, 100%); border: 1px solid var(--line); background: var(--surface); }
sup.fn { font-size: 9px; line-height: 0; vertical-align: super; margin-inline-start: 1px; font-weight: 600; letter-spacing: 0; text-transform: none; }
.src-line { margin: 8px 0 0; font-size: 12px; line-height: 1.3; color: var(--muted); letter-spacing: 0.02em; }
sup.fn a { color: var(--muted); text-decoration: none; }
sup.fn a:hover { color: var(--pop); }
sup.fn a + a::before { content: ","; }
.sources { margin: 36px 0 0; padding: 14px 0 22px; border-top: 1px solid var(--line); font-size: 13px; line-height: 1.45; color: var(--muted); }
.sources h2 { margin: 0 0 6px; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; }
.sources ol { margin: 0; padding-inline-start: 20px; columns: 2 320px; column-gap: 28px; }
.sources li { break-inside: avoid; padding: 1px 0; }
.sources li:target { color: var(--text); background: var(--surface-2); }
.board { background: var(--surface); border: 1px solid var(--line); border-top: 5px solid var(--lvl); }
.board-band { padding: 6px 8px 0; }
.board-band .emblem { height: 64px; width: 100%; }
.board-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 16px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.board-head .k { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.board-head .where { margin: 3px 0 0; font-size: 16px; color: var(--text-2); }
.board-head .pills { display: flex; flex-wrap: wrap; gap: 6px; }
.board-inc { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 0; padding: 10px 16px; font-size: 15px; border-bottom: 1px solid var(--line); }
.board-inc .lbl { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.board .h2h { border: 0; border-bottom: 1px solid var(--line); }
.board .h2h-foot { display: none; }
.board .h2h { grid-template-columns: minmax(0, 1fr) 36px minmax(0, 1fr); }
.board .h2h-side { grid-template-columns: 76px minmax(0, 1fr); gap: 12px; padding: 14px 14px 0; }
.board .h2h-side.right { grid-template-columns: minmax(0, 1fr) 76px; }
.board .h2h-name { font-size: clamp(20px, 2vw, 27px); line-height: 1.08; text-wrap: balance; overflow-wrap: normal; }
.board .h2h-num { font-size: clamp(34px, 4vw, 52px); padding-bottom: 10px; }
.board .h2h-mid { padding: 14px 0; }
.board .h2h-mid span { display: none; }
.bc { list-style: none; margin: 0; padding: 0; }
.bc li { display: grid; grid-template-columns: 4px minmax(0, 1fr) auto 104px 132px; gap: 4px 14px; align-items: center; padding: 11px 16px; }
.bc li + li { border-top: 1px solid var(--line); }
.bc li::before { content: ""; align-self: stretch; background: var(--p); }
.bc .nm { font-weight: 700; font-size: 18px; line-height: 1.2; }
.bc .nm small { margin-inline-start: 8px; font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.bc .v { text-align: end; font-size: 15px; font-variant-numeric: tabular-nums; color: var(--text-2); }
.bc .sh { display: grid; gap: 4px; }
.bc .sh b { text-align: end; font-size: 16px; font-variant-numeric: tabular-nums; }
.bc .sh i { display: block; height: 7px; background: var(--surface-2); }
.bc .sh i span { display: block; height: 100%; background: var(--p); }
.bc .none { color: var(--muted); }
.bc li.np::before { background: var(--line); }
.board-empty { margin: 0; padding: 16px; color: var(--muted); }
.board-q { margin: 0; padding: 14px 16px 4px; font-size: 17px; color: var(--text-2); }
.board-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; padding: 10px 16px; border-top: 1px solid var(--line); background: var(--surface-2); font-size: 14px; color: var(--muted); }
@media (max-width: 640px) {
  .bc li { grid-template-columns: 4px minmax(0, 1fr) auto; }
  .bc li::before { grid-row: span 2; }
  .bc .v { grid-column: 2; text-align: start; }
  .bc .sh { grid-column: 3; }
}
.rmap { margin: 0; background: var(--surface); border: 1px solid var(--line); padding: 12px; }
.rmap figcaption { margin: 0 0 8px; font-size: 14px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.rmap .map { max-height: 560px; }
.qa { display: grid; gap: 8px; max-width: 900px; }
.qa details { background: var(--surface); border: 1px solid var(--line); }
.qa summary { cursor: pointer; padding: 12px 16px; font-weight: 700; font-size: 18px; list-style: none; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; float: inline-end; color: var(--band-2); font-weight: 800; }
.qa details[open] summary::after { content: "–"; }
.qa p { margin: 0; padding: 0 16px 14px; color: var(--text-2); font-size: 17px; }
