/* Site-wide mobile layout, selection, and drag guards */
html {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
  touch-action: manipulation;
  -webkit-user-select: text;
  user-select: text;
  -webkit-tap-highlight-color: transparent;
}

.page,
main {
  max-width: 100%;
  overflow-x: clip;
}

input,
textarea,
select,
option,
[contenteditable="true"] {
  -webkit-user-select: text;
  user-select: text;
}

img,
svg image,
picture,
video {
  -webkit-user-drag: none;
  user-drag: none;
  -webkit-touch-callout: none;
}

img {
  pointer-events: auto;
}

@media (max-width: 768px) {
  input,
  textarea,
  select {
    font-size: max(16px, 1em);
  }
}
