@media (forced-colors: none) {
    *::-webkit-scrollbar {
        width: 8px;
        height: 8px;
    }

    *::-webkit-scrollbar-track,
    *::-webkit-scrollbar-corner {
        background: transparent;
    }

    *::-webkit-scrollbar-thumb {
        background: transparent;
        background-clip: padding-box;
        border: 2px solid transparent;
        border-radius: 999px;
        min-height: 32px;
    }

    html.scroll-active::-webkit-scrollbar-thumb,
    html.scroll-active *::-webkit-scrollbar-thumb {
        background-color: #777;
    }

    html.scroll-active::-webkit-scrollbar-thumb:hover,
    html.scroll-active *::-webkit-scrollbar-thumb:hover {
        background-color: #888;
    }

    *::-webkit-scrollbar-button {
        display: none;
    }

    @supports not selector(::-webkit-scrollbar) {
        * {
            scrollbar-width: thin;
            scrollbar-color: transparent transparent;
        }

        html.scroll-active, html.scroll-active * {
            scrollbar-color: #777 transparent;
        }
    }
}
