:where(img, picture, canvas:not([data-media-exempt]), video, svg[role="img"]) {
  -webkit-touch-callout: none;
  -webkit-user-drag: none;
  user-select: none;
}

:where(a.project-preview, a.case-main-preview, a.screen-view, a:has(> img:only-child)) {
  -webkit-touch-callout: none;
}

/* Keep decorative images out of the native image menu while JS loads or is disabled. */
html:not(.media-guard-ready) :where(picture, img:not([usemap]), video:not([controls]), canvas:not([data-media-exempt])) {
  pointer-events: none;
}
