/* Version web (navigateur, Activité Discord) : écran de chargement et pastille du chargement en arrière-plan. */
#chargement-web {
  position: fixed; inset: 0; z-index: 9999; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px;
  background: radial-gradient(ellipse at 50% 30%, #2a1240 0%, #0b0b12 70%); color: #f3f1ec; font-family: system-ui, sans-serif;
  transition: opacity 0.4s ease;
}
#chargement-web.fini { opacity: 0; pointer-events: none; }
#chargement-web .logo-chargement { display: flex; gap: 12px; font-weight: 900; font-size: clamp(36px, 9vw, 84px); letter-spacing: 0.04em; line-height: 1; }
#chargement-web .logo-chargement .rap { color: #ff2bd6; }
#chargement-web .logo-chargement .france { color: #f3f1ec; }
#chargement-web p { margin: 0; font-size: 16px; opacity: 0.85; min-height: 1.3em; }
#chargement-web .barre-chargement { width: min(420px, 80vw); height: 10px; border-radius: 6px; background: rgba(255, 255, 255, 0.12); overflow: hidden; }
#chargement-web .barre-chargement i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #ff2bd6, #ffc23d); transition: width 0.25s ease; }
#chargement-web strong { font-variant-numeric: tabular-nums; font-size: 14px; opacity: 0.8; }
#chargement-reste {
  position: fixed; left: 12px; bottom: 12px; z-index: 9000; display: flex; flex-direction: column; gap: 5px; min-width: 210px;
  padding: 8px 12px; border-radius: 10px; background: rgba(11, 11, 18, 0.82); color: #f3f1ec; font: 13px system-ui, sans-serif;
  pointer-events: none; transition: opacity 0.5s ease;
}
#chargement-reste i { display: block; height: 4px; width: 0; border-radius: 2px; background: #ff2bd6; transition: width 0.3s ease; }
#chargement-reste.fini { opacity: 0; }
.menu-salon .modes-principaux { grid-template-columns: 1fr; }
.page.multi.salon .attente-salon { max-width: 640px; margin: 32px auto; display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.page.multi.salon .ligne-boutons { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.code-partie.salon strong { font-size: 20px; }
.export-indisponible { max-width: 360px; }
@media (prefers-reduced-motion: reduce) { #chargement-web, #chargement-reste, #chargement-web .barre-chargement i { transition: none; } }
