.magic-cursor,
.witch-cursor { display: none !important; }

@media (pointer: fine) {
  html.magic-pointer,
  html.magic-pointer a,
  html.magic-pointer button,
  html.magic-pointer input,
  html.magic-pointer select,
  html.magic-pointer textarea,
  html.witch-pointer,
  html.witch-pointer a,
  html.witch-pointer button,
  html.witch-pointer input,
  html.witch-pointer select,
  html.witch-pointer textarea {
    cursor: url("./assets/precise-magic-cursor.svg?v=10") 2 2, auto !important;
  }
}

.magic-cursor-trail {
  position: fixed;
  z-index: 999999;
  left: 0;
  top: 0;
  width: 7px;
  height: 7px;
  pointer-events: none;
  background: transparent;
  transform: translate(-50%, -50%);
  animation: magic-trail-fade .72s ease-out forwards;
}

.magic-cursor-trail::before,
.magic-cursor-trail::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  background: #eaffff;
  box-shadow: 0 0 4px #72eaff, 0 0 8px rgba(68, 126, 239, .76);
  transform: translate(-50%, -50%);
}

.magic-cursor-trail::before {
  width: 1.5px;
  height: 7px;
  border-radius: 50%;
}

.magic-cursor-trail::after {
  width: 7px;
  height: 1.5px;
  border-radius: 50%;
}

@keyframes magic-trail-fade {
  from { opacity: .72; filter: blur(0); }
  to { opacity: 0; filter: blur(1.2px); }
}

@media (prefers-reduced-motion: reduce) {
  .magic-cursor-trail { display: none !important; }
}
