/*
 * Infinite Scroll Loop — CSS
 * Locks browser scroll, lets JS control position via .isl-scroller
 */

html.isl-active,
html.isl-active body {
    overflow: hidden !important;
    height: 100% !important;
}

/* The native scroll container we create */
.isl-scroller {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow-y: scroll;
    overflow-x: hidden;
    /* Keep native scrollbar so layout doesn't shift */
    scrollbar-width: thin;
}

/* Cloned copies sit above and below the real content */
.isl-clone {
    pointer-events: none;
    user-select: none;
    /* Visually identical to original */
    aria-hidden: true;
}
