.lobby-hero:has(.lobby-mascot:not([hidden])) {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: var(--s-4);
}
.lobby-hero .hero-copy {
  min-width: 0;
}
.lobby-mascot {
  width: clamp(320px, 45cqi, 520px);
  max-width: 100%;
  align-self: center;
}
.lobby-mascot[hidden] {
  display: none;
}
.mascot-play {
  display: block;
  position: relative;
  width: 100%;
  aspect-ratio: 5 / 2;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  border-radius: var(--r-xl);
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.mascot-play canvas,
.mascot-play .mascot-fallback {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.mascot-play .mascot-fallback {
  object-fit: contain;
  transform: scale(0.95);
}
.mascot-play canvas[hidden],
.mascot-play .mascot-fallback[hidden] {
  display: none;
}
.mascot-play:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
@media (max-width: 600px) {
  .lobby-hero:has(.lobby-mascot:not([hidden])) {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--s-2);
  }
  .lobby-mascot {
    width: 100%;
    justify-self: center;
  }
}
