/* نشانگر اختصاصی ژینو — فقط برای ابزار اشاره دقیق فعال می‌شود. */
@media (hover:hover) and (pointer:fine){
  html.zh-cursor-active.zh-cursor-hide-native,
  html.zh-cursor-active.zh-cursor-hide-native body,
  html.zh-cursor-active.zh-cursor-hide-native body *{cursor:none!important}
  html.zh-cursor-active.zh-cursor-hide-native.zh-cursor-text-native input,
  html.zh-cursor-active.zh-cursor-hide-native.zh-cursor-text-native textarea,
  html.zh-cursor-active.zh-cursor-hide-native.zh-cursor-text-native [contenteditable="true"],
  html.zh-cursor-active.zh-cursor-hide-native.zh-cursor-text-native [contenteditable=""]{cursor:text!important}
}
#zh-custom-cursor{--zhc-primary:#5b4bf5;--zhc-secondary:#8b5cf6;--zhc-dot:9px;--zhc-ring:38px;--zhc-custom:42px;--zhc-opacity:.92;--zhc-hover:1.55;position:fixed;inset:0;z-index:2147483646;pointer-events:none;overflow:visible;opacity:0;transition:opacity .18s ease;contain:layout style size}
#zh-custom-cursor.is-visible{opacity:var(--zhc-opacity)}
.zh-cursor-dot,.zh-cursor-ring,.zh-cursor-trail{position:fixed;left:0;top:0;pointer-events:none;will-change:transform,opacity;border-radius:999px;transform:translate3d(-200px,-200px,0)}
.zh-cursor-dot{width:var(--zhc-dot);height:var(--zhc-dot);margin:calc(var(--zhc-dot)/-2) 0 0 calc(var(--zhc-dot)/-2);background:var(--zhc-primary);box-shadow:0 0 14px color-mix(in srgb,var(--zhc-primary) 62%,transparent);transition:width .16s ease,height .16s ease,margin .16s ease,background .16s ease,box-shadow .16s ease,filter .16s ease}
.zh-cursor-ring{width:var(--zhc-ring);height:var(--zhc-ring);margin:calc(var(--zhc-ring)/-2) 0 0 calc(var(--zhc-ring)/-2);border:1.5px solid color-mix(in srgb,var(--zhc-primary) 70%,transparent);background:color-mix(in srgb,var(--zhc-secondary) 7%,transparent);box-shadow:0 0 22px color-mix(in srgb,var(--zhc-secondary) 22%,transparent),inset 0 0 14px color-mix(in srgb,var(--zhc-primary) 8%,transparent);backdrop-filter:blur(1px);transition:width .18s ease,height .18s ease,margin .18s ease,background .18s ease,border-color .18s ease,box-shadow .18s ease}
.zh-cursor-trail{width:6px;height:6px;margin:-3px 0 0 -3px;background:var(--zhc-secondary);opacity:.24;box-shadow:0 0 12px color-mix(in srgb,var(--zhc-secondary) 70%,transparent)}
#zh-custom-cursor[data-style="dot"] .zh-cursor-ring,#zh-custom-cursor[data-style="dot"] .zh-cursor-trail{display:none}
#zh-custom-cursor[data-style="glow"] .zh-cursor-dot{box-shadow:0 0 10px var(--zhc-primary),0 0 28px color-mix(in srgb,var(--zhc-secondary) 62%,transparent),0 0 52px color-mix(in srgb,var(--zhc-secondary) 34%,transparent)}
#zh-custom-cursor[data-style="glow"] .zh-cursor-ring{border-color:color-mix(in srgb,var(--zhc-secondary) 55%,transparent);background:radial-gradient(circle,color-mix(in srgb,var(--zhc-primary) 13%,transparent),transparent 68%);box-shadow:0 0 34px color-mix(in srgb,var(--zhc-primary) 35%,transparent)}
#zh-custom-cursor[data-style="orb"] .zh-cursor-dot{background:radial-gradient(circle at 32% 27%,#fff 0 8%,var(--zhc-secondary) 20%,var(--zhc-primary) 58%,color-mix(in srgb,var(--zhc-primary) 65%,#000) 100%);border:1px solid rgba(255,255,255,.6);box-shadow:inset -3px -4px 8px rgba(0,0,0,.2),inset 3px 3px 6px rgba(255,255,255,.34),0 0 18px color-mix(in srgb,var(--zhc-primary) 70%,transparent),0 0 38px color-mix(in srgb,var(--zhc-secondary) 35%,transparent)}
#zh-custom-cursor[data-style="custom"] .zh-cursor-dot{width:var(--zhc-custom);height:var(--zhc-custom);margin:0;background:transparent!important;box-shadow:none!important;border-radius:0;overflow:visible}
.zh-cursor-dot img{display:none;width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 5px 12px color-mix(in srgb,var(--zhc-primary) 28%,transparent));user-select:none;-webkit-user-drag:none}
#zh-custom-cursor[data-style="custom"] .zh-cursor-dot img{display:block}
#zh-custom-cursor[data-style="custom"] .zh-cursor-dot{transform-origin:var(--zhc-hotspot-x,50%) var(--zhc-hotspot-y,50%)}
#zh-custom-cursor.is-hover .zh-cursor-ring{width:calc(var(--zhc-ring)*var(--zhc-hover));height:calc(var(--zhc-ring)*var(--zhc-hover));margin:calc(var(--zhc-ring)*var(--zhc-hover)/-2) 0 0 calc(var(--zhc-ring)*var(--zhc-hover)/-2);background:color-mix(in srgb,var(--zhc-primary) 13%,transparent);border-color:color-mix(in srgb,var(--zhc-primary) 90%,transparent);box-shadow:0 0 30px color-mix(in srgb,var(--zhc-secondary) 28%,transparent),inset 0 0 18px color-mix(in srgb,var(--zhc-primary) 12%,transparent)}
#zh-custom-cursor.is-hover .zh-cursor-dot{filter:brightness(1.18)}
#zh-custom-cursor.is-down .zh-cursor-ring{width:calc(var(--zhc-ring)*.78);height:calc(var(--zhc-ring)*.78);margin:calc(var(--zhc-ring)*-.39) 0 0 calc(var(--zhc-ring)*-.39)}
#zh-custom-cursor.is-down .zh-cursor-dot{filter:brightness(1.35)}
#zh-custom-cursor.is-text{opacity:0!important}
@media (prefers-reduced-motion:reduce){#zh-custom-cursor *{transition:none!important}}
