/* Deter casual image saving — not a security boundary. */

:is(
    .site-section img,
    .gallery-rico__img,
    .gallery-index__img,
    .study-gallery__item img
  ) {
  -webkit-user-select: none;
  user-select: none;
  -webkit-user-drag: none;
  user-drag: none;
  -webkit-touch-callout: none;
  pointer-events: none;
}

:is(.gallery-index__cell, .study-gallery__item) {
  position: relative;
}

/* gallery-rico__frame stays position:absolute (gallery.css) so slides stack in the viewport */
:is(.gallery-rico__frame, .gallery-index__cell, .study-gallery__item)::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: transparent;
  pointer-events: none;
}
