:root{color-scheme:dark;--bg:#100c1a;--panel:#20172e;--line:#3b2d4e;--text:#f8f3ff;--muted:#bdb0ce;--accent:#cfabff}*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at top right,#312044 0,transparent 55%),var(--bg);color:var(--text);font:16px/1.5 system-ui,-apple-system,sans-serif;min-height:100vh}a{color:var(--accent);text-underline-offset:4px}header{max-width:1080px;margin:auto;padding:30px 28px;display:flex;align-items:center;justify-content:space-between;gap:20px;border-bottom:1px solid var(--line)}.brand{font-size:25px;font-weight:800;letter-spacing:-1px;color:var(--text);text-decoration:none}.brand span{display:block;font-size:11px;font-weight:400;letter-spacing:0;color:var(--muted)}nav{display:flex;gap:24px;font-size:14px}main{max-width:1000px;margin:auto;padding:44px 28px 70px}h1{font-size:clamp(30px,5vw,52px);line-height:1.12;letter-spacing:-1.5px;margin:12px 0 20px;overflow-wrap:anywhere}h2{font-size:21px;letter-spacing:-.4px;margin:0 0 14px}p{margin:10px 0 18px}.intro{color:var(--muted);max-width:640px;font-size:18px;margin-bottom:30px}.eyebrow{font-size:11px;font-weight:800;letter-spacing:2px;color:var(--accent);margin-bottom:14px}.card{background:var(--panel);border:1px solid var(--line);border-radius:20px;padding:26px;margin-bottom:24px}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:20px}.grid .card{margin:0 0 24px}.event-link{color:var(--text);text-decoration:none;transition:border-color .15s}.event-link:hover{border-color:var(--accent)}.event-link h2{margin:22px 0}.pill{display:inline-block;border:1px solid #66517f;border-radius:30px;font-size:12px;padding:5px 11px;color:#dac6f1}.narrow{max-width:560px}.inline{display:flex;gap:16px;align-items:end;flex-wrap:wrap}.grow{flex:1;min-width:150px}label{display:block;font-size:13px;color:var(--muted)}input{width:100%;padding:13px 15px;background:#120d1c;color:var(--text);border:1px solid #66517f;border-radius:10px;font:inherit;margin:7px 0 16px}button,.button{display:inline-block;border:0;border-radius:10px;background:var(--accent);color:#251434;padding:13px 18px;font:700 14px system-ui;cursor:pointer;text-decoration:none;white-space:nowrap}.inline>button{margin-bottom:16px}.secondary{background:#332642;color:#eadcfb;border:1px solid #66517f}button:hover,.button:hover{filter:brightness(1.1)}:focus-visible{outline:3px solid #ff8fd7;outline-offset:4px}.notice{padding:16px 20px;background:#322041;border-left:4px solid #dc9bff;border-radius:10px}.invitation{display:flex;gap:28px;align-items:center}.invitation>div{flex:1;min-width:0}.invitation img{border:10px solid white;border-radius:12px}.song{display:flex;align-items:center;gap:16px;padding:20px 0;border-bottom:1px solid var(--line)}.song:last-child{border:0}.song strong{overflow-wrap:anywhere}.song p{font-size:14px;color:var(--muted);margin:4px 0}.song .muted{font-size:12px}.rank{color:var(--muted);width:22px}.muted{color:var(--muted)}details{margin:22px 0;color:var(--muted)}summary{cursor:pointer;color:var(--accent)}details p{margin-top:16px}footer{text-align:center;font-size:12px;color:var(--muted);padding:20px;border-top:1px solid var(--line)}.empty{padding:20px 0;color:var(--muted)}@media(max-width:600px){header{padding:22px 18px}nav{gap:14px}.brand span{max-width:160px}main{padding:30px 18px 50px}.card{padding:20px}.invitation{flex-direction:column;align-items:stretch}.invitation img{align-self:center}.song{gap:10px}.song button{padding:12px}.song .grow{min-width:0}.grid{grid-template-columns:1fr}}
body.host-theme{--bg:#0b1323;--panel:#152238;--line:#2c405b;--muted:#b0bfd3;--accent:#efc477;background:radial-gradient(ellipse at top right,#233552 0,transparent 55%),var(--bg)}.host-theme input{background:#0b1425;border-color:#4d6180}.host-theme .pill{color:#f0d5a5;border-color:#786747}.host-theme button,.host-theme .button{color:#30220b}.host-theme .secondary{background:#26354a;color:#f3dfbb;border-color:#66738a}.host-theme .notice{background:#293449;border-color:#efc477}
button:disabled{opacity:.45;cursor:wait}
.event-dashboard>header{padding:12px 20px}.event-dashboard>header .brand{font-size:18px}.event-dashboard>header .brand span{display:none}.event-dashboard>header nav{font-size:12px}.event-dashboard main{max-width:840px;padding-top:22px;padding-bottom:100px}.event-dashboard h1{font-size:clamp(26px,4vw,36px);margin:4px 0 12px;letter-spacing:-.8px}.event-heading{display:flex;justify-content:space-between;gap:12px;align-items:center}.event-heading .eyebrow{margin:16px 0 3px}.event-heading .pill{white-space:nowrap;font-size:11px}.back-link{font-size:13px}.event-presence{font-size:12px;color:var(--muted);margin-bottom:20px}.status-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#8895a8;margin-right:7px}.status-dot.online{background:#85d6ad}.notice.compact{font-size:13px;margin:10px 0;padding:12px}.event-tabs{position:fixed;z-index:20;bottom:0;left:0;right:0;display:flex;justify-content:center;gap:0;background:#0e192b;border-top:1px solid #3d4a61;padding:8px 8px calc(8px + env(safe-area-inset-bottom))}.event-tabs a{flex:1;max-width:150px;text-align:center;padding:14px 3px;color:#afbdd2;text-decoration:none;font-size:13px;font-weight:700;border-radius:10px}.event-tabs a[aria-current=page]{color:#efc477;background:#293548}.event-dashboard .card{padding:20px;margin-bottom:16px}.quick-controls{display:flex;flex-wrap:wrap;gap:10px;margin:12px 0 18px}.quick-controls button{min-height:44px}.now-playing{background:linear-gradient(120deg,#1c304a,#152238)}.now-playing h2{font-size:24px}.now-playing .eyebrow{margin:0 0 10px}.queue-filters{display:flex;align-items:end;gap:10px;flex-wrap:wrap}.queue-filters label{flex:1;min-width:120px}.queue-filters button{margin-bottom:16px}select{display:block;width:100%;padding:13px 10px;margin:7px 0 16px;border-radius:10px;border:1px solid #4d6180;background:#0b1425;color:var(--text);font:inherit}.guest-card{margin:0;border-top:1px solid var(--line)}.guest-card>summary{display:flex;align-items:center;gap:12px;list-style:none;padding:18px 0;color:var(--text);min-height:68px}.guest-card summary::-webkit-details-marker{display:none}.guest-card summary .grow{min-width:0}.guest-card summary strong{overflow-wrap:anywhere}.guest-card small{display:block;font-size:12px;font-weight:400;color:var(--muted);margin-top:4px}.avatar{display:flex;justify-content:center;align-items:center;flex-shrink:0;width:38px;height:38px;background:#32435b;color:#f0d3a4;border-radius:50%;font-weight:700}.guest-content{padding:0 0 20px}.guest-content .muted{font-size:13px}.guest-content label input{font-size:16px}.guest-content>details{padding:14px;background:#101b2b;border-radius:12px}.guest-actions p{font-size:13px}.check{display:flex;align-items:center;gap:10px;margin:16px 0}.check input{width:22px;height:22px;margin:0;flex-shrink:0}.playlist-form{border-top:1px solid var(--line);padding-top:18px;margin-top:18px}.song-menu{position:relative;margin:0;align-self:flex-start}.song-menu>summary{list-style:none;padding:12px;min-width:44px;text-align:center}.song-menu form{display:flex;flex-direction:column;gap:8px;position:absolute;right:0;top:44px;z-index:10;background:#24334a;border:1px solid #4d6180;padding:10px;border-radius:12px;box-shadow:0 10px 25px #0007}.score{font-size:23px;color:var(--accent)}.switch-now{margin:0;max-width:240px;font-size:13px}.switch-now>summary{padding:13px;min-height:44px}.preview-list{margin-top:20px}.chat-message{border-top:1px solid var(--line);padding:15px 0}.chat-message p{white-space:pre-wrap}.override>summary{min-height:26px}.event-dashboard footer{display:none}@media(max-width:600px){.event-dashboard main{padding:18px 14px 100px}.event-dashboard .card{padding:17px}.event-heading{align-items:flex-start}.event-heading .pill{margin-top:28px}.event-dashboard>header{padding:12px 16px}.event-tabs a{font-size:12px}.event-heading h1{max-width:245px}.queue-filters label{min-width:100px}.queue-filters button{padding:13px 12px}.guest-content .quick-controls{flex-direction:column}.song-menu form{min-width:160px}}
/* Guest event navigation keeps the original six destinations within thumb reach. */
.guest-theme .guest-tabs{grid-template-columns:repeat(6,minmax(0,1fr));background:#22142c;border-color:#684077}
.guest-theme .guest-tabs a{padding:16px 2px;font-size:12px;min-width:0;color:#d9bde2}
.guest-theme .guest-tabs a[aria-current]{background:#482451;color:#ffb5df}
.guest-theme textarea{display:block;width:100%;box-sizing:border-box;padding:12px;border:1px solid #684077;border-radius:12px;background:#22142c;color:inherit;font:inherit;margin:8px 0 12px;resize:vertical}
.guest-theme .chat-message p{white-space:pre-wrap;overflow-wrap:anywhere}
.guest-theme .song{flex-wrap:wrap}
.guest-theme .song .grow{min-width:110px;overflow-wrap:anywhere}
.guest-theme .song-menu{width:100%}
/* Match the original guest queue: compact reactions and a trailing options menu. */
.guest-theme .queue-heading{display:flex;align-items:baseline;justify-content:space-between;margin-bottom:12px}
.guest-theme .queue-heading h2{margin:0}
.guest-theme .queue-card{border-bottom:1px solid var(--line)}
.guest-theme .queue-card:last-child{border:0}
.guest-theme .guest-queue-song{flex-wrap:nowrap;gap:8px;border:0;padding:17px 0}
.guest-theme .guest-queue-song .rank{flex:0 0 20px;font-size:11px}
.guest-theme .guest-queue-song .song-info{min-width:0;flex:1}
.guest-theme .song-title-line{display:flex;align-items:center;gap:5px;font-size:13px}
.guest-theme .guest-queue-song p{font-size:11px}
.guest-theme .song-nominator{font-size:10px!important}
.guest-theme .reaction-form{flex:0 0 84px}
.guest-theme .song-reaction{width:84px;min-height:48px;padding:8px 5px;border:1px solid var(--line);background:transparent;color:var(--text);border-radius:8px}
.guest-theme .song-reaction.active{background:var(--accent);color:#251434;border-color:var(--accent)}
.guest-theme .reaction-count,.guest-theme .reaction-label{display:block}
.guest-theme .reaction-count{font-size:14px}.guest-theme .reaction-label{font-size:9px;margin-top:3px}
.guest-theme .move-top{font-size:11px}.guest-theme button:disabled{cursor:default}
.guest-theme .guest-queue-song .song-menu{width:32px;flex:0 0 32px;align-self:center;margin:0}
.guest-theme .song-menu>summary{padding:0;min-width:32px;width:32px;min-height:44px;display:grid;place-items:center;font-size:22px;list-style:none}
.guest-theme .song-menu>summary::-webkit-details-marker{display:none}
.guest-theme .song-menu-items{position:absolute;right:0;top:100%;z-index:10;width:170px;background:#22142c;border:1px solid var(--line);border-radius:8px;padding:6px;box-shadow:0 8px 24px #0005}
.guest-theme .song-menu-items form{position:static;display:block;min-width:0;padding:0;border:0;background:none;box-shadow:none}
.guest-theme .song-menu-items button,.guest-theme .song-menu-items a{display:block;width:100%;box-sizing:border-box;text-align:left;min-height:44px;padding:11px 12px;border:0;border-radius:6px;background:none;color:var(--text);font-size:12px;text-decoration:none;white-space:normal}
.guest-theme .song-menu-items .delete-song{color:#f4b5a2}
.guest-theme .song-voters{font-size:12px;color:var(--muted);padding:0 12px 14px 28px;margin:0;overflow-wrap:anywhere}
.guest-theme .notes-indicator{display:inline-grid;place-items:center;flex:0 0 17px;width:17px;height:17px;border:1px solid var(--accent);border-radius:50%;font-size:10px;text-decoration:none}
.notes-dialog{width:min(540px,calc(100vw - 32px));max-height:85vh;box-sizing:border-box;background:#22142c;color:var(--text);border:1px solid var(--line);border-radius:16px;padding:20px;overflow:auto}
.notes-dialog::backdrop{background:#0009}.notes-dialog main{padding:12px 0 0}.notes-dialog h1{font-size:25px}.notes-dialog .card{padding:16px}.notes-close{float:right;background:transparent;color:var(--text);font-size:24px;padding:4px 12px}
/* Remaining guest panels follow the original compact room UI. */
.guest-theme .player-context{font-size:12px;color:var(--muted)}
.guest-player{display:flex;align-items:center;gap:20px;background:#30273f;border:1px solid var(--line);border-radius:16px;padding:22px;margin:0 0 20px}
.record{flex:0 0 74px;height:74px;border-radius:50%;display:grid;place-items:center;background:repeating-radial-gradient(circle,#393040 0,#393040 2px,#19151f 3px,#19151f 5px)}
.record span{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:var(--accent);color:#251434;font-size:11px;font-weight:800}
.playing-info{flex:1;min-width:0}.playing-info h2{font-size:20px;margin:6px 0}.playing-info>p{font-size:12px;margin:4px 0;color:var(--muted)}.playing-info .eyebrow{font-size:9px;color:var(--accent)}
.playing-feedback{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin-top:12px;font-size:11px;color:var(--muted)}
.guest-theme .love-song{background:transparent;color:var(--text);border:1px solid var(--line);padding:8px 10px;font-size:12px}.guest-theme .love-song.active{background:var(--accent);color:#251434}.playing-feedback .song-menu{width:32px;margin:0}
.tab-heading{display:flex;align-items:center;gap:12px;margin-bottom:14px}.tab-heading h2{margin:0}.tab-help{position:relative;margin:0}.tab-help summary{display:grid;place-items:center;border:1px solid var(--line);border-radius:50%;width:24px;height:24px;list-style:none;font-size:12px}.tab-help summary::-webkit-details-marker{display:none}.tab-help p{position:absolute;z-index:11;right:-16px;top:20px;width:min(260px,65vw);padding:16px;border:1px solid var(--line);border-radius:10px;background:#30273f;font-size:12px;box-shadow:0 8px 24px #0005}
.search-tagline{font-size:13px;color:var(--muted);margin:0 0 10px}.guest-search-box{display:flex;gap:8px;align-items:center}.guest-search-box input{margin:0;min-width:0;flex:1;font-size:16px}.guest-search-box button{font-size:22px;padding:8px 15px;min-height:46px}.guest-search>.muted{font-size:12px}.search-results{margin-top:16px}.search-results button{padding:10px 12px;font-size:12px}
.tuner-card{margin:8px 0;border:1px solid var(--line);border-radius:10px;overflow:hidden}.tuner-card>summary{list-style:none;padding:12px 14px;color:var(--text)}.tuner-card>summary::-webkit-details-marker{display:none}.tuner-top{display:flex;gap:10px;align-items:center}.tuner-top>.muted{font-size:12px}.tuner-top .grow{min-width:0;font-size:15px;overflow-wrap:anywhere}.tuner-top small{display:block;font-size:10px;color:var(--muted);font-weight:400}.guest-theme .tuner-top .avatar{width:34px;height:34px;background:#30273f;color:var(--accent)}.tuner-iq{display:flex;flex-direction:column;text-align:right;font-size:11px;color:var(--muted)}.tuner-iq strong{font-size:28px;color:var(--accent)}.tuner-expand{display:block;font-size:10px;color:var(--muted);margin-top:6px}.tuner-expand::after{content:' ▾'}.tuner-card[open] .tuner-expand::after{content:' ▴'}.tuner-breakdown{border-top:1px solid var(--line);padding:0 14px 14px;font-size:12px}.tuner-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.tuner-stats dt{font-size:10px}.tuner-stats dd{font-size:18px;margin:5px 0;color:var(--text)}
.chat-log{height:280px;overflow:auto;overscroll-behavior:contain;border:1px solid var(--line);border-radius:8px;padding:14px;overflow-anchor:none}.chat-log .chat-message:first-child{border:0}.chat-log .chat-message{padding:12px 0}.chat-log .chat-message strong,.chat-log small{font-size:11px;color:var(--muted)}.chat-log .chat-message p{font-size:13px;margin:6px 0}.chat-composer{display:flex;gap:8px;margin-top:12px}.chat-composer input{margin:0;flex:1;width:0;font-size:16px}.chat-composer button{padding:10px 14px}.text-action{background:none;color:var(--accent);padding:10px 0;font-size:12px}.text-action[hidden]{display:none}
.guest-invite>img{display:block;width:min(280px,100%);height:auto;border:10px solid white;border-radius:12px;box-sizing:border-box;margin:22px auto}.guest-invite>.muted{font-size:12px}.share-actions{display:flex;gap:10px;flex-wrap:wrap}.guest-more details{margin:14px 0}.guest-more>p{font-size:13px}
@media(max-width:420px){.guest-player{gap:12px;padding:16px}.record{flex-basis:54px;height:54px}.playing-info h2{font-size:17px}.playing-feedback{gap:6px}}
.guest-theme .guest-tabs a{display:flex;flex-direction:column;align-items:center;gap:5px;padding:8px 2px;font-size:11px}.guest-tabs svg{width:22px;height:22px;flex-shrink:0}.guest-timeline{display:flex;gap:8px;align-items:center;margin-top:12px}.guest-timeline progress{min-width:0;flex:1;height:4px;accent-color:var(--accent)}.guest-timeline span{font-size:9px;color:var(--muted);white-space:nowrap}
.profile-portrait{object-fit:cover;border-radius:50%}
body.guest-theme[data-theme=mint]{--bg:#101c22;--panel:#223841;--line:#627f89;--text:#f7fdff;--muted:#cfdfe4;--accent:#82f2d0;background:var(--bg)}
body.guest-theme[data-theme=day]{--bg:#fff8f0;--panel:#ffffff;--line:#b5a6bf;--text:#2a1838;--muted:#63536d;--accent:#6c2dc5;background:var(--bg);color-scheme:light}
.guest-theme[data-theme] :is(input,select,textarea,.guest-player,.song-menu-items,.tab-help p,.notes-dialog){background:var(--panel);color:var(--text);border-color:var(--line)}
.guest-theme[data-theme] .guest-tabs{background:var(--panel);border-color:var(--line)}.guest-theme[data-theme] .guest-tabs a{color:var(--muted)}.guest-theme[data-theme] .guest-tabs a[aria-current]{background:var(--bg);color:var(--accent)}
.guest-theme[data-theme=day] :is(button,.button){color:white}.guest-theme[data-theme=day] :is(.secondary,.song-reaction,.text-action,.song-menu-items button,.notes-close){color:var(--text)}.guest-theme[data-theme=day] :is(.song-reaction.active,.love-song.active){color:white}
.guest-theme[data-theme=day] :is(.secondary,.notice,.pill){background:var(--panel);color:var(--text);border-color:var(--line)}.guest-theme[data-theme=day] .record span{color:white}.guest-theme[data-theme=day] .song-menu-items a{color:var(--text)}
.song .rank{display:flex;flex-direction:column;gap:4px;flex:0 0 48px;width:48px;font-size:11px;align-self:center}.guest-theme .guest-queue-song .rank{flex-basis:48px}.queue-start-time{font-size:9px;color:var(--muted);white-space:nowrap;font-variant-numeric:tabular-nums}.host-theme .host-vote-count{margin-left:auto;flex:0 0 84px;padding:8px 5px;border:1px solid var(--line);background:transparent;color:var(--text);opacity:1;cursor:default}.host-vote-count span,.host-vote-count small{display:block}.host-vote-count small{font-size:9px;margin-top:3px}
