/* assets/css/content-guard.css — goes with assets/js/content-guard.js (welcome page only). */
html.cg-on body { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
html.cg-on :is(input, textarea, select, [contenteditable="true"], [data-allow-copy]) { -webkit-user-select: text; user-select: text; -webkit-touch-callout: default; }
html.cg-on img, html.cg-on video { -webkit-user-drag: none; }

/* Not in focus (screen capture, app switcher): nothing readable. */
html.cg-hidden body > *:not(.cg-shield) { filter: blur(40px) brightness(.55); }
html.cg-hidden body { background: #07060c; }

.cg-shield { position: fixed; inset: 0; z-index: 2147483647; display: none; align-items: center; justify-content: center; padding: 24px; background: #07060c; color: #c9c5d6; font: 600 15px/1.5 Poppins, system-ui, sans-serif; text-align: center; }
.cg-shield.is-on { display: flex; }

/* Printing shows a notice instead of the page. */
@media print {
    html.cg-on body > * { display: none !important; }
    html.cg-on body::before { content: "This page cannot be printed."; display: block; padding: 40px; color: #000; font: 600 16px/1.5 sans-serif; text-align: center; }
}
