/* v11.5 — make the whole left panel the scroll target, not only its links. */
.fansflex-app .side-menu {
  overflow-x: hidden !important;
  overflow-y: auto !important;
  overscroll-behavior-y: contain;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  scrollbar-color: rgba(190, 216, 236, .58) rgba(3, 17, 29, .18);
  -webkit-overflow-scrolling: touch;
}

@supports (height: 100dvh) {
  .fansflex-app .side-menu {
    height: calc(100dvh - 1.5rem) !important;
    max-height: calc(100dvh - 1.5rem) !important;
  }
}

.fansflex-app .side-menu-primary-nav {
  flex: 0 0 auto !important;
  min-height: auto !important;
  overflow: visible !important;
  overscroll-behavior: auto !important;
  scrollbar-gutter: auto !important;
  scrollbar-width: auto;
}

.fansflex-app .side-menu-primary-nav::-webkit-scrollbar {
  display: none;
}

.fansflex-app .side-menu::-webkit-scrollbar {
  width: 7px;
}

.fansflex-app .side-menu::-webkit-scrollbar-track {
  border-radius: 999px;
  background: rgba(3, 17, 29, .18);
}

.fansflex-app .side-menu::-webkit-scrollbar-thumb {
  border: 1px solid rgba(220, 236, 248, .12);
  border-radius: 999px;
  background: rgba(190, 216, 236, .48);
}
