@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.stat-card {
    opacity: 0;
    transform: translateY(40px);
    animation: slideUp 0.8s forwards;
}

.user-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: #f9fafb;
    padding: 0.5rem 0.75rem;
    border-radius: 0.5rem;
    opacity: 0; /* Initial state before JS adds animation */
    transform: translateY(40px); /* Initial state before JS adds animation */
    /* Animation added by JS using animate-slide-up-custom */
}

.rank {
    height: 2rem;
    width: 2rem;
    border-radius: 9999px;
    background: #e0f2ff;
    color: #0284c7;
    font-weight: 700;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0; /* Prevent shrinking */
}

.avatar {
    height: 2.5rem;
    width: 2.5rem;
    border-radius: 12px;
    border: 2px solid #38bdf8;
    object-fit: cover;
    flex-shrink: 0; /* Prevent shrinking */
}