/* 丝滑层：Lenis 惯性滚动 + 自定义光标（参数与 5180 一致） */

.silk-cursor-dot,
.silk-cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 200;
  pointer-events: none;
  border-radius: 9999px;
  mix-blend-mode: difference;
}

.silk-cursor-dot {
  width: 8px;
  height: 8px;
  background: #fff;
}

.silk-cursor-ring {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.85);
  transition:
    width 0.7s cubic-bezier(0.23, 1, 0.32, 1),
    height 0.7s cubic-bezier(0.23, 1, 0.32, 1),
    border-color 0.7s cubic-bezier(0.23, 1, 0.32, 1);
}

.silk-cursor-ring.is-active {
  width: 64px;
  height: 64px;
  border-color: #68ff73;
}

@media (pointer: fine) {
  body.silk-has-cursor,
  body.silk-has-cursor a,
  body.silk-has-cursor button,
  body.silk-has-cursor [data-hover] {
    cursor: none;
  }

  body.silk-has-cursor input,
  body.silk-has-cursor textarea,
  body.silk-has-cursor select {
    cursor: auto;
  }
}

@media (max-width: 767px) {
  .silk-cursor-dot,
  .silk-cursor-ring {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .silk-cursor-dot,
  .silk-cursor-ring {
    display: none;
  }
}
