/* (1er novembre 2026) Le classement en ligne de chaque jeu : trophée posé sur la partie, feuille des 20 meilleurs.
   Jetons d'Opadaya seulement (jetons.css). */
.cl-trophee { position: absolute; z-index: 9000; width: var(--cible); height: var(--cible); border-radius: 50%; border: 2px solid rgba(255, 255, 255, .85);
  background: rgba(13, 11, 63, .55); color: #fff; font-size: 20px; line-height: 1; display: grid; place-items: center; cursor: pointer;
  box-shadow: var(--ombre); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); opacity: .82; }
.cl-trophee:hover, .cl-trophee:focus-visible { opacity: 1; outline: 3px solid var(--or); outline-offset: 2px; }
.cl-bas-droite { right: max(10px, env(safe-area-inset-right)); bottom: max(10px, env(safe-area-inset-bottom)); }
.cl-haut-droite { right: max(10px, env(safe-area-inset-right)); top: max(10px, env(safe-area-inset-top)); }
.cl-haut-gauche { left: max(10px, env(safe-area-inset-left)); top: max(10px, env(safe-area-inset-top)); }
.cl-bas-gauche { left: max(10px, env(safe-area-inset-left)); bottom: max(10px, env(safe-area-inset-bottom)); }

.cl-voile { position: fixed; inset: 0; z-index: 10050; background: rgba(13, 11, 63, .55); display: grid; place-items: center; padding: var(--marge); }
.cl-feuille { width: min(460px, 100%); max-height: min(720px, calc(100dvh - 2 * var(--marge))); display: flex; flex-direction: column; overflow: hidden;
  background: var(--carte); color: var(--texte); border-radius: var(--rayon); box-shadow: var(--ombre-forte); font-family: var(--corps); text-align: left; }
.cl-feuille header { display: flex; align-items: center; gap: 8px; padding: 14px 14px 0 18px; }
.cl-feuille h2 { flex: 1; margin: 0; font: 700 20px/1.2 var(--titre); color: var(--encre); }
.cl-fermer { width: var(--cible); height: var(--cible); border: 0; border-radius: 50%; background: var(--carte-douce); color: var(--encre); font-size: 26px; cursor: pointer; }
.cl-sous { margin: 2px 18px 8px; color: var(--doux); font-weight: 700; font-size: 14px; }
.cl-corps { overflow-y: auto; padding: 0 12px 14px; -webkit-overflow-scrolling: touch; }
.cl-regle { margin: 0 6px 10px; padding: 10px 12px; border-radius: var(--rayon-petit); background: var(--indigo-doux); color: var(--encre); font-size: 13.5px; line-height: 1.4; }
.cl-entete { display: flex; justify-content: space-between; padding: 0 10px 6px 76px; color: var(--doux); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .03em; }
.cl-liste { list-style: none; margin: 0; padding: 0; }
.cl-ligne { display: grid; grid-template-columns: 28px 34px minmax(0, 1fr) auto; grid-template-rows: auto auto; column-gap: 10px; align-items: center;
  min-height: 48px; padding: 4px 10px; border-radius: var(--rayon-petit); font-weight: 800; color: var(--encre); }
.cl-ligne + .cl-ligne { margin-top: 2px; }
.cl-ligne img { grid-row: 1 / 3; grid-column: 2; width: 34px; height: 34px; border-radius: 50%; background: var(--carte-douce); }
.cl-rang { grid-row: 1 / 3; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 12.5px; font-weight: 900; color: #fff; background: #b9c2d6; }
.cl-r1 .cl-rang { background: #f2a217; } .cl-r2 .cl-rang { background: #8f9bb3; } .cl-r3 .cl-rang { background: #d07b3c; }
.cl-nom { grid-row: 1 / 3; grid-column: 3; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cl-pays { font-size: 14px; }
.cl-score { grid-column: 4; text-align: right; white-space: nowrap; }
.cl-score small { color: var(--doux); font-size: 12px; }
.cl-dep { grid-column: 4; text-align: right; color: var(--doux); font-size: 12px; font-weight: 700; white-space: nowrap; }
.cl-moi { background: var(--indigo-doux); outline: 2px solid var(--indigo-clair); }
.cl-toi { margin: 10px 6px 0; padding: 10px 12px; border-radius: var(--rayon-petit); background: var(--carte-douce); color: var(--encre); font-weight: 800; text-align: center; }
.cl-vide { margin: 16px 6px; color: var(--doux); text-align: center; font-weight: 700; }
.cl-attente { height: 180px; border-radius: var(--rayon-petit); background: linear-gradient(90deg, var(--carte-douce), var(--ligne), var(--carte-douce)); background-size: 200% 100%; animation: cl-vague 1.2s linear infinite; }
@keyframes cl-vague { to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { .cl-attente { animation: none; } }
@media (max-width: 360px) { .cl-ligne { grid-template-columns: 24px 30px minmax(0, 1fr) auto; column-gap: 8px; } .cl-ligne img { width: 30px; height: 30px; } .cl-entete { padding-left: 66px; } }

/* L'alerte « points Tiki Club » au lancement de Tiki Crush, Tiki Balls, Tiki Treasure (couleur des points Oraloa). */
.pts-alerte { position: absolute; z-index: 9001; top: max(10px, env(safe-area-inset-top)); left: 50%; transform: translateX(-50%);
  width: min(560px, calc(100% - 24px)); box-sizing: border-box; display: flex; align-items: center; gap: 10px; padding: 10px 8px 10px 14px;
  border-radius: var(--rayon-petit); background: var(--oraloa-doux); color: var(--encre); border: 2px solid var(--oraloa);
  box-shadow: var(--ombre-forte); font: 800 14.5px/1.35 var(--corps); text-align: left; animation: pts-entree .35s ease-out; }
.pts-ic { font-size: 20px; }
.pts-texte { flex: 1; min-width: 0; }
.pts-fermer { flex: none; width: var(--cible); height: var(--cible); border: 0; border-radius: 50%; background: transparent; color: var(--oraloa); font-size: 24px; cursor: pointer; }
@keyframes pts-entree { from { opacity: 0; transform: translate(-50%, -8px); } }
@media (prefers-reduced-motion: reduce) { .pts-alerte { animation: none; } }
