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

  .site-custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    right: auto;
    bottom: auto;
    z-index: 2147483647;
    width: 72px;
    height: 72px;
    color: #fff;
    pointer-events: none;
    opacity: 0;
    transform: translate3d(-100px, -100px, 0);
    margin: 0;
    padding: 0;
    border: 0;
    overflow: visible;
    background: transparent;
    transition: opacity 120ms ease;
  }

  html.has-custom-cursor .site-custom-cursor {
    opacity: 1;
  }

  .site-custom-cursor.is-on-light {
    color: var(--ink, #1a1d1f);
  }

  .site-custom-cursor__horizontal,
  .site-custom-cursor__vertical,
  .site-custom-cursor__box {
    position: absolute;
  }

  .site-custom-cursor__horizontal {
    top: 35.5px;
    left: 0;
    width: 72px;
    height: 1px;
    background: currentColor;
  }

  .site-custom-cursor__vertical {
    top: 0;
    left: 35.5px;
    width: 1px;
    height: 72px;
    background: currentColor;
  }

  .site-custom-cursor__box {
    top: 30px;
    left: 30px;
    width: 12px;
    height: 12px;
    border: 1px solid currentColor;
    background: transparent;
    transition: transform 120ms ease;
  }

  .site-custom-cursor.is-selecting .site-custom-cursor__box {
    background: currentColor;
    border-color: currentColor;
  }

  .site-custom-cursor.is-pressed .site-custom-cursor__box {
    transform: scale(0.82);
  }
}

@media (hover: none), (pointer: coarse), (forced-colors: active) {
  .site-custom-cursor {
    display: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-custom-cursor,
  .site-custom-cursor__box {
    transition: none;
  }
}
