:root {
  --bg: #181b2a;
  --bg-deep: #181d25;
  --bg-header: #181d25;
  --panel: #262a42;
  --panel-2: #2e3345;
  --line: rgba(255, 255, 255, .07);
  --line-strong: rgba(255, 255, 255, .13);
  --text: #c7cce6;
  --text-hi: #fff;
  --muted: #61688a;
  --muted-2: #4e5b85;
  --accent: #00a4d8;
  --btn: #7a98f7;
  --btn-hi: #8fa9f9;
  --up: #55a067;
  --down: #cc4951;
  --warn: #f39c12;
  --num: 'Roboto Condensed', 'Arial Narrow', Arial, sans-serif;
  --sans: -apple-system, 'Segoe UI', Roboto, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --header-h: 49px;
  --pad: 24px;
  --maxw: 1400px;
}

* { box-sizing: border-box; }
/* 参考满幅块实测 w1434 = 1440 视口 - 6px 页面滚动条（他们 .scroll 定的就是 width:6px + 黑槽 + #2e333c 滑块）；
   不补这条，我们所有居中容器会比参考偏 4.5px */
::-webkit-scrollbar { width: 6px; height: 6px; background-color: #000; }
::-webkit-scrollbar-thumb { border-radius: 3px; background-color: #2e333c; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg-deep);
  color: var(--text);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
input, select { font-family: inherit; }
.num { font-family: var(--num); font-variant-numeric: tabular-nums; }
.up { color: var(--up); }
.down { color: var(--down); }
.muted { color: var(--muted); }
.hi { color: var(--text-hi); }

/* ---------- header ---------- */
.site-header {
  height: var(--header-h);
  background: var(--bg-header);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  padding: 0 var(--pad);
  gap: 28px;
  white-space: nowrap;
}
.wordmark {
  display: flex;
  align-items: center;
  font-family: var(--num);
  font-weight: 300;
  font-size: 26px;
  letter-spacing: 4px;
  color: var(--text-hi);
  flex: 0 0 auto;
}
.wordmark .coin {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  margin: 0 -1px;
  background: radial-gradient(circle at 34% 30%, #ffd27a, #f0a02c 58%, #c97712);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35);
  position: relative;
}
.wordmark .coin::after {
  content: '';
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, .55);
}
.main-nav { display: flex; align-items: center; gap: 24px; font-size: 15px; }
.main-nav a { padding: 4px 0; color: var(--text); transition: color .15s; }
.main-nav a:hover { color: var(--text-hi); }
.main-nav a.active { color: var(--accent); }
.main-nav a.strong { color: var(--text-hi); font-weight: 700; }
.header-right { margin-left: auto; display: flex; align-items: center; gap: 20px; font-size: 15px; }
.header-right .hlink { display: flex; align-items: center; gap: 6px; color: var(--text); }
.header-right .hlink:hover { color: var(--text-hi); }
.lang-pick { background: none; border: 0; color: var(--text); font-size: 15px; }
.tbl-scroll { min-width: 0; }

/* ---------- simulated-platform marker ---------- */
.sim-ribbon {
  background: rgba(243, 156, 18, .13);
  border-bottom: 1px solid rgba(243, 156, 18, .3);
  color: #f0b95c;
  font-size: 12px;
  padding: 6px var(--pad);
  display: flex;
  align-items: center;
  gap: 10px;
}
.sim-ribbon b { font-weight: 700; letter-spacing: .5px; }
.sim-badge {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 60;
  background: rgba(24, 27, 42, .92);
  border: 1px solid rgba(243, 156, 18, .45);
  color: #f0b95c;
  font-size: 11px;
  line-height: 1.35;
  padding: 8px 11px;
  border-radius: 4px;
  text-align: right;
  pointer-events: none;
}
.sim-badge b { display: block; font-size: 12px; letter-spacing: 1px; }

/* ---------- layout ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); }
.section { padding: 40px 0; }
.section-title { font-size: 24px; color: var(--text-hi); margin: 0 0 20px; font-weight: 400; }

/* ---------- hero ---------- */
.hero { background: #0b1020; overflow: hidden; }
.hero-slides { display: flex; height: 400px; }
.hero-slide {
  flex: 1 1 0; min-width: 0; height: 100%;
  background-size: cover; background-position: center;
  filter: brightness(.92) saturate(.95);
  transition: flex-grow .55s ease, filter .55s ease;
}
.hero-slide.on { flex-grow: 1.7; filter: none; }
.hero-slide[data-photo="1"] { background-image: url("img/hero-1.jpg?v=1"); }
.hero-slide[data-photo="2"] { background-image: url("img/hero-2.jpg?v=1"); }
.hero-slide[data-photo="3"] { background-image: url("img/hero-3.jpg?v=1"); }
.hero-caption {
  position: relative;
  background: linear-gradient(180deg, #0a1a3c 0%, #091534 100%);
  padding: 40px var(--pad) 62px;
}
.hero-caption h1 {
  margin: 0;
  font-family: var(--num);
  font-weight: 700;
  font-size: 44px;
  line-height: 1.3;
  letter-spacing: -1px;
  color: #2f7fd6;
  text-transform: uppercase;
}
.hero-dots { position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; }
.hero-dots i { width: 26px; height: 3px; background: rgba(255, 255, 255, .28); cursor: pointer; }
.hero-dots i.on { background: var(--accent); }

/* ---------- home bands ---------- */
.band { padding: 46px 0 54px; }
.band-light { background: #fff; color: #333; }
.band-light .fav-btn { margin-bottom: 18px; }
.band-light .mkt-table th { color: #9aa0ab; border-bottom-color: #eef0f4; }
.band-light .mkt-table td { color: #333; border-bottom-color: #f2f4f7; }
.band-light .mkt-table tbody tr:hover { background: #f7f9fc; }
.band-light .mkt-base { color: #1c2029; }
.band-light .mkt-quote { color: #9aa0ab; }
.band-light .hi { color: #1c2029; }
.band-light .star { color: #cfd4dc; }
.band-light .star.on { color: var(--accent); }
.band-note { font-size: 12px; color: #8b93a1; margin-top: 18px; }
.band-title { font-size: 26px; font-weight: 400; color: #1c2029; text-align: center; margin: 56px 0 12px; }
.band-title b { font-family: var(--num); font-weight: 700; }
.band-sub { text-align: center; color: #8b93a1; font-size: 14px; margin: 0 0 44px; }
.feat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.feat { text-align: center; }
.feat-ico { display: inline-grid; place-items: center; width: 76px; height: 76px; color: #2f7fd6; font-size: 54px; margin-bottom: 8px; }
.feat h3 { font-size: 17px; color: #1c2029; font-weight: 400; margin: 0 0 10px; }
.feat p { font-size: 13px; line-height: 1.85; color: #8b93a1; margin: 0; }
.feat-band { padding: 76px 0 106px; }
.feat-band .band-title { margin: 0 0 24px; }
.feat-band .band-sub { margin: 0 0 100px; }
.feat-band .feat-ico { width: 100px; height: 100px; font-size: 72px; margin-bottom: 20px; }
.feat-band .feat h3 { margin: 0 0 14px; }
.feat-band .feat p { line-height: 30px; }
.band-dark { background: #0d0f14; }
.dark-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.dark-cols h2 { font-size: 40px; font-weight: 400; color: #fff; margin: 0 0 14px; line-height: 1.25; }
.dark-cols p { color: #8b93a1; font-size: 14px; margin: 0 0 26px; }
.dl-row { display: flex; gap: 14px; }
.dl-row .btn { background: var(--accent); color: #06202c; font-weight: 700; padding: 11px 22px; }
.app-band { padding: 0; }
.app-band .wrap { min-height: 710px; }
.app-copy h2 { font-size: 48px; line-height: 72px; margin: 0 0 26px; }
.app-copy p { font-size: 16px; color: #cfd6e4; margin: 0 0 46px; }
.dark-photo {
  height: 420px; border-radius: 6px;
  background: #0a0e18 url("img/app-1.jpg?v=1") center/contain no-repeat;
}
.dl-item { position: relative; display: inline-block; }
.dl-item .qr {
  position: absolute; left: 0; bottom: calc(100% + 12px); width: 200px; height: 200px;
  background: #fff; padding: 8px; opacity: 0; visibility: hidden; transition: opacity .18s; z-index: 6;
}
.dl-item:hover .qr { opacity: 1; visibility: visible; }
.join-band { padding: 62px 0; }
.join { text-align: center; }
.join h2 { font-size: 26px; color: #1c2029; font-weight: 400; margin: 0 0 30px; }
.join-row { display: flex; gap: 12px; max-width: 620px; margin: 0 auto; }
.join-row input { flex: 1; min-width: 0; border: 1px solid #dfe3ea; padding: 12px 14px; font-size: 14px; color: #333; }
.join-row .btn { background: var(--accent); color: #fff; }

/* ---------- ticker marquee ---------- */
.ticker { height: 120px; overflow: hidden; background: var(--bg-header); border-bottom: 1px solid var(--line); }
.ticker-track { display: flex; width: -moz-max-content; width: max-content; animation: tk-scroll 96s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes tk-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.ticker-cell {
  flex: 0 0 auto; width: 300px; height: 120px; padding: 20px 24px;
  border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 3px;
}
.tk-top { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.tk-pair { color: var(--accent); font-size: 15px; }
.tk-price { font-family: var(--num); font-size: 26px; color: var(--text-hi); }
.tk-foot { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); margin-top: auto; }
.tk-num { font-family: var(--num); font-size: 13px; color: var(--text); }
.tk-chg { font-size: 13px; }
.tk-spark { flex: 0 0 92px; width: 92px; height: 26px; margin-left: auto; }

/* ---------- market table ---------- */
.tabs { display: flex; gap: 8px; margin-bottom: 16px; flex-wrap: wrap; }
.tab {
  background: transparent; border: 1px solid var(--line-strong); color: var(--text);
  padding: 6px 16px; font-size: 13px; border-radius: 3px;
}
.tab.on { background: var(--accent); border-color: var(--accent); color: #06202c; font-weight: 700; }
.star { color: var(--muted); cursor: pointer; font-size: 15px; }
.star.on { color: var(--warn); }
.fav-btn { background: var(--accent); color: #06202c; border: 0; padding: 7px 16px; border-radius: 3px; font-size: 13px; font-weight: 700; }

.mkt-table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.mkt-table th {
  text-align: left; font-weight: 400; color: var(--muted); font-size: 13px;
  padding: 12px 14px; border-bottom: 1px solid var(--line);
}
.mkt-table th:first-child, .mkt-table td:first-child { padding-left: 22px; }
.mkt-table th:last-child, .mkt-table td:last-child { padding-right: 22px; }
.mkt-table td { text-align: left; padding: 6px 14px; border-bottom: 1px solid var(--line); font-family: var(--num); font-size: 15px; }
.mkt-table col.c-pair { width: 190px; }
.mkt-table col.c-num { width: 177px; }
.mkt-table col.c-trend { width: 180px; }
.mkt-table tbody tr { cursor: pointer; transition: background .12s; }
.mkt-table tbody tr:hover { background: rgba(255, 255, 255, .03); }
.mkt-name { display: flex; align-items: center; gap: 10px; font-family: var(--sans); }
.mkt-coin { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 700; color: #fff; font-family: var(--num); }
.mkt-base { color: var(--text-hi); }
.mkt-quote { color: var(--muted); }
.mkt-chg { display: inline-block; min-width: 74px; text-align: center; padding: 3px 8px; border-radius: 3px; font-size: 13px; }
.mkt-chg.up { background: rgba(39, 174, 96, .1); }
.mkt-chg.down { background: rgba(231, 76, 60, .1); }
.mkt-trend { width: 120px; height: 57px; display: block; }

/* ---------- auth ---------- */
.auth-shell {
  min-height: calc(100vh - var(--header-h) - 33px);
  background: var(--bg);
  position: relative;
  overflow: hidden;
}
.auth-net { position: absolute; inset: 0; opacity: .5; }
.auth-box { position: relative; max-width: 560px; padding: 74px 24px 90px 146px; }
.auth-title { font-size: 38px; color: var(--text-hi); font-weight: 300; margin: 0 0 34px; }
.auth-title span { color: var(--btn); }
.seg { display: inline-flex; border-radius: 3px; overflow: hidden; margin-bottom: 26px; }
.seg button { background: #fff; color: #333; border: 0; padding: 9px 26px; font-size: 14px; }
.seg button.on { background: var(--accent); color: #fff; font-weight: 700; }
.field { margin-bottom: 20px; }
.field label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 7px; }
.field input, .field select {
  width: 100%; background: rgba(12, 15, 28, .6); border: 1px solid var(--line-strong);
  color: var(--text-hi); padding: 12px 14px; font-size: 15px; border-radius: 2px; outline: none;
}
.field input:focus, .field select:focus { border-color: var(--accent); }
.field-row { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: end; }
.check { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); margin: 4px 0 26px; }
.check input { width: 15px; height: 15px; accent-color: var(--btn); }
.btn { border: 0; border-radius: 3px; padding: 12px 34px; font-size: 15px; background: var(--btn); color: #fff; }
.btn:hover { background: var(--btn-hi); }
.btn.block { width: 100%; }
.btn.ghost { background: transparent; border: 1px solid var(--line-strong); color: var(--text); }
.btn.buy { background: var(--up); }
.btn.sell { background: var(--down); }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.auth-links { display: flex; align-items: center; gap: 22px; }
.link-accent { color: var(--accent); font-size: 14px; }
.auth-note { margin-top: 34px; font-size: 14px; color: var(--muted); }

/* ---------- 注册 / 找回密码：1200 两栏（照 #register-box 的 CSS 数值） ---------- */
.reg-grid { max-width: 1200px; margin: 0 auto; padding: 43px 0; display: flex; align-items: flex-start; color: var(--text); }
.reg-col { flex: 0 0 620px; min-height: 700px; }
.reg-tips {
  flex: 1; min-width: 0; padding: 190px 24px 0; font-size: 14px; line-height: 50px;
  color: #637085; font-weight: 400;
}
.reg-title { font-size: 36px; color: var(--text-hi); font-weight: 400; margin: 0; }
.reg-tabs { display: inline-flex; margin: 15px 0; border-radius: 4px; overflow: hidden; }
.reg-tabs button { background: #fff; color: #333; border: 0; padding: 10px 26px; font-size: 14px; }
.reg-tabs button.on { background: #5697f4; color: #fff; }
.reg-tip { color: var(--muted); font-size: 12px; margin: 15px 0 10px; }
.reg-input {
  display: block; width: 520px; max-width: 100%; min-height: 46px; border: 1px solid #4e5b85;
  padding: 0 20px; color: var(--text); font-size: 14px; border-radius: 3px; background-color: #181d25; outline: none;
}
.reg-input:focus { border-color: var(--accent); }
.reg-code { width: 520px; max-width: 100%; height: 43px; background-color: #181d25; border: 1px solid #4e5b85; border-radius: 3px; display: flex; align-items: center; }
.reg-code input { flex: 1 1 319px; min-width: 0; border: none; height: 31px; background: transparent; color: var(--text); font-size: 14px; padding: 0 20px; outline: none; }
.reg-code button {
  flex: 0 0 193px; border: none; height: 33px; line-height: 33px; color: var(--text);
  border-left: 1px solid #2c3846; background: #181d25; font-size: 16px; cursor: pointer;
}
.reg-check { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--text); margin-top: 20px; }
.reg-check input { width: 14px; height: 14px; accent-color: var(--accent); }
.reg-check a { color: var(--accent); text-decoration: underline; }
.reg-btn { width: 200px; line-height: 46px; margin: 20px 0 0; border: none; border-radius: 4px; background: var(--accent); color: #fff; font-size: 16px; padding: 0; }
.reg-btn:hover { background: #00b6ec; color: #fff; }
.reg-btn.soft { background: var(--btn); }
.reg-btn.soft:hover { background: var(--btn-hi); }

/* ---------- trade ---------- */
.trade { display: grid; grid-template-columns: 250px minmax(0, 1fr) 280px; gap: 1px; background: var(--line); }
.trade > * { background: var(--bg-deep); }
.tp { display: flex; align-items: center; gap: 18px; padding: 14px 20px; background: var(--bg); border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.tp-pair { font-size: 20px; color: var(--text-hi); font-family: var(--num); letter-spacing: 1px; }
.tp-price { font-family: var(--num); font-size: 22px; }
.tp-stat { font-size: 12px; color: var(--muted); }
.tp-stat b { display: block; font-family: var(--num); font-size: 14px; font-weight: 400; color: var(--text); }

.pane-title { font-size: 13px; color: var(--muted); padding: 12px 16px; border-bottom: 1px solid var(--line); }
.coin-search { padding: 10px 12px; border-bottom: 1px solid var(--line); }
.coin-search input { width: 100%; background: var(--panel); border: 0; color: var(--text-hi); padding: 8px 10px; font-size: 13px; }
.coin-list { max-height: 520px; overflow-y: auto; }
.coin-row { display: grid; grid-template-columns: 1fr auto auto; gap: 8px; align-items: center; padding: 9px 14px; cursor: pointer; font-size: 13px; border-bottom: 1px solid rgba(255, 255, 255, .03); }
.coin-row:hover { background: rgba(255, 255, 255, .04); }
.coin-row.on { background: rgba(0, 164, 216, .12); }
.coin-row .p { font-family: var(--num); color: var(--text); }
.coin-row .c { font-family: var(--num); font-size: 12px; min-width: 56px; text-align: right; }

.chart-bar { display: flex; gap: 2px; padding: 8px 14px; border-bottom: 1px solid var(--line); }
.chart-bar button { background: none; border: 0; color: var(--muted); font-size: 13px; padding: 5px 12px; border-radius: 3px; font-family: var(--num); }
.chart-bar button.on { background: var(--panel); color: var(--text-hi); }
.chart-wrap { padding: 8px; height: 360px; position: relative; }
.chart-wrap canvas { width: 100%; height: 100%; display: block; }

.bs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding: 18px 20px; border-top: 1px solid var(--line); }
.bs-tab { display: flex; border-bottom: 1px solid var(--line); margin-bottom: 16px; }
.bs-tab button { flex: 1; background: none; border: 0; border-bottom: 2px solid transparent; color: var(--muted); padding: 9px 0; font-size: 14px; }
.bs-tab button.on.buy { color: var(--up); border-color: var(--up); }
.bs-tab button.on.sell { color: var(--down); border-color: var(--down); }
.bs-field { display: grid; grid-template-columns: 1fr auto; align-items: center; background: var(--panel); border: 1px solid var(--line); margin-bottom: 12px; }
.bs-field input { flex: 1; background: none; border: 0; color: var(--text-hi); padding: 9px 12px; font-size: 14px; font-family: var(--num); outline: none; width: 100%; }
.bs-field .unit { font-size: 12px; color: var(--muted); padding-right: 12px; }
.bs-field .max { font-size: 12px; color: var(--accent); background: none; border: 0; padding-right: 12px; }
.bs-avail { font-size: 12px; color: var(--muted); display: flex; justify-content: space-between; margin-bottom: 10px; }
.pct-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-bottom: 12px; }
.pct-row button { background: var(--panel); border: 1px solid var(--line); color: var(--muted); font-size: 12px; padding: 5px 0; }
.pct-row button.on { border-color: var(--accent); color: var(--accent); }

.book { font-family: var(--num); font-size: 13px; }
.book-head { display: grid; grid-template-columns: 1fr 1fr 1fr; padding: 8px 14px; font-size: 12px; color: var(--muted); font-family: var(--sans); }
.book-row { position: relative; display: grid; grid-template-columns: 1fr 1fr 1fr; padding: 4px 14px; cursor: pointer; }
.book-row .bar { position: absolute; right: 0; top: 0; bottom: 0; opacity: .12; }
.book-row.ask .bar { background: var(--down); }
.book-row.bid .bar { background: var(--up); }
.book-row span { position: relative; text-align: right; }
.book-row span:first-child { text-align: left; }
.book-mid { display: flex; align-items: center; justify-content: space-between; padding: 10px 14px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 13px; }
.book-mid .p { font-family: var(--num); font-size: 17px; }

.entrust { border-top: 1px solid var(--line); background: var(--bg-deep); }
.entrust-tabs { display: flex; gap: 26px; padding: 0 20px; border-bottom: 1px solid var(--line); }
.entrust-tabs button { background: none; border: 0; border-bottom: 2px solid transparent; color: var(--muted); padding: 12px 0; font-size: 14px; }
.entrust-tabs button.on { color: var(--text-hi); border-color: var(--accent); }
.entrust-body { min-height: 170px; }
.tbl { width: 100%; border-collapse: collapse; font-size: 13px; }
.tbl th { text-align: left; color: var(--muted); font-weight: 400; padding: 11px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.tbl td { padding: 11px 14px; border-bottom: 1px solid rgba(255, 255, 255, .04); font-family: var(--num); }
.tbl .r { text-align: right; }
.tbl-empty { padding: 46px; text-align: center; color: var(--muted); font-size: 13px; }
.x-cancel { color: var(--accent); background: none; border: 0; font-size: 13px; }

/* ---------- account pages ---------- */
.page { padding: 30px 0 60px; }
.page-head { font-size: 26px; color: var(--text-hi); font-weight: 400; margin: 0 0 6px; }
.page-sub { color: var(--muted); font-size: 13px; margin-bottom: 26px; }

/* ---------- 个人中心：220px 侧栏 + flex 主面板（照 accountCenter 的 CSS 数值） ---------- */
.center-grid { max-width: 1200px; margin: 0 auto; display: flex; align-items: stretch; min-height: 772px; }
.side-nav {
  flex: 0 0 220px; width: 220px; padding: 4px; background: #000; border-radius: 10px;
  overflow: hidden;
}
.side-item {
  display: flex; align-items: center; height: 54px; padding-left: 38px; margin-bottom: 4px;
  font-size: 16px; color: var(--text); border-radius: 6px;
}
.side-item:last-child { margin-bottom: 0; }
.side-ico { font-size: 20px; width: 20px; margin-right: 12px; text-align: center; line-height: 1; }
.side-item:hover { color: var(--accent); }
.side-item.on { color: var(--accent); background: #181d25; }
.center-main {
  flex: 1; min-width: 0; margin-left: 3px; background: #000; border-radius: 10px;
  padding: 34px 34px 34px;
}
.account-top { background: #1a2330; height: 172px; padding: 26px 50px; display: flex; align-items: flex-start; justify-content: space-between; }
.acc-greet { font-size: 24px; color: #637085; margin: 0; font-weight: 400; }
.acc-greet b { color: var(--text); font-weight: 400; }
.acc-auth { font-size: 14px; color: #637085; margin-top: 15px; display: flex; align-items: center; gap: 12px; }
.auth-tag { color: var(--muted-2); border: 1px solid var(--muted-2); border-radius: 3px; padding: 1px 8px; font-size: 12px; }
.auth-tag.ok { color: var(--up); border-color: var(--up); }
.acc-lv { color: var(--muted-2); font-size: 12px; }
.acc-charge {
  flex: 0 0 auto; width: 120px; line-height: 40px; margin-top: 15px; margin-right: 60px;
  background: #5697f4; color: #fff; border-radius: 4px; text-align: center; font-size: 16px;
}
.acc-charge:hover { background: #6ba5f6; color: #fff; }
.page-back { background: #262a42; height: 10px; }
.account-title { font-size: 16px; color: var(--text); }
.list-wrap { background: #1a2330; padding: 0 50px; }
.acc-tbl { width: 100%; border-collapse: collapse; text-align: left; font-size: 14px; color: var(--text); }
.acc-tbl th { line-height: 40px; padding: 0; color: #637085; font-weight: 400; }
.acc-tbl th.w20 { width: 20%; }
.acc-tbl th.w25 { width: 25%; }
.acc-tbl td { line-height: 47px; padding: 0; border-bottom: 1px solid #273142; }
.acc-tbl td:last-child { color: #637085; }

.card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 30px; }
.stat-card { background: var(--bg); border: 1px solid var(--line); border-radius: 4px; padding: 20px; }
.stat-card .k { font-size: 13px; color: var(--muted); }
.stat-card .v { font-family: var(--num); font-size: 26px; color: var(--text-hi); margin-top: 6px; }
.panel { background: var(--bg); border: 1px solid var(--line); border-radius: 4px; }
.panel-head { padding: 16px 20px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; }
.panel-head h3 { margin: 0; font-size: 16px; font-weight: 400; color: var(--text-hi); }
.panel-body { padding: 20px; }
.form-narrow { max-width: 520px; }
.addr-box { display: flex; gap: 10px; align-items: center; background: var(--panel); border: 1px solid var(--line); padding: 12px 14px; font-family: var(--num); font-size: 13px; word-break: break-all; }
.addr-box button { margin-left: auto; background: none; border: 1px solid var(--line-strong); color: var(--text); font-size: 12px; padding: 5px 12px; }
.qr { width: 148px; height: 148px; background: #fff; padding: 8px; }
.warn-strip { background: rgba(243, 156, 18, .1); border: 1px solid rgba(243, 156, 18, .3); color: #e6b56a; font-size: 13px; padding: 12px 16px; border-radius: 3px; margin-bottom: 20px; }

/* ---------- futures / staking / c2c / upstart ---------- */
.f-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 18px; margin-bottom: 22px; }
.lev-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.lev-row button { background: var(--panel); border: 1px solid var(--line); color: var(--muted); font-size: 13px; padding: 7px 0; font-family: var(--num); }
.lev-row button.on { border-color: var(--accent); color: var(--accent); }
.seg-dark { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 18px; }
.seg-dark button { background: var(--panel); border: 1px solid var(--line); color: var(--text); padding: 11px 0; font-size: 14px; }
.seg-dark button.on[data-s="long"] { border-color: var(--up); color: var(--up); background: rgba(85, 160, 103, .12); }
.seg-dark button.on[data-s="short"] { border-color: var(--down); color: var(--down); background: rgba(204, 73, 81, .12); }
.kv-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 13px; color: var(--muted); padding: 7px 0; border-bottom: 1px solid rgba(255, 255, 255, .05); }
.kv-row b { font-family: var(--num); font-weight: 400; color: var(--text-hi); font-size: 14px; }
.btn.sm { padding: 8px 16px; font-size: 13px; }
.prod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.prod { background: var(--bg); border: 1px solid var(--line); border-radius: 4px; padding: 18px 20px; }
.prod-top { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.prod-asset { font-size: 16px; color: var(--text-hi); }
.prod-asset em { font-style: normal; font-size: 12px; margin-left: 6px; }
.prod-apr { margin-left: auto; font-family: var(--num); font-size: 22px; color: var(--up); }
.prod-days { margin-left: auto; font-family: var(--num); font-size: 14px; color: var(--accent); }
.meter { height: 4px; background: var(--panel); border-radius: 2px; overflow: hidden; margin: 12px 0 2px; }
.meter i { display: block; height: 100%; background: var(--accent); }
.c2c-name { display: flex; align-items: center; gap: 10px; }
.c2c-avatar { flex: 0 0 32px; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: var(--panel); color: var(--accent); font-size: 14px; font-family: var(--sans); }
.c2c-name span { display: flex; flex-direction: column; gap: 2px; font-family: var(--sans); color: var(--text-hi); font-size: 14px; }
.c2c-name em, .c2c-name i { font-style: normal; font-size: 12px; }
.c2c-qty { background: var(--panel); border: 1px solid var(--line); color: var(--text-hi); padding: 8px 10px; font-size: 13px; font-family: var(--num); width: 110px; }
.c2c-tbl td { vertical-align: middle; }
.two-col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }

/* ---------- 个人中心子页列表引擎（参考 /transferLog = data-v-2dde9f62） ----------
   对量时才发现 /allTransaction(d716c3b4) 是不带侧栏的独立杠杆页，
   我们挂在个人中心侧栏的「资金流水」对应的是 /account 子页 /transferLog。
   .account-main{padding:34px 34px 0} · .log_ul li{padding:15px 0} · 首行 border-bottom:1px solid #303b4b
   行 = display:flex + justify-content:space-around，格 = span.flex1.tc；表头 ft14，数据行 ft12
   .li_wrap{max-height:600px;overflow-y:auto}（他们给这个滚动区单独定了 6px 槽 + #2e333c 滑块）
   .more{color:#999;font-size:12px;margin-top:10px;text-align:center} */
/* 参考的 34px 内缩挂在子页根 .account-main 上，黑框（router-view）自身不带内边距。
   我们的 .center-main 兼作黑框并为其他子页吞了这 34px，这里把它退回再加回，
   否则两层相加 = 68，列表列宽会从 909 掉到 841。 */
.acct-main { margin: -34px; padding: 34px 34px 0; }
.log-tabs { color: var(--text-hi); }
.log-tabs span {
  display: inline-block; padding-bottom: 10px; margin-right: 20px; font-size: 14px; cursor: pointer;
  border-bottom: 1px solid transparent;
}
.log-tabs span:hover, .log-tabs span.on { color: var(--accent); border-bottom-color: var(--accent); }
.log-ul { margin: 0; padding: 0; list-style: none; color: #fff; }
.log-ul > li { display: flex; justify-content: space-around; padding: 15px 0; }
.log-ul > li > span { flex: 1; min-width: 0; text-align: center; font-size: 12px; }
.log-head > li { border-bottom: 1px solid #303b4b; }
.log-head > li:hover { background: var(--bg); }
.log-head > li > span { font-size: 14px; }
.log-body { max-height: 600px; overflow-y: auto; }
.log-body::-webkit-scrollbar { width: 6px; background-color: #000; }
.log-body::-webkit-scrollbar-thumb { border-radius: 3px; background-color: #2e333c; }
.log-body .log-ul > li:hover { background: #61688a; }.log-ul .pos { color: #55a067; }
.log-ul .neg { color: #cc4951; }
.log-more { text-align: center; color: #999; font-size: 12px; margin-top: 10px; cursor: pointer; }
.log-empty { text-align: center; color: #999; font-size: 14px; padding-top: 150px; }

/* /noticeList：1200 容器 + 3px 顶距 + 60 行高标题 + 黑底 10 圆角面板 + 72 虚线行 */
.notice-page { background: var(--bg-deep); }
.notice-account { width: 1200px; margin: 0 auto; padding-top: 3px; min-height: 880px; overflow: hidden; }
.notice-backnav { line-height: 60px; font-size: 18px; color: var(--text); }
.notice-panel { width: 100%; min-height: 1060px; background: #000; border-radius: 10px; }
.notice-rows { margin: 0; padding: 0 20px; list-style: none; font-size: 14px; }
.notice-row { height: 72px; padding: 10px 0 7px; border-bottom: 1px dashed #303b4b; color: #cdd6e4; font-size: 12px; cursor: pointer; }
.notice-row .nd { float: right; height: 52px; line-height: 52px; color: #61688a; }
.notice-row .nt { height: 52px; line-height: 52px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.notice-more { text-align: center; padding: 15px; color: #999; font-size: 12px; }

/* /noticeDetail：容器 min-width 1400（参考 scoped），back-nav 72 行高，面板 10 圆角 */
.ndt-account { width: 1400px; margin: 0 auto; overflow: hidden; min-height: 880px; }
.ndt-backnav { height: 72px; line-height: 72px; background: var(--bg-deep); color: #fff; font-size: 20px; }
.ndt-backnav .ndt-back { float: right; font-size: 16px; color: #c7ccda; cursor: pointer; }
.ndt-panel { width: 100%; min-height: 1020px; background: #000; border-radius: 10px; }
.ndt-big { padding: 48px 46px 20px; }
.ndt-head { margin-bottom: 30px; overflow: hidden; }
.ndt-title { float: left; width: 90%; text-align: center; color: var(--text); }
.ndt-body { line-height: 26px; min-height: 850px; color: #637085; font-size: 14px; }
.ndt-body p { margin: 0 0 14px; }
.ndt-foot { margin-top: 40px; color: #637085; font-size: 14px; }
.ndt-foot p { margin: 0; text-align: right; }
.ndt-foot .mt5 { margin-top: 5px; }

/* ---------- footer ---------- */
.site-footer { background: var(--bg-header); border-top: 1px solid var(--line); padding: 60px var(--pad) 0; margin-top: 0; }
.foot-cols { display: grid; grid-template-columns: 280px repeat(3, minmax(0, 1fr)); gap: 40px; max-width: 1200px; margin: 0 auto; padding-top: 20px; }
.foot-cols h4 { font-size: 16px; color: var(--text-hi); font-weight: 400; margin: 0; line-height: 26px; }
.foot-cols a { display: block; font-size: 13px; color: var(--muted); line-height: 26px; }
.foot-cols a:hover { color: var(--text); }
.foot-left .wordmark { font-size: 20px; line-height: 26px; }
.foot-left p { font-size: 12px; line-height: 20px; margin: 10px 0 0; max-width: 260px; }
.foot-bar { max-width: 1200px; margin: 20px auto 0; border-top: 1px solid #303035; padding-top: 15px; text-align: center; }
.foot-bar .foot-mark { display: block; }
.foot-bar .wordmark { justify-content: center; font-size: 20px; letter-spacing: 3px; line-height: 30px; color: var(--accent); }
.foot-copy { font-size: 12px; line-height: 20px; color: var(--muted-2); padding-bottom: 20px; }

.toast { position: fixed; top: 66px; right: 20px; z-index: 80; background: var(--panel); border: 1px solid var(--line-strong); color: var(--text-hi); padding: 12px 18px; font-size: 13px; border-radius: 3px; opacity: 0; transform: translateY(-8px); transition: .2s; }
.toast.on { opacity: 1; transform: none; }

@media (max-width: 1180px) {
  .trade { grid-template-columns: 220px minmax(0, 1fr) 240px; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-caption h1 { font-size: 40px; }
  .dark-cols h2 { font-size: 32px; }
  .f-grid { grid-template-columns: minmax(0, 1fr) 280px; }
  .prod-grid { grid-template-columns: repeat(2, 1fr); }
  .main-nav { gap: 18px; }
  .notice-account, .ndt-account { width: auto; margin-left: 20px; margin-right: 20px; }
}
@media (max-width: 900px) {
  :root { --pad: 16px; }
  body { padding-bottom: 58px; }
  .site-header { gap: 14px; }
  .main-nav {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
    height: 54px; padding-bottom: env(safe-area-inset-bottom);
    background: var(--bg-header); border-top: 1px solid var(--line);
    display: flex; align-items: stretch; gap: 0; font-size: 13px;
  }
  .main-nav a { flex: 1; display: flex; align-items: center; justify-content: center; padding: 0; }
  .main-nav a.active { box-shadow: inset 0 2px 0 var(--accent); }
  .header-right { gap: 12px; font-size: 14px; }
  .header-right .support, .lang-pick { display: none; }
  .header-right .acct-txt { max-width: 112px; overflow: hidden; text-overflow: ellipsis; }
  .sim-badge { bottom: 66px; }
  .reg-grid { flex-direction: column; padding: 26px 16px; }
  .reg-col { flex: none; width: 100%; min-height: 0; }
  .reg-input, .reg-code { width: 100%; }
  .reg-tips { padding: 20px 0 0; line-height: 30px; }
  .center-grid { flex-direction: column; }
  .side-nav { flex: none; width: 100%; display: flex; overflow-x: auto; }
  .side-item { flex: 0 0 auto; height: 46px; padding: 0 18px; margin-bottom: 0; white-space: nowrap; }
  .center-main { margin-left: 0; margin-top: 3px; padding: 16px; }
  .account-top { height: auto; flex-direction: column; align-items: flex-start; gap: 14px; padding: 18px 20px; }
  .acc-charge { margin-top: 0; margin-right: 0; }
  .list-wrap { padding: 0 20px; }
  .acc-tbl th.w20, .acc-tbl th.w25 { width: auto; }
  .trade { grid-template-columns: 1fr; }
  .coin-list { max-height: 240px; }
  .hero-slides { height: 210px; display: block; position: relative; }
  .hero-slide { position: absolute; inset: 0; flex: none; opacity: 0; transition: opacity .5s ease; }
  .hero-slide.on { opacity: 1; flex-grow: 1; }
  .hero-caption { padding: 22px var(--pad) 34px; }
  .hero-caption h1 { font-size: 24px; letter-spacing: 0; }
  .feat-grid { grid-template-columns: 1fr 1fr; gap: 26px; }
  .dark-cols { grid-template-columns: 1fr; }
  .dark-cols h2 { font-size: 26px; }
  .app-copy h2 { font-size: 26px; line-height: 36px; margin-bottom: 12px; }
  .app-copy p { margin-bottom: 20px; }
  .app-band .wrap { min-height: 0; padding-top: 34px; padding-bottom: 34px; gap: 26px; }
  .dark-photo { height: 180px; }
  .ticker-cell { width: 236px; padding: 16px; }
  .dl-item .qr { position: static; visibility: visible; opacity: 1; width: 150px; height: 150px; display: block; margin: 0 0 10px; }
  .dl-row { flex-wrap: wrap; gap: 18px; }
  .band { padding: 34px 0 40px; }
  .join-row { flex-direction: column; }
  .auth-box { padding: 40px 20px; }
  .foot-cols { grid-template-columns: 1fr 1fr; gap: 24px; }
  .bs-grid { grid-template-columns: 1fr; gap: 20px; }
  .tbl-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .main-nav a.hide-sm { display: none; }
  .f-grid { grid-template-columns: 1fr; }
  .prod-grid { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; }
  .notice-account, .ndt-account { margin-left: 16px; margin-right: 16px; }
  .notice-rows { padding: 0 14px; }
  .ndt-big { padding: 24px 18px 16px; }
  .ndt-title { float: none; width: 100%; text-align: left; }
  .c2c-qty { width: 88px; }
  .page-head { font-size: 22px; }
}
