/* Basic media hardening (deterrence, not DRM) */

/* Prevent easy drag/save for images */
img {
    -webkit-user-drag: none !important;
    user-select: none !important;
    -webkit-touch-callout: none !important;
}

/* Disable selection for captions/text around media (optional but requested) */
.gallery-item,
.image-detail,
.content-notification {
    user-select: none;
    -webkit-user-select: none;
}

/* Try to hide "Download" UI on videos where supported */
video {
    controlslist: nodownload noremoteplayback;
    -webkit-user-select: none;
    user-select: none;
}

/* WebKit-specific */
video::-webkit-media-controls-download-button {
    display: none !important;
}
video::-webkit-media-controls-enclosure {
    overflow: hidden !important;
}

/* Transparent overlay on images to make right-click less effective */
.gallery-item img,
.image-container img,
.notification-image {
    pointer-events: none !important;
}

/* Keep video controls clickable */
.image-container video,
.notification-video {
    pointer-events: auto !important;
}


