/* AdminMind 6.9.89 — Moi devient un vrai hub avec rubriques et sous-pages */

#profile .amProfileHubV678{margin-top:12px}
#profile .amProfileHubTitleV678{
  display:flex;align-items:end;justify-content:space-between;gap:10px;
  margin:14px 2px 8px
}
#profile .amProfileHubTitleV678 b{font-size:12px;letter-spacing:-.18px}
#profile .amProfileHubTitleV678 small{color:var(--muted);font-size:7.5px}

#profile .amProfileHubGridV678{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px
}
#profile .amProfileHubCardV678{
  min-height:118px;padding:12px;border-radius:20px;
  border:1px solid rgba(255,255,255,.86);
  background:
    radial-gradient(circle at 100% 0%,var(--amProfileTintV678,rgba(108,81,215,.09)),transparent 43%),
    linear-gradient(180deg,rgba(255,255,255,.86),rgba(248,247,252,.70));
  box-shadow:0 9px 24px rgba(45,35,70,.045),inset 0 1px 0 rgba(255,255,255,.92);
  color:var(--text);text-align:left;display:flex;flex-direction:column;
  align-items:flex-start;justify-content:flex-start;position:relative;overflow:hidden
}
#profile .amProfileHubCardV678:active{transform:scale(.985)}
#profile .amProfileHubIconV678{
  width:38px;height:38px;border-radius:13px;display:grid;place-items:center;
  background:var(--amProfileIconBgV678,#eee9ff);
  color:var(--amProfileIconFgV678,#6b50df);font-size:16px;font-weight:900
}
#profile .amProfileHubCardV678>b{
  display:block;margin-top:10px;font-size:11px;line-height:1.15;letter-spacing:-.15px
}
#profile .amProfileHubCardV678>small{
  display:block;margin-top:4px;color:var(--muted);font-size:7.7px;line-height:1.35;
  padding-right:15px
}
#profile .amProfileHubArrowV678{
  position:absolute;right:11px;bottom:10px;color:var(--muted);font-size:16px
}

/* Sous-page */
#profile .amProfileSubpageV678{display:none;margin-top:0}
#profile.amProfileSubpageOpenV678 .amUnifiedHeroV659,
#profile.amProfileSubpageOpenV678 #accountSettingsCard,
#profile.amProfileSubpageOpenV678 .amProfileHubV678{display:none!important}
#profile.amProfileSubpageOpenV678 .amProfileSubpageV678{display:block!important}

#profile .amProfileSubHeadV678{
  display:flex;align-items:center;gap:10px;margin:0 0 12px
}
#profile .amProfileBackV678{
  width:35px;height:35px;flex:0 0 35px;border:0;border-radius:12px;
  display:grid;place-items:center;background:rgba(108,81,215,.08);color:#6b50df;
  font-size:22px;line-height:1
}
#profile .amProfileSubTitleV678{flex:1;min-width:0}
#profile .amProfileSubTitleV678 small{
  display:block;color:#6b50df;font-size:7.2px;font-weight:950;letter-spacing:.55px
}
#profile .amProfileSubTitleV678 h3{
  margin:3px 0 0;font-size:19px;line-height:1.08;letter-spacing:-.4px
}
#profile .amProfileSubIntroV678{
  margin:-4px 0 12px;padding:11px 12px;border-radius:16px;
  background:linear-gradient(145deg,#f3efff,#f9f7ff);
  color:var(--muted);font-size:8.1px;line-height:1.42
}
#profile .amProfileSubContentV678{display:grid;gap:7px}

/* Dans les sous-pages, les anciens réglages deviennent des lignes plus propres */
#profile .amProfileSubContentV678>.setting,
#profile .amProfileSubContentV678>.banner,
#profile .amProfileSubContentV678>.lifeMomentProfileNote,
#profile .amProfileSubContentV678>.privacyNote,
#profile .amProfileSubContentV678>.dangerZone{
  margin:0!important
}
#profile .amProfileSubContentV678>.setting{
  border-radius:17px!important;
  border:1px solid rgba(130,120,160,.08)!important;
  background:rgba(255,255,255,.70)!important;
  box-shadow:0 5px 15px rgba(45,35,70,.025)!important
}
#profile .amProfileSubSectionV678{
  margin:9px 2px 2px;color:var(--muted);font-size:7.4px;font-weight:950;
  letter-spacing:.55px;text-transform:uppercase
}

/* Petit badge de compte */
#profile .amProfileQuickStatusV678{
  display:flex;align-items:center;gap:5px;margin-top:9px;color:var(--muted);font-size:7.5px
}
#profile .amProfileQuickStatusV678 i{
  width:7px;height:7px;border-radius:999px;background:#3ab776;display:block
}

/* Dark */
html[data-theme="dark"] #profile .amProfileHubCardV678{
  background:
    radial-gradient(circle at 100% 0%,rgba(112,85,215,.08),transparent 43%),
    linear-gradient(180deg,rgba(31,34,45,.95),rgba(27,29,38,.91))!important;
  border-color:rgba(255,255,255,.06)!important
}
html[data-theme="dark"] #profile .amProfileSubIntroV678{
  background:linear-gradient(145deg,#29243b,#232531)!important
}
html[data-theme="dark"] #profile .amProfileSubContentV678>.setting{
  background:rgba(255,255,255,.035)!important;border-color:rgba(255,255,255,.05)!important
}
html[data-theme="dark"] #profile .amProfileBackV678{
  background:#29243d!important;color:#b7a7ff!important
}

@media(max-width:350px){
  #profile .amProfileHubGridV678{gap:7px}
  #profile .amProfileHubCardV678{min-height:112px;padding:11px}
  #profile .amProfileHubCardV678>small{font-size:7.3px}
}
