/* Keep vertical scrolling and horizontal swipes; omit pinch and double-tap zoom. */
:where(html, body, body *) {
  touch-action: pan-x pan-y;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

/* iOS Safari may enlarge the page when a small text field receives focus. */
@supports (-webkit-touch-callout: none) {
  @media (any-pointer: coarse) {
    :where(input:not([type="checkbox"], [type="radio"], [type="range"], [type="color"], [type="file"], .withdraw-pin-boxes input), textarea, select) {
      font-size: max(16px, 1em) !important;
    }
  }
}
