/* am.studio custom cursor + bubble trail (cursor.css?v=3)
   v3: the pointer itself is a NATIVE CSS cursor — rendered by the
   browser at full speed, zero JS lag. JS only draws the decorative
   bubble trail. Fine pointers only, JS-gated via html.am-cursor-on. */
html.am-cursor-on,
html.am-cursor-on * { cursor: url('/assets/images/cursor-dot.svg') 12 12, auto !important; }
/* Keep the real text cursor over editable fields. */
html.am-cursor-on input,
html.am-cursor-on textarea,
html.am-cursor-on select,
html.am-cursor-on [contenteditable="true"] { cursor: auto !important; }

html.am-cursor-on .am-bubble {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9998;
  border-radius: 50%;
  will-change: transform, opacity;
  animation: am-bubble-rise 1s ease-out forwards;
}
@keyframes am-bubble-rise {
  0%   { transform: translate(-50%, -50%) translateY(0) scale(.6); opacity: .65; }
  100% { transform: translate(-50%, -50%) translateY(-34px) scale(1.15); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .am-bubble { display: none !important; }
  html.am-cursor-on * { cursor: auto !important; }
}
