/* 右滑验证条 */
.vs-slide-captcha-track {
  position: relative;
  height: 42px;
  margin: 0 auto;
  border-radius: 21px;
  background: #111827;
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
  touch-action: none;
}

.vs-slide-captcha-track.is-done {
  border-color: rgba(16, 185, 129, 0.45);
}

.vs-slide-captcha-track-fill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0;
  background: linear-gradient(90deg, rgba(16, 185, 129, 0.35), rgba(16, 185, 129, 0.15));
  pointer-events: none;
}

.vs-slide-captcha-track-hint {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: #9ca3af;
  pointer-events: none;
}

.vs-slide-captcha-knob {
  position: absolute;
  left: 0;
  top: 2px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(180deg, #34d399, #10b981);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
  cursor: grab;
  touch-action: none;
}

/* CSS 右箭头（border 三角形，不依赖字体/transform，兼容旧 WebView） */
.vs-slide-captcha-knob::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  margin-top: -7px;
  margin-left: -3px;
  border-style: solid;
  border-width: 7px 0 7px 10px;
  border-color: transparent transparent transparent #fff;
  line-height: 0;
  font-size: 0;
  pointer-events: none;
}

.vs-slide-captcha-knob.is-done {
  cursor: default;
}

.vs-slide-captcha-knob:active {
  cursor: grabbing;
}

.vs-slide-captcha-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
  min-height: 20px;
}

.vs-slide-captcha-msg {
  font-size: 12px;
  color: #9ca3af;
}

.vs-slide-captcha-msg.is-error {
  color: #f87171;
}

.vs-slide-captcha-msg.is-ok {
  color: #34d399;
}

.vs-slide-captcha-refresh {
  border: none;
  background: transparent;
  color: #10b981;
  font-size: 13px;
  cursor: pointer;
  padding: 0;
}

.vs-slide-captcha-loading {
  text-align: center;
  padding: 24px 0;
  color: #9ca3af;
  font-size: 14px;
}

.vs-slide-captcha-fatal {
  padding: 16px 0 8px;
  text-align: center;
}

.vs-slide-captcha-fatal .vs-slide-captcha-msg {
  margin-bottom: 14px;
  font-size: 14px;
  line-height: 1.5;
}

.vs-slide-captcha-reload-btn {
  border: none;
  border-radius: 8px;
  padding: 10px 20px;
  background: #10b981;
  color: #fff;
  font-size: 14px;
  cursor: pointer;
}

/* 验证门整页 */
.vs-captcha-gate-page {
  margin: 0;
  min-height: 100vh;
  background: #0f1419;
  color: #e8e8e8;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.vs-captcha-gate-wrap {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 16px;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

.vs-captcha-gate {
  width: 92%;
  max-width: 380px;
  margin: 12vh auto 24px;
  padding: 28px 22px 24px;
  border-radius: 12px;
  background: #1a1f26;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
  text-align: center;
}

.vs-captcha-gate h1 {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 600;
}

.vs-captcha-gate p {
  margin: 0 0 20px;
  font-size: 14px;
  color: #9ca3af;
  line-height: 1.5;
}
