/* 07/11 (patron) : zone du nom du profil + galerie de fonds SIGHT (format rectangle 16:5, mobile et web). */
.pp-nom{width:100%;box-sizing:border-box;border-radius:26px;padding:6px 14px;min-width:0}
.pp-nom h1{margin:0}
.pp-nom-f{background-color:#070b16;background-size:cover;background-position:center;background-repeat:no-repeat;
  aspect-ratio:16/5;display:flex;align-items:center;justify-content:center;border:1px solid rgba(247,201,72,.28);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.04),0 10px 28px rgba(0,0,0,.25)}
.pp-nom-f h1{position:relative;z-index:2;text-shadow:0 2px 14px rgba(0,0,0,.6)}
.pp-nom-f canvas{position:absolute;inset:0;width:100%!important;height:100%!important;z-index:0;opacity:.85}

.nomf{border:0;padding:0;margin:8px 0 0}
.nomf legend{font-weight:700;margin-bottom:8px}
.nomf-g{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:10px}
.nomf-o{position:relative;display:block;cursor:pointer}
.nomf-o input{position:absolute;opacity:0;pointer-events:none}
.nomf-o span.nomf-im{display:block;aspect-ratio:16/5;border-radius:18px;overflow:hidden;border:2px solid transparent;background:#070b16}
.nomf-o span.nomf-im img{display:block;width:100%;height:100%;object-fit:cover}
.nomf-o span.nomf-none{display:flex;align-items:center;justify-content:center;color:#9aa6bd;font-size:13px}
.nomf-o small{display:block;margin-top:4px;font-size:12px;color:#9aa6bd;text-align:center}
.nomf-o input:checked + span.nomf-im{border-color:#f7c948;box-shadow:0 0 0 3px rgba(247,201,72,.25)}
.nomf-o input:focus-visible + span.nomf-im{outline:2px solid #6aa8ff;outline-offset:2px}
.nomf-o span.nomf-im{background-size:cover;background-position:center}
/* roue « Paramétrer mon profil » : en haut à gauche, propriétaire seulement (même gabarit que le logo Studio à droite) */
.pp-roue{position:absolute;top:12px;left:12px;z-index:3;width:44px;height:44px;display:grid;place-items:center;border-radius:14px;
  background:rgba(7,11,22,.72);border:1px solid rgba(247,201,72,.55);color:#f7c948;box-shadow:0 6px 18px rgba(0,0,0,.4);text-decoration:none;transition:transform .35s ease,background .2s}
.pp-roue:hover{background:rgba(247,201,72,.14);transform:rotate(60deg)}
/* 11/11 (patron) : clap Studio complet en haut à droite (web) — le canevas animé du bandeau ne le recouvre plus */
.pp-studio,.pp-roue{z-index:30}
.pp-hero .sg-yeux-ban{z-index:0;pointer-events:none}
/* web : la hero a un grand arrondi (12 % × 26 %) qui rognait le clap et la roue à 12 px du bord → à l'intérieur de la courbe */
@media (min-width:900px){.pp-studio{top:52px;right:52px}.pp-roue{top:52px;left:52px}}

/* 11/11 (patron, mobile) : pas de bandeau ; la carte = BANDEAU (au-dessus de l'œil) + ARRIÈRE-PLAN (partie basse), fonds SIGHT ou téléversés */
@media (max-width:700px){
  .pp-hero .vt-ban{display:none!important}
  .pp-hero .pp-nom-f{background:none!important;border:0;box-shadow:none;aspect-ratio:auto}
  .pp-hero .pp-nom-f .sg-yeux-ban{display:none}
  .pp-card-f{position:relative;isolation:isolate}
  .pp-card-f::before,.pp-card-f::after{content:"";position:absolute;left:0;right:0;pointer-events:none;z-index:0}
  .pp-hero .vt-id{margin-top:0!important}
  /* carte 350 × 570 px : bandeau = 150 px au-dessus de l’œil ; arrière-plan = 420 px dessous */
  .pp-card-f{padding-top:150px;min-height:570px;box-sizing:border-box}
  .pp-card-f::before{top:0;height:150px;background:var(--band,none) center top/cover no-repeat}
  .pp-card-f::after{top:150px;bottom:0;background:var(--fond,none) center bottom/cover no-repeat}
  .pp-card-f > :not(.pp-studio):not(.pp-roue):not(.pp-cb){position:relative;z-index:1}
}
/* pictogrammes de la carte (roue, clap) au-dessus du fond */
.pp-studio,.pp-roue{z-index:30}
.pp-av-l{display:block;margin:0 auto;text-decoration:none;color:inherit}
/* liste des connexions (clic sur la photo du profil) */
.pp-cx-wrap{max-width:760px;margin:0 auto;padding:16px}
.pp-cx-s{margin-bottom:14px}
.pp-cx-s h2{margin:0 0 10px;font-size:16px}
.pp-cx{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:10px}
.pp-cx-i{display:flex;align-items:center;gap:10px;padding:10px;border-radius:18px;background:rgba(255,255,255,.04);color:inherit;text-decoration:none;border:1px solid rgba(247,201,72,.2)}
.pp-cx-av{width:40px;height:40px;border-radius:50%;overflow:hidden;display:grid;place-items:center;background:#111;color:#f7c948;font-weight:900;flex:0 0 auto}
.pp-cx-av img{width:100%;height:100%;object-fit:cover}

/* paramétrage : vignettes exactes du bandeau (350 × 150 = 7 : 3) et du fond (350 × 420 = 5 : 6) */
.nomf-o span.nomf-im-b{aspect-ratio:7/3}
.nomf-o span.nomf-im-f{aspect-ratio:5/6}
.nomf-g{grid-template-columns:repeat(auto-fill,minmax(120px,1fr))}

/* 11/11 (paramétrage mobile) : sections rétractables et bouton « Enregistrer » toujours accessible en bas */
.pf-acc{border:1px solid rgba(247,201,72,.22);border-radius:18px;padding:0 14px;margin:0 0 12px;background:rgba(255,255,255,.02)}
.pf-acc>summary{cursor:pointer;min-height:44px;display:flex;align-items:center;font-weight:800;font-size:16px;list-style:none}
.pf-acc>summary::-webkit-details-marker{display:none}
.pf-acc>summary::after{content:"▾";margin-left:auto;color:#f7c948;transition:transform .2s}
.pf-acc[open]>summary::after{transform:rotate(180deg)}
.pf-acc[open]{padding-bottom:12px}
.pf-save{position:sticky;bottom:0;z-index:20;padding:10px 0 calc(10px + env(safe-area-inset-bottom));background:linear-gradient(transparent,#070b16 35%)}
.pf-save .btn{width:100%;min-height:48px;font-size:16px}

/* Yeux Sight de la carte mobile : calques animé (moteur theme-yeux.js) ou fixe (motif SVG) */
.pp-cb{display:none}
@media (max-width:700px){
  .pp-cb{display:block;position:absolute;left:0;right:0;z-index:0;pointer-events:none;overflow:hidden}
  .pp-cb-band{top:0;height:150px}
  .pp-cb-fond{top:150px;bottom:0}
}

/* 11/11 (patron) : bloc « À propos » (bio et parcours), court et lisible, mobile d'abord */
.pp-apropos{margin:12px 0;padding:16px;max-width:760px}
.pp-apropos h2{margin:0 0 8px;font-size:18px}
.pp-ap-bio{font-size:16px;line-height:1.5;margin:0 0 10px;overflow-wrap:anywhere;white-space:pre-line}
.pp-ap-parc{margin:0;padding-left:18px;font-size:15px;line-height:1.6}
.pp-ap-suite summary{cursor:pointer;min-height:44px;display:flex;align-items:center;color:#f7c948;font-weight:700;font-size:16px}
