
/* FG Front Guard — lightweight friction only */
body.fg-guard-on {
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}

/* Allow selection in common interactive fields (and anything user whitelists via selectors) */
body.fg-guard-on input,
body.fg-guard-on textarea,
body.fg-guard-on select,
body.fg-guard-on option,
body.fg-guard-on [contenteditable="true"],
body.fg-guard-on .fg-allow-copy {
  -webkit-user-select: text !important;
  -moz-user-select: text !important;
  user-select: text !important;
}

/* Prevent image dragging on many browsers */
body.fg-guard-on img {
  -webkit-user-drag: none;
  user-drag: none;
}

/* Toast */
#fg-guard-toast {
  position: fixed;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  z-index: 999999;
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(0,0,0,0.78);
  color: #fff;
  font-size: 13px;
  line-height: 1.3;
  opacity: 0;
  pointer-events: none;
  transition: opacity .15s ease;
  max-width: min(92vw, 520px);
  text-align: center;
}

#fg-guard-toast.fg-show { opacity: 1; }
