@media (hover: hover) and (pointer: fine) {

  .sm-cursor-layer {
    position: fixed !important;
    inset: 0 !important;
    pointer-events: none !important;
    z-index: 2147483647 !important;
    isolation: isolate;
  }

  html.sm-cursor-visible,
  html.sm-cursor-visible body,
  html.sm-cursor-visible a,
  html.sm-cursor-visible button,
  html.sm-cursor-visible [role="button"],
  html.sm-cursor-visible input,
  html.sm-cursor-visible textarea,
  html.sm-cursor-visible select,
  html.sm-cursor-visible label,
  html.sm-cursor-visible summary {
    cursor: none !important;
  }

  .sm-cursor-dot,
  .sm-cursor-ring {
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 1;
    opacity: 0;
    transform: translate(-50%, -50%);
    transition: opacity 0.18s ease, transform 0.18s ease;
  }

  .sm-cursor-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--text, #111);
    z-index: 2;
    box-shadow:
      0 0 0 2px color-mix(in srgb, var(--surface, #fff) 82%, transparent),
      0 6px 14px -10px rgba(0, 0, 0, 0.55);
  }

  .sm-cursor-ring {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 2px solid color-mix(in srgb, var(--text, #111) 64%, transparent);
    background: color-mix(in srgb, var(--surface, #fff) 30%, transparent);
    box-shadow:
      0 0 0 1px color-mix(in srgb, var(--bg, #f6f6f3) 55%, transparent),
      0 12px 22px -18px rgba(0, 0, 0, 0.5);
  }

  .sm-cursor-visible .sm-cursor-dot,
  .sm-cursor-visible .sm-cursor-ring {
    opacity: 1;
  }

  .sm-cursor-hidden .sm-cursor-dot,
  .sm-cursor-hidden .sm-cursor-ring {
    opacity: 0;
  }

  html.sm-disable-custom-cursor,
  html.sm-disable-custom-cursor body,
  html.sm-disable-custom-cursor a,
  html.sm-disable-custom-cursor button,
  html.sm-disable-custom-cursor [role="button"],
  html.sm-disable-custom-cursor input,
  html.sm-disable-custom-cursor textarea,
  html.sm-disable-custom-cursor select,
  html.sm-disable-custom-cursor label,
  html.sm-disable-custom-cursor summary {
    cursor: auto !important;
  }

  html.sm-disable-custom-cursor .sm-cursor-dot,
  html.sm-disable-custom-cursor .sm-cursor-ring {
    opacity: 0 !important;
  }

  .sm-cursor-active .sm-cursor-ring {
    transform: translate(-50%, -50%) scale(0.82);
  }

  .sm-cursor-hover .sm-cursor-ring {
    transform: translate(-50%, -50%) scale(1.16);
    border-color: color-mix(in srgb, var(--text, #111) 82%, transparent);
  }

  /* Disable custom cursor over CookieYes UI and use native cursor there */
  .cky-consent-container,
  .cky-preference-center,
  .cky-overlay,
  [id*="cky"],
  [class*="cky"],
  .cky-consent-container *,
  .cky-preference-center *,
  .cky-overlay *,
  iframe[src*="cookieyes"] {
    cursor: auto !important;
  }
}
