/* Content Shield – CSS Protection Layer */

/* Block text selection everywhere */
*, *::before, *::after {
    -webkit-user-select: none !important;
    -moz-user-select:    none !important;
    -ms-user-select:     none !important;
    user-select:         none !important;
    -webkit-touch-callout: none !important;
}

/* Allow selection inside form fields only */
input, textarea, select, [contenteditable="true"],
input *, textarea *, select * {
    -webkit-user-select: text !important;
    -moz-user-select:    text !important;
    -ms-user-select:     text !important;
    user-select:         text !important;
}

/* Block image drag */
img, img * {
    -webkit-user-drag: none !important;
    -khtml-user-drag:  none !important;
    -moz-user-drag:    none !important;
    -o-user-drag:      none !important;
    user-drag:         none !important;
    pointer-events:    none !important;
}

/* Re-allow pointer on anchor-wrapped images */
a > img, button > img {
    pointer-events: auto !important;
}

/* Completely black out page when printing */
@media print {
    html, body, * {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
    }
}
