.game-player {
  container-type: size;
}

.game-player.is-portrait {
  background: #171923;
}

.game-player.is-portrait::before {
  content: "";
  position: absolute;
  inset: -36px;
  z-index: 0;
  pointer-events: none;
  background-image: var(--game-side-art);
  background-position: center;
  background-size: cover;
  filter: blur(34px) saturate(.8) brightness(.62);
  transform: scale(1.08);
}

.game-player.is-portrait iframe {
  inset: auto;
  top: 0;
  left: 50%;
  width: min(100%, 56.25cqh);
  height: 100%;
  transform: translateX(-50%);
  z-index: 1;
  box-shadow: 0 0 34px #0008;
}

.game-player.is-portrait .player-poster {
  background: transparent;
  z-index: 1;
}

.game-player.is-portrait .player-poster .poster-image {
  left: 50%;
  width: min(100%, 56.25cqh);
  transform: translateX(-50%);
}

.game-player:fullscreen {
  width: 100vw;
  height: 100vh;
  max-width: none;
  min-height: 0;
  border-radius: 0;
  background: #171923;
}
