@font-face {
  font-family: "Fraunces";
  src: url("/static/polices/fraunces-latin.woff2") format("woff2");
  font-weight: 500 600;
  font-display: swap;
}

:root {
  --creme: #F2E8DC;
  --papier: #FAF5EE;
  --trait: #E3D3C4;
  --encre: #3A1512;
  --encre-douce: #6E4A44;
  --cerise: #8B1A1A;
  --cerise-pressee: #6E140C;
  --rose: #D48A95;
  --rose-pale: #F3D9DC;
  --titre: "Fraunces", "Iowan Old Style", Georgia, serif;
  --texte: -apple-system, "SF Pro Text", system-ui, sans-serif;
  --sortie: cubic-bezier(0.22, 1, 0.36, 1);
  --onglets: calc(64px + env(safe-area-inset-bottom));
  --ruban: repeating-linear-gradient(90deg, var(--rose) 0 6px, var(--cerise) 6px 12px);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--creme); }
body {
  margin: 0;
  min-height: 100dvh;
  background: var(--creme);
  color: var(--encre);
  font: 400 17px/24px var(--texte);
  -webkit-tap-highlight-color: transparent;
  -webkit-font-smoothing: antialiased;
}
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--cerise); outline-offset: 2px; border-radius: 6px; }

#app {
  max-width: 480px;
  margin: 0 auto;
  padding: calc(env(safe-area-inset-top) + 20px) 16px calc(var(--onglets) + 28px);
}
#app.sans-onglets { padding-bottom: calc(env(safe-area-inset-bottom) + 28px); }

/* ---- typographie */
.t-titre, .t-carte, .t-inter {
  font-family: var(--titre);
  font-variation-settings: "SOFT" 100, "WONK" 0;
  margin: 0;
  text-wrap: balance;
}
.t-titre { font-size: 34px; line-height: 38px; font-weight: 560; letter-spacing: -0.01em; }
.t-carte { font-size: 26px; line-height: 30px; font-weight: 560; }
.t-inter { font-size: 21px; line-height: 25px; font-weight: 600; color: var(--cerise); }
.legende { font-size: 14px; line-height: 19px; color: var(--encre-douce); margin: 0; }
.sur-titre { font-size: 14px; line-height: 19px; font-weight: 600; color: var(--cerise); margin: 0 0 6px; }
.date-jour { font-size: 14px; line-height: 19px; color: var(--encre-douce); margin: 0 0 4px; }

.entete { margin: 4px 0 20px; }
.entete .legende { margin-top: 6px; }
.entete-ligne { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.compteur { font-size: 14px; line-height: 19px; color: var(--encre-douce); white-space: nowrap; padding-bottom: 4px; }

/* ---- boutons */
.bouton {
  display: flex; align-items: center; justify-content: center;
  width: 100%; min-height: 52px; padding: 0 20px;
  border: 0; border-radius: 14px;
  background: var(--cerise); color: var(--papier);
  font-weight: 600; font-size: 17px;
  transition: background-color 200ms var(--sortie), transform 200ms var(--sortie);
}
.bouton:active { background: var(--cerise-pressee); transform: scale(0.985); }
.bouton.second { background: var(--papier); color: var(--cerise); box-shadow: inset 0 0 0 1.5px var(--cerise); }
.bouton.second:active { background: var(--rose-pale); }
.bouton:disabled { opacity: 0.45; }
.lien {
  border: 0; background: none; padding: 12px 4px; min-height: 44px;
  color: var(--cerise); font-weight: 600; font-size: 17px;
}
.lien.petit { font-size: 15px; padding: 10px 4px; }
.retour {
  display: inline-flex; align-items: center; gap: 4px;
  min-height: 44px; margin: -6px 0 6px -6px; padding: 0 6px;
  border: 0; background: none; color: var(--cerise); font-weight: 600;
}
.retour svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

/* ---- cartes */
.carte {
  position: relative; overflow: hidden;
  background: var(--papier); border-radius: 20px;
  padding: 22px 20px 20px;
  box-shadow: 0 1px 0 var(--trait), 0 8px 24px -18px rgba(58, 21, 18, 0.35);
  margin-bottom: 16px;
}
.carte.jour { padding-top: 32px; }
.carte.jour::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 10px; background: var(--ruban); }
.carte .t-carte { margin-bottom: 8px; }
.carte p { margin: 0 0 16px; }
.carte .bouton { margin-top: 4px; }
.carte.note { padding-top: 18px; }
.carte.note .question { font-weight: 600; margin: 0 40px 14px 0; }
.fermer {
  position: absolute; top: 6px; right: 6px; width: 44px; height: 44px;
  border: 0; border-radius: 22px; background: none; color: var(--encre-douce);
  display: grid; place-items: center;
}
.fermer svg { width: 18px; height: 18px; stroke: currentColor; stroke-width: 2; fill: none; stroke-linecap: round; }
.choix-note { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 12px; }
.choix-note button {
  min-height: 52px; border-radius: 14px; border: 0;
  background: var(--rose-pale); color: var(--encre); font-weight: 600; font-size: 16px;
  display: flex; align-items: center; justify-content: center; gap: 6px;
  transition: background-color 200ms var(--sortie);
}
.choix-note button:active { background: var(--rose); }
.choix-note .coeur-note { width: 18px; height: 18px; }
.coeur-note path { fill: transparent; stroke: var(--cerise); stroke-width: 2; transition: fill 200ms ease-out; }
.coeur-note.plein path { fill: var(--cerise); }
.carte.note.part { opacity: 0; transform: translateY(-6px); transition: opacity 220ms var(--sortie), transform 220ms var(--sortie); }
.case {
  display: flex; align-items: center; gap: 12px; min-height: 44px;
  font-size: 16px; color: var(--encre);
}
.case input { position: absolute; opacity: 0; pointer-events: none; }
.case .boite {
  flex: none; width: 24px; height: 24px; border-radius: 7px;
  box-shadow: inset 0 0 0 2px var(--encre-douce); display: grid; place-items: center;
}
.case input:checked + .boite { background: var(--cerise); box-shadow: none; }
.case input:checked + .boite::after { content: ""; width: 11px; height: 6px; border: 2.5px solid var(--papier); border-top: 0; border-right: 0; transform: translateY(-2px) rotate(-45deg); }
.case input:focus-visible + .boite { outline: 2px solid var(--cerise); outline-offset: 2px; }
.pas-faite { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; }

/* ---- listes de dîners */
.section { margin: 28px 0 10px; display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.liste { list-style: none; margin: 0; padding: 0; }
.ligne {
  display: flex; align-items: center; gap: 14px;
  min-height: 64px; padding: 10px 0;
  border-bottom: 1px solid var(--trait);
}
.ligne:last-child { border-bottom: 0; }
.ligne .corps { flex: 1; min-width: 0; }
.ligne .nom { font-weight: 600; margin: 0 0 2px; }
.ligne .jour { flex: none; width: 52px; font-size: 15px; line-height: 20px; color: var(--encre-douce); }
.chevron { flex: none; width: 18px; height: 18px; fill: none; stroke: var(--trait); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.ligne.faite .nom { color: var(--encre-douce); }
.ligne.lien-ligne:active { background: var(--rose-pale); }
.marque { color: var(--cerise); font-weight: 600; }
.bloc { background: var(--papier); border-radius: 20px; padding: 2px 18px; }

.ligne-courses {
  display: flex; align-items: center; gap: 14px; min-height: 64px;
  background: var(--papier); border-radius: 20px; padding: 10px 18px; margin-top: 16px;
}
.ligne-courses .corps { flex: 1; }
.ligne-courses .nom { font-weight: 600; margin: 0; }

.annonce { text-align: left; padding: 30px 20px 22px; }
.annonce .coeur-grand { width: 44px; height: 44px; display: block; margin-bottom: 14px; }
.annonce .coeur-grand path { fill: var(--cerise); }

/* ---- recette */
.recette .t-carte { margin: 0 0 8px; font-size: 30px; line-height: 34px; }
.recette .meta { color: var(--encre-douce); margin: 0 0 4px; }
.recette-tete { display: flex; gap: 12px; align-items: flex-start; }
.recette-tete > div { flex: 1; }
.bouton-coeur {
  flex: none; width: 48px; height: 48px; margin: -4px -8px 0 0;
  border: 0; background: none; display: grid; place-items: center; border-radius: 24px;
}
.bouton-coeur svg { width: 28px; height: 28px; }
.bouton-coeur path { fill: transparent; stroke: var(--cerise); stroke-width: 1.8; transition: fill 200ms ease-out; }
.bouton-coeur[aria-pressed="true"] path { fill: var(--cerise); }
.allume { margin: 8px 0 0; }
.grand { font-size: 21px; line-height: 28px; }
.ingredients { list-style: none; margin: 0; padding: 0; }
.ingredients li { padding: 9px 0; border-bottom: 1px solid var(--trait); }
.ingredients li:last-child { border-bottom: 0; }
.ingredients b { font-weight: 700; }
.gestes { list-style: none; margin: 0; padding: 0; counter-reset: geste; }
.gestes li {
  counter-increment: geste; position: relative;
  padding: 14px 0 14px 46px; border-bottom: 1px solid var(--trait);
}
.gestes li::before {
  content: counter(geste); position: absolute; left: 0; top: 14px;
  width: 32px; height: 32px; border-radius: 16px;
  background: var(--cerise); color: var(--papier);
  font: 600 17px/32px var(--texte); text-align: center;
}
.gestes li:last-child { border-bottom: 0; }
.gestes li.gamelle { background: var(--rose-pale); border-radius: 16px; border: 0; padding: 14px 14px 14px 58px; margin-top: 8px; }
.gestes li.gamelle::before { left: 12px; }
.encadre { background: var(--rose-pale); border-radius: 16px; padding: 14px 16px; margin: 12px 0 0; }
.ligne-limite { margin: 0 0 16px; color: var(--encre-douce); font-size: 15px; line-height: 21px; }
.encadre.ligne-etat { font-size: 15px; line-height: 21px; padding: 12px 14px; margin: 0 0 16px; }
.encadre p { margin: 0; }
.encadre .t-inter { font-size: 17px; line-height: 22px; margin-bottom: 4px; }

details.pli { background: var(--papier); border-radius: 20px; margin-top: 16px; }
details.pli > summary {
  list-style: none; display: flex; align-items: center; gap: 12px;
  min-height: 60px; padding: 12px 18px; cursor: pointer;
}
details.pli > summary::-webkit-details-marker { display: none; }
details.pli > summary .corps { flex: 1; }
details.pli > summary .t-inter { font-size: 19px; line-height: 24px; }
details.pli > summary::after {
  content: ""; flex: none; width: 10px; height: 10px; margin-right: 4px;
  border: solid var(--cerise); border-width: 0 2.4px 2.4px 0; transform: rotate(45deg) translateY(-3px);
  transition: transform 200ms var(--sortie);
}
details.pli[open] > summary::after { transform: rotate(-135deg) translateY(-3px); }
details.pli .dedans { padding: 0 18px 16px; }
.remplacements { list-style: none; margin: 0; padding: 0; }
.remplacements li { padding: 8px 0; font-size: 19px; line-height: 26px; }
table.chiffres { width: 100%; border-collapse: collapse; font-size: 16px; line-height: 22px; font-variant-numeric: tabular-nums; }
table.chiffres th { text-align: left; font-weight: 600; font-size: 14px; color: var(--encre-douce); padding: 6px 0; }
table.chiffres td { padding: 8px 0; border-top: 1px solid var(--trait); }
table.chiffres td:nth-child(n+2), table.chiffres th:nth-child(n+2) { text-align: right; padding-left: 10px; }
table.chiffres td:nth-child(3) { color: var(--encre-douce); }
.source { margin-top: 10px; }

/* ---- mois */
.mois-nav { display: flex; justify-content: space-between; margin: -8px -6px 4px; }
.bandeau {
  position: relative; border-radius: 14px; padding: 6px; margin: 0 0 18px;
  background: var(--ruban);
}
.bandeau span { display: block; background: var(--papier); border-radius: 9px; padding: 10px 14px; font-weight: 600; color: var(--cerise); text-align: center; }
.semaine { margin-top: 26px; }
.semaine-tete { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 6px; }
.ligne.mois-ligne { align-items: flex-start; padding: 14px 0; }
.ligne.mois-ligne .jour { padding-top: 1px; }
.ligne.change { background: var(--rose-pale); border-radius: 14px; margin: 4px -10px; padding: 14px 10px; border-bottom: 0; }
.ligne .actions { flex: none; display: flex; align-items: center; margin: -10px -4px -10px 0; }
.collant {
  position: sticky; bottom: calc(var(--onglets) + 12px); margin-top: 24px; z-index: 5;
}
.collant .bouton { box-shadow: 0 10px 24px -10px rgba(110, 20, 12, 0.55); }

/* ---- feuilles */
.pellicule {
  position: fixed; inset: 0; z-index: 40; background: rgba(58, 21, 18, 0.3);
  opacity: 0; transition: opacity 220ms var(--sortie);
}
.pellicule.ouverte { opacity: 1; }
.feuille {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 41;
  max-width: 480px; margin: 0 auto; max-height: 88dvh; overflow-y: auto; overscroll-behavior: contain;
  background: var(--papier); border-radius: 20px 20px 0 0;
  padding: 10px 20px calc(env(safe-area-inset-bottom) + 20px);
  transform: translateY(100%); transition: transform 250ms var(--sortie);
}
.feuille.ouverte { transform: translateY(0); }
.feuille.glisse { transition: none; }
.poignee { width: 40px; height: 5px; border-radius: 3px; background: var(--trait); margin: 0 auto 16px; }
.feuille .t-carte { margin-bottom: 12px; }
.feuille p { margin: 0 0 14px; }
.feuille .boutons { display: grid; gap: 10px; margin-top: 18px; }
.a-la-place { background: var(--creme); border-radius: 14px; padding: 12px 14px; margin-bottom: 14px; }
.a-la-place .nom { font-weight: 600; margin: 2px 0 0; }
.alternative {
  display: flex; align-items: center; gap: 12px; width: 100%; text-align: left;
  min-height: 64px; padding: 10px 0; border: 0; border-bottom: 1px solid var(--trait); background: none;
}
.alternative:active { background: var(--rose-pale); }
.alternative .corps { flex: 1; }
.alternative .nom { font-weight: 600; margin: 0 0 2px; }
.puces { display: flex; gap: 8px; flex-wrap: wrap; margin: 8px 0 0; }
.puce {
  min-height: 40px; padding: 0 16px; border-radius: 20px; border: 0;
  background: var(--creme); color: var(--encre); font-size: 15px; font-weight: 600; white-space: nowrap;
  transition: background-color 200ms var(--sortie), color 200ms var(--sortie);
}
.puce[aria-pressed="true"] { background: var(--cerise); color: var(--papier); }
.confirmation { margin: 12px 0 0; }

/* ---- courses */
.rayon { margin-top: 22px; }
.rayon .t-inter { margin-bottom: 4px; }
.article {
  display: flex; align-items: center; gap: 12px; min-height: 56px;
  border-bottom: 1px solid var(--trait);
}
.article:last-child { border-bottom: 0; }
.article .cocher {
  flex: 1; display: flex; align-items: center; gap: 14px; min-height: 56px; padding: 8px 0;
  border: 0; background: none; text-align: left; font-size: 21px; line-height: 28px;
}
.rond {
  flex: none; width: 28px; height: 28px; border-radius: 14px;
  box-shadow: inset 0 0 0 2px var(--encre-douce); display: grid; place-items: center;
  transition: background-color 200ms var(--sortie);
}
.article.pris .rond { background: var(--cerise); box-shadow: none; }
.article.pris .rond::after { content: ""; width: 12px; height: 7px; border: 2.5px solid var(--papier); border-top: 0; border-right: 0; transform: translateY(-2px) rotate(-45deg); }
.article.pris .texte { color: var(--encre-douce); text-decoration: line-through; text-decoration-thickness: 1.5px; }
.article .info {
  flex: none; width: 48px; height: 48px; margin-right: -8px; border: 0; background: none;
  display: grid; place-items: center; color: var(--encre-douce);
}
.article .info span {
  width: 26px; height: 26px; border-radius: 13px; box-shadow: inset 0 0 0 1.5px currentColor;
  font: 600 14px/26px var(--titre); font-style: italic; text-align: center;
}
.bloc.rayon-bloc { padding: 0 18px; }
.ajout { display: flex; gap: 10px; margin-top: 22px; }
.ajout input {
  flex: 1; min-width: 0; min-height: 52px; padding: 0 16px;
  border: 0; border-radius: 14px; background: var(--papier); box-shadow: inset 0 0 0 1.5px var(--trait);
  font-size: 17px;
}
.ajout input::placeholder, textarea::placeholder, .recherche::placeholder { color: var(--encre-douce); opacity: 1; }
.ajout .bouton { width: auto; }
.tout-pris { text-align: center; padding: 64px 20px 32px; }
.tout-pris svg { width: 40px; height: 40px; margin-bottom: 14px; }
.tout-pris path { fill: var(--cerise); }
.recettes-article { list-style: none; margin: 0; padding: 0; }
.recettes-article li { padding: 10px 0; border-bottom: 1px solid var(--trait); }
.recettes-article li:last-child { border-bottom: 0; }

/* ---- réserve */
.recherche {
  width: 100%; min-height: 48px; padding: 0 16px 0 44px; margin-bottom: 12px;
  border: 0; border-radius: 14px; background: var(--papier) no-repeat 14px 50% / 20px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236E4A44' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='M15.5 15.5 20 20'/%3E%3C/svg%3E");
  box-shadow: inset 0 0 0 1.5px var(--trait); font-size: 17px;
}
.defile { display: flex; gap: 8px; overflow-x: auto; margin: 0 -16px 8px; padding: 0 16px 6px; scrollbar-width: none; }
.defile::-webkit-scrollbar { display: none; }
.defile .puce { background: var(--papier); }
.defile .puce[aria-pressed="true"] { background: var(--cerise); }
.vignette {
  flex: none; width: 48px; height: 48px; border-radius: 10px; overflow: hidden;
  background: var(--rose-pale); display: grid; place-items: center; border: 0; padding: 0; color: var(--cerise);
}
.vignette img { width: 100%; height: 100%; object-fit: cover; }
.vignette svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.coeur-fixe { flex: none; width: 22px; height: 22px; }
.coeur-fixe path { fill: var(--cerise); }

/* ---- ajouter et relire */
textarea.idee {
  width: 100%; min-height: 132px; padding: 16px; resize: vertical;
  border: 0; border-radius: 16px; background: var(--papier); box-shadow: inset 0 0 0 1.5px var(--trait);
  font-size: 19px; line-height: 26px;
}
.aide { margin: 10px 0 16px; }
.statut-idee { margin: 2px 0 0; }
.statut-idee.prete { color: var(--cerise); font-weight: 600; }
.trois { display: grid; gap: 10px; margin-top: 26px; }

/* ---- code */
.ecran-code {
  position: fixed; inset: 0; display: flex; overflow-y: auto; padding: 24px 16px;
  background-color: var(--creme);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72' viewBox='0 0 72 72'%3E%3Cg fill='%238B1A1A'%3E%3Cpath transform='translate(10 10) rotate(-12 6 6) scale(.5)' d='M12 21c-5-4-11-8-11-13 0-3 2-6 5-6 3 0 5 2 6 4 1-2 3-4 6-4 3 0 5 3 5 6 0 5-6 9-11 13z'/%3E%3Cpath transform='translate(46 44) rotate(10 6 6) scale(.42)' d='M12 21c-5-4-11-8-11-13 0-3 2-6 5-6 3 0 5 2 6 4 1-2 3-4 6-4 3 0 5 3 5 6 0 5-6 9-11 13z'/%3E%3C/g%3E%3C/svg%3E");
}
.carte-code {
  width: 100%; max-width: 360px; margin: auto; background: var(--papier); border-radius: 24px;
  padding: 30px 22px 24px; text-align: center;
  box-shadow: 0 18px 40px -24px rgba(58, 21, 18, 0.5);
}
.carte-code .coeur-grand { width: 40px; height: 40px; margin: 0 auto 10px; display: block; }
.carte-code .coeur-grand path { fill: var(--cerise); }
.carte-code .t-titre { margin-bottom: 4px; }
.carte-code p { margin: 0 0 18px; }
.points { display: flex; justify-content: center; gap: 16px; margin: 4px 0 26px; }
.points span {
  width: 14px; height: 14px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--cerise);
  transition: background-color 120ms var(--sortie);
}
.points span.plein { background: var(--cerise); }
.pave { display: grid; grid-template-columns: repeat(3, 72px); justify-content: center; gap: 14px 24px; }
.pave button {
  width: 72px; height: 72px; border-radius: 50%; border: 0; padding: 0; cursor: pointer;
  font: inherit; color: var(--encre); background: none;
  touch-action: manipulation; -webkit-tap-highlight-color: transparent; -webkit-user-select: none; user-select: none;
  transition: background-color 120ms var(--sortie);
}
.pave .touche {
  background: var(--papier); box-shadow: inset 0 0 0 1.5px var(--trait);
  font: 500 30px/1 var(--texte); font-variant-numeric: tabular-nums;
}
.pave .touche:active { background: var(--rose-pale); }
.pave .touche-effacer { font: 500 16px/1 var(--texte); color: var(--encre-douce); }
.pave .touche-effacer:active { background: var(--rose-pale); }
.pave button:focus-visible { outline: 2px solid var(--cerise); outline-offset: 2px; }
@media (max-height: 700px) {
  .carte-code { padding-top: 22px; }
  .carte-code .coeur-grand { display: none; }
  .points { margin-bottom: 18px; }
  .pave { row-gap: 10px; }
}
.carte-code .encadre { text-align: left; margin: 0 0 16px; }

/* ---- onglets */
.onglets {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  display: grid; grid-template-columns: repeat(5, 1fr);
  height: var(--onglets); padding-bottom: env(safe-area-inset-bottom);
  background: var(--papier); box-shadow: 0 -1px 0 var(--trait);
}
.onglets a {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  font-size: 12px; line-height: 14px; font-weight: 500; color: var(--encre-douce);
}
.onglets svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.onglets a[aria-current="page"] { color: var(--cerise); font-weight: 600; }
.onglets a[aria-current="page"] svg { fill: var(--rose-pale); stroke-width: 2.1; }

/* ---- squelette et petits messages */
.squelette .os { background: var(--papier); border-radius: 12px; margin-bottom: 12px; }
.squelette .os.titre { height: 38px; width: 60%; }
.squelette .os.court { height: 16px; width: 38%; }
.squelette .os.carte-os { height: 168px; border-radius: 20px; margin-top: 20px; }
.squelette .os.ligne-os { height: 52px; }
.bulle {
  position: fixed; left: 16px; right: 16px; bottom: calc(var(--onglets) + 14px); z-index: 50;
  max-width: 448px; margin: 0 auto; padding: 14px 16px; border-radius: 14px;
  background: var(--encre); color: var(--papier); font-size: 15px; line-height: 21px;
  opacity: 0; transform: translateY(8px); transition: opacity 220ms var(--sortie), transform 220ms var(--sortie);
  pointer-events: none;
}
.bulle.vue { opacity: 1; transform: none; }
.vide { padding: 28px 0; }

.ecran { animation: arrivee 220ms var(--sortie); }
@keyframes arrivee { from { opacity: 0; transform: translateY(4px); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0ms !important; animation: none !important; }
}
