:root {
  color-scheme: dark;
  background: #11141f;
  color: #f3e8ee;
  font-family: system-ui, sans-serif;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
}

.skip-link {
  position: absolute;
  z-index: 1;
  top: .5rem;
  left: .5rem;
  transform: translateY(-200%);
  padding: .75rem;
  background: #11141f;
  color: #84f5e5;
}

.skip-link:focus { transform: none; }

.game-stage {
  position: relative;
  flex: 1;
  min-height: 12rem;
}

.game-stage iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (min-width: 601px) and (hover: hover) {
  .portrait-game {
    height: 100vh;
    height: 100dvh;
  }

  .portrait-game .game-stage {
    display: flex;
    align-items: center;
    justify-content: center;
    container-type: size;
    background: radial-gradient(ellipse at center, #202436, #11141f 75%);
  }

  .portrait-game .game-stage iframe {
    position: static;
    width: min(100cqw, 56.25cqh, 600px);
    height: auto;
    aspect-ratio: 9 / 16;
  }
}

:focus-visible { outline: 2px solid #84f5e5; outline-offset: -2px; }
