/* Screenshot Detector styles */

body.blurred {
  filter: blur(6px);
  transition: filter 200ms ease;
}

/* Overlay */
#blurOverlay {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999999;
  font-size: 18px;
  color: #111;
  background: rgba(255,255,255,0.6);
  visibility: hidden;
  opacity: 0;
  transition: opacity 160ms ease, visibility 160ms linear;
  cursor: pointer;
}

#blurOverlay.visible {
  visibility: visible;
  opacity: 1;
}

/* Small previews added by script, keep them unobtrusive */
img.preview {
  display: block;
  margin-top: 8px;
  max-width: 240px;
  border: 1px solid #ccc;
}

/* Optional log area styles (if a theme provides #log) */
#log {
  white-space: pre-wrap;
  border: 1px solid #ddd;
  padding: 10px;
  max-height: 260px;
  overflow: auto;
}
