/* Thin, modern scrollbars — public site, auth, workspace, admin, personal and the builder canvas. */
:root { --sb-thumb: rgba(106, 116, 214, .38); --sb-thumb-hover: rgba(63, 75, 255, .72); --sb-size: 6px; }

/* Chrome, Edge, Safari, Android: 6px, fully rounded, no arrows, invisible track */
::-webkit-scrollbar { width: var(--sb-size); height: var(--sb-size); }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--sb-thumb); border-radius: 999px; min-height: 40px; min-width: 40px; border: 0; transition: background .2s; }
::-webkit-scrollbar-thumb:hover, ::-webkit-scrollbar-thumb:active { background: var(--sb-thumb-hover); }
::-webkit-scrollbar-corner { background: transparent; }
::-webkit-scrollbar-button { display: none; width: 0; height: 0; }

/* Firefox (and anything without ::-webkit-scrollbar) */
@supports not selector(::-webkit-scrollbar) {
  * { scrollbar-width: thin; scrollbar-color: var(--sb-thumb) transparent; }
}
/* the app shell: scrollbar only appears while hovering/using the scrolling area on desktop */
@media (hover: hover) and (pointer: fine) {
  .admin-content, .msgr-msgs, .msgr-list, .chat-msgs, .chat-list, .emp-body, .sidebar__nav { scrollbar-gutter: auto; }
}
