@charset "UTF-8";

:root {
  color-scheme: light;
  --bg: #f2f6fa;
  --surface: #ffffff;
  --ink: #172c46;
  --muted: #53677f;
  --subtle: #60738a;
  --accent: #0e6371;
  --blue: #245aca;
  --line: #d6e1eb;
  --font: "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 1rem/1.7 var(--font); -webkit-font-smoothing: antialiased; }
button { font: inherit; }
::selection { background: #cce9ee; color: var(--ink); }
.page-shell { max-width: 1240px; padding: 0 44px; margin: auto; }
.masthead { display: flex; justify-content: space-between; align-items: center; min-height: 82px; gap: 1rem; border-bottom: 1px solid var(--line); }
.site-brand { font: 800 1.375rem/1.2 Arial, sans-serif; letter-spacing: -.035em; }
.site-brand > span { color: var(--accent); }
.masthead-note { font-size: .875rem; color: var(--muted); }
.intro { padding: 32px 0 36px; text-align: center; }
.crypto-strip { display: flex; justify-content: center; gap: 38px; margin-bottom: 28px; }
.crypto-item { display: flex; align-items: center; gap: 11px; text-align: left; }
.logo-box { display: grid; place-items: center; width: 54px; height: 54px; background: white; border: 1px solid var(--line); border-radius: 15px; }
.logo-box img { width: 36px; height: 36px; object-fit: contain; }
.crypto-item > span:last-child { font: 650 1rem/1.3 Arial, var(--font); }
.crypto-item small { display: block; font: 400 .875rem/1.5 var(--font); margin-top: 3px; color: var(--muted); }
.logo-box.binance { background: #171d26; border-color: #171d26; }
.logo-box.binance img, .binance-card .exchange-logo img { filter: invert(78%) sepia(69%) saturate(907%) hue-rotate(352deg) brightness(100%) contrast(89%); }
.logo-box.okx img { filter: brightness(0); }
.logo-box.bitget, .bitget-card .exchange-logo { background: #172c46; border-color: #172c46; }
.eyebrow { margin: 0 0 10px; color: var(--accent); font-size: .8125rem; letter-spacing: .08em; }
h1 { margin: 0; font-size: clamp(1.85rem, 3.5vw, 2.7rem); font-weight: 650; line-height: 1.4; letter-spacing: -.04em; }
.intro-description { margin: 13px 0 0; color: var(--muted); font-size: 1rem; }
.exchange-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px 26px; align-items: start; }
.exchange-group { min-width: 0; --brand: #344963; --soft: #f1f4f8; }
.binance-group { --brand: #805d00; --soft: #fff9e6; }
.okx-group { --brand: #344963; --soft: #f1f4f8; }
.bitget-group { --brand: #006b70; --soft: #ecfafa; }
.gate-group { --brand: #175bcc; --soft: #eff5ff; }
.exchange-card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; box-shadow: 0 6px 24px #18375206; }
.exchange-heading { display: flex; align-items: center; gap: 15px; padding: 23px 25px; min-height: 109px; border-bottom: 1px solid var(--line); background: var(--soft); }
.exchange-logo { display: grid; place-items: center; flex: 0 0 54px; width: 54px; height: 54px; border-radius: 14px; background: white; border: 1px solid #172c4610; }
.exchange-logo img { width: 36px; height: 36px; object-fit: contain; }
.binance-card .exchange-logo, .okx-card .exchange-logo { background: #171d26; }
.okx-card .exchange-logo img { width: 45px; filter: brightness(0) invert(1); }
.exchange-english { font: 650 .75rem/1.3 Arial, sans-serif; letter-spacing: .08em; color: var(--brand); margin: 0 0 5px; }
h2 { font-size: 1.7rem; line-height: 1.2; font-weight: 650; letter-spacing: -.03em; margin: 0; }
.exchange-tag { margin-left: auto; font-size: .8125rem; color: var(--brand); background: white; border: 1px solid #172c4614; border-radius: 6px; padding: 4px 9px; white-space: nowrap; }
.card-content { padding: 0 24px 24px; }
.card-hint { margin: 16px 0 4px; font-size: .875rem; color: var(--muted); }
.tutorial { border-bottom: 1px solid var(--line); }
summary { list-style: none; display: flex; align-items: center; gap: 12px; padding: 17px 0; cursor: pointer; }
summary::-webkit-details-marker { display: none; }
summary:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 5px; }
summary:hover .option-label { color: var(--blue); }
.option-number { display: inline-grid; place-items: center; width: 26px; height: 26px; border: 1px solid var(--line); border-radius: 7px; flex: 0 0 26px; font: 500 .75rem/1 Arial, sans-serif; color: var(--muted); }
.option-label { font-size: 1rem; font-weight: 650; line-height: 1.4; }
.option-label small { display: block; font-size: .8125rem; font-weight: 400; color: var(--muted); line-height: 1.5; margin-top: 4px; }
.toggle { width: 25px; height: 25px; flex: 0 0 25px; border-radius: 50%; background: #edf3f9; position: relative; margin-left: auto; }
.toggle:before, .toggle:after { content: ""; position: absolute; background: #53677f; left: 8px; top: 11px; width: 9px; height: 2px; }
.toggle:after { transform: rotate(90deg); }
details[open] .toggle:after { transform: rotate(0); }
details[open] .option-number { color: var(--brand); background: var(--soft); border-color: #172c4624; }
.tutorial-body { padding: 0 0 18px 38px; }
.tutorial-body ol { list-style: none; padding: 0; margin: 0; }
.tutorial-body li { position: relative; padding: 0 0 13px 19px; border-left: 1px solid var(--line); margin-left: 4px; }
.tutorial-body li:last-child { padding-bottom: 0; border-left-color: transparent; }
.tutorial-body li:before { content: ""; position: absolute; left: -4px; top: 9px; width: 7px; height: 7px; border-radius: 50%; background: var(--brand); }
.tutorial-body strong { font-size: .9375rem; font-weight: 600; }
.tutorial-body p { color: var(--muted); font-size: 1rem; line-height: 1.8; margin: 4px 0 0; }
.tutorial-body .tutorial-lead { margin: 0 0 13px; color: var(--ink); }
.device-step { padding: 12px 14px; background: #f4f7fb; border-radius: 8px; margin-bottom: 10px; }
.device-step > span { font: 650 .9375rem/1.4 Arial, sans-serif; }
.tutorial-body .inline-note { font-size: .875rem; }
.invite-option { padding: 18px 0; border-bottom: 1px solid var(--line); }
.code-option { padding-bottom: 0; border-bottom: 0; }
.option-title { display: flex; gap: 12px; align-items: center; margin-bottom: 11px; }
h3 { font-size: 1rem; font-weight: 650; line-height: 1.5; margin: 0; }
.pending-tag { margin-left: auto; font-size: .75rem; color: var(--muted); background: #f0f4f8; padding: 3px 8px; border-radius: 5px; white-space: nowrap; }
.placeholder-field { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 54px; padding: 10px 12px; border: 1px dashed #c7d4e2; border-radius: 8px; background: #f7f9fc; color: var(--muted); font-size: .875rem; }
.placeholder-field button { flex-shrink: 0; white-space: nowrap; font-size: .8125rem; padding: 6px 9px; border: 1px solid #d6e0eb; border-radius: 5px; color: #8190a3; background: white; cursor: not-allowed; }
.wallet-card { margin-top: 16px; padding: 20px 22px; background: #eaf2f8; border: 1px solid #cbdbe9; border-radius: 14px; }
.wallet-heading { display: flex; align-items: center; gap: 11px; margin-bottom: 16px; }
.wallet-icon { display: grid; place-items: center; width: 38px; height: 38px; flex: 0 0 38px; color: var(--accent); background: white; border-radius: 10px; }
.wallet-icon svg { width: 21px; height: 21px; }
.wallet-kicker { margin: 0 0 2px; font: 600 .75rem/1.4 Arial, sans-serif; letter-spacing: .09em; color: var(--muted); }
.wallet-card h3 { font-size: 1rem; overflow-wrap: anywhere; }
.wallet-badge { margin-left: auto; color: var(--accent); font-size: .75rem; background: white; border: 1px solid #c8dbe1; border-radius: 5px; padding: 3px 7px; white-space: nowrap; }
.wallet-field + .wallet-field { margin-top: 12px; }
.wallet-field h4 { font-size: .875rem; line-height: 1.5; font-weight: 500; margin: 0 0 7px; }
.wallet-card .placeholder-field { background: #f8fbff; min-height: 49px; }
.wallet-footnote { margin: 13px 0 0; font-size: .75rem; color: var(--muted); line-height: 1.8; }
.page-note { display: flex; align-items: flex-start; gap: 12px; max-width: 915px; margin: 29px auto 32px; color: var(--muted); }
.page-note p { font-size: .8125rem; line-height: 1.85; margin: 0; }
.note-mark { display: grid; place-items: center; flex: 0 0 17px; width: 17px; height: 17px; border: 1px solid var(--muted); border-radius: 50%; font: 500 .75rem/1 Georgia, serif; margin-top: 4px; }
footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 82px; border-top: 1px solid var(--line); color: var(--muted); font-size: .8125rem; }
.footer-brand { font: 750 .9375rem/1.5 Arial, sans-serif; color: var(--ink); letter-spacing: -.03em; }
/* Each card has a registration area followed by a separate download area. */
.module-part { padding: 22px 24px; }
.part-heading { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.part-icon { display: grid; place-items: center; flex: 0 0 30px; width: 30px; height: 30px; border-radius: 8px; background: #eaf2f8; color: var(--accent); }
.part-icon svg { width: 19px; height: 19px; }
.part-heading h3, .part-heading h4 { margin: 0; font-size: 1.125rem; font-weight: 650; line-height: 1.5; }
.part-caption { margin-left: auto; font-size: .75rem; color: var(--muted); }
.registration-field + .registration-field { margin-top: 16px; }
.field-heading { display: flex; align-items: baseline; gap: 12px; margin-bottom: 8px; }
.field-heading h4, .field-heading h5 { margin: 0; font-size: .9375rem; font-weight: 550; line-height: 1.6; }
.download-part { border-top: 3px solid #cbdbe9; background: #f7f9fc; }
.download-part .part-icon { background: #e3edf8; color: var(--blue); }
.download-options { display: grid; gap: 11px; }
.download-option { display: flex; align-items: center; gap: 12px; padding: 13px 14px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.platform-icon { display: grid; place-items: center; flex: 0 0 39px; height: 39px; background: #eef3f8; border: 1px solid #dbe5ef; border-radius: 10px; color: var(--ink); font: 650 .8125rem/1 Arial, var(--font); }
.download-option-copy { min-width: 0; }
.download-option h4, .download-option h5 { margin: 0; font-size: 1rem; font-weight: 600; line-height: 1.5; }
.download-option p { margin: 3px 0 0; font-size: .8125rem; color: var(--muted); }
.download-button { margin-left: auto; flex-shrink: 0; min-width: 59px; min-height: 39px; padding: 7px 11px; border: 1px solid #d6e0eb; border-radius: 7px; background: #f2f6fa; color: #8190a3; font-size: .875rem; cursor: not-allowed; }
.compact-guide { margin-top: 13px; }
.compact-guide summary { padding: 9px 0; font-size: .875rem; color: var(--accent); }
.compact-guide .toggle { width: 22px; height: 22px; flex-basis: 22px; }
.compact-guide .toggle:before, .compact-guide .toggle:after { left: 7px; top: 10px; width: 8px; }
.compact-guide .tutorial-body { padding: 12px 0 0; }
.compact-guide .tutorial-body > h4 { margin: 16px 0 12px; font-size: .9375rem; font-weight: 600; }
.compact-guide .tutorial-body > h4:first-child { margin-top: 0; }
.exchange-group .wallet-card { padding: 0; overflow: hidden; }
.wallet-card .wallet-heading { margin-bottom: 0; padding: 19px 22px; border-bottom: 1px solid #cbdbe9; }
.wallet-card .module-part { padding: 19px 21px; }
.wallet-card .part-heading { margin-bottom: 15px; }
.wallet-card .part-heading h4 { font-size: 1rem; }
.wallet-card .part-icon { background: #fff; }
.wallet-card .download-part { background: #f8fbff; }
.wallet-download-note { margin: 13px 0 0; font-size: .8125rem; color: var(--muted); line-height: 1.8; }
@media(max-width: 920px) {
  .page-shell { padding: 0 26px; }
  .exchange-grid { gap: 28px 19px; }
  .exchange-heading { gap: 12px; padding: 21px 19px; }
  .exchange-tag { display: none; }
  .card-content { padding: 0 18px 22px; }
  .tutorial-body { padding-left: 16px; }
  .crypto-strip { gap: 23px; }
  .wallet-card { padding: 18px; }
  .placeholder-field { flex-wrap: wrap; }
  .module-part { padding: 20px 18px; }
}
@media(max-width: 680px) {
  .page-shell { padding: 0 18px; }
  .masthead { min-height: 72px; }
  .site-brand { font-size: 1.25rem; }
  .masthead-note { font-size: .75rem; }
  .intro { padding: 25px 0 28px; }
  .crypto-strip { gap: 8px; justify-content: space-between; max-width: 390px; margin: 0 auto 24px; }
  .crypto-item { flex-direction: column; text-align: center; gap: 8px; min-width: 59px; }
  .logo-box { width: 49px; height: 49px; border-radius: 13px; }
  .logo-box img { width: 33px; height: 33px; }
  .crypto-item > span:last-child { font-size: .875rem; }
  .crypto-item small { font-size: .75rem; }
  .eyebrow { font-size: .75rem; letter-spacing: .035em; }
  h1 { font-size: clamp(1.6rem, 6.5vw, 2.2rem); }
  .intro-description { font-size: 1rem; line-height: 1.8; max-width: 350px; margin: 11px auto 0; }
  .exchange-grid { grid-template-columns: 1fr; gap: 30px; }
  .exchange-heading { padding: 21px; }
  .exchange-tag { display: inline; }
  .card-content { padding: 0 20px 22px; }
  .tutorial-body { padding-left: 29px; }
  .wallet-card { margin-top: 13px; padding: 19px; }
  .page-note { margin: 26px 1px; }
  footer { flex-wrap: wrap; padding: 20px 0; gap: 8px; }
  footer > span:nth-child(2) { order: 3; flex-basis: 100%; }
}
@media(max-width: 360px) {
  .page-shell { padding: 0 13px; }
  .masthead-note { font-size: .75rem; }
  .card-content { padding: 0 15px 20px; }
  .tutorial-body { padding-left: 15px; }
  .exchange-heading { padding: 19px 16px; }
  .wallet-card { padding: 16px; }
  .wallet-badge { display: none; }
  .module-part, .wallet-card .module-part { padding: 18px 15px; }
  .wallet-card .wallet-heading { padding: 17px 16px; }
  .part-caption { display: none; }
  .download-option { padding: 12px 10px; gap: 9px; }
}
@media(prefers-reduced-motion: reduce) {
  *, *:before, *:after { scroll-behavior: auto!important; animation: none!important; transition: none!important; }
}

/* Unified module frames and full-width horizontal brand banners. */
.exchange-group { --frame: #91a8bf; }
.exchange-card, .wallet-card {
  border: 2px solid var(--frame);
  box-shadow: 0 5px 18px #172c460b;
}
.exchange-card { border-radius: 18px; }
.wallet-card { border-radius: 16px; margin-top: 22px; }
.exchange-card .download-part, .wallet-card .download-part {
  background: transparent;
  border-top: 2px solid #c1d0df;
}
.part-heading h3, .part-heading h4 { font-size: 1.25rem; }
.wallet-card .part-heading h4 { font-size: 1.125rem; }
.exchange-heading.brand-banner,
.wallet-card .wallet-heading.brand-banner {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  min-height: 126px;
  margin: 0;
  padding: 22px 24px;
  border-bottom: 2px solid var(--frame);
}
.brand-banner .exchange-logo {
  width: 88px;
  height: 76px;
  border: 0;
  border-radius: 14px;
  background: transparent;
}
.brand-banner .exchange-logo img { width: 64px; height: 64px; }
.brand-banner h2, .wallet-card .brand-banner h3 {
  margin: 0;
  font-size: 2rem;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -.04em;
  overflow-wrap: anywhere;
  white-space: normal;
}
.brand-banner .exchange-english {
  margin: 0;
  color: var(--ink);
  font: 750 1.5rem/1.2 Arial, sans-serif;
  letter-spacing: -.025em;
  text-align: right;
  white-space: nowrap;
}
.brand-banner .exchange-english small {
  display: block;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .1em;
  margin-top: 7px;
  color: var(--muted);
}
.binance-card .brand-banner .exchange-logo,
.binance-wallet-banner .exchange-logo { background: #171d26; }
.binance-wallet-banner .exchange-logo img {
  filter: invert(78%) sepia(69%) saturate(907%) hue-rotate(352deg) brightness(100%) contrast(89%);
}
.okx-card .brand-banner .exchange-logo,
.okx-wallet-banner .exchange-logo { background: #fff; }
.okx-card .brand-banner .exchange-logo img,
.okx-wallet-banner .exchange-logo img {
  width: 80px;
  height: 30px;
  filter: none;
}
.bitget-card .brand-banner .exchange-logo { background: #172c46; }
.wallet-card .wallet-heading.brand-banner { background: #dfebf5; }
.crypto-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 26px;
  max-width: 800px;
  margin: 0 auto 31px;
}
.crypto-item { flex-direction: column; text-align: center; gap: 12px; min-width: 0; }
.crypto-item .logo-box { width: 100%; max-width: 146px; height: 90px; border-radius: 17px; }
.crypto-item .logo-box img { width: 62px; height: 62px; }
.crypto-item .logo-box.okx { background: #fff; }
.crypto-item .logo-box.okx img { width: 116px; height: 38px; filter: none; }
.crypto-item > span:last-child { font-size: 1.125rem; }
.crypto-item small { font-size: .875rem; }
.intro { padding-bottom: 31px; }
.referral-notice {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 24px auto 0;
  text-align: left;
  border: 1px solid #bfd0df;
  border-radius: 13px;
  overflow: hidden;
  background: #fff;
}
.referral-benefit, .referral-reminder { padding: 19px 23px; }
.referral-reminder { border-left: 1px solid #bfd0df; background: #edf4fa; }
.notice-label { display: block; font-size: .8125rem; color: var(--accent); margin-bottom: 6px; }
.referral-notice h2 { font-size: 1.125rem; font-weight: 650; line-height: 1.55; letter-spacing: 0; }
.referral-notice p { font-size: .9375rem; line-height: 1.85; color: var(--muted); margin: 8px 0 0; }
.referral-notice strong { color: var(--ink); font-weight: 600; }
.referral-rules { text-align: left; margin: 8px auto 0; }
.referral-rules summary { justify-content: flex-start; padding: 10px 2px; color: var(--accent); font-size: .875rem; }
.referral-rules .toggle { margin-left: 4px; }
.rules-content { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 17px 21px; }
.rules-content p { font-size: .9375rem; line-height: 1.85; margin: 0 0 12px; color: var(--muted); }
.rules-content strong { color: var(--ink); }
.rules-content .rules-source { font-size: .75rem; margin-bottom: 0; }
@media(max-width: 1050px) and (min-width: 681px) {
  .exchange-heading.brand-banner, .wallet-card .wallet-heading.brand-banner {
    grid-template-columns: 66px minmax(0, 1fr) auto; gap: 11px; padding: 20px 17px; min-height: 108px;
  }
  .brand-banner .exchange-logo { width: 66px; height: 66px; }
  .brand-banner .exchange-logo img { width: 48px; height: 48px; }
  .okx-card .brand-banner .exchange-logo img, .okx-wallet-banner .exchange-logo img { width: 61px; height: 25px; }
  .brand-banner h2, .wallet-card .brand-banner h3 { font-size: 1.5rem; }
  .brand-banner .exchange-english { font-size: 1.08rem; }
  .gate-card .brand-banner h2 { font-size: 1.3rem; }
}
@media(max-width: 680px) {
  .crypto-strip { gap: 10px; max-width: 440px; margin-bottom: 26px; }
  .crypto-item { gap: 9px; }
  .crypto-item .logo-box { height: 68px; border-radius: 13px; }
  .crypto-item .logo-box img { width: 46px; height: 46px; }
  .crypto-item .logo-box.okx img { width: 68px; max-width: 90%; height: 26px; }
  .crypto-item > span:last-child { font-size: .9375rem; }
  .crypto-item small { font-size: .75rem; }
  .referral-notice { grid-template-columns: 1fr; margin-top: 20px; }
  .referral-benefit, .referral-reminder { padding: 16px 18px; }
  .referral-reminder { border-left: 0; border-top: 1px solid #bfd0df; }
  .referral-notice h2 { font-size: 1rem; }
  .exchange-heading.brand-banner, .wallet-card .wallet-heading.brand-banner {
    grid-template-columns: 74px minmax(0, 1fr) auto; gap: 13px; padding: 19px 18px; min-height: 114px;
  }
  .brand-banner .exchange-logo { width: 74px; height: 70px; }
  .brand-banner .exchange-logo img { width: 54px; height: 54px; }
  .okx-card .brand-banner .exchange-logo img, .okx-wallet-banner .exchange-logo img { width: 68px; height: 27px; }
  .brand-banner h2, .wallet-card .brand-banner h3 { font-size: 1.75rem; }
  .brand-banner .exchange-english { font-size: 1.25rem; }
  .gate-card .brand-banner h2 { font-size: 1.45rem; }
}
@media(max-width: 390px) {
  .exchange-heading.brand-banner, .wallet-card .wallet-heading.brand-banner {
    grid-template-columns: 60px minmax(0, 1fr) auto; padding: 17px 13px; gap: 9px;
  }
  .brand-banner .exchange-logo { width: 60px; height: 60px; }
  .brand-banner .exchange-logo img { width: 44px; height: 44px; }
  .okx-card .brand-banner .exchange-logo img, .okx-wallet-banner .exchange-logo img { width: 56px; height: 23px; }
  .brand-banner h2, .wallet-card .brand-banner h3 { font-size: 1.45rem; }
  .brand-banner .exchange-english { font-size: 1.05rem; }
  .brand-banner .exchange-english small { font-size: .75rem; letter-spacing: 0; }
  .gate-card .brand-banner h2 { font-size: 1.2rem; }
}
