.spr-score-list {
  position: relative;
  padding-block: 0 var(--padding-vertical-small);

  &.spr-score-list--standalone {
    padding-block: var(--padding-vertical-small);
  }

  &.grid {
    gap: var(--space-small);
  }

  .spr-page-heading + & {
    padding-block-start: var(--padding-vertical-main);
  }
}

.spr-score-list__heading {
  grid-column: 1 / span 4;

  @media (min-width: 992px) {
    grid-column: 1 / span 12;
  }
}

.spr-score-list__heading .spr-section-heading {
  padding-block: 0;
}

.spr-score-list__content {
  grid-column: 1 / span 4;

  @media (min-width: 992px) {
    grid-column: 1 / span 12;
    padding: var(--size-2);
    border: 0.0625rem solid var(--color-gray-40);
    border-radius: var(--radius);
    box-shadow: var(--shadow-0);
  }
}

.spr-score-list__content table {
  width: 100%;
  table-layout: fixed;
  border-spacing: 0;
  border-collapse: collapse;

  @media (min-width: 992px) {
    table-layout: auto;
  }
}

.spr-score-list__content table th {
  overflow: hidden;
  text-align: left;
  text-transform: uppercase;
  text-overflow: ellipsis;
  font-size: 0.875rem;
  line-height: 1.5rem;
  padding-block: var(--space-xx-small);
  padding-inline: var(--space-x-small);
}

.spr-score-list__content .spr-score-list__label-rank {
  width: calc(40 / 400 * 100%);

  @media (min-width: 992px) {
    width: calc(40 / 1280 * 100%);
  }
}

.spr-score-list__content .spr-score-list__label-player {
  width: calc(140 / 400 * 100%);
  border-right: 0.0625rem solid var(--color-gray-40);

  @media (min-width: 992px) {
    width: calc(316 / 1280 * 100%);
  }
}

.spr-score-list__content .spr-score-list__label-score {
  width: calc(70 / 400 * 100%);

  @media (min-width: 992px) {
    width: calc(318 / 1280 * 100%);
  }
}

.spr-score-list__content .spr-score-list__label-rating {
  width: calc(68 / 400 * 100%);

  @media (min-width: 992px) {
    width: calc(306 / 1280 * 100%);
  }
}

.spr-score-list__content .spr-score-list__label-sb {
  width: calc(46 / 400 * 100%);

  @media (min-width: 992px) {
    width: calc(194 / 1280 * 100%);
  }
}

.spr-score-list__content .spr-score-list__label-tiebreak {
  width: calc(36 / 400 * 100%);

  @media (min-width: 992px) {
    width: calc(106 / 1280 * 100%);
  }
}

.spr-score-list__content table td {
  text-align: left;
  font-size: 0.875rem;

  @media (min-width: 992px) {
    font-size: 1rem;
  }
}

.spr-score-list__content table td.spr-score__tiebreak {
  text-align: center;
}
