.player-stats-chart {
  min-width: 0;
  scroll-margin-top: 16px;
}

.player-stats-panel {
  min-width: 0;
}

.player-stats-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px 0;
  color: #60736b;
  font-size: 11px;
}

.player-stats-meta strong {
  display: inline-block;
  padding: 3px 7px;
  border-radius: 5px;
  background: #edf4e7;
  color: #326b24;
  font-size: 10px;
}

.player-stats-table-wrap {
  margin-top: 12px;
}

.player-stats-table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}

.player-stats-table th,
.player-stats-table td {
  padding: 6px 3px;
  border-bottom: 1px solid #e2e9e6;
  text-align: center;
  overflow-wrap: anywhere;
}

.player-stats-table thead th {
  padding-block: 10px;
  background: #f4f8f6;
  color: #60736b;
  font-size: 9px;
  letter-spacing: .04em;
  text-transform: uppercase;
  font-weight: 800;
}

.player-stats-table tbody th {
  font-size: 12px;
  font-weight: 800;
}

.player-stats-table th:nth-child(2) {
  text-align: left;
}

.player-stats-table tbody tr:nth-child(even) {
  background: #f8faf9;
}

.player-stats-table tbody tr:last-child > * {
  border-bottom: 0;
}

.player-stats-rank {
  display: inline-grid;
  place-items: center;
  width: 25px;
  height: 25px;
  color: #61766d;
  font-size: 11px;
  font-weight: 800;
}

.player-stats-leader {
  border-radius: 50%;
  background: #fff1c9;
  color: #825500;
  box-shadow: inset 0 0 0 1px #e6c77e;
}

.player-stats-percentage {
  color: #07596d;
  font-weight: 900;
}

.player-stats-unranked {
  background: #edf2ef;
}

.stats-col-rank { width: 9%; }
.stats-col-name { width: 25%; }
.stats-col-percent { width: 17%; }
.stats-col-team { width: 10%; }
.stats-col-wins { width: 11%; }
.stats-col-losses { width: 12%; }
.stats-col-weeks { width: 16%; }

@media (max-width: 480px) {
  .player-stats-table {
    font-size: 11px;
  }

  .player-stats-table tbody th {
    font-size: 11px;
  }

  .player-stats-table thead th {
    font-size: 8px;
    letter-spacing: 0;
  }

  .player-stats-table th,
  .player-stats-table td {
    padding-inline: 2px;
  }

  .player-stats-rank {
    width: 21px;
    height: 23px;
    font-size: 10px;
  }
}

.player-stats-chart .conference-heading {
  grid-template-columns: 56px minmax(0, 1fr) auto;
}

.player-stats-chart .conference-heading.conference-heading-with-logo {
  grid-template-columns: 56px minmax(0, 1fr) minmax(70px, 26%);
}

.player-stats-league-logo {
  display: block;
  width: 56px;
  height: 42px;
  object-fit: contain;
  border-radius: 6px;
  background: #fff;
}

.player-stats-table .player-stats-name {
  display: block;
  width: 100%;
  min-height: 25px;
  padding: 1px 0;
  color: #10251d;
  font: inherit;
  font-weight: 800;
  white-space: normal;
  overflow-wrap: anywhere;
  text-align: left;
}

.player-stats-table .player-stats-name:hover {
  color: #087f98;
}

.player-stats-table .player-stats-name:focus-visible {
  outline: 2px solid #087f98;
  outline-offset: 2px;
  border-radius: 3px;
}
