/* GreenScoreLive player identity: club crest watermark. No team color guesses. */
.gs-player-dark .gs-club-hero{position:relative;isolation:isolate;overflow:hidden;background:linear-gradient(112deg,#1e2a2e 0%,#1b242b 62%,#161f26 100%)}
.gs-player-dark .gs-club-hero>.gs-club-hero-watermark{position:absolute;z-index:0;right:8%;top:50%;transform:translateY(-50%);width:clamp(150px,24%,300px);height:88%;display:flex;align-items:center;justify-content:center;pointer-events:none;opacity:.105;filter:grayscale(25%);overflow:hidden}
.gs-player-dark .gs-club-hero .gs-club-hero-watermark-image{display:block;width:100%;height:100%;object-fit:contain;max-width:100%;max-height:100%}
.gs-player-dark .gs-club-hero>.gs-club-hero-watermark~*,.gs-player-dark .gs-club-hero>.gs-ph9-avatar,.gs-player-dark .gs-club-hero>.gs-ph9-main,.gs-player-dark .gs-club-hero>.gs-id10-side{position:relative;z-index:1}
@media(max-width:700px){.gs-player-dark .gs-club-hero>.gs-club-hero-watermark{right:0;width:48%;height:55%;top:36%;opacity:.065}}
@media(prefers-reduced-transparency:reduce){.gs-player-dark .gs-club-hero>.gs-club-hero-watermark{opacity:.045}}

/* V2: restrained, club-specific palette, while preserving the existing watermark and readability. */
.gs-player-dark .gs-club-hero.gs-club-hero-colored{
 background:
  linear-gradient(100deg,rgba(18,24,30,.91) 0%,rgba(18,24,30,.80) 47%,rgba(18,24,30,.69) 100%),
  linear-gradient(125deg,var(--gs-club-accent) 0%,var(--gs-club-secondary) 100%);
 border-color:#3a414b;
}
.gs-player-dark .gs-club-hero.gs-club-hero-colored::before{
 content:"";position:absolute;inset:0;z-index:0;pointer-events:none;
 background:radial-gradient(ellipse at 82% 48%,var(--gs-club-accent) 0%,transparent 55%);
 opacity:.19;
}
.gs-player-dark .gs-club-hero.gs-club-hero-colored>.gs-club-hero-watermark{opacity:.14;filter:grayscale(15%)}
.gs-player-dark .gs-club-hero.gs-club-hero-colored>.gs-ph9-avatar,
.gs-player-dark .gs-club-hero.gs-club-hero-colored>.gs-ph9-main,
.gs-player-dark .gs-club-hero.gs-club-hero-colored>.gs-id10-side{position:relative;z-index:1}
@media(max-width:700px){.gs-player-dark .gs-club-hero.gs-club-hero-colored>.gs-club-hero-watermark{opacity:.08}}

/* V3: visible team colors; keep readable content above the decoration. */
body.gs-player-dark .gs-profile-page .gs-profile-hero.gs-club-hero.gs-club-hero-colored{
 background:linear-gradient(100deg,rgba(13,19,26,.86) 0%,rgba(13,19,26,.61) 48%,rgba(13,19,26,.40) 100%),linear-gradient(120deg,var(--gs-club-accent) 0%,var(--gs-club-secondary) 100%) !important;
 border-color:color-mix(in srgb,var(--gs-club-accent) 40%,#3b4854) !important;
}
body.gs-player-dark .gs-profile-page .gs-profile-hero.gs-club-hero.gs-club-hero-colored::before{
 background:radial-gradient(ellipse at 75% 42%,var(--gs-club-accent) 0%,transparent 68%) !important;
 opacity:.34 !important;
}
body.gs-player-dark .gs-profile-page .gs-profile-hero.gs-club-hero.gs-club-hero-colored>.gs-club-hero-watermark{opacity:.13}
@media(max-width:700px){body.gs-player-dark .gs-profile-page .gs-profile-hero.gs-club-hero.gs-club-hero-colored{background:linear-gradient(100deg,rgba(13,19,26,.82),rgba(13,19,26,.50)),linear-gradient(120deg,var(--gs-club-accent),var(--gs-club-secondary)) !important}}


/* V4: adaptive luminance. Light club colors (yellow/gold/white) stay visible
   against the dark surface without washing out the player details. */
body.gs-player-dark .gs-profile-page .gs-profile-hero.gs-club-hero.gs-club-hero-colored{
  --gs-hero-glow:color-mix(in srgb,var(--gs-club-accent) 82%,#ffffff 18%);
  --gs-hero-glow-2:color-mix(in srgb,var(--gs-club-secondary) 78%,#ffffff 22%);
  background:
    linear-gradient(90deg,rgba(15,20,27,.89) 0%,rgba(15,20,27,.76) 42%,rgba(15,20,27,.55) 100%),
    radial-gradient(ellipse 95% 130% at 90% 50%,var(--gs-hero-glow) 0%,var(--gs-hero-glow-2) 43%,#19222b 100%) !important;
  border-color:color-mix(in srgb,var(--gs-hero-glow) 35%,#394450) !important;
}
body.gs-player-dark .gs-profile-page .gs-profile-hero.gs-club-hero.gs-club-hero-colored::before{
  background:
    radial-gradient(ellipse 46% 95% at 86% 54%,color-mix(in srgb,var(--gs-hero-glow) 75%,transparent) 0%,transparent 100%),
    linear-gradient(90deg,transparent 0%,color-mix(in srgb,var(--gs-hero-glow-2) 18%,transparent) 100%) !important;
  opacity:.8 !important;
}
body.gs-player-dark .gs-profile-page .gs-profile-hero.gs-club-hero.gs-club-hero-colored>.gs-club-hero-watermark{
  opacity:.18;
  filter:grayscale(8%);
}
@media(max-width:700px){
  body.gs-player-dark .gs-profile-page .gs-profile-hero.gs-club-hero.gs-club-hero-colored{
    background:linear-gradient(105deg,rgba(15,20,27,.88),rgba(15,20,27,.65)),
      radial-gradient(ellipse at 90% 35%,var(--gs-hero-glow),var(--gs-hero-glow-2) 60%,#19222b) !important;
  }
  body.gs-player-dark .gs-profile-page .gs-profile-hero.gs-club-hero.gs-club-hero-colored>.gs-club-hero-watermark{opacity:.10}
}
@media(prefers-reduced-transparency:reduce){
  body.gs-player-dark .gs-profile-page .gs-profile-hero.gs-club-hero.gs-club-hero-colored>.gs-club-hero-watermark{opacity:.045}
}
