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

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

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

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

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

.spr-rounds-list .spr-table-responsive {
  overflow-x: auto;
  background:
      /* Shadow covers */
    linear-gradient(to right, white 30%, rgba(255, 255, 255, 0)),
    linear-gradient(to left, white 30%, rgba(255, 255, 255, 0)) 100% 0,
    /* Shadows */ radial-gradient(farthest-side at 0 50%, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0)),
    radial-gradient(farthest-side at 100% 50%, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0)) 100% 0;
  background-color: white;
  background-repeat: no-repeat;

  /* Opera doesn't support this in the shorthand */
  background-attachment: local, local, scroll, scroll;
  background-size:
    40px 100%,
    40px 100%,
    14px 100%,
    14px 100%;

  @media (min-width: 992px) {
    overflow: unset;
  }
}

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

.spr-rounds-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-rounds-list__content table {
  width: 100%;
  border-spacing: 0;
  border-collapse: collapse;
}

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

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

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

.spr-rounds-list__content .spr-rounds-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-rounds-list__content .spr-rounds-list__label-one {
  width: 1.5rem;

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

.spr-rounds-list__content .spr-rounds-list__label-one ~ [class^="spr-rounds-list__label-"] {
  width: 1.5rem;

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

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

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