/* V72: discourage casual saving of displayed artwork without changing gallery interaction. */
body[data-page="artwork"] .art-open,
body[data-page="spoiler"] .beyond-art-open,
body[data-page="artwork"] .lightbox-content,
body[data-page="spoiler"] .lightbox-content {
  position: relative;
  overflow: hidden;
}

body[data-page="artwork"] .art-open img,
body[data-page="spoiler"] .beyond-art-open img,
body[data-page="artwork"] .lightbox-content img,
body[data-page="spoiler"] .lightbox-content img {
  -webkit-user-drag: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

/* Transparent interaction shield; it does not alter the artwork's appearance. */
body[data-page="artwork"] .art-open::before,
body[data-page="spoiler"] .beyond-art-open::before,
body[data-page="artwork"] .lightbox-content::before,
body[data-page="spoiler"] .lightbox-content::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

/* Seven temporary gallery pieces: center the final tile on narrow screens. */
@media (max-width: 640px) {
  body[data-page="spoiler"] .beyond-artwork-grid > .beyond-art-item:last-child:nth-child(odd) {
    grid-column: 1 / -1 !important;
    width: calc(50% - 5px) !important;
    justify-self: center !important;
  }
}
