/* Leave room to scroll above keyboards that resize only the visual viewport. */
@media (max-width: 820px) {
  .answer-form { scroll-margin-block: 16px; }
  .answer-label { font-size: 14px; }
  .answer-input { font-size: 16px; min-height: 48px; }
  .answer-form .primary { min-height: 48px; }
  .hint, .question-hint { font-size: 14px; }
  body.answer-editing .game-shell {
    padding-bottom: calc(24px + var(--keyboard-inset, 0px) + env(safe-area-inset-bottom, 0px));
  }
}
@media (max-width: 380px) {
  .topbar { padding: 16px 12px; gap: 4px; }
  .wordmark { font-size: 22px; gap: 3px; }
  .wordmark svg { width: 20px; height: 20px; }
  .topbar nav { gap: 0; }
}
