.bc-toast-wrap {
    position: fixed;
    top: 16px;
    right: 16px;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: min(380px, calc(100vw - 32px));
    pointer-events: none;
}

.bc-toast {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 16px;
    border-radius: 14px;
    background: rgba(255, 255, 255, .82);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, .5);
    box-shadow: 0 12px 32px rgba(31, 10, 60, .16);
    color: #1f1a2e;
    font-size: .88rem;
    line-height: 1.4;
    pointer-events: auto;
    animation: bc-toast-in .25s ease;
}
[data-theme="dark"] .bc-toast {
    background: rgba(30, 20, 40, .88);
    border-color: rgba(255, 255, 255, .12);
    box-shadow: 0 12px 32px rgba(0, 0, 0, .5);
    color: #f1eefb;
}

.bc-toast--out { animation: bc-toast-out .25s ease forwards; }

.bc-toast__icon { font-size: 1.2rem; flex-shrink: 0; line-height: 1.3; }
.bc-toast--success .bc-toast__icon { color: #16a34a; }
.bc-toast--error .bc-toast__icon { color: #dc2626; }
[data-theme="dark"] .bc-toast--success .bc-toast__icon { color: #4ade80; }
[data-theme="dark"] .bc-toast--error .bc-toast__icon { color: #f87171; }

.bc-toast__msg { flex: 1; min-width: 0; word-break: break-word; }

@keyframes bc-toast-in {
    from { opacity: 0; transform: translateY(-10px) scale(.97); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes bc-toast-out {
    from { opacity: 1; transform: translateY(0) scale(1); }
    to { opacity: 0; transform: translateY(-10px) scale(.97); }
}

@media (max-width: 576px) {
    .bc-toast-wrap { left: 16px; right: 16px; max-width: none; }
}
