.pnotify.bf-notification {
    width: min(440px, calc(100vw - 32px));
    right: 24px !important;
    left: auto !important;
    max-width: calc(100vw - 32px);
    font-family: "Segoe UI", Arial, sans-serif;
    text-align: left;
}
.bf-notification .pnotify-container {
    --bf-notice-tone: #a97216;
    --bf-notice-soft: #fff5e2;
    --bf-notice-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m10.4 4.8-7.2 12.4a1.8 1.8 0 0 0 1.5 2.7h14.6a1.8 1.8 0 0 0 1.5-2.7L13.6 4.8a1.8 1.8 0 0 0-3.2 0Z'/%3E%3Cpath d='M12 9v4m0 3h.01'/%3E%3C/svg%3E");
    box-sizing: border-box;
    position: relative;
    width: 100% !important;
    height: auto;
    min-height: 0 !important;
    padding: 23px 19px 24px 24px;
    overflow: hidden;
    border: 1px solid #ece8f0;
    border-radius: 15px;
    background: #fff;
    background-image: none !important;
    color: #172b4d;
    box-shadow: 0 12px 32px #30244a0a, 0 2px 5px #30244a04;
}
.bf-notification .brighttheme-error {
    --bf-notice-tone: #d34858;
    --bf-notice-soft: #fff0f2;
    --bf-notice-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='8.5'/%3E%3Cpath d='M12 7.5v5.2m0 3.7h.01'/%3E%3C/svg%3E");
}
.bf-notification .brighttheme-success {
    --bf-notice-tone: #21835d;
    --bf-notice-soft: #eaf7ef;
    --bf-notice-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='8.5'/%3E%3Cpath d='m8.2 12 2.5 2.6 5.2-5.3'/%3E%3C/svg%3E");
}
.bf-notification .brighttheme-info {
    --bf-notice-tone: #6d28d9;
    --bf-notice-soft: #f1ebfd;
    --bf-notice-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='8.5'/%3E%3Cpath d='M12 10.8v5.3m0-8.2h.01'/%3E%3C/svg%3E");
}
.bf-notification .pnotify-container::before {
    content: "";
    position: absolute;
    top: 15px;
    bottom: 15px;
    left: 0;
    width: 3px;
    border-radius: 0 3px 3px 0;
    background: var(--bf-notice-tone);
}
.bf-notification .pnotify-container::after { display: none; }
.bf-notification .pnotify-icon {
    position: absolute;
    top: 23px;
    left: 24px;
    display: grid;
    place-items: center;
    float: none;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--bf-notice-soft);
}
.bf-notification .pnotify-icon > span {
    display: block;
    float: none;
    width: 22px;
    height: 22px;
    background: var(--bf-notice-tone);
    mask: var(--bf-notice-icon) center / contain no-repeat;
}
.bf-notification .pnotify-icon > span::after,
.bf-notification .pnotify-icon > span::before,
.bf-notification .pnotify-closer > span::after,
.bf-notification .pnotify-closer > span::before { content: none; }
.bf-notification.pnotify-with-icon .pnotify-content { margin-left: 54px; }
.bf-notification .pnotify-content { min-width: 0; padding: 1px 30px 0 0; }
.bf-notification .pnotify-title {
    margin: 0 0 6px;
    color: #172b4d;
    font-size: 15px;
    font-weight: 650;
    line-height: 1.35;
    letter-spacing: -.15px;
    overflow-wrap: anywhere;
}
.bf-notification .pnotify-text {
    max-height: min(200px, 40dvh) !important;
    color: #68748a;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.65;
    overflow-wrap: anywhere;
}
.bf-notification .pnotify-closer {
    position: absolute;
    top: 19px;
    right: 16px;
    display: grid;
    place-items: center;
    float: none;
    width: 26px;
    height: 26px;
    margin: 0;
    border-radius: 7px;
    background: transparent;
    color: #8d92a2;
}
.bf-notification .pnotify-closer:hover { background: #f5f3f8; color: #172b4d; }
.bf-notification .pnotify-closer:focus-visible { outline: 3px solid #bca1f3; outline-offset: 2px; }
.bf-notification .pnotify-closer > span {
    display: block;
    width: 16px;
    height: 16px;
    background: currentColor;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round'%3E%3Cpath d='m7 7 10 10M17 7 7 17'/%3E%3C/svg%3E") center / contain no-repeat;
}
.bf-notification .pnotify-sticker { display: none; }
@media (max-width: 700px) {
    .pnotify.bf-notification { right: 16px !important; }
    .bf-notification .pnotify-container { padding: 20px 12px 21px 18px; }
    .bf-notification .pnotify-icon { top: 20px; left: 18px; width: 36px; height: 36px; border-radius: 11px; }
    .bf-notification.pnotify-with-icon .pnotify-content { margin-left: 46px; }
    .bf-notification .pnotify-title { font-size: 14px; }
    .bf-notification .pnotify-text { font-size: 12px; }
    .bf-notification .pnotify-closer { top: 15px; right: 9px; width: 28px; height: 28px; }
}
@media (pointer: coarse) {
    .bf-notification .pnotify-closer { top: 7px; right: 3px; width: 44px; height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
    .pnotify.bf-notification { transition: none !important; animation: none !important; }
}
