.site-cursor {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 9999;
  pointer-events: none;

  width: 90px;
  height: 90px;
  border-radius: 999px;

  /* glass */
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(12px);
  display: grid;
  place-items: center;
  transform: translate(-50%, -50%) scale(0.9);
  opacity: 0;
  transition:
    opacity 300ms var(--ease),
    transform 300ms var(--ease);
}

.site-cursor__text {
  display: block;
  max-width: 70px;
  text-align: center;
  white-space: normal;
  word-break: break-word;
  overflow-wrap: anywhere;
  font-size: 0.66rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--text);
  user-select: none;
}

.site-cursor.is-over-case .site-cursor__text {
  color: #fff;
}

.site-cursor.is-over-light {
  border-color: #d8d8d8;
}

/* активное состояние */
.site-cursor.is-active {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

/* на этих элементах прячем системный курсор */
[data-cursor="more"],
[data-cursor="more"] * {
  cursor: none !important;
}

/* доступность */
@media (prefers-reduced-motion: reduce) {
  .site-cursor {
    transition: none;
  }
}
@media (pointer: coarse) {
  .site-cursor {
    display: none !important;
  }

  [data-cursor],
  [data-cursor] * {
    cursor: auto !important;
  }
}

@media (max-width: 990px) {
  .site-cursor {
    display: none !important;
  }

  [data-cursor],
  [data-cursor] * {
    cursor: auto !important;
  }
}
