/* A copying deterrent, not access control. Content remains ordinary HTML. */
html.dpc-copy-deterrent :is(main, [role="main"]) :is(p, h1, h2, h3, h4, h5, h6, li, td, th, blockquote, figcaption):not(:where(form *, [data-allow-copy], [data-allow-copy] *, .dpc-copy-allowed, .dpc-copy-allowed *, address, address *, [contenteditable]:not([contenteditable="false"]), [contenteditable]:not([contenteditable="false"]) *, [role="textbox"], [role="textbox"] *)) {
  -webkit-user-select: none;
  user-select: none;
}

html.dpc-copy-deterrent :is(a, button, input, textarea, select, option, label, address, [contenteditable]:not([contenteditable="false"]), [role="textbox"], [data-allow-copy], .dpc-copy-allowed),
html.dpc-copy-deterrent :is(form, address, [contenteditable]:not([contenteditable="false"]), [role="textbox"], [data-allow-copy], .dpc-copy-allowed) * {
  -webkit-user-select: text;
  user-select: text;
}

html.dpc-copy-deterrent img:not(:where([data-allow-copy], [data-allow-copy] *, form *, [contenteditable]:not([contenteditable="false"]) *, [role="textbox"] *)) {
  -webkit-user-drag: none;
}
