html.rr-scrollbar-page {
    --rr-scrollbar-grey: #808080;
    --rr-scrollbar-drag-grey: #B8B8B8;
}

/* Page scrolling stays native; the desktop thumb overlays the right edge. */
html.rr-scrollbar-page:not(.fp-enabled),
html.rr-scrollbar-page:not(.fp-enabled) body {
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--rr-scrollbar-grey) transparent;
}

html.rr-scrollbar-page.noScroll,
html.rr-scrollbar-page body.noScroll,
html.rr-scrollbar-page body.modal-open {
    overflow: hidden;
}

html.rr-scrollbar-page::-webkit-scrollbar,
html.rr-scrollbar-page body::-webkit-scrollbar {
    width: 6px !important;
}

html.rr-scrollbar-page::-webkit-scrollbar-track,
html.rr-scrollbar-page body::-webkit-scrollbar-track {
    background: transparent;
}

html.rr-scrollbar-page::-webkit-scrollbar-thumb,
html.rr-scrollbar-page body::-webkit-scrollbar-thumb {
    background: var(--rr-scrollbar-grey);
    border-radius: 999px;
}

html.rr-scrollbar-page.rr-scrollbar-ready,
html.rr-scrollbar-page.rr-scrollbar-ready body {
    scrollbar-width: none;
}

html.rr-scrollbar-page.rr-scrollbar-ready::-webkit-scrollbar,
html.rr-scrollbar-page.rr-scrollbar-ready body::-webkit-scrollbar {
    width: 0 !important;
}

.rr-scrollbar {
    position: fixed;
    top: var(--rr-scrollbar-top, 8px);
    right: 2px;
    bottom: 8px;
    width: 18px;
    z-index: 1100;
    touch-action: none;
}

.rr-scrollbar[hidden] {
    display: none;
}

.rr-scrollbar__thumb {
    position: absolute;
    top: 0;
    right: 4px;
    width: 4px;
    min-height: 40px;
    border-radius: 999px;
    background: var(--rr-scrollbar-grey);
    box-shadow: none;
    opacity: 0;
    cursor: default;
    transition: opacity .25s ease, width .15s ease, background-color .15s ease;
}

.rr-scrollbar.is-scrolling .rr-scrollbar__thumb,
.rr-scrollbar:hover:not(.is-released) .rr-scrollbar__thumb,
.rr-scrollbar:focus-visible:not(.is-released) .rr-scrollbar__thumb,
.rr-scrollbar.is-dragging .rr-scrollbar__thumb {
    opacity: .8;
}

.rr-scrollbar:hover:not(.is-released) .rr-scrollbar__thumb,
.rr-scrollbar:focus-visible:not(.is-released) .rr-scrollbar__thumb,
.rr-scrollbar.is-dragging .rr-scrollbar__thumb {
    width: 6px;
    opacity: 1;
}

.rr-scrollbar,
.rr-scrollbar:focus,
.rr-scrollbar:focus-visible,
.rr-scrollbar.is-dragging {
    outline: none;
}

.rr-scrollbar.is-dragging .rr-scrollbar__thumb {
    background-color: var(--rr-scrollbar-drag-grey);
    cursor: default;
}

html.rr-scrollbar-dragging,
html.rr-scrollbar-dragging * {
    user-select: none;
    cursor: default !important;
}

@media (prefers-reduced-motion: reduce) {
    .rr-scrollbar__thumb {
        transition: none;
    }
}

