.list {
  padding: 0;
  list-style: none;
  row-gap: 2rem;
  counter-reset: toplist-counter;

  > li {
    position: relative;
    counter-increment: toplist-counter;
    display: none;

    &.show {
      display: grid;
    }

    &:before {
      position: absolute;
      content: counter(toplist-counter);
      @include flex-align(center, center);
      display: flex;
      align-items: center;
      background-color: var(--toplist-ranking-base-color);
      font-size: 1.4rem;
      font-weight: 700;
      color: #1b1b1c;
      height: 2.4rem;
      width: 2.4rem;
      border-radius: 100px;
      top: 1.2rem;
      left: 1.2rem;
      z-index: 1;
    }
  }
}

.loadMore {
  @include flex-align(center, center);
  padding-top: 2rem;

  &.hide {
    display: none;
  }

  > div {
    padding: 1rem 5rem;
  }

  @include max(tablet) {
    button:hover {
      background-color: transparent !important;
      color: #000 !important;
    }
  }
}
