:root { color-scheme: light; font-family: -apple-system, BlinkMacSystemFont, 'Noto Sans TC', 'PingFang TC', 'Microsoft JhengHei', system-ui, sans-serif; background: #f6f7f5; color: #17283c; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; background: linear-gradient(135deg, #f9faf8 0%, #f4f6f4 58%, #f0f4f5 100%); }
button, input { font: inherit; }
.shell { max-width: 1160px; margin: 0 auto; padding: 0 34px; }
.topbar { height: 80px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #dbe1e2; }
.brand { display: flex; align-items: center; gap: 11px; color: #17283c; text-decoration: none; font-size: 23px; font-weight: 800; letter-spacing: -.05em; }
.brand-mark { width: 38px; height: 38px; display: grid; place-items: center; border: 1.5px solid #214760; border-radius: 10px; background: #e9f0f1; color: #214760; }
.brand-mark svg { width: 26px; height: 26px; }
.top-note { display: flex; align-items: center; gap: 9px; color: #5e7180; font-size: 12px; font-weight: 600; letter-spacing: .05em; }
.top-dot, .live-dot { display: inline-block; width: 7px; height: 7px; flex: 0 0 auto; border-radius: 50%; background: #437f78; box-shadow: 0 0 0 4px #e1eeeb; }
.intro { position: relative; min-height: 308px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 35px 0 30px; }
.intro-text { position: relative; z-index: 1; flex: 1 1 auto; }
.eyebrow { display: inline-flex; gap: 10px; align-items: center; padding: 7px 11px; border: 1px solid #d6e2e4; border-radius: 7px; color: #346879; background: #eef4f3; font-size: 12px; font-weight: 700; letter-spacing: .03em; }
h1 { margin: 22px 0 13px; font-size: clamp(43px, 5.3vw, 64px); line-height: 1.19; letter-spacing: -.065em; font-weight: 800; }
h1 em { color: #356f88; font-style: normal; white-space: nowrap; }
h1 em::after { content: ''; display: block; width: 150px; height: 2px; margin: 8px 0 -7px; background: #be8e78; border-radius: 100%; transform: rotate(-1deg); }
.intro-copy { margin: 23px 0 0; max-width: 610px; color: #586b78; font-size: 15px; line-height: 1.8; }
.intro-meta { display: flex; gap: 27px; flex-wrap: wrap; margin-top: 22px; color: #687a86; font-size: 12px; }
.intro-meta strong { color: #17283c; font-weight: 700; margin-left: 5px; }
.hero-art { position: relative; width: 265px; height: 255px; flex: 0 0 265px; display: grid; place-items: center; }
.hero-art::before { content: ''; position: absolute; width: 205px; height: 205px; border-radius: 50%; background: #e8f0f1; filter: blur(2px); }
.hero-art img { position: relative; width: 265px; height: 265px; object-fit: contain; filter: drop-shadow(0 12px 10px rgba(26,47,68,.08)); }
.grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(310px, .85fr); gap: 20px; align-items: start; }
.card { border: 1px solid #d8e1e4; background: #fff; border-radius: 17px; box-shadow: 0 13px 38px rgba(26,47,68,.055); }
.vote-card { min-height: 498px; padding: 28px 33px 29px; }
.live-card { padding: 28px 31px 28px; background: #f0f5f6; }
.card-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.step { display: inline-flex; align-items: center; gap: 8px; color: #376a82; font-size: 12px; letter-spacing: .06em; font-weight: 700; }
.step-icon { width: 24px; height: 24px; }
.status-pill { color: #376458; background: #e7f1eb; border: 1px solid #c9ded1; font-size: 11px; padding: 6px 10px; border-radius: 6px; white-space: nowrap; font-weight: 700; }
h2 { margin: 22px 0 8px; font-size: 24px; line-height: 1.45; letter-spacing: -.04em; }
.card-subtitle { margin: 0 0 23px; color: #657482; font-size: 13px; line-height: 1.75; }
.options { padding: 0; margin: 0; border: 0; display: grid; gap: 10px; }
.option { display: flex; align-items: center; gap: 13px; min-height: 58px; padding: 12px 15px; cursor: pointer; border: 1px solid #cdd8de; border-radius: 8px; background: #fff; color: #17283c; transition: background .16s, border-color .16s, box-shadow .16s; }
.option:hover { background: #f7fafb; border-color: #85a8b6; }
.option:has(input:checked) { border-color: #35738d; background: #edf5f8; box-shadow: 0 0 0 2px #d1e8ef; }
.option input { appearance: none; width: 19px; height: 19px; margin: 0; border: 2px solid #8298a7; border-radius: 50%; flex: 0 0 auto; background: white; }
.option input:checked { border: 5px solid #35738d; }
.option input:focus-visible, button:focus-visible, a:focus-visible { outline: 3px solid #bd8e78; outline-offset: 3px; }
.option span { font-size: 14px; font-weight: 600; }
.verification { min-height: 104px; margin-top: 22px; }
.verification-label { display: block; color: #657482; font-size: 12px; margin-bottom: 10px; }
.primary-button { width: 100%; min-height: 52px; border: 1px solid #214760; border-radius: 8px; background: #214760; color: white; font-weight: 700; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 12px; transition: background .16s, transform .16s; }
.primary-button:not(:disabled):hover { background: #31647e; transform: translateY(-1px); }
.primary-button:disabled { opacity: .48; cursor: not-allowed; }
.message { min-height: 0; margin-top: 17px; font-size: 14px; line-height: 1.7; }
.message:not(:empty) { padding: 12px 14px; border-radius: 8px; border: 1px solid #d2dce1; background: #f3f6f7; }
.message.good { color: #225d51; border-color: #b9d9c7; background: #edf8f1; }
.message.bad { color: #963f35; border-color: #ecc8c0; background: #fff2ee; }
.privacy-note { color: #788895; font-size: 11px; line-height: 1.7; margin: 24px 0 0; }
.signal { display: flex; align-items: center; gap: 8px; color: #438178; font-weight: 700; font-size: 11px; letter-spacing: .08em; }
.live-card h2 { margin-bottom: 17px; }
.turnout { display: flex; align-items: baseline; gap: 10px; padding: 8px 0 21px; }
.turnout strong { font-size: clamp(54px, 5.4vw, 70px); line-height: 1; letter-spacing: -.07em; font-variant-numeric: tabular-nums; }
.turnout span { color: #607482; font-size: 13px; font-weight: 600; }
.divider { border-top: 1px solid #cbd9dd; margin-bottom: 10px; }
.detail-row { display: flex; justify-content: space-between; gap: 20px; padding: 9px 0; font-size: 12px; color: #6b7e88; }
.detail-row strong { color: #243d4e; font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; }
.live-footnote { font-size: 11px; line-height: 1.7; color: #7b8e98; margin: 28px 0 0; }
.results { margin-top: 22px; padding-top: 20px; border-top: 1px solid #cbd9dd; }
.results h3 { margin: 0 0 16px; font-size: 15px; }
.result-item { margin: 0 0 15px; }
.result-line { display: flex; justify-content: space-between; gap: 12px; font-size: 12px; margin-bottom: 6px; }
.result-line span:last-child { color: #356f88; font-weight: 700; font-variant-numeric: tabular-nums; }
.bar { height: 8px; background: #d8e7eb; border-radius: 9px; overflow: hidden; }
.bar-fill { height: 100%; border-radius: 9px; background: #4a829c; }
footer { padding: 38px 0 32px; color: #84929b; font-size: 11px; }
footer span { padding: 0 5px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@media (max-width: 800px) { .shell { padding: 0 20px; } .topbar { height: 70px; } .intro { min-height: 0; padding: 41px 0 37px; } .hero-art { width: 190px; height: 190px; flex-basis: 190px; } .hero-art::before { width: 150px; height: 150px; } .hero-art img { width: 200px; height: 200px; } .grid { grid-template-columns: 1fr; } .vote-card, .live-card { padding: 25px 23px; min-height: auto; } .live-card { margin-bottom: 8px; } }
@media (max-width: 610px) { .intro { padding: 35px 0 25px; } .hero-art { width: 135px; height: 135px; flex-basis: 135px; align-self: end; margin-left: -24px; } .hero-art img { width: 158px; height: 158px; } .hero-art::before { width: 112px; height: 112px; } h1 { font-size: clamp(38px, 9vw, 50px); } .intro-copy { font-size: 13px; } .intro-meta { gap: 9px 20px; } }
@media (max-width: 410px) { .hero-art { display: none; } .intro-meta { flex-direction: column; } .top-note { font-size: 10px; } .vote-card, .live-card { padding: 23px 18px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; } }

.top-actions { display: flex; align-items: center; gap: 22px; }
.admin-link { color: #5c7380; font-size: 12px; text-decoration: none; font-weight: 700; }
.admin-link:hover { color: #214760; text-decoration: underline; }
footer a { color: inherit; text-decoration: none; }
footer a:hover { text-decoration: underline; }
@media (max-width: 480px) { .top-actions .top-note { display: none; } }

.option span, .result-line span:first-child { min-width: 0; overflow-wrap: anywhere; }
.result-line span:last-child { flex-shrink: 0; }
