/* =================================================================
   6. PÁGINA DE RANKING E CLASSIFICAÇÃO (SEÇÃO ATUALIZADA)
   ================================================================= */
   .ranking-card {
    transition: all 0.2s ease-in-out;
}

.ranking-main-info {
    display: flex;
    align-items: center;
    gap: 15px; /* Espaçamento entre os itens */
}

.ranking-card .ranking-position {
    flex-basis: 50px;
    flex-shrink: 0;
    text-align: center;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-main);
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

.ranking-user-info {
    flex-grow: 1;
}

.nome-participante-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--text-main);
    font-weight: 500;
}

.nome-participante-link .icon-ver-palpites {
    margin-left: 8px;
    color: var(--text-muted);
    transition: color 0.2s;
    opacity: 0; /* Começa invisível */
}

.nome-participante-link:hover .icon-ver-palpites {
    color: var(--brand-primary);
    opacity: 1; /* Aparece no hover */
}

.ranking-points {
    flex-shrink: 0;
    text-align: right;
}

.pontos-breakdown {
    font-size: 0.8em;
    color: var(--text-muted);
    margin-top: 2px;
}

.ranking-card.usuario-atual {
    background: linear-gradient(90deg, rgba(var(--brand-primary-rgb), 0.1), var(--bg-card));
    border-left: 4px solid var(--brand-primary);
    border-radius: 12px;
}

.table-custom th[title] {
    text-decoration: dotted underline;
    cursor: help;
}
.posicao-1, .posicao-2 {
    border-left: 4px solid #198754;
}
