#toast {
    position: fixed;
    inset-inline-end: 16px;
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    max-width: min(24rem, calc(100vw - 32px));
    padding: 10px 18px;
    border-radius: 999px;
    z-index: 30;
    font-size: .9rem;
}

#toast:empty {
    padding: 0;
    border: 0 !important;
}

#toast.ok {
    border-color: #3c7556 !important;
    background: #14251e !important;
    color: #d1fae5;
}

#toast.err {
    border-color: #a34e59 !important;
    background: #30191f !important;
    color: #fecaca;
}
