/* Masquia — prototype de l'application (mobile d'abord) */
:root {
  --fond: #0B0709; --ecran: #120A0F; --carte: #1E161B; --carte-2: #261C22; --ligne: #34262F;
  --ink: #F6EEE8; --muted: #A8979F; --rose: #FF4F9A; --rose-ink: #1A0710; --or: #D8B98A; --vert: #57D9A3;
  --display: "Big Shoulders Display", "Arial Narrow", sans-serif;
  --body: "Instrument Sans", system-ui, sans-serif;
  --serif: "DM Serif Display", Georgia, serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --safe-b: env(safe-area-inset-bottom, 0px);
  color-scheme: dark;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; height: 100%; }
body { background: var(--fond); color: var(--ink); font: 400 16px/1.5 var(--body); -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: var(--rose); }
:focus-visible { outline: 2px solid var(--rose); outline-offset: 2px; }

/* cadre : plein écran sur téléphone, téléphone simulé sur ordinateur */
.device { position: relative; height: 100dvh; max-width: 480px; margin: 0 auto; background: var(--ecran); display: flex; flex-direction: column; overflow: hidden; }
@media (min-width: 700px) {
  body { display: grid; place-items: center; min-height: 100vh; background: radial-gradient(circle at 50% 30%, rgba(255, 79, 154, .12), transparent 60%), var(--fond); }
  .device { width: 400px; height: 840px; border-radius: 46px; border: 10px solid #050304; box-shadow: 0 40px 100px rgba(0, 0, 0, .6); }
  .note-proto { display: block !important; }
}
.note-proto { display: none; position: fixed; left: 24px; bottom: 24px; max-width: 280px; color: var(--muted); font-size: 13px; }
.note-proto b { color: var(--ink); }

.vue { flex: 1; overflow-y: auto; overflow-x: hidden; -webkit-overflow-scrolling: touch; padding: 0 20px 24px; }
.vue--pleine { padding: 0; }
.avec-onglets .vue { padding-bottom: calc(96px + var(--safe-b)); }

/* en-tête */
.entete { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 16px 20px 12px; margin: 0 -20px 6px; background: linear-gradient(var(--ecran) 70%, rgba(18, 10, 15, 0)); }
.entete h1 { margin: 0; font: 900 30px/1 var(--display); text-transform: uppercase; letter-spacing: .01em; }
.entete .logo { width: 116px; height: auto; color: #fff; --logo-band: var(--rose); }
.retour, .icone { width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--carte); display: grid; place-items: center; font-size: 18px; color: var(--ink); flex: none; }
.icone svg, .retour svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* onglets */
.onglets { position: absolute; left: 0; right: 0; bottom: 0; z-index: 10; display: grid; grid-template-columns: repeat(5, 1fr); padding: 8px 6px calc(10px + var(--safe-b)); background: rgba(18, 10, 15, .94); border-top: 1px solid var(--ligne); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.onglets a { display: flex; flex-direction: column; align-items: center; gap: 3px; text-decoration: none; color: var(--muted); font-size: 11px; font-weight: 500; padding: 4px 0; position: relative; }
.onglets a svg { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.onglets a.actif { color: var(--rose); }
.pastille { position: absolute; top: 0; right: calc(50% - 20px); min-width: 17px; height: 17px; border-radius: 9px; background: var(--rose); color: var(--rose-ink); font: 700 10px/17px var(--body); text-align: center; padding: 0 4px; }

/* typographie */
.titre-geant { font: 900 52px/.9 var(--display); text-transform: uppercase; margin: 0 0 16px; }
.titre-geant .hl, .hl { color: var(--rose); }
.serif { font-family: var(--serif); font-style: italic; font-weight: 400; }
.tag { font: 500 11px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--rose); margin: 0 0 10px; }
.muted { color: var(--muted); }
.petit { font-size: 13px; }
h2.section { font: 900 24px/1 var(--display); text-transform: uppercase; margin: 26px 0 12px; }

/* boutons */
.btn { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; padding: 16px 20px; border-radius: 14px; border: 2px solid transparent; font-weight: 600; font-size: 16px; text-decoration: none; transition: transform .15s, opacity .15s; }
.btn:active { transform: scale(.98); }
.btn--rose { background: var(--rose); color: var(--rose-ink); }
.btn--clair { background: var(--ink); color: var(--rose-ink); }
.btn--ligne { background: transparent; border-color: var(--ligne); color: var(--ink); }
.btn--danger { background: transparent; border-color: #ff6b6b; color: #ff8a8a; }
.btn[disabled] { opacity: .4; pointer-events: none; }
.pile-btn { display: grid; gap: 10px; }

/* champs */
.champ { margin-bottom: 16px; }
.champ label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 7px; }
.champ input, .champ select, .champ textarea { width: 100%; padding: 14px; border-radius: 12px; border: 2px solid var(--ligne); background: var(--carte); color: var(--ink); appearance: none; }
.champ input:focus, .champ select:focus, .champ textarea:focus { outline: none; border-color: var(--rose); }
.champ .aide { font-size: 13px; color: var(--muted); margin: 6px 0 0; }
.coche { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: #d9cbc6; margin-bottom: 12px; }
.coche input { width: 20px; height: 20px; accent-color: var(--rose); flex: none; margin-top: 1px; }
.erreur { color: #ff8a8a; font-size: 14px; min-height: 1.4em; margin: 6px 0; }

/* puces de choix */
.puces { display: flex; flex-wrap: wrap; gap: 8px; }
.puce { padding: 9px 14px; border-radius: 999px; border: 2px solid var(--ligne); background: transparent; font-size: 14px; color: var(--ink); }
.puce.on { border-color: var(--rose); background: rgba(255, 79, 154, .14); color: var(--rose); }
.puce.limite.on { border-color: var(--or); background: rgba(216, 185, 138, .12); color: var(--or); }
.puce.statique { pointer-events: none; }

/* étapes */
.etapes { display: flex; gap: 6px; margin: 4px 0 22px; }
.etapes span { flex: 1; height: 4px; border-radius: 4px; background: var(--ligne); }
.etapes span.ok { background: var(--rose); }

/* cartes et listes */
.carte { background: var(--carte); border: 1px solid var(--ligne); border-radius: 18px; padding: 18px; margin-bottom: 12px; }
.ligne-liste { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--ligne); text-decoration: none; color: var(--ink); }
.ligne-liste:last-child { border-bottom: 0; }
.ligne-liste .txt { flex: 1; min-width: 0; }
.ligne-liste .txt b { display: block; }
.ligne-liste .txt span { display: block; color: var(--muted); font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chevron { color: var(--muted); }

/* « photos » floutées (aucune vraie photo dans le prototype) */
.flou { position: relative; overflow: hidden; background: #2a1d24; }
.flou::before { content: ""; position: absolute; inset: -25%; background: var(--g); filter: blur(18px); }
.flou img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: blur(16px) saturate(1.1); transform: scale(1.15); }
.avatar { width: 54px; height: 54px; border-radius: 16px; flex: none; }
.etiquette { position: absolute; left: 10px; bottom: 10px; z-index: 1; font: 500 10px var(--mono); letter-spacing: .08em; text-transform: uppercase; background: rgba(11, 7, 9, .62); padding: 6px 9px; border-radius: 7px; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }

/* découvrir */
.profil-carte { position: relative; border-radius: 26px; overflow: hidden; background: var(--carte); border: 1px solid var(--ligne); }
.profil-carte .photo { height: 360px; border-radius: 0; }
.profil-carte .infos { padding: 16px 18px 18px; }
.profil-carte h2 { margin: 0 0 4px; font: 900 34px/1 var(--display); text-transform: uppercase; }
.compat { position: absolute; right: 12px; top: 12px; z-index: 1; background: var(--rose); color: var(--rose-ink); font: 700 12px var(--body); padding: 6px 10px; border-radius: 999px; }
.verifie { display: inline-flex; align-items: center; gap: 5px; color: var(--vert); font-size: 13px; font-weight: 600; }
.actions-carte { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.sortie-gauche { animation: sortG .35s ease-in forwards; }
.sortie-droite { animation: sortD .35s ease-in forwards; }
@keyframes sortG { to { transform: translateX(-120%) rotate(-12deg); opacity: 0; } }
@keyframes sortD { to { transform: translateX(120%) rotate(12deg); opacity: 0; } }
.vide { text-align: center; padding: 50px 10px; color: var(--muted); }
.vide .titre-geant { font-size: 40px; color: var(--ink); }

/* attirance réciproque */
.match { min-height: 100%; display: flex; flex-direction: column; justify-content: center; text-align: center; padding: 30px 24px; background: radial-gradient(circle at 50% 35%, rgba(255, 79, 154, .25), transparent 60%); }
.match .duo { display: flex; justify-content: center; margin: 10px 0 26px; }
.match .duo .avatar { width: 110px; height: 140px; border-radius: 22px; border: 3px solid var(--ecran); }
.match .duo .avatar + .avatar { margin-left: -22px; transform: rotate(6deg); }
.match .duo .avatar:first-child { transform: rotate(-6deg); }
.bandeau-anim { height: 16px; background: var(--rose); border-radius: 3px; margin: 0 auto 22px; width: 0; animation: bandeau .6s .3s cubic-bezier(.7, 0, .2, 1) forwards; transform: rotate(-3deg); }
@keyframes bandeau { to { width: 70%; } }

/* discussion */
.chat { display: flex; flex-direction: column; height: 100%; }
.chat .fil { flex: 1; overflow-y: auto; padding: 8px 16px 12px; display: flex; flex-direction: column; gap: 8px; }
.bulle { max-width: 78%; padding: 10px 14px; border-radius: 18px; font-size: 15px; line-height: 1.4; }
.bulle.moi { align-self: flex-end; background: var(--rose); color: var(--rose-ink); border-bottom-right-radius: 6px; }
.bulle.lui { align-self: flex-start; background: var(--carte-2); border-bottom-left-radius: 6px; }
.bulle.systeme { align-self: center; background: transparent; color: var(--muted); font-size: 12px; text-align: center; max-width: 90%; }
.ecrit { align-self: flex-start; color: var(--muted); font-size: 13px; padding: 4px 8px; }
.saisie { display: flex; gap: 8px; padding: 10px 12px calc(12px + var(--safe-b)); border-top: 1px solid var(--ligne); background: var(--ecran); }
.saisie input { flex: 1; padding: 13px 16px; border-radius: 999px; border: 2px solid var(--ligne); background: var(--carte); }
.saisie input:focus { outline: none; border-color: var(--rose); }
.saisie button { width: 50px; border-radius: 50%; border: 0; background: var(--rose); color: var(--rose-ink); display: grid; place-items: center; }
.saisie button svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 2.2; }
.entete-chat { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--ligne); }
.entete-chat .avatar { width: 42px; height: 42px; border-radius: 12px; }
.entete-chat .txt { flex: 1; } .entete-chat b { display: block; } .entete-chat span { color: var(--muted); font-size: 13px; }
.bouton-accord { margin: 0 16px 6px; }

/* mode rendez-vous */
.rdv-actif { text-align: center; padding: 26px 18px; border-radius: 22px; border: 2px solid var(--vert); background: rgba(87, 217, 163, .07); margin-bottom: 14px; }
.rdv-actif .compte { font: 900 64px/1 var(--display); margin: 8px 0; }
.point-vert { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--vert); box-shadow: 0 0 0 0 rgba(87, 217, 163, .6); animation: pulse 1.6s infinite; margin-right: 6px; }
@keyframes pulse { to { box-shadow: 0 0 0 12px rgba(87, 217, 163, 0); } }

/* formules */
.formule { position: relative; border: 2px solid var(--ligne); border-radius: 18px; padding: 18px; margin-bottom: 12px; background: var(--carte); }
.formule.choisie { border-color: var(--rose); }
.formule .prix { font: 900 34px/1 var(--display); }
.formule .prix small { font: 500 14px var(--body); color: var(--muted); }
.formule.cercle .prix, .formule.cercle .nom { color: var(--or); font-family: var(--serif); font-style: italic; font-weight: 400; }
.formule .nom { font: 500 12px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--rose); }
.formule ul { margin: 10px 0 14px; padding-left: 18px; color: #d9cbc6; font-size: 14px; }
.badge-actuel { position: absolute; right: 14px; top: 14px; font: 600 11px var(--body); background: var(--ligne); padding: 4px 9px; border-radius: 999px; }

/* fenêtres modales et messages */
.voile { position: absolute; inset: 0; z-index: 50; background: rgba(5, 3, 4, .7); display: flex; align-items: flex-end; animation: fondu .2s; }
.feuille { width: 100%; max-height: 88%; overflow-y: auto; background: var(--ecran); border-radius: 26px 26px 0 0; border-top: 1px solid var(--ligne); padding: 10px 20px calc(24px + var(--safe-b)); animation: monte .3s cubic-bezier(.2, .8, .2, 1); }
.feuille::before { content: ""; display: block; width: 44px; height: 5px; border-radius: 3px; background: var(--ligne); margin: 0 auto 16px; }
@keyframes fondu { from { opacity: 0; } } @keyframes monte { from { transform: translateY(100%); } }
.toast { position: absolute; left: 16px; right: 16px; bottom: calc(100px + var(--safe-b)); z-index: 60; background: var(--carte-2); border: 1px solid var(--rose); border-radius: 14px; padding: 13px 16px; font-size: 14px; animation: fondu .2s; box-shadow: 0 16px 30px rgba(0, 0, 0, .5); }

/* intro */
.splash { position: absolute; inset: 0; z-index: 100; background: var(--ecran); display: grid; place-items: center; animation: disparait .5s 1.9s forwards; }
.splash svg { width: 230px; color: #fff; --logo-band: var(--rose); }
.splash .l { transform: translateY(110%); animation: lettres .7s .1s cubic-bezier(.2, .7, .1, 1) forwards; transform-box: fill-box; }
.splash .b { fill: var(--rose); clip-path: inset(0 100% 0 0); animation: bande .5s .8s cubic-bezier(.7, 0, .2, 1) forwards; }
@keyframes lettres { to { transform: none; } } @keyframes bande { to { clip-path: inset(0 0 0 0); } }
@keyframes disparait { to { opacity: 0; visibility: hidden; } }

/* divers */
.interrupteur { position: relative; width: 50px; height: 30px; flex: none; }
.interrupteur input { opacity: 0; width: 0; height: 0; }
.interrupteur span { position: absolute; inset: 0; border-radius: 30px; background: var(--ligne); transition: .2s; }
.interrupteur span::before { content: ""; position: absolute; width: 24px; height: 24px; left: 3px; top: 3px; border-radius: 50%; background: var(--ink); transition: .2s; }
.interrupteur input:checked + span { background: var(--rose); }
.interrupteur input:checked + span::before { transform: translateX(20px); }
.grille-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.grille-photos > * { aspect-ratio: 3 / 4; border-radius: 14px; }
.ajout-photo { border: 2px dashed var(--ligne); display: grid; place-items: center; color: var(--muted); font-size: 28px; background: transparent; }
.code-resa { font: 900 40px/1 var(--display); letter-spacing: .12em; color: var(--rose); }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition: none !important; } }

/* ---------- animations marketing ---------- */
.device > .vue, .device > .chat { position: relative; z-index: 1; }
.masques-flottants { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.m-flotte { position: absolute; height: auto; aspect-ratio: 2 / 1; color: var(--rose); animation: flotte linear infinite alternate; }
@keyframes flotte { from { transform: translate(0, 0) rotate(var(--rot)); } to { transform: translate(var(--dx), var(--dy)) rotate(calc(var(--rot) * -1)); } }
.match { position: relative; overflow: hidden; }
.pluie-masques { position: absolute; left: 50%; top: 42%; width: 0; height: 0; pointer-events: none; }
.m-eclat { position: absolute; left: -20px; top: -10px; aspect-ratio: 2 / 1; height: auto; opacity: 0; animation: eclat 1.6s cubic-bezier(.15, .7, .3, 1) forwards; }
@keyframes eclat { 0% { opacity: 0; transform: translate(0, 0) scale(.3) rotate(0); } 15% { opacity: 1; } 100% { opacity: 0; transform: translate(var(--x), calc(var(--y) + 140px)) scale(1) rotate(var(--rot)); } }
.envol { position: absolute; z-index: 70; pointer-events: none; animation: envol 1.1s cubic-bezier(.2, .7, .2, 1) forwards; }
.envol svg { display: block; }
@keyframes envol { 0% { transform: translateY(0) scale(.6); opacity: 0; } 20% { opacity: 1; transform: translateY(-20px) scale(1.2); } 100% { transform: translateY(-160px) scale(.8) rotate(-12deg); opacity: 0; } }
#aimer:active { transform: scale(.94); }

/* --- Logo « la serrure et le masque » (2026-11-09) --- */
.entete .logo { width: 92px; --logo-trait: 1.2px; }
.splash svg { width: 230px; --logo-trait: 2.5px; overflow: visible; }
.splash .m { opacity: 0; transform: translateY(-12px); animation: logo-masque .7s cubic-bezier(.2, .7, .1, 1) .5s forwards; }
.splash .y { opacity: 0; transform-box: fill-box; transform-origin: center; transform: scaleY(0); animation: logo-yeux .3s ease-out 1.1s forwards; }
.splash .k { opacity: 0; animation: logo-cle .3s ease-out 1.35s forwards; }
@keyframes logo-masque { to { opacity: 1; transform: none; } }
@keyframes logo-yeux { to { opacity: 1; transform: none; } }
@keyframes logo-cle { to { opacity: 1; } }

/* ---------- photos : idées et selfie masqué (2026-11-09) ---------- */
.actions-photo { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 12px 0 6px; }
.actions-photo .btn { padding-left: 8px; padding-right: 8px; font-size: 14px; }
.lien-idees { background: none; border: 0; padding: 6px 0 14px; color: var(--rose); font: 600 14px var(--corps, inherit); cursor: pointer; text-align: left; }
.idees { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 14px 0 10px; }
.idees figure { margin: 0; }
.idees img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 12px; display: block; }
.idees figcaption { font-size: 11px; line-height: 1.35; color: var(--muted); margin-top: 6px; }
.idees figcaption b { display: block; color: var(--ink); font-size: 12px; }
.regles { list-style: none; padding: 0; margin: 6px 0 16px; display: grid; gap: 8px; }
.regles li { font-size: 13px; color: var(--muted); padding-left: 16px; position: relative; }
.regles li::before { content: ""; position: absolute; left: 0; top: 7px; width: 7px; height: 7px; border-radius: 50%; background: var(--rose); }
.regles b { color: var(--ink); }
.selfie__cadre { position: relative; border-radius: 20px; overflow: hidden; background: #000; margin-bottom: 12px; }
.selfie__cadre canvas { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; }
.selfie__aide { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); margin: 0; white-space: nowrap; font-size: 13px; font-weight: 600; background: rgba(11, 7, 9, .72); padding: 8px 14px; border-radius: 999px; }
.selfie__masques { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 8px; }
.selfie__masques .puce { flex: none; }
.selfie__note { margin-top: 12px; }
.groupe-puces { margin: 14px 0 8px; font: 500 11px var(--mono, monospace); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.groupe-puces:first-child { margin-top: 4px; }
.bandeau-verif { display: flex; gap: 10px; align-items: flex-start; text-decoration: none; color: var(--ink); background: rgba(255, 79, 154, .1); border: 1px solid rgba(255, 79, 154, .35); border-radius: 14px; padding: 12px 14px; margin-bottom: 12px; font-size: 13px; line-height: 1.4; }
.point-rose { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--rose); margin-top: 5px; animation: clignote 1.6s ease-in-out infinite; }
@keyframes clignote { 50% { opacity: .3; } }
.entete-section { display: flex; justify-content: space-between; align-items: baseline; margin: 6px 0 10px; }
.photo-perso { position: relative; }
.suppr-photo { position: absolute; top: 6px; right: 6px; z-index: 2; width: 28px; height: 28px; border-radius: 50%; border: 0; background: rgba(11, 7, 9, .75); color: var(--ink); font-size: 18px; line-height: 28px; padding: 0; cursor: pointer; }
button.ajout-photo { cursor: pointer; width: 100%; }
.photo-perso { overflow: hidden; background: var(--carte); }
.photo-perso img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* --- Découvrir : photos nettes (corps visibles, jamais de visage) --- */
.photo-profil { position: relative; overflow: hidden; background: var(--carte-2); cursor: pointer; }
.photo-profil img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.points { position: absolute; left: 12px; right: 12px; top: 10px; z-index: 1; display: flex; gap: 4px; }
.points span { flex: 1; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, .35); }
.points span.on { background: #fff; }
.profil-carte .compat { top: 22px; }
/* Attirances : les admirateurs, photos floutées */
.grille-admirateurs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 12px 0; }
.admirateur .flou { aspect-ratio: 3 / 4; border-radius: 14px; margin-bottom: 6px; }
.admirateur b { display: block; font-size: 13px; }
.admirateur span { font-size: 11px; color: var(--muted); }
.reponse-adm { display: flex; gap: 6px; margin-top: 6px; }
.reponse-adm button { flex: 1; height: 32px; border-radius: 999px; border: 1px solid var(--ligne); background: transparent; color: var(--ink); font-size: 15px; cursor: pointer; }
.reponse-adm .oui { background: var(--rose); border-color: var(--rose); color: var(--rose-ink); }
.reponse-adm .oui.attente { background: transparent; border-color: var(--rose); color: var(--rose); font-size: 12px; font-weight: 600; }
.admirateur .adm-net img { filter: none; transform: none; }
.carte-attente { border-color: rgba(255, 79, 154, .45); }
.carte-attente .btn { margin-top: 12px; }
.lien-rose { color: var(--rose); }
.compteur-att { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin: 0 0 10px; font-size: 13px; color: var(--muted); }
.compteur-att span { color: var(--ink); font-weight: 600; }
.compteur-att a { font-weight: 600; }

/* vignettes avec la vraie photo (la mienne ou celle d'un match) : nette */
.avatar--photo::before { display: none; }
.avatar--photo img { filter: none; transform: none; }
.ligne-liste.envoyee .retirer { margin-left: auto; flex: none; padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--ligne); background: transparent; color: var(--muted); font: inherit; font-size: 13px; }
.ligne-liste.envoyee .retirer:active { border-color: var(--rose); color: var(--rose); }
.rangee-matchs { display: flex; gap: 14px; overflow-x: auto; padding: 4px 2px 14px; margin: 0 0 18px; border-bottom: 1px solid var(--ligne); scrollbar-width: none; }
.rangee-matchs::-webkit-scrollbar { display: none; }
.rangee-matchs a { flex: none; width: 72px; text-align: center; text-decoration: none; color: var(--ink); }
.rangee-matchs .avatar { width: 72px; height: 90px; border-radius: 18px; border: 2px solid var(--rose); margin-bottom: 6px; }
.rangee-matchs span { display: block; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.entete-chat .vers-profil { display: flex; align-items: center; gap: 12px; flex: 1; min-width: 0; text-decoration: none; color: inherit; }
.avatar--vide { display: grid; place-items: center; background: var(--carte-2); color: var(--rose); }
.avatar--vide::before { display: none; }
.avatar--vide svg { width: 58%; max-width: 64px; opacity: .85; }
.avatar[data-av]:not(.avatar--photo):not(.avatar--vide)::before { opacity: .35; }

/* écran de confirmation animé */
.celebration { position: absolute; inset: 0; z-index: 80; display: grid; place-items: center; padding: 24px; text-align: center; overflow: hidden;
  background: radial-gradient(circle at 50% 34%, rgba(255, 79, 154, .30), transparent 58%), rgba(8, 5, 7, .95); animation: fondu .3s; }
.celebration::before { content: ""; position: absolute; left: 50%; top: 30%; width: 420px; height: 420px; margin: -210px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 79, 154, .22), transparent 65%); animation: cel-souffle 3.2s ease-in-out 1.6s infinite; pointer-events: none; }
.celebration.sort { opacity: 0; transform: scale(1.03); transition: opacity .32s, transform .32s; }
.celebration__boite { position: relative; max-width: 340px; }
.celebration__scene { position: relative; width: 210px; height: 152px; margin: 0 auto 14px; }
.celebration__masque { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; animation: cel-flotte 3.4s ease-in-out 2.7s infinite; }
.celebration__masque .trait { fill: none; stroke: var(--rose); stroke-width: 2.7; stroke-linejoin: round; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1;
  filter: drop-shadow(0 0 6px rgba(255, 79, 154, .7)); animation: cel-dessine 1.25s cubic-bezier(.65, .05, .3, 1) .2s forwards; }
.celebration__masque .fond { fill: url(#celFond); opacity: 0; animation: cel-montre .6s ease-out 1.3s forwards; }
.celebration__masque .reflet { animation: cel-reflet 1.1s ease-in-out 1.9s forwards; opacity: .9; }
.celebration__masque .rubans path { fill: none; stroke: var(--rose); stroke-width: 2.4; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; opacity: .85;
  animation: cel-dessine .8s ease-out 1.05s forwards; }
.celebration__masque .rubans .r2 { stroke: #FFD3E6; stroke-width: 1.6; opacity: .6; animation-delay: 1.2s; }
.celebration__masque .rubans { transform-origin: 60px 20px; animation: cel-ruban 2.6s ease-in-out 2.1s infinite; }
.celebration__masque .oeil { fill: var(--rose); transform-box: fill-box; transform-origin: center; transform: scale(0); filter: drop-shadow(0 0 5px #FF4F9A);
  animation: cel-allume .4s cubic-bezier(.3, 1.7, .5, 1) 1.45s forwards, cel-cligne .32s ease-in-out 2.35s; }
.celebration__masque .o2 { animation-delay: 1.6s, 2.35s; }
.celebration__onde { position: absolute; left: 50%; top: 34%; width: 120px; height: 120px; margin: -60px; border-radius: 50%; border: 2px solid var(--rose);
  opacity: 0; animation: cel-onde 1.3s ease-out 1.6s forwards; }
.celebration__onde.o2 { border-color: #FFD3E6; animation-delay: 1.85s; }
.celebration__eclats { position: absolute; left: 50%; top: 34%; width: 0; height: 0; }
.celebration__eclats i { position: absolute; width: 7px; height: 7px; margin: -3.5px; border-radius: 50%; background: var(--rose); opacity: 0;
  animation: cel-eclat 1.1s cubic-bezier(.15, .7, .3, 1) 1.65s forwards; }
.celebration__eclats i:nth-child(3n) { background: #FFD3E6; }
.celebration__eclats i:nth-child(4n) { border-radius: 1px; transform: rotate(45deg); width: 6px; height: 6px; }
.celebration__eclats i:nth-child(1) { --x: -120px; --y: -30px; } .celebration__eclats i:nth-child(2) { --x: 118px; --y: -34px; }
.celebration__eclats i:nth-child(3) { --x: -86px; --y: -92px; } .celebration__eclats i:nth-child(4) { --x: 90px; --y: -88px; }
.celebration__eclats i:nth-child(5) { --x: -140px; --y: 30px; } .celebration__eclats i:nth-child(6) { --x: 136px; --y: 34px; }
.celebration__eclats i:nth-child(7) { --x: -24px; --y: -120px; } .celebration__eclats i:nth-child(8) { --x: 30px; --y: -116px; }
.celebration__eclats i:nth-child(9) { --x: -60px; --y: 70px; animation-delay: 1.8s; } .celebration__eclats i:nth-child(10) { --x: 64px; --y: 74px; animation-delay: 1.8s; }
.celebration__eclats i:nth-child(11) { --x: -150px; --y: -70px; animation-delay: 1.75s; } .celebration__eclats i:nth-child(12) { --x: 152px; --y: -66px; animation-delay: 1.75s; }
.celebration__eclats i:nth-child(13) { --x: 0px; --y: -140px; animation-delay: 1.9s; } .celebration__eclats i:nth-child(14) { --x: 0px; --y: 96px; animation-delay: 1.9s; }
.celebration .tag { opacity: 0; animation: cel-apparait .55s ease-out 2.05s forwards; }
.celebration .titre-geant { font-size: 44px; margin: 6px 0 10px; opacity: 0; animation: cel-apparait .6s cubic-bezier(.2, .8, .2, 1) 2.2s forwards; }
.celebration .muted { opacity: 0; animation: cel-apparait .55s ease-out 2.45s forwards; }
.celebration .btn { margin-top: 18px; width: 100%; opacity: 0; animation: cel-apparait .55s ease-out 2.7s forwards; }
@keyframes cel-dessine { to { stroke-dashoffset: 0; } }
@keyframes cel-montre { to { opacity: 1; } }
@keyframes cel-reflet { from { transform: skewX(-20deg) translateX(0); } to { transform: skewX(-20deg) translateX(160px); } }
@keyframes cel-allume { to { transform: scale(1); } }
@keyframes cel-cligne { 0%, 100% { transform: scale(1); } 50% { transform: scale(1, .12); } }
@keyframes cel-onde { 0% { opacity: .9; transform: scale(.4); } 100% { opacity: 0; transform: scale(2.6); } }
@keyframes cel-eclat { 0% { opacity: 1; transform: translate(0, 0) scale(1.2); } 70% { opacity: .9; } 100% { opacity: 0; transform: translate(var(--x), var(--y)) scale(.3); } }
@keyframes cel-apparait { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes cel-flotte { 50% { transform: translateY(-7px) rotate(-1.2deg); } }
@keyframes cel-ruban { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(2.2deg) skewX(2deg); } }
@keyframes cel-souffle { 0%, 100% { opacity: .55; transform: scale(.92); } 50% { opacity: 1; transform: scale(1.06); } }
@media (prefers-reduced-motion: reduce) {
  .celebration *, .celebration::before { animation: none !important; }
  .celebration__masque .trait, .celebration__masque .rubans path { stroke-dashoffset: 0; } .celebration__masque .fond { opacity: 1; }
  .celebration__masque .oeil { transform: none; } .celebration__onde, .celebration__eclats { display: none; }
  .celebration .titre-geant, .celebration .tag, .celebration .muted, .celebration .btn { opacity: 1; } }

/* « Ce que tu recherches » sur un profil */
.ligne-recherche { margin: 0 0 10px; padding: 8px 12px; border: 1px solid rgba(255, 79, 154, .35); border-radius: 12px; background: rgba(255, 79, 154, .07); font-size: 14px; line-height: 1.4; }
.ligne-recherche span { display: block; font: 500 10px var(--mono, monospace); letter-spacing: .16em; text-transform: uppercase; color: var(--rose); margin-bottom: 2px; }
.puce[hidden] { display: none; }

/* Pacte de courtoisie : remplace la zone de saisie tant qu'il n'est pas accepté */
.pacte { flex: none; max-height: 74%; overflow-y: auto; padding: 20px 18px calc(18px + var(--safe-b)); border-top: 1px solid var(--ligne); background: var(--carte); border-radius: 22px 22px 0 0; box-shadow: 0 -14px 40px rgba(0, 0, 0, .45); animation: pacte-monte .45s cubic-bezier(.2, .8, .2, 1); }
.pacte h2 { font: 900 30px/.95 var(--display); text-transform: uppercase; margin: 0 0 10px; }
.pacte ol { margin: 12px 0 14px; padding-left: 20px; font-size: 14px; line-height: 1.45; color: #e4d8d2; }
.pacte li + li { margin-top: 7px; }
.pacte li::marker { color: var(--rose); font-weight: 700; }
.pacte li b { color: #fff; }
.pacte .coche { margin: 14px 0; }
.pacte .btn { width: 100%; }
.pacte .btn:disabled { opacity: .4; cursor: not-allowed; }
@keyframes pacte-monte { from { transform: translateY(40px); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .pacte { animation: none; } }
