/* Low specificity lets intentional component gesture rules keep precedence.
   manipulation permits scrolling and accessible pinch zoom, without tap zoom. */
:where(*) {
  touch-action: manipulation;
}

/* Follow Safari's changing browser chrome without replacing Expo's internal
   scroll views, locking touch events or changing native iOS/Android layouts. */
@supports (height: 100dvh) {
  #root {
    height: 100dvh;
  }
}

/* iOS focuses controls below 16px by zooming. Keep the user's larger default
   text size too, including controls with React Native's inline font styles. */
@media (any-pointer: coarse) {
  input,
  textarea,
  select,
  [contenteditable='true'] {
    font-size: max(1rem, 16px) !important;
  }
}
