.is-flag-locked img,
.is-flag-locked video {
    filter: blur(48px) saturate(0.5) brightness(0.85) !important;
}

.is-flag-locked .play-pause-overlay {
    display: none !important;
}

.content-viewer.is-flag-locked {
    min-height: 420px;
}

.flag-warning {
    position: absolute;
    inset: 0;
    z-index: 11990;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    overflow-y: auto;
    text-align: center;
    background: rgba(15, 23, 42, 0.7);
    color: #f8fafc;
}

.flag-warning > * {
    flex-shrink: 0;
}

.flag-warning[hidden] {
    display: none;
}

.flag-warning-icon {
    width: 92px;
    height: 92px;
    margin-bottom: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(99, 102, 241, 0.18);
    border: 3px solid rgba(129, 140, 248, 0.55);
    box-shadow: 0 8px 32px rgba(99, 102, 241, 0.3);
}

.flag-warning-icon svg {
    width: 44px;
    height: 44px;
    color: #c7d2fe;
}

.flag-warning-title {
    margin: 0 0 14px;
    font-size: 32px;
    font-weight: 900;
    letter-spacing: -0.5px;
    color: #fff;
}

.flag-warning-text {
    max-width: 580px;
    margin: 0 0 12px;
    font-size: 16px;
    line-height: 1.6;
    color: rgba(226, 232, 240, 0.9);
}

.flag-warning-text--muted {
    margin-bottom: 30px;
    font-size: 14px;
    color: rgba(203, 213, 225, 0.72);
}

.flag-warning-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
}

.flag-btn {
    min-height: 48px;
    padding: 15px 38px;
    border: none;
    border-radius: 14px;
    font: inherit;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.flag-btn:focus-visible {
    outline: 3px solid #a5b4fc;
    outline-offset: 3px;
}

.flag-btn-confirm {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    color: #fff;
    box-shadow: 0 8px 26px rgba(99, 102, 241, 0.45);
}

.flag-btn-confirm:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 34px rgba(99, 102, 241, 0.6);
}

.flag-btn-back {
    background: rgba(148, 163, 184, 0.14);
    color: #e2e8f0;
    border: 2px solid rgba(148, 163, 184, 0.4);
}

.flag-btn-back:hover {
    transform: translateY(-2px);
    background: rgba(148, 163, 184, 0.24);
}

.feed-item .flag-warning {
    z-index: 290;
}

.flag-disclaimer {
    box-sizing: border-box;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 14px 0 0;
    padding: 12px 16px;
    font-size: 13px;
    line-height: 1.55;
    color: var(--gray, #94a3b8);
    background: rgba(99, 102, 241, 0.07);
    border: 1px solid rgba(129, 140, 248, 0.2);
    border-radius: 14px;
}

.flag-disclaimer svg {
    flex: 0 0 auto;
    width: 16px;
    height: 16px;
    margin-top: 2px;
    color: #a5b4fc;
}

@media (max-width: 640px) {
    .content-viewer.is-flag-locked {
        min-height: 460px;
    }

    .flag-warning {
        padding: 20px;
    }

    .flag-warning-icon {
        width: 68px;
        height: 68px;
        margin-bottom: 16px;
    }

    .flag-warning-icon svg {
        width: 32px;
        height: 32px;
    }

    .flag-warning-title {
        font-size: 23px;
    }

    .flag-warning-text {
        font-size: 14px;
    }

    .flag-warning-text--muted {
        margin-bottom: 20px;
        font-size: 12.5px;
    }

    .flag-btn {
        padding: 12px 26px;
        font-size: 14px;
    }
}
