.page-toast {
    position: fixed;
    left: 50%;
    bottom: max(28px, env(safe-area-inset-bottom));
    transform: translate(-50%, 8px);
    z-index: 2000;
    max-width: calc(100vw - 40px);
    box-sizing: border-box;
    padding: 10px 18px;
    border: 1px solid #334155;
    border-radius: 8px;
    background: #1e293b;
    color: #f8fafc;
    box-shadow: 0 4px 20px #0006;
    font: 13px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
    text-align: center;
    pointer-events: none;
    opacity: 0;
    transition: opacity 250ms ease, transform 250ms ease;
}

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

@media (prefers-reduced-motion: reduce) {
    .page-toast { transition: none; }
}
