/**
 * Minestone 前台统一轻提示。
 *
 * Toast 的 DOM 与行为由 assets/js/core/toast.js 统一提供；页面只通过
 * data-toast-modifier 仅保留给行为层扩展；所有前台轻提示统一在视口中央展示。
 */
.ms-toast {
    position: fixed;
    top: 50%;
    bottom: auto;
    left: 50%;
    z-index: 11000;
    box-sizing: border-box;
    width: max-content;
    min-width: min(280px, calc(100vw - 32px));
    max-width: min(560px, calc(100vw - 32px));
    padding: 12px 24px;
    border: 0;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    font-size: 14px;
    font-weight: var(--ms-weight-body);
    line-height: 1.45;
    text-align: center;
    overflow-wrap: anywhere;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate(-50%, -50%) scale(0.98);
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
}

.ms-toast.show {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}
