*,
*::before,
*::after {
  box-sizing: border-box;
}

.smooth-scroll-shell {
  display: flex;
  flex-direction: column;
  height: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 12px 16px 16px;
}

.vb {
  position: relative;
  flex: 1;
  min-height: 0;
  border-radius: 12px;
  border: 1px solid #2a2f36;
  background: #161a1f;
  overflow: hidden;
}

.vb.is-native {
  overflow-y: auto;
}

.vb:not(.is-native) .vb-content {
  scrollbar-width: none;
}

.vb:not(.is-native) .vb-content:not(.vb-content--scrollbar-gutter) {
  overflow-y: scroll;
}

.vb:not(.is-native) .vb-content::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.vb.vb-visible {
  display: flex;
  flex-direction: column;
}

.smooth-scroll-shell > .vb.vb-visible > .vb-content {
  flex: 1;
  min-height: 0;
  height: 100%;
  will-change: scroll-position;
}

.custom-scrollbar {
  position: absolute;
  top: 8px;
  right: 8px;
  bottom: 8px;
  width: 10px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s ease;
  z-index: 5;
  background: transparent;
}

.vb.is-smooth-active .custom-scrollbar {
  opacity: 1;
}

.custom-scrollbar__track {
  position: relative;
  height: 100%;
  width: 100%;
  background: transparent;
  border-radius: 0;
}

.custom-scrollbar__thumb {
  position: absolute;
  left: 1px;
  right: 1px;
  top: 0;
  min-height: 32px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.35);
  transform: translateY(0);
  will-change: transform;
  pointer-events: auto;
  cursor: grab;
  box-sizing: border-box;
}

.custom-scrollbar__thumb.is-dragging {
  cursor: grabbing;
}

@media (max-width: 640px) {
  .custom-scrollbar {
    right: 4px;
  }
}
html,
body {
  height: 100%;
}

body {
  margin: 0;
}