/* Shared decorative cursor; independent cases keep their own page styles. */
html.altn-cursor-managed .cursor-dot,
html.altn-cursor-managed .cursor-ring {
  position:fixed;left:-100px;top:-100px;pointer-events:none;
  opacity:0;box-sizing:border-box;
}
html.altn-cursor-managed .cursor-dot {
  width:6px;height:6px;border-radius:1px;z-index:10000;
  background:var(--accent,#62efa1);
  transform:translate(-50%,-50%) rotate(45deg);
  box-shadow:0 0 10px color-mix(in srgb,var(--accent,#62efa1) 72%,transparent);
}
html.altn-cursor-managed .cursor-ring {
  width:34px;height:34px;border-radius:50%;z-index:9999;
  border:1px solid color-mix(in srgb,var(--accent,#62efa1) 28%,transparent);
  transform:translate(-50%,-50%);
  transition:width .3s,height .3s,border-color .3s,background .3s,opacity .18s;
}
html.altn-cursor-managed .cursor-ring::before {
  content:'';position:absolute;inset:-5px;border:1px solid transparent;
  border-top-color:var(--accent,#62efa1);
  border-right-color:color-mix(in srgb,var(--accent,#62efa1) 36%,transparent);
  border-radius:50%;animation:altn-cursor-orbit 3.6s linear infinite;
  animation-play-state:paused;
}
html.altn-cursor-managed .cursor-ring::after {
  content:'';position:absolute;inset:-8px;opacity:.36;
  background:linear-gradient(90deg,transparent 0 46%,var(--accent,#62efa1) 46% 54%,transparent 54%) center/100% 1px no-repeat,
    linear-gradient(0deg,transparent 0 46%,var(--accent,#62efa1) 46% 54%,transparent 54%) center/1px 100% no-repeat;
}
html.altn-cursor-managed.custom-cursor-active .cursor-dot,
html.altn-cursor-managed.custom-cursor-active .cursor-ring {opacity:1}
html.altn-cursor-managed.custom-cursor-active .cursor-ring::before {animation-play-state:running}
html.altn-cursor-managed .cursor-ring.hover {
  width:48px;height:48px;
  border-color:color-mix(in srgb,var(--accent,#62efa1) 58%,transparent);
  background:color-mix(in srgb,var(--accent,#62efa1) 5%,transparent);
}
html.altn-cursor-managed .cursor-ring.hover::before {animation-duration:1.8s}
html.altn-cursor-managed .cursor-ring.click {width:22px;height:22px}
@keyframes altn-cursor-orbit {to{transform:rotate(360deg)}}
@media(hover:hover) and (pointer:fine) and (min-width:769px) and (prefers-reduced-motion:no-preference) {
  html.altn-cursor-managed.custom-cursor-active,
  html.altn-cursor-managed.custom-cursor-active * {cursor:none!important}
}
@media(hover:none),(pointer:coarse),(max-width:768px),(prefers-reduced-motion:reduce) {
  html.altn-cursor-managed .cursor-dot,html.altn-cursor-managed .cursor-ring {display:none}
}
@media print {
  html.altn-cursor-managed .cursor-dot,html.altn-cursor-managed .cursor-ring {display:none}
}
