.ba-image-compare-58e9aa4d {
    position: relative;
    width: 100%;
    overflow: hidden;
    user-select: none;
    -webkit-user-select: none;
    cursor: ew-resize;
    box-sizing: border-box;
    display: block;
    touch-action: pan-y;
    -webkit-tap-highlight-color: transparent;
}

.ba-image-compare-58e9aa4d * {
    box-sizing: border-box;
}

.ba-layer-58e9aa4d {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.ba-layer-58e9aa4d img {
    width: 100%;
    height: 100%;
    display: block;
    pointer-events: none;
    object-fit: cover;
}

.ba-after-58e9aa4d {
    position: relative;
    width: 100%;
    height: 100%;
}

.ba-before-58e9aa4d {
    z-index: 2;
    clip-path: inset(0 calc(100% - var(--ba-pos, var(--ba-initial-position, 50%))) 0 0);
    -webkit-clip-path: inset(0 calc(100% - var(--ba-pos, var(--ba-initial-position, 50%))) 0 0);
}

.ba-divider-line-58e9aa4d {
    position: absolute;
    top: 0;
    bottom: 0;
    left: var(--ba-pos, var(--ba-initial-position, 50%));
    z-index: 3;
    pointer-events: none;
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
}

.ba-handle-58e9aa4d {
    position: absolute;
    top: 50%;
    left: var(--ba-pos, var(--ba-initial-position, 50%));
    z-index: 4;
    cursor: ew-resize;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.25);
    transition: transform 0.14s cubic-bezier(.23,1,.32,1);
    touch-action: none;
}

.ba-handle-58e9aa4d:active {
    transform: scale(0.96);
}

.ba-handle-58e9aa4d:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 3px;
}

@media (hover: hover) and (pointer: fine) {
    .ba-handle-58e9aa4d:hover {
        transform: scale(1.05);
    }
}

.ba-handle-arrows-58e9aa4d {
    font-weight: bold;
    user-select: none;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ba-label-58e9aa4d {
    position: absolute;
    z-index: 5;
    pointer-events: none;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
    white-space: nowrap;
}

