dialog.statistics-dialog{width:min(1190px,calc(100% - 32px));--stats-accent:var(--orange,#ee7925)}
.statistics-dialog[data-stats-provider="KSS"]{--stats-accent:var(--blue,#244b99)}
.statistics-dialog[data-stats-provider="DScore"]{--stats-accent:var(--jls,#9466d7)}
.statistics-dialog .modal-inner{padding:28px 34px}
.statistics-dialog .modal-inner h2{font-size:28px;margin-bottom:8px}
.statistics-dialog .modal-match-teams{margin:12px 0 20px;justify-content:flex-start;gap:24px}
.statistics-dialog .modal-match-teams .team-identity{font-size:25px;display:flex;flex-direction:row;align-items:center;gap:12px;width:auto;max-width:40%;text-align:left}
.statistics-dialog .modal-match-teams .team-crest{width:48px;height:48px;flex-basis:48px;flex-shrink:0}
.statistics-dialog .versus{font-size:34px;white-space:nowrap}
.match-view-tabs{border-bottom:1px solid var(--line);padding-bottom:12px}
#statistics-status{font-size:12px;color:var(--muted);min-height:22px;margin-bottom:10px}
.stat-quarters{display:flex;gap:8px;margin:0 0 20px;flex-wrap:wrap}
.stat-quarters>div{background:#f1f3f7;padding:9px 20px;display:flex;gap:18px;align-items:center;border-radius:3px;font-size:13px}
.stat-quarters span{font-size:11px;color:var(--muted)}
.stat-quarters strong{font-variant-numeric:tabular-nums}
.stat-team-tabs{display:flex;border-bottom:3px solid var(--stats-accent);gap:3px}
.stat-team-tabs button{border:0;padding:13px 18px;background:#eef1f6;color:var(--ink);font-weight:600;font-size:14px;flex:1;text-align:left;display:flex;justify-content:space-between;align-items:center;gap:10px}
.stat-team-tabs button.selected{background:var(--navy,#101f47);color:white}
.stat-team-tabs strong{font-size:20px;font-variant-numeric:tabular-nums}
.stat-table-scroll{overflow:auto;overscroll-behavior-inline:contain;border:1px solid #e1e5ed;border-top:0}
.stat-table{table-layout:fixed;border-collapse:collapse;width:100%;min-width:930px;font-size:12px;font-variant-numeric:tabular-nums}
.stat-table th,.stat-table td{padding:11px 8px;border-bottom:1px solid #e8ebf0;text-align:center;white-space:nowrap}
.stat-table th{font-weight:600}.stat-table thead{background:#f0f3f8;color:#59657c;font-size:10px}
.stat-table abbr{text-decoration:none;cursor:help}
.stat-table .stat-player{position:sticky;left:0;background:white;text-align:left;z-index:1;min-width:210px;width:210px}
.stat-player-name{display:inline-block;white-space:normal;vertical-align:middle;max-width:calc(100% - 25px);line-height:1.35}
.stat-table thead .stat-player{background:#f0f3f8}.stat-table tbody tr:nth-child(even),.stat-table tbody tr:nth-child(even) .stat-player{background:#f8f9fb}
.stat-shirt{display:inline-block;width:25px;color:#7d8798;font-size:11px;font-weight:400}
.stat-starter{color:var(--stats-accent);margin-left:3px}.stat-points{font-weight:800;color:var(--navy,#101f47)}
.stat-table tfoot,.stat-table tfoot .stat-player{background:#e9eef6;font-weight:800}
.modal-inner .stat-legend{font-size:11px;line-height:1.6;margin:12px 0;color:#68758a}
.statistics-source{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;font-size:11px;color:#68758a;margin-top:18px}
.statistics-source a{color:var(--ink);font-weight:600}
.stat-comparison{max-width:850px;margin:0 auto}
.stat-comparison-teams{display:grid;grid-template-columns:1fr auto 1fr;gap:16px;align-items:center;background:#f0f3f8;padding:18px;font-size:14px}
.stat-comparison-teams>span{font-size:9px;letter-spacing:1px;color:#6b778b}.stat-comparison-teams>strong:last-child{text-align:right}
.stat-comparison-row{padding:17px 18px;border-bottom:1px solid #e3e7ee}
.stat-comparison-row>div:first-child,.stat-comparison-row>small{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:10px}
.stat-comparison-row b{font-size:19px;font-variant-numeric:tabular-nums}.stat-comparison-row b:last-child,.stat-comparison-row small>span:last-child{text-align:right}
.stat-comparison-row>div>span{font-size:12px;color:#5d6b83}
.stat-comparison-bars{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:9px 0 6px}
.stat-comparison-bars>span{display:block;height:6px;background:#edf0f5;border-radius:3px;overflow:hidden}.stat-comparison-bars i{display:block;background:var(--navy,#101f47);height:100%}.stat-comparison-bars>span:first-child i{margin-left:auto}.stat-comparison-bars>span:last-child i{background:var(--stats-accent)}
.stat-comparison-row small{font-size:10px;color:#748197}
.stat-play-heading{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:14px 0}.stat-play-heading h3{font:600 25px var(--display);margin:0}.stat-play-heading>span{font-size:11px;color:#748197}
.stat-play-list{list-style:none;margin:0;padding:0;border:1px solid #e1e5ed}
.stat-play-action{display:grid;grid-template-columns:85px 78px 1fr;gap:16px;padding:14px 18px;border-bottom:1px solid #e1e5ed;border-left:3px solid transparent;align-items:center}.stat-play-action:last-child{border-bottom:0}.stat-play-action.home{border-left-color:var(--navy,#101f47)}.stat-play-action.away{border-left-color:var(--stats-accent)}.stat-play-action:nth-child(even){background:#f7f9fc}
.stat-play-clock{display:flex;flex-direction:column;gap:5px}.stat-play-clock b{font-size:12px}.stat-play-clock span{font-size:11px;color:#748197}.stat-play-score{font:600 23px var(--display);font-variant-numeric:tabular-nums;white-space:nowrap}
.stat-play-description>span{font-size:9px;text-transform:uppercase;letter-spacing:.5px;color:#748197;display:block;margin-bottom:4px}.stat-play-description>strong{font-size:12px}.modal-inner .stat-play-description>p{font-size:12px;line-height:1.4;margin:4px 0 0;color:var(--ink)}
.stat-more-actions{margin:18px 0}.stat-more-actions span{font-size:11px;margin-left:8px;color:#748197}
.statistics-empty{padding:42px 24px;background:#f3f5f8;text-align:center}
.statistics-empty>span{font-size:34px;color:#98a3b5}.statistics-empty h3{font:600 28px var(--display);margin:12px 0 5px}
.statistics-empty .outline-button{margin-top:12px}
@media(max-width:640px){dialog.statistics-dialog{width:calc(100% - 16px);max-height:94vh}.statistics-dialog .modal-inner{padding:25px 15px}.statistics-dialog .modal-inner h2{font-size:24px}.statistics-dialog .modal-match-teams{gap:10px}.statistics-dialog .modal-match-teams .team-identity{font-size:17px;gap:6px;flex:1;min-width:0}.statistics-dialog .modal-match-teams .team-crest{width:32px;height:32px;flex-basis:32px}.statistics-dialog .versus{font-size:26px}.stat-quarters{gap:5px;margin-bottom:14px}.stat-quarters>div{padding:7px 10px;gap:8px;font-size:12px}.stat-team-tabs button{font-size:11px;padding:10px}.stat-table .stat-player{min-width:155px;width:155px}.stat-table th,.stat-table td{padding:10px 6px}.statistics-source{font-size:10px}.statistics-empty{padding:28px 16px}.statistics-empty h3{font-size:24px}.stat-comparison-teams{padding:12px;font-size:11px;grid-template-columns:1fr 1fr}.stat-comparison-teams>span{display:none}.stat-comparison-row{padding:14px 10px}.stat-play-action{grid-template-columns:57px 48px 1fr;gap:10px;padding:12px 8px}.stat-play-score{font-size:19px}.stat-play-clock span{font-size:10px}.stat-feed-tabs button{padding:9px 10px;font-size:11px}}

.modal-inner .stat-table-hint{display:none}
@media(max-width:640px){.modal-inner .stat-table-hint{display:block;font-size:10px;color:#748197;margin:10px 0}}
/* Shared statistics inside the dedicated match route. */
.match-page{--stats-accent:var(--aba,#f47721)}
.match-page[data-competition="KLS"],.match-page[data-stats-provider="KSS"]{--stats-accent:var(--kls,#d82335)}
.match-page[data-competition="JLS"],.match-page[data-stats-provider="DScore"]{--stats-accent:var(--jls,#0077b5)}
.match-page #statistics-status{font-size:11px;line-height:1.5;min-height:17px;margin-bottom:14px}
.match-page .stat-feed-tabs{display:flex;gap:5px;margin-bottom:18px;min-width:0}
.match-page .stat-feed-tabs button{min-height:44px;padding:10px 17px;border-radius:6px;font-size:12px;white-space:nowrap}
.match-page .stat-team-tabs button{min-height:50px;min-width:0;overflow-wrap:anywhere;line-height:1.35}
.match-page .stat-team-tabs strong{flex-shrink:0}
.match-page .stat-quarters{margin-bottom:18px;gap:6px}
.match-page .stat-quarters>div{padding:8px 13px;gap:12px}
.match-page .stat-table-scroll{max-width:100%;min-width:0;overflow-x:auto;scrollbar-width:thin;scrollbar-color:#9cacc6 #edf1f7;scroll-padding-left:210px;-webkit-overflow-scrolling:touch}
.match-page .stat-table .stat-player{box-shadow:2px 0 0 #e1e5ed}
.match-page .stat-table th,.match-page .stat-table td{height:45px}
.match-page .stat-table-hint{display:none}
.match-page .stat-legend{font-size:11px;line-height:1.65;margin:12px 0;color:#68758a}
.match-page .stat-play-description>p{font-size:12px;line-height:1.45;margin:4px 0 0;color:var(--ink)}
.match-page .stat-play-description{min-width:0;overflow-wrap:anywhere}
.match-page .stat-more-actions{min-height:44px}
.match-page .statistics-source{line-height:1.5;align-items:center}
.match-page .statistics-source a{display:inline-flex;align-items:center;min-height:44px}
.match-page .statistics-empty p{font-size:13px;line-height:1.6;margin-top:8px;color:var(--muted)}
.match-page .statistics-empty .outline-button{min-height:44px}
@media(max-width:640px){
  .match-page #statistics-status{font-size:10px;margin-bottom:10px}
  .match-page .stat-feed-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;margin-bottom:14px}
  .match-page .stat-feed-tabs button{min-width:0;padding:10px 5px;font-size:11px;white-space:normal;line-height:1.25}
  .match-page .stat-team-tabs{gap:3px}
  .match-page .stat-team-tabs button{padding:10px;font-size:12px;gap:7px;min-height:52px}
  .match-page .stat-team-tabs strong{font-size:21px}
  .match-page .stat-quarters{gap:4px;margin-bottom:14px}
  .match-page .stat-quarters>div{flex:1 0 auto;justify-content:center;padding:7px 8px;gap:6px;font-size:12px}
  .match-page .stat-quarters span{font-size:10px}
  .match-page .stat-table-scroll{scroll-padding-left:126px}
  .match-page .stat-table{width:854px;min-width:854px;font-size:12px}
  .match-page .stat-table .stat-player{width:126px;min-width:126px;padding-left:8px;padding-right:8px}
  .match-page .stat-table th,.match-page .stat-table td{padding:10px 6px;height:48px}
  .match-page .stat-player-name{max-width:calc(100% - 20px);line-height:1.35}
  .match-page .stat-shirt{width:20px;font-size:10px}
  .match-page .stat-table-hint{display:block;font-size:10px;line-height:1.4;color:#68758a;margin:8px 0}
  .match-page .stat-legend{font-size:10px;line-height:1.6}
  .match-page .stat-comparison-row>div>span{font-size:11px}
  .match-page .stat-play-heading{align-items:flex-start}
  .match-page .stat-play-heading>span{font-size:10px}
  .match-page .stat-play-action{grid-template-columns:48px 48px minmax(0,1fr);gap:8px;padding:12px 7px}
  .match-page .statistics-source{font-size:10px}
}
