html.mata-print-guard body > *:not(.mata-capture-cover) {
    visibility: hidden !important;
}

.mata-capture-cover {
    position: fixed;
    inset: 0;
    z-index: 2147483647;
    display: grid;
    place-items: center;
    padding: 32px;
    background: #10141f;
    color: #fff;
    text-align: center;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.mata-capture-cover[hidden] { display: none !important; }
.mata-capture-cover strong { display: block; font-size: clamp(20px, 4vw, 34px); margin-bottom: 8px; }
.mata-capture-cover span { max-width: 560px; opacity: .78; line-height: 1.55; }

.mata-protection-toast {
    position: fixed;
    left: 50%;
    bottom: max(24px, env(safe-area-inset-bottom));
    transform: translate(-50%, 20px);
    z-index: 2147483646;
    max-width: min(92vw, 520px);
    padding: 11px 16px;
    border-radius: 999px;
    background: rgba(16, 20, 31, .94);
    color: #fff;
    font: 600 13px/1.35 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    box-shadow: 0 10px 35px rgba(0, 0, 0, .28);
    opacity: 0;
    pointer-events: none;
    transition: opacity .18s ease, transform .18s ease;
}

.mata-protection-toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

.mata-security-watermark {
    position: fixed;
    inset: 0;
    z-index: 2147483000;
    overflow: hidden;
    pointer-events: none;
    user-select: none;
    contain: strict;
}

.mata-security-watermark-grid {
    position: absolute;
    inset: -18%;
    display: grid;
    grid-template-columns: repeat(3, minmax(260px, 1fr));
    gap: 80px 42px;
    align-content: space-around;
    transform: rotate(-22deg) scale(1.12);
    opacity: .115;
}

.mata-security-watermark-item {
    color: #fff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, .42);
    font: 700 clamp(10px, 1.05vw, 14px)/1.45 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    letter-spacing: .08em;
    text-align: center;
    white-space: nowrap;
}

body.mata-protected-yearbook img,
body.mata-protected-yearbook video,
body.mata-protected-yearbook canvas,
body.mata-protected-yearbook svg {
    -webkit-user-drag: none;
    -webkit-touch-callout: none;
}

@media (max-width: 700px) {
    .mata-security-watermark-grid {
        grid-template-columns: repeat(2, minmax(220px, 1fr));
        gap: 72px 28px;
        opacity: .10;
    }
}

@media print {
    body > * { display: none !important; }
    body::before {
        content: "Konten ini hanya tersedia untuk akses digital dan tidak dapat dicetak.";
        display: grid !important;
        min-height: 100vh;
        place-items: center;
        padding: 40px;
        font: 700 24px/1.5 system-ui, sans-serif;
        text-align: center;
        color: #111;
        background: #fff;
    }
}
