html,
body {
  font-family: "Nunito", sans-serif;
  margin: 0;
  position: relative;
  z-index: 99;
  scroll-behavior: smooth;
  color: var(--text-primary);
}

.back-to-top {
  transition: all 0.3s ease;
}

.back-to-top:hover {
  transform: translateY(-5px);
}

body::-webkit-scrollbar {
  display: none;
}

#copy-message {
  position: fixed;
  z-index: 999;
  bottom: 30%;
  width: 60px;
  height: 28px;
  left: 50%;
  transform: translate(-50%, 0);
  background: var(--bg-white);
  border: 1px solid var(--bg-color-3);
  color: var(--text-primary);
  font-size: 12px;
  text-align: center;
  line-height: 28px;
  border-radius: 20px;
}


/* Custom scrollbar styling matches modern platforms */
::-webkit-scrollbar {
  background: var(--bg-scroll);
  border-radius: 9999px;
  height: 6px;
  width: 6px;
}

::-webkit-scrollbar-thumb {
  background: var(--color-tertiary);
  border-radius: 9999px;
}

header ::-webkit-scrollbar {
  height: 3px;
}

@media (max-width:768px) {}

.star i.full {
  color: var(--color-star);
}

.star i {
  color: var(--color-star-empty);
}

.star i.partial {
  background: linear-gradient(to right, var(--color-star) var(--percent, 0%), var(--color-star-empty) var(--percent, 0%));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.num {
  counter-reset: mvp-trend;
}

.num a {
  counter-increment: mvp-trend;
}

.num a .number::after {
  content: '0' counter(mvp-trend);
}

.topgame a:nth-child(2) .rank-1,
.topgame a:nth-child(3) .rank-1,
.topgame a:nth-child(5) .rank-1 {
  display: none;
}

@media (max-width:768px) {

  .topgame a:nth-child(3) .playbtn,
  .topgame a:nth-child(4) .playbtn,
  .topgame a:nth-child(5) .playbtn {
    display: none;
  }
}

.pt {
  max-width: 1200px
}

.pt h1 {
  font-size: 30px !important;
}

.pt h2,
.pt h3,
.pt h4,
.pt h3 {
  font-size: 16px;
  line-height: 22px;
}

.pt h1,
.pt h2,
.pt h3,
.pt h4,
.pt p,
.pt li {
  font-size: 16px;
  line-height: 22px;
  padding: 0 0 10px 0;
}

.pt img {
  width: 100%;
}

.pt a {
  word-break: break-all;
  color: #65a1ff;
}

.pt ul {
  list-style: disc;
  margin: 0 0 0 30px;
  padding: 0;
}

.pt table{
  margin-bottom:10px
}

.pt table,
.pt th,
.pt td {
  border: 1px solid;
  border-collapse: collapse;
}

.pt th,
.pt td {
  padding: 8px;
  text-align: center;
}