/* Team profiles use the approved product page background and warm dark palette. */
body.hga-profile-dark{
  --hg-h1-color:#f4e4c5;
  --hg-heading-color:#dfb58e;
  --hg-body-color:#e5d3be;
  background-color:#191815;
  background-image:
    radial-gradient(ellipse 72% 58% at -14% 18%,rgba(139,75,43,.29) 0%,rgba(104,64,44,.14) 38%,transparent 72%),
    radial-gradient(ellipse 62% 48% at 108% 74%,rgba(75,80,56,.16) 0%,rgba(53,56,41,.08) 42%,transparent 76%),
    linear-gradient(128deg,#27221d 0%,#1b1b18 54%,#121412 100%);
  background-attachment:fixed;
  color:var(--hg-body-color);
}
body.hga-profile-dark .hga{
  --hga-heading:#dfb58e;
  --hga-body:#e5d3be;
  --hga-accent:#efd4ae;
  --hga-line:rgba(255,226,191,.28);
  --hga-surface:rgba(30,18,11,.62);
  --hga-sage:#48382d;
  background:transparent;
}
body.hga-profile-dark .hga :is(h1,h2){text-shadow:none}
body.hga-profile-dark .hgh-breadcrumbs{background:transparent;color:#c9b8a6}
body.hga-profile-dark .hgh-breadcrumbs :is(a,[aria-current],.hgh-breadcrumb-separator){color:#c9b8a6}
body.hga-profile-dark .hga-profile-hero{border-color:rgba(255,226,191,.14)}
body.hga-profile-dark .hga :is(.hga-profile-side,.hga-limits,.hga-contribution-grid article){
  background:linear-gradient(145deg,rgba(255,227,188,.04),transparent 48%),var(--hga-surface);
  border:1px solid var(--hga-line);
  box-shadow:inset 0 1px 0 rgba(255,243,222,.1),0 14px 30px rgba(10,6,4,.3);
  -webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);
}
body.hga-profile-dark .hga .hga-back{color:var(--hga-accent);justify-self:start;min-height:44px;display:inline-flex;align-items:center}
body.hga-profile-dark .hga .hga-back:hover{text-decoration:underline;text-underline-offset:4px}
body.hga-profile-dark .hga :is(a,button):focus-visible{outline:3px solid #dfb58e;outline-offset:4px}
@media(max-width:560px){
  body.hga-profile-dark{background-attachment:scroll}
}
