@import url("https://fonts.googleapis.com/css2?family=Changa:wght@400;600;700;800&display=swap");

:root {
  --bg-1: #0f0b1f;
  --bg-2: #1e1242;
  --panel: #17122c;
  --panel-2: #211a3f;
  --text: #ffffff;
  --muted: #c8c4dd;
  --pink: #ff2b85;
  --blue: #35b4ff;
  --yellow: #ffca3a;
  --green: #38d996;
  --danger: #ff5470;
  --radius: 20px;
  --theme-primary: #6b331e;
  --theme-secondary: #c9824f;
  --theme-accent: #a89be6;
  --theme-bg-image: url("./assets/themes/home1.png");
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Changa", "Segoe UI", Tahoma, sans-serif;
  background-color: var(--bg-1);
  background-image:
    linear-gradient(130deg, rgba(8, 8, 19, 0.8), rgba(13, 16, 34, 0.7)),
    var(--theme-bg-image), linear-gradient(130deg, var(--bg-1), var(--bg-2));
  background-size: cover, cover, cover;
  background-position: center, center, center;
  background-repeat: no-repeat;
  color: var(--text);
}

.root-shell {
  min-height: 100vh;
  width: 100%;
}

.screen {
  min-height: 100vh;
}

.hidden {
  display: none !important;
}

.ui-hidden {
  display: none !important;
}

.join-screen {
  display: grid;
  place-items: center;
  padding: 20px;
  background-image:
    linear-gradient(130deg, rgba(8, 8, 19, 0.26), rgba(13, 16, 34, 0.18)),
    url("./assets/themes/home1.png");
  background-size: cover, cover;
  background-position: center, center;
  background-repeat: no-repeat;
}

.join-simple-card {
  width: min(390px, calc(100vw - 36px));
  text-align: center;
  border-radius: 22px;
  border: 1px solid rgba(92, 194, 255, 0.72);
  background:
    radial-gradient(circle at 50% 0%, rgba(54, 157, 255, 0.38), transparent 42%),
    linear-gradient(180deg, rgba(10, 43, 132, 0.9), rgba(13, 21, 91, 0.84) 55%, rgba(18, 10, 65, 0.9));
  padding: 22px 32px 16px;
  box-shadow:
    0 0 0 1px rgba(151, 220, 255, 0.18) inset,
    0 0 26px rgba(56, 169, 255, 0.75),
    0 18px 54px rgba(0, 9, 46, 0.62);
  backdrop-filter: blur(8px);
}

.join-simple-card h1 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(1.45rem, 2.2vw, 1.95rem);
  font-weight: 800;
  line-height: 1.2;
  text-shadow: 0 0 14px rgba(83, 177, 255, 0.95);
}

.join-main-btn {
  width: 100%;
  margin-top: 14px;
  min-height: 52px;
  font-size: 1.17rem;
}

.presenter-screen {
  padding: 14px;
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 8px;
}

.presenter-head {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, auto)) auto;
  gap: 8px;
  align-items: stretch;
}

.head-meta {
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: linear-gradient(140deg, rgba(0, 0, 0, 0.34), rgba(0, 0, 0, 0.12));
  padding: 8px 10px;
}

.head-meta strong {
  font-size: 1.05rem;
}

.leave-btn {
  min-width: 90px;
  background: linear-gradient(
    120deg,
    var(--theme-accent),
    var(--theme-primary)
  );
  color: #fff;
}

.presenter-timer {
  margin-top: 0;
}

.full-stage {
  margin-top: 0;
  min-height: 58vh;
  border: 0;
  background: transparent;
  padding: 0;
}

.live-board {
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
}

.live-board h3 {
  margin: 0 0 8px;
}

.app-shell {
  max-width: 1500px;
  margin: 0 auto;
  padding: 18px;
}

.top-strip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.brand-wrap h1 {
  margin: 0;
  font-size: clamp(1.4rem, 2.3vw, 2rem);
  letter-spacing: 0.2px;
}

.eyebrow {
  margin: 0 0 4px;
  font-size: 0.85rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.mode-pill {
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-weight: 700;
  font-size: 0.88rem;
}

.layout {
  display: grid;
  grid-template-columns: 320px 1fr 330px;
  gap: 16px;
}

.panel {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.26), rgba(0, 0, 0, 0.12));
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  padding: 16px;
  backdrop-filter: blur(5px);
}

.connection-panel h2 {
  margin: 0;
  font-size: 1.15rem;
}

.muted {
  color: var(--muted);
}

.field-label {
  display: block;
  margin-top: 10px;
  margin-bottom: 6px;
  font-size: 0.84rem;
  color: var(--muted);
}

input {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.26);
  background: var(--panel-2);
  color: var(--text);
  border-radius: 12px;
  padding: 12px;
  font-size: 0.95rem;
}

.row {
  display: flex;
  gap: 8px;
}

button {
  border: 0;
  border-radius: 12px;
  padding: 0 16px;
  min-width: 98px;
  font-weight: 800;
  cursor: pointer;
  background: linear-gradient(
    120deg,
    var(--theme-secondary),
    var(--theme-primary)
  );
  color: #f4fbff;
}

.status {
  margin: 12px 0 0;
  font-weight: 700;
}

.status.connected {
  color: var(--theme-accent);
}

.status.connecting {
  color: var(--yellow);
}

.status.disconnected {
  color: #efeefe;
}

.status.error {
  color: var(--danger);
}

.join-simple-card .muted {
  margin: 8px auto 10px;
  max-width: 320px;
  color: rgba(235, 244, 255, 0.82);
  font-size: 0.9rem;
  line-height: 1.7;
}

.join-code-label {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 9px;
  align-items: center;
  margin: 8px 0 10px;
  color: #ffffff;
  font-size: 0.86rem;
  font-weight: 800;
}

.join-code-label span {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(109, 196, 255, 0.74), transparent);
}

.room-code-shell {
  position: relative;
}

.room-code-input {
  display: none;
}

.room-code-slots {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  direction: ltr;
}

.room-code-digit {
  height: 66px;
  border: 1px solid rgba(83, 184, 255, 0.96);
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(19, 75, 184, 0.5), rgba(2, 12, 54, 0.96)),
    rgba(2, 18, 80, 0.84);
  color: rgba(255, 255, 255, 0.96);
  box-shadow:
    0 0 0 1px rgba(125, 211, 255, 0.2) inset,
    0 0 16px rgba(62, 175, 255, 0.58);
  font-family: "Changa", "Segoe UI", Tahoma, sans-serif;
  font-size: clamp(1.85rem, 5vw, 2.45rem);
  font-weight: 800;
  line-height: 1;
  min-width: 0;
  padding: 0;
  text-align: center;
  transform: translateY(0);
  text-shadow: 0 0 12px rgba(123, 205, 255, 0.95);
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

.room-code-digit::placeholder {
  color: rgba(190, 226, 255, 0.72);
  opacity: 1;
}

.room-code-digit:focus {
  border-color: #9fe5ff;
  box-shadow:
    0 0 0 2px rgba(255, 255, 255, 0.18) inset,
    0 0 22px rgba(85, 190, 255, 0.86);
  outline: 0;
}

.room-code-shell.needs-code .room-code-digit {
  animation: roomDigitNudge 1.55s ease-in-out infinite;
  color: rgba(190, 226, 255, 0.72);
}

.room-code-shell.needs-code .room-code-digit:nth-child(2) {
  animation-delay: 120ms;
}

.room-code-shell.needs-code .room-code-digit:nth-child(3) {
  animation-delay: 240ms;
}

.room-code-shell.needs-code .room-code-digit:nth-child(4) {
  animation-delay: 360ms;
}

.room-code-digit.has-value {
  animation: none;
  color: #ffffff;
  border-color: #b9ecff;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.22) inset,
    0 0 20px rgba(96, 205, 255, 0.74);
}

.room-code-shell.needs-code .room-code-digit.has-value {
  animation: none;
}

.room-code-shell.has-error .room-code-digit {
  animation: roomCodeError 520ms ease;
  border-color: #ff5f82;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.2) inset,
    0 0 24px rgba(255, 67, 110, 0.86);
}

@keyframes roomDigitNudge {
  0%,
  100% {
    transform: translateY(0);
    box-shadow:
      0 0 0 1px rgba(125, 211, 255, 0.2) inset,
      0 0 13px rgba(62, 175, 255, 0.42);
  }

  50% {
    transform: translateY(-7px);
    box-shadow:
      0 0 0 1px rgba(181, 231, 255, 0.3) inset,
      0 0 24px rgba(88, 194, 255, 0.88);
  }
}

@keyframes roomCodeError {
  0%,
  100% {
    transform: translateX(0);
  }

  18% {
    transform: translateX(-8px);
  }

  36% {
    transform: translateX(8px);
  }

  54% {
    transform: translateX(-6px);
  }

  72% {
    transform: translateX(6px);
  }
}

.join-main-btn {
  border: 1px solid rgba(255, 234, 154, 0.9);
  border-radius: 14px;
  background:
    linear-gradient(180deg, #ffd361 0%, #f29a19 54%, #b95708 100%);
  color: #ffffff;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.28) inset,
    0 0 18px rgba(255, 178, 40, 0.7),
    0 8px 18px rgba(0, 0, 0, 0.32);
  text-shadow: 0 1px 2px rgba(75, 33, 0, 0.65);
}

.join-main-btn:hover {
  filter: brightness(1.05);
}

.join-simple-card .status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 30px;
  margin-top: 12px;
  padding: 3px 17px;
  border: 1px solid rgba(92, 194, 255, 0.56);
  border-radius: 999px;
  background: rgba(4, 19, 78, 0.54);
  color: rgba(242, 247, 255, 0.92);
  font-size: 0.92rem;
  line-height: 1;
  box-shadow: 0 0 16px rgba(50, 149, 255, 0.34) inset;
}

.join-simple-card .status::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: currentColor;
  box-shadow: 0 0 10px currentColor;
}

.join-simple-card .status.connected {
  color: #55f7b0;
}

.join-simple-card .status.connecting {
  color: #ffd765;
}

.join-simple-card .status.error {
  color: #ff708b;
}

.mini-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 14px;
}

.mini-stats > div {
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  padding: 10px;
}

.mini-label {
  margin: 0;
  font-size: 0.78rem;
  color: var(--muted);
  text-transform: uppercase;
}

.mini-stats h3 {
  margin: 4px 0 0;
  font-size: 1.05rem;
}

.game-panel {
  display: flex;
  flex-direction: column;
  min-height: 75vh;
}

.hero-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 10px;
}

.hero-head h2 {
  margin: 0;
  font-size: clamp(1.35rem, 2vw, 1.9rem);
}

.hud-wrap {
  min-width: min(360px, 100%);
  width: 48%;
}

.hud-pill {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 100px;
  padding: 8px 12px;
  margin-inline-start: 8px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.24);
}

.hud-pill p {
  margin: 0;
  color: var(--muted);
  font-size: 0.75rem;
}

.hud-pill strong {
  font-size: 1.25rem;
  line-height: 1;
}

.timer-wrap {
  margin-top: 10px;
  width: 100%;
}

.timer-top {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  color: var(--muted);
}

.timer-track {
  margin-top: 8px;
  width: 100%;
  height: 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.17);
  overflow: hidden;
}

.timer-bar {
  width: 0%;
  height: 100%;
  background: linear-gradient(
    90deg,
    var(--theme-secondary),
    var(--theme-accent)
  );
  transition: width 120ms linear;
}

.stage {
  margin-top: 10px;
  background: transparent;
  border: 0;
  border-radius: 16px;
  padding: 16px;
  flex: 1;
}

.pregame-shell {
  display: grid;
  gap: 16px;
}

.pregame-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
}

.pregame-head.compact {
  justify-content: flex-start;
}

.pregame-title {
  margin: 0;
  text-align: start;
  font-size: clamp(1.25rem, 1.8vw, 1.9rem);
}

.pregame-tabs {
  display: inline-flex;
  gap: 8px;
  flex-wrap: wrap;
}

.pregame-tab {
  min-width: auto;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font-weight: 700;
}

.pregame-tab.active {
  background: linear-gradient(
    125deg,
    var(--theme-secondary),
    var(--theme-accent)
  );
  color: #1b120e;
  border-color: transparent;
}

.pregame-page {
  display: grid;
  gap: 14px;
}

.waiting-pin-frame {
  position: relative;
  display: grid;
  grid-template-columns: minmax(240px, 1fr) minmax(320px, 1.45fr);
  align-items: stretch;
  background: linear-gradient(120deg, #f8ede4, #f3dfce);
  color: #2b211c;
  border-radius: 10px;
  overflow: hidden;
}

.pin-frame-info,
.pin-frame-code {
  padding: 16px 20px;
}

.pin-overline {
  margin: 0;
  font-size: 0.82rem;
  color: #775e4f;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  font-weight: 700;
}

.pin-frame-info h2 {
  margin: 4px 0 0;
  font-size: clamp(1.3rem, 2.1vw, 2rem);
  color: #3b2b24;
}

.waiting-category {
  margin: 4px 0 0;
  font-size: clamp(0.92rem, 1.1vw, 1.05rem);
  color: #8a6248;
  font-weight: 700;
}

.pin-frame-code {
  position: relative;
  padding-inline-start: 32px;
}

.pin-frame-code::before {
  content: "";
  position: absolute;
  inset-block: -14px;
  inset-inline-start: -18px;
  width: 30px;
  transform: skewX(-20deg);
  background: var(--theme-primary);
}

.pin-frame-code p {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 700;
  color: #553d32;
}

.pin-frame-code h1 {
  margin: 0;
  font-size: clamp(2rem, 8vw, 5.2rem);
  line-height: 0.95;
  letter-spacing: 1px;
  color: var(--theme-primary);
}

.stat-orbits {
  display: grid;
  grid-template-columns: repeat(3, minmax(90px, 125px));
  justify-content: center;
  gap: 12px;
  align-items: center;
}

.stat-orbit-card {
  display: grid;
  justify-items: center;
  gap: 6px;
}

.orbit-title {
  font-size: 0.72rem;
  color: #fff8f2;
  font-weight: 700;
  line-height: 1.15;
  text-align: center;
}

.stat-orbit {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  display: grid;
  place-content: center;
  justify-items: center;
  text-align: center;
  padding: 8px;
  border: 2px solid rgba(255, 255, 255, 0.22);
  background: var(--theme-primary);
  box-shadow: none;
}

.stat-orbit strong {
  font-size: clamp(1.05rem, 2.2vw, 1.7rem);
  line-height: 1;
}

.stat-orbit small {
  margin-top: 1px;
  font-size: 0.62rem;
  color: #fff3ea;
}

.join-page {
  place-items: center;
}

.join-card {
  width: min(540px, 100%);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: linear-gradient(
    170deg,
    rgba(80, 34, 145, 0.42),
    rgba(14, 19, 48, 0.75)
  );
  padding: 18px;
}

.join-room-code {
  margin-top: 6px;
  margin-bottom: 14px;
  border-radius: 14px;
  border: 1px dashed rgba(255, 255, 255, 0.45);
  background: rgba(0, 0, 0, 0.28);
  text-align: center;
  font-size: clamp(2rem, 5vw, 3.6rem);
  font-weight: 800;
  letter-spacing: 1px;
  padding: 8px 10px;
}

.join-form {
  display: grid;
  gap: 0;
}

.join-now-btn {
  margin-top: 12px;
  min-height: 46px;
  font-size: 1rem;
}

.players-wall {
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0;
}

.players-wall-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: baseline;
  margin-bottom: 8px;
}

.players-wall-head h4 {
  margin: 0;
  font-size: 1.05rem;
}

.player-avatar {
  position: relative;
  flex: 0 0 auto;
  width: 54px;
  height: 54px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 35% 24%,
      rgba(255, 255, 255, 0.9),
      rgba(255, 255, 255, 0.22) 44%,
      rgba(255, 255, 255, 0.08) 100%
    ),
    linear-gradient(145deg, rgba(255, 255, 255, 0.2), rgba(0, 0, 0, 0.22));
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow:
    inset 0 0 0 2px rgba(255, 255, 255, 0.1),
    0 8px 18px rgba(0, 0, 0, 0.24);
  isolation: isolate;
}

.player-avatar::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.26);
  pointer-events: none;
  z-index: 20;
}

.player-avatar-fallback {
  font-size: 1rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.9);
}

.player-avatar.is-ready .player-avatar-fallback {
  display: none;
}

.avatar-svg-layer {
  position: absolute;
  inset: -2%;
  width: 104%;
  height: 104%;
  display: block;
  z-index: 2;
}

.player-avatar--waiting {
  width: 58px;
  height: 58px;
}

.player-avatar--reveal {
  width: 46px;
  height: 46px;
}

.player-avatar--final {
  width: 48px;
  height: 48px;
}

.player-avatar--final-podium {
  width: 62px;
  height: 62px;
  border-color: rgba(255, 226, 122, 0.72);
  box-shadow:
    inset 0 0 0 2px rgba(255, 255, 255, 0.14),
    0 10px 24px rgba(0, 0, 0, 0.28),
    0 0 18px rgba(255, 226, 122, 0.22);
}

.final-results {
  display: grid;
  gap: 10px;
}

.final-list {
  display: grid;
  gap: 8px;
}

.final-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 12px;
  background: linear-gradient(140deg, rgba(0, 0, 0, 0.28), rgba(0, 0, 0, 0.16));
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.final-row--podium {
  min-height: 76px;
  background:
    linear-gradient(
      140deg,
      rgba(255, 255, 255, 0.2),
      rgba(255, 255, 255, 0.07)
    ),
    linear-gradient(140deg, rgba(0, 0, 0, 0.28), rgba(0, 0, 0, 0.16));
}

.final-player {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.final-player strong {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.final-rank,
.final-medal {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 800;
}

.final-rank {
  background: linear-gradient(
    130deg,
    var(--theme-secondary),
    var(--theme-primary)
  );
  color: #fff;
}

.final-medal.gold {
  background: linear-gradient(140deg, #ffe27a, #e8ad11);
  color: #3b2500;
}

.final-medal.silver {
  background: linear-gradient(140deg, #f5f7fb, #9da7bd);
  color: #1e2433;
}

.final-medal.bronze {
  background: linear-gradient(140deg, #f3ba85, #b56a30);
  color: #2d1909;
}

.final-score {
  font-size: 1.1rem;
  font-weight: 800;
}

.players-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
}

.player-tile {
  position: relative;
  border-radius: 14px;
  padding: 12px 12px 13px;
  min-height: 96px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.26);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.2);
}

.player-tile.c1 {
  background: linear-gradient(140deg, var(--theme-primary), #8e4a2f);
}

.player-tile.c2 {
  background: linear-gradient(140deg, var(--theme-secondary), #a3643f);
}

.player-tile.c3 {
  background: linear-gradient(140deg, var(--theme-accent), #7c6db5);
}

.player-tile.c4 {
  background: linear-gradient(140deg, #8c4b2f, var(--theme-primary));
}

.player-tile.c5 {
  background: linear-gradient(140deg, #d0915f, var(--theme-secondary));
}

.player-tile.c6 {
  background: linear-gradient(140deg, #b4a7ef, var(--theme-accent));
}

.player-tile.c7 {
  background: linear-gradient(
    140deg,
    var(--theme-secondary),
    var(--theme-primary)
  );
}

.player-tile.c8 {
  background: linear-gradient(140deg, var(--theme-primary), #2a1a13);
  color: #fff;
}

.player-rank {
  position: absolute;
  top: 8px;
  inset-inline-end: 8px;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.92);
  color: #222;
  font-weight: 800;
  font-size: 0.82rem;
}

.player-tile-main {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding-inline-end: 24px;
}

.player-tile-copy {
  min-width: 0;
}

.player-name {
  display: block;
  font-size: 1rem;
  line-height: 1.25;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.player-tags {
  display: block;
  margin-top: 4px;
  font-size: 0.78rem;
  opacity: 0.94;
}

.question-title {
  margin: 0 0 12px;
  font-size: clamp(1.35rem, 2.4vw, 2.4rem);
  line-height: 1.2;
  text-align: center;
}

.question-meta {
  margin: 0 0 12px;
  font-size: 0.9rem;
  color: var(--muted);
}

.answers {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.answer {
  padding: 14px;
  border-radius: 12px;
  border: 2px solid rgba(255, 255, 255, 0.45);
  font-size: clamp(1rem, 1.2vw, 1.3rem);
  font-weight: 700;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.15);
  min-height: 88px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.answer-letter {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.92);
  color: #121212;
  font-size: 1.2rem;
  font-weight: 800;
}

.answer-text {
  flex: 1;
  font-size: clamp(1rem, 1.15vw, 1.28rem);
}

.answer-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  border-radius: 999px;
  padding: 0 10px;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.9);
  color: #121212;
}

.answer:nth-child(4n + 1) {
  background: linear-gradient(130deg, #ff375f, #ff165d);
}

.answer:nth-child(4n + 2) {
  background: linear-gradient(130deg, #26b9ff, #0a93ff);
}

.answer:nth-child(4n + 3) {
  background: linear-gradient(130deg, #ffcf3d, #f2a20b);
  color: #312102;
}

.answer:nth-child(4n + 4) {
  background: linear-gradient(130deg, #3ce68f, #14bf75);
}

.answer.correct {
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.7) inset;
}

.scoreboard-panel h3 {
  margin: 0;
}

.scoreboard {
  margin-top: 10px;
  display: grid;
  gap: 8px;
}

.score-item {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  background: linear-gradient(140deg, rgba(0, 0, 0, 0.28), rgba(0, 0, 0, 0.12));
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 12px;
  padding: 10px 12px;
}

.score-name {
  font-weight: 700;
}

.score-meta,
.empty {
  color: var(--muted);
  font-size: 0.86rem;
}

body.question-mode .app-shell {
  max-width: none;
  min-height: 100vh;
  padding: 10px;
}

body.question-mode .top-strip,
body.question-mode .connection-panel,
body.question-mode .scoreboard-panel {
  display: none;
}

body.question-mode .layout {
  grid-template-columns: 1fr;
}

body.question-mode .game-panel {
  min-height: calc(100vh - 20px);
  padding: 0;
  background: transparent;
  border: 0;
}

body.question-mode .hero-head {
  display: none;
}

body.question-mode .hero-head .eyebrow,
body.question-mode .hero-head h2 {
  display: none;
}

body.question-mode .stage {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 14px;
  background: transparent;
  border: 0;
  min-height: 0;
}

body.question-mode .question-title {
  margin-top: 0;
  margin-bottom: 8px;
  font-size: clamp(1.8rem, 3vw, 3.2rem);
}

body.question-mode .answers:not(.live-bottom-answers) {
  margin-top: auto;
}

body.reveal-mode .stage {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

body.reveal-mode .question-title {
  width: 100%;
  margin: 0;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: var(--text);
  font-size: clamp(1.8rem, 3vw, 3.2rem);
}

body.reveal-mode .question-meta {
  text-align: center;
  margin: 0;
}

.reveal-grid {
  display: grid;
  grid-template-columns: minmax(190px, 270px) 1fr minmax(220px, 320px);
  gap: 14px;
  align-items: center;
}

.reveal-grid.no-media {
  grid-template-columns: minmax(230px, 360px) minmax(260px, 320px);
  justify-content: space-between;
}

.reveal-grid.no-media .reveal-points {
  width: min(320px, 100%);
  justify-self: end;
}

.reveal-side-title {
  margin: 0 0 10px;
  text-align: center;
  font-size: clamp(0.92rem, 1.1vw, 1.3rem);
  color: #fdf2ea;
}

.reveal-pie {
  width: min(240px, 100%);
  aspect-ratio: 1;
  margin: 0 auto;
  border-radius: 50%;
  border: 4px solid var(--theme-accent);
  position: relative;
  box-shadow: 0 0 0 3px var(--theme-primary) inset;
}

.slice-total {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  min-width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(12, 10, 23, 0.75);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(1.05rem, 1.4vw, 1.65rem);
  font-weight: 700;
  color: #fff;
}

.distribution-list {
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
  display: grid;
  gap: 6px;
}

.distribution-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 10px;
  padding: 6px 10px;
  border-radius: 10px;
  background: linear-gradient(140deg, rgba(0, 0, 0, 0.24), rgba(0, 0, 0, 0.1));
  font-size: 0.95rem;
}

.distribution-key {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
}

.distribution-key i {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  display: inline-block;
}

.distribution-count {
  font-weight: 800;
}

.distribution-percent {
  color: #f3e6dc;
}

.reveal-media {
  text-align: center;
}

.question-media-row {
  display: block;
  margin: 0;
  align-self: center;
}

.live-stage-shell {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  height: 100%;
}

.live-question-layout {
  display: grid;
  grid-template-columns: minmax(130px, 170px) 1fr minmax(130px, 170px);
  gap: 14px;
  align-items: stretch;
  min-height: 0;
  flex: 1;
}

.live-question-layout.is-reveal {
  grid-template-columns: minmax(260px, 420px) 1fr minmax(260px, 420px);
}

.live-question-layout.intro-phase-question-only,
.live-question-layout.intro-phase-question-lift {
  grid-template-columns: 0 1fr 0;
}

.live-question-layout.intro-phase-question-only .live-side,
.live-question-layout.intro-phase-question-lift .live-side {
  visibility: hidden;
}

.live-side {
  display: flex;
  align-items: center;
  justify-content: center;
}

.live-question-main {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 10px;
  min-height: 100%;
}

.live-question-main.no-image {
  grid-template-rows: auto 1fr;
}

.live-question-main.no-image .reveal-answer-explanation {
  align-self: end;
  margin-bottom: 10px;
}

.live-question-title {
  width: 100%;
  align-self: start;
  font-size: clamp(1.95rem, 3.8vw, 3.3rem);
  transition: opacity 280ms ease;
}

.live-question-layout.intro-phase-question-only .live-question-main {
  align-content: center;
}

.live-question-layout.intro-phase-question-only .live-question-title {
  margin-top: 0;
  transform: translateY(20vh);
  text-align: center;
}

.live-question-layout.intro-phase-question-lift .live-question-title {
  margin-top: 0;
  animation: questionLiftContinuous var(--lift-duration, 500ms)
    cubic-bezier(0.22, 0.61, 0.36, 1) both;
  animation-delay: var(--lift-offset, 0ms);
}

.live-question-layout.intro-phase-show-answers .live-question-title,
.live-question-layout.intro-phase-show-timer .live-question-title,
.live-question-layout.intro-phase-show-count .live-question-title,
.live-question-layout.intro-phase-full .live-question-title {
  margin-top: 0;
  transform: translateY(0);
}

@keyframes questionLiftContinuous {
  from {
    transform: translateY(20vh);
  }
  to {
    transform: translateY(0);
  }
}

.live-bottom-answers {
  width: 100%;
  margin: 0;
  margin-top: auto;
  padding-bottom: 8px;
  direction: rtl;
}

.live-bottom-answers .answer {
  direction: rtl;
  text-align: right;
}

.stage-side-panel {
  width: 100%;
  max-width: 320px;
}

.live-question-layout.is-reveal .stage-side-panel {
  max-width: 420px;
}

.live-counter-wrap {
  display: grid;
  gap: 8px;
  justify-items: center;
  align-content: center;
}

.live-counter-label {
  margin: 0;
  color: #fff1e6;
  font-size: clamp(0.95rem, 1.05vw, 1.2rem);
  font-weight: 700;
}

.live-counter-circle {
  width: min(150px, 100%);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--theme-primary);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 3px solid rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 0 0 3px rgba(26, 7, 63, 0.24);
}

.live-counter-circle strong {
  font-size: clamp(2.1rem, 3.2vw, 3rem);
  line-height: 1;
  color: #fff;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.28);
}

.live-counter-circle span {
  margin-top: 4px;
  font-size: clamp(0.8rem, 0.9vw, 0.95rem);
  color: #f6ddd0;
}

.panel-enter {
  animation: revealPanelIn 360ms ease both;
}

.sequence-enter {
  animation: stagedFadeIn 320ms ease both;
}

@keyframes stagedFadeIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes revealPanelIn {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.media-frame {
  width: min(430px, 100%);
  max-height: min(38vh, 360px);
  margin: 0 auto;
  object-fit: contain;
  display: block;
  border-radius: 8px;
  background: rgba(7, 7, 12, 0.55);
  border: 3px solid var(--theme-secondary);
  padding: 4px;
}

.reveal-explain {
  margin: 12px 0 0;
  font-size: clamp(0.95rem, 1.1vw, 1.3rem);
}

.reveal-answer-explanation {
  margin: 6px 0 8px;
  padding: 10px 14px;
  border-radius: 10px;
  background: #fff4ed;
  color: #2e1e17;
  text-align: center;
  font-size: clamp(0.95rem, 1.1vw, 1.25rem);
  font-weight: 700;
}

.live-question-layout.is-reveal .reveal-points {
  display: grid;
  gap: 10px;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid color-mix(in srgb, var(--theme-accent) 35%, white 65%);
  background: linear-gradient(
    150deg,
    color-mix(in srgb, var(--theme-primary) 68%, #0c0a17 32%),
    color-mix(in srgb, var(--theme-secondary) 58%, #0c0a17 42%)
  );
  box-shadow:
    inset 0 0 0 2px rgba(255, 255, 255, 0.08),
    0 10px 24px rgba(0, 0, 0, 0.22);
}

.live-question-layout.is-reveal .reveal-player-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 11px;
  border-radius: 10px;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0.2),
    rgba(255, 255, 255, 0.08)
  );
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: #fff;
  font-size: clamp(1rem, 1.1vw, 1.3rem);
  min-width: 0;
}

.live-question-layout.is-reveal .reveal-player-score {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-inline-start: auto;
  padding: 3px 10px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--theme-accent) 72%, white 28%);
  color: #1d2230;
  font-weight: 800;
  font-size: clamp(0.9rem, 0.98vw, 1.1rem);
}

.live-question-layout.is-reveal .reveal-player-row strong {
  min-width: 0;
  font-size: clamp(1.05rem, 1.15vw, 1.35rem);
  font-weight: 800;
  letter-spacing: 0.2px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.live-question-layout.is-reveal .reveal-player-row:nth-child(1) {
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.35) inset;
}

body.reveal-mode .answers:not(.live-bottom-answers) {
  margin-top: 4px;
}

body.reveal-mode .answer {
  min-height: 72px;
}

@media (max-width: 1150px) {
  .waiting-pin-frame {
    grid-template-columns: 1fr;
  }

  .pin-frame-code {
    padding-inline-start: 20px;
  }

  .pin-frame-code::before {
    display: none;
  }

  .stat-orbits {
    grid-template-columns: repeat(3, minmax(90px, 112px));
    gap: 12px;
  }

  .presenter-head {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .game-panel {
    min-height: auto;
  }

  .hud-wrap {
    width: 100%;
    min-width: 0%;
  }

  .hud-pill {
    margin-inline-start: 0;
    margin-inline-end: 8px;
  }

  .hero-head {
    flex-direction: column;
  }

  .pregame-head {
    flex-direction: column;
  }

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

  .live-question-layout {
    grid-template-columns: 1fr;
  }

  .live-stage-shell {
    min-height: auto;
    height: auto;
  }

  .live-side {
    justify-content: center;
  }

  .live-side.left {
    order: 1;
  }

  .live-question-main {
    order: 0;
  }

  .live-bottom-answers {
    margin-top: 10px;
    padding-bottom: 0;
  }

  .live-side.right {
    order: 2;
  }

  .reveal-points {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .player-avatar--waiting {
    width: 48px;
    height: 48px;
  }

  .player-avatar--final,
  .player-avatar--final-podium {
    width: 46px;
    height: 46px;
  }

  .final-row {
    padding: 9px 10px;
  }

  .final-player {
    gap: 8px;
  }

  .pin-frame-info,
  .pin-frame-code {
    padding: 12px 14px;
  }

  .pin-frame-code h1 {
    font-size: clamp(2rem, 14vw, 3.4rem);
  }

  .stat-orbits {
    grid-template-columns: repeat(3, minmax(80px, 1fr));
    justify-items: center;
    gap: 8px;
  }

  .stat-orbit {
    width: min(110px, 30vw);
  }

  .presenter-screen {
    padding: 10px;
  }

  .presenter-head {
    grid-template-columns: 1fr;
  }

  .full-stage {
    min-height: 50vh;
  }

  .players-wall-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .join-room-code {
    font-size: clamp(1.7rem, 11vw, 2.8rem);
  }

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

  button {
    min-width: 88px;
  }

  .reveal-points {
    grid-template-columns: 1fr;
  }
}

/* Stage lobby waiting-room design. Kept after legacy styles so it overrides only the waiting presenter view. */
.stage-lobby {
  --lobby-surface-a: color-mix(in srgb, var(--theme-primary, #071436) 72%, #020817 28%);
  --lobby-surface-b: color-mix(in srgb, var(--theme-secondary, #123c69) 38%, #030719 62%);
  --lobby-panel-glow: color-mix(in srgb, var(--theme-secondary, #2d7cff) 30%, transparent);
  --lobby-border: color-mix(in srgb, var(--theme-accent, #f8c95b) 78%, transparent);
  --lobby-border-soft: color-mix(in srgb, var(--theme-accent, #f8c95b) 42%, transparent);
  --lobby-accent: color-mix(in srgb, var(--theme-accent, #f8c95b) 78%, #ffffff 22%);
  --lobby-accent-strong: color-mix(in srgb, var(--theme-accent, #f8c95b) 92%, #ffffff 8%);
  --lobby-tile-a: color-mix(in srgb, var(--theme-primary, #10295d) 62%, #07112d 38%);
  --lobby-tile-b: color-mix(in srgb, var(--theme-secondary, #10295d) 34%, #030716 66%);
  width: min(1540px, calc(100vw - 42px));
  min-height: calc(100dvh - 18px);
  margin: 0 auto;
  display: grid;
  grid-template-rows: auto auto auto auto;
  align-content: center;
  gap: clamp(8px, 1.25vh, 16px);
  color: #ffffff;
}

body:has(.stage-lobby) {
  overflow: hidden;
}

.presenter-screen:has(.stage-lobby) {
  height: 100dvh;
  min-height: 100dvh;
  overflow: hidden;
  padding: clamp(6px, 0.9vw, 10px);
}

.full-stage:has(.stage-lobby) {
  min-height: 0;
  height: 100%;
  overflow: hidden;
}

.stage-lobby .lobby-hero-card,
.stage-lobby .lobby-stat-card,
.stage-lobby .lobby-players-wall,
.stage-lobby .lobby-waiting-pill {
  background:
    radial-gradient(circle at 50% 0%, var(--lobby-panel-glow), transparent 42%),
    linear-gradient(145deg, var(--lobby-surface-a), var(--lobby-surface-b));
  border: 1px solid var(--lobby-border);
  box-shadow:
    inset 0 0 0 1px color-mix(in srgb, var(--theme-secondary, #6ec5ff) 20%, transparent),
    inset 0 22px 48px color-mix(in srgb, var(--theme-secondary, #3983ff) 10%, transparent),
    0 18px 60px rgba(0, 0, 0, 0.42),
    0 0 20px color-mix(in srgb, var(--theme-accent, #ffb930) 18%, transparent);
  backdrop-filter: blur(8px);
}

.stage-lobby .lobby-hero-card {
  min-height: clamp(106px, 14vh, 152px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 2px minmax(0, 1fr);
  align-items: stretch;
  overflow: hidden;
  direction: ltr;
  border-radius: 26px;
  padding: clamp(12px, 1.45vw, 22px);
}

.stage-lobby .lobby-code-info {
  grid-column: 1;
  justify-self: center;
  text-align: center;
  direction: rtl;
  padding: 0;
}

.stage-lobby .lobby-code-info,
.stage-lobby .lobby-quiz-info {
  display: grid;
  grid-template-rows: clamp(1.05rem, 1.45vw, 1.45rem) minmax(0, 1fr) clamp(0.95rem, 1.35vw, 1.35rem);
  align-content: stretch;
  align-items: center;
  justify-items: center;
  min-height: clamp(92px, 11.5vh, 132px);
  height: 100%;
}

.stage-lobby .lobby-code-info::after {
  content: "";
  grid-row: 3;
  display: block;
  min-height: clamp(0.95rem, 1.35vw, 1.35rem);
}

.stage-lobby .pin-frame-code::before {
  content: none;
  display: none;
}

.stage-lobby .lobby-hero-divider {
  grid-column: 2;
  width: 2px;
  height: 84%;
  justify-self: center;
  background: linear-gradient(180deg, transparent, var(--lobby-border), transparent);
  position: relative;
}

.stage-lobby .lobby-hero-divider::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 14px;
  transform: translate(-50%, -50%) rotate(45deg);
  background: linear-gradient(140deg, #fff5c3, var(--lobby-accent-strong));
  border: 1px solid rgba(255, 255, 255, 0.68);
  box-shadow: 0 0 18px color-mix(in srgb, var(--theme-accent, #ffcd4c) 80%, transparent);
}

.stage-lobby .lobby-quiz-info {
  grid-column: 3;
  justify-self: center;
  text-align: center;
  direction: rtl;
  padding: 0;
}

.stage-lobby .pin-overline,
.stage-lobby .pin-frame-code p {
  grid-row: 1;
  align-self: end;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(0.95rem, 1.45vw, 1.45rem);
  line-height: 1.15;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
}

.stage-lobby .pin-frame-info h2 {
  grid-row: 2;
  align-self: center;
  max-width: 100%;
  margin: 0;
  color: #ffffff;
  font-size: clamp(1.75rem, 3.05vw, 3.35rem);
  line-height: 1.05;
  font-weight: 800;
  text-shadow:
    0 3px 0 rgba(0, 0, 0, 0.22),
    0 12px 32px rgba(0, 0, 0, 0.42);
  overflow-wrap: anywhere;
}

.stage-lobby .waiting-category {
  grid-row: 3;
  align-self: start;
  margin: 0;
  color: var(--lobby-accent);
  font-size: clamp(0.9rem, 1.35vw, 1.35rem);
  line-height: 1.2;
  font-weight: 700;
}

.stage-lobby .pin-frame-code h1 {
  grid-row: 2;
  align-self: center;
  margin: 0;
  color: var(--lobby-accent);
  font-size: clamp(3rem, 5.45vw, 5.9rem);
  line-height: 0.86;
  font-weight: 800;
  letter-spacing: 0;
  text-shadow:
    0 2px 0 #fff0a8,
    0 6px 0 rgba(84, 49, 0, 0.65),
    0 0 28px color-mix(in srgb, var(--theme-accent, #ffc74b) 72%, transparent);
}

.stage-lobby .lobby-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(230px, 1fr));
  gap: clamp(14px, 3vw, 52px);
  justify-content: center;
  align-items: stretch;
  width: min(1160px, 88vw);
  margin: 0 auto;
}

.stage-lobby .lobby-stat-card {
  min-height: clamp(88px, 11vh, 116px);
  border-radius: 18px;
  padding: 14px 20px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 18px;
  row-gap: 6px;
  align-items: center;
}

.stage-lobby .stat-icon {
  grid-row: 1 / span 2;
  width: clamp(52px, 5vw, 66px);
  height: clamp(52px, 5vw, 66px);
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  color: var(--lobby-accent);
  font-size: clamp(1.6rem, 2vw, 2rem);
  font-weight: 800;
  line-height: 1;
  border: 1px solid var(--lobby-border);
  background:
    radial-gradient(circle at 34% 25%, rgba(255, 255, 255, 0.18), transparent 30%),
    linear-gradient(145deg, color-mix(in srgb, var(--theme-secondary, #2c1a4a) 42%, #080e2a 58%), var(--lobby-surface-b));
  box-shadow: inset 0 0 18px color-mix(in srgb, var(--theme-accent, #ffca46) 18%, transparent);
}

.stage-lobby .stat-icon--players {
  font-size: clamp(0.95rem, 1.15vw, 1.15rem);
  letter-spacing: -4px;
  padding-inline-end: 4px;
}

.stage-lobby .orbit-title {
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(0.88rem, 1.05vw, 1.12rem);
  line-height: 1.15;
  font-weight: 600;
  text-align: start;
}

.stage-lobby .lobby-stat-card strong {
  color: #ffffff;
  font-size: clamp(1.35rem, 2vw, 2.1rem);
  line-height: 1.05;
  font-weight: 800;
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.42);
}

.stage-lobby .lobby-players-wall {
  border-radius: 26px;
  padding: clamp(14px, 1.8vw, 26px);
  width: min(92vw, var(--players-panel-width, 520px));
  margin: 0 auto;
  height: auto;
  min-height: clamp(158px, calc(128px + (var(--player-count) * 2px)), 360px);
}

.stage-lobby .players-wall-head {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  margin: 0 0 10px;
}

.stage-lobby .players-wall-head span {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--lobby-border), transparent);
}

.stage-lobby .players-wall-head h4 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(1.15rem, 1.7vw, 1.65rem);
  line-height: 1;
  font-weight: 700;
  white-space: nowrap;
}

.stage-lobby .players-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(clamp(122px, 8.2vw, 168px), clamp(122px, 8.2vw, 168px)));
  justify-content: center;
  gap: clamp(10px, 1vw, 15px);
  align-items: stretch;
}

.stage-lobby .player-tile {
  min-height: clamp(132px, 15vh, 178px);
  border-radius: 18px;
  padding: 14px 10px 12px;
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 9px;
  color: #ffffff;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--lobby-tile-a) 78%, transparent), color-mix(in srgb, var(--lobby-tile-b) 86%, transparent)),
    linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.02));
  border: 1px solid color-mix(in srgb, var(--theme-secondary, #9bb7f2) 42%, transparent);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.04),
    0 10px 24px rgba(0, 0, 0, 0.24);
  overflow: hidden;
}

.stage-lobby .player-tile.is-host {
  border-color: var(--lobby-border);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.07),
    0 10px 24px rgba(0, 0, 0, 0.24),
    0 0 18px color-mix(in srgb, var(--theme-accent, #ffc94c) 22%, transparent);
}

.stage-lobby .player-tile.is-offline {
  opacity: 0.62;
}

.stage-lobby .player-rank {
  top: 8px;
  inset-inline-start: 8px;
  inset-inline-end: auto;
  width: 28px;
  height: 28px;
  color: #ffffff;
  background: color-mix(in srgb, var(--lobby-surface-b) 92%, #000000 8%);
  border: 1px solid var(--lobby-border);
  font-size: 1rem;
  box-shadow: 0 0 12px color-mix(in srgb, var(--theme-accent, #ffc94c) 22%, transparent);
}

.stage-lobby .player-crown {
  position: absolute;
  top: 6px;
  inset-inline-end: 12px;
  color: var(--lobby-accent-strong);
  font-size: clamp(2rem, 2.4vw, 2.7rem);
  line-height: 1;
  text-shadow: 0 0 14px color-mix(in srgb, var(--theme-accent, #ffc94c) 70%, transparent);
}

.stage-lobby .player-avatar--waiting {
  width: clamp(62px, 5.7vw, 92px);
  height: clamp(62px, 5.7vw, 92px);
  margin-top: 8px;
  border-color: var(--lobby-border);
}

.stage-lobby .player-name {
  width: 100%;
  color: #ffffff;
  text-align: center;
  font-size: clamp(0.9rem, 1.1vw, 1.12rem);
  line-height: 1.2;
  font-weight: 800;
}

.stage-lobby .player-tags {
  min-width: min(118px, 100%);
  margin-top: 0;
  padding: 4px 12px 5px;
  border-radius: 999px;
  color: var(--lobby-accent);
  text-align: center;
  font-size: clamp(0.64rem, 0.78vw, 0.76rem);
  font-weight: 700;
  line-height: 1.1;
  border: 1px solid var(--lobby-border-soft);
  background: color-mix(in srgb, var(--lobby-surface-b) 72%, transparent);
  opacity: 1;
}

.stage-lobby .waiting-empty {
  grid-column: 1 / -1;
  margin: 24px 0;
  text-align: center;
  color: rgba(255, 255, 255, 0.74);
  font-size: clamp(1rem, 1.4vw, 1.4rem);
}

.stage-lobby .lobby-waiting-pill {
  justify-self: center;
  min-width: min(430px, 90vw);
  margin: 0;
  padding: 10px 28px;
  border-radius: 999px;
  color: var(--lobby-accent);
  text-align: center;
  font-size: clamp(0.95rem, 1.25vw, 1.2rem);
  font-weight: 700;
  line-height: 1.1;
}

.stage-lobby .lobby-waiting-pill span {
  width: 16px;
  height: 16px;
  margin-inline-start: 14px;
  display: inline-block;
  vertical-align: -1px;
  border-radius: 50%;
  background: var(--lobby-accent);
  box-shadow: 0 0 18px color-mix(in srgb, var(--theme-accent, #ffc94c) 86%, transparent);
}

@media (max-width: 1150px) {
  .stage-lobby {
    width: min(960px, calc(100vw - 28px));
    min-height: auto;
    align-content: start;
  }

  .stage-lobby .lobby-hero-card {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 24px;
  }

  .stage-lobby .lobby-code-info,
  .stage-lobby .lobby-quiz-info {
    grid-column: 1;
  }

  .stage-lobby .lobby-hero-divider {
    grid-column: 1;
    width: 72%;
    height: 1px;
  }

  .stage-lobby .lobby-hero-divider::after {
    width: 11px;
    height: 11px;
  }

  .stage-lobby .lobby-stats {
    width: 100%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }

  .stage-lobby .lobby-stat-card {
    min-height: 118px;
    padding: 16px;
  }

  .stage-lobby .stat-icon {
    width: 58px;
    height: 58px;
    font-size: 1.8rem;
  }
}

@media (max-width: 760px) {
  .stage-lobby {
    width: min(100%, calc(100vw - 20px));
    gap: 12px;
  }

  .stage-lobby .lobby-hero-card,
  .stage-lobby .lobby-players-wall {
    border-radius: 20px;
  }

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

  .stage-lobby .lobby-stat-card {
    grid-template-columns: auto 1fr;
    min-height: 86px;
  }

  .stage-lobby .players-grid {
    grid-template-columns: repeat(auto-fit, minmax(118px, 1fr));
  }

  .stage-lobby .player-tile {
    min-height: 166px;
  }
}
.mute-btn {
  position: fixed; top: 16px; right: 16px; z-index: 1000;
  border: 1px solid rgba(255,255,255,.35); border-radius: 999px;
  padding: 9px 14px; background: rgba(15,23,42,.72); color: white;
  font: inherit; cursor: pointer; backdrop-filter: blur(8px);
}

/* Cinematic final podium */
.cinematic-results { position:relative; width:min(1500px,96vw); min-height:min(850px,calc(100vh - 32px)); margin:auto; overflow:hidden; place-items:center; align-content:center; isolation:isolate; border-radius:clamp(24px,3vw,48px); background:radial-gradient(circle at 50% 42%,color-mix(in srgb,var(--theme-accent) 18%,transparent),transparent 30%),linear-gradient(180deg,rgba(3,7,24,.38),rgba(3,5,18,.88)); }
.results-backdrop { position:absolute; inset:0; z-index:-1; overflow:hidden; }
.results-backdrop::after { content:""; position:absolute; inset:0; background:radial-gradient(ellipse at center bottom,rgba(255,222,123,.13),transparent 55%); animation:resultsBackdropIn 1.1s ease both; }
.results-beam { position:absolute; top:-18%; width:24%; height:130%; opacity:0; background:linear-gradient(180deg,rgba(255,244,201,.25),rgba(255,214,104,.02)); filter:blur(10px); transform-origin:top center; animation:resultsBeamIn 2s 7.2s ease forwards; }
.beam-left { left:18%; transform:rotate(18deg); } .beam-right { right:18%; transform:rotate(-18deg); }
.results-sparkles { position:absolute; inset:5% 8% 15%; opacity:0; background-image:radial-gradient(circle,#fff2b4 0 2px,transparent 3px),radial-gradient(circle,#fff 0 1px,transparent 2px); background-position:12% 28%,78% 18%; background-size:95px 105px,73px 89px; animation:resultsSparkles 2.4s 7.3s ease forwards; }
.cinematic-results-title { text-align:center; margin-bottom:clamp(18px,3vh,42px); opacity:0; animation:resultsTitleIn .8s .15s ease forwards; }
.cinematic-results-title span { color:rgba(255,255,255,.72); font-size:clamp(1rem,1.5vw,1.35rem); font-weight:700; }
.cinematic-results-title h2 { margin:2px 0 0; color:#fff; font-size:clamp(2.2rem,5vw,5.3rem); line-height:1; text-shadow:0 10px 40px rgba(0,0,0,.55); }
.cinematic-podium { width:min(1120px,92vw); min-height:clamp(430px,58vh,590px); display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); grid-template-areas:"second first third"; align-items:end; gap:clamp(12px,2vw,34px); direction:ltr; }
.cinematic-podium-player { position:relative; display:grid; justify-items:center; align-content:end; opacity:0; transform:translateY(90px) scale(.82); }
.cinematic-podium-player.rank-1 { grid-area:first; --podium-height:clamp(180px,25vh,260px); --medal:#ffd75e; animation:podiumWinnerIn 1.5s 7.5s cubic-bezier(.16,.9,.24,1.18) forwards; }
.cinematic-podium-player.rank-2 { grid-area:second; --podium-height:clamp(125px,18vh,188px); --medal:#dce5f2; animation:podiumPlayerIn 1s 4.5s cubic-bezier(.18,.82,.28,1.16) forwards; }
.cinematic-podium-player.rank-3 { grid-area:third; --podium-height:clamp(88px,13vh,142px); --medal:#d58a52; animation:podiumPlayerIn .9s 1.5s cubic-bezier(.18,.82,.28,1.16) forwards; }
.podium-player-card { position:relative; z-index:2; width:min(270px,100%); min-height:210px; padding:26px 18px 20px; display:grid; justify-items:center; align-content:center; gap:9px; direction:rtl; border:1px solid color-mix(in srgb,var(--medal) 65%,transparent); border-radius:28px 28px 18px 18px; color:white; background:linear-gradient(155deg,rgba(255,255,255,.16),rgba(8,12,38,.88) 55%); box-shadow:0 24px 55px rgba(0,0,0,.38),inset 0 0 24px color-mix(in srgb,var(--medal) 12%,transparent),0 0 30px color-mix(in srgb,var(--medal) 18%,transparent); }
.rank-1 .podium-player-card { min-height:270px; transform:scale(1.08); border-width:2px; }
.podium-avatar-frame { width:118px; height:118px; display:grid; place-items:center; border-radius:50%; background:radial-gradient(circle,color-mix(in srgb,var(--medal) 25%,transparent),transparent 68%); }
.rank-1 .podium-avatar-frame { width:150px; height:150px; }
.cinematic-podium .player-avatar--final-podium { width:104px; height:104px; border-color:var(--medal); box-shadow:0 0 32px color-mix(in srgb,var(--medal) 44%,transparent); }
.cinematic-podium .rank-1 .player-avatar--final-podium { width:132px; height:132px; }
.podium-rank-badge { position:absolute; top:16px; inset-inline-start:16px; width:38px; height:38px; display:grid; place-items:center; border-radius:50%; color:#151025; background:var(--medal); font-weight:900; font-size:1.15rem; box-shadow:0 0 22px color-mix(in srgb,var(--medal) 55%,transparent); }
.podium-player-name { max-width:100%; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:clamp(1.1rem,1.8vw,1.65rem); }
.rank-1 .podium-player-name { font-size:clamp(1.35rem,2.2vw,2rem); }
.podium-player-score { color:var(--medal); font-size:clamp(.9rem,1.2vw,1.15rem); font-weight:800; }
.podium-column { width:88%; height:var(--podium-height); display:grid; place-items:center; border:1px solid color-mix(in srgb,var(--medal) 48%,transparent); border-top:3px solid var(--medal); border-radius:14px 14px 4px 4px; background:linear-gradient(180deg,color-mix(in srgb,var(--medal) 21%,#151735 79%),rgba(7,9,28,.92)); box-shadow:inset 0 16px 32px color-mix(in srgb,var(--medal) 10%,transparent),0 24px 50px rgba(0,0,0,.35); }
.podium-column strong { color:color-mix(in srgb,var(--medal) 80%,white 20%); font-size:clamp(3rem,6vw,6.5rem); opacity:.82; text-shadow:0 0 26px color-mix(in srgb,var(--medal) 42%,transparent); }
.podium-spotlight { position:absolute; z-index:-1; bottom:0; width:130%; height:115%; border-radius:50%; opacity:.45; background:radial-gradient(ellipse,color-mix(in srgb,var(--medal) 30%,transparent),transparent 64%); filter:blur(14px); }
.winner-crown { position:absolute; z-index:3; top:-58px; color:#ffe58a; font-size:4.7rem; line-height:1; filter:drop-shadow(0 0 16px rgba(255,214,77,.7)); animation:winnerCrownFloat 2s 8.7s ease-in-out infinite alternate; }
@keyframes resultsBackdropIn { from { opacity:0 } to { opacity:1 } }
@keyframes resultsTitleIn { from { opacity:0; transform:translateY(-20px) } to { opacity:1; transform:none } }
@keyframes podiumPlayerIn { 0% { opacity:0; transform:translateY(90px) scale(.82) } 65% { opacity:1; transform:translateY(-12px) scale(1.03) } 100% { opacity:1; transform:none } }
@keyframes podiumWinnerIn { 0% { opacity:0; transform:translateY(-130px) scale(1.35); filter:brightness(2) } 55% { opacity:1; transform:translateY(16px) scale(.96); filter:brightness(1.5) } 78% { transform:translateY(-9px) scale(1.04) } 100% { opacity:1; transform:none; filter:none } }
@keyframes resultsBeamIn { from { opacity:0 } to { opacity:.75 } }
@keyframes resultsSparkles { 0% { opacity:0; transform:scale(.8) } 45% { opacity:.9 } 100% { opacity:.48; transform:scale(1.05) } }
@keyframes winnerCrownFloat { from { transform:translateY(0) rotate(-3deg) } to { transform:translateY(-8px) rotate(3deg) } }
@media (max-width:760px) { .cinematic-results{min-height:calc(100vh - 16px);border-radius:18px}.cinematic-podium{width:96vw;gap:7px;min-height:420px}.podium-player-card{min-height:170px;padding:20px 8px 14px;border-radius:18px 18px 12px 12px}.rank-1 .podium-player-card{min-height:215px;transform:none}.podium-avatar-frame{width:82px;height:82px}.rank-1 .podium-avatar-frame{width:100px;height:100px}.cinematic-podium .player-avatar--final-podium{width:72px;height:72px}.cinematic-podium .rank-1 .player-avatar--final-podium{width:90px;height:90px}.podium-rank-badge{width:30px;height:30px;top:9px;inset-inline-start:9px}.winner-crown{top:-42px;font-size:3.5rem} }
@media (prefers-reduced-motion:reduce) { .cinematic-results *,.cinematic-results *::before,.cinematic-results *::after{animation-delay:0s!important;animation-duration:.01ms!important;animation-iteration-count:1!important}.cinematic-podium-player,.cinematic-results-title,.results-beam,.results-sparkles{opacity:1;transform:none} }

/* Open lobby avatars */
.stage-lobby .lobby-players-wall { width:min(92vw,1200px); min-height:180px; padding:10px 12px 20px; border:0; background:transparent; box-shadow:none; backdrop-filter:none; }
.stage-lobby .players-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(clamp(105px,8vw,150px),1fr)); justify-content:center; align-items:start; gap:clamp(18px,2.2vw,38px); width:min(100%,1100px); margin:0 auto; }
.stage-lobby .lobby-player-avatar { position:relative; min-width:0; display:grid; justify-items:center; align-content:start; gap:10px; padding:8px 2px; color:#fff; }
.stage-lobby .lobby-player-avatar .player-avatar--waiting { position:relative; z-index:2; width:clamp(88px,7.5vw,132px); height:clamp(88px,7.5vw,132px); margin:0; border:0; border-radius:0; background:none; box-shadow:none; overflow:visible; isolation:auto; }
.stage-lobby .lobby-player-avatar .player-avatar--waiting::after { display:none; }
.stage-lobby .lobby-player-avatar .player-name { position:relative; z-index:2; max-width:100%; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; text-align:center; color:#fff; font-size:clamp(.95rem,1.25vw,1.3rem); font-weight:850; text-shadow:0 4px 15px rgba(0,0,0,.8); }
.stage-lobby .lobby-avatar-glow { display:none; }
.stage-lobby .lobby-player-avatar.is-joining { animation:lobbyPlayerJoin 1100ms var(--join-delay,0ms) cubic-bezier(.16,.72,.22,1) both; }
.stage-lobby .lobby-player-avatar.is-joining .player-name { animation:lobbyNameJoin 520ms calc(var(--join-delay,0ms) + 480ms) ease-out both; }
::view-transition-group(*) { animation-duration:650ms; animation-timing-function:cubic-bezier(.2,.7,.2,1); }
@keyframes lobbyPlayerJoin { 0%{opacity:0;transform:translateY(42px) scale(.68)} 48%{opacity:1;transform:translateY(-5px) scale(1.025)} 72%{transform:translateY(2px) scale(.992)} 100%{opacity:1;transform:none} }
@keyframes lobbyNameJoin { from{opacity:0;transform:translateY(7px)} to{opacity:1;transform:none} }
@media (max-width:700px) { .stage-lobby .players-grid{grid-template-columns:repeat(auto-fit,minmax(90px,1fr));gap:14px}.stage-lobby .lobby-player-avatar .player-avatar--waiting{width:82px;height:82px} }
@media (prefers-reduced-motion:reduce) { .stage-lobby .lobby-player-avatar,.stage-lobby .lobby-avatar-glow,.stage-lobby .lobby-player-avatar .player-name{animation:none!important} }

/* Question reveal, ranking motion, and final top-eight presentation */
.question-progress { position:absolute; z-index:12; top:clamp(14px,2vw,30px); left:clamp(16px,2.5vw,40px); min-width:88px; padding:9px 17px; border:1px solid rgba(255,255,255,.28); border-radius:999px; color:#fff; background:rgba(5,9,32,.68); box-shadow:0 10px 28px rgba(0,0,0,.3); backdrop-filter:blur(12px); text-align:center; font-size:clamp(1rem,1.5vw,1.35rem); font-weight:900; letter-spacing:.04em; }
.live-bottom-answers .answer { transition:opacity .55s ease,filter .55s ease,transform .55s cubic-bezier(.2,.8,.2,1),box-shadow .55s ease; }
.live-bottom-answers .answer.wrong { opacity:.28; filter:grayscale(.9) brightness(.42); transform:scale(.985); box-shadow:none; }
.live-bottom-answers .answer.correct { position:relative; z-index:2; overflow:hidden; border-color:#7dffb4; background:linear-gradient(105deg,#128855,#20c979); box-shadow:0 0 0 3px rgba(85,255,160,.18),0 0 38px rgba(55,255,151,.5),0 18px 42px rgba(0,0,0,.32); animation:correctAnswerReveal 900ms cubic-bezier(.16,.82,.24,1) both; }
.live-bottom-answers .answer.correct::before { content:"✓"; position:absolute; inset-inline-end:18px; width:42px; height:42px; display:grid; place-items:center; border-radius:50%; color:#087044; background:#eafff2; font-size:1.7rem; font-weight:1000; box-shadow:0 0 24px rgba(255,255,255,.65); animation:correctCheckIn 650ms 180ms cubic-bezier(.16,.9,.3,1.3) both; }
.live-bottom-answers .answer.correct::after { content:""; position:absolute; inset:-80% -25%; pointer-events:none; background:linear-gradient(105deg,transparent 38%,rgba(255,255,255,.5) 49%,transparent 60%); transform:translateX(-65%); animation:correctSweep 1150ms 180ms ease-out both; }
.ranking-player-row { direction:rtl; grid-template-columns:34px 64px minmax(0,1fr) auto !important; overflow:visible !important; text-align:right; animation:rankingReorder 1650ms var(--rank-delay) cubic-bezier(.16,.76,.18,1) both !important; }
.ranking-player-row strong { text-align:right; }
.ranking-rank { width:30px; height:30px; display:grid; place-items:center; border-radius:50%; color:#11172e; background:#f7f2e8; font-weight:950; }
.ranking-player-row.rank-up .ranking-rank { color:#063d26; background:#7dffb4; box-shadow:0 0 18px rgba(80,255,160,.45); }
.ranking-player-row.rank-down { filter:saturate(.8); }
.player-avatar--question-head,.cinematic-results .player-avatar--final,.cinematic-results .player-avatar--final-podium { border:0 !important; border-radius:0 !important; background:none !important; box-shadow:none !important; overflow:visible !important; }
.player-avatar--question-head { width:64px; height:64px; transform:scale(1.35); }
.player-avatar--question-head::after,.cinematic-results .player-avatar--final::after,.cinematic-results .player-avatar--final-podium::after { display:none !important; }

.final-results-layout { position:relative; z-index:2; width:100%; min-height:570px; display:block; }
.final-results-layout .cinematic-podium { margin-inline:auto; }
.final-results-layout .podium-avatar-frame { border-radius:0; background:none; }
.final-top-eight { position:absolute; z-index:8; top:24px; right:8px; width:clamp(320px,20vw,380px); max-height:590px; padding:20px; overflow:hidden; opacity:0; transform:translateX(120px); border:1px solid rgba(255,255,255,.18); border-radius:26px; background:linear-gradient(155deg,rgba(255,255,255,.13),rgba(5,9,32,.86)); box-shadow:0 24px 60px rgba(0,0,0,.38); transition:opacity 650ms 180ms ease,transform 850ms cubic-bezier(.18,.82,.22,1); }
.final-top-eight h3 { margin:0 0 12px; color:#fff; text-align:center; font-size:clamp(1.25rem,2vw,1.8rem); }
.final-top-row { min-height:56px; display:grid; grid-template-columns:38px 54px minmax(0,1fr) auto; align-items:center; gap:10px; margin:7px 0; padding:5px 12px; color:#fff; border:1px solid rgba(255,255,255,.12); border-radius:16px; background:rgba(255,255,255,.075); opacity:0; }
.final-top-row .player-avatar--final { width:52px; height:52px; }
.final-top-row strong { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.final-top-rank { width:30px; height:30px; display:grid; place-items:center; border-radius:50%; color:#14172c; background:#eee; font-weight:950; }
.final-top-row:first-of-type .final-top-rank { background:#ffd75b; }
.final-top-score { color:#ffd75b; font-weight:900; }
.cinematic-results.show-leaderboard { overflow:visible; }
.cinematic-results.show-leaderboard .final-top-eight { opacity:1; transform:none; }
.cinematic-results.show-leaderboard .final-top-row { animation:finalTopRowIn 650ms var(--row-delay) cubic-bezier(.18,.82,.22,1) forwards; }

@keyframes correctAnswerReveal { 0%{transform:scale(.96);filter:brightness(.8)} 55%{transform:scale(1.035);filter:brightness(1.2)} 100%{transform:none;filter:none} }
@keyframes correctCheckIn { from{opacity:0;transform:scale(.2) rotate(-30deg)} to{opacity:1;transform:none} }
@keyframes correctSweep { to{transform:translateX(65%)} }
@keyframes rankingReorder { from{opacity:.82;transform:translateY(calc(var(--rank-delta) * -72px));filter:brightness(1.35)} to{opacity:1;transform:none;filter:none} }
@keyframes finalTopRowIn { from{opacity:0;transform:translateX(45px)} to{opacity:1;transform:none} }
@media (min-width:1400px) { .final-top-eight{right:calc((100vw - 100%) / -2 + 24px)} }
@media (max-width:1200px) { .final-top-eight{right:8px;top:14px;width:310px;padding:12px}.final-top-row{grid-template-columns:32px 46px minmax(0,1fr) auto;gap:7px;padding-inline:7px}.final-top-row .player-avatar--final{width:44px;height:44px} }
@media (prefers-reduced-motion:reduce) { .live-bottom-answers .answer,.ranking-player-row,.final-results-layout,.final-top-eight,.final-top-row{animation:none!important;transition:none!important}.live-bottom-answers .answer.correct::before{animation:none!important;opacity:1}.live-bottom-answers .answer.correct::after{display:none}.ranking-player-row{opacity:1!important;transform:none!important}.cinematic-results.show-leaderboard .final-top-eight,.cinematic-results.show-leaderboard .final-top-row{opacity:1;transform:none} }
