/* Content-use deterrence. Form controls remain selectable for accessibility. */
html.kta-content-protected body,
html.kta-content-protected body *:not(input):not(textarea):not(select):not(option):not([contenteditable="true"]) {
  -webkit-user-select: none;
  user-select: none;
}

html.kta-content-protected img,
html.kta-content-protected picture,
html.kta-content-protected svg {
  -webkit-user-drag: none;
  user-drag: none;
  -webkit-touch-callout: none;
}

html.kta-content-protected input,
html.kta-content-protected textarea,
html.kta-content-protected select,
html.kta-content-protected [contenteditable="true"] {
  -webkit-user-select: text;
  user-select: text;
}

.kta-protection-notice {
  position: fixed;
  z-index: 2147483647;
  left: 50%;
  bottom: max(1.25rem, env(safe-area-inset-bottom));
  width: min(calc(100vw - 2rem), 34rem);
  padding: .85rem 1rem;
  border: 1px solid rgba(85, 190, 255, .45);
  background: rgba(2, 21, 36, .96);
  color: #fff;
  box-shadow: 0 14px 40px rgba(0, 0, 0, .28);
  font: 600 .875rem/1.4 Arial, sans-serif;
  letter-spacing: .01em;
  text-align: center;
  transform: translate(-50%, calc(100% + 3rem));
  opacity: 0;
  pointer-events: none;
  transition: transform .22s ease, opacity .22s ease;
}

.kta-protection-notice.is-visible {
  transform: translate(-50%, 0);
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .kta-protection-notice { transition: none; }
}
