/*! YasGod profile/account/members shell — matches ticktock.space arcade login background.
   Loaded ONLY on profile/account/members pages. Never on homepage. */
html.yasgod-profile-shell,
html.yasgod-profile-shell body {
  min-height: 100% !important;
  background: #050508
    radial-gradient(ellipse 120% 80% at 50% 0%, rgba(255, 40, 80, 0.18), transparent 55%),
    radial-gradient(ellipse 80% 60% at 80% 100%, rgba(0, 255, 255, 0.12), transparent 50%),
    linear-gradient(180deg, #0a0a12 0%, #050508 100%) !important;
  background-attachment: fixed !important;
  background-color: #050508 !important;
  color: #e7e9ea !important;
}

/* Same subtle grid overlay as .auth-race-bg::before on ticktock.space */
html.yasgod-profile-shell body::before {
  content: "" !important;
  position: fixed !important;
  inset: 0 !important;
  pointer-events: none !important;
  z-index: 0 !important;
  opacity: 0.35 !important;
  background: repeating-linear-gradient(
      90deg,
      transparent,
      transparent 48px,
      rgba(255, 255, 255, 0.03) 48px,
      rgba(255, 255, 255, 0.03) 49px
    ),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 48px,
      rgba(255, 255, 255, 0.02) 48px,
      rgba(255, 255, 255, 0.02) 49px
    ) !important;
}

/* Lift page content above the grid */
html.yasgod-profile-shell body > * {
  position: relative;
  z-index: 1;
}

/* Strip Wix / profile decorative backgrounds — keep structure, kill fills */
html.yasgod-profile-shell #SITE_CONTAINER,
html.yasgod-profile-shell #SITE_PAGES,
html.yasgod-profile-shell #PAGES_CONTAINER,
html.yasgod-profile-shell #site-root,
html.yasgod-profile-shell #masterPage,
html.yasgod-profile-shell [data-testid="site-root"],
html.yasgod-profile-shell [data-testid="page-bg"],
html.yasgod-profile-shell [data-testid="mesh-container-content"],
html.yasgod-profile-shell [data-mesh-id],
html.yasgod-profile-shell section,
html.yasgod-profile-shell [id^="comp-"],
html.yasgod-profile-shell .page-background,
html.yasgod-profile-shell .backgroundMedia,
html.yasgod-profile-shell .bgMedia,
html.yasgod-profile-shell [class*="background"],
html.yasgod-profile-shell [class*="Background"],
html.yasgod-profile-shell [class*="bgImage"],
html.yasgod-profile-shell [class*="BgImage"],
html.yasgod-profile-shell [data-hook*="background"],
html.yasgod-profile-shell [data-hook*="Background"],
html.yasgod-profile-shell [data-hook*="cover"],
html.yasgod-profile-shell [data-hook*="Cover"],
html.yasgod-profile-shell [data-hook*="banner"],
html.yasgod-profile-shell [data-hook*="avatar"],
html.yasgod-profile-shell [data-hook*="profilePhoto"],
html.yasgod-profile-shell [data-hook*="gallery"],
html.yasgod-profile-shell [class*="pro-gallery"],
html.yasgod-profile-shell [class*="gallery"],
/* Kill media / patterned fills used as page or profile backgrounds */
html.yasgod-profile-shell [style*="background-image"],
html.yasgod-profile-shell [style*="background:"],
html.yasgod-profile-shell [style*="background-color"] {
  background-image: none !important;
  background-color: transparent !important;
}

/* Re-apply body background after the aggressive style wipe above */
html.yasgod-profile-shell body {
  background: #050508
    radial-gradient(ellipse 120% 80% at 50% 0%, rgba(255, 40, 80, 0.18), transparent 55%),
    radial-gradient(ellipse 80% 60% at 80% 100%, rgba(0, 255, 255, 0.12), transparent 50%),
    linear-gradient(180deg, #0a0a12 0%, #050508 100%) !important;
  background-attachment: fixed !important;
}

/* Soften leftover white Wix cards without bringing busy patterns back */
html.yasgod-profile-shell [class*="card"],
html.yasgod-profile-shell [class*="Card"],
html.yasgod-profile-shell [class*="panel"],
html.yasgod-profile-shell [class*="Panel"] {
  background: rgba(8, 12, 24, 0.72) !important;
  background-image: none !important;
  border-color: rgba(0, 255, 255, 0.2) !important;
  color: #e7e9ea !important;
}
