/* ═══════════════ Djouney v3 — connexion et profil (module H) ═══════════════
   Connexion (.au-), profil (.pf-) et calque de connexion posé par main.js (.au-overlay).
   Voir ARCHITECTURE.md § 8, § 11 et § 12. */

.au,
.pf {
  /* Encre aubergine adoucie : contraste ≥ 5,3:1 sur la porcelaine, le lait, le bord du fond
     (#EADFD2) et la lumière de la scène d'encre (#E7CFB0 au plus sombre). */
  --au-soft: rgba(var(--ink-rgb), .74);
}

/* Les liens discrets gardent une cible tactile de 44 px. */
.au .btn--quiet,
.pf .btn--quiet { min-height: 44px; }

/* ═══════════════ Calque de connexion (par-dessus l'arrivée) ═══════════════ */

.au-overlay {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  overscroll-behavior: contain;
  /* Le même papier crème que le fond de l'app, grain compris (le calque le recouvre entièrement). */
  background-color: var(--porcelain);
  background-image:
    var(--grain, none),
    radial-gradient(120vmax 90vmax at 0% 0%, #FBF5EC 0%, var(--porcelain) 55%, #EADFD2 100%);
  background-size: 180px 180px, auto;
  animation: au-overlay-in var(--slow) var(--ease) both;
}
.au-overlay > .screen {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
}
.au-overlay .au-inner { animation: au-rise 900ms var(--ease) 80ms both; }
/* « Revenir à la lettre » : toujours visible en haut à gauche du calque de connexion. */
.au-overlay__back {
  position: fixed;
  z-index: 1;
  top: calc(10px + var(--safe-top));
  left: max(10px, calc((100vw - 720px) / 2 + 10px));
  color: var(--ink);
}

@keyframes au-overlay-in {
  from { opacity: 0; }
}

/* ═══════════════ Connexion ═══════════════ */

.au-scroll {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior-y: contain;
  -webkit-overflow-scrolling: touch;
  padding: calc(12px + var(--safe-top)) 16px calc(32px + var(--safe-bottom));
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
/* Marges automatiques : centré quand tout tient, défilable sinon. */
.au-inner {
  width: 100%;
  max-width: 440px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

/* Le fil rouge, d'où pend la carte. */
.au-thread {
  position: relative;
  display: block;
  flex: none;
  align-self: center;
  width: 1.5px;
  height: 40px;
  background: var(--thread);
  transform-origin: top;
  animation: au-thread 1.1s var(--ease) both;
}
.au-thread::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -2px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--thread);
  transform: translateX(-50%);
}
@keyframes au-thread {
  from { transform: scaleY(0); }
}

/* ─── Accueil : la scène d'encre ─── */
/* Hauteur de la scène : la moitié haute de l'écran ; plus basse quand l'encre est déjà épanouie
   (déjà venu sur cet appareil), pour laisser la place au formulaire. */
.au--login {
  --au-scene-h: clamp(250px, 48vh, 500px);
  --au-overlap: 34px; /* le nom se pose dans le fondu crème du bas de la scène */
}
.au--welcomed { --au-scene-h: clamp(200px, 36vh, 400px); }
@supports (height: 1dvh) {
  .au--login { --au-scene-h: clamp(250px, 48dvh, 500px); }
  .au--welcomed { --au-scene-h: clamp(200px, 36dvh, 400px); }
}

/* La scène va d'un bord à l'autre de la colonne, sous la zone sûre du haut. */
.au-hero {
  position: relative;
  flex: none;
  margin: -4px calc(-1 * max(16px, env(safe-area-inset-right, 0px))) 0 calc(-1 * max(16px, env(safe-area-inset-left, 0px)));
}
.au-scene {
  position: relative;
  height: var(--au-scene-h);
  overflow: hidden;
  pointer-events: none;
  /* Le bas de l'encre se fond dans la crème où le nom va s'écrire (components/ink.js). */
  --ink-fade-from: 50%;
  --ink-fade-to: 96%;
  /* Le haut de l'image se fond dans le papier : pas d'arête sous la barre d'état (la goutte reste nette). */
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 16px);
  mask-image: linear-gradient(180deg, transparent 0, #000 16px);
}
.au-scene__frame {
  position: relative;
  height: 100%;
  width: min(100%, 560px);
  margin: 0 auto;
}
/* Colonne plus large que la scène : ses côtés se fondent aussi. */
@media (min-width: 600px) {
  .au-scene__frame {
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 16%, #000 84%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 16%, #000 84%, transparent 100%);
  }
}

/* ─── La petite feuille à déchirer, posée au bas de la scène ─── */
/* Elle occupe la place où le nom s'écrira ; ses deux moitiés tombent devant le reste. */
.au-demo-wrap {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  top: calc(var(--au-scene-h) - 100px);
  display: flex;
  justify-content: center;
  padding: 0 16px;
  pointer-events: none;
}
.au-demo {
  position: relative;
  width: min(100%, 272px);
  height: 168px;
  border-radius: var(--radius);
  pointer-events: auto;
  animation: au-rise var(--slow) var(--ease) 260ms both;
}

/* La feuille à déchirer, resserrée pour une petite carte : l'indication et le bouton sur une ligne. */
.au-demo .pc-tear__sheet { padding: 12px 16px; }
.au-demo .pc-tear__body {
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  column-gap: 2px;
  max-width: none;
}
.au-demo .pc-tear__title,
.au-demo .pc-tear__sub { flex: 0 0 100%; }
.au-demo .pc-tear__title { font-size: 38px; line-height: 1; }
.au-demo .pc-tear__sub { margin-top: 4px; font-size: 15px; line-height: 1.35; }
.au-demo .pc-tear__perf {
  flex: 0 0 68px;
  margin: 10px calc((100% - 68px) / 2) 2px;
}
.au-demo .pc-tear__hint { font-size: 12.5px; }
.au-demo .pc-tear__btn { padding: 0 10px; font-size: 12.5px; }

/* ─── Le nom qui s'écrit, la phrase qui vient ─── */
.au-brand {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 4px;
  text-align: center;
}
.au-brand__name {
  /* La boîte englobe le halo et les débords de la manuscrite : le masque d'écriture ne les coupe pas. */
  margin: -10px 0;
  padding: 10px 22px;
  font-family: var(--font-hand);
  font-weight: 600;
  font-size: clamp(56px, 16.5vw, 64px);
  line-height: 1.02;
  letter-spacing: .5px;
  color: var(--ink);
  /* Un halo de papier : le nom reste net même posé sur un filet d'encre. */
  text-shadow: 0 0 16px var(--porcelain), 0 0 3px var(--porcelain);
}
.au-brand__line {
  max-width: 28ch;
  margin: 6px 0 0;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.45;
  color: var(--au-soft);
}
/* La plume trace le nom de gauche à droite : un masque doux balaie le mot. */
.au-brand.is-writing .au-brand__name {
  -webkit-mask-image: linear-gradient(90deg, #000 44%, transparent 56%);
  mask-image: linear-gradient(90deg, #000 44%, transparent 56%);
  -webkit-mask-size: 260% 100%;
  mask-size: 260% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  animation: au-write 1500ms cubic-bezier(.42, .12, .32, 1) both;
}
.au-brand.is-writing .au-brand__line { animation: au-rise 800ms var(--ease) 950ms both; }
@keyframes au-write {
  from { -webkit-mask-position: 100% 0; mask-position: 100% 0; }
  to { -webkit-mask-position: 0 0; mask-position: 0 0; }
}

/* Le formulaire monte doucement, une fois le nom écrit. */
.au-stage.is-rising { animation: au-rise-far 900ms var(--ease) both; }
.au-stage.is-rising .au-card { animation: none; }
@keyframes au-rise-far {
  from { opacity: 0; transform: translateY(34px); }
}

/* Accueil : le contenu suit la scène et s'y pose, au lieu d'être centré. */
.au--login .au-inner {
  position: relative;
  z-index: 1;
  margin: calc(-1 * var(--au-overlap)) auto 0;
  gap: 18px;
}
.au--login.au--first:not(.is-revealed) .au-inner { min-height: 120px; }

/* ─── En-tête « Pour lui répondre » ─── */
.au-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.au-head .au-thread { margin-bottom: 16px; }
.au-title {
  margin: 0;
  font-family: var(--font-hand);
  font-weight: 500;
  font-size: clamp(42px, 12vw, 54px);
  line-height: 1.04;
  color: var(--ink);
  outline: none;
}
.au-sub {
  max-width: 30ch;
  min-height: 1.45em;
  margin: 8px 0 0;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 16.5px;
  line-height: 1.45;
  color: var(--au-soft);
}

/* ─── Formulaire ─── */
.au-stage { min-height: 120px; }
.au-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px 20px 14px;
  animation: au-rise var(--slow) var(--ease) both;
}
.au-step-title {
  margin: 0;
  font-family: var(--font-hand);
  font-weight: 500;
  font-size: clamp(34px, 9.5vw, 40px);
  line-height: 1.05;
  color: var(--ink);
  overflow-wrap: anywhere;
}
.au-step-sub {
  margin: -10px 0 2px;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 15.5px;
  line-height: 1.45;
  color: var(--au-soft);
  overflow-wrap: anywhere;
}
.au-target { white-space: nowrap; font-style: normal; font-family: var(--font-ui); font-size: 14.5px; color: var(--ink); }
.au-target--mail { white-space: normal; overflow-wrap: anywhere; }

.au-field { display: flex; flex-direction: column; min-width: 0; }
.au-label {
  display: block;
  margin: 0 0 8px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--au-soft);
}
.au .field[aria-invalid="true"] { box-shadow: var(--deboss), inset 3px 0 0 var(--thread); }

/* Indicatif : la face montre le code du pays et l'indicatif, la liste native (invisible) reste au-dessus. */
.au-phone-row { display: flex; gap: 10px; min-width: 0; }
.au-country {
  position: relative;
  flex: none;
  width: 108px;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0 12px 0 14px;
}
.au-country:focus-within { box-shadow: var(--deboss), 0 0 0 2px var(--ink-faint); }
.au-country__face {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: baseline;
  gap: 6px;
  white-space: nowrap;
  overflow: hidden;
  font-variant-numeric: tabular-nums;
}
.au-country__iso {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .5px;
  color: var(--au-soft);
}
.au-country__chev { flex: none; width: 14px; height: 14px; color: var(--au-soft); }
.au-country__select {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  opacity: 0;
  font-size: 16px; /* évite le zoom d'iOS */
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}
.au-phone { flex: 1; min-width: 0; font-variant-numeric: tabular-nums; letter-spacing: .3px; }

/* Message sous les champs : toujours présent (région annoncée), sans place quand il est vide. */
.au-msg {
  margin: -6px 0 0;
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--ink);
}
.au-msg:empty { margin: -8px 0; }
.au-msg:not(:empty)::before {
  content: "";
  display: inline-block;
  width: 12px;
  height: 1.5px;
  margin: 0 8px 0 0;
  vertical-align: middle;
  background: var(--thread);
}

.au-submit { margin-top: 2px; }
.au-swap { align-self: center; }

/* ─── Le code : six creux qui se remplissent ─── */
.au-code { position: relative; }
.au-code__cells {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
}
.au-cell {
  position: relative;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--porcelain);
  box-shadow: var(--deboss);
  font-family: var(--font-ui);
  font-size: 24px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
  transition: background-color var(--mid) var(--ease), box-shadow var(--mid) var(--ease), opacity var(--mid) var(--ease);
}
.au-cell.is-filled {
  background: var(--milk);
  box-shadow: var(--emboss-sm);
  animation: au-digit 380ms var(--ease) both;
}
.au-code:focus-within .au-cell.is-current:not(.is-filled) { box-shadow: var(--deboss), 0 0 0 2px var(--ink-faint); }
/* Six chiffres posés : le focus reste visible sur la dernière case. */
.au-code:focus-within .au-cell.is-current.is-filled { box-shadow: var(--emboss-sm), 0 0 0 2px var(--ink-faint); }
/* Le curseur d'écriture : le seul élément qui clignote, doucement. */
.au-code:focus-within .au-cell.is-current:not(.is-filled)::after {
  content: "";
  width: 1.6px;
  height: 26px;
  border-radius: 1px;
  background: var(--flower);
  animation: au-blink 1.2s ease-in-out .4s infinite;
}
.au-code.is-checking .au-cell { opacity: .55; }
.au-code.is-done .au-cell { box-shadow: var(--emboss-sm), inset 0 -2px 0 color-mix(in srgb, var(--flower) 70%, transparent); }

.au-code__input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 14px;
  background: transparent;
  color: transparent;
  caret-color: transparent;
  -webkit-text-fill-color: transparent;
  font-size: 16px; /* évite le zoom d'iOS */
  letter-spacing: 1em;
  outline: none;
  cursor: text;
}
.au-code__input::selection { background: transparent; }
.au-code__input:-webkit-autofill {
  -webkit-text-fill-color: transparent;
  -webkit-box-shadow: 0 0 0 60px transparent inset;
  transition: background-color 99999s;
}

@keyframes au-digit {
  from { opacity: .3; transform: translateY(3px); }
}
@keyframes au-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: .12; }
}

.au-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0 12px;
  margin: -6px -10px 0;
}
.au-resend { font-variant-numeric: tabular-nums; }

/* ─── Sans e-mail : le prénom suffit (accueil, invitation) ; le code d'accès des anciens comptes ─── */
.au-links--sans-mail { justify-content: center; gap: 0 16px; margin-top: 2px; }
.au-links--center { justify-content: center; }
/* « Télécharger l'app » : en haut à droite de l'accueil, par-dessus la rose, visible sans défiler. */
.au-download {
  position: absolute;
  top: 6px;
  right: max(14px, env(safe-area-inset-right, 0px));
  z-index: 3;
}
/* Accueil : « ou », puis « Commencer sans e-mail » (v3-013), sous le bouton du code par e-mail. */
.au-or {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: -4px 0 -6px;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 14px;
  color: var(--au-soft);
}
.au-or::before,
.au-or::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--relief), transparent);
}
.au-sans-mail { width: 100%; min-height: 50px; }
.au-nowrap { white-space: nowrap; }
.au-acces {
  font-family: var(--font-ui);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-variant-numeric: tabular-nums;
}
.au-acces::placeholder { letter-spacing: .14em; opacity: .4; }

.au-hint {
  margin: -4px 0 4px;
  text-align: center;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 14px;
  color: var(--au-soft);
}

@keyframes au-rise {
  from { opacity: 0; transform: translateY(10px); }
}

/* ═══════════════ Profil ═══════════════ */

.pf-scroll {
  flex: 1;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior-y: contain;
  -webkit-overflow-scrolling: touch;
  padding: calc(6px + var(--safe-top)) 16px calc(36px + var(--safe-bottom));
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
/* Fenêtre d'écoute du Salon dans un coin du bas (de 84 à 345 px au-dessus de la zone sûre) : le bas du profil
   défile au-dessus d'elle. Dans un coin du haut, rien n'est réservé. */
html[data-salon="dock"]:not([data-salon-coin^="haut"]) .pf-scroll { padding-bottom: calc(357px + var(--safe-bottom)); }
.pf-inner {
  max-width: 520px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.pf-head {
  display: flex;
  align-items: center;
  min-height: 52px;
  margin-left: -8px;
}
.pf-back { color: var(--stem); }

.pf-hello { margin: 0 0 6px; }
.pf-title {
  margin: 0;
  font-family: var(--font-hand);
  font-weight: 500;
  font-size: clamp(50px, 14vw, 62px);
  line-height: 1;
  color: var(--ink);
  outline: none;
}
.pf-lede {
  margin: 6px 0 0;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 16.5px;
  line-height: 1.45;
  color: var(--au-soft);
}

.pf-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 20px;
  animation: au-rise var(--slow) var(--ease) both;
}
.pf-card + .pf-card { animation-delay: 90ms; }

.pf-label {
  display: block;
  margin: 0;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--au-soft);
}
.pf-hint {
  margin: -10px 0 0;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 14.5px;
  color: var(--au-soft);
}
.pf-name { display: flex; flex-direction: column; gap: 12px; }
.pf-name__row { display: flex; gap: 10px; min-width: 0; }
.pf-name__input {
  flex: 1;
  min-width: 0;
  font-family: var(--font-hand);
  font-size: 24px;
  font-weight: 500;
  padding-top: 8px;
  padding-bottom: 8px;
}
.pf-name__input::placeholder { font-family: var(--font-hand); }
.pf-name__input[aria-invalid="true"] { box-shadow: var(--deboss), inset 3px 0 0 var(--thread); }
.pf-name__save { flex: none; padding: 0 18px; }
.pf-msg {
  margin: -4px 0 0;
  font-size: 13.5px;
  color: var(--ink);
}
.pf-msg:empty { margin: -12px 0 0; }
.pf-msg:not(:empty)::before {
  content: "";
  display: inline-block;
  width: 12px;
  height: 1.5px;
  margin: 0 8px 0 0;
  vertical-align: middle;
  background: var(--thread);
}

.pf-id { display: flex; flex-direction: column; gap: 4px; }
.pf-id__value {
  margin: 0;
  font-size: 16px;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
  overflow-wrap: anywhere;
}

.pf-sep {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--relief) 18%, var(--relief) 82%, transparent);
  opacity: .75;
}

/* ─── Lignes de réglage ─── */
.pf-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 56px;
}
.pf-row__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.pf-row__label {
  margin: 0;
  font-size: 15.5px;
  font-weight: 500;
  color: var(--ink);
}
.pf-row__desc {
  margin: 0;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 14px;
  line-height: 1.45;
  color: var(--au-soft);
}
.pf-glyph { display: inline-flex; align-items: baseline; gap: 3px; font-style: normal; font-family: var(--font-ui); font-size: 13.5px; color: var(--ink); white-space: nowrap; }
.pf-glyph svg { width: 15px; height: 15px; align-self: center; }
.pf-install__btn { flex: none; min-height: 44px; padding: 0 18px; }

/* L'interrupteur : toute la ligne est le bouton. */
.pf-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
  min-height: 56px;
  margin: -4px 0;
  padding: 4px 0;
  border: 0;
  border-radius: 14px;
  background: none;
  color: inherit;
  text-align: left;
}
.pf-switch {
  position: relative;
  flex: none;
  width: 52px;
  height: 30px;
  border-radius: 999px;
  background: var(--porcelain);
  box-shadow: var(--deboss);
  transition: background-color var(--mid) var(--ease), box-shadow var(--mid) var(--ease);
}
.pf-switch::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--milk);
  box-shadow: 2px 3px 6px rgba(var(--shadow-rgb), .34), -1px -1px 2px rgba(var(--light-rgb), calc(.9 * var(--hl-a)));
  transition: transform var(--mid) var(--ease);
}
.pf-toggle[aria-checked="true"] .pf-switch {
  background: var(--flower);
  box-shadow: inset 1px 2px 4px rgba(var(--ink-rgb), .24);
}
.pf-toggle[aria-checked="true"] .pf-switch::after { transform: translateX(22px); }
/* Pas réglable ici (navigateur, iPhone pas encore installé, refus) : la ligne explique, sans interrupteur. */
.pf-toggle[aria-disabled="true"] { cursor: default; }
.pf-toggle[aria-disabled="true"] .pf-switch { display: none; }
.pf-toggle[aria-busy="true"] .pf-switch { opacity: .6; }

.pf-signout { align-self: center; margin-top: 4px; }
/* « Supprimer mon compte » : plus petit et plus pâle que la déconnexion, mais lisible (contraste ≥ 4,5:1). */
.pf-delete { align-self: center; margin-top: -6px; min-height: 40px; font-size: 13.5px; color: rgba(var(--ink-rgb), .72); }
.pf-foot__link { color: inherit; text-decoration: underline; text-underline-offset: 3px; }

/* Feuille « Te déconnecter ? » (posée dans body, hors de .pf). */
.pf-sheet-actions { display: flex; flex-direction: column; gap: 10px; }
.pf-sheet-actions .btn--quiet { min-height: 44px; }

.pf-foot {
  margin: 10px 0 0;
  text-align: center;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 14.5px;
  color: var(--au-soft);
}

/* ═══════════════ Mouvement réduit : de simples fondus ═══════════════ */
@media (prefers-reduced-motion: reduce) {
  .au-thread,
  .au-demo,
  .au-card,
  .au-cell.is-filled,
  .pf-card,
  .au-overlay .au-inner { animation-name: au-fade; }
  .au-code:focus-within .au-cell.is-current:not(.is-filled)::after { animation: none; }
  /* Accueil : la goutte est déjà une image fixe ; le nom, la phrase et le formulaire viennent en fondu. */
  .au-brand.is-writing .au-brand__name {
    -webkit-mask-image: none;
    mask-image: none;
    animation: au-fade 700ms ease both !important;
  }
  .au-brand.is-writing .au-brand__line { animation: au-fade 700ms ease 200ms both !important; }
  .au-stage.is-rising { animation: au-fade 600ms ease both !important; }
}
@keyframes au-fade {
  from { opacity: 0; }
}
