/* Free-roam mini octopus in a play zone under the nav (no hang string) */
.jz-pendant {
  position: fixed;
  top: 3.35rem;
  right: 0.35rem;
  z-index: 46;
  /* Wider roam: from under mid-nav toward the right edge */
  width: min(520px, 62vw);
  height: 104px;
  pointer-events: none;
  user-select: none;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.45s var(--motion-ease, ease), transform 0.45s var(--motion-ease, ease);
  filter: drop-shadow(0 8px 14px rgba(20, 70, 120, 0.2));
}
.jz-pendant.is-on {
  opacity: 1;
  transform: none;
}
.jz-pendant canvas {
  display: block;
  width: 100%;
  height: 100%;
}
.jz-pendant-reach-layer {
  position: fixed;
  inset: 0;
  z-index: 45;
  pointer-events: none;
}
.topbar nav a.jz-tap-flash {
  color: #5aa0ff !important;
  text-shadow: 0 0 12px rgba(90, 160, 255, 0.4);
  transition: color 0.15s ease, text-shadow 0.15s ease;
}
.page-services .topbar nav a.jz-tap-flash,
.page-wall .topbar nav a.jz-tap-flash,
.page-open .topbar nav a.jz-tap-flash {
  color: #1a8cff !important;
}

@media (max-width: 860px) {
  .jz-pendant {
    top: 3.25rem;
    right: 0.2rem;
    width: min(280px, 72vw);
    height: 88px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .jz-pendant { transition: none !important; }
}
