/**
 * CSS deterrents for displayed user media.
 * Paired with assets/js/avatar-privacy-guard.js (loaded via header-stack / global-scripts).
 * Opt out with data-hh-media-privacy="off" on a container or media element.
 */

.hh-user-media-protect,
img.user-profile-image,
img.profile-image,
img.passenger-profile-image,
img.author-avatar,
img.hh-post__avatar,
img.hh-post__comment-avatar,
img.pp-post__avatar,
.hh-post__media img,
.pp-post__media img,
.pp-hero__photo img,
.post-images img,
.post-slide img,
.hh-story__avatar img,
img.story-media,
video.story-media,
.story-avatar img,
.global-story-cover img,
.global-story-avatar img,
.global-story-inline-body img,
.global-story-inline-body video,
.private-chat-media img,
img.chat-media-image,
video.chat-media-video,
.message-media img,
.message-media-image img,
.message-album-grid img,
.message-image-block img,
.hh-trip__cover img,
.hh-trip__avatar img,
img.hh-event__cover,
.hh-event__cover img,
.gallery-item img,
.gallery-card img,
#galleryModal img,
.gallery-modal img,
.thread-avatar img,
[data-hh-user-media] img,
[data-hh-user-media] video,
video[data-hh-user-media],
img[data-hh-user-media] {
  -webkit-user-select: none !important;
  user-select: none !important;
  -moz-user-select: none !important;
  -ms-user-select: none !important;
  -webkit-user-drag: none !important;
  -webkit-touch-callout: none !important;
}

/* Upload / crop / brand opt-outs */
[data-hh-media-privacy="off"],
[data-hh-media-privacy="off"] img,
[data-hh-media-privacy="off"] video,
.hh-story-creator img,
.hh-story-creator video,
.private-chat-media-preview img,
.private-chat-media-preview video,
.profile-upload-drop img,
.cropper-container img,
.cropper-wrap-box img,
.login-logo,
.site-logo,
.brand-logo,
img.pp-hero__verified,
img.verified-badge,
img[src*="verified-badge"] {
  -webkit-user-drag: auto;
  -webkit-touch-callout: default;
}
