.click-captcha {
  margin: 16px 0 12px;
  user-select: none;
}
.click-captcha .cc-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: #666;
  margin-bottom: 8px;
}
.click-captcha .cc-refresh {
  font-size: 12px;
  color: var(--auth-primary, #1677ff);
  text-decoration: none;
}
.click-captcha .cc-refresh:hover { text-decoration: underline; }
.click-captcha .cc-prompt {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 600;
  color: #333;
}
.click-captcha .cc-board {
  position: relative;
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  cursor: crosshair;
  background: #eef2f7;
}
.click-captcha .cc-bg {
  display: block;
  width: 100%;
  height: auto;
  pointer-events: none;
  border-radius: 8px;
}
.click-captcha .cc-char {
  position: absolute;
  font-size: clamp(20px, 6vw, 26px);
  font-weight: 700;
  line-height: 1;
  pointer-events: none;
  text-shadow: 0 1px 2px rgba(255,255,255,.85), 0 0 1px rgba(255,255,255,.9);
  z-index: 2;
}
.click-captcha .cc-mark {
  position: absolute;
  width: 22px;
  height: 22px;
  margin: -11px 0 0 -11px;
  border-radius: 50%;
  background: var(--auth-primary, #1677ff);
  color: #fff;
  font-size: 12px;
  line-height: 22px;
  text-align: center;
  pointer-events: none;
  box-shadow: 0 2px 6px rgba(0,0,0,.2);
}
.click-captcha .cc-tip {
  margin: 8px 0 4px;
  font-size: 12px;
  color: #888;
}
.click-captcha.verified .cc-board { border-color: #86efac; }
.click-captcha.verified .cc-tip { color: #16a34a; }
.click-captcha.fail .cc-board { animation: cc-shake .35s; border-color: #fca5a5; }
.click-captcha .cc-loading, .click-captcha .cc-err {
  padding: 24px;
  text-align: center;
  font-size: 13px;
  color: #888;
  background: #f8fafc;
  border-radius: 8px;
}
@keyframes cc-shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-6px); }
  75% { transform: translateX(6px); }
}
