.toast-stack {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 80;
    display: grid;
    gap: 14px;
    width: min(620px, calc(100vw - 28px));
    pointer-events: none;
}

.toast-card {
    display: grid;
    gap: 10px;
    padding: 24px 26px;
    border: 1px solid var(--line-strong);
    border-left: 7px solid var(--blue);
    border-radius: 14px;
    background: rgba(13,18,26,.96);
    box-shadow: 0 24px 60px rgba(0,0,0,.42);
    transform: translateY(16px);
    opacity: 0;
    animation: toast-rise .28s ease forwards, toast-drop .32s ease forwards 14.8s;
}

.toast-card.good { border-left-color: var(--green); }
.toast-card.bad { border-left-color: var(--red); }
.toast-card.warn { border-left-color: var(--amber); }

.toast-title {
    color: var(--text);
    font-size: 26px;
    line-height: 1.25;
    font-weight: 900;
}

.toast-body {
    color: var(--muted);
    font-size: 24px;
    line-height: 1.4;
}

.toast-time {
    color: var(--faint);
    font-family: var(--mono);
    font-size: 24px;
    line-height: 1.2;
    text-align: right;
}

@keyframes toast-rise {
    from { transform: translateY(16px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes toast-drop {
    from { transform: translateY(0); opacity: 1; }
    to { transform: translateY(18px); opacity: 0; }
}

@media (max-width: 620px) {
    .toast-stack {
        right: 8px;
        bottom: 8px;
        width: calc(100vw - 16px);
    }

    .toast-card {
        padding: 18px 20px;
    }
}
