/* EDRAK mouse pointer, gold 3D orb, 2026-11-08.
   Scoped to /work/edrak-advanced-web/, fine mouse/hover only.
   The real cursor is never hidden unless the visual cursor was created. */
@media (hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference) {
  body.tyz-site-v1.edrak-gold-cursor-on:not(.edrak-gold-cursor-native),
  body.tyz-site-v1.edrak-gold-cursor-on:not(.edrak-gold-cursor-native) * {
    cursor:none!important;
  }
  body.tyz-site-v1 .edrak-gold-cursor-v1{
    --orb-size:22px;
    position:fixed;
    top:0;left:0;
    z-index:2147483600;
    width:var(--orb-size);
    height:var(--orb-size);
    pointer-events:none!important;
    touch-action:none;
    overflow:visible;
    border:0;
    border-radius:50%;
    opacity:0;
    visibility:hidden;
    transform:translate3d(-100px,-100px,0) translate(-50%,-50%);
    will-change:transform;
    isolation:isolate;
  }
  body.tyz-site-v1.edrak-gold-cursor-on .edrak-gold-cursor-v1.is-visible{
    opacity:1;
    visibility:visible;
  }
  body.tyz-site-v1 .edrak-gold-cursor-v1::before{
    content:"";
    position:absolute;
    z-index:-1;
    inset:-22px;
    border-radius:50%;
    background:
      radial-gradient(circle,rgba(255,212,128,.46) 0%,rgba(247,182,93,.23) 27%,rgba(246,171,73,.12) 47%,transparent 72%);
    filter:blur(7px);
    opacity:.9;
    animation:edrak-cursor-halo-pulse 3.8s ease-in-out infinite;
  }
  body.tyz-site-v1 .edrak-gold-cursor-v1__ball{
    position:absolute;inset:0;
    border-radius:50%;
    background:
      radial-gradient(ellipse 33% 28% at 33% 23%,rgba(255,255,241,.97) 0%,rgba(255,250,213,.72) 45%,transparent 100%),
      radial-gradient(circle at 34% 29%,#fff2c7 0%,#ffe3a3 25%,#ffd080 49%,#ecae5c 74%,#b97630 100%);
    box-shadow:
      inset 1.3px 1.3px 2.4px rgba(255,255,255,.82),
      inset -2px -2.5px 3.4px rgba(126,66,21,.35),
      0 1px 3px rgba(7,13,19,.30),
      0 0 11px rgba(255,197,112,.88),
      0 0 24px rgba(243,172,76,.57),
      0 0 42px rgba(239,160,55,.22);
    transform:scale(1);
    transition:transform .22s cubic-bezier(.2,1,.3,1),box-shadow .24s ease;
  }
  body.tyz-site-v1 .edrak-gold-cursor-v1__ball::before{
    content:"";
    position:absolute;top:13%;left:18%;
    width:35%;height:22%;
    border-radius:100%;
    background:rgba(255,255,245,.90);
    filter:blur(1.5px);
    transform:rotate(-29deg);
  }
  body.tyz-site-v1 .edrak-gold-cursor-v1__ball::after{
    content:"";
    position:absolute;
    left:23%;bottom:8%;right:18%;height:11%;
    border-radius:50%;
    background:rgba(91,49,16,.24);
    filter:blur(2px);
  }
  body.tyz-site-v1 .edrak-gold-cursor-v1.is-interactive .edrak-gold-cursor-v1__ball{
    transform:scale(1.34);
    box-shadow:
      inset 1.5px 1.5px 2px rgba(255,255,255,.96),
      inset -2px -2.6px 3.3px rgba(120,60,14,.37),
      0 0 13px rgba(255,211,139,.92),
      0 0 30px rgba(248,178,84,.66),
      0 0 50px rgba(241,157,51,.26);
  }
  body.tyz-site-v1 .edrak-gold-cursor-v1.is-interactive::before{
    opacity:1;
  }
  body.tyz-site-v1 .edrak-gold-cursor-v1.is-down .edrak-gold-cursor-v1__ball{
    transform:scale(.82);
  }
  @keyframes edrak-cursor-halo-pulse {
    0%,100%{transform:scale(.91);opacity:.73}
    50%{transform:scale(1.13);opacity:.98}
  }
}
@media (hover:none), (pointer:coarse), (prefers-reduced-motion:reduce) {
  body.tyz-site-v1 .edrak-gold-cursor-v1 {display:none!important;}
}
