.gesture-control {
  position: absolute; display: grid; place-items: center; min-width: 0; min-height: 0; overflow: hidden;
  padding: 2px 4px; border: 1px solid #c7b7ef; border-radius: 6px; background: #f2ecff; color: #2c2244;
  font-size: clamp(10px, 2vw, 14px); font-weight: 700; touch-action: none; pointer-events: auto;
}
.gesture-control > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none }
.gesture-control > span { position: relative; max-width: 100%; overflow: hidden; white-space: nowrap; text-overflow: ellipsis }
.gesture-control small { display: block; margin-top: 2px; font-size: clamp(9px, 1.8vw, 12px); line-height: 1.15; white-space: normal }
.gesture-control:has(img) > span { padding-inline: 2px; background: #21172edd; color: white }
.gesture-control:focus-visible { outline: 2px solid #f6df9b; outline-offset: -3px }
.gesture-control:disabled { opacity: .7; pointer-events: none }
.gesture-control.gesture-transparent { background: none; border-color: transparent }
.gesture-transparent small { padding: 3px 5px; border-radius: 4px; background: #21172edd; color: white }
.gesture-target { border-style: dashed; background: #28203ada; color: white }
.gesture-source { z-index: 2; cursor: grab; user-select: none }
.gesture-source:active { cursor: grabbing }
.gesture-progress { position: absolute; top: 14%; left: 50%; translate: -50% 0; max-width: 88%; padding: 4px 8px;
  border-radius: 6px; background: #221a37ed; color: white; font-size: 12px; white-space: nowrap; pointer-events: none }
