/* Short messages at the top of the screen. */

.toasts {
    position: fixed;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 60;
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
    width: max-content;
    max-width: calc(100% - 32px);
    pointer-events: none;
}
.toast {
    pointer-events: auto;
    min-height: 44px;
    padding: 6px 6px 6px 14px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13.5px;
    line-height: 1.35;
    animation: toastIn .25s ease;
}
.toast > svg.i {
    width: 18px;
    height: 18px;
    color: var(--ink-2);
}
.toast.warn > svg.i {
    color: var(--error);
}
.toast button {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 0;
    background: rgba(255, 255, 255, .08);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex: none;
    padding: 0;
}
.toast button svg.i {
    width: 15px;
    height: 15px;
}
@keyframes toastIn {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
}
