*,
*::before,
*::after {
    scrollbar-width: none !important;
}

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

#app-floating-scrollbars {
    position: fixed;
    z-index: 2147483000;
    inset: 0;
    pointer-events: none;
}

.app-floating-scrollbar {
    position: fixed;
    box-sizing: border-box;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.16s ease;
}

.app-floating-scrollbar.is-visible {
    opacity: 1;
}

.app-floating-scrollbar.is-vertical {
    width: 8px;
}

.app-floating-scrollbar.is-horizontal {
    height: 8px;
}

.app-floating-scrollbar-thumb {
    position: absolute;
    box-sizing: border-box;
    border-radius: 4px;
    background-color: var(--app-scrollbar-color, var(--theme-color, #0665d0));
    opacity: 0.78;
    pointer-events: auto;
    touch-action: none;
    user-select: none;
    cursor: grab;
    transition: opacity 0.16s ease, background-color 0.16s ease;
}

.app-floating-scrollbar-thumb:hover {
    opacity: 1;
    background-color: var(--app-scrollbar-hover-color, var(--theme-hover-color, #2a84de));
}

.app-floating-scrollbar-thumb:active {
    cursor: grabbing;
}
