.motif-gesture { position: relative; width: 100%; aspect-ratio: 2 / 1; isolation: isolate; mix-blend-mode: multiply }
.motif-gesture > .motif-gesture-image { display: block; width: 100%; height: 100%; margin: 0; object-fit: fill; user-select: none; pointer-events: none }
.motif-motion { position: absolute; display: block; overflow: hidden; visibility: hidden; pointer-events: none }
.motif-motion[data-playing] { visibility: visible }
.motif-motion .motif-frames {
  position: absolute; top: 0; left: 0; display: block; width: 600%; height: 400%; max-width: none; max-height: none;
  margin: 0; pointer-events: none; user-select: none;
}
.motif-pool-cars { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none }
.motif-gesture-lamps { position: absolute; inset: 0; display: block; width: 100%; height: 100%; opacity: 0; pointer-events: none }
.motif-gesture-lamps[data-lit] { opacity: 1 }
.motif-gesture-hit {
  position: absolute; z-index: 2; inset: 0; width: 100%; height: 100%; border: 0; padding: 0;
  background: transparent; appearance: none; box-shadow: none; cursor: pointer; touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.motif-target {
  position: absolute; display: block; transform: translate(-50%,-50%);
  width: max(46px,var(--gw)); height: max(46px,var(--gh));
  left: clamp(max(23px,calc(var(--gw) / 2)),var(--gx),calc(100% - max(23px,calc(var(--gw) / 2))));
  top: clamp(max(23px,calc(var(--gh) / 2)),var(--gy),calc(100% - max(23px,calc(var(--gh) / 2))));
  border-radius: 40%;
}
.motif-gesture .motif-gesture-hit:focus { outline: none }
.motif-gesture-hit:focus-visible .motif-target { outline: 2px solid var(--fw-accent); outline-offset: 3px; box-shadow: 0 0 0 4px #fffc }
@media (forced-colors:active) {
  .motif-gesture-hit:focus-visible .motif-target { outline-color: Highlight }
}
