.ba {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 5;
    border-radius: var(--radius-lg);
    overflow: hidden;
    user-select: none;
    touch-action: pan-y;
    background: var(--bg-2);
    border: 1px solid var(--border-subtle);
}

.ba__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.ba__after { z-index: 1; }

.ba__before-wrap {
    position: absolute;
    inset: 0;
    z-index: 2;
    width: 50%;
    overflow: hidden;
}
.ba__before-wrap .ba__img {
    width: var(--ba-img-w, 100%);
    max-width: none;
}

.ba__tag {
    position: absolute;
    bottom: var(--space-3);
    z-index: 3;
    font-size: var(--fs-xs);
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 6px 12px;
    border-radius: var(--radius-pill);
    background: rgba(0,0,0,0.55);
    backdrop-filter: blur(6px);
    color: #fff;
    pointer-events: none;
}
.ba__tag--before { left: var(--space-3); }
.ba__tag--after { right: var(--space-3); }

.ba__divider {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    z-index: 4;
    width: 3px;
    background: rgba(255,255,255,0.9);
    transform: translateX(-50%);
    pointer-events: none;
    box-shadow: 0 0 12px rgba(0,0,0,0.4);
}

.ba__handle {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 5;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    display: grid;
    place-items: center;
    cursor: ew-resize;
    box-shadow: var(--shadow-md);
    touch-action: none;
    transition: transform var(--dur-fast) var(--ease-out);
}
.ba__handle:active { transform: translate(-50%, -50%) scale(1.08); }
.ba__handle::before {
    content: '◀ ▶';
    font-size: 0.7rem;
    letter-spacing: 2px;
    color: #111;
}

.ba__label {
    position: absolute;
    top: var(--space-3);
    left: var(--space-3);
    right: var(--space-3);
    z-index: 3;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    pointer-events: none;
}

.ba__name {
    font-weight: 800;
    font-size: 1.05rem;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}
