/* Protótipo: botão lateral DOM, não uma scrollbar nativa arrastável. */
.modal-scroll-control {
    position: fixed;
    z-index: 5;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: var(--rolagem-cor-trilho);
    cursor: pointer;
    touch-action: pan-y pinch-zoom;
    overflow: hidden;
}

.modal-scroll-control > span {
    position: absolute;
    left: 0;
    width: 100%;
    border: 2px solid var(--rolagem-cor-trilho);
    border-radius: 999px;
    background: var(--rolagem-cor-indicador);
    pointer-events: none;
}

.modal-scroll-control:hover > span {
    background: var(--cor-destaque);
}

.modal-scroll-control:focus-visible {
    outline-offset: -3px;
}

@media (forced-colors: active) {
    .modal-scroll-control {
        background: Canvas;
    }

    .modal-scroll-control > span {
        background: ButtonText;
        border-color: Canvas;
    }
}
