.arcade-next-step[hidden] { display: none !important; }
.arcade-next-step {
  order: 10;
  container-type: inline-size;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #e2e6eb;
  color: #273444;
  text-align: left;
  line-height: 1.35;
}
.arcade-next-step .arcade-next-kicker { margin: 0 0 8px; color: #687383; font-size: .62rem; font-weight: 800; letter-spacing: .1em; }
.arcade-next-tiles { display: grid; gap: 7px; }
.arcade-next-step .arcade-next-tile {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  min-height: 58px;
  padding: 9px 11px;
  border: 1px solid #e0e5eb;
  border-radius: 10px;
  background: #f8fafc;
  color: #273444;
  text-decoration: none;
  transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}
.arcade-next-step .arcade-next-icon { flex: 0 0 19px; width: 19px; height: 19px; color: #62748a; }
.arcade-next-step .arcade-next-copy { display: block; min-width: 0; margin: 0; }
.arcade-next-step .arcade-next-label { display: block; margin: 0 0 2px; color: #687383; font-size: .56rem; font-weight: 800; letter-spacing: .07em; }
.arcade-next-step .arcade-next-title { display: block; margin: 0; color: #273444; font-size: .77rem; font-weight: 700; line-height: 1.3; }
.arcade-next-step .arcade-next-tile:focus-visible { outline: 2px solid #245cc5; outline-offset: 3px; }
@media (hover: hover) {
  .arcade-next-step .arcade-next-tile:hover { transform: translateY(-2px); border-color: #c4cad1; box-shadow: 0 4px 10px rgba(29,35,43,.05); }
}
@container (min-width: 350px) {
  .arcade-next-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .arcade-next-step .arcade-next-tile { min-height: 76px; }
}
@media (prefers-reduced-motion: reduce) {
  .arcade-next-step .arcade-next-tile { transition: none; }
  .arcade-next-step .arcade-next-tile:hover { transform: none; }
}
/* Keep existing results actions ahead of discovery and reachable on short screens. */
.cr-game-over-card .cr-share-status:empty,
.bl-game-over-card .bl-share-status:empty { min-height: 0; margin: 0; }
.tape-arcade-game-over-card, .dd-game-over-card, .cr-game-over-card {
  max-height: min(100%, calc(100dvh - 40px));
  overflow-y: auto;
  overscroll-behavior: contain;
}
#arcadeStartCard.is-replay { width: min(430px, calc(100% - 36px)); max-height: calc(100% - 20px); overflow-y: auto; overscroll-behavior: contain; }
.arcade-stage:has(#arcadeStartCard.is-replay) { min-height: 360px; }
@media (min-width: 701px) {
  .tape-arcade-shell.is-game-over { min-height: 520px; }
}
