/* The document owns overflow. Both consoles grow with their contents. */
html:root{height:auto;min-height:100%;overflow-x:clip;overflow-y:auto}
html body{height:auto;min-height:100dvh;overflow:visible;display:flow-root}
body #world{position:fixed;inset:0}
body .hud{position:relative;inset:auto;width:clamp(276px,22vw,342px);margin:18px 18px 18px auto;display:flex;flex-direction:column;gap:8px;height:auto;max-height:none;overflow:visible;z-index:2}
body .hud .scoreboard{position:relative;display:block;flex:none;order:0;margin:0;padding:12px 16px;height:auto;max-height:none;min-height:0;overflow:visible!important;border:1px solid #677e86;border-radius:12px;background:linear-gradient(145deg,#18384a,#0b202f 85%);box-shadow:inset 0 1px #c1d2c24a,0 3px #081825,0 12px 35px #04101878}
.hud .scoreboard .plate-head{padding:0 0 5px;display:flex;justify-content:space-between}.hud .scoreboard .plate-head .teach{min-height:28px}
.hud .scoreboard>h2{margin:5px 0;font-size:23px}.hud .scoreboard>h2 button{font:inherit;min-height:30px}
.hud .scoreboard #score{display:block!important;height:auto;min-height:0;max-height:none;overflow:visible;flex:none;padding:0;margin:0}
.dial-tabs{display:flex;padding:2px;border:1px solid #5b737c;border-radius:7px;background:#061925}
.dial-tabs button{border:0;background:transparent;color:#d7e4e2;flex:1;padding:4px;font:600 12px/1.3 system-ui;min-height:32px;border-radius:5px}
.dial-tabs button[aria-pressed=true]{background:#f1dfb7;color:#132d3a;box-shadow:0 1px 3px #0008}
.dial-total{display:flex;flex-direction:column;margin:11px 0 0}
.dial-total>span,.dial-methods span{font:10px/1.3 var(--g3-font-jetbrains-mono),monospace;letter-spacing:.08em;text-transform:uppercase;color:#b4ccc9}
.dial-total strong{font:clamp(44px,3.2vw,58px)/1 var(--g3-font-big-shoulders-stencil-display),sans-serif;letter-spacing:.015em;color:#fff0cf}
.dial-chart{display:grid;grid-template-columns:minmax(85px,.85fr) minmax(125px,1.15fr);gap:10px;align-items:center}
.election-wheel{width:100%;max-height:116px;overflow:visible;filter:drop-shadow(0 4px 3px #06131c);animation:dial-enter .42s ease-out both}
@keyframes dial-enter{from{opacity:.25;transform:translateY(4px)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){.election-wheel{animation:none}}
.dial-reading{font:bold 16px system-ui;fill:#f7ecd3}.dial-unit{font:7px monospace;letter-spacing:1.4px;fill:#b5cecc}
.dial-methods{display:grid;gap:8px}.dial-methods b{display:block;font:bold 18px/1.2 system-ui;color:#f5ecdc;letter-spacing:0}
.dial-scope,.dial-receipt{font:12px/1.35 system-ui;color:#c4d6da;margin:5px 0}
.dial-receipt{display:flex;gap:8px;justify-content:space-between;align-items:center;color:#b0c8ce;font-size:11px}.dial-receipt a{color:#98ebdb}
.dial-counties{list-style:none;margin:8px 0;padding:0}.dial-counties li{display:grid;grid-template-columns:6px 1fr auto;align-items:center;gap:6px;font:12px/1.4 system-ui;color:#e3e9e3}.dial-counties i{width:6px;height:6px;border-radius:50%;background:var(--dot)}
.hud .scoreboard #election-clock{padding:4px 0;margin:2px 0}.scoreboard #election-clock .clock-row{font-size:12px}
.hud #results-before-close{font-size:11px;margin:5px 0 0;padding-top:4px}
.hud .scoreboard #where-to-vote{padding-top:5px;margin-top:5px;overflow:visible;max-height:none;height:auto}
.hud .vote-key{min-height:42px;display:flex;flex-direction:column;justify-content:center;line-height:1.2}
.hud .scoreboard .vote-more{height:auto;max-height:none;overflow:visible}.hud .vote-more summary{font-size:12px;padding:5px 0}
.hud #cards{display:grid;grid-template-columns:1fr 1fr;order:1;gap:6px;margin:0}.hud #cards .payload{margin:0;min-width:0;min-height:58px;padding:7px 8px;border-radius:7px}.hud #cards .payload strong{font-size:16px;line-height:1.1}.hud #cards .payload .eyebrow{font-size:9px;letter-spacing:0}.hud #cards .payload>span:last-child{display:none}
.hud .evidence-launch{order:2;display:flex;margin:0;gap:4px}.hud .evidence-launch .key{flex:1;padding:5px;font-size:13px}
@media(max-width:800px){
 html body{display:flex;flex-direction:column;gap:10px;padding:10px}
 body .masthead,body .hud,body .launch-panel,body .payload-library{position:relative;inset:auto;width:100%;max-width:none;max-height:none;margin:0}
 body .masthead{order:0;padding:3px 2px;pointer-events:auto}.masthead h1{font-size:28px}
 body .payload-library{order:1}body .launch-panel{order:2}body #world{position:relative;inset:auto;order:3;flex:none;width:100%;height:clamp(190px,35svh,300px);border-radius:10px}
 body .hud{order:4}.hud .scoreboard .dial-chart{grid-template-columns:minmax(95px,.7fr) 1fr}.hud .dial-tabs button{min-height:44px}
}
body .masthead h1 a{color:#fae8bd;text-decoration:none;pointer-events:auto}
body .masthead h1 small{display:block;margin:4px 0;font:600 13px/1.3 system-ui;color:#d6e9e9}
