body {
  margin: 0;
  min-width: 320px;
}
.game-brief {
  max-width: 72rem;
  margin: 3rem auto 6rem;
  padding: 0 1.5rem;
}
.game-brief nav {
  font-size: 0.9rem;
  margin-bottom: 2.5rem;
}
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.hero h1 {
  font-family: var(--rs-font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.05;
  max-width: 15ch;
}
.eyebrow {
  font-family: var(--rs-font-mono);
  letter-spacing: 0.1em;
  font-size: 0.8rem;
}
.play-link {
  display: inline-block;
  background: var(--rs-ink);
  color: var(--rs-paper);
  padding: 1rem 1.5rem;
  border-radius: 4px;
  font-weight: 700;
  white-space: nowrap;
  text-decoration: none;
}
.play-entry {
  max-width: 20rem;
}
.play-entry p {
  line-height: 1.5;
}
.game-brief details {
  margin-top: 3rem;
  border-top: 1px solid var(--rs-line);
  padding-top: 1.5rem;
}
.game-brief summary {
  cursor: pointer;
  font-weight: 700;
}
.game-brief section {
  margin: 2rem 0;
}
.game-brief section p {
  max-width: 74ch;
  line-height: 1.7;
}
.game-brief dt {
  font-weight: 700;
  margin-top: 1rem;
}
.game-brief dd {
  margin: 0.35rem 0;
}
.game-brief h2 {
  font-family: var(--rs-font-display);
}
.player-page {
  height: 100dvh;
  display: flex;
  flex-direction: column;
}
.player-page .rs-header {
  flex: 0 0 auto;
}
.player {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}
.player-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  padding: 0.3rem 1rem;
  border-bottom: 1px solid var(--rs-line);
  background: var(--rs-paper);
}
.player-nav h1 {
  font: 600 1.1rem var(--rs-font-display);
  margin: 0 auto 0 0;
}
.player-nav a,
.player-nav button {
  font-size: 0.9rem;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.player-nav button {
  border: 1px solid var(--rs-line);
  border-radius: 4px;
  background: var(--rs-paper);
  color: var(--rs-ink);
  padding: 0.3rem 0.8rem;
  cursor: pointer;
}
.player iframe {
  display: block;
  flex: 1;
  min-height: 0;
  width: 100%;
  border: 0;
  background: #03070b;
}
.player:fullscreen {
  background: #03070b;
}
.fullscreen-status:empty {
  display: none;
}
.fullscreen-status {
  margin: 0.4rem 1rem;
}
@media (min-width: 1024px) and (max-height: 800px) {
  .player-page .rs-header {
    display: none;
  }
}
@media (max-width: 700px) {
  .hero {
    display: block;
  }
  .game-brief {
    margin-top: 1.5rem;
  }
  .hero h1 {
    max-width: none;
  }
  .player-nav {
    gap: 0.3rem 0.65rem;
  }
}

/* Reserve the same navigation row in and out of fullscreen. */
.player-nav a,
.player-nav button,
.game-brief nav a {
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.player-nav {
  flex: none;
}

/* Switch foreground and background together; staggered theme colors hide exits. */
.player-nav a,
.player-nav button {
  transition: none;
}
