/* Apply only to media. Do not disable selection or callouts on the page body,
   links, addresses, captions, buttons, or certificate viewer toolbars. */
img {
  -webkit-touch-callout: none;
  -webkit-user-drag: none;
}

video {
  -webkit-touch-callout: none;
}

/* Opt-in hook for the exact certificate image/canvas viewport, not the whole
   viewer. Leave controls and selectable explanatory text outside this element.
   Native PDF/iframe documents cannot be controlled by this parent-page module. */
[data-protected-media],
[data-protected-media] :is(canvas, svg, img) {
  -webkit-touch-callout: none;
}

[data-protected-media] :is(canvas, svg, img) {
  -webkit-user-drag: none;
}
