/* VIP screen guard — без водяних знаків під час звичайного перегляду */

html.vip-screen-guard {
    -webkit-tap-highlight-color: transparent;
}

.vip-guard-zone {
    position: relative;
    -webkit-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
}

.vip-guard-zone img,
.vip-guard-zone video {
    -webkit-user-drag: none;
    user-drag: none;
}

/* Звичайний перегляд — без змін вигляду */

/* Вкладка неактивна / вікно без фокусу */
html.vip-screen-guard--obscured .vip-guard-zone img,
html.vip-screen-guard--obscured .vip-guard-zone video {
    filter: blur(22px) brightness(0.5);
}

html.vip-screen-guard--obscured .vip-guard-shield,
html.vip-screen-guard--panic .vip-guard-shield {
    opacity: 1;
    visibility: visible;
}

/* Спроба скріншоту — коротко ховаємо контент */
html.vip-screen-guard--panic .vip-guard-zone img,
html.vip-screen-guard--panic .vip-guard-zone video {
    visibility: hidden !important;
    opacity: 0 !important;
}

.vip-guard-shield {
    position: fixed;
    inset: 0;
    z-index: 99991;
    pointer-events: none;
    background: rgba(8, 4, 14, 0.88);
    backdrop-filter: blur(10px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.15s ease, visibility 0.15s ease;
}

@media print {
    html.vip-screen-guard .vip-guard-zone img,
    html.vip-screen-guard .vip-guard-zone video {
        visibility: hidden !important;
    }

    html.vip-screen-guard .vip-guard-shield {
        opacity: 1 !important;
        visibility: visible !important;
    }
}
