html.ts-push-popup-open { overflow: hidden; }

/* Trend Scoop — push notification visitor prompt. Scoped only to the prompt. */
.ts-push-popup {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(0, 0, 0, .68);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .2s ease, visibility .2s ease;
}

.ts-push-popup.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.ts-push-popup__dialog {
    position: relative;
    width: min(440px, 100%);
    padding: 32px;
    background: #08090a;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 12px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, .45);
    transform: translateY(10px) scale(.98);
    transition: transform .2s ease;
}

.ts-push-popup.is-visible .ts-push-popup__dialog {
    transform: translateY(0) scale(1);
}

.ts-push-popup__close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 25px;
    line-height: 1;
    cursor: pointer;
}

.ts-push-popup__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    margin-bottom: 20px;
    border-radius: 50%;
    background: #e50914;
    color: #fff;
    font-size: 27px;
}

.ts-push-popup__title {
    margin: 0 42px 10px 0;
    font-size: 24px;
    line-height: 1.2;
    font-weight: 700;
}

.ts-push-popup__text {
    margin: 0 0 22px;
    color: rgba(255, 255, 255, .76);
    font-size: 15px;
    line-height: 1.6;
}

.ts-push-popup__actions {
    display: flex;
    gap: 10px;
}

.ts-push-popup__subscribe,
.ts-push-popup__cancel {
    min-height: 46px;
    padding: 0 20px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .01em;
    cursor: pointer;
}

.ts-push-popup__subscribe {
    flex: 1;
    border: 1px solid #e50914;
    background: #e50914;
    color: #fff;
}

.ts-push-popup__subscribe:hover {
    background: #c90812;
    border-color: #c90812;
}

.ts-push-popup__cancel {
    border: 1px solid rgba(255, 255, 255, .24);
    background: transparent;
    color: #fff;
}

.ts-push-popup__cancel:hover {
    background: rgba(255, 255, 255, .07);
}

.ts-push-popup__subscribe:disabled,
.ts-push-popup__cancel:disabled,
.ts-push-popup__close:disabled {
    opacity: .6;
    cursor: not-allowed;
}

.ts-push-popup__message {
    min-height: 18px;
    margin: 12px 0 0;
    color: rgba(255, 255, 255, .58);
    font-size: 12px;
    line-height: 1.5;
}

.ts-push-popup__message.is-error {
    color: #ff6b6b;
}

@media (max-width: 520px) {
    .ts-push-popup {
        padding: 16px;
    }

    .ts-push-popup__dialog {
        padding: 26px 22px 22px;
    }

    .ts-push-popup__actions {
        flex-direction: column;
    }

    .ts-push-popup__subscribe,
    .ts-push-popup__cancel {
        width: 100%;
    }
}
