/* Recap · index · carte « Ton profil » (classe + prénom) — même carte que « À propos », texte simple et calme */
  .me-card { --c: var(--teal); font-family: "Patrick Hand", "Tajawal", system-ui, -apple-system, "Segoe UI", sans-serif; padding-top: 0; animation: me-in .6s cubic-bezier(.22, 1.2, .36, 1) both; }
  .me-card input, .me-card button { font-family: inherit; }
  .me-title { margin: 0; font-size: 1.7rem; font-weight: 400; line-height: 1.1; color: var(--ink); }
  .me-sub { margin: 6px 4px 0; font-size: 1.02rem; line-height: 1.4; color: var(--muted); }
  .me-fields { margin-top: 16px; }
  .me-fields li { font-weight: 400; transition: box-shadow .18s ease; }
  .me-fields li:focus-within { box-shadow: 0 0 0 2px var(--c); }
  .me-f { flex: 1; min-width: 0; display: block; cursor: text; }
  .me-f small { display: flex; justify-content: space-between; align-items: baseline; font-size: .82rem; font-weight: 400; letter-spacing: .02em; color: var(--muted); }
  .me-f small em { font-style: normal; font-size: .78rem; opacity: .8; }
  .me-f small em.max { color: #cf3a3a; opacity: 1; }
  .me-f input { display: block; width: 100%; box-sizing: border-box; margin: 1px 0 0; padding: 0; border: 0; outline: 0; background: transparent; font-size: 1.3rem; line-height: 1.3; color: var(--text); }
  .me-f input::placeholder { color: var(--muted); opacity: .5; }
  .me-cls { display: flex; align-items: baseline; font-size: 1.3rem; line-height: 1.3; color: var(--text); }
  .me-cls b { font-weight: 400; }
  .me-cls input { flex: 0 0 1.2em; width: 1.2em; }
  .me-err { margin: 10px 0 0; min-height: 18px; font-size: .92rem; color: #cf3a3a; opacity: 0; transition: opacity .15s ease; }
  .me-err.show { opacity: 1; }
  .me-card .ap-actions { margin-top: 8px; }
  .me-card .pwa-go { font-weight: 400; font-size: 1.1rem; }
  .me-card.shake { animation: id-shake .32s ease; }
  /* bouton « modifier » de l'accueil (coin bas-gauche de la carte) */
  .me-edit { position: absolute; left: 12px; bottom: 12px; width: 34px; height: 34px; padding: 0; display: grid; place-items: center; border: 0; border-radius: 50%; cursor: pointer;
    background: color-mix(in srgb, var(--ink) 10%, transparent); -webkit-tap-highlight-color: transparent; transition: background .2s ease, transform .15s ease; }
  .me-edit svg { width: 17px; height: 17px; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
  .me-edit:hover { background: color-mix(in srgb, var(--ink) 18%, transparent); }
  .me-edit:active { transform: scale(.92); }
  .js #start .pi .me-edit.rv { transition: opacity .6s ease, background .2s ease, transform .15s ease; }

  /* ---------- apparition : la carte se pose, puis chaque élément arrive l'un après l'autre ---------- */
  .me-emblem { margin-bottom: 6px; }
  @keyframes me-in { from { opacity: 0; transform: translateY(40px) scale(.94) rotate(-2.5deg); } 60% { opacity: 1; } to { opacity: 1; transform: none; } }
  @keyframes me-tape { from { opacity: 0; transform: translateY(-18px) scale(1.5); } to { opacity: 1; transform: none; } }
  @keyframes me-up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
  @keyframes me-ico { from { opacity: 0; transform: scale(.3) rotate(-18deg); } to { opacity: 1; transform: none; } }
  .me-card .ab-tape { animation: me-tape .5s cubic-bezier(.34, 1.5, .64, 1) .3s both; }
  .me-card .ab-tape.t2 { animation-delay: .4s; }
  .me-title { animation: me-up .5s ease .5s both; }
  .me-sub { animation: me-up .5s ease .62s both; }
  .me-fields li { animation: me-up .5s cubic-bezier(.22, 1, .36, 1) calc(.74s + var(--n, 0) * 130ms) both; }
  .me-fields li:nth-child(2) { --n: 1; }
  .me-fields li .ic { animation: me-ico .55s cubic-bezier(.34, 1.6, .64, 1) calc(.9s + var(--n, 0) * 130ms) both; }
  .me-card .ap-actions { animation: me-up .5s ease 1.08s both; }
  .me-modal.closing .me-card, .me-modal.closing .me-card * { animation: none; }
  .me-modal.closing .me-card { animation: about-out .16s ease forwards; }
  @media (prefers-reduced-motion: reduce) { .me-card, .me-card *, .me-emblem svg { animation: none !important; } }
