body.host { height: 100vh; overflow: hidden; }
.screen { position: fixed; inset: 0; }
.muted { color: var(--muted); }
code { background: rgba(255, 255, 255, 0.08); padding: 1px 6px; border-radius: 6px; font-size: 0.9em; }

/* ── Lobby ─────────────────────────────────────────────────────────────── */
.lobby { display: flex; flex-direction: column; padding: 22px 28px 28px; gap: 20px; }
/* Logo on the left, "Playing with" in the middle of the screen, menu on the right. */
.topbar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; }
.brand { margin: 0; line-height: 0; justify-self: start; }
.brand-logo { height: clamp(56px, 8vh, 88px); width: auto; display: block; filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.35)); }
.topbar-right { display: flex; align-items: center; gap: 12px; justify-self: end; }
.conn { display: flex; align-items: center; gap: 8px; color: var(--bad); font-weight: 700; }
.mode { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.mode-label { color: var(--muted); font-weight: 800; font-size: 0.8rem; line-height: 1; text-transform: uppercase; letter-spacing: 0.1em; }
.seg.mode-seg button { font-size: 1.05rem; padding: 7px 16px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.mode-icon { width: 28px; height: 28px; flex: none; margin: -5px 0; filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.4)); }

/* Menu buttons: Songs (with its name), then the cog and full screen as icons. */
.menu-btn { display: inline-flex; align-items: center; gap: 8px; padding: 7px 18px 7px 12px; font-size: 1.05rem; }
.menu-btn img { width: 32px; height: 32px; margin: -6px 0; filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.4)); }
.icon-btn { width: 52px; height: 52px; padding: 0; display: grid; place-items: center; }
.icon-btn img { width: 34px; height: 34px; filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.4)); }
.icon-btn svg { width: 26px; height: 26px; fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 2px 0 var(--outline)); }
.menu-btn.on, .icon-btn.on { background: var(--accent-grad); color: var(--accent-ink); }
#open-controls img { transition: transform 0.4s cubic-bezier(0.3, 1.4, 0.5, 1); }
#open-controls.on img { transform: rotate(90deg); }

/* Real bells: the room rings handbells, so the ringers card lists the bells instead of phones. */
.bells-help { display: none; }
body.bells-mode .bells-help { display: grid; gap: 12px; }
body.bells-mode .ringers .player-list,
body.bells-mode #players-empty { display: none; }
.bells-help .chips { justify-content: flex-start; gap: 8px; }
.bells-help .chip { font-size: 1.35rem; padding: 6px 14px; }
.bells-help .chips.counted { gap: 16px 22px; padding: 11px 14px 0 0; }
.bells-help p { margin: 0; color: var(--muted); line-height: 1.45; }
.bells-help p b { color: var(--text); }
.bells-help .robot-line { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 4px 12px; padding: 10px 12px; border-radius: 18px; background: rgba(10, 2, 20, 0.3); }
.bells-help .robot-line .robot { grid-row: span 2; width: 52px; height: 52px; filter: drop-shadow(0 3px 2px rgba(0, 0, 0, 0.4)); }
.bells-help .robot-line .chip { font-size: 1.05rem; padding: 3px 11px; }
.inline-btn { white-space: nowrap; }
.inline-btn img { height: 1.35em; width: auto; vertical-align: -0.32em; margin-right: 3px; }

.lobby-grid {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(270px, 0.85fr) minmax(260px, 0.9fr) minmax(380px, 1.35fr);
  gap: 20px;
}
.lobby-grid .card { min-height: 0; overflow: auto; display: flex; flex-direction: column; gap: 14px; }
.card h2 { font-size: 1.1rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.1em; font-weight: 900; display: flex; align-items: center; gap: 10px; }

.join { align-items: center; text-align: center; }
.lobby-grid .card.join { overflow-x: hidden; }
.qr-wrap { background: #fff; border: 4px solid var(--outline); border-radius: 24px; padding: 12px; width: min(100%, 250px); aspect-ratio: 1; box-shadow: 0 6px 0 var(--outline), 0 18px 50px rgba(0, 0, 0, 0.35); }
.qr-wrap img { width: 100%; height: 100%; display: block; }
.join-steps { display: flex; flex-direction: column; gap: 4px; }
.join-url { font-weight: 800; font-size: 1.05rem; word-break: break-all; }
.room-code {
  font-size: clamp(3rem, 6.5vw, 5.4rem);
  font-weight: 900;
  letter-spacing: 0.14em;
  line-height: 1.05;
  padding-left: 0.14em;
}

.count { background: var(--accent-grad); color: var(--accent-ink); border: 2px solid var(--outline); border-radius: 999px; padding: 1px 10px; font-size: 0.95rem; letter-spacing: 0; }
.player-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.player {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(255, 255, 255, 0.06);
  animation: pop-in 0.35s cubic-bezier(0.2, 1.4, 0.4, 1);
}
.player.offline { opacity: 0.45; }
.player.ding { border-color: var(--accent); background: rgba(0, 204, 233, 0.14); }
@keyframes pop-in { from { transform: scale(0.85); opacity: 0; } to { transform: none; opacity: 1; } }
.avatar { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-weight: 900; background: var(--c); color: #fff; flex: none; border: 2px solid var(--outline); box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.35); }
.pname { font-weight: 800; font-size: 1.1rem; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chips { display: flex; flex-wrap: wrap; gap: 5px; justify-content: flex-end; }
.chips em { color: var(--faint); font-style: normal; font-size: 0.9rem; }
.kick { background: none; border: 0; color: var(--faint); cursor: pointer; font-size: 1rem; }
.empty { color: var(--muted); margin: 0; line-height: 1.45; }

.song-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 8px; }
.song {
  text-align: left;
  padding: 11px 13px;
  border-radius: 18px;
  border: 2px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.045);
  color: var(--text);
  font: inherit;
  cursor: pointer;
}
.song:hover { background: rgba(255, 255, 255, 0.08); }
.song.on { border-color: var(--accent); background: rgba(0, 204, 233, 0.14); box-shadow: 0 0 0 1px var(--accent) inset, 0 4px 0 var(--outline); }
.song b { display: block; font-size: 1rem; line-height: 1.25; }
.pack-head { grid-column: 1 / -1; margin: 10px 2px 0; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.pack-head:first-child { margin-top: 0; }
.song small { color: var(--muted); font-size: 0.8rem; }
.song.err small { color: var(--bad); }
/* Cloudflare: songs in a pack nobody in the room owns */
.song.locked { opacity: 0.55; border-style: dashed; }
.song.locked:hover { opacity: 0.75; }
.lock-note { margin-left: 6px; letter-spacing: 0.02em; text-transform: none; font-weight: 700; color: var(--faint); }
a.lock-note { color: var(--accent); font-weight: 800; text-decoration: none; }
a.lock-note:hover { text-decoration: underline; }
/* Custom Song: always last in the list; dashed like a drop zone. */
.song.custom-song { display: grid; grid-template-columns: auto 1fr; column-gap: 10px; align-items: center; border: 2px dashed rgba(168, 239, 250, 0.55); background: rgba(0, 204, 233, 0.06); }
.song.custom-song:hover { border-color: var(--accent); background: rgba(0, 204, 233, 0.12); }
.song.custom-song svg { grid-row: span 2; width: 30px; height: 30px; fill: none; stroke: var(--accent); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 2px 0 var(--outline)); }
a.song { text-decoration: none; }
.song.custom-song small { line-height: 1.3; }

/* Your bells: only for real bells. */
.my-bells { display: grid; gap: 10px; }
body:not(.bells-mode) .my-bells { display: none; }
.my-bells .options-head { margin-top: 0; }
.my-bells-note { margin: 0; color: var(--muted); font-size: 0.92rem; line-height: 1.4; }
.my-bells-note .robot { width: 26px; height: 26px; vertical-align: -0.45em; }

.tracks { display: grid; gap: 6px; }
.tracks-head { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); font-weight: 800; margin-top: 4px; }
.track-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 10px 8px 14px; border-radius: 18px; background: rgba(10, 2, 20, 0.3); }
.track-name { font-weight: 700; min-width: 0; }
.track-name small { display: block; color: var(--muted); font-weight: 500; font-size: 0.8rem; }
/* Segmented switches: a dark sunken track with a glossy pill for the choice. */
.seg { display: inline-flex; gap: 2px; background: rgba(10, 2, 20, 0.55); border: 3px solid var(--outline); border-radius: 999px; padding: 3px; flex: none; box-shadow: inset 0 3px 6px rgba(0, 0, 0, 0.35), 0 2px 0 rgba(255, 255, 255, 0.05); }
.seg button { border: 0; background: none; color: var(--muted); font: inherit; font-size: 0.85rem; font-weight: 800; padding: 5px 11px; border-radius: 999px; cursor: pointer; }
.seg button.on { background: linear-gradient(180deg, #6c3aa0, #47207a); color: var(--text); box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.24), 0 2px 0 var(--outline); }
.seg button.on[data-role='bells'], .seg.mode-seg button.on { background: var(--accent-grad); color: var(--accent-ink); box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.9), 0 2px 0 var(--outline); }
.warn { color: var(--bad); font-weight: 700; }

.options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; font-weight: 600; font-size: 0.95rem; }
.options-head { grid-column: 1 / -1; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); font-weight: 800; margin-top: 6px; }
.options label { display: flex; flex-direction: column; gap: 5px; color: var(--muted); }
.options label.check { flex-direction: row; align-items: center; gap: 9px; grid-column: 1 / -1; color: var(--text); font-weight: 600; }
.range { display: flex; align-items: center; gap: 10px; }
.range input { flex: 1; }
.range output { color: var(--text); min-width: 4.5em; text-align: right; font-variant-numeric: tabular-nums; }
.lobby-grid .card.setup { overflow: hidden; }
.start { align-self: stretch; font-size: 1.5rem; flex: none; }

/* The Songs and Controls panels open inside the song card, one at a time. */
.panel { flex: 1; min-height: 0; overflow: auto; display: flex; flex-direction: column; gap: 12px; margin: 0 -8px; padding: 4px 8px 8px; }
body:not([data-panel='songs']) .panel-songs,
body:not([data-panel='controls']) .panel-controls { display: none; }
body.tv-controls .now-who { display: none; }
@media (max-height: 860px) { body.tv-controls .now-credit, body.tv-controls .now-summary { display: none; } }
.panel-head { display: flex; align-items: center; gap: 8px; font-weight: 900; font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text); padding-top: 12px; border-top: 2px solid var(--line); }
.panel-head img { width: 28px; height: 28px; filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.4)); }
.panel-close { margin-left: auto; width: 32px; height: 32px; border-radius: 50%; border: 2px solid var(--outline); background: rgba(255, 255, 255, 0.08); color: var(--muted); font: inherit; font-weight: 900; cursor: pointer; }
.panel-close:hover { color: var(--text); background: rgba(255, 255, 255, 0.16); }

/* What's on: the room's view of the song, whoever is driving. */
.now-song { display: grid; gap: 10px; flex: none; }
.now-title { font-size: clamp(1.8rem, 3.2vw, 2.8rem); font-weight: 900; line-height: 1.1; letter-spacing: -0.02em; }
.now-credit { color: var(--muted); font-style: italic; margin-top: 2px; }
.now-info, .now-summary { color: var(--muted); font-weight: 600; }
.now-summary { font-size: 0.95rem; }
.now-chips { justify-content: flex-start; }
.now-chips .chip { font-size: 1.05rem; padding: 4px 12px; }
.now-who { color: var(--muted); line-height: 1.45; padding-top: 10px; border-top: 2px solid var(--line); }
.now-who b, .res-next b { color: var(--accent); }

/* The TV is a display unless its controls are switched on. */
body.host:not(.tv-controls) .tv-ctl { display: none !important; }

/* ── Stage ─────────────────────────────────────────────────────────────── */
.stage { background: radial-gradient(1000px 500px at 50% 100%, rgba(0, 204, 233, 0.08), transparent 70%); }
#highway { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hud { position: absolute; top: 0; left: 0; right: 0; display: flex; justify-content: space-between; align-items: flex-start; padding: 18px 26px; pointer-events: none; }
.hud > * { pointer-events: auto; }
.hud-title { font-size: 1.4rem; font-weight: 900; }
.progress { width: min(40vw, 420px); height: 10px; background: rgba(10, 2, 20, 0.55); border: 2px solid var(--outline); border-radius: 99px; margin-top: 8px; overflow: hidden; }
#hud-progress { height: 100%; width: 0; background: linear-gradient(90deg, #a8effa, var(--accent)); border-radius: 99px; }
.hud-right { display: flex; align-items: center; gap: 18px; }
.harmony { display: flex; flex-direction: column; align-items: flex-end; line-height: 1; }
.harmony span { font-size: 2.4rem; font-weight: 900; font-variant-numeric: tabular-nums; }
.harmony small { color: var(--muted); text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.72rem; font-weight: 800; margin-top: 4px; }
.countin { position: absolute; inset: 0; display: grid; place-items: center; font-size: 28vh; font-weight: 900; color: rgba(255, 255, 255, 0.9); pointer-events: none; text-shadow: 0 6px 0 var(--outline), 0 10px 60px rgba(0, 204, 233, 0.5); }
.countin.beat { animation: count 0.5s ease-out; }
@keyframes count { from { transform: scale(1.3); opacity: 0.2; } to { transform: scale(1); opacity: 1; } }
.stage.bells-mode .harmony { display: none; }

/* Lyrics: one long line of words scrolling right to left. The syllable being
   sung sits a third of the way across; words already sung stay bright. */
.stage { --lyrics-h: clamp(64px, 11vh, 120px); }
.lyrics {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: var(--lyrics-h);
  overflow: hidden;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(21, 8, 35, 0) 0%, rgba(21, 8, 35, 0.85) 38%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
}
.lyrics-track {
  position: absolute;
  left: 0;
  top: 58%;
  white-space: pre;
  font-size: clamp(26px, 4.6vh, 54px);
  font-weight: 800;
  letter-spacing: 0.01em;
  color: rgba(246, 242, 234, 0.42);
  will-change: transform;
}
.lyrics-track .sung { color: var(--text); }
.lyrics-track .now { color: var(--accent); text-shadow: 0 3px 0 var(--outline), 0 0 26px rgba(0, 204, 233, 0.6); }
.lyrics-track .gap { display: inline-block; width: 2.2em; text-align: center; color: var(--faint); }
.lyrics-track .gap.verse { width: 4em; }

/* ── Results ───────────────────────────────────────────────────────────── */
.results { overflow: auto; overflow-x: hidden; display: grid; place-items: center; padding: 40px; }
.results-inner { width: min(1200px, 100%); display: flex; flex-direction: column; align-items: center; gap: 22px; }
.results h1 { font-size: 2.2rem; text-align: center; }
.res-harmony { display: flex; flex-direction: column; align-items: center; line-height: 1; }
.res-harmony span { font-size: clamp(3.6rem, 10vh, 6rem); font-weight: 900; }
.res-harmony small { color: var(--muted); text-transform: uppercase; letter-spacing: 0.12em; font-weight: 800; margin-top: 8px; }
.res-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; width: 100%; }
.res-card { animation: pop-in 0.4s cubic-bezier(0.2, 1.4, 0.4, 1) both; }
.res-cards > .empty { grid-column: 1 / -1; text-align: center; font-size: 1.2rem; }
.res-card h3 { font-size: 1.3rem; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.res-card .acc { font-size: 1.8rem; color: var(--accent); font-weight: 900; }
.res-card .line { color: var(--muted); margin-top: 6px; font-size: 0.95rem; }
.res-card .chips { justify-content: flex-start; margin-top: 8px; }
.awards { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 8px; }
.awards:empty { display: none; }
.award-img { width: 76px; height: 76px; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.35)); }
.res-cards.waiting .res-card { visibility: hidden; animation: none; }

/* Award ceremony: a row of pedestals, each award popping on in turn. */
.podium {
  --n: 1;
  --s: min(clamp(110px, 21vh, 200px), calc((min(1200px, 100vw - 80px) - (var(--n) - 1) * 18px) / var(--n)));
  display: flex; justify-content: center; align-items: flex-end; gap: 18px; width: 100%;
  margin: 4px 0 6px;
}
.podium-slot { width: var(--s); display: flex; flex-direction: column; align-items: center; position: relative; }
.podium-slot .lift { position: relative; width: var(--s); height: var(--s); transition: transform 0.3s cubic-bezier(0.2, 1.4, 0.4, 1), opacity 0.3s; z-index: 2; }
.podium-slot .sticker { width: 100%; height: 100%; display: block; opacity: 0; transform: scale(0); filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.45)); }
.podium-slot .flash { position: absolute; inset: 8%; border-radius: 50%; opacity: 0; background: radial-gradient(circle, rgba(255, 236, 160, 0.95), rgba(255, 190, 80, 0.35) 45%, transparent 70%); }
.podium-slot.gold .flash { background: radial-gradient(circle, rgba(255, 245, 190, 1), rgba(255, 200, 60, 0.5) 45%, transparent 72%); }
.podium-slot .plinth {
  width: 92%; margin-top: -10px; padding: 16px 8px 10px; border-radius: 18px 18px 10px 10px; text-align: center;
  background: linear-gradient(180deg, #6c3aa0, #47207a); border: 3px solid var(--outline);
  box-shadow: inset 0 3px 0 rgba(255, 255, 255, 0.22), 0 5px 0 var(--outline), 0 12px 24px rgba(0, 0, 0, 0.3);
  font-weight: 900; font-size: clamp(0.95rem, 2.3vh, 1.35rem); color: #fff;
  opacity: 0; transform: translateY(30px) scaleY(0.3); transform-origin: bottom;
}
.podium-slot .plinth span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.podium-slot.gold .plinth { background: linear-gradient(180deg, #ffd977, #d6982b); color: #2b1900; padding-top: 26px; }
.podium-slot.final .plinth { padding-bottom: 16px; }
/* Harmonizers: the whole band's award, in the "Friends" cyan. */
.podium-slot.band .flash { background: radial-gradient(circle, rgba(235, 252, 255, 1), rgba(0, 204, 233, 0.5) 45%, transparent 72%); }
.podium-slot.band .plinth { background: var(--accent-grad); color: var(--accent-ink); padding-top: 26px; box-shadow: inset 0 3px 0 rgba(255, 255, 255, 0.9), 0 5px 0 var(--outline), 0 12px 30px var(--accent-glow); }

.podium-slot.in .plinth { animation: plinth-up 0.32s cubic-bezier(0.2, 1.5, 0.4, 1) forwards; }
.podium-slot.in .sticker { animation: sticker-pop 0.62s cubic-bezier(0.3, 0.7, 0.4, 1) 0.06s forwards; }
.podium-slot.in .flash { animation: flash 0.65s ease-out 0.08s; }
.podium.running .podium-slot.in:not(.focus) .lift { opacity: 0.72; transform: scale(0.9); }
.podium.running .podium-slot.focus .lift { transform: translateY(-8px) scale(1.22); z-index: 4; }
.podium.done .podium-slot .lift { animation: bob 2.6s ease-in-out var(--bob) infinite; }

.podium-slot .burst { position: absolute; left: 50%; top: 50%; pointer-events: none; }
.podium-slot .burst i {
  position: absolute; width: 11px; height: 11px; margin: -5.5px; border-radius: 3px; background: var(--c);
  font-style: normal; opacity: 0; animation: burst 0.75s cubic-bezier(0.15, 0.8, 0.3, 1) 0.1s forwards;
}
.podium-slot .burst i.star { background: none; color: var(--c); font-size: 22px; line-height: 11px; width: 11px; text-align: center; }

@keyframes plinth-up { to { opacity: 1; transform: none; } }
@keyframes sticker-pop {
  0% { opacity: 0; transform: translateY(40px) scale(0) rotate(-24deg); }
  40% { opacity: 1; transform: translateY(-22px) scale(1.2) rotate(9deg); }
  65% { transform: translateY(0) scale(0.93) rotate(-4deg); }
  82% { transform: scale(1.04) rotate(1.5deg); }
  100% { opacity: 1; transform: none; }
}
@keyframes flash { 0% { opacity: 0; transform: scale(0.3); } 25% { opacity: 1; } 100% { opacity: 0; transform: scale(1.7); } }
@keyframes burst {
  0% { opacity: 1; transform: rotate(var(--a)) translateY(0) scale(0.5); }
  70% { opacity: 1; }
  100% { opacity: 0; transform: rotate(var(--a)) translateY(calc(-1 * var(--d))) rotate(var(--spin)) scale(1); }
}
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-6px) rotate(1.5deg); } }
@media (prefers-reduced-motion: reduce) {
  .podium-slot.in .plinth, .podium-slot.in .sticker { animation-duration: 0.01s; animation-delay: 0s; }
  .podium-slot .flash, .podium-slot .burst { display: none; }
  .podium.done .podium-slot .lift { animation: none; }
}
.res-tip { background: linear-gradient(180deg, var(--panel-top), var(--panel-bot)); border: 3px solid var(--edge); border-radius: 22px; padding: 12px 16px; color: var(--muted); display: flex; gap: 12px; align-items: center; box-shadow: 0 5px 0 var(--outline); }
.res-actions { display: flex; gap: 14px; }
.res-next { margin: 0; color: var(--muted); font-size: 1.2rem; font-weight: 700; text-align: center; }
.res-next:empty { display: none; }

.sound-prompt {
  position: fixed;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  z-index: 40;
  background: linear-gradient(180deg, var(--panel-top), var(--panel-bot));
  border: 3px solid var(--bad);
  color: var(--text);
  font: inherit;
  font-weight: 800;
  font-size: 1.1rem;
  padding: 12px 22px;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 5px 0 var(--outline), 0 12px 40px rgba(0, 0, 0, 0.4);
}
.drop-overlay { position: fixed; inset: 0; background: rgba(21, 8, 35, 0.88); display: grid; place-items: center; z-index: 50; pointer-events: none; }
.drop-overlay div { border: 4px dashed var(--accent); border-radius: 32px; padding: 60px 80px; font-size: 2rem; font-weight: 900; color: var(--accent); }

@media (max-width: 1100px) {
  body.host { overflow: auto; height: auto; }
  .lobby { position: static; }
  .lobby-grid { grid-template-columns: 1fr; }
}
