/* Classement de personnes en barres horizontales (vi_commun.classement), europe.html et monde.html, 4 déc. 2026.
   Chaque barre a la longueur du pourcentage, sur une piste de 0 à 100 %. */
.cl { margin: 0; display: flex; flex-direction: column; padding: clamp(22px, 2.8vw, 34px); border-radius: 28px; background: var(--gris); }
.sj-sec.gris .cl { background: #fff; }
.sj-sec.noir .cl { background: #161617; color: #fff; }
.cl-tete { display: flex; flex-direction: column; gap: 4px; margin-bottom: 20px; }
.cl-tete b { font-size: 17px; font-weight: 700; letter-spacing: -.01em; }
.cl-tete span { font-size: 14px; line-height: 1.4; color: var(--texte-2); }
.sj-sec.noir .cl-tete span { color: #A1A1A6; }
.cl-liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.cl-liste li { display: grid; grid-template-columns: 20px minmax(0, 1fr) auto; grid-template-areas: "rang nom v" ". barre barre"; column-gap: 10px; row-gap: 7px; align-items: center; }
@media (min-width: 640px) {
  .cl-liste li { grid-template-columns: 20px minmax(170px, 1fr) minmax(0, 1.5fr) 56px; grid-template-areas: "rang nom barre v"; }
}
.cl-rang { grid-area: rang; font-size: 13px; font-weight: 700; color: var(--texte-3); font-variant-numeric: tabular-nums; }
.cl-nom { grid-area: nom; display: flex; flex-direction: column; min-width: 0; font-size: 15.5px; font-weight: 620; line-height: 1.2; }
.cl-nom small { margin-top: 2px; font-size: 12.5px; font-weight: 450; color: var(--texte-2); }
.sj-sec.noir .cl-nom small { color: #8E8E93; }
.cl-barre { grid-area: barre; display: block; height: 10px; border-radius: 99px; background: rgba(0, 0, 0, .07); overflow: hidden; }
.sj-sec.noir .cl-barre { background: rgba(255, 255, 255, .08); }
.cl-barre i { display: block; height: 100%; width: calc(var(--v) * 1%); border-radius: 99px; background: #C7C7CC; transform-origin: left center; }
.sj-sec.noir .cl-barre i { background: #48484E; }
.cl-fort .cl-barre i { background: var(--bleu); }
.sj-sec.noir .cl-fort .cl-barre i { background: #5B78FF; }
.cl-v { grid-area: v; text-align: right; font-size: 17px; font-weight: 760; letter-spacing: -.02em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.cl-fort .cl-nom { font-weight: 760; }
.cl-fort .cl-v, .cl-fort .cl-rang { color: var(--bleu); }
.sj-sec.noir .cl-fort .cl-v, .sj-sec.noir .cl-fort .cl-rang { color: #8FA2FF; }
.cl-pied { margin: 20px 0 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; font-size: 13.5px; line-height: 1.45; color: var(--texte-2); }
.sj-sec.noir .cl-pied { color: #A1A1A6; }
.cl-pied .pj-src { margin: 0; }
.sj-sec.noir .cl-pied .pj-src { color: #fff; }
.cl-nom small:empty { display: none; }
/* monde.html : deux classements côte à côte, puis les pays, dans la largeur des autres sections */
.cl-duo, .cl-pays, .cl-note { max-width: 1140px; margin-left: auto; margin-right: auto; }
.cl-duo { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
@media (min-width: 1000px) { .cl-duo { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: start; } }
.cl-pays { margin-top: 14px; }
.cl-note { margin-top: 26px; font-size: 16px; line-height: 1.5; color: var(--texte-2); }
.cl-note a { color: var(--bleu); }
/* Les barres s'allongent quand le classement entre à l'écran (même mécanisme que .ra-barres de rc.css) */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .cl-barre i { animation: cl-allonge linear both; animation-timeline: view(); animation-range: entry 10% cover 40%; }
  }
}
@keyframes cl-allonge { from { transform: scaleX(.03); } to { transform: none; } }
