/* Long player names stay on one line and stop at their column boundary. */
#pv-standings .list .item > div:nth-child(2),
#mv-step3 .grid-standings > div:nth-child(2),
#sp-standings .item.grid-standings > div:nth-child(2),
.open-standing-player-name,
#pv-standings .standings-player-link {
  min-width: 0;
  max-width: 100%;
  white-space: nowrap !important;
  overflow: hidden;
  text-overflow: clip;
}

#pv-standings .standings-player-link {
  display: flex;
  align-items: center;
  gap: 4px;
  width: 100%;
}

#pv-standings .standings-player-name {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: clip;
}

/* The self marker stays at the name column's right edge, just before O. */
#pv-standings .standings-self-star {
  flex: 0 0 auto;
  margin-left: auto;
  padding-right: 4px;
}

/* Leave room between the rank and the clipped player name. */
#pv-standings .standings-head.is-league > div:nth-child(2),
#pv-standings .list .item.is-league > div:nth-child(2),
#mv-step3 .grid-standings.is-league > div:nth-child(2),
.table-head.grid-standings.is-league > div:nth-child(2),
#sp-standings .item.is-league > div:nth-child(2) {
  box-sizing: border-box;
  padding-left: 6px !important;
  transform: none !important;
}

/* Averaj is column seven in league standings. */
#pv-standings .is-league > div:nth-child(7),
#pv-standings .is-league > div:nth-child(7) .num,
#mv-step3 .grid-standings.is-league > div:nth-child(7),
#mv-step3 .grid-standings.is-league > div:nth-child(7) .pill-score,
.grid-standings.is-league > #sp-standings-col-average,
#sp-standings .item.is-league > div:nth-child(7) {
  font-size: 12px !important;
}

/* Header and data rows use identical horizontal geometry. */
#pv-standings .standings-head.is-league,
#pv-standings .list .item.is-league,
#mv-step3 .grid-standings.is-league,
.table-head.grid-standings.is-league,
#sp-standings .item.grid-standings.is-league {
  box-sizing: border-box;
  column-gap: 0 !important;
  padding-left: 6px !important;
  padding-right: 6px !important;
  border-left-width: 0 !important;
  border-right-width: 0 !important;
}

/* Fill each numeric track instead of centering a narrower pill inside it. */
#pv-standings .is-league > div:nth-child(n+3),
#mv-step3 .grid-standings.is-league > div:nth-child(n+3),
.table-head.grid-standings.is-league > div:nth-child(n+3),
#sp-standings .item.is-league > div:nth-child(n+3),
#mv-step3 .grid-standings.is-league > div:nth-child(n+3) > .pill-score {
  box-sizing: border-box;
  justify-self: stretch !important;
  width: 100% !important;
  min-width: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  text-align: center;
}

/* Keep the original rounded pill appearance within the aligned tracks. */
#pv-standings .item.is-league > .pill-cell,
#mv-step3 .item.is-league .pill-score,
#sp-standings .item.is-league > .pill-score {
  border-radius: 999px;
}
