.toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column-reverse;
    gap: 10px;
    pointer-events: none;
}

.toast {
    pointer-events: auto;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 20px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    color: #ccff00;
    background: rgba(204, 255, 0, .08);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(204, 255, 0, .2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, .3);
    animation: toastIn .3s ease;
    max-width: 340px;
}

.toast.error {
    color: #ef4444;
    background: rgba(239, 68, 68, .08);
    border-color: rgba(239, 68, 68, .2);
}

.toast.removing {
    animation: toastOut .3s ease forwards;
}

.toast-close {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
    padding: 0 0 0 8px;
    color: inherit;
    opacity: .5;
}
.toast-close:hover { opacity: 1; }

.toast-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    border-radius: 0 0 12px 12px;
    background: rgba(204, 255, 0, .3);
    animation: toastBar var(--toast-duration) linear forwards;
}

.toast.error .toast-bar {
    background: rgba(239, 68, 68, .3);
}

@keyframes toastIn {
    from { transform: translateX(100px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes toastOut {
    from { transform: translateX(0); opacity: 1; }
    to { transform: translateX(100px); opacity: 0; }
}

@keyframes toastBar {
    from { width: 100%; }
    to { width: 0; }
}

@media (max-width: 600px) {
    .toast-container {
        bottom: 16px;
        right: 16px;
        left: 16px;
    }
    .toast { max-width: 100%; }
}
