/* GreenScoreLive | Profile data surfaces v2
   Audited against the uploaded 173-file CSS archive (25 Oct 2026).
   IMPORTANT: loaded after other CSS, immediately before gs_foot().
   Intentionally leaves the page, hero, navigation, banners, charts and logos alone. */
:root{--gs-data-surface:#171B20;--gs-data-border:#30383F;--gs-data-hover:#242B31;--gs-data-text:#F5F7F8;--gs-data-muted:#AAB7C0}

/* PLAYER: v26 sets every content div to pure black with !important.
   Override only real data components with stronger scoped selectors. */
body.gs-player-dark .gs-profile-page #career .gs-career-v19 .gs-c21-season,
body.gs-player-dark .gs-profile-page #career .gs-career-v19 .gs-c21-season[open],
body.gs-player-dark .gs-profile-page #career .gs-career-v19 .gs-c19-list,
body.gs-player-dark .gs-profile-page #career .gs-career-v19 .gs-c19-row,
body.gs-player-dark .gs-profile-page #career .gs-career-v19 .gs-c21-tr,
body.gs-player-dark .gs-profile-page #career .gs-career-v19 .gs-c21-drawer,
body.gs-player-dark .gs-profile-page #career .gs-career-v19 .gs-c23-competition,
body.gs-player-dark .gs-profile-page #career .gs-career-v19 .gs-c19-club,
body.gs-player-dark .gs-profile-page #trophies .gs-trophy-card,
body.gs-player-dark .gs-profile-page #trophies .gs-trophy-row,
body.gs-player-dark .gs-profile-page #stats .gs-player-stat-card,
body.gs-player-dark .gs-profile-page #overview .gs-pc-season-body,
body.gs-player-dark .gs-profile-page #overview .gs-pc-season-metrics>div,
body.gs-player-dark .gs-profile-page #recent .gs-pc-game {
 background:#171B20 !important;background-image:none!important;
 border-color:#30383F !important;
}
body.gs-player-dark .gs-profile-page #career .gs-career-v19 .gs-c21-season summary,
body.gs-player-dark .gs-profile-page #career .gs-career-v19 .gs-c19-row,
body.gs-player-dark .gs-profile-page #career .gs-career-v19 .gs-c21-tr {background-color:#171B20!important}
body.gs-player-dark .gs-profile-page #career .gs-career-v19 .gs-c21-season summary:hover,
body.gs-player-dark .gs-profile-page #career .gs-career-v19 .gs-c19-row:hover,
body.gs-player-dark .gs-profile-page #career .gs-career-v19 .gs-c21-tr:hover{background-color:#242B31!important}
/* Keep career rows visibly separated */
body.gs-player-dark .gs-profile-page #career .gs-career-v19 .gs-c21-season,
body.gs-player-dark .gs-profile-page #career .gs-career-v19 .gs-c19-row,
body.gs-player-dark .gs-profile-page #career .gs-career-v19 .gs-c21-tr{border-bottom-color:#30383F!important}

/* TEAM: real selectors from team-stats-premium.css, not generic .stats-row */
body:has(.gs-club-identity) .gs-profile-page .gs-ts-premium :is(.gs-ts-hero-card,.gs-ts-results-card,.gs-ts-mini,.gs-ts-detail,.gs-ts-analysis,.gs-ts-analysis-item),
body:has(.gs-club-identity) .gs-profile-page :is(.gs-ov-metric,.gs-ov-card,.gs-ov-feature,.gs-ov-link,.gs-v6-trophy-card,.gs-v6-trophy-head,.gs-v6-trophy-year),
body:has(.gs-club-identity) .gs-profile-page :is(.gs-form-card,.gs-trends-card,.gs-team-stat-card),
body:has(.gs-club-identity) .gs-profile-section table tbody tr,
body:has(.gs-club-identity) .gs-profile-section table tbody td {
 background-color:#171B20!important;background-image:none!important;
 border-color:#30383F!important;
}
body:has(.gs-club-identity) .gs-profile-page .gs-ts-premium :is(.gs-ts-hero-card,.gs-ts-results-card,.gs-ts-mini,.gs-ts-detail,.gs-ts-analysis,.gs-ts-analysis-item),
body:has(.gs-club-identity) .gs-profile-page :is(.gs-ov-metric,.gs-ov-card,.gs-v6-trophy-card){border:1px solid #30383F!important}
body:has(.gs-club-identity) .gs-profile-section table tbody tr:hover,
body:has(.gs-club-identity) .gs-profile-page .gs-v6-trophy-year:hover{background-color:#242B31!important}
/* Protect text against older light-theme modules. */
body:has(.gs-club-identity) .gs-profile-page .gs-ts-premium :is(.gs-ts-hero-card>strong,.gs-ts-analysis-item strong,.gs-ts-detail strong,.gs-ts-mini strong){color:#F5F7F8!important}
body:has(.gs-club-identity) .gs-profile-page .gs-ts-premium :is(.gs-ts-hero-card-top>span:first-child,.gs-ts-hero-card>small,.gs-ts-analysis-item small){color:#AAB7C0!important}
/* Real HTML tables in either profile; exclude headers and the colored page hero. */
.gs-profile-page .gs-profile-section table tbody tr{background-color:#171B20!important}
.gs-profile-page .gs-profile-section table tbody tr:hover{background-color:#242B31!important}
.gs-profile-page .gs-profile-section table :is(td,th){border-color:#30383F!important}
