/* Replaces malihu mCustomScrollbar 3.1.5 ("minimal-dark" theme) with native scrolling.
   Misc.js adds these classes to [data-custom-scroll-y] / [data-custom-scroll-x] on screens wider than 1024px. */
.customScrollY {
    overflow-x: hidden;
    overflow-y: auto;
}
.customScrollX {
    overflow-x: auto;
    overflow-y: hidden;
}
.customScrollY,
.customScrollX {
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 0, 0, 0.2) transparent;
}
.customScrollY:hover,
.customScrollX:hover {
    scrollbar-color: rgba(0, 0, 0, 0.5) transparent;
}
/* Browsers without scrollbar-color (older Safari). */
.customScrollY::-webkit-scrollbar,
.customScrollX::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
.customScrollY::-webkit-scrollbar-track,
.customScrollX::-webkit-scrollbar-track {
    background: transparent;
}
.customScrollY::-webkit-scrollbar-thumb,
.customScrollX::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 16px;
}
.customScrollY:hover::-webkit-scrollbar-thumb,
.customScrollX:hover::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.5);
}
