.game-guide {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--line);
}
.game-guide > div { padding: clamp(.9rem, 2.3vw, 1.5rem); background: var(--surface, var(--panel, Canvas)); }
.game-guide h2 { font-size: 1.12rem; margin: 0 0 .45rem; }
.game-guide p { margin: 0; color: var(--muted); overflow-wrap: break-word; }
.game-guide a { text-underline-offset: .18em; }
.play-stage { min-width: 0; }
.play-tools { display: flex; justify-content: flex-end; margin-bottom: .55rem; }
.play-tools button { min-height: 42px; cursor: pointer; }
.play-tools button[hidden] { display: none; }
.play-stage:is(:fullscreen, .is-expanded) {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  width: 100%;
  height: 100%;
  padding: max(.45rem, env(safe-area-inset-top)) max(.55rem, env(safe-area-inset-right))
           max(.45rem, env(safe-area-inset-bottom)) max(.55rem, env(safe-area-inset-left));
  background: var(--bg, Canvas);
}
.play-stage.is-expanded { position: fixed; inset: 0; z-index: 50; }
.player-expanded { overflow: hidden; }
.play-stage:is(:fullscreen, .is-expanded) iframe { width: 100%; height: 100%; min-height: 0; border: 0; }
@media (max-width: 690px) {
  .game-guide { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .game-guide > :last-child { grid-column: 1 / -1; }
}
