.cpp-toast {
    position: fixed;
    left: 50%;
    bottom: 30px;
    transform: translateX(-50%) translateY(20px);
    background: rgba(20, 20, 20, 0.9);
    color: #fff;
    padding: 10px 18px;
    border-radius: 6px;
    font-size: 14px;
    z-index: 999999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.cpp-toast-visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.cpp-protected-img-wrap {
    position: relative;
    display: inline-block;
    max-width: 100%;
}

/* Smart Print Protection: replaces the printed page with a notice instead
   of the real content, so printing from the browser's own menu (not just
   Ctrl/Cmd+P, which JS already blocks) still can't be used to copy content. */
@media print {
    body.cpp-smart-print > * {
        display: none !important;
    }
    body.cpp-smart-print::before {
        content: "This content is protected and cannot be printed.";
        display: block !important;
        font-size: 18px;
        padding: 60px 20px;
        text-align: center;
    }
}
