/* GreenScoreLive team-only dark theme — scoped, no API or JavaScript changes. */
.gs-profile-page{color-scheme:dark;color:#e7efea!important;background:transparent}
.gs-profile-page :is(h1,h2,h3,h4,h5,strong){color:#edf6f0}
.gs-profile-page :is(.gs-profile-section,.gs-profile-hero,.gs-profile-tabs,.gs-profile-fact,.gs-profile-person,.gs-stat,.gs-transfer-card,.gs-transfer-year,.gs-record-note){border-color:#30403b;color:#e7efea}
.gs-profile-page :is(.gs-profile-section,.gs-profile-fact,.gs-profile-person,.gs-stat,.gs-transfer-card){background-color:#1a2227}
.gs-profile-page :is(.gs-profile-muted,.gs-profile-fact span,.gs-record-note){color:#a4b7ad}
.gs-profile-page .gs-profile-tab{color:#bed0c5;background:#1b2928;border-color:#31443d}
.gs-profile-page .gs-profile-tab:is(.is-active,[aria-selected=true]){background:#176e48;color:#fff;border-color:#279a66}
.gs-profile-page :is(.gs-tc-profile-cta a,.gs-team-league-links a,.gt-profile-cta a){background:#203b31!important;border-color:#315e48!important;color:#78e2a9!important}
.gs-profile-page .gs-profile-hero{background:linear-gradient(115deg,#102a22,#1c4435)}
.gs-profile-page .gs-team-banner-section>.gs-section-banner{background:linear-gradient(115deg,#0e3026,#1a5a40)}
.gs-profile-page :is(.gs-ov,.gs-ts-premium,.gs-tsp,.gs-tsa,.gs-la){color:#e7efea}

.gs-profile-page .gs-profile-page .gs-ts-select-wrap select{background-color:#1b2529!important;color:#e6f1e9!important}
.gs-profile-page .gs-profile-page .gs-ts-filters{border-color:#33433e!important}
.gs-profile-page .gs-profile-page .gs-ts-filter{background-color:#1b2529!important;color:#e6f1e9!important}
.gs-profile-page .gs-profile-page .gs-ts-filter:hover{background-color:#1b2529!important;color:#e6f1e9!important}
.gs-profile-page .gs-profile-page .gs-ts-hero-card{background-color:#1b2529!important;border-color:#33433e!important}
.gs-profile-page .gs-profile-page .gs-ts-hero-card-top>span:first-child{color:#e6f1e9!important}
.gs-profile-page .gs-profile-page .gs-ts-symbol{background-color:#1b2529!important;color:#e6f1e9!important}
.gs-profile-page .gs-profile-page .gs-ts-hero-card>strong{color:#e6f1e9!important}
.gs-profile-page .gs-profile-page .gs-ts-hero-card>small{color:#a8bcb0!important}
.gs-profile-page .gs-profile-page .gs-ts-results-card{background-color:#1b2529!important;border-color:#33433e!important}
.gs-profile-page .gs-profile-page .gs-ts-card-heading h4{color:#e6f1e9!important}
.gs-profile-page .gs-profile-page .gs-ts-card-heading>strong{color:#e6f1e9!important}
.gs-profile-page .gs-profile-page .gs-ts-result-track{background-color:#1b2529!important}
.gs-profile-page .gs-profile-page .gs-ts-result-l{background-color:#1b2529!important}
.gs-profile-page .gs-profile-page .gs-ts-result-legend span{color:#e6f1e9!important}
.gs-profile-page .gs-profile-page .gs-ts-result-legend b{color:#e6f1e9!important}
.gs-profile-page .gs-profile-page .gs-ts-dot-l{background-color:#1b2529!important}
.gs-profile-page .gs-profile-page .gs-ts-mini{background-color:#1b2529!important;border-color:#33433e!important}
.gs-profile-page .gs-profile-page .gs-ts-mini span{color:#a8bcb0!important}
.gs-profile-page .gs-profile-page .gs-ts-mini strong{color:#e6f1e9!important}
.gs-profile-page .gs-profile-page .gs-ts-detail{background-color:#1b2529!important;border-color:#33433e!important}
.gs-profile-page .gs-profile-page .gs-ts-detail-label{color:#e6f1e9!important}
.gs-profile-page .gs-profile-page .gs-ts-values strong{color:#e6f1e9!important}
.gs-profile-page .gs-profile-page .gs-ts-values small{color:#a8bcb0!important}
.gs-profile-page .gs-profile-page .gs-ts-extra{border-color:#33433e!important;color:#a8bcb0!important}
.gs-profile-page .gs-profile-page .gs-ts-analysis-heading h4{color:#e6f1e9!important}
.gs-profile-page .gs-profile-page .gs-ts-analysis-heading p{color:#a8bcb0!important}
.gs-profile-page .gs-profile-page .gs-ts-analysis-games{background-color:#1b2529!important;color:#e6f1e9!important}
.gs-profile-page .gs-profile-page .gs-ts-analysis-item{background-color:#1b2529!important;border-color:#33433e!important}
.gs-profile-page .gs-profile-page .gs-ts-analysis-label{color:#e6f1e9!important}
.gs-profile-page .gs-profile-page .gs-ts-analysis-item>strong{color:#e6f1e9!important}
.gs-profile-page .gs-profile-page .gs-ts-analysis-item>small{color:#a8bcb0!important}
.gs-profile-page .gs-profile-page .gs-ts-analysis-total{color:#a8bcb0!important}
.gs-profile-page .gs-profile-page .gs-ts-possession-track{background-color:#1b2529!important}
.gs-profile-page .gs-profile-page .gs-ts-analysis-empty{color:#a8bcb0!important}
.gs-profile-page .gs-profile-page .gs-ts-analysis-note{color:#a8bcb0!important}
.gs-profile-page .gs-profile-page .gs-ov{color:#e6f1e9!important}
.gs-profile-page .gs-profile-page .gs-ov-metric{background-color:#1b2529!important;border-color:#33433e!important}
.gs-profile-page .gs-profile-page .gs-ov-metric-label{color:#e6f1e9!important}
.gs-profile-page .gs-profile-page .gs-ov-metric strong{color:#e6f1e9!important}
.gs-profile-page .gs-profile-page .gs-ov-metric small{color:#a8bcb0!important}
.gs-profile-page .gs-profile-page .gs-ov-card{background-color:#1b2529!important;border-color:#33433e!important}
.gs-profile-page .gs-profile-page .gs-ov-card h3{color:#e6f1e9!important}
.gs-profile-page .gs-profile-page .gs-ov-go{background-color:#1b2529!important;border-color:#33433e!important;color:#e6f1e9!important}
.gs-profile-page .gs-profile-page .gs-ov-info-row{border-color:#33433e!important}
.gs-profile-page .gs-profile-page .gs-ov-info-row span{color:#a8bcb0!important}
.gs-profile-page .gs-profile-page .gs-ov-info-row strong{color:#e6f1e9!important}
.gs-profile-page .gs-profile-page .gs-ov-link{background-color:#1b2529!important;border-color:#33433e!important;color:#e6f1e9!important}
.gs-profile-page .gs-profile-page .gs-ov-link:hover{background-color:#1b2529!important}
.gs-profile-page .gs-profile-page .gs-ov-link-body small{color:#a8bcb0!important}
.gs-profile-page .gs-profile-page .gs-ov-link-arrow{color:#a8bcb0!important}
.gs-profile-page .gs-profile-page .gs-ov-match{border-color:#33433e!important;color:#e6f1e9!important}
.gs-profile-page .gs-profile-page .gs-ov-match-date{color:#a8bcb0!important}
.gs-profile-page .gs-profile-page .gs-ov-match-names small{color:#a8bcb0!important}
.gs-profile-page .gs-profile-page .gs-ov-match-score{background-color:#1b2529!important}
.gs-profile-page .gs-profile-page .gs-ov-muted{color:#a8bcb0!important}
.gs-profile-page .gs-profile-page .gs-ov-feature{background-color:#1b2529!important;border-color:#33433e!important}
.gs-profile-page .gs-profile-page .gs-ov-feature strong{color:#e6f1e9!important}
.gs-profile-page .gs-profile-page .gs-ov-feature span{color:#a8bcb0!important}
.gs-profile-page .gs-profile-page .gs-ov-performance>div{border-color:#33433e!important}
.gs-profile-page .gs-profile-page .gs-ov-performance span{color:#a8bcb0!important}
.gs-profile-page .gs-profile-page .gs-ov-performance strong{color:#e6f1e9!important}
.gs-profile-page .gs-tsp-top h3{color:#e6f1e9!important}
.gs-profile-page .gs-tsp-leaders-head h3{color:#e6f1e9!important}
.gs-profile-page .gs-tsp-top p{color:#a8bcb0!important}
.gs-profile-page .gs-tsp-leaders-head p{color:#a8bcb0!important}
.gs-profile-page .gs-tsp-kicker{color:#e6f1e9!important}
.gs-profile-page .gs-tsp-search-label{color:#e6f1e9!important}
.gs-profile-page .gs-tsp-search{background-color:#1b2529!important;border-color:#33433e!important;color:#e6f1e9!important}
.gs-profile-page .gs-tsp-filters button{background-color:#1b2529!important;border-color:#33433e!important;color:#e6f1e9!important}
.gs-profile-page .gs-tsp-group h4{color:#e6f1e9!important}
.gs-profile-page .gs-tsp-group h4 span{color:#a8bcb0!important}
.gs-profile-page .gs-tsp-player{background-color:#1b2529!important;border-color:#33433e!important;color:#e6f1e9!important}
.gs-profile-page .gs-tsp-avatar{background-color:#1b2529!important}
.gs-profile-page .gs-tsp-player-info small{color:#a8bcb0!important}
.gs-profile-page .gs-tsp-number{color:#e6f1e9!important}
.gs-profile-page .gs-tsp-arrow{color:#a8bcb0!important}
.gs-profile-page .gs-tsp-leaders{border-color:#33433e!important}
.gs-profile-page .gs-tsp-leader{background-color:#1b2529!important;border-color:#33433e!important}
.gs-profile-page .gs-tsp-leader-title>span{color:#a8bcb0!important}
.gs-profile-page .gs-tsp-rank{color:#e6f1e9!important}
.gs-profile-page .gs-tsp-rank-num{color:#a8bcb0!important}
.gs-profile-page .gs-tsp-rank-line strong{color:#e6f1e9!important}
.gs-profile-page .gs-tsp-bar{background-color:#1b2529!important}
.gs-profile-page .gs-tsp-unavailable{background-color:#1b2529!important}
.gs-profile-page .gs-tsp-unavailable p{color:#a8bcb0!important}
.gs-profile-page .gs-tsp-data-note{color:#a8bcb0!important}
.gs-profile-page .gs-tsp-no-results{color:#a8bcb0!important}
.gs-profile-page .gs-tsa{color:#e6f1e9!important}
.gs-profile-page .gs-tsa-kicker{color:#e6f1e9!important}
.gs-profile-page .gs-tsa-heading h3{color:#e6f1e9!important}
.gs-profile-page .gs-tsa-heading p{color:#a8bcb0!important}
.gs-profile-page .gs-tsa-panel-head p{color:#a8bcb0!important}
.gs-profile-page .gs-tsa-metrics>div{background-color:#1b2529!important;border-color:#33433e!important}
.gs-profile-page .gs-tsa-metrics span{color:#a8bcb0!important}
.gs-profile-page .gs-tsa-metrics strong{color:#e6f1e9!important}
.gs-profile-page .gs-tsa-panel{background-color:#1b2529!important;border-color:#33433e!important}
.gs-profile-page .gs-tsa-panel-head h4{color:#e6f1e9!important}
.gs-profile-page .gs-tsa-switch{background-color:#1b2529!important}
.gs-profile-page .gs-tsa-switch button{color:#e6f1e9!important}
.gs-profile-page .gs-tsa-hover{color:#e6f1e9!important}
.gs-profile-page .gs-tsa-note{color:#a8bcb0!important}
.gs-profile-page .gs-tsa-footer{color:#a8bcb0!important}
.gs-profile-page .gs-tsa-footer{background-color:#1b2529!important;border-color:#33433e!important}
.gs-profile-page .gs-tsa-empty{border-color:#33433e!important;color:#a8bcb0!important}
.gs-profile-page .gs-tsa-venue article{background-color:#1b2529!important;border-color:#33433e!important}
.gs-profile-page .gs-tsa-venue-title span{color:#a8bcb0!important}
.gs-profile-page .gs-tsa-venue-numbers span{color:#a8bcb0!important}
.gs-profile-page .gs-tsa-venue-numbers strong{color:#e6f1e9!important}
.gs-profile-page .gs-tsa-venue-bar{background-color:#1b2529!important}
.gs-profile-page .gs-la{color:#e6f1e9!important}
.gs-profile-page .gs-la-eyebrow{color:#e6f1e9!important}
.gs-profile-page .gs-la-heading p{color:#a8bcb0!important}
.gs-profile-page .gs-la-table-head p{color:#a8bcb0!important}
.gs-profile-page .gs-la-empty{background-color:#1b2529!important}
.gs-profile-page .gs-la-empty p{color:#a8bcb0!important}
.gs-profile-page .gs-la-context{background-color:#1b2529!important;border-color:#33433e!important;color:#a8bcb0!important}
.gs-profile-page .gs-la-context strong{color:#e6f1e9!important}
.gs-profile-page .gs-la-metric{background-color:#1b2529!important;border-color:#33433e!important}
.gs-profile-page .gs-la-metric-label{color:#e6f1e9!important}
.gs-profile-page .gs-la-metric-row strong{color:#e6f1e9!important}
.gs-profile-page .gs-la-metric-row span{color:#e6f1e9!important}
.gs-profile-page .gs-la-meter{background-color:#1b2529!important}
.gs-profile-page .gs-la-metric small{color:#a8bcb0!important}
.gs-profile-page .gs-la-pg{background-color:#1b2529!important}
.gs-profile-page .gs-la-pg span{color:#e6f1e9!important}
.gs-profile-page .gs-la-pg strong{color:#e6f1e9!important}
.gs-profile-page .gs-la-pg small{color:#a8bcb0!important}
.gs-profile-page .gs-la-table-head label{color:#e6f1e9!important}
.gs-profile-page .gs-la-sort{background-color:#1b2529!important;border-color:#33433e!important;color:#e6f1e9!important}
.gs-profile-page .gs-la-table{background-color:#1b2529!important;border-color:#33433e!important}
.gs-profile-page .gs-la-tr{border-color:#33433e!important;color:#e6f1e9!important}
.gs-profile-page .gs-la-th{background-color:#1b2529!important;color:#a8bcb0!important}
.gs-profile-page .gs-la-tr.is-team{background-color:#1b2529!important;color:#e6f1e9!important}
.gs-profile-page .gs-la-body .gs-la-tr:hover{background-color:#1b2529!important}
.gs-profile-page .gs-la-note{color:#a8bcb0!important}
.gs-profile-page .gs-la-sort-summary{color:#e6f1e9!important}
.gs-profile-page .gs-la-body .gs-la-tr>strong:last-child{color:#e6f1e9!important}
.gs-profile-page .gs-la-th span:last-child{color:#e6f1e9!important}
.gs-profile-page .gs-la-data-warning{background-color:#1b2529!important;border-color:#33433e!important;color:#e6f1e9!important}
.gs-profile-page .gs-la-sort option:disabled{color:#a8bcb0!important}
.gs-profile-page .gs-form-eyebrow{color:#e6f1e9!important}
.gs-profile-page .gs-form-head h3{color:#e6f1e9!important}
.gs-profile-page .gs-form-head p{color:#a8bcb0!important}
.gs-profile-page .gs-form-switch{background-color:#1b2529!important}
.gs-profile-page .gs-form-switch button{color:#e6f1e9!important}
.gs-profile-page .gs-form-switch button.is-active{background-color:#1b2529!important;color:#e6f1e9!important}
.gs-profile-page .gs-form-W{background-color:#1b2529!important;color:#e6f1e9!important}
.gs-profile-page .gs-form-D{background-color:#1b2529!important;color:#a8bcb0!important}
.gs-profile-page .gs-form-L{background-color:#1b2529!important}
.gs-profile-page .gs-form-points{color:#e6f1e9!important}
.gs-profile-page .gs-form-stat{background-color:#1b2529!important;border-color:#33433e!important}
.gs-profile-page .gs-form-stat span{color:#a8bcb0!important}
.gs-profile-page .gs-form-stat strong{color:#e6f1e9!important}
.gs-profile-page .gs-form-subtitle strong{color:#e6f1e9!important}
.gs-profile-page .gs-form-subtitle span{color:#a8bcb0!important}
.gs-profile-page .gs-form-matches{border-color:#33433e!important}
.gs-profile-page .gs-form-match{border-color:#33433e!important;color:#e6f1e9!important}
.gs-profile-page .gs-form-match:hover{background-color:#1b2529!important}
.gs-profile-page .gs-form-date{color:#a8bcb0!important}
.gs-profile-page .gs-form-venue{color:#a8bcb0!important}
.gs-profile-page .gs-form-match-score{color:#e6f1e9!important}
.gs-profile-page .gs-form-xg{border-color:#33433e!important}
.gs-profile-page .gs-form-muted{color:#a8bcb0!important}
.gs-profile-page .gs-form-empty{color:#a8bcb0!important}
.gs-profile-page .gs-form-xg-top{color:#a8bcb0!important}
.gs-profile-page .gs-form-xg-top strong{color:#e6f1e9!important}
.gs-profile-page .gs-form-graph{border-color:#33433e!important}
.gs-profile-page .gs-form-graph-bars .is-missing{background-color:#1b2529!important}
.gs-profile-page .gs-form-graph-label{color:#a8bcb0!important}
.gs-profile-page .gs-form-graph-legend{color:#a8bcb0!important}
.gs-profile-page .gs-form-footnote{color:#a8bcb0!important}
.gs-profile-page .gs-trends-kicker{color:#e6f1e9!important}
.gs-profile-page .gs-trends-header h3{color:#e6f1e9!important}
.gs-profile-page .gs-trends-header p{color:#a8bcb0!important}
.gs-profile-page .gs-trends-sample{background-color:#1b2529!important;color:#e6f1e9!important}
.gs-profile-page .gs-trend-card{background-color:#1b2529!important;border-color:#33433e!important}
.gs-profile-page .gs-trend-card-top{color:#a8bcb0!important}
.gs-profile-page .gs-trend-icon{background-color:#1b2529!important;color:#e6f1e9!important}
.gs-profile-page .gs-trend-card-value{color:#e6f1e9!important}
.gs-profile-page .gs-trend-card-description{color:#a8bcb0!important}
.gs-profile-page .gs-trend-tone-positive .gs-trend-card-value{color:#e6f1e9!important}
.gs-profile-page .gs-trends-panel{background-color:#1b2529!important;border-color:#33433e!important}
.gs-profile-page .gs-trends-panel-heading strong{color:#e6f1e9!important}
.gs-profile-page .gs-trends-panel-heading span{color:#a8bcb0!important}
.gs-profile-page .gs-trend-metric-line{color:#e6f1e9!important}
.gs-profile-page .gs-trend-metric-line strong{color:#e6f1e9!important}
.gs-profile-page .gs-trend-metric-line em{color:#e6f1e9!important}
.gs-profile-page .gs-trend-track{background-color:#1b2529!important}
.gs-profile-page .gs-trend-venue-track{background-color:#1b2529!important}
.gs-profile-page .gs-trend-venue-top{color:#e6f1e9!important}
.gs-profile-page .gs-trend-venue-top span{color:#a8bcb0!important}
.gs-profile-page .gs-trend-loss{background-color:#1b2529!important}
.gs-profile-page .gs-trend-venue-foot{color:#a8bcb0!important}
.gs-profile-page .gs-trends-disclaimer{color:#a8bcb0!important}
.gs-profile-page .gs-trend-muted{color:#a8bcb0!important}
/* Final contrast and surfaces for cards, tables, controls, graphs and badges. */
.gs-profile-page :is(input,select,textarea){background:#151f23!important;color:#edf5ef!important;border-color:#3a5045!important}
.gs-profile-page :is(input,textarea)::placeholder{color:#91a69b}
.gs-profile-page :is(.gs-ov-card,.gs-ov-metric,.gs-ov-link,.gs-ov-feature,.gs-form,.gs-form-stat,.gs-form-switch,.gs-trends,.gs-trend-card,.gs-trends-panel,.gs-tsp-player,.gs-tsp-leader,.gs-ts-hero-card,.gs-ts-results-card,.gs-ts-mini,.gs-ts-detail,.gs-ts-analysis,.gs-ts-analysis-item,.gs-tsa-metrics>div,.gs-tsa-panel,.gs-tsa-venue article,.gs-la-context,.gs-la-metric,.gs-la-pg,.gs-la-table,.gs-la-empty){background:#1b2529!important;border-color:#34433e!important;color:#e7efea!important}
.gs-profile-page :is(.gs-ov-metric strong,.gs-ov-card h3,.gs-ov-info-row strong,.gs-ov-link,.gs-ov-match,.gs-ov-feature strong,.gs-form-head h3,.gs-form-stat strong,.gs-trends-header h3,.gs-trend-card-value,.gs-trends-panel-heading strong,.gs-tsp-top h3,.gs-tsp-group h4,.gs-tsp-player,.gs-tsp-rank,.gs-ts-hero-card>strong,.gs-ts-card-heading h4,.gs-ts-detail-label,.gs-ts-values strong,.gs-ts-analysis-heading h4,.gs-ts-analysis-item>strong,.gs-tsa-heading h3,.gs-tsa-panel-head h4,.gs-la-heading h3,.gs-la-metric-row strong,.gs-la-pg strong){color:#eaf5ed!important}
.gs-profile-page :is(.gs-ov-metric-label,.gs-ov-metric small,.gs-ov-link-body small,.gs-form-head p,.gs-form-stat span,.gs-trends-header p,.gs-trend-card-description,.gs-tsp-top p,.gs-tsp-player-info small,.gs-ts-hero-card-top>span:first-child,.gs-ts-hero-card>small,.gs-ts-values small,.gs-tsa-heading p,.gs-la-heading p,.gs-la-metric-label,.gs-la-metric small){color:#a6bbae!important}
.gs-profile-page :is(.gs-ts-filter,.gs-tsp-filters button,.gs-tsa-switch button,.gs-form-switch button){background:#25352f;color:#bfe0cd;border-color:#3a5546}
.gs-profile-page :is(.gs-ts-filter.is-active,.gs-tsp-filters button.is-active,.gs-tsa-switch button.is-active,.gs-form-switch button.is-active){background:#187a4c!important;color:white!important}
.gs-profile-page :is(.gs-la-th,.gs-la-tr.is-team){background:#203b30!important;color:#b8ebcc!important}
.gs-profile-page .gs-la-tr{border-color:#33433e!important;color:#e7efea!important}
.gs-profile-page .gs-la-body .gs-la-tr:hover,.gs-profile-page .gs-form-match:hover{background:#263931!important}
.gs-profile-page :is(.gs-ts-result-track,.gs-ts-possession-track,.gs-tsp-bar,.gs-tsa-venue-bar,.gs-la-meter,.gs-trend-track,.gs-trend-venue-track){background:#34433e}
.gs-profile-page a:not(.gs-profile-tab):hover{filter:brightness(1.13)}
@media(max-width:640px){.gs-profile-page{overflow-wrap:break-word}.gs-profile-page :is(.gs-ov-card,.gs-ts-results-card,.gs-tsa-panel){box-shadow:none}}

/* V2 fix: full viewport background (the shared body was still light). */
html:has(.gs-profile-page){background:#101418!important;color-scheme:dark}
body:has(.gs-profile-page){background:#101418!important;color:#e7efea!important;min-height:100vh}
body:has(.gs-profile-page) > footer{background:#101418;color:#a7b8ad}
.gs-profile-page{background:#101418!important;min-height:calc(100vh - 140px)}
.gs-profile-page > .back{color:#8ce4b1!important}
