/* Keep score/time legible within the existing desktop and mobile stat grids. */
.performance-row .leader-stat { font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.public-shell .performance-row .leader-stat,
.public-shell .stat-table .performance-row .leader-stat { font-size: 21px; }
/* Desktop: every row shares the list's columns (subgrid), so each value sits under the one above it
   and a long time ("11 sa 23 dk") stays on one line. The widest value in a column sets its width. */
@media (min-width: 701px) {
  .public-shell #overview-leaders, .public-shell #statistics-list { display: grid; grid-template-columns: 24px minmax(120px, 1fr) repeat(3, minmax(76px, max-content)); column-gap: 28px; }
  .public-shell #statistics-list { grid-template-columns: 24px minmax(120px, 1fr) repeat(4, minmax(76px, max-content)); }
  .public-shell #overview-leaders > :not(.performance-row), .public-shell #statistics-list > :not(.performance-row) { grid-column: 1 / -1; }
  .public-shell .performance-row { grid-column: 1 / -1; grid-template-columns: subgrid; column-gap: inherit; }
  .public-shell .performance-row .leader-stat { white-space: nowrap; overflow-wrap: normal; text-align: right; }
  /* Browsers without subgrid keep content-sized columns per row. */
  @supports not (grid-template-columns: subgrid) {
    .public-shell .performance-row { grid-template-columns: 24px minmax(120px, 1fr); grid-auto-columns: minmax(64px, max-content); grid-auto-flow: column; column-gap: 24px; }
  }
}
.champion-stats > div { min-width: 0; }
.champion-stats strong { overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.ranking-rules { max-width: 85ch; }
.public-page .detail-stat:last-child { grid-column: 1 / -1; }
@media (max-width: 600px) {
  .public-shell .performance-row .leader-stat,
  .public-shell .stat-table .performance-row .leader-stat { font-size: 19px; }
  .performance-row .leader-stat small { font-size: 11px; }
  .champion-stats { max-width: 100%; }
  .champion-stats strong { font-size: 22px; }
}
