/* 勇萌头像指针样式：只在桌面精细指针设备上替换鼠标。 */

.yongmeong-cursor {
  position: fixed;
  z-index: 2147483647;
  top: 0;
  left: 0;
  width: 48px;
  height: 48px;
  overflow: visible;
  border: 0;
  background: transparent;
  opacity: 0;
  pointer-events: none;
  will-change: transform;
  transition: opacity 100ms ease, width 140ms ease, height 140ms ease,
    margin 140ms ease, transform 40ms linear;
}

.yongmeong-cursor img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.yongmeong-cursor.is-visible { opacity: 1; }

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

  .yongmeong-cursor.is-interactive {
    width: 54px;
    height: 54px;
    margin: -3px 0 0 -3px;
  }

  .yongmeong-cursor.is-pressed {
    width: 43px;
    height: 43px;
    margin: 2px 0 0 2px;
  }
}

