.profile-overlay{position:fixed;inset:0;z-index:80;background:#050405e8;overflow:auto;padding:32px}.person-profile{width:min(100%,860px);margin:auto;background:#111011;border:1px solid var(--line);border-radius:20px;overflow:hidden;box-shadow:0 35px 110px #000}.person-profile>header{height:64px;padding:0 20px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:4;background:#111011ee;backdrop-filter:blur(18px)}.person-profile>header button{border:0;background:none}.profile-close{font-size:30px;width:44px}.profile-edit{color:var(--rose);font-weight:700;padding:0 8px}.profile-hero{padding:28px;display:grid;grid-template-columns:150px 1fr;gap:25px;align-items:center}.profile-hero>img,.profile-initial{width:150px;height:170px;object-fit:cover;border-radius:16px;background:linear-gradient(145deg,#56364b,#211821)}.profile-initial{display:grid;place-items:center;font:700 62px "Playfair Display"}.profile-hero h1{font-size:46px;line-height:1;margin:6px 0}.profile-nickname,.profile-meta{color:var(--muted);margin:4px 0}.profile-tags{padding:0 28px 24px;display:flex;flex-wrap:wrap;gap:7px}.profile-tags span{padding:6px 11px;border-radius:99px;background:#392333;color:#efb2cf;font-size:12px}.profile-details{border-block:1px solid var(--line);display:grid;grid-template-columns:repeat(3,1fr);padding:0 28px}.profile-details>div,.profile-details>a{padding:20px 0;display:grid}.profile-details small{color:var(--muted)}.profile-notes,.profile-socials,.profile-gallery{padding:27px 28px;border-bottom:1px solid var(--line)}.profile-notes>p:last-child{white-space:normal;color:#ded7db}.profile-socials h2,.profile-gallery h2{font-size:25px;margin:3px 0}.profile-socials>a{display:flex;justify-content:space-between;padding:13px 0;border-top:1px solid var(--line);color:var(--rose)}.gallery-title{display:flex;justify-content:space-between;align-items:end;margin-bottom:17px}.gallery-title span{color:var(--muted);font-size:12px}.instagram-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:4px}.instagram-grid button{border:0;padding:0;aspect-ratio:1;background:#201a1f;overflow:hidden;min-height:0}.instagram-grid img{width:100%;height:100%;object-fit:cover;display:block;transition:.2s}.instagram-grid button:hover img{transform:scale(1.035);filter:brightness(1.08)}.gallery-empty{padding:42px;text-align:center;border:1px dashed var(--line);border-radius:13px;color:var(--muted)}.gallery-empty>span{font-size:35px}.gallery-empty button{border:1px solid var(--line);border-radius:8px;background:#241a21;padding:0 15px}.photo-lightbox{position:fixed;inset:0;z-index:100;background:#050405f5;display:grid;grid-template-columns:70px minmax(0,1fr) 70px;place-items:center;padding:30px}.photo-lightbox img{max-width:100%;max-height:88vh;object-fit:contain}.photo-lightbox button{border:0;background:#201a20cc;border-radius:50%;width:50px;height:50px;color:white;font-size:35px}.lightbox-close{position:absolute;right:20px;top:20px}.photo-lightbox span{position:absolute;bottom:18px;color:#bbb}.pending-photo{outline:2px solid var(--rose)}.pending-photo span{position:absolute;left:5px;bottom:5px;background:#000b;border-radius:5px;padding:2px 5px;font-size:9px}.gallery-selection-count{color:var(--rose)}
@media(max-width:760px){.profile-overlay{padding:0;background:#0b090b}.person-profile{width:100%;min-height:100dvh;border:0;border-radius:0}.person-profile>header{height:61px;padding:env(safe-area-inset-top) 14px 0}.profile-hero{padding:22px 16px;grid-template-columns:105px 1fr;gap:16px}.profile-hero>img,.profile-initial{width:105px;height:125px;border-radius:14px}.profile-initial{font-size:45px}.profile-hero h1{font-size:34px}.profile-meta{font-size:12px}.profile-tags{padding:0 16px 20px}.profile-details{padding:0 16px;grid-template-columns:1fr}.profile-details>div,.profile-details>a{padding:13px 0;border-bottom:1px solid var(--line)}.profile-notes,.profile-socials,.profile-gallery{padding:23px 16px}.instagram-grid{gap:3px;margin-inline:-16px}.photo-lightbox{grid-template-columns:45px minmax(0,1fr) 45px;padding:8px}.photo-lightbox button{width:42px;height:42px}.gallery-preview{grid-template-columns:repeat(3,1fr)!important}.gallery-preview figure{aspect-ratio:1;height:auto!important}}
.editor .upload-zone{position:relative}.editor .upload-zone::after{content:"Choix multiple";position:absolute;left:7px;right:7px;bottom:7px;padding:3px 5px;border-radius:6px;background:#090709c9;color:#f0b4d0;font-size:9px;font-style:normal;visibility:visible!important}.editor .upload-zone.has-image::after{visibility:visible!important}
.quick-gallery-section{background:linear-gradient(135deg,#21151e,#151215);border-block:1px solid var(--line)!important}.quick-gallery-copy{display:flex;align-items:center;justify-content:space-between;gap:18px}.quick-gallery-copy h2{margin:3px 0!important}.quick-gallery-copy p:last-child{color:var(--muted);margin:0}.quick-gallery-button{display:flex!important;place-items:center;align-items:center;justify-content:center;min-width:190px;min-height:50px;padding:0 16px;border:1px solid #765066;border-radius:10px;background:linear-gradient(135deg,#8e456f,#673d77);cursor:pointer}.quick-gallery-button input{position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none}.quick-gallery-preview{display:grid;grid-template-columns:repeat(6,1fr);gap:7px;margin-top:16px}.quick-gallery-preview figure{aspect-ratio:1;margin:0;position:relative}.quick-gallery-preview img{width:100%;height:100%;object-fit:cover;border-radius:9px}.quick-gallery-preview span{position:absolute;right:4px;bottom:4px;width:20px;height:20px;display:grid;place-items:center;border-radius:50%;background:#000b;font-size:10px}.quick-gallery-status{display:block;margin-top:10px;color:var(--rose)}
@media(max-width:760px){.quick-gallery-copy{display:grid}.quick-gallery-button{width:100%;min-width:0}.quick-gallery-preview{grid-template-columns:repeat(3,1fr)}.quick-gallery-section{padding-top:20px!important}.extras-editor .gallery-picker{display:none!important}}
