/* ============================================================
   Track Event - Team Member List & Event Items
   ============================================================ */

/* Scrollable member/event list */
.track-member-list {
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-bottom: 8px;
}

.track-member-list::-webkit-scrollbar {
    display: none;
}

/* Member row */
.member-row {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--track-bg-card, rgba(255, 255, 255, 0.06));
    border-radius: 12px;
    padding: 14px 18px;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
                opacity 0.35s ease;
}

.member-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    font-weight: 600;
    color: #1c1c2e;
    flex-shrink: 0;
}

.member-name {
    flex: 1;
    font-size: 16px;
    font-weight: 500;
}

.member-count {
    font-size: 20px;
    font-weight: 700;
    min-width: 28px;
    text-align: right;
}

/* Own event items (reuses member-row base) */
.track-event-item {
    padding: 10px 18px;
}

/* ============================================================
   Animations
   ============================================================ */

/* Counter Bump Animation */
@keyframes counter-bump {
    0% { transform: scale(1); }
    30% { transform: scale(1.15); }
    100% { transform: scale(1); }
}

.counter-bump {
    animation: counter-bump 0.3s ease-out;
}

/* CTA Pulse Animation */
@keyframes fire-pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(124, 77, 255, 0.5);
    }
    50% {
        transform: scale(1.03);
        box-shadow: 0 0 0 15px rgba(124, 77, 255, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(124, 77, 255, 0);
    }
}

.track-cta-area.pulsing .mud-button-root {
    animation: fire-pulse 0.4s ease-out;
}
