.live-activity-popup {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: linear-gradient(135deg, rgba(255,255,255,0.85), rgba(240,245,255,0.85));
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 16px;
    padding: 14px 16px;
    width: 300px;
    display: flex;
    gap: 12px;
    align-items: center;
    font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont;
    
    /* Glow border */
    border: 1px solid rgba(99, 102, 241, 0.25);

    /* Premium shadow */
    box-shadow: 
        0 10px 25px rgba(0,0,0,0.12),
        0 20px 45px rgba(99, 102, 241, 0.25);

    opacity: 0;
    transform: translateY(20px) scale(0.96);
    transition: all 0.55s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: 9999;
    pointer-events: none;
    overflow: hidden;
}

/* Subtle shine effect */
.live-activity-popup::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,0.4), transparent);
    transform: rotate(25deg);
    opacity: 0;
    transition: opacity 0.6s ease;
}

.live-activity-popup.show::before {
    opacity: 1;
}

/* Show animation */
.live-activity-popup.show {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Avatar circle */
.lap-avatar {
    width: 42px;
    height: 42px;
    min-width: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6366f1, #a855f7, #ec4899);
    color: #fff;
    font-weight: 600;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;

    /* soft glow */
    box-shadow: 0 4px 12px rgba(168, 85, 247, 0.5);
}

/* Text content */
.lap-content {
    flex: 1;
    line-height: 1.35;
}

.lap-content strong {
    color: #0f172a;
    font-weight: 600;
}

.lap-action {
    color: #475569;
    font-size: 14px;
}

.lap-time {
    font-size: 12px;
    color: #94a3b8;
    margin-top: 3px;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Animated live dot */
.lap-dot {
    width: 6px;
    height: 6px;
    background: #22c55e;
    border-radius: 50%;
    position: relative;
}

.lap-dot::after {
    content: "";
    position: absolute;
    width: 6px;
    height: 6px;
    background: #22c55e;
    border-radius: 50%;
    animation: lap-ping 1.5s infinite;
    opacity: 0.6;
}

@keyframes lap-ping {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }
    70% {
        transform: scale(2.5);
        opacity: 0;
    }
    100% {
        opacity: 0;
    }
}

/* Mobile */
@media (max-width: 600px) {
    .live-activity-popup {
        right: 14px;
        left: 14px;
        width: auto;
        bottom: 16px;
    }
}