.play-page,
.play-page .app-shell,
.play-page .main-layout,
.play-page .play-panel {
  overflow: hidden;
  overscroll-behavior: none;
}

.play-page {
  --play-chrome: calc(
    var(--topbar-height) + var(--tabs-height) + 48px + 42px + 22px +
    env(safe-area-inset-top) + env(safe-area-inset-bottom)
  );
  --board-size: min(calc(100vw - 20px), calc(100dvh - var(--play-chrome)), 380px);
}

.play-page .topbar {
  min-height: 48px;
  padding: 6px 8px;
  gap: 4px;
  flex-wrap: nowrap;
}

.play-page .auth-block {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 1;
  min-width: 0;
}

.play-page .auth-status {
  display: none;
}

@media (min-width: 780px) {
  .play-page .auth-status {
    display: block;
    max-width: 120px;
  }
}

.play-page .brand-block .eyebrow {
  display: none;
}

.play-page h1 {
  font-size: 14px;
  white-space: nowrap;
}

.play-preset-select {
  flex: 1;
  min-width: 0;
  max-width: 132px;
  height: 30px;
  margin: 0;
  border: 1px solid rgba(151, 104, 52, 0.22);
  border-radius: 10px;
  padding: 0 8px;
  background: rgba(255, 249, 241, 0.95);
  color: var(--ink);
  font-size: 11px;
}

.play-page .play-panel {
  gap: 6px;
  padding-bottom: calc(var(--tabs-height) + 4px);
}

.play-page .play-stats {
  grid-template-columns: repeat(2, 1fr);
  gap: 4px;
}

.play-page .play-stats .stat-pill {
  min-height: 40px;
  padding: 5px 8px;
}

.play-page .play-stats .stat-pill span {
  font-size: 9px;
  margin-bottom: 2px;
}

.play-page .play-stats .stat-pill strong {
  font-size: 14px;
}

.play-page .board-shell-wrap {
  padding: 2px 0 0;
}

.play-page .skill-toolbar {
  gap: 4px;
}

.play-page .skill-mini {
  min-height: 40px;
  padding: 3px 2px;
}

.play-page .skill-name {
  font-size: 8px;
}

.play-topbar-link {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  padding: 0 8px;
}
