:root{--bg:#0d0f10;--panel:#171a1b;--panel2:#1d2021;--ink:#f4f3ef;--muted:#969993;--line:#303334;--lime:#c9ff3d;--red:#ff6c5f;--blue:#a8b8ff}*{box-sizing:border-box}html{background:var(--bg)}body{margin:0;min-height:100vh;background:radial-gradient(circle at 76% 15%,#29351a 0,transparent 30%),var(--bg);color:var(--ink);font-family:Inter,Arial,Helvetica,sans-serif}button,input,select{font:inherit}.shell{min-height:100vh;max-width:1180px;margin:auto;padding:0 42px 30px;display:flex;flex-direction:column}.topbar{height:86px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between}.brand{display:flex;align-items:center;gap:11px;font-weight:900;letter-spacing:-.04em}.mark{width:34px;height:34px;background:var(--lime);color:#12140e;border-radius:50%;display:grid;place-items:center;font:italic 700 19px Georgia}.status{font-size:12px;color:#b8bbb5;display:flex;gap:8px;align-items:center}.status i{width:7px;height:7px;border-radius:50%;background:var(--lime);box-shadow:0 0 12px var(--lime)}.scorebar{display:grid;grid-template-columns:1fr auto 1fr;gap:20px;align-items:center;padding:18px 0}.scorePlayer{display:flex;gap:13px;align-items:center}.scorePlayer.right{justify-content:flex-end;text-align:right}.avatar{width:40px;height:40px;border:1px solid #444842;border-radius:50%;display:grid;place-items:center;color:var(--lime);font-weight:900}.scoreName{display:block;font-weight:800}.scoreMeta{display:block;color:var(--muted);font-size:11px;margin-top:3px}.scorePoints{font-size:34px;letter-spacing:-.06em;font-weight:900}.versus{font-size:10px;color:#666a64;letter-spacing:.15em}.intro{padding:48px 0 32px}.eyebrow{color:var(--lime);font-weight:900;font-size:11px;letter-spacing:.18em}.intro h1{font-size:clamp(55px,7.5vw,92px);line-height:.91;letter-spacing:-.075em;margin:18px 0}.intro h1 em,.display em{font-family:Georgia,serif;font-weight:400;color:var(--lime)}.lede{color:var(--muted);font-size:17px;margin:0}.card{border:1px solid var(--line);background:rgba(23,26,27,.94);border-radius:22px;padding:30px;box-shadow:0 28px 80px #0005}.cardHead{display:flex;align-items:flex-end;justify-content:space-between;margin-bottom:25px}.cardHead>div{display:flex;align-items:center;gap:14px}.step{width:34px;height:34px;border:1px solid #484c46;color:var(--lime);border-radius:50%;display:grid;place-items:center;font-size:11px}.card h2{font-size:24px;letter-spacing:-.04em;margin:0}.cardHead p{margin:0;color:var(--muted);font-size:13px}.players{display:grid;grid-template-columns:1fr 1fr;gap:16px}.playerBox{border:1px solid var(--line);border-radius:15px;padding:20px;display:grid;grid-template-columns:1fr 1.45fr;gap:14px}.playerTag{grid-column:1/-1;color:var(--lime);font-weight:900;font-size:10px;letter-spacing:.17em}label{display:grid;gap:8px;color:#b9bbb6;font-size:12px}input,select{width:100%;min-width:0;border:1px solid #393d3b;background:#101213;color:var(--ink);border-radius:10px;padding:13px 14px;outline:none}select{cursor:pointer}select option,select optgroup{background:#101213;color:var(--ink)}input:focus,select:focus{border-color:var(--lime);box-shadow:0 0 0 3px #c9ff3d14}.actions{display:flex;gap:12px;margin-top:18px}.button{border:1px solid #3b3f3c;background:#202324;color:var(--ink);border-radius:12px;padding:16px 19px;font-weight:900;cursor:pointer;transition:.15s}.button:hover{transform:translateY(-1px);border-color:#666b64}.button.primary{flex:1;background:var(--lime);border-color:var(--lime);color:#12140e}.button.ghost{color:#c9cbc5}.button.danger{background:var(--red);border-color:var(--red);color:#17100f}.button:disabled{opacity:.4;cursor:not-allowed;transform:none}.notice{border:1px solid #42463f;background:#1b1f19;border-radius:12px;color:#bfc3ba;padding:13px 15px;font-size:12px;line-height:1.5;margin:16px 0 0}.notice.error{border-color:#6a3935;color:#ffaaa1;background:#241817}.smallLink{color:var(--lime)}.stages{margin-top:auto;padding:30px 0 0;display:flex;justify-content:center;gap:30px;color:#737670;font-size:11px}.stages b{color:#b9bcb5;margin-left:5px}.gameWrap{flex:1;display:flex;flex-direction:column}.roundTop{text-align:center;padding:34px 0 22px}.roundTop .eyebrow{margin-bottom:10px}.roundTop h1{font-size:clamp(42px,6vw,70px);letter-spacing:-.065em;margin:0}.stageRail{display:grid;grid-template-columns:repeat(5,1fr);gap:8px;max-width:720px;width:100%;margin:0 auto 24px}.stageNode{height:5px;border-radius:9px;background:#303332}.stageNode.done,.stageNode.active{background:var(--lime)}.answer{max-width:760px;width:100%;margin:auto;text-align:center;padding:42px 30px;position:relative;overflow:hidden}.answer:before{content:"";position:absolute;width:220px;height:220px;border:35px solid #c9ff3d0e;border-radius:50%;top:-90px;right:-50px}.answerLabel{font-size:10px;color:var(--muted);letter-spacing:.17em;font-weight:900}.trackName{font-size:clamp(36px,6vw,67px);line-height:1;letter-spacing:-.065em;margin:17px 0 11px}.artist{font-family:Georgia,serif;font-style:italic;color:var(--lime);font-size:21px}.pointsPill{display:inline-flex;margin-top:20px;border:1px solid #495044;border-radius:999px;padding:8px 13px;font-size:12px;color:#c9cdc4}.listening{display:flex;align-items:center;justify-content:center;gap:5px;height:30px;margin:10px 0}.listening i{width:3px;background:var(--lime);border-radius:3px;animation:bounce .65s infinite alternate}.listening i:nth-child(2){animation-delay:.1s}.listening i:nth-child(3){animation-delay:.2s}.listening i:nth-child(4){animation-delay:.3s}.listening i:nth-child(5){animation-delay:.4s}@keyframes bounce{from{height:5px}to{height:27px}}.gameButtons{display:grid;grid-template-columns:1fr 1.25fr 1fr;gap:12px;max-width:760px;width:100%;margin:16px auto 0}.gameButtons .button{min-height:64px}.gameButtons .correct{background:var(--lime);color:#11130d;border-color:var(--lime)}.handoff,.result{margin:auto;max-width:760px;width:100%;text-align:center;padding:60px 36px}.bigNumber{font-size:110px;font-weight:900;letter-spacing:-.09em;color:var(--lime);line-height:.8}.display{font-size:clamp(47px,7vw,78px);letter-spacing:-.07em;line-height:.96;margin:25px 0 17px}.sub{color:var(--muted);line-height:1.55}.winnerScores{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:28px 0}.winnerScore{background:#111314;border:1px solid var(--line);border-radius:14px;padding:23px}.winnerScore strong{display:block;font-size:46px;color:var(--lime)}.spinner{width:18px;height:18px;border:2px solid #1115;border-top-color:#111;border-radius:50%;animation:spin .7s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.settings{margin-top:18px;padding-top:18px;border-top:1px solid var(--line)}.settings summary{cursor:pointer;color:#b9bbb6;font-size:12px}.settingsGrid{display:grid;grid-template-columns:1fr auto;gap:10px;margin-top:14px}.settings p{color:var(--muted);font-size:12px;line-height:1.5}.fade{animation:fade .3s ease}@keyframes fade{from{opacity:0;transform:translateY(7px)}}@media(max-width:760px){.shell{padding:0 18px 22px}.topbar{height:68px}.intro{padding:38px 0 27px}.intro h1{font-size:51px}.card{padding:20px}.cardHead>p{display:none}.players{grid-template-columns:1fr}.playerBox{grid-template-columns:1fr}.actions,.gameButtons{grid-template-columns:1fr}.actions{flex-direction:column}.stages{gap:13px;flex-wrap:wrap}.scoreMeta{display:none}.scorePoints{font-size:27px}.answer{padding:34px 16px}.trackName{font-size:42px}.roundTop{padding-top:23px}.handoff,.result{padding:42px 20px}.bigNumber{font-size:85px}.settingsGrid{grid-template-columns:1fr}}
.pills{display:flex;justify-content:center;gap:8px;flex-wrap:wrap;margin-top:20px}.pills .pointsPill{margin-top:0}.offsetPill{display:inline-flex;border:1px solid #68783f;border-radius:999px;padding:8px 13px;font-size:12px;color:var(--lime)}.gameButtons{grid-template-columns:1fr 1fr 1.2fr 1fr;max-width:860px}.gameButtons .offset{border-color:#667542;color:var(--lime)}
.fullSongButton,.mobileFullSong{font:inherit;font-weight:900;color:var(--lime);cursor:pointer}.fullSongButton{align-items:center;background:#1b2117}.fullSongButton:hover{border-color:var(--lime);background:#202918}.fullSongButton:disabled,.mobileFullSong:disabled{opacity:.5;cursor:wait}.mobileFullSong{flex:0 0 auto;margin-left:auto;border:0;background:transparent;padding:0;font-size:10px;letter-spacing:.03em}
.result{max-width:980px}.resultBreakdown{margin:30px 0;text-align:left}.resultHead{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:12px}.resultHead h2{margin:7px 0 0}.resultHead>span{color:var(--muted);font-size:12px}.resultList{display:grid;gap:7px}.resultRow{display:grid;grid-template-columns:38px minmax(0,1fr) 62px minmax(130px,.55fr);align-items:center;gap:12px;padding:12px 14px;border:1px solid #343836;border-radius:12px;background:#111314}.resultRound{color:#777b75;font-size:11px;font-weight:900}.resultTrack{min-width:0;display:grid;gap:3px}.resultTrack strong,.resultTrack small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.resultTrack strong{font-size:14px}.resultTrack small{color:var(--muted);font-size:11px}.resultTrack small.resultSource{color:#aebe82}.resultStage{justify-self:center;border:1px solid #454b41;border-radius:999px;padding:5px 8px;color:#c7cec0;font-size:11px}.resultAward{min-width:0;display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:9px}.resultAward strong{color:var(--lime);font-size:19px}.resultAward span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:12px;font-weight:800}.resultRow.unanswered{opacity:.65}.resultRow.unanswered .resultAward strong{color:var(--muted)}.resultAgain{width:100%}
@media(max-width:760px){.resultHead{align-items:flex-start}.resultRow{grid-template-columns:28px minmax(0,1fr) auto;gap:9px;padding:11px}.resultStage{grid-column:3;grid-row:1}.resultAward{grid-column:2/-1}.resultBreakdown{margin:24px 0}.result .display{font-size:44px}.winnerScore{padding:16px}.winnerScore strong{font-size:36px}}
@media(max-width:760px){.gameButtons{grid-template-columns:1fr}}
.gameButtons .button{display:flex;align-items:center;justify-content:space-between;gap:10px;text-align:left}.gameButtons kbd{min-width:25px;height:25px;display:grid;place-items:center;border:1px solid #555a54;border-bottom-width:2px;border-radius:6px;background:#141617;color:#bfc2bb;font:700 11px Arial}.gameButtons .correct kbd{border-color:#718f25;background:#b3e72d;color:#162000}
.modePicker{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:18px}.modeChoice{display:grid;gap:6px;text-align:left;border:1px solid var(--line);background:#111314;color:var(--ink);border-radius:14px;padding:18px;cursor:pointer}.modeChoice b{font-size:16px}.modeChoice span{font-size:12px;color:var(--muted)}.modeChoice.active{border-color:var(--lime);box-shadow:inset 0 0 0 1px var(--lime);background:#192015}.modeChoice.active b{color:var(--lime)}.duelHandoff .display{font-size:clamp(38px,6vw,68px)}.duelAnswer.hiddenAnswer{background:linear-gradient(135deg,#171a1b,#141812)}.duelAnswer.hiddenAnswer .trackName{letter-spacing:.08em;color:#61665d}.duelAnswer.hiddenAnswer .artist{color:#9ca096;font-family:Arial,sans-serif;font-style:normal;font-size:14px}.gameButtons .reveal{border-color:var(--lime);color:var(--lime)}.winnerPrompt{text-align:center;color:var(--muted);font-size:12px;margin:24px 0 10px}.winnerButtons{display:grid;grid-template-columns:1fr 1fr;gap:12px;max-width:860px;width:100%;margin:0 auto 28px}.winnerButtons .playerWinner{min-height:72px;font-size:17px}.playerWinner b{color:var(--lime);font-size:20px}.playerWinner:first-child{border-color:#68783f}.playerWinner:last-child{border-color:#596581}.duelGame .answer{max-width:860px}
@media(max-width:760px){.modePicker,.winnerButtons{grid-template-columns:1fr}.duelHandoff .display{font-size:39px}}
.modePicker{grid-template-columns:repeat(2,1fr)}.playlistColumn{display:grid;align-content:start;gap:8px}.fieldLabel{color:#b9bbb6;font-size:12px}.playlistRow{display:grid;grid-template-columns:1fr auto;gap:7px}.removePlaylist{width:42px;border:1px solid #563d3a;background:#211817;color:#ff9d94;border-radius:10px;font-size:22px;cursor:pointer}.addPlaylist{justify-self:start;border:0;background:transparent;color:var(--lime);padding:6px 2px;font-size:12px;font-weight:900;cursor:pointer}.addPlaylist:hover{text-decoration:underline}.mergeNotice{border-color:#65763e;color:#d7ef9a}.modeChoice{min-height:80px}
.playlistLibraryBar{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:0 0 14px;padding:11px 14px;border:1px solid #3b4631;border-radius:12px;background:#151a13;color:#bdc9ae;font-size:12px}.playlistLibraryBar button{flex:0 0 auto;border:0;background:transparent;color:var(--lime);font-weight:900;cursor:pointer}.playlistLibraryBar button:disabled{opacity:.45;cursor:wait}
.playlistPicker{position:relative;min-width:0}.playlistPicker:focus-within{z-index:80}.playlistResults{position:absolute;top:calc(100% + 6px);left:0;right:0;z-index:80;max-height:290px;overflow:auto;padding:6px;border:1px solid #454a45;border-radius:12px;background:#111314;box-shadow:0 20px 48px #000b}.playlistResult{width:100%;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;border:0;border-radius:8px;background:transparent;color:var(--ink);padding:10px;text-align:left;cursor:pointer}.playlistResult:hover,.playlistResult:focus{outline:0;background:#20261b}.playlistResult span{min-width:0;display:grid;gap:3px}.playlistResult b,.playlistResult small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.playlistResult b{font-size:12px}.playlistResult small{color:var(--muted);font-size:10px}.playlistResult em{color:var(--lime);font-size:10px;font-style:normal;white-space:nowrap}.playlistEmpty{margin:0;padding:13px 10px;color:var(--muted);font-size:11px}
.setupCard{padding:26px}.playerBox{grid-template-columns:minmax(140px,.7fr) minmax(0,1.5fr);padding:17px}.playerBox>label{align-self:start;align-content:start;grid-template-rows:auto 44px}.playerBox>label input{height:44px;min-height:44px;padding:10px 12px}.intro{padding:38px 0 26px}.intro h1{font-size:clamp(52px,7vw,82px)}
@media(max-width:900px){.modePicker{grid-template-columns:1fr}.playerBox{grid-template-columns:1fr}.playerTag{grid-column:auto}}
@media(max-width:760px){.setupCard{padding:16px}.playerBox{padding:15px}.intro{padding:28px 0 22px}.intro h1{font-size:48px}.playlistLibraryBar{align-items:flex-start;flex-direction:column}.playlistLibraryBar button{padding:0}.modeChoice{min-height:0;padding:15px}.cardHead{margin-bottom:18px}}
.winnerButtons .playerWinner{display:grid;grid-template-columns:1fr auto auto;align-items:center;gap:12px;text-align:left}.winnerButtons kbd{min-width:27px;height:27px;display:grid;place-items:center;border:1px solid #555a54;border-bottom-width:2px;border-radius:6px;background:#141617;color:#bfc2bb;font:700 11px Arial}
.mobileRoundCard{display:none}.winnerArea{display:contents}
.duelControls{grid-template-columns:1fr 1fr 1.2fr 1fr 1fr;max-width:980px}.gameButtons .skipSong{border-color:#6c4b48;color:#ffaaa1}
.startModifier{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:18px;margin:0 0 18px;padding:16px 18px;border:1px solid var(--line);border-radius:15px;background:#121514}.startModifier>div:first-child{min-width:160px}.startModifier p{margin:7px 0 0;color:var(--muted);font-size:12px}.startPicker{display:grid;grid-template-columns:1fr 1fr;gap:10px}.modifierChoice{display:grid;gap:5px;text-align:left;border:1px solid #363a37;background:#191c1d;color:var(--ink);border-radius:12px;padding:13px 15px;cursor:pointer}.modifierChoice b{font-size:14px}.modifierChoice span{color:var(--muted);font-size:11px}.modifierChoice.active{border-color:var(--lime);box-shadow:inset 0 0 0 1px var(--lime);background:#192015}.modifierChoice.active b{color:var(--lime)}

@media(max-width:760px){.startModifier{grid-template-columns:1fr;padding:15px}.startPicker{grid-template-columns:1fr}}

@media(min-width:761px){
  html:has(body.compact-mobile-game),body.compact-mobile-game{height:100%;min-height:100%;overflow:hidden}
  body.compact-mobile-game .shell{height:100dvh;min-height:0;padding-bottom:12px;overflow:hidden}
  body.compact-mobile-game .topbar{height:62px;flex:0 0 62px}
  body.compact-mobile-game .scorebar{padding:8px 0;flex:0 0 auto}
  body.compact-mobile-game .duelGame{min-height:0;overflow:hidden}
  body.compact-mobile-game .roundTop{padding:5px 0 7px}
  body.compact-mobile-game .roundTop .eyebrow{margin:0 0 4px}
  body.compact-mobile-game .roundTop h1{font-size:clamp(28px,3vw,38px)}
  body.compact-mobile-game .stageRail{margin:0 auto 7px}
  body.compact-mobile-game .stageNode{height:4px}
  body.compact-mobile-game .duelAnswer{margin:0 auto;padding:14px 24px;border-radius:16px}
  body.compact-mobile-game .duelAnswer:before{width:150px;height:150px;border-width:24px;top:-72px}
  body.compact-mobile-game .trackName{font-size:clamp(26px,3.3vw,44px);margin:7px 0 5px}
  body.compact-mobile-game .artist{margin:0;font-size:16px}
  body.compact-mobile-game .pills{margin-top:8px}
  body.compact-mobile-game .pointsPill,body.compact-mobile-game .offsetPill{padding:5px 10px;font-size:11px}
  body.compact-mobile-game .listening{height:17px;margin:2px 0}
  body.compact-mobile-game .duelControls{gap:8px;margin:8px auto 0}
  body.compact-mobile-game .duelControls .button{min-height:48px;padding:10px 12px;font-size:13px}
  body.compact-mobile-game .winnerPrompt{margin:8px 0 5px}
  body.compact-mobile-game .winnerButtons{gap:8px;margin:0 auto}
  body.compact-mobile-game .winnerButtons .playerWinner{min-height:52px;padding:10px 14px;font-size:15px}
  body.compact-mobile-game .playerWinner b{font-size:18px}
  body.compact-mobile-game .duelGame>.notice.error{margin:6px auto 0;padding:7px 10px;max-width:980px;width:100%}
}

@media(max-width:760px){
  html:has(body.compact-mobile-game),body.compact-mobile-game{height:100%;min-height:100%;overflow:hidden;overscroll-behavior:none}
  body.compact-mobile-game{background:radial-gradient(circle at 78% 5%,#29351a 0,transparent 34%),var(--bg)}
  body.compact-mobile-game .shell{height:100dvh;min-height:0;max-width:none;padding:max(10px,env(safe-area-inset-top)) 12px max(10px,env(safe-area-inset-bottom));overflow:hidden}
  body.compact-mobile-game .topbar,
  body.compact-mobile-game .scorebar,
  body.compact-mobile-game .duelGame>.roundTop,
  body.compact-mobile-game .duelGame>.stageRail,
  body.compact-mobile-game .duelGame>.duelAnswer{display:none}
  body.compact-mobile-game .duelGame{height:100%;min-height:0;display:grid;grid-template-rows:max-content max-content max-content;align-content:space-between;gap:0}
  body.compact-mobile-game .mobileRoundCard{display:grid;align-content:center;gap:3px;width:100%;height:clamp(100px,14dvh,118px);padding:10px 15px;border:1px solid #414640;border-radius:16px;background:rgba(23,26,27,.95);overflow:hidden;position:relative}
  body.compact-mobile-game .mobileRoundCard:after{content:"";position:absolute;width:110px;height:110px;border:18px solid #c9ff3d0c;border-radius:50%;right:-42px;top:-58px;pointer-events:none}
  body.compact-mobile-game .mobileRoundMeta,
  body.compact-mobile-game .mobileRoundDetails{display:flex;align-items:center;justify-content:space-between;gap:10px;color:var(--lime);font-size:10px;font-weight:900;letter-spacing:.11em}
  body.compact-mobile-game .mobileRoundMeta strong{font-size:11px}
  body.compact-mobile-game .mobileRoundCard h2{margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:clamp(22px,7vw,31px);letter-spacing:-.045em;color:var(--ink)}
  body.compact-mobile-game .mobileTrackArtist{margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--lime);font:italic 13px Georgia,serif}
  body.compact-mobile-game .mobileRoundCard.hiddenTitle h2{color:#8d918a}
  body.compact-mobile-game .mobileRoundDetails{justify-content:flex-start;color:#b6bab2;letter-spacing:.06em}
  body.compact-mobile-game .mobileRoundDetails span+span{color:var(--lime);margin-left:auto}
  body.compact-mobile-game .duelGame>.notice.error{margin:0;padding:6px 9px;font-size:10px;line-height:1.25;max-height:38px;overflow:hidden}
  body.compact-mobile-game .duelControls{display:grid;grid-template-columns:1fr;gap:clamp(6px,1dvh,9px);width:100%;max-width:none;margin:0}
  body.compact-mobile-game .duelControls .button{min-height:clamp(54px,9.5dvh,82px);padding:0 15px;border-radius:13px;font-size:clamp(14px,4vw,18px)}
  body.compact-mobile-game .duelControls kbd{min-width:27px;height:27px}
  body.compact-mobile-game .winnerArea{display:grid;gap:clamp(7px,1.2dvh,11px);width:100%}
  body.compact-mobile-game .winnerPrompt{margin:0;text-align:center;font-size:clamp(10px,3.1vw,13px);line-height:1.15}
  body.compact-mobile-game .winnerButtons{display:grid;grid-template-columns:1fr;gap:clamp(6px,1dvh,9px);width:100%;max-width:none;margin:0;align-self:end}
  body.compact-mobile-game .winnerButtons .playerWinner{min-height:clamp(52px,8.3dvh,70px);padding:0 15px;border-radius:13px;font-size:clamp(15px,4.2vw,19px)}
  body.compact-mobile-game .playerWinner b{font-size:clamp(18px,5vw,23px)}
}
