/* ============================================================
   WEB CONTENT PROTECTION — matching styles for protect.js
   ------------------------------------------------------------
   Paste these rules into your site's stylesheet. They power the
   "CONTENT PROTECTED" blur overlay that appears if someone opens
   the browser's developer tools.
   ============================================================ */

/* Disable selection of all content */
html, body {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* Lock down media — no drag, no iOS long-press save */
img, video, canvas, audio {
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  -moz-user-drag: none;
  -o-user-drag: none;
  user-drag: none;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
  pointer-events: none;
}

/* Block printing the page (Ctrl+P / Cmd+P) */
@media print {
  html, body { display: none !important; }
}

/* DevTools-open blur shield */
#protectShield {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(8, 7, 5, 0.92);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
}

.protect-msg {
  font-family: system-ui, "Segoe UI", sans-serif;   /* swap to your brand font if you like */
  letter-spacing: 0.4em;
  font-size: 0.9rem;
  color: #c9a35a;                                    /* accent color — change to your brand */
  text-transform: uppercase;
}

/* When devtools is detected, show the shield and blur everything behind it */
html.devtools-open #protectShield { display: flex; }
html.devtools-open body > *:not(#protectShield) { filter: blur(18px); }
