/* Plan 114, stage 1: the shared phone rules. Linked last (after a page's own CSS) from base.html and from
   the standalone student pages (login, change password, My games). Everything here is under a coarse
   pointer, so a Chromebook with a mouse or touchpad sees none of it.
   - 16-px text in every field: iOS Safari zooms the page into a field under 16 px on focus, and the zoom
     stays after the field loses focus. !important because pages size fields inline and by class.
   - a primary (submit) button at least 44 px tall: Apple's and Google's smallest comfortable target. */
@media (pointer: coarse) {
  input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="file"]):not([type="color"]),
  select,
  textarea {
    font-size: 16px !important;
  }
  button[type="submit"]:not(.link-button),
  input[type="submit"] {
    min-height: 44px;
  }
}

/* The base page's dark header (base.html) on a phone: its title smaller, its links wrapping under it. */
@media (max-width: 600px) {
  .header { flex-wrap: wrap; gap: 4px 12px; padding: 10px 12px; }
  .header h1 { font-size: 1.2rem; }
}
