/* The play shell gives the responsive game its entire remaining viewport. */
body.periodic-runner-page {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100dvh;
  margin: 0;
  overflow: hidden;
  background: #071321;
}
.periodic-runner-page .play-header {
  flex: 0 0 56px;
  height: 56px;
  min-height: 0;
  padding-inline: max(10px, env(safe-area-inset-left)) max(10px, env(safe-area-inset-right));
}
.periodic-runner-page .game-stage {
  flex: 1 1 0;
  width: 100%;
  max-width: none;
  min-width: 0;
  min-height: 0;
  height: auto;
  margin: 0;
  padding: 0;
}
.periodic-runner-page .game-stage iframe {
  width: 100%;
  height: 100%;
  min-height: 0;
  transform: none;
}
.periodic-runner-page .game-stage:fullscreen,
.periodic-runner-page .game-stage:-webkit-full-screen {
  width: 100vw;
  height: 100dvh;
}
.periodic-runner-page .play-status {
  top: 64px;
  width: max-content;
  max-width: calc(100vw - 24px);
  border-radius: 14px;
  text-align: center;
}
.periodic-runner-page .play-status button {
  margin: 4px 6px;
  padding: 7px 10px;
  border: 1px solid #8ddbf5;
  border-radius: 8px;
  color: #e8f9ff;
  background: #153a52;
  font: inherit;
  cursor: pointer;
}
.periodic-runner-page .play-status button:focus-visible {
  outline: 3px solid #fbd05d;
  outline-offset: 3px;
}
@media (orientation: landscape) and (max-height: 500px) {
  .periodic-runner-page .play-header { flex-basis: 42px; height: 42px; gap: 8px; }
  .periodic-runner-page .back-button,
  .periodic-runner-page .icon-button { width: 32px; height: 32px; border-radius: 9px; }
  .periodic-runner-page .play-title small { display: none; }
  .periodic-runner-page .play-status { top: 48px; }
}
