:root{--bg: #0b0b0b;--card: #121112;--card-border: #343434;--card-border-hi: #bea028;--gold: #ecc418;--text: #ececec;--muted: #8c8c8c;--track: #3a3a3a;--divider: #2a2a2a;--shield: #c3c7ca;--sword: #dec63e;--key: #e18a23;--live: #3ddc6e;--delayed: #ecc418;--lost: #ff4d4d;--font-display: "Archivo", system-ui, sans-serif;--font-body: "Inter", system-ui, sans-serif;color-scheme:dark}*,*:before,*:after{box-sizing:border-box}html,body{margin:0;min-height:100%}body{background-color:var(--bg);background-image:linear-gradient(115deg,transparent 35%,rgba(255,255,255,.06) 50%,transparent 65%);background-attachment:fixed;color:var(--text);font-family:var(--font-body);-webkit-font-smoothing:antialiased}h1,h2,h3,p,ol,ul{margin:0;padding:0}ol,ul{list-style:none}.page{max-width:1720px;margin:0 auto;padding:28px 36px 32px;display:flex;flex-direction:column;gap:18px}.layout{display:grid;grid-template-columns:2.3fr 1fr;gap:14px;align-items:stretch}.card{background:var(--card);border:1px solid var(--card-border);border-radius:10px;min-width:0}.card--hi{border-color:var(--card-border-hi)}.map-card{padding:14px 18px 16px;display:flex;flex-direction:column;gap:10px}.map-card__placeholder{aspect-ratio:975 / 610;display:grid;place-items:center;color:var(--muted);font:600 15px var(--font-body)}.live-header{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;flex-wrap:wrap}.title{font-family:var(--font-display);font-weight:900;font-stretch:125%;font-size:clamp(34px,4.2vw,64px);line-height:.95;letter-spacing:.01em}.title__legion,.title__race{background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"),linear-gradient(currentColor,currentColor);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}.title__legion{color:var(--text)}.title__race{color:var(--gold)}.live-header__subtitle{margin-top:8px;color:var(--muted);font:600 15px var(--font-body);letter-spacing:.01em}.live-header__status{display:flex;align-items:center;gap:16px;font:600 13px var(--font-body);color:var(--muted)}.status{display:inline-flex;align-items:center;gap:8px;font-family:var(--font-display);font-weight:800;font-stretch:112%;letter-spacing:.06em;font-size:13px}.status__dot{width:9px;height:9px;border-radius:50%;background:currentColor}.status--live{color:var(--live)}.status--live .status__dot{animation:live-dot 1.8s ease-in-out infinite}.status--delayed{color:var(--delayed)}.status--lost{color:var(--lost)}@keyframes live-dot{0%,to{box-shadow:0 0 #3ddc6e99;opacity:1}50%{box-shadow:0 0 0 6px #3ddc6e00;opacity:.7}}.countdown b{color:var(--text);font-variant-numeric:tabular-nums}.us-map{display:block;width:100%;height:auto;overflow:visible}.label{font-family:var(--font-display);text-anchor:middle;dominant-baseline:central;pointer-events:none;font-variant-numeric:tabular-nums}.label--inside-code{font-weight:900;font-stretch:112%;font-size:15px;fill:#0e0e0e}.label--inside-votes{font-weight:700;font-size:12px;fill:#1e1e1e}.label--code{font-weight:800;font-stretch:112%;font-size:12px;fill:#e1e1e1}.label--votes{font-weight:600;font-size:10px;fill:#969696}.us-map__bubbles,.us-map__glow,.us-map__pulses,.us-map__deltas{pointer-events:none}.pulse-ring{transform-box:fill-box;transform-origin:center;animation:pulse-ring 1.5s ease-out 3 both}@keyframes pulse-ring{0%{transform:scale(1);opacity:.9}to{transform:scale(2.2);opacity:0}}.delta-badge{font-family:var(--font-display);font-weight:800;font-stretch:112%;font-size:14px;text-anchor:middle;dominant-baseline:central;paint-order:stroke;stroke:#0b0b0b;stroke-width:4px;stroke-linejoin:round;transform-box:fill-box;transform-origin:center;animation:delta-badge 4.5s ease-out both}@keyframes delta-badge{0%{opacity:0;transform:translateY(8px) scale(.8)}10%{opacity:1;transform:translateY(0) scale(1)}80%{opacity:1;transform:translateY(-6px)}to{opacity:0;transform:translateY(-12px)}}.legend{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;padding:0 4px}.legend__items{display:flex;gap:26px;flex-wrap:wrap}.legend__item{display:inline-flex;align-items:center;gap:9px;font-family:var(--font-display);font-weight:800;font-stretch:112%;font-size:13px;letter-spacing:.04em}.legend-swatch{display:inline-block;flex:none;width:11px;height:11px;border-radius:2px}.legend__note{font:600 11px var(--font-body);color:var(--muted);letter-spacing:.08em}.top-panel{padding:22px 22px 20px;display:flex;flex-direction:column}.top-panel__title{font-family:var(--font-display);font-weight:800;font-stretch:125%;font-size:22px;letter-spacing:.02em;color:#fff}.top-panel__divider{height:1px;background:var(--divider);margin:14px 0 6px}.top-list{display:flex;flex-direction:column;flex:1;justify-content:space-between}.top-row{padding:8px 6px 9px;margin:0 -6px;border-radius:6px}.top-row__line{display:flex;align-items:baseline;gap:12px;margin-bottom:7px}.top-row__rank{font-family:var(--font-display);font-weight:800;font-size:14px;color:var(--muted);font-variant-numeric:tabular-nums;width:22px}.top-row__name{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-family:var(--font-display);font-weight:700;font-stretch:112%;font-size:15px;letter-spacing:.02em}.top-row__votes{font-family:var(--font-display);font-weight:800;font-stretch:112%;font-size:16px;font-variant-numeric:tabular-nums}.top-row--leader .top-row__rank,.top-row--leader .top-row__votes{color:var(--gold)}.top-row--changed{animation:row-flash 2.4s ease-out}@keyframes row-flash{0%{background:#ecc41838}to{background:transparent}}.progress{height:4px;border-radius:2px;background:var(--track);overflow:hidden}.progress__fill{height:100%;border-radius:2px;transition:width .7s ease}.top-panel__subtitle{margin:18px 0 10px;padding-top:14px;border-top:1px solid var(--divider);font-family:var(--font-display);font-weight:800;font-stretch:125%;font-size:13px;letter-spacing:.06em;color:var(--muted)}.small-states{display:grid;grid-template-columns:repeat(3,1fr);gap:8px 12px}.small-state{display:flex;align-items:center;gap:7px;font-family:var(--font-display);font-size:13px;border-radius:4px}.small-state--changed{animation:row-flash 2.4s ease-out}.small-state__code{font-weight:800;font-stretch:112%}.small-state__votes{margin-left:auto;font-weight:700;color:var(--muted);font-variant-numeric:tabular-nums}.kiosk,.kiosk body{height:100%;overflow:hidden}.page--kiosk{max-width:none;height:100vh;padding:2.2vh 2vw}.page--kiosk .layout{flex:1;min-height:0}.page--kiosk .map-card{min-height:0;justify-content:center}.page--kiosk .us-map{flex:1;min-height:0;max-height:100%}@media(max-width:960px){.page{padding:18px 14px 24px}.layout{grid-template-columns:1fr}.map-card{padding:10px}.legend__items{gap:8px 16px}.legend__item{font-size:11px}.live-header{align-items:flex-start;flex-direction:column;gap:12px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}
