/* 9Y 注册页 + 滑动验证 */
#register-page {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100000;
  background: var(--app-bg-color, #f5f7fb);
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

#register-page.show {
  display: block;
}

#register-page .register-shell {
  min-height: 100%;
  background: var(--app-bg-color, #f5f7fb);
}

#register-page .register-header {
  height: 120px;
  display: flex;
  justify-content: space-between;
  padding: 25px 23px 11px 32px;
  background: var(--app-second-color, #fff);
}

#register-page .register-header img {
  height: 47px;
  width: auto;
  display: block;
}

#register-page .register-header .reg-title {
  font-size: 16px;
  color: var(--app-vice-font-color, #646566);
  font-weight: 600;
  margin-top: 8px;
}

#register-page .register-header-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
}

#register-page .register-header-actions .svg-icon {
  width: 24px;
  height: 24px;
  color: var(--app-assist-color, #969799);
  cursor: pointer;
}

#register-page .register-body {
  display: grid;
  gap: 12px;
  padding: 20px 20px 30px;
}

#register-page .register-bonus-tip {
  font-size: 13px;
  color: var(--app-active-color, #1989fa);
  background: rgba(25, 137, 250, 0.08);
  border: 1px solid rgba(25, 137, 250, 0.2);
  border-radius: 6px;
  padding: 10px 12px;
  text-align: center;
}

#register-page .register-bonus-tip span {
  font-weight: 700;
  color: #ee1c25;
}

#register-page .reg-field {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--app-second-color, #fff);
  border: 1px solid var(--app-border-color, #ebedf0);
  border-radius: 6px;
  padding: 10px 12px;
  transition: border-color 0.2s;
}

#register-page .reg-field:focus-within {
  border-color: var(--app-active-color, #1989fa);
}

#register-page .reg-field .svg-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: var(--app-assist-color, #969799);
}

#register-page .reg-field input {
  flex: 1;
  min-width: 0;
  border: none;
  outline: none;
  background: transparent;
  font-size: 14px;
  color: var(--app-font-color, #323233);
  height: 24px;
}

#register-page .reg-field input::placeholder {
  color: var(--app-assist-color, #c8c9cc);
}

#register-page .reg-eye {
  cursor: pointer;
}

#register-page .reg-tip {
  font-size: 12px;
  color: var(--app-error-color, #ee0a24);
  line-height: 1.4;
}

#register-page .reg-submit {
  width: 100%;
  height: 44px;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  color: #fff;
  background: linear-gradient(90deg, #3b9bff, #1989fa);
  cursor: pointer;
}

#register-page .reg-submit:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

#register-page .reg-quick-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
}

#register-page .reg-quick-title .line {
  flex: 1;
  height: 1px;
  background: var(--app-border-color, #ebedf0);
}

#register-page .reg-quick-title span {
  font-size: 12px;
  color: var(--app-vice-font-color, #969799);
}

#register-page .reg-tg {
  display: flex;
  justify-content: center;
  padding: 8px 0 4px;
}

#register-page .reg-tg .svg-icon {
  width: 32px;
  height: 32px;
  color: var(--app-assist-color, #969799);
}

#register-page .reg-actions {
  display: grid;
  grid-auto-flow: column;
  gap: 13px;
}

#register-page .reg-action-btn {
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: var(--app-second-color, #fff);
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  color: var(--app-vice-font-color, #646566);
}

#register-page .reg-action-btn .svg-icon {
  width: 24px;
  height: 24px;
  margin-right: 10px;
  color: var(--app-assist-color, #969799);
}

#register-page .reg-agree {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-size: 12px;
  color: var(--app-vice-font-color, #969799);
  line-height: 1.5;
}

#register-page .reg-agree .svg-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 1px;
  color: var(--app-assist-color, #1989fa);
}

#register-page .reg-agree .link {
  color: var(--app-active-color, #1989fa);
}

/* 滑动验证 */
#slide-verify {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100001;
  background: rgba(0, 0, 0, 0.55);
  align-items: center;
  justify-content: center;
  padding: 20px;
}

#slide-verify.show {
  display: flex;
}

.slide-box {
  width: 100%;
  max-width: 320px;
  background: #fff;
  border-radius: 12px;
  padding: 18px 16px 16px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
}

.slide-box-title {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  text-align: center;
  margin-bottom: 6px;
}

.slide-box-sub {
  font-size: 12px;
  color: #909399;
  text-align: center;
  margin-bottom: 16px;
}

.slide-track {
  position: relative;
  height: 42px;
  border-radius: 21px;
  background: #f2f3f5;
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
  touch-action: none;
}

.slide-track-fill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0;
  background: linear-gradient(90deg, rgba(25, 137, 250, 0.25), rgba(25, 137, 250, 0.45));
  border-radius: 21px;
  pointer-events: none;
}

.slide-track-text {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: #909399;
  pointer-events: none;
  z-index: 1;
}

.slide-btn {
  position: absolute;
  left: 0;
  top: 0;
  width: 46px;
  height: 42px;
  border-radius: 21px;
  background: linear-gradient(180deg, #3b9bff, #1989fa);
  box-shadow: 0 2px 8px rgba(25, 137, 250, 0.35);
  cursor: grab;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
}

.slide-btn:active {
  cursor: grabbing;
}

.slide-msg {
  min-height: 20px;
  margin-top: 10px;
  font-size: 13px;
  text-align: center;
  color: #ee0a24;
}

.slide-msg.ok {
  color: #07c160;
}

.slide-close {
  display: block;
  width: 100%;
  margin-top: 12px;
  height: 36px;
  border: 1px solid #ebedf0;
  border-radius: 8px;
  background: #fff;
  color: #646566;
  font-size: 13px;
  cursor: pointer;
}
