/* Retour immediat pendant la requete HTML et le chargement des scripts. */
#peau-navigation-attente[hidden] { display: none; }
#peau-navigation-attente {
  position: fixed;
  z-index: 10000;
  top: calc(var(--eby-bandeaux, 0px) + 12px + env(safe-area-inset-top, 0px));
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border: 1px solid var(--color-accent, #a78bfa);
  border-radius: 999px;
  color: var(--color-text-primary, #fff);
  background: var(--color-bg-secondary, #181824);
  box-shadow: 0 4px 20px #0006;
  font-size: 14px;
  pointer-events: none;
}
#peau-navigation-attente::before {
  content: "";
  width: 18px;
  height: 18px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: peau-navigation-tour .7s linear infinite;
}
html[data-peau-navigation] { cursor: progress; }
@keyframes peau-navigation-tour { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  #peau-navigation-attente::before { animation: none; }
}
