/* Profil personnel : identité, accès utiles, sorties, communauté et gestion. */
#pg-profile { --profile-purple:#7828ff; background:#f5f4f7; color:#19171d; }
#pg-profile [hidden] { display:none !important; }
#pg-profile .profile-v2-top { min-height:72px; padding:12px 24px; border-bottom:1px solid #e7e4ec; }
#pg-profile .profile-v2-top-actions { gap:8px; }
#pg-profile .profile-v2-top-actions button { min-height:40px; padding:0 16px; font-size:11px; border-radius:10px; }
#pg-profile #prof-scroll { padding-bottom:32px; }
#pg-profile .profile-v2-hero { padding:28px max(24px,calc((100% - 900px)/2)) 52px; background:#111014; }
#pg-profile .profile-v2-hero::after { font-size:110px; color:#ffffff04; }
#pg-profile .profile-v2-hero-actions:has(button[style*="display:none"]),
#pg-profile .profile-v2-hero-actions:has(button[style*="display: none"]) { display:none; }
#pg-profile .profile-v2-person { grid-template-columns:88px minmax(0,1fr); gap:20px; }
#pg-profile .profile-v2-avatar { width:88px; height:88px; border-radius:24px; }
#pg-profile .profile-v2-camera { width:30px; height:30px; }
#pg-profile .profile-v2-status { color:#c0a2f5; font-size:10px; letter-spacing:.1em; }
#pg-profile .profile-v2-status::before { display:none; }
#pg-profile .profile-v2-name { font-size:36px; line-height:1.15; }
#pg-profile .profile-v2-member { font-size:12px; color:#b4aebd; }
#pg-profile .profile-v2-about { margin-top:22px; padding-top:16px; }
#pg-profile .profile-v2-label { font-size:10px; letter-spacing:.08em; }
#pg-profile .profile-v2-about p { font-size:13px; line-height:1.65; }
#pg-profile .profile-v2-stats { max-width:900px; margin:-28px auto 0; padding:20px 8px; border:1px solid #e9e5ef; border-radius:16px; box-shadow:0 6px 20px #24143808; }
#pg-profile .profile-v2-stat strong { font-size:26px; color:#7828ff; }
#pg-profile .profile-v2-stat small { font-size:10px; letter-spacing:.03em; color:#706978; }
#pg-profile .profile-v2-main { max-width:948px; margin:auto; padding:8px 24px 24px; }
#pg-profile .profile-v2-heading { align-items:center; gap:16px; margin:30px 0 12px; }
#pg-profile .profile-v2-heading h2,
#pg-profile .profile-hub h2 { font:700 18px/1.3 Inter,Arial,sans-serif; text-transform:uppercase; letter-spacing:-.025em; color:#000000; }
#pg-profile .profile-v2-heading button { min-height:36px; padding:6px 0; font-size:12px; text-align:right; line-height:1.4; }
#pg-profile .profile-hub { margin-top:24px; }
#pg-profile .profile-hub h2 { margin:0 0 12px; }
#pg-profile .profile-hub:not(:has(.clients-bookings-entry button:not([hidden]))) { display:none; }
#pg-profile .clients-bookings-entry { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; margin:0; }
#pg-profile .clients-bookings-entry button { display:flex; align-items:center; justify-content:space-between; gap:12px; width:100%; height:auto; min-height:64px; padding:16px; border:1px solid #e3dfeb; border-radius:12px; background:#fff; color:#26212d; font:650 12px/1.5 Inter,Arial,sans-serif; text-transform:none; white-space:normal; text-align:left; }
#pg-profile .clients-bookings-entry button::after { content:'›'; font-size:24px; font-weight:400; color:#7828ff; }
#pg-profile #profile-client-card { background:#7828ff; border-color:#7828ff; color:#fff; }
#pg-profile #profile-client-card::after { color:#fff; }
#pg-profile .profile-section-hint { font-size:11px; color:#777080; text-align:right; }
#pg-profile .profile-v2-card,
#pg-profile .profile-v2-activity { border-color:#e4e0e9; border-radius:14px; box-shadow:none; }
#pg-profile .profile-saved-empty { padding:24px 18px; border:1px solid #e4e0e9; border-radius:14px; color:#746d7d; font-size:13px; line-height:1.6; }
#pg-profile #profile-tickets>*,#pg-profile #profile-liked-events>* { flex-basis:300px; }
#pg-profile #profile-tickets .profile-saved-empty,#pg-profile #profile-liked-events .profile-saved-empty { flex-basis:100%; }
#pg-profile .profile-ticket-copy small,#pg-profile .profile-saved-copy small { font-size:10px; }
#pg-profile .profile-ticket-copy span,#pg-profile .profile-saved-copy span { font-size:12px; }
#pg-profile .profile-v2-location { padding:18px; }
#pg-profile .profile-v2-location #loc-status { font-size:13px; line-height:1.5; }
#pg-profile .profile-v2-add-friend span { font-size:12px; }
#pg-profile .profile-v2-xp .xp-top { padding:16px 18px; background:#eeebf5; color:#31263e; }
#pg-profile .profile-v2-xp .sec-lbl { color:#51445f; font-size:11px; }
#pg-profile .profile-v2-xp #xp-lv-txt { font-size:12px!important; color:#7828ff!important; }
#pg-profile .profile-v2-xp-body { padding:18px; }
#pg-profile .profile-v2-xp .xp-pts { font-size:13px; }
#pg-profile .profile-v2-consent { font-size:13px; line-height:1.6; padding:18px; }
#pg-profile .profile-v2-setting { min-height:52px; padding:12px 18px; }
#pg-profile .profile-v2-setting strong { font-size:12px; }
#pg-profile .profile-v2-logout { min-height:48px; font-size:12px; }
#pg-profile .profile-v2-footer { font-size:11px; line-height:2; padding-top:24px; }
#pg-profile button:focus-visible,#pg-profile summary:focus-visible { outline:3px solid #a479ff; outline-offset:3px; }
@media (max-width:600px) {
  #pg-profile .profile-v2-top { min-height:64px; padding:10px 16px; grid-template-columns:32px 1fr auto; }
  #pg-profile .profile-v2-top .tb-title { justify-self:start; margin-left:8px; font-size:22px; }
  #pg-profile .profile-v2-top-actions { display:flex; justify-self:end; }
  #pg-profile .profile-v2-top-actions button { font-size:10px; padding:0 10px; min-height:38px; }
  #pg-profile .profile-v2-top-actions .profile-v2-create-btn { display:none; }
  #pg-profile .profile-v2-hero { padding:24px 20px 48px; }
  #pg-profile .profile-v2-name { font-size:32px; }
  #pg-profile .profile-v2-person { gap:16px; }
  #pg-profile .profile-v2-stats { margin:-26px 16px 0; padding:18px 4px; }
  #pg-profile .profile-v2-stat small { font-size:9px; }
  #pg-profile .profile-v2-main { padding:0 16px 24px; }
  #pg-profile .profile-v2-heading { margin-top:26px; }
  #pg-profile .profile-v2-heading h2 { font-size:17px; }
}
@media (max-width:359px) {
  #pg-profile .clients-bookings-entry { grid-template-columns:1fr; }
  #pg-profile .profile-v2-top-actions button { max-width:110px; white-space:normal; line-height:1.2; }
}
