.hm-game-mode-route-active body {
  overflow: hidden;
}

.hm-game-mode-route-root {
  background: #07111f;
  color: #fff;
  inset: 0;
  overflow: auto;
  position: fixed;
  z-index: 200000;
}

.hm-game-mode-console-route {
  background:
    radial-gradient(circle at 8% 0%, rgba(245, 181, 27, 0.18), transparent 34rem),
    linear-gradient(135deg, rgba(21, 200, 168, 0.12), rgba(11, 18, 32, 0));
  min-height: 100vh;
  padding: clamp(1rem, 2.5vw, 2rem);
}

.hm-game-mode-console-header {
  align-items: center;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin-bottom: 1.2rem;
}

.hm-game-mode-console-header h1 {
  color: #fff;
  font-size: clamp(1.8rem, 3vw, 3rem);
  font-weight: 900;
  margin: 0;
}

.hm-game-mode-console-header p {
  color: rgba(255, 255, 255, 0.68);
  font-weight: 700;
  margin: 0.25rem 0 0;
}

.hm-game-mode-console-header__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: flex-end;
}

.hm-game-mode-console-layout {
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(260px, 360px) minmax(0, 1fr);
}

.hm-game-mode-console-controls,
.hm-game-mode-console-main {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 1rem;
}

.hm-game-mode-console-main .hm-game-mode-spectacle {
  background: rgba(255, 255, 255, 0.04);
}

.hm-game-mode-projector-share {
  background: rgba(245, 181, 27, 0.1);
  border: 1px solid rgba(245, 181, 27, 0.22);
  border-radius: 8px;
  display: grid;
  gap: 0.65rem;
  margin-top: 1rem;
  padding: 0.8rem;
}

.hm-game-mode-projector-share span {
  color: rgba(255, 255, 255, 0.62);
  display: block;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hm-game-mode-projector-share a {
  color: #fde68a;
  font-size: 0.78rem;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.hm-game-mode-projector-share img {
  background: #fff;
  border-radius: 8px;
  height: 168px;
  padding: 0.35rem;
  width: 168px;
}

.hm-game-mode-projector-share small {
  color: #86efac;
  font-weight: 800;
}

.hm-game-mode-projector-fallback {
  border-radius: 8px;
  font-weight: 800;
}

.hm-game-mode-coaching-card {
  background: rgba(245, 181, 27, 0.1);
  border: 1px solid rgba(245, 181, 27, 0.2);
  border-radius: 8px;
  margin-top: 1rem;
  padding: 1rem;
}

.hm-game-mode-coaching-card span {
  color: #f5b51b;
  display: block;
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hm-game-mode-coaching-card strong {
  color: #fff;
  display: block;
  font-size: 1.05rem;
  margin-top: 0.2rem;
}

.hm-game-mode-coaching-card p {
  color: rgba(255, 255, 255, 0.72);
  font-weight: 700;
  margin: 0.35rem 0 0;
}

.hm-game-mode-projector-route {
  background:
    radial-gradient(circle at 6% 4%, rgba(245, 181, 27, 0.2), transparent 34vw),
    radial-gradient(circle at 92% 100%, rgba(21, 200, 168, 0.22), transparent 38vw),
    #07111f;
  min-height: 100vh;
  overflow: hidden;
  padding: clamp(1rem, 2.2vw, 2.8rem);
  position: relative;
}

.hm-game-mode-projector-motion {
  background: linear-gradient(135deg, rgba(245, 181, 27, 0.12), rgba(21, 200, 168, 0.08));
  height: 100%;
  inset: 0;
  object-fit: cover;
  opacity: 0.34;
  position: absolute;
  width: 100%;
}

.hm-game-mode-projector-motion-fallback,
.hm-game-mode-projector-motion--placeholder {
  background:
    linear-gradient(120deg, rgba(245, 181, 27, 0.16), transparent 32%),
    linear-gradient(300deg, rgba(21, 200, 168, 0.18), transparent 38%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.04) 0 2px, transparent 2px 18px);
  height: 100%;
  inset: 0;
  opacity: 0.45;
  position: absolute;
  transform: translate3d(0, 0, 0);
  width: 100%;
}

.hm-game-mode-projector-motion-fallback {
  opacity: 0.22;
}

.hm-game-mode-projector-audio-unlock {
  align-items: center;
  background: rgba(7, 17, 31, 0.72);
  border: 1px solid rgba(245, 181, 27, 0.72);
  border-radius: 8px;
  color: #f5c542;
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 900;
  gap: 0.35rem;
  padding: 0.42rem 0.58rem;
  position: absolute;
  right: clamp(1rem, 2vw, 2rem);
  top: clamp(1rem, 2vw, 2rem);
  transform: translate3d(0, 0, 0);
  z-index: 3;
}

.hm-game-mode-projector-layer {
  display: grid;
  min-height: calc(100vh - 5.6rem);
  place-items: center;
  position: relative;
  transform: translate3d(0, 0, 0);
  transition: opacity 240ms ease, transform 240ms ease;
  z-index: 1;
}

.hm-game-mode-projector-route--burning .hm-game-mode-projector-motion {
  opacity: 0;
}

.hm-game-mode-projector-route--burning .hm-game-mode-projector-motion[data-intro-playing] {
  opacity: 1;
}

[data-intro-playing] ~ .hm-game-mode-projector-intro-status {
  visibility: hidden;
}

.hm-game-mode-projector-intro-status p {
  color: #fff;
  font-size: clamp(1.5rem, 4vw, 3rem);
  font-weight: 900;
  text-align: center;
}

.hm-game-mode-projector-hero,
.hm-game-mode-projector-question,
.hm-game-mode-projector-final {
  max-width: 92vw;
  width: 100%;
}

.hm-game-mode-projector-hero {
  text-align: center;
}

.hm-game-mode-projector-hero h1,
.hm-game-mode-projector-question h1,
.hm-game-mode-projector-final h1 {
  color: #fff;
  font-size: clamp(3rem, 7vw, 7.4rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.98;
  margin: 0.25em 0;
}

.hm-game-mode-projector-hero p {
  color: rgba(255, 255, 255, 0.74);
  font-size: clamp(1.3rem, 2vw, 2.2rem);
  font-weight: 800;
}

.hm-game-mode-projector-lobby-grid {
  display: grid;
  gap: 1vw;
  grid-template-columns: repeat(auto-fit, minmax(min(26vw, 280px), 1fr));
  margin-top: 4vh;
  width: min(90vw, 1300px);
}

.hm-game-mode-projector-lobby-grid article {
  background: rgba(255, 255, 255, 0.1);
  border-left: 0.55rem solid var(--team-color, #f5b51b);
  border-radius: 8px;
  min-height: 18vh;
  padding: clamp(1rem, 1.4vw, 1.5rem);
}

.hm-game-mode-projector-lobby-grid strong {
  color: #fff;
  display: block;
  font-size: clamp(1.4rem, 2vw, 2.4rem);
  font-weight: 900;
}

.hm-game-mode-projector-lobby-grid span {
  color: #f5b51b;
  font-weight: 900;
}

.hm-game-mode-projector-lobby-grid ul {
  display: grid;
  gap: 0.35rem;
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
}

.hm-game-mode-projector-lobby-grid li {
  background: rgba(255, 255, 255, 0.09);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 800;
  padding: 0.45rem 0.6rem;
}

.hm-game-mode-projector-meta {
  align-items: center;
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  font-size: clamp(1rem, 1.4vw, 1.7rem);
  font-weight: 900;
  gap: 1rem;
  justify-content: center;
  text-transform: uppercase;
}

.hm-game-mode-projector-meta strong {
  background: #f5b51b;
  border-radius: 999px;
  color: #111827;
  padding: 0.35em 0.65em;
}

.hm-game-mode-projector-question h1 {
  font-size: clamp(2.4rem, 5.5vw, 6rem);
  text-align: center;
}

.hm-game-mode-projector-options {
  display: grid;
  gap: clamp(0.8rem, 1.2vw, 1.4rem);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: clamp(1.2rem, 3vh, 3rem);
  perspective: 800px;
  transform-style: preserve-3d;
}

.hm-game-mode-projector-options article {
  align-items: center;
  background: rgba(248, 250, 252, 0.95);
  border-bottom: 0.45rem solid rgba(0, 0, 0, 0.18);
  border-radius: 8px;
  color: #111827;
  display: grid;
  gap: 0.9rem;
  grid-template-columns: auto minmax(0, 1fr);
  min-height: clamp(95px, 14vh, 180px);
  padding: clamp(0.9rem, 1.5vw, 1.6rem);
  transform: translate3d(0, 0, 0);
  transition: opacity 220ms ease, transform 220ms ease;
}

.hm-game-mode-projector-options article strong {
  align-items: center;
  background: #07111f;
  border-radius: 999px;
  color: #f5b51b;
  display: inline-flex;
  font-size: clamp(1.6rem, 2.2vw, 2.6rem);
  font-weight: 900;
  height: clamp(3.8rem, 5vw, 5.4rem);
  justify-content: center;
  width: clamp(3.8rem, 5vw, 5.4rem);
}

.hm-game-mode-projector-options article span {
  font-size: clamp(1.15rem, 1.9vw, 2.3rem);
  font-weight: 900;
  line-height: 1.12;
}

.hm-game-mode-projector-options article.is-hidden {
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.64);
  opacity: 0.56;
}

.hm-game-mode-projector-options article.is-visible.is-revealing {
  transition: none !important;
  animation: optionCardReveal var(--hm-transition-speed-slow) var(--hm-transition-bezier) forwards;
}

.hm-game-mode-projector-options article.is-correct {
  background: linear-gradient(135deg, #dcfce7, #86efac);
  box-shadow: 0 0 0 0.3rem rgba(34, 197, 94, 0.28);
}

.hm-game-mode-projector-options article.is-muted {
  opacity: 0.42;
}

@keyframes misconceptionPulse {
  0%, 100% {
    box-shadow: 0 0 0 0.35rem rgba(239, 68, 68, 0.6);
  }
  50% {
    box-shadow: 0 0 0 0.6rem rgba(239, 68, 68, 0.9), 0 0 20px rgba(239, 68, 68, 0.5);
  }
}

.hm-game-mode-projector-options article.is-misconception-alert {
  opacity: 1 !important;
  box-shadow: 0 0 0 0.35rem #ef4444 !important;
  animation: misconceptionPulse 2.4s infinite ease-in-out;
}

.hm-game-mode-projector-reveal-line {
  color: #fff;
  font-size: clamp(1.4rem, 2vw, 2.5rem);
  font-weight: 900;
  margin-top: 2vh;
  text-align: center;
}

.hm-game-mode-projector-race {
  display: grid;
  gap: clamp(0.6rem, 1vh, 1rem);
  margin: 4vh auto 0;
  width: min(84vw, 1400px);
}

.hm-game-mode-projector-race__row {
  align-items: center;
  display: grid;
  gap: 1vw;
  grid-template-columns: minmax(100px, 12vw) minmax(0, 1fr) auto;
}

.hm-game-mode-projector-race__row span,
.hm-game-mode-projector-race__row strong {
  color: #fff;
  font-size: clamp(1.05rem, 1.6vw, 2rem);
  font-weight: 900;
}

.hm-game-mode-projector-race__row i {
  background: rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  display: block;
  height: clamp(0.75rem, 1.2vw, 1.4rem);
  overflow: hidden;
}

.hm-game-mode-projector-race__row b {
  background: var(--team-color, #f5b51b);
  display: block;
  height: 100%;
}

.hm-game-mode-projector-final {
  text-align: center;
}

.hm-game-mode-projector-results {
  --winner-flight-time: 1.45s;
  --winner-watering-time: 1.15s;
  --winner-gold-delay: calc(var(--winner-flight-time) + 0.35s);
  color: #fff;
  width: min(90vw, 85rem);
}

.hm-game-mode-projector-results h1 {
  font-size: clamp(2rem, 4.1vw, 4.5rem);
  margin: 0 0 clamp(1rem, 2.5vh, 1.8rem);
  text-transform: uppercase;
}

.hm-game-mode-projector-winners {
  display: grid;
  gap: 1rem;
}

.hm-game-mode-projector-winner {
  align-items: center;
  display: grid;
  gap: clamp(0.4rem, 2vw, 1.6rem);
  grid-template-columns: minmax(0, 1fr) clamp(4.8rem, 14.5vw, 13.5rem);
}

.hm-game-mode-projector-winner-card {
  background: #fff;
  border: 1px solid #fff1c4;
  border-radius: 16px;
  color: #241709;
  min-width: 0;
  padding: clamp(1rem, 2.2vw, 2.15rem);
  position: relative;
  text-align: left;
}

.hm-game-mode-projector-winner-card::before {
  animation: hm-game-mode-winner-turn-gold 0.55s ease-out var(--winner-gold-delay) both;
  background: linear-gradient(120deg, #ffecac, #ffd46b 46%, #f2af23);
  border-radius: inherit;
  box-shadow: 0 0 2rem rgba(245, 181, 27, 0.48);
  content: '';
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.hm-game-mode-projector-winner-card .hm-gold-sweep-overlay {
  border-radius: inherit;
}

.hm-game-mode-projector-winner-card .hm-gold-sweep-overlay::after {
  animation-delay: calc(var(--winner-gold-delay) + 0.4s);
}

.hm-game-mode-projector-winner-copy {
  position: relative;
  z-index: 2;
}

.hm-game-mode-projector-winner-heading {
  align-items: baseline;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.2rem;
  justify-content: space-between;
}

.hm-game-mode-projector-winner-heading h2,
.hm-game-mode-projector-winner-heading strong {
  font-size: clamp(1.6rem, 3.3vw, 3.8rem);
  font-weight: 900;
  line-height: 1.06;
  margin: 0;
  overflow-wrap: anywhere;
}

.hm-game-mode-projector-winner-heading h2 {
  flex: 1 1 12rem;
}

.hm-game-mode-projector-winner-card p {
  font-size: clamp(0.9rem, 1.3vw, 1.25rem);
  font-weight: 800;
  margin: 0.4rem 0 0;
}

.hm-game-mode-projector-winner-card ul {
  border-top: 1px solid rgba(74, 45, 6, 0.24);
  display: grid;
  font-size: clamp(1rem, 1.7vw, 1.65rem);
  font-weight: 750;
  gap: 0.28rem 1rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 10rem), 1fr));
  line-height: 1.25;
  list-style: none;
  margin: clamp(0.7rem, 1.6vh, 1.1rem) 0 0;
  padding: clamp(0.65rem, 1.35vh, 1rem) 0 0;
}

.hm-game-mode-projector-winner-card li {
  overflow-wrap: anywhere;
}

.hm-game-mode-projector-winner-trophy {
  aspect-ratio: 1;
  background: #fff3d1;
  border: 1px solid #ffe7a3;
  border-radius: 16px;
  box-shadow: 0 0 1.6rem rgba(245, 181, 27, 0.25);
  display: grid;
  isolation: isolate;
  overflow: hidden;
  place-items: center;
}

.hm-game-mode-projector-winner-trophy img {
  display: block;
  height: auto;
  mix-blend-mode: multiply;
  width: 100%;
}

.hm-game-mode-projector-winner-trophy i {
  color: #a15c04;
  display: none;
  font-size: clamp(2.75rem, 7vw, 6rem);
}

.hm-game-mode-projector-bee {
  --bee-size: clamp(6rem, 16vw, 13rem);
  height: auto;
  left: 12%;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  top: calc(var(--bee-size) * -0.58);
  width: var(--bee-size);
  z-index: 3;
}

.hm-game-mode-projector-bee--entrance {
  animation: hm-game-mode-winner-bee-in var(--winner-flight-time) cubic-bezier(0.17, 0.7, 0.28, 1);
}

.hm-game-mode-projector-bee--watering {
  animation: hm-game-mode-winner-bee-water var(--winner-watering-time) linear var(--winner-flight-time);
}

.hm-game-mode-projector-bee--exit {
  animation: hm-game-mode-winner-bee-out 1.35s cubic-bezier(0.65, 0, 0.86, 0.45)
    calc(var(--winner-flight-time) + var(--winner-watering-time));
}

@keyframes hm-game-mode-winner-bee-in {
  from { opacity: 1; transform: translate(100vw, 25%); }
  to { opacity: 1; transform: translate(0, 0); }
}

@keyframes hm-game-mode-winner-bee-water {
  from, to { opacity: 1; }
}

@keyframes hm-game-mode-winner-bee-out {
  from { opacity: 1; transform: translate(0, 0); }
  to { opacity: 1; transform: translate(100vw, -35%); }
}

@keyframes hm-game-mode-winner-turn-gold {
  from { opacity: 0; }
  to { opacity: 1; }
}

.hm-game-mode-projector-standings {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  justify-content: center;
  list-style: none;
  margin: clamp(0.75rem, 1.8vh, 1.2rem) 0 0;
  padding: 0;
}

.hm-game-mode-projector-standings li {
  align-items: baseline;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 8px;
  display: grid;
  flex: 0 1 clamp(12rem, 27vw, 26rem);
  font-size: clamp(0.93rem, 1.25vw, 1.35rem);
  gap: 0.45rem;
  grid-template-columns: auto minmax(0, 1fr) auto;
  min-width: 0;
  padding: 0.65rem 0.85rem;
  text-align: left;
}

.hm-game-mode-projector-standings li strong {
  overflow-wrap: anywhere;
}

.hm-game-mode-projector-standings li small {
  display: block;
}

.hm-game-mode-projector-standings li span {
  color: #cbd5e1;
  font-weight: 800;
}

.hm-game-mode-projector-standings li em {
  font-style: normal;
  font-weight: 800;
  white-space: nowrap;
}

.hm-game-mode-projector-podium {
  border-top: 1px solid rgba(255, 255, 255, 0.23);
  margin: clamp(1rem, 3vh, 2.2rem) auto 0;
  padding-top: clamp(0.7rem, 1.8vh, 1.25rem);
}

.hm-game-mode-projector-podium h2 {
  color: #fff;
  font-size: clamp(1.25rem, 2.2vw, 2.2rem);
  font-weight: 850;
  margin: 0;
  text-transform: uppercase;
}

.hm-game-mode-projector-podium p {
  color: #cbd5e1;
  font-size: clamp(0.76rem, 1.15vw, 1.05rem);
  font-weight: 750;
  margin: 0.3rem 0 0.9rem;
}

.hm-game-mode-projector-podium-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  justify-content: center;
}

@media (prefers-reduced-motion: reduce) {
  .hm-game-mode-projector-bee,
  .hm-game-mode-projector-winner-trophy img,
  .hm-game-mode-projector-results .hm-gold-sweep-overlay {
    display: none;
  }

  .hm-game-mode-projector-winner-card::before,
  .hm-game-mode-projector-results .hm-projector-trophy {
    animation: none;
  }

  .hm-game-mode-projector-winner-trophy i {
    display: inline-block;
  }
}

@keyframes podiumRise {
  0% {
    transform: translateY(100vh);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes goldSweep {
  0% {
    transform: skewX(-25deg) translateX(-150%);
  }
  30%, 100% {
    transform: skewX(-25deg) translateX(150%);
  }
}

.hm-game-mode-projector-podium article {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  box-shadow: 0 20px 46px rgba(0, 0, 0, 0.28);
  opacity: 1;
  flex: 0 1 clamp(12rem, 25vw, 23rem);
  min-width: 0;
  overflow-wrap: anywhere;
  padding: 0.8rem 1rem;
  transform: translateY(0);
}

.hm-game-mode-projector-podium article.is-third {
  background: linear-gradient(135deg, rgba(180, 83, 9, 0.34), rgba(255, 255, 255, 0.12));
}

.hm-game-mode-projector-podium article.is-second {
  background: linear-gradient(135deg, rgba(203, 213, 225, 0.32), rgba(255, 255, 255, 0.12));
}

.hm-game-mode-projector-podium article.is-first {
  background: linear-gradient(135deg, rgba(245, 181, 27, 0.38), rgba(255, 255, 255, 0.16));
  position: relative;
  overflow: visible !important;
  box-shadow: 0 0 30px rgba(245, 181, 27, 0.42), 0 24px 58px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(245, 181, 27, 0.6);
}

.hm-game-mode-projector-podium span,
.hm-game-mode-projector-podium strong,
.hm-game-mode-projector-podium em {
  color: #fff;
  display: block;
  font-style: normal;
  font-weight: 900;
}

.hm-game-mode-projector-podium strong {
  font-size: clamp(1.15rem, 2.05vw, 2.1rem);
  line-height: 1.15;
}

.hm-game-mode-projector-podium span,
.hm-game-mode-projector-podium em {
  font-size: clamp(0.85rem, 1.15vw, 1.2rem);
}

.hm-game-mode-projector-status {
  bottom: clamp(0.75rem, 1.5vw, 1.5rem);
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(0.85rem, 1vw, 1.2rem);
  font-weight: 800;
  left: clamp(0.75rem, 1.5vw, 1.5rem);
  position: absolute;
  right: clamp(0.75rem, 1.5vw, 1.5rem);
  text-align: center;
  z-index: 2;
}

.hm-game-mode-projector-status[data-tone="danger"] {
  color: #fca5a5;
}

.hm-game-mode-projector-status[data-tone="success"] {
  color: #86efac;
}

.hm-game-mode-projector-status[data-tone="warning"] {
  color: #fde68a;
}
