/* ============================================================
   notification.css · Toast 通知
   ============================================================ */

.dp-toast-container {
    position: fixed;
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 99999;
    display: flex;
    flex-direction: column;
    gap: 8px;
    pointer-events: none;
    max-width: 92vw;
    width: 380px;
}

.dp-toast {
    pointer-events: auto;
    background: rgba(30, 20, 45, 0.95);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(192, 132, 252, 0.35);
    border-radius: 14px;
    padding: 12px 16px;
    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.5),
        0 0 20px rgba(192, 132, 252, 0.15);
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    animation: dpToastIn 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    transition: opacity 0.3s, transform 0.3s;
}

.dp-toast.out {
    opacity: 0;
    transform: translateY(-10px);
}

@keyframes dpToastIn {
    from { opacity: 0; transform: translateY(-20px); }
    to   { opacity: 1; transform: translateY(0); }
}

.dp-toast-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(192, 132, 252, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #fff;
    flex-shrink: 0;
    background-size: cover;
    background-position: center;
}

.dp-toast-body {
    flex: 1;
    min-width: 0;
}

.dp-toast-name {
    font-size: 13px;
    font-weight: 600;
    color: #c084fc;
    margin-bottom: 2px;
}

.dp-toast-content {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.85);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}