.web-push-prompt-modal {
    position: fixed;
    inset: 0;
    z-index: 9999999;
    display: grid;
    place-items: center;
    padding: 18px;
    background: rgba(5, 10, 18, 0.58);
}

.web-push-prompt-modal.hidden {
    display: none;
}

.web-push-prompt-modal__sheet {
    width: min(420px, 100%);
    padding: 24px;
    border: 1px solid rgba(112, 132, 166, 0.42);
    border-radius: 22px;
    background:
        radial-gradient(circle at 14% 10%, rgba(255, 190, 110, 0.20), transparent 34%),
        linear-gradient(180deg, rgba(31, 47, 67, 0.98), rgba(15, 24, 38, 0.98));
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
    color: #f4f7fb;
    text-align: center;
    animation: web-push-prompt-in 0.22s ease-out;
}

.web-push-prompt-modal__icon {
    width: 58px;
    height: 58px;
    display: inline-grid;
    place-items: center;
    margin-bottom: 12px;
    border-radius: 18px;
    background: rgba(255, 191, 111, 0.16);
    font-size: 1.75rem;
}

.web-push-prompt-modal__sheet h3 {
    margin: 0;
    font-size: 1.18rem;
    line-height: 1.35;
}

.web-push-prompt-modal__sheet p {
    margin: 12px 0 20px;
    color: #b8c4d6;
    line-height: 1.45;
}

.web-push-prompt-modal__actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.web-push-prompt-modal__actions button {
    min-height: 42px;
    padding: 0 16px;
    border: 0;
    border-radius: 12px;
    color: #fff;
    font-weight: 800;
    cursor: pointer;
}

.web-push-prompt-modal__enable {
    background: #343c63;
}

.web-push-prompt-modal__later,
.web-push-prompt-modal__no {
    background: #343c63;
}

.web-push-prompt-modal__actions button:hover {
    transform: translateY(-1px);
}

.web-push-prompt-modal__actions button:disabled {
    opacity: 0.65;
    cursor: wait;
}

@keyframes web-push-prompt-in {
    from {
        opacity: 0;
        transform: translateY(18px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@media (max-width: 640px) {
    .web-push-prompt-modal {
        align-items: end;
        padding-bottom: calc(18px + env(safe-area-inset-bottom, 0px));
    }

    .web-push-prompt-modal__sheet {
        padding: 20px;
        border-radius: 20px;
    }

    .web-push-prompt-modal__actions {
        flex-direction: column;
    }

    .web-push-prompt-modal__actions button {
        width: 100%;
    }
}
