/* ============================================================
   alaune.css — les ronds « à la une » qui ouvrent la visionneuse
   (visionneuse.js), façon highlights d'Instagram.
   Partagés : evenement.html (un rond par vidéo ou photo, « Ce qu'il
   s'est passé ») ; organisateur.html (un rond par soirée passée ; le
   rond « + » et ce qui est propre au profil restent dans organisateur.css).
   ============================================================ */
.alaune-rang{
  list-style:none; margin:0; padding:8px 6px 4px; display:flex; gap:clamp(16px,3vw,34px);
  overflow-x:auto; scrollbar-width:none; scroll-snap-type:x proximity; overscroll-behavior-x:contain;
}
.alaune-rang::-webkit-scrollbar{display:none}
.alaune-rang li{flex:none; scroll-snap-align:start}
.alaune-rond{
  appearance:none; background:none; border:0; padding:0; margin:0; cursor:pointer; font:inherit;
  display:flex; flex-direction:column; align-items:center; gap:9px; width:88px; color:var(--lb-papier);
  /* L'appui long du propriétaire (organisateur.html) : sans le menu
     système de l'image, sans sélection du texte. */
  touch-action:manipulation; -webkit-touch-callout:none; -webkit-user-select:none; user-select:none;
}
.alaune-rond img, .alaune-rond video{-webkit-touch-callout:none; pointer-events:none}
.alaune-cercle{
  position:relative; width:84px; height:84px; border-radius:50%; overflow:hidden; display:grid; place-items:center;
  box-sizing:border-box;
  /* Le cercle d'Instagram : un liseré bleu, puis un trait papier pâle. */
  box-shadow:0 0 0 3px var(--lb-bleu), 0 0 0 5px color-mix(in srgb, var(--lb-papier) 55%, transparent);
}
.alaune-cercle img, .alaune-cercle video{position:absolute; inset:0; width:100%; height:100%; object-fit:cover; display:block}
.alaune-ini{font-family:var(--titre); font-size:24px; line-height:1}
.alaune-nom{
  max-width:88px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap;
  font-size:12.5px; font-weight:600; line-height:1.25;
}
.alaune-rond:hover .alaune-cercle{box-shadow:0 0 0 3px var(--lb-bleu), 0 0 0 5px var(--lb-papier)}
.alaune-rond:focus-visible{outline:none}
.alaune-rond:focus-visible .alaune-cercle{box-shadow:0 0 0 3px var(--lb-bleu), 0 0 0 6px var(--lb-jaune)}
.alaune-rond:focus-visible .alaune-nom{text-decoration:underline; text-underline-offset:3px}
@media (max-width:640px){
  .alaune-rang{gap:14px}
  .alaune-rond{width:72px; gap:8px}
  .alaune-cercle{width:66px; height:66px}
  .alaune-nom{max-width:72px; font-size:12px}
  .alaune-ini{font-size:20px}
}
@media (prefers-reduced-motion:no-preference){
  .alaune-cercle{transition:box-shadow .15s ease}
}

/* ---------- L'envoi depuis la galerie (DK.depot.ouvrirGalerie) ----------
   Un bandeau papier en bas de l'écran, au-dessus de la barre d'onglets
   du téléphone : « Ajout en cours… 2 sur 3 », une barre de progression,
   puis le bilan et, s'il y en a, les refus un par un. Bleu sur papier,
   10,60 ; bord jaune comme les surfaces des pages bleues. */
.depot-suivi{
  position:fixed; z-index:60; left:50%; transform:translateX(-50%);
  bottom:calc(16px + env(safe-area-inset-bottom, 0px));
  width:min(480px, calc(100% - 24px)); max-height:50vh; overflow:auto;
  padding:14px 16px; border:3px solid var(--lb-jaune); border-radius:var(--lb-radius);
  background:var(--lb-papier); color:var(--lb-bleu);
  box-shadow:0 8px 24px rgba(0,0,0,.25);
}
.depot-suivi[hidden]{display:none}
.depot-suivi-texte{margin:0; font-weight:800; font-size:15px; line-height:1.35}
.depot-suivi-barre{display:block; height:4px; margin-top:10px; border-radius:2px; overflow:hidden;
  background:color-mix(in srgb, var(--lb-bleu) 15%, transparent)}
.depot-suivi-barre[hidden]{display:none}
.depot-suivi-barre span{display:block; height:100%; width:0; background:var(--lb-bleu)}
.depot-suivi-refus{margin:8px 0 0; padding-left:18px; font-size:14.5px; line-height:1.4; overflow-wrap:anywhere}
.depot-suivi-refus:empty{display:none}
.depot-suivi-refus li + li{margin-top:4px}
.depot-suivi-fermer{
  display:block; margin:10px 0 0 auto; min-height:44px; padding:0 14px; border:2px solid var(--lb-bleu);
  border-radius:var(--lb-radius); background:transparent; color:var(--lb-bleu); font:inherit; font-weight:800; cursor:pointer;
}
.depot-suivi-fermer[hidden]{display:none}
.depot-suivi-fermer:focus-visible{outline:3px solid var(--lb-bleu); outline-offset:2px}
@media (max-width:900px){
  .depot-suivi{bottom:calc(var(--onglets-h, 0px) + 12px + env(safe-area-inset-bottom, 0px))}
}
@media (prefers-reduced-motion:no-preference){
  .depot-suivi-barre span{transition:width .25s ease}
}
