@media (hover: hover) and (pointer: fine) {
  html.has-custom-cursor,
  html.has-custom-cursor body,
  html.has-custom-cursor body * {
    cursor: none !important;
  }

  .portfolio-cursor-dot,
  .portfolio-cursor-ring {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 2147483647;
    pointer-events: none;
    opacity: 0;
    will-change: transform, opacity;
  }

  .portfolio-cursor-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #4cd7f6;
    box-shadow: 0 0 12px rgb(76 215 246 / 70%);
    transform: translate3d(-50%, -50%, 0);
  }

  .portfolio-cursor-ring {
    width: 34px;
    height: 34px;
    border: 1px solid rgb(76 215 246 / 75%);
    border-radius: 50%;
    background: rgb(76 215 246 / 5%);
    box-shadow: 0 0 18px rgb(76 215 246 / 12%), inset 0 0 10px rgb(76 215 246 / 5%);
    transform: translate3d(-50%, -50%, 0) scale(1);
    transition: width 180ms ease, height 180ms ease, border-color 180ms ease,
      background-color 180ms ease, box-shadow 180ms ease;
  }

  html.has-custom-cursor.cursor-visible .portfolio-cursor-dot,
  html.has-custom-cursor.cursor-visible .portfolio-cursor-ring {
    opacity: 1;
  }

  html.has-custom-cursor.cursor-over-interactive .portfolio-cursor-ring {
    width: 46px;
    height: 46px;
    border-color: rgb(76 215 246 / 100%);
    background: rgb(76 215 246 / 10%);
    box-shadow: 0 0 24px rgb(76 215 246 / 24%);
  }

  html.has-custom-cursor.cursor-pressed .portfolio-cursor-ring {
    width: 26px;
    height: 26px;
    background: rgb(76 215 246 / 18%);
  }

  @media (prefers-reduced-motion: reduce) {
    .portfolio-cursor-ring {
      transition: none;
    }
  }
}
