/* QG+ · Ouverture d'une conversation sans saccade (07/10/2026)
   Pendant que les messages arrivent, quelques lignes discrètes (qui n'apparaissent qu'après 0,15 s, donc
   rarement) remplacent l'orbe : l'orbe est réservée aux conversations vraiment vides. Fini l'aller-retour
   orbe ↔ texte. (app.js studio71 : attente, préchargement à l'appui sur la tuile, pas de second dessin.)
   Retour arrière : retirer la ligne qg-ouverture.css et remettre app.js?v=studio70 dans index.html. */
#hermes-signature .qg-feed-attente {
  --qa1: rgba(77, 255, 216, .045); --qa2: rgba(77, 255, 216, .12);
  display: flex; flex-direction: column; gap: 14px; padding: 18px 4px;
  animation: qg-attente-in .32s ease .15s both;
}
#hermes-signature[data-theme="light"] .qg-feed-attente { --qa1: rgba(255, 255, 255, .42); --qa2: rgba(255, 255, 255, .82); }
#hermes-signature .qg-feed-attente i {
  display: block; height: 44px; border-radius: 18px;
  background: linear-gradient(100deg, var(--qa1) 30%, var(--qa2) 50%, var(--qa1) 70%); background-size: 220% 100%;
  animation: qg-attente-reflet 1.5s ease-in-out infinite;
}
#hermes-signature .qg-feed-attente i:nth-child(1) { width: 58%; align-self: flex-end; border-bottom-right-radius: 6px; }
#hermes-signature .qg-feed-attente i:nth-child(2) { width: 86%; height: 92px; border-bottom-left-radius: 6px; animation-delay: .12s; }
#hermes-signature .qg-feed-attente i:nth-child(3) { width: 44%; align-self: flex-end; border-bottom-right-radius: 6px; animation-delay: .24s; }
@keyframes qg-attente-reflet { from { background-position: 120% 0; } to { background-position: -120% 0; } }
@keyframes qg-attente-in { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { #hermes-signature .qg-feed-attente, #hermes-signature .qg-feed-attente i { animation: none; } }
/* 15/10/2026 : squelette d'un long fil (app.js, qgLourd) — visible tout de suite (il ne s'affiche que quand le dessin complet
   prendra du temps), posé en bas comme la fin du fil, remplacé à l'image suivante par la conversation entière. */
#hermes-signature .qg-feed-attente.qg-squelette { animation: none; min-height: 100%; justify-content: flex-end; gap: 18px; padding: 18px 4px 10px; }
#hermes-signature .qg-squelette .qg-sq-bulle { display: flex; flex-direction: column; gap: 9px; width: 72%; padding: 16px 18px; border-radius: 18px; border-bottom-left-radius: 6px;
  border: 1px solid var(--qa2); }
#hermes-signature .qg-squelette .qg-sq-bulle.qg-sq-moi { width: 34%; align-self: flex-end; border-radius: 18px; border-bottom-right-radius: 6px; }
#hermes-signature .qg-feed-attente.qg-squelette i { height: 11px; border-radius: 6px; align-self: auto; animation-delay: 0s; }
#hermes-signature .qg-feed-attente.qg-squelette .qg-sq-bulle:nth-child(2n) i { animation-delay: .15s; }
/* 16/10/2026 : bouton « Afficher les messages précédents » en haut du fil (app.js, QG_DERNIERS = 50) */
#hermes-signature .qg-plus-anciens { display: flex; justify-content: center; padding: 10px 0 18px; }
#hermes-signature .qg-plus-anciens button { font: inherit; font-size: 12px; letter-spacing: .02em; padding: 7px 14px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--hs-line, rgba(127,127,127,.3)); background: transparent; color: inherit; opacity: .8; }
#hermes-signature .qg-plus-anciens button:hover { opacity: 1; }
#hermes-signature .qg-plus-anciens button span { opacity: .6; margin-left: 4px; }
