/* Hide native scrollbars (Windows arrow buttons cannot be styled reliably) */
html {
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}

html::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  background: transparent !important;
}

body {
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}

body::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

/* Custom overlay track + thumb (rendered by CustomScrollbar.tsx) */
.pb-scroll-track {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 99999;
  width: 6px;
  height: 100%;
  background: #f1edea;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.pb-scroll-track.is-visible {
  opacity: 1;
}

.pb-scroll-thumb {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  min-height: 32px;
  border-radius: 999px;
  background: #9a958d;
  transition: background 0.2s ease;
}

.pb-scroll-track.is-visible:hover .pb-scroll-thumb {
  background: #7f7a73;
}

@media (prefers-reduced-motion: reduce) {
  .pb-scroll-track,
  .pb-scroll-thumb {
    transition: none;
  }
}
