body {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  height: 100vh;

  user-select: none;
  touch-action: none;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  outline: none;
  -webkit-tap-highlight-color: rgba(255, 255, 255, 0);

  background: linear-gradient(180deg, #0B0B3E 0%, #31201D 65.38%);
}
html, body {
  overflow: hidden;
}
canvas {
  border: none;
  /* border: 1px solid #000; */
}
small {
  font-size: 80%;
}

body .fancybox__backdrop {
  background-color: rgba(12, 16, 21, .4);
}

body .fancybox__content {
  border-radius: 10px;
  background: rgba(171, 171, 171, 0.10);
  backdrop-filter: blur(15px);
  padding: 24px;
  width: 100%;
  max-width: 390px;
}

.header__soundswitcher {
  height: 18px;
  margin-right: 7px;
  position: relative;
  width: 18px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.10);
  padding: 6px;
  border: none;
  cursor: pointer;
}

.header__soundswitcher input {
  clip: rect(0 0 0 0);
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  height: 1px;
  margin: 0;
  overflow: hidden;
  position: absolute;
  width: 1px;
}

.header__soundswitcher-on {
  opacity: 0;
}
.header__soundswitcher-off {
  opacity: 1;
}

.header__soundswitcher.active .header__soundswitcher-on {
  opacity: 1;
}
.header__soundswitcher.active .header__soundswitcher-off {
  opacity: 0;
}

.header__soundswitcher svg {
  display: block;
  height: 18px;
  width: 18px;
  left: 6px;
  position: absolute;
  top: 6px;
  -webkit-transition: opacity .2s ease-out;
  -o-transition: opacity .2s ease-out;
  transition: opacity .2s ease-out;
}

.leaderboard {
  font-family: Inter;
  color: #FFF;
  font-size: 12px;
}

.leaderboard__title {
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  margin-bottom: 10px;
}

.leaderboard th {
  color: #6DCCE5;
  font-size: 9px;
  font-style: normal;
  font-weight: 600;
  line-height: 100%; /* 9px */
  text-transform: uppercase;
  text-align: left;
}

.leaderboard tr {
  border-bottom: 1px solid rgba(255, 255, 255, 0.20);
}

.leaderboard table span {
  display: block;
  padding: 6px 0;
}

.leaderboard table b {
  font-weight: 600;
}

table {
  width: 100%;
}

.table-vertical-scroll {
  max-height: 250px;
  overflow-y: auto;
}

/* ===== Scrollbar CSS ===== */
  /* Firefox */
  * {
    scrollbar-width: thin;
    scrollbar-color: #6DCCE5 transparent;
  }

  /* Chrome, Edge, and Safari */
  *::-webkit-scrollbar {
    width: 10px;
  }

  *::-webkit-scrollbar-track {
    background: transparent;
  }

  *::-webkit-scrollbar-thumb {
    background-color: #6DCCE5;
    border-radius: 4px;
    border: none;
  }

/* .leaderboard table .al-right {
  text-align: right;
} */

.header {
  position: absolute;
  /* width: calc(100% - 40px); */
  top: 20px;
  left: 20px;
  right: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(15px);
  padding: 10px 20px;
  z-index: 10;
}

@media (max-width: 768px) {
  .header {
    top: 10px;
    left: 10px;
    right: 10px;
    border-radius: 7px;
    padding: 7px 14px;
  }
}

.header__logo {
  max-height: 14px;
  margin-right: 20px;
}

@media (max-width: 768px) {
  .header__logo {
    max-height: 10px;
    margin-right: 10px;
  }
}

.header__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.10);
  padding: 6px;
  border: none;
  cursor: pointer;
}

.header__btn svg {
  width: 18px;
  height: 18px;
  display: block;
}

.header__user {
  display: grid;
  grid-template-columns: 30px auto;
  align-items: center;
  gap: 7px;
  margin-left: auto;
  margin-right: 20px;
}

@media (max-width: 768px) {
  .header__user {
    margin-right: 10px;
  }
}

.header__user-ava {
  width: 30px;
  height: 30px;
  border-radius: 30px;
}

.header__user-name {
  text-transform: uppercase;
  color: #70D6EE;
  font-family: "Lilita One", serif;
  font-size: 11px;
  line-height: 1;
}

.header__user-name  span {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  max-width: 170px;
  display: block;
}

@media (max-width: 768px) {
  .header__user-name  span {
    max-width: 70px;
  }
}

.login-popup {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  display: flex;
  text-align: center;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.login-popup__label {
  color: #70D6EE;
  font-family: "Lilita One", serif;
  font-weight: 400;
  font-style: normal;
  font-size: 35px;
}

@media (max-width: 768px) {
  .login-popup__label {
    font-size: 24px;
  }
}

.leaderboard__btn {
  margin-right: auto;
}
/* .header.hide, */
.login-popup.hide {
  opacity: 0;
  visibility: hidden;
  z-index: -1;
  pointer-events: none;
}

.snowfield {
  position: fixed;
  top: 0;
  left: 0;
}

.snowflake {
  position: absolute;
  color: #fff;
  line-height: 1;
  pointer-events: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.snowflake-solid {
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  border-radius: 50%;
  background: #fff;
}

.counter {
  text-align: center;
  position: absolute;
  z-index: 10;
  width: 100%;
  left: 0;  
  bottom: 30px;
  pointer-events: none;
}

.counter__title {
  color: #6DCCE5;
  font-family: Inter;
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 16px;
}

.counter__data ul {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.counter__data ul li {
  list-style: none;
  color: #6DCCE5;
  text-align: center;
  font-family: Inter;
  font-size: 12px;
  font-weight: 400;
}

.counter__data ul li span {
  display: block;
  text-shadow: 1px 1px 0px #2165A5;
  font-family: "Lilita One";
  font-size: 30px;
}

.congrats {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  color: #6DCCE5;
  font-family: Inter;
  font-size: 30px;
  opacity: 0;
  visibility: hidden;
  z-index: -1;
  pointer-events: none;
}

.congrats.show {
  display: flex;
  opacity: 1;
  visibility: visible;
  z-index: 10;
  pointer-events: all;
}

.congrats > div {
  font-size: 50px;
  text-shadow: 1px 1px 0px #2165A5;
  font-family: "Lilita One";
}