/* The original image reserves the entire layout and remains the idle/failure view. */
.harness-hover-ready { position: relative; overflow: visible; }
.harness-hover-stage { position: absolute; display: block; opacity: 0; pointer-events: none; isolation: isolate; filter: grayscale(1); }
.harness-hover-stage.is-active { opacity: 1; }
.harness-hover-node { position: absolute; display: block; pointer-events: none; z-index: 0; }
.harness-hover-visual { position: absolute; display: block; inset: 0; visibility: hidden; pointer-events: none; background-color: var(--canvas, #101010); background-blend-mode: lighten; background-repeat: no-repeat; transform-origin: center; transition: transform .18s ease-out, filter .18s ease-out, visibility 0s .18s; }
.harness-hover-visual::after { content: ''; position: absolute; inset: 0; border: 1px solid transparent; background: transparent; transition: background .15s, border-color .15s; }
@media (hover: hover) and (pointer: fine) {
  .harness-hover-node { pointer-events: auto; }
  .harness-hover-node.is-active { z-index: 3; }
  .harness-hover-node.is-active .harness-hover-visual { visibility: visible; transition-delay: 0s; transform: scale(1.1); filter: drop-shadow(0 6px 12px rgba(0,0,0,.35)); }
  .harness-hover-node.is-active .harness-hover-visual::after { background: rgba(255,255,255,.025); border-color: rgba(190,190,190,.18); }
}
/* Focus treatment remains available if a real node action is introduced; current nodes are decorative. */
.harness-hover-node:focus-visible { z-index: 3; outline: 1px solid #ddd; outline-offset: 3px; border-radius: 0; }
.harness-hover-node:focus-visible .harness-hover-visual { visibility: visible; transition-delay: 0s; transform: scale(1.1); filter: drop-shadow(0 6px 12px rgba(0,0,0,.35)); }
.harness-hover-node:focus-visible .harness-hover-visual::after { background: rgba(255,255,255,.025); border-color: rgba(190,190,190,.18); }
@media (prefers-reduced-motion: reduce) {
  .harness-hover-visual { transition: none; }
  .harness-hover-node.is-active .harness-hover-visual,
  .harness-hover-node:focus-visible .harness-hover-visual { transform: none; filter: none; }
}
