@import url("https://fonts.googleapis.com/css2?family=Bungee&family=Monoton&display=swap");

/* ================================================================== *
 * Aisle Rush '85 — the whole show set.
 * Chrome, neon, checkerboard, bulbs and one very serious shopping cart.
 * ================================================================== */

.aisle-show {
  --pink: #ff2e97;
  --cyan: #2fe4ff;
  --gold: #ffd93d;
  --purple: #2b0b4d;
  --deep: #12041f;
  --panel: #1d0b30;
  --cream: #fff8e7;
  --muted: #c9b8e8;
  --font-show: "Bungee", "Arial Black", system-ui, sans-serif;
  --font-neon: "Monoton", "Bungee", system-ui, cursive;
  --font-pixel: "Press Start 2P", "Courier New", monospace;
  --font-body: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  position: relative;
  max-width: 1120px;
  margin: 0 auto;
  padding: 1rem 1rem 3rem;
  scroll-margin-top: 5rem;
  color: var(--cream);
  font-family: var(--font-body);
}

.sprite-sheet {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

/* ------------------------------------------------------------------ *
 * Frame, marquee and studio
 * ------------------------------------------------------------------ */

.show-frame {
  position: relative;
  border: 5px solid var(--gold);
  background: linear-gradient(180deg, #2b0b4d 0%, #12041f 38%);
  box-shadow:
    0 0 0 2px #1b0829,
    0 0 0 5px var(--pink),
    10px 14px 0 rgba(10, 4, 18, 0.55),
    0 0 70px rgba(255, 46, 151, 0.22);
  overflow: hidden;
}

.show-frame::before {
  content: "";
  position: absolute;
  inset: 7px;
  z-index: 6;
  border: 1px solid rgba(255, 248, 231, 0.12);
  pointer-events: none;
}

.marquee {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 0.42rem 0.8rem;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.035) 0 2px, transparent 2px 16px),
    linear-gradient(180deg, #2f1052, #1a0829);
  border-bottom: 3px solid var(--pink);
}

.marquee p {
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: var(--font-show);
  font-size: 0.52rem;
  letter-spacing: 0.18em;
  color: var(--gold);
  text-shadow: 0 0 14px rgba(255, 217, 61, 0.45);
}

.marquee-bulbs {
  flex: 0 0 clamp(30px, 10vw, 130px);
  height: 12px;
  background-image: radial-gradient(circle, var(--gold) 1.8px, transparent 2.4px);
  background-size: 13px 13px;
  background-position: center;
  opacity: 0.9;
  animation: bulbChase 1.1s steps(2) infinite;
}

.show-stage {
  position: relative;
  min-height: 600px;
  padding: 1.6rem;
  background:
    radial-gradient(ellipse at 50% -10%, rgba(255, 46, 151, 0.24), transparent 55%),
    radial-gradient(ellipse at 0% 100%, rgba(47, 228, 255, 0.12), transparent 48%),
    radial-gradient(ellipse at 100% 100%, rgba(255, 217, 61, 0.08), transparent 48%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.03) 0 1px, transparent 1px 80px),
    #160722;
}

.crt-overlay {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  background-image: repeating-linear-gradient(
    0deg,
    rgba(8, 2, 16, 0.16) 0 1px,
    transparent 1px 3px
  );
  mix-blend-mode: multiply;
}

.crt-overlay::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -20%;
  height: 18%;
  background: linear-gradient(180deg, transparent, rgba(47, 228, 255, 0.05), transparent);
  animation: tracking 8s linear infinite;
}

.screen {
  position: relative;
  z-index: 1;
  animation: screenIn 0.35s ease both;
}

.screen[hidden],
[hidden] {
  display: none !important;
}

.screen-inner {
  max-width: 880px;
  margin: 0 auto;
}

.screen-inner.narrow {
  max-width: 660px;
}

.eyebrow {
  margin: 0 0 0.35rem;
  font-family: var(--font-show);
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  color: var(--cyan);
  text-shadow: 0 0 14px rgba(47, 228, 255, 0.4);
}

.screen-title {
  margin: 0 0 1rem;
  font-family: var(--font-show);
  font-weight: 400;
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  line-height: 1.2;
  color: var(--gold);
  text-shadow: 3px 3px 0 #6b0f5c, 0 0 26px rgba(255, 217, 61, 0.25);
}

.sweep-title {
  margin: 0 0 0.8rem;
  font-family: var(--font-show);
  font-weight: 400;
  font-size: clamp(1.9rem, 6vw, 3.2rem);
  line-height: 1.1;
  color: var(--cyan);
  text-shadow: 4px 4px 0 #7a1058, 0 0 34px rgba(47, 228, 255, 0.35);
}

.fine {
  margin: 0;
  font-size: 0.72rem;
  line-height: 1.6;
  color: #a68fc9;
}

.fine.center {
  text-align: center;
}

/* ------------------------------------------------------------------ *
 * Buttons
 * ------------------------------------------------------------------ */

.show-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.3rem;
  font-family: var(--font-show);
  font-size: clamp(0.62rem, 1.6vw, 0.78rem);
  font-weight: 400;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
  text-decoration: none;
  color: #1b0829;
  background: linear-gradient(180deg, #fff6b0 0%, #ffd93d 46%, #ffb300 100%);
  border: 3px solid #1b0829;
  box-shadow:
    5px 5px 0 rgba(10, 4, 18, 0.7),
    inset 0 2px 0 rgba(255, 255, 255, 0.65);
  cursor: pointer;
  transition:
    transform 0.08s steps(2),
    box-shadow 0.08s steps(2),
    filter 0.12s ease,
    border-color 0.12s ease,
    color 0.12s ease;
}

.show-btn:hover {
  filter: brightness(1.07);
  transform: translate(-1px, -1px);
  box-shadow:
    6px 6px 0 rgba(10, 4, 18, 0.7),
    inset 0 2px 0 rgba(255, 255, 255, 0.65);
}

.show-btn:active {
  transform: translate(3px, 3px);
  box-shadow:
    1px 1px 0 rgba(10, 4, 18, 0.7),
    inset 0 2px 0 rgba(255, 255, 255, 0.4);
}

.show-btn.big {
  padding: 1.05rem 1.55rem;
  font-size: clamp(0.7rem, 2vw, 0.9rem);
}

.show-btn.wide {
  width: 100%;
}

.show-btn.ghost {
  color: var(--cream);
  background: transparent;
  border-color: rgba(255, 248, 231, 0.55);
  box-shadow: 4px 4px 0 rgba(10, 4, 18, 0.5);
}

.show-btn.ghost:hover {
  color: var(--cyan);
  border-color: var(--cyan);
  filter: none;
}

.show-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  filter: grayscale(0.4);
}

/* ------------------------------------------------------------------ *
 * Host
 * ------------------------------------------------------------------ */

.host-avatar {
  width: 56px;
  height: 56px;
  flex: 0 0 auto;
  border-radius: 50%;
  border: 3px solid var(--gold);
  background: #240a3a;
  box-shadow:
    0 0 0 3px rgba(255, 46, 151, 0.28),
    0 4px 0 rgba(10, 4, 18, 0.4);
}

.host-avatar.small {
  width: 46px;
  height: 46px;
}

.host-row {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  margin: 0.9rem 0 1.2rem;
}

.host-say {
  position: relative;
  flex: 1;
  margin: 0;
  padding: 0.8rem 0.95rem;
  background: var(--cream);
  color: #2a0b4d;
  border: 3px solid var(--gold);
  border-radius: 8px;
  box-shadow: 4px 4px 0 rgba(10, 4, 18, 0.35);
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.5;
}

.host-say::before {
  content: "";
  position: absolute;
  left: -8px;
  top: 16px;
  width: 14px;
  height: 14px;
  background: var(--cream);
  border-left: 3px solid var(--gold);
  border-bottom: 3px solid var(--gold);
  transform: rotate(45deg);
}

/* ------------------------------------------------------------------ *
 * Title
 * ------------------------------------------------------------------ */

.title-layout {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 2.2rem;
  align-items: center;
  min-height: 540px;
}

.title-copy {
  position: relative;
  z-index: 1;
}

.logo-neon {
  margin: 0.3rem 0 0.85rem;
  font-family: var(--font-neon);
  font-weight: 400;
  font-size: clamp(3rem, 7.4vw, 5.4rem);
  line-height: 0.94;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.logo-line {
  display: block;
  background: linear-gradient(180deg, #fffdf5 0%, #ffe97a 27%, #ffb300 49%, #ff2e97 78%, #b31bff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(3px 4px 0 #6b0f5c) drop-shadow(0 0 22px rgba(255, 46, 151, 0.4));
}

.logo-line + .logo-line {
  margin-top: -0.07em;
  padding-left: 0.32em;
}

.logo-year {
  display: inline-block;
  margin-left: 0.1em;
  vertical-align: 0.95em;
  font-family: var(--font-show);
  font-size: 0.28em;
  color: var(--cyan);
  -webkit-text-fill-color: var(--cyan);
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
  filter: none;
  text-shadow: 2px 2px 0 #0b6a7d, 0 0 18px rgba(47, 228, 255, 0.5);
}

.logo-tag {
  margin: 0 0 0.9rem;
  font-family: var(--font-show);
  font-size: clamp(0.55rem, 1.6vw, 0.78rem);
  letter-spacing: 0.3em;
  color: var(--cyan);
  text-shadow: 0 0 18px rgba(47, 228, 255, 0.45);
}

.title-blurb {
  max-width: 46ch;
  margin: 0 0 1.4rem;
  color: #d9c7ff;
  font-size: 0.98rem;
  line-height: 1.65;
}

.title-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.title-best {
  margin: 1.1rem 0 0;
  font-family: var(--font-pixel);
  font-size: 0.56rem;
  line-height: 1.9;
  color: var(--gold);
}

.title-fine {
  margin: 0.9rem 0 0;
  font-size: 0.72rem;
  line-height: 1.6;
  color: #a68fc9;
}

.title-art {
  position: relative;
}

.title-scene {
  display: block;
  width: 100%;
  height: auto;
  background: var(--deep);
  border: 3px solid var(--gold);
  border-radius: 10px;
  box-shadow:
    0 0 0 4px #1b0829,
    0 0 40px rgba(47, 228, 255, 0.22),
    10px 12px 0 rgba(10, 4, 18, 0.4);
}

.tv-bug {
  position: absolute;
  top: 10px;
  left: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.22rem 0.4rem;
  color: #ffb3d1;
  background: rgba(10, 4, 18, 0.62);
  font-family: var(--font-pixel);
  font-size: 0.38rem;
  letter-spacing: 0.08em;
}

.tv-bug b {
  color: var(--cream);
  font-weight: 400;
}

.host-card {
  position: absolute;
  right: 12px;
  bottom: -16px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.65rem 0.35rem 0.4rem;
  background: #1b0829;
  border: 2px solid var(--gold);
  box-shadow: 4px 4px 0 rgba(10, 4, 18, 0.5);
  transform: rotate(-1.5deg);
}

.host-card .host-avatar {
  width: 38px;
  height: 38px;
  border-width: 2px;
  box-shadow: none;
}

.host-card p {
  display: grid;
  gap: 0.12rem;
  margin: 0;
  line-height: 1.1;
}

.host-card strong {
  font-family: var(--font-show);
  font-size: 0.56rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--gold);
}

.host-card span {
  font-size: 0.44rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: var(--muted);
}

/* ------------------------------------------------------------------ *
 * Team pick
 * ------------------------------------------------------------------ */

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
  margin: 1.1rem 0;
}

.team-card {
  --team: var(--pink);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.95rem 0.9rem 1.05rem;
  overflow: hidden;
  text-align: left;
  color: var(--cream);
  background: linear-gradient(165deg, #2f1450, #190826);
  border: 2px solid #4d2b78;
  border-top: 7px solid var(--team);
  box-shadow: 0 4px 0 rgba(10, 4, 18, 0.5);
  font-family: inherit;
  cursor: pointer;
  transition:
    transform 0.1s ease,
    border-color 0.1s ease,
    box-shadow 0.1s ease;
}

.team-card:hover {
  transform: translateY(-2px);
  border-color: var(--team);
  box-shadow:
    0 6px 0 rgba(10, 4, 18, 0.6),
    0 0 26px rgba(255, 46, 151, 0.16);
}

.team-card[aria-checked="true"] {
  background: linear-gradient(165deg, #3c1a62, #1f0b33);
  border-color: var(--team);
  box-shadow:
    inset 0 0 0 2px var(--team),
    0 6px 0 rgba(10, 4, 18, 0.6);
}

.team-card[aria-checked="true"]::after {
  content: "★";
  position: absolute;
  top: 0.4rem;
  right: 0.55rem;
  color: var(--team);
  font-size: 1rem;
  line-height: 1;
}

.team-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
  padding-right: 1rem;
}

.team-tag {
  font-family: var(--font-pixel);
  font-size: 0.44rem;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.team-dot {
  width: 12px;
  height: 12px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--team);
  box-shadow: 0 0 12px var(--team);
}

.team-name {
  font-family: var(--font-show);
  font-size: 0.8rem;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: 0.02em;
}

.team-players {
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.team-pick {
  margin-top: 0.25rem;
  font-family: var(--font-pixel);
  font-size: 0.4rem;
  letter-spacing: 0.06em;
  color: var(--team);
  opacity: 0;
  transition: opacity 0.15s ease;
}

.team-card[aria-checked="true"] .team-pick {
  opacity: 1;
}

.team-note {
  min-height: 1.5rem;
  margin: 0.4rem 0 1rem;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--gold);
}

/* ------------------------------------------------------------------ *
 * Question round
 * ------------------------------------------------------------------ */

.quiz-shell {
  max-width: 940px;
  margin: 0 auto;
}

.quiz-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.8rem;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid rgba(255, 248, 231, 0.15);
}

.quiz-round-name {
  margin: 0.1rem 0 0;
  font-family: var(--font-show);
  font-weight: 400;
  font-size: clamp(1.2rem, 3vw, 1.7rem);
  line-height: 1.25;
  color: var(--gold);
}

.quiz-progress {
  margin: 0;
  font-family: var(--font-pixel);
  font-size: 0.48rem;
  line-height: 1.8;
  color: var(--muted);
  white-space: nowrap;
}

.podiums {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.podium {
  --team: var(--pink);
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
  padding: 0.55rem 0.6rem;
  background: #1d0b30;
  border: 2px solid #442363;
  border-bottom: 5px solid var(--team);
}

.podium.is-you {
  background: linear-gradient(180deg, #321454, #1d0b30);
  border-color: var(--gold);
  border-bottom-color: var(--team);
  box-shadow: inset 0 0 0 1px rgba(255, 217, 61, 0.3);
}

.podium-light {
  width: 10px;
  height: 10px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #3a1650;
  border: 2px solid rgba(255, 248, 231, 0.25);
}

.podium.is-buzzing .podium-light {
  background: var(--team);
  box-shadow: 0 0 14px var(--team);
  animation: buzzLamp 0.3s steps(2) infinite;
}

.podium.is-buzzing {
  border-color: var(--team);
}

.podium-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.2;
}

.podium-copy strong {
  overflow: hidden;
  font-family: var(--font-show);
  font-size: 0.58rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--cream);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.podium-copy span {
  overflow: hidden;
  font-size: 0.56rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--muted);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.podium-bank {
  margin-left: auto;
  font-family: var(--font-pixel);
  font-size: 0.6rem;
  line-height: 1.6;
  color: var(--gold);
  white-space: nowrap;
}

.podium.is-gain .podium-bank {
  color: #7dffb0;
  text-shadow: 0 0 14px rgba(125, 255, 176, 0.8);
  animation: gainPop 0.4s ease;
}

.quiz-body {
  display: grid;
  grid-template-columns: 0.92fr 1.6fr;
  gap: 1rem;
  align-items: start;
}

.quiz-host {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.55rem;
}

.quiz-host .host-say {
  width: 100%;
  font-size: 0.84rem;
}

.quiz-host .host-say::before {
  left: 16px;
  top: -9px;
  border: none;
  border-top: 3px solid var(--gold);
  border-left: 3px solid var(--gold);
}

.question-card {
  position: relative;
  overflow: hidden;
  padding: 1.15rem 1.2rem 1.2rem;
  background: linear-gradient(160deg, #3b1660, #1a0829 72%);
  border: 3px solid var(--gold);
  box-shadow: 6px 6px 0 rgba(10, 4, 18, 0.45);
}

.question-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: repeating-linear-gradient(
    90deg,
    var(--pink) 0 14px,
    var(--gold) 14px 28px,
    var(--cyan) 28px 42px
  );
}

.question-tag {
  margin: 0.15rem 0 0.55rem;
  font-family: var(--font-pixel);
  font-size: 0.46rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan);
}

#question-text {
  margin: 0 0 1rem;
  font-family: var(--font-show);
  font-weight: 400;
  font-size: clamp(1.02rem, 2.4vw, 1.4rem);
  line-height: 1.4;
  color: var(--cream);
  text-shadow: 2px 2px 0 rgba(10, 4, 18, 0.6);
  outline: none;
}

.answer-list {
  display: grid;
  gap: 0.5rem;
}

.answer-btn {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  width: 100%;
  padding: 0.58rem 0.7rem;
  text-align: left;
  color: var(--cream);
  background: #241038;
  border: 2px solid #5c3a86;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.3;
  cursor: pointer;
  transition:
    transform 0.08s ease,
    border-color 0.08s ease,
    background 0.08s ease;
}

.answer-btn:hover:not(:disabled) {
  background: #2e1548;
  border-color: var(--cyan);
  transform: translateX(2px);
}

.answer-letter {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 1.9rem;
  height: 1.9rem;
  background: var(--gold);
  color: #1b0829;
  font-family: var(--font-show);
  font-size: 0.7rem;
}

.answer-btn.correct,
.answer-btn.correct:disabled {
  background: #145c3c;
  border-color: #7dffb0;
  color: #eafff3;
  opacity: 1;
}

.answer-btn.correct .answer-letter {
  background: #7dffb0;
}

.answer-btn.wrong,
.answer-btn.wrong:disabled {
  background: #5c1430;
  border-color: #ff5c8a;
  color: #ffe9f0;
  opacity: 1;
}

.answer-btn.wrong .answer-letter {
  background: #ff5c8a;
}

.answer-btn:disabled {
  cursor: default;
  opacity: 0.62;
}

.clock-row {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-top: 0.9rem;
}

.clock-track {
  flex: 1;
  height: 10px;
  overflow: hidden;
  background: #10041d;
  border: 2px solid #5c3a86;
}

#clock-fill {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--cyan), var(--gold));
  transform-origin: left center;
}

.clock-seconds {
  min-width: 2.4rem;
  text-align: right;
  font-family: var(--font-pixel);
  font-size: 0.8rem;
  color: var(--gold);
}

.clock-seconds.is-low {
  color: var(--pink);
  animation: lowPulse 0.5s steps(2) infinite;
}

.buzz-feed {
  min-height: 1.6rem;
  margin: 0.9rem 0 0;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.5;
  color: var(--cyan);
}

/* ------------------------------------------------------------------ *
 * Sweep intro
 * ------------------------------------------------------------------ */

.seed-list {
  display: grid;
  gap: 0.45rem;
  margin: 1rem 0;
}

.seed {
  --team: var(--pink);
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.55rem 0.8rem;
  background: #1d0b30;
  border: 2px solid #3f2160;
  border-left: 6px solid var(--team);
}

.seed.is-you {
  border-color: var(--gold);
}

.seed-rank {
  font-family: var(--font-pixel);
  font-size: 0.46rem;
  color: var(--muted);
}

.seed-name {
  font-family: var(--font-show);
  font-size: 0.66rem;
  line-height: 1.4;
  color: var(--cream);
}

.seed-note {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.seed-time {
  margin-left: auto;
  font-family: var(--font-pixel);
  font-size: 0.62rem;
  line-height: 1.6;
  color: var(--gold);
}

.sweep-rules {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0.8rem 0;
  padding: 0.7rem 0;
  border-top: 2px dotted rgba(255, 248, 231, 0.2);
  border-bottom: 2px dotted rgba(255, 248, 231, 0.2);
  text-align: center;
  font-family: var(--font-show);
  font-size: 0.55rem;
  letter-spacing: 0.1em;
  color: var(--cyan);
}

.sweep-rules span + span {
  border-left: 1px solid rgba(255, 248, 231, 0.14);
}

.sweep-note {
  margin: 0.6rem 0 1rem;
  text-align: center;
  font-size: 0.85rem;
  line-height: 1.55;
  color: var(--muted);
}

.control-hint {
  margin: 0.6rem 0 0;
  text-align: center;
  font-size: 0.72rem;
  line-height: 1.5;
  color: #a68fc9;
}

/* ------------------------------------------------------------------ *
 * Sweep play screen
 * ------------------------------------------------------------------ */

.screen-sweep {
  max-width: 1020px;
  margin: 0 auto;
}

.sweep-topbar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.8rem;
  padding: 0.5rem 0.7rem;
  background: #14051f;
  border: 2px solid #4d2b78;
}

.sweep-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-show);
  font-size: 0.58rem;
  letter-spacing: 0.06em;
  color: var(--gold);
}

.sweep-brand strong {
  font-weight: 400;
}

.live-dot {
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 0 10px var(--pink);
  animation: onAir 1.2s steps(2) infinite;
}

.sweep-team {
  padding-left: 0.5rem;
  border-left: 1px solid rgba(255, 248, 231, 0.2);
  font-size: 0.52rem;
  letter-spacing: 0.08em;
  color: var(--cyan);
}

.hud-grid {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-left: auto;
}

.hud-cell {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 3.9rem;
}

.hud-cell span {
  font-size: 0.5rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.hud-cell strong {
  font-family: var(--font-pixel);
  font-weight: 400;
  font-size: 0.7rem;
  line-height: 1.5;
  color: var(--gold);
  white-space: nowrap;
}

.hud-cell strong.is-low {
  color: var(--pink);
  animation: lowPulse 0.7s steps(2) infinite;
}

.space-cell strong {
  font-size: 0.58rem;
}

.cap-track {
  width: 100%;
  min-width: 3.5rem;
  height: 5px;
  margin-top: 2px;
  background: #10041d;
  border: 1px solid #5c3a86;
}

#cap-fill {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--cyan), var(--pink));
  transition: width 0.2s steps(3);
}

.icon-button {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 2.4rem;
  height: 2.4rem;
  padding: 0;
  color: var(--gold);
  background: #2b0b4d;
  border: 2px solid var(--gold);
  font-size: 0.82rem;
  line-height: 1;
  cursor: pointer;
}

.icon-button:hover {
  color: #1b0829;
  background: var(--gold);
}

.icon-button[aria-pressed="true"] {
  color: #1b0829;
  background: var(--gold);
}

.icon-button:disabled {
  opacity: 0.4;
  cursor: default;
}

.bonus-clue-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.8rem;
  padding: 0.55rem 0.8rem;
  background: #1b0829;
  border: 2px solid var(--gold);
  border-top: none;
}

.clue-label {
  flex: 0 0 auto;
  font-family: var(--font-pixel);
  font-size: 0.44rem;
  letter-spacing: 0.06em;
  color: var(--gold);
  white-space: nowrap;
}

#bonus-clue-text {
  margin: 0;
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1.4;
  color: var(--cream);
}

.canvas-wrap {
  position: relative;
  overflow: hidden;
  background: #10041d;
  border: 3px solid var(--gold);
  border-top: none;
}

#sweep-canvas {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  touch-action: none;
  cursor: crosshair;
}

.countdown {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: grid;
  place-items: center;
  background: rgba(16, 4, 29, 0.62);
  font-family: var(--font-show);
  font-size: clamp(4rem, 16vw, 8rem);
  line-height: 1;
  color: var(--gold);
  text-shadow:
    4px 4px 0 var(--pink),
    0 0 40px rgba(255, 217, 61, 0.5);
}

.canvas-banner {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 4;
  min-width: min(78%, 26rem);
  padding: 1.05rem 1.4rem;
  transform: translate(-50%, -50%);
  text-align: center;
  background: rgba(27, 8, 41, 0.94);
  border: 3px solid var(--gold);
  box-shadow: 6px 6px 0 rgba(10, 4, 18, 0.6);
  font-family: var(--font-show);
  font-size: clamp(1.2rem, 4vw, 2rem);
  line-height: 1.3;
  color: var(--gold);
}

.canvas-banner small {
  display: block;
  margin-top: 0.4rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--cream);
}

.sweep-ticker {
  position: absolute;
  left: 50%;
  bottom: 14px;
  z-index: 3;
  max-width: 92%;
  padding: 0.35rem 0.8rem;
  transform: translate(-50%, 8px);
  text-align: center;
  background: rgba(16, 4, 29, 0.88);
  border: 1px solid var(--cyan);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.4;
  color: var(--cream);
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}

.sweep-ticker.is-visible {
  transform: translate(-50%, 0);
  opacity: 1;
}

.sweep-ticker[data-tone="warn"] {
  border-color: var(--pink);
  color: #ffc9df;
}

.sweep-ticker[data-tone="good"] {
  border-color: #7dffb0;
  color: #d5ffe6;
}

.sweep-ticker[data-tone="rival"] {
  border-color: var(--gold);
  color: #ffeaa0;
}

.sweep-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 0.55rem 0.15rem 0;
  font-size: 0.74rem;
  line-height: 1.5;
  color: var(--muted);
}

.sweep-bottom p {
  margin: 0;
}

.bank-hint strong {
  color: var(--gold);
}

/* ------------------------------------------------------------------ *
 * Station challenges
 * ------------------------------------------------------------------ */

.station-prompt {
  position: absolute;
  left: 50%;
  bottom: 14px;
  z-index: 5;
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
  max-width: min(92%, 22rem);
  padding: 0.4rem 0.9rem 0.45rem;
  transform: translateX(-50%);
  color: #1b0829;
  background: var(--gold);
  border: 2px solid var(--cream);
  box-shadow: 4px 4px 0 rgba(10, 4, 18, 0.6);
  font-family: var(--font-body);
  text-align: center;
  cursor: pointer;
}

.station-prompt:hover {
  background: #fff0a0;
}

.station-prompt:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 3px;
}

.station-prompt-kicker {
  color: var(--station, #8a0f4f);
  font-size: 0.45rem;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.station-prompt strong {
  font-family: var(--font-show);
  font-size: 0.66rem;
  font-weight: 400;
  line-height: 1.25;
}

.station-prompt-hint {
  font-size: 0.52rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.station-game {
  position: absolute;
  inset: 0;
  z-index: 6;
  display: grid;
  place-items: center;
  padding: 0.8rem;
  background: rgba(16, 4, 29, 0.76);
}

.station-card {
  width: min(100%, 28rem);
  max-height: 100%;
  overflow: auto;
  padding: 0.85rem 1rem 0.9rem;
  background: #1b0829;
  border: 3px solid var(--station, var(--gold));
  box-shadow: 6px 6px 0 rgba(10, 4, 18, 0.65);
  text-align: center;
}

.station-kicker {
  margin: 0;
  color: var(--station, var(--gold));
  font-family: var(--font-pixel);
  font-size: 0.4rem;
  letter-spacing: 0.06em;
}

.station-card h3 {
  margin: 0.3rem 0 0.35rem;
  color: var(--station, var(--gold));
  font-family: var(--font-show);
  font-size: clamp(0.9rem, 2.8vw, 1.15rem);
  font-weight: 400;
  line-height: 1.25;
}

.station-copy {
  max-width: 34ch;
  margin: 0 auto 0.55rem;
  color: var(--cream);
  font-size: 0.74rem;
  font-weight: 600;
  line-height: 1.45;
}

.station-meter {
  position: relative;
  height: 24px;
  margin: 0.2rem 0 0;
  overflow: hidden;
  background: #10041d;
  border: 2px solid #5c3a86;
}

.station-zone,
.station-perfect,
.station-fill,
.station-marker {
  position: absolute;
  top: 0;
  bottom: 0;
  display: block;
}

.station-zone {
  z-index: 2;
  background: rgba(125, 255, 176, 0.3);
  border-right: 2px solid #7dffb0;
  border-left: 2px solid #7dffb0;
}

.station-perfect {
  z-index: 3;
  background: rgba(255, 217, 61, 0.45);
  border-right: 1px solid #ffd93d;
  border-left: 1px solid #ffd93d;
}

.station-fill {
  left: 0;
  z-index: 1;
  width: 0%;
  background: linear-gradient(90deg, var(--cyan), var(--station, var(--gold)));
}

.station-marker {
  left: 0;
  z-index: 4;
  width: 4px;
  margin-left: -2px;
  background: var(--cream);
  box-shadow: 0 0 8px var(--station, var(--gold));
}

.station-meter-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 0.2rem;
  color: var(--muted);
  font-size: 0.48rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.station-meter-labels span:nth-child(2) {
  color: #7dffb0;
}

.station-action {
  width: 100%;
  min-height: 3rem;
  margin-top: 0.55rem;
  padding: 0.55rem 0.8rem;
  color: #1b0829;
  background: var(--station, var(--gold));
  border: 2px solid var(--cream);
  box-shadow: 4px 4px 0 rgba(10, 4, 18, 0.6);
  font-family: var(--font-show);
  font-size: 0.68rem;
  line-height: 1.2;
  cursor: pointer;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
}

.station-action:hover {
  filter: brightness(1.1);
}

.station-action:active,
.station-action.is-holding {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 rgba(10, 4, 18, 0.6);
  filter: brightness(1.15);
}

.station-action:disabled {
  opacity: 0.5;
  filter: none;
  cursor: default;
}

.station-status {
  margin: 0.4rem 0 0;
  color: var(--muted);
  font-size: 0.56rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.station-result {
  margin: 0.35rem 0 0;
  color: var(--gold);
  font-family: var(--font-show);
  font-size: 0.82rem;
  line-height: 1.35;
}

.station-result b {
  color: #7dffb0;
  white-space: nowrap;
}

.station-result.is-miss {
  color: #ff8ac0;
}

.station-leave {
  margin-top: 0.35rem;
  padding: 0.1rem;
  color: var(--muted);
  background: none;
  border: 0;
  font-size: 0.52rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-decoration: underline;
  cursor: pointer;
}

.station-prompt[hidden],
.station-game[hidden],
.station-fill[hidden],
.station-marker[hidden] {
  display: none;
}

/* ------------------------------------------------------------------ *
 * Checkout
 * ------------------------------------------------------------------ */

.checkout-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 1.3rem;
  align-items: start;
  margin-top: 0.6rem;
}

.receipt {
  position: relative;
  padding: 1rem 1.1rem 1.9rem;
  color: #241033;
  background: var(--cream);
  box-shadow: 8px 8px 0 rgba(10, 4, 18, 0.4);
  font-family: "Courier New", Courier, monospace;
  transform: rotate(-0.7deg);
}

.receipt::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -10px;
  height: 10px;
  background:
    linear-gradient(135deg, transparent 50%, var(--cream) 50%) 0 0 / 12px 12px repeat-x,
    linear-gradient(225deg, transparent 50%, var(--cream) 50%) 6px 0 / 12px 12px repeat-x;
}

.receipt-head {
  display: grid;
  gap: 0.1rem;
  padding-bottom: 0.55rem;
  border-bottom: 2px dashed #b9a48a;
  text-align: center;
  font-size: 0.66rem;
  letter-spacing: 0.08em;
}

.receipt-head strong {
  font-family: var(--font-show);
  font-size: 0.92rem;
  letter-spacing: 0.04em;
}

#receipt-lines {
  max-height: 19rem;
  margin: 0.55rem 0;
  padding: 0;
  overflow: auto;
  font-size: 0.72rem;
  list-style: none;
}

#receipt-lines li {
  display: flex;
  justify-content: space-between;
  gap: 0.6rem;
  padding: 0.2rem 0;
  border-bottom: 1px dotted #cdb99f;
}

#receipt-lines b {
  white-space: nowrap;
}

.receipt-special {
  font-weight: 700;
  color: #8a0f4f;
}

.receipt-total {
  display: flex;
  justify-content: space-between;
  margin-top: 0.3rem;
  padding-top: 0.5rem;
  border-top: 2px dashed #b9a48a;
  font-family: var(--font-show);
  font-size: 0.95rem;
}

.receipt-foot {
  margin: 0.8rem 0 0;
  text-align: center;
  font-size: 0.6rem;
  letter-spacing: 0.06em;
  line-height: 1.6;
}

.checkout-side {
  display: grid;
  gap: 0.7rem;
}

.total-card {
  --team: var(--pink);
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  min-height: 4.1rem;
  padding: 0.6rem 0.8rem;
  overflow: hidden;
  background: #1d0b30;
  border: 2px solid #41225f;
  border-left: 7px solid var(--team);
}

.total-card.reveal {
  animation: cardReveal 0.35s ease both;
}

.total-team {
  display: block;
  font-family: var(--font-show);
  font-size: 0.63rem;
  line-height: 1.3;
  color: var(--cream);
}

.total-role {
  display: block;
  font-size: 0.54rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.total-value {
  margin-left: auto;
  font-family: var(--font-pixel);
  font-size: 0.78rem;
  line-height: 1.6;
  color: var(--gold);
  white-space: nowrap;
}

.total-card.is-winner {
  border-color: var(--gold);
  box-shadow: 0 0 24px rgba(255, 217, 61, 0.18);
}

.total-card.is-winner::after {
  content: "WINNER";
  position: absolute;
  top: 0.35rem;
  right: -1.55rem;
  padding: 0.2rem 2rem;
  transform: rotate(35deg);
  background: var(--gold);
  color: #1b0829;
  font-family: var(--font-pixel);
  font-size: 0.36rem;
  letter-spacing: 0.04em;
}

.checkout-result {
  padding: 0.95rem;
  border: 3px solid var(--gold);
  background: rgba(255, 217, 61, 0.08);
  text-align: center;
  font-family: var(--font-show);
  font-size: clamp(0.86rem, 2.5vw, 1.15rem);
  line-height: 1.4;
  color: var(--gold);
}

.checkout-result small {
  display: block;
  margin-top: 0.4rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.5;
  color: var(--cream);
}

.checkout-result.is-lose {
  border-color: var(--cyan);
  background: rgba(47, 228, 255, 0.07);
  color: var(--cyan);
}

/* ------------------------------------------------------------------ *
 * Bonus intro
 * ------------------------------------------------------------------ */

.cash-title {
  margin: 0;
  font-family: var(--font-show);
  font-size: clamp(2.8rem, 9vw, 5rem);
  line-height: 1;
  color: var(--gold);
  text-shadow:
    4px 4px 0 var(--pink),
    0 0 40px rgba(255, 217, 61, 0.45);
}

.bonus-kicker {
  margin: 0.2rem 0 1rem;
  text-align: center;
  font-family: var(--font-show);
  font-size: clamp(0.9rem, 3vw, 1.3rem);
  letter-spacing: 0.1em;
  color: var(--cream);
}

.bonus-brief {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
  margin: 1rem 0 1.2rem;
  padding: 0.8rem 0;
  border-top: 2px solid rgba(255, 248, 231, 0.16);
  border-bottom: 2px solid rgba(255, 248, 231, 0.16);
  text-align: center;
}

.bonus-brief strong {
  display: block;
  font-family: var(--font-show);
  font-size: clamp(1.3rem, 5vw, 1.8rem);
  line-height: 1.2;
  color: var(--cyan);
}

.bonus-brief span {
  font-size: 0.54rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--muted);
}

.bonus-first {
  margin: 0.8rem 0 1.1rem;
  padding: 0.8rem 0.9rem;
  background: #1b0829;
  border-left: 5px solid var(--gold);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.5;
  color: var(--cream);
}

/* ------------------------------------------------------------------ *
 * Final
 * ------------------------------------------------------------------ */

.final-card {
  position: relative;
  overflow: hidden;
  padding: 2rem 1.4rem 1.8rem;
  text-align: center;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(255, 46, 151, 0.18), transparent 60%),
    #170823;
  border: 3px solid var(--gold);
  box-shadow: 8px 8px 0 rgba(10, 4, 18, 0.45);
}

.final-headline {
  margin: 0.2rem 0 0.6rem;
  font-family: var(--font-show);
  font-weight: 400;
  font-size: clamp(1.8rem, 6vw, 3rem);
  line-height: 1.15;
  color: var(--gold);
  text-shadow: 3px 3px 0 #7a1058;
  outline: none;
}

.final-headline.is-jackpot {
  color: #7dffb0;
  text-shadow:
    3px 3px 0 #0b6a4d,
    0 0 30px rgba(125, 255, 176, 0.5);
}

.final-sub {
  max-width: 46ch;
  margin: 0 auto 1.2rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #e2d3ff;
}

.final-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
  margin: 1.2rem 0;
  text-align: left;
}

.final-stats div {
  padding: 0.6rem 0.75rem;
  background: #1d0b30;
  border: 2px solid #41225f;
}

.final-stats span {
  display: block;
  font-size: 0.5rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.final-stats strong {
  display: block;
  margin-top: 0.2rem;
  font-family: var(--font-pixel);
  font-size: 0.7rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--gold);
}

.final-stats .grand {
  grid-column: 1 / -1;
  border-color: var(--gold);
  background: #2b1540;
}

.final-stats .grand strong {
  font-size: 0.98rem;
  color: #7dffb0;
}

.new-best {
  margin: 0.3rem 0;
  font-family: var(--font-show);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--pink);
  animation: blink 1s steps(2) infinite;
}

.catchphrase {
  margin: 1rem 0 1.2rem;
  font-family: var(--font-show);
  font-size: clamp(0.58rem, 2vw, 0.75rem);
  line-height: 1.7;
  color: var(--cyan);
}

.final-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-bottom: 0.8rem;
}

.confetti {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.confetti span {
  position: absolute;
  top: -12%;
  left: var(--x);
  width: 7px;
  height: 13px;
  background: var(--c);
  opacity: 0.9;
  transform: rotate(var(--r));
  animation: fall var(--d) linear infinite;
  animation-delay: var(--delay);
}

/* ------------------------------------------------------------------ *
 * Console and credit
 * ------------------------------------------------------------------ */

.show-console {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.8rem;
  padding: 0.55rem 0.8rem;
  background: #10041d;
  border-top: 3px solid var(--pink);
}

.console-left {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.on-air {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-pixel);
  font-size: 0.4rem;
  color: #ffc2de;
}

.on-air i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 0 8px var(--pink);
  animation: onAir 1.2s steps(2) infinite;
}

.round-chip {
  padding: 0.28rem 0.45rem;
  background: #2b0b4d;
  border: 1px solid #5c3a86;
  font-family: var(--font-pixel);
  font-size: 0.38rem;
  letter-spacing: 0.05em;
  color: var(--gold);
}

.console-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.console-btn {
  padding: 0.35rem 0.5rem;
  color: var(--muted);
  background: transparent;
  border: 1px solid #4d2b78;
  font-family: var(--font-pixel);
  font-size: 0.36rem;
  line-height: 1.6;
  letter-spacing: 0.02em;
  cursor: pointer;
}

.console-btn:hover {
  color: var(--gold);
  border-color: var(--gold);
}

.show-credit {
  max-width: 780px;
  margin: 1.2rem auto 0;
  text-align: center;
  font-size: 0.72rem;
  line-height: 1.6;
  color: #8f7aae;
}

/* ------------------------------------------------------------------ *
 * Modal
 * ------------------------------------------------------------------ */

.modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(8, 2, 16, 0.86);
}

.modal-card {
  position: relative;
  width: min(94vw, 40rem);
  max-height: 88vh;
  padding: 1.5rem 1.6rem 1.6rem;
  overflow: auto;
  background: linear-gradient(160deg, #301054, #14051f 75%);
  border: 4px solid var(--gold);
  box-shadow: 10px 10px 0 rgba(0, 0, 0, 0.45);
}

.modal-card h2 {
  margin: 0.1rem 0 0.9rem;
  font-family: var(--font-show);
  font-weight: 400;
  font-size: 1.5rem;
  color: var(--gold);
}

.modal-close {
  position: absolute;
  top: 0.35rem;
  right: 0.7rem;
  padding: 0;
  color: var(--gold);
  background: transparent;
  border: none;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

.howto-list {
  margin: 0 0 1.2rem;
  padding-left: 1.2rem;
  font-size: 0.9rem;
  line-height: 1.55;
  color: #e2d3ff;
}

.howto-list li {
  margin-bottom: 0.55rem;
  padding-left: 0.2rem;
}

.howto-list li::marker {
  font-family: var(--font-pixel);
  font-size: 0.7rem;
  color: var(--cyan);
}

.howto-list strong {
  color: var(--gold);
}

/* ------------------------------------------------------------------ *
 * Fullscreen
 * ------------------------------------------------------------------ */

.aisle-show:fullscreen {
  width: 100%;
  max-width: none;
  min-height: 100dvh;
  padding: 0;
  overflow: auto;
  background: #0d0418;
}

.aisle-show:fullscreen .show-frame {
  border-width: 4px;
}

.aisle-show:fullscreen .show-stage {
  min-height: calc(100dvh - 110px);
  padding: 1.2rem;
}

.aisle-show:fullscreen .screen-inner,
.aisle-show:fullscreen .quiz-shell,
.aisle-show:fullscreen .screen-sweep {
  max-width: 1100px;
}

.aisle-show:fullscreen #sweep-canvas {
  height: calc(100dvh - 270px);
  aspect-ratio: auto;
}

/* ------------------------------------------------------------------ *
 * Motion
 * ------------------------------------------------------------------ */

@keyframes screenIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes bulbChase {
  50% {
    opacity: 0.4;
  }
}

@keyframes tracking {
  from {
    top: -20%;
  }
  to {
    top: 110%;
  }
}

@keyframes onAir {
  50% {
    opacity: 0.35;
  }
}

@keyframes buzzLamp {
  50% {
    opacity: 0.3;
  }
}

@keyframes lowPulse {
  50% {
    color: #ff8ac0;
  }
}

@keyframes gainPop {
  40% {
    transform: scale(1.16);
  }
}

@keyframes cardReveal {
  from {
    opacity: 0.3;
    transform: scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes blink {
  50% {
    opacity: 0.35;
  }
}

@keyframes fall {
  to {
    transform: translateY(620px) rotate(540deg);
  }
}

/* ------------------------------------------------------------------ *
 * Responsive
 * ------------------------------------------------------------------ */

@media (max-width: 900px) {
  .title-layout {
    grid-template-columns: 1fr;
    min-height: 0;
    gap: 1.6rem;
  }

  .title-art {
    width: 100%;
    max-width: 560px;
    margin: 0 auto 0.6rem;
  }

  .quiz-body {
    grid-template-columns: 1fr;
  }

  .quiz-host {
    flex-direction: row;
    align-items: center;
  }

  .quiz-host .host-say::before {
    left: -8px;
    top: 16px;
    border: none;
    border-left: 3px solid var(--gold);
    border-bottom: 3px solid var(--gold);
  }

  .checkout-grid {
    grid-template-columns: 1fr;
  }

  .receipt {
    transform: none;
    max-width: 34rem;
    margin: 0 auto;
  }
}

@media (max-width: 720px) {
  .aisle-show {
    padding: 0.75rem 0.65rem 2.5rem;
  }

  .show-frame {
    border-width: 4px;
  }

  .show-stage {
    min-height: 520px;
    padding: 1rem 0.85rem;
  }

  .marquee {
    gap: 0.5rem;
  }

  .marquee p {
    font-size: 0.42rem;
    letter-spacing: 0.1em;
  }

  .marquee-bulbs {
    flex-basis: 26px;
  }

  .team-grid {
    grid-template-columns: 1fr;
    gap: 0.55rem;
  }

  .team-card {
    padding: 0.7rem 0.8rem;
  }

  .podiums {
    gap: 0.35rem;
  }

  .podium {
    gap: 0.3rem;
    padding: 0.42rem 0.4rem;
    border-width: 1px;
    border-bottom-width: 4px;
  }

  .podium-light {
    display: none;
  }

  .podium-copy strong {
    font-size: 0.44rem;
  }

  .podium-copy span {
    display: none;
  }

  .podium-bank {
    font-size: 0.46rem;
  }

  .question-card {
    padding: 0.95rem 0.85rem 1rem;
  }

  .answer-btn {
    gap: 0.5rem;
    padding: 0.5rem;
    font-size: 0.82rem;
  }

  .answer-letter {
    width: 1.65rem;
    height: 1.65rem;
    font-size: 0.6rem;
  }

  .host-row {
    gap: 0.55rem;
  }

  .host-avatar {
    width: 44px;
    height: 44px;
  }

  .host-avatar.small {
    width: 38px;
    height: 38px;
  }

  .host-say {
    padding: 0.65rem 0.7rem;
    font-size: 0.84rem;
  }

  .sweep-topbar {
    gap: 0.5rem;
    padding: 0.4rem 0.5rem;
  }

  .sweep-brand {
    font-size: 0.5rem;
  }

  .sweep-team {
    display: none;
  }

  .hud-grid {
    gap: 0.55rem;
  }

  .hud-cell {
    min-width: auto;
  }

  .hud-cell span {
    font-size: 0.42rem;
  }

  .hud-cell strong {
    font-size: 0.58rem;
  }

  .space-cell strong {
    font-size: 0.5rem;
  }

  .cap-track {
    min-width: 2.5rem;
  }

  .icon-button {
    width: 2.1rem;
    height: 2.1rem;
  }

  #sweep-canvas {
    aspect-ratio: 4 / 3;
  }

  .sweep-bottom {
    font-size: 0.68rem;
  }

  .bank-hint {
    display: none;
  }

  .station-prompt {
    bottom: 9px;
    padding: 0.32rem 0.7rem 0.36rem;
  }

  .station-prompt-kicker {
    font-size: 0.4rem;
  }

  .station-prompt strong {
    font-size: 0.56rem;
  }

  .station-prompt-hint {
    font-size: 0.44rem;
  }

  .station-game {
    padding: 0.35rem;
  }

  .station-card {
    padding: 0.5rem 0.6rem 0.55rem;
    border-width: 2px;
  }

  .station-kicker {
    font-size: 0.34rem;
  }

  .station-card h3 {
    margin: 0.2rem 0 0.25rem;
    font-size: 0.82rem;
  }

  .station-copy {
    margin-bottom: 0.35rem;
    font-size: 0.65rem;
    line-height: 1.35;
  }

  .station-meter {
    height: 18px;
  }

  .station-meter-labels {
    font-size: 0.4rem;
  }

  .station-action {
    min-height: 2.5rem;
    margin-top: 0.35rem;
    font-size: 0.56rem;
  }

  .station-status {
    margin-top: 0.25rem;
    font-size: 0.48rem;
  }

  .station-result {
    margin-top: 0.2rem;
    font-size: 0.68rem;
  }

  .station-leave {
    margin-top: 0.15rem;
    font-size: 0.45rem;
  }

  .final-stats {
    grid-template-columns: 1fr;
  }

  .final-stats .grand {
    grid-column: auto;
  }

  .final-card {
    padding: 1.4rem 0.9rem 1.3rem;
  }

  .modal-card {
    padding: 1.2rem 1rem 1.2rem;
  }

  .console-left {
    width: 100%;
    justify-content: space-between;
  }

  .console-actions {
    width: 100%;
  }

  .console-btn {
    flex: 1;
  }
}

@media (max-width: 520px) {
  .logo-neon {
    font-size: clamp(2.7rem, 16vw, 3.6rem);
  }

  .title-actions .show-btn {
    flex: 1 1 100%;
  }

  .tv-bug {
    font-size: 0.32rem;
  }

  .host-card {
    right: 6px;
    bottom: -12px;
  }

  .host-card .host-avatar {
    width: 32px;
    height: 32px;
  }

  .host-card strong {
    font-size: 0.48rem;
  }

  .screen-title {
    font-size: 1.35rem;
  }

  #sweep-canvas {
    aspect-ratio: 1 / 1;
  }

  .sweep-brand strong {
    max-width: 8rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .hud-cell:nth-child(2) {
    display: none;
  }

  .sweep-rules {
    font-size: 0.46rem;
    letter-spacing: 0.04em;
  }

  .seed {
    gap: 0.45rem;
    padding: 0.45rem 0.55rem;
  }

  .seed-name {
    font-size: 0.54rem;
  }

  .seed-note {
    display: none;
  }

  .seed-time {
    font-size: 0.52rem;
  }

  .total-card {
    gap: 0.5rem;
    padding: 0.5rem 0.6rem;
  }

  .total-team {
    font-size: 0.55rem;
  }

  .total-value {
    font-size: 0.62rem;
  }

  .bonus-brief span {
    font-size: 0.46rem;
  }

  .final-actions .show-btn {
    flex: 1 1 100%;
  }
}

/* ------------------------------------------------------------------ *
 * Reduced motion
 * ------------------------------------------------------------------ */

@media (prefers-reduced-motion: reduce) {
  .screen,
  .marquee-bulbs,
  .live-dot,
  .on-air i,
  .new-best,
  .podium.is-buzzing .podium-light,
  .clock-seconds.is-low,
  .hud-cell strong.is-low {
    animation: none !important;
  }

  .crt-overlay::after,
  .confetti {
    display: none;
  }

  .show-btn,
  .team-card,
  .answer-btn,
  .total-card,
  .receipt,
  .sweep-ticker {
    transition: none;
  }
}
