*{box-sizing:border-box}body{margin:0;background:#edf4fc;color:#112b4c;font:16px -apple-system,BlinkMacSystemFont,Noto Sans TC,sans-serif}main{max-width:1250px;margin:auto;padding:24px}header{display:flex;justify-content:space-between;align-items:center;gap:12px;border-bottom:2px solid #b4cce8;padding-bottom:16px}h1{font-size:clamp(24px,3vw,38px);margin:6px 0}small{letter-spacing:.1em;color:#597a9e}button,input,select{font:inherit;border-radius:9px;padding:12px;border:1px solid #a9bfd9}button{cursor:pointer;background:#0752a1;color:#fff;border:0;font-weight:700}button:disabled{opacity:.5}input{display:block;margin:8px 0;width:100%}.panel{background:#fff;border-radius:16px;padding:22px;margin-top:20px;box-shadow:0 4px 20px #193b6010}.bar{display:flex;justify-content:space-between;gap:10px;align-items:center;padding:18px 0}.warning{padding:12px;background:#ffdfae;color:#713b00}.buttons,.totals{display:grid;grid-template-columns:repeat(4,1fr);grid-gap:12px;gap:12px}.buttons button{min-height:150px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;font-size:20px}.buttons b{font-size:40px}.buttons small{color:#d5e6fa}.secondary{background:#e4effb;color:#164a7d;margin-top:15px}.edit label{display:block;max-width:350px;margin:10px 0}.totals b{display:block;font-size:28px}nav{display:flex;gap:20px}.tv{max-width:none;min-height:100vh;background:linear-gradient(140deg,#051b39,#104d91);color:#fff;padding:3vw}.tv header{border-color:#49719c}.tv small{color:#a6c8ed}.results{display:grid;grid-gap:1vh;gap:1vh}.result{position:relative;display:grid;grid-template-columns:80px 1fr auto;align-items:center;grid-gap:1vw;gap:1vw;background:#ffffffed;color:#102e53;padding:1vh 2vw;border-radius:12px;font-size:clamp(25px,3.6vw,65px);overflow:hidden}.result span{font-weight:800}.result .num{display:grid;place-items:center;background:#0b57a1;color:#fff;border-radius:50%;width:1.4em;height:1.4em}.track{position:absolute;bottom:0;left:0;width:100%;height:6px;background:#c6dbef}.track div{height:100%;background:#2486dc;transition:width .4s}.focus{background:#cfe8ff}.announce{position:fixed;inset:0;background:#063c83f5;display:grid;place-content:center;text-align:center;font-size:clamp(36px,6vw,100px);font-weight:700;z-index:3}.tv footer{margin-top:20px;color:#c8dcf2}@media(max-width:700px){main{padding:14px}header{align-items:flex-start;flex-direction:column}.buttons,.totals{grid-template-columns:repeat(2,1fr)}.buttons button{min-height:120px}.result{grid-template-columns:50px 1fr auto}}.station-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));grid-gap:10px;gap:10px}.station-card{text-align:left;background:#eaf3fc;color:#143b69;padding:16px;display:grid;grid-gap:8px;gap:8px}.station-card small,.station-card span{color:#325d87}.edit-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));grid-gap:12px;gap:12px}.candidate-0 .num,.candidate-0 .track div{background:#1455ad}.candidate-1 .num,.candidate-1 .track div{background:#6d7885}.candidate-2 .num,.candidate-2 .track div{background:#a0a5a9}.candidate-3 .num,.candidate-3 .track div{background:#258453}.result strong small{font-size:.35em;letter-spacing:0}.candidate-0.focus{outline:4px solid #8cc7ff;box-shadow:0 0 0 8px #8cc7ff30}.candidate-0.focus strong{font-size:1.12em}.station-card small{font-size:13px}