.yt-plus-scroll-progress {
    --yt-plus-scroll-progress: 0;
    position: fixed;
    z-index: 1100;
    pointer-events: none;
    overflow: hidden;
    direction: ltr;
    background: var(--yt-plus-scroll-progress-track, rgb(30 135 240 / 10%));
    contain: strict;
}

.yt-plus-scroll-progress--horizontal {
    top: 0;
    right: 0;
    left: 0;
    width: 100%;
    height: var(--yt-plus-scroll-progress-thickness, 4px);
}

.yt-plus-scroll-progress--vertical {
    top: 0;
    right: 0;
    width: var(--yt-plus-scroll-progress-thickness, 4px);
    height: 100vh;
    height: 100dvh;
}

.yt-plus-scroll-progress__value {
    display: block;
    width: 100%;
    height: 100%;
    background: var(--yt-plus-scroll-progress-color, #1e87f0);
    will-change: transform;
}

.yt-plus-scroll-progress--horizontal .yt-plus-scroll-progress__value {
    transform: scaleX(var(--yt-plus-scroll-progress));
    transform-origin: left center;
}

.yt-plus-scroll-progress--vertical .yt-plus-scroll-progress__value {
    transform: scaleY(var(--yt-plus-scroll-progress));
    transform-origin: center top;
}

@media print {
    .yt-plus-scroll-progress {
        display: none !important;
    }
}
