/* ===== 优化后的鼠标光标样式 ===== */
.mouse-cursor {
  position: fixed;
  left: 0;
  top: 0;
  pointer-events: none;
  border-radius: 50%;
  transform: translateZ(0);
  visibility: hidden;
  z-index: 10000000; /* 统一层级 */
}

.cursor-inner {
  width: 5px;
  height: 5px;
  margin: -3px 0 0 -3px;
  background: #03A9F4;
  transition: all .08s ease-in-out;
  z-index: 10000001;
}

.cursor-inner.cursor-hover {
  width: 45px;
  height: 45px;
  margin: -20px 0 0 -20px;
  background: #ff676c;
  opacity: .6;
}

.cursor-outer {
  width: 40px;
  height: 40px;
  margin: -20px 0 0 -20px;
  border: 3px solid #03A9F4;
  box-sizing: border-box;
  opacity: .6;
  transition: all .08s ease-out;
}

.cursor-outer.cursor-hover {
  opacity: 0;
}

/* ===== 优化后的右键菜单样式 ===== */
a {
  text-decoration: none;
}

div.usercm {
  position: absolute;
  display: none;
  width: 130px;
  background: #fff !important;
  border-radius: 8px;
  box-shadow: 0 0 15px #333;
  opacity: 0.9;
  z-index: 10000;
  font-size: 13px !important;
  padding: 5px 0; /* 增加垂直内边距 */
}

div.usercm ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

div.usercm li {
  line-height: 35px;
}

div.usercm a {
  display: block;
  color: #666;
  padding: 0 15px;
  transition: background .2s, color .2s; /* 添加过渡效果 */
}

div.usercm a:hover {
  color: #fff;
  background: #67b8ff;
}

div.usercm a i {
  margin-right: 10px;
}

a.disabled {
  color: #c8c8c8 !important;
  cursor: not-allowed;
  background: transparent !important; /* 防止悬停背景色 */
}

/* ===== 响应式处理 ===== */
@media (max-width: 1023px) {
  .mouse-cursor { display: none }
}

.main-wrapper[data-magic-cursor="hide"] .mouse-cursor {
  display: none;
  opacity: 0;
  visibility: hidden;
  z-index: -1111;
}
