/* Keep taps responsive on iPad/iPhone without disabling normal page scrolling. */
button, a, .game-card {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

/* Game surfaces own their gestures; Safari must not pan or zoom them. */
canvas {
  touch-action: none;
}

/* Prevent Safari zooming the page when the leaderboard name field is focused. */
input, select, textarea {
  font-size: 16px;
}

.game-exits {
  width: min(1380px, 100%);
  margin: -24px auto 48px;
  padding: 0 clamp(18px, 4vw, 50px);
  display: flex;
  justify-content: center;
  gap: 8px;
}
.game-exits a,
.game-exits button {
  min-height: 42px;
  padding: 0 15px;
  display: inline-flex;
  align-items: center;
  border: 1px solid #24283a;
  background: rgba(13,16,29,.78);
  color: #81869a;
  text-decoration: none;
  font: 700 8px ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  letter-spacing: .1em;
  cursor: pointer;
}
.game-exits button { color: #6cffd9; }
@media(max-width:580px) {
  .game-exits { margin-top: -10px; padding: 0 12px; }
  .game-exits a,.game-exits button { flex: 1; justify-content: center; padding: 0 8px; }
}
