/* Le personnage qui arrive sur l'ecran de selection (js/ui/vitrine-attente.js) :
   son portrait dans un anneau qui tourne, a la place du modele 3D pas
   encore telecharge. Au-dessus de la scene 3D, sous les panneaux du menu,
   et jamais sur le chemin du doigt. */

.vitrine-attente {
  position: fixed;
  z-index: 1;
  width: clamp(120px, 30vh, 190px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  pointer-events: none;
  color: #ffd166;
  animation: va-entree 0.25s ease-out both;
}
.vitrine-attente[hidden] { display: none; }

.va-portrait {
  position: absolute;
  inset: 9%;
  width: 82%;
  height: 82%;
  border-radius: 50%;
  object-fit: cover;
  background: radial-gradient(circle at 50% 35%, #1f4fb8, #0a1d57 70%);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.18), 0 1vh 3vh rgba(0, 0, 0, 0.45);
  animation: va-souffle 1.6s ease-in-out infinite;
}

.va-anneau {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 6px rgba(255, 209, 102, 0.55));
  animation: va-tour 0.9s linear infinite;
}

.va-avancement {
  position: absolute;
  left: 50%;
  top: 100%;
  transform: translate(-50%, 0.4vh);
  font: 800 clamp(12px, 2.2vh, 16px) 'Montserrat', sans-serif;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
  white-space: nowrap;
}

@keyframes va-tour { to { transform: rotate(360deg); } }
@keyframes va-souffle { 50% { opacity: 0.72; } }
@keyframes va-entree { from { opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  .va-anneau { animation-duration: 2.4s; }
  .va-portrait { animation: none; }
}
