.toast {
    position: fixed;
    left: 50%;
    bottom: calc(18px + env(safe-area-inset-bottom, 0px));
    transform: translate(-50%, 16px);
    background: var(--ink);
    color: var(--panel);
    padding: 9px 16px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s, transform .2s;
    z-index: 20;
    max-width: calc(100% - 32px);
    text-align: center
}

.toast.show {
    opacity: 1;
    transform: translate(-50%, 0)
}