.leaderboard {
  width: 100%;
  padding: 32px;
  border-radius: 16px;
  background: #21296b;
  color: #fff;
}
.leaderboard__heading {
  margin: 0 0 20px !important;
  font-family: Antonio, sans-serif;
  font-size: 22px;
  font-weight: 700;
  line-height: 126%;
  text-transform: uppercase;
}
.leaderboard__table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}
.leaderboard__table th,
.leaderboard__table td {
  padding: 14px 8px;
  text-align: left;
  font-family: Palanquin, sans-serif;
  font-size: 15px;
  letter-spacing: 0.5px;
  vertical-align: middle;
}
.leaderboard__table th {
  color: #939bdf;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.leaderboard__table td {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.leaderboard__table th:first-child,
.leaderboard__table td:first-child {
  width: 90px;
}
.leaderboard__table th:last-child,
.leaderboard__table td:last-child {
  width: 80px;
  text-align: right;
}
.leaderboard__row:last-child td {
  border-bottom: none;
}
.leaderboard__table.is-paginated tbody tr[data-page]:not(.is-active-page) {
  display: none;
}
.leaderboard__row.is-leading {
  background: rgba(255, 186, 0, 0.12);
}
.leaderboard__row.is-leading td:first-child {
  border-top-left-radius: 8px;
  border-bottom-left-radius: 8px;
}
.leaderboard__row.is-leading td:last-child {
  border-top-right-radius: 8px;
  border-bottom-right-radius: 8px;
}
.leaderboard__rank-inner {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  white-space: nowrap;
}
.leaderboard__name-inner {
  display: flex;
  align-items: center;
  gap: 10px;
}
.leaderboard__avatar {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  -o-object-fit: cover;
     object-fit: cover;
}
.leaderboard__badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  background: #ffba00;
  color: #221e1f;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.leaderboard__score {
  font-weight: 700;
  white-space: nowrap;
}
.leaderboard__pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
  font-family: Palanquin, sans-serif;
}
.leaderboard__page-link {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border: none;
  border-radius: 75px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease-in-out;
}
.leaderboard__page-link:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.18);
}
.leaderboard__page-link:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}
.leaderboard__page-link:disabled {
  opacity: 0.4;
  cursor: default;
}
.leaderboard__page-status {
  color: #939bdf;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
}
.leaderboard__cta {
  display: inline-flex;
  margin-top: 24px;
  padding: 12px 24px;
  border-radius: 75px;
  background: #ffba00;
  color: #221e1f;
  font-family: Palanquin, sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 1px;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
}
.leaderboard__cta:hover {
  background: #340fa0;
  color: #fff;
}
.leaderboard__cta:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}
