/* CSS do Plugin de Carrossel - Versão Corrigida */

.home .user-carousel {
    /* Remove o margin-top negativo e ajusta para zero */
    margin-top: 3px !important; 
    
    /* Mantém outros espaçamentos */
    margin-bottom: 10px;
    padding-top: 10px; /* Adiciona pequeno espaço apenas na parte superior */
    padding-right: 6px;
    padding-bottom: 6px;
    padding-left: 6px;
    
    /* Estilos originais */
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    font-family: 'Arial', sans-serif;
}

/* Garante que a regra não se aplique em outras páginas */
.page:not(.home) .user-carousel {
    margin: 10px 0;
    padding-top: 10px; /* Adiciona pequeno espaço apenas na parte superior */
    padding-right: 6px;
    padding-bottom: 6px;
    padding-left: 6px;
}

.user-card {
    text-align: center;
    padding: 3px;
    background: #f8f9fa;
    margin: 0 8px;
    border-radius: 25px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    font-size: 8px;
    width: 50px;
    height: 60px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}
.user-info {
    display: flex;
    align-items: center;
    margin-bottom: 2px;
    max-width: 100%;
}
.user-avatar {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    margin-right: 5px;
}
.user-name {
    font-weight: 600;
    color: #1a73e8;
    font-size: 9px;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.user-stats { display: flex; flex-direction: column; align-items: center; }
.user-multicoins {
    color: #ff9800;
    font-size: 7px;
    margin-top: 2px;
    display: flex;
    align-items: center;
}
.user-multicoins svg { margin-right: 2px; }
.user-achievements { color: #ab47bc; font-size: 6px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.user-achievements svg { vertical-align: middle; margin-right: 2px; }

@media (max-width: 767px) {
    .user-carousel {
        margin: 0;
        padding-top: 10px; /* Mantém pequeno espaço apenas na parte superior */
        padding-right: 6px;
        padding-bottom: 6px;
        padding-left: 6px;
    }
    .user-card {
        margin: 0 2px; /* Ajuste o espaçamento entre os cards para mobile */
    }
}