/*
 * ================================================================
 *  KENNEBIS.HEMP — SECURITY & ANTI-INSPECT CSS LAYER
 *  Complements security.js for print, DevTools, & code protection
 *  (c) Kennebis.hemp - All Rights Reserved
 * ================================================================
 */

/* Block print entirely */
@media print {
  html, body {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
  }
}

/* Prevent screenshot / rendering tools */
@media (prefers-color-scheme: no-preference),
       print,
       projection,
       handheld {
  .__ks_hidden { display: none !important; }
}

/* Prevent text selection on sensitive UI elements */
.security-no-select,
.about-hero-h1,
.about-hero-sub,
.about-section-h2,
.about-section-label,
.ingr-name,
.ingr-origin,
.tl-year,
.num-figure,
.letter-top-label,
.letter-ornament {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* DevTools Shield Overlay Styling */
#__ks_shield,
#__ks_shield_overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 2147483647;
  background-color: #060f06 !important;
}

@keyframes __ks_pulse {
  0% { transform: scale(1); opacity: 0.9; }
  50% { transform: scale(1.08); opacity: 1; }
  100% { transform: scale(1); opacity: 0.9; }
}

#__ks_shield_overlay div:first-child {
  animation: __ks_pulse 2s infinite ease-in-out;
}

/* Toast styling */
#__ks_toast {
  pointer-events: none;
}

/* Disable image drag-save via CSS */
img {
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  -moz-user-drag: none;
  -o-user-drag: none;
  user-drag: none;
  -webkit-user-select: none;
  user-select: none;
  pointer-events: auto; /* keep clickable for lightbox/modals, but not draggable */
}
