.magnifier {
  position: absolute;
  width: 180px;
  height: 180px;
  border: 3px solid #333;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  pointer-events: none;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.7);
  display: none;
  overflow: hidden;
  z-index: 2000;
}

.magnifier::before {
  content: '';
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  pointer-events: none;
}

.zoomed-area {
  position: absolute;
  top: 0;
  left: 0;
  transform-origin: 0 0;
}

/* 放大镜状态提示样式 */
.magnifier-status {
  position: fixed;
  top: 20px;
  right: 20px;
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 12px 16px;
  border-radius: 8px;
  z-index: 10001;
  font-size: 14px;
  font-family: Arial, sans-serif;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transform: translateX(calc(100% + 40px));
  opacity: 0;
  transition: transform 0.5s ease, opacity 0.3s ease;
}

.magnifier-status.show {
  transform: translateX(0);
  opacity: 1;
}

/* 帮助信息样式 */
.magnifier-help {
  position: fixed;
  bottom: 20px;
  left: 20px;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 12px 16px;
  border-radius: 8px;
  z-index: 10001;
  font-size: 12px;
  font-family: Arial, sans-serif;
  max-width: 300px;
  line-height: 1.4;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.magnifier-help.show {
  opacity: 1;
}
