/*
 * Bandeau des stories, en haut du mur : une ligne d'avatars qui défile à l'horizontale.
 * Anneau vermillon : la personne a une story en cours. Cercle en pointillés : publier la sienne.
 */
.stories-bandeau {
  margin: 0 calc(-1 * var(--esp-4)) var(--esp-2);
}

.stories-liste {
  display: flex;
  gap: var(--esp-2);
  margin: 0;
  padding: var(--esp-1) var(--esp-4) var(--esp-2);
  overflow-x: auto;
  list-style: none;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
}

.stories-liste > li {
  flex: none;
  scroll-snap-align: start;
}

.story-lien {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--esp-2);
  width: 76px;
  padding: var(--esp-1);
  border-radius: var(--rayon-md);
  color: var(--encre);
  text-decoration: none;
}

.story-lien:hover .story-nom {
  text-decoration: underline;
}

.story-avatar {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-top: var(--esp-1);
  border-radius: var(--rayon-pilule);
  background: var(--lagon-pale);
  color: var(--lagon);
  font: 700 1rem/1 var(--texte);
}

.story-avatar-en-cours {
  box-shadow: var(--anneau-story);
}

.story-avatar-ajouter {
  border: var(--trait-epaisseur) dashed var(--trait-fort);
  background: var(--carton);
  color: var(--vermillon);
  font-size: 1.5rem;
}

.story-nom {
  max-width: 100%;
  overflow: hidden;
  font-size: 0.75rem;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}
