/* Piano Event — espace client */
:root {
  --doux: cubic-bezier(.32, .72, 0, 1);
  --or-degrade: linear-gradient(180deg, #f3e2bd 0%, #d4b47c 55%, #b8935a 100%);
  --nuit: #0a0a0b;
  --gris-1: #f4f4f6;
  --rouge: #b23c24;
}
.cpt { min-height: 70vh; }
.ic { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

/* Apparition au défilement */
.rv { opacity: 0; transform: translateY(22px); filter: blur(6px); transition: opacity .9s var(--doux), transform .9s var(--doux), filter .9s var(--doux); transition-delay: var(--d, 0ms); }
.rv.vu { opacity: 1; transform: none; filter: none; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; filter: none; transition: none; } }

/* Petite étiquette au-dessus des titres */
.oeil { display: inline-flex; align-items: center; height: 26px; padding: 0 12px; border-radius: 999px; background: rgba(176,141,87,.12); color: var(--laiton); font: 600 10.5px/1 var(--ui); letter-spacing: .18em; text-transform: uppercase; }

/* ---------- Boutons pilule, flèche dans sa propre pastille ---------- */
.pill { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 54px; padding: 0 24px; border: 0; border-radius: 999px; font: 600 15.5px/1 var(--ui); letter-spacing: -.01em; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .45s var(--doux), background .3s var(--doux), box-shadow .3s var(--doux), color .3s var(--doux); -webkit-tap-highlight-color: transparent; }
.pill:active { transform: scale(.975); }
.pill .ic { width: 19px; height: 19px; }
.pill-ic { display: grid; place-items: center; width: 38px; height: 38px; margin-right: -16px; border-radius: 50%; transition: transform .5s var(--doux); }
.pill-ic svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.1; stroke-linecap: round; stroke-linejoin: round; }
.pill:hover .pill-ic { transform: translate(2px, -1px) scale(1.06); }
.pill.noir { background: #0b0b0c; color: #fff; box-shadow: 0 14px 30px -14px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,.12); }
.pill.noir:hover { background: #1b1b1d; }
.pill.noir .pill-ic { background: var(--or-degrade); color: #1a1408; }
.pill.or { background: var(--or-degrade); color: #1d160a; box-shadow: 0 14px 34px -14px rgba(184,147,90,.8), inset 0 1px 0 rgba(255,255,255,.55); }
.pill.or .pill-ic { background: #0b0b0c; color: var(--laiton-clair); }
.pill.clair { background: #fff; color: var(--encre); box-shadow: inset 0 0 0 1px rgba(0,0,0,.1); }
.pill.clair:hover { box-shadow: inset 0 0 0 1px var(--encre); }
.pill.verre { background: rgba(255,255,255,.08); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.16); }
.pill.verre:hover { background: rgba(255,255,255,.15); }
.pill.plein { width: 100%; white-space: normal; text-align: left; }
.pill.plein:has(.pill-ic) { justify-content: space-between; padding-left: 26px; }
.pill.petite { height: 40px; padding: 0 15px; font-size: 14px; gap: 8px; }
.pill.petite .ic { width: 17px; height: 17px; }
.pill.petite .pill-ic { width: 30px; height: 30px; margin-right: -10px; }
.pill.charge { pointer-events: none; }
.pill.charge > span:first-child, .pill.charge > svg + span { opacity: .45; }
.pill.charge::after { content: ""; position: absolute; right: 20px; top: 50%; width: 16px; height: 16px; margin-top: -8px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: tourne .7s linear infinite; }
.pill.charge .pill-ic { opacity: 0; }
@keyframes tourne { to { transform: rotate(360deg); } }

/* ---------- Double bordure : un plateau qui porte la carte ---------- */
.coque { width: 100%; padding: 6px; border-radius: 34px; background: rgba(0,0,0,.025); box-shadow: inset 0 0 0 1px rgba(0,0,0,.05); }
.coeur { border-radius: 28px; background: #fff; padding: 36px; box-shadow: 0 1px 1px rgba(0,0,0,.03), 0 30px 70px -30px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.9); }

/* ---------- Champs à étiquette flottante ---------- */
.fl { position: relative; margin-top: 12px; }
.fl input { width: 100%; height: 60px; padding: 24px 16px 8px; border: 0; border-radius: 16px; background: var(--gris-1); font: 400 16px var(--ui); color: var(--encre); outline: 0;
  box-shadow: inset 0 0 0 1px transparent; transition: background .3s var(--doux), box-shadow .3s var(--doux); }
.fl input:hover { background: #efeff2; }
.fl input:focus { background: #fff; box-shadow: inset 0 0 0 1.5px var(--encre), 0 0 0 5px rgba(176,141,87,.16); }
.fl label { position: absolute; left: 17px; top: 20px; font: 400 16px/1.2 var(--ui); color: var(--graphite); pointer-events: none; transform-origin: left top; transition: transform .35s var(--doux), color .3s; }
.fl input:focus + label, .fl input:not(:placeholder-shown) + label { transform: translateY(-11px) scale(.76); }
.fl input:focus + label { color: var(--laiton); }
.fl-mdp input { padding-right: 56px; }
.fl-oeil { position: absolute; right: 9px; top: 10px; display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 12px; background: none; color: var(--graphite); cursor: pointer; transition: background .2s, color .2s; }
.fl-oeil:hover { background: rgba(0,0,0,.05); color: var(--encre); }
.fl.erreur input { background: #fdf4f2; box-shadow: inset 0 0 0 1.5px var(--rouge); }
.fl.erreur label { color: var(--rouge); }
.fl-erreur { margin: 7px 4px 0; font-size: 13px; color: var(--rouge); }
.fl-erreur:empty { display: none; }
.fl.fige input { background: #fafafb; color: var(--graphite); box-shadow: inset 0 0 0 1px #ececef; }
.fl-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.fl-duo .fl { margin-top: 12px; }

/* Jauge du mot de passe */
.jauge { margin: 10px 2px 0; }
.jauge-barres { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; }
.jauge-barres i { height: 4px; border-radius: 4px; background: #e6e6ea; transition: background .4s var(--doux); }
.jauge span { display: block; margin-top: 7px; font-size: 12.5px; color: var(--graphite); }
.jauge[data-niveau="1"] i:nth-child(-n+1) { background: #d9573b; }
.jauge[data-niveau="2"] i:nth-child(-n+2) { background: #e3a13a; }
.jauge[data-niveau="3"] i:nth-child(-n+3) { background: #7cbf6a; }
.jauge[data-niveau="4"] i { background: #2f9e54; }

/* ================= Connexion ================= */
.ax { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: 16px; padding: 16px; min-height: calc(100dvh - var(--nav-h)); }
.ax-visuel { position: relative; border-radius: 32px; overflow: hidden; background: #000; color: #fff; min-height: 640px; isolation: isolate; }
.ax-visuel > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); animation: respire 22s var(--doux) infinite alternate; }
@keyframes respire { to { transform: scale(1); } }
.ax-voile { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.92) 8%, rgba(0,0,0,.45) 45%, rgba(0,0,0,.05) 75%); }
.ax-texte { position: absolute; left: 0; right: 0; bottom: 0; padding: 0 52px 52px; }
.ax-texte .oeil { background: rgba(255,255,255,.1); color: var(--laiton-clair); }
.ax-texte h1 { margin-top: 20px; font-size: clamp(46px, 4.8vw, 76px); line-height: .98; letter-spacing: -.02em; }
.ax-texte p { margin: 18px 0 0; max-width: 40ch; font-size: 17px; line-height: 1.5; color: rgba(255,255,255,.72); }
.ax-apercu { position: absolute; top: 48px; right: 48px; width: 290px; padding: 18px 18px 16px; border-radius: 22px; background: rgba(16,16,17,.6); backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.12), 0 30px 60px -20px rgba(0,0,0,.6); transform: rotate(-2.5deg); animation: flotte 7s ease-in-out infinite; }
@keyframes flotte { 50% { transform: rotate(-1.5deg) translateY(-8px); } }
.ax-apercu-haut { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.ax-apercu-piano { font: 400 24px/1 var(--display); }
.ax-apercu-date { margin: 8px 0 0; font-size: 13px; color: rgba(255,255,255,.65); }
.ax-apercu-frise { position: relative; display: flex; justify-content: space-between; margin: 18px 4px 0; }
.ax-apercu-frise::before { content: ""; position: absolute; left: 6px; right: 6px; top: 50%; height: 2px; margin-top: -1px; background: linear-gradient(90deg, var(--laiton-clair) 58%, rgba(255,255,255,.18) 58%); }
.ax-apercu-frise i { position: relative; width: 12px; height: 12px; border-radius: 50%; background: #2a2a2c; box-shadow: inset 0 0 0 2px rgba(255,255,255,.25); }
.ax-apercu-frise i.f { background: var(--laiton-clair); box-shadow: none; }
.ax-apercu-frise i.a { background: #111; box-shadow: inset 0 0 0 2px var(--laiton-clair), 0 0 0 5px rgba(217,189,140,.2); }
.ax-apercu-etat { display: flex; align-items: center; gap: 6px; margin: 14px 0 0; font-size: 12.5px; color: rgba(255,255,255,.8); }
.ax-apercu-etat .ic { width: 15px; height: 15px; color: var(--laiton-clair); stroke-width: 2.2; }

.ax-panneau { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 32px clamp(16px, 4vw, 56px); }
.ax-panneau .coque { max-width: 468px; min-width: 0; }
.ax-panneau { min-width: 0; }
.ax-contenu { transition: opacity .18s var(--doux), transform .18s var(--doux); }
.ax-contenu.sort { opacity: 0; transform: translateY(6px); }
.seg-ax, .seg-db { position: relative; display: grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 999px; background: #f0f0f3; }
.seg-ax-curseur, .seg-db-curseur { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 999px; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.06), 0 6px 16px -6px rgba(0,0,0,.18); transform: translateX(calc(var(--i, 0) * 100%)); transition: transform .55s var(--doux); }
.seg-ax button, .seg-db button { position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 42px; border: 0; background: none; border-radius: 999px; font: 600 14.5px/1 var(--ui); color: var(--graphite); cursor: pointer; transition: color .3s; }
.seg-ax button[aria-selected="true"], .seg-db button[aria-selected="true"] { color: var(--encre); }
.ax-form h2 { margin-top: 28px; font-size: 36px; line-height: 1.05; letter-spacing: -.02em; }
.ax-sous { margin: 8px 0 10px; font-size: 15px; color: var(--graphite); }
.ax-ligne { display: flex; justify-content: space-between; align-items: center; margin: 12px 2px 0; }
.ax-lien { border: 0; background: none; padding: 4px 0; font: 600 14px var(--ui); color: var(--laiton); cursor: pointer; }
.ax-lien:hover { text-decoration: underline; text-underline-offset: 3px; }
.ax-form .pill.noir { margin-top: 22px; }
.ax-ou { display: flex; align-items: center; gap: 14px; margin: 18px 0; font-size: 13px; color: var(--graphite); }
.ax-ou::before, .ax-ou::after { content: ""; flex: 1; height: 1px; background: #ececf0; }
.ax-retour { display: inline-flex; align-items: center; gap: 2px; margin-left: -6px; padding: 6px 8px 6px 2px; border: 0; background: none; border-radius: 10px; font: 500 14px var(--ui); color: var(--graphite); cursor: pointer; }
.ax-retour .ic { width: 18px; height: 18px; }
.ax-retour + h2 { margin-top: 14px; }
.ax-note { margin: 14px 0 0; text-align: center; font-size: 14px; color: var(--graphite); }
.ax-note:empty { display: none; }
.ax-note.erreur { color: var(--rouge); }
.ax-note.ok { color: #1d6b37; }
.ax-securite { display: block; max-width: 420px; line-height: 1.5; margin: 20px 0 0; font-size: 12.5px; color: var(--graphite); text-align: center; }
.ax-securite .ic { width: 15px; height: 15px; color: var(--laiton); }

.ax-mail { text-align: center; padding: 14px 0 6px; }
.ax-mail-ic { position: relative; display: inline-grid; place-items: center; width: 76px; height: 76px; border-radius: 50%; background: var(--nuit); color: var(--laiton-clair); }
.ax-mail-ic .ic { width: 30px; height: 30px; }
.ax-mail-ic span { position: absolute; inset: -8px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(176,141,87,.5); animation: onde 2.6s var(--doux) infinite; }
@keyframes onde { from { transform: scale(.85); opacity: 1; } to { transform: scale(1.35); opacity: 0; } }
.ax-mail h2 { margin-top: 22px; font-size: 34px; letter-spacing: -.02em; }
.ax-mail p { margin: 10px auto 0; max-width: 34ch; font-size: 15.5px; color: var(--graphite); }
.ax-mail b { color: var(--encre); font-weight: 600; }
.ax-mail-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin: 24px 0 14px; }
.ax-mail-actions:empty { margin: 10px 0 0; }

/* ================= Espace connecté ================= */
.db-charge { display: grid; place-items: center; min-height: 60vh; }
.db-charge span { width: 34px; height: 34px; border-radius: 50%; border: 2.5px solid #e6e6ea; border-top-color: var(--laiton); animation: tourne .8s linear infinite; }
.db-tete { padding-block: clamp(36px, 5vw, 64px) 28px; }
.db-tete-grille { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.db-qui { display: flex; align-items: center; gap: 18px; min-width: 0; }
.avatar { flex: none; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--or-degrade); color: #2b2010; font: 400 26px/1 var(--display); box-shadow: inset 0 1px 0 rgba(255,255,255,.6), 0 10px 24px -10px rgba(184,147,90,.8); }
.db-qui h1 { font-size: clamp(38px, 4.4vw, 58px); line-height: 1; letter-spacing: -.02em; }
.db-qui p { margin: 6px 0 0; color: var(--graphite); font-size: 15px; overflow: hidden; text-overflow: ellipsis; }
.seg-db { min-width: 330px; }
.seg-db button { height: 44px; padding: 0 18px; }
.seg-db .ic { width: 18px; height: 18px; }
.db { padding-bottom: clamp(72px, 9vw, 120px); }

/* Prochain événement */
.heros { display: grid; grid-template-columns: 1fr 1.12fr; padding: 8px; border-radius: 34px; background: linear-gradient(160deg, #18181a, #0a0a0b 60%); color: #fff;
  box-shadow: 0 50px 100px -50px rgba(0,0,0,.6), inset 0 0 0 1px rgba(255,255,255,.06); }
.heros-photo { position: relative; min-height: 560px; border-radius: 27px; overflow: hidden; }
.heros-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 1.6s var(--doux); }
.heros.vu .heros-photo img { transform: none; }
.heros-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.85), rgba(0,0,0,0) 50%); }
.heros-compte { position: absolute; z-index: 1; left: 30px; bottom: 26px; display: flex; flex-direction: column; }
.heros-compte small { font: 600 12px/1 var(--ui); letter-spacing: .18em; color: rgba(255,255,255,.6); }
.heros-compte b { font: 300 clamp(76px, 9vw, 132px)/.9 var(--display); letter-spacing: -.04em; background: var(--or-degrade); -webkit-background-clip: text; background-clip: text; color: transparent; }
.heros-compte span { margin-top: 6px; font-size: 14px; color: rgba(255,255,255,.7); }
.heros-corps { display: flex; flex-direction: column; padding: clamp(28px, 3.4vw, 46px) clamp(24px, 3.4vw, 46px) clamp(24px, 3vw, 38px); }
.heros-haut { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.heros .oeil { background: rgba(255,255,255,.08); color: var(--laiton-clair); }
.heros h2 { margin-top: 20px; font-size: clamp(46px, 4.8vw, 70px); line-height: .95; letter-spacing: -.03em; }
.heros-date { margin: 10px 0 0; font-size: 17px; color: rgba(255,255,255,.7); }
.puces { list-style: none; padding: 0; margin: 26px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.puces li { display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px; border-radius: 18px; background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1px rgba(255,255,255,.07); font-size: 15px; line-height: 1.35; }
.puces li.large { grid-column: 1 / -1; }
.puces .ic { color: var(--laiton-clair); margin-top: 1px; }
.puces small { display: block; margin-bottom: 3px; font: 600 10.5px/1 var(--ui); letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.45); }
.heros-phrase { margin: 22px 0 0; font-size: 16px; line-height: 1.5; color: rgba(255,255,255,.72); max-width: 50ch; }
.heros-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 26px; }

/* Frise des étapes */
.frise { position: relative; list-style: none; padding: 0; margin: 30px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.frise-rail { position: absolute; top: 15px; left: 12.5%; right: 12.5%; height: 2px; border-radius: 2px; background: #e3e3e8; overflow: hidden; }
.frise-jus { position: absolute; inset: 0; background: var(--laiton); transform-origin: left; transform: scaleX(0); transition: transform 1.4s var(--doux) .35s; }
.vu .frise-jus, .rang.ouvert .frise-jus { transform: scaleX(var(--s)); }
.frise li { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; font-size: 12.5px; font-weight: 500; color: var(--graphite); }
.frise i { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 2px #dcdce1; transition: background .5s var(--doux), box-shadow .5s var(--doux); }
.frise i .ic { width: 15px; height: 15px; stroke-width: 2.4; }
.frise li.fait { color: var(--encre); }
.frise li.fait i { background: var(--encre); color: #fff; box-shadow: none; }
.frise li.actuelle { color: var(--encre); font-weight: 600; }
.frise li.actuelle i { box-shadow: inset 0 0 0 2px var(--laiton), 0 0 0 6px rgba(176,141,87,.16); }
.frise li.actuelle i::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--laiton); animation: pouls 2.4s ease-in-out infinite; }
@keyframes pouls { 50% { transform: scale(.7); opacity: .6; } }
.frise.grande .frise-rail { background: rgba(255,255,255,.12); }
.frise.grande .frise-jus { background: var(--or-degrade); }
.frise.grande li { color: rgba(255,255,255,.45); }
.frise.grande i { background: var(--nuit); box-shadow: inset 0 0 0 2px rgba(255,255,255,.2); }
.frise.grande li.fait { color: rgba(255,255,255,.85); }
.frise.grande li.fait i { background: var(--or-degrade); color: #1d160a; }
.frise.grande li.actuelle { color: #fff; }
.frise.grande li.actuelle i { box-shadow: inset 0 0 0 2px var(--laiton-clair), 0 0 0 6px rgba(217,189,140,.16); }
.frise.grande li.actuelle i::after { background: var(--laiton-clair); }

/* Pastilles d'état */
.badge { display: inline-flex; align-items: center; gap: 7px; height: 28px; padding: 0 12px; border-radius: 999px; font: 600 12.5px/1 var(--ui); white-space: nowrap; }
.badge i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge.vert { background: #e4f4e8; color: #1d6b37; }
.badge.ambre { background: #fff1d9; color: #8a5a00; }
.badge.or { background: var(--or-degrade); color: #3d2e14; }
.badge.gris { background: #ececef; color: var(--graphite); }
.heros .badge.vert { background: rgba(70,200,110,.15); color: #86e6a3; }
.heros .badge.ambre { background: rgba(255,180,70,.15); color: #ffc878; }

/* Tuiles */
.bento { display: grid; grid-template-columns: 1fr 1.25fr 1fr; gap: 16px; margin-top: 16px; }
.tl { display: flex; flex-direction: column; padding: 26px; border-radius: 28px; background: var(--gris-1); box-shadow: inset 0 0 0 1px rgba(0,0,0,.03); }
.tl-t { display: flex; align-items: center; gap: 8px; margin: 0; font: 600 11.5px/1 var(--ui); letter-spacing: .14em; text-transform: uppercase; color: var(--graphite); }
.tl-t .ic { width: 18px; height: 18px; color: var(--laiton); }
.tl-gros { margin: 20px 0 0; font: 300 52px/1 var(--display); letter-spacing: -.03em; }
.tl-sous { margin: 8px 0 0; font-size: 14px; color: var(--graphite); }
.tl-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 20px; }
.lignes { list-style: none; padding: 0; margin: 14px 0 0; }
.lignes li { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; font-size: 14.5px; border-bottom: 1px solid rgba(0,0,0,.06); }
.lignes li:last-child { border-bottom: 0; }
.lignes b { font-weight: 600; white-space: nowrap; }
.tl.sombre { background: var(--nuit); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); }
.tl.sombre .tl-t { color: rgba(255,255,255,.55); }
.tl.sombre .tl-t .ic { color: var(--laiton-clair); }
.tl-txt { margin: 14px 0 0; font-size: 15px; line-height: 1.45; color: rgba(255,255,255,.7); }
.ronds { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: auto; padding-top: 20px; }
.ronds a { display: flex; flex-direction: column; align-items: center; gap: 9px; padding: 15px 6px 13px; border-radius: 18px; background: rgba(255,255,255,.07); color: #fff; text-decoration: none; font: 600 12.5px/1 var(--ui); transition: background .3s var(--doux), transform .45s var(--doux); }
.ronds a:hover { background: rgba(255,255,255,.13); transform: translateY(-2px); }
.ronds .ic { width: 22px; height: 22px; color: var(--laiton-clair); }

/* Liste des réservations */
.db-sec { margin-top: 56px; }
.db-sec-t { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.db-sec-t h2 { font-size: clamp(28px, 3vw, 36px); letter-spacing: -.02em; }
.db-sec-t span { display: inline-grid; place-items: center; min-width: 28px; height: 28px; padding: 0 9px; border-radius: 999px; background: var(--gris-1); font: 600 13px/1 var(--ui); color: var(--graphite); }
.rangs { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.rang { border-radius: 24px; background: var(--gris-1); transition: background .4s var(--doux), box-shadow .4s var(--doux); }
.rang.ouvert { background: #fff; box-shadow: 0 24px 60px -30px rgba(0,0,0,.28), inset 0 0 0 1px rgba(0,0,0,.05); }
.rang-tete { display: flex; align-items: center; gap: 16px; width: 100%; padding: 12px 16px 12px 12px; border: 0; background: none; text-align: left; cursor: pointer; color: inherit; font: inherit; border-radius: 24px; }
.rang-tete img { width: 64px; height: 64px; flex: none; border-radius: 16px; object-fit: cover; }
.rang-txt { flex: 1; min-width: 0; }
.rang-txt b { display: block; font: 400 23px/1.1 var(--display); letter-spacing: -.01em; }
.rang-txt small { display: block; margin-top: 4px; font-size: 14px; color: var(--graphite); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rang-droite { display: flex; align-items: center; gap: 16px; }
.rang-droite em { font-style: normal; font-weight: 600; font-size: 15px; min-width: 70px; text-align: right; }
.rang-chevron { display: grid; place-items: center; width: 36px; height: 36px; flex: none; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 1px rgba(0,0,0,.06); transition: transform .5s var(--doux), background .3s; }
.rang-chevron .ic { width: 16px; height: 16px; stroke-width: 2; }
.rang.ouvert .rang-chevron { transform: rotate(90deg); background: var(--gris-1); }
.rang-detail { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s var(--doux); }
.rang-detail > div { overflow: hidden; min-height: 0; }
.rang.ouvert .rang-detail { grid-template-rows: 1fr; }
.rang-pad { padding: 4px 24px 24px 92px; }
.rang-pad .frise { margin-top: 10px; max-width: 520px; }
.rang-phrase { margin: 18px 0 0; font-size: 15px; color: var(--graphite); }
.rang-infos { display: flex; align-items: flex-start; gap: 10px; margin: 10px 0 0; font-size: 14.5px; }
.rang-infos .ic { width: 18px; height: 18px; color: var(--laiton); margin-top: 1px; }
.rang-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.rang-actions:empty { display: none; }

/* Demandes */
.demandes { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.demandes li { display: flex; align-items: center; gap: 16px; padding: 16px 18px 16px 14px; border-radius: 24px; background: var(--gris-1); }
.demande-ic { display: grid; place-items: center; width: 46px; height: 46px; flex: none; border-radius: 50%; background: var(--nuit); color: var(--laiton-clair); }
.demandes div { flex: 1; min-width: 0; }
.demandes b { display: block; font-weight: 600; }
.demandes small { display: block; margin-top: 3px; font-size: 13.5px; color: var(--graphite); }

/* Aucune réservation / erreur */
.vide { display: grid; grid-template-columns: 1fr 1.1fr; padding: 8px; border-radius: 34px; background: linear-gradient(160deg, #18181a, #0a0a0b 60%); color: #fff; }
.vide-photo { position: relative; min-height: 440px; border-radius: 27px; overflow: hidden; }
.vide-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vide-corps { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: clamp(28px, 4vw, 56px); }
.vide .oeil { background: rgba(255,255,255,.08); color: var(--laiton-clair); }
.vide h2 { margin-top: 18px; font-size: clamp(36px, 4vw, 54px); line-height: 1; letter-spacing: -.02em; }
.vide p { margin: 16px 0 0; max-width: 44ch; font-size: 16px; color: rgba(255,255,255,.7); }
.vide b { color: #fff; font-weight: 600; }
.vide-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.vide:not(:has(.vide-photo)) { grid-template-columns: 1fr; }

/* Profil */
.profil-grille { display: grid; grid-template-columns: 1.2fr 1fr; gap: 16px; align-items: start; }
.profil-grille .coeur { padding: 32px; }
.profil-sous { margin: 10px 0 6px; font-size: 14.5px; color: var(--graphite); max-width: 46ch; }
.profil-pied { display: flex; align-items: center; gap: 16px; margin-top: 22px; flex-wrap: wrap; }
.profil-pied .ax-note { margin: 0; text-align: left; }
.profil-col { display: flex; flex-direction: column; gap: 16px; }
.sortie { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; height: 60px; border: 0; border-radius: 26px; background: none; box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); color: var(--rouge); font: 600 15px/1 var(--ui); cursor: pointer; transition: background .3s var(--doux); }
.sortie:hover { background: #fdf3f1; }

/* ================= Téléphone ================= */
@media (max-width: 1000px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .tl.sombre { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .ax { grid-template-columns: minmax(0, 1fr); gap: 0; padding: 0; min-height: 0; }
  .ax-visuel { min-height: 0; height: 330px; border-radius: 0; }
  .ax-apercu { display: none; }
  .ax-texte { padding: 0 20px 56px; }
  .ax-texte h1 { font-size: 40px; margin-top: 14px; }
  .ax-texte p { display: none; }
  .ax-panneau { position: relative; z-index: 1; margin-top: -34px; padding: 0 10px 28px; }
  .ax-panneau .coque { max-width: none; border-radius: 32px; background: rgba(255,255,255,.6); }
  .coeur { padding: 24px 20px 22px; border-radius: 26px; }
  .heros, .vide { grid-template-columns: 1fr; padding: 6px; border-radius: 30px; }
  .heros-photo { min-height: 0; aspect-ratio: 4 / 3.2; border-radius: 25px; }
  .vide-photo { min-height: 0; aspect-ratio: 16 / 10; border-radius: 25px; }
  .profil-grille { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  body[data-page="compte"] main { padding-bottom: 88px; }
  .ax-form h2 { font-size: 30px; margin-top: 22px; }
  .db-tete { padding-block: 22px 18px; }
  .db-tete-grille { flex-direction: column; align-items: stretch; gap: 18px; }
  .avatar { width: 54px; height: 54px; font-size: 22px; }
  .db-qui { gap: 14px; }
  .db-qui h1 { font-size: 36px; }
  .db-qui p { font-size: 14px; }
  .seg-db { min-width: 0; }
  .heros-compte { left: 20px; bottom: 16px; }
  .heros-compte b { font-size: 86px; }
  .heros-corps { padding: 22px 16px 16px; }
  .heros h2 { font-size: 44px; margin-top: 16px; }
  .heros-date { font-size: 15.5px; }
  .puces { grid-template-columns: 1fr; margin-top: 20px; }
  .puces li { padding: 12px 14px; border-radius: 16px; }
  .frise li { font-size: 11.5px; }
  .heros-actions .pill { flex: 1 1 100%; }
  .heros-actions .pill:has(.pill-ic) { justify-content: space-between; }
  .bento { grid-template-columns: 1fr; gap: 10px; margin-top: 10px; }
  .tl { padding: 22px 20px; border-radius: 26px; }
  .tl-gros { font-size: 46px; }
  .db-sec { margin-top: 40px; }
  .rang-tete { gap: 12px; padding: 10px 12px 10px 10px; }
  .rang-tete img { width: 54px; height: 54px; border-radius: 14px; }
  .rang-txt b { font-size: 20px; }
  .rang-txt small { font-size: 13px; }
  .rang-droite { flex-direction: column; align-items: flex-end; gap: 6px; }
  .rang-droite em { font-size: 14px; min-width: 0; }
  .rang-droite .badge { height: 24px; padding: 0 9px; font-size: 11.5px; }
  .rang-chevron { display: none; }
  .rang-pad { padding: 2px 16px 18px; }
  .demandes li { display: grid; grid-template-columns: 46px 1fr; gap: 4px 14px; padding: 14px; }
  .demandes .badge { grid-column: 2; justify-self: start; margin-top: 8px; }
  .heros, .vide { box-shadow: 0 24px 50px -30px rgba(0,0,0,.45), inset 0 0 0 1px rgba(255,255,255,.06); }
  .vide-corps { padding: 24px 18px 20px; }
  .vide-actions .pill { flex: 1 1 100%; justify-content: space-between; }
  .profil-grille .coeur { padding: 24px 20px; }
}

/* ================= Téléphone : comme une app ================= */
.ax-logo { display: none; }
.app-pousse { display: none; }
@media (max-width: 760px) {
  /* Plein écran : ni en-tête ni pied du site, seulement la barre d'onglets du bas */
  body[data-page="compte"] .nav, body[data-page="compte"] .pied { display: none; }
  body[data-page="compte"] main { padding-bottom: 0; }
  body[data-page="compte"]:has(.app) { background: #f2f2f6; }
  html.pousse-ouverte, html.pousse-ouverte body { overflow: hidden; }

  /* ---- Connexion : photo plein cadre, feuille qui monte ---- */
  .ax { display: block; min-height: 100dvh; background: #fff; }
  .ax-visuel { position: fixed; inset: 0 0 auto 0; height: 50dvh; border-radius: 0; }
  .ax-voile { background: linear-gradient(to top, rgba(0,0,0,.85) 0%, rgba(0,0,0,.25) 55%, rgba(0,0,0,.55) 100%); }
  .ax-visuel > img.ax-logo { display: block; position: absolute; inset: auto; object-fit: contain; animation: none; z-index: 1; top: calc(env(safe-area-inset-top) + 16px); left: 50%; width: 112px; height: auto; transform: translateX(-50%); }
  .ax-texte { padding: 0 22px 54px; }
  .ax-texte .oeil { height: 24px; font-size: 10px; }
  .ax-texte h1 { font-size: 40px; margin-top: 12px; }
  .ax-panneau { position: relative; z-index: 1; margin-top: calc(50dvh - 30px); min-height: calc(50dvh + 30px); padding: 10px 20px calc(96px + env(safe-area-inset-bottom)); border-radius: 30px 30px 0 0; background: #fff; box-shadow: 0 -24px 50px rgba(0,0,0,.35); justify-content: flex-start; animation: feuille .8s var(--doux) both; }
  .ax-panneau::before { content: ""; display: block; width: 38px; height: 5px; margin: 0 auto 18px; border-radius: 3px; background: #dcdce1; }
  @keyframes feuille { from { transform: translateY(70px); opacity: .4; } }
  .ax-panneau .coque, .ax-panneau .coque.rv { max-width: none; padding: 0; background: none; box-shadow: none; border-radius: 0; opacity: 1; transform: none; filter: none; }
  .ax-panneau .coeur { padding: 0; border-radius: 0; box-shadow: none; }
  .seg-ax button { height: 44px; font-size: 15px; }
  .ax-form h2 { font-size: 30px; margin-top: 22px; }
  .fl input { height: 58px; font-size: 17px; }
  .pill { height: 56px; font-size: 16.5px; }
  .ax-securite { align-self: stretch; text-align: center; margin-top: 22px; }

  /* ---- Espace connecté ---- */
  .app { min-height: 100dvh; padding: calc(env(safe-area-inset-top) + 18px) 16px calc(104px + env(safe-area-inset-bottom)); }
  .app-tete { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
  .app-jour { margin: 0; font: 600 12.5px/1 var(--ui); letter-spacing: .06em; text-transform: uppercase; color: var(--graphite); }
  .app-tete h1 { margin-top: 8px; font-size: 36px; line-height: 1; letter-spacing: -.02em; }
  .avatar.petit { width: 42px; height: 42px; font-size: 16px; border: 0; cursor: pointer; }
  .app-seg { position: sticky; top: 0; z-index: 5; margin: 14px -16px 0; padding: 8px 16px 10px; background: rgba(242,242,246,.86); backdrop-filter: blur(20px) saturate(1.6); -webkit-backdrop-filter: blur(20px) saturate(1.6); }
  .app-seg .seg-db { background: rgba(118,118,128,.12); padding: 3px; }
  .app-seg .seg-db-curseur { top: 3px; bottom: 3px; left: 3px; width: calc(50% - 3px); }
  .app-seg .seg-db button { height: 36px; font-size: 14px; }

  /* Billet du prochain événement */
  .billet { margin-top: 8px; border-radius: 26px; overflow: hidden; background: var(--nuit); color: #fff; box-shadow: 0 18px 40px -22px rgba(0,0,0,.55); }
  .billet-photo { position: relative; aspect-ratio: 16 / 10; }
  .billet-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
  .billet-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, var(--nuit) 0%, rgba(10,10,11,0) 55%); }
  .billet-photo .badge { position: absolute; z-index: 1; top: 14px; right: 14px; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
  .billet .badge.vert { background: rgba(20,40,26,.7); color: #86e6a3; }
  .billet .badge.ambre { background: rgba(50,35,10,.7); color: #ffc878; }
  .billet .badge.gris { background: rgba(0,0,0,.55); color: rgba(255,255,255,.8); }
  .billet-compte { position: absolute; z-index: 1; left: 18px; bottom: 4px; display: flex; align-items: baseline; gap: 8px; }
  .billet-compte b { font: 300 64px/1 var(--display); letter-spacing: -.04em; background: var(--or-degrade); -webkit-background-clip: text; background-clip: text; color: transparent; }
  .billet-compte span { font-size: 14px; color: rgba(255,255,255,.75); }
  .billet-corps { padding: 6px 18px 20px; }
  .billet-sur { margin: 0; font: 600 10.5px/1 var(--ui); letter-spacing: .16em; text-transform: uppercase; color: var(--laiton-clair); }
  .billet h2 { margin-top: 8px; font-size: 36px; line-height: 1; letter-spacing: -.02em; }
  .billet-date { margin: 8px 0 0; font-size: 14.5px; color: rgba(255,255,255,.7); }
  .billet .frise { margin-top: 22px; }
  .billet .frise li { font-size: 11px; }
  .billet .frise i { width: 28px; height: 28px; }
  .billet .frise-rail { top: 13px; }
  .billet-phrase { margin: 16px 0 0; font-size: 14.5px; line-height: 1.45; color: rgba(255,255,255,.72); }
  .app-payer { margin-top: 10px; }
  .app-payer .pill { width: 100%; justify-content: space-between; }

  /* Actions rapides */
  .actions-rapides { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 10px; }
  .actions-rapides a, .actions-rapides button { display: flex; flex-direction: column; align-items: center; gap: 7px; padding: 14px 4px 12px; border: 0; border-radius: 20px; background: #fff; color: var(--encre); text-decoration: none; font: 600 12px/1 var(--ui); cursor: pointer; transition: transform .3s var(--doux), background .2s; -webkit-tap-highlight-color: transparent; }
  .actions-rapides a:active, .actions-rapides button:active { transform: scale(.94); background: #e9e9ee; }
  .actions-rapides .ic { width: 23px; height: 23px; color: var(--laiton); }

  /* Listes groupées, comme les Réglages */
  .grp { margin-top: 24px; }
  .grp h3 { margin: 0 0 8px; padding: 0 16px; font: 600 13px/1 var(--ui); letter-spacing: .02em; text-transform: uppercase; color: var(--graphite); }
  .grp ul { list-style: none; margin: 0; padding: 0; border-radius: 20px; background: #fff; overflow: hidden; }
  .grp li { position: relative; }
  .grp li + li::before { content: ""; position: absolute; top: 0; left: 58px; right: 0; height: 1px; background: #e8e8ed; transform: scaleY(.6); }
  .ios { display: flex; align-items: center; gap: 13px; width: 100%; min-height: 54px; padding: 11px 14px; border: 0; background: none; color: var(--encre); text-align: left; text-decoration: none; font: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; transition: background .15s; }
  div.ios { cursor: default; }
  a.ios:active, button.ios:active { background: #ececf1; }
  .ios-ic { display: grid; place-items: center; width: 31px; height: 31px; flex: none; border-radius: 9px; background: #f5eee2; color: var(--laiton); }
  .ios-ic .ic { width: 18px; height: 18px; }
  .ios-ic.nuit { background: var(--nuit); color: var(--laiton-clair); }
  .ios-txt { flex: 1; min-width: 0; }
  .ios-txt b { display: block; font-weight: 400; font-size: 16px; line-height: 1.25; }
  .ios-txt small { display: block; margin-top: 2px; font-size: 13.5px; line-height: 1.35; color: var(--graphite); }
  .ios-val { flex: none; max-width: 52%; text-align: right; font-size: 15.5px; color: var(--graphite); }
  .ios-val b { color: var(--encre); font-weight: 600; }
  .ios-val .badge { height: 24px; padding: 0 9px; font-size: 11.5px; }
  .ios-chev { color: #c4c4c9; margin-left: -4px; }
  .ios-chev .ic { width: 16px; height: 16px; stroke-width: 2.2; }
  .ios img { width: 48px; height: 48px; flex: none; border-radius: 12px; object-fit: cover; }
  .ios-resa .ios-txt b { font: 400 19px/1.1 var(--display); }
  .grp li:has(img) + li::before { left: 75px; }

  /* Écran de détail qui glisse depuis la droite */
  .app-pousse { display: block; position: fixed; inset: 0; z-index: 80; overflow-y: auto; -webkit-overflow-scrolling: touch; background: #f2f2f6; transform: translateX(100%); transition: transform .5s var(--doux); box-shadow: -20px 0 50px rgba(0,0,0,.18); }
  .app-pousse[hidden] { display: none; }
  .app-pousse.ouvert { transform: none; }
  .app-pousse-barre { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; min-height: 52px; padding: calc(env(safe-area-inset-top) + 6px) 8px 6px; background: rgba(242,242,246,.86); backdrop-filter: blur(20px) saturate(1.6); -webkit-backdrop-filter: blur(20px) saturate(1.6); }
  .app-pousse-barre button { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 2px; padding: 8px 8px 8px 2px; border: 0; background: none; color: var(--laiton); font: 400 17px/1 var(--ui); cursor: pointer; }
  .app-pousse-barre button .ic { width: 24px; height: 24px; stroke-width: 2; }
  .app-pousse-barre b { position: absolute; left: 0; right: 0; text-align: center; font: 600 16px/1 var(--ui); pointer-events: none; }
  .app-pousse-corps { padding: 4px 16px calc(40px + env(safe-area-inset-bottom)); }

  /* Profil en cartes blanches */
  .app-profil { padding-top: 8px; }
  .app-profil .profil-grille { gap: 12px; }
  .app-profil .coque { padding: 0; background: none; box-shadow: none; border-radius: 22px; }
  .app-profil .coeur { padding: 20px 18px; border-radius: 22px; box-shadow: none; }
  .app-profil .fl input { background: #f4f4f7; }
  .app-profil .sortie { height: 54px; border-radius: 20px; background: #fff; box-shadow: none; }
  .app .vide { margin-top: 8px; }
}

/* Démonstration : l'écran de détail photographié en pleine page */
@media (max-width: 760px) {
  html.demo-pousse .app { display: none; }
  html.demo-pousse .app-pousse { position: relative; inset: auto; overflow: visible; box-shadow: none; }
}
@media (max-width: 760px) {
  .app-profil .profil-pied { flex-direction: column; align-items: stretch; gap: 10px; }
  .app-profil .profil-pied .pill { width: 100%; }
  .app-profil .profil-pied .pill:has(.pill-ic) { justify-content: space-between; }
  .app-profil .profil-pied .ax-note { text-align: center; }
}

/* ================= Suivi sans compte, pied court, connexion sans défilement ================= */
.ax-fermer { display: none; }
.ax-indice { display: flex; align-items: flex-start; gap: 10px; margin: 14px 2px 0; font-size: 13.5px; line-height: 1.4; color: var(--graphite); }
.ax-indice .ic { width: 17px; height: 17px; color: var(--laiton); margin-top: 1px; }
.ax-indice b { color: var(--encre); font-weight: 600; }
.ax-bascule { margin: 18px 0 0; text-align: center; font-size: 14.5px; color: var(--graphite); }
.ax-bascule .ax-lien { font-size: 14.5px; }
.ax-lien.discret { display: inline-flex; align-items: center; gap: 6px; color: var(--graphite); font-weight: 500; }
.ax-lien.discret .ic { width: 16px; height: 16px; color: var(--laiton); }
.ax-ligne { gap: 12px; }
.ax { min-height: calc(100dvh - var(--nav-h) - 58px); }
.rond-retour { display: grid; place-items: center; width: 46px; height: 46px; flex: none; border: 0; border-radius: 50%; background: var(--gris-1); color: var(--encre); cursor: pointer; transition: background .2s, transform .3s var(--doux); }
.rond-retour:hover { background: #e8e8ed; }
.rond-retour:active { transform: scale(.94); }
.invite { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 16px; padding: 28px 32px; border-radius: 28px; background: var(--gris-1); }
.invite h3 { margin-top: 12px; font: 400 30px/1.1 var(--display); letter-spacing: -.02em; }
.invite p { margin: 8px 0 0; font-size: 15px; color: var(--graphite); }
.invite b { color: var(--encre); font-weight: 600; }

/* Pied de page court */
.pied-court { border-top: 1px solid #ececf0; }
.pied-court .wrap { display: flex; align-items: center; gap: 22px; min-height: 58px; font-size: 13px; color: var(--graphite); flex-wrap: wrap; }
.pied-court span { margin-right: auto; }
.pied-court a { color: var(--graphite); text-decoration: none; }
.pied-court a:hover { color: var(--encre); }

@media (max-width: 760px) {
  .pied-court { display: none; }
  /* La connexion tient dans l'écran : rien ne défile, comme l'écran d'ouverture d'une app */
  html.cx-plein, html.cx-plein body { height: 100%; overflow: hidden; overscroll-behavior: none; }
  html.cx-plein body { padding-bottom: 0; background: #000; }
  html.cx-plein .onglets { display: none; }
  html.cx-plein .ax { display: flex; flex-direction: column; height: 100dvh; min-height: 0; background: #000; }
  html.cx-plein .ax-visuel { position: relative; inset: auto; flex: 1 1 auto; height: auto; min-height: 140px; }
  html.cx-plein .ax-texte { padding: 0 22px 44px; }
  html.cx-plein .ax-texte h1 { font-size: clamp(28px, 8.4vw, 36px); }
  html.cx-plein .ax-texte .oeil { display: none; }
  html.cx-plein .ax-panneau { flex: none; margin-top: -28px; min-height: 0; max-height: calc(100dvh - 140px); overflow-y: auto; overscroll-behavior: contain; padding: 10px 20px calc(16px + env(safe-area-inset-bottom)); }
  html.cx-plein .ax-panneau::before { margin-bottom: 14px; }
  html.cx-plein .ax-form h2 { font-size: 26px; margin-top: 18px; }
  html.cx-plein .ax-sous { font-size: 14px; margin: 6px 0 4px; }
  html.cx-plein .fl { margin-top: 10px; }
  html.cx-plein .fl input { height: 54px; padding-top: 22px; }
  html.cx-plein .fl label { top: 18px; }
  html.cx-plein .ax-form .pill.noir { margin-top: 16px; }
  html.cx-plein .ax-bascule { margin-top: 14px; }
  html.cx-plein .ax-securite { display: none; }
  html.cx-plein .ax-indice { margin-top: 12px; }
  html.cx-plein .seg-ax button { font-size: 14px; }
  .ax-fermer { display: grid; place-items: center; position: absolute; z-index: 2; top: calc(env(safe-area-inset-top) + 12px); left: 14px; width: 38px; height: 38px; border-radius: 50%; background: rgba(0,0,0,.35); color: #fff; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
  .ax-fermer .ic { width: 18px; height: 18px; stroke-width: 2; }
  .app .rond-retour { width: 40px; height: 40px; background: #fff; }
  .invite { flex-direction: column; align-items: stretch; gap: 16px; margin-top: 22px; padding: 20px; border-radius: 22px; background: #fff; }
  .invite h3 { font-size: 24px; }
  .invite .pill { width: 100%; }
}

/* Clavier ouvert sur la connexion plein écran : la photo se réduit, le formulaire reste visible au-dessus du clavier */
@media (max-width: 760px) {
  html.clavier.cx-plein .ax { position: fixed; left: 0; right: 0; top: var(--vv-top); height: var(--vv-h); }
  html.clavier.cx-plein .ax-visuel { min-height: 0; }
  html.clavier.cx-plein .ax-texte { display: none; }
  html.clavier.cx-plein .ax-panneau { max-height: calc(var(--vv-h) - 40px); }
}
