/* Screenshot deterrence — blackout on capture keys (no visible watermark) */

#sg-watermark {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

html.sg-protected,
html.sg-protected body {
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}

html.sg-protected .sg-allow-copy,
html.sg-protected a[href^="mailto:"] {
  -webkit-user-select: text;
  user-select: text;
}

html.sg-protected img {
  -webkit-user-drag: none;
  user-drag: none;
}

html.sg-shielded,
html.sg-shielded body {
  background: #000 !important;
  overflow: hidden !important;
}

html.sg-shielded body > *:not(#sg-blackout):not(script):not(style):not(link) {
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

#sg-blackout {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  z-index: 2147483647;
  background: #000;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: none;
}

html.sg-shielded #sg-blackout {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

@media print {
  html.sg-protected body > *:not(#sg-blackout) {
    display: none !important;
  }

  #sg-blackout {
    opacity: 1 !important;
    visibility: visible !important;
    position: fixed;
    inset: 0;
    background: #000 !important;
  }
}
