/* Refonte du panneau de réponse : une conversation. En-tête vert avec la soignante, bulles blanches (image, bouton d'écoute, ondes),
   fond clair à motifs, micro rond en bas pour le dialogue. */

.panneau { padding: 0; --texte: #16242A; --doux: #5B6B70; --vert: #0B6E4F; --bord: #0b6e4f26; --carte: #fff;
  background: #EEF3F0; color: var(--texte); }
.panneau-fil { background: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%22120%22 height=%22120%22%3E%3Cg fill=%22%2316242A%22 fill-opacity=%22.055%22%3E%3Cpath transform=%22translate%288 8%29 scale%28.8%29%22 d=%22M15 6h10v9h9v10h-9v9H15v-9H6V15h9z%22/%3E%3Cpath transform=%22translate%2866 14%29 scale%28.7%29%22 d=%22M20 4C28 16 32 21 32 26A12 12 0 0 1 8 26C8 21 12 16 20 4Z%22/%3E%3Cpath d=%22M88 74c-6-8-18-2-12 8l12 10 12-10c6-10-6-16-12-8z%22/%3E%3Cg transform=%22translate%2814 66%29 scale%28.75%29%22%3E%3Cellipse cx=%2226%22 cy=%2224%22 rx=%2210%22 ry=%223.6%22 transform=%22rotate%2828 26 24%29%22/%3E%3Ccircle cx=%2216%22 cy=%2219%22 r=%224.6%22/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); padding: 14px 14px 40px; gap: 12px; scroll-snap-type: none; }

/* En-tête */
.panneau-tete { background: #0B6E4F; border: 0; padding: 14px 16px; gap: 14px; justify-content: flex-start; }
.panneau-avatar { position: relative; flex: none; width: 52px; height: 52px; border-radius: 50%; background: #fff; }
.panneau-avatar img { display: block; width: 100%; height: 100%; border-radius: 50%; }
.panneau-avatar i { position: absolute; right: -3px; bottom: -2px; width: 18px; height: 18px; border-radius: 50%; background: #5BE08F; border: 3px solid #0B6E4F; }
.panneau-tete b { display: none; }
.panneau-points { flex: 1; display: flex; gap: 6px; }
.panneau-points i { flex: 1; height: 5px; border-radius: 5px; background: #ffffff40; }
.panneau-points i.fait { background: #ffffffb0; }
.panneau-points i.ici { background: #5BE08F; }
.panneau-ferme { width: 48px; height: 48px; margin-left: auto; display: grid; place-items: center; border: 0; background: #ffffff26; color: #fff; }
.panneau-ferme svg { width: 22px; height: 22px; }
.panneau.fini .panneau-ferme { background: #fff; color: #0B6E4F; border: 0; animation: ferme-pouls 1.6s ease-out infinite; }
@keyframes ferme-pouls { 0% { box-shadow: 0 0 0 0 #ffffffcc; } 100% { box-shadow: 0 0 0 20px #ffffff00; } }
.panneau.ecoute-actif { box-shadow: none; }
.panneau.ecoute-actif .panneau-tete { background: #8e2b24; }
.panneau-sortie { border-color: #0B6E4F; background: #fff; color: var(--texte); }

/* Panneau vide (PC) : la soignante attend, le micro est là pour parler. */
.panneau-vide { display: none; opacity: 1; gap: 14px; flex-direction: column; align-items: center; justify-content: center; }
.panneau-vide img { width: 200px; height: 200px; border-radius: 50%; background: #E3F2EA; box-shadow: 0 0 0 10px #fff; }
.panneau-vide .vide-micro { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: #E3F2EA; }
.panneau-vide .vide-micro svg { width: 30px; height: 30px; fill: #0B6E4F; }

/* Bulles : la soignante parle, avec son image, puis son bouton d'écoute et ses ondes. */
.msg { --teinte: #0B6E4F; position: relative; margin-left: 42px; max-width: 330px; padding: 0; border: 0; border-radius: 20px 20px 20px 6px;
  background: #fff; box-shadow: 0 1px 1px #16242a14; transition: box-shadow .3s; }
.msg::before { content: ""; position: absolute; left: -42px; bottom: 0; width: 32px; height: 32px; border-radius: 50%; background: #E3F2EA url(soignante.svg) center / cover; }
.msg .visuel { position: relative; aspect-ratio: 4 / 3; border-radius: 20px 20px 0 0; overflow: hidden; background: color-mix(in srgb, var(--teinte) 14%, #fff); transform: none; box-shadow: none; }
.msg .photo, .msg .photo.dessin { border-radius: 0; object-fit: cover; }
.msg.joue { box-shadow: 0 0 0 3px #0B6E4F55, 0 8px 24px #0b6e4f33; }
.msg.joue .visuel { transform: none; box-shadow: none; }
.msg .ligne { margin: 0; padding: 12px 14px 0; }
.msg .fon { color: var(--texte); }
.msg .fr-texte { padding: 0 14px; color: var(--doux); }
.rang-son { display: flex; align-items: center; gap: 12px; padding: 10px 14px 10px 10px; }
.msg .son { position: relative; left: auto; bottom: auto; translate: none; flex: none; width: 46px; height: 46px; margin: 0; background: #0B6E4F; color: #fff; box-shadow: none; }
.msg .son svg { width: 18px; height: 18px; margin-left: 2px; fill: #fff; }
.msg.joue .son svg { display: none; }
.msg.joue .son::before { content: ""; width: 15px; height: 15px; border-radius: 4px; background: #fff; }
.msg.joue .son::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 3px solid #0B6E4F44; animation: ferme-pouls 1.4s ease-out infinite; }
.rang-son .onde { flex: 1; display: flex; align-items: center; justify-content: space-between; height: 28px; }
.rang-son .onde i { width: 3px; height: var(--h); border-radius: 2px; background: #9CCFB5; }
.msg.joue .rang-son .onde i { background: #0B6E4F; animation: onde-vive .7s ease-in-out infinite alternate; }
.msg.joue .rang-son .onde i:nth-child(2n) { animation-delay: .2s; }
.msg.joue .rang-son .onde i:nth-child(3n) { animation-delay: .4s; }
@keyframes onde-vive { to { transform: scaleY(.35); } }
@media (prefers-reduced-motion: reduce) { .msg.joue .rang-son .onde i, .msg.joue .son::after, .panneau.fini .panneau-ferme { animation: none; } }

/* Dock du dialogue : barre blanche, micro rond vert. */
.panneau-dock { background: #fff; border: 0; padding: 12px 16px 18px; box-shadow: 0 -4px 16px #0b6e4f14; }
.panneau-annonce { color: var(--texte); }
.panneau-micro { width: 92px; height: 92px; border: 6px solid #fff; background: #0B6E4F; box-shadow: 0 10px 26px #0b6e4f55; }
.panneau-micro.lit { opacity: 1; background: #6e9a89; }
.panneau-micro.attente { opacity: .45; }
.panneau-micro.ecoute { width: 104px; height: 104px; background: #D63A2F; }
.panneau-micro.ecoute .pm-oreille { background: #fff; color: #D63A2F; }
.panneau-micro .pm-oreille svg { width: 24px; height: 24px; fill: currentColor; }

/* Contenus déjà présents dans le panneau (phrases du dialogue, centres de santé), adaptés au fond clair. */
.panneau .question-resultat .reponse.phrase { border: 0; background: #fff; box-shadow: 0 1px 1px #16242a14; }
.panneau .question-resultat .reponse.phrase.alerte { background: #FDE7E4; box-shadow: 0 0 0 2px #D63A2F; }
.panneau .reponse.phrase .noms .fon, .panneau .carte-question .noms .fon { color: var(--texte); }
.panneau .reponse.phrase .son, .panneau .carte-question .son { background: #0B6E4F; color: #fff; }
.panneau .raccourci { border: 0; background: #fff; box-shadow: 0 1px 1px #16242a14; }
.panneau .raccourci:hover { background: #E3F2EA; }
.centre { background: #fff; border: 0; box-shadow: 0 1px 1px #16242a14; }
.centre-distance { background: #E3F2EA; color: #0B6E4F; }
.centre-appel { background: #0B6E4F; color: #fff; }
.centre-itineraire { background: #E3F2EA; border: 0; }
.centres-proche, .centres-guide, .centres-puce { border-color: #0B6E4F; color: #0B6E4F; background: #fff; }
.centres-proche[aria-pressed="true"] { background: #0B6E4F; color: #fff; }
.centres-commune-choix { background: #fff; color: var(--texte); border: 1px solid #0b6e4f44; }
.ville-micro { display: grid; place-items: center; border: 0; background: #0B6E4F; }
.ville-micro svg { width: 28px; height: 28px; fill: #fff; }
.ville-micro.enregistre { background: #D63A2F; }
.panneau .centre-gratuite { color: #0B6E4F; }

@media (min-width: 900px) {
  .panneau { background: #EEF3F0; }
  .panneau-fil { padding: 20px 40px 40px; }
  .panneau-vide { display: flex; flex: 1; font-size: inherit; }
  .panneau.rempli .panneau-vide { display: none; }
  .panneau:not(.rempli) .panneau-tete { visibility: hidden; }
  .msg { align-self: flex-start; }
}
@media (min-width: 900px) { .panneau:not(.rempli) .panneau-fil { display: none; } }
/* Le résultat du dialogue dans le panneau reste dans le fil (la règle de l'accueil le collait en bas de l'écran). */
body.orbe .panneau .question-resultat { position: static; left: auto; right: auto; bottom: auto; z-index: auto; padding: 0; border-radius: 0; background: transparent; box-shadow: none; }

/* Icônes dessinées à la place des emojis */
.ico { display: inline-grid; place-items: center; width: 1em; height: 1em; vertical-align: -.14em; color: inherit; }
.ico svg { width: 100%; height: 100%; }
.ico-chiffre { display: inline-grid; place-items: center; min-width: 1em; font: 800 1em/1 inherit; }
.panneau .ico { color: #0B6E4F; }
.panneau .emoji-sujet { display: grid; place-items: center; font-size: 56px; }
.panneau .age-choix .emoji, .panneau .age-choix .ico { font-size: 34px; }
.panneau .gros-centre, .panneau .gros-prevention { color: #fff; }
.panneau .gros-centre .ico, .panneau .gros-prevention .ico { color: #fff; }
.centre-appel .ico, .ville-micro .ico { color: #fff; }
.centre-itineraire .ico { color: #0B6E4F; }
.panneau .raccourci .ico { font-size: 36px; }

/* Halo : la bulle qui parle est entourée de la couleur de son thème (orange, bleu, rose) et légèrement agrandie. */
.msg.joue { box-shadow: 0 0 0 5px var(--teinte), 0 0 44px color-mix(in srgb, var(--teinte) 55%, transparent); transform: scale(1.02); z-index: 1; }
.msg { transition: box-shadow .3s, transform .3s; }

/* Choix du dialogue : tuiles neutres, la couleur n'apparaît qu'au toucher. */
.panneau .age-choix { gap: 10px; }
.panneau .age-choix button { min-height: 88px; border: 3px solid transparent; border-radius: 20px; background: #fff; color: var(--texte); box-shadow: 0 1px 1px #16242a14; transition: border-color .2s, box-shadow .2s, transform .15s; }
.panneau .age-choix button:active { transform: scale(.97); }
.panneau .age-choix button.choisi { border-color: var(--c, #0B6E4F); box-shadow: 0 0 0 4px color-mix(in srgb, var(--c, #0B6E4F) 22%, transparent); }
.panneau .age-choix button.choisi .ico { color: var(--c, #0B6E4F); }
.panneau .age-choix .icone svg { width: 40px; height: 40px; }

/* Centres de santé : une carte par centre, distance en gros, boutons d'appel et d'itinéraire larges. Le plus proche est entouré de vert. */
.centres { margin-top: 6px; }
.centres-entete { padding: 6px 4px 10px; }
.centres-titre { display: flex; gap: 8px; font-size: 40px; }
.panneau .centres-titre .ico { color: #D63A2F; }
.centres-proche, .centres-guide { width: 56px; min-width: 56px; height: 56px; padding: 0; display: grid; place-items: center; border-radius: 50%; font-size: 26px; }
.centre { margin: 0 0 12px; padding: 12px; border-radius: 20px; }
.centre:first-of-type { box-shadow: 0 0 0 3px #0B6E4F; }
.centre-tete { gap: 12px; }
.centre-distance { order: -1; margin: 0; min-width: 64px; height: 64px; padding: 0 8px; display: grid; place-items: center; border-radius: 16px; font-size: 18px; font-weight: 800; }
.centre-emoji { order: 2; margin-left: auto; font-size: 30px; }
.panneau .centre-emoji .ico { color: #D63A2F; }
.centre-nom { order: 1; font-size: 19px; line-height: 1.25; }
.centre-actions { gap: 10px; margin-top: 12px; }
.centre-appel, .centre-itineraire { flex: 1; width: auto; height: 60px; border-radius: 30px; font-size: 30px; }
.centre-gratuite .ico, .centre-lieu .ico { color: #0B6E4F; }
html:not(.debug) .centre-verif { display: none; }

/* Propositions du dialogue (centres, comment l'éviter) : une tuile verte dans la discussion, avec son icône blanche. */
.panneau .gros-centre, .panneau .gros-prevention { width: 104px; height: 104px; border: 0; border-radius: 30px; background: #0B6E4F; color: #fff; font-size: 52px; display: grid; place-items: center; box-shadow: 0 8px 22px #0b6e4f44; animation: none; }
.panneau .gros-centre .ico, .panneau .gros-prevention .ico { color: #fff; }
.panneau .centres-proposition, .panneau .prevention-proposition { margin-top: 12px; }
/* Doigt et anneau d'indication : un anneau vert qui bat autour du bouton à toucher, sans flèche. */
.indice-anneau { border: 4px solid #0B6E4F; border-radius: 34px; box-shadow: 0 0 0 8px #0b6e4f33; }
.indice-doigt { display: none; }
/* Bouton « près de moi » : l'icône reste visible quand il est actif. */
.centres-proche[aria-pressed="true"] .ico { color: #fff; }
.panneau .centres-proche .ico { color: #0B6E4F; }
.panneau .centres-proche[aria-pressed="true"] .ico { color: #fff; }
/* Pas d'image : pas de grand cadre vide dans la bulle. */
.msg .visuel:not(:has(img:not([hidden]))) { display: none; }
/* L'alerte : une seule icône (le dessin suffit quand il est là). */
.panneau .reponse.phrase:has(.vignette) .emoji-sujet { display: none; }
.panneau .reponse.phrase .vignette { width: 120px; height: 120px; border-radius: 20px; }
.panneau .reponse.phrase.alerte .son { background: #D63A2F; }
.panneau .reponse.phrase .vignette { object-fit: contain; background: #fff; }

/* ===== La discussion : tout s'ajoute à la suite, ce que la personne dit ou touche vient en bulle verte à droite ===== */
.panneau-fil { gap: 12px; }
.panneau-dock, .panneau.rempli .panneau-dock { display: flex; }
.panneau-points { display: none; }
.panneau-tete { justify-content: space-between; }
.histo { display: flex; flex-direction: column; gap: 12px; }
.histo .age-choix, .histo .raccourcis, .histo .centres-proposition, .histo .prevention-proposition, .repondu .age-choix { pointer-events: none; }
.histo .indice-anneau { display: none; }
.repondu .age-choix button:not(.choisi) { opacity: .45; }

.tour-moi { align-self: flex-end; display: flex; justify-content: flex-end; max-width: 80%; }
.bulle-moi { display: flex; align-items: center; gap: 10px; padding: 8px 14px 8px 8px; border-radius: 20px 20px 6px 20px; background: #D9F0E2; box-shadow: 0 1px 1px #16242a14; min-height: 60px; transition: box-shadow .3s; }
.bulle-moi .son { position: relative; flex: none; width: 46px; height: 46px; padding: 0; border: 0; border-radius: 50%; background: #0B6E4F; color: #fff; display: grid; place-items: center; cursor: pointer; }
.bulle-moi .son svg { width: 18px; height: 18px; margin-left: 2px; fill: #fff; }
.bulle-moi.joue .son svg { display: none; }
.bulle-moi.joue .son::before { content: ""; width: 15px; height: 15px; border-radius: 4px; background: #fff; }
.bulle-moi .onde { display: flex; align-items: center; gap: 3px; height: 28px; width: 130px; justify-content: space-between; }
.bulle-moi .onde i { width: 3px; height: var(--h); border-radius: 2px; background: #6aa88f; }
.bulle-moi.joue .onde i { background: #0B6E4F; animation: onde-vive .7s ease-in-out infinite alternate; }
.bulle-moi.joue .onde i:nth-child(2n) { animation-delay: .2s; }
.choix-moi { display: grid; place-items: center; min-width: 56px; min-height: 44px; padding: 0 8px; font-size: 34px; color: #0B6E4F; }
.choix-moi .ico { color: #0B6E4F; }
.choix-moi svg { width: 1em; height: 1em; }

/* Le dock reste toujours là : on peut reparler à tout moment. */
.panneau-micro.lit, .panneau-micro { opacity: 1; background: #0B6E4F; }
.panneau-micro.attente { opacity: .45; }
.panneau-micro.ecoute { background: #D63A2F; }

/* Réponses de la soignante venues du dialogue (messages, phrases, questions) : mêmes bulles que les messages d'un thème. */
.panneau .reponse { position: relative; margin: 0 0 0 42px; padding: 0; border: 0; border-radius: 20px 20px 20px 6px; background: #fff; box-shadow: 0 1px 1px #16242a14; transition: box-shadow .3s, transform .3s; }
.panneau .reponse::before { content: ""; position: absolute; left: -42px; bottom: 0; width: 32px; height: 32px; border-radius: 50%; background: #E3F2EA url(soignante.svg) center / cover; }
.panneau .reponse > .image, .panneau .reponse > .vignette-grande { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 20px 20px 0 0; margin: 0; background: #E3F2EA; }
.panneau .reponse .ligne-son { display: flex; align-items: center; gap: 12px; padding: 10px 14px 10px 10px; }
.panneau .reponse .ligne-son .son { order: -1; width: 46px; height: 46px; flex: none; background: #0B6E4F; color: #fff; position: relative; }
.panneau .reponse .ligne-son .son svg { width: 18px; height: 18px; margin-left: 2px; fill: #fff; }
.panneau .reponse .ligne-son::after { content: ""; order: 1; flex: 1; height: 28px; background: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%22240%22 height=%2228%22 fill=%22%239CCFB5%22%3E%3Crect x=%220%22 y=%2211.0%22 width=%223%22 height=%226%22 rx=%221.5%22/%3E%3Crect x=%228%22 y=%227.0%22 width=%223%22 height=%2214%22 rx=%221.5%22/%3E%3Crect x=%2216%22 y=%223.0%22 width=%223%22 height=%2222%22 rx=%221.5%22/%3E%3Crect x=%2224%22 y=%225.0%22 width=%223%22 height=%2218%22 rx=%221.5%22/%3E%3Crect x=%2232%22 y=%229.0%22 width=%223%22 height=%2210%22 rx=%221.5%22/%3E%3Crect x=%2240%22 y=%222.0%22 width=%223%22 height=%2224%22 rx=%221.5%22/%3E%3Crect x=%2248%22 y=%226.0%22 width=%223%22 height=%2216%22 rx=%221.5%22/%3E%3Crect x=%2256%22 y=%2210.0%22 width=%223%22 height=%228%22 rx=%221.5%22/%3E%3Crect x=%2264%22 y=%224.0%22 width=%223%22 height=%2220%22 rx=%221.5%22/%3E%3Crect x=%2272%22 y=%221.0%22 width=%223%22 height=%2226%22 rx=%221.5%22/%3E%3Crect x=%2280%22 y=%228.0%22 width=%223%22 height=%2212%22 rx=%221.5%22/%3E%3Crect x=%2288%22 y=%225.0%22 width=%223%22 height=%2218%22 rx=%221.5%22/%3E%3Crect x=%2296%22 y=%222.0%22 width=%223%22 height=%2224%22 rx=%221.5%22/%3E%3Crect x=%22104%22 y=%229.0%22 width=%223%22 height=%2210%22 rx=%221.5%22/%3E%3Crect x=%22112%22 y=%226.0%22 width=%223%22 height=%2216%22 rx=%221.5%22/%3E%3Crect x=%22120%22 y=%223.0%22 width=%223%22 height=%2222%22 rx=%221.5%22/%3E%3Crect x=%22128%22 y=%2210.0%22 width=%223%22 height=%228%22 rx=%221.5%22/%3E%3Crect x=%22136%22 y=%227.0%22 width=%223%22 height=%2214%22 rx=%221.5%22/%3E%3Crect x=%22144%22 y=%224.0%22 width=%223%22 height=%2220%22 rx=%221.5%22/%3E%3Crect x=%22152%22 y=%228.0%22 width=%223%22 height=%2212%22 rx=%221.5%22/%3E%3Crect x=%22160%22 y=%2211.0%22 width=%223%22 height=%226%22 rx=%221.5%22/%3E%3Crect x=%22168%22 y=%227.0%22 width=%223%22 height=%2214%22 rx=%221.5%22/%3E%3Crect x=%22176%22 y=%223.0%22 width=%223%22 height=%2222%22 rx=%221.5%22/%3E%3Crect x=%22184%22 y=%225.0%22 width=%223%22 height=%2218%22 rx=%221.5%22/%3E%3Crect x=%22192%22 y=%229.0%22 width=%223%22 height=%2210%22 rx=%221.5%22/%3E%3Crect x=%22200%22 y=%222.0%22 width=%223%22 height=%2224%22 rx=%221.5%22/%3E%3Crect x=%22208%22 y=%226.0%22 width=%223%22 height=%2216%22 rx=%221.5%22/%3E%3Crect x=%22216%22 y=%2210.0%22 width=%223%22 height=%228%22 rx=%221.5%22/%3E%3Crect x=%22224%22 y=%224.0%22 width=%223%22 height=%2220%22 rx=%221.5%22/%3E%3Crect x=%22232%22 y=%221.0%22 width=%223%22 height=%2226%22 rx=%221.5%22/%3E%3C/svg%3E") left center / auto 28px repeat-x; }
.panneau .reponse.joue { box-shadow: 0 0 0 5px #0B6E4F, 0 0 44px #0b6e4f66; transform: scale(1.02); z-index: 1; }
.panneau .reponse.joue .ligne-son::after { background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%22240%22 height=%2228%22 fill=%22%230B6E4F%22%3E%3Crect x=%220%22 y=%2211.0%22 width=%223%22 height=%226%22 rx=%221.5%22/%3E%3Crect x=%228%22 y=%227.0%22 width=%223%22 height=%2214%22 rx=%221.5%22/%3E%3Crect x=%2216%22 y=%223.0%22 width=%223%22 height=%2222%22 rx=%221.5%22/%3E%3Crect x=%2224%22 y=%225.0%22 width=%223%22 height=%2218%22 rx=%221.5%22/%3E%3Crect x=%2232%22 y=%229.0%22 width=%223%22 height=%2210%22 rx=%221.5%22/%3E%3Crect x=%2240%22 y=%222.0%22 width=%223%22 height=%2224%22 rx=%221.5%22/%3E%3Crect x=%2248%22 y=%226.0%22 width=%223%22 height=%2216%22 rx=%221.5%22/%3E%3Crect x=%2256%22 y=%2210.0%22 width=%223%22 height=%228%22 rx=%221.5%22/%3E%3Crect x=%2264%22 y=%224.0%22 width=%223%22 height=%2220%22 rx=%221.5%22/%3E%3Crect x=%2272%22 y=%221.0%22 width=%223%22 height=%2226%22 rx=%221.5%22/%3E%3Crect x=%2280%22 y=%228.0%22 width=%223%22 height=%2212%22 rx=%221.5%22/%3E%3Crect x=%2288%22 y=%225.0%22 width=%223%22 height=%2218%22 rx=%221.5%22/%3E%3Crect x=%2296%22 y=%222.0%22 width=%223%22 height=%2224%22 rx=%221.5%22/%3E%3Crect x=%22104%22 y=%229.0%22 width=%223%22 height=%2210%22 rx=%221.5%22/%3E%3Crect x=%22112%22 y=%226.0%22 width=%223%22 height=%2216%22 rx=%221.5%22/%3E%3Crect x=%22120%22 y=%223.0%22 width=%223%22 height=%2222%22 rx=%221.5%22/%3E%3Crect x=%22128%22 y=%2210.0%22 width=%223%22 height=%228%22 rx=%221.5%22/%3E%3Crect x=%22136%22 y=%227.0%22 width=%223%22 height=%2214%22 rx=%221.5%22/%3E%3Crect x=%22144%22 y=%224.0%22 width=%223%22 height=%2220%22 rx=%221.5%22/%3E%3Crect x=%22152%22 y=%228.0%22 width=%223%22 height=%2212%22 rx=%221.5%22/%3E%3Crect x=%22160%22 y=%2211.0%22 width=%223%22 height=%226%22 rx=%221.5%22/%3E%3Crect x=%22168%22 y=%227.0%22 width=%223%22 height=%2214%22 rx=%221.5%22/%3E%3Crect x=%22176%22 y=%223.0%22 width=%223%22 height=%2222%22 rx=%221.5%22/%3E%3Crect x=%22184%22 y=%225.0%22 width=%223%22 height=%2218%22 rx=%221.5%22/%3E%3Crect x=%22192%22 y=%229.0%22 width=%223%22 height=%2210%22 rx=%221.5%22/%3E%3Crect x=%22200%22 y=%222.0%22 width=%223%22 height=%2224%22 rx=%221.5%22/%3E%3Crect x=%22208%22 y=%226.0%22 width=%223%22 height=%2216%22 rx=%221.5%22/%3E%3Crect x=%22216%22 y=%2210.0%22 width=%223%22 height=%228%22 rx=%221.5%22/%3E%3Crect x=%22224%22 y=%224.0%22 width=%223%22 height=%2220%22 rx=%221.5%22/%3E%3Crect x=%22232%22 y=%221.0%22 width=%223%22 height=%2226%22 rx=%221.5%22/%3E%3C/svg%3E"); animation: onde-vive .7s ease-in-out infinite alternate; transform-origin: center; }
.panneau .reponse.joue .son svg { display: none; }
.panneau .reponse.joue .son::before { content: ""; width: 15px; height: 15px; border-radius: 4px; background: #fff; }
.panneau .reponse.message .noms, .panneau .reponse.carte-question .noms { flex: 1; color: var(--texte); }
.panneau .reponse.carte-question .ligne-son { flex-direction: row; text-align: left; gap: 12px; }
.panneau .reponse.carte-question .age-choix { padding: 0 12px 12px; margin: 0; }
.panneau .reponse.phrase { margin-left: 42px; }
.panneau .reponse .emoji-sujet { display: none; }
.panneau .reponse.phrase .emoji-sujet { display: grid; }
.panneau .reponse.phrase:has(.vignette) .emoji-sujet { display: none; }
.panneau .age-choix button .ico { font-size: 44px; }
.panneau .reponse.maladies, .panneau .reponse .mal { color: var(--texte); }
@media (prefers-reduced-motion: reduce) { .panneau .reponse.joue .ligne-son::after { animation: none; } }
.panneau .reponse .age-choix button { background: #EEF3F0; box-shadow: none; }


/* ===== Choix de l'équipe : âge en tuiles dessinées, oui/non en trois tuiles, alerte courte puis centre dans sa propre bulle ===== */
/* Les propositions de réponse : leur propre cadre, qui arrive après la voix de la question. */
.panneau .choix-bulle { margin: 0 0 0 42px; padding: 12px; border-radius: 20px 20px 20px 6px; background: #fff; box-shadow: 0 1px 1px #16242a14; animation: choix-entree .35s ease-out; }
.panneau .choix-bulle::before { display: none; }
.panneau .choix-bulle .age-choix { padding: 0; margin: 0; }
@keyframes choix-entree { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .panneau .choix-bulle { animation: none; } }
.panneau .age-choix.age-figures { grid-template-columns: 1fr 1fr; }
.panneau .age-choix button.age-figure { min-height: 116px; display: grid; place-items: end center; padding: 8px 12px; }
.age-figure .figure { display: grid; place-items: end center; }
.age-figure svg { display: block; }
.panneau .age-choix.oui-non { grid-template-columns: repeat(3, 1fr); }

/* Mes bulles : une petite icône de personne à droite, comme la soignante à gauche. */
.tour-moi { align-items: flex-end; gap: 8px; max-width: none; }
.portrait-moi { width: 32px; height: 32px; flex: none; border-radius: 50%; background: #D9F0E2; color: #0B6E4F; display: grid; place-items: center; padding: 6px; }
.portrait-moi svg { width: 100%; height: 100%; }

/* Alerte : une bulle courte (icône, voix, ondes), le détail ne prend pas la place. */
.panneau .question-resultat .reponse.phrase.alerte { display: grid; grid-template-columns: auto auto 1fr; align-items: center; justify-items: stretch; gap: 10px 12px; padding: 10px 12px; text-align: left; background: #fff; border: 0; box-shadow: 0 0 0 2px #D63A2F; }
.panneau .reponse.phrase.alerte .emoji-sujet { grid-column: 1; grid-row: 1; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; background: #FDE7E4; font-size: 30px; }
.panneau .reponse.phrase.alerte .emoji-sujet .ico { color: #D63A2F; }
.panneau .reponse.phrase.alerte .vignette { display: none; }
.panneau .reponse.phrase.alerte .son { grid-column: 2; grid-row: 1; width: 46px; height: 46px; background: #D63A2F; }
.panneau .reponse.phrase.alerte::after { content: ""; grid-column: 3; grid-row: 1; height: 28px; background: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%22240%22 height=%2228%22 fill=%22%23E58A83%22%3E%3Crect x=%220%22 y=%2211.0%22 width=%223%22 height=%226%22 rx=%221.5%22/%3E%3Crect x=%228%22 y=%227.0%22 width=%223%22 height=%2214%22 rx=%221.5%22/%3E%3Crect x=%2216%22 y=%223.0%22 width=%223%22 height=%2222%22 rx=%221.5%22/%3E%3Crect x=%2224%22 y=%225.0%22 width=%223%22 height=%2218%22 rx=%221.5%22/%3E%3Crect x=%2232%22 y=%229.0%22 width=%223%22 height=%2210%22 rx=%221.5%22/%3E%3Crect x=%2240%22 y=%222.0%22 width=%223%22 height=%2224%22 rx=%221.5%22/%3E%3Crect x=%2248%22 y=%226.0%22 width=%223%22 height=%2216%22 rx=%221.5%22/%3E%3Crect x=%2256%22 y=%2210.0%22 width=%223%22 height=%228%22 rx=%221.5%22/%3E%3Crect x=%2264%22 y=%224.0%22 width=%223%22 height=%2220%22 rx=%221.5%22/%3E%3Crect x=%2272%22 y=%221.0%22 width=%223%22 height=%2226%22 rx=%221.5%22/%3E%3Crect x=%2280%22 y=%228.0%22 width=%223%22 height=%2212%22 rx=%221.5%22/%3E%3Crect x=%2288%22 y=%225.0%22 width=%223%22 height=%2218%22 rx=%221.5%22/%3E%3Crect x=%2296%22 y=%222.0%22 width=%223%22 height=%2224%22 rx=%221.5%22/%3E%3Crect x=%22104%22 y=%229.0%22 width=%223%22 height=%2210%22 rx=%221.5%22/%3E%3Crect x=%22112%22 y=%226.0%22 width=%223%22 height=%2216%22 rx=%221.5%22/%3E%3Crect x=%22120%22 y=%223.0%22 width=%223%22 height=%2222%22 rx=%221.5%22/%3E%3Crect x=%22128%22 y=%2210.0%22 width=%223%22 height=%228%22 rx=%221.5%22/%3E%3Crect x=%22136%22 y=%227.0%22 width=%223%22 height=%2214%22 rx=%221.5%22/%3E%3Crect x=%22144%22 y=%224.0%22 width=%223%22 height=%2220%22 rx=%221.5%22/%3E%3Crect x=%22152%22 y=%228.0%22 width=%223%22 height=%2212%22 rx=%221.5%22/%3E%3Crect x=%22160%22 y=%2211.0%22 width=%223%22 height=%226%22 rx=%221.5%22/%3E%3Crect x=%22168%22 y=%227.0%22 width=%223%22 height=%2214%22 rx=%221.5%22/%3E%3Crect x=%22176%22 y=%223.0%22 width=%223%22 height=%2222%22 rx=%221.5%22/%3E%3Crect x=%22184%22 y=%225.0%22 width=%223%22 height=%2218%22 rx=%221.5%22/%3E%3Crect x=%22192%22 y=%229.0%22 width=%223%22 height=%2210%22 rx=%221.5%22/%3E%3Crect x=%22200%22 y=%222.0%22 width=%223%22 height=%2224%22 rx=%221.5%22/%3E%3Crect x=%22208%22 y=%226.0%22 width=%223%22 height=%2216%22 rx=%221.5%22/%3E%3Crect x=%22216%22 y=%2210.0%22 width=%223%22 height=%228%22 rx=%221.5%22/%3E%3Crect x=%22224%22 y=%224.0%22 width=%223%22 height=%2220%22 rx=%221.5%22/%3E%3Crect x=%22232%22 y=%221.0%22 width=%223%22 height=%2226%22 rx=%221.5%22/%3E%3C/svg%3E") left center / auto 28px repeat-x; }
.panneau .reponse.phrase.alerte.joue { box-shadow: 0 0 0 5px #D63A2F, 0 0 40px #d63a2f66; }
.panneau .reponse.phrase.alerte.joue::after { background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%22240%22 height=%2228%22 fill=%22%23D63A2F%22%3E%3Crect x=%220%22 y=%2211.0%22 width=%223%22 height=%226%22 rx=%221.5%22/%3E%3Crect x=%228%22 y=%227.0%22 width=%223%22 height=%2214%22 rx=%221.5%22/%3E%3Crect x=%2216%22 y=%223.0%22 width=%223%22 height=%2222%22 rx=%221.5%22/%3E%3Crect x=%2224%22 y=%225.0%22 width=%223%22 height=%2218%22 rx=%221.5%22/%3E%3Crect x=%2232%22 y=%229.0%22 width=%223%22 height=%2210%22 rx=%221.5%22/%3E%3Crect x=%2240%22 y=%222.0%22 width=%223%22 height=%2224%22 rx=%221.5%22/%3E%3Crect x=%2248%22 y=%226.0%22 width=%223%22 height=%2216%22 rx=%221.5%22/%3E%3Crect x=%2256%22 y=%2210.0%22 width=%223%22 height=%228%22 rx=%221.5%22/%3E%3Crect x=%2264%22 y=%224.0%22 width=%223%22 height=%2220%22 rx=%221.5%22/%3E%3Crect x=%2272%22 y=%221.0%22 width=%223%22 height=%2226%22 rx=%221.5%22/%3E%3Crect x=%2280%22 y=%228.0%22 width=%223%22 height=%2212%22 rx=%221.5%22/%3E%3Crect x=%2288%22 y=%225.0%22 width=%223%22 height=%2218%22 rx=%221.5%22/%3E%3Crect x=%2296%22 y=%222.0%22 width=%223%22 height=%2224%22 rx=%221.5%22/%3E%3Crect x=%22104%22 y=%229.0%22 width=%223%22 height=%2210%22 rx=%221.5%22/%3E%3Crect x=%22112%22 y=%226.0%22 width=%223%22 height=%2216%22 rx=%221.5%22/%3E%3Crect x=%22120%22 y=%223.0%22 width=%223%22 height=%2222%22 rx=%221.5%22/%3E%3Crect x=%22128%22 y=%2210.0%22 width=%223%22 height=%228%22 rx=%221.5%22/%3E%3Crect x=%22136%22 y=%227.0%22 width=%223%22 height=%2214%22 rx=%221.5%22/%3E%3Crect x=%22144%22 y=%224.0%22 width=%223%22 height=%2220%22 rx=%221.5%22/%3E%3Crect x=%22152%22 y=%228.0%22 width=%223%22 height=%2212%22 rx=%221.5%22/%3E%3Crect x=%22160%22 y=%2211.0%22 width=%223%22 height=%226%22 rx=%221.5%22/%3E%3Crect x=%22168%22 y=%227.0%22 width=%223%22 height=%2214%22 rx=%221.5%22/%3E%3Crect x=%22176%22 y=%223.0%22 width=%223%22 height=%2222%22 rx=%221.5%22/%3E%3Crect x=%22184%22 y=%225.0%22 width=%223%22 height=%2218%22 rx=%221.5%22/%3E%3Crect x=%22192%22 y=%229.0%22 width=%223%22 height=%2210%22 rx=%221.5%22/%3E%3Crect x=%22200%22 y=%222.0%22 width=%223%22 height=%2224%22 rx=%221.5%22/%3E%3Crect x=%22208%22 y=%226.0%22 width=%223%22 height=%2216%22 rx=%221.5%22/%3E%3Crect x=%22216%22 y=%2210.0%22 width=%223%22 height=%228%22 rx=%221.5%22/%3E%3Crect x=%22224%22 y=%224.0%22 width=%223%22 height=%2220%22 rx=%221.5%22/%3E%3Crect x=%22232%22 y=%221.0%22 width=%223%22 height=%2226%22 rx=%221.5%22/%3E%3C/svg%3E"); animation: onde-vive .7s ease-in-out infinite alternate; }
.panneau .reponse.phrase.alerte .noms { grid-column: 1 / -1; grid-row: 2; }

/* Le centre de santé : bulle verte à part, image, voix, puis une grande carte « aller au centre ». */
.panneau .question-resultat .reponse.phrase.centres, .panneau .question-resultat .reponse.phrase.prevention { display: grid; grid-template-columns: auto 1fr; align-items: center; justify-items: stretch; gap: 0; padding: 0; text-align: left; background: #fff; border: 0; overflow: visible; }
.panneau .reponse.phrase.centres .emoji-sujet, .panneau .reponse.phrase.prevention .emoji-sujet { display: none; }
.panneau .reponse.phrase.centres .vignette, .panneau .reponse.phrase.prevention .vignette { grid-column: 1 / -1; grid-row: 1; display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 20px 20px 0 0; }
.panneau .reponse.phrase.centres .son, .panneau .reponse.phrase.prevention .son { grid-column: 1; grid-row: 2; margin: 10px 0 10px 10px; width: 46px; height: 46px; background: #0B6E4F; }
.panneau .reponse.phrase.centres::after, .panneau .reponse.phrase.prevention::after { content: ""; grid-column: 2; grid-row: 2; margin: 0 14px 0 12px; height: 28px; background: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%22240%22 height=%2228%22 fill=%22%239CCFB5%22%3E%3Crect x=%220%22 y=%2211.0%22 width=%223%22 height=%226%22 rx=%221.5%22/%3E%3Crect x=%228%22 y=%227.0%22 width=%223%22 height=%2214%22 rx=%221.5%22/%3E%3Crect x=%2216%22 y=%223.0%22 width=%223%22 height=%2222%22 rx=%221.5%22/%3E%3Crect x=%2224%22 y=%225.0%22 width=%223%22 height=%2218%22 rx=%221.5%22/%3E%3Crect x=%2232%22 y=%229.0%22 width=%223%22 height=%2210%22 rx=%221.5%22/%3E%3Crect x=%2240%22 y=%222.0%22 width=%223%22 height=%2224%22 rx=%221.5%22/%3E%3Crect x=%2248%22 y=%226.0%22 width=%223%22 height=%2216%22 rx=%221.5%22/%3E%3Crect x=%2256%22 y=%2210.0%22 width=%223%22 height=%228%22 rx=%221.5%22/%3E%3Crect x=%2264%22 y=%224.0%22 width=%223%22 height=%2220%22 rx=%221.5%22/%3E%3Crect x=%2272%22 y=%221.0%22 width=%223%22 height=%2226%22 rx=%221.5%22/%3E%3Crect x=%2280%22 y=%228.0%22 width=%223%22 height=%2212%22 rx=%221.5%22/%3E%3Crect x=%2288%22 y=%225.0%22 width=%223%22 height=%2218%22 rx=%221.5%22/%3E%3Crect x=%2296%22 y=%222.0%22 width=%223%22 height=%2224%22 rx=%221.5%22/%3E%3Crect x=%22104%22 y=%229.0%22 width=%223%22 height=%2210%22 rx=%221.5%22/%3E%3Crect x=%22112%22 y=%226.0%22 width=%223%22 height=%2216%22 rx=%221.5%22/%3E%3Crect x=%22120%22 y=%223.0%22 width=%223%22 height=%2222%22 rx=%221.5%22/%3E%3Crect x=%22128%22 y=%2210.0%22 width=%223%22 height=%228%22 rx=%221.5%22/%3E%3Crect x=%22136%22 y=%227.0%22 width=%223%22 height=%2214%22 rx=%221.5%22/%3E%3Crect x=%22144%22 y=%224.0%22 width=%223%22 height=%2220%22 rx=%221.5%22/%3E%3Crect x=%22152%22 y=%228.0%22 width=%223%22 height=%2212%22 rx=%221.5%22/%3E%3Crect x=%22160%22 y=%2211.0%22 width=%223%22 height=%226%22 rx=%221.5%22/%3E%3Crect x=%22168%22 y=%227.0%22 width=%223%22 height=%2214%22 rx=%221.5%22/%3E%3Crect x=%22176%22 y=%223.0%22 width=%223%22 height=%2222%22 rx=%221.5%22/%3E%3Crect x=%22184%22 y=%225.0%22 width=%223%22 height=%2218%22 rx=%221.5%22/%3E%3Crect x=%22192%22 y=%229.0%22 width=%223%22 height=%2210%22 rx=%221.5%22/%3E%3Crect x=%22200%22 y=%222.0%22 width=%223%22 height=%2224%22 rx=%221.5%22/%3E%3Crect x=%22208%22 y=%226.0%22 width=%223%22 height=%2216%22 rx=%221.5%22/%3E%3Crect x=%22216%22 y=%2210.0%22 width=%223%22 height=%228%22 rx=%221.5%22/%3E%3Crect x=%22224%22 y=%224.0%22 width=%223%22 height=%2220%22 rx=%221.5%22/%3E%3Crect x=%22232%22 y=%221.0%22 width=%223%22 height=%2226%22 rx=%221.5%22/%3E%3C/svg%3E") left center / auto 28px repeat-x; }
.panneau .reponse.phrase.centres.joue::after, .panneau .reponse.phrase.prevention.joue::after { background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%22240%22 height=%2228%22 fill=%22%230B6E4F%22%3E%3Crect x=%220%22 y=%2211.0%22 width=%223%22 height=%226%22 rx=%221.5%22/%3E%3Crect x=%228%22 y=%227.0%22 width=%223%22 height=%2214%22 rx=%221.5%22/%3E%3Crect x=%2216%22 y=%223.0%22 width=%223%22 height=%2222%22 rx=%221.5%22/%3E%3Crect x=%2224%22 y=%225.0%22 width=%223%22 height=%2218%22 rx=%221.5%22/%3E%3Crect x=%2232%22 y=%229.0%22 width=%223%22 height=%2210%22 rx=%221.5%22/%3E%3Crect x=%2240%22 y=%222.0%22 width=%223%22 height=%2224%22 rx=%221.5%22/%3E%3Crect x=%2248%22 y=%226.0%22 width=%223%22 height=%2216%22 rx=%221.5%22/%3E%3Crect x=%2256%22 y=%2210.0%22 width=%223%22 height=%228%22 rx=%221.5%22/%3E%3Crect x=%2264%22 y=%224.0%22 width=%223%22 height=%2220%22 rx=%221.5%22/%3E%3Crect x=%2272%22 y=%221.0%22 width=%223%22 height=%2226%22 rx=%221.5%22/%3E%3Crect x=%2280%22 y=%228.0%22 width=%223%22 height=%2212%22 rx=%221.5%22/%3E%3Crect x=%2288%22 y=%225.0%22 width=%223%22 height=%2218%22 rx=%221.5%22/%3E%3Crect x=%2296%22 y=%222.0%22 width=%223%22 height=%2224%22 rx=%221.5%22/%3E%3Crect x=%22104%22 y=%229.0%22 width=%223%22 height=%2210%22 rx=%221.5%22/%3E%3Crect x=%22112%22 y=%226.0%22 width=%223%22 height=%2216%22 rx=%221.5%22/%3E%3Crect x=%22120%22 y=%223.0%22 width=%223%22 height=%2222%22 rx=%221.5%22/%3E%3Crect x=%22128%22 y=%2210.0%22 width=%223%22 height=%228%22 rx=%221.5%22/%3E%3Crect x=%22136%22 y=%227.0%22 width=%223%22 height=%2214%22 rx=%221.5%22/%3E%3Crect x=%22144%22 y=%224.0%22 width=%223%22 height=%2220%22 rx=%221.5%22/%3E%3Crect x=%22152%22 y=%228.0%22 width=%223%22 height=%2212%22 rx=%221.5%22/%3E%3Crect x=%22160%22 y=%2211.0%22 width=%223%22 height=%226%22 rx=%221.5%22/%3E%3Crect x=%22168%22 y=%227.0%22 width=%223%22 height=%2214%22 rx=%221.5%22/%3E%3Crect x=%22176%22 y=%223.0%22 width=%223%22 height=%2222%22 rx=%221.5%22/%3E%3Crect x=%22184%22 y=%225.0%22 width=%223%22 height=%2218%22 rx=%221.5%22/%3E%3Crect x=%22192%22 y=%229.0%22 width=%223%22 height=%2210%22 rx=%221.5%22/%3E%3Crect x=%22200%22 y=%222.0%22 width=%223%22 height=%2224%22 rx=%221.5%22/%3E%3Crect x=%22208%22 y=%226.0%22 width=%223%22 height=%2216%22 rx=%221.5%22/%3E%3Crect x=%22216%22 y=%2210.0%22 width=%223%22 height=%228%22 rx=%221.5%22/%3E%3Crect x=%22224%22 y=%224.0%22 width=%223%22 height=%2220%22 rx=%221.5%22/%3E%3Crect x=%22232%22 y=%221.0%22 width=%223%22 height=%2226%22 rx=%221.5%22/%3E%3C/svg%3E"); animation: onde-vive .7s ease-in-out infinite alternate; }
.panneau .reponse.phrase.centres .noms, .panneau .reponse.phrase.prevention .noms { grid-column: 1 / -1; grid-row: 3; padding: 0 14px; }
.panneau .reponse.phrase.centres .gros-centre, .panneau .reponse.phrase.prevention .gros-prevention { grid-column: 1 / -1; grid-row: 4; width: calc(100% - 24px); height: 76px; margin: 4px 12px 12px; border-radius: 22px; display: flex; align-items: center; justify-content: center; gap: 22px; font-size: 40px; }
.panneau .gros-centre::after, .panneau .gros-prevention::after { content: ""; width: 34px; height: 34px; background: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23fff%22 stroke-width=%222.4%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M5 12h14m-6-6 6 6-6 6%22/%3E%3C/svg%3E") center / contain no-repeat; }
.panneau .reponse.phrase.centres.joue, .panneau .reponse.phrase.prevention.joue { box-shadow: 0 0 0 5px #0B6E4F, 0 0 40px #0b6e4f66; }

/* Le micro « en attente » héritait du style de la consigne d'attente de l'accueil (même nom de classe) : on le remet rond et vert. */
body.orbe .panneau .panneau-micro.attente { background: #0B6E4F; border: 6px solid #fff; border-radius: 50%; margin: 0; padding: 0; opacity: .45; }
/* Les personnages d'âge restent visibles quand les textes sont cachés. */
html.textes-aucun:not(.debug) .panneau .age-choix button.age-figure > span.figure { display: grid !important; }
.choix-moi .figure { display: grid; place-items: end center; } .choix-moi .figure svg { height: 64px !important; width: auto; }

/* Image et audio : la bulle a la largeur de l'image, la voix est dessous, jamais plus large que l'image. */
.panneau .reponse:has(> .vignette-grande, > .image), .panneau .msg:has(> .visuel) { width: min(380px, calc(100% - 42px)); }
.panneau .reponse > .vignette-grande, .panneau .reponse > .image { width: 100%; max-width: none; }
.panneau .question-resultat .reponse.phrase.alerte, .panneau .question-resultat .reponse.phrase.centres, .panneau .question-resultat .reponse.phrase.prevention { width: min(380px, calc(100% - 42px)); }


/* Choix de la commune : une grande pastille avec le repère, bien séparée de la première carte. */
.panneau .centres-commune-choix { -webkit-appearance: none; appearance: none; display: block; width: 100%; height: 60px; margin: 4px 0 18px; padding: 0 52px 0 58px; border: 0; border-radius: 30px; box-shadow: 0 1px 1px #16242a14;
  background: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%230B6E4F%22 stroke-width=%222.2%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M20 10c0 6-8 12-8 12s-8-6-8-12a8 8 0 0 1 16 0Z%22/%3E%3Ccircle cx=%2212%22 cy=%2210%22 r=%223%22/%3E%3C/svg%3E") left 18px center / 28px no-repeat, url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%230B6E4F%22 stroke-width=%222.6%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22m6 9 6 6 6-6%22/%3E%3C/svg%3E") right 18px center / 22px no-repeat, #fff; font: 700 18px/1 inherit; color: var(--texte); cursor: pointer; }
.panneau .centres-commune-choix:focus-visible { outline: 3px solid #0B6E4F; outline-offset: 2px; }
.centres-corps { display: flex; flex-direction: column; }
.centres-commune { margin: 12px 4px 8px; }

/* « Je réfléchis » : trois points qui bougent dans une bulle de la soignante, sans voix. */
.tour-pense { position: relative; margin-left: 42px; display: flex; }
.tour-pense::before { content: ""; position: absolute; left: -42px; bottom: 0; width: 32px; height: 32px; border-radius: 50%; background: #E3F2EA url(soignante.svg) center / cover; }
.bulle-pense { display: flex; align-items: center; gap: 7px; padding: 18px 20px; border-radius: 20px 20px 20px 6px; background: #fff; box-shadow: 0 1px 1px #16242a14; animation: choix-entree .3s ease-out; }
.bulle-pense i { width: 11px; height: 11px; border-radius: 50%; background: #0B6E4F; opacity: .35; animation: pense 1.2s ease-in-out infinite; }
.bulle-pense i:nth-child(2) { animation-delay: .2s; }
.bulle-pense i:nth-child(3) { animation-delay: .4s; }
@keyframes pense { 0%, 60%, 100% { transform: translateY(0); opacity: .35; } 30% { transform: translateY(-7px); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .bulle-pense i { animation: none; opacity: .7; } }

/* Dire sa ville : bouton repère + micro dans l'en-tête de la liste des centres. */
.centres-ville-btn { height: 56px; padding: 0 16px; display: flex; align-items: center; gap: 2px; border: 0; border-radius: 28px; background: #0B6E4F; color: #fff; font-size: 26px; cursor: pointer; }
.panneau .centres-ville-btn .ico { color: #fff; }
.centres-entete { gap: 8px; flex-wrap: wrap; }
.centres-titre { margin-right: auto; }
.centres-entete .centres-guide { margin-left: 0; }

/* Le micro écoute dans la discussion : bulle en pointillés avec point rouge et ondes vivantes. */
.tour-vive .bulle-moi { border: 3px dashed #0B6E4F; background: #D9F0E266; min-height: 58px; padding: 8px 18px; }
.point-rec { width: 14px; height: 14px; border-radius: 50%; background: #D63A2F; flex: none; animation: rec-clignote 1s infinite; }
@keyframes rec-clignote { 50% { opacity: .25; } }
.onde.vivante { display: flex; align-items: center; justify-content: space-between; gap: 3px; height: 28px; width: 140px; }
.onde.vivante i { width: 3px; height: var(--h); border-radius: 2px; background: #0B6E4F; animation: onde-vive .6s ease-in-out infinite alternate; }
.onde.vivante i:nth-child(2n) { animation-delay: .15s; }
.onde.vivante i:nth-child(3n) { animation-delay: .3s; }
@media (prefers-reduced-motion: reduce) { .point-rec, .onde.vivante i { animation: none; } }

/* Le micro écoute : cinq barres blanches qui bougent dans le rond rouge (plus d'oreille, peu parlante). Un toucher arrête l'écoute. */
.panneau-micro .pm-oreille { display: none !important; }
.panneau-micro .pm-ondes { display: none; align-items: center; justify-content: center; gap: 6px; height: 44px; }
.panneau-micro.ecoute .pm-stop { display: none; }
.panneau-micro.ecoute .pm-ondes { display: flex; }
.pm-ondes i { width: 7px; height: 14px; border-radius: 4px; background: #fff; animation: pm-barre .7s ease-in-out infinite alternate; }
.pm-ondes i:nth-child(2) { animation-delay: .12s; }
.pm-ondes i:nth-child(3) { animation-delay: .24s; }
.pm-ondes i:nth-child(4) { animation-delay: .36s; }
.pm-ondes i:nth-child(5) { animation-delay: .48s; }
@keyframes pm-barre { to { height: 40px; } }
@media (prefers-reduced-motion: reduce) { .pm-ondes i { animation: none; height: 26px; } }
/* Bulle d'écoute : juste le point rouge et un micro, les vagues autour du bouton suffisent. */
.tour-vive .bulle-moi { gap: 10px; padding: 8px 18px; }
.micro-vive { width: 26px; height: 26px; color: #0B6E4F; }
