:root {
    --rc-security-bg: rgba(8, 10, 16, 0.92);
    --rc-security-border: rgba(255, 126, 42, 0.34);
    --rc-security-accent: #ff6a1f;
    --rc-security-danger: #d62828;
    --rc-security-text: #f8fafc;
    --rc-security-shadow: 0 18px 42px rgba(0, 0, 0, 0.34);
}

html.rc-no-select,
body.rc-no-select,
.rc-no-select {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
}

html.rc-no-select input,
html.rc-no-select textarea,
html.rc-no-select select,
html.rc-no-select option,
html.rc-no-select button,
html.rc-no-select label,
html.rc-no-select [contenteditable="true"],
html.rc-no-select .request-modal,
html.rc-no-select .request-modal *,
html.rc-no-select .request-status,
html.rc-no-select .volume-slider,
html.rc-no-select .mobile-slider-vertical,
html.rc-no-select .hero-btn,
html.rc-no-select .top-nav a,
html.rc-no-select .drawer-nav a,
html.rc-no-select .social-mini a,
html.rc-no-select .drawer-social a,
html.rc-no-select .install-pwa-btn,
html.rc-no-select .notify-permission-btn,
html.rc-no-select .ios-install-btn,
html.rc-no-select .ios-note-action,
html.rc-no-select .player-btn,
html.rc-no-select .request-btn,
html.rc-no-select .menu-toggle,
html.rc-no-select .drawer-close {
    -webkit-touch-callout: default;
    -webkit-user-select: text;
    user-select: text;
}

html.rc-no-select button,
html.rc-no-select .player-btn,
html.rc-no-select .request-btn,
html.rc-no-select .menu-toggle,
html.rc-no-select .drawer-close,
html.rc-no-select .hero-btn,
html.rc-no-select .top-nav a,
html.rc-no-select .drawer-nav a,
html.rc-no-select .social-mini a,
html.rc-no-select .drawer-social a,
html.rc-no-select .install-pwa-btn,
html.rc-no-select .notify-permission-btn,
html.rc-no-select .ios-install-btn,
html.rc-no-select .ios-note-action {
    -webkit-user-select: none;
    user-select: none;
}

.rc-protected-image {
    -webkit-touch-callout: none;
}

.rc-protected-image img,
img.rc-protected-image__media,
.rc-protected-image__media {
    -webkit-user-drag: none;
    user-drag: none;
    -webkit-touch-callout: none;
}

.rc-security-toast-stack {
    display: none !important;
    position: fixed;
    right: 16px;
    bottom: calc(132px + env(safe-area-inset-bottom, 0px));
    z-index: 10020;
    display: grid;
    gap: 10px;
    width: min(92vw, 360px);
    pointer-events: none;
}

.rc-security-toast {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 18px;
    color: var(--rc-security-text);
    background:
        radial-gradient(circle at 15% 0%, rgba(255, 106, 31, 0.24), transparent 36%),
        linear-gradient(135deg, rgba(7, 9, 14, 0.96), rgba(22, 27, 39, 0.94));
    border: 1px solid var(--rc-security-border);
    box-shadow: var(--rc-security-shadow);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transform: translate3d(0, 12px, 0);
    opacity: 0;
    transition: opacity 0.22s ease, transform 0.22s ease;
}

.rc-security-toast.is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

.rc-security-toast::before {
    content: '';
    width: 12px;
    height: 12px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--rc-security-accent), var(--rc-security-danger));
    box-shadow: 0 0 16px rgba(255, 106, 31, 0.52);
}

.rc-security-toast span {
    display: block;
    font-size: 0.84rem;
    line-height: 1.42;
    letter-spacing: 0.01em;
}

.rc-security-banner {
    display: none !important;
    position: fixed;
    left: 50%;
    top: calc(16px + env(safe-area-inset-top, 0px));
    z-index: 10018;
    width: min(92vw, 420px);
    padding: 12px 16px;
    border-radius: 999px;
    text-align: center;
    color: #fff7ed;
    background:
        linear-gradient(120deg, rgba(127, 12, 12, 0.92), rgba(255, 106, 31, 0.88));
    border: 1px solid rgba(255, 222, 173, 0.24);
    box-shadow: 0 16px 34px rgba(127, 12, 12, 0.28);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transform: translate(-50%, -14px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.24s ease, transform 0.24s ease;
}

.rc-security-banner.is-visible {
    opacity: 1;
    transform: translate(-50%, 0);
}

.rc-security-banner strong {
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.rc-security-banner span {
    display: block;
    margin-top: 4px;
    font-size: 0.78rem;
    line-height: 1.35;
}

@media (max-width: 800px) {
    .rc-security-toast-stack {
        right: 10px;
        bottom: calc(122px + env(safe-area-inset-bottom, 0px));
        width: min(94vw, 320px);
    }

    .rc-security-toast {
        padding: 11px 12px;
        border-radius: 16px;
    }

    .rc-security-banner {
        top: calc(12px + env(safe-area-inset-top, 0px));
        padding: 11px 14px;
        border-radius: 18px;
    }
}
