/* Custom cursor: dot + radar ring + smoke trail. Colors follow the theme palette (--primary / --violet),
   so they also change when the palette is edited in the Customizer. */
@media (hover: hover) and (pointer: fine) {
  html, body, a, button, label, summary, [role="button"] { cursor: none; }
}
.zf-cursor, .zf-cursor-ring {
  position: fixed; top: 0; left: 0; z-index: 9999; border-radius: 50%;
  pointer-events: none; opacity: 0;
  transition: opacity .25s ease, scale .3s cubic-bezier(.75,-1.27,.3,2.33);
}
.zf-cursor {
  width: 14px; height: 14px; margin: -7px 0 0 -7px;
  background: var(--primary);
  box-shadow: 0 0 20px var(--primary), 0 0 40px color-mix(in oklab, var(--violet) 60%, transparent);
}
.zf-cursor-ring {
  width: 50px; height: 50px; margin: -25px 0 0 -25px; z-index: 9998;
  background: color-mix(in oklab, var(--primary) 10%, transparent);
  border: 2px solid var(--violet);
  transition: opacity .25s ease, scale .6s cubic-bezier(.75,-1.27,.3,2.33);
}
.zf-cursor.is-ready, .zf-cursor-ring.is-ready { opacity: 1; }
.zf-cursor.is-active { scale: 1.25; }
.zf-cursor-ring.is-active { scale: 1.3; }
.zf-cursor.is-text, .zf-cursor-ring.is-text { opacity: 0; }   /* over inputs: normal text caret */
#zf-smoke { position: fixed; inset: 0; z-index: 9997; pointer-events: none; }

@media (hover: none), (pointer: coarse) {
  .zf-cursor, .zf-cursor-ring, #zf-smoke { display: none !important; }
}
@media (prefers-reduced-motion: reduce) {
  #zf-smoke { display: none; }
}
