/* Keep mouse drags and long presses from painting a selection over the site.
   Editable fields still support native text selection; keyboard focus is unchanged. */
:where(html, body, body *) {
  -webkit-user-select: none;
  user-select: none;
}
:is(input, textarea, [contenteditable=""], [contenteditable="true"], [contenteditable="plaintext-only"], [contenteditable=""] *, [contenteditable="true"] *, [contenteditable="plaintext-only"] *) {
  -webkit-user-select: text;
  user-select: text;
}

/* Do not show the native touch-and-hold image share/save callout in WebKit. */
:where(img, svg image) {
  -webkit-touch-callout: none;
  -webkit-user-drag: none;
}
