/* 样式完全隔离 */
.hm-guide-wrapper {
  --hm-blue: #007dff;
  --hm-red: #f44336;
  --hm-text: #1a1a1a;
  font-family: "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.5;
}

.hm-guide-mask {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: flex; /* 开启 */
  justify-content: center;
  align-items: center;
  z-index: 999999;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.hm-guide-modal {
  width: 90%;
  max-width: 360px;
  background: #ffffff;
  border-radius: 24px;
  overflow: hidden;
  box-sizing: border-box;
  text-align: left;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  animation: hmSlideUp 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

@keyframes hmSlideUp {
  from {
    transform: translateY(50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.hm-guide-header {
  padding: 24px 20px 12px;
  text-align: center;
  background: linear-gradient(180deg, #f0f7ff 0%, #ffffff 100%);
}

.hm-guide-header h3 {
  margin: 0;
  font-size: 19px;
  color: var(--hm-text);
  font-weight: 600;
}

.hm-guide-safe-tag {
  display: inline-flex;
  align-items: center;
  margin-top: 10px;
  padding: 3px 10px;
  background: #e6f1ff;
  color: var(--hm-blue);
  font-size: 12px;
  border-radius: 6px;
  font-weight: 500;
}

.hm-guide-body {
  padding: 0 20px 16px;
  max-height: 60vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.hm-guide-step {
  margin-top: 20px;
}

.hm-guide-step-title {
  font-size: 15px;
  font-weight: bold;
  color: #333;
  margin-bottom: 10px;
  display: flex;
  align-items: flex-start;
}

.hm-guide-step-num {
  background: var(--hm-blue);
  color: #fff;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 12px;
  margin-right: 8px;
  flex-shrink: 0;
  margin-top: 1px;
}

.hm-guide-img-container {
  width: 100%;
  border-radius: 12px;
  border: 1px solid #eee;
  overflow: hidden;
  background: #f8f8f8;
}

.hm-guide-img {
  width: 100%;
  display: block;
}

.hm-guide-highlight-blue {
  color: var(--hm-blue);
  font-weight: bold;
}
.hm-guide-highlight-red {
  color: var(--hm-red);
  font-weight: bold;
}

.hm-guide-footer {
  padding: 10px 20px 24px;
}

.hm-guide-btn {
  width: 100%;
  height: 50px;
  background: var(--hm-blue);
  color: #fff;
  border: none;
  border-radius: 14px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.hm-guide-btn:active {
  background: #0066cc;
}

.hm-guide-tip {
  text-align: center;
  font-size: 12px;
  color: #999;
  margin-top: 12px;
}
