/* Player detail parity: independent of the global brand shell. */
body[data-page="player"] #view{align-items:start;gap:16px}body[data-page="player"] .player-main-column{align-content:start;gap:16px}#player-side-column{display:grid;gap:16px;align-content:start}#player-side-column>div:empty{display:none}#player-side-column .entity-card{margin:0}body[data-page="player"] .player-profile-hero h1{font-size:28px!important;font-weight:400!important;line-height:34px}body[data-page="player"] .colored-player-hero{height:114px}body[data-page="player"] .profile-bio{min-height:340px}.profile-bio .player-facts>div{min-height:86px}.position-mini-pitch{background-image:none}.position-mini-pitch:before,.position-mini-pitch:after{display:none}.position-mini-pitch i{background:var(--club-color,#438e6e)}.profile-position .position-mini-pitch svg{width:100%;height:100%}.player-stat-icon{width:18px;height:18px;display:inline-block;vertical-align:middle;flex-shrink:0}.player-stat-icon.yellow{color:#f4d04e}.player-stat-icon.red{color:#d96464}.player-summary-v48 h2{padding:24px!important;margin:0!important;border-bottom:1px solid var(--line);font-size:18px!important;font-weight:500!important}.player-summary-v48>div{padding:30px 24px 24px;grid-template-columns:repeat(4,minmax(0,1fr));gap:28px 16px}.player-summary-v48 strong{font-size:16px;font-weight:400;display:flex;align-items:center;justify-content:center;gap:5px;min-height:24px}.player-summary-v48 .rating-chip{font-size:14px;min-width:36px;padding:4px 5px;border-radius:5px}.player-summary-v48 small{font-size:14px;line-height:18px}.profile-match-filters{display:flex;gap:16px;padding:14px 24px;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.profile-match-filters label{display:flex;align-items:center;gap:8px;min-width:0}.profile-match-filters select{color:var(--text);background:transparent;border:0;font-size:14px;max-width:205px;padding:5px 18px 5px 0}.player-match-table-v48{min-width:735px;table-layout:auto}.player-match-table-v48 th{height:54px;border-top:0;padding:12px 8px}.player-match-table-v48 td{padding:12px 8px;height:66px;font-size:14px}.player-match-table-v48 td:first-child a{display:flex;gap:8px;align-items:center;font-size:12px;color:var(--muted)}.player-match-table-v48 td:first-child .player-stat-icon{width:14px;height:14px}.player-match-table-v48 td:nth-child(2){min-width:245px}.player-match-opponent{display:flex;align-items:center;gap:8px}.player-match-opponent>.team-badge{width:22px;height:24px;flex-shrink:0}.player-match-opponent>.player-opponent-name{flex:1;min-width:0;line-height:18px}.player-match-table-v48 td small{font-size:10px;margin:2px 0 0}.player-match-score{white-space:nowrap;font-size:12px;color:var(--muted)}.player-result{font-size:12px!important;min-width:14px}.player-result.win{color:#4d9878}.player-result.loss{color:#d65a5a}.player-result.draw{color:var(--muted)}.player-match-table-v48 td:nth-child(3) .team-badge{width:22px;height:24px}.player-match-table-v48 .rating-chip{font-size:12px;border-radius:12px;padding:4px 7px;min-width:34px}.player-match-table-v48 tbody tr:hover{background:var(--soft)}.player-match-table-v48+.profile-sample-note{padding-top:14px}.profile-stat-group>div>span{display:flex;align-items:center;gap:7px}.profile-stat-group>div>strong{font-variant-numeric:tabular-nums}.profile-stat-group h3{font-size:16px}.profile-performance-heading>div{border:1px solid var(--line);border-radius:20px;gap:0;padding:2px}.profile-performance-heading button{border:0;background:transparent}.profile-performance-heading button[aria-pressed="true"]{background:#eaeaea;color:#202020}.career-tabs button{background:none;border:0;border-radius:0;font-size:16px;color:var(--muted);padding:0;position:relative}.career-tabs button[aria-selected="true"]{color:var(--text)}.career-tabs button[aria-selected="true"]:after{content:'';position:absolute;bottom:0;left:0;right:0;height:3px;background:var(--text)}.player-season-career table{width:100%;border-collapse:collapse;min-width:335px}.player-season-career th{height:46px;padding:8px 5px;text-align:center;color:var(--muted);font-size:12px;font-weight:400}.player-season-career td{padding:15px 5px;border-top:1px solid var(--line);font-size:13px;text-align:center}.player-season-career td:first-child,.player-season-career th:first-child{text-align:left;padding-left:24px}.player-season-career td:first-child strong,.player-season-career td:first-child span{display:block;font-size:13px;line-height:20px;font-weight:400}.player-season-career td:first-child small{font-size:11px;margin-top:1px}.player-season-career .rating-chip{font-size:12px;min-width:30px;padding:3px 5px;border-radius:10px}.player-season-career .profile-sample-note{padding-top:16px}.player-injuries strong{font-weight:400}.profile-performance .profile-sample-note{padding-top:12px}.player-page-card{--club-color:#438e6e}.player-page-card .player-profile-hero{background:var(--club-color)}
body.dark .profile-performance-heading button[aria-pressed="true"]{background:#414141;color:white}body.dark .position-mini-pitch{background:#333}.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
@media(min-width:1001px){body[data-page="player"] .profile-position{padding:24px;min-width:0}.profile-position .position-mini-pitch{max-width:46%;height:230px}.profile-position>div:first-child{min-width:80px}}
@media(max-width:1000px) and (min-width:821px){.player-summary-v48 small{font-size:12px}.profile-match-filters{gap:8px;padding:12px 16px}.profile-match-filters select{max-width:160px}}
@media(max-width:820px){body[data-page="player"] #view{grid-template-columns:1fr}.profile-bio{grid-template-columns:1fr 1fr}.profile-position{border-top:0;border-left:1px solid var(--line)}}
@media(max-width:620px){body[data-page="player"] .player-profile-hero h1{font-size:22px!important;line-height:27px}.profile-bio{grid-template-columns:1fr}.profile-position{border-left:0;border-top:1px solid var(--line)}body[data-page="player"] .profile-bio{min-height:0}.profile-position .position-mini-pitch{height:190px;width:140px}.player-summary-v48>div{padding:24px 16px;gap:24px 8px}.player-summary-v48 small{font-size:11px;line-height:15px}.player-summary-v48 strong{font-size:14px}.player-summary-v48 h2{padding:20px 16px!important}.profile-match-filters{padding:12px 16px;gap:10px;flex-wrap:wrap}.profile-match-filters label{flex:1;min-width:120px}.profile-match-filters select{max-width:100%;width:100%;font-size:13px}.profile-match-filters .player-stat-icon{width:16px;height:16px}.player-match-table-v48 td,.player-match-table-v48 th{padding:10px 7px;font-size:12px}.player-match-table-v48{min-width:695px}.profile-performance-heading{gap:14px}.profile-performance-heading h2{font-size:18px}.profile-performance-heading button{font-size:12px}.profile-stat-group{padding:0 16px 12px}.profile-stat-group>div{font-size:14px;line-height:20px}.profile-sample-note{padding-left:16px;padding-right:16px}.player-season-career td:first-child,.player-season-career th:first-child{padding-left:16px}.player-season-career table{min-width:315px}.player-season-career .player-stat-icon{width:15px;height:17px}}
#player-injury-slot .player-injuries{padding:0 24px 20px}#player-injury-slot .player-injuries h2{padding:24px 0;margin:0;font-size:18px;font-weight:500}#player-injury-slot .player-injuries>div:last-child{border:0}@media(max-width:620px){#player-injury-slot .player-injuries{padding:0 16px 16px}#player-injury-slot .player-injuries h2{padding:20px 0}}

.player-season-career .outfield-career{min-width:390px}.player-season-career .career-source-date{padding-top:16px;padding-bottom:12px}

/* Keep the photo header in the site brand green for every club and position. */
body[data-page="player"] .colored-player-hero{--club-color:#46815e!important;background:var(--club-color)}
/* Season rows share their metric columns with the expanded competition list. */
.player-season-career table{table-layout:fixed}.player-season-career th:first-child,.player-season-career td:first-child{width:43%}.career-season-row>td{height:76px}.career-season-row>td:first-child{padding-left:18px;padding-right:0}.career-season-row button{display:flex;align-items:center;gap:9px;width:100%;padding:0;border:0;background:none;text-align:left;color:var(--text);cursor:pointer}.career-season-row button>span{flex:1;min-width:0}.career-season-row button small{display:block;color:var(--muted)}.career-season-row .team-badge{width:25px;height:26px}.career-chevron{width:17px;height:17px;flex-shrink:0;transition:transform .15s}.career-season-row [aria-expanded="true"] .career-chevron{transform:rotate(180deg)}.career-competitions[hidden]{display:none}.career-competitions>td{padding:0!important}.career-competitions table{min-width:0!important;table-layout:fixed;width:100%}.career-competitions td{font-size:12px;padding-top:12px;padding-bottom:12px;background:var(--soft)}.career-competitions td:first-child{padding-left:20px}.career-competition-label{display:flex!important;align-items:center;gap:8px;font-size:12px!important}.career-competition-label svg{width:16px}.player-season-career .career-section th{height:auto;padding:24px 18px 12px;text-align:left;font-size:14px;color:var(--text);font-weight:500}.player-history-pagination{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px 24px;border-top:1px solid var(--line)}.player-history-pagination button,.player-performance-more{background:var(--soft);color:var(--text);border:1px solid var(--line);border-radius:9px;padding:8px 15px;cursor:pointer;font:inherit;font-size:13px}.player-history-pagination button:disabled{opacity:.4;cursor:default}.player-history-pagination span{font-size:12px;color:var(--muted);text-align:center}.player-performance-filters{display:flex;gap:18px;padding:20px 24px;border-bottom:1px solid var(--line)}.player-performance-filters label{display:flex;align-items:center;gap:8px;font-size:13px;color:var(--muted);min-width:0}.player-performance-filters select{font:inherit;border:0;border-radius:6px;background:var(--soft);color:var(--text);padding:8px;max-width:230px}.player-performance-more{margin:4px 24px 20px}.player-performance-loading{padding:0 24px 20px;color:var(--muted);font-size:12px}@media(max-width:620px){.player-performance-filters{padding:16px;flex-wrap:wrap;gap:12px}.player-performance-filters select{max-width:190px}.player-history-pagination{padding:16px}.player-season-career td:first-child,.player-season-career th:first-child{width:43%}}
.career-club-metrics{display:flex!important;align-items:center;justify-content:flex-end;gap:12px;flex:0 0 auto;font-size:12px}.career-club-metrics>span{display:flex;align-items:center;gap:4px;min-width:28px}.career-club-metrics .player-stat-icon{width:14px;height:14px;color:var(--muted)}.career-extra-row{display:flex;align-items:center;gap:12px;padding:18px 24px;border-bottom:1px solid var(--line);font-size:14px}.career-extra-row>span:not(.career-club-metrics){flex:1;min-width:0}.career-extra-row small{display:block;color:var(--muted);font-size:12px;margin-top:5px}.career-extra-row>.player-stat-icon{width:24px;height:24px;color:var(--muted)}.career-extra-row>.team-badge{width:26px;height:28px}.career-national-extra>h3,.career-other-extra>h3{padding:20px 24px 8px;font-weight:500;font-size:14px}

.player-career>a>.career-club-metrics{margin-left:auto}.player-career>a>span:not(.asset):not(.career-club-metrics){min-width:0;flex:1}

/* Fixed image and selector geometry keeps loading and translated labels stable. */
.career-country-flag{display:inline-flex;align-items:center;justify-content:center;width:24px;min-width:24px;font-size:22px;line-height:24px}.coach-profile{display:inline-flex;gap:12px;align-items:center;min-width:0}.coach-profile>img{width:40px;height:40px;border-radius:50%;object-fit:cover;background:var(--bg);flex-shrink:0}.coach-profile>span{display:flex;flex-direction:column;gap:5px}.coach-profile strong{font-size:14px;font-weight:500}.coach-profile small{font-size:12px;color:var(--muted)}.audit-scope-picker>label{min-width:0;max-width:100%}.audit-scope-picker select{max-width:100%}.audit-scope-picker{flex-wrap:wrap}.profile-sample-note:empty{display:none}.career-source-date,.reserve-source-note{display:none}
@media(max-width:600px){.audit-scope-picker{gap:10px}.audit-scope-picker>label:first-of-type{flex:0 1 115px}.audit-scope-picker>label:last-child{flex:1 1 150px}.audit-scope-picker select{width:100%;font-size:13px}.player-season-career th:first-child{min-width:155px}}

.club-coach{border-top:1px solid var(--line);padding:18px 24px}.country-flag{vertical-align:middle;flex-shrink:0;border-radius:2px;box-shadow:0 0 0 1px #8882}.career-country-flag .country-flag{max-width:24px}

.career-archive-picker{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:16px 20px;font-size:13px;color:var(--muted)}.career-archive-picker select{background:var(--bg);color:var(--text);border:1px solid var(--line);border-radius:10px;padding:10px;font:inherit;max-width:180px}

/* Keep absolutely positioned screen-reader column labels inside table scrollports. */
body[data-page="player"] .table-wrap{position:relative}
/* Career grids must shrink to the viewport before their tables scroll. */
body[data-page="player"] .table-wrap{min-width:0;max-width:100%}
#player-side-column{min-width:0;grid-template-columns:minmax(0,1fr)}
#player-side-column>div{min-width:0;max-width:100%}
@media(min-width:621px) and (max-width:820px){#player-side-column{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Reserve the summary space while its initial cache layers are reconciled. */
.player-initial-stats{min-height:220px;display:grid;align-content:center}.player-initial-stats .loading{margin:0}
