/* A compact voting hub, with the same simple rhythm as the Play page. */
body[data-page="vote"] main{position:relative;isolation:isolate;overflow:hidden;background:#0b0713}
body[data-page="vote"] main:before{content:'';position:absolute;inset:0;z-index:-2;background:url('../img/catalyst-vote-realm.webp') center top/cover no-repeat;opacity:.88}
body[data-page="vote"] main:after{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,#09051233,#0c07166b 35%,#0b0713e8 90%);pointer-events:none}
.vote-page{position:relative;z-index:1;max-width:1120px;margin:auto;padding:54px 30px 65px}
.vote-hero{text-align:center;margin-bottom:30px}.vote-hero .realm-kicker{margin-bottom:14px}.vote-hero h1{font:500 clamp(34px,4.5vw,56px)/1.15 var(--serif);letter-spacing:-.035em;margin:0 0 16px}.vote-hero em{font-style:normal;color:#c4a0ff}.vote-hero>p:last-child{font-size:13px;color:#d2c2e1;line-height:1.8;margin:0}
.vote-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));background:#130d1d;border:1px solid #bb8ce033;border-radius:7px;margin-bottom:32px;padding:19px 0}
.vote-stats article{text-align:center;padding:0 15px;border-right:1px solid #bb8ce021;min-width:0}.vote-stats article:last-child{border:0}.vote-stats article>span{display:block;font-size:10px;color:#b8a5c8}.vote-stats strong{display:block;font:500 25px/1.4 var(--serif);color:#eee1fa;margin:5px 0;font-variant-numeric:tabular-nums}.vote-stats small{font-size:9px;line-height:1.6;color:#9b88ad}.vote-stat-ready strong{color:#cda5ff}
.vote-section-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px;gap:15px}.vote-section-head h2{font:500 21px var(--serif);margin:0}.vote-section-head>span{color:#b49ac6;font-size:10px}.vote-login-note{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:13px 17px;margin-bottom:16px;border:1px solid #bd8ce12b;border-radius:5px;background:#160e20;font-size:11px}.vote-login-note p{margin:0;color:#bdabca;line-height:1.6}.vote-login-note a{color:#d6b1fb;text-decoration:none;white-space:nowrap}
.vote-sites-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.vote-site{display:flex;flex-direction:column;min-width:0;border:1px solid #bc8ee13d;border-radius:7px;padding:22px;background:linear-gradient(145deg,#1a1225,#100c17)}.vote-site>header{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:16px}.vote-site-icon{width:25px;height:25px;color:#c6a1ee}.vote-site-badge{font-size:9px;color:#a5dab6}.vote-site[data-state=guest] .vote-site-badge,.vote-site[data-state=cooldown] .vote-site-badge{color:#ad98bf}.vote-site[data-state=pending] .vote-site-badge{color:#edc78d}.vote-site h3{font:500 19px/1.35 var(--serif);overflow-wrap:anywhere;margin:0 0 17px;text-transform:none}.vote-rewards{display:grid;gap:8px;margin:0;padding:12px 0;border-block:1px solid #bc8ee11a}.vote-rewards>div{display:flex;align-items:center;justify-content:space-between;gap:10px}.vote-rewards dt{font-size:10px;color:#b19bc2}.vote-rewards dd{margin:0;font-size:12px;color:#d2acf8;font-weight:600}.vote-frequency{font-size:9px;color:#9c86ad;margin:13px 0 18px}.vote-site-action{margin-top:auto}.vote-button{display:flex;justify-content:center;align-items:center;min-height:44px;padding:12px;border:1px solid #c492e94a;border-radius:4px;background:linear-gradient(115deg,#8d48d0,#7334b5);font:600 11px var(--sans);color:#fff;text-decoration:none}.vote-button:hover{background:#9454d1}.vote-button[aria-disabled=true]{background:#251b30;border-color:#be9cdd1c;color:#a18cad;cursor:default}.vote-site-status{min-height:3em;font-size:9px;line-height:1.6;color:#a38caf;margin:10px 0 0;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.vote-sidebar{margin-top:24px}.vote-leaderboard{padding:19px 23px;background:#130d1d;border:1px solid #bb8ce028;border-radius:7px}.vote-leaderboard>header{display:flex;align-items:center;justify-content:space-between;gap:15px}.vote-leaderboard h2{font:500 17px var(--serif);margin:0}.vote-leaderboard header p{font-size:10px;color:#a38aaf;margin:0}.vote-leaderboard ol{list-style:none;margin:14px 0 0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));column-gap:24px}.vote-leaderboard li{display:grid;grid-template-columns:18px minmax(0,1fr) auto;gap:8px;align-items:center;padding:10px 0;border-top:1px solid #ffffff0a;font-size:10px}.vote-place{color:#c5a0e7}.vote-leaderboard li strong{font-size:10px;font-weight:500;overflow-wrap:anywhere}.vote-leaderboard li>span:last-child{color:#bca0d0;white-space:nowrap}.vote-leaderboard small{font-size:9px}.vote-leaderboard-empty,.vote-community-note{font-size:10px;line-height:1.7;color:#a890b9;margin:12px 0 0}.vote-leaderboard-empty[hidden]{display:none}.vote-how{margin-top:18px;text-align:center;color:#bfa1d5;font-size:11px}.vote-how summary{cursor:pointer;list-style-position:inside}.vote-how p{max-width:540px;margin:12px auto 0;font-size:11px;line-height:1.8;color:#ac97bd}.vote-how a{color:#d3a8f9;text-decoration:none}.vote-empty{grid-column:1/-1;text-align:center;border:1px solid #b787da33;border-radius:7px;background:#130d1d;padding:30px 20px}.vote-empty>span{font-size:24px;color:#c09be6}.vote-empty h3{font:500 18px var(--serif);margin:12px 0}.vote-empty p{font-size:11px;color:#ad96bd;margin:0;line-height:1.7}
@media(max-width:900px){.vote-sites-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.vote-leaderboard ol{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.vote-page{padding:40px 22px 50px}.vote-hero h1{font-size:36px}.vote-hero>p:last-child{font-size:12px}.vote-stats{grid-template-columns:repeat(2,minmax(0,1fr));padding:0;margin-bottom:25px}.vote-stats article{padding:14px 8px}.vote-stats article:nth-child(2){border-right:0}.vote-stats article:nth-child(-n+2){border-bottom:1px solid #bb8ce021}.vote-stats strong{font-size:23px}.vote-sites-grid{grid-template-columns:1fr}.vote-login-note{align-items:flex-start}.vote-leaderboard ol{grid-template-columns:1fr}.vote-site{padding:22px}.vote-site-status{min-height:0}body[data-page="vote"] main:before{background-size:auto 1050px;background-position:30% top}}
/* Compact at-a-glance stats, with detail kept in accessible labels below. */
.vote-stats{padding:11px 0;margin-bottom:25px}.vote-stats article{display:grid;grid-template-columns:auto auto;justify-content:center;align-items:center;column-gap:10px;row-gap:3px;padding:0 16px}.vote-stats article>span{font-size:9px}.vote-stats strong{font:600 17px/1.25 var(--sans);margin:0}.vote-stats small{grid-column:1/-1;font-size:8px;line-height:1.4}
@media(max-width:600px){.vote-stats{padding:0;margin-bottom:21px}.vote-stats article{padding:10px 7px;column-gap:7px}.vote-stats article>span{font-size:8px}.vote-stats strong{font-size:15px}.vote-stats small{font-size:7px}}
/* Statistics and leaderboard share one community block. */
.vote-leaderboard>.vote-stats{background:none;border:0;border-bottom:1px solid #bb8ce021;border-radius:0;margin:0 0 18px;padding:0 0 16px}.vote-leaderboard>.vote-stats article:first-child{padding-left:0}.vote-leaderboard>.vote-stats article:last-child{padding-right:0}
@media(max-width:600px){.vote-leaderboard>.vote-stats{padding-bottom:9px;margin-bottom:16px}.vote-leaderboard>.vote-stats article{padding:10px 6px}.vote-leaderboard>.vote-stats article:nth-child(-n+2){border-bottom:0}}
/* Four listings per row on desktop, then two and one on smaller screens. */
@media(min-width:1051px){.vote-sites-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.vote-site{padding:18px}.vote-site h3{font-size:17px}}
@media(min-width:601px) and (max-width:1050px){.vote-sites-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
