@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@600;700;800&family=IBM+Plex+Mono:wght@400;500;600&family=Noto+Sans+TC:wght@400;500;600;700;800&display=swap');
:root{color-scheme:dark;--bg:#090b0d;--panel:#101316;--panel-hover:#191e22;--line:#272d31;--muted:#899299;--text:#eef1ed;--accent:#d5fa74;--mono:'IBM Plex Mono',monospace;--sans:'Noto Sans TC',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}
*{box-sizing:border-box}html{background:var(--bg)}body{margin:0;color:var(--text);font:16px/1.5 var(--sans);background:radial-gradient(ellipse at 40% 25%,#141b1870,transparent 54%),var(--bg)}button,input{font:inherit}button,a,input{-webkit-tap-highlight-color:transparent}button{color:inherit;cursor:pointer}a{color:inherit;text-decoration:none}button{border:0;background:none}button:focus-visible,a:focus-visible,input:focus-visible{outline:2px solid var(--accent);outline-offset:4px}button:disabled{cursor:wait;opacity:.45}button,.tile{transition:background .18s,border-color .18s,color .18s,box-shadow .18s}svg.icon{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex:none}.icon-definitions{position:absolute;width:0;height:0;overflow:hidden}.mono{font-family:var(--mono);font-variant-numeric:tabular-nums}.subdued{color:var(--muted)}
.election-strip{background:#151b21;border-bottom:1px solid #2a333c;min-height:43px;font-size:14px}.election-inner{max-width:1800px;padding:0 36px;margin:auto;display:flex;align-items:center;gap:24px;min-height:43px}.election-location{display:flex;align-items:center;gap:15px;white-space:nowrap;padding:0}.election-tag{font-size:12px;font-weight:700;letter-spacing:.04em;color:#c4d1dc;background:#26323c;padding:3px 8px;border-radius:3px}.election-location strong{font-size:14px;font-weight:500}.chevron{color:var(--muted)}.vote-pair{display:flex;gap:28px}.candidate{display:flex;align-items:center;gap:10px;white-space:nowrap}.candidate:before{content:'';width:3px;height:12px;border-radius:2px;background:var(--candidate-color)}.blue{--candidate-color:#78b8ff}.green{--candidate-color:#70dcac}.candidate strong{font-family:var(--mono);font-size:17px;min-width:2ch;text-align:right;color:var(--candidate-color)}.candidate small{font-size:12px;color:var(--muted)}.precincts{color:#a1acb6;white-space:nowrap;border-left:1px solid #394048;padding-left:24px}.precincts strong{color:#dce3e9;font-family:var(--mono);font-weight:500}.election-meta{margin-left:auto;color:var(--muted);font-size:12px;white-space:nowrap}.election-meta.stale{color:#f1be74}.cec-source{display:flex;align-items:center;gap:7px;white-space:nowrap;font-size:12px;color:#b4c2cf}.cec-source .icon{width:13px;height:13px}
.app-header{height:83px;border-bottom:1px solid #22282b;display:flex;align-items:center;justify-content:space-between;padding:0 38px;gap:30px}.brand{display:flex;align-items:center;gap:12px;font-family:'Barlow Condensed',sans-serif;font-size:32px;font-weight:800;letter-spacing:1px}.brand-light{font-weight:600}.brand-period{color:var(--accent)}.brand-mark{width:31px;height:31px;border:1.5px solid var(--accent);border-radius:50%;position:relative;display:grid;place-items:center}.brand-mark:before{content:'';width:19px;height:19px;border:1px solid var(--accent);border-radius:50%;opacity:.65}.brand-mark i{position:absolute;width:7px;height:7px;border-radius:50%;background:var(--accent);box-shadow:0 0 18px #c3ff5b3b}.header-center{display:flex;gap:25px;align-items:center;font-size:14px}.nav-selected{color:var(--accent);position:relative;line-height:83px}.nav-selected:after{content:'';position:absolute;bottom:0;left:0;right:0;height:2px;background:var(--accent)}.nav-divider{height:15px;width:1px;background:#33393d}.header-center .mono{font-size:11px;letter-spacing:.13em}.clock-wrap{display:grid;grid-template-columns:auto auto;gap:0 12px;align-items:center}.timezone{font:11px var(--mono);letter-spacing:.1em;color:#929c98;grid-row:span 2}.clock-wrap time{font-size:19px;font-weight:500;letter-spacing:.04em}.header-date{font:10px var(--mono);color:#939c9b;text-align:right;letter-spacing:.08em}
.workspace{max-width:1640px;margin:0 auto;padding:31px 38px 0}.workspace-heading{display:flex;align-items:center;justify-content:space-between;gap:25px;margin-bottom:25px}.eyebrow{display:flex;align-items:center;gap:8px;font:10px var(--mono);letter-spacing:.15em;color:#9fae9a}.live-dot{display:inline-block;width:6px;height:6px;background:var(--accent);border-radius:50%;box-shadow:0 0 9px #d5fa7440}.workspace h1{font-size:27px;font-weight:600;letter-spacing:.04em;margin:7px 0 6px;line-height:1.45}.workspace h1>span{color:var(--accent)}.workspace-heading p{margin:0;color:var(--muted);font-size:13px;letter-spacing:.025em}.toolbar{display:flex;align-items:center;gap:10px}.view-switch{display:flex;padding:4px;gap:3px;border:1px solid #2c3236;border-radius:8px;background:#111518}.view-switch button{padding:8px 13px;font-size:13px;color:#9aa4a8;display:flex;align-items:center;gap:8px;border-radius:5px}.view-switch .active{background:#d5fa7412;color:var(--accent);box-shadow:inset 0 0 0 1px #c8ed6935}.view-switch button:hover{color:var(--accent)}.view-switch .icon{width:17px;height:17px}.icon-button{width:39px;height:39px;display:inline-flex;justify-content:center;align-items:center;border:1px solid #2b3235;border-radius:7px;background:#121619;color:#aeb9bb}.icon-button:hover{background:#252d2d;color:var(--text);border-color:#677357}.icon-button[aria-pressed=true]{color:var(--accent);border-color:#a2bd58}
.wall-labels{display:grid;grid-template-columns:minmax(0,3fr) minmax(250px,1fr);gap:16px;margin-bottom:10px;color:#c7cdcb;font-size:12px}.wall-labels>span{display:flex;align-items:center;gap:9px}.label-line{width:13px;height:2px;background:var(--accent)}.label-meta{font-size:10px;letter-spacing:.09em;color:#7f8b8b;margin-left:3px}.preview-label{justify-content:space-between}.preview-label .mono{margin-right:auto;color:#606d6f;font-size:11px}.preview-label .icon{color:#7e8a8b;width:15px;height:15px}.wall{display:grid;grid-template-columns:minmax(0,3fr) minmax(250px,1fr);grid-template-rows:repeat(3,minmax(0,1fr));gap:14px 16px}.tile{border:1px solid #313839;border-radius:10px;overflow:hidden;background:#0e1113;display:flex;flex-direction:column;min-width:0;position:relative}.tile.main{grid-column:1;grid-row:1/span 3;border-color:#6e823c;box-shadow:0 0 0 1px #c7f26b09,0 14px 55px #0004}.tile.preview{grid-column:2;grid-row:var(--row)}.tile-top{display:none}.main .tile-top{display:flex;justify-content:space-between;align-items:center;height:34px;flex:none;padding:0 15px;background:linear-gradient(90deg,#232c1980,#111619);font:10px var(--mono);letter-spacing:.1em;color:#a7b18f}.top-onair{display:flex;align-items:center;gap:7px;color:var(--accent)}.top-onair .live-dot{width:5px;height:5px}.top-right{display:flex;gap:14px;align-items:center;color:#7e8d83}.video{position:relative;background:#000;aspect-ratio:16/9;min-height:0;overflow:hidden;isolation:isolate}.main .video{flex:1;aspect-ratio:auto;min-height:280px}.video iframe{position:absolute;width:100%;height:100%;left:0;top:0;border:0;z-index:1}.video-placeholder{position:absolute;inset:0;display:grid;place-content:center;gap:9px;text-align:center;color:#79837a;background:radial-gradient(ellipse at center,#232a20,#090b0c 70%)}.placeholder-logo{font-family:'Barlow Condensed',sans-serif;font-weight:700;font-size:40px;color:#d3dbca;letter-spacing:.1em}.video-placeholder small{font-size:12px}.tile-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 12px;min-height:44px;background:#13181a;border-top:1px solid #252c2d;flex:none}.tile-channel{display:flex;align-items:center;gap:10px;min-width:0}.channel-logo{width:31px;height:31px;border-radius:7px;display:flex;align-items:center;justify-content:center;font-family:'Barlow Condensed',var(--sans);font-weight:700;font-size:12px;letter-spacing:.02em;background:var(--logo-bg);color:var(--logo-color);box-shadow:inset 0 0 0 1px #ffffff14;flex:none}.tile-name{font-size:13px;font-weight:500;white-space:nowrap}.tile-status{font-size:10px;color:#8e9b9b;white-space:nowrap}.tile-status[data-state=playing]{color:#b5c99c}.promote{display:flex;align-items:center;gap:5px;font-size:11px;color:#9eaa9d;white-space:nowrap;border:1px solid #354034;border-radius:4px;padding:4px 7px}.promote:hover{color:var(--accent);border-color:#8da753;background:#d5fa7410}.promote .icon{width:13px;height:13px}.main .promote{display:none}.main .tile-footer{padding:14px 18px;min-height:88px}.main .channel-logo{width:42px;height:42px;font-size:17px;border-radius:9px}.main .tile-name{font-size:19px;font-weight:600}.main .tile-status{display:block;font-size:11px;margin-top:2px}.preview .tile-status{display:none}.main-only{display:none}.main .main-only{display:flex}.main-actions{display:flex;gap:13px;align-items:center}.audio-button{display:flex;align-items:center;gap:7px;border-radius:5px;padding:8px 10px;background:#d5fa7410;border:1px solid #d5fa742b;color:var(--accent);font-size:12px}.audio-button:hover{background:#d5fa7421}.audio-button .icon{width:16px;height:16px}.volume{width:65px;height:4px;accent-color:var(--accent);cursor:pointer}.player-control{width:28px;height:29px;display:flex;align-items:center;justify-content:center;color:#a7b3b5}.player-control:hover{color:var(--accent)}.audio-wave{height:16px;display:none;align-items:center;gap:2px;color:var(--accent)}.audio-wave i{width:2px;height:40%;background:currentColor;animation:wave .85s infinite alternate}.audio-wave i:nth-child(2){height:80%;animation-delay:-.4s}.audio-wave i:nth-child(3){height:55%;animation-delay:-.2s}.tile[data-audible=true] .audio-wave{display:flex}@keyframes wave{to{height:25%}}.stream-notice{position:absolute;inset:0;z-index:3;display:none;place-content:center;text-align:center;padding:15px;background:#111719f7;color:#dce4dc}.stream-notice.visible{display:grid}.stream-notice strong{font-size:16px}.stream-notice p{color:#939f9d;font-size:12px;margin:7px 0 13px}.notice-actions{display:flex;align-items:center;justify-content:center;gap:8px}.notice-actions button,.notice-actions a{padding:7px 10px;border:1px solid #556246;border-radius:5px;font-size:12px;color:var(--accent)}
.channel-section{padding:25px 0 0}.section-title{display:flex;align-items:center;gap:18px;margin-bottom:13px}.section-title h2{margin:0;font-size:14px;font-weight:500;display:flex;align-items:center;gap:10px}.section-title h2 .mono{font-size:10px;color:#9ba88b;border:1px solid #414a37;border-radius:3px;padding:0 4px}.channel-hint{font-size:11px;color:#768183}.playing-count{margin-left:auto;font:11px var(--mono);color:#8a9993}.channel-dock{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}.channel-button{display:flex;gap:11px;align-items:center;position:relative;text-align:left;padding:13px 12px;border:1px solid #2b3335;border-radius:8px;background:#111518;min-width:0}.channel-button:hover{border-color:#6f7d5e;background:#1b221c}.channel-button[aria-pressed=true]{border-color:#99b454;background:#d5fa740a;box-shadow:inset 0 -2px 0 var(--accent)}.channel-button .channel-logo{width:34px;height:34px;font-size:14px}.dock-name{font-size:13px;font-weight:500;white-space:nowrap}.dock-subtitle{font-size:10px;color:#81908b;margin-top:3px;white-space:nowrap}.channel-button[aria-pressed=true] .dock-subtitle{color:var(--accent)}.shortcut{position:absolute;top:6px;right:8px;font:9px var(--mono);color:#515d5f}.app-footer{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:25px;border-top:1px solid #252c2d;padding:18px 0 23px;color:#697678;font-size:11px}.footer-brand{font-family:'Barlow Condensed',sans-serif;font-size:15px;letter-spacing:.06em;color:#a2ae9d;margin-right:12px}.keyboard-hints{display:flex;gap:6px;align-items:center;color:#697475;font-size:10px}.keyboard-hints>span{margin:0 5px}kbd{font:9px var(--mono);border:1px solid #3a4445;min-width:18px;height:17px;text-align:center;border-radius:3px;color:#a6b1ac;background:#171d1f}.text-button{font-size:11px;color:#9ca9a5;padding:0}.text-button:hover{color:var(--accent)}
.wall.grid{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(2,auto)}.wall.grid .tile{grid-column:auto;grid-row:auto;order:var(--slot)}.wall.grid .tile .tile-top{display:none}.wall.grid .video{flex:auto;aspect-ratio:16/9;min-height:0}.wall.grid .tile-footer{height:73px;min-height:73px;padding:10px 14px}.wall.grid .tile-name{font-size:15px}.wall.grid .main .channel-logo{width:31px;height:31px;font-size:12px}.wall.grid .main-actions{gap:6px}.wall.grid .volume{display:none}.wall.grid .audio-button{font-size:11px;padding:5px}.wall.grid .main .tile-status{font-size:10px}.wall.grid .main .player-control{display:none}.grid-labels .preview-label{visibility:hidden}body.theater .workspace{max-width:none;padding:16px 22px 0}body.theater .workspace-heading,body.theater .channel-section,body.theater .app-footer,body.theater .header-center{display:none}body.theater .app-header{height:56px}body.theater .wall{height:calc(100vh - 150px);grid-template-columns:minmax(0,1fr) minmax(235px,23%);grid-template-rows:repeat(3,minmax(0,1fr))}body.theater .video{aspect-ratio:auto;flex:1}body.theater .main .video{min-height:0}body.theater .wall-labels{margin-bottom:7px}.workspace:fullscreen{background:#090b0d;max-width:none;overflow:auto;width:100%;padding:18px 25px}.workspace:fullscreen .wall{max-height:none}.workspace:fullscreen .workspace-heading{margin-bottom:12px}.workspace:fullscreen .workspace-heading p{display:none}
dialog{width:min(620px,calc(100% - 28px));max-height:90vh;border:1px solid #46533b;border-radius:14px;background:#13191c;color:var(--text);padding:27px;box-shadow:0 30px 100px #0009}dialog::backdrop{background:#030607c9;backdrop-filter:blur(6px)}.dialog-header{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:17px}.dialog-header h2{font-size:22px;margin:4px 0 0;font-weight:600}.dialog-header .icon-button{width:33px;height:33px}.dialog-description,.source-note{color:#9ea9a6;font-size:13px;line-height:1.9}.dialog-description{margin:0 0 22px}.source-row{display:block;margin-bottom:16px}.source-label{display:flex;align-items:center;justify-content:space-between;font-size:14px;margin-bottom:6px}.source-label a{font-size:11px;color:#a4bc89}.source-row input{width:100%;border:1px solid #3d494b;border-radius:6px;background:#090e10;color:#d9e1d6;padding:10px;font:12px var(--mono)}.dialog-actions{border-top:1px solid #333e3d;padding-top:20px;margin-top:23px;display:flex;justify-content:space-between;gap:12px}.primary-button,.secondary-button{padding:10px 16px;border-radius:6px;font-size:13px;font-weight:500}.primary-button{background:var(--accent);color:#1b2410}.secondary-button{border:1px solid #4a5a4b;color:#c9d8bf;background:#202b22}.primary-button:hover{background:#e0ff91}.secondary-button:hover{background:#2f3b2d}.form-error{font-size:13px;color:#ff9a8a}.source-link{display:inline-flex;gap:9px;align-items:center;margin-top:10px}.source-link .icon{width:14px;height:14px}.vote-table{width:100%;border-collapse:collapse;font-size:14px}.vote-table th{color:#7e8f88;font-size:12px;font-weight:400;text-align:left;border-bottom:1px solid #3c4c40;padding:8px}.vote-table td{padding:11px 8px;border-bottom:1px solid #2b3731}.vote-table .numeric{text-align:right;font-family:var(--mono)}.vote-table th.numeric{font-family:var(--sans)}.vote-summary{font-size:12px;display:flex;justify-content:space-between;padding:16px 8px;color:#b4c7a0}.help-list{padding-left:20px;color:#c4ceca;font-size:14px}.help-list li{margin-bottom:12px;line-height:1.9}.toast{position:fixed;bottom:28px;left:50%;transform:translate(-50%,12px);z-index:10;border:1px solid #6f854f;background:#202a1f;color:#e4f2cc;border-radius:8px;box-shadow:0 10px 50px #0008;padding:10px 20px;font-size:13px;opacity:0;pointer-events:none;transition:opacity .2s,transform .2s}.toast.visible{opacity:1;transform:translate(-50%,0)}
@media(min-width:1600px){.workspace{padding-top:36px}.workspace-heading{margin-bottom:29px}.workspace h1{font-size:30px}.wall{gap:16px 20px}.wall-labels{gap:20px}.main .tile-footer{min-height:98px}.channel-section{padding-top:28px}.channel-button{padding:16px}.channel-button .channel-logo{width:38px;height:38px}}
@media(max-width:1200px){.election-inner{gap:17px;padding:0 24px}.precincts{padding-left:17px;font-size:12px}.vote-pair{gap:18px}.election-meta{max-width:160px;overflow:hidden;text-overflow:ellipsis}.cec-source{font-size:11px}.app-header{padding:0 25px}.workspace{padding:26px 25px 0}.wall,.wall-labels{grid-template-columns:minmax(0,2.6fr) minmax(235px,1fr)}.main .tile-footer{padding:12px}.main .tile-name{font-size:17px}.main-actions{gap:6px}.volume{width:45px}.channel-button{gap:8px;padding:12px 9px}.channel-button .channel-logo{width:28px;height:30px;font-size:11px}.dock-name{font-size:12px}.dock-subtitle{font-size:9px}.keyboard-hints{display:none}.header-center .mono{display:none}.tile-footer{padding:7px 9px}.preview .channel-logo{width:25px;height:25px;font-size:10px}}
@media(max-width:900px){.election-inner{gap:15px}.election-tag{display:none}.election-meta{display:none}.cec-source{margin-left:auto}.precincts{font-size:11px}.vote-pair{gap:16px}.candidate{gap:6px;font-size:12px}.candidate strong{font-size:15px}.app-header{height:67px}.nav-selected{line-height:67px}.clock-wrap .header-date{display:none}.clock-wrap time{font-size:16px}.timezone{font-size:9px;grid-row:auto}.workspace-heading{align-items:flex-end}.workspace h1{font-size:23px}.workspace-heading .eyebrow{font-size:9px;letter-spacing:.1em}.workspace-heading p{font-size:11px}.toolbar{gap:6px}.view-switch button{padding:8px}.view-switch button span{display:none}.icon-button{width:35px;height:35px}.wall,.wall-labels{grid-template-columns:minmax(0,2fr) minmax(210px,1fr);gap:10px}.main .main-actions .volume,.main .player-control.reload-control{display:none}.main .tile-footer{flex-wrap:wrap;gap:8px;padding:9px 11px;min-height:91px}.main .tile-name{font-size:15px}.main .channel-logo{width:32px;height:32px;font-size:12px}.main .tile-status{font-size:10px}.main-actions{width:100%;justify-content:flex-end}.audio-button{padding:4px 7px;font-size:11px}.preview .tile-name{font-size:11px}.promote{font-size:10px;padding:4px}.promote .icon{display:none}.preview .channel-logo{display:none}.channel-dock{grid-template-columns:repeat(3,minmax(0,1fr))}.channel-button .channel-logo{width:34px;height:34px;font-size:13px}.dock-name{font-size:14px}.dock-subtitle{font-size:11px}.channel-button{padding:12px}.shortcut{font-size:10px}.wall.grid .tile-footer{min-height:99px;height:auto}.wall.grid .main-actions{width:auto}}
@media(max-width:640px){.election-strip{min-height:63px}.election-inner{padding:6px 15px;gap:4px 14px;flex-wrap:wrap;min-height:63px}.election-location strong{font-size:11px}.election-location{gap:5px}.vote-pair{flex:1;justify-content:flex-end;gap:18px}.candidate{font-size:11px;gap:5px}.candidate strong{font-size:14px}.candidate small{font-size:10px}.precincts{border:0;padding:0;font-size:10px;line-height:1.5}.election-meta{display:block;max-width:none;margin:0 auto;font-size:9px}.cec-source{font-size:10px}.cec-source .icon{width:11px;height:11px}.app-header{height:61px;padding:0 17px;gap:12px}.brand{font-size:28px;gap:9px}.brand-mark{width:25px;height:25px}.brand-mark:before{width:15px;height:15px}.brand-mark i{width:5px;height:5px}.header-center{display:none}.clock-wrap{gap:8px}.clock-wrap time{font-size:16px}.timezone{font-size:9px}.workspace{padding:23px 15px 0}.workspace-heading{gap:12px;margin-bottom:21px;align-items:center}.workspace-heading .eyebrow{font-size:7px;letter-spacing:.1em}.workspace h1{font-size:20px;letter-spacing:0;margin-top:7px}.workspace-heading p{max-width:210px;font-size:11px;line-height:1.7}.toolbar{gap:5px;flex-wrap:wrap;justify-content:flex-end;max-width:100px;flex:none}.view-switch{padding:3px;width:91px;justify-content:center;border-radius:5px}.view-switch button{padding:6px 10px}.icon-button{width:42px;height:30px;border-radius:5px}.wall-labels{display:block;margin-bottom:9px;font-size:11px}.wall-labels .preview-label{display:none}.wall{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:auto auto;gap:10px 7px}.tile{border-radius:7px}.tile.main{grid-column:1/span 3;grid-row:1}.tile.preview{grid-column:var(--row);grid-row:2}.main .video{flex:none;aspect-ratio:16/9;min-height:0}.main .tile-top{height:27px;font-size:8px;padding:0 10px}.main .tile-footer{flex-wrap:nowrap;min-height:70px;padding:10px;gap:5px}.main .tile-name{font-size:15px}.main .tile-channel{gap:8px}.main .main-actions{width:auto;gap:3px}.main .audio-button{font-size:10px;gap:5px;padding:6px}.main .audio-button .icon{width:14px;height:14px}.main .audio-button .audio-label{display:none}.main .player-control{width:22px}.main .player-control .icon{width:16px;height:16px}.main .tile-status{font-size:9px}.preview .video{aspect-ratio:16/9;min-height:80px}.preview .tile-footer{padding:7px 5px;min-height:63px;gap:5px;flex-wrap:wrap}.preview .tile-name{font-size:11px}.preview .tile-channel{width:100%;justify-content:center}.promote{padding:3px 5px;font-size:9px;width:100%;justify-content:center;background:#1d251c;border-color:#47533b}.preview .stream-notice{padding:5px}.preview .stream-notice strong{font-size:10px}.preview .stream-notice p{display:none}.preview .notice-actions{gap:3px;flex-wrap:wrap}.preview .notice-actions button,.preview .notice-actions a{font-size:8px;padding:3px}.preview .placeholder-logo{font-size:19px}.preview .video-placeholder small{display:none}.channel-section{padding-top:22px}.section-title{gap:12px;margin-bottom:11px}.section-title h2{font-size:12px;gap:6px}.channel-hint{display:none}.playing-count{font-size:10px}.channel-dock{gap:7px}.channel-button{gap:7px;padding:12px 8px}.channel-button .channel-logo{width:28px;height:29px;font-size:10px}.dock-name{font-size:11px}.dock-subtitle{font-size:9px;margin-top:2px}.shortcut{display:none}.app-footer{margin-top:23px;padding:15px 0 20px;font-size:9px;gap:5px}.footer-brand{font-size:13px;margin-right:6px}.app-footer .text-button{font-size:10px}.wall.grid{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:auto auto}.wall.grid .tile{grid-column:auto;grid-row:auto}.wall.grid .video{aspect-ratio:16/9;min-height:100px}.wall.grid .tile-footer{min-height:76px;flex-wrap:wrap;padding:8px}.wall.grid .tile-channel{width:auto;justify-content:flex-start}.wall.grid .tile-name{font-size:12px}.wall.grid .promote{width:auto}.wall.grid .main .channel-logo{display:none}.wall.grid .main .tile-status{display:none}.wall.grid .main-actions{width:100%;justify-content:flex-start}.wall.grid .main .audio-label{display:inline}.wall.grid .main .audio-button{font-size:9px}.wall.grid .main .audio-wave{display:none}body.theater .workspace{padding:12px 12px 0}body.theater .wall{height:auto;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:auto auto}body.theater .wall .video{aspect-ratio:16/9}body.theater .wall.grid{grid-template-columns:repeat(2,minmax(0,1fr))}dialog{padding:20px}.dialog-header h2{font-size:19px}.dialog-header .eyebrow{font-size:8px}.dialog-header .icon-button{width:32px;height:32px}.toast{width:max-content;max-width:90vw;text-align:center;font-size:12px}.vote-table{font-size:13px}.vote-table td{padding:10px 5px}.vote-summary{font-size:11px;gap:12px}}
.tile:not(.main) .main-only{display:none}
.tile-name,.dock-name,.promote,.view-switch button,.audio-button,.section-title h2{font-size:14px}.tile-status,.dock-subtitle,.playing-count,.channel-hint,.app-footer,.text-button,.label-meta,.eyebrow{font-size:12px}.source-row input{font-size:14px}.workspace-heading p,.dialog-description,.source-note{font-size:14px}.help-list{font-size:16px}.main .tile-status{font-size:12px}.preview .tile-footer{min-height:48px}.promote{padding:4px 6px;font-size:12px}.election-meta,.cec-source{font-size:12px}
@media(max-width:900px){.preview .tile-name,.promote{font-size:12px}.dock-name{font-size:14px}.dock-subtitle{font-size:12px}.channel-button .channel-logo{width:30px}.channel-button{gap:7px}.workspace-heading p{font-size:12px}}
@media(max-width:640px){.dock-name{font-size:12px}.dock-subtitle{font-size:10px}.preview .tile-name{font-size:12px}.promote{font-size:10px}.workspace-heading .eyebrow{font-size:8px}.workspace-heading p{font-size:12px}.main .tile-status{font-size:10px}.candidate{font-size:12px}.election-meta,.precincts,.cec-source{font-size:10px}.election-location strong{font-size:12px}.app-footer{font-size:10px}.tile:not(.main) .main-only{display:none}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}
.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.app-header{height:54px;padding:0 28px;border-bottom:0}.brand-mark{width:25px;height:25px}.brand-mark:before{width:15px;height:15px}.brand-mark i{width:5px;height:5px}.header-controls{display:flex;align-items:center;gap:10px}.header-controls time{font-size:14px;color:#87918c;margin-right:10px}.header-controls .icon-button{border-color:transparent;background:transparent;width:30px;height:30px}.header-controls .icon-button:hover{border-color:#44503b;background:#1e281b}.workspace{max-width:none;padding:0 28px 16px}.wall{height:calc(100dvh - 184px);min-height:400px;grid-template-columns:minmax(0,3fr) minmax(245px,1fr);gap:12px 16px}.tile .video{flex:1;aspect-ratio:auto;min-height:0}.tile .tile-footer,.tile.main .tile-footer{min-height:47px;padding:7px 12px;height:47px;flex-wrap:nowrap}.tile.main .channel-logo{width:29px;height:29px;font-size:12px;border-radius:6px}.tile .tile-name,.tile.main .tile-name{font-size:14px;font-weight:500}.tile .tile-channel{gap:9px;width:auto;justify-content:flex-start}.tile .promote{border-color:transparent;background:transparent;width:27px;height:27px;padding:5px;color:#8b9992}.tile .promote .icon{display:block;width:16px;height:16px}.tile .promote:hover{color:var(--accent);background:#d5fa7412}.main .main-actions{width:auto;gap:9px}.main .audio-button{border:0;background:transparent;padding:5px;width:28px;height:29px}.main .audio-button .icon{width:18px;height:18px}.main .volume{width:65px}.channel-section{padding:13px 0 0}.channel-dock{gap:9px}.channel-button{justify-content:center;padding:10px 15px;min-height:49px;gap:11px;border-radius:7px}.channel-button .channel-logo{width:27px;height:27px;font-size:11px}.dock-name{font-size:14px}.stream-notice strong{font-size:14px;font-weight:500;color:#a9b4b1}.notice-actions{margin-top:12px}.notice-actions button,.notice-actions a{padding:5px;border-color:#3c4937;display:flex;justify-content:center;align-items:center}.notice-actions .icon{width:17px;height:17px}.tile.preview .video-placeholder .placeholder-logo{font-size:25px}.workspace:fullscreen{padding:16px 25px}.workspace:fullscreen .wall{height:calc(100dvh - 102px)}body.theater .app-header{height:46px}body.theater .workspace{padding:0 16px 12px}body.theater .wall{height:calc(100dvh - 100px);grid-template-columns:minmax(0,1fr) minmax(235px,23%)}
@media(max-width:1100px){.main .volume{width:45px}.main .main-actions{gap:5px}.wall{grid-template-columns:minmax(0,2.6fr) minmax(230px,1fr)}.channel-button{padding:10px;gap:8px}.dock-name{font-size:13px}}
@media(max-width:700px){.app-header{padding:0 16px;height:44px}.workspace{padding:0 14px 14px}.header-controls time{font-size:13px}.header-controls{gap:5px}.brand-mark{width:23px;height:23px}.wall{height:auto;min-height:0;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:auto auto;gap:8px}.tile.main{grid-column:1/span 3;grid-row:1}.tile.preview{grid-column:var(--row);grid-row:2}.tile.main .video{flex:none;aspect-ratio:16/9}.tile.preview .video{min-height:80px;aspect-ratio:16/9;flex:none}.tile .tile-footer,.tile.main .tile-footer{min-height:42px;height:42px;padding:7px}.tile.preview .tile-footer{gap:3px;padding:5px;height:34px;min-height:34px}.tile.preview .channel-logo{display:none}.tile.preview .tile-name{font-size:11px}.tile .tile-channel{gap:7px}.tile.main .tile-name{font-size:14px}.tile.main .channel-logo{width:26px;height:26px;font-size:11px}.tile .promote{width:20px;height:23px;padding:3px}.tile .promote .icon{width:13px;height:13px}.main .main-actions{gap:3px}.main .volume{display:none}.main .player-control.reload-control{display:none}.main .player-control{width:24px}.main .audio-button{width:26px;padding:4px}.channel-section{padding:11px 0 0}.channel-dock{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.channel-button{min-height:44px;padding:8px;gap:6px}.channel-button .channel-logo{width:23px;height:23px;font-size:9px}.dock-name{font-size:12px}.stream-notice strong,.preview .stream-notice strong{font-size:11px}.notice-actions{gap:6px;margin-top:6px}.notice-actions .icon{width:14px;height:14px}.preview .notice-actions button,.preview .notice-actions a{padding:4px}.election-inner{min-height:58px}.election-location{gap:3px}.vote-pair{gap:13px}.candidate{font-size:11px}.candidate strong{font-size:13px}.candidate:before{height:10px}.cec-source,.election-meta,.precincts{font-size:10px}body.theater .workspace{padding:0 10px 10px}body.theater .wall{height:auto;grid-template-columns:repeat(3,minmax(0,1fr))}.workspace:fullscreen .wall{height:auto}}
.wall{height:calc(100dvh - 164px - (100vw - 104px) * .09375);min-height:330px}
.tile,.tile.main{border:2px solid var(--frame);box-shadow:0 0 0 1px rgba(var(--frame-rgb),.05)}.tile.main{box-shadow:0 0 22px rgba(var(--frame-rgb),.13)}.tile .tile-footer{border-top-color:rgba(var(--frame-rgb),.25)}.main .audio-button{color:var(--frame)}.main .volume{accent-color:var(--frame)}.main .audio-wave{color:var(--frame)}
.preview-select{position:absolute;inset:0 0 47px;z-index:2;background:transparent;border:0;cursor:pointer}.preview-select:hover{box-shadow:inset 0 0 0 2px rgba(var(--frame-rgb),.5)}.tile.main .preview-select{display:none}.tile.preview .video iframe{pointer-events:none}.tile.preview .tile-footer{cursor:pointer}
.dock-tile{position:relative;min-width:0;border:2px solid var(--frame);border-radius:8px;background:#101619;overflow:hidden;transition:box-shadow .15s,filter .15s}.dock-tile:hover{box-shadow:0 0 17px rgba(var(--frame-rgb),.3)}.dock-tile.selected{box-shadow:0 0 0 2px rgba(var(--frame-rgb),.5),0 0 22px rgba(var(--frame-rgb),.15)}.dock-tile .video{aspect-ratio:16/9;min-height:90px}.dock-tile iframe{pointer-events:none;min-width:200px;min-height:200px;left:50%;top:50%;transform:translate(-50%,-50%)}.dock-footer{display:flex;align-items:center;gap:8px;padding:6px 9px;min-height:34px;height:34px;border-top:1px solid rgba(var(--frame-rgb),.25);background:rgba(var(--frame-rgb),.06)}.dock-footer .channel-logo{width:21px;height:21px;font-size:9px;border-radius:4px}.dock-name{font-size:13px;font-weight:500}.dock-footer>.icon{margin-left:auto;width:13px;height:13px;color:#8b9b96}.channel-select{position:absolute;inset:0;z-index:4;display:block;width:100%;height:100%;padding:0;background:transparent;border:0;cursor:pointer}.channel-select:focus-visible{outline:2px solid white;outline-offset:-5px}.dock-tile .notice-actions{display:none}.dock-tile .stream-notice strong{font-size:12px}.dock-tile .placeholder-logo{font-size:22px}.dock-tile .stream-notice{padding:5px}.audio-button.needs-activation{outline:1px solid currentColor;outline-offset:1px;animation:audio-pulse 1.5s ease-in-out infinite}@keyframes audio-pulse{50%{box-shadow:0 0 13px rgba(var(--frame-rgb),.65)}}
body.theater .wall{height:calc(100dvh - 100px)}.workspace:fullscreen .wall{height:calc(100dvh - 79px - (100vw - 104px) * .09375)}
@media(max-width:1000px){.channel-dock{grid-template-columns:repeat(3,minmax(0,1fr))}.wall{height:calc(76dvh - 120px);min-height:380px}.dock-name{font-size:14px}}
@media(max-width:700px){.wall,body.theater .wall,.workspace:fullscreen .wall{height:auto;min-height:0}.channel-dock{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.dock-footer{padding:5px 8px;height:34px;min-height:34px}.dock-name{font-size:13px}.dock-tile .video{min-height:90px}.preview-select{bottom:34px}.tile.preview .tile-footer{min-height:34px;height:34px}.tile .tile-name{font-size:12px}.tile.main .tile-name{font-size:14px}}
.election-inner{max-width:none;min-height:44px;height:44px;padding:0 18px;display:flex;flex-wrap:nowrap;gap:10px}.ticker-label{font-size:14px;white-space:nowrap;color:#d8e2dc;flex:none}#region-select{width:106px;flex:none;background:#202b30;border:1px solid #45514d;border-radius:5px;padding:5px 18px 5px 8px;color:#e7efea;font:14px var(--sans);appearance:none;background-image:linear-gradient(45deg,transparent 50%,#b9c7bf 50%),linear-gradient(135deg,#b9c7bf 50%,transparent 50%);background-position:calc(100% - 11px) 14px,calc(100% - 7px) 14px;background-size:4px 4px;background-repeat:no-repeat}.ticker-window{height:42px;flex:1;min-width:0;overflow:hidden;position:relative}.ticker-window>a{display:block;position:absolute;top:50%;left:100%;white-space:nowrap;font-size:14px;line-height:1.6;color:#dce8d7;animation:cec-marquee var(--duration,20s) linear infinite;will-change:transform}.ticker-window:hover>a,.ticker-window:focus-within>a{animation-play-state:paused!important}@keyframes cec-marquee{from{transform:translate(0,-50%)}to{transform:translate(calc(-1 * var(--travel,1800px)),-50%)}}#ticker-pause{font-size:16px;color:#b7c9b4;width:26px;padding:3px;flex:none}.election-inner>.icon-button{width:28px;height:28px;flex:none}.result-section{margin:0 0 28px}.result-section h3{font-size:16px;color:#c5e8a2;font-weight:500}.result-section .source-note a{color:#c5e8a2;text-decoration:underline}.sound-start{position:absolute;z-index:5;left:50%;top:45%;transform:translate(-50%,-50%);padding:15px 23px;border:1px solid var(--frame);border-radius:10px;background:#0a130ff0;display:flex;gap:10px;align-items:center;font-size:16px;color:var(--frame);box-shadow:0 0 30px #0008}.sound-start[hidden]{display:none}.tile:not(.main) .sound-start{display:none}
@media(max-width:700px){.election-strip{min-height:44px}.election-inner{padding:0 9px;gap:6px;min-height:44px;height:44px}.ticker-label{font-size:12px}#region-select{font-size:12px;width:88px;padding-left:5px}.ticker-window>a{font-size:13px}.election-inner>.icon-button{width:23px}#ticker-pause{width:20px}.sound-start{font-size:14px;padding:12px 18px}}
@media(prefers-reduced-motion:reduce){.ticker-window{overflow-x:auto}.ticker-window>a{animation:none!important;position:relative;left:0;top:9px;transform:none!important}}
