.ballot-dialog{color:#fff8e9;background:#10251e;border:1px solid #c9ac6b;border-radius:24px;padding:0;width:min(680px,calc(100% - 24px));max-height:90dvh;overflow:auto;box-shadow:0 30px 120px #000a;font-family:inherit}.ballot-dialog::backdrop{background:#04110dd9;backdrop-filter:blur(7px)}.ballot-dialog button{font:inherit;cursor:pointer;min-height:44px}.ballot-close{position:absolute;right:12px;top:10px;width:44px;border:1px solid #ffffff30;border-radius:50%;background:#10251e;color:white;font-size:28px!important}.ballot-head{padding:32px 28px 12px;background:radial-gradient(ellipse at top left,#65532e66,transparent 70%)}.ballot-kicker{color:#edd097;font-size:11px;letter-spacing:2px;padding-right:35px}.ballot-head h2{font-size:clamp(28px,5vw,42px);line-height:1.08;margin:18px 0;font-family:Georgia,serif}.ballot-head p{line-height:1.5}.ballot-deadline{color:#d7c49d;font-size:13px}.ballot-songs{border:0;margin:0;padding:8px 24px;display:grid;gap:10px}.ballot-songs legend{font-size:14px;padding:4px}.ballot-card{border:1px solid #ffffff26;border-radius:14px;background:#ffffff05;padding:10px;display:grid;grid-template-columns:1fr auto;gap:8px;align-items:center}.ballot-card:has(input:checked){border-color:#edcf85;background:#eed18a16}.ballot-card label{display:flex;align-items:center;gap:10px;cursor:pointer;min-width:0}.ballot-card input{accent-color:#d5b56e;width:19px;height:19px;flex-shrink:0}.ballot-card img{width:56px;height:56px;object-fit:cover;border-radius:8px}.ballot-song-copy{display:grid;gap:5px}.ballot-song-copy strong{font-size:15px;line-height:1.2}.ballot-song-copy small{font-size:11px;color:#d5c9ac}.ballot-play{max-width:150px;white-space:normal;background:transparent;color:#efd69d;border:1px solid #d8c28b66;border-radius:10px;padding:8px;font-size:12px!important}.ballot-foot{position:sticky;bottom:0;padding:15px 24px 22px;background:#10251ef5;border-top:1px solid #ffffff26;backdrop-filter:blur(12px)}.ballot-foot p{margin:5px 0 10px;font-size:14px}.ballot-submit{width:100%;border:0;border-radius:12px;background:#ebc879;color:#15271c;padding:14px;font-weight:700!important}.ballot-submit:disabled{opacity:.45;cursor:default}.ballot-foot small{display:block;color:#b9c6bb;font-size:11px;line-height:1.5;margin-top:10px}.ballot-foot a{color:#e8d4a6}.ballot-launch{position:fixed;right:16px;bottom:20px;z-index:30;border:1px solid #efd69d;border-radius:30px;background:#ebc879;color:#17271f;padding:13px 18px;font:700 13px inherit;box-shadow:0 6px 30px #0005;cursor:pointer;min-height:48px}.ballot-launch[hidden],.ballot-songs[hidden],.ballot-submit[hidden]{display:none}.ballot-thanks{font-size:24px!important;color:#efd69d;font-family:Georgia,serif}.ballot-celebrate .ballot-head:before{content:'✦  ♫  ✧  ♡  ✦';display:block;color:#efd18e;font-size:28px;letter-spacing:12px;animation:ballot-spark .8s ease-out}.ballot-dialog :focus-visible,.ballot-launch:focus-visible{outline:3px solid #fff;outline-offset:3px}@keyframes ballot-spark{from{transform:translateY(15px);opacity:0}to{transform:translateY(0);opacity:1}}@media(max-width:480px){.ballot-head{padding:26px 20px 10px}.ballot-songs{padding:8px 12px}.ballot-card{grid-template-columns:1fr}.ballot-play{margin-left:32px;justify-self:start;padding:8px 12px}.ballot-foot{padding:12px 16px 20px}.ballot-dialog{max-height:94dvh}.ballot-launch{bottom:12px;right:12px;font-size:12px;max-width:calc(100% - 24px)}}@media(prefers-reduced-motion:reduce){.ballot-celebrate .ballot-head:before{animation:none}}

.ballot-audio{grid-column:1 / -1;width:100%;height:44px;margin-top:8px}

.ballot-standings{margin:18px 0 4px;border:1px solid #d2b87966;border-radius:14px;padding:14px;background:#edd0970b}.ballot-standings h3{font-size:16px;margin:0 0 8px}.ballot-standings .ballot-leader{font-size:16px;color:#f0d395;margin:6px 0}.ballot-standings small{color:#bacabd;font-size:11px}.ballot-standings summary{cursor:pointer;min-height:44px;display:flex;align-items:center;font-size:13px;color:#edcf91}.ballot-standings summary:after{content:' ＋'}.ballot-standings details[open] summary:after{content:' －'}.ballot-standings progress{display:block;width:100%;height:10px;accent-color:#e0bd73}.ballot-standings details p{font-size:12px;margin:12px 0 4px}

/* Quiet standings: empty tracks stay dark; only real votes receive a gold fill. */
.ballot-standings{background:#ffffff03;border-color:#d2b87935;padding:16px}
.ballot-standings h3{font-size:14px;font-weight:600;letter-spacing:.015em}
.ballot-standings .ballot-leader{font-size:14px;color:#dfc997;font-weight:400}
.ballot-standings small{font-size:11px;color:#a6b7ac}
.ballot-standings details p{font-size:12px;font-weight:400;line-height:1.5;margin:16px 0 7px;color:#dedfd2}
.ballot-standings progress{appearance:none;-webkit-appearance:none;display:block;width:100%;height:6px;padding:0;border:0;border-radius:999px;overflow:hidden;background:#ffffff12;box-shadow:none;color:#c8ab6b}
.ballot-standings progress::-webkit-progress-bar{background:#ffffff12;border-radius:999px;box-shadow:none}
.ballot-standings progress::-webkit-progress-value{background:linear-gradient(90deg,#a88d55,#d8bf85);border-radius:999px;box-shadow:none}
.ballot-standings progress::-moz-progress-bar{background:linear-gradient(90deg,#a88d55,#d8bf85);border-radius:999px;box-shadow:none}
