/* HBCHM V5.9 — classement lisible sur smartphone sans défilement horizontal.
   Colonnes visibles : Position, Club, Points, Matchs joués, Buts +, Buts -.
   Desktop : tableau complet inchangé. */
@media (max-width:767px) {
  .hb-ranking-page #rankingsList,
  .hb-ranking-page #rankingsList .table-scroll {
    box-sizing:border-box!important;
    width:100%!important;max-width:100%!important;min-width:0!important;
    overflow-x:hidden!important;
  }
  .hb-ranking-page #rankingsList .table-scroll .data-table {
    width:100%!important;max-width:100%!important;min-width:0!important;
    table-layout:fixed!important;border-collapse:collapse!important;
  }
  .hb-ranking-page #rankingsList .table-scroll .data-table th,
  .hb-ranking-page #rankingsList .table-scroll .data-table td {
    box-sizing:border-box!important;
    padding:7px 2px!important;
    font-size:10px!important;letter-spacing:0!important;
    overflow:hidden!important;
    text-align:center!important;
    white-space:nowrap!important;
  }
  /* Colonnes inutiles dans la vue compacte : V, N, D et différence. */
  .hb-ranking-page #rankingsList .data-table tr > :nth-child(5),
  .hb-ranking-page #rankingsList .data-table tr > :nth-child(6),
  .hb-ranking-page #rankingsList .data-table tr > :nth-child(7),
  .hb-ranking-page #rankingsList .data-table tr > :nth-child(10) {
    display:none!important;
  }
  /* Rétablir Buts + et Buts -, masqués par une ancienne règle mobile. */
  .hb-ranking-page #rankingsList .data-table tr > :nth-child(8),
  .hb-ranking-page #rankingsList .data-table tr > :nth-child(9) {
    display:table-cell!important;
  }
  .hb-ranking-page #rankingsList .data-table th:nth-child(1){width:9%!important;}
  .hb-ranking-page #rankingsList .data-table th:nth-child(2){width:39%!important;}
  .hb-ranking-page #rankingsList .data-table th:nth-child(3){width:11%!important;}
  .hb-ranking-page #rankingsList .data-table th:nth-child(4){width:11%!important;}
  .hb-ranking-page #rankingsList .data-table th:nth-child(8){width:15%!important;}
  .hb-ranking-page #rankingsList .data-table th:nth-child(9){width:15%!important;}
  .hb-ranking-page #rankingsList .data-table th:nth-child(2),
  .hb-ranking-page #rankingsList .data-table td:nth-child(2) {
    text-align:left!important;min-width:0!important;
    overflow:hidden!important;text-overflow:ellipsis!important;
  }
  .hb-ranking-page #rankingsList .data-table td:nth-child(2)>.club-mark {
    width:17px!important;height:17px!important;
    margin-right:3px!important;vertical-align:middle!important;
  }
  .hb-ranking-page #rankingsList .data-table td:nth-child(2)>span:not(.club-mark) {
    display:inline-block!important;vertical-align:middle!important;
    max-width:calc(100% - 24px)!important;
    overflow:hidden!important;text-overflow:ellipsis!important;
    white-space:nowrap!important;
  }
  /* En-têtes courts : la signification est conservée dans le HTML. */


}
@media (max-width:360px) {
  .hb-ranking-page #rankingsList .table-scroll .data-table th,
  .hb-ranking-page #rankingsList .table-scroll .data-table td {
    font-size:9px!important;padding:6px 1px!important;
  }
  .hb-ranking-page #rankingsList .data-table td:nth-child(2)>.club-mark {
    width:14px!important;height:14px!important;margin-right:2px!important;
  }
  .hb-ranking-page #rankingsList .data-table td:nth-child(2)>span:not(.club-mark) {
    max-width:calc(100% - 19px)!important;
  }
}
