/* In-app alerts; native push placement is controlled by the device. */
#notification-modal-id {
    position: fixed;
    inset: auto;
    bottom: max(20px, env(safe-area-inset-bottom));
    right: max(20px, env(safe-area-inset-right));
    width: min(400px, calc(100vw - 40px));
    height: auto;
    max-height: calc(100dvh - 40px);
    overflow: auto;
    justify-content: flex-end;
    align-items: flex-start;
    z-index: 1100;
}

#notification-modal-id .notification-modal-content {
    position: relative;
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 18px 46px 18px 18px;
    border: 1px solid #ffffff30;
    border-radius: 16px;
    background: linear-gradient(120deg, #a53760, #703555);
    color: #fff;
    font-family: Inter, sans-serif;
    box-shadow: 0 12px 36px #49314833, 0 2px 8px #4931481a;
}

#notification-modal-text .notification-toast-link {
    display: flex;
    align-items: center;
    gap: 14px;
    color: #fff;
    text-decoration: none;
}

#notification-modal-text img {
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    border: 2px solid #ffffff80;
    border-radius: 50%;
    object-fit: cover;
    background: #f8edf1;
}

#notification-modal-text .notification-toast-copy {
    display: grid;
    gap: 6px;
    min-width: 0;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

#notification-modal-text strong { font-size: 14px; font-weight: 600; }
#notification-modal-text .notification-toast-action { font-size: 12px; color: #fff; }
#notification-modal-text a:hover .notification-toast-action { text-decoration: underline; }

#notification-toast-close {
    position: absolute;
    top: 6px;
    right: 6px;
    display: grid;
    place-items: center;
    width: 34px;
    min-width: 34px;
    height: 34px;
    min-height: 0;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #fff;
    font-size: 24px;
    font-weight: 400;
    line-height: 1;
    cursor: pointer;
    box-shadow: none;
}

#notification-toast-close:hover { background: #ffffff24; }
#notification-modal-id a:focus-visible,
#notification-toast-close:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
    border-radius: 6px;
}
