/* The permission prompt is deliberately isolated from the notification drawer. */
.mp-notification-prompt[hidden] { display: none; }
.mp-notification-prompt {
    position: fixed;
    inset: 0;
    z-index: 10020;
    display: grid;
    place-items: center;
    padding: 24px;
    background: rgba(8, 15, 30, .48);
    -webkit-backdrop-filter: blur(7px);
    backdrop-filter: blur(7px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s ease, visibility .3s ease;
}
.mp-notification-prompt.is-open { opacity: 1; visibility: visible; }
.mp-notification-prompt-card {
    position: relative;
    width: min(430px, 100%);
    padding: 32px;
    color: #172238;
    background: #fbfaf6;
    border: 1px solid rgba(24, 49, 79, .14);
    border-radius: 22px;
    box-shadow: 0 24px 80px rgba(2, 12, 32, .26);
    transform: translateY(12px) scale(.97);
    transition: transform .3s cubic-bezier(.22, .8, .28, 1);
}
.mp-notification-prompt.is-open .mp-notification-prompt-card { transform: translateY(0) scale(1); }
.mp-notification-prompt-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    color: currentColor;
    background: transparent;
    border: 0;
    border-radius: 50%;
    cursor: pointer;
}
.mp-notification-prompt-close:hover,
.mp-notification-prompt-close:focus-visible { background: rgba(24, 49, 79, .09); }
.mp-notification-prompt-close svg { width: 18px; height: 18px; }
.mp-notification-prompt-close:focus-visible,
.mp-notification-prompt-actions button:focus-visible { outline: 2px solid #078d8c; outline-offset: 3px; }
.mp-notification-prompt-icon {
    width: 62px;
    height: 62px;
    display: grid;
    place-items: center;
    margin-bottom: 20px;
    color: #084973;
    background: #e7f1ed;
    border: 1px solid rgba(7, 141, 140, .18);
    border-radius: 18px;
}
.mp-notification-prompt-icon svg { width: 34px; height: 34px; }
.mp-notification-prompt-card h2 {
    margin: 0 32px 10px 0;
    font: 700 clamp(22px, 4vw, 28px)/1.15 Inter, system-ui, sans-serif;
    letter-spacing: -.02em;
}
.mp-notification-prompt-card p {
    margin: 0;
    color: #536174;
    font: 400 14px/1.6 Inter, system-ui, sans-serif;
}
.mp-notification-prompt-actions {
    display: grid;
    gap: 9px;
    margin-top: 24px;
}
.mp-notification-prompt-actions button {
    min-height: 46px;
    padding: 11px 16px;
    font: 700 14px/1.2 Inter, system-ui, sans-serif;
    border: 1px solid transparent;
    border-radius: 11px;
    cursor: pointer;
    transition: transform .18s ease, background-color .18s ease, border-color .18s ease;
}
.mp-notification-prompt-actions button:hover { transform: translateY(-1px); }
.mp-notification-prompt-primary { color: #fff; background: #084973; }
.mp-notification-prompt-primary:hover { background: #063b5d; }
.mp-notification-prompt-secondary { color: #23354b; background: transparent; border-color: rgba(24, 49, 79, .18) !important; }
.mp-notification-prompt-secondary:hover { background: rgba(24, 49, 79, .06); }
.mp-notification-prompt-tertiary { min-height: 38px !important; color: #667286; background: transparent; font-size: 12px !important; }
.mp-notification-prompt-tertiary:hover { color: #23354b; }
.mp-notification-prompt-settings {
    display: block;
    margin-top: 14px;
    color: #084973;
    font: 600 12px/1.4 Inter, system-ui, sans-serif;
    text-align: center;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.mp-notification-prompt-status {
    min-height: 20px;
    margin: 14px 0 0;
    color: #172238 !important;
    font-size: 12px !important;
    text-align: center;
}
.mp-notification-prompt-status:empty { display: none; }
.theme-dark .mp-notification-prompt-card {
    color: #f4f1ea;
    background: #18263a;
    border-color: rgba(139, 190, 178, .22);
    box-shadow: 0 24px 80px rgba(0, 0, 0, .5);
}
.theme-dark .mp-notification-prompt-icon { color: #b9e5da; background: #213f54; border-color: rgba(139, 190, 178, .35); }
.theme-dark .mp-notification-prompt-card p { color: #b9c7d8; }
.theme-dark .mp-notification-prompt-secondary { color: #e1e8ee; border-color: rgba(225, 232, 238, .28) !important; }
.theme-dark .mp-notification-prompt-secondary:hover { background: rgba(225, 232, 238, .08); }
.theme-dark .mp-notification-prompt-tertiary { color: #a9b7c7; }
.theme-dark .mp-notification-prompt-tertiary:hover { color: #fff; }
.theme-dark .mp-notification-prompt-settings { color: #a8e1d5; }
.theme-dark .mp-notification-prompt-status { color: #f4f1ea !important; }
.theme-dark .mp-notification-prompt-close:hover,
.theme-dark .mp-notification-prompt-close:focus-visible { background: rgba(225, 232, 238, .1); }
@media (max-width: 600px) {
    .mp-notification-prompt { align-items: end; padding: 0; }
    .mp-notification-prompt-card {
        width: 100%;
        padding: 28px 22px calc(22px + env(safe-area-inset-bottom));
        border-radius: 22px 22px 0 0;
        transform: translateY(24px);
    }
    .mp-notification-prompt-icon { width: 54px; height: 54px; margin-bottom: 16px; border-radius: 15px; }
    .mp-notification-prompt-icon svg { width: 30px; height: 30px; }
}
@media (prefers-reduced-motion: reduce) {
    .mp-notification-prompt, .mp-notification-prompt-card, .mp-notification-prompt-actions button { transition: none; }
}
