/* Compact, consistently scoped playing and transfer records. */
#chapter-performance,#chapter-moves,#chapter-career{padding-top:30px;padding-bottom:30px}
#chapter-performance .chapter-heading,#chapter-moves .chapter-heading,#chapter-career .chapter-heading{align-items:center;gap:24px;margin-bottom:18px}
.record-section-intro{font-size:17px;line-height:1.5;color:#646b72;margin-top:7px}
.stat-controls label{font-size:15px;letter-spacing:0;text-transform:none;color:#555e65}
.stat-controls select{min-width:228px;max-width:100%}
.record-controls{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:12px 22px}
.record-controls .stat-controls{gap:10px}
.playing-record,.transfer-record{background:#f8f9fa;border:1px solid #d3d8de;border-radius:16px;padding:20px 24px;overflow:hidden}
.record-topline{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:13px}
.record-topline p{font-size:16px;line-height:1.5;color:#505960}
.record-topline p>span{color:#8b939b;margin:0 6px}
.record-status{font-size:14px;border:1px solid #bfc5cd;padding:5px 10px;border-radius:99px;white-space:nowrap;color:#5f6871}
.competition-table,.season-record-table,.transfer-table{width:100%;border-collapse:collapse;font-size:17px;line-height:1.4;text-align:left}
.competition-table thead th,.season-record-table thead th,.transfer-table thead th{font-size:14px;font-weight:600;color:#68727c;padding:11px 12px;border-bottom:1px solid #cbd2d9}
.competition-table th:first-child,.season-record-table th:first-child,.transfer-table th:first-child,.transfer-table td:first-child{padding-left:0}
.competition-table tbody th,.competition-table tbody td{padding:13px 12px;border-bottom:1px solid #e0e4e8}
.competition-table tbody th{font-weight:550;padding-left:0}
.competition-table th:not(:first-child),.competition-table td{text-align:right;font-variant-numeric:tabular-nums;width:14%}
.competition-table .record-apps,.competition-table .record-goals{font-weight:650;color:#171a1e}
.competition-table small{display:block;font-size:14px;font-weight:400;line-height:1.4;color:#737c84;margin-top:4px;max-width:400px}
.competition-table abbr{text-decoration:none}
.competition-table tfoot th,.competition-table tfoot td{padding:15px 12px 4px;font-size:19px;font-weight:700;border-top:2px solid #b9c0c8}
.competition-table tfoot th{padding-left:0}
.competition-table tfoot td:last-child{color:#d9342d}
.record-footnote{display:flex;justify-content:space-between;align-items:flex-start;gap:15px;margin-top:16px;font-size:14px;line-height:1.5;color:#68727b}
.record-footnote p{max-width:760px}
.record-footnote a{white-space:nowrap;border-bottom:1px solid #b9c0c8;color:#4e5860}
.record-footnote a span{color:var(--red)}
.record-missing{color:#7e8892;font-weight:400}
.record-sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.record-notes,.season-record-list{border-top:1px solid #dce1e6;margin-top:15px;padding-top:3px;font-size:15px;color:#606a73}
.record-notes summary,.season-record-list summary{list-style:none;cursor:pointer;position:relative;padding:13px 32px 10px 0;font-size:15px;font-weight:550;line-height:1.5;display:flex;gap:12px;align-items:center}
.record-notes summary::-webkit-details-marker,.season-record-list summary::-webkit-details-marker{display:none}
.record-notes summary:after,.season-record-list summary:after{content:'';width:7px;height:7px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg);position:absolute;right:9px;top:19px}
.record-notes[open]>summary:after,.season-record-list[open]>summary:after{transform:rotate(225deg);top:23px}
.record-notes summary>span,.season-record-list summary>span{font-size:14px;color:#7c858e;font-weight:400}
.record-notes p{font-size:15px;line-height:1.6;max-width:1020px;margin:8px 0 12px}
.season-record-table{margin-top:6px}
.season-record-table td,.season-record-table tbody th{padding:10px 12px;border-bottom:1px solid #e1e5e9;font-weight:450;font-variant-numeric:tabular-nums}
.season-record-table th:first-child{padding-left:0}
.season-record-table td:not(:last-child),.season-record-table thead th:not(:first-child){text-align:right}
.season-record-table td:last-child{text-align:right;width:90px}
.season-record-table button{font-size:15px;min-height:36px;padding:3px 0;color:#2c343b}
.season-record-table button:hover{color:#d9342d}
.season-record-table button>span{margin-left:9px;color:var(--red)}
.transfer-summary{display:flex;flex-wrap:wrap;align-items:center;gap:20px 40px;padding-bottom:15px;border-bottom:1px solid #d4dbe1}
.transfer-summary>div{display:flex;flex-direction:column;gap:5px}
.transfer-summary>div>span{font-size:14px;color:#6b747c;line-height:1.4}
.transfer-summary strong{font-size:27px;line-height:1.2;letter-spacing:-.5px;font-weight:650;font-variant-numeric:tabular-nums}
.transfer-summary .fee-subtotal{font-size:25px}
.fee-currency-separator{font-size:17px;color:#8c959d}
.transfer-total-note{font-size:14px;line-height:1.55;color:#737c85;margin:13px 0 9px;max-width:1000px}
.transfer-table{table-layout:fixed}
.transfer-table thead th:nth-child(1){width:15%}
.transfer-table thead th:nth-child(2){width:43%}
.transfer-table thead th:nth-child(3){width:15%}
.transfer-table thead th:nth-child(4){width:27%}
.transfer-table td,.transfer-table tbody th{padding:16px 12px;border-bottom:1px solid #dfe4e9;font-weight:400;vertical-align:top;overflow-wrap:anywhere}
.transfer-table tbody tr:last-child td,.transfer-table tbody tr:last-child th{border-bottom:0}
.transfer-date{font-size:15px;line-height:1.55;color:#69737d;font-variant-numeric:tabular-nums}
.transfer-row-source{display:block;font-size:14px;line-height:1.4;margin-top:5px;color:#747e88}
.transfer-route-cell{font-size:17px}
.transfer-route-cell>span,.transfer-route-cell>strong{font-weight:550}
.transfer-route-cell>i{font-style:normal;color:var(--red);display:inline-block;padding:0 10px}
.transfer-type>span{font-size:14px;line-height:1.5;color:#69737d}
.transfer-fee{font-weight:650;font-size:17px;line-height:1.4}
.transfer-fee-cell small,.transfer-route-cell small{display:block;font-size:14px;line-height:1.45;color:#77808a;margin-top:5px;font-weight:400}
.fee-unknown,.fee-not-applicable,.is-unavailable{color:#7d8790;font-weight:400;font-size:15px}
.record-empty{padding:20px 0;border-top:1px solid #cdd3da;border-bottom:1px solid #cdd3da}
.record-empty h3{font-size:21px;letter-spacing:-.3px;line-height:1.3}
.record-empty p,.record-empty-inline{font-size:16px;line-height:1.6;color:#69737c;margin:8px 0}
.record-empty>a{font-size:15px;display:inline-block;padding:5px 0;margin-top:3px;border-bottom:1px solid #bfc6ce}
.career-highlights{display:grid;gap:0;border-top:1px solid #cdd3da}
.career-highlights article{display:grid;grid-template-columns:125px minmax(0,1fr);gap:22px;padding:17px 0;border-bottom:1px solid #d7dce1}
.career-highlights article>strong{font-size:20px;line-height:1.4;font-weight:650;letter-spacing:-.5px}
.career-highlights h3{font-size:18px;line-height:1.4;letter-spacing:0}
.career-highlights p{font-size:16px;color:#69727b;line-height:1.55;margin-top:4px;max-width:880px}
.career-match-list{display:grid;gap:12px;margin-top:16px}
.career-match-list .match-teaser{margin:0;padding:17px 20px}
.career-match-list .match-teaser strong{font-size:23px;line-height:1.3}
.profile-commerce{padding:0 5.5%}
.player-shop-strip{margin:6px 0 20px;padding:16px 20px;border-radius:12px;background:transparent;grid-template-columns:36px minmax(0,1fr) auto;gap:15px}
.player-shop-icon,.player-shop-icon svg{width:29px;height:29px}
.player-shop-copy h3{font-size:20px;margin:0 0 3px;line-height:1.25}
.player-shop-copy p{font-size:15px;line-height:1.4}
.player-shop-link{font-size:15px;min-height:44px;padding:11px 17px;gap:18px}
/* A clear end to this profile and a separate collection to explore. */
.related-players-section{margin-top:20px;padding-top:42px;padding-bottom:46px;background:#e0e3e7;border-top:4px solid var(--red);border-bottom:0}
.related-players-section .chapter-heading{align-items:center;margin-bottom:28px}
.related-players-section .text-link{white-space:nowrap}
@media(max-width:700px){
  #chapter-performance,#chapter-moves,#chapter-career{padding-top:24px;padding-bottom:24px}
  #chapter-performance .chapter-heading{display:flex;align-items:stretch;flex-direction:column;gap:15px}
  #chapter-performance .stat-controls{margin:0;display:flex;align-items:center;justify-content:space-between;flex-wrap:nowrap;gap:12px}
  #chapter-performance .stat-controls label{font-size:15px;white-space:nowrap}
  #chapter-performance .stat-controls select{min-width:0;max-width:calc(100% - 65px);flex:1}
  .record-controls{display:flex;flex-direction:column;gap:10px;width:100%}
  .record-section-intro{font-size:16px}
  .playing-record,.transfer-record{padding:16px;border-radius:12px}
  .record-topline{align-items:flex-start;flex-direction:column;gap:7px}
  .record-topline p{font-size:15px}
  .competition-table .record-detail-number{display:none}
  .competition-table tbody th,.competition-table tbody td{padding:12px 8px}
  .competition-table tbody th{padding-left:0;font-size:16px;width:64%}
  .competition-table td{font-size:18px}
  .competition-table tfoot th,.competition-table tfoot td{font-size:17px;padding:13px 8px 2px}
  .competition-table tfoot th{padding-left:0}
  .record-footnote{flex-direction:column;gap:8px;margin-top:14px}
  .record-notes summary,.season-record-list summary{font-size:15px;gap:8px;flex-wrap:wrap}
  .season-record-table{font-size:16px}
  .season-record-table td,.season-record-table tbody th{padding:8px}
  .season-record-table td:last-child{width:66px}
  .transfer-summary{gap:17px 24px;align-items:flex-start}
  .transfer-summary>div{max-width:100%}
  .transfer-summary>div>span{font-size:14px;max-width:165px}
  .transfer-summary strong,.transfer-summary .fee-subtotal{font-size:23px}
  .transfer-table,.transfer-table tbody{display:block}
  .transfer-table thead{display:none}
  .transfer-table tr{display:grid;grid-template-columns:1fr auto;gap:8px 12px;padding:15px 0;border-bottom:1px solid #d7dde3}
  .transfer-table tr:last-child{border-bottom:0;padding-bottom:3px}
  .transfer-table td,.transfer-table tbody th{border:0!important;padding:0!important}
  .transfer-date{grid-column:1;grid-row:1;font-size:14px}
  .transfer-type{grid-column:2;grid-row:1;text-align:right}
  .transfer-route-cell{grid-column:1/-1;grid-row:2;font-size:17px}
  .transfer-route-cell>span{display:inline}
  .transfer-route-cell>i{padding:0 7px}
  .transfer-fee-cell{grid-column:1/-1;grid-row:3;font-size:16px;margin-top:2px}
  .transfer-fee-cell .transfer-fee:before{content:'Fee: ';font-weight:400;color:#77808a;font-size:14px}
  .transfer-fee-cell small{font-size:14px}
  .career-highlights article{grid-template-columns:85px minmax(0,1fr);gap:15px;padding:14px 0}
  .career-highlights article>strong{font-size:18px}
  .career-highlights h3{font-size:17px}
  .career-highlights p{font-size:15px}
  .profile-commerce{padding:0 6%}
  .player-shop-strip{grid-template-columns:30px minmax(0,1fr);gap:10px 12px;padding:15px}
  .player-shop-copy h3{font-size:19px}
  .player-shop-copy p{font-size:14px}
  .player-shop-link{grid-column:2;justify-self:start;font-size:15px;margin-top:3px}
  .related-players-section{margin-top:16px;padding-top:30px;padding-bottom:32px}
  .related-players-section .chapter-heading{margin-bottom:22px}
  .related-players-section .text-link{display:inline-flex;margin-top:14px}

}

/* Biography and the player's own words share one clearly divided section. */
#chapter-overview{padding-top:60px;padding-bottom:60px}
#chapter-overview .overview-grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(280px,1fr);gap:48px;max-width:1440px;margin-inline:auto;align-items:start}
#chapter-overview .profile-story{min-width:0;padding-right:0}
#chapter-overview .chapter-heading{margin-bottom:24px}
#chapter-overview .player-biography{max-width:72ch;line-height:1.85}
#chapter-overview .player-biography p+p{margin-top:24px}
#chapter-overview .player-words-card{align-self:stretch;gap:26px;padding:0 0 0 36px;border:0;border-left:1px solid #c6cdd5;border-radius:0;background:transparent}
#chapter-overview .player-words-example{gap:0}
#chapter-overview .player-words-card h2{font-size:29px}
#chapter-overview .player-words-previews{gap:26px}
#chapter-overview .player-words-status{margin-top:4px}
/* Voting and the ranking explanation form one action group. */
.profile-engagement-bar .fan-vote-group{display:flex;align-items:center;flex-wrap:wrap;width:auto;flex:1;gap:12px 22px}
.profile-engagement-bar .fan-vote-group>a{font-size:15px;line-height:1.5;color:#525a65;text-decoration:underline;text-underline-offset:4px}
.profile-engagement-bar>.compare-button{flex:none}
@media(max-width:900px){
 #chapter-overview .overview-grid{grid-template-columns:1fr;gap:36px}
 #chapter-overview .profile-story{padding-right:0}
 #chapter-overview .player-words-card{border-left:0;border-top:1px solid #c6cdd5;padding:32px 0 0}
}
@media(max-width:700px){
 #chapter-overview{padding-top:44px;padding-bottom:44px}
 #chapter-overview .player-biography{line-height:1.8}
 #chapter-overview .player-biography p+p{margin-top:22px}
 #chapter-overview .player-words-card h2{font-size:27px}
 .profile-engagement-bar .fan-vote-group{width:100%;gap:13px 18px}
 .profile-engagement-bar .fan-vote-group>a{font-size:14px}
}

/* The profile navigator remains distinct from both the hero and page content. */
.chapter-nav{background:#272c33;border-top:1px solid #444c57;border-bottom:1px solid #444c57;box-shadow:0 6px 18px #11182018;padding:10px 5.5%;gap:6px;min-height:68px;align-items:center;scrollbar-width:thin;scrollbar-color:#788290 #272c33}
.chapter-nav a,.chapter-nav a:first-child{flex:0 0 auto;padding:12px 16px;border:1px solid transparent;border-radius:999px;color:#d2d8e0;font-size:15px;line-height:1.4;font-weight:500;min-height:46px}
.chapter-nav a:hover{background:#3a424e;border-color:#566170;color:#fff}
.chapter-nav a.active{background:var(--red);border-color:var(--red);color:#fff;font-weight:650}
.chapter-nav a>span{display:inline-flex;align-items:center;justify-content:center;min-width:23px;height:23px;padding:0 5px;border-radius:50%;background:#ffffff15;color:#dce2eb;font-size:14px;margin-left:7px}
.chapter-nav a.active>span{background:#00000020;color:#fff}
.chapter-nav a:focus-visible{outline:3px solid #fff;outline-offset:1px}
@media(max-width:700px){.chapter-nav{padding:9px 6%;gap:5px;min-height:66px}.chapter-nav a,.chapter-nav a:first-child{padding:11px 14px;font-size:15px;min-height:44px}}
