#sp-toast-container {
    position: fixed;
    bottom: 6rem;
    left: 1rem;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    pointer-events: none;
    max-width: 320px;
    width: calc(100vw - 2rem);
}
.sp-toast {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(0,0,0,0.07);
    border-left: 3px solid #d97757;
    border-radius: 0.9rem;
    padding: 0.7rem 1rem;
    box-shadow: 0 8px 32px rgba(0,0,0,0.13), 0 2px 8px rgba(0,0,0,0.08);
    pointer-events: auto;
    cursor: default;
    transform: translateX(-120%);
    opacity: 0;
    transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.35s ease;
}
.sp-toast.sp-show {
    transform: translateX(0);
    opacity: 1;
}
.sp-toast.sp-hide {
    transform: translateX(-120%);
    opacity: 0;
    transition: transform 0.38s ease-in, opacity 0.3s ease;
}
.sp-toast-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid #f5efe6;
}
.sp-toast-body {
    flex: 1;
    min-width: 0;
}
.sp-toast-name {
    font-size: 0.78rem;
    font-weight: 700;
    color: #1a1816;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.sp-toast-action {
    font-size: 0.72rem;
    color: #555;
    margin-top: 1px;
    line-height: 1.4;
}
.sp-toast-action strong {
    color: #c55f41;
}
.sp-toast-time {
    font-size: 0.65rem;
    color: #aaa;
    margin-top: 3px;
    display: flex;
    align-items: center;
    gap: 3px;
}
.sp-toast-badge {
    width: 22px;
    height: 22px;
    background: linear-gradient(135deg, #d97757, #c55f41);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.sp-toast-badge i {
    font-size: 0.6rem;
    color: #fff;
}
.sp-toast-close {
    position: absolute;
    top: 0.3rem;
    right: 0.4rem;
    background: none;
    border: none;
    color: #ccc;
    cursor: pointer;
    font-size: 0.65rem;
    padding: 0;
    line-height: 1;
    transition: color 0.2s;
}
.sp-toast-close:hover { color: #888; }
.sp-toast { position: relative; }
/* Pulse dot */
.sp-live-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    background: #22c55e;
    border-radius: 50%;
    animation: sp-pulse 1.5s ease-in-out infinite;
    flex-shrink: 0;
}
@keyframes sp-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.7); }
}
