:root{
 --bg:#07100c;--bg-2:#0a1510;--surface:#111a16;--surface-2:#17211c;--surface-3:#1d2922;
 --line:#28372f;--line-soft:rgba(255,255,255,.07);--text:#f6faf7;--muted:#9eaaa3;
 --brand:#20df72;--brand-2:#8bf2b2;--danger:#ff6b7d;--warning:#f5c45c;
 --radius-sm:12px;--radius:18px;--radius-lg:28px;--shadow:0 24px 70px rgba(0,0,0,.34);
 --space-1:6px;--space-2:10px;--space-3:14px;--space-4:18px;--space-5:24px;--space-6:32px;--space-7:44px;
}
*{box-sizing:border-box}html{background:var(--bg);color-scheme:dark;scroll-behavior:smooth}body{margin:0;min-height:100vh;background:radial-gradient(circle at 50% -10%,rgba(32,223,114,.13),transparent 30rem),var(--bg);color:var(--text);font:15px/1.55 Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;-webkit-font-smoothing:antialiased}.icon-sprite{position:absolute;width:0;height:0;overflow:hidden}.icon{width:1.15em;height:1.15em;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;flex:none}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button{cursor:pointer}.ambient{position:fixed;border-radius:50%;filter:blur(100px);opacity:.08;pointer-events:none;z-index:-1}.ambient-a{width:30rem;height:30rem;background:var(--brand);top:10%;left:-15rem}.ambient-b{width:26rem;height:26rem;background:#2b7fff;bottom:-12rem;right:-12rem}
.topbar{position:sticky;top:0;z-index:30;padding-top:env(safe-area-inset-top);border-bottom:1px solid var(--line-soft);background:rgba(7,16,12,.82);backdrop-filter:blur(20px)}.topbar-inner{height:68px;width:min(100% - 36px,1120px);margin:auto;display:flex;align-items:center;justify-content:space-between}.brand{display:flex;align-items:center;gap:11px;font-size:17px;font-weight:850;letter-spacing:-.02em}.brand-mark{width:36px;height:36px;border-radius:12px;display:grid;place-items:center;overflow:hidden;background:#050807;box-shadow:0 8px 24px rgba(32,223,114,.18)}.brand-mark img{display:block;width:100%;height:100%;object-fit:cover}.desktop-nav{display:flex;align-items:center;gap:6px}.desktop-nav a,.nav-button{display:inline-flex;align-items:center;gap:7px;padding:9px 11px;border-radius:11px;border:0;background:transparent;color:var(--muted);font-weight:650}.desktop-nav a:hover,.nav-button:hover{background:rgba(255,255,255,.05);color:#fff}.desktop-nav form{margin:0}.shell{width:min(100% - 36px,960px);margin:auto;padding:48px 0 calc(112px + env(safe-area-inset-bottom))}
.card,.hero-card,.mini-card{background:linear-gradient(145deg,rgba(24,34,29,.98),rgba(14,22,18,.98));border:1px solid var(--line-soft);border-radius:var(--radius-lg);box-shadow:var(--shadow)}.card{padding:var(--space-5)}.hero-card{padding:clamp(26px,5vw,52px);position:relative;overflow:hidden}.hero-card:before{content:"";position:absolute;inset:-60% -25% auto 45%;height:430px;background:radial-gradient(circle,var(--brand),transparent 66%);opacity:.12;pointer-events:none}.mini-card{padding:18px;display:flex;align-items:center;gap:14px;transition:.2s ease}.mini-card:hover{border-color:rgba(32,223,114,.35);transform:translateY(-2px)}
h1,h2,h3,p{margin-top:0}h1{font-size:clamp(40px,7vw,68px);line-height:1;letter-spacing:-.055em;margin:24px 0 18px}h2{font-size:clamp(20px,3vw,28px);line-height:1.15;letter-spacing:-.035em}h3{letter-spacing:-.02em}.lede{max-width:700px;color:#c4cdc7;font-size:17px}.muted{color:var(--muted)}.page-intro{margin-bottom:30px}.page-intro h1{margin-bottom:14px}.page-intro p:last-child{margin-bottom:0}.eyebrow-row,.row,.section-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}.section-heading{margin:36px 0 16px}.section-heading h2{margin:0}.section-heading>span,.section-heading>a{color:var(--muted)}.section-heading a{display:inline-flex;align-items:center;gap:6px}.pill,.state{display:inline-flex;align-items:center;width:max-content;border-radius:999px;padding:6px 11px;font-size:11px;font-weight:850;letter-spacing:.09em;text-transform:uppercase}.pill{color:var(--brand-2);background:rgba(32,223,114,.1);border:1px solid rgba(32,223,114,.24)}.state{background:#252e29;color:#d4ddd7}.state-submitting,.state-voting,.state-revealed{color:var(--brand-2);background:rgba(32,223,114,.1)}.back{display:inline-flex;align-items:center;gap:7px;color:var(--muted);margin-bottom:24px}.back:hover{color:#fff}
.button{min-height:48px;border:1px solid transparent;border-radius:14px;padding:12px 18px;display:inline-flex;align-items:center;justify-content:center;gap:9px;font-weight:800;transition:.18s ease}.button.primary,.button.spotify{background:linear-gradient(145deg,var(--brand),#17c761);color:#04110a}.button.primary:hover,.button.spotify:hover{filter:brightness(1.06);transform:translateY(-1px)}.button.ghost{background:var(--surface-2);border-color:var(--line);color:#fff}.button.ghost:hover{background:var(--surface-3)}.button-row,.control-actions,.control-buttons{display:flex;gap:10px;flex-wrap:wrap}.button-row{margin-top:14px}.control-buttons form{margin:0}.control-buttons button,.control-buttons a,.player-admin button{min-height:40px;border:1px solid var(--line);background:var(--surface-2);color:#fff;border-radius:11px;padding:8px 12px;display:inline-flex;align-items:center;gap:7px}.control-buttons button:hover,.control-buttons a:hover,.player-admin button:hover{background:var(--surface-3)}.danger{border-color:rgba(255,107,125,.45)!important;color:#ff9aa8!important}
.countdown-panel{margin:28px 0;padding:18px 20px;display:flex;align-items:center;justify-content:space-between;gap:16px;border-radius:18px;background:rgba(0,0,0,.2);border:1px solid var(--line-soft)}.countdown-panel span{color:var(--muted)}.countdown-panel strong,.large-countdown{font-variant-numeric:tabular-nums;font-size:clamp(18px,3vw,28px)}.metric-strip,.metric-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:22px 0}.metric-strip>div,.metric{padding:18px;border-radius:18px;background:rgba(255,255,255,.04);border:1px solid var(--line-soft);min-width:0}.metric-strip strong,.metric strong{display:block;font-size:25px;overflow-wrap:anywhere}.metric-strip span,.metric span{display:block;color:var(--muted);font-size:12px;margin-top:2px}.quick-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:18px}.mini-icon{width:42px;height:42px;border-radius:14px;display:grid;place-items:center;background:rgba(32,223,114,.1);color:var(--brand)}.mini-icon .icon{width:22px;height:22px}.mini-card>div{display:flex;min-width:0;flex-direction:column}.mini-card small{color:var(--muted)}
.submitted{display:flex;align-items:center;gap:14px;padding:14px;margin:16px 0;border-radius:18px;background:rgba(32,223,114,.08);border:1px solid rgba(32,223,114,.2)}.submitted img{width:54px;height:54px;border-radius:12px;object-fit:cover}.submitted>div{display:flex;flex-direction:column;min-width:0;flex:1}.submitted span{color:var(--muted);font-size:12px}.submitted .check{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:var(--brand);color:#04110a}.submitted .check .icon{width:19px;height:19px}
.round-head{margin-bottom:26px}.centered{text-align:center;padding:52px 24px}.big-icon{width:58px;height:58px;margin:0 auto 14px;border-radius:18px;display:grid;place-items:center;background:rgba(32,223,114,.1);color:var(--brand)}.big-icon .icon{width:30px;height:30px}.big-number{font-size:46px;font-weight:900;color:var(--brand)}.deadline{text-align:center;color:var(--muted);margin:20px 0 0}.progress-card{margin-bottom:22px}.progress-card>div:first-child{display:flex;justify-content:space-between;gap:12px}.progress-track{height:8px;margin:14px 0 8px;background:#27332c;border-radius:999px;overflow:hidden}.progress-track span{display:block;height:100%;background:linear-gradient(90deg,var(--brand),var(--brand-2));transition:width .35s}.swipe-deck{position:relative;min-height:515px}.swipe-card{display:none;max-width:650px;margin:auto}.swipe-card.current{display:block;animation:cardIn .28s ease}.song-number{text-transform:uppercase;letter-spacing:.12em;font-size:12px;color:var(--brand);font-weight:850}.spotify-embed iframe,.inline-player iframe{display:block;border-radius:14px}.spotify-fallback{display:flex;justify-content:center;align-items:center;gap:6px;color:var(--muted);font-size:13px;margin:11px}.rating ul{list-style:none;padding:0;display:flex;justify-content:center;gap:8px}.rating input{appearance:none}.rating label{font-size:0}.rating label:after{content:"★";font-size:32px;color:#49554e}.rating li:has(input:checked) label:after,.rating li:hover label:after{color:#ffd765}.rating .button{width:100%}.deck-controls{display:flex;align-items:center;justify-content:space-between;margin-top:16px}.deck-controls button{border:1px solid var(--line);background:var(--surface-2);color:#fff;border-radius:12px;padding:10px 13px;display:inline-flex;align-items:center;gap:7px}.keyboard-hint{text-align:center;color:var(--muted);font-size:12px}
.reveal-stage{text-align:center;position:relative;padding:54px 20px 46px;overflow:hidden}.reveal-stage canvas{position:fixed;inset:0;pointer-events:none;z-index:40}.reveal-kicker{text-transform:uppercase;letter-spacing:.18em;color:var(--brand);font-weight:900}.winner-art{width:min(48vw,230px);aspect-ratio:1;border-radius:26px;object-fit:cover;margin:24px 0 12px;box-shadow:0 30px 90px rgba(0,0,0,.5);animation:winnerPop .8s cubic-bezier(.2,.8,.2,1)}.winner-crown{font-size:42px;margin-top:-35px;position:relative}.reveal-stage h2{font-size:clamp(34px,8vw,64px);margin:12px}.results{display:grid;gap:14px}.result{display:grid;grid-template-columns:auto 76px minmax(0,1fr) auto;gap:15px;align-items:center;animation:resultIn .55s both;animation-delay:calc(var(--delay)*.09s)}.result>img{width:76px;height:76px;border-radius:13px;object-fit:cover}.result-copy{min-width:0}.result-copy h2,.result-copy p{margin:0}.result-copy h2{overflow-wrap:anywhere}.result-copy small,.result-copy span{color:var(--muted)}.place{font-weight:900;font-size:18px}.icon-button{width:40px;height:40px;border-radius:50%;display:grid;place-items:center;background:var(--surface-3)}.inline-player{grid-column:2/-1}.inline-player summary{cursor:pointer;color:var(--muted);margin-bottom:10px}
.profile-hero,.control-hero{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:26px}.profile-hero>div:nth-child(2){flex:1}.profile-hero h1,.control-hero h1{margin-bottom:8px}.avatar-xl,.avatar-fallback{display:grid;place-items:center;background:linear-gradient(145deg,var(--brand),#26a8e8);color:#06110b;font-weight:900}.avatar-xl{width:112px;height:112px;border-radius:34px;font-size:46px}.avatar-fallback{width:42px;height:42px;border-radius:14px}.season-filter,.season-picker{margin:0 0 20px}.season-filter label,.season-picker{display:flex;align-items:center;gap:10px;color:var(--muted)}.profile-metrics{grid-template-columns:repeat(6,minmax(0,1fr))}.badge-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.badge-card{padding:17px;border-radius:18px;background:linear-gradient(145deg,#17241d,#111a16);border:1px solid rgba(32,223,114,.16);display:flex;flex-direction:column;min-width:0}.badge-card>span{font-size:28px}.badge-card small{color:var(--muted)}.badge-card.locked{filter:grayscale(1);opacity:.45}.analytics-grid,.control-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:24px 0}.analytics-grid .card,.control-grid .card{min-width:0}.bar-list>div,.artist-list li{display:flex;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid var(--line-soft)}.artist-list{padding-left:22px}.history-row{display:grid;grid-template-columns:58px minmax(0,1fr) auto;gap:14px;align-items:center;padding:13px;border:1px solid var(--line-soft);border-radius:17px;background:#101813}.history-row img{width:58px;height:58px;border-radius:11px;object-fit:cover}.history-row div{display:flex;flex-direction:column;min-width:0}.history-row strong,.history-row span,.history-row small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.history-row span,.history-row small{color:var(--muted)}
.control-round h2{margin:12px 0 4px}.control-round+.control-round{margin-top:0}.qr-card{display:flex;align-items:center;justify-content:space-between;gap:20px}.qr-card img{width:138px;border-radius:14px;background:#fff;padding:8px}.qr-card code{display:block;color:var(--brand);overflow-wrap:anywhere}.connection-ok{display:flex;gap:12px;align-items:center}.connection-ok>span{width:40px;height:40px;border-radius:50%;background:var(--brand);color:#04110a;display:grid;place-items:center}.connection-ok>span .icon{width:21px;height:21px}.connection-ok div{display:flex;flex-direction:column}.player-admin-list{display:grid}.player-admin{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 0;border-top:1px solid var(--line-soft)}.player-admin:first-child{border-top:0}.player-admin>a{display:flex;align-items:center;gap:12px;min-width:0}.player-admin>a div{display:flex;flex-direction:column;min-width:0}.player-admin small{color:var(--muted)}.player-admin>div{display:flex;gap:7px;flex-wrap:wrap;justify-content:flex-end}
.search-box{display:flex;gap:12px;align-items:center;padding:5px 16px;background:var(--surface);border:1px solid var(--line);border-radius:18px;position:sticky;top:80px;z-index:10;box-shadow:0 10px 30px rgba(0,0,0,.2)}.search-icon{color:var(--muted);width:21px;height:21px}.search-box input{border:0;background:transparent;width:100%;font-size:18px;outline:0;padding:12px 0}.search-results{display:grid;gap:12px;margin-top:16px}.track{display:grid;grid-template-columns:64px minmax(0,1fr) auto;gap:14px;align-items:center}.track img{width:64px;height:64px;border-radius:12px;object-fit:cover}.track>div{display:flex;flex-direction:column;min-width:0}.track strong,.track span,.track small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.track span,.track small{color:var(--muted)}.track.disabled{opacity:.5}.used{color:#ffb25f}
input,select,textarea{width:auto;max-width:100%;background:#101813;border:1px solid var(--line);color:#fff;border-radius:13px;padding:12px 13px;outline:none}input:focus,select:focus,textarea:focus{border-color:rgba(32,223,114,.7);box-shadow:0 0 0 3px rgba(32,223,114,.11)}textarea{resize:vertical}.admin-form,.auth-card form{display:grid;gap:18px}.admin-form{width:min(100%,880px);padding:clamp(24px,4vw,38px)}.admin-form>p,.auth-card form>p{display:grid;grid-template-columns:180px minmax(0,1fr);align-items:start;gap:18px;margin:0}.admin-form>p>label,.auth-card form>p>label{padding-top:12px;font-weight:700}.admin-form input,.admin-form select,.admin-form textarea,.auth-card input,.auth-card select{width:100%;min-width:0}.admin-form textarea{min-height:130px}.admin-form .helptext,.auth-card .helptext{grid-column:2;color:var(--muted);font-size:13px}.admin-form ul.errorlist,.auth-card ul.errorlist{grid-column:2;color:var(--danger);margin:0;padding-left:20px}.admin-form>.button{justify-self:start;margin-left:198px}.auth-card{width:min(100%,640px);margin:auto;padding:clamp(26px,5vw,44px)}.auth-card h1{margin-top:0}.auth-card>p:last-child{margin:18px 0 0;color:var(--muted)}.auth-card>p:last-child a{color:var(--brand);font-weight:750}
.archive-list,.stack{display:grid;gap:12px}.archive-card{display:grid;grid-template-columns:120px minmax(0,1fr) auto;align-items:center;gap:18px;padding:18px 20px}.archive-card>span:first-child{color:var(--brand);font-size:13px;font-weight:800}.archive-card strong{overflow-wrap:anywhere}.archive-card small{color:var(--muted);white-space:nowrap}.leaderboard-card{padding:0;overflow:hidden}.leaderboard-season{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 22px;border-bottom:1px solid var(--line-soft)}.leaderboard-season span{color:var(--muted)}.rank{display:grid;grid-template-columns:56px 42px minmax(0,1fr) auto;align-items:center;gap:14px;padding:16px 22px;border-bottom:1px solid var(--line-soft)}.rank:last-child{border-bottom:0}.rank:hover{background:rgba(255,255,255,.025)}.rank-place{font-size:18px;font-weight:900;color:var(--muted)}.rank-player{display:flex;flex-direction:column;min-width:0}.rank-player strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.rank-player small{color:var(--muted)}.rank>b{font-size:20px;white-space:nowrap;text-align:right}.flash{padding:14px 16px;border-radius:14px;margin-bottom:14px;background:#14291c;border:1px solid rgba(32,223,114,.25)}.flash.error{background:#2b171c;border-color:rgba(255,107,125,.3)}#toast-stack{position:fixed;right:18px;bottom:24px;z-index:60;display:grid;gap:8px}.toast{background:#17251d;border:1px solid rgba(32,223,114,.3);padding:12px 15px;border-radius:13px;box-shadow:var(--shadow);animation:toastIn .25s}.empty{padding:60px 22px}.bottom-nav{display:none}
@keyframes cardIn{from{opacity:0;transform:translateX(18px)}to{opacity:1;transform:none}}@keyframes winnerPop{0%{opacity:0;transform:scale(.6) rotate(-6deg)}100%{opacity:1;transform:none}}@keyframes resultIn{from{opacity:0;transform:translateY(20px)}to{opacity:1;transform:none}}@keyframes toastIn{from{opacity:0;transform:translateY(10px)}}
@media(max-width:820px){.desktop-nav{display:none}.topbar-inner{height:60px}.shell{width:min(100% - 24px,960px);padding-top:28px}.bottom-nav{display:grid;grid-template-columns:repeat(4,1fr);position:fixed;z-index:40;bottom:0;left:0;right:0;padding:8px 8px calc(8px + env(safe-area-inset-bottom));background:rgba(7,16,12,.94);backdrop-filter:blur(20px);border-top:1px solid var(--line-soft)}.bottom-nav a{display:flex;flex-direction:column;align-items:center;gap:3px;font-size:10px;color:#839089}.bottom-nav a .icon{width:21px;height:21px}.bottom-nav a.active{color:var(--brand)}.quick-grid{grid-template-columns:1fr}.profile-hero,.control-hero{align-items:flex-start;flex-direction:column}.profile-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}.badge-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.analytics-grid,.control-grid{grid-template-columns:1fr}.qr-card{align-items:flex-start}.player-admin{align-items:flex-start}.track{grid-template-columns:54px minmax(0,1fr)}.track img{width:54px;height:54px}.track form{grid-column:1/-1}.track .button{width:100%}.result{grid-template-columns:auto 64px minmax(0,1fr) auto}.result>img{width:64px;height:64px}.swipe-deck{min-height:500px}.keyboard-hint{display:none}}
@media(max-width:700px){.countdown-panel{align-items:flex-start;flex-direction:column}.admin-form>p,.auth-card form>p{grid-template-columns:1fr;gap:7px}.admin-form>p>label,.auth-card form>p>label{padding-top:0}.admin-form .helptext,.auth-card .helptext,.admin-form ul.errorlist,.auth-card ul.errorlist{grid-column:1}.admin-form>.button{width:100%;margin-left:0}.archive-card{grid-template-columns:1fr;gap:5px}.archive-card small{white-space:normal}.leaderboard-season{align-items:flex-start;flex-direction:column;gap:4px}.rank{grid-template-columns:40px 42px minmax(0,1fr);padding:14px 16px}.rank>b{grid-column:3;text-align:left;font-size:16px}.player-admin{flex-direction:column}.player-admin>div{width:100%;justify-content:flex-start}}
@media(max-width:480px){h1{font-size:40px}.hero-card{padding:24px 20px}.metric-strip,.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.profile-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.badge-grid{grid-template-columns:1fr}.qr-card{flex-direction:column}.button-row .button,.control-actions .button{flex:1}.result{grid-template-columns:auto 54px minmax(0,1fr)}.result .icon-button{display:none}.inline-player{grid-column:2/-1}.place{font-size:15px}.progress-card>div:first-child{flex-direction:column}.auth-card{padding:24px 18px}.card{padding:20px}}


/* QueueUp v5.1 profile pictures */
.user-avatar,.avatar-fallback{display:block;flex:0 0 auto;object-fit:cover;aspect-ratio:1;border:1px solid rgba(255,255,255,.12);box-shadow:0 6px 18px rgba(0,0,0,.18)}
.user-avatar{background:#101813}
.avatar-xs{width:28px;height:28px;border-radius:9px;font-size:11px}
.avatar-sm{width:42px;height:42px;border-radius:14px;font-size:15px}
.avatar-nav{width:25px;height:25px;border-radius:8px;font-size:10px;box-shadow:none}
.avatar-xl{width:112px;height:112px;border-radius:34px;font-size:46px}
.user-chip,.metric-user{display:inline-flex;align-items:center;gap:8px;min-width:0}
.user-chip span{min-width:0}
.result-copy small.user-chip{display:flex;margin-top:5px}
.profile-edit-button{flex:0 0 auto}
.profile-editor{max-width:760px}
.profile-picture-preview{display:flex;align-items:center;gap:20px;padding-bottom:24px;margin-bottom:24px;border-bottom:1px solid var(--line-soft)}
.profile-picture-preview>div{display:flex;flex-direction:column;gap:4px}.profile-picture-preview small{color:var(--muted)}
.profile-editor input[type=file]{padding:11px;background:#101813;border:1px dashed var(--line);border-radius:14px}
.profile-editor input[type=checkbox]{width:auto}
@media(max-width:700px){.profile-hero{align-items:flex-start;flex-wrap:wrap}.profile-edit-button{width:100%}.profile-picture-preview{align-items:flex-start}.profile-picture-preview .avatar-xl{width:88px;height:88px;border-radius:27px}}

/* QueueUp v5.2 voting controls */
.star-picker{display:flex;justify-content:center;gap:10px;margin:24px 0;touch-action:manipulation}
.star-picker>input[type=hidden]{display:none}
.rating-star{display:grid;place-items:center;width:56px;height:56px;padding:0;border:1px solid transparent;border-radius:15px;background:rgba(255,255,255,.035);color:#526158;cursor:pointer;-webkit-tap-highlight-color:transparent;touch-action:manipulation;transition:color .15s ease,background .15s ease,border-color .15s ease,transform .15s ease}
.rating-star span{display:block;font-size:36px;line-height:1;transform:translateY(-1px)}
.rating-star:hover,.rating-star.preview,.rating-star.active{color:#ffd765;background:rgba(255,215,101,.10);border-color:rgba(255,215,101,.18)}
.rating-star:focus-visible{outline:3px solid rgba(32,223,114,.45);outline-offset:2px}
.rating-star:active{transform:scale(.92)}
@media(max-width:480px){.star-picker{gap:5px}.rating-star{width:50px;height:54px;border-radius:13px}.rating-star span{font-size:34px}}
#confetti-canvas.confetti-finished{display:none}

/* Season recap: deliberately separate from the regular dashboard language. */
body:has(.recap){overflow:hidden}
.recap-entry{margin-top:18px;padding:20px;display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:14px;align-items:center;border-radius:22px;color:#101228;background:linear-gradient(120deg,#ffdc62,#ff8d70 48%,#a783ff);box-shadow:0 18px 45px rgba(148,73,255,.22)}.recap-entry>span{font-size:32px}.recap-entry div{display:grid;gap:3px;min-width:0}.recap-entry small{opacity:.78}.recap-entry b{font-size:13px;white-space:nowrap}
.recap{position:fixed;inset:0;z-index:100;overflow:hidden;background:#11122b;color:#fff;font-family:ui-rounded,"Avenir Next",system-ui,sans-serif}.recap .recap-slide{position:absolute;inset:0;display:grid;place-items:center;padding:90px max(24px,env(safe-area-inset-right)) 92px max(24px,env(safe-area-inset-left));opacity:0;pointer-events:none;transform:translateX(4%);transition:opacity .48s ease,transform .48s cubic-bezier(.2,.75,.25,1);overflow:auto}.recap .recap-slide.is-active{opacity:1;pointer-events:auto;transform:none}.recap-copy{position:relative;z-index:2;width:min(100%,870px);max-height:100%;margin:auto}.recap-orb{position:absolute;border-radius:50%;filter:blur(2px);opacity:.86;animation:recapFloat 12s ease-in-out infinite alternate}.recap-orb-a{width:46vmax;height:46vmax;top:-19vmax;right:-17vmax;background:#f65e95}.recap-orb-b{width:34vmax;height:34vmax;bottom:-15vmax;left:-14vmax;background:#6859e8;animation-delay:-6s}.recap-grid{position:absolute;inset:0;opacity:.16;background-image:linear-gradient(90deg,transparent 49%,#fff 50%,transparent 51%),linear-gradient(0deg,transparent 49%,#fff 50%,transparent 51%);background-size:40px 40px;mask-image:linear-gradient(135deg,transparent,black 30%,transparent 80%)}.recap-standing{background:#251040}.recap-best_submission{background:#10274a}.recap-taste{background:#4b1749}.recap-voting{background:#15372e}.recap-story{background:#ff7949;color:#1b1430}.recap-chaos{background:#26336d}.recap-league{background:#10334a}.recap-summary{background:#3f1761}.recap-exit{position:absolute;z-index:5;top:max(22px,env(safe-area-inset-top));left:max(20px,env(safe-area-inset-left));color:#fff;font-weight:800;font-size:14px;padding:9px 12px;border-radius:999px;background:rgba(8,6,25,.22);backdrop-filter:blur(10px)}.recap-progress{position:absolute;z-index:5;top:max(27px,env(safe-area-inset-top));left:50%;transform:translateX(-50%);display:flex;gap:5px;width:min(36vw,360px)}.recap-progress span{height:4px;flex:1;border-radius:999px;background:rgba(255,255,255,.35);transition:background .3s ease,transform .3s}.recap-progress span.is-active{background:#fff;transform:scaleY(1.35)}.recap-kicker,.recap-overline{margin:0 0 12px;text-transform:uppercase;font-size:clamp(11px,1.5vw,14px);letter-spacing:.16em;font-weight:900}.recap-kicker{color:#ffdf70}.recap-intro h1{font-size:clamp(55px,11vw,130px);line-height:.86;letter-spacing:-.075em;margin:.06em 0 .22em;max-width:9ch;overflow-wrap:anywhere}.recap-display{font-size:clamp(28px,5vw,60px);line-height:1.05;font-weight:800;letter-spacing:-.05em;margin:0}.recap-display em{font-family:Georgia,serif;font-weight:400}.recap-display.small{font-size:clamp(24px,4vw,48px);max-width:15ch}.recap-place,.recap-rating,.recap-giant{font-size:clamp(130px,29vw,280px);line-height:.72;letter-spacing:-.1em;font-weight:950;margin:.08em 0 .19em}.recap-rating{color:#ffdc68}.recap-rating span{font-size:.38em;vertical-align:top;letter-spacing:0}.recap-lede{font-size:clamp(17px,2vw,24px);margin:0;color:rgba(255,255,255,.82)}.recap-story .recap-lede{color:rgba(27,20,48,.75)}.recap-stat-row{display:flex;flex-wrap:wrap;gap:8px;margin-top:26px}.recap-stat-row span,.recap-personality{padding:9px 12px;border-radius:12px;background:rgba(255,255,255,.14);font-size:14px}.recap-stat-row b{display:block;font-size:20px}.recap-personality{display:inline-block;margin-top:24px;background:#ffdf70;color:#22203c;font-weight:900}.recap-song-feature{display:grid;grid-template-columns:minmax(110px,33%) minmax(0,1fr);gap:22px;align-items:end;margin:15px 0 30px}.recap-song-feature img,.recap-art-fallback{width:100%;aspect-ratio:1;border-radius:24px;object-fit:cover;box-shadow:12px 15px 0 rgba(255,255,255,.2);animation:recapTilt 5s ease-in-out infinite alternate}.recap-art-fallback{display:grid;place-items:center;background:linear-gradient(135deg,#ffe064,#f1769b);font-size:60px}.recap-song-feature h2,.recap-taste-grid h2,.recap-league h2{font-size:clamp(32px,6vw,72px);line-height:.95;letter-spacing:-.06em;margin:0;overflow-wrap:anywhere}.recap-song-feature p{margin:8px 0;color:rgba(255,255,255,.76);font-size:clamp(17px,2.5vw,24px);overflow-wrap:anywhere}.recap-song-feature small{color:#ffdf70;font-weight:800}.recap-score{display:flex;align-items:baseline;gap:14px}.recap-score b{font-size:clamp(38px,7vw,74px);letter-spacing:-.07em}.recap-score span{font-size:16px;color:rgba(255,255,255,.8)}.recap-taste-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;align-items:end}.recap-taste-grid>div{min-width:0;padding:24px;border:1px solid rgba(255,255,255,.3);border-radius:25px;background:rgba(8,5,29,.18)}.recap-taste-grid small,.recap-summary-grid small{display:block;color:#ffdf70;text-transform:uppercase;letter-spacing:.12em;font-weight:900;margin-bottom:10px}.recap-taste-song{grid-column:1/-1;display:grid!important;grid-template-columns:82px 1fr;column-gap:16px}.recap-taste-song img{grid-row:1/4;width:82px;height:82px;border-radius:15px;object-fit:cover}.recap-taste-song strong,.recap-taste-song span{overflow-wrap:anywhere}.recap-taste-song span{color:rgba(255,255,255,.75)}.recap-range{display:flex;align-items:center;gap:14px;font-size:clamp(34px,7vw,70px);font-weight:950;letter-spacing:-.06em}.recap-range i{height:12px;flex:1;border-radius:100px;background:linear-gradient(90deg,#74dbff,#ffda66,#ff789e)}.recap-league-numbers{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:20px 0 40px}.recap-league-numbers div{min-width:0;padding:16px 8px;border-top:4px solid #ffdc68}.recap-league-numbers b{display:block;font-size:clamp(35px,7vw,76px);letter-spacing:-.08em}.recap-league-numbers span{font-size:12px;color:rgba(255,255,255,.75)}.recap-summary-place{font-size:clamp(55px,10vw,115px);line-height:.9;letter-spacing:-.08em;margin:.1em 0}.recap-summary-grid{display:grid;gap:10px;margin-top:32px}.recap-summary-grid div{padding:15px 17px;border-radius:16px;background:rgba(255,255,255,.13);display:grid;gap:2px}.recap-summary-grid strong{font-size:clamp(17px,2.5vw,25px);overflow-wrap:anywhere}.recap-summary-grid span{color:rgba(255,255,255,.72);overflow-wrap:anywhere}.recap-thanks{margin-top:28px;font-size:16px;line-height:1.6;color:#ffdf70}.recap-controls{position:absolute;z-index:5;bottom:max(22px,env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:13px;padding:7px;border-radius:999px;background:rgba(6,5,22,.28);backdrop-filter:blur(12px)}.recap-controls button{width:45px;height:40px;border:0;border-radius:999px;background:rgba(255,255,255,.18);color:#fff;font-size:21px;cursor:pointer}.recap-controls button:focus-visible,.recap-exit:focus-visible{outline:3px solid #ffdf70;outline-offset:3px}.recap-controls span{min-width:44px;text-align:center;font-variant-numeric:tabular-nums;font-size:13px}@keyframes recapFloat{to{transform:translate(5vmax,4vmax) scale(1.08)}}@keyframes recapTilt{to{transform:rotate(2deg) translateY(-7px)}}
@media(max-width:520px){.recap .recap-slide{padding-top:82px;padding-bottom:77px}.recap-copy{width:100%}.recap-song-feature{grid-template-columns:112px minmax(0,1fr);gap:17px;margin-bottom:20px}.recap-song-feature.compact{grid-template-columns:90px minmax(0,1fr)}.recap-song-feature h2{font-size:clamp(29px,9.5vw,47px)}.recap-taste-grid{gap:10px}.recap-taste-grid>div{padding:17px}.recap-taste-grid h2{font-size:clamp(26px,9vw,42px)}.recap-league-numbers{margin-bottom:27px}.recap-league-numbers div{padding:11px 3px}.recap-range{gap:9px}.recap-entry{grid-template-columns:auto minmax(0,1fr);padding:17px}.recap-entry b{grid-column:2}.recap-summary-grid{margin-top:23px}}
@media(min-width:900px){.recap .recap-slide{padding-left:max(11vw,80px);padding-right:max(11vw,80px)}.recap-taste-grid{grid-template-columns:1fr 1fr 1.15fr}.recap-taste-song{grid-column:auto}.recap-taste-song img{grid-column:1/-1;grid-row:auto;width:100%;height:auto}.recap-taste-song small{grid-column:1/-1}.recap-taste-song strong,.recap-taste-song span{grid-column:1/-1}.recap-summary-grid{grid-template-columns:repeat(3,1fr)}}
@media(prefers-reduced-motion:reduce){.recap *{animation:none!important;transition:none!important}.recap .recap-slide{transform:none}}

/* Recap viewport and entrance choreography.  This intentionally overrides the
   original first-pass recap sizing so slides are a story, never scroll panes. */
html:has(.recap),body:has(.recap){width:100%;height:100%;overflow:hidden;overscroll-behavior:none}
.recap{height:100vh;height:100svh;height:100dvh;min-height:0;isolation:isolate}
.recap-slides{position:absolute;inset:0;overflow:hidden}
.recap .recap-slide{box-sizing:border-box;overflow:hidden;place-items:center;padding:calc(max(58px, env(safe-area-inset-top)) + 18px) max(18px, env(safe-area-inset-right)) calc(max(58px, env(safe-area-inset-bottom)) + 18px) max(18px, env(safe-area-inset-left));contain:layout paint;will-change:transform,opacity}
.recap-copy{display:grid;align-content:center;gap:clamp(7px,1.4vh,14px);max-width:min(870px,100%);max-height:100%;overflow:hidden}
.recap-copy>*{min-width:0}
.recap-kicker,.recap-overline{margin:0;font-size:clamp(10px,1.35vw,14px)}
.recap-intro h1{font-size:clamp(42px,min(10vw,11vh),112px);margin:0;line-height:.9}
.recap-display{font-size:clamp(23px,min(4.7vw,5.5vh),56px)}
.recap-display.small{font-size:clamp(20px,min(3.8vw,4.7vh),44px)}
.recap-place,.recap-rating,.recap-giant{font-size:clamp(96px,min(24vw,25vh),240px);margin:0;line-height:.78}
.recap-lede{font-size:clamp(15px,min(1.8vw,2.5vh),22px)}
.recap-stat-row{margin-top:clamp(8px,2vh,22px)}
.recap-stat-row span,.recap-personality{padding:7px 10px;font-size:clamp(12px,1.5vh,14px)}
.recap-stat-row b{font-size:clamp(16px,2.2vh,20px)}
.recap-personality{margin-top:clamp(8px,2vh,18px)}
.recap-song-feature{grid-template-columns:minmax(82px,min(31vw,25vh)) minmax(0,1fr);gap:clamp(12px,2.4vw,22px);margin:0}
.recap-song-feature img,.recap-art-fallback{max-height:min(31vw,25vh);object-fit:cover}
.recap-song-feature h2,.recap-taste-grid h2,.recap-league h2{font-size:clamp(26px,min(5.3vw,6.5vh),64px)}
.recap-song-feature p{font-size:clamp(15px,min(2.1vw,2.8vh),22px);margin:4px 0}
.recap-score{gap:10px}.recap-score b{font-size:clamp(32px,min(6vw,8vh),68px)}.recap-score span{font-size:clamp(12px,1.7vh,16px)}
.recap-taste-grid{gap:clamp(8px,1.8vw,18px)}.recap-taste-grid>div{padding:clamp(12px,2.3vw,22px)}.recap-taste-grid small,.recap-summary-grid small{margin-bottom:5px;font-size:clamp(9px,1.3vh,12px)}
.recap-taste-song{grid-template-columns:minmax(54px,72px) 1fr}.recap-taste-song img{width:clamp(54px,10vw,82px);height:clamp(54px,10vw,82px)}
.recap-range{font-size:clamp(30px,min(6vw,7vh),66px)}.recap-range i{height:clamp(7px,1.3vh,12px)}
.recap-league-numbers{margin:0;gap:clamp(7px,1.5vw,12px)}.recap-league-numbers div{padding:clamp(8px,1.6vh,15px) 6px}.recap-league-numbers b{font-size:clamp(30px,min(6vw,7vh),70px)}
.recap-summary-place{font-size:clamp(48px,min(9vw,11vh),105px);margin:0}.recap-summary-grid{margin-top:clamp(6px,1.8vh,24px);gap:8px}.recap-summary-grid div{padding:clamp(10px,1.8vh,15px) clamp(12px,2vw,17px)}.recap-thanks{margin-top:clamp(8px,1.8vh,20px);font-size:clamp(13px,1.8vh,16px);line-height:1.35}
.recap-exit{top:max(12px,env(safe-area-inset-top));left:max(12px,env(safe-area-inset-left));font-size:12px}.recap-progress{top:max(17px,env(safe-area-inset-top));width:min(34vw,300px)}.recap-controls{bottom:max(12px,env(safe-area-inset-bottom))}
.recap-orb{will-change:transform;animation-duration:15s}.recap-grid{animation:recapGridDrift 18s linear infinite}
@keyframes recapCopyRise{from{opacity:0;transform:translate3d(0,22px,0)}to{opacity:1;transform:translate3d(0,0,0)}}
@keyframes recapCopyGlide{from{opacity:0;transform:translate3d(-28px,0,0)}to{opacity:1;transform:translate3d(0,0,0)}}
@keyframes recapNumberPop{0%{opacity:0;transform:scale(.7) translate3d(0,14px,0)}70%{opacity:1;transform:scale(1.04)}100%{opacity:1;transform:none}}
@keyframes recapArtLand{from{opacity:0;transform:translate3d(-24px,20px,0) rotate(-7deg) scale(.88)}to{opacity:1;transform:rotate(-1deg) scale(1)}}
@keyframes recapCardIn{from{opacity:0;transform:translate3d(0,18px,0) scale(.97)}to{opacity:1;transform:none}}
@keyframes recapRing{from{opacity:.05;transform:scale(.75)}to{opacity:.3;transform:scale(1.25)}}
@keyframes recapGridDrift{to{background-position:40px 40px,40px 40px}}
.recap-slide.is-active .recap-copy>.recap-kicker{animation:recapCopyGlide .52s cubic-bezier(.2,.75,.25,1) both .06s}
.recap-slide.is-active .recap-copy>.recap-overline{animation:recapCopyRise .45s ease both .13s}
.recap-intro.is-active h1{animation:recapCopyRise .65s cubic-bezier(.2,.75,.25,1) both .15s}.recap-intro.is-active .recap-display{animation:recapCopyRise .55s ease both .35s}
.recap-standing.is-active .recap-place,.recap-voting.is-active .recap-rating,.recap-story.is-active .recap-giant{animation:recapNumberPop .7s cubic-bezier(.2,.85,.25,1) both .22s}.recap-standing.is-active .recap-lede,.recap-voting.is-active .recap-lede,.recap-story.is-active .recap-lede{animation:recapCopyRise .45s ease both .47s}
.recap-slide.is-active .recap-stat-row>*{animation:recapCardIn .42s ease both}.recap-slide.is-active .recap-stat-row>*:nth-child(1){animation-delay:.52s}.recap-slide.is-active .recap-stat-row>*:nth-child(2){animation-delay:.62s}.recap-slide.is-active .recap-stat-row>*:nth-child(3){animation-delay:.72s}
.recap-best_submission.is-active .recap-song-feature img,.recap-best_submission.is-active .recap-art-fallback,.recap-chaos.is-active .recap-song-feature img{animation:recapArtLand .7s cubic-bezier(.2,.8,.2,1) both .18s}.recap-best_submission.is-active .recap-song-feature>div:last-child,.recap-chaos.is-active .recap-song-feature>div:last-child{animation:recapCopyGlide .52s ease both .38s}.recap-best_submission.is-active .recap-score,.recap-chaos.is-active .recap-range{animation:recapCopyRise .48s ease both .58s}
.recap-taste.is-active .recap-taste-grid>div{animation:recapCardIn .5s ease both}.recap-taste.is-active .recap-taste-grid>div:nth-child(1){animation-delay:.18s}.recap-taste.is-active .recap-taste-grid>div:nth-child(2){animation-delay:.33s}.recap-taste.is-active .recap-taste-grid>div:nth-child(3){animation-delay:.48s}
.recap-voting.is-active .recap-personality{animation:recapCardIn .45s ease both .75s}.recap-league.is-active .recap-league-numbers div{animation:recapCopyRise .5s ease both}.recap-league.is-active .recap-league-numbers div:nth-child(1){animation-delay:.16s}.recap-league.is-active .recap-league-numbers div:nth-child(2){animation-delay:.3s}.recap-league.is-active .recap-league-numbers div:nth-child(3){animation-delay:.44s}.recap-league.is-active h2{animation:recapCopyGlide .5s ease both .58s}
.recap-summary::after{content:"";position:absolute;width:min(70vw,70vh);aspect-ratio:1;border:2px solid rgba(255,223,112,.5);border-radius:50%;right:-18%;bottom:-26%;animation:recapRing 5s ease-in-out infinite alternate}.recap-summary.is-active .recap-summary-place{animation:recapNumberPop .65s ease both .18s}.recap-summary.is-active .recap-summary-grid>div{animation:recapCardIn .45s ease both}.recap-summary.is-active .recap-summary-grid>div:nth-child(1){animation-delay:.38s}.recap-summary.is-active .recap-summary-grid>div:nth-child(2){animation-delay:.5s}.recap-summary.is-active .recap-summary-grid>div:nth-child(3){animation-delay:.62s}.recap-summary.is-active .recap-thanks{animation:recapCopyRise .45s ease both .75s}
.archive-recap-link{display:inline-flex;margin:0 0 18px}
@media(max-height:700px){.recap .recap-slide{padding-top:64px;padding-bottom:62px}.recap-copy{gap:5px}.recap-taste-grid>div{padding:10px}.recap-summary-grid div{padding:8px 11px}.recap-song-feature img,.recap-art-fallback{max-height:min(26vw,22vh)}.recap-league-numbers div{padding:6px}.recap-thanks{display:none}}
@media(max-width:520px){.recap .recap-slide{padding-left:max(14px,env(safe-area-inset-left));padding-right:max(14px,env(safe-area-inset-right))}.recap-song-feature{grid-template-columns:minmax(76px,min(29vw,23vh)) minmax(0,1fr)}.recap-song-feature.compact{grid-template-columns:minmax(70px,min(25vw,20vh)) minmax(0,1fr)}.recap-taste-grid{grid-template-columns:1fr 1fr}.recap-taste-song{grid-column:1/-1}.recap-controls button{width:40px;height:36px}}
@media(prefers-reduced-motion:reduce){.recap-grid,.recap-orb{animation:none!important}.recap-slide.is-active .recap-copy *{animation:none!important;opacity:1!important;transform:none!important}}

/* Final recap polish: more breathing room for song cards and a true title page. */
.recap-song-feature{column-gap:clamp(20px,3.2vw,34px)}
.recap-song-feature>div:last-child{display:grid;align-content:center;gap:clamp(5px,1vh,10px)}
.recap-song-feature h2{line-height:1.02;letter-spacing:-.045em}
.recap-song-feature p{line-height:1.24;letter-spacing:-.015em}
.recap-voting .recap-rating{display:flex;align-items:flex-start;gap:clamp(13px,2vw,23px);letter-spacing:-.07em}
.recap-voting .recap-rating span{font-size:.48em;line-height:.9;margin-top:.06em}
.recap-intro .recap-copy{text-align:center;justify-items:center;max-width:min(940px,100%)}
.recap-intro h1{max-width:12ch;font-size:clamp(56px,min(14vw,15vh),156px);line-height:.83;letter-spacing:-.085em}
.recap-intro .recap-display{margin-top:clamp(10px,2.5vh,25px)}
@keyframes recapTitleFlash{0%{opacity:0;transform:scale(.58) rotate(-4deg);filter:blur(10px);text-shadow:0 0 0 #ffdf70}55%{opacity:1;transform:scale(1.06) rotate(1deg);filter:blur(0);text-shadow:0 0 38px #ffdf70,0 0 72px #f65e95}100%{opacity:1;transform:none;filter:none;text-shadow:0 8px 30px rgba(246,94,149,.3)}}
.recap-intro.is-active h1{animation:recapTitleFlash 1.05s cubic-bezier(.16,.9,.25,1) both .15s}
.recap-share{justify-self:start;margin-top:clamp(8px,2vh,20px);border:1px solid rgba(255,223,112,.66);border-radius:999px;padding:11px 16px;background:#ffdf70;color:#24113b;font:800 14px/1 ui-rounded,"Avenir Next",system-ui,sans-serif;cursor:pointer;box-shadow:0 8px 24px rgba(0,0,0,.18)}
.recap-share:focus-visible{outline:3px solid #fff;outline-offset:3px}
.recap-summary .recap-share{animation:recapCardIn .45s ease both .88s}
@media(max-width:520px){.recap-song-feature{column-gap:18px}.recap-intro h1{font-size:clamp(54px,min(15vw,13vh),108px)}.recap-share{padding:9px 14px;font-size:13px}}
@media(prefers-reduced-motion:reduce){.recap-intro.is-active h1{animation:none!important}}

.account-danger-card{border-color:rgba(255,107,125,.35);display:grid;gap:18px}
.account-delete-card{width:min(100%,760px);margin-inline:auto;display:grid;gap:26px}
.account-delete-warning{border-left:4px solid var(--danger);padding:4px 0 4px 18px}
.account-delete-warning h2{margin-top:0}
.account-delete-warning li{margin:9px 0;color:#d6ddd8}
.account-delete-identity{display:grid;gap:5px;padding:16px;border:1px solid var(--line);border-radius:14px;background:var(--surface-2)}
.account-delete-identity strong{font-size:20px;overflow-wrap:anywhere}
.account-delete-identity span:last-child{color:var(--muted);overflow-wrap:anywhere}
.account-delete-button{background:linear-gradient(145deg,#ff6b7d,#d9465a);color:#21070d}
.account-deleted-card{max-width:680px;margin:40px auto;padding:clamp(30px,6vw,60px)}
.account-deleted-card h1{margin-top:0}
.account-deleted-card p{max-width:560px;margin:0 auto 24px;color:#c4cdc7}

/* Keep mobile Safari compositing light while retaining entrance motion. */
@media(max-width:700px){.recap-orb{filter:none;animation:none;opacity:.62}.recap-grid{animation:none;mask-image:none;opacity:.08}.recap-exit,.recap-controls{backdrop-filter:none}.recap .recap-slide{will-change:auto}.recap-summary::after{animation:none;opacity:.18}}


/* QueueUp v5.3 avatar presentation corrections */
.user-avatar,
.avatar-fallback {
  flex: 0 0 auto;
  aspect-ratio: 1;
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 8px 22px rgba(0,0,0,.24);
  overflow: hidden;
  vertical-align: middle;
}

.user-avatar {
  display: block;
  object-fit: cover;
  object-position: center;
  background: var(--surface-2);
}

.avatar-fallback {
  display: inline-grid;
  place-items: center;
  object-fit: initial;
  line-height: 1;
  text-align: center;
  background: linear-gradient(145deg,var(--brand),#26a8e8);
  color: #06110b;
  font-weight: 900;
}

.avatar-xs { width: 28px; height: 28px; border-radius: 9px; font-size: 12px; }
.avatar-sm { width: 42px; height: 42px; border-radius: 14px; font-size: 16px; }
.avatar-xl { width: 112px; height: 112px; border-radius: 32px; font-size: 44px; }

/* The navigation uses a normal profile icon, never the player's photo. */
.desktop-nav .avatar-nav { display: none !important; }

.profile-hero {
  display: grid;
  grid-template-columns: auto minmax(0,1fr) auto;
  align-items: center;
  gap: 24px;
}
.profile-hero > div:nth-child(2) { min-width: 0; }
.profile-hero h1 { overflow-wrap: anywhere; }

.profile-picture-preview {
  display: grid;
  grid-template-columns: auto minmax(0,1fr);
  align-items: center;
  gap: 20px;
}
.profile-picture-preview > div {
  min-width: 0;
  display: grid;
  gap: 4px;
}
.profile-picture-preview strong,
.profile-picture-preview small { display: block; }

.user-chip,
.metric-user,
.player-admin > a,
.leaderboard-person {
  align-items: center;
}

@media (max-width: 700px) {
  .profile-hero {
    grid-template-columns: auto minmax(0,1fr);
    align-items: center;
    gap: 16px;
  }
  .profile-hero .profile-edit-button {
    grid-column: 1 / -1;
    width: 100%;
  }
  .profile-hero .avatar-xl,
  .profile-picture-preview .avatar-xl {
    width: 82px;
    height: 82px;
    border-radius: 24px;
    font-size: 34px;
  }
  .profile-picture-preview {
    grid-template-columns: 82px minmax(0,1fr);
    align-items: center;
    gap: 16px;
  }
}


/* QueueUp v5.3 notification guidance */
.notification-card .big-icon{display:grid;place-items:center;width:64px;height:64px;margin:0 auto 16px;border-radius:20px;background:rgba(32,223,114,.12);color:var(--brand)}
.notification-card .big-icon .icon{width:30px;height:30px}
.ios-push-help{max-width:600px;margin:18px auto;padding:18px 20px;border:1px solid rgba(32,223,114,.2);border-radius:18px;background:rgba(32,223,114,.06);text-align:left}
.ios-push-help strong{display:block;margin-bottom:8px}
.ios-push-help ol{margin:0 0 10px;padding-left:22px;color:var(--muted);line-height:1.7}
.ios-push-help small{color:var(--muted)}
.centered-buttons{justify-content:center}

/* QueueUp v5.4 iOS standalone safe-area fixes */
@supports (padding: max(0px)) {
  .topbar { padding-top: max(env(safe-area-inset-top), 0px); }
  .bottom-nav { padding-bottom: max(8px, calc(8px + env(safe-area-inset-bottom))); }
}
@media (display-mode: standalone) and (max-width: 820px) {
  .topbar-inner { height: 64px; }
  .brand-mark { width: 38px; height: 38px; }
}

/* QueueUp v5.5 completion, notification, and tie states */
.rating{display:grid;justify-items:center}
.rating-status{min-height:24px;margin:-10px 0 14px;text-align:center;font-weight:800;color:var(--muted)}
.rating-status:not(:empty){padding:4px 10px}
.notification-card [data-push-status]{max-width:680px;margin:12px auto 20px;padding:16px 18px;border-radius:16px;background:rgba(255,255,255,.04);border:1px solid var(--line-soft);font-weight:700}
.notification-card [data-push-status][data-state="success"]{background:rgba(32,223,114,.1);border-color:rgba(32,223,114,.35);color:#b8ffd5}
.notification-card [data-push-status][data-state="error"]{background:rgba(255,107,125,.1);border-color:rgba(255,107,125,.35);color:#ffd1d8}
.notification-card [data-push-status][data-state="warning"]{background:rgba(255,215,101,.08);border-color:rgba(255,215,101,.3);color:#ffe8a8}
.voting-complete{max-width:760px;margin-inline:auto;padding:clamp(28px,6vw,54px)}
.completion-check{display:grid;place-items:center;width:76px;height:76px;margin:0 auto 18px;border-radius:50%;background:rgba(32,223,114,.14);color:var(--brand);font-size:42px;font-weight:900}
.completion-metrics{display:flex;flex-direction:column;margin:20px auto;padding:16px 24px;width:max-content;max-width:100%;border-radius:18px;background:rgba(255,255,255,.04)}
.completion-metrics strong{font-size:28px}.completion-metrics span{color:var(--muted)}
.winner-grid{display:flex;flex-wrap:wrap;justify-content:center;gap:26px}.winner-entry{min-width:0;max-width:300px}.place{display:flex;flex-direction:column;align-items:center;gap:3px;min-width:72px;text-align:center}.place-label{font-size:11px;line-height:1.1;color:var(--muted)}
@media(max-width:430px){.star-picker{gap:4px;width:100%}.rating-star{width:calc((100vw - 72px)/5);max-width:52px;min-width:44px}.notification-card{padding:20px 16px}.notification-card .button-row{display:grid}.notification-card .button{width:100%}.voting-complete .button-row{display:grid;width:100%}.voting-complete .button{width:100%}.result{gap:10px}.place{min-width:54px;font-size:13px}}
@supports(padding:max(0px)){body{padding-top:env(safe-area-inset-top)}.shell{padding-left:max(0px,env(safe-area-inset-left));padding-right:max(0px,env(safe-area-inset-right))}}

/* QueueUp v5.5.1 profile shortcut and compact notification layout */
.profile-actions{display:flex;flex-wrap:wrap;gap:10px;justify-content:flex-end}
.compact-intro{margin-bottom:18px}.compact-intro h1{margin-bottom:6px}
.notification-card{max-width:720px;margin-inline:auto;text-align:center}
.notification-card h2{margin-bottom:4px}
.notification-card [data-push-status]{max-width:520px;padding:13px 16px;line-height:1.35}
@media(max-width:820px){.profile-actions{grid-column:1/-1;width:100%;display:grid;grid-template-columns:1fr 1fr}.profile-actions .button{width:100%;justify-content:center}}
@media(max-width:430px){.profile-actions{grid-template-columns:1fr}.notification-card h2{font-size:22px}.compact-intro h1{font-size:36px}.ios-push-help{padding:15px 16px}.ios-push-help ol{line-height:1.5}}

/* QueueUp v5.5.2 mobile profile layout */
@media (max-width: 820px) {
  .profile-hero {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 16px;
    width: 100%;
  }
  .profile-hero > div:nth-child(2) {
    min-width: 0;
    width: 100%;
  }
  .profile-hero h1 {
    margin-top: 14px;
    font-size: clamp(32px, 10vw, 48px);
    line-height: 1.02;
    overflow-wrap: break-word;
    word-break: normal;
  }
  .profile-actions {
    grid-column: 1 / -1;
  }
}
@media (max-width: 430px) {
  .profile-hero {
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 14px;
  }
  .profile-hero .avatar-xl {
    width: 76px;
    height: 76px;
    border-radius: 22px;
    font-size: 32px;
  }
  .profile-hero h1 {
    font-size: clamp(30px, 9.5vw, 40px);
  }
  .profile-hero .pill {
    max-width: 100%;
  }
}


/* QueueUp v5.5.3 installed-PWA pull to refresh */
#pull-refresh-indicator{
 position:fixed;
 z-index:10000;
 top:calc(env(safe-area-inset-top, 0px) + 4px);
 left:50%;
 transform:translate(-50%, calc(-100% - 18px));
 padding:9px 15px;
 border:1px solid rgba(105,255,159,.42);
 border-radius:999px;
 background:rgba(7,17,12,.94);
 color:#b9f9cf;
 box-shadow:0 8px 24px rgba(0,0,0,.28);
 font-size:13px;
 font-weight:800;
 line-height:1;
 white-space:nowrap;
 pointer-events:none;
 opacity:0;
 transition:transform .16s ease,opacity .16s ease,background-color .16s ease;
}
#pull-refresh-indicator.visible{
 transform:translate(-50%, var(--pull-offset, 18px));
 opacity:1;
}
#pull-refresh-indicator.ready{background:rgba(18,90,49,.97)}
#pull-refresh-indicator.refreshing{transform:translate(-50%, 18px)}
@media not (display-mode:standalone){#pull-refresh-indicator{display:none}}

/* QueueUp v5.5.5 engagement and admin spacing */
.control-section + .control-section{margin-top:28px}
.badge-admin-list{display:grid;gap:12px}.badge-admin-row{display:grid;grid-template-columns:auto minmax(0,1fr) auto auto;gap:14px;align-items:center;padding:14px;border:1px solid var(--line-soft);border-radius:16px}.badge-admin-row small{display:block;color:var(--muted)}.badge-symbol{display:grid;place-items:center;width:44px;height:44px;border-radius:14px;background:rgba(32,223,114,.1);font-size:24px}.badge-award-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin-top:10px;max-height:240px;overflow:auto}.badge-award-list button{width:100%}.name-badges{display:inline-flex;gap:5px;margin-left:8px;vertical-align:middle;font-size:.48em}.name-badges span{display:grid;place-items:center;min-width:1.7em;height:1.7em;padding:0 .25em;border:1px solid rgba(32,223,114,.35);border-radius:999px;background:rgba(32,223,114,.1)}
.app-modal[hidden]{display:none}.app-modal{position:fixed;z-index:20000;inset:0;display:grid;place-items:center;padding:20px}.app-modal-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.78);backdrop-filter:blur(8px)}.app-modal-card{position:relative;width:min(100%,520px);max-height:calc(100dvh - 40px);overflow:auto;padding:clamp(24px,6vw,38px);border:1px solid rgba(255,255,255,.13);border-radius:26px;background:linear-gradient(155deg,#18231d,#0e1712 78%);box-shadow:0 24px 80px rgba(0,0,0,.5);text-align:center;animation:modal-in .2s ease}.modal-icon{display:grid;place-items:center;width:62px;height:62px;margin:0 auto 14px;border-radius:20px;background:rgba(32,223,114,.1);font-size:30px}.warning-box{display:grid;gap:5px;margin:22px 0;padding:15px;border:1px solid rgba(255,215,101,.28);border-radius:16px;background:rgba(255,215,101,.07);color:#ffe8a8}.warning-box span{font-size:14px}.season-welcome-card{padding:0 0 30px;overflow:hidden}.season-welcome-card .pill,.season-welcome-card h2,.season-welcome-card p,.season-welcome-card .button{margin-left:28px;margin-right:28px}.season-welcome-card .pill{margin-top:26px}.season-banner{display:block;width:100%;aspect-ratio:2.5/1;object-fit:cover}.season-welcome-card p{color:var(--muted);line-height:1.65}.season-welcome-card .button{width:calc(100% - 56px)}body.modal-open{overflow:hidden}@keyframes modal-in{from{opacity:0;transform:translateY(14px) scale(.98)}to{opacity:1;transform:none}}
@media(max-width:600px){.badge-admin-row{grid-template-columns:auto minmax(0,1fr)}.badge-admin-row>a,.badge-admin-row>details{grid-column:2}.badge-award-list{grid-template-columns:1fr}.app-modal{padding:12px}.app-modal-card{max-height:calc(100dvh - 24px);border-radius:22px}.control-section + .control-section{margin-top:22px}}

/* QueueUp v6.0 responsive visual polish */
html,body{overflow-x:hidden}
body{padding-top:0!important}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid rgba(32,223,114,.46);outline-offset:3px}
.button.secondary{background:rgba(255,255,255,.045);border-color:var(--line);color:var(--text)}
.button.secondary:hover{background:var(--surface-3);border-color:rgba(32,223,114,.3);transform:translateY(-1px)}
.button:disabled{cursor:not-allowed;opacity:.58;transform:none!important}

/* Public entry and account forms */
.hero{max-width:800px;padding:clamp(30px,8vw,82px) 0}
.hero .eyebrow,.page-heading .eyebrow{display:inline-flex;color:var(--brand-2);font-size:12px;font-weight:850;letter-spacing:.1em;text-transform:uppercase}
.hero h1{max-width:760px;margin:18px 0;font-size:clamp(44px,8vw,78px)}
.hero>p{max-width:660px;color:#c4cdc7;font-size:18px}
.auth-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:28px}
.auth-card .auth-form>.button{width:100%;margin-top:2px}
.page-heading{margin-bottom:26px}.page-heading h1{margin:12px 0}.page-heading p{max-width:650px;color:#c4cdc7;font-size:17px}
.form-card{padding:clamp(22px,5vw,38px)}
.app-form{display:grid;gap:18px}
.app-form>p{display:grid;gap:7px;margin:0}.app-form label{font-weight:700}.app-form input,.app-form select,.app-form textarea{width:100%}
.app-form .helptext{color:var(--muted);font-size:13px}.app-form ul.errorlist{margin:0;padding-left:20px;color:var(--danger)}
.form-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:4px}

/* Round and search states */
.state-glow-upcoming,.state-glow-submitting,.state-glow-voting,.state-glow-locked,.state-glow-revealed{isolation:isolate}
.state-glow-upcoming:after,.state-glow-submitting:after,.state-glow-voting:after,.state-glow-locked:after,.state-glow-revealed:after{content:"";position:absolute;z-index:-1;right:-12%;bottom:-45%;width:360px;height:360px;border-radius:50%;background:radial-gradient(circle,rgba(32,223,114,.13),transparent 68%);pointer-events:none}
.blind{border-color:rgba(255,255,255,.1)}
.search-shell{position:relative}.search-spinner{width:20px;height:20px;flex:none;border:2px solid rgba(255,255,255,.18);border-top-color:var(--brand);border-radius:50%;animation:spin .7s linear infinite}.search-placeholder{margin-top:0}.spotify-button{border-color:rgba(32,223,114,.38)!important;color:var(--brand-2)!important}
.compact-empty{padding:44px 22px;text-align:center}
.leaderboard-head{margin-bottom:22px}
@keyframes spin{to{transform:rotate(360deg)}}

/* Modal surfaces were previously transparent because --card was undefined. */
.app-modal-card{background:linear-gradient(155deg,#18231d,#0e1712 78%);color:var(--text)}
.app-modal-card h2{margin-bottom:12px}.app-modal-card p:last-of-type{margin-bottom:0}
.season-welcome-card{background:linear-gradient(155deg,#18231d,#0e1712 78%)}
.season-welcome-card h2{margin-top:12px}.season-welcome-card p{max-width:440px;margin-top:0}

/* Control panel and long-content hardening */
.control-section>.section-heading>div{min-width:0}.control-section>.section-heading p{margin:6px 0 0}
.control-round{overflow:hidden}.control-round h2,.player-admin strong,.badge-admin-row strong,.badge-admin-row small{overflow-wrap:anywhere}
.badge-admin-row>a{color:var(--brand-2);font-weight:750}.badge-admin-row summary{cursor:pointer;color:var(--brand-2);font-weight:750}
.badge-admin-row details{min-width:0}.badge-admin-row code,.qr-card code{font-size:12px}
.control-buttons>*{max-width:100%}.control-buttons button,.control-buttons a{white-space:normal;text-align:center}
.player-admin>a{flex:1}.player-admin>a div{max-width:100%}

/* Result and profile refinements */
.name-badges{max-width:100%;flex-wrap:wrap}.name-badges span{font-size:inherit}
.profile-actions .button{white-space:nowrap}
.badge-card{min-height:132px}.badge-card strong{margin-top:4px;overflow-wrap:anywhere}.badge-card small{line-height:1.35}
.reveal-stage+.results{margin-top:4px}.winner-entry p{margin-bottom:8px}.winner-entry .user-chip{justify-content:center}
.result-copy strong{display:block;margin-top:5px}.inline-player{min-width:0}

/* Keep fixed mobile navigation from obscuring the final interactive element. */
@media(max-width:820px){
 .shell{padding-bottom:calc(116px + env(safe-area-inset-bottom))}
 .topbar{padding-top:max(env(safe-area-inset-top),0px)}
 .bottom-nav a{min-width:0;padding:2px 4px;border-radius:10px}
 .bottom-nav a.active{background:rgba(32,223,114,.06)}
 .control-hero{gap:18px}.control-actions{display:grid;grid-template-columns:1fr 1fr;width:100%}.control-actions .button{width:100%}
 .section-heading{align-items:flex-start}
 .qr-card code{display:block;max-width:100%}
 .reveal-stage{padding:34px 12px 30px}.winner-art{width:min(54vw,205px);margin-top:18px}.winner-crown{font-size:36px}
}

@media(min-width:481px) and (max-width:820px){.badge-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}

@media(max-width:600px){
 .shell{width:min(100% - 24px,960px)}
 .section-heading{gap:12px}.section-heading h2{font-size:24px}
 .control-section>.section-heading:has(>div){display:grid;grid-template-columns:1fr}.control-section>.section-heading:has(>div)>.button{width:100%}
 .badge-admin-row{grid-template-columns:44px minmax(0,1fr);gap:12px}.badge-admin-row>a,.badge-admin-row>details{grid-column:2}.badge-admin-row>details{width:100%}
 .control-buttons{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.control-buttons form,.control-buttons a,.control-buttons button{width:100%}.control-buttons form button{width:100%}
 .player-admin>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.player-admin>div form,.player-admin>div button{width:100%}
 .app-modal-card .button-row{display:grid;grid-template-columns:1fr 1fr}.app-modal-card .button{width:100%}
 .season-welcome-card .button{width:calc(100% - 40px);margin-left:20px;margin-right:20px}.season-welcome-card .pill,.season-welcome-card h2,.season-welcome-card p{margin-left:20px;margin-right:20px}
 .result{padding:16px}.result-copy h2{font-size:20px}.result-copy p{font-size:14px}.place-label{font-size:10px}
}

@media(min-width:360px) and (max-width:480px){.badge-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.badge-card{min-height:146px}}

@media(max-width:430px){
 .topbar-inner{width:calc(100% - 24px)}
 .brand{font-size:16px}.brand-mark{width:36px;height:36px}
 h1{font-size:clamp(36px,11vw,44px)}
 .hero{padding-top:30px}.hero h1{font-size:clamp(42px,13vw,56px)}.hero>p{font-size:16px}.auth-actions{display:grid}.auth-actions .button{width:100%}
 .page-intro{margin-bottom:22px}.page-intro h1{margin-top:18px}
 .hero-card{padding:23px 19px}.hero-card h1{font-size:clamp(38px,11vw,46px)}
 .eyebrow-row{align-items:flex-start;flex-wrap:wrap}.eyebrow-row .state{margin-left:auto}
 .metric-strip,.metric-grid{gap:9px}.metric-strip>div,.metric{padding:14px}.metric-strip strong,.metric strong{font-size:22px}
 .profile-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}
 .profile-actions{grid-template-columns:1fr 1fr}.profile-actions .button{padding-inline:10px;font-size:13px;white-space:normal}
 .profile-hero h1{overflow-wrap:anywhere}
 .badge-card{padding:14px;min-height:138px}.badge-card>span{font-size:25px}
 .countdown-panel{margin:22px 0;padding:16px}.countdown-panel strong{font-size:22px}
 .submitted{align-items:flex-start}.submitted .check{align-self:center}
 .track{padding:15px}.track img{width:50px;height:50px}.track form{margin-top:2px}
 .swipe-deck{min-height:480px}.swipe-card{padding:18px 15px}.spotify-embed iframe{height:152px}
 .deck-controls{gap:8px}.deck-controls button{padding:10px;font-size:12px}.deck-controls span{font-size:12px;white-space:nowrap}
 .completion-check{width:66px;height:66px;font-size:36px}.voting-complete{padding:28px 18px}.voting-complete h1{font-size:39px}
 .result{grid-template-columns:48px 52px minmax(0,1fr);gap:9px}.result>img{width:52px;height:52px}.place{min-width:48px}.inline-player{grid-column:2/-1}
 .archive-card{padding:17px}.archive-card strong{font-size:16px}
 .rank{grid-template-columns:34px 38px minmax(0,1fr);gap:10px;padding:14px}.rank .avatar-sm{width:38px;height:38px}.rank-place{font-size:15px}.rank-player strong{white-space:normal;overflow-wrap:anywhere}.rank>b{grid-column:3;font-size:15px}
 .auth-card{border-radius:22px}.auth-card h1{font-size:39px}.auth-card form{gap:15px}
 .form-actions{display:grid;grid-template-columns:1fr 1fr}.form-actions .button{width:100%}
 .profile-picture-preview{grid-template-columns:74px minmax(0,1fr)}.profile-picture-preview .avatar-xl{width:74px;height:74px;border-radius:22px}
 .notification-card [data-push-status]{font-size:13px}
 .app-modal{padding:10px}.app-modal-card{padding:24px 18px;border-radius:21px}.app-modal-card .button-row{grid-template-columns:1fr}
 .control-actions{grid-template-columns:1fr}.control-buttons{grid-template-columns:1fr 1fr}
 .qr-card img{width:min(138px,100%)}
}

@media(max-width:340px){
 .shell{width:calc(100% - 20px)}
 .card{padding:17px}.hero-card{padding:21px 17px}
 .profile-hero{grid-template-columns:68px minmax(0,1fr)}.profile-hero .avatar-xl{width:68px;height:68px;border-radius:20px}.profile-hero h1{font-size:30px}
 .profile-actions,.form-actions,.control-buttons,.player-admin>div{grid-template-columns:1fr}
 .star-picker{gap:2px}.rating-star{min-width:0;width:calc((100vw - 58px)/5);height:50px}.rating-star span{font-size:31px}
 .result{grid-template-columns:43px 48px minmax(0,1fr);padding:14px 12px}.result>img{width:48px;height:48px}.place{min-width:43px;font-size:12px}
 .rank{padding-inline:11px}
}

@media(min-width:821px){
 .control-section+.control-section{margin-top:34px}
 .profile-actions{max-width:340px}
 .auth-card{margin-top:30px}
 .page-heading,.profile-editor{margin-left:auto;margin-right:auto}
}

/* v6.0 narrow admin player rows: prevent long usernames from widening cards. */
.player-admin{min-width:0;width:100%}.player-admin>a{width:100%}.player-admin small{overflow-wrap:anywhere;word-break:break-word}.player-admin>div{max-width:100%}

/* QueueUp v7.0 membership, onboarding, clean-music and legal UI */
.site-footer{display:flex;justify-content:center;gap:20px;padding:12px 20px calc(92px + env(safe-area-inset-bottom));font-size:13px;color:var(--muted)}
.site-footer a{color:inherit}.desktop-nav~* .site-footer{padding-bottom:24px}
.waiting-card{max-width:720px;margin-inline:auto;padding:clamp(28px,6vw,58px)}
.waiting-card .lede{max-width:620px;margin-inline:auto}.waiting-card form{margin:0}
.legal-copy{max-width:860px;margin-inline:auto;line-height:1.7}.legal-copy h2{margin-top:30px;margin-bottom:8px}.legal-copy h2:first-child{margin-top:0}.legal-note{margin-top:30px;padding:16px;border:1px solid var(--line);border-radius:14px;color:var(--muted)}
.legal-consent{font-size:13px;color:var(--muted)}
.track.explicit-track{opacity:.68}.track.explicit-track .explicit-choice{cursor:not-allowed;filter:grayscale(.35)}
.compact-modal{text-align:center;max-width:430px}.compact-modal .button{width:100%}
.rule-check{display:flex;align-items:flex-start;gap:12px;text-align:left;padding:15px;border:1px solid var(--line);border-radius:14px;background:rgba(255,255,255,.035);margin:18px 0}.rule-check input{width:20px;height:20px;margin-top:2px;accent-color:var(--brand);flex:0 0 auto}.tiny{font-size:12px}
.guide-card{max-width:560px}.guide-steps{display:grid;gap:14px;padding:0;margin:20px 0;counter-reset:guide;list-style:none}.guide-steps li{display:grid;grid-template-columns:36px 1fr;column-gap:12px;align-items:start;text-align:left}.guide-steps li:before{counter-increment:guide;content:counter(guide);display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:rgba(30,215,96,.14);color:var(--brand);font-weight:900;grid-row:1/3}.guide-steps b,.guide-steps span{grid-column:2}.guide-steps span{color:var(--muted);font-size:14px;margin-top:3px}
.mobile-profile-logout{display:none;margin:26px 0 0}.mobile-profile-logout .button{width:100%}
.player-admin button.approve{background:var(--brand);color:#03170b;border-color:var(--brand);font-weight:900}
@media(max-width:720px){.mobile-profile-logout{display:block}.legal-copy{padding:20px}.legal-copy h2{font-size:20px}.site-footer{padding-bottom:calc(94px + env(safe-area-inset-bottom))}}


/* QueueUp v7.0.4 profile upload compatibility and layout */
.profile-editor-stack{width:min(100%,760px);margin-inline:auto;display:grid;gap:30px}
.profile-editor-stack .profile-editor{width:100%;max-width:none}
.profile-picture-actions{display:grid;gap:18px}
.profile-picture-actions .app-form{padding-top:2px}
.profile-picture-remove{margin:0;padding-top:18px;border-top:1px solid var(--line-soft)}
.profile-picture-remove .button{width:auto}
.profile-upload-status{margin:0;font-size:13px}
.profile-upload-status.is-error{color:var(--danger)}
@media(max-width:430px){.profile-editor-stack{gap:24px}.profile-picture-remove .button{width:100%}}

/* QueueUp v7.0.7 per-round staff status */
.round-stats-button{background:rgba(32,223,114,.08)!important;border-color:rgba(32,223,114,.28)!important;color:var(--brand-2)!important;font-weight:850!important}
.round-status-hero{align-items:end}.round-status-hero small{color:var(--muted)}
.round-status-metrics{margin-bottom:28px}
.round-status-list{display:grid;gap:12px}
.round-status-row{display:grid;grid-template-columns:minmax(180px,.85fr) minmax(260px,1.4fr) minmax(170px,.75fr);gap:22px;align-items:center;padding:18px 20px}
.round-status-player,.round-status-submission{display:flex;align-items:center;gap:12px;min-width:0}
.round-status-player>div,.round-status-submission>div{display:grid;gap:3px;min-width:0}
.round-status-player strong,.round-status-submission strong{overflow-wrap:anywhere}
.round-status-player small,.round-status-submission small,.round-status-voting small{color:var(--muted)}
.round-status-submission img{width:52px;height:52px;object-fit:cover;border-radius:12px;flex:0 0 auto}
.round-status-voting{display:grid;gap:4px;justify-items:start}
.status-label{font-size:11px;font-weight:850;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
.status-complete{display:inline-flex;align-items:center;gap:6px;color:var(--brand-2)}
.status-progress{color:#ffe8a8}.status-missing{color:var(--danger)}
@media(max-width:760px){.round-status-row{grid-template-columns:1fr;gap:16px}.round-status-submission,.round-status-voting{padding-top:14px;border-top:1px solid var(--line-soft)}.round-status-hero{align-items:stretch}.round-status-hero>.button{width:100%}}

/* Keep the latest results visually separated above the newly live round. */
.home-results-card{margin-bottom:var(--space-5)}

/* QueueUp v7.2 admin hub and searchable management pages */
.admin-hub-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:24px 0 28px}.admin-hub-card{display:grid;grid-template-columns:auto minmax(0,1fr);gap:16px;align-items:start;color:inherit;text-decoration:none;transition:transform .18s ease,border-color .18s ease}.admin-hub-card:hover{transform:translateY(-2px);border-color:rgba(32,223,114,.32)}.admin-hub-card>b{grid-column:2;color:var(--brand-2)}.admin-hub-card h2{margin:0 0 7px}.admin-hub-card p{margin:0;color:var(--muted);line-height:1.5}.admin-hub-icon{display:grid;place-items:center;width:48px;height:48px;border-radius:15px;background:rgba(32,223,114,.1);color:var(--brand-2);font-size:23px}.admin-search{display:grid;gap:9px;margin-bottom:24px}.admin-search label{font-weight:800}.admin-search>div{display:flex;gap:9px}.admin-search input{flex:1;min-width:0}.admin-advanced-link{text-align:right}.admin-advanced-link a{color:var(--muted)}
@media(max-width:820px){.admin-hub-grid{grid-template-columns:1fr}.admin-search>div{flex-wrap:wrap}.admin-search input{flex-basis:100%}.admin-search .button{flex:1}}

.homepage-countdown{display:grid;gap:15px;margin:0 0 24px;padding:clamp(20px,4vw,30px);border:1px solid rgba(32,223,114,.3);border-radius:24px;background:linear-gradient(120deg,rgba(32,223,114,.12),rgba(73,167,255,.09));text-align:center;box-shadow:0 14px 34px rgba(0,0,0,.14)}
.homepage-countdown .pill{justify-self:center;max-width:100%;overflow-wrap:anywhere}.countdown-values{display:flex;justify-content:center;align-items:center;gap:clamp(7px,2vw,17px);font-variant-numeric:tabular-nums}.countdown-values span{display:grid;gap:3px;min-width:clamp(48px,10vw,80px)}.countdown-values b{font-size:clamp(28px,6vw,54px);line-height:1;letter-spacing:-.06em}.countdown-values small{text-transform:uppercase;color:var(--muted);font-size:10px;letter-spacing:.1em}.countdown-values i{font-style:normal;color:var(--brand);font-size:clamp(24px,4vw,40px);font-weight:900}.countdown-expired{font-size:clamp(28px,5vw,45px);color:var(--brand-2)}
.admin-list{display:grid;gap:12px}.admin-row{display:flex;justify-content:space-between;gap:18px;align-items:center;padding:16px;border:1px solid var(--line-soft);border-radius:16px}.admin-row>div:first-child{min-width:0}.admin-row strong,.admin-row small{display:block;overflow-wrap:anywhere}.admin-row small{color:var(--muted);margin-top:5px}.admin-row .button-row{justify-content:flex-end;flex-wrap:wrap}.status-live{color:var(--brand-2);font-weight:800}.status-pill{padding:7px 11px;border-radius:999px;background:rgba(255,255,255,.08);font-size:12px;font-weight:800}.confirmation-card{max-width:680px;margin-inline:auto}.confirmation-card dl{display:grid;grid-template-columns:auto 1fr;gap:10px 18px;margin:24px 0}.confirmation-card dt{color:var(--muted);font-weight:800}.confirmation-card dd{margin:0;overflow-wrap:anywhere}.form-help{color:var(--muted);font-size:13px}
@media(max-width:700px){.countdown-values{gap:4px}.countdown-values span{min-width:0;flex:1}.countdown-values i{font-size:22px}.admin-row{align-items:stretch;flex-direction:column}.admin-row .button-row{justify-content:flex-start}.admin-row .button-row>*{flex:1}.confirmation-card dl{grid-template-columns:1fr;gap:4px}.confirmation-card dd{margin-bottom:10px}}
