/* ===== 全站共用 toast（DSToast.show／DSSearch.toast）=====
 * 2026-10-26 由 searchbar.css 搬出：沒有搜尋列的頁面（ops）也要能用。
 * airspace／notam 在剪貼簿被拒時會把整串分享網址顯示在這裡，所以必須能在任意位置斷行。 */
.ds-toast {
    position: fixed;
    left: 50%;
    bottom: calc(80px + env(safe-area-inset-bottom, 0px));
    transform: translateX(-50%);
    z-index: 10000;
    max-width: min(90vw, 420px);
    padding: 10px 16px;
    background: var(--surface);
    border: 1px solid var(--hairline);
    border-radius: var(--radius-md);
    box-shadow: var(--glass-shadow);
    color: var(--text-white);
    font-size: 14px;
    text-align: center;
    white-space: pre-line;      /* 舊 alert() 訊息裡的 \n 照樣換行 */
    overflow-wrap: anywhere;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s;
}
.ds-toast.is-visible { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
    .ds-toast { transition: none; }
}
