/* Numeric player reports stay on the stadium surface, with room to read. */
.stat-scale{margin-left:3px;font:500 13px var(--body);color:var(--muted)}
.player-report,.player-match-report{min-width:0;margin-top:16px}
.player-report h3{margin:0;font:800 28px/1.15 var(--display)}
.player-report-note{margin:8px 0 18px;color:var(--muted);font-size:14px;line-height:1.6}
.player-report-row{margin:0;border:0;border-bottom:1px solid var(--line);border-radius:0;background:none;padding:0}
.player-report-row:first-of-type{border-top:1px solid var(--line)}
.player-report-summary{display:block;min-height:44px;padding:18px 0;list-style:none;cursor:pointer;text-transform:none;letter-spacing:0;font-family:var(--body)}
.player-report-summary::-webkit-details-marker{display:none}
.player-report-summary:focus-visible,.player-match-report>summary:focus-visible,.player-match-table-wrap:focus-visible{outline:3px solid var(--accent);outline-offset:3px;border-radius:5px}
.player-report-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;min-width:0}
.player-report-identity{display:flex;flex-direction:column;gap:5px;min-width:0}
.player-report-identity>strong{font-size:17px;line-height:1.35;overflow-wrap:anywhere;color:var(--fg)}
.player-report-meta{font-size:13px;line-height:1.6;color:var(--muted);overflow-wrap:anywhere}
.player-overall{display:grid;grid-template-columns:auto auto;align-items:baseline;column-gap:3px;flex-shrink:0;text-align:right;font-variant-numeric:tabular-nums}
.player-overall>small:first-child{grid-column:1/-1;color:var(--muted);font:600 12px var(--body);letter-spacing:.06em}
.player-overall>b{color:var(--accent);font:800 37px/1.1 var(--display)}
.player-overall>small:last-child{color:var(--muted);font:500 12px var(--body)}
.player-cup-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:15px;font-variant-numeric:tabular-nums}
.player-stat{display:flex;flex-direction:column;gap:3px;min-width:0}
.player-stat>small{font-size:13px;line-height:1.45;color:var(--muted);letter-spacing:0}
.player-stat>b{font-size:18px;line-height:1.4;font-weight:700;color:var(--fg)}
.player-attributes-toggle{display:flex;align-items:center;gap:8px;margin-top:13px;font-size:13px;line-height:1.5;color:var(--star)}
.player-attributes-toggle:after{content:'+';font-size:18px;line-height:1}
.player-report-row[open] .player-attributes-toggle:after{content:'−'}
.player-report-detail{padding:0 0 18px;min-width:0}
.player-attributes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 20px;margin:0;padding:0;font-variant-numeric:tabular-nums}
.player-attributes>div{display:flex;align-items:baseline;justify-content:space-between;gap:8px;padding:10px 0;min-width:0;border-top:1px solid #ffffff0d}
.player-attributes dt{font-size:14px;line-height:1.5;color:var(--muted);overflow-wrap:anywhere}
.player-attributes dd{margin:0;font-size:16px;font-weight:700;color:var(--fg)}
.player-report-traits{display:flex;flex-wrap:wrap;gap:7px;margin-top:14px}
.player-report-traits>span{padding:3px 8px;border:1px solid #99bcff30;border-radius:5px;background:#99bcff0a;color:#c3d7ff;font-size:12px;line-height:1.5}
.player-report-traits>span.is-negative{color:#ffb2a8;border-color:#ff8e8e35;background:#ff8e8e0a}
.player-report-context{margin:12px 0 0;color:var(--muted);font-size:13px;line-height:1.6}
.player-match-report{padding:0;border:0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);border-radius:0;background:none}
.player-match-report>summary{min-height:44px;padding:13px 0;cursor:pointer;font-size:15px;font-weight:600;color:var(--fg)}
.player-match-side{min-width:0;margin:8px 0 22px}
.player-match-side h4{margin:0 0 10px;font-size:16px;line-height:1.5;overflow-wrap:anywhere;color:var(--star)}
.player-match-table-wrap{max-width:100%;min-width:0;overflow-x:auto;overscroll-behavior-inline:contain;scrollbar-width:thin;scrollbar-color:#52687b transparent}
.player-match-table{width:100%;min-width:400px;border-collapse:collapse;font-size:14px;font-variant-numeric:tabular-nums}
.player-match-table th,.player-match-table td{padding:10px 8px;border-bottom:1px solid #ffffff12;text-align:right;vertical-align:middle}
.player-match-table thead th{color:var(--muted);font-size:12px;font-weight:500;white-space:nowrap}
.player-match-table th:first-child,.player-match-table td:first-child{text-align:left;padding-left:0;min-width:125px;max-width:230px;overflow-wrap:anywhere}
.player-match-table th:last-child,.player-match-table td:last-child{padding-right:0}
.player-match-table td:not(:first-child){white-space:nowrap}
.player-match-position{display:block;font-size:12px;font-weight:400;color:var(--muted);margin-top:3px}
.player-match-rating{font-weight:800;color:var(--accent)}
@media(max-width:600px){
 .player-attributes{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 16px}
 .player-report-heading{gap:12px}
 .player-report-identity>strong{font-size:16px}
 .player-cup-stats{gap:6px}
 .player-stat>small{font-size:12px}
 .player-overall>b{font-size:34px}
 .player-match-table,.player-match-table tbody{display:block;min-width:0}
 .player-match-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
 .player-match-table tbody tr{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;padding:14px 0;border-bottom:1px solid var(--line)}
 .player-match-table th,.player-match-table td{padding:0;border:0;text-align:left}
 .player-match-table th:first-child{grid-column:1/-1;min-width:0;max-width:none}
 .player-match-table td:before{display:block;content:attr(data-label);margin-bottom:4px;color:var(--muted);font-size:12px;font-weight:400}
 .player-match-position{display:inline;margin-left:8px}
}
.player-report-row{--performance:#7fbaff}.player-report-row[data-performance=excellent]{--performance:#b5e87a}.player-report-row[data-performance=low]{--performance:#efa178}.player-report-row[data-performance=unused]{--performance:#7a8794}.performance-score{font:700 25px/1.1 var(--display);color:var(--performance);white-space:nowrap}.performance-score small{font:10px var(--body);color:var(--muted);margin-left:3px}.performance-meter{display:block;width:100%;height:5px;border-radius:4px;background:#ffffff12;overflow:hidden;margin:9px 0}.performance-meter i{display:block;height:100%;background:var(--performance);border-radius:4px}.contribution-chart{display:flex;gap:18px;align-items:center;padding:12px 0}.contribution-ring{display:grid;place-items:center;position:relative;width:60px;height:60px;flex:none;border-radius:50%;background:conic-gradient(#b5e87a var(--goals),#7fbaff 0);opacity:var(--ring-opacity)}.contribution-ring:before{content:'';position:absolute;inset:7px;background:#14212b;border-radius:50%}.contribution-ring b{position:relative;font-size:18px}.contribution-chart small{display:flex;align-items:center;gap:5px;color:var(--muted);font-size:11px;margin-top:6px}.goal-dot,.assist-dot{height:7px;width:7px;border-radius:50%;background:#b5e87a}.assist-dot{background:#7fbaff;margin-left:7px}.player-match-rating[data-performance=excellent]{color:#b5e87a}.player-match-rating[data-performance=good]{color:#7fbaff}.player-match-rating[data-performance=low]{color:#efa178}
