.registry .xbyl-math-captcha {
  overflow: visible;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.registry .xbyl-math-captcha.is-invalid {
  border-color: rgba(255, 92, 116, 0.9);
  box-shadow: 0 0 0 2px rgba(255, 80, 105, 0.12);
}

.registry .xbyl-math-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(5.333vw, 22.827px);
  height: min(5.333vw, 22.827px);
  margin: min(3.2vw, 13.696px) 0 min(3.2vw, 13.696px) min(3.733vw, 15.979px);
  border-radius: 50%;
  background: linear-gradient(145deg, #8c72ff, #5c45d4);
  box-shadow: 0 3px 10px rgba(72, 50, 175, 0.35);
  color: #fff;
  font-size: min(3.467vw, 14.837px);
  font-weight: 700;
  line-height: 1;
}

.registry .xbyl-math-captcha .van-field__body {
  display: flex;
  align-items: center;
  width: 100%;
  min-width: 0;
  padding-right: min(2.4vw, 10.272px);
}

.registry .xbyl-math-question {
  flex: none;
  min-width: min(18.667vw, 79.893px);
  padding: min(1.067vw, 4.565px) min(2.133vw, 9.131px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: min(1.6vw, 6.848px);
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.94);
  font-family: DIN-Medium, PingFangSC-Semibold, sans-serif;
  font-size: min(3.467vw, 14.837px);
  font-weight: 600;
  letter-spacing: 0.02em;
  text-align: center;
  white-space: nowrap;
}

.registry .xbyl-math-input {
  min-width: 0;
  margin-left: min(2.4vw, 10.272px);
  padding: 0;
  color: rgba(255, 255, 255, 0.92) !important;
  caret-color: #fff;
}

.registry .xbyl-math-refresh {
  flex: none;
  width: min(7.467vw, 31.957px);
  height: min(7.467vw, 31.957px);
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.82);
  font-size: min(4.267vw, 18.261px);
  line-height: 1;
  cursor: pointer;
}

.registry .xbyl-math-refresh:disabled {
  opacity: 0.45;
}

.registry .xbyl-math-error {
  display: none;
  position: absolute;
  left: min(10.667vw, 45.653px);
  top: calc(100% + 3px);
  z-index: 2;
  color: #ff7185;
  font-size: min(2.933vw, 12.555px);
  line-height: 1.3;
  white-space: nowrap;
}

.registry .xbyl-math-captcha.is-invalid .xbyl-math-error {
  display: block;
}

.registry .xbyl-register-wallet {
  overflow: visible;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.registry .xbyl-register-wallet.is-invalid {
  border-color: rgba(255, 92, 116, 0.9);
  box-shadow: 0 0 0 2px rgba(255, 80, 105, 0.12);
}

.registry .xbyl-wallet-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(5.333vw, 22.827px);
  height: min(5.333vw, 22.827px);
  margin: min(3.2vw, 13.696px) 0 min(3.2vw, 13.696px) min(3.733vw, 15.979px);
  border-radius: 50%;
  background: linear-gradient(145deg, #21c7a8, #188f7c);
  box-shadow: 0 3px 10px rgba(20, 132, 111, 0.34);
  color: #fff;
  font-size: min(3.467vw, 14.837px);
  font-weight: 700;
}

.registry .xbyl-wallet-input {
  padding-right: min(3.2vw, 13.696px);
  color: rgba(255, 255, 255, 0.92) !important;
  caret-color: #fff;
}

.registry .xbyl-wallet-error {
  display: none;
  position: absolute;
  left: min(10.667vw, 45.653px);
  top: calc(100% + 3px);
  z-index: 2;
  color: #ff7185;
  font-size: min(2.933vw, 12.555px);
  line-height: 1.3;
  white-space: nowrap;
}

.registry .xbyl-register-wallet.is-invalid .xbyl-wallet-error {
  display: block;
}
