.ncode-ba{
  position:relative;
  width:100%;
  overflow:hidden;
  user-select:none;
  touch-action:none;
  border-radius: 8px;

  --pos: 50%;
}

.ncode-ba__img{
  position:absolute;
  inset:0;
}

.ncode-ba__img img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center center;
  display:block;
}

.ncode-ba__divider{
  position:absolute;
  top:0;
  bottom:0;
  left: var(--pos);
  transform:translateX(-50%);
  width:2px;
  background: rgba(255,255,255,0.9);
}

.ncode-ba__handle{
  position:absolute;
  top:50%;
  left: var(--pos);
  transform:translate(-50%,-50%);
  width:46px;
  height:46px;
  border-radius:999px;
  border: 2px solid rgba(255,255,255,0.95);
  background: rgba(0,0,0,0.25);
  cursor: ew-resize;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 0 10px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
}

.ncode-ba__arrow{
  width:10px;
  height:10px;
  border-top:2px solid rgba(255,255,255,0.95);
  border-right:2px solid rgba(255,255,255,0.95);
}

.ncode-ba__arrow--left{
  transform: rotate(225deg);
}

.ncode-ba__arrow--right{
  transform: rotate(45deg);
}

.ncode-ba__label{
  position:absolute;
  top:14px;
  padding: 8px 10px;
  font-size: 12px;
  line-height: 1;
  color:#fff;
  background: rgba(0,0,0,0.45);
  border-radius: 6px;
  backdrop-filter: blur(3px);
  pointer-events:none;
}

.ncode-ba__label--before{ left:14px; }
.ncode-ba__label--after{ right:14px; }

.ncode-ba__range{
  position:absolute;
  left:0;
  right:0;
  bottom:10px;
  width: calc(100% - 20px);
  margin: 0 10px;
  opacity:0;
  pointer-events:none;
}
