/* Accueil « Orbe » : gros rond micro, deux situations, quatre tuiles, panneau de réponse (en bas sur téléphone, à droite sur PC). */

body.orbe {
  --fond: #07251a; --carte: #0f3a29; --texte: #eaf7ef; --doux: #9cc2ad; --bord: #ffffff26;
  --vert: #3ddc97; --vert-clair: #14402f; --ocre: #ffb347;
  background: radial-gradient(120% 70% at 30% 20%, #0d3a29, #07251a);
  background-attachment: fixed;
  min-height: 100dvh; display: flex; flex-direction: column;
}
body.orbe header { background: transparent; color: var(--texte); border-bottom: 1px solid #ffffff14; }
body.orbe header p { display: none; }
body.orbe .etat { background: #ffffff1a; color: var(--texte); }
body.orbe .bascule { background: #ffffff14; color: var(--texte); border: 1px solid #ffffff30; }
body.orbe main.accueil-grille { max-width: none; width: 100%; margin: 0; padding: 0; flex: 1; display: flex; flex-direction: column; }
body.orbe .ruban-benin.bas { display: none; }
body.orbe .installer-pied:has(#btn-installer[hidden]) { display: none; }
body.orbe h2 { color: var(--texte); }

.gauche { display: flex; flex-direction: column; align-items: center; flex: 1; padding: 14px 16px 18px; }
.orbe-zone { display: flex; flex-direction: column; align-items: center; width: 100%; }
.zone-etat { height: 96px; width: 100%; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; flex: none; }
.zone-etat .info { margin: 18px 0 0; min-height: 1.4em; text-align: center; }

/* Le rond : le bouton #btn-question existant, restylé. Son libellé reste lisible par les lecteurs d'écran. */
body.orbe #btn-question {
  position: relative; width: 176px; height: 176px; margin: clamp(28px, 6vh, 64px) auto 0; padding: 0; border: 0; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff 0, #8bffc9 22%, #1fb878 60%, #0c6b46 100%);
  box-shadow: 0 0 60px #3ddc9780, inset 0 -10px 30px #0a4a31;
  display: grid; place-items: center; cursor: pointer; color: #0a3d29;
  animation: none; transition: transform .2s;
}
body.orbe #btn-question:active { transform: scale(.96); }
body.orbe #btn-question::before, body.orbe #btn-question::after {
  content: ""; position: absolute; inset: -14px; border-radius: 50%; border: 2px solid #3ddc9755; pointer-events: none;
  animation: onde 3s ease-out infinite;
}
body.orbe #btn-question::after { animation-delay: 1.5s; }
@keyframes onde { 0% { transform: scale(.9); opacity: .9; } 100% { transform: scale(1.5); opacity: 0; } }
body.orbe #btn-question .libelle { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
body.orbe #btn-question .rond-micro,
body.orbe #btn-question:active .rond-micro,
body.orbe #btn-question.enregistre .rond-micro { width: 72px; height: 72px; background: none; border-radius: 0; box-shadow: none; animation: none; }
body.orbe #btn-question .rond-micro svg { width: 72px; height: 72px; fill: #0a3d29; display: block; }
body.orbe #btn-question .rond-micro::after { display: none; }
/* Écoute en cours : rouge, carré d'arrêt blanc. */
body.orbe #btn-question.enregistre {
  background: radial-gradient(circle at 35% 30%, #fff 0, #ffb3b3 20%, #e53935 60%, #8e1b1b 100%) !important;
  box-shadow: 0 0 60px #ff525290, inset 0 -10px 30px #6b1010; animation: none; color: #fff !important;
}
body.orbe #btn-question.enregistre::before, body.orbe #btn-question.enregistre::after { border-color: #ff5252aa; animation-duration: 1.6s; }
body.orbe #btn-question.enregistre .rond-micro svg { display: none; }
body.orbe #btn-question.enregistre .rond-micro::after { display: block; position: static; inset: auto; width: 60px; height: 60px; border-radius: 12px; background: #fff; margin: 6px; }

/* Consigne parlée : texte fon sous le rond. */
body.orbe .attente { background: none; border: 0; padding: 0; margin: 14px 0 0; }
body.orbe .attente-fon { color: var(--texte); }

/* Situations et tuiles forment un seul bloc, collé en bas de l'écran, sous le rond. */
.bas-accueil { display: flex; flex-direction: column; align-items: center; gap: 12px; width: 100%; margin-top: auto; padding-top: 18px; }
.situations { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; width: 100%; max-width: 480px; }
.situations:empty { display: none; }
.sit { position: relative; height: 104px; padding: 0; border: 1px solid #ffffff26; border-radius: 22px; background: #fff center / cover no-repeat; cursor: pointer; overflow: hidden; }
.sit:active, .tuile:active { transform: scale(.97); }
.sit .e { position: absolute; right: 8px; bottom: 6px; width: 48px; height: 48px; border-radius: 50%; background: #07251acc; display: grid; place-items: center; font-size: 30px; line-height: 1; }

body.orbe .secours { margin-top: 14px; font-size: 14px; color: var(--doux); text-align: center; }
body.orbe .secours input { background: #ffffff10; color: var(--texte); border: 1px solid #ffffff30; }

.tuiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; width: 100%; max-width: 480px; }
.tuile { position: relative; aspect-ratio: 1; padding: 0; border: 2px solid #ffffff2a; border-radius: 22px; background: #fff center / cover no-repeat; cursor: pointer; overflow: hidden; }
.tuile .e { position: absolute; left: 4px; bottom: 4px; width: 36px; height: 36px; border-radius: 50%; background: #07251ad9; display: grid; place-items: center; font-size: 22px; line-height: 1; }
.tuile.centre { border: 3px solid #e8112d; background-size: 76%; background-repeat: no-repeat; background-color: #fff; }
.tuile.centre .e { left: auto; right: 4px; background: #e8112d; color: #fff; font-size: 20px; }

body.orbe .question-resultat { width: 100%; max-width: 560px; margin-top: 14px; }

/* Pendant le guide, de la place sous le contenu pour que l'élément montré puisse remonter au-dessus de la carte du guide. */
html.guide-actif body.orbe .gauche { padding-bottom: 380px; }

/* Panneau de réponse : plein écran qui monte du bas sur téléphone ; colonne de droite sur PC. */
.panneau { position: fixed; inset: 0; z-index: 20; display: flex; flex-direction: column; background: linear-gradient(#0d3a29, #07251a); transform: translateY(100%); transition: transform .3s; }
.panneau.ouvert { transform: none; }
.panneau-tete { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border-bottom: 1px solid #ffffff14; }
.panneau-tete b { font-size: 30px; line-height: 1.2; font-weight: 400; }
.panneau-ferme { width: 56px; height: 56px; padding: 0; border-radius: 50%; border: 1px solid #ffffff30; background: #ffffff14; color: var(--texte); font-size: 22px; cursor: pointer; }
.panneau-vide { display: none; }
.panneau-fil { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 14px; }

.msg { background: #ffffff14; border: 1px solid #ffffff1c; border-radius: 22px; padding: 14px; }
.msg .photo { display: block; width: 100%; height: 160px; object-fit: cover; border-radius: 14px; margin-bottom: 10px; background: #fff; }
.msg .photo.dessin { object-fit: contain; }
.msg .ligne { display: flex; gap: 10px; align-items: flex-start; }
.msg .fon { flex: 1; margin: 0; font-size: 22px; line-height: 1.55; }
.msg .actions { display: flex; flex-direction: column; gap: 8px; align-items: center; }
.msg .son { width: 54px; height: 54px; }
.bouton-fr { min-width: 54px; min-height: 36px; padding: 0 12px; border: 1.5px solid var(--vert); border-radius: 12px; background: transparent; color: var(--vert); font: inherit; font-weight: 800; cursor: pointer; }
.bouton-fr[aria-pressed="true"] { background: var(--vert); color: #06281b; }
.msg .fr-texte { margin: 8px 0 0; font-size: 13px; color: var(--doux); }
.msg .fr-texte[hidden] { display: none; }

@media (min-width: 900px) {
  body.orbe { height: 100dvh; overflow: hidden; }
  body.orbe main.accueil-grille { min-height: 0; overflow: hidden; }
  .gauche { overflow-y: auto; min-height: 0; }
  body.orbe main.accueil-grille { display: grid; grid-template-columns: minmax(420px, .9fr) 1.1fr; }
  .gauche { border-right: 1px solid #ffffff14; justify-content: flex-start; }
  body.orbe #btn-question { width: 190px; height: 190px; }
  .tuiles { grid-template-columns: repeat(4, minmax(0, 104px)); justify-content: center; gap: 16px; }
  .panneau { position: static; transform: none; transition: none; background: #00000026; min-height: 0; }
  .panneau-fil { padding: 24px 40px; }
  .msg { width: 100%; max-width: 640px; align-self: center; }
  .msg .fon { font-size: 26px; }
  .panneau-vide { display: grid; place-items: center; flex: 1; font-size: 90px; opacity: .35; text-align: center; }
  .panneau-vide small { font-size: 48px; letter-spacing: 12px; }
  .panneau.rempli .panneau-vide { display: none; }
  .panneau:not(.rempli) .panneau-tete { visibility: hidden; }
}
@media (prefers-reduced-motion: reduce) {
  body.orbe #btn-question::before, body.orbe #btn-question::after { animation: none; }
}

/* Signe d'une réponse incertaine : emojis, sans texte. */
.incertain-signe { margin: 10px 0 0; font-size: 30px; line-height: 1.2; text-align: center; letter-spacing: 6px; }
.incertain-signe .incertain { display: block; margin-top: 6px; font-size: 14px; letter-spacing: 0; color: var(--ocre); }

/* Panneau en mode question : micro dans le panneau (le rond de l'accueil est caché derrière sur téléphone). */
.panneau-dock { display: none; flex-direction: column; align-items: center; gap: 8px; padding: 10px 16px 18px; border-top: 1px solid #ffffff14; }
.panneau.question .panneau-dock { display: flex; }
.panneau-annonce { margin: 0; font-size: 20px; text-align: center; }
.panneau-micro { position: relative; width: 84px; height: 84px; padding: 0; border: 0; border-radius: 50%; background: #6d8c7c; color: #fff; display: grid; place-items: center; cursor: pointer; transition: width .2s, height .2s; }
.panneau-micro svg { width: 38px; height: 38px; fill: currentColor; }
.panneau-micro .pm-stop, .panneau-micro .pm-oreille { display: none; }
.panneau-micro.lit { opacity: .7; }
.panneau-micro.attente { opacity: .4; }
.panneau-micro.ecoute { width: 96px; height: 96px; background: #e53935; animation: pm-pulse 1.1s ease-out infinite; }
.panneau-micro.ecoute .pm-icone { display: none; }
.panneau-micro.ecoute .pm-stop { display: block; }
.panneau-micro.ecoute .pm-oreille { display: grid; position: absolute; right: -8px; top: -10px; width: 46px; height: 46px; place-items: center; border-radius: 50%; background: #07251a; font-size: 28px; }
@keyframes pm-pulse { 0% { box-shadow: 0 0 0 0 #ff5252b0; } 100% { box-shadow: 0 0 0 26px #ff525200; } }
.panneau.ecoute-actif { box-shadow: inset 0 0 0 5px #ff5252; }
.panneau.ecoute-actif .panneau-tete { background: #e5393533; }

/* Fin de lecture : la croix devient jaune et pulse ; la première fois, la voix dit d'appuyer dessus. */
.panneau.fini .panneau-ferme { background: #ffd84d; color: #14301f; border-color: #fff; animation: pm-appel 1.6s ease-out infinite; }
@keyframes pm-appel { 0% { box-shadow: 0 0 0 0 #ffd84dcc; } 100% { box-shadow: 0 0 0 22px #ffd84d00; } }
.panneau-sortie { margin: 12px 16px 0; padding: 12px; border: 2px solid #ffd84d; border-radius: 18px; background: #ffd84d1f; text-align: center; }
.panneau-sortie .fon { margin: 0; font-size: 24px; }
@media (min-width: 900px) { .panneau-sortie { margin: 14px 40px 0; } }
@media (prefers-reduced-motion: reduce) { .panneau-micro.ecoute, .panneau.fini .panneau-ferme { animation: none; } }

/* Centres de santé vérifiés (panneau du bouton rouge) */
.centres { margin-top: 18px; }
.centres-entete { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.centres-titre { font-size: 34px; line-height: 1; }
.centres-proche { min-width: 64px; height: 52px; padding: 0 16px; border-radius: 26px; border: 2px solid var(--vert); background: transparent; color: var(--texte); font: inherit; font-size: 24px; cursor: pointer; }
.centres-proche[aria-pressed="true"] { background: var(--vert); }
.centres-commune { margin: 16px 0 4px; font-size: 14px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--doux); }
.centre { margin: 10px 0; padding: 12px 14px; border-radius: 18px; background: #ffffff12; border: 1px solid #ffffff1c; }
.centre-tete { display: flex; align-items: center; gap: 10px; }
.centre-emoji { font-size: 28px; line-height: 1; }
.centre-nom { font-size: 20px; line-height: 1.3; }
.centre-distance { margin-left: auto; padding: 2px 10px; border-radius: 999px; background: #3ddc9726; color: var(--vert); font-size: 15px; white-space: nowrap; }
.centre-lieu { margin: 4px 0 0; font-size: 15px; color: var(--doux); }
.centre-gratuite { margin: 6px 0 0; font-size: 16px; color: var(--vert); }
.centre-actions { display: flex; gap: 12px; margin-top: 10px; }
.centre-appel, .centre-itineraire { width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; font-size: 28px; text-decoration: none; background: var(--vert); }
.centre-itineraire { background: #ffffff1f; border: 1px solid #ffffff30; }
.centre-verif { margin: 8px 0 0; font-size: 12px; color: var(--doux); }
.centres-commune-choix { width: 100%; margin: 12px 0 0; padding: 12px; border-radius: 14px; border: 1px solid #ffffff30; background: #ffffff12; color: var(--texte); font: inherit; font-size: 18px; }
.centres-commune-choix[hidden] { display: none; }
.centres-osm { margin: 14px 0 0; font-size: 12px; text-align: center; }
.centres-osm a { color: var(--doux); }

/* Autres sujets (ceux qui ont des messages validés mais pas de grosse tuile) : petits ronds sous les tuiles */
.autres-sujets { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; padding: 10px 16px 0; }
.autres-sujets:empty { display: none; }
.autres-sujets button { width: 52px; height: 52px; border-radius: 50%; border: 1px solid #ffffff30; background: #ffffff14; font-size: 26px; cursor: pointer; }
.autres-sujets button:hover { border-color: #8bffc9; }

/* Commune dite ou touchée quand la position manque */
.centres-puces { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 0; }
.centres-puces:empty { display: none; }
.centres-puce { min-height: 48px; padding: 0 18px; border-radius: 24px; border: 2px solid var(--vert); background: transparent; color: var(--texte); font: inherit; font-size: 18px; cursor: pointer; }
.centres-aucun { margin: 12px 0; font-size: 18px; line-height: 1.4; }
.ville-micro { width: 56px; height: 56px; border-radius: 50%; border: 2px solid var(--vert); background: transparent; font-size: 26px; cursor: pointer; }
.ville-micro.enregistre { background: var(--vert); animation: pulse-ville 1.2s ease-in-out infinite; }
@keyframes pulse-ville { 50% { transform: scale(1.08); } }
@media (prefers-reduced-motion: reduce) { .ville-micro.enregistre { animation: none; } }
.centres-guide { margin-left: auto; width: 52px; height: 52px; border-radius: 50%; border: 2px solid var(--vert); background: transparent; color: var(--texte); font: inherit; font-size: 24px; font-weight: 700; cursor: pointer; }

/* Accueil épuré : le micro seul, au centre de l'écran. */
body.orbe .gauche { justify-content: center; }
body.orbe #btn-question { margin-top: 0; width: 200px; height: 200px; }
body.orbe #btn-question .rond-micro, body.orbe #btn-question .rond-micro svg { width: 80px; height: 80px; }
body.orbe .zone-etat { height: 120px; }
@media (min-width: 900px) { body.orbe #btn-question { width: 220px; height: 220px; } }
#installer .feuille-actions button { white-space: nowrap; }

/* Public fon : aucun texte français à l'écran. Il ne s'affiche qu'en mode debug (html.debug, c'est-à-dire ?debug sur le Mac de la démo), pour la relecture. */
html:not(.debug):not(.textes-tous) body.orbe .etat { font-size: 0; gap: 0; }           /* seul le point d'état reste */
html:not(.debug):not(.textes-tous) body.orbe .secours,
html:not(.debug):not(.textes-tous) .attente-fr,
html:not(.debug):not(.textes-tous) body.orbe .installer-pied,
html:not(.debug):not(.textes-tous) .bouton-fr,
html:not(.debug):not(.textes-tous) .msg .fr-texte,
html:not(.debug):not(.textes-tous) .incertain-signe .incertain,
html:not(.debug):not(.textes-tous) #installer .feuille-fr,
html:not(.debug):not(.textes-tous) #installer .feuille-aide,
html:not(.debug):not(.textes-tous) #guide .guide-fr,
html:not(.debug):not(.textes-tous) #installer .feuille-actions span,
html:not(.debug):not(.textes-tous) #guide .guide-suivant span { display: none; }
html:not(.debug):not(.textes-tous) #guide .guide-suivant { padding: 0 24px; }
html:not(.debug):not(.textes-tous) #guide .guide-passer { font-size: 0; margin-top: 0; }
html:not(.debug):not(.textes-tous) #guide .guide-passer::before { content: "\2715"; font-size: 20px; color: var(--doux); text-decoration: none; }
html:not(.debug):not(.textes-tous) body.orbe header .marque p { display: none; }

/* TEXTES_PUBLIC=aucun : la voix seule, plus aucun texte, même en fon. */
html.textes-aucun:not(.debug) body.orbe h1,
html.textes-aucun:not(.debug) .info,
html.textes-aucun:not(.debug) .attente-fon,
html.textes-aucun:not(.debug) .panneau-titre,
html.textes-aucun:not(.debug) #panneau-titre,
html.textes-aucun:not(.debug) .panneau-annonce,
html.textes-aucun:not(.debug) .panneau-sortie .fon,
html.textes-aucun:not(.debug) .msg .fon,
html.textes-aucun:not(.debug) .carte .fon,
html.textes-aucun:not(.debug) .carte h3,
html.textes-aucun:not(.debug) #guide .guide-fon,
html.textes-aucun:not(.debug) #installer .feuille-fon,
html.textes-aucun:not(.debug) .choix-fon,
html.textes-aucun:not(.debug) .noms .fon,
html.textes-aucun:not(.debug) .noms .fon-fr,
html.textes-aucun:not(.debug) .panneau .fon,
html.textes-aucun:not(.debug) .rien,
html.textes-aucun:not(.debug) .age-etat { display: none; }

/* Panneau : la carte d'accueil de l'app (présentation, orientation, alerte) en colonne centrée, texte pleine largeur. */
.panneau .question-resultat { max-width: none; margin: 0; padding: 0; border: 0; background: transparent; }
.panneau .question-resultat .reponse.phrase {
  display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center;
  padding: 28px 22px 24px; border-radius: 26px; border: 1px solid #ffffff1f;
  background: linear-gradient(160deg, #ffffff1c, #ffffff0d);
}
.panneau .question-resultat .reponse.phrase.alerte { border-color: #ff8a80; background: linear-gradient(160deg, #ff525233, #ff52520f); }
.panneau .reponse.phrase .emoji-sujet { margin: 0; font-size: 56px; }
.panneau .reponse.phrase .noms { flex: none; width: 100%; }
.panneau .reponse.phrase .noms .fon { font-size: 26px; line-height: 1.5; color: var(--texte); }
.panneau .reponse.phrase .son { width: 68px; height: 68px; background: var(--vert); color: #06281b; }
.panneau .reponse.phrase .son svg { width: 30px; height: 30px; }
.panneau .reponse.phrase .fr-petit { margin-top: 10px; font-size: 14px; }
.panneau .raccourcis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 18px 0 0; }
.panneau .raccourci {
  width: auto; height: auto; aspect-ratio: 1; border-radius: 22px; border: 1px solid #ffffff2e;
  background: #ffffff12; font-size: 36px; display: grid; place-items: center; transition: transform .15s, background .15s;
}
.panneau .raccourci:hover { background: #ffffff22; }
.panneau .raccourci:active { transform: scale(.95); }
/* Les phrases du dialogue (question posée) : même lecture, sans bordure verte à gauche. */
.panneau .age-ligne { border-left: 0; padding-left: 0; }
.panneau .carte-question .ligne-son { flex-direction: column; text-align: center; gap: 14px; }
.panneau .carte-question .noms .fon { font-size: 26px; line-height: 1.5; color: var(--texte); }
.panneau .carte-question .son { width: 68px; height: 68px; background: var(--vert); color: #06281b; }
.panneau .carte-question .age-choix { margin-top: 12px; }
html:not(.debug):not(.textes-tous) .panneau .fr-petit { display: none; }

/* TEXTES_PUBLIC=aucun : règle générale, pour que plus aucun texte écrit ne s'affiche (titres, phrases, libellés, étiquettes,
   textes des guides et de la fenêtre d'installation). Restent : les icônes, les images, la voix, et les noms, distances et
   communes des centres de santé (des données, pas des phrases : sans elles la liste ne sert à rien). */
html.textes-aucun:not(.debug) :is(body.orbe, #guide, #installer) :is(h1, h2, h3, h4, p, small, summary, legend, label, figcaption, li, blockquote, .puce, .proches, .badge, .etiquette, .dit, .noms, .choix-fon, .texte-replie, .compris-liste):not(.centre *):not(.centres *) { display: none !important; }
html.textes-aucun:not(.debug) .age-choix button > span:not(.emoji):not(.icone) { display: none; }
html.textes-aucun:not(.debug) .panneau-sortie { display: none; }

/* Micro au milieu de l'écran : la zone d'état (ondes d'attente, messages) se place sous lui sans le pousser vers le haut. */
body.orbe .orbe-zone { position: relative; }
body.orbe .zone-etat { position: absolute; top: 100%; left: 0; right: 0; height: auto; min-height: 0; padding-top: 28px; }
body.orbe .gauche { padding-top: 0; padding-bottom: 0; }
body.orbe #btn-question { margin: 0 auto; }

/* ===== Panneau épuré : une grande image par message, bouton d'écoute sur son bord bas, ligne de points en haut ===== */
.panneau-tete { padding: 14px 18px 8px; border-bottom: 0; gap: 14px; }
.panneau-tete b { font-size: 26px; }
.panneau-points { flex: 1; display: flex; gap: 6px; }
.panneau-points i { flex: 1; height: 4px; border-radius: 4px; background: #ffffff26; transition: background .3s; }
.panneau-points i.fait { background: #ffffff70; }
.panneau-points i.ici { background: var(--vert); }
.panneau-ferme { width: 44px; height: 44px; font-size: 18px; border: 0; background: #ffffff1a; }
.panneau.fini .panneau-ferme { background: var(--vert); color: #06281b; border: 0; animation: pm-appel-vert 1.6s ease-out infinite; }
@keyframes pm-appel-vert { 0% { box-shadow: 0 0 0 0 #3ddc97aa; } 100% { box-shadow: 0 0 0 18px #3ddc9700; } }
@media (prefers-reduced-motion: reduce) { .panneau.fini .panneau-ferme { animation: none; } }

.panneau-fil { padding: 8px 18px 40px; gap: 18px; scroll-snap-type: y proximity; }
.msg { --teinte: var(--vert); position: relative; padding: 0 0 44px; border: 0; background: none; border-radius: 0; scroll-snap-align: start; }
.msg .visuel { position: relative; aspect-ratio: 4 / 3; border-radius: 34px; background: color-mix(in srgb, var(--teinte) 22%, #0a2f21); transition: box-shadow .35s, transform .35s; }
.msg .photo, .msg .photo.dessin { display: block; width: 100%; height: 100%; margin: 0; border-radius: 34px; object-fit: cover; background: transparent; }
.msg.joue .visuel { box-shadow: 0 0 0 4px var(--teinte), 0 0 50px color-mix(in srgb, var(--teinte) 45%, transparent); transform: scale(1.015); }
.msg .son { position: absolute; left: 50%; bottom: -34px; translate: -50% 0; width: 76px; height: 76px; margin: 0; box-shadow: 0 8px 24px #0008; background: var(--vert); color: #06281b; }
.msg .son svg { width: 30px; height: 30px; margin-left: 3px; }
.msg.joue .son svg { display: none; }
.msg.joue .son::before { content: ""; width: 24px; height: 24px; border-radius: 6px; background: #06281b; }
.msg.joue .son::after { content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 4px solid var(--teinte); animation: bat 1.4s ease-out infinite; }
@keyframes bat { 0% { transform: scale(.92); opacity: 1; } 100% { transform: scale(1.25); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .msg.joue .son::after { animation: none; } }
.msg .ligne { margin-top: 44px; }
@media (min-width: 900px) { .msg { max-width: 560px; } .panneau-fil { padding: 8px 40px 40px; } }
