body.gdip-images img:not(.emoji):not([data-gdip-allow]) {
  -webkit-user-drag: none;
  user-drag: none;
}

body.gdip-text :where(main, article, .entry-content, .site-content):not(input):not(textarea):not([contenteditable="true"]) {
  -webkit-user-select: none;
  user-select: none;
}

body.gdip-text :where(input, textarea, select, [contenteditable="true"], pre, code) {
  -webkit-user-select: text;
  user-select: text;
}

#gdip-notice {
  position: fixed;
  z-index: 2147483647;
  left: 50%;
  bottom: 28px;
  max-width: min(420px, calc(100vw - 32px));
  padding: 11px 17px;
  border-radius: 8px;
  background: rgba(20, 24, 31, .94);
  color: #fff;
  font: 600 14px/1.4 system-ui, sans-serif;
  box-shadow: 0 10px 35px rgba(0, 0, 0, .25);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 12px);
  transition: opacity .2s ease, transform .2s ease;
}

#gdip-notice.gdip-visible { opacity: 1; transform: translate(-50%, 0); }
@media (prefers-reduced-motion: reduce) { #gdip-notice { transition: none; } }
