/**
 * Nagisa Admin Toast（Top-right light toast）
 * 规格：/www/wwwroot/docs/NAGISA_TOP_RIGHT_LIGHT_TOAST.md
 *
 * - 新提示插到顶部，旧提示自动下移（纵向堆叠，不重叠）
 * - 类型：success / error / warning / muted（关闭、中性用灰色）
 */
.songdata-toast-container {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 10050;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
    pointer-events: none;
    max-width: min(90vw, 380px);
}

.songdata-toast {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.12), 0 4px 6px -2px rgba(0, 0, 0, 0.06);
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    max-width: min(90vw, 360px);
    pointer-events: none;
    transform: translateX(calc(100% + 1.5rem));
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.songdata-toast.songdata-toast--show {
    opacity: 1;
    transform: translateX(0);
}

.songdata-toast--success {
    background: #22c55e;
}

.songdata-toast--error {
    background: #ef4444;
}

.songdata-toast--warning {
    background: #eab308;
    color: #1a1a1a;
}

/* 关闭 / 中性提示：灰色（非黄色） */
.songdata-toast--muted {
    background: #78909c;
    color: #fff;
}

.songdata-toast__icon {
    flex-shrink: 0;
    display: inline-flex;
    width: 1.25rem;
    height: 1.25rem;
}

.songdata-toast__icon svg {
    width: 100%;
    height: 100%;
    display: block;
}
