/* Tabooo Content Guard — frontend. Rules apply only when the JS initializes. */
html.tbg-no-select .tbg-protected,
html.tbg-no-select .tbg-protected * {
  -webkit-user-select: none !important;
  -moz-user-select: none !important;
  user-select: none !important;
  -webkit-touch-callout: none !important;
}
html.tbg-no-select .tbg-protected input,
html.tbg-no-select .tbg-protected textarea,
html.tbg-no-select .tbg-protected select,
html.tbg-no-select .tbg-protected [contenteditable],
html.tbg-no-select .tbg-protected [role="textbox"],
html.tbg-no-select .tbg-protected .tbg-allow-copy,
html.tbg-no-select .tbg-protected .tbg-allow-copy * {
  -webkit-user-select: text !important;
  user-select: text !important;
  -webkit-touch-callout: default !important;
}
html.tbg-no-drag .tbg-protected img,
html.tbg-no-drag .tbg-protected picture {
  -webkit-user-drag: none !important;
  user-drag: none !important;
}
#tabooo-guard-watermark {
  position: fixed !important;
  inset: 0 !important;
  z-index: 2147483645 !important;
  pointer-events: none !important;
  overflow: hidden !important;
  background-repeat: repeat !important;
  background-position: center center !important;
  print-color-adjust: exact;
}
#tabooo-guard-notice {
  position: fixed !important;
  left: 50% !important;
  bottom: 24px !important;
  transform: translateX(-50%) translateY(12px);
  opacity: 0;
  z-index: 2147483646 !important;
  width: max-content;
  max-width: min(90vw, 560px);
  padding: 12px 18px;
  background: #16171b;
  color: #fff;
  border: 1px solid rgba(255,255,255,.16);
  border-left: 3px solid #e84b51;
  border-radius: 10px;
  box-shadow: 0 12px 30px rgba(0,0,0,.26);
  font: 500 13px/1.5 system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  text-align: center;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}
#tabooo-guard-notice.tbg-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  #tabooo-guard-notice { transition: none; }
}
@media print {
  html.tbg-no-print body > * { display: none !important; }
  html.tbg-no-print body::before {
    display: block !important;
    content: 'Konten Tabooo.id dilindungi. Silakan bagikan tautan artikel asli.' !important;
    white-space: normal !important;
    color: #111 !important;
    background: #fff !important;
    font: 18pt/1.6 sans-serif !important;
    padding: 30pt 20pt !important;
    text-align: center !important;
  }
}
