@media (hover: hover) and (pointer: fine) {
  html[data-yacht-cursor-active], html[data-yacht-cursor-active] body,
  html[data-yacht-cursor-active] body * { cursor: none !important; }
}
#yacht-photo-cursor {
  all: initial !important;
  position: fixed !important;
  left: 0 !important;
  top: 0 !important;
  width: 0 !important;
  height: 0 !important;
  z-index: 2147483647 !important;
  pointer-events: none !important;
  visibility: hidden !important;
}
html[data-yacht-cursor-active] #yacht-photo-cursor { visibility: visible !important; }
#yacht-photo-cursor img {
  all: initial !important;
  position: absolute !important;
  width: 48px !important;
  height: 48px !important;
  max-width: none !important;
  pointer-events: none !important;
  opacity: 0 !important;
  transition: none !important;
  animation: none !important;
}
/* The upper-left wingtip sits at the pointer, not inside the canopy. */
#yacht-photo-cursor img[data-kind="wing"] { left: -1px !important; top: -4px !important; }
/* Keep the yacht level, with its left-facing bow at the actual click point. */
#yacht-photo-cursor img[data-kind="yacht"] {
  left: -47px !important;
  top: -28px !important;
  transform-origin: 47px 28px !important;
  transform: scaleX(-1) !important;
}
/* Mirror left/right: the board nose, not the foil tail, is the click point. */
#yacht-photo-cursor img[data-kind="efoil"] {
  left: -3px !important;
  top: -13px !important;
  transform: scaleX(-1) !important;
}
#yacht-photo-cursor img[data-visible] { opacity: 1 !important; }
@media (forced-colors: active), (hover: none), (pointer: coarse) {
  #yacht-photo-cursor { display: none !important; }
}
