/* Local-only locked V28 cursor adapter. It changes no hero geometry or links. */
.oa-live-eye-arrow-cursor,
.oa-live-eye-arrow-trail {
  display: none;
  pointer-events: none;
}

@media (min-width: 761px) and (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  /* The destination is already painted behind the black handoff. Retire its
     old acid text button before the slats begin opening so it cannot flash for
     one frame between the GIF mark and the installed pixel-arrow adapter. */
  html[data-oa-local-cold-open="active"] .showcase-next-arrow {
    opacity: 0 !important;
    visibility: hidden !important;
  }

  html[data-oa-live-eye-arrow="installed"] .oa-live-eye-arrow-trail {
    position: fixed;
    z-index: 2147483644;
    display: block;
    image-rendering: pixelated;
    contain: strict;
  }

  html[data-oa-live-eye-arrow="installed"] .oa-live-eye-arrow-cursor {
    position: fixed;
    z-index: 2147483646;
    top: 0;
    left: 0;
    display: block;
    width: 66px;
    height: 42px;
    opacity: 0;
    visibility: hidden;
    image-rendering: pixelated;
    transform: translate3d(var(--oa-live-eye-x, -100px), var(--oa-live-eye-y, -100px), 0);
    will-change: transform;
  }

  html[data-oa-live-eye-arrow="installed"] .oa-live-eye-arrow-cursor.is-visible {
    opacity: 1;
    visibility: visible;
  }

  html[data-oa-live-eye-arrow="installed"] .oa-live-eye-arrow-cursor canvas {
    display: block;
    width: 66px;
    height: 42px;
    image-rendering: pixelated;
  }

  html[data-oa-live-eye-arrow-active] .showcase-rail,
  html[data-oa-live-eye-arrow-active] .showcase-rail * {
    cursor: none !important;
  }

  html[data-oa-live-eye-arrow="installed"][data-oa-live-eye-arrow-active] body #cursor.is-pixel-eye,
  html[data-oa-live-eye-arrow="installed"][data-oa-live-eye-arrow-active] body .oa-cursor-pixel-trail,
  html[data-oa-live-eye-arrow="installed"][data-oa-live-eye-arrow-active] body .oa-pixel-hover-fill {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
  }

  /* The pixel arrow is the fine-pointer control. Keep the native link in the
     accessibility tree and restore its original presentation for keyboard
     focus, but remove the duplicate acid button during pointer navigation. */
  html[data-oa-live-eye-arrow="installed"] .showcase-next-arrow:not(:focus) {
    width: 1px !important;
    min-width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    overflow: hidden !important;
    clip-path: inset(50%) !important;
    opacity: 0 !important;
    visibility: visible !important;
    pointer-events: none !important;
    color: transparent !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
  }
}

@media (forced-colors: active), (prefers-reduced-motion: reduce), (max-width: 760px) {
  .oa-live-eye-arrow-cursor,
  .oa-live-eye-arrow-trail {
    display: none !important;
  }
}

/* Coarse-pointer visitors navigate the horizontal hero by swiping the rail.
   The retired acid NEXT disc duplicates that gesture and was flashing through
   the slat opening on phones. Keep the full next-project panel and its native
   link intact; only remove the redundant floating control. */
@media (max-width: 760px), (hover: none), (pointer: coarse) {
  html[data-oa-local-cold-open] .showcase-next-arrow {
    display: none !important;
  }
}
