.thead-rank,
.tbody-rank {
  width: 50px;
}

.thead-rank-move,
.tbody-rank-move {
  width: 10px;
}

.header-ldb {
  gap: 5px;
  font-size: 12pt;
}
.rank-green {
  font-size: 8pt;
  color: rgb(18, 243, 18) !important;
}
.rank-silver {
  font-size: 8pt;
  color: silver !important;
}
.rank-red {
  font-size: 8pt;
  color: red !important;
}
.username,
.hidden-username {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 500;
  font-size: var(--font-size);
  line-height: 130%;
  leading-trim: both;
  text-edge: cap;
  letter-spacing: 0.6px;
  color: #f2d6ae !important;
}

.leaderboard-table thead th {
  font-weight: 400;
  letter-spacing: 0.3px;
  background: transparent;
  font-size: 11pt;
  border: none;
  color: #c08e46 !important;
}

.top1 {
  background-image: url("../img/first-bg.png");
  background-size: cover;
}

.top2 {
  background-image: url("../img/second-bg.png");
  background-size: cover;
}

.top3 {
  background-image: url("../img/third-bg.png");
  background-size: cover;
}

.top1style {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 600;
  font-size: var(--font-size);
  line-height: 130%;
  leading-trim: both;
  text-edge: cap;
  letter-spacing: 0.6px;
  background: linear-gradient(
    180.33deg,
    #e7d1a8 39.21%,
    rgba(214, 182, 121, 0.82) 91.69%,
    rgba(195, 160, 94, 0.66) 136.61%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
}

.top2style {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 600;
  font-size: var(--font-size);
  line-height: 130%;
  leading-trim: both;
  text-edge: cap;
  letter-spacing: 0.6px;
  background: linear-gradient(
    180.33deg,
    #b7b7b7 39.21%,
    rgba(136, 136, 136, 0.82) 91.69%,
    rgba(136, 136, 136, 0.66) 136.61%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
}

.top3style {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 600;
  font-size: var(--font-size);
  line-height: 130%;
  leading-trim: both;
  text-edge: cap;
  letter-spacing: 0.6px;
  background: linear-gradient(
    180.33deg,
    #a2967e 39.21%,
    rgba(131, 117, 106, 0.82) 91.69%,
    rgba(251, 222, 203, 0.66) 136.61%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
}

.leaderboard-table tbody tr:nth-child(n + 4):nth-child(even) {
  background-image: url("../img/genap.png");
  background-size: cover;
  color: #fff;
}

.leaderboard-table tbody tr:nth-child(n + 4):nth-child(odd) {
  background-image: url("../img/ganjil.png");
  background-size: cover;
  color: #fff;
}

.leaderboard-table tbody .myLeaderboard {
  animation: innerGlowing 1.5s infinite alternate;
  box-shadow: inset 0 0 8px rgba(255, 215, 0, 0.8),
    inset 0 0 16px rgba(255, 215, 0, 0.6);
}

@keyframes innerGlowing {
  0% {
    box-shadow: inset 0 0 4px rgba(255, 215, 0, 0.6);
  }
  50% {
    box-shadow: inset 0 0 12px rgba(255, 215, 0, 0.8);
  }
  100% {
    box-shadow: inset 0 0 4px rgba(255, 215, 0, 0.6);
  }
}


.leaderboard-table th,
.leaderboard-table td {
  padding: 1rem;
  max-width: 100%;
  text-align: end;
  border: none;
  color: white;
}
.leaderboard-table td {
  font-weight: 600;
  background-color: transparent;
}
.turnover,
.prize {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 400;
  font-size: var(--font-size);
  line-height: 130%;
  leading-trim: both;
  text-edge: cap;
  letter-spacing: 1px;
  background: linear-gradient(90deg, #f3ce68 0%, #c97e47 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
}

@media (max-width: 768px) {
  .leaderboard-table thead th {
    font-size: 8pt;
  }
  .rank-green,
  .rank-silver,
  .rank-red {
    font-size: 6pt;
  }
  .table-leaderboard .leaderboard-placement,
  .table-leaderboard .hidden-username,
  .table-leaderboard .turnover,
  .table-leaderboard .prize {
    font-size: 6pt !important;
  }

  .table-leaderboard .leaderboard-table th,
  .table-leaderboard .leaderboard-table td {
    padding: 0.5rem 4px;
    vertical-align: middle !important;
  }
  .btn-tier {
    font-size: 8pt;
    display: flex;
    gap: 3px;
    text-align: center;
    justify-content: center;
  }
  .btn-tier img {
    width: 12px;
  }
}
@media (max-width: 420px) {
  .btn-tier {
    font-size: 6pt;
    padding: 10px 5px;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    border-radius: 2px;
    width: 70px;
    justify-content: center;
  }
  .btn-tier img {
    width: 10px;
  }
}
@media (min-width: 768px) {
  .btn-tier {
    width: 120px;
  }
}
