.leaderboard {
  margin-top: 30px;
  max-width: 490px;
  width: 100%;

  header {
    --start: 15%;

    height: 130px;
    background-image: repeating-radial-gradient(circle at var(--start),
        transparent 0%,
        transparent 10%,
        rgba(54, 89, 219, 0.33) 10%,
        rgba(54, 89, 219, 0.33) 17%),
      linear-gradient(to right, #5b7cfa, #3659db);
    color: #fff;
    position: relative;
    overflow: hidden;

    .bar-stat {
      text-align: right;
      position: absolute;
      top: 80%;
      right: calc(var(--start) * 0.1);
      transform: translateY(-50%);
      margin: 0;
    }

    .tool-stat {
      position: absolute;
      top: 82%;
      left: calc(var(--start) * 0.005);
      transform: translateY(-50%);
      margin: 0;
    }

    .leaderboard__title {
      position: absolute;
      z-index: 2;
      top: 30%;
      right: calc(var(--start) * 0.5);
      transform: translateY(-50%);
      text-transform: uppercase;
      margin: 0;

      span {
        display: block;
      }

      .top {
        font-size: 1.2rem;
        font-weight: 700;
        letter-spacing: 2.5px;
        white-space: nowrap;
      }

      .bottom {
        font-size: .9rem;
        font-weight: 500;
        letter-spacing: 2.55px;
        opacity: 0.65;
        transform: translateY(-2px);
        margin-top: 15px;
        white-space: nowrap;
      }
    }

    .leaderboard__icon {
      fill: #fff;
      opacity: 0.35;
      width: 50px;
      position: absolute;
      top: 50%;
      left: var(--start);
      transform: translate(-50%, -50%);
    }
  }
}

.widget-title {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 1px;
  white-space: nowrap;
  padding: 10px 15px 5px 10px;
  color: #1c254a;
  text-transform: capitalize;
  font-variant: small-caps;
}

.widget-title-bar {
  width: 100%;
  background-color: #C9D7FC;
  padding: 10px 15px 2px 10px;
  border-bottom: solid 1px #8092d9
}

.leaderboard__profiles {
  background-color: #fff;
  border-radius: 0 0 12px 12px;
  padding: 15px 15px 20px;
  display: grid;
  row-gap: 6px;
}

.leaderboard__profile {
  display: grid;
  grid-template-columns: 1fr 3fr 1fr;
  align-items: center;
  padding: 5px 15px 5px 5px;
  overflow: hidden;
  border-radius: 5px;
  box-shadow: 0 5px 7px -1px rgba(51, 51, 51, 0.23);
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.7, 0.98, 0.86, 0.98),
    box-shadow 0.25s cubic-bezier(0.7, 0.98, 0.86, 0.98);
  background-color: #fff;
}

.leaderboard__picture {
  max-width: 100%;
  width: 40px;
  border-radius: 50%;
  box-shadow: 0 0 0 10px #ebeef3, 0 0 0 22px #f3f4f6;
}

.leaderboard__name {
  color: #979cb0;
  /* font-weight: 600; */
  font-size: 18px;
  letter-spacing: 0.64px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  letter-spacing: 0;
  font-family: "Trebuchet MS", Tahoma, sans-serif;
}

.leaderboard__value {
  color: #35d8ac;
  font-weight: 700;
  font-size: 24px;
  text-align: right;
}

.leaderboard__value>span {
  opacity: 0.8;
  font-weight: 600;
  font-size: 13px;
  margin-left: 3px;
}