.history-page-body #match-list { grid-template-columns: minmax(0, 1fr); }
.history-page-body .match-card { min-width: 0; }
.match-chart {
  margin: 22px 0 8px; padding: clamp(14px, 3vw, 23px); text-align: left;
  border: 1px solid #685b40; border-radius: 4px;
  background: linear-gradient(135deg, #15252bf2, #10191ff2); color: #e7e8de;
  font-family: 'Manrope', Arial, sans-serif;
}
.match-chart-header { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; }
.match-chart h3 { margin: 0; color: #ead4a2; font: 500 19px/1.4 'Cinzel', Georgia, serif; }
.match-chart-control { display: flex; align-items: center; gap: 10px; max-width: 100%; }
.match-chart-control label { color: #bac4c6; font-size: 12px; }
.match-chart .match-chart-metric {
  width: auto; min-width: 0; max-width: 100%; margin: 0; padding: 9px 30px 9px 12px;
  border: 1px solid #80704e; border-radius: 3px; background: #0c171e; color: #f0dfba;
  font: 600 13px/1.4 'Manrope', Arial, sans-serif; cursor: pointer; text-transform: none;
}
.match-chart-metric:focus-visible { outline: 2px solid #80c9ec; outline-offset: 3px; }
.match-chart-legend { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 17px 0 8px; font-size: 11px; }
.match-chart-legend span::before { content: ''; display: inline-block; width: 7px; height: 7px; margin-right: 7px; background: currentColor; }
.match-chart .chart-blue { color: #8bd3f5; --chart-start: #2977ab; --chart-end: #7dcdec; }
.match-chart .chart-red { color: #f3a39a; --chart-start: #ad3f43; --chart-end: #ec8277; }
.match-chart-description, .match-chart-empty { margin: 8px 0 14px; color: #aebdc2; font-size: 11px; }
.match-chart-rows { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.match-chart-row { display: grid; grid-template-columns: minmax(100px, 180px) minmax(30px, 1fr) 70px; gap: 12px; align-items: center; }
.match-chart-name { font-size: 12px; overflow-wrap: anywhere; line-height: 1.4; }
.match-chart-track { height: 13px; border-radius: 2px; background: #050e15; box-shadow: inset 0 0 0 1px #ffffff0d; overflow: hidden; }
.match-chart-fill { height: 100%; background: linear-gradient(90deg, var(--chart-start), var(--chart-end)); border-radius: 2px; }
.match-chart-value { color: #e7e8de; font-size: 12px; font-variant-numeric: tabular-nums; text-align: right; }
@media (max-width: 540px) {
  .match-chart-row { grid-template-columns: minmax(70px, 105px) minmax(20px, 1fr) 58px; gap: 8px; }
  .match-chart-name, .match-chart-value { font-size: 11px; }
  .match-chart-control { width: 100%; }
  .match-chart .match-chart-metric { flex: 1; }
}
