html {
  scrollbar-gutter: stable;
}

*::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

*::-webkit-scrollbar-track {
  background: #0a1416;
  border-left: 1px solid rgb(255 255 255 / 0.05);
}

*::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #375653, #27403f);
  border: 3px solid transparent;
  border-radius: 999px;
  background-clip: padding-box;
}

*::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #5fe6d4, #2ed9c3);
  background-clip: padding-box;
}

*::-webkit-scrollbar-thumb:active {
  background: #2ed9c3;
  background-clip: padding-box;
}

*::-webkit-scrollbar-corner {
  background: #0a1416;
}

.scroll-area::-webkit-scrollbar {
  width: 9px;
  height: 9px;
}

.scroll-area::-webkit-scrollbar-track {
  background: transparent;
  border: 0;
}

.scroll-area::-webkit-scrollbar-thumb {
  border-width: 2px;
}

.no-scrollbar::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

.no-scrollbar {
  -ms-overflow-style: none;
}

@supports not selector(::-webkit-scrollbar) {
  html {
    scrollbar-width: thin;
    scrollbar-color: #375653 #0a1416;
  }

  .scroll-area {
    scrollbar-width: thin;
    scrollbar-color: #375653 transparent;
  }

  .no-scrollbar {
    scrollbar-width: none;
  }
}

@media (pointer: coarse) {
  html {
    scrollbar-gutter: auto;
  }

  *::-webkit-scrollbar {
    width: 0;
    height: 0;
  }
}
