:root {
  --bg: #070010;
  --magenta: #ff2bd6;
  --cyan: #39f3ff;
  --yellow: #ffe14a;
  --lime: #c6ff4a;
  --ink: #140018;
  --paper: #fff6df;
  --danger: #ff3355;
  --line: rgba(255, 246, 223, 0.16);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; background: var(--bg); }
body {
  color: var(--paper);
  font-family: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  letter-spacing: 0.02em;
  overflow-x: hidden;
}
button, input { font: inherit; touch-action: manipulation; }
button { cursor: pointer; }
[hidden] { display: none !important; }
::selection { background: var(--magenta); color: white; }

#scene {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 120%, rgba(255, 43, 214, 0.28), transparent 46%),
    radial-gradient(ellipse at 50% 0%, rgba(57, 243, 255, 0.12), transparent 42%),
    var(--bg);
  overflow: hidden;
}
.sun {
  position: absolute;
  width: min(48vw, 540px);
  height: min(48vw, 540px);
  left: 50%;
  bottom: 8%;
  transform: translateX(-50%);
  border-radius: 50%;
  background: repeating-linear-gradient(
    to bottom,
    #ff2bd6 0 10px,
    #ff7a32 10px 16px,
    #ffe14a 16px 22px,
    transparent 22px 30px
  );
  mask-image: linear-gradient(#000 20%, transparent 72%);
  opacity: 0.8;
}
.grid {
  position: absolute;
  left: -60%;
  right: -60%;
  bottom: -20%;
  height: 58%;
  background-image:
    linear-gradient(rgba(255, 43, 214, 0.45) 1px, transparent 1px),
    linear-gradient(90deg, rgba(57, 243, 255, 0.28) 1px, transparent 1px);
  background-size: 90px 46px;
  transform: perspective(420px) rotateX(68deg);
  mask-image: linear-gradient(transparent, #000 28%, #000);
  animation: gridmove 1.1s linear infinite;
}
@keyframes gridmove {
  to { background-position: 0 46px, 0 0; }
}
.scanlines, .vignette, .tracking { position: absolute; inset: 0; }
.scanlines {
  background: repeating-linear-gradient(to bottom, rgba(0, 0, 0, 0.18) 0 1px, transparent 1px 3px);
  mix-blend-mode: multiply;
  opacity: 0.45;
}
.vignette {
  background: radial-gradient(ellipse at center, transparent 45%, rgba(0, 0, 0, 0.62) 100%);
}
.tracking {
  height: 70px;
  inset: auto 0 auto 0;
  background: linear-gradient(rgba(255, 255, 255, 0.05), transparent);
  animation: tracking 8.5s linear infinite;
}
@keyframes tracking {
  from { top: -20%; }
  to { top: 120%; }
}

#app { position: relative; z-index: 1; min-height: 100dvh; }
#flash {
  position: fixed;
  inset: 0;
  z-index: 30;
  pointer-events: none;
  opacity: 0;
}
#flash.bad.go { animation: flashbad 0.45s ease; }
#flash.good.go { animation: flashgood 0.6s ease; }
@keyframes flashbad {
  0% { background: transparent; opacity: 0; }
  15% { background: var(--danger); opacity: 0.45; }
  100% { opacity: 0; }
}
@keyframes flashgood {
  0% { background: transparent; opacity: 0; }
  18% { background: var(--yellow); opacity: 0.38; }
  100% { opacity: 0; }
}
#toast {
  position: fixed;
  z-index: 60;
  top: 16px;
  left: 50%;
  transform: translate(-50%, -160%);
  max-width: min(92vw, 560px);
  padding: 12px 16px;
  text-align: center;
  background: #140018;
  color: var(--yellow);
  border: 2px solid var(--magenta);
  box-shadow: 0 0 24px rgba(255, 43, 214, 0.45);
  font-family: "Russo One", Impact, sans-serif;
  letter-spacing: 0.04em;
  transition: transform 0.25s ease;
}
#toast.show { transform: translate(-50%, 0); }
#tap {
  position: fixed;
  z-index: 40;
  left: 50%;
  top: 46%;
  transform: translate(-50%, -50%);
  width: min(640px, calc(100vw - 32px));
  padding: 28px 18px;
  border: 3px solid #fff2a8;
  background: linear-gradient(#ffe14a, #ff8a00);
  color: #1a0a00;
  font-family: "Russo One", Impact, sans-serif;
  font-size: clamp(28px, 5vw, 48px);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 0 0 4px #1a0a00, 0 0 40px rgba(255, 225, 74, 0.55);
}

.logo {
  position: relative;
  margin: 0;
  font-family: Monoton, "Arial Black", Impact, sans-serif;
  font-weight: 400;
  font-size: clamp(64px, 11vw, 132px);
  line-height: 0.9;
  letter-spacing: 0.04em;
  background: linear-gradient(180deg, #fff6c2 0%, #ffe14a 30%, #ff8a00 48%, #fff 52%, #39f3ff 80%, #ff2bd6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 10px rgba(255, 43, 214, 0.8)) drop-shadow(0 0 18px rgba(57, 243, 255, 0.45));
}
.logo::before, .logo::after {
  content: attr(data-text);
  position: absolute;
  left: 0;
  top: 0;
  z-index: -1;
  color: transparent;
}
.logo.small { font-size: clamp(28px, 4vw, 48px); }
.eyebrow, .showsmall, .fm, .joinhint, .kicker, .pstatus, .readycount {
  font-family: "Russo One", Impact, sans-serif;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.eyebrow { color: var(--cyan); margin: 0 0 8px; }
.showtitle { margin: 8px 0 0; }
.showtitle span {
  display: inline-block;
  padding: 6px 14px;
  background: var(--yellow);
  color: var(--ink);
  font-family: "Russo One", Impact, sans-serif;
  letter-spacing: 0.18em;
  transform: skewX(-10deg);
}
.showsmall { color: var(--yellow); font-size: 13px; letter-spacing: 0.14em; }
.tag, .listen, .hint, .waiting, .startnote { color: rgba(255, 246, 223, 0.82); font-size: 22px; }
.tag { max-width: 36rem; }

.home {
  min-height: 100dvh;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 36px;
  align-items: center;
  padding: 48px clamp(20px, 5vw, 72px);
}
.panel, .lobby-side, .lower, .results-side {
  background: rgba(12, 0, 20, 0.78);
  border: 3px solid var(--magenta);
  box-shadow: 0 0 0 3px #120018, 0 0 0 6px var(--cyan), 0 0 32px rgba(255, 43, 214, 0.28);
  padding: 22px;
}
label { display: block; margin-bottom: 8px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cyan); }
input[type="text"], input:not([type]), #code, #name, #guess {
  width: 100%;
  margin-bottom: 14px;
  padding: 12px 14px;
  border: none;
  border-bottom: 3px solid var(--magenta);
  background: transparent;
  color: var(--cyan);
  font-family: "Russo One", Impact, sans-serif;
  font-size: 32px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
#code, #name, #guess { color: var(--paper); caret-color: var(--cyan); }
#code::placeholder, #name::placeholder, #guess::placeholder { color: rgba(255, 246, 223, 0.38); }
#code { font-size: clamp(40px, 8vw, 64px); text-align: center; }
input:focus { outline: none; border-bottom-color: var(--yellow); }
.primary, .cta-host, .cta-join {
  width: 100%;
  border: 3px solid #fff2a8;
  background: linear-gradient(#ffe14a, #ff8a00);
  color: #1a0a00;
  font-family: "Russo One", Impact, sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 16px 18px;
  box-shadow: 0 0 0 3px #1a0a00, 0 0 24px rgba(255, 225, 74, 0.35), inset 0 -6px 0 rgba(0, 0, 0, 0.25);
}
.primary:hover, .cta-host:hover, .cta-join:hover { transform: translateY(-1px); }
.primary:active, .cta-host:active, .cta-join:active { transform: translateY(2px); }
button:disabled { filter: grayscale(0.55) brightness(0.8); cursor: not-allowed; transform: none; }
.textbtn {
  background: transparent;
  color: var(--cyan);
  border: none;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: "Russo One", Impact, sans-serif;
  padding: 8px;
}
.steps { margin: 18px 0 0; padding-left: 18px; color: var(--paper); font-size: 20px; }
.steps li + li { margin-top: 4px; }

.cassette { margin-top: 28px; width: min(360px, 80%); }
.tape {
  background: linear-gradient(#2a1038, #120018);
  border: 3px solid var(--cyan);
  padding: 16px;
  box-shadow: 8px 8px 0 #ff2bd6;
}
.tape .window {
  height: 72px;
  background: #070010;
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin-bottom: 10px;
}
.tape i, .tape i::after {
  width: 46px;
  height: 46px;
  border: 4px solid var(--yellow);
  border-radius: 50%;
  display: block;
  animation: spin 1.8s linear infinite;
}
.tape b { letter-spacing: 0.14em; color: var(--yellow); }

body[data-mode="host"] { overflow: hidden; }
.tv {
  height: 100dvh;
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  padding: 16px 22px 14px;
  gap: 8px;
  overflow: hidden;
}
.topbar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
}
.roomlock { justify-self: end; text-align: right; }
.tunecenter {
  font-family: "Russo One", Impact, sans-serif;
  letter-spacing: 0.16em;
  color: var(--paper);
  font-size: clamp(18px, 2vw, 28px);
}
.roomcode {
  font-family: "Russo One", Impact, sans-serif;
  font-size: clamp(36px, 5vw, 72px);
  line-height: 0.85;
  color: var(--yellow);
  letter-spacing: 0.12em;
  text-shadow: 0 0 16px rgba(255, 225, 74, 0.45);
}
.joinhint { color: var(--cyan); font-size: 13px; }
.subbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  color: var(--cyan);
  font-size: 13px;
}
.vol { display: flex; align-items: center; gap: 8px; margin: 0; letter-spacing: 0.12em; }
input[type="range"] { width: 120px; accent-color: var(--magenta); }
.onair {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--danger);
  font-family: "Russo One", Impact, sans-serif;
  letter-spacing: 0.16em;
}
.onair i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--danger);
  box-shadow: 0 0 10px var(--danger);
  animation: blink 1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

.stage { min-height: 0; overflow: auto; }
.lobby {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 22px;
  height: 100%;
}
.lobby-main, .lobby-side { min-height: 0; }
.lobby-main { display: flex; flex-direction: column; justify-content: center; }
.joinat { letter-spacing: 0.12em; text-align: center; color: var(--cyan); }
.joinat strong { color: var(--paper); }
.codeboxes { display: flex; justify-content: center; gap: 12px; margin: 8px 0 18px; }
.codeboxes span {
  width: clamp(64px, 8vw, 108px);
  height: clamp(78px, 10vw, 128px);
  display: grid;
  place-items: center;
  background: var(--yellow);
  color: var(--ink);
  font-family: "Russo One", Impact, sans-serif;
  font-size: clamp(42px, 6vw, 78px);
  box-shadow: 0 0 0 3px var(--magenta), 0 0 24px rgba(255, 225, 74, 0.35);
}
.lobby-tools { display: flex; gap: 18px; align-items: center; justify-content: center; }
#qr { background: var(--yellow); padding: 8px; }
.crate { max-width: 360px; }
.crate-count {
  margin: 0 0 6px;
  font-family: "Russo One", Impact, sans-serif;
  letter-spacing: 0.08em;
  color: var(--lime);
}
.path { display: block; color: var(--yellow); overflow-wrap: anywhere; user-select: text; }
.hint { font-size: 18px; }
.lobby-side { display: flex; flex-direction: column; gap: 12px; overflow: auto; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  background: transparent;
  color: var(--cyan);
  border: 2px solid var(--cyan);
  padding: 10px 12px;
  font-family: "Russo One", Impact, sans-serif;
  letter-spacing: 0.06em;
}
.chip:hover { background: rgba(57, 243, 255, 0.12); }
.chip.on { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }
.chip.static { pointer-events: none; opacity: 0.9; }
button.chip { cursor: pointer; }
.minor { display: flex; flex-wrap: wrap; gap: 8px; }
.readycount { margin: 0 0 8px; color: var(--yellow); }
.roster { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.roster li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 28px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.roster li i {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--c);
  box-shadow: 0 0 10px var(--c);
}
.roster li.ghost { opacity: 0.45; }
.waiting { margin: 0; }
.crateline {
  margin: 0;
  letter-spacing: 0.14em;
  color: var(--yellow);
  font-family: "Russo One", Impact, sans-serif;
}

.introstage, .cluestage, .bidstage, .finalstage, .phone-body.center { text-align: center; }
.introstage, .cluestage, .bidstage { display: grid; align-content: center; justify-items: center; gap: 12px; }
.countdown {
  font-family: "Russo One", Impact, sans-serif;
  font-size: clamp(120px, 22vw, 260px);
  line-height: 0.8;
  color: var(--cyan);
  text-shadow: 0 0 24px rgba(57, 243, 255, 0.6);
}
.introstage h2, .cluestage h2, .champ, .phone h1, .lower h2 {
  margin: 0;
  font-family: "Russo One", Impact, sans-serif;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.introstage h2, .cluestage h2 { font-size: clamp(36px, 5vw, 64px); }
.cluecard, .clueecho {
  max-width: 42rem;
  margin: 0 auto;
  padding: 18px 22px;
  border: 2px solid rgba(255, 225, 74, 0.55);
  background: rgba(20, 0, 24, 0.55);
  color: var(--yellow);
  font-size: clamp(22px, 2.6vw, 34px);
  line-height: 1.35;
  text-wrap: pretty;
}
.clueecho { border-color: rgba(57, 243, 255, 0.35); color: #fff; font-size: clamp(18px, 2vw, 24px); }
.bidbig {
  font-family: "Russo One", Impact, sans-serif;
  font-size: clamp(120px, 22vw, 260px);
  line-height: 0.8;
  color: var(--pink);
  text-shadow: 0 0 24px rgba(255, 61, 138, 0.55);
}
.bidunit {
  margin: 0;
  letter-spacing: 0.2em;
  color: var(--cyan);
  font-family: "Russo One", Impact, sans-serif;
}
.bidhold { margin: 0; font-size: clamp(22px, 2.4vw, 32px); }
.bidhold em { color: var(--yellow); font-style: normal; }
.playbanner {
  margin: 0;
  text-align: center;
  font-family: "Russo One", Impact, sans-serif;
  letter-spacing: 0.08em;
  color: var(--yellow);
}
.bidgrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(64px, 1fr));
  gap: 10px;
  width: 100%;
  margin: 12px 0 16px;
}
.bidbtn {
  min-height: 64px;
  border: 2px solid var(--cyan);
  background: rgba(57, 243, 255, 0.08);
  color: var(--cyan);
  font-family: "Russo One", Impact, sans-serif;
  font-size: 28px;
}
.bidbtn:active { background: rgba(57, 243, 255, 0.25); }
.bidphone .bidstatus { margin: 0 0 8px; color: var(--yellow); font-size: 22px; }
.phone-body.guess label { display: block; margin: 10px 0 4px; text-align: left; color: var(--cyan); }

.playstage { position: relative; display: grid; align-content: center; gap: 12px; }
.deck { display: flex; align-items: center; justify-content: center; gap: 28px; }
.vinyl {
  width: min(34vh, 320px);
  aspect-ratio: 1;
  border-radius: 50%;
  position: relative;
  background:
    radial-gradient(circle at 50% 50%, transparent 0 28%, rgba(255, 255, 255, 0.04) 29% 30%, transparent 31%),
    repeating-radial-gradient(circle at 50% 50%, #161616 0 2px, #070707 3px 5px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55), 0 0 30px rgba(255, 43, 214, 0.25);
}
.vinyl.spin { animation: spin 1.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.vinyl-label {
  position: absolute;
  inset: 31%;
  border-radius: 50%;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 35% 30%, #ff7ad8, #3a0a4a 55%, #140018);
  color: var(--yellow);
  font-family: "Russo One", Impact, sans-serif;
  font-size: 42px;
}
.vinyl-label img { width: 100%; height: 100%; object-fit: cover; }
.vinyl-label::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #070010;
  border: 2px solid var(--yellow);
}
.timerwrap { position: relative; width: min(28vh, 230px); aspect-ratio: 1; }
.ring { width: 100%; height: 100%; }
.ringbg, .ringfg { fill: none; stroke-width: 8; }
.ringbg { stroke: rgba(255, 246, 223, 0.15); }
.ringfg {
  stroke: var(--cyan);
  stroke-linecap: round;
  stroke-dasharray: 326.73;
  transform: rotate(-90deg);
  transform-origin: 60px 60px;
  filter: drop-shadow(0 0 6px #39f3ff);
}
.timenum {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: "Russo One", Impact, sans-serif;
  font-size: clamp(40px, 5vw, 64px);
  color: var(--yellow);
}
.timerwrap.danger .ringfg { stroke: var(--danger); filter: drop-shadow(0 0 6px #ff3355); }
.timerwrap.danger .timenum { color: var(--danger); }
#viz { width: min(920px, 100%); height: 150px; justify-self: center; }
.slam {
  position: absolute;
  inset: 8% 10%;
  z-index: 3;
  display: grid;
  align-content: center;
  justify-items: center;
  background: rgba(12, 0, 16, 0.86);
  border: 4px solid var(--danger);
  box-shadow: 0 0 36px rgba(255, 51, 85, 0.4);
  text-align: center;
}
.slam-kicker {
  margin: 0;
  font-family: "Russo One", Impact, sans-serif;
  font-size: clamp(72px, 12vw, 150px);
  line-height: 0.8;
  color: var(--danger);
}
.slam-name, .slam-guess { margin: 6px 0 0; text-transform: uppercase; }
.slam-guess { font-size: clamp(28px, 4vw, 52px); }

.cast {
  display: flex;
  justify-content: center;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
}
.contestant {
  position: relative;
  width: 118px;
  text-align: center;
  padding: 6px;
  background: rgba(8, 0, 16, 0.55);
  border-top: 3px solid var(--c);
}
.avatar { position: relative; width: 72px; height: 78px; margin: 0 auto 4px; }
.head, .torso { position: absolute; background: var(--c); box-shadow: 0 0 12px var(--c); }
.head { width: 32px; height: 32px; border-radius: 50%; left: 20px; top: 0; }
.torso { width: 54px; height: 34px; left: 9px; bottom: 0; border-radius: 28px 28px 8px 8px; }
.contestant.thinking .avatar { animation: pulse 0.9s ease-in-out infinite; }
@keyframes pulse { 50% { transform: translateY(-3px); } }
.contestant.wrong { filter: saturate(0.3); opacity: 0.7; }
.contestant.correct { box-shadow: inset 0 0 0 2px var(--yellow); }
.pname, .bname { text-transform: uppercase; letter-spacing: 0.05em; }
.pname { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 18px; }
.pscore, .bscore { font-family: "Russo One", Impact, sans-serif; color: var(--yellow); }
.pstatus { font-size: 11px; color: var(--cyan); }
.streak {
  position: absolute;
  top: 4px;
  right: 6px;
  color: var(--orange, #ff7a32);
  font-family: "Russo One", Impact, sans-serif;
}

.results {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 18px;
  height: 100%;
}
.answerblock { display: flex; gap: 22px; align-items: center; min-width: 0; }
.lower { flex: 1; min-width: 0; transform: skewX(-8deg); }
.lower > * { transform: skewX(8deg); }
.kicker { color: var(--yellow); margin: 0 0 6px; }
.lower h2 { font-size: clamp(32px, 4vw, 64px); line-height: 0.95; overflow-wrap: anywhere; }
.by, .album, .heard, .nears { margin: 4px 0; }
.by { color: var(--cyan); font-size: 28px; text-transform: uppercase; }
.heard { color: var(--lime); font-family: "Russo One", Impact, sans-serif; letter-spacing: 0.08em; }
.nears { color: var(--cyan); text-transform: uppercase; }
.nears ul { margin: 4px 0 0; padding: 0; list-style: none; }
.results-side { display: flex; flex-direction: column; gap: 12px; overflow: auto; }
.board { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.board li, .brow {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 6px 8px;
  background: rgba(0, 0, 0, 0.28);
  border-left: 4px solid var(--c);
  font-size: 26px;
  text-transform: uppercase;
}
.board li.lead { background: rgba(255, 225, 74, 0.12); font-size: 32px; }
.rank { font-family: "Russo One", Impact, sans-serif; color: var(--c); }
.finalstage { display: grid; align-content: center; justify-items: center; gap: 12px; overflow: auto; }
.champ { font-size: clamp(36px, 5vw, 72px); text-align: center; }
.finalstage .board { width: min(720px, 100%); }

.phone {
  min-height: 100dvh;
  max-width: 520px;
  margin: 0 auto;
  padding: calc(14px + env(safe-area-inset-top)) 16px calc(16px + env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
}
.phonebar, .phone-body { position: relative; }
.phonebar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.mark, .phonecode {
  font-family: "Russo One", Impact, sans-serif;
  letter-spacing: 0.14em;
}
.mark { color: var(--magenta); }
.phonecode { color: var(--yellow); font-size: 28px; }
.hostlost {
  margin: 0 0 10px;
  padding: 8px 10px;
  border: 2px solid var(--danger);
  color: var(--danger);
  text-transform: uppercase;
}
.phone-body { flex: 1; display: flex; flex-direction: column; }
.phone-body.center { justify-content: center; }
.phone h1 { font-size: clamp(40px, 12vw, 64px); line-height: 0.95; max-width: 100%; overflow-wrap: anywhere; }
.phone h1.song { font-size: clamp(26px, 8vw, 44px); line-height: 1.05; }
.phone-timer, .stamp, .points, .song {
  font-family: "Russo One", Impact, sans-serif;
}
.phone-timer { font-size: 64px; color: var(--yellow); line-height: 0.9; }
.stamp { margin: 0; font-size: 92px; color: var(--danger); line-height: 0.8; }
.wrongguess { font-size: 32px; text-transform: uppercase; text-decoration: line-through; overflow-wrap: anywhere; }
.points { font-size: 48px; color: var(--lime); margin: 8px 0; }
.song { font-size: clamp(36px, 9vw, 56px); }
.self { color: var(--cyan); letter-spacing: 0.08em; text-transform: uppercase; }
.guess form { margin-top: 12px; }
.busted { animation: shake 0.4s linear; }
@keyframes shake {
  20% { transform: translateX(-8px); }
  40% { transform: translateX(8px); }
  60% { transform: translateX(-5px); }
  80% { transform: translateX(5px); }
}
.push { margin-top: auto; }
.buzznote { min-height: 1.2em; color: var(--danger); text-transform: uppercase; letter-spacing: 0.08em; }
.phoneboard { margin-top: 12px; }

@media (max-width: 900px) {
  .home, .lobby, .results, .answerblock { grid-template-columns: 1fr; display: flex; flex-direction: column; }
  .home { padding: 28px 16px 40px; }
  .tv { height: auto; min-height: 100dvh; }
  .deck { flex-direction: column; }
  .lobby-side { box-shadow: 0 0 0 3px #120018, 0 0 0 6px var(--cyan); }
  .cta-host {
    background: transparent;
    color: var(--cyan);
    border: none;
    box-shadow: none;
  }
  .cta-join { margin-bottom: 8px; }
}
@media (min-width: 901px) {
  .cta-join {
    background: transparent;
    color: var(--cyan);
    border: 2px solid var(--cyan);
    box-shadow: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}
