/* Ethereal copy protection: loaded only when the theme setting is “限制复制”. */
html[data-copy-protection="enabled"] #content-wrapper,
html[data-copy-protection="enabled"] #post-container,
html[data-copy-protection="enabled"] #page-container,
html[data-copy-protection="enabled"] article {
  -webkit-user-select: none;
  user-select: none;
}

html[data-copy-protection="enabled"] input,
html[data-copy-protection="enabled"] textarea,
html[data-copy-protection="enabled"] select,
html[data-copy-protection="enabled"] button,
html[data-copy-protection="enabled"] [contenteditable="true"],
html[data-copy-protection="enabled"] [contenteditable=""] {
  -webkit-user-select: text;
  user-select: text;
}

html[data-copy-protection="enabled"] img {
  -webkit-user-drag: none;
  user-drag: none;
}

#copy-protection-toast {
  position: fixed; z-index: 2147483647; left: 50%; bottom: 2rem;
  max-width: calc(100vw - 2rem); padding: .7rem 1rem;
  border: 1px solid color-mix(in srgb, var(--primary, #6366f1) 35%, transparent);
  border-radius: .75rem; background: color-mix(in srgb, var(--card-bg, #fff) 92%, transparent);
  color: var(--primary, #6366f1); box-shadow: 0 10px 30px rgb(0 0 0 / 15%);
  font-size: .875rem; line-height: 1.4; pointer-events: none;
  transform: translate(-50%, 0); opacity: 1; transition: opacity .22s ease, transform .22s ease;
}
#copy-protection-toast.is-hiding { transform: translate(-50%, .5rem); opacity: 0; }
