.myscroll-container {
    isolation: isolate;
    position: relative;
}

.myscroll-container:has(:not([data-trhover]).hover) {
    cursor: pointer;
}

.myscrollbar {
    height: 12px;
    width: 100%;
    background-color: white;
    border-radius: 16px;
    position: sticky;
    left: 0;
    isolation: isolate;
    z-index: 2;
}

.myscrollbar.hidden {
    pointer-events: none;
    opacity: 0;
    height: 0px;
}

.myscrollbar-thumb {
    height: 12px;
    border-radius: 16px;
    background-color: var(--color-lightgray-2);
    width: var(--myscrollbar-thumb-width);
    transform: translateX(var(--myscrollbar-translate-x));
}

.myscrollbar-touch {
    /* display: none; */
    width: 100%;
    height: calc(100% - 12px);
    position: absolute;
    left: 0;
    top: 0;
    overflow: scroll;
    z-index: 1;
    scrollbar-width: none;
}

.myscrollbar-touch::-webkit-scrollbar {
    display: none;
}

.myscrollbar-touch::after {
    content: '';
    display: block;
    height: 10%;
    width: var(--content-width);
}

.myscrollbar-touch.pointer-none {
    pointer-events: none;
}