/* Global macOS-style scrollbars — overlay / invisible until needed.
   Keeps scroll working; kills ugly always-on gutter bars. */
* {
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* legacy Edge */
}
*::-webkit-scrollbar {
  width: 0 !important;
  height: 0 !important;
  display: none !important;
  background: transparent !important;
}

/* Optional: ultra-thin overlay when html.gg-scrollbars-always */
html.gg-scrollbars-always * {
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 0, 0, 0.28) transparent;
}
html.gg-scrollbars-always *::-webkit-scrollbar {
  width: 7px !important;
  height: 7px !important;
  display: block !important;
}
html.gg-scrollbars-always *::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.28);
  border-radius: 99px;
  border: 2px solid transparent;
  background-clip: padding-box;
}
html.gg-scrollbars-always *::-webkit-scrollbar-track {
  background: transparent;
}
html[data-theme="dark"].gg-scrollbars-always * {
  scrollbar-color: rgba(255, 255, 255, 0.28) transparent;
}
html[data-theme="dark"].gg-scrollbars-always *::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.28);
}
