/*
 * ============================================================
 * YUMEUS — assets/css/pwa.css
 * Feuille commune de la PWA (écrans connectés + écrans d'authentification).
 * Chargée par webapp/common-design.php (esus_cd_head / esus_cd_head_auth).
 *
 * V1.7 — 2026-11-20 01:25 : Palier V : carte des trois portes (.y-doors, .y-door) et numéro du miroir (.y-mirror).
 * V1.6 — 2026-11-19 23:45 : fleur de cerisier en bas à droite des cartes des promesses (.y-card--promise).
 * V1.5 — 2026-11-19 23:35 : promesses : fleur de cerisier + idéogramme + lecture à la même taille (aligné sur le site).
 * V1.4 — 2026-11-19 23:15 : .y-kanji et .y-promise (six promesses de l'accueil de l'app, alignées sur le site).
 * V1.3 — 2026-11-19 16:40 : thème Crépuscule (fond #38486A, texte blanc, accents rose #EFB7BF) ; cartes, feuilles,
 *   bulles vocales et champs restent clairs ; logo dans un disque blanc. Section « Thème Crépuscule » en fin de fichier.
 * V1.2 — 2026-11-19 08:35 : capsules autour du portrait (.y-capwrap, .y-capcol, .y-cap, .y-caprow) ; portrait flouté au départ :
 *   la photo pixelisée sert de fond, les cases cachées la laissent voir sous un voile crème.
 * V1.1 — 2026-11-19 13:40 : portrait 5×5 : 5 rangées égales et cases remplies (une case ouverte ne déborde plus sur la rangée suivante).
 * V1.0 — 2026-11-19 03:20 : création d'après les maquettes Accueil, Profil (carnet), Échange, Mes ōka
 *   et le cahier v3.36 §2. Remplace le CSS inline d'ESUS (esus_cd_css, charte bleu/or D&B).
 *   Les @font-face et les jetons de couleur sont ceux de style.css (site) : une seule charte.
 *
 * INVENTAIRE
 *   1. Polices (Inter, Cormorant Garamond, locales)    9. Pastilles (délai, solde, statut)
 *   2. Jetons (:root)                                  10. Bulles vocales (bleu moi / rose l'autre)
 *   3. Base et écran (.y-screen, fonds crème / brume)  11. Portrait 5×5 + Orbe
 *   4. Barre haute (.y-top)                            12. Jauge (5 échanges) et barre de progression
 *   5. Barre d'onglets (.y-tabbar, 4 onglets)          13. Enregistreur (micro, durée, « Limiter à 20 s »)
 *   6. Titres et textes                                14. Ōka : solde, packs, historique
 *   7. Boutons pilule, choix (.y-chip)                 15. Feuille du bas, voile, bandeau (toast)
 *   8. Cartes, champs, cases à cocher                  16. Notifications, déconnexion, démarrage, push
 * ============================================================
 */

/* ── 1. Polices locales (mêmes fichiers que le site) ───────────────────── */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/fonts/inter-latin-400-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/fonts/inter-latin-ext-400-normal.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap; src: url('/assets/fonts/inter-latin-500-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap; src: url('/assets/fonts/inter-latin-ext-500-normal.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap; src: url('/assets/fonts/inter-latin-600-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap; src: url('/assets/fonts/inter-latin-ext-600-normal.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/fonts/cormorant-garamond-latin-400-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/fonts/cormorant-garamond-latin-ext-400-normal.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 500; font-display: swap; src: url('/assets/fonts/cormorant-garamond-latin-500-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 500; font-display: swap; src: url('/assets/fonts/cormorant-garamond-latin-ext-500-normal.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Cormorant Garamond'; font-style: italic; font-weight: 400; font-display: swap; src: url('/assets/fonts/cormorant-garamond-latin-400-italic.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Cormorant Garamond'; font-style: italic; font-weight: 400; font-display: swap; src: url('/assets/fonts/cormorant-garamond-latin-ext-400-italic.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* ── 2. Jetons ──────────────────────────────────────────────────────────── */
:root {
  --yum-creme: #F6F2EA; --yum-brume: #E6EDF3; --yum-blanc: #FFFFFF; --yum-creme-clair: #FBF8F3;
  --yum-ardoise: #2F3A40; --yum-gris: #5C6A70; --yum-sauge: #8FA68E;
  --yum-rose-voix: #C98F98; --yum-rose-pale: #F7E6E8; --yum-bleu-ardoise: #7F9BB3; --yum-bleu-brume: #B9C8D5;
  --yum-sable: #E8DFD0; --yum-sable-rose: #DDCFC8; --yum-cerisier: #E9B8BE; --yum-bronze: #A0785A;

  --yum-serif: 'Cormorant Garamond', 'Times New Roman', Georgia, serif;
  --yum-sans:  'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;

  --y-pill: 999px; --y-card: 24px; --y-field: 14px; --y-tile: 6px;
  --y-shadow: 0 8px 26px rgba(47, 58, 64, .05);
  --y-ease: cubic-bezier(.22, .61, .36, 1); --y-anim: 450ms;
  --y-tabbar-h: 68px; --y-max: 520px;
  --y-safe-b: env(safe-area-inset-bottom, 0px); --y-safe-t: env(safe-area-inset-top, 0px);
}

/* ── 3. Base et écran ───────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; min-height: 100dvh;
  background: var(--yum-creme); color: var(--yum-ardoise);
  font-family: var(--yum-sans); font-size: 15px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; overscroll-behavior-y: none;
}
body.y-brume { background: var(--yum-brume); }           /* écrans Profil et Échange */
body.y-crepuscule { background: #F3EBDD; }                /* Mode Crépuscule (valeur à fixer sur maquette) */
body.y-brume.y-crepuscule { background: #E9E6E4; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--yum-ardoise); text-underline-offset: 3px; text-decoration-color: var(--yum-sable-rose); }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--yum-bronze); outline-offset: 2px; border-radius: 8px; }
svg.y-ico, .y-ico svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

.y-screen {
  max-width: var(--y-max); margin: 0 auto;
  padding: calc(var(--y-safe-t) + 18px) 20px calc(var(--y-tabbar-h) + var(--y-safe-b) + 28px);
}
.y-screen--notab { padding-bottom: calc(var(--y-safe-b) + 28px); }
.y-stack > * + * { margin-top: 16px; }
.y-center { text-align: center; }
.is-hidden { display: none !important; }
.y-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }

/* ── 4. Barre haute ─────────────────────────────────────────────────────── */
.y-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; margin-bottom: 10px; }
.y-back { display: inline-flex; align-items: center; gap: 6px; padding: 8px 4px; font-size: .95rem; color: var(--yum-ardoise); text-decoration: none; background: none; border: 0; cursor: pointer; }
.y-back svg { width: 18px; height: 18px; }
.y-top__mark { width: 44px; height: 44px; flex-shrink: 0; }
.y-top__mark img { width: 100%; height: 100%; object-fit: contain; }
.y-top__right { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.y-icon-btn { position: relative; width: 44px; height: 44px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: transparent; border: 0; cursor: pointer; color: var(--yum-ardoise); }
.y-icon-btn:hover { background: rgba(255, 255, 255, .55); }
.y-dot { position: absolute; top: 9px; right: 9px; width: 8px; height: 8px; border-radius: 50%; background: var(--yum-rose-voix); box-shadow: 0 0 0 2px var(--yum-creme-clair); }
.notif-badge { display: none; position: absolute; top: 5px; right: 4px; min-width: 17px; height: 17px; padding: 0 5px; border-radius: 9px; background: var(--yum-rose-voix); color: #fff; font-size: 10px; font-weight: 600; line-height: 17px; text-align: center; }

/* En-tête d'échange : avatar, prénom, âge · ville, pastille de délai */
.y-peer { display: flex; align-items: center; gap: 14px; margin: 4px 0 16px; }
.y-avatar { width: 52px; height: 52px; border-radius: 50%; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; background: var(--yum-sable); color: var(--yum-ardoise); font-family: var(--yum-serif); font-size: 1.4rem; }
.y-avatar--rose { background: var(--yum-rose-pale); }
.y-peer__name { font-family: var(--yum-serif); font-size: 1.6rem; line-height: 1.1; }
.y-peer__meta { font-size: .85rem; color: var(--yum-gris); }
.y-peer .y-delay { margin-left: auto; }

/* ── 5. Barre d'onglets ─────────────────────────────────────────────────── */
.y-tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 900;
  display: flex; justify-content: center;
  background: rgba(251, 248, 243, .96); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-top: 1px solid rgba(160, 120, 90, .14);
  padding-bottom: var(--y-safe-b);
}
.y-tabbar__in { display: grid; grid-template-columns: repeat(4, 1fr); width: 100%; max-width: var(--y-max); height: var(--y-tabbar-h); }
.y-tab { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; text-decoration: none; color: var(--yum-gris); font-size: .74rem; transition: color var(--y-anim) var(--y-ease); }
.y-tab svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.y-tab.is-active { color: var(--yum-bronze); font-weight: 600; }
.y-tab .y-dot { top: 10px; right: calc(50% - 17px); }

/* ── 6. Titres et textes ────────────────────────────────────────────────── */
.y-h1 { font-family: var(--yum-serif); font-weight: 400; font-size: 2.2rem; line-height: 1.1; margin: 6px 0 14px; }
.y-h2 { font-family: var(--yum-serif); font-weight: 400; font-size: 1.5rem; line-height: 1.15; margin: 0 0 12px; }
.y-h3 { font-family: var(--yum-serif); font-weight: 500; font-size: 1.2rem; margin: 0 0 8px; }
.y-lead { font-size: .98rem; color: var(--yum-gris); margin: 0 0 18px; }
.y-accroche { font-family: var(--yum-serif); font-style: italic; font-size: 1.3rem; line-height: 1.35; color: var(--yum-gris); }
.y-small { font-size: .82rem; color: var(--yum-gris); }
.y-label { display: block; font-size: .85rem; color: var(--yum-ardoise); margin: 0 0 7px; }
.y-link { background: none; border: 0; padding: 6px; font-size: .9rem; color: var(--yum-gris); text-decoration: underline; text-decoration-color: var(--yum-sable-rose); text-underline-offset: 3px; cursor: pointer; }
.y-link:hover { color: var(--yum-bronze); }

/* ── 7. Boutons pilule et choix ─────────────────────────────────────────── */
.y-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%;
  min-height: 54px; padding: 0 24px; border-radius: var(--y-pill); border: 1px solid transparent;
  font-size: 1rem; font-weight: 500; text-decoration: none; cursor: pointer; user-select: none;
  transition: background var(--y-anim) var(--y-ease), border-color var(--y-anim) var(--y-ease), transform 160ms var(--y-ease), opacity var(--y-anim);
}
.y-btn:active { transform: scale(.985); }
.y-btn--primary { background: var(--yum-ardoise); color: var(--yum-creme); }
.y-btn--ghost   { background: var(--yum-creme-clair); color: var(--yum-ardoise); border-color: var(--yum-sable-rose); }
.y-btn--sauge   { background: var(--yum-sauge); color: #fff; }                 /* action finale */
.y-btn--inline  { display: inline-flex; width: auto; }
.y-btn--sm      { min-height: 42px; padding: 0 18px; font-size: .9rem; }
.y-btn[disabled], .y-btn.is-busy { opacity: .45; pointer-events: none; }
.y-btn.is-busy::after { content: ''; width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: y-spin .8s linear infinite; }
.y-actions { display: grid; gap: 12px; margin-top: 18px; }

.y-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.y-chip { position: relative; }
.y-chip input { position: absolute; opacity: 0; pointer-events: none; }
.y-chip span {
  display: inline-flex; align-items: center; min-height: 42px; padding: 0 18px; border-radius: var(--y-pill);
  border: 1px solid var(--yum-sable-rose); background: var(--yum-blanc); font-size: .92rem; cursor: pointer;
  transition: background var(--y-anim) var(--y-ease), color var(--y-anim) var(--y-ease), border-color var(--y-anim);
}
.y-chip input:checked + span { background: var(--yum-ardoise); border-color: var(--yum-ardoise); color: var(--yum-creme); }
.y-chip input:focus-visible + span { outline: 2px solid var(--yum-bronze); outline-offset: 2px; }

/* Curseur à crans (rayon : Ma ville · 5 · 10 · 25 · 50 · 100 · 150 km) */
.y-steps { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.y-steps::-webkit-scrollbar { display: none; }
.y-steps .y-chip span { min-height: 38px; padding: 0 14px; white-space: nowrap; }

/* ── 8. Cartes, champs, cases ───────────────────────────────────────────── */
.y-card { background: var(--yum-blanc); border-radius: var(--y-card); padding: 22px 20px; box-shadow: var(--y-shadow); }
.y-card + .y-card { margin-top: 16px; }
.y-card--creme { background: var(--yum-creme); box-shadow: none; }
.y-card--soft  { background: var(--yum-creme-clair); box-shadow: none; border: 1px solid var(--yum-sable); }
.y-card__head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.y-card__head .y-h2 { margin: 0; }
.y-note { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 16px; background: var(--yum-rose-pale); font-size: .88rem; color: var(--yum-ardoise); }
.y-note > svg { flex-shrink: 0; width: 22px; height: 22px; color: var(--yum-rose-voix); }
.y-note--sable { background: var(--yum-sable); }
.y-note--brume { background: var(--yum-brume); }

.y-field { margin-bottom: 16px; }
.y-input, .y-textarea, .y-select {
  width: 100%; min-height: 52px; padding: 13px 16px; font: inherit; font-size: 1rem; color: var(--yum-ardoise);
  background: var(--yum-blanc); border: 1.5px solid var(--yum-brume); border-radius: var(--y-field);
  transition: border-color var(--y-anim) var(--y-ease), box-shadow var(--y-anim) var(--y-ease); -webkit-appearance: none; appearance: none;
}
.y-textarea { min-height: 130px; resize: vertical; line-height: 1.5; }
.y-input:focus, .y-textarea:focus, .y-select:focus { outline: none; border-color: var(--yum-bleu-ardoise); box-shadow: 0 0 0 4px rgba(127, 155, 179, .14); }
.y-input.is-error, .y-textarea.is-error { border-color: var(--yum-rose-voix); }
.y-counter { display: block; text-align: right; font-size: .78rem; color: var(--yum-gris); margin-top: 5px; }
.y-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.y-pin { display: flex; gap: 8px; justify-content: center; }
.y-pin input { width: 46px; height: 56px; text-align: center; font-size: 1.35rem; font-family: var(--yum-sans); font-variant-numeric: tabular-nums; border: 1.5px solid var(--yum-brume); border-radius: 14px; background: var(--yum-blanc); }
.y-pin input:focus { outline: none; border-color: var(--yum-bleu-ardoise); }

.y-check { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; font-size: .9rem; }
.y-check input { appearance: none; -webkit-appearance: none; flex-shrink: 0; width: 24px; height: 24px; margin: 0; border: 1.5px solid var(--yum-sable-rose); border-radius: 7px; background: var(--yum-blanc); display: grid; place-content: center; cursor: pointer; transition: background var(--y-anim), border-color var(--y-anim); }
.y-check input::before { content: ''; width: 12px; height: 7px; border: solid #fff; border-width: 0 0 2px 2px; transform: rotate(-45deg) translate(1px, -1px) scale(0); transition: transform 200ms var(--y-ease); }
.y-check input:checked { background: var(--yum-sauge); border-color: var(--yum-sauge); }
.y-check input:checked::before { transform: rotate(-45deg) translate(1px, -1px) scale(1); }

.y-switch { display: flex; align-items: center; justify-content: space-between; gap: 12px; cursor: pointer; font-size: .9rem; }
.y-switch input { appearance: none; -webkit-appearance: none; position: relative; flex-shrink: 0; width: 46px; height: 28px; border-radius: 14px; background: var(--yum-sable); cursor: pointer; transition: background var(--y-anim); margin: 0; }
.y-switch input::after { content: ''; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.15); transition: transform var(--y-anim) var(--y-ease); }
.y-switch input:checked { background: var(--yum-sauge); }
.y-switch input:checked::after { transform: translateX(18px); }

/* ── 9. Pastilles ───────────────────────────────────────────────────────── */
.y-tag { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: var(--y-pill); font-size: .8rem; line-height: 1.3; white-space: nowrap; }
.y-delay   { background: var(--yum-rose-pale); color: var(--y-delay-fg, #8E5A63); }                 /* « À toi de répondre · 31 h » */
.y-delay--wait { background: var(--yum-brume); color: var(--yum-gris); }         /* « En attente de sa voix » */
.y-balance { background: var(--yum-sable); color: var(--y-balance-fg, #7A5C45); }                      /* solde d'ōka */
.y-ok      { background: #E7EEE6; color: #5B735A; }                               /* « validé » */
.y-pending { background: var(--yum-sable); color: var(--yum-gris); }
.y-brand   { background: var(--yum-cerisier); color: var(--yum-ardoise); }        /* Constellation Ancrée */

/* ── 10. Bulles vocales ─────────────────────────────────────────────────── */
.y-thread { display: flex; flex-direction: column; gap: 12px; margin: 16px 0; }
.y-voice { display: flex; align-items: center; gap: 12px; max-width: 86%; padding: 12px 18px 12px 12px; border-radius: 26px; }
.y-voice--me   { align-self: flex-end; background: var(--yum-blanc); }
.y-voice--them { align-self: flex-start; background: var(--yum-rose-pale); }
.y-voice__play { position: relative; flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%; border: 0; display: inline-flex; align-items: center; justify-content: center; color: #fff; cursor: pointer; }
.y-voice--me .y-voice__play   { background: var(--yum-bleu-ardoise); }
.y-voice--them .y-voice__play { background: var(--yum-rose-voix); }
.y-voice__play svg { width: 16px; height: 16px; fill: currentColor; stroke: none; margin-left: 2px; }
.y-voice__play.is-playing svg { margin-left: 0; }
/* Halo : temps restant avant la purge des 48 h (--life de 0 à 1, posé par l'écran) */
.y-voice__play::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; background: conic-gradient(currentColor calc(var(--life, 1) * 360deg), transparent 0); -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 0); mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 0); opacity: .35; }
.y-voice--me .y-voice__play::after   { color: var(--yum-bleu-brume); }
.y-voice--them .y-voice__play::after { color: var(--yum-rose-voix); }
.y-wave { display: flex; align-items: center; gap: 2px; height: 28px; flex: 1; min-width: 70px; }
.y-wave i { display: block; width: 2.5px; border-radius: 2px; background: currentColor; opacity: .9; transition: opacity 200ms; }
.y-voice--me .y-wave   { color: var(--yum-bleu-brume); }
.y-voice--them .y-wave { color: var(--yum-rose-voix); }
.y-wave i.is-past { opacity: 1; }
.y-voice--me .y-wave i.is-past { color: var(--yum-bleu-ardoise); background: var(--yum-bleu-ardoise); }
.y-voice__meta { display: flex; flex-direction: column; align-items: flex-end; font-size: .78rem; color: var(--yum-gris); line-height: 1.3; font-variant-numeric: tabular-nums; }
.y-voice__state { font-size: .74rem; }
.y-voice--pending { opacity: .6; }
.y-system { align-self: center; max-width: 92%; text-align: center; font-size: .82rem; color: var(--yum-gris); padding: 6px 12px; }

/* ── 11. Portrait 5×5 et Orbe ───────────────────────────────────────────── */
.y-portrait { position: relative; }
.y-grid5 {
  position: relative; display: grid; grid-template-columns: repeat(5, 1fr); grid-template-rows: repeat(5, 1fr); gap: 2px;
  aspect-ratio: 4 / 5; width: 100%; border-radius: 18px; overflow: hidden; background: var(--yum-blanc);
  -webkit-user-select: none; user-select: none; -webkit-touch-callout: none;
}
.y-tile { position: relative; background: var(--yum-creme-clair); overflow: hidden; border: 0; padding: 0; }
.y-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; animation: y-reveal 600ms var(--y-ease) both; }
.y-tile.is-pick { background: var(--yum-rose-pale); cursor: pointer; }           /* case à choisir */
.y-tile.is-pick:hover, .y-tile.is-pick:focus-visible { background: var(--yum-cerisier); outline: none; }
.y-tile.is-locked { background: var(--yum-sable); }
.y-portrait.is-blur .y-tile img { filter: none; }                                 /* le flou est servi par le serveur, jamais en CSS */
.y-portrait__foot { display: flex; justify-content: space-between; align-items: baseline; margin-top: 12px; font-size: .88rem; color: var(--yum-gris); }
.y-portrait__count { font-family: var(--yum-serif); font-size: 1.15rem; color: var(--yum-ardoise); }
.y-orbe { position: absolute; inset: 0; pointer-events: none; display: flex; align-items: center; justify-content: center; }
.y-orbe canvas { width: 62%; height: auto; aspect-ratio: 1; opacity: .9; mix-blend-mode: multiply; }
/* Masquage au changement de focus (cahier §6.1) */
.y-shield .y-grid5 img { transition: filter 200ms; }
html.y-unfocused .y-shield .y-grid5 img { filter: blur(18px); }

/* ── 12. Jauge et progression ───────────────────────────────────────────── */
.y-gauge { display: grid; grid-template-columns: repeat(var(--n, 5), 1fr); gap: 6px; margin-top: 12px; }
.y-gauge i { display: block; height: 6px; border-radius: 3px; background: var(--yum-brume); transition: background var(--y-anim) var(--y-ease); }
.y-gauge i.is-on { background: var(--yum-sauge); }
.y-progress { height: 3px; border-radius: 2px; background: var(--yum-rose-pale); overflow: hidden; }
.y-progress > i { display: block; height: 100%; width: var(--p, 0%); background: var(--yum-rose-voix); transition: width 200ms linear; }

/* ── 13. Enregistreur ───────────────────────────────────────────────────── */
.y-recorder { display: flex; align-items: center; gap: 18px; margin: 12px 0; }
.y-mic { position: relative; flex-shrink: 0; width: 64px; height: 64px; border-radius: 50%; border: 0; display: inline-flex; align-items: center; justify-content: center; background: var(--yum-sable); color: var(--yum-gris); cursor: pointer; transition: background var(--y-anim) var(--y-ease), transform 160ms; }
.y-mic svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.y-mic.is-ready { background: var(--yum-rose-voix); color: #fff; }
.y-mic.is-rec { background: var(--yum-rose-voix); color: #fff; animation: y-breath 1.8s ease-in-out infinite; }
.y-mic[disabled] { opacity: .55; cursor: default; }
.y-recorder__time { font-family: var(--yum-sans); font-size: 1.6rem; font-variant-numeric: tabular-nums; }
.y-recorder__hint { font-size: .82rem; color: var(--y-delay-fg, #8E5A63); }
.y-recorder .y-balance { margin-left: auto; }

/* ── 14. Ōka ────────────────────────────────────────────────────────────── */
.y-oka-balance { display: flex; align-items: baseline; gap: 10px; }
.y-oka-balance b { font-family: var(--yum-serif); font-weight: 500; font-size: 3rem; line-height: 1; }
.y-pack { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4px 12px; width: 100%; padding: 20px; border-radius: var(--y-card); background: var(--yum-blanc); border: 1.5px solid transparent; text-align: left; cursor: pointer; box-shadow: var(--y-shadow); transition: border-color var(--y-anim) var(--y-ease), transform 160ms; }
.y-pack + .y-pack { margin-top: 12px; }
.y-pack:hover, .y-pack.is-selected { border-color: var(--yum-sable-rose); }
.y-pack:active { transform: scale(.99); }
.y-pack__name { font-family: var(--yum-serif); font-size: 1.5rem; line-height: 1.1; }
.y-pack__price { font-weight: 600; font-size: 1.25rem; text-align: right; }
.y-pack__sub { font-size: .82rem; color: var(--yum-gris); }
.y-pack__gift { font-size: .8rem; color: #5B735A; text-align: right; }
.y-ledger { list-style: none; margin: 0; padding: 0; }
.y-ledger li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--yum-sable); font-size: .9rem; }
.y-ledger b { font-weight: 600; font-variant-numeric: tabular-nums; }
.y-ledger .is-plus { color: #5B735A; }

/* ── 15. Feuille du bas, voile, bandeau ─────────────────────────────────── */
.y-scrim { position: fixed; inset: 0; z-index: 980; background: rgba(47, 58, 64, .28); opacity: 0; visibility: hidden; transition: opacity var(--y-anim) var(--y-ease), visibility 0s linear var(--y-anim); }
.y-scrim.open { opacity: 1; visibility: visible; transition: opacity var(--y-anim) var(--y-ease); }
.y-sheet {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 990; margin: 0 auto; max-width: var(--y-max);
  max-height: min(86vh, calc(var(--vvh, 100vh) - 24px)); overflow-y: auto; overscroll-behavior: contain;
  background: var(--yum-creme-clair); border-radius: 28px 28px 0 0; padding: 10px 22px calc(var(--y-safe-b) + 24px);
  transform: translateY(105%); transition: transform var(--y-anim) var(--y-ease); box-shadow: 0 -10px 40px rgba(47, 58, 64, .12);
}
.y-sheet.open { transform: translateY(0); }
.y-grab { display: flex; justify-content: center; padding: 6px 0 14px; }
.y-grab span { width: 40px; height: 4px; border-radius: 2px; background: var(--yum-sable-rose); }
.y-toast {
  position: fixed; left: 16px; right: 16px; bottom: calc(var(--y-tabbar-h) + var(--y-safe-b) + 12px); z-index: 995;
  max-width: calc(var(--y-max) - 32px); margin: 0 auto; padding: 14px 18px; border-radius: 18px;
  background: var(--yum-ardoise); color: var(--yum-creme); font-size: .9rem; box-shadow: 0 12px 30px rgba(47, 58, 64, .22);
  opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity var(--y-anim) var(--y-ease), transform var(--y-anim) var(--y-ease);
}
.y-toast.show { opacity: 1; transform: none; pointer-events: auto; }
.y-empty { text-align: center; padding: 40px 12px; }
.y-empty .y-accroche { margin-bottom: 8px; }

/* ── 16. Notifications, déconnexion, démarrage, push ────────────────────── */
html.np-sheet-open, html.y-sheet-open { overflow: hidden; }
.np-scrim { position: fixed; inset: 0; z-index: 980; background: rgba(47, 58, 64, .28); opacity: 0; visibility: hidden; transition: opacity var(--y-anim), visibility 0s linear var(--y-anim); }
.np-scrim.open { opacity: 1; visibility: visible; transition: opacity var(--y-anim); }
.np-panel { position: fixed; left: 0; right: 0; bottom: 0; z-index: 990; max-width: var(--y-max); margin: 0 auto; height: 75vh; max-height: calc(var(--vvh, 100vh) - 20px); display: flex; flex-direction: column; background: var(--yum-creme-clair); border-radius: 28px 28px 0 0; transform: translateY(105%); transition: transform var(--y-anim) var(--y-ease); box-shadow: 0 -10px 40px rgba(47, 58, 64, .12); padding-bottom: var(--y-safe-b); }
.np-panel.open { transform: translateY(0); }
.np-panel.np-drag { transition: none; }
.np-grab { display: flex; justify-content: center; padding: 10px 0 4px; }
.np-grab span { width: 40px; height: 4px; border-radius: 2px; background: var(--yum-sable-rose); }
.np-head { display: flex; align-items: center; gap: 8px; padding: 6px 18px 12px; border-bottom: 1px solid var(--yum-sable); }
.np-title { flex: 1; font-family: var(--yum-serif); font-size: 1.45rem; }
.np-markall { background: none; border: 0; font-size: .82rem; color: var(--yum-gris); text-decoration: underline; cursor: pointer; }
.np-markall[disabled] { opacity: .35; cursor: default; }
.np-x { width: 38px; height: 38px; border-radius: 50%; border: 0; background: transparent; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; color: var(--yum-gris); }
.np-x svg, .np-ic svg, .np-empty-ic svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.np-list { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 4px 12px 16px; }
.np-item { display: flex; gap: 12px; padding: 14px 8px; border-bottom: 1px solid var(--yum-sable); cursor: pointer; border-radius: 12px; }
.np-item:hover { background: var(--yum-blanc); }
.np-ic { flex-shrink: 0; width: 38px; height: 38px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--yum-rose-pale); color: var(--yum-rose-voix); }
.np-body { flex: 1; min-width: 0; }
.np-row { display: flex; align-items: center; gap: 8px; }
.np-it-title { flex: 1; font-weight: 500; font-size: .92rem; }
.np-item:not(.unread) .np-it-title { font-weight: 400; color: var(--yum-gris); }
.np-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--yum-rose-voix); flex-shrink: 0; }
.np-it-text { font-size: .86rem; color: var(--yum-gris); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.np-it-date { font-size: .75rem; color: var(--yum-gris); margin-top: 4px; }
.np-loading { padding: 30px; text-align: center; color: var(--yum-gris); font-size: .9rem; }
.np-empty { text-align: center; padding: 44px 20px; color: var(--yum-gris); }
.np-empty-ic { display: inline-flex; width: 52px; height: 52px; border-radius: 50%; align-items: center; justify-content: center; background: var(--yum-sable); margin-bottom: 12px; }
.np-empty-t { font-family: var(--yum-serif); font-size: 1.3rem; color: var(--yum-ardoise); }
.np-empty-s { font-size: .86rem; margin-top: 4px; }
.np-toast { position: fixed; left: 14px; right: 14px; z-index: 996; max-width: calc(var(--y-max) - 28px); margin: 0 auto; display: flex; gap: 12px; align-items: flex-start; padding: 12px 12px 12px 14px; border-radius: 18px; background: var(--yum-blanc); box-shadow: 0 12px 34px rgba(47, 58, 64, .16); cursor: pointer; opacity: 0; transform: translateY(14px); pointer-events: none; transition: opacity var(--y-anim) var(--y-ease), transform var(--y-anim) var(--y-ease); }
.np-toast.show { opacity: 1; transform: none; pointer-events: auto; }
.np-toast-t { font-weight: 500; font-size: .9rem; }
.np-toast-b { font-size: .84rem; color: var(--yum-gris); }

/* Déconnexion */
.lo-ov { position: fixed; inset: 0; z-index: 2000; display: flex; align-items: center; justify-content: center; padding: 24px; background: rgba(246, 242, 234, .94); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); animation: y-fade 400ms var(--y-ease); }
.lo-panel, .lo-bye { width: 100%; max-width: 360px; text-align: center; background: var(--yum-blanc); border-radius: 28px; padding: 30px 24px 22px; box-shadow: var(--y-shadow); }
.lo-mark { width: 64px; margin: 0 auto 14px; }
.lo-title { font-family: var(--yum-serif); font-size: 1.6rem; margin-bottom: 6px; }
.lo-sub { font-size: .9rem; color: var(--yum-gris); margin-bottom: 20px; }
.lo-panel .y-btn + .y-btn { margin-top: 10px; }
.lo-bye .y-accroche { margin: 4px 0 10px; }

/* Écran de démarrage (une fois par session) */
#y-splash { position: fixed; inset: 0; z-index: 3000; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; background: var(--yum-creme); transition: opacity 600ms var(--y-ease), visibility 0s linear 600ms; }
#y-splash img { width: 140px; height: auto; animation: y-reveal 900ms var(--y-ease) both; }
#y-splash .y-splash-word { font-family: var(--yum-serif); font-size: 1.6rem; letter-spacing: .5em; margin-right: -.5em; animation: y-fade 900ms 200ms var(--y-ease) both; }
#y-splash .y-accroche { font-size: 1.15rem; animation: y-fade 900ms 450ms var(--y-ease) both; }
#y-splash.is-out { opacity: 0; visibility: hidden; }

/* Carte « activer les notifications » et bandeau d'état */
.y-push-card { position: fixed; left: 12px; right: 12px; bottom: calc(var(--y-tabbar-h) + var(--y-safe-b) + 12px); z-index: 997; max-width: calc(var(--y-max) - 24px); margin: 0 auto; padding: 18px; border-radius: 22px; background: var(--yum-blanc); box-shadow: 0 14px 40px rgba(47, 58, 64, .16); animation: y-up 500ms var(--y-ease) both; }
.y-push-card__t { font-family: var(--yum-serif); font-size: 1.3rem; margin-bottom: 4px; }
.y-push-card__p { font-size: .86rem; color: var(--yum-gris); margin-bottom: 14px; }
.y-push-card__a { display: grid; grid-template-columns: auto 1fr; gap: 10px; }
.y-push-warn { position: fixed; left: 12px; right: 12px; bottom: calc(var(--y-tabbar-h) + var(--y-safe-b) + 12px); z-index: 997; max-width: calc(var(--y-max) - 24px); margin: 0 auto; padding: 12px 40px 12px 16px; border-radius: 16px; background: var(--yum-sable); color: var(--yum-ardoise); font-size: .84rem; cursor: pointer; }
.y-push-warn b { position: absolute; top: 9px; right: 14px; font-weight: 400; opacity: .6; }

/* ── Animations ─────────────────────────────────────────────────────────── */
@keyframes y-spin   { to { transform: rotate(360deg); } }
@keyframes y-fade   { from { opacity: 0; } to { opacity: 1; } }
@keyframes y-up     { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes y-reveal { from { opacity: 0; transform: scale(1.04); } to { opacity: 1; transform: none; } }
@keyframes y-breath { 0%, 100% { box-shadow: 0 0 0 0 rgba(201, 143, 152, .45); } 50% { box-shadow: 0 0 0 14px rgba(201, 143, 152, 0); } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }

/* Grand écran : la PWA reste une colonne de téléphone, centrée */
@media (min-width: 700px) {
  .y-screen { padding-top: 32px; }
}

/* ── Capsules et portrait flouté (V1.2) ─────────────────────────────────── */
.y-grid5 { background-size: cover; background-position: center; }
.y-grid5 .y-tile:not(.is-open) { background: rgba(250, 247, 242, .35); }
.y-grid5 .y-tile.is-pick { background: rgba(233, 184, 190, .55); }
.y-capwrap { display: grid; grid-template-columns: 54px 1fr 54px; gap: 8px; align-items: center; }
.y-capcol { display: flex; flex-direction: column; gap: 8px; }
.y-cap { position: relative; width: 100%; aspect-ratio: 4 / 5; border-radius: 12px; border: 1px dashed var(--yum-sable-rose); background: var(--yum-creme-clair);
  display: flex; align-items: center; justify-content: center; color: var(--yum-gris); font-family: var(--yum-serif); font-size: 1.1rem; overflow: hidden; padding: 0; }
.y-cap.is-full { border: 0; cursor: pointer; }
.y-cap.is-full img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.y-cap.is-pending img { opacity: .5; }
.y-cap__v { position: absolute; right: 4px; bottom: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--yum-rose-voix); color: #fff; font-size: .7rem; line-height: 18px; text-align: center; font-family: var(--yum-sans); }
.y-cap__s { position: absolute; left: 0; right: 0; bottom: 4px; font-size: .62rem; font-family: var(--yum-sans); text-align: center; color: var(--yum-ardoise); }
.y-cap.is-add { border: 1.5px dashed var(--yum-rose-voix); background: var(--yum-rose-pale); color: var(--yum-ardoise); cursor: pointer; flex-direction: column; gap: 2px; }
.y-cap.is-add span { font-size: 1.6rem; line-height: 1; }
.y-cap.is-add small { font-family: var(--yum-sans); font-size: .66rem; }
.y-caprow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
html.y-unfocused .y-cap img, html.y-unfocused #cap-view-img { filter: blur(18px); }

/* ── Thème Crépuscule (V1.3) ────────────────────────────────────────────────
   Fond bleu crépuscule, jetons de texte en clair. Les surfaces claires (cartes, feuilles,
   bulles, champs, panneaux) remettent les jetons sombres : ce qui est posé dessus reste lisible. */
html { background: #38486A; }
body, body.y-crepuscule {
  background: #38486A; color: #FFFFFF;
  --yum-ardoise: #FFFFFF; --yum-gris: #D3DAE6; --yum-bronze: #EFB7BF;
  --yum-sable: rgba(255, 255, 255, .15); --yum-sable-rose: rgba(255, 255, 255, .34);
  --yum-creme-clair: rgba(255, 255, 255, .08); --yum-rose-pale: rgba(239, 183, 191, .2);
  --yum-brume: rgba(255, 255, 255, .16);
  --y-shadow: 0 14px 34px rgba(16, 22, 38, .3);
  --y-delay-fg: #F6CBD1; --y-balance-fg: #F1E0CB; --y-accent: #EFB7BF;
}
body.y-brume, body.y-brume.y-crepuscule { background: #33425F; }
.y-card, .y-pack, .y-sheet, .np-panel, .np-toast, .lo-panel, .lo-bye, .y-push-card, .y-voice,
.y-input, .y-textarea, .y-select, .y-pin input {
  --yum-ardoise: #2B3650; --yum-gris: #5C6A80; --yum-bronze: #C9566B;
  --yum-sable: #ECE5DC; --yum-sable-rose: #E6CFD3; --yum-creme-clair: #F8F4EF; --yum-rose-pale: #FBE7EA;
  --yum-brume: #DCE3EC;
  --y-delay-fg: #8E5A63; --y-balance-fg: #7A5C45; --y-accent: #B5566A;
  color: var(--yum-ardoise);
}
.y-card--soft { background: #F8F4EF; border-color: #ECE5DC; }
.y-sheet { background: #F8F4EF; }
.y-voice--me { background: #FFFFFF; }
.y-accroche { color: var(--y-accent); }

/* Boutons et choix : rose plein */
.y-btn--primary { background: #EFB7BF; color: #2B3650; }
.y-chip span { background: var(--yum-creme-clair); color: var(--yum-ardoise); }
.y-chip input:checked + span { background: #EFB7BF; border-color: #EFB7BF; color: #2B3650; }
.y-brand { color: #2B3650; }

/* Barre d'onglets, toast, voile de déconnexion, écran de démarrage */
.y-tabbar { background: rgba(46, 60, 90, .96); border-top-color: rgba(255, 255, 255, .1); }
.y-tab { color: #C3CCDC; }
.y-tab.is-active { color: #EFB7BF; }
.y-toast { background: #22304D; color: #FFFFFF; box-shadow: 0 12px 30px rgba(16, 22, 38, .4); }
.lo-ov { background: rgba(43, 54, 80, .94); }
#y-splash { background: #38486A; }
#y-splash .y-accroche { color: #EFB7BF; }

/* Logos dans un disque blanc */
.y-top__mark { background: #FFFFFF; border-radius: 50%; padding: 5px; }
#y-splash img { width: 160px; height: 160px; padding: 18px; background: #FFFFFF; border-radius: 50%; object-fit: contain; box-sizing: border-box;
  box-shadow: 0 0 0 9px rgba(239, 183, 191, .14), 0 20px 46px rgba(16, 22, 38, .35); }
.y-center > img[src*="logo-yumeus-medaillon"] { width: 112px; height: 112px; padding: 12px; background: #FFFFFF; border-radius: 50%; object-fit: contain; box-sizing: border-box;
  box-shadow: 0 0 0 7px rgba(239, 183, 191, .14); }

/* Six promesses (accueil de l'app, même rendu que le site) : symbole japonais + titre rose cerisier foncé. */
.y-kanji { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 10px; margin: 0 0 4px; font-size: 1.7rem; line-height: 1.2; }
.y-kanji span { font-family: "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", "Noto Serif CJK JP", serif; font-weight: 600; letter-spacing: .06em; color: var(--yum-ardoise); }
.y-kanji i { font-family: var(--yum-serif); color: var(--yum-bronze); }
.yum-sakura { width: 1.1em; height: 1.1em; flex-shrink: 0; }
.yum-sakura ellipse { fill: #E9B8BE; stroke: #D99AA3; stroke-width: .5; }
.yum-sakura circle { fill: var(--yum-bronze); }
.y-card .y-promise { color: #A85A6C; margin-bottom: 8px; }
.y-card--promise { position: relative; padding-bottom: 42px; }
.y-card--promise > .yum-sakura { position: absolute; right: 16px; bottom: 12px; width: 24px; height: 24px; }

/* Palier V : les trois portes (Se dévoiler ensemble, Franchir le miroir, Planifier un moment). */
.y-doors .y-door { padding: 14px 0; border-top: 1px solid var(--yum-sable); }
.y-doors .y-door:first-of-type { border-top: 0; padding-top: 4px; }
.y-door__t { font-family: var(--yum-serif); font-weight: 500; font-size: 1.25rem; color: #A85A6C; margin: 0 0 4px; }
.y-door .y-small { margin: 0 0 6px; }
.y-door__ok { margin: 6px 0 0; color: var(--yum-sauge); font-weight: 500; }
.y-door__wait { margin: 6px 0 0; color: var(--yum-gris); font-style: italic; }
.y-door__in { margin: 6px 0 0; color: var(--yum-ardoise); font-weight: 500; }
.y-door__sms { background: var(--yum-creme); border-radius: 16px; padding: 12px; margin: 8px 0; }
.y-mirror { display: flex; flex-direction: column; gap: 2px; background: #FFFFFF; border: 1px solid var(--yum-sable); border-radius: 16px; padding: 10px 16px; }
.y-mirror b { font-size: 1.15rem; letter-spacing: .04em; color: var(--yum-ardoise); }
