/* LE CLASSEMENT (classement.html, le prototype du 29/10/2026) : la bannière (un peu plus petite), la scène des champions
   (les huit thèmes en marque-pages, les classements du thème, le podium des trois premiers avec leur peau en 3D), la liste
   jusqu'au 100e, la fiche d'un joueur (au survol, au clic). Chargé après style.css et scene.css ; les couleurs et les polices
   du site ; les classes de la page commencent par « cl- ». Jamais une pastille arrondie (le propriétaire) : aucun arrondi. */

/* ---------- la bannière, plus petite : le podium vivant suit dessous ---------- */
.vitrine-tete.banniere.compacte { padding-bottom: 26px; }
/* le ciel étoilé du kit (css/motifs.css) derrière la bannière (sa règle de scene.css porte un fond uni) */
.vitrine-tete.banniere.compacte.fond-ciel { background-color: #1B1028; background-image: var(--fond-ciel-image); background-size: var(--fond-ciel-taille); }
.vitrine-tete.banniere.compacte .fond, .vitrine-tete.banniere.compacte .banniere-texte { width: min(1040px, 100% - 32px); }
@media (max-width: 700px) { .vitrine-tete.banniere.compacte .fond, .vitrine-tete.banniere.compacte .banniere-texte { width: calc(100% - 24px); } }
/* (86, 03/11/2026, l'audit du site, n° 2) sur un téléphone l'affiche (portrait, 1 pour 1,7) prenait 735 px : « Voir les champions » arrivait vers 900 px, sous le
   premier écran, et le podium après deux écrans. L'affiche tient dans 46 % de l'écran (le titre et le trou noir gardés, le podium se lit juste dessous). */
@media (max-width: 700px) {
  .vitrine-tete.banniere.compacte .fond { height: 46svh; }
  .vitrine-tete.banniere.compacte .fond picture { height: 100%; }
  .vitrine-tete.banniere.compacte .fond img { height: 100%; object-fit: cover; object-position: 50% 32%; }
}

/* ---------- la scène : le ciel étoilé du kit, et la lumière du podium par-dessus ---------- */
.champions { padding: 56px 0 72px; overflow: hidden; background-color: #1B1028;
  background-image: radial-gradient(52% 34% at 50% 66%, rgba(142, 76, 184, .4), rgba(142, 76, 184, 0) 72%), radial-gradient(36% 26% at 50% 74%, rgba(255, 190, 70, .16), rgba(255, 190, 70, 0) 70%), var(--fond-ciel-image);
  background-size: auto, auto, var(--fond-ciel-taille); }
/* ---------- la liste, sur les pierres du château : la grande carte (la liste) et ses encarts ---------- */
.cl-liste-section { padding: 52px 0 64px; }
.cl-liste-zone.une-grande { grid-template-columns: minmax(0, 1fr) 300px; gap: 20px; max-width: 1180px; margin: 0 auto; }
.cl-liste-zone[hidden] { display: none; }
.cl-liste-carte { min-width: 0; padding: 16px 16px 10px; background: linear-gradient(180deg, rgba(20, 11, 32, .9), rgba(14, 8, 24, .92)); border: 2px solid rgba(215, 164, 33, .4); box-shadow: 0 18px 40px rgba(0, 0, 0, .45); }
.cl-encarts { display: grid; gap: 16px; align-content: start; }
.cl-encart { padding: 16px 18px 18px; }
.cl-encart h3 { margin: 0 0 6px; font-size: 21px; color: var(--or-clair); }
.cl-encart p { margin: 0; font-size: 15px; line-height: 1.5; color: #F1E6FF; }
.cl-encart p + p { margin-top: 8px; }
.cl-encart code { color: var(--or-clair); }
.cl-encart .classement-lu { text-align: left; font-size: 13.5px; color: #CDB8E6; }
.panneau-bois.cl-encart p { color: #FFF4D6; }
.champions .tete { margin-bottom: 26px; }
.champions .tete h2 { text-wrap: balance; }
.classement-etat { margin: 30px auto 18px; text-align: center; font-weight: 700; font-size: 19px; color: #F1E6FF; grid-column: 1 / -1; }
.cl-podium > .bouton { grid-column: 1 / -1; justify-self: center; }

/* les onglets : des marque-pages de cuir, le choisi au ruban rouge */
.cl-themes { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0 auto 18px; }
.cl-theme { position: relative; padding: 9px 18px 12px; min-height: 44px; font-family: "Lilita One", "Fredoka", sans-serif; font-size: 19px; letter-spacing: .3px; color: #FFF4D6; cursor: pointer;
  background: linear-gradient(180deg, #7A4E28, #5A3418); border: 3px solid #2B1A0C; box-shadow: inset 0 3px 0 rgba(255, 255, 255, .18), 0 4px 0 #2B1A0C; text-shadow: 0 2px 0 rgba(0, 0, 0, .45); transition: transform .15s ease, filter .15s ease; }
.cl-theme:hover { transform: translateY(-2px); filter: brightness(1.12); }
.cl-theme:focus-visible { outline: 3px solid var(--or-clair); outline-offset: 3px; }
.cl-theme[aria-selected="true"] { background: linear-gradient(180deg, #D0443A, var(--ruban)); border-color: var(--or); box-shadow: inset 0 3px 0 rgba(255, 255, 255, .22), 0 4px 0 #6E1A14; color: #FFF4D6; }
.cl-theme[aria-selected="true"]::after { content: ""; position: absolute; left: 50%; bottom: -13px; width: 0; height: 0; margin-left: -9px; border: 9px solid transparent; border-top-color: var(--or); border-bottom: 0; }

/* les classements du thème : des jetons de parchemin, le choisi en or */
.cl-cats { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; max-width: 980px; margin: 16px auto 10px; }
.cl-cats[hidden], .cl-sous[hidden] { display: none; }
.cl-cat { min-height: 40px; padding: 6px 13px 7px; font-family: "Fredoka", sans-serif; font-weight: 700; font-size: 15px; color: var(--bois-fonce); cursor: pointer; background: var(--parchemin-2); border: 2px solid var(--bois-clair); box-shadow: 0 3px 0 var(--bois-clair); transition: transform .12s ease; }
.cl-cat:hover { transform: translateY(-1px); }
.cl-cat:focus-visible { outline: 3px solid var(--or-clair); outline-offset: 2px; }
.cl-cat[aria-pressed="true"] { color: #3A2408; background: linear-gradient(180deg, #FFE38A, var(--or)); border-color: #FFF0B8; box-shadow: 0 3px 0 var(--or-fonce), 0 0 18px rgba(255, 215, 94, .45); }
/* les choix d'une catégorie (le niveau et les joueurs d'un donjon, la colonne d'un jeu de hasard) */
.cl-sous { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin: 4px auto 6px; }
.cl-choix-rangee { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.cl-choix-mot { font-weight: 700; font-size: 15px; color: #CDB8E6; margin-right: 4px; }
.cl-choix { min-width: 40px; min-height: 40px; padding: 4px 11px 6px; font-family: "Lilita One", "Fredoka", sans-serif; font-size: 16px; color: #FFF4D6; cursor: pointer; background: rgba(255, 255, 255, .06); border: 2px solid rgba(215, 164, 33, .5); }
.cl-choix:hover { background: rgba(255, 255, 255, .12); }
.cl-choix:focus-visible { outline: 3px solid var(--or-clair); outline-offset: 2px; }
.cl-choix[aria-pressed="true"] { color: #FFF4D6; background: var(--ruban); border-color: var(--or); box-shadow: 0 3px 0 #6E1A14; }
.cl-choix[hidden] { display: none; }

.cl-entete { text-align: center; margin: 22px auto 8px; max-width: 720px; }
.cl-entete h3 { font-size: clamp(26px, 3vw, 36px); color: var(--or-clair); text-shadow: 0 3px 0 rgba(0, 0, 0, .4); }
.cl-entete .cl-aide { margin: 8px 0 0; font-size: 16px; color: #E7D8F7; }
.cl-entete .cl-classes { margin: 6px 0 0; font-size: 14px; font-weight: 700; color: #BFA6DA; }
.cl-entete .cl-classes:empty, .cl-entete .cl-aide:empty { display: none; }

/* ---------- le podium : trois places (le 1er au milieu), chacune sa statue (la peau en 3D) et son socle en volume ---------- */
.cl-podium { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: end; gap: 0 clamp(6px, 2vw, 26px); max-width: 880px; min-height: 420px; margin: 0 auto; padding-top: 58px; transform-style: preserve-3d; transition: transform .5s ease-out; }
.cl-scene { perspective: 1400px; }
.cl-plan { display: contents; }
.cl-place { position: relative; display: flex; flex-direction: column; align-items: center; min-width: 0; transition: transform .35s cubic-bezier(.2, .8, .2, 1); }
.cl-place.p1 { order: 2; } .cl-place.p2 { order: 1; } .cl-place.p3 { order: 3; }
.cl-place:hover { transform: translateY(-6px); }
/* les rayons derrière le premier */
.cl-place.p1::before { content: ""; position: absolute; left: 50%; top: 4%; width: 150%; aspect-ratio: 1; transform: translateX(-50%); z-index: 0; pointer-events: none; opacity: .55;
  background: repeating-conic-gradient(from 0deg, rgba(255, 215, 94, .26) 0deg 7deg, rgba(255, 215, 94, 0) 7deg 22deg);
  -webkit-mask: radial-gradient(closest-side, #000 22%, transparent 72%); mask: radial-gradient(closest-side, #000 22%, transparent 72%); animation: cl-rayons 40s linear infinite; }
@keyframes cl-rayons { to { transform: translateX(-50%) rotate(360deg); } }
.cl-statue { position: relative; z-index: 1; display: block; width: 100%; max-width: 220px; aspect-ratio: 2 / 3; padding: 0; margin: 0; background: none; border: 0; cursor: pointer; }
.cl-statue:focus-visible { outline: 3px solid var(--or-clair); outline-offset: 2px; }
.cl-statue .face { position: absolute; left: 50%; bottom: 3%; height: 78%; width: auto; aspect-ratio: 1 / 2; transform: translateX(-50%); image-rendering: pixelated; opacity: 0; transition: opacity .5s ease; filter: drop-shadow(0 14px 10px rgba(0, 0, 0, .5)); }
.cl-statue .face.pret { opacity: 1; }
.cl-statue .vue3d { position: absolute; inset: 0; width: 100% !important; height: 100% !important; opacity: 0; transition: opacity .7s ease; }
.cl-statue.en-3d .vue3d { opacity: 1; }
.cl-statue.en-3d .face { opacity: 0; }
/* l'ombre au sol, sous les pieds */
.cl-statue::after { content: ""; position: absolute; left: 22%; right: 22%; bottom: 0; height: 7%; background: radial-gradient(closest-side, rgba(8, 4, 14, .7), rgba(8, 4, 14, 0)); z-index: -1; }
.cl-couronne { position: absolute; z-index: 3; left: 50%; top: -15%; width: 54px; height: auto; margin-left: -27px; image-rendering: pixelated; filter: drop-shadow(0 4px 8px rgba(255, 200, 60, .55)); animation: flotte 4.5s ease-in-out infinite; pointer-events: none; }
.cl-vide-place { display: grid; place-items: center; width: 100%; aspect-ratio: 2 / 3; max-width: 220px; color: #BFA6DA; font-weight: 700; font-size: 15px; text-align: center; }
/* le socle : sa face, son dessus en perspective, son côté d'ombre */
.cl-socle { position: relative; z-index: 2; width: 100%; max-width: 236px; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; padding: 16px 8px 12px; text-align: center;
  border: 4px solid rgba(0, 0, 0, .3); border-top: 0; box-shadow: inset 0 -12px 0 rgba(0, 0, 0, .12), 0 22px 34px rgba(0, 0, 0, .45); }
.cl-socle::before { content: ""; position: absolute; left: -4px; right: -4px; top: -26px; height: 26px; transform: perspective(220px) rotateX(52deg); transform-origin: 50% 100%; border: 4px solid rgba(0, 0, 0, .22); border-bottom: 0; }
.p1 .cl-socle { min-height: 170px; background: linear-gradient(180deg, #F2CB4E, #D7A421); color: #3E2A06; }
.p1 .cl-socle::before { background: linear-gradient(180deg, #FFF1B0, #F6D35E); }
.p2 .cl-socle { min-height: 128px; background: linear-gradient(180deg, #E2E5EA, #AEB3BD); color: #2A2E36; }
.p2 .cl-socle::before { background: linear-gradient(180deg, #FAFBFC, #DCDFE5); }
.p3 .cl-socle { min-height: 96px; background: linear-gradient(180deg, #E39A5E, #B9692F); color: #3A1D08; }
.p3 .cl-socle::before { background: linear-gradient(180deg, #F7C79B, #DE9355); }
.cl-socle .cl-n { position: absolute; right: 8px; bottom: 4px; font-family: "Lilita One", "Fredoka", sans-serif; font-size: 54px; line-height: 1; opacity: .22; pointer-events: none; }
.cl-socle .cl-medaille { width: 20px; height: 28px; image-rendering: pixelated; margin: -2px 0 6px; }
.cl-socle .cl-pseudo { max-width: 100%; padding: 0 4px; font-family: "Lilita One", "Fredoka", sans-serif; font-size: clamp(15px, 2vw, 24px); line-height: 1.1; overflow-wrap: anywhere; }
.cl-socle .cl-ile-nom { max-width: 100%; padding: 0 4px; font-family: "Lilita One", "Fredoka", sans-serif; font-size: clamp(15px, 2vw, 22px); line-height: 1.1; overflow-wrap: anywhere; }
.cl-socle .cl-petit { margin-top: 2px; font-size: 13px; font-weight: 700; opacity: .85; }
.cl-socle .cl-valeur { margin-top: 6px; font-weight: 700; font-size: 15px; }
/* (la tête, 22:05 ; le podium de l'accueil « paraît coupé », celui-ci aussi) LE SOL : une dalle de pierre du château sous les
   trois socles, d'un bord à l'autre du podium, sa lèvre d'or en haut ; seulement quand les places sont là */
.cl-podium:has(.cl-place)::after { content: ""; order: 4; grid-column: 1 / -1; position: relative; z-index: 2; height: 28px; margin: 0 -14px;
  background: linear-gradient(180deg, var(--or-clair) 0 3px, var(--or) 3px 6px, var(--or-fonce) 6px 9px, rgba(0, 0, 0, .35) 9px 12px, transparent 12px),
              linear-gradient(180deg, rgba(8, 4, 14, 0) 40%, rgba(8, 4, 14, .55)), url("../assets/motifs/pierres.svg") 0 0 / 48px 24px, #3B2A52;
  box-shadow: 0 8px 0 rgba(0, 0, 0, .3), 0 22px 30px rgba(0, 0, 0, .35); }
/* les éclats qui scintillent sur la scène (css/style.css, .eclat) */
.cl-podium .eclat { z-index: 0; pointer-events: none; }

/* ---------- la liste ---------- */
.cl-outils { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin: 0 0 12px; }
.cl-cherche { flex: 1 1 260px; max-width: 420px; }
.cl-cherche input { width: 100%; min-height: 44px; padding: 8px 14px; font: 600 16px "Fredoka", sans-serif; color: #fff; background: rgba(10, 6, 16, .55); border: 2px solid rgba(215, 164, 33, .55); }
.cl-cherche input::placeholder { color: #BFA6DA; }
.cl-cherche input:focus { outline: 3px solid var(--or-clair); outline-offset: 1px; }
.cl-moi { margin: 0; font-weight: 700; font-size: 16px; }
.cl-moi a { color: var(--or-clair); }
.cl-moi b { color: var(--or-clair); font-size: 1.25em; }
.cl-liste { list-style: none; margin: 0; padding: 0; }
.cl-ligne { position: relative; display: grid; grid-template-columns: 48px auto minmax(0, 1fr) minmax(90px, 200px) minmax(0, auto); align-items: center; gap: 4px 14px; padding: 6px 16px; margin: 0 0 4px;
  background: rgba(42, 26, 62, .55); border: 2px solid rgba(215, 164, 33, .16); transition: transform .15s ease, background .15s ease, border-color .15s ease; }
.cl-ligne:hover, .cl-ligne:focus-within { transform: translateY(-2px); background: rgba(62, 40, 88, .7); border-color: rgba(255, 215, 94, .6); }
.cl-ligne.toi { border-color: var(--or-clair); background: linear-gradient(90deg, rgba(215, 164, 33, .26), rgba(215, 164, 33, .07)); }
.cl-ligne[hidden] { display: none; }
.cl-ligne .cl-rang { font-family: "Lilita One", "Fredoka", sans-serif; font-size: 21px; color: #E7D8F7; text-align: center; }
.cl-ligne .cl-rang img { width: 15px; height: 21px; margin: 0 auto; image-rendering: pixelated; }
.cl-tete { display: block; flex: 0 0 auto; width: 40px; height: 40px; background-color: #3A2A4A; background-repeat: no-repeat; image-rendering: pixelated; box-shadow: 0 0 0 2px #120a1c, 0 0 0 4px rgba(255, 215, 94, .35); }
.cl-qui { min-width: 0; }
.cl-qui .cl-nom { display: block; padding: 0; margin: 0; background: none; border: 0; font: 700 18px/1.2 "Fredoka", sans-serif; color: #fff; text-align: left; cursor: pointer; overflow-wrap: anywhere; }
.cl-qui .cl-nom::after { content: ""; position: absolute; inset: 0; }
.cl-qui .cl-nom:focus-visible { outline: none; }
.cl-ligne:has(.cl-nom:focus-visible) { outline: 3px solid var(--or-clair); outline-offset: 2px; }
.cl-qui .cl-ile-nom { font-family: "Lilita One", "Fredoka", sans-serif; font-weight: 400; font-size: 19px; color: var(--or-clair); }
.cl-qui .cl-petit { display: block; margin-top: 1px; font-size: 13.5px; font-weight: 600; color: #CDB8E6; }
.cl-marque { display: inline-block; margin-left: 8px; padding: 1px 6px 2px; font-size: 11.5px; font-weight: 700; letter-spacing: .3px; vertical-align: 2px; color: #241505; background: var(--or-clair); }
.cl-marque.toi { background: #fff; color: #3A2408; }
.cl-marque.equipe { background: #8FE3FF; color: #0E2C40; }
.cl-embleme { display: inline-block; width: 22px; height: 22px; margin-left: 6px; vertical-align: -5px; background: no-repeat 0 0 / 264px 22px; animation: cl-embleme 1.8s steps(12) infinite; }
@keyframes cl-embleme { to { background-position: -264px 0; } }
.e-chevalier { background-image: url("../assets/boutique/grades/embleme_chevalier.png"); }
.e-comte { background-image: url("../assets/boutique/grades/embleme_comte.png"); }
.e-marquis { background-image: url("../assets/boutique/grades/embleme_marquis.png"); }
.e-duc { background-image: url("../assets/boutique/grades/embleme_duc.png"); }
.e-souverain { background-image: url("../assets/boutique/grades/embleme_souverain.png"); }
.cl-barre { position: relative; height: 10px; background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 215, 94, .18); }
.cl-barre i { position: absolute; left: 0; top: 0; bottom: 0; width: var(--part, 0%); background: linear-gradient(90deg, var(--or-fonce), var(--or-clair)); box-shadow: 0 0 10px rgba(255, 215, 94, .35); transition: width .6s cubic-bezier(.2, .8, .2, 1); }
.cl-ligne .cl-val { font-weight: 700; font-size: 16px; color: #FFF4D6; text-align: right; white-space: nowrap; }
.cl-vide { margin: 14px 0 0; text-align: center; font-weight: 700; color: #E7D8F7; }
.cl-vide .bouton { margin-top: 10px; }
.classement-lu { margin: 8px 0 0; }
mark.cl-trouve { background: rgba(255, 215, 94, .45); color: inherit; }

/* ---------- la fiche d'un joueur : au survol (une carte qui suit), au clic (une fenêtre) ---------- */
.cl-survol { position: fixed; z-index: 70; width: 270px; padding: 12px 14px; pointer-events: none; color: #F4EAFF; background: rgba(27, 16, 40, .97); border: 2px solid var(--or); box-shadow: 0 16px 36px rgba(0, 0, 0, .55); opacity: 0; transform: translateY(6px); transition: opacity .15s ease, transform .15s ease; }
.cl-survol.vu { opacity: 1; transform: none; }
.cl-survol[hidden] { display: none; }
.cl-survol .haut { display: flex; align-items: center; gap: 12px; }
.cl-survol .cl-tete { width: 48px; height: 48px; }
.cl-survol b { display: block; font-family: "Lilita One", "Fredoka", sans-serif; font-weight: 400; font-size: 20px; color: #fff; }
.cl-survol p { margin: 6px 0 0; font-size: 14px; line-height: 1.4; color: #E7D8F7; }
.cl-survol .or { color: var(--or-clair); font-weight: 700; }

.cl-fiche { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 18px; background: rgba(8, 4, 14, .72); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.cl-fiche[hidden] { display: none; }
.cl-fiche .panneau { position: relative; display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 6px 26px; width: min(820px, 100%); max-height: calc(100svh - 36px); overflow: auto; padding: 22px 24px 24px; color: #F4EAFF;
  background: radial-gradient(70% 60% at 18% 30%, rgba(142, 76, 184, .35), rgba(142, 76, 184, 0) 70%), linear-gradient(180deg, #2A1740, #1B1028); border: 3px solid var(--or); box-shadow: 0 0 0 3px #120a1c, 0 30px 70px rgba(0, 0, 0, .6); }
.cl-fiche .fermer { position: absolute; right: 8px; top: 8px; width: 44px; height: 44px; font: 700 26px/1 "Fredoka", sans-serif; color: #FFF4D6; cursor: pointer; background: rgba(255, 255, 255, .06); border: 2px solid rgba(215, 164, 33, .5); }
.cl-fiche .fermer:hover { background: rgba(255, 255, 255, .14); }
.cl-fiche .fermer:focus-visible { outline: 3px solid var(--or-clair); outline-offset: 2px; }
.fiche-statue { position: relative; align-self: start; width: 100%; aspect-ratio: 2 / 3; background: radial-gradient(closest-side, rgba(255, 215, 94, .18), rgba(255, 215, 94, 0)); }
.fiche-statue .face { position: absolute; left: 50%; bottom: 4%; height: 78%; width: auto; aspect-ratio: 1 / 2; transform: translateX(-50%); image-rendering: pixelated; opacity: 0; transition: opacity .4s ease; }
.fiche-statue .face.pret { opacity: 1; }
.fiche-statue .vue3d { position: absolute; inset: 0; width: 100% !important; height: 100% !important; opacity: 0; transition: opacity .6s ease; cursor: grab; }
.fiche-statue.en-3d .vue3d { opacity: 1; }
.fiche-statue.en-3d .face { opacity: 0; }
.fiche-statue .astuce { position: absolute; left: 0; right: 0; bottom: -2px; margin: 0; text-align: center; font-size: 12.5px; color: #BFA6DA; }
.fiche-infos h2 { font-size: clamp(26px, 3.4vw, 36px); color: #fff; margin: 4px 50px 4px 0; overflow-wrap: anywhere; }
.fiche-infos .titres { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 0 0 8px; font-weight: 700; font-size: 15px; color: #E7D8F7; }
.fiche-infos .grade { display: inline-flex; align-items: center; gap: 6px; padding: 2px 10px 3px 4px; color: #241505; background: linear-gradient(180deg, #FFE38A, var(--or)); }
.fiche-infos .grade .cl-embleme { margin-left: 0; }
.fiche-infos .equipe { padding: 2px 10px 3px; color: #0E2C40; background: #8FE3FF; }
.fiche-infos .vu { color: #BFA6DA; font-weight: 600; }
.fiche-infos .vu.en-ligne { color: var(--vert-clair); }
.fiche-niveau { display: flex; align-items: center; gap: 12px; margin: 6px 0 12px; }
.fiche-niveau b { font-family: "Lilita One", "Fredoka", sans-serif; font-weight: 400; font-size: 34px; line-height: 1; color: var(--or-clair); }
.fiche-niveau .cl-barre { flex: 1 1 auto; height: 12px; }
.fiche-bloc { margin: 12px 0 0; }
.fiche-bloc h3 { margin: 0 0 6px; font-family: "Lilita One", "Fredoka", sans-serif; font-weight: 400; font-size: 19px; color: var(--or-clair); }
.fiche-bloc p { margin: 0; font-size: 15px; color: #E7D8F7; }
.fiche-grille { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 14px; margin: 0; padding: 0; list-style: none; }
.fiche-grille li { display: flex; justify-content: space-between; gap: 8px; padding: 5px 8px; font-size: 14.5px; background: rgba(255, 255, 255, .05); }
.fiche-grille li span { color: #CDB8E6; }
.fiche-grille li b { color: #fff; white-space: nowrap; }
.fiche-aspects { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 14px; margin: 0; padding: 0; list-style: none; }
.fiche-aspects li { display: grid; grid-template-columns: 92px minmax(0, 1fr) 30px; align-items: center; gap: 8px; font-size: 13.5px; color: #E7D8F7; }
.fiche-aspects li b { text-align: right; color: #fff; }
.fiche-aspects .cl-barre { height: 8px; }
.fiche-etoiles { color: var(--or-clair); letter-spacing: 2px; }
.fiche-etoiles .vide { color: rgba(255, 255, 255, .22); }

/* ---------- les écrans moyens et petits ---------- */
@media (max-width: 960px) {
  .cl-podium { min-height: 360px; }
  .p1 .cl-socle { min-height: 140px; } .p2 .cl-socle { min-height: 108px; } .p3 .cl-socle { min-height: 82px; }
  .cl-ligne { grid-template-columns: 42px auto minmax(0, 1fr) minmax(70px, 140px) minmax(0, auto); }
  /* la liste sur toute la largeur, les encarts dessous, côte à côte tant qu'ils tiennent (la règle du kit, .une-grande,
     cède ici devant celle de la page, plus précise) */
  .cl-liste-zone.une-grande { grid-template-columns: minmax(0, 1fr); }
  .cl-encarts { grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
}
@media (max-width: 700px) {
  .champions { padding: 44px 0 64px; }
  .cl-podium { min-height: 290px; gap: 0 6px; }
  .cl-statue { max-width: 130px; }
  .cl-couronne { width: 38px; margin-left: -19px; }
  .p1 .cl-socle { min-height: 118px; } .p2 .cl-socle { min-height: 92px; } .p3 .cl-socle { min-height: 72px; }
  .cl-socle { padding: 12px 4px 8px; }
  .cl-socle .cl-pseudo, .cl-socle .cl-ile-nom { font-size: 15px; }
  .cl-socle .cl-valeur { font-size: 12.5px; }
  .cl-socle .cl-petit { font-size: 11.5px; }
  .cl-socle .cl-n { font-size: 38px; }
  /* au téléphone : le pseudo sur toute la ligne (jamais coupé au milieu d'un mot), la barre et la valeur dessous */
  .cl-ligne { grid-template-columns: 34px auto minmax(0, 1fr) auto; gap: 3px 10px; padding: 6px 10px; }
  .cl-ligne .cl-rang, .cl-ligne .cl-tete { grid-row: 1 / span 2; }
  .cl-ligne .cl-qui { grid-column: 3 / -1; grid-row: 1; }
  .cl-ligne .cl-barre { grid-column: 3; grid-row: 2; height: 6px; align-self: center; }
  .cl-ligne .cl-val { grid-column: 4; grid-row: 2; }
  .cl-tete { width: 36px; height: 36px; }
  .cl-ligne .cl-rang { font-size: 18px; }
  .cl-qui .cl-nom { font-size: 16px; }
  .cl-qui .cl-ile-nom { font-size: 17px; }
  .cl-ligne .cl-val { font-size: 14px; white-space: nowrap; }
  .cl-fiche { padding: 0; place-items: stretch; }
  .cl-fiche .panneau { grid-template-columns: minmax(0, 1fr); max-height: 100svh; height: 100%; padding: 16px 16px 22px; border-width: 0; box-shadow: none; }
  .fiche-statue { width: 62%; max-width: 230px; margin: 0 auto; }
  .fiche-grille, .fiche-aspects { grid-template-columns: minmax(0, 1fr); }
}
html.photo .cl-couronne, html.photo .cl-place.p1::before, html.photo .cl-embleme { animation: none; }
@media (prefers-reduced-motion: reduce) {
  .cl-couronne, .cl-place.p1::before, .cl-embleme { animation: none; }
  .cl-place, .cl-ligne, .cl-theme, .cl-cat, .cl-barre i, .cl-survol { transition: none; }
}

/* ---------- (29/10/2026, le propriétaire) LE CADRE DE LA LISTE : seize lignes en vue (treize au téléphone), le reste défile
   dedans ; sa barre fine, son curseur d'or, son rail de nuit (Firefox : scrollbar-color ; Chrome : ::-webkit-scrollbar) ; la
   page ne saute pas au bout (overscroll-behavior) ---------- */
.cl-cadre { position: relative; max-height: 1180px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: var(--or) #120A1C; padding: 2px 8px 2px 2px; margin: 0 -8px 0 0; outline: none; }
.cl-cadre:focus-visible { outline: 3px solid var(--or-clair); outline-offset: 3px; }
.cl-cadre::-webkit-scrollbar { width: 12px; }
.cl-cadre::-webkit-scrollbar-track { background: #120A1C; border-left: 1px solid rgba(215, 164, 33, .3); box-shadow: inset 0 0 0 2px #0B0614; }
.cl-cadre::-webkit-scrollbar-thumb { background: linear-gradient(90deg, #A57713, #FFD75E 50%, #A57713); border: 2px solid #120A1C; }
.cl-cadre::-webkit-scrollbar-thumb:hover { background: linear-gradient(90deg, #D7A421, #FFE9A8 50%, #D7A421); }
.cl-cherche-etat { margin: 0; font-size: 14px; font-weight: 700; color: #CDB8E6; }
.cl-cherche-etat:empty { display: none; }

/* ---------- LES BANDES : le haut (4 à 10) plus riche, une bande par dizaine, ses paliers ; le bas plus serré ---------- */
.cl-bande[hidden] { display: none; }
.cl-rangs-bande { list-style: none; margin: 0; padding: 0; }
.cl-palier { display: flex; align-items: center; gap: 12px; margin: 16px 0 10px; font-family: "Lilita One", "Fredoka", sans-serif; font-size: 15px; letter-spacing: 1px; text-transform: uppercase; color: var(--or-clair); white-space: nowrap; }
.cl-palier::before, .cl-palier::after { content: ""; flex: 1 1 auto; height: 12px; background: url("../assets/motifs/frise-etoiles.svg") repeat-x center / 40px 12px; opacity: .8; }
/* le haut : de grandes lignes dorées, un liseré, de grandes têtes (48 px) */
.cl-bande-haut .cl-ligne { padding: 8px 18px; background: linear-gradient(90deg, rgba(215, 164, 33, .26), rgba(42, 26, 62, .78) 46%); border-color: rgba(255, 215, 94, .5); border-left: 6px solid var(--or); box-shadow: 0 6px 16px rgba(0, 0, 0, .35); }
.cl-bande-haut .cl-ligne .cl-rang { font-size: 25px; color: var(--or-clair); }
.cl-bande-haut .cl-qui .cl-nom { font-size: 19px; }
.cl-bande-haut .cl-barre { height: 12px; }
/* les dizaines : une bande sur deux un peu plus claire */
.cl-bande-paire .cl-ligne { background: rgba(52, 33, 76, .6); }
.cl-bande-impaire .cl-ligne { background: rgba(36, 22, 54, .62); }
/* le bas (à partir du 51e) : des lignes serrées, de petites têtes (32 px) */
.cl-ligne.compacte { padding: 5px 14px; margin-bottom: 4px; gap: 2px 12px; }
.cl-ligne.compacte .cl-rang { font-size: 17px; }
.cl-ligne.compacte .cl-qui .cl-nom { font-size: 15.5px; }
.cl-ligne.compacte .cl-qui .cl-petit { font-size: 12.5px; }
.cl-ligne.compacte .cl-val { font-size: 14.5px; }
.cl-ligne.compacte .cl-barre { height: 6px; }
/* une ligne trouvée par la recherche */
.cl-ligne.trouve { border-color: #8FE3FF; box-shadow: 0 0 0 2px rgba(143, 227, 255, .45), 0 0 18px rgba(143, 227, 255, .3); }
/* « Toi », collé en bas du cadre tant que ta ligne est hors de vue */
.cl-toi-colle { position: sticky; bottom: 0; z-index: 4; display: flex; align-items: center; gap: 10px; width: 100%; min-height: 48px; margin: 8px 0 0; padding: 6px 14px; font: 700 15.5px "Fredoka", sans-serif; color: #241505; text-align: left; cursor: pointer; background: linear-gradient(90deg, #FFE38A, var(--or)); border: 2px solid #241505; box-shadow: 0 -8px 20px rgba(0, 0, 0, .55); }
.cl-toi-colle[hidden] { display: none; }
.cl-toi-colle:focus-visible { outline: 3px solid #fff; outline-offset: -5px; }
.cl-toi-colle .cl-tete { box-shadow: 0 0 0 2px #241505; }
.cl-toi-colle .cl-marque.toi { margin-left: 0; background: #241505; color: #FFE38A; }
.cl-toi-colle b { font-family: "Lilita One", "Fredoka", sans-serif; font-weight: 400; font-size: 20px; }
.cl-toi-colle .nom { flex: 1 1 auto; min-width: 0; overflow-wrap: anywhere; }
.cl-toi-colle .val { white-space: nowrap; }
@media (max-width: 700px) {
  .cl-palier { font-size: 13px; gap: 8px; }
  .cl-bande-haut .cl-ligne { padding: 8px 10px; border-left-width: 4px; }
  .cl-ligne.compacte { padding: 5px 8px; }
  .cl-toi-colle { font-size: 14px; padding: 6px 10px; }
  .cl-toi-colle .val { white-space: normal; text-align: right; }
}
/* (la tête, 29/10) jamais un mot coupé par la page dans un panneau */
.cl-encart, .cl-liste-carte, .cl-fiche .panneau, .cl-survol { hyphens: manual; -webkit-hyphens: manual; }
/* ---------- (29/10/2026, le propriétaire : « donner envie [...] de monter dans le classement ») LA PAGE MÈNE AU JEU ET POUSSE À
   MONTER : le visiteur lit « Ta place t'attend » et a le launcher à portée ; le joueur connecté, les points qui manquent pour la
   place à viser, sa barre, son aspect le plus faible, son meilleur thème ; les derniers exploits, vivants ---------- */
.cl-monter { display: grid; gap: 8px; margin-top: 10px; }
.cl-monter[hidden] { display: none; }
.cl-monter .bouton { justify-self: start; }
.cl-monter .note { margin: 0; font-size: 13.5px; color: #F3DFB8; }
.cl-monter .note a { color: var(--or-clair); font-weight: 700; }
.cl-monter-but { margin: 0; font-weight: 700; color: #fff; }
.cl-monter .cl-barre { height: 10px; }
.cl-monter-conseil, .cl-monter-theme { margin: 0; font-size: 14px; line-height: 1.45; color: #F3DFB8; }
.cl-monter-theme a { color: var(--or-clair); font-weight: 700; }
.cl-fil { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 2px; }
.cl-fil-ligne { display: grid; gap: 2px; width: 100%; min-height: 44px; padding: 7px 8px; text-align: left; font: inherit; color: #F1E6FF; cursor: pointer; background: rgba(255, 255, 255, .03); border: 0; border-left: 3px solid transparent; }
.cl-fil-ligne:hover, .cl-fil-ligne:focus-visible { background: rgba(255, 215, 94, .1); border-left-color: var(--or-clair); outline: none; }
.cl-fil-texte { font-size: 14px; font-weight: 600; line-height: 1.35; }
.cl-fil-quand { font-size: 12.5px; color: #A994C4; }
.cl-fil li.neuf { animation: fil-neuf .6s ease-out; }
@keyframes fil-neuf { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.fiche-appel { margin-top: 14px; padding: 14px 16px; background: linear-gradient(180deg, rgba(215, 164, 33, .2), rgba(215, 164, 33, .06)); border: 2px solid rgba(255, 215, 94, .55); }
.fiche-appel-titre { margin: 0 0 4px; font-family: "Lilita One", "Fredoka", sans-serif; font-size: 22px; color: var(--or-clair); }
.fiche-appel p { margin: 0 0 10px; color: #F1E6FF; }
.fiche-toi { margin: 12px 0 0; font-weight: 700; color: var(--or-clair); }
.banniere-texte .en-ligne { margin-top: 14px; }
@media (prefers-reduced-motion: reduce) { .cl-fil li.neuf { animation: none; } }

/* (67, 29/10 ; le propriétaire : « un petit bouton qui mène à l'aperçu de l'île du joueur, seulement si elle est ouverte ; sinon
   le bouton est barré ou éteint ») L'APERÇU DE SON ÎLE : une petite île en pixels (l'herbe, le sable, la mer) ; fermée : éteinte,
   barrée de rouge ; la bulle au survol et au toucher (le focus) */
.cl-nom-ligne { display: flex; align-items: center; gap: 4px 10px; min-width: 0; }
.cl-nom-ligne .cl-nom { flex: 0 1 auto; min-width: 0; }
.cl-apercu { position: relative; z-index: 2; flex: none; display: inline-grid; place-items: center; width: 34px; height: 28px; background: #0E3B57; box-shadow: 0 0 0 2px #3F2612, 0 3px 0 2px #1B0F05; cursor: pointer; text-decoration: none; transition: transform .12s ease; }
.cl-apercu-ile { width: 26px; height: 20px; image-rendering: pixelated; background:
  linear-gradient(#4E9A34, #4E9A34) 8px 4px / 10px 4px no-repeat,
  linear-gradient(#6FBF4A, #6FBF4A) 4px 6px / 18px 8px no-repeat,
  linear-gradient(#8B5A2B, #8B5A2B) 12px 2px / 2px 4px no-repeat,
  linear-gradient(#E9D38C, #E9D38C) 2px 12px / 22px 4px no-repeat,
  linear-gradient(#8FE3FF, #8FE3FF) 0 17px / 26px 2px no-repeat; }
a.cl-apercu:hover, a.cl-apercu:focus-visible { transform: translateY(-2px); box-shadow: 0 0 0 2px #FFD75E, 0 5px 0 2px #1B0F05; outline: none; }
.cl-apercu.fermee { cursor: help; background: #2A2433; box-shadow: 0 0 0 2px #4A3F55, 0 3px 0 2px #120A1E; }
.cl-apercu.fermee .cl-apercu-ile { filter: grayscale(1) brightness(.55); }
.cl-apercu.fermee::after { content: ""; position: absolute; left: 2px; right: 2px; top: 50%; height: 3px; margin-top: -1px; background: #E0504A; box-shadow: 0 1px 0 #6E1E1B; transform: rotate(-32deg); }
.cl-apercu[data-bulle]:hover::before, .cl-apercu[data-bulle]:focus::before { content: attr(data-bulle); position: absolute; left: 50%; bottom: calc(100% + 8px); transform: translateX(-50%); white-space: nowrap; padding: 4px 10px; font: 700 13px/1.2 "Fredoka", sans-serif; color: #FFF4D6; background: #1B1028; box-shadow: 0 0 0 2px #D7A421; pointer-events: none; z-index: 5; }
.cl-apercu.fermee:focus { outline: none; box-shadow: 0 0 0 2px #E0504A, 0 3px 0 2px #120A1E; }
/* (37, 30/10 ; le propriétaire : « ... visites » ne se lisait pas : sous la fiche du survol, et coupée par le cadre qui défile)
   LA BULLE EST UN CALQUE FIXE (js/classement.js, montrerBulle) : au-dessus de la fiche (70), sous le voile du menu (75) ; le
   ::before ne sert plus que sans le script */
.cl-apercu.bulle-js[data-bulle]:hover::before, .cl-apercu.bulle-js[data-bulle]:focus::before { content: none; }
.cl-bulle { position: fixed; z-index: 72; white-space: nowrap; padding: 4px 10px; font: 700 13px/1.2 "Fredoka", sans-serif; color: #FFF4D6; background: #1B1028; box-shadow: 0 0 0 2px #D7A421; border-radius: 10px; pointer-events: none; }
.cl-bulle[hidden] { display: none; }
/* au podium : sous la valeur, au milieu du socle */
.cl-socle .cl-apercu { margin-top: 8px; }
@media (prefers-reduced-motion: reduce) { .cl-apercu { transition: none; } }

/* (67, 29/10 ; le style neuf) le bouton d'ile, arrondi, et sa bulle */
.cl-apercu { border-radius: 10px; overflow: visible; }
.cl-apercu-ile { border-radius: 6px; }
.cl-apercu[data-bulle]:hover::before, .cl-apercu[data-bulle]:focus::before { border-radius: 10px; }

/* ==== (67, 29/10 ; b5 : « sur classement.html, il reste de l'ancien style ») LE STYLE NEUF (css/kit.css) pour le badge de
   l'ouverture, le ruban « Les champions » et les onglets des thèmes ==== */
/* le badge du haut : une pastille de verre, son point rond (comme l'accueil) */
.en-ligne { border-radius: 999px; padding: 8px 16px 8px 12px; background: rgba(36, 26, 58, .78); border: 1px solid rgba(255, 207, 90, .4); box-shadow: 0 6px 18px rgba(0, 0, 0, .3);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.en-ligne::before { border-radius: 50%; }
/* le ruban : une pastille rose arrondie, plus de pixels */
.ruban { height: auto; min-height: 36px; padding: 7px 20px 8px; border: 0; border-image: none; border-radius: 999px; image-rendering: auto;
  background: linear-gradient(180deg, #FF7FB6, var(--rose, #FF5FA2) 55%, #E0438A); box-shadow: 0 4px 0 #A92A66, 0 10px 22px rgba(255, 95, 162, .3);
  font-family: var(--police-bouton, "Lilita One", sans-serif); font-size: 16px; letter-spacing: .8px; text-transform: uppercase; color: #fff; text-shadow: 0 2px 0 rgba(110, 20, 60, .45); }
/* les onglets des thèmes : des boutons de jeu sombres ; le thème choisi en or, à lèvre (comme la carte d'af) */
.cl-theme { border: 0; border-image: none; border-radius: 14px; padding: 9px 16px 10px; min-height: 44px; image-rendering: auto;
  font-family: var(--police-bouton, "Lilita One", sans-serif); font-size: 16px; letter-spacing: .4px; text-transform: uppercase; color: #fff;
  background: rgba(28, 19, 46, .9); box-shadow: 0 5px 0 rgba(0, 0, 0, .5), inset 0 0 0 2px rgba(255, 255, 255, .14); text-shadow: none; }
.cl-theme:hover { filter: brightness(1.12); transform: translateY(-1px); }
.cl-theme:active { transform: translateY(4px); box-shadow: 0 1px 0 rgba(0, 0, 0, .5), inset 0 0 0 2px rgba(255, 255, 255, .14); }
.cl-theme[aria-selected="true"] { color: #4A2B07; border: 0; background: linear-gradient(180deg, #FFE08A, var(--or-k, #FFCF5A) 45%, var(--or-k2, #F3A93A));
  box-shadow: 0 5px 0 var(--or-k-fonce, #B9741F), 0 10px 22px rgba(243, 169, 58, .28), inset 0 1px 0 rgba(255, 255, 255, .5); }
.cl-theme[aria-selected="true"]::after { display: none; }
@media (max-width: 600px) {
  .cl-themes { gap: 8px; }
  .cl-theme { font-size: 14px; padding: 8px 12px 9px; min-height: 40px; border-radius: 12px; }
}

/* (67, le 30/10 ; l'auditeur : « les coins et les lèvres partout pareils ») LA LISTE AU KIT : la carte de la liste, ses lignes,
   la recherche, les barres et les têtes arrondies comme les onglets ; plus de cadre d'or carré */
.cl-liste-carte { border-radius: var(--r-panneau, 22px); border: 1px solid var(--trait, rgba(255, 255, 255, .09)); background: linear-gradient(180deg, var(--carte-2, #2D2247), var(--carte, #241A3A)); }
.cl-ligne { border-radius: 14px; }
.cl-cherche input { border: 0; border-radius: var(--r-champ, 14px); background: rgba(10, 6, 16, .55); box-shadow: inset 0 0 0 1px rgba(255, 207, 90, .45); }
.cl-cherche input:focus { outline: 0; box-shadow: inset 0 0 0 2px var(--or-k, #FFCF5A), 0 0 0 4px rgba(255, 207, 90, .2); }
.cl-barre { border-radius: 999px; overflow: hidden; }
.cl-tete { border-radius: 10px; overflow: hidden; box-shadow: 0 0 0 2px rgba(255, 255, 255, .16); }
.cl-encart { border-radius: var(--r-panneau, 22px); }

/* (6c, 02/11 ; le propriétaire : « lisible », « on se perd ») tous les onglets se voient d'un coup, au bureau comme au téléphone ; sous l'onglet, une
   carte de verre : une rangée par choix, chacune dit ce qu'elle choisit */
.cl-themes { max-width: 1040px; gap: 8px; }
.cl-theme { font-size: 17px; padding: 8px 14px 10px; }
.cl-theme[aria-selected="true"]::after { display: none; }
.cl-cats { flex-direction: column; flex-wrap: nowrap; align-items: stretch; justify-content: flex-start; gap: 12px; max-width: 900px; margin: 14px auto 10px; padding: 14px 16px; border-radius: 18px; background: rgba(14, 8, 24, .55); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
.cl-entete h3[hidden] { display: none; }
.cl-podium.cl-podium-vide { display: block; min-height: 0; margin-top: 0; margin-bottom: 0; padding: 0; }
.cl-podium.cl-podium-vide .classement-etat { margin: 10px auto 8px; }
.cl-cat { border-radius: 12px; }
.cl-choix-rangee { flex-wrap: wrap; align-items: center; gap: 6px 8px; }
.cl-choix-mot { flex: 0 0 96px; margin-right: 6px; text-align: right; font-size: 14px; color: #E2D2F4; }
.cl-entete .cl-aide { font-size: 17px; color: #F1E6FF; }
@media (max-width: 700px) {
  .cl-themes { justify-content: center; gap: 6px; }
  .cl-theme { font-size: 15px; padding: 6px 10px 8px; min-height: 40px; }
  .cl-cats { padding: 12px; gap: 10px; }
  .cl-choix-mot { flex: 0 0 100%; margin: 0 0 1px; text-align: left; }
  .cl-cat, .cl-choix { font-size: 14px; }
}

/* (de, le 13/11/2026, avec la 176 du jeu) « OUVERTURE LE 16 JANVIER » : un classement fermé avant l'ouverture (la pêche ; js/api.js,
   fermeAvantOuverture), à la place de son podium : une carte de verre sombre, le mot en or, la phrase, le geste du jeu */
.cl-bientot { max-width: 560px; margin: 18px auto 10px; padding: 22px 22px 18px; border-radius: 22px; text-align: center;
  background: rgba(20, 11, 32, .72); box-shadow: inset 0 0 0 1px rgba(255, 207, 90, .38), 0 14px 30px rgba(0, 0, 0, .35); }
.cl-bientot-mot { margin: 0 0 8px; font-family: "Lilita One", sans-serif; font-size: 30px; letter-spacing: 1.5px; color: var(--or-clair);
  text-shadow: 0 2px 0 rgba(0, 0, 0, .45); }
.cl-bientot-texte { margin: 0 auto 8px; max-width: 46ch; font-weight: 700; font-size: 17px; line-height: 1.45; color: #F1E6FF; }
.cl-bientot-jeu { margin: 0; font-size: 15px; color: #CDB8E6; }
@media (max-width: 700px) {
  .cl-bientot { margin: 12px 4px 8px; padding: 18px 14px 14px; }
  .cl-bientot-mot { font-size: 26px; }
  .cl-bientot-texte { font-size: 16px; }
}
