/* Styles propres aux modules profil, paramètres et éclats (complètent /social.css). */

/* ───────────── connexion par code ───────────── */
.pf-cx { max-width: 440px; margin: 0 auto; padding: 22px 20px 18px; border-radius: var(--r3); background: var(--s-surface); border: 1px solid var(--s-trait); box-shadow: var(--ombre); }
.pf-cx h2 { font: 800 23px/1.1 var(--f-titre); letter-spacing: -.03em; margin: 12px 0 6px; }
.pf-cx > p { margin: 0 0 6px; line-height: 1.45; font-size: 14.5px; }
.pf-cx .m-btn.l { margin-top: 14px; }
.pf-cx-etapes { display: flex; gap: 6px; }
.pf-cx-etapes i { height: 4px; width: 26px; border-radius: 4px; background: var(--s-surface3); transition: background var(--duree); }
.pf-cx-etapes i.on { background: var(--accent); }
.pf-cx-rassure { list-style: none; margin: 16px 0 0; padding: 14px 0 0; border-top: 1px dashed var(--s-trait-fort); display: grid; gap: 10px; }
.pf-cx-rassure li { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--s-texte2); line-height: 1.4; }
.pf-cx-rassure svg { width: 18px; height: 18px; flex: none; color: var(--accent-txt); margin-top: 1px; }
.pf-code { margin-top: 12px; text-align: center; font: 600 26px var(--f-mono); letter-spacing: .5em; padding-left: calc(13px + .5em); }
.pf-cx-bas { display: flex; justify-content: space-between; gap: 10px; margin-top: 14px; }
.pf-cx-bas .m-lien:disabled { color: var(--s-doux); cursor: default; }
.pf-cx-photo { position: relative; display: block; margin: 14px auto 2px; padding: 0; border: 0; background: none; border-radius: 50%; }
.pf-cx-photo > span:last-child, .pf-edit-av .pf-edit-cam { position: absolute; right: 0; bottom: 0; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--sur-accent); box-shadow: 0 0 0 3px var(--s-surface); }
.pf-cx-photo > span:last-child svg, .pf-edit-av .pf-edit-cam svg { width: 17px; height: 17px; }
.pf-pseudo { position: relative; }
.pf-pseudo > span { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--s-doux); font-weight: 600; pointer-events: none; }
.pf-pseudo .m-champ { padding-left: 30px; }
.m-aide.pf-ok { color: var(--vert); }
.m-aide.pf-ko { color: var(--rouge); }

/* ───────────── profil ───────────── */
.pf-sq { background: linear-gradient(100deg, var(--s-surface) 40%, var(--s-surface2) 50%, var(--s-surface) 60%) 0 0 / 300% 100%; animation: ondule 1.4s linear infinite; }
.pf-liens { border-top: 1px solid var(--s-trait); margin-top: 8px; }
.pf-h1 { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; font-size: 21px !important; }
.pf-av { position: relative; display: block; padding: 0; border: 0; background: none; border-radius: 50%; flex: none; }
button.pf-av { cursor: pointer; }
.pf-av .m-maille { box-shadow: 0 0 0 4px var(--s-fond); border-radius: 50%; background: var(--s-fond); }
.pf-av .m-maille .m-avatar { box-shadow: 0 0 0 3px var(--s-fond); }
.pf-av-plus { position: absolute; right: 4px; bottom: 4px; width: 26px; height: 26px; border-radius: 50%; background: var(--accent); color: var(--sur-accent); display: grid; place-items: center; box-shadow: 0 0 0 3px var(--s-fond); }
.pf-av-plus svg { width: 15px; height: 15px; }
.m-identite .poignee-id .m-badge { margin-left: 4px; }
.m-chiffres button { cursor: pointer; }
.m-chiffres button:hover { color: var(--s-texte); }
.m-chiffres button:hover b { text-decoration: underline; }
.pf-prive { padding-top: 40px; }
.pf-prive > svg { width: 46px; height: 46px; color: var(--s-doux); padding: 14px; box-sizing: content-box; border: 2px solid var(--s-trait-fort); border-radius: 50%; margin-bottom: 14px; }
#pf-ong { border-bottom: 1px solid var(--s-trait); position: sticky; top: 56px; z-index: 4; background: color-mix(in srgb, var(--s-fond) 92%, transparent); backdrop-filter: blur(14px); }
.pf-grille { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.pf-vign { position: relative; display: block; aspect-ratio: 1; overflow: hidden; background: var(--s-surface2); }
.pf-vign img, .pf-vign video { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s var(--doux-sortie); }
.pf-vign:hover img, .pf-vign:hover video { transform: scale(1.04); }
.pf-vign .pf-vign-ico { position: absolute; top: 7px; right: 7px; width: 19px; height: 19px; color: #fff; filter: drop-shadow(0 1px 3px rgb(0 0 0 / .6)); }
.m-section .m-doux svg { width: 14px; height: 14px; vertical-align: -2px; }

/* partager mon profil */
.pf-qr { padding: 18px 16px 6px; }
.pf-qr-carte { max-width: 300px; margin: 0 auto; padding: 22px 20px 20px; border-radius: 26px; text-align: center; color: #fff; background: radial-gradient(130% 90% at 0 0, color-mix(in srgb, var(--teinte) 85%, #fff), var(--teinte) 55%, color-mix(in srgb, var(--teinte) 55%, #000)); box-shadow: var(--ombre); display: flex; flex-direction: column; align-items: center; gap: 2px; }
.pf-qr-carte .m-avatar { box-shadow: 0 0 0 3px rgb(255 255 255 / .6); margin-bottom: 8px; }
.pf-qr-carte b { font: 800 19px var(--f-titre); letter-spacing: -.02em; }
.pf-qr-carte > span { font-size: 13.5px; opacity: .85; }
.pf-qr-code { margin-top: 16px; width: 100%; max-width: 210px; aspect-ratio: 1; padding: 14px; border-radius: 18px; background: #fff; color: #111; display: grid; place-items: center; }
.pf-qr-code svg, .pf-qr-code img, .pf-qr-code canvas { width: 100% !important; height: 100% !important; }
.pf-qr-code p { word-break: break-all; }

/* modifier le profil */
.pf-edit-couv { display: block; width: 100%; border: 0; padding: 0; cursor: pointer; }
.pf-edit-couv .pf-edit-cam { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 8px; background: rgb(0 0 0 / .32); color: #fff; font-size: 14px; opacity: .9; transition: opacity var(--duree); }
.pf-edit-couv .pf-edit-cam svg { width: 22px; height: 22px; }
.pf-edit-couv:hover .pf-edit-cam { opacity: 1; }
.pf-edit-av { display: flex; align-items: flex-end; justify-content: space-between; padding: 0 16px; margin-top: -46px; position: relative; }
.pf-edit-av > button:first-child { position: relative; padding: 0; border: 0; background: none; border-radius: 50%; }
.pf-edit-av .m-avatar { box-shadow: 0 0 0 4px var(--s-fond); }
.pf-edit-av .pf-edit-cam { box-shadow: 0 0 0 3px var(--s-fond); }
.pf-edit-av .m-lien { padding-bottom: 8px; }
.pf-edit-champs { padding: 4px 16px 24px; }
.m-teintes .pf-sans { display: grid; place-items: center; background: var(--s-surface2); color: var(--s-doux); }
.m-teintes .pf-sans svg { width: 16px; height: 16px; }

/* ───────────── paramètres ───────────── */
.pa-col { padding-bottom: 40px; }
.pa-moi { display: flex; align-items: center; gap: 14px; margin: 14px 16px 6px; padding: 14px; border-radius: var(--r3); background: var(--s-surface); border: 1px solid var(--s-trait); text-decoration: none; color: inherit; transition: border-color var(--duree); }
.pa-moi:hover { border-color: var(--s-trait-fort); }
.pa-moi b { display: block; font: 700 17px var(--f-titre); letter-spacing: -.02em; }
.pa-moi small { color: var(--s-doux); font-size: 13px; }
.pa-moi .chevron { width: 18px; height: 18px; color: var(--s-doux); }
.pa-titre { padding: 22px 16px 6px; }
.pa-titre h2 { margin: 0; font: 600 11px var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--s-doux); }
.pa-titre .m-aide { margin-top: 4px; }
.pa-groupe { border-top: 1px solid var(--s-trait); }
.pa-groupe:empty { display: none; }
.pa-groupe .m-personne { border-bottom: 1px solid var(--s-trait); }
.pa-groupe .m-personne .m-btn { flex: none; }
.pa-groupe .m-vide { padding: 28px 24px 30px; }
.pa-espace { margin-top: 24px; }
.pa-note { padding: 8px 16px 0; }
.pa-version { text-align: center; color: var(--s-doux); font-size: 10.5px; margin: 28px 16px; }
.pa-danger, .pa-danger > svg:first-child { color: var(--rouge) !important; }
.pa-radio { appearance: none; flex: none; width: 22px; height: 22px; margin: 0; border-radius: 50%; border: 2px solid var(--s-trait-fort); display: grid; place-items: center; cursor: pointer; transition: border-color var(--duree); }
.pa-radio::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); transform: scale(0); transition: transform .2s var(--ressort); }
.pa-radio:checked { border-color: var(--accent); }
.pa-radio:checked::after { transform: scale(1); }
.pa-radio:focus-visible, .m-bascule:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.pa-sanction { padding: 12px 16px; border-bottom: 1px solid var(--s-trait); display: grid; gap: 6px; }
.pa-sanction p { margin: 0; line-height: 1.4; }
.pa-sanction a { color: var(--accent-txt); text-decoration: none; }
.pa-intro { display: flex; gap: 12px; align-items: flex-start; margin: 14px 16px 10px; padding: 14px; border-radius: var(--r2); background: var(--s-surface); border: 1px solid var(--s-trait); }
.pa-intro > svg { width: 24px; height: 24px; flex: none; color: var(--accent-txt); }
.pa-intro p { margin: 0; font-size: 13.5px; line-height: 1.45; color: var(--s-texte2); }
.pa-tel { align-items: center; }
.pa-tel b { display: block; margin-bottom: 2px; }
.pa-tel .m-btn { flex: none; }
.pa-taille { display: flex; align-items: center; gap: 12px; padding: 6px 16px 10px; }
.pa-taille > span { font: 700 14px var(--f-titre); color: var(--s-doux); }
.pa-taille > span.grand { font-size: 22px; }
.pa-taille output { min-width: 50px; text-align: right; font-size: 12px; }
.pa-taille input[type="range"] { flex: 1; accent-color: var(--accent); height: 28px; }
.pa-apercu { margin: 4px 16px 6px; padding: 14px; border-radius: var(--r2); border: 1px dashed var(--s-trait-fort); background: var(--s-surface); }
.pa-apercu p { margin: 10px 0 12px; line-height: 1.45; }
.pa-sos { display: flex; gap: 12px; align-items: flex-start; margin: 16px; padding: 16px; border-radius: var(--r2); background: color-mix(in srgb, var(--rouge) 10%, var(--s-surface)); border: 1px solid color-mix(in srgb, var(--rouge) 40%, transparent); }
.pa-sos > svg { width: 26px; height: 26px; color: var(--rouge); flex: none; }
.pa-sos p { margin: 4px 0 0; font-size: 13.5px; line-height: 1.45; color: var(--s-texte2); }
.pa-conseil { padding: 18px 16px 4px; }
.pa-conseil h2 { display: flex; align-items: center; gap: 10px; margin: 0 0 8px; font: 800 18px var(--f-titre); letter-spacing: -.02em; }
.pa-conseil h2 svg { width: 22px; height: 22px; color: var(--accent-txt); }
.pa-conseil ul { margin: 0; padding-left: 20px; display: grid; gap: 6px; color: var(--s-texte2); line-height: 1.45; font-size: 14.5px; }
.pa-faq details { border-bottom: 1px solid var(--s-trait); }
.pa-faq summary { list-style: none; display: flex; align-items: center; gap: 10px; padding: 15px 16px; font-weight: 650; cursor: pointer; }
.pa-faq summary::-webkit-details-marker { display: none; }
.pa-faq summary svg { width: 18px; height: 18px; margin-left: auto; color: var(--s-doux); transition: transform var(--duree); flex: none; }
.pa-faq details[open] summary svg { transform: rotate(90deg); }
.pa-faq details p { margin: 0; padding: 0 16px 16px; color: var(--s-texte2); line-height: 1.5; }

/* ───────────── éclats : rangée ───────────── */
.m-eclat-v.ec-moi { position: relative; }
.ec-moi-voir { padding: 0; border: 0; background: none; border-radius: 50%; }
.ec-moi-plus { position: absolute; top: 44px; left: 44px; width: 22px; height: 22px; padding: 0; border: 0; border-radius: 50%; background: var(--accent); color: var(--sur-accent); display: grid; place-items: center; box-shadow: 0 0 0 3px var(--s-fond); }
.ec-moi-plus svg { width: 14px; height: 14px; }
.m-maille.ec-sans::before { display: none; }
.m-eclat-v.neuf span { color: var(--s-texte); }
.ec-sq { flex: none; width: 70px; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.ec-sq i, .ec-sq b { display: block; background: linear-gradient(100deg, var(--s-surface) 40%, var(--s-surface2) 50%, var(--s-surface) 60%) 0 0 / 300% 100%; animation: ondule 1.4s linear infinite; }
.ec-sq i { width: 62px; height: 62px; border-radius: 50%; }
.ec-sq b { width: 48px; height: 9px; border-radius: 5px; }

/* ───────────── éclats : création ───────────── */
.ec-creer { padding-bottom: 12px; }
.ec-scene-boite { padding: 12px 16px 6px; display: flex; justify-content: center; }
.ec-scene { position: relative; width: min(100%, 340px); aspect-ratio: 9 / 16; max-height: 58dvh; border-radius: 22px; overflow: hidden; background: var(--s-surface); border: 1px solid var(--s-trait); display: grid; place-items: center; }
.ec-scene.ec-media { background: #000; border-color: #000; }
.ec-scene.ec-media img, .ec-scene.ec-media video { width: 100%; height: 100%; object-fit: contain; }
.ec-choix { display: grid; gap: 10px; width: 78%; text-align: center; }
.ec-choix p { margin: 0 0 6px; font: 800 19px var(--f-titre); letter-spacing: -.02em; }
.ec-choix button { display: grid; grid-template-columns: 26px 1fr; align-items: center; column-gap: 12px; padding: 14px 16px; border-radius: 16px; border: 1px solid var(--s-trait-fort); background: var(--s-fond); color: var(--s-texte); font: 650 15px var(--f-texte); text-align: left; transition: border-color var(--duree), transform .12s; }
.ec-choix button:hover { border-color: var(--accent); }
.ec-choix button:active { transform: scale(.98); }
.ec-choix svg { width: 24px; height: 24px; color: var(--accent-txt); grid-row: span 2; }
.ec-choix small { color: var(--s-doux); font-size: 12px; font-weight: 500; }
.ec-saisie { position: absolute; inset: 0; width: 100%; height: 100%; padding: 70px 24px; border: 0; outline: none; resize: none; background: transparent; color: #fff; text-align: center; font: 700 28px/1.18 var(--f-titre); letter-spacing: -.03em; display: block; }
.ec-saisie::placeholder { color: rgb(255 255 255 / .6); }
.fond-4 .ec-saisie { color: #1a160f; }
.fond-4 .ec-saisie::placeholder { color: rgb(26 22 15 / .5); }
.ec-saisie.ec-t-m, .texte-eclat.ec-t-m { font-size: 22px !important; }
.ec-saisie.ec-t-s, .texte-eclat.ec-t-s { font-size: 17px !important; line-height: 1.3 !important; }
.ec-retirer { position: absolute !important; top: 10px; right: 10px; background: rgb(0 0 0 / .45) !important; color: #fff !important; z-index: 2; }
.ec-compte { position: absolute; bottom: 12px; right: 14px; color: rgb(255 255 255 / .75); font-size: 11px; }
.fond-4 .ec-compte { color: rgb(26 22 15 / .55); }
.ec-note { position: absolute; top: 14px; left: 12px; padding: 4px 9px; border-radius: 8px; background: rgb(0 0 0 / .55); color: #fff; font: 600 11px var(--f-texte); }
.ec-legende { position: absolute; left: 12px; right: 12px; bottom: 12px; height: 42px; border-radius: 999px; border: 1px solid rgb(255 255 255 / .35); background: rgb(0 0 0 / .45); color: #fff; padding: 0 16px; outline: none; font: 14.5px var(--f-texte); }
.ec-legende::placeholder { color: rgb(255 255 255 / .7); }
#ec-fonds { justify-content: center; }
.ec-pellicule { display: flex; gap: 8px; padding: 8px 16px; overflow-x: auto; scrollbar-width: none; justify-content: center; }
.ec-pellicule:empty { display: none; }
.ec-vign { position: relative; flex: none; width: 48px; height: 64px; padding: 0; border-radius: 10px; overflow: hidden; border: 2px solid transparent; background: var(--s-surface2); color: #fff; display: grid; place-items: center; }
.ec-vign.on { border-color: var(--accent); }
.ec-vign img, .ec-vign video { width: 100%; height: 100%; object-fit: cover; }
.ec-vign > span { font: 700 8px/1.1 var(--f-titre); padding: 3px; overflow: hidden; }
.ec-vign.fond-4 > span { color: #1a160f; }
.ec-vign .ec-vign-ico { position: absolute; bottom: 3px; right: 3px; width: 13px; height: 13px; }
.ec-vign.ec-ajout { border: 1.5px dashed var(--s-trait-fort); background: none; color: var(--s-texte2); }
.ec-vign.ec-ajout svg { width: 20px; height: 20px; }
.ec-reglages { padding: 0 16px; }
.ec-options { margin-top: 10px; border-top: 1px solid var(--s-trait); }

/* ───────────── éclats : visionneuse ───────────── */
.m-vision.ec ~ .m-voile { z-index: 72; }
.m-vision.ec { touch-action: none; }
.m-vision.ec-sort { animation: fondu .16s reverse forwards; }
.m-vision.ec .scene { transition: transform .2s var(--doux-sortie), opacity .2s; }
.m-vision.ec .scene.ec-entre { animation: ec-entre .28s var(--doux-sortie); }
@keyframes ec-entre { from { opacity: .4; transform: scale(.97); } }
.m-vision .media[class*="fond-"] { display: block; }
.m-vision .media .texte-eclat { position: absolute; inset: 0; }
.m-vision .media.fond-4 .texte-eclat { color: #1a160f; }
.m-vision .qui::before { content: ""; position: absolute; left: -12px; right: -12px; top: calc(-22px - var(--haut)); height: 110px; background: linear-gradient(rgb(0 0 0 / .5), transparent); z-index: -1; pointer-events: none; }
.ec-qui-av { flex: none; border-radius: 50%; }
.ec-qui-t { flex: 1; min-width: 0; display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 8px; row-gap: 1px; }
.ec-qui-t .ec-nom { color: #fff; font-weight: 700; text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
.ec-qui-t .ec-nom .m-verifie { width: 15px; height: 15px; margin-left: 3px; vertical-align: -2px; color: var(--accent-txt); }
.ec-qui-t .m-mono { font-size: 11px; opacity: .8; }
.ec-capture { flex-basis: 100%; display: inline-flex; align-items: center; gap: 4px; font-size: 11px; opacity: .85; }
.ec-capture svg { width: 13px; height: 13px; }
.ec-pause-ind { color: #fff; display: grid; place-items: center; }
.ec-pause-ind svg { width: 18px; height: 18px; }
.m-vision .qui .m-ib svg { width: 22px; height: 22px; }
.ec-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.ec-charge { position: absolute; top: 50%; left: 50%; width: 38px; height: 38px; margin: -19px 0 0 -19px; border-radius: 50%; border: 3px solid rgb(255 255 255 / .25); border-top-color: #fff; animation: tourne .8s linear infinite; z-index: 1; pointer-events: none; }
.ec-erreur { color: rgb(255 255 255 / .8); text-align: center; padding: 20px; }
.ec-pas-rep { flex: 1; color: rgb(255 255 255 / .7); font-size: 13px; padding-left: 6px; }
.m-vision .bas-eclat .m-ib .r-ico, .m-vision .bas-eclat .m-ib .r-ico svg { width: 26px; height: 26px; display: block; }
.m-vision .bas-eclat .m-ib:hover { background: rgb(255 255 255 / .12); }
.m-vision .bas-eclat .m-ib.charge { opacity: .5; pointer-events: none; }
.m-reacs.ec-reacs { z-index: 75; }
.m-reacs.ec-reacs button.on { background: color-mix(in srgb, var(--accent) 22%, transparent); }
.ec-gerbe { position: absolute; left: 50%; top: 50%; width: 110px; height: 110px; margin: -55px 0 0 -55px; z-index: 4; pointer-events: none; animation: ec-gerbe .9s var(--doux-sortie) forwards; }
.ec-gerbe svg { width: 100%; height: 100%; filter: drop-shadow(0 6px 20px rgb(0 0 0 / .45)); }
@keyframes ec-gerbe { 0% { transform: scale(.3); opacity: 0; } 30% { transform: scale(1.15); opacity: 1; } 70% { transform: scale(1); opacity: 1; } 100% { transform: translateY(-60px) scale(.8); opacity: 0; } }
.ec-vues-resume { margin: 0; padding: 14px 16px 10px; color: var(--s-texte2); }
.ec-vues-resume b { color: var(--s-texte); }
.m-personne .r-ico, .m-personne .r-ico svg { width: 24px; height: 24px; display: block; flex: none; }

@media (prefers-reduced-motion: reduce) {
  .m-vision.ec .scene.ec-entre, .ec-gerbe, .ec-charge, .pf-sq, .ec-sq i, .ec-sq b { animation: none; }
}

/* ═════════════ profil v3 (lot J) : en-tête façon Instagram, onglets, relations, créateur ═════════════ */
.pf-h1 { font-family: var(--f-mono) !important; font-weight: 600 !important; font-size: 17px !important; letter-spacing: -.01em !important; }
.m-identite .haut-id { align-items: flex-end; }
.pf-chiffres { flex: 1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px; padding-bottom: 6px; max-width: 360px; }
.pf-chiffres > * { min-height: 48px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; padding: 4px 2px; border: 0; background: none; border-radius: 12px; color: var(--s-doux); font: 500 calc(12.5px * var(--echelle)) var(--f-texte); text-align: center; }
.pf-chiffres b { font: 700 calc(18px * var(--echelle)) / 1.1 var(--f-mono); color: var(--s-texte); letter-spacing: -.03em; }
.pf-chiffres button { cursor: pointer; transition: background var(--duree); }
.pf-chiffres button:hover, .pf-chiffres button:focus-visible { background: var(--s-surface); }
.pf-chiffres button:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.pf-nom { font: 800 calc(21px * var(--echelle)) / 1.15 var(--f-titre); letter-spacing: -.025em; margin: 12px 0 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 6px; }
.pf-nom .m-verifie { width: 18px; height: 18px; color: var(--accent-txt); align-self: center; }
.pf-pronoms { font: 500 calc(13px * var(--echelle)) var(--f-texte); color: var(--s-doux); letter-spacing: 0; }
.pf-categorie { margin-top: 2px; font: 600 calc(13px * var(--echelle)) var(--f-texte); color: var(--s-doux); }
.pf-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.pf-badges:not(:has(.m-badge)) { display: none; }
.m-identite .bio { font-size: calc(15px * var(--echelle)); }
.pf-liens-bio { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 6px; margin-top: 8px; font-size: calc(14px * var(--echelle)); }
.pf-liens-bio > svg { width: 16px; height: 16px; color: var(--bleu); flex: none; }
.pf-liens-bio a { color: var(--bleu); font-weight: 600; text-decoration: none; overflow-wrap: anywhere; min-height: 32px; display: inline-flex; align-items: center; }
.pf-liens-bio a:hover { text-decoration: underline; }
.pf-liens-bio .m-lien { min-height: 32px; color: var(--s-texte2); }
.pf-communs { display: flex; align-items: center; gap: 8px; margin-top: 10px; padding: 4px 0; min-height: 36px; border: 0; background: none; color: var(--s-texte2); font: 500 calc(13px * var(--echelle)) / 1.35 var(--f-texte); text-align: left; cursor: pointer; }
.pf-communs:hover span:last-child { text-decoration: underline; }
.pf-communs-av { display: flex; flex: none; }
.pf-communs-av .m-avatar { box-shadow: 0 0 0 2px var(--s-fond); }
.pf-communs-av .m-avatar + .m-avatar { margin-left: -8px; }
.pf-boutons { margin-top: 14px; flex-wrap: wrap; gap: 8px; }
.pf-boutons .m-btn.s { height: 40px; min-width: 44px; flex: 1 1 auto; font-size: calc(14px * var(--echelle)); }
.pf-boutons .m-btn[data-suivre] { flex: 2 1 140px; }
.pf-ib { width: 44px !important; height: 40px !important; border-radius: 12px !important; }
.pf-ib[aria-expanded="true"] { background: var(--s-texte) !important; color: var(--s-fond); }
.pf-dem { position: relative; }
.pf-dem .pastille { position: absolute; top: 2px; right: 0; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--accent); color: var(--sur-accent); font: 600 10px/18px var(--f-mono); font-style: normal; text-align: center; }
#pf .m-entete .m-ib, #ps .m-entete .m-ib, .ex .m-entete .m-ib { min-width: 44px; min-height: 44px; }

/* comptes similaires (rangée qui glisse) */
.pf-simi-zone:empty { display: none; }
.pf-simi { margin: 0 0 10px; padding: 12px 0 14px; border-top: 1px solid var(--s-trait); border-bottom: 1px solid var(--s-trait); background: var(--s-fond2); animation: pf-deplier .28s var(--doux-sortie); }
@keyframes pf-deplier { from { opacity: 0; transform: translateY(-6px); } }
.pf-simi-tete { display: flex; align-items: center; justify-content: space-between; padding: 0 12px 8px 16px; }
.pf-simi-tete b { font: 700 calc(14px * var(--echelle)) var(--f-titre); }
.pf-simi-l { display: flex; gap: 10px; overflow-x: auto; padding: 0 16px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.pf-simi-l::-webkit-scrollbar { display: none; }
.pf-simi-c { flex: 0 0 148px; scroll-snap-align: start; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 14px 10px 12px; border-radius: var(--r2); background: var(--s-surface); border: 1px solid var(--s-trait); text-align: center; min-height: 196px; }
.pf-simi-c.pf-sq { border: 0; }
.pf-simi-n { color: inherit; text-decoration: none; min-width: 0; width: 100%; }
.pf-simi-n b { display: block; font-size: calc(13.5px * var(--echelle)); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pf-simi-n small { display: block; color: var(--s-doux); font-size: calc(11.5px * var(--echelle)); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pf-simi-c .m-btn { width: 100%; margin-top: auto; height: 36px; }

/* barre d'onglets à icônes + outils (grille / liste) */
#pf-ong.m-onglets { justify-content: space-around; }
#pf-ong button { display: inline-flex; align-items: center; gap: 6px; min-height: 48px; }
#pf-ong button svg { width: 20px; height: 20px; }
@media (max-width: 420px) { #pf-ong button span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } #pf-ong button { padding: 12px 14px; } }
#pf-ong button:focus-visible, .pf-mode .m-ib:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.pf-outils { display: flex; align-items: center; justify-content: space-between; padding: 4px 8px 4px 16px; min-height: 44px; }
.pf-outils[hidden] { display: none; }
.pf-outils .m-sur svg { width: 12px; height: 12px; vertical-align: -1px; }
.pf-mode { display: flex; gap: 2px; }
.pf-mode .m-ib { color: var(--s-doux); min-width: 40px; min-height: 40px; }
.pf-mode .m-ib[aria-pressed="true"] { color: var(--s-texte); background: var(--s-surface2); }

/* tuiles (grille du profil, d'une étiquette, d'un lieu et mosaïque d'Explorer) */
.pf-grille { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.pf-tuile { position: relative; display: block; aspect-ratio: 1; overflow: hidden; background: var(--s-surface2); color: #fff; isolation: isolate; }
.pf-grille .pf-tuile { aspect-ratio: 4 / 5; }
.pf-tuile img, .pf-tuile video { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s var(--doux-sortie), filter .35s; }
.pf-tuile:hover img, .pf-tuile:hover video { transform: scale(1.05); filter: brightness(.92); }
.pf-tuile:focus-visible { outline: 3px solid var(--accent); outline-offset: -3px; z-index: 1; }
.pf-tuile-ico { position: absolute; top: 7px; right: 7px; width: 19px; height: 19px; color: #fff; filter: drop-shadow(0 1px 3px rgb(0 0 0 / .65)); }
.pf-tuile-vues { position: absolute; left: 7px; bottom: 6px; display: inline-flex; align-items: center; gap: 4px; font: 600 11px var(--f-mono); color: #fff; text-shadow: 0 1px 3px rgb(0 0 0 / .7); }
.pf-tuile-vues svg { width: 14px; height: 14px; }
.pf-tuile-texte { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 12px; text-align: center; font: 700 calc(12.5px * var(--echelle)) / 1.25 var(--f-titre); letter-spacing: -.01em; overflow: hidden; overflow-wrap: anywhere;
  background: radial-gradient(120% 90% at 0 0, color-mix(in srgb, var(--teinte) 80%, #fff), var(--teinte) 55%, color-mix(in srgb, var(--teinte) 55%, #000)); }
.pf-tuile.pf-sq { pointer-events: none; }


/* feuilles : liste de personnes, demandes, masquer, à propos */
.pf-feuille-intro { margin: 10px 16px 8px; line-height: 1.45; font-size: calc(13.5px * var(--echelle)); }
.pf-lp-q { padding: 10px 16px 6px; }
#lp-ong { border-bottom: 1px solid var(--s-trait); }
#lp-l .m-personne .m-btn, #pd-l .m-personne .m-btn { flex: none; height: 36px; }
#lp-l .m-personne, #pd-l .m-personne { min-height: 60px; }
.pf-tout { display: flex; justify-content: flex-end; padding: 0 16px 6px; }
.pf-reglages { border-top: 1px solid var(--s-trait); }
.pf-apropos-tete { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 18px 16px 10px; text-align: center; }
.pf-apropos-tete b { font: 800 19px var(--f-titre); letter-spacing: -.02em; }
.pf-apropos-tete span { color: var(--s-doux); }
.pf-apropos-l { list-style: none; margin: 0; padding: 0 0 6px; }
.pf-apropos-l li { display: flex; gap: 14px; align-items: flex-start; padding: 12px 18px; border-top: 1px solid var(--s-trait); }
.pf-apropos-l svg { width: 22px; height: 22px; flex: none; color: var(--s-texte2); margin-top: 2px; }
.pf-apropos-l b { display: block; font-weight: 700; }
.pf-apropos-l span { color: var(--s-texte2); line-height: 1.4; font-size: calc(13.5px * var(--echelle)); }

/* modifier le profil : liens */
.pf-lien-ed { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr) auto; gap: 6px; align-items: center; margin-bottom: 8px; }
.pf-lien-ed .m-ib { width: 40px; height: 40px; }
@media (max-width: 420px) { .pf-lien-ed { grid-template-columns: 1fr auto; } .pf-lien-ed [data-l-titre] { grid-column: 1 / -1; } }
.pf-espace { margin-top: 14px; }
.pf-sans-bord { border: 0 !important; padding-left: 0 !important; padding-right: 0 !important; }
.pf-edit-champs select.m-champ { appearance: auto; }
.pf-edit-champs #cc-autre { margin-top: 8px; }

/* ═════════════ statistiques du créateur ═════════════ */
.ps-carte { display: flex; align-items: center; gap: 12px; margin: 0 16px 12px; padding: 14px 16px; border-radius: var(--r2); text-decoration: none; color: inherit; border: 1px solid var(--s-trait);
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 10%, var(--s-surface)), var(--s-surface) 60%); transition: border-color var(--duree), transform .15s; }
.ps-carte:hover { border-color: color-mix(in srgb, var(--accent) 45%, var(--s-trait)); }
.ps-carte:active { transform: scale(.99); }
.ps-carte > svg:first-child { width: 26px; height: 26px; color: var(--accent-txt); flex: none; }
.ps-carte b { display: block; font: 700 calc(15px * var(--echelle)) var(--f-titre); }
.ps-carte small { color: var(--s-texte2); font-size: calc(13px * var(--echelle)); }
.ps-carte .chevron { width: 18px; height: 18px; color: var(--s-doux); }
.ps-periodes { display: flex; gap: 8px; padding: 0 16px 10px; overflow-x: auto; scrollbar-width: none; }
.ps-periodes .m-puce { min-height: 40px; cursor: pointer; }
.ps-periodes .m-puce[aria-pressed="true"] { background: var(--s-texte); color: var(--s-fond); border-color: var(--s-texte); }
.ps-bloc { padding: 18px 16px 6px; border-bottom: 1px solid var(--s-trait); }
.ps-bloc > h2 { margin: 0 0 12px; }
.ps-chiffres { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 640px) { .ps-chiffres { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.ps-chiffre { display: flex; flex-direction: column; gap: 4px; padding: 14px; border-radius: var(--r2); background: var(--s-surface); border: 1px solid var(--s-trait); min-width: 0; }
.ps-chiffre-t { font-size: calc(12.5px * var(--echelle)); color: var(--s-texte2); font-weight: 600; }
.ps-chiffre b { font: 700 calc(28px * var(--echelle)) / 1 var(--f-mono); letter-spacing: -.04em; color: var(--s-texte); }
.ps-chiffre small { color: var(--s-doux); font-size: calc(11.5px * var(--echelle)); line-height: 1.35; }
.ps-var { display: inline-flex; align-items: center; gap: 3px; font: 600 calc(11.5px * var(--echelle)) var(--f-texte); color: var(--s-doux); }
.ps-var svg { width: 13px; height: 13px; }
.ps-var.hausse { color: var(--vert); }
.ps-var.hausse svg { transform: rotate(-90deg); }
.ps-var.baisse { color: var(--rouge); }
.ps-var.baisse svg { transform: rotate(90deg); }
.ps-note { margin: 10px 0 6px; font-size: calc(13.5px * var(--echelle)); line-height: 1.45; }
.ps-note svg { width: 15px; height: 15px; vertical-align: -3px; }
.ps-sous { margin: 18px 0 8px; font: 700 calc(14px * var(--echelle)) var(--f-titre); }
.ps-graphe { margin: 0; }
.ps-barres { display: flex; align-items: flex-end; gap: 2px; height: var(--h, 120px); padding-top: 4px; border-bottom: 1px solid var(--s-trait-fort); }
.ps-col { position: relative; flex: 1; height: 100%; display: flex; align-items: flex-end; min-width: 0; }
.ps-col i { display: block; width: 100%; border-radius: 4px 4px 0 0; background: var(--accent-txt); opacity: .85; transition: opacity var(--duree); }
.ps-col.on i { opacity: 1; background: var(--accent); }
.ps-barres:hover .ps-col i { opacity: .45; }
.ps-barres .ps-col:hover i { opacity: 1; }
.ps-col:hover::after { content: attr(data-info); position: absolute; bottom: calc(100% + 6px); left: 50%; transform: translateX(-50%); z-index: 3; white-space: nowrap; padding: 5px 9px; border-radius: 8px;
  background: var(--s-texte); color: var(--s-fond); font: 600 11.5px var(--f-texte); pointer-events: none; box-shadow: var(--ombre); }
.ps-col:first-child:hover::after { left: 0; transform: none; }
.ps-col:last-child:hover::after { left: auto; right: 0; transform: none; }
.ps-axe { display: flex; justify-content: space-between; margin-top: 6px; font: 500 calc(10.5px * var(--echelle)) var(--f-mono); color: var(--s-doux); }
.ps-tableau { margin-top: 8px; }
.ps-tableau summary { cursor: pointer; color: var(--accent-txt); font-weight: 600; font-size: calc(13px * var(--echelle)); min-height: 36px; display: flex; align-items: center; }
.ps-tableau table { width: 100%; border-collapse: collapse; font-size: calc(13px * var(--echelle)); margin-top: 6px; }
.ps-tableau th, .ps-tableau td { text-align: left; padding: 5px 8px; border-bottom: 1px solid var(--s-trait); }
.ps-tableau td:last-child, .ps-tableau th:last-child { text-align: right; font-family: var(--f-mono); }
.ps-audience { display: grid; gap: 8px; }
.ps-jauge { height: 14px; border-radius: 7px; background: var(--s-surface3); overflow: hidden; }
.ps-jauge i { display: block; height: 100%; background: var(--accent-txt); border-radius: 7px 0 0 7px; }
.ps-jauge-l { display: flex; justify-content: space-between; font-size: calc(13px * var(--echelle)); color: var(--s-texte2); }
.ps-jauge-l b { font-family: var(--f-mono); color: var(--s-texte); }
.ps-meilleures { display: grid; }
.ps-meilleure { display: flex; align-items: center; gap: 12px; padding: 10px 0; text-decoration: none; color: inherit; border-top: 1px solid var(--s-trait); min-height: 72px; }
.ps-meilleure:first-child { border-top: 0; }
.ps-meilleure:hover b { text-decoration: underline; }
.ps-rang { font: 700 13px var(--f-mono); color: var(--s-doux); width: 18px; text-align: center; flex: none; }
.ps-vign { width: 56px; height: 56px; border-radius: 10px; overflow: hidden; flex: none; background: var(--s-surface2); display: grid; place-items: center; }
.ps-vign img, .ps-vign video { width: 100%; height: 100%; object-fit: cover; }
.ps-vign-txt { font: 700 9px/1.15 var(--f-titre); padding: 4px; text-align: center; color: var(--s-texte2); overflow: hidden; }
.ps-meilleure .m-flex { min-width: 0; flex: 1; }
.ps-meilleure b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: calc(14px * var(--echelle)); }
.ps-meilleure small { display: block; color: var(--s-doux); font-size: calc(11.5px * var(--echelle)); }
.ps-mini { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 4px; margin-top: 3px; font: 500 calc(11.5px * var(--echelle)) var(--f-mono); color: var(--s-texte2); }
.ps-mini svg { width: 13px; height: 13px; vertical-align: -2px; }
.ps-meilleure .chevron { width: 16px; height: 16px; color: var(--s-doux); flex: none; }
.ps-detail { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.ps-detail > div { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: 12px; background: var(--s-surface); }
.ps-detail span:first-child { font-size: calc(12px * var(--echelle)); color: var(--s-texte2); }
.ps-detail b { font: 700 calc(19px * var(--echelle)) var(--f-mono); }
.ps-honnete { display: flex; gap: 8px; align-items: flex-start; margin: 16px; line-height: 1.45; }
.ps-honnete svg { width: 16px; height: 16px; flex: none; margin-top: 2px; }
.ps-actions { display: flex; justify-content: center; padding: 0 16px 32px; }

@media (prefers-reduced-motion: reduce) {
  .pf-simi { animation: none; }
  .pf-tuile img, .pf-tuile video { transition: none; }
  .pf-tuile:hover img, .pf-tuile:hover video { transform: none; }
}
:root[data-mouvement="reduit"] .pf-simi { animation: none; }
