/* Shared Club/Country player presentation: rectangular selection cards and profile tables. */
.player-pitch201.tactical-pitch15 .pitch-player{width:clamp(106px,15%,164px)}
.player-pitch201.tactical-pitch15 .pitch-player .player-card201{display:flex!important;flex-direction:column!important;align-items:stretch!important;justify-content:center!important;position:relative!important;inset:auto!important;transform:none!important;width:100%!important;height:auto!important;min-width:0!important;min-height:47px!important;aspect-ratio:auto!important;padding:0!important;border:1px solid #fff!important;border-radius:0!important;background:#000!important;color:#fff!important;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif!important;text-shadow:none!important;overflow:hidden}
.player-card-name201{display:block;padding:7px 5px 6px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:700;line-height:1.2;background:#000;color:#fff}
.player-card-summary201{display:flex;justify-content:center;gap:7px;padding:5px 3px;background:#fff;color:#000;font-size:10px;font-weight:600;line-height:1.15;white-space:nowrap}
.player-card201:focus-visible{outline:3px solid #00bf63!important;outline-offset:4px}
.player-pitch201 .instruction-arrow15{top:-30px}.player-pitch201 .instruction-arrow15.back15{top:45px}
.overview-pitch201.selection-layout9{display:block;grid-template-columns:1fr}.overview-selection201 .mini-pitch{max-width:none;width:100%}
.profile-ratings201{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));align-items:stretch;border:1px solid var(--line);margin:18px 0 8px}
.profile-ratings201 .player-overall{min-width:0;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:7px;padding:16px 8px;border-right:1px solid var(--line)}
.profile-ratings201 .player-overall:last-child{border-right:0}.profile-ratings201 .player-overall>b{font-size:26px;line-height:1.2;white-space:nowrap;color:var(--text)}
.profile-ratings201 .player-overall>span{font-size:12px;color:var(--muted);text-transform:none}.profile-ratings201 .player-overall.good201>b,.profile-ratings201 .player-overall.good201>span{color:#008b4a}.profile-ratings201 .player-overall.fair201>b,.profile-ratings201 .player-overall.fair201>span{color:#b87800}.profile-ratings201 .player-overall.low201>b,.profile-ratings201 .player-overall.low201>span{color:#c73838}
.profile-ratings201 .rating-stars{font-size:22px}.potential-assessment201{display:inline-flex;align-items:center;gap:3px}.potential-assessment201>small{font-size:12px;opacity:.8}
.player-profile201 .profile-actions{position:static;flex-wrap:wrap;background:transparent}.player-profile201 .profile-actions button{flex:0 1 auto;padding:10px 14px;font-size:12px}
.profile-analysis201{display:grid;grid-template-columns:minmax(240px,.9fr) minmax(440px,1.35fr);gap:20px;margin-top:20px;align-items:start}.profile-attributes201,.comparison201{min-width:0;border:1px solid var(--line);background:var(--panel)}
.profile-section-head201{min-height:58px;padding:12px 14px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:12px}.profile-section-head201 h3{text-transform:none;letter-spacing:0;font-size:16px}
.profile-attributes201 .compact-attributes{padding:0 14px;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 18px}.profile-attributes201 .attribute{font-size:12px;gap:8px}.profile-attributes201 .attribute span{text-transform:none}
.comparison-scroll201{max-height:500px;overflow:auto}.profile-table201{min-width:100%;width:100%;border-collapse:collapse}.profile-table201 th button{border:0;background:transparent!important;color:inherit!important;padding:0;font-size:inherit;text-align:inherit}.profile-table201 thead{position:sticky;top:0;background:var(--panel2);z-index:1}.profile-table201 td,.profile-table201 th{padding:11px 10px;text-align:right}.profile-table201 td:first-child,.profile-table201 th:first-child{width:auto;text-align:left}.profile-table201 .link-button{font-size:inherit;padding:0;text-align:left;white-space:nowrap}.profile-table201 .profile-current201{background:#00bf6314;box-shadow:inset 3px 0 #00bf63}.profile-table201 .rating-stars{font-size:14px}
.player-instructions201>h3{font-size:19px;margin-bottom:10px}.instruction-options201{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:7px}.player-instructions201>.smallprint{margin:0 0 24px}.replacement-head201{padding:12px 0;justify-content:flex-start}.replacement-scroll201{max-height:430px;overflow:auto}.player-instructions201 .profile-table201 td:nth-child(3),.player-instructions201 .profile-table201 th:nth-child(3){text-align:left}.player-instructions201 .profile-table201{min-width:870px}.player-instructions201 .modal-actions{margin-top:20px}
.comparison-menu201{margin:0!important}.comparison-menu201 summary{padding:8px 10px!important;font-size:12px}.squad-rotation201{justify-self:end;margin:0 0 16px auto;position:relative;width:max-content}.squad-rotation201 summary{min-height:42px;display:flex;align-items:center;font-size:13px}.squad-table201 td:nth-child(3),.squad-table201 th:nth-child(3){text-align:left}.squad-table201 .rating-stars{font-size:13px}
dialog:has(.player-profile201),dialog:has(.player-instructions201){width:min(1240px,94vw);max-width:1240px}.modal-content:has(.player-profile201){padding:20px!important;position:static;min-height:0}.modal-content:has(.player-instructions201){padding:24px}
html.dark8 .player-profile201 .profile-actions{background:transparent}html.dark8 .profile-ratings201 .good201>b,html.dark8 .profile-ratings201 .good201>span{color:#00d57b}html.dark8 .profile-ratings201 .fair201>b,html.dark8 .profile-ratings201 .fair201>span{color:#eab54a}html.dark8 .profile-ratings201 .low201>b,html.dark8 .profile-ratings201 .low201>span{color:#ff7373}
@media(max-width:950px){.profile-analysis201{grid-template-columns:1fr}.profile-ratings201 .player-overall>b{font-size:20px}.player-pitch201.tactical-pitch15 .pitch-player{width:110px}.player-card-name201{font-size:11px}.player-card-summary201{font-size:9px;gap:5px}}@media(max-width:600px){.profile-ratings201{grid-template-columns:repeat(2,minmax(0,1fr))}.profile-ratings201 .player-overall:nth-child(2){border-right:0}.profile-ratings201 .player-overall:nth-child(-n+2){border-bottom:1px solid var(--line)}.player-pitch201.tactical-pitch15 .pitch-player{width:88px}.player-card-name201{font-size:10px}.player-card-summary201{font-size:8px;gap:3px}.squad-rotation201{max-width:100%}}
/* The legacy overall caption rule also targets nested star spans: inherit the
   rating font so the empty and filled star layers remain exactly overlaid. */
.profile-ratings201 .rating-stars,.profile-ratings201 .rating-stars>span{font-size:22px;line-height:1}
.profile-ratings201 .rating-stars>span:first-child{display:block}
