
:root {
  --bg: #07111b;
  --bg-deep: #040b12;
  --surface: rgba(12, 29, 43, 0.78);
  --surface-strong: #0d2131;
  --surface-soft: rgba(22, 49, 65, 0.62);
  --text: #eefaff;
  --muted: #9ab2bf;
  --faint: #708a98;
  --line: rgba(151, 219, 230, 0.15);
  --line-strong: rgba(151, 219, 230, 0.27);
  --primary: #61dfc6;
  --primary-strong: #39c7b2;
  --accent: #8aa8ff;
  --danger: #ff7a91;
  --success: #63e6a7;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-sm: 10px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  background:
    radial-gradient(
      circle at 18% 18%,
      rgba(97, 223, 198, 0.09),
      transparent 34%
    ),
    radial-gradient(
      circle at 82% 72%,
      rgba(138, 168, 255, 0.09),
      transparent 36%
    ),
    linear-gradient(145deg, var(--bg-deep), var(--bg));
  color: var(--text);
  font-family:
    Inter, "SF Pro Display", "PingFang SC", "Microsoft YaHei",
    "Noto Sans SC", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
button,
input {
  font: inherit;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
.page-shell {
  min-height: 100vh;
  overflow: hidden;
  position: relative;
}
.site-header {
  align-items: center;
  display: flex;
  height: 76px;
  padding: 0 clamp(20px, 4vw, 54px);
  position: relative;
  z-index: 5;
}
.brand {
  align-items: center;
  display: inline-flex;
  gap: 10px;
}
.brand-mark {
  align-items: center;
  background: rgba(97, 223, 198, 0.08);
  border: 1px solid rgba(97, 223, 198, 0.18);
  border-radius: 12px;
  display: inline-flex;
  height: 42px;
  justify-content: center;
  overflow: hidden;
  width: 42px;
}
.brand-mark img {
  display: block;
  height: 100%;
  object-fit: contain;
  width: 100%;
}
.brand-name {
  font-size: 18px;
  font-weight: 750;
  letter-spacing: 0.03em;
}
.main-content {
  min-height: calc(100vh - 76px);
  padding: 26px 22px 62px;
  position: relative;
}
.bg-grid {
  background-image:
    linear-gradient(rgba(126, 190, 203, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(126, 190, 203, 0.04) 1px, transparent 1px);
  background-size: 34px 34px;
  inset: 0;
  mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.7),
    transparent 86%
  );
  pointer-events: none;
  position: absolute;
}
.glow {
  border: 1px solid rgba(116, 214, 208, 0.1);
  border-radius: 999px;
  filter: blur(1px);
  pointer-events: none;
  position: absolute;
}
.glow-a {
  height: 460px;
  right: -210px;
  top: 20px;
  transform: rotate(20deg);
  width: 460px;
}
.glow-b {
  bottom: -280px;
  height: 520px;
  left: -240px;
  transform: rotate(-18deg);
  width: 520px;
}
.registration-section {
  margin: 0 auto;
  max-width: 940px;
  position: relative;
  width: 100%;
  z-index: 2;
}
.intro-copy {
  margin: 4px auto 30px;
  max-width: 720px;
  text-align: center;
}
.eyebrow {
  align-items: center;
  color: var(--primary);
  display: inline-flex;
  font-size: 12px;
  font-weight: 800;
  gap: 9px;
  letter-spacing: 0.12em;
}
.eyebrow-dot {
  background: var(--primary);
  border-radius: 50%;
  box-shadow: 0 0 14px rgba(97, 223, 198, 0.7);
  height: 6px;
  width: 6px;
}
h1 {
  font-size: clamp(42px, 6vw, 72px);
  font-weight: 820;
  letter-spacing: -0.055em;
  line-height: 1.02;
  margin: 14px 0 13px;
}
.intro-text {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
  margin: 0;
}
.form-layout {
  align-items: start;
  display: grid;
  gap: 18px;
  grid-template-columns: 210px minmax(0, 1fr);
  margin: 0 auto;
  max-width: 820px;
}
.form-aside {
  background: linear-gradient(
    160deg,
    rgba(17, 42, 56, 0.72),
    rgba(7, 18, 28, 0.74)
  );
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 24px 20px;
  position: sticky;
  top: 20px;
}
.aside-kicker {
  color: var(--accent);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
}
.aside-note {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.75;
  margin: 18px 0 0;
}
.status-chip {
  align-items: center;
  background: rgba(99, 230, 167, 0.08);
  border: 1px solid rgba(99, 230, 167, 0.16);
  border-radius: 999px;
  color: #baf7d5;
  display: inline-flex;
  font-size: 12px;
  gap: 8px;
  margin-top: 22px;
  padding: 8px 11px;
}
.status-dot {
  background: var(--success);
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(99, 230, 167, 0.7);
  height: 6px;
  width: 6px;
}
.registration-form {
  background: linear-gradient(
    180deg,
    rgba(16, 38, 54, 0.88),
    rgba(7, 18, 28, 0.91)
  );
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 28px;
  position: relative;
}
.registration-form::before {
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  content: "";
  height: 2px;
  left: 22px;
  opacity: 0.6;
  position: absolute;
  right: 22px;
  top: 0;
}
.field-group + .field-group {
  margin-top: 18px;
}
label {
  display: block;
  font-size: 13px;
  font-weight: 760;
  margin-bottom: 8px;
}
.input-wrap {
  align-items: center;
  background: rgba(4, 13, 21, 0.52);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  display: flex;
  min-height: 52px;
  padding: 0 13px;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}
.input-wrap:focus-within {
  background: rgba(8, 25, 36, 0.88);
  border-color: rgba(97, 223, 198, 0.68);
  box-shadow: 0 0 0 4px rgba(97, 223, 198, 0.08);
}
.field-index {
  align-items: center;
  background: rgba(138, 168, 255, 0.1);
  border: 1px solid rgba(138, 168, 255, 0.12);
  border-radius: 7px;
  color: #b8c8ff;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 10px;
  font-variant-numeric: tabular-nums;
  font-weight: 800;
  height: 26px;
  justify-content: center;
  letter-spacing: 0.08em;
  margin-right: 12px;
  width: 30px;
}
input {
  background: transparent;
  border: 0;
  color: var(--text);
  flex: 1;
  font-size: 15px;
  min-width: 0;
  outline: 0;
  padding: 14px 0;
}
input::placeholder {
  color: var(--faint);
  opacity: 1;
}
.network-badge {
  background: rgba(97, 223, 198, 0.1);
  border: 1px solid rgba(97, 223, 198, 0.22);
  border-radius: 7px;
  color: #a4f0df;
  flex: 0 0 auto;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.08em;
  padding: 6px 8px;
}
.field-hint {
  color: var(--faint);
  font-size: 11px;
  line-height: 1.5;
  margin: 7px 0 0;
}
.field-error {
  color: var(--danger);
  font-size: 12px;
  margin: 0;
  min-height: 0;
}
.field-error:not(:empty) {
  margin-top: 7px;
}
.has-error .input-wrap {
  border-color: rgba(255, 122, 145, 0.7);
}
.upload-box {
  align-items: center;
  background: rgba(4, 13, 21, 0.52);
  border: 1px dashed rgba(151, 219, 230, 0.28);
  border-radius: var(--radius-md);
  display: flex;
  gap: 12px;
  margin-bottom: 0;
  min-height: 72px;
  padding: 12px;
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    transform 0.2s ease;
}
.upload-box:hover {
  background: rgba(12, 33, 44, 0.72);
  border-color: rgba(97, 223, 198, 0.5);
  transform: translateY(-1px);
}
.upload-input {
  height: 1px;
  opacity: 0;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}
.upload-icon {
  align-items: center;
  background: rgba(97, 223, 198, 0.1);
  border: 1px solid rgba(97, 223, 198, 0.18);
  border-radius: 10px;
  color: var(--primary);
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 20px;
  height: 42px;
  justify-content: center;
  width: 42px;
}
.upload-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}
.upload-copy strong {
  font-size: 13px;
  font-weight: 760;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.upload-copy small {
  color: var(--faint);
  font-size: 10px;
}
.upload-action {
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  font-size: 11px;
  margin-left: auto;
  padding: 7px 10px;
}
.image-preview {
  align-items: center;
  background: rgba(4, 13, 21, 0.55);
  border: 1px solid var(--line);
  border-radius: 12px;
  display: flex;
  gap: 12px;
  margin-top: 10px;
  padding: 9px;
}
.image-preview[hidden] {
  display: none;
}
.image-preview img {
  border-radius: 8px;
  height: 52px;
  object-fit: cover;
  width: 68px;
}
.remove-image {
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  font-size: 11px;
  margin-left: auto;
  padding: 7px 10px;
}
.remove-image:hover {
  border-color: rgba(255, 122, 145, 0.32);
  color: #ffc1cb;
}
.submit-button {
  align-items: center;
  background: linear-gradient(110deg, var(--primary), #6bdfef);
  border: 0;
  border-radius: 12px;
  box-shadow: 0 12px 26px rgba(62, 204, 186, 0.16);
  color: #062019;
  display: flex;
  font-size: 14px;
  font-weight: 850;
  justify-content: space-between;
  margin-top: 24px;
  min-height: 52px;
  padding: 0 18px 0 20px;
  transition:
    transform 0.2s ease,
    filter 0.2s ease,
    box-shadow 0.2s ease;
  width: 100%;
}
.submit-button:hover {
  box-shadow: 0 14px 34px rgba(62, 204, 186, 0.22);
  filter: brightness(1.05);
  transform: translateY(-2px);
}
.submit-button:active {
  transform: translateY(0);
}
.submit-arrow {
  align-items: center;
  background: rgba(6, 32, 25, 0.1);
  border-radius: 999px;
  display: inline-flex;
  font-size: 19px;
  height: 30px;
  justify-content: center;
  width: 30px;
}
.form-footnote {
  align-items: center;
  color: var(--faint);
  display: flex;
  font-size: 11px;
  gap: 7px;
  justify-content: center;
  margin: 12px 0 0;
}
.lock-icon {
  border: 1px solid var(--faint);
  border-radius: 3px;
  display: inline-block;
  height: 9px;
  position: relative;
  width: 8px;
}
.lock-icon::before {
  border: 1px solid var(--faint);
  border-bottom: 0;
  border-radius: 5px 5px 0 0;
  content: "";
  height: 6px;
  left: 1px;
  position: absolute;
  top: -6px;
  width: 4px;
}
.toast {
  background: #10283a;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  bottom: 24px;
  color: var(--text);
  font-size: 13px;
  left: 50%;
  max-width: calc(100vw - 30px);
  opacity: 0;
  padding: 12px 16px;
  pointer-events: none;
  position: fixed;
  transform: translate(-50%, 16px);
  transition:
    opacity 0.22s ease,
    transform 0.22s ease;
  z-index: 30;
}
.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
.success-overlay {
  align-items: center;
  backdrop-filter: blur(10px);
  background: rgba(2, 9, 14, 0.76);
  display: flex;
  inset: 0;
  justify-content: center;
  opacity: 0;
  padding: 22px;
  pointer-events: none;
  position: fixed;
  transition: opacity 0.25s ease;
  z-index: 40;
}
.success-overlay.is-visible {
  opacity: 1;
  pointer-events: auto;
}
.success-dialog {
  background: linear-gradient(
    165deg,
    rgba(17, 43, 58, 0.98),
    rgba(7, 18, 28, 0.98)
  );
  border: 1px solid var(--line-strong);
  border-radius: 22px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.48);
  max-width: 430px;
  padding: 34px 28px 28px;
  text-align: center;
  transform: translateY(12px) scale(0.98);
  transition: transform 0.25s ease;
  width: 100%;
}
.success-overlay.is-visible .success-dialog {
  transform: translateY(0) scale(1);
}
.success-mark {
  align-items: center;
  background: rgba(99, 230, 167, 0.12);
  border: 1px solid rgba(99, 230, 167, 0.26);
  border-radius: 50%;
  color: var(--success);
  display: flex;
  font-size: 24px;
  height: 54px;
  justify-content: center;
  margin: 0 auto 18px;
  width: 54px;
}
.success-eyebrow {
  letter-spacing: 0.08em;
}
.success-dialog h2 {
  font-size: 24px;
  letter-spacing: -0.02em;
  line-height: 1.35;
  margin: 13px 0 10px;
}
.success-dialog > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
  margin: 0;
}
.secondary-button {
  background: rgba(97, 223, 198, 0.1);
  border: 1px solid rgba(97, 223, 198, 0.24);
  border-radius: 10px;
  color: #baf7eb;
  margin-top: 24px;
  min-height: 44px;
  padding: 0 22px;
}
.secondary-button:hover {
  background: rgba(97, 223, 198, 0.16);
}

/* ============ 新增样式 ============ */
.checkbox-input-wrap {
  cursor: pointer;
  gap: 10px;
}
.checkbox-input-wrap input[type="checkbox"] {
  flex: unset;
  width: 18px;
  height: 18px;
  accent-color: var(--primary);
}
.copy-address-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
}
.copy-address-text {
  color: var(--text);
  font-size: 12px;
  word-break: break-all;
  flex: 1;
}
.copy-btn {
  color: var(--danger);
  font-size: 12px;
  background: transparent;
  border: none;
  padding: 4px 6px;
  font-weight: 700;
  white-space: nowrap;
}
.copy-btn:hover {
  color: #ffb0bc;
}
#verify-identity-panel {
  margin-top: 14px;
}
@media (max-width: 760px) {
  .site-header {
    height: 60px;
    padding: 0 16px;
  }
  .brand-mark {
    height: 36px;
    width: 36px;
  }
  .brand-name {
    font-size: 16px;
  }
  .main-content {
    min-height: calc(100vh - 60px);
    padding: 12px 14px 30px;
  }
  .intro-copy {
    margin-bottom: 18px;
  }
  h1 {
    font-size: 40px;
    margin: 10px 0 8px;
  }
  .intro-text {
    font-size: 13px;
  }
  .form-layout {
    display: block;
    max-width: 560px;
  }
  .form-aside {
    align-items: center;
    background: transparent;
    border: 0;
    box-shadow: none;
    display: flex;
    flex-wrap: wrap;
    gap: 7px 12px;
    margin: 0 4px 10px;
    padding: 0;
    position: static;
  }
  .aside-kicker {
    order: 1;
  }
  .status-chip {
    margin: 0;
    order: 2;
    padding: 6px 9px;
  }
  .aside-note {
    flex-basis: 100%;
    font-size: 11px;
    margin: 0;
    order: 3;
  }
  .registration-form {
    border-radius: 18px;
    padding: 18px;
  }
  .field-group + .field-group {
    margin-top: 14px;
  }
  .input-wrap {
    min-height: 47px;
  }
  input {
    font-size: 14px;
    padding: 12px 0;
  }
  .upload-box {
    min-height: 66px;
  }
  .submit-button {
    margin-top: 20px;
    min-height: 49px;
  }
}
@media (max-width: 390px) and (max-height: 740px) {
  .aside-note {
    display: none;
  }
  h1 {
    font-size: 36px;
  }
  .intro-copy {
    margin-bottom: 13px;
  }
  .registration-form {
    padding: 15px;
  }
  .field-group + .field-group {
    margin-top: 11px;
  }
  label {
    margin-bottom: 6px;
  }
  .input-wrap {
    min-height: 43px;
  }
  .upload-box {
    min-height: 58px;
    padding: 8px 10px;
  }
  .upload-icon {
    height: 36px;
    width: 36px;
  }
  .field-hint {
    margin-top: 5px;
  }
  .submit-button {
    margin-top: 16px;
    min-height: 46px;
  }
  .form-footnote {
    font-size: 10px;
    margin-top: 9px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
