.bw-toast-stack {
    position: fixed;
    top: 22px;
    right: 24px;
    z-index: 2147483100;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    width: min(390px, calc(100vw - 32px));
    pointer-events: none;
}

.bw-toast {
    box-sizing: border-box;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    width: 100%;
    padding: 11px 14px;
    background:
        linear-gradient(180deg, rgba(12, 18, 26, .97), rgba(4, 8, 13, .97)) padding-box,
        linear-gradient(135deg, rgba(110, 190, 245, .34), rgba(116, 179, 227, .24), rgba(16, 34, 49, .7)) border-box;
    border: 1px solid transparent;
    border-left: 3px solid var(--bw-gold, #438ec8);
    border-radius: var(--bw-radius, 2px);
    box-shadow: 0 14px 34px rgba(0, 0, 0, .58), inset 0 1px 0 rgba(255, 255, 255, .05);
    color: var(--bw-text, #dce8f1);
    font-family: Arial, Tahoma, sans-serif;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.45;
    text-align: left;
    opacity: 0;
    transform: translateX(24px);
    transition: opacity .22s ease, transform .22s cubic-bezier(.4, 0, .2, 1);
    cursor: pointer;
    pointer-events: auto;
}

.bw-toast.is-in {
    opacity: 1;
    transform: translateX(0);
}

.bw-toast.is-out {
    opacity: 0;
    transform: translateX(24px);
}

.bw-toast-icon {
    display: flex;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    margin-top: 1px;
}

.bw-toast-icon svg {
    width: 100%;
    height: 100%;
}

.bw-toast-body {
    min-width: 0;
    flex: 1;
    word-break: break-word;
}

.bw-toast-body strong {
    color: var(--bw-gold, #438ec8);
    font-weight: 800;
}

.bw-toast-body strong + .bw-toast-line {
    margin-top: 3px;
}

.bw-toast-line {
    display: block;
    color: var(--bw-text, #dce8f1);
    font-weight: 600;
    opacity: .92;
}

.bw-toast-body a {
    color: var(--bw-gold, #438ec8);
    text-decoration: underline;
}

.bw-toast--success {
    border-left-color: #4ade80;
}

.bw-toast--success .bw-toast-icon {
    color: #4ade80;
}

.bw-toast--error {
    border-left-color: #e05f5f;
}

.bw-toast--error .bw-toast-icon {
    color: #e05f5f;
}

.bw-toast--warning {
    border-left-color: var(--bw-gold, #d4af37);
}

.bw-toast--warning .bw-toast-icon {
    color: var(--bw-gold, #d4af37);
}

.bw-toast--info {
    border-left-color: #6ebef5;
}

.bw-toast--info .bw-toast-icon {
    color: #6ebef5;
}

@media (prefers-reduced-motion: reduce) {
    .bw-toast {
        transition: opacity .22s ease;
        transform: none;
    }

    .bw-toast.is-in,
    .bw-toast.is-out {
        transform: none;
    }
}

@media (max-width: 560px) {
    .bw-toast-stack {
        top: 16px;
        right: 16px;
        left: 16px;
        width: auto;
    }
}
