/* =========================================================
   app.css —— Gate 风格移动端设计系统
   ========================================================= */
:root {
  /* 主色改为黑金：金 #f5c11a，深金 #c07f00（文字用），深墨 #11151d */
  --gold: #f0b90b;
  --gold-deep: #111318;
  --gold-soft: #fffaf0;
  --ink-deep: #11151d;
  --blue: #f5c11a;
  --blue-soft: #fdf6e3;
  --up: #f04b57;
  --up-soft: #fdeeef;
  --down: #20b26c;
  --down-soft: #e9f8f1;
  --ink: #111318;
  --ink-2: #4a4f59;
  --ink-3: #8a8f99;
  --ink-4: #b6bbc4;
  --line: #eef0f3;
  --line-2: #e5e7eb;
  --surface: #f7f8fa;
  --surface-2: #fafbfc;
  --radius: 14px;
  --tab-h: 58px;
  --font: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: #e9ebf0;
  font-size: 14px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}
button, input, select { font-family: inherit; font-size: inherit; color: inherit; }
button { border: 0; background: none; cursor: pointer; padding: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; }
.num { font-variant-numeric: tabular-nums; font-feature-settings: "tnum"; }

/* 手机外框：桌面居中显示，真机上铺满 */
.phone {
  position: relative;
  width: 100%;
  max-width: 430px;
  min-height: 100vh;
  margin: 0 auto;
  background: #fff;
  overflow-x: hidden;
  padding-bottom: calc(var(--tab-h) + env(safe-area-inset-bottom, 0px));
}
@media (min-width: 700px) {
  body { background: #dfe3ea; }
  .phone { box-shadow: 0 12px 48px rgba(17, 19, 24, .16); }
}

/* ---------------- 顶部 ---------------- */
.topbar {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px 6px;
  background: #fff;
}
.avatar {
  width: 32px; height: 32px; border-radius: 50%;
  background: linear-gradient(135deg, #ffd36e, #ff9f43);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: 13px; flex: none;
  overflow: hidden;
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.pill-title {
  display: flex; align-items: center; gap: 4px;
  padding: 6px 14px; border-radius: 999px; background: var(--surface);
  font-weight: 600; font-size: 14px; color: var(--ink);
}
.pill-title svg { opacity: .55; }
.topbar .spacer { flex: 1; }
.icon-btn {
  width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--ink);
}
.icon-btn:active { background: var(--surface); }

/* 搜索 */
.searchbar {
  margin: 4px 14px 10px;
  height: 38px; border-radius: 999px; background: var(--surface);
  display: flex; align-items: center; gap: 8px; padding: 0 12px;
  color: var(--ink-3); font-size: 12.5px;
  overflow: hidden;
}
.searchbar .hot { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.searchbar .hot b { color: var(--up); font-weight: 500; }

/* ---------------- 首页 ---------------- */
.asset-hero { padding: 6px 14px 12px; }
.asset-label { display: flex; align-items: center; gap: 6px; color: var(--ink-3); font-size: 12.5px; margin-bottom: 10px; }
.asset-total { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; line-height: 1.2; }
.asset-total b { font-size: 30px; font-weight: 700; letter-spacing: -.5px; }
.asset-total .unit { font-size: 13px; color: var(--ink-2); font-weight: 500; }
.btn-charge {
  margin-left: auto; background: linear-gradient(135deg,#ffe9a8,#f0b90b 55%,#c99a06); color: #1b1f27;
  padding: 8px 18px; border-radius: 999px; font-size: 13px; font-weight: 600;
}
.today-pnl { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--ink-3); margin-top: 0; line-height: 1.7; }
.today-pnl b { font-weight: 600; }

.quick-row { display: flex; padding: 16px 6px 16px; }
.quick-item { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; position: relative; }
.quick-ico {
  width: 46px; height: 46px; border-radius: 50%;
  background: #ffffff; border: 1px solid #edeef1;
  display: flex; align-items: center; justify-content: center; color: var(--ink);
}
.quick-item span { font-size: 11.5px; color: var(--ink-2); }
.quick-item .tag {
  position: absolute; top: 0; right: 8px; z-index: 3;
  background: linear-gradient(135deg,#ffe9a8,#f0b90b 55%,#c99a06); color: #1b1f27;
  font-size: 9px; font-weight: 800; letter-spacing: .2px;
  padding: 1px 5px; border-radius: 6px; white-space: nowrap;
  box-shadow: 0 1px 3px rgba(160,120,10,.25);
}

.banner {
  margin: 0 14px 12px; border-radius: var(--radius); background: #ffffff;
  border: 1px solid #f0f1f3;
  padding: 12px; display: flex; gap: 12px; align-items: center; position: relative;
}
.banner .cover {
  width: 52px; height: 52px; border-radius: 12px; flex: none;
  background: linear-gradient(135deg, #171a20, #33280f);
  color: #f5c11a; font-weight: 800; font-size: 18px;
  display: flex; align-items: center; justify-content: center;
}
.banner .k { font-size: 13.5px; font-weight: 600; }
.banner .v { font-size: 11.5px; color: var(--ink-3); margin-top: 3px; }
.banner .pager {
  position: absolute; right: 10px; top: 8px; font-size: 10px; color: var(--ink-3);
  background: #fff; border-radius: 8px; padding: 1px 5px;
}

.stock-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 0 14px 14px; }
.stock-card { background: var(--surface-2); border: 1px solid var(--line); border-radius: 12px; padding: 10px; }
.stock-card .hd { display: flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; }
.stock-card .hd .badge { margin-left: auto; font-size: 9px; color: var(--ink-4); background: #fff; padding: 1px 5px; border-radius: 4px; }
.stock-card canvas { width: 100%; height: 26px; margin: 8px 0 6px; }
.stock-card .pj { display: flex; align-items: baseline; gap: 6px; font-size: 12px; color: var(--ink-3); }

/* 分段 / 页签 */
.tabs {
  display: flex; gap: 18px; padding: 0 14px; overflow-x: auto;
  border-bottom: 1px solid var(--line);
  scrollbar-width: none;
}
.tabs::-webkit-scrollbar { display: none; }
.tabs button {
  position: relative; padding: 10px 0 11px; font-size: 14px; color: var(--ink-3); white-space: nowrap;
}
.tabs button.on { color: var(--ink); font-weight: 700; }
.tabs button.on::after {
  content: ''; position: absolute; left: 50%; transform: translateX(-50%);
  bottom: 0; width: 18px; height: 3px; border-radius: 2px; background: var(--ink);
}
.tabs .badge { font-size: 9px; padding: 1px 4px; border-radius: 4px; background: #d7f5c9; color: #2f7a1f; margin-left: 3px; vertical-align: 2px; }

.subtabs { display: flex; gap: 14px; padding: 10px 14px 4px; overflow-x: auto; scrollbar-width: none; }
.subtabs::-webkit-scrollbar { display: none; }
.subtabs button { font-size: 13px; color: var(--ink-3); white-space: nowrap; padding-bottom: 6px; border-bottom: 2px solid transparent; }
.subtabs button.on { color: var(--ink); font-weight: 700; border-color: var(--ink); }

/* 行情行 */
.col-head { display: flex; align-items: center; padding: 8px 14px; font-size: 11.5px; color: var(--ink-3); border-bottom: 1px solid var(--line); }
.col-head .c1 { flex: 1; display: flex; align-items: center; gap: 4px; }
.col-head .c2 { width: 96px; text-align: right; }
.col-head .c3 { width: 84px; text-align: right; }

.coin-row { display: flex; align-items: center; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.coin-row .logo { width: 30px; height: 30px; border-radius: 50%; flex: none; margin-right: 10px; background: var(--surface); object-fit: cover; }
.coin-row .nm { flex: 1; min-width: 0; }
.coin-row .nm b { font-size: 14px; font-weight: 600; display: block; }
.coin-row .nm span { font-size: 11.5px; color: var(--ink-3); display: block; margin-top: 2px; }
.coin-row .price { width: 96px; text-align: right; font-size: 14px; font-weight: 600; }
.coin-row .price span { display: block; font-size: 10.5px; color: var(--ink-4); font-weight: 400; margin-top: 2px; }
.coin-row .chg { width: 84px; display: flex; justify-content: flex-end; }
.chg-badge {
  min-width: 74px; text-align: center; padding: 7px 6px; border-radius: 8px;
  color: #fff; font-size: 13px; font-weight: 600;
}
.chg-badge.up, .chg-badge.down, .chg-badge.flat { color: #fff; }
.chg-badge.up { background: var(--up); }
.chg-badge.down { background: var(--down); }
.chg-badge.flat { background: var(--ink-4); }

/* 币种图标：内联，不依赖外部图床 */
.coin-mark {
  width: 30px; height: 30px; border-radius: 50%; flex: none; margin-right: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: 12px; letter-spacing: -.3px;
}
.coin-mark.sm { width: 16px; height: 16px; font-size: 8px; margin-right: 4px; }
.coin-mark.lg { width: 34px; height: 34px; font-size: 13px; }

.plaza {
  position: sticky; bottom: 0; display: flex; align-items: center; gap: 18px;
  padding: 10px 14px; background: #fff; border-top: 1px solid var(--line);
  font-size: 13px; color: var(--ink-3);
}
.plaza b { color: var(--ink); font-weight: 600; }

/* ---------------- 底部 Tab ---------------- */
.tabbar {
  position: fixed; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 430px; height: var(--tab-h);
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(180%) blur(12px);
  border-top: 1px solid var(--line);
  display: flex; align-items: center; z-index: 60;
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
.tabbar button { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px; color: var(--ink-4); font-size: 10px; }
.tabbar button.on { color: var(--ink); }
.tabbar .fab { flex: none; width: 64px; }
.tabbar .fab i {
  width: 44px; height: 44px; border-radius: 50%; background: #11151d;
  color: #f5c11a; display: flex; align-items: center; justify-content: center;
  box-shadow: none; margin-bottom: 2px;
}

/* ---------------- 通用 ---------------- */
.card { background: linear-gradient(180deg,#fffdf6 0%,#fffaf0 100%); border-radius: var(--radius); border: 1px solid #f0f1f3; }
.section-title { display: flex; align-items: center; padding: 16px 14px 8px; font-size: 15px; font-weight: 700; }
.section-title .more { margin-left: auto; font-size: 12px; color: var(--ink-3); font-weight: 400; }
.muted { color: var(--ink-3); }
.tiny { font-size: 11.5px; }
.up { color: var(--up); }
.down { color: var(--down); }
.blue { color: var(--gold-deep); }
.row-split { display: flex; align-items: center; gap: 8px; }
.row-split .spacer { flex: 1; }
.divider { height: 8px; background: var(--surface); }
.pad { padding: 14px; }

.btn-lg {
  display: flex; align-items: center; justify-content: center;
  height: 46px; border-radius: 999px; font-size: 15px; font-weight: 600; color: #fff;
  width: 100%;
}
.btn-lg.blue { background: linear-gradient(135deg,#ffe9a8,#f0b90b 55%,#c99a06); color: var(--ink-deep); box-shadow: 0 6px 18px rgba(245,193,26,.22); }
.btn-lg.up { background: var(--up); }
.btn-lg.down { background: var(--down); }
.btn-lg.ghost { background: #f7f8fa; color: var(--gold-deep); border: 1px solid #edeef1; }
.btn-lg[disabled] { opacity: .45; }

/* ---------------- 合约页 ---------------- */
.sym-head { display: flex; align-items: center; gap: 8px; padding: 10px 14px 6px; }
.sym-head .nm { font-size: 19px; font-weight: 700; letter-spacing: -.2px; }
.sym-head .perp { font-size: 10px; color: var(--ink-3); border: 1px solid var(--line-2); border-radius: 4px; padding: 0 4px; }
.sym-head .chg { font-size: 12px; font-weight: 600; }
.sym-head .ico { margin-left: auto; display: flex; gap: 14px; color: var(--ink-2); }

.tf-row { display: flex; gap: 16px; padding: 8px 14px; overflow-x: auto; border-bottom: 1px solid var(--line); scrollbar-width: none; }
.tf-row::-webkit-scrollbar { display: none; }
.tf-row button { font-size: 12.5px; color: var(--ink-3); white-space: nowrap; }
.tf-row button.on { color: var(--ink); font-weight: 700; background: var(--surface); border-radius: 6px; padding: 2px 8px; }

.ma-legend { display: flex; gap: 12px; padding: 6px 14px 0; font-size: 10.5px; color: var(--ink-3); }
.ma-legend b { font-weight: 600; }

.chart-wrap { position: relative; padding: 0 0 4px; }
.chart-wrap canvas { width: 100%; height: 300px; display: block; }

.trade-block { padding: 0 14px 10px; }
.seg { display: flex; background: var(--surface); border-radius: 10px; padding: 3px; margin: 8px 0 10px; }
.seg button { flex: 1; height: 34px; border-radius: 8px; font-size: 14px; font-weight: 600; color: var(--ink-3); }
.seg button.on-long { background: var(--up); color: #fff; }
.seg button.on-short { background: var(--down); color: #fff; }
.seg button.on-plain { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.06); }

.sel-row { display: flex; gap: 10px; margin-bottom: 10px; }
.sel {
  flex: 1; height: 38px; border-radius: 10px; background: var(--surface);
  display: flex; align-items: center; gap: 6px; padding: 0 12px; font-size: 13px; font-weight: 600;
}
.sel::after { content: ''; margin-left: auto; width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 5px solid var(--ink-3); }

.field { position: relative; height: 46px; border-radius: 10px; background: var(--surface); display: flex; align-items: center; padding: 0 12px; margin-bottom: 8px; }
.field input { border: 0; background: none; outline: none; flex: 1; min-width: 0; font-size: 14px; }
.field .unit { font-size: 13px; color: var(--ink-2); font-weight: 600; display: flex; align-items: center; gap: 4px; }
.field .ph { color: var(--ink-4); }

.slider { position: relative; height: 26px; margin: 2px 0 6px; }
.slider .track { position: absolute; left: 0; right: 0; top: 12px; height: 2px; background: var(--line-2); border-radius: 2px; }
.slider .knob { position: absolute; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 2px solid var(--ink-2); transform: translateX(-50%); }
.slider .dot { position: absolute; top: 10px; width: 5px; height: 5px; border-radius: 50%; background: var(--line-2); transform: translateX(-50%); }

.checks { display: flex; gap: 18px; margin: 4px 0 10px; font-size: 13px; color: var(--ink-2); }
.check { display: flex; align-items: center; gap: 6px; }
.check i { width: 15px; height: 15px; border-radius: 4px; border: 1.5px solid var(--line-2); display: inline-block; }
.check.on i { background: var(--ink); border-color: var(--ink); }
.check.on i::after { content: ''; display: block; width: 4px; height: 7px; border: 1.6px solid #fff; border-top: 0; border-left: 0; transform: rotate(42deg) translate(3px, 1px); }

.kv { display: flex; align-items: center; justify-content: space-between; font-size: 12.5px; color: var(--ink-3); padding: 3px 0; }
.kv b { color: var(--ink); font-weight: 600; }

.big-btns { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }

/* 盘口 */
.book { padding: 6px 14px 0; }
.book-head { display: flex; font-size: 11px; color: var(--ink-3); padding-bottom: 4px; }
.book-head span:last-child { margin-left: auto; }
.book-row { position: relative; display: flex; align-items: center; height: 20px; font-size: 11.5px; }
.book-row .bar { position: absolute; right: 0; top: 2px; bottom: 2px; border-radius: 2px; }
.book-row .p { position: relative; z-index: 1; }
.book-row .q { position: relative; z-index: 1; margin-left: auto; color: var(--ink-2); }
.bs-bar { display: flex; align-items: center; gap: 8px; padding: 8px 14px; font-size: 11px; color: var(--ink-3); }
.bs-bar .b { flex: none; width: 34px; text-align: right; color: var(--up); font-weight: 600; }
.bs-bar .s { flex: none; width: 34px; color: var(--down); font-weight: 600; }
.bs-bar .track { flex: 1; height: 4px; border-radius: 2px; background: var(--down); overflow: hidden; }
.bs-bar .track i { display: block; height: 100%; background: var(--up); }

/* 仓位卡 */
.pos-card { margin: 10px 14px; border: 1px solid var(--line); border-radius: 14px; padding: 12px; }
/* 最后一张持仓卡与底部导航之间留出空隙，避免点按钮点到导航 */
.pos-card:last-child { margin-bottom: 26px; }
.pos-card .hd { display: flex; align-items: center; gap: 8px; }
.pos-card .hd b { font-size: 15px; }
.tag { font-size: 10px; padding: 1px 6px; border-radius: 5px; background: var(--up-soft); color: var(--up); }
.tag.g { background: var(--down-soft); color: var(--down); }
.tag.gray { background: var(--surface); color: var(--ink-3); }
.pos-card .metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 12px; margin-top: 10px; }
.metric .k { font-size: 11px; color: var(--ink-3); }
.metric .v { font-size: 13.5px; font-weight: 600; margin-top: 2px; }
.pos-card .acts { display: flex; gap: 8px; margin-top: 12px; }
.pos-card .acts button { flex: 1; height: 34px; border-radius: 8px; background: var(--surface); font-size: 13px; font-weight: 600; }

/* ---------------- 资产 ---------------- */
.asset-actions {
  margin-top: 0; display: flex; padding: 16px 6px 16px; }
.asset-actions .item { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 7px; font-size: 12px; color: var(--ink-2); }
.asset-actions .ico { width: 44px; height: 44px; border-radius: 50%; background: var(--surface); display: flex; align-items: center; justify-content: center; }

.rec-row { padding: 14px; border-bottom: 1px solid var(--line); }
.rec-row .l1 { display: flex; align-items: baseline; gap: 8px; }
.rec-row .coin { font-weight: 700; font-size: 15px; }
.rec-row .sep { color: var(--line-2); }
.rec-row .ttl { font-size: 14px; font-weight: 600; flex: 1; }
.rec-row .amt { font-size: 14.5px; font-weight: 700; }
.rec-row .l2 { display: flex; margin-top: 6px; font-size: 11.5px; color: var(--ink-4); }
.rec-row .l2 .r { margin-left: auto; }
.rec-row .kind { margin-top: 4px; font-size: 11.5px; color: var(--ink-3); }

/* 划转页 */
.page-head { display: flex; align-items: center; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.page-head .title { flex: 1; text-align: center; font-size: 16px; font-weight: 700; }
.page-head .side { width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; color: var(--ink); }

.swap-box { position: relative; padding: 14px; }
.swap-card { background: var(--surface); border-radius: 12px; padding: 14px; }
.swap-card .k { font-size: 12.5px; color: var(--ink-3); }
.swap-card .v { font-size: 17px; font-weight: 700; margin-top: 4px; display: flex; align-items: center; }
.swap-card .v .caret { margin-left: auto; color: var(--ink-3); }
.swap-btn {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 36px; height: 36px; border-radius: 50%; background: #fff;
  box-shadow: 0 2px 10px rgba(17,19,24,.12);
  display: flex; align-items: center; justify-content: center;
}
.swap-gap { height: 12px; }

.field-label { font-size: 13px; color: var(--ink-2); margin: 16px 0 8px; font-weight: 600; }
.amount-box { background: var(--surface); border-radius: 12px; padding: 12px; }
.amount-box .inp { display: flex; align-items: center; gap: 8px; }
.amount-box input { border: 0; background: none; outline: none; font-size: 17px; flex: 1; min-width: 0; }
.amount-box .tail { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; }
.amount-box .tail .split { width: 1px; height: 14px; background: var(--line-2); }
.amount-box .avail { margin-top: 8px; font-size: 12px; color: var(--ink-3); display: flex; align-items: center; gap: 5px; }

/* 充值页 */
.qr-wrap { display: flex; justify-content: center; padding: 24px 0 18px; }
.qr-box { width: 190px; height: 190px; border-radius: 14px; background: #f3f5f8; display: flex; align-items: center; justify-content: center; }
.qr-box canvas { width: 150px; height: 150px; }
.info-row { display: flex; align-items: center; padding: 13px 14px; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.info-row .k { color: var(--ink-3); flex: none; }
.info-row .v { margin-left: auto; text-align: right; font-weight: 600; max-width: 66%; word-break: break-all; }
.info-row .v.mono { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 12.5px; font-weight: 500; letter-spacing: -.2px; }
.info-row.block { display: block; }
.info-row.block .k { margin-bottom: 6px; }
.info-row.block .v { margin-left: 0; text-align: left; max-width: 100%; display: flex; align-items: center; gap: 8px; }
.page.with-bottom { padding-bottom: 92px; }
.warn-box { margin: 12px 14px; background: #fff8ec; border-radius: 10px; padding: 10px 12px; font-size: 12px; color: #9a6b00; display: flex; gap: 8px; }
.bottom-bar {
  position: fixed; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 430px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
  background: #fff; border-top: 1px solid var(--line); z-index: 50;
}

/* 网络列表 */
.net-row { display: flex; align-items: center; gap: 12px; padding: 14px; border-bottom: 1px solid var(--line); }
.net-row .ico { width: 34px; height: 34px; border-radius: 50%; background: var(--surface); display: flex; align-items: center; justify-content: center; flex: none; font-size: 11px; font-weight: 700; color: var(--ink-2); }
.net-row .nm { flex: 1; font-size: 14px; font-weight: 600; }
.net-row .eta { text-align: right; font-size: 13px; font-weight: 600; }
.net-row .eta span { display: block; font-size: 11.5px; color: var(--ink-3); font-weight: 400; }
.tip-box { margin: 12px 14px; background: var(--surface); border-radius: 10px; padding: 12px; font-size: 12.5px; color: var(--ink-2); }
.tip-box b { display: flex; align-items: center; gap: 6px; margin-bottom: 4px; }

/* 我的 */
.me-head { display: flex; align-items: center; gap: 12px; padding: 18px 14px; }
.me-head .avatar { width: 54px; height: 54px; font-size: 20px; }
.me-head .nm { font-size: 17px; font-weight: 700; }
.me-head .uid { font-size: 12px; color: var(--ink-3); margin-top: 3px; }
.me-list {
  margin: 0 14px 14px; border: 1px solid #f0f1f3; border-radius: var(--radius); overflow: hidden;
  background: #ffffff;
  box-shadow: none;
}
.me-item { display: flex; align-items: center; gap: 10px; padding: 14px; border-bottom: 1px solid var(--line); font-size: 14px; }
.me-item:last-child { border-bottom: 0; }
.me-item .ico { width: 26px; height: 26px; border-radius: 7px; background: #f7f8fa; display: flex; align-items: center; justify-content: center; flex: none; line-height: 0; align-self: center; color: var(--ink-2); }
.me-item .r i, .me-item .r em { font-style: normal; }
.me-item .r { margin-left: auto; color: var(--ink-3); font-size: 12.5px; display: flex; align-items: center; gap: 4px; }

/* 列表通用 */
.list-row { display: flex; align-items: center; gap: 10px; padding: 13px 14px; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.list-row .r { margin-left: auto; color: var(--ink-3); font-size: 12.5px; }

/* toast / sheet */
.toast {
  position: fixed; left: 50%; bottom: 96px; transform: translate(-50%, 12px);
  background: rgba(20, 22, 28, .92); color: #fff; font-size: 13px;
  padding: 10px 16px; border-radius: 10px; opacity: 0; pointer-events: none;
  transition: .2s; z-index: 200; max-width: 78%;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

.mask {
  position: fixed; inset: 0; background: rgba(12, 14, 18, .45);
  display: flex; align-items: flex-end; justify-content: center; z-index: 150;
}
.mask.center { align-items: center; }
.sheet {
  width: 100%; max-width: 430px; background: #fff;
  border-radius: 18px 18px 0 0; padding: 8px 0 calc(12px + env(safe-area-inset-bottom, 0px));
  max-height: 82vh; overflow-y: auto;
  animation: sheetUp .22s ease-out;
}
@keyframes sheetUp { from { transform: translateY(24px); opacity: .6; } to { transform: none; opacity: 1; } }
.sheet .handle { width: 36px; height: 4px; border-radius: 2px; background: var(--line-2); margin: 4px auto 10px; }
.sheet .st { padding: 4px 16px 10px; font-size: 15px; font-weight: 700; }
.opt-row { display: flex; align-items: center; padding: 14px 16px; font-size: 14px; border-top: 1px solid var(--line); }
.opt-row.on { color: var(--gold-deep); font-weight: 600; }

.modal-card {
  width: 86%; max-width: 340px; background: #fff; border-radius: 16px; padding: 18px;
}
.modal-card .mt { font-size: 16px; font-weight: 700; text-align: center; }
.modal-card .rows { margin: 12px 0 16px; }
.modal-card .row { display: flex; justify-content: space-between; font-size: 13px; padding: 5px 0; color: var(--ink-3); }
.modal-card .row b { color: var(--ink); font-weight: 600; }
.modal-card .acts { display: flex; gap: 10px; }
.modal-card .acts button { flex: 1; height: 42px; border-radius: 999px; font-weight: 600; }
.modal-card .acts .ghost { background: var(--surface); color: var(--ink); }

.empty { text-align: center; padding: 54px 20px; color: var(--ink-4); font-size: 13px; }
.empty .ic { font-size: 34px; opacity: .35; margin-bottom: 10px; }

/* =========================================================
   Gate 合约页：顶部品类行 + 两栏（左下单 / 右盘口）
   ========================================================= */
.cat-row {
  display: flex; align-items: center; gap: 16px; padding: 8px 12px 4px;
  overflow-x: auto; scrollbar-width: none;
}
.cat-row::-webkit-scrollbar { display: none; }
.cat-row button { font-size: 14px; color: var(--ink-3); white-space: nowrap; font-weight: 500; }
.cat-row button.on { color: var(--ink); font-weight: 700; }
.cat-row .spacer { flex: 1; }

.sym-top { display: flex; align-items: center; padding: 4px 12px 2px; }
.sym-top .left { min-width: 0; }
.sym-top .t1 { display: flex; align-items: center; gap: 4px; font-size: 17px; font-weight: 700; letter-spacing: -.2px; }
.sym-top .t2 { display: flex; align-items: center; gap: 6px; font-size: 11px; margin-top: 1px; }
.sym-top .perp { color: var(--ink-3); }
.sym-top .ico { margin-left: auto; display: flex; align-items: center; gap: 15px; color: var(--ink-2); position: relative; }
.sym-top .ico .dot { position: absolute; right: -1px; top: -1px; width: 5px; height: 5px; border-radius: 50%; background: var(--up); }

.tf-bar { display: flex; gap: 14px; padding: 6px 12px 4px; overflow-x: auto; scrollbar-width: none; align-items: center; }
.tf-bar::-webkit-scrollbar { display: none; }
.tf-bar button { font-size: 12px; color: var(--ink-3); white-space: nowrap; line-height: 1; }
.tf-bar button.on { color: var(--ink); font-weight: 700; background: var(--surface); border-radius: 5px; padding: 4px 7px; }
.tf-bar .on + button { margin-left: 0; }

.chart-box { padding: 0 0 2px; }
.chart-box canvas { width: 100%; height: 282px; display: block; }

/* 两栏 */
.gp { display: flex; gap: 8px; padding: 4px 10px 0; align-items: flex-start; }
.gp-left { width: 55%; flex: none; }
.gp-right { flex: 1; min-width: 0; }

.gp-seg { display: flex; background: var(--surface); border-radius: 7px; padding: 2px; margin-bottom: 7px; }
.gp-seg button { flex: 1; height: 28px; border-radius: 6px; font-size: 13px; font-weight: 600; color: var(--ink-3); }
.gp-seg button.on-long { background: var(--up); color: #fff; }
.gp-seg button.on-short { background: var(--down); color: #fff; }

.gp-2 { display: flex; gap: 6px; margin-bottom: 7px; }
.gp-sel {
  flex: 1; height: 32px; border-radius: 7px; background: var(--surface);
  display: flex; align-items: center; padding: 0 8px; font-size: 12.5px; font-weight: 600;
  white-space: nowrap; overflow: hidden;
}
.gp-sel::after { content: ''; margin-left: auto; flex: none; border-left: 3.5px solid transparent; border-right: 3.5px solid transparent; border-top: 4.5px solid var(--ink-3); }
.gp-sel.wide { width: 100%; }

.gp-input {
  height: 36px; border-radius: 7px; background: var(--surface); margin-bottom: 6px;
  display: flex; align-items: center; padding: 0 9px; font-size: 13px;
}
.gp-input input { border: 0; background: none; outline: none; flex: 1; min-width: 0; font-size: 13px; }
.gp-input .u { font-size: 12px; font-weight: 600; color: var(--ink-2); flex: none; display: flex; align-items: center; gap: 3px; }

.gp-slider { position: relative; height: 20px; margin-bottom: 4px; }
.gp-slider .tr { position: absolute; left: 4px; right: 4px; top: 9px; height: 2px; background: var(--line-2); border-radius: 2px; }
.gp-slider .kb { position: absolute; top: 3px; width: 13px; height: 13px; border-radius: 50%; background: #fff; border: 2px solid var(--ink-3); transform: translateX(-50%); }
.gp-slider .dt { position: absolute; top: 8px; width: 4px; height: 4px; border-radius: 50%; background: var(--line-2); transform: translateX(-50%); }

.gp-checks { display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: 11px; color: var(--ink-2); margin-bottom: 7px; }
.gp-checks .ck { display: flex; align-items: center; gap: 4px; white-space: nowrap; }
.gp-checks .ck i { width: 12px; height: 12px; border-radius: 3px; border: 1.3px solid var(--line-2); display: inline-block; flex: none; }
.gp-checks .ck.on i { background: var(--ink); border-color: var(--ink); position: relative; }
.gp-checks .ck.on i::after { content: ''; position: absolute; left: 3px; top: 0.5px; width: 3px; height: 6px; border: 1.5px solid #fff; border-top: 0; border-left: 0; transform: rotate(40deg); }

.gp-kv { display: flex; align-items: center; justify-content: space-between; font-size: 11px; color: var(--ink-3); padding: 1.5px 0; }
.gp-kv b { color: var(--ink); font-weight: 600; }

.gp-btn {
  height: 38px; border-radius: 7px; width: 100%; color: #fff; font-weight: 700; font-size: 14px;
  display: flex; align-items: center; justify-content: center; margin: 6px 0 2px;
}
.gp-btn.up { background: var(--up); }
.gp-btn.down { background: var(--down); }

/* 右侧：资金费率 + 盘口 */
.gp-fund { text-align: right; font-size: 9px; color: var(--ink-3); line-height: 1.45; margin-bottom: 5px; }
.gp-fund b { color: var(--ink-2); font-weight: 600; }

.gp-book .bh { display: flex; font-size: 9px; color: var(--ink-3); padding-bottom: 2px; }
.gp-book .bh span:last-child { margin-left: auto; }
.gp-row { position: relative; display: flex; align-items: center; height: 15.5px; font-size: 10.5px; }
.gp-row .bar { position: absolute; right: 0; top: 1px; bottom: 1px; border-radius: 1.5px; }
.gp-row .p { position: relative; z-index: 1; }
.gp-row .q { position: relative; z-index: 1; margin-left: auto; color: var(--ink-3); }
.gp-mid { display: flex; align-items: baseline; height: 22px; }
.gp-mid .px { font-size: 13.5px; font-weight: 700; }
.gp-bs { display: flex; align-items: center; gap: 5px; font-size: 9px; color: var(--ink-3); margin-top: 5px; }
.gp-bs .b { color: var(--up); font-weight: 600; }
.gp-bs .s { color: var(--down); font-weight: 600; }
.gp-bs .t { flex: 1; height: 3px; border-radius: 2px; background: var(--down); overflow: hidden; }
.gp-bs .t i { display: block; height: 100%; background: var(--up); }
.gp-tools { display: flex; align-items: center; gap: 6px; margin-top: 6px; }
.gp-tools .step {
  flex: 1; height: 20px; border-radius: 4px; background: var(--surface);
  display: flex; align-items: center; padding: 0 6px; font-size: 10px;
}
.gp-tools .step::after { content: ''; margin-left: auto; border-left: 3px solid transparent; border-right: 3px solid transparent; border-top: 4px solid var(--ink-3); }
.gp-tools .dep { width: 20px; height: 20px; border-radius: 4px; background: var(--surface); display: flex; align-items: center; justify-content: center; color: var(--ink-3); }

/* 底部页签 */
.tabs.mini { padding: 0 12px; gap: 16px; }
.tabs.mini button { font-size: 13px; padding: 9px 0 10px; }

/* 仓位卡：Gate 三列版式 */
.pos-card .hd { gap: 8px; align-items: flex-start; }
.pos-card .hd b { font-size: 15px; }
.coin-mark.lg { margin-right: 0; }
.pos-card .pos-grid {
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  gap: 12px 8px; margin-top: 12px;
}
.pos-card .pos-grid .metric .k { font-size: 10px; color: var(--ink-3); line-height: 1.3; }
.pos-card .pos-grid .metric .v { font-size: 13px; font-weight: 600; margin-top: 3px; }

/* =========================================================
   第三轮：字体与细节打磨（Gate 那种"轻、细、留白"）
   ========================================================= */
:root {
  --ink: #0c0d10;
  --ink-2: #4b5160;
  --ink-3: #878d99;
  --ink-4: #bcc1ca;
  --line: #f1f2f5;
  --line-2: #e8eaee;
  --surface: #f6f7f9;
}
body { font-size: 13px; letter-spacing: .1px; }
.num { font-variant-numeric: tabular-nums; }

/* 通用按压反馈 */
button, .coin-row, .me-item, .list-row, .opt-row {
  transition: background-color .16s ease, opacity .16s ease, transform .12s ease;
}
button:active { transform: scale(.986); }
.gp-btn:active, .btn-lg:active, .btn-charge:active { filter: brightness(.94); }
.coin-row:active, .me-item:active, .list-row:active, .opt-row:active { background: #fafbfc; }
.quick-item:active .quick-ico { background: #f7eed6; }
.icon-btn:active, .ico-btn:active { background: var(--surface); transform: none; }

/* 顶部 */
.topbar { padding: 12px 14px 8px; gap: 8px; }
.avatar { width: 30px; height: 30px; font-size: 12px; }
.pill-title { padding: 5px 12px; font-size: 13.5px; font-weight: 600; }
.dot-soft { position: absolute; right: 7px; top: 7px; width: 5px; height: 5px; border-radius: 50%; background: var(--up); }
.searchbar { height: 34px; font-size: 12px; margin: 2px 14px 12px; }
.searchbar .hot b { font-size: 11px; }

/* 资产头部 */
.asset-label { font-size: 12px; }
.asset-total b { font-size: 27px; font-weight: 700; letter-spacing: -.8px; }
.asset-total .unit { font-size: 12.5px; font-weight: 500; }
.btn-charge { padding: 7px 16px; font-size: 12.5px; font-weight: 600; }
.today-pnl { font-size: 12px; }
.quick-ico { width: 44px; height: 44px; }
.quick-item > span:last-child { font-size: 11px; color: var(--ink-2); }
.quick-item .tag { font-size: 8.5px; padding: 0 4px; }

/* banner */
.banner { display: flex; width: calc(100% - 28px); margin: 0 14px 12px; text-align: left; padding: 11px; gap: 10px; }
.banner .cover { width: 46px; height: 46px; border-radius: 11px; font-size: 15px; }
.banner .bmain { display: flex; flex-direction: column; min-width: 0; }
.banner .k { font-size: 13px; font-weight: 600; }
.banner .v { font-size: 11px; color: var(--ink-3); margin-top: 2px; }
.banner .pager { right: 9px; top: 7px; font-size: 9.5px; }

/* 卡片式行情 */
.stock-grid { gap: 9px; }
.stock-card { display: block; text-align: left; padding: 10px 11px; }
.stock-card .hd { display: flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 600; }
.stock-card .hd .badge { margin-left: auto; font-size: 8.5px; color: var(--ink-4); background: #fff; padding: 0 4px; border-radius: 3px; font-weight: 400; }
.stock-card canvas { width: 100%; height: 24px; margin: 7px 0 5px; }
.stock-card .pj { display: flex; align-items: baseline; gap: 6px; }
.stock-card .pj b { font-size: 12.5px; font-weight: 600; }
.stock-card .pj span { font-size: 10.5px; }

/* 页签 */
.tabs { gap: 20px; }
.tabs button { font-size: 13.5px; padding: 11px 0 10px; font-weight: 400; }
.tabs button.on { font-weight: 600; }
.tabs button.on::after { width: 16px; height: 2.5px; border-radius: 2px; }
.subtabs { padding: 10px 14px 2px; gap: 16px; }
.subtabs button { font-size: 12.5px; padding-bottom: 7px; font-weight: 400; }
.subtabs button.on { font-weight: 600; border-color: var(--ink); border-bottom-width: 1.5px; }
.sub-right { margin-left: auto; color: var(--ink-3); display: flex; align-items: center; }

/* 行情行 */
.col-head { padding: 8px 14px 7px; font-size: 11px; color: var(--ink-3); font-weight: 400; }
.coin-row { width: 100%; text-align: left; padding: 11px 14px; gap: 10px; }
.coin-row.open { background: #fafbfc; }
.coin-mark { width: 28px; height: 28px; font-size: 11px; margin-right: 0; }
.coin-row .nm b { font-size: 13.5px; font-weight: 600; }
.coin-row .nm span { font-size: 10.5px; color: var(--ink-3); margin-top: 1px; }
.coin-row .price { width: 88px; font-size: 13.5px; font-weight: 500; }
.coin-row .chg { width: 76px; }
.chg-badge { min-width: 66px; padding: 6px 5px; border-radius: 7px; font-size: 12px; font-weight: 500; }

/* 展开卡片 */
.mkt-expand { padding: 0 14px 14px; background: #fafbfc; border-bottom: 1px solid var(--line); }
.mkt-actions { display: flex; gap: 8px; padding: 0 0 10px; }
.act-primary { flex: 1; height: 36px; border-radius: 8px; background: linear-gradient(135deg,#ffe9a8,#f0b90b 55%,#c99a06); color: #1b1f27; font-size: 13px; font-weight: 600; }
.act-ghost { width: 84px; height: 36px; border-radius: 8px; background: #fff; border: 1px solid var(--line-2); font-size: 13px; font-weight: 500; }
.mkt-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px 8px; }
.mst { display: flex; flex-direction: column; gap: 2px; }
.mst span { font-size: 10px; color: var(--ink-3); }
.mst b { font-size: 11.5px; font-weight: 500; }
.mkt-chart { width: 100%; height: 84px; margin-top: 10px; }

/* 广场条 */
.plaza { gap: 16px; padding: 9px 14px; font-size: 12.5px; }
.plaza b { font-weight: 600; }
.plaza .ar { margin-left: auto; display: flex; color: var(--ink-4); }

/* 交易页顶部 */
.cat-row { padding: 8px 14px 2px; gap: 18px; }
.cat-row button { font-size: 14px; font-weight: 400; }
.cat-row button.on { font-weight: 600; }
.cat-row .link-fee { margin-left: auto; font-size: 12px; color: var(--ink-3); }
.sym-top { padding: 6px 14px 2px; }
.sym-top .t1 { font-size: 16px; font-weight: 600; letter-spacing: -.2px; }
.sym-top .t2 { gap: 7px; margin-top: 2px; }
.sym-top .t2 span:first-child { font-size: 11.5px; }
.sym-top .perp { font-size: 10.5px; }
.sym-top .ico { gap: 6px; }
.ico-btn { width: 30px; height: 30px; border-radius: 8px; display: flex; align-items: center; justify-content: center; color: var(--ink-2); }
.ico-btn.on { color: var(--gold-deep); background: rgba(245,193,26,.12); }

.tf-bar { padding: 6px 14px 2px; gap: 15px; }
.tf-bar button { font-size: 12px; padding: 3px 6px; }
.tf-bar button.on { font-weight: 600; border-radius: 5px; }
.tf-bar .more { margin-left: auto; color: var(--ink-3); font-size: 11.5px; }

.ma-legend { padding: 4px 14px 0; gap: 14px; font-size: 10px; }
.ma-legend b { font-weight: 500; }
.chart-box canvas { height: 280px; }
.chart-tip { text-align: center; font-size: 9.5px; color: var(--ink-4); padding: 2px 0 6px; }

/* 两栏 */
.gp { padding: 6px 12px 0; gap: 10px; }
.gp-seg { border-radius: 7px; margin-bottom: 8px; }
.gp-seg button { height: 29px; font-size: 13px; font-weight: 600; }
.gp-sel { height: 32px; font-size: 12px; font-weight: 500; border-radius: 7px; }
.gp-input { height: 36px; font-size: 12.5px; border-radius: 7px; margin-bottom: 7px; }
.gp-input input { font-size: 12.5px; }
.gp-input .u { font-size: 11.5px; font-weight: 500; color: var(--ink-2); }
.gp-checks { font-size: 10.5px; gap: 3px 9px; margin-bottom: 8px; }
.gp-checks .ck { gap: 3px; }
.gp-kv { font-size: 10.5px; padding: 2px 0; }
.gp-kv b { font-weight: 500; }
.gp-btn { height: 38px; font-size: 13.5px; font-weight: 600; border-radius: 7px; margin: 6px 0 3px; }

.gp-fund { font-size: 9px; margin-bottom: 6px; }
.gp-book .bh { font-size: 9px; }
.gp-row { height: 15px; font-size: 10px; }
.gp-mid .px { font-size: 13px; font-weight: 700; }
.gp-mid .mid2 { margin-left: auto; font-size: 9px; color: var(--ink-3); }
.gp-bs { font-size: 9px; margin-top: 6px; }
.gp-tools .step { font-size: 9.5px; }

/* 底部页签 */
.tabs.mini { gap: 18px; border-top: 1px solid var(--line); margin-top: 10px; }
.tabs.mini button { font-size: 13px; padding: 10px 0; font-weight: 400; }
.tabs.mini button.on { font-weight: 600; }
.tabs.mini .tab-right { margin-left: auto; align-self: center; color: var(--ink-3); display: flex; }

/* 仓位卡 */
.pos-card { margin: 12px 12px 0; border-radius: 12px; padding: 12px; }
.pos-card .hd b { font-size: 14px; font-weight: 600; }
.pos-card .tags { display: flex; gap: 5px; margin-top: 3px; }
.tag { font-size: 9.5px; padding: 1px 5px; border-radius: 4px; font-weight: 500; }
.pos-card .pos-grid { gap: 12px 6px; margin-top: 12px; }
.pos-card .pos-grid .metric .k { font-size: 9.5px; }
.pos-card .pos-grid .metric .v { font-size: 12.5px; font-weight: 600; margin-top: 2px; }
.pos-card .acts button { height: 32px; font-size: 12.5px; font-weight: 500; border-radius: 7px; }

/* 现货持仓卡 */
.hold-card { border: 1px solid var(--line); border-radius: 12px; padding: 12px; }
.hold-card .hd { display: flex; align-items: center; gap: 9px; }
.hold-card .hd b { font-size: 14px; font-weight: 600; }
.hold-card .hold-rows { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 12px; }
.hold-card .metric .k { font-size: 9.5px; color: var(--ink-3); }
.hold-card .metric .v { font-size: 12.5px; font-weight: 600; margin-top: 2px; }

/* 止盈止损弹窗 */
.ts-body { padding: 4px 16px 6px; }
.ts-head { display: flex; align-items: center; font-size: 12.5px; color: var(--ink-2); margin-bottom: 14px; }
.ts-head .spacer { flex: 1; }
.ts-row { margin-bottom: 6px; }
.ts-label { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 6px; }
.ts-label span:first-child { font-size: 12.5px; font-weight: 600; }
.ts-input { height: 42px; border-radius: 9px; background: var(--surface); display: flex; align-items: center; padding: 0 12px; gap: 8px; }
.ts-input input { flex: 1; min-width: 0; border: 0; background: none; outline: none; font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; }
.ts-input span { font-size: 11.5px; color: var(--ink-3); }
.ts-pnl { font-size: 11.5px; margin-top: 6px; padding-left: 2px; }
.ts-slider { margin: 10px 0 16px; }
.ts-slider input { width: 100%; accent-color: var(--gold-deep); height: 22px; }
.ts-note { font-size: 10.5px; color: var(--ink-4); margin-bottom: 14px; line-height: 1.6; }
.ts-acts { display: flex; gap: 10px; padding-bottom: 4px; }
.ts-acts button { flex: 1; height: 44px; border-radius: 999px; font-size: 14.5px; font-weight: 600; }
.ts-acts .ghost { background: var(--surface); color: var(--ink); }
.ts-acts .primary { background: linear-gradient(135deg,#ffe9a8,#f0b90b 55%,#c99a06); color: #1b1f27; }

/* 弹窗通用 */
.pad-sm { padding: 14px 16px 18px; }
.kv2 { display: flex; align-items: center; justify-content: space-between; padding: 7px 0; font-size: 12.5px; color: var(--ink-3); }
.kv2 b { color: var(--ink); font-weight: 600; font-size: 12.5px; }
.sheet-acts { display: flex; gap: 10px; margin-top: 16px; }
.sheet-acts button { flex: 1; height: 44px; border-radius: 999px; font-size: 14.5px; font-weight: 600; }
.sheet-acts .ghost { background: var(--surface); color: var(--ink); }
.sheet-acts .up { background: var(--up); color: #fff; }
.sheet-acts .down { background: var(--down); color: #fff; }
.lev-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; padding: 6px 16px 4px; }
.lev-grid button { height: 40px; border-radius: 9px; background: var(--surface); font-size: 13px; font-weight: 600; }
.lev-grid button.on { background: rgba(245,193,26,.14); color: var(--gold-deep); }

/* 学院 */
.learn-t { font-size: 14px; font-weight: 600; margin-top: 7px; }

/* 我的 / 列表 */
.me-head .nm { font-size: 16px; font-weight: 600; }
.me-head .uid { font-size: 11px; }
.me-item { font-size: 13.5px; padding: 13px 14px; }
.me-item .r { font-size: 11.5px; }
.list-row { font-size: 12.5px; }

/* 资金记录 */
.rec-row { padding: 13px 14px; }
.rec-row .coin { font-size: 14px; font-weight: 600; }
.rec-row .ttl { font-size: 13px; font-weight: 500; }
.rec-row .amt { font-size: 13.5px; font-weight: 600; }
.rec-row .l2 { font-size: 10.5px; }
.rec-row .kind { font-size: 10.5px; }
/* 图表高度收紧，让下单面板一屏放得下（对齐 Gate 的比例） */
.chart-box canvas { height: 238px; }
.sym-top .t1 { font-size: 15.5px; }
.gp { padding-top: 4px; }
.tabs.mini { margin-top: 8px; }
/* 展开卡片上边距 + 中部按钮高亮 */
.mkt-expand { padding-top: 10px; border-top: 1px solid var(--line); }
.tabbar .fab.on i { box-shadow: none; }
/* =========================================================
   第四轮：接后端后的新组件
   ========================================================= */
/* 启动页 */
.splash { position: fixed; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; background: #fff; gap: 10px; }
.sp-logo { width: 56px; height: 56px; border-radius: 16px; background: linear-gradient(135deg, #ffd36e, #f5c11a); color: #fff; font-weight: 800; font-size: 20px; display: flex; align-items: center; justify-content: center; }
.sp-t { font-size: 15px; font-weight: 600; letter-spacing: 2px; color: var(--ink-2); }
.sp-bar { width: 92px; height: 2px; background: var(--line-2); border-radius: 2px; overflow: hidden; margin-top: 6px; }
.sp-bar i { display: block; height: 100%; width: 40%; background: var(--ink); border-radius: 2px; animation: spmove 1s ease-in-out infinite; }
@keyframes spmove { 0% { transform: translateX(-100%); } 100% { transform: translateX(260%); } }

/* 登录 / 注册 */
.auth-page { min-height: 100vh; padding: 0 24px; }
.auth-head { padding: 54px 0 26px; }
.auth-logo { width: 46px; height: 46px; border-radius: 13px; background: linear-gradient(135deg, #ffd36e, #f5c11a); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.auth-title { font-size: 22px; font-weight: 700; letter-spacing: -.3px; }
.auth-sub { font-size: 12px; color: var(--ink-3); margin-top: 6px; }
.auth-form { display: flex; flex-direction: column; gap: 10px; }
.auth-field { height: 46px; border-radius: 10px; background: var(--surface); display: flex; align-items: center; padding: 0 14px; }
.auth-field input { border: 0; background: none; outline: none; width: 100%; font-size: 14px; }
.auth-btn { height: 46px; border-radius: 999px; background: linear-gradient(135deg,#ffe9a8,#f0b90b 55%,#c99a06); color: var(--ink-deep); font-size: 15px; font-weight: 600; margin-top: 6px; }
.auth-links { text-align: center; font-size: 12.5px; color: var(--ink-3); margin-top: 12px; }
.auth-links b { color: var(--gold-deep); font-weight: 600; }
.auth-agree { display: flex; align-items: flex-start; gap: 7px; font-size: 11.5px; color: var(--ink-3); padding: 2px 2px; }
.auth-agree input { margin-top: 2px; accent-color: var(--gold-deep); }
.auth-foot { position: fixed; bottom: 26px; left: 0; right: 0; text-align: center; font-size: 11px; color: var(--ink-4); }

/* 我的 */
.role-chip { margin-left: auto; font-size: 10.5px; padding: 3px 8px; border-radius: 6px; background: rgba(245,193,26,.08); color: var(--gold-deep); font-weight: 500; }
.me-asset { border: 1px solid var(--line); border-radius: 12px; padding: 14px; background: linear-gradient(135deg,#f6f9ff,#fff); }
.me-asset .big { font-size: 24px; font-weight: 700; letter-spacing: -.6px; margin: 4px 0 10px; }
.me-asset-row { display: flex; gap: 8px; }
.me-asset-row > div { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.me-asset-row span { font-size: 10px; color: var(--ink-3); }
.me-asset-row b { font-size: 12.5px; font-weight: 600; }
.me-ver { text-align: center; font-size: 10.5px; color: var(--ink-4); padding: 6px 0 26px; }

/* 团队卡片 + 右侧居中按钮 */
.tm-card { display: block; padding: 14px; border: 1px solid #f0f1f3;
  border-radius: 12px; margin-bottom: 10px; background: #ffffff; }
.tm-main { flex: 1; min-width: 0; }
.tm-line1 { display: flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 600; }
.tm-line2 { font-size: 10.5px; color: var(--ink-3); margin-top: 3px; }
.tm-line3 { font-size: 10.5px; color: var(--ink-3); margin-top: 3px; }
.tm-line3 b { color: var(--ink); font-weight: 600; }
.tm-btn {
  flex: none; align-self: center; height: 30px; padding: 0 13px; border-radius: 999px;
  background: linear-gradient(135deg,#ffe9a8,#f0b90b 55%,#c99a06); color: #1b1f27; font-size: 12px; font-weight: 500;
  box-shadow: 0 2px 8px rgba(245,193,26,.24);
}
.tm-btn:active { transform: scale(.96); filter: brightness(.94); }

/* 佣金设置弹窗 */
.rate-row { display: flex; align-items: center; gap: 8px; height: 48px; border-radius: 10px; background: var(--surface); padding: 0 14px; margin-top: 12px; }
.rate-row input { flex: 1; border: 0; background: none; outline: none; font-size: 20px; font-weight: 600; font-variant-numeric: tabular-nums; }
.rate-row span { font-size: 14px; color: var(--ink-3); }
.rate-quick { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.rate-quick button { flex: 1; min-width: 58px; height: 32px; border-radius: 8px; background: var(--surface); font-size: 12.5px; }

/* 实名 */
.kyc-photos { display: flex; gap: 10px; }
.kyc-photo { flex: 1; height: 96px; border-radius: 11px; border: 1px dashed var(--line-2); background: var(--surface-2); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; color: var(--ink-4); font-size: 10.5px; overflow: hidden; position: relative; }
.kyc-photo.has { border-style: solid; }
.kyc-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.kyc-photo .lb { position: relative; z-index: 1; background: rgba(255,255,255,.9); padding: 2px 8px; border-radius: 6px; color: var(--ink-2); }
.kyc-video { border: 1px solid var(--line); border-radius: 12px; padding: 12px; }
.kv-code { font-size: 12.5px; color: var(--ink-2); }
.kv-code b { font-size: 19px; letter-spacing: 3px; color: var(--ink); margin-left: 6px; }
.kyc-video-actions { display: flex; align-items: center; gap: 10px; margin-top: 10px; }
.kyc-video-el { width: 100%; height: 0; border-radius: 8px; margin-top: 8px; background: #000; }
.kyc-video-el[src] { height: 150px; }
.btn-sm-blue { height: 32px; padding: 0 14px; border-radius: 999px; background: linear-gradient(135deg,#ffe9a8,#f0b90b 55%,#c99a06); color: #1b1f27; font-size: 12.5px; font-weight: 500; }
.btn-sm-line { height: 32px; padding: 0 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line-2); font-size: 12.5px; margin-top: 10px; }
.kyc-thumbs { display: flex; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.thumb { font-size: 10.5px; padding: 4px 9px; border-radius: 6px; background: rgba(245,193,26,.08); color: var(--gold-deep); }
.thumb.off { background: var(--surface); color: var(--ink-4); }
.kyc-acts { display: flex; gap: 8px; margin-top: 10px; }
.mini-ok, .mini-no { flex: 1; height: 30px; border-radius: 8px; font-size: 12.5px; font-weight: 500; }
.mini-ok { background: rgba(20,184,122,.12); color: var(--down); }
.mini-no { background: var(--surface); color: var(--ink-2); }

/* 后台 */
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.au-row { display: flex; align-items: center; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.au-main { flex: 1; min-width: 0; }
.au-n { font-size: 13px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.au-m { font-size: 10px; color: var(--ink-3); margin-top: 2px; }
.au-asset { font-size: 12px; color: var(--ink-2); }
.au-btn { flex: none; height: 26px; padding: 0 10px; border-radius: 999px; background: rgba(240,83,95,.1); color: var(--up); font-size: 11.5px; }
.au-btn.off { background: rgba(20,184,122,.12); color: var(--down); }
.set-row { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.set-row:last-child { border-bottom: 0; }
.set-k { flex: 1; display: flex; flex-direction: column; }
.set-k b { font-size: 13px; font-weight: 500; }
.set-k span { font-size: 10px; color: var(--ink-3); margin-top: 2px; }
.set-i { width: 92px; height: 34px; border-radius: 8px; background: var(--surface); border: 0; outline: none; text-align: right; padding: 0 10px; font-size: 13px; font-variant-numeric: tabular-nums; }
.prog { height: 6px; border-radius: 3px; background: var(--surface); margin: 12px 0 8px; overflow: hidden; }
.prog i { display: block; height: 100%; background: linear-gradient(135deg,#ffe9a8,#f0b90b 55%,#c99a06); border-radius: 3px; }
.stat2 { display: flex; gap: 10px; margin-top: 10px; }

/* 资产 / 账户卡 */
.acc-card { display: flex; align-items: center; padding: 14px; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 10px; }
.acc-l { flex: 1; display: flex; flex-direction: column; }
.acc-l b { font-size: 13.5px; font-weight: 600; }
.acc-l span { font-size: 10.5px; color: var(--ink-3); margin-top: 2px; }
.acc-r { font-size: 15px; font-weight: 600; }
.acc-r i { font-style: normal; font-size: 10px; color: var(--ink-3); font-weight: 400; }
.mini-btn { flex: none; height: 28px; padding: 0 12px; border-radius: 999px; background: rgba(245,193,26,.08); color: var(--gold-deep); font-size: 12px; }
.quick-amts { display: flex; gap: 8px; margin-top: 10px; }
.quick-amts button { flex: 1; height: 34px; border-radius: 8px; background: var(--surface); font-size: 13px; }

/* 订单行 */
.ord-row { padding: 10px 0; border-bottom: 1px solid var(--line); }
.ord-l1 { display: flex; align-items: center; gap: 7px; font-size: 13px; }
.ord-l1 b { font-weight: 600; }
.ord-px { margin-left: auto; font-size: 13px; font-weight: 600; }
.ord-l2 { display: flex; gap: 12px; font-size: 10.5px; color: var(--ink-3); margin-top: 3px; }
/* 搜索弹层 */
.search-in { padding: 0 16px 10px; }
.search-in input { width: 100%; height: 40px; border: 0; outline: none; border-radius: 10px; background: var(--surface); padding: 0 14px; font-size: 14px; }
.opt-row { display: flex; align-items: center; gap: 6px; }
/* 下单设置弹层 */
.cfg-row { display: flex; align-items: center; justify-content: space-between; padding: 10px 0; font-size: 13px; color: var(--ink-3); border-bottom: 1px solid var(--line); }
.cfg-row b { color: var(--ink); font-weight: 600; }
.cfg-acts { display: flex; gap: 8px; margin-top: 12px; }
.cfg-acts button { flex: 1; height: 38px; border-radius: 9px; background: var(--surface); font-size: 13px; }
/* =========================================================
   第五轮：首页/行情/学院新组件
   ========================================================= */
.brand-mini { font-size: 15px; font-weight: 800; letter-spacing: 1px; color: var(--ink); }
.tb-ghost { height: 30px; padding: 0 14px; border-radius: 999px; font-size: 12.5px; color: var(--ink-2); background: var(--surface); }
.tb-solid { height: 30px; padding: 0 16px; border-radius: 999px; font-size: 12.5px; color: #1b1f27; background: linear-gradient(135deg,#ffe9a8,#f0b90b 55%,#c99a06); margin-left: 8px; font-weight: 500; }
.user-box { display: flex; flex-direction: column; align-items: flex-start; gap: 1px; margin-left: 9px; min-width: 0; }
.user-box .u-name { font-size: 14px; font-weight: 600; max-width: 130px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.user-box .u-meta { font-size: 10px; color: var(--ink-3); }
.vip-chip { margin-left: 8px; font-size: 9.5px; font-weight: 600; color: #b8860b; background: linear-gradient(135deg,#fff4d6,#ffe7b0); padding: 3px 7px; border-radius: 5px; }

/* 搜索框里的滚动行情 */
.searchbar .hot-roll { flex: 1; overflow: hidden; height: 18px; position: relative; }
.searchbar .hot-track { display: flex; gap: 18px; align-items: center; white-space: nowrap; animation: hotroll 14s linear infinite; }
.searchbar .hl { font-size: 12px; }
@keyframes hotroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

.asset-label .eye { display: inline-flex; vertical-align: -2px; margin-left: 2px; color: var(--ink-3); }
.asset-total { align-items: baseline; }
.asset-total .unit { font-size: 13px; font-weight: 500; color: var(--ink-3); margin-left: 6px; line-height: 1; transform: translateY(-1px); }
.asset-total b { line-height: 1; }
.today-pnl { display: flex; align-items: center; gap: 6px; }
.gain { color: var(--down); }
.loss { color: var(--up); }

/* 收藏 */
.coin-row-wrap { position: relative; }
.coin-row { width: 100%; display: flex; align-items: center; gap: 10px; padding: 11px 14px; text-align: left; background: #fff; }
.fav-btn { width: 26px; text-align: center; font-size: 15px; color: var(--ink-4); line-height: 1; }
.fav-btn.on { color: #f5c11a; }
.coin-row .chg { width: 76px; }

/* 行情页头 */
.mkt-head { padding: 10px 14px 2px; }
.searchbar.flat { margin: 0; width: 100%; }

/* 学院 */
.learn-tools { display: flex; gap: 8px; }
.learn-tools button { flex: 1; height: 36px; border-radius: 9px; background: var(--surface); font-size: 12.5px; color: var(--ink-2); }
.learn-card { border: 1px solid var(--line); border-radius: 12px; padding: 13px; margin-bottom: 10px; }

/* 公告 / 客服 */
.notice-item { padding: 13px 16px; border-bottom: 1px solid var(--line); }
.notice-item .ni-t { font-size: 13.5px; font-weight: 600; }
.notice-item .ni-d { font-size: 10.5px; color: var(--ink-3); margin-top: 3px; }
.notice-body { font-size: 13px; line-height: 1.75; color: var(--ink-2); margin-top: 10px; word-break: break-word; }
/* 地址 / 通知 / 后台内容 */
.addr-card { display: flex; align-items: center; padding: 13px; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 10px; }
.a-l { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.a-l b { font-size: 13.5px; font-weight: 600; }
.a-l .mono { font-size: 11px; color: var(--ink-2); font-family: ui-monospace, Menlo, monospace; }
.a-del { font-size: 11.5px; color: var(--up); padding: 4px 8px; }
.pref-row { display: flex; align-items: center; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.pref-row:last-child { border-bottom: 0; }
.pr-k { flex: 1; display: flex; flex-direction: column; }
.pr-k b { font-size: 13px; font-weight: 500; }
.pr-k span { font-size: 10.5px; color: var(--ink-3); margin-top: 2px; }
.switch { width: 42px; height: 24px; border-radius: 999px; background: var(--line-2); position: relative; transition: background .18s; }
.switch i { position: absolute; top: 2px; left: 2px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.18); transition: left .18s; }
.switch.on { background: linear-gradient(135deg,#ffe9a8,#f0b90b); }
.switch.on i { left: 20px; }
.cfg-card { display: flex; align-items: center; gap: 10px; padding: 12px; border: 1px solid var(--line); border-radius: 10px; margin-bottom: 8px; }
.cc-main { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.cc-main b { font-size: 13px; font-weight: 600; }
.cc-del { font-size: 11.5px; color: var(--up); padding: 4px 8px; }
/* 数量滑杆填充 + 百分比气泡 */
.gp-slider { position: relative; height: 30px; }
.gp-slider .tr { position: absolute; left: 0; right: 0; top: 14px; height: 3px; background: var(--line-2); border-radius: 2px; overflow: hidden; }
.gp-slider .tr .fill { display: block; height: 100%; background: linear-gradient(135deg,#ffe9a8,#f0b90b 55%,#c99a06); border-radius: 2px; }
.gp-slider .kb { position: absolute; top: 8px; width: 15px; height: 15px; margin-left: -7px; border-radius: 50%; background: #fff; border: 2px solid var(--blue); box-sizing: border-box; }
.gp-slider .kb em { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); font-size: 9px; font-style: normal; color: var(--gold-deep); background: rgba(245,193,26,.1); padding: 1px 5px; border-radius: 4px; white-space: nowrap; }

/* 止盈止损刻度 */
.ts-ticks { display: flex; justify-content: space-between; padding: 0 2px; margin-top: -4px; }
.ts-ticks span { font-size: 9.5px; color: var(--ink-4); }

/* 平仓结果弹窗 */
.mask .close-res { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); width: 300px; background: #fff; border-radius: 18px; padding: 26px 22px 20px; text-align: center; animation: crpop .32s cubic-bezier(.2,1.2,.4,1); }
@keyframes crpop { 0% { opacity: 0; transform: translate(-50%,-44%) scale(.9); } 100% { opacity: 1; transform: translate(-50%,-50%) scale(1); } }
.cr-ring { width: 54px; height: 54px; border-radius: 50%; margin: 0 auto 12px; display: flex; align-items: center; justify-content: center; font-size: 26px; color: #fff; animation: crring .5s ease-out .1s both; }
.cr-ring.win { background: linear-gradient(135deg,#22c55e,#16a34a); }
.cr-ring.lose { background: linear-gradient(135deg,#f5535f,#e11d48); }
@keyframes crring { 0% { transform: scale(0); } 70% { transform: scale(1.12); } 100% { transform: scale(1); } }
.cr-title { font-size: 13px; color: var(--ink-3); }
.cr-amount { font-size: 34px; font-weight: 700; letter-spacing: -1px; margin: 4px 0 2px; font-variant-numeric: tabular-nums; }
.cr-sub { font-size: 11.5px; color: var(--ink-3); margin-bottom: 16px; }
.cr-sub b { font-weight: 600; }
.cr-rows { text-align: left; border-top: 1px solid var(--line); padding-top: 12px; }
.cr-rows > div { display: flex; justify-content: space-between; padding: 5px 0; font-size: 12px; color: var(--ink-3); }
.cr-rows b { color: var(--ink); font-weight: 500; }
.cr-btn { width: 100%; height: 44px; border-radius: 999px; background: linear-gradient(135deg,#ffe9a8,#f0b90b 55%,#c99a06); color: #1b1f27; font-size: 15px; font-weight: 600; margin-top: 16px; }
.gain { color: #16a34a; }
.loss { color: #e11d48; }
/* 代理后台 */
.hero-rate { border-radius: 16px; padding: 18px; background: linear-gradient(135deg,#2a2413,#3a3218 45%,#8a6a08 100%); color: #fff; box-shadow: 0 8px 22px rgba(245,193,26,.28); }
.hero-rate .row-split { margin-bottom: 6px; }
.hero-rate-v { font-size: 36px; font-weight: 700; letter-spacing: -1px; line-height: 1.1; margin: 2px 0 4px; }
.hero-rate-v em { font-size: 17px; font-style: normal; font-weight: 600; margin-left: 2px; }
.agent-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin: 12px 0 10px; }
.agent-card { border-radius: 12px; padding: 12px; display: flex; flex-direction: column; gap: 5px; }
.agent-card span { font-size: 10.5px; color: var(--ink-3); }
.agent-card b { font-size: 16px; font-weight: 700; letter-spacing: -.3px; }

/* VIP 配色 */
.vip-hero { border-radius: 16px; padding: 18px; color: #3a2a00; background: linear-gradient(135deg,#ffe9b0,#f7c948 60%,#e8a90b); box-shadow: 0 8px 22px rgba(232,169,11,.28); }
.vip-hero .vh-lv { font-size: 30px; font-weight: 800; letter-spacing: -.5px; }
.vip-hero .vh-sub { font-size: 11.5px; color: rgba(58,42,0,.72); }
.vip-bar { height: 7px; border-radius: 4px; background: rgba(0,0,0,.12); margin: 12px 0 6px; overflow: hidden; }
.vip-bar i { display: block; height: 100%; background: #3a2a00; border-radius: 4px; }
.vip-up { display: flex; align-items: center; gap: 8px; margin-top: 10px; padding-top: 10px; border-top: 1px solid rgba(0,0,0,.1); }
.vip-up b { font-size: 13px; }
.vip-tier { display: flex; align-items: center; padding: 11px 14px; border-bottom: 1px solid var(--line); font-size: 12.5px; }
.vip-tier:last-child { border-bottom: 0; }
.vip-tier.on { background: #fffbe8; }
.vip-badge { width: 34px; height: 20px; border-radius: 5px; display: inline-flex; align-items: center; justify-content: center; font-size: 9.5px; font-weight: 700; color: #6b4c00; background: linear-gradient(135deg,#ffe9b0,#f7c948); margin-right: 8px; }
/* 邀请海报 */
.invite-hero { border-radius: 16px; padding: 18px; background: linear-gradient(135deg,#e0a413,#f5c11a); color: #fff; box-shadow: 0 8px 22px rgba(245,193,26,.28); }
.invite-code { font-size: 30px; font-weight: 700; letter-spacing: 4px; margin: 6px 0 12px; font-variant-numeric: tabular-nums; }
.invite-copy { height: 32px; padding: 0 16px; border-radius: 999px; background: rgba(255,255,255,.18); color: #fff; font-size: 12.5px; }
.link-box { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; background: var(--surface); margin-bottom: 14px; }
.link-box span { flex: 1; font-size: 11px; color: var(--ink-2); word-break: break-all; }
.poster-wrap { display: flex; justify-content: center; }
.poster-cv { width: 100%; max-width: 300px; border-radius: 14px; box-shadow: 0 8px 24px rgba(20,30,60,.16); }
.poster-acts { display: flex; gap: 10px; margin-top: 14px; }
.poster-acts .btn-lg { flex: 1; }
.vip-up-btn { width: 100%; height: 38px; border-radius: 999px; background: rgba(58,42,0,.88); color: #ffe9b0; font-size: 13px; font-weight: 600; margin-top: 12px; }
/* 录制弹窗 */
.rec-box { padding: 6px 16px 18px; text-align: center; }
.rec-tip { font-size: 12px; color: var(--ink-3); }
.rec-code { font-size: 30px; font-weight: 700; letter-spacing: 5px; margin: 6px 0 12px; color: var(--gold-deep); }
.rec-stage { position: relative; width: 100%; aspect-ratio: 3/4; border-radius: 14px; overflow: hidden; background: #111; }
.rec-stage video { width: 100%; height: 100%; object-fit: cover; }
.rec-mask { position: absolute; inset: 0; background: rgba(0,0,0,.35); display: flex; align-items: center; justify-content: center; }
.rec-mask.done { background: rgba(20,184,122,.28); }
.rec-count { font-size: 64px; font-weight: 800; color: #fff; text-shadow: 0 2px 12px rgba(0,0,0,.4); }
.rec-note { font-size: 11.5px; color: var(--ink-3); margin-top: 10px; }

/* 提现白名单 */
.wl-row { display: flex; align-items: center; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.wl-chip { height: 28px; padding: 0 12px; border-radius: 999px; background: rgba(245,193,26,.08); color: var(--gold-deep); font-size: 12px; }
.wl-chip.ghost { background: var(--surface); color: var(--ink-2); }
.acc-card.voucher { background: linear-gradient(135deg,#fff8e8,#fffdf7); border-color: #ffe6b0; }
/* 轮播 */
.banner-wrap { margin: 0 14px 12px; border-radius: 14px; overflow: hidden; background: var(--surface); }
.banner-track { display: flex; transition: transform .32s cubic-bezier(.2,.8,.3,1); }
.banner-wrap .banner { flex: 0 0 100%; width: 100%; margin: 0; border-radius: 0; }
.banner-dots { display: flex; justify-content: center; gap: 5px; padding: 7px 0; background: #fff; }
.banner-dots i { width: 5px; height: 5px; border-radius: 50%; background: var(--line-2); transition: all .2s; }
.banner-dots i.on { width: 14px; border-radius: 3px; background: linear-gradient(135deg,#ffe9a8,#f0b90b 55%,#c99a06); }

/* 委托撤单按钮 */

.cancel-btn { margin-left: auto; height: 26px; padding: 0 12px; border-radius: 999px; background: rgba(245,83,95,.1); color: var(--up); font-size: 11.5px; }





/* ===== 第九轮修正 ===== */

/* 行情行：价格/涨跌幅列对齐；收藏按钮挪到名字后面 */

.coin-row { padding: 11px 14px 11px 14px; }

.coin-row .nm { min-width: 0; flex: 1; }

.coin-row .fav-btn { width: 18px; flex: none; font-size: 14px; margin: 0 2px 0 0; }

.coin-row .price { width: 86px; flex: none; text-align: right; }

.coin-row .chg { width: 76px; flex: none; display: flex; justify-content: flex-end; }

.col-head .c2 { width: 86px; text-align: right; }

.col-head .c3 { width: 76px; text-align: right; }

.col-head { align-items: center; }



/* 学院直接展开 */

.learn-body { font-size: 12.5px; line-height: 1.7; color: var(--ink-2); margin-top: 6px; }



/* 数量滑杆：两端与方框对齐，圆点在线上 */

.gp-slider { padding: 0 7px; box-sizing: border-box; height: 30px; margin: 4px 0 2px; }

.gp-slider .tr { left: 0; right: 0; top: 50%; transform: translateY(-50%); height: 3px; }

.gp-slider .dt { top: 50%; transform: translate(-50%, -50%); width: 4px; height: 4px; background: #cfd4dc; border-radius: 50%; }

.gp-slider .kb { top: 50%; transform: translate(-50%, -50%); margin: 0; }

.gp-slider .kb em { bottom: 16px; }



/* 历史行：盈亏靠右、可点提示 */

.ord-l2 { align-items: baseline; }

.ord-pnl { margin-left: auto; font-weight: 600; font-size: 12.5px; }

.ord-more { font-size: 10px; color: var(--ink-4); margin-left: 8px; }

.det-pnl { display: flex; align-items: baseline; justify-content: space-between; padding: 12px 14px; border-radius: 10px; background: var(--surface); margin-bottom: 12px; }

.det-pnl span { font-size: 11.5px; color: var(--ink-3); }

.det-pnl b { font-size: 20px; font-weight: 700; }



/* 实名证件框：身份证比例 85.6:54 ≈ 1.585 */

.kyc-photo { height: auto; aspect-ratio: 1.585; }



/* 抵扣券问号 */

.q-help { display: inline-flex; width: 15px; height: 15px; border-radius: 50%; background: var(--surface); color: var(--ink-3);

  align-items: center; justify-content: center; font-size: 10px; margin-left: 5px; }



.seg2 { display: flex; gap: 8px; }

.seg2 button { flex: 1; height: 34px; border-radius: 8px; background: var(--surface); font-size: 12.5px; color: var(--ink-2); }

.seg2 button.on { background: rgba(245,193,26,.1); color: var(--gold-deep); font-weight: 600; }


/* ַ */
.sg-title { font-size: 11px; color: var(--ink-3); padding: 10px 16px 4px; }
.sym-pick { padding: 2px 0 8px; }



/* 6 位资金密码输入框 */

.pwd-boxes { display: flex; gap: 8px; }

.pwd-boxes input { flex: 1; min-width: 0; height: 46px; text-align: center; font-size: 20px; letter-spacing: 2px;

  border: 1px solid var(--line-2); border-radius: 9px; background: var(--surface); outline: none; }

.pwd-boxes input:focus { border-color: var(--gold-deep); background: #fff; }

/* 谷歌验证二维码 */

.totp-qr { width: 150px; height: 150px; margin: 10px auto; display: block; background: #fff; border-radius: 8px; }

.totp-secret { font-family: ui-monospace, Menlo, monospace; font-size: 13px; letter-spacing: 1px; word-break: break-all;

  background: var(--surface); padding: 8px 10px; border-radius: 8px; margin-top: 8px; }


/* Լ/ֻ 24h ͳ */
.day-stats { display: flex; gap: 16px; padding: 6px 14px 2px; font-size: 10.5px; color: var(--ink-3); }
.day-stats b { color: var(--ink-2); font-weight: 500; margin-left: 2px; }


/* ³ɽ */
.lt-box { margin-top: 6px; border-top: 1px solid var(--line); padding-top: 4px; }
.lt-hd { display: flex; justify-content: space-between; font-size: 9.5px; color: var(--ink-3); padding: 2px 0 3px; }
.lt-row { display: flex; justify-content: space-between; font-size: 9.5px; line-height: 15px; color: var(--ink-3); }
.lt-row .up { color: var(--up); }
.lt-row .down { color: var(--down); }


/* µϸ */
.calc-box { margin: 2px 0 6px; padding: 6px 8px; border-radius: 7px; background: var(--surface); }
.calc-box > div { display: flex; justify-content: space-between; font-size: 9.5px; color: var(--ink-3); line-height: 16px; }
.calc-box b { color: var(--ink-2); font-weight: 500; }


/* ͼ */
.depth-box { padding: 2px 12px 0; }
.depth-box canvas { width: 100%; height: 54px; display: block; }


/* ʲ */
.bd-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px 8px; padding: 4px 14px 12px; }
.bd-item { display: flex; flex-direction: column; gap: 2px; }
.bd-item span { font-size: 10px; color: var(--ink-3); }
.bd-item b { font-size: 12.5px; font-weight: 600; }


/* ̨ */
.grp-head { display: flex; align-items: baseline; gap: 8px; padding: 12px 0 6px; }
.grp-head b { font-size: 13px; font-weight: 600; }
.grp-head span { font-size: 10.5px; color: var(--ink-3); }


/* Ľǿɫ */
.fee-accent { color: #e0a413; font-weight: 600; }


/* ʷɽУϢҽ */
.ord-row { display: flex; align-items: center; gap: 10px; }
.ord-main { flex: 1; min-width: 0; }
.ord-right { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; flex: none; }
.ord-right b { font-size: 13.5px; font-weight: 600; }
.ord-right .ord-more { font-size: 10px; color: var(--ink-4); }


/* ֿȯ˵ */
.vline { margin-bottom: 10px; line-height: 1.7; }


/* ͼ */
.coin-mark { position: relative; overflow: hidden; }
.coin-mark .cm-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; border-radius: 50%; }


/* ֤밴ťҲ */
.field { position: relative; }
.send-code-btn { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); font-size: 12px; color: var(--blue, #e0a413); background: none; border: none; padding: 4px 2px; }
.field:has(.send-code-btn) input { padding-right: 62px; }
/* ʵ֤ʾͼ */
.warn-ic { display: inline-flex; align-items: center; margin-right: 6px; }


/* ʾ/ײ */
.tip-box { display: flex; align-items: center; gap: 6px; }
.tip-box .warn-ic { display: inline-flex; align-items: center; line-height: 0; }
.bottom-bar .field-label:first-child { margin-top: 0 !important; }


.send-code-btn { z-index: 3; min-width: 44px; text-align: right; }


/* ֿȯ˵Բ */
.vch-help { padding: 2px 0 6px; }
.vh-item { margin-bottom: 14px; }
.vh-title { display: inline-block; padding: 3px 10px; border-radius: 999px;
  background: linear-gradient(135deg,#ffe9a8,#f0b90b 55%,#c99a06); color: #ffffff; font-size: 12px; font-weight: 600; margin-bottom: 6px; }
.vh-body { font-size: 12.5px; line-height: 1.75; color: var(--ink-2); }


/* ҳ */
.inv-card { padding: 18px 16px; text-align: center; }
.inv-title { font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.inv-qr { margin: 14px auto 10px; width: 132px; height: 132px; }
.inv-qr svg { width: 132px; height: 132px; display: block; }
.inv-code-label { font-size: 11px; color: var(--ink-3); margin-top: 6px; }
.inv-code { font-size: 26px; font-weight: 700; letter-spacing: 2px; margin: 2px 0 6px; }
.inv-link { word-break: break-all; }


/* ȫ״̬֣бҶ */
.sec-val { font-style: normal; }
/* ʽ */
.pwd-boxes .pwd-box { aspect-ratio: 1 / 1; }


/* ̨ 8 ͳƿ */
.kpi-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.kpi-card { background: #ffffff; border-radius: 12px; padding: 12px;
  border: 1px solid #f0f1f3; box-shadow: none; }
.kpi-card span { display: block; font-size: 11px; color: var(--ink-3); }
.kpi-card b { display: block; margin-top: 4px; font-size: 14px; font-weight: 600; }


/* ͼ꣺ͼƬģʽȥƷɫףױ */
.coin-mark.img-ok { background: transparent !important; box-shadow: none; }
.coin-mark .cm-img { border-radius: 50%; background: transparent; }


/* ֿȯƬͻ */
.vch-num { display: flex; align-items: baseline; gap: 2px; }
.vch-num b { font-size: 17px; color: #e5484d; }
.vch-exp { padding: 0 14px 10px; }
/* ҳʽ */
.bottom-bar .field-label { margin-top: 8px !important; }


/* ֵײȥϱ߾ */
.bottom-bar { padding-top: 0 !important; }
.bottom-bar > .field-label:first-of-type { margin-top: 4px !important; }


/* ҳвհ */
.page.with-bottom { padding-bottom: 0 !important; }
.page.with-bottom .pad { padding-bottom: 8px !important; }


/* ҳײݣٳĻհ */


/* ֿȯƬϢҶȣѹ */
.vch-card { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px; }
.vch-left { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.vch-title { display: flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 600; white-space: nowrap; }
.vch-sub { font-size: 11px; color: var(--ink-3); }
.vch-exp { font-size: 11px; color: var(--ink-3); }
.vch-num { display: flex; flex-direction: column; align-items: flex-end; flex: none; }
.vch-num b { font-size: 18px; color: #e5484d; line-height: 1.1; }

/* ֿȯЧС */
.vch-card { flex-wrap: wrap; }
.vch-exp-row { flex-basis: 100%; font-size: 11px; color: var(--ink-3); margin-top: 6px; }

/* ҳֶν󣬵ײֻťհʧ */
.wd-page .bottom-bar { padding: 10px 16px; }

/* ֿȯϢ + Ч */
.vch-card { display: block; padding: 14px; }
.vch-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.vch-left { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.vch-title { display: flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 600; white-space: nowrap; }
.vch-sub { font-size: 11px; color: var(--ink-3); }
.vch-right { display: flex; flex-direction: column; align-items: flex-end; flex: none; }
.vch-right b { font-size: 18px; color: #e5484d; line-height: 1.1; }
.vch-exp { margin-top: 10px; font-size: 11px; color: var(--ink-3); }

/* ʽ 6  */
.pwd-boxes { display: flex; gap: 8px; }
.pwd-boxes input { flex: 1 1 0; width: auto; height: auto; aspect-ratio: 1 / 1; padding: 0; text-align: center; font-size: 20px; border: 1px solid var(--line-2); border-radius: 9px; background: var(--surface); outline: none; }
.pwd-boxes input:focus { border-color: var(--gold-deep); background: #fff; }

/* ֤룺ռλֲб */
.field input::placeholder, .pad-sm input::placeholder { font-style: normal !important; }
.sheet-desc, .pad-sm .tiny { font-style: normal !important; }

/* 谷歌验证器模式：隐藏所有发送验证码按钮 */
body.ga-mode .send-code-btn { display: none !important; }

/* ֲֿƬֹӯֹ */
.pos-tpsl { display: flex; gap: 18px; margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--line-2); }
.pos-tpsl .tp-line { display: flex; align-items: center; gap: 6px; font-size: 12px; }
.pos-tpsl .tp-line span { color: var(--ink-3); }
.pos-tpsl .tp-line b { font-size: 13px; }

/* 持仓卡片止盈止损：标签不换行 */
.pos-tpsl .tp-line { white-space: nowrap; flex: none; }
.pos-tpsl .tp-line span, .pos-tpsl .tp-line b { white-space: nowrap; word-break: keep-all; }

/* ֹӯֹ�𣺵���һ����ʾ */
.pos-tpsl { display: flex; flex-wrap: nowrap; gap: 16px; }
.pos-tpsl .tp-item { white-space: nowrap; font-size: 12px; color: var(--ink-3); }
.pos-tpsl .tp-item b { font-size: 13px; margin-left: 2px; }

/* �����ײ���ť���������ף������� */
.sheet .btn-lg { width: calc(100% - 32px); margin: 8px 16px 16px; }
.sheet .sheet-acts { margin: 16px 16px 8px; }

/* pos-card TP/SL: keep on ONE line, full card width (2026-11-16) */
.pos-tpsl { display: flex; flex-wrap: nowrap; align-items: baseline; gap: 14px;
  margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--line-2);
  overflow: hidden; white-space: nowrap; }
.pos-tpsl .tp-item { display: inline-flex; align-items: baseline; gap: 4px;
  flex: 0 0 auto; white-space: nowrap; font-size: 12px; color: var(--ink-3); }
.pos-tpsl .tp-item b { font-size: 13px; font-weight: 600; white-space: nowrap; }
/* pending order card (optimistic UI, added 2026-11-16) */
.pending-card{display:flex;align-items:center;gap:8px;padding:11px 14px;margin-bottom:10px;
  border:1px dashed rgba(245,193,26,.5);border-radius:12px;background:rgba(245,193,26,.07);
  font-size:13px;color:var(--ink-2)}
.pending-card b{font-weight:600;color:var(--ink)}
.p-spin{width:12px;height:12px;border-radius:50%;border:2px solid rgba(245,193,26,.25);
  border-top-color:#f5c11a;animation:p-spin .8s linear infinite;flex:none}
@keyframes p-spin{to{transform:rotate(360deg)}}
.pos-card.closing{opacity:.55}
.pos-card.closing .acts button{opacity:.6}
/* slider percent label goes below the track (was a floating bubble that covered the qty input) */
.gp-slider .kb em { display: none !important; }
.gp-pct { display: flex; align-items: center; justify-content: flex-end; margin: -2px 0 6px; }
.gp-pct .pct { font-size: 11px; line-height: 1; color: var(--gold-deep); background: rgba(245,193,26,.10);
  padding: 2px 6px; border-radius: 4px; font-variant-numeric: tabular-nums; }
/* bill detail sheet: only colored values stay bold, others normal weight (2026-11-16) */
.det-list .kv2 b { font-weight: 400; }
.det-list .kv2 b .gain, .det-list .kv2 b .loss { font-weight: 600; }
/* bill detail: fee total & voucher value are bold but black (2026-11-16) */
.det-list .kv2 b .det-strong, .det-list .kv2 b.det-strong { font-weight: 600; color: var(--ink); }
/* profile avatar editor (2026-11-16) */
.av-btn { border: 0; background: transparent; padding: 0; line-height: 0; }
.avatar.has-img { overflow: hidden; background: #eef1f6; }
.avatar.has-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.av-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin: 8px 0 10px; }
.av-pick { position: relative; border: 2px solid transparent; background: transparent; padding: 0; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; width: 100%; aspect-ratio: 1/1; cursor: pointer; }
.av-pick .avatar { width: 100%; height: 100%; font-size: 22px; }
.av-pick.on { border-color: var(--gold-deep); }
.av-pick.av-up { background: #f4f6fa; color: #98a2b3; border-radius: 50%; border: 1px dashed #cfd6e2; }
.av-pick.av-up.on { border: 2px solid var(--blue); }
.av-pick.av-up img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
/* home page: learn content sits directly at the bottom (2026-11-16) */
.learn-block { margin: 18px 14px 8px; }
.lb-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; }
.lb-head b { font-size: 15px; }
.lb-more { font-size: 11.5px; color: var(--gold-deep); display: inline-flex; align-items: center; gap: 2px; }
.lb-sub { font-size: 11.5px; color: var(--ink-3); margin-bottom: 10px; }
.lb-card { margin-bottom: 10px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.lb-card .learn-t { font-size: 13.5px; font-weight: 600; margin: 6px 0 4px; }
.lb-card .learn-body { font-size: 12px; color: var(--ink-2); line-height: 1.6; }
/* coin picker sheet: search + grouped list like desktop (2026-11-16) */
.sym-search { padding: 4px 14px 10px; }
.sym-search input { width: 100%; height: 36px; border-radius: 10px; border: 1px solid var(--line);
  background: #f6f8fb; padding: 0 12px; font-size: 13px; box-sizing: border-box; }
.sym-list { max-height: 62vh; overflow-y: auto; padding-bottom: 12px; }
.sym-group { padding: 0 14px; }
.sg-title { display: flex; align-items: center; justify-content: space-between; font-size: 11.5px;
  color: var(--ink-3); padding: 10px 2px 6px; }
.sg-title span { font-size: 11px; color: var(--ink-3); }
.sym-row { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 2px; border: 0;
  background: transparent; border-bottom: 1px solid var(--line); text-align: left; }
.sym-row.on { background: rgba(245,193,26,.05); }
.sym-row .sym-name { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.sym-row .sym-name b { font-size: 13.5px; font-weight: 600; }
.sym-row .sym-name i { font-style: normal; font-size: 11px; color: var(--ink-3); margin-top: 1px; }
.sym-row .sym-px { font-size: 13px; font-variant-numeric: tabular-nums; }
.sym-row .chg-badge { min-width: 62px; text-align: center; }
/* ---- voucher card redesign (2026-11-16): 深色金调票券，可用/总额同一行 ---- */
.vch { position: relative; margin: 6px 14px 14px; border-radius: 16px; padding: 15px 16px 13px;
  background: linear-gradient(135deg, #2a2418 0%, #1d2029 52%, #12151c 100%);
  color: #f7f8fa; overflow: hidden; box-shadow: 0 10px 26px rgba(18,21,28,.18); }
.vch::after { content: ''; position: absolute; right: -54px; top: -64px; width: 190px; height: 190px;
  border-radius: 50%; background: radial-gradient(circle, rgba(245,193,26,.45) 0%, rgba(245,193,26,0) 68%);
  pointer-events: none; }
.vch.vch-off { background: linear-gradient(135deg, #f3f4f7 0%, #eceef2 100%); color: var(--ink-3);
  box-shadow: none; }
.vch.vch-off::after { display: none; }
.vch-top { display: flex; align-items: center; gap: 8px; position: relative; z-index: 1; }
.vch-ico { width: 22px; height: 22px; border-radius: 7px; display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700; color: #3a2a00;
  background: linear-gradient(135deg, #f7d774, #f5c11a); }
.vch-off .vch-ico { background: #d9dde5; color: #7c828d; }
.vch-title { font-size: 13px; font-weight: 600; letter-spacing: .2px; }
.vch-help { width: 15px; height: 15px; border-radius: 50%; border: 1px solid rgba(255,255,255,.28);
  color: rgba(255,255,255,.55); font-size: 10px; line-height: 13px; text-align: center; }
.vch-off .vch-help { border-color: var(--line-2); color: var(--ink-4); }
.vch-exp { margin-left: auto; font-size: 10.5px; color: #e9c96a; letter-spacing: .2px; }
.vch-off .vch-exp { color: var(--ink-3); }
.vch-amt { display: flex; align-items: baseline; gap: 4px; margin-top: 13px; position: relative; z-index: 1;
  flex-wrap: wrap; }
.vch-amt b { font-size: 25px; font-weight: 700; line-height: 1; color: #fff; letter-spacing: -.3px; }
.vch-amt b.tot { font-size: 15px; font-weight: 600; color: #cfd4dd; }
.vch-amt i { font-style: normal; font-size: 10.5px; color: #9aa1ad; margin: 0 6px 0 3px; }
.vch-amt .sep { color: #5c6470; font-size: 14px; margin: 0 2px; }
.vch-amt .unit { font-size: 10.5px; color: #9aa1ad; margin-left: auto; }
.vch-off .vch-amt b { color: var(--ink-3); }
.vch-bar { height: 4px; border-radius: 3px; background: rgba(255,255,255,.13); margin-top: 12px;
  overflow: hidden; position: relative; z-index: 1; }
.vch-bar i { display: block; height: 100%; border-radius: 3px;
  background: linear-gradient(90deg, #f5c11a, #f7d774); }
.vch-foot { display: flex; align-items: center; justify-content: space-between; font-size: 10.5px;
  color: #8f96a2; margin-top: 8px; position: relative; z-index: 1; }
.vch-off .vch-foot { color: var(--ink-3); }
/* voucher amount row: keep 可用 / 总额 on ONE line even on narrow phones */
.vch-amt { flex-wrap: nowrap; align-items: baseline; white-space: nowrap; }
.vch-amt b { font-size: 21px; }
.vch-amt b.tot { font-size: 14px; }
.vch-amt i { margin: 0 4px 0 2px; }
.vch-amt .sep { margin: 0 1px; }
.vch-amt .unit { margin-left: 4px; }
/* ================= 充值 / 提现 改版（按截图） ================= */
.side-ico { border: 0; background: transparent; color: var(--ink-2); padding: 4px; }
.net-card { border: 1px solid var(--line-2); border-radius: 14px; padding: 14px 16px; margin-bottom: 16px; background: #fff; }
.net-card .nc-k { font-size: 12px; color: var(--ink-3); }
.net-card .nc-v { display: flex; align-items: center; justify-content: space-between; margin-top: 6px; }
.net-card .nc-v b { font-size: 15px; font-weight: 600; }
.qr-box { text-align: center; margin: 6px 0 18px; }
.qr-wrap { width: 200px; height: 200px; margin: 0 auto; display: flex; align-items: center; justify-content: center;
  background: #fff; border-radius: 12px; }
.qr-wrap svg { width: 200px; height: 200px; }
.qr-tip { font-size: 11.5px; color: var(--ink-3); margin-top: 8px; }
.addr-card { position: relative; border: 1px solid var(--line-2); border-radius: 14px; padding: 13px 100px 13px 16px;
  background: #fff; margin-bottom: 14px; }
.addr-card .ac-lbl { font-size: 11.5px; color: var(--ink-3); margin-bottom: 4px; }
.addr-card .ac-val { font-size: 13px; word-break: break-all; line-height: 1.5; }
.addr-card .ac-copy { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); height: 30px;
  padding: 0 12px; border-radius: 8px; background: var(--blue-soft); color: var(--gold-deep); font-size: 12px; border: 0; }
.net-opt { border: 1px solid var(--line-2); border-radius: 12px; padding: 13px 14px; margin-bottom: 10px; background: #fff; }
.net-opt .no-name b { font-size: 14.5px; }
.net-opt .no-sub { font-size: 11.5px; color: var(--ink-3); margin-top: 3px; }

/* 提现页 */
.addr-input { display: flex; align-items: center; gap: 8px; border: 1px solid var(--line-2); border-radius: 12px;
  padding: 4px 8px 4px 12px; background: #fff; }
.addr-input input { flex: 1; border: 0; height: 36px; font-size: 13px; background: transparent; outline: 0; }
.ai-btn { width: 30px; height: 30px; border-radius: 8px; border: 0; background: var(--surface); color: var(--ink-2); }
.ck-line { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--ink-2); margin: 12px 0 2px; }
.ck-line i { width: 16px; height: 16px; border-radius: 4px; border: 1.5px solid var(--ink-4); flex: none; position: relative; }
.ck-line i.on { background: linear-gradient(135deg,#ffe9a8,#f0b90b 55%,#c99a06); border-color: var(--gold-deep); }
.ck-line i.on:after { content: '✓'; position: absolute; inset: 0; color: #fff; font-size: 11px; line-height: 15px; text-align: center; }
.net-pick { display: flex; align-items: center; justify-content: space-between; border: 1px solid var(--line-2);
  border-radius: 12px; padding: 0 14px; height: 46px; background: #fff; }
.net-pick b { font-size: 14px; font-weight: 600; }
.wd-fee-line { display: flex; align-items: center; justify-content: space-between; font-size: 12px;
  color: var(--ink-2); margin-bottom: 10px; }
.wd-fee-line b { color: var(--ink); }
.btn-lg.green { background: #20b26c; color: #fff; }
.bottom-bar.two { display: flex; gap: 10px; }
.bottom-bar.two > * { flex: 1; }

/* 确认提现 */
.cf-amt { text-align: center; padding: 6px 0 14px; }
.cf-amt .ca-lbl { font-size: 12px; color: var(--ink-3); }
.cf-amt .ca-num { font-size: 34px; font-weight: 700; margin-top: 6px; letter-spacing: -.5px; }
.cf-amt .ca-num span { font-size: 15px; font-weight: 500; color: var(--ink-2); }
.cf-amt .ca-usd { font-size: 12px; color: var(--ink-3); margin-top: 4px; }
.cf-addr { max-width: 62%; text-align: right; word-break: break-all; font-weight: 500; }
.tip-box.warn { background: #fff8ec; color: #9a6b00; }

/* 安全验证 */
.vf-title { font-size: 26px; font-weight: 700; margin: 8px 0 6px; }
.vf-sub { font-size: 12.5px; color: var(--ink-3); }
.vf-prog { font-size: 30px; font-weight: 700; color: #20b26c; margin: 14px 0 18px; }
.vf-list { border-radius: 14px; overflow: hidden; }
.vf-item { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line-2);
  border-radius: 12px; padding: 16px; margin-bottom: 12px; }
.vf-item b { flex: 1; font-size: 15px; font-weight: 500; }
.vf-ico { width: 26px; height: 26px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 13px; }
.vf-ico.ga { background: #eef3ff; color: #e0a413; }
.vf-ico.mail { background: #e9f8f1; color: #20b26c; }
.vf-ok { font-size: 12px; color: #20b26c; }
.vf-ar { color: var(--ink-4); }
.code-boxes { display: flex; gap: 10px; margin: 26px 0 8px; }
.code-boxes .cb { width: 46px; height: 54px; border-radius: 10px; border: 1.5px solid var(--line-2);
  display: flex; align-items: center; justify-content: center; background: #fff; font-size: 22px; font-weight: 600; }
.code-boxes .cb.on { border-color: var(--ink); }
.vf-resend { font-size: 12.5px; color: var(--ink-2); }
.vf-paste { position: absolute; right: 16px; margin-top: -40px; font-size: 12.5px; color: var(--ink-2); }
.vf-help { margin-top: 26vh; text-align: center; font-size: 13px; color: var(--ink-2);
  text-decoration: underline; text-underline-offset: 4px; }

/* 提现处理中 / 详情 */
.done-page .pad { text-align: center; padding-top: 40px; }
.done-ico { width: 62px; height: 62px; border-radius: 50%; background: #20b26c; color: #fff; margin: 0 auto 16px;
  display: flex; align-items: center; justify-content: center; }
.done-t { font-size: 15px; color: var(--ink-2); }
.done-amt { font-size: 34px; font-weight: 700; margin: 14px 0 12px; }
.done-sub { font-size: 12.5px; color: var(--ink-3); line-height: 1.7; padding: 0 10px; }
.dt-amt .da-k { font-size: 12px; color: var(--ink-3); }
.dt-amt .da-v { font-size: 30px; font-weight: 700; margin-top: 6px; }
.tl { margin: 22px 0 18px; }
.tl-row { display: flex; align-items: center; gap: 12px; padding: 9px 0; position: relative; }
.tl-row:before { content: ''; position: absolute; left: 11px; top: 34px; bottom: -9px; width: 1px; background: var(--line-2); }
.tl-row:last-child:before { display: none; }
.tl-dot { width: 23px; height: 23px; border-radius: 50%; border: 1.5px solid var(--ink-4); flex: none;
  display: flex; align-items: center; justify-content: center; font-size: 11px; color: #fff; position: relative; z-index: 1;
  background: #fff; }
.tl-row.on .tl-dot { background: var(--ink); border-color: var(--ink); }
.tl-k { flex: 1; font-size: 13.5px; }
.tl-t { font-size: 11.5px; color: var(--ink-3); }
/* 充值页排版修正：二维码居中、提示换行、地址标签不折行 */
.qr-box { display: block; text-align: center; }
.qr-wrap { display: block; width: auto; height: auto; margin: 0 auto 10px; background: transparent; }
.qr-wrap svg { display: block; margin: 0 auto; width: 180px !important; height: 180px !important; }
.qr-tip { display: block; width: 100%; text-align: center; }
.addr-card .ac-lbl { white-space: nowrap; }
.addr-card .ac-val { font-size: 12.5px; }
/* 充值页最终排版：二维码/提示纵向居中，地址卡上下排列 */
.pad .qr-box { display: flex !important; flex-direction: column !important; align-items: center !important;
  justify-content: center !important; gap: 10px; text-align: center; margin: 4px 0 18px; }
.pad .qr-box .qr-wrap { display: flex !important; align-items: center; justify-content: center;
  width: 200px !important; height: 200px !important; background: #fff; border-radius: 14px; margin: 0 auto !important; }
.pad .qr-box .qr-wrap svg { width: 176px !important; height: 176px !important; display: block; }
.pad .qr-box .qr-tip { display: block !important; width: auto !important; font-size: 11.5px; color: var(--ink-3); }
.pad .addr-card { display: block !important; }
.pad .addr-card .ac-lbl { display: block !important; white-space: nowrap; font-size: 11.5px; color: var(--ink-3); margin-bottom: 6px; }
.pad .addr-card .ac-val { display: block !important; font-size: 12.5px; line-height: 1.6; word-break: break-all; }
/* 头像：默认品牌 LOGO + 交易主题预设（SVG，不是纯色块） */
.avatar { overflow: hidden; }
.avatar.logo-av { background: radial-gradient(120% 120% at 30% 20%, #23262e, #0f1216);
  border: 1px solid rgba(245,193,26,.35); padding: 14%; box-sizing: border-box; }
.avatar.logo-av .av-svg { width: 100%; height: 100%; display: block; }
.avatar.svg-av { background: transparent; padding: 0; }
.avatar.svg-av .av-svg { width: 100%; height: 100%; display: block; border-radius: 50%; }
.av-pick .avatar { width: 100%; height: 100%; }
.av-pick .avatar .av-svg { border-radius: 50%; }
/* 抵扣券：宽度和上面的账户卡片对齐 + 使用记录入口 + 记录清单 */
.pad .vch { margin: 6px 0 14px !important; }
.vch-more { color: #e9c96a; cursor: pointer; }
.vch-off .vch-more { color: var(--ink-3); }
.vh-sum { font-size: 12px; color: var(--ink-3); margin: 2px 0 12px; }
.vh-sum b { color: var(--ink); font-size: 15px; }
.vh-day { border: 1px solid var(--line-2); border-radius: 12px; padding: 12px 14px; margin-bottom: 10px; background: #fff; }
.vh-dhead { display: flex; align-items: center; gap: 8px; }
.vh-dhead b { font-size: 14px; }
.vh-tag { font-size: 10.5px; padding: 2px 7px; border-radius: 999px; }
.vh-tag.on { background: rgba(245,193,26,.1); color: var(--gold-deep); }
.vh-tag.done { background: #e9f8f1; color: #16a34a; }
.vh-tag.off { background: var(--surface); color: var(--ink-3); }
.vh-amt { margin-left: auto; font-size: 11.5px; color: var(--ink-3); }
.vh-amt b { color: var(--ink); }
.vh-orders { margin-top: 10px; border-top: 1px dashed var(--line-2); padding-top: 8px; }
.vh-o { display: flex; align-items: center; gap: 10px; padding: 5px 0; font-size: 12px; }
.vh-o-t { color: var(--ink-3); width: 78px; flex: none; }
.vh-o-s { flex: 1; color: var(--ink-2); }
.vh-o-v { color: #16a34a; font-weight: 600; }
.vh-empty { margin-top: 8px; font-size: 11.5px; color: var(--ink-4); }
/* 首页学院区块：入口行下面是搜索 + 课程卡 */
.learn-block { padding: 4px 0 10px; }
.learn-block .lb-foot { padding: 6px 14px 2px; text-align: right; }
.learn-block .lb-more { color: var(--gold-deep); font-size: 12.5px; display: inline-flex; align-items: center; gap: 2px; }
.learn-block .learn-card { margin-bottom: 8px; }
/* 网络选择：暂停使用标识 */
.no-tag { display: inline-block; margin-left: 6px; padding: 1px 6px; border-radius: 4px;
  font-size: 10px; font-weight: 500; color: #fff; background: #9aa3b2; vertical-align: middle; }
.net-opt.net-off .no-name b { color: var(--ink-3); }
.net-opt.net-off { opacity: .85; }
/* 提现/充值：主按钮与关键文字统一用主题蓝（不再用绿色） */
.btn-lg.green { background: linear-gradient(135deg,#ffe9a8,#f0b90b 55%,#c99a06) !important; color: #1b1f27 !important; box-shadow: 0 6px 18px rgba(245,193,26,.22) !important; }
.btn-lg.green:active { background: #e0a413 !important; }
.wd-fee-line b, .amount-box .tail .blue, .vf-prog { color: #e0a413 !important; }
.done-ico { color: #e0a413; }
/* 验证码输入：隐藏但仍可聚焦输入 */
.vf-hidden { position: absolute; opacity: 0; width: 1px; height: 1px; border: 0; padding: 0; overflow: hidden; }
.code-boxes { position: relative; }
/* 充值页二维码：居中、无任何边框背景；去掉多余的提示行 */
.pad .qr-box { display: flex !important; flex-direction: column !important; align-items: center !important;
  margin: 2px 0 16px !important; padding: 0 !important; }
.pad .qr-box .qr-wrap { background: transparent !important; border: 0 !important; box-shadow: none !important;
  border-radius: 0 !important; padding: 0 !important; width: auto !important; height: auto !important;
  margin: 0 auto !important; }
.pad .qr-box .qr-wrap svg { width: 176px !important; height: 176px !important; display: block !important; }
.pad .qr-box .qr-wrap img { width: 176px !important; height: 176px !important; display: block !important; object-fit: contain; }
.qr-tip { display: none !important; }
.net-card { margin-bottom: 12px !important; }
/* 提现处理中：成功图标用主题蓝；「返回资产首页」做成和主按钮等宽的灰色按钮 */
.done-ico { background: #e0a413 !important; color: #fff !important; }
.btn-lg.gray { background: #f3efe4 !important; color: #4a432f !important; border: 0 !important; }
.btn-lg.gray:active { background: #e8e2d2 !important; }
/* 资金记录：提现行的「查看进度」小按钮 */
.rec-prog { height: 24px; padding: 0 10px; border-radius: 6px; border: 1px solid #e0a413;
  background: rgba(245,193,26,.08); color: #e0a413; font-size: 11.5px; }
.rec-prog:active { background: rgba(245,193,26,.16); }
.rec-row .l2 .rec-prog { margin-left: auto; }
/* 抵扣券帮助弹窗：容器用独立类名，别和卡片上那个小问号图标冲突 */
.vch-help-body { padding: 2px 0 6px; width: 100%; }
.vch-help-body .vh-item { margin-bottom: 14px; }
.vch-help-body .vh-title { display: inline-block; padding: 3px 10px; border-radius: 999px;
  background: linear-gradient(135deg,#ffe9a8,#f0b90b 55%,#c99a06); color: #ffffff;
  font-size: 12px; font-weight: 700; margin-bottom: 6px; }
.vch-help-body .vh-body { font-size: 12.5px; line-height: 1.75; color: #3a4356; }
/* 资金记录：查看进度按钮放在卡片右侧、上下居中，不再单独占一行 */
.rec-row { position: relative; }
.rec-row .rec-prog { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); }
.rec-row .l2 { padding-right: 0; }
.rec-row.has-prog .l2 { padding-right: 92px; }
/* 备注一律靠右对齐（长备注自动换行，不挤压时间） */
.rec-row .l2 { gap: 12px; align-items: flex-start; }
.rec-row .l2 > span:first-child { flex: none; }
.rec-row .l2 .r { margin-left: auto; text-align: right; flex: 1 1 auto; min-width: 0; word-break: break-all; }
/* 充值页二维码：强制居中、去掉外层底色和边框 */
.qr-box .qr-wrap, .pad .qr-box .qr-wrap { background: transparent !important; border: 0 !important; box-shadow: none !important; }
.qr-box .qr-wrap svg, .qr-box .qr-wrap img { display: block !important; margin: 0 auto !important; background: transparent !important; }
/* 首页左上角头像：用真实头像（品牌 LOGO 或预设头像），不再是首字母 */
.av-btn { padding: 0; border: 0; background: transparent; display: inline-flex; align-items: center; }
.av-btn .avatar { width: 38px; height: 38px; }
.av-btn .avatar.lg { width: 38px; height: 38px; }
/* 平台公告：卡片列表 + 未读红点 / 已读灰点 */
.notice-card { display: flex; align-items: center; gap: 12px; padding: 16px 16px; margin-bottom: 12px;
  border: 1px solid var(--line-2, #e8ecf2); border-radius: 14px; background: #fff; }
.notice-card:active { background: #f7f9fc; }
.notice-card .nc-main { flex: 1; min-width: 0; }
.notice-card .nc-t { font-size: 15px; font-weight: 700; line-height: 1.4; color: var(--ink, #12161f); }
.notice-card .nc-d { font-size: 12px; color: var(--ink-3, #98a1b0); margin-top: 6px; }
.notice-card .nc-dot { width: 8px; height: 8px; border-radius: 50%; flex: 0 0 8px; }
.notice-card .nc-dot.unread { background: #f6465d; }
.notice-card .nc-dot.read { background: #d3d8e0; }
/* 「我的」页面公告角标 */
.badge-red { display: inline-block; min-width: 18px; height: 18px; line-height: 18px; padding: 0 5px;
  margin-right: 6px; border-radius: 9px; background: #f6465d; color: #fff; font-size: 11px;
  text-align: center; vertical-align: middle; }
/* 我的页：总资产卡片金色渐变，深色字，无阴影 */
.me-asset {
  background: linear-gradient(135deg, #ffe9a8 0%, #f5c11a 48%, #cf9b07 100%) !important;
  border: 0 !important;
  border-radius: 16px !important;
  box-shadow: none !important;
  position: relative;
  overflow: hidden;
}
.me-asset::after {
  content: ''; position: absolute; right: -60px; top: -70px; width: 200px; height: 200px;
  border-radius: 50%; background: rgba(255, 255, 255, .28); pointer-events: none;
}
.me-asset .tiny.muted { color: rgba(27, 31, 39, .62) !important; }
.me-asset .tiny.blue { color: rgba(27, 31, 39, .78) !important; opacity: 1; }
.me-asset .big { color: #1b1f27 !important; }
.me-asset .big .tiny.muted { color: rgba(27, 31, 39, .6) !important; }
.me-asset-row span { color: rgba(27, 31, 39, .6) !important; }
.me-asset-row b { color: #1b1f27 !important; }
/* ---------- 法律文书弹窗（用户协议 / 隐私政策） ---------- */
.legal-mask { align-items: center; padding: 0 18px; }
.legal-card {
  width: 100%; max-width: 400px; max-height: 78vh; background: #fff;
  border-radius: 18px; display: flex; flex-direction: column; overflow: hidden;
  box-shadow: 0 24px 60px rgba(12, 14, 18, .28);
  animation: legalIn .2s ease-out;
}
@keyframes legalIn { from { transform: translateY(10px) scale(.98); opacity: .5; } to { transform: none; opacity: 1; } }
.legal-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 18px 12px; border-bottom: 1px solid var(--line);
}
.legal-title { font-size: 17px; font-weight: 700; color: var(--ink); }
.legal-close {
  width: 30px; height: 30px; border-radius: 50%; background: var(--surface);
  display: grid; place-items: center; color: var(--ink-3); border: 0;
}
.legal-body {
  padding: 16px 18px 6px; overflow-y: auto; -webkit-overflow-scrolling: touch;
  font-size: 13.5px; line-height: 1.75; color: var(--ink-2);
}
.legal-lead { color: var(--ink-2); margin: 0 0 14px; }
.legal-sec { margin-bottom: 14px; }
.legal-h { font-size: 13.5px; font-weight: 700; color: var(--ink); margin-bottom: 4px; }
.legal-p { margin: 0; color: var(--ink-3); }
.legal-foot { color: var(--ink-4); font-size: 12px; margin: 6px 0 2px; }
.legal-acts { padding: 12px 18px calc(16px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); }
.legal-ok {
  width: 100%; height: 44px; border-radius: 999px; border: 0;
  background: linear-gradient(135deg,#ffe9a8,#f0b90b 55%,#c99a06); color: #1b1f27; font-size: 15px; font-weight: 600;
}

/* 充值提交成功页（独立于全局 .done-ico，避免被蓝色 !important 覆盖） */
.dp-done .dp-ico {
  position: relative; width: 108px; height: 108px; margin: 0 auto 18px;
  display: flex; align-items: center; justify-content: center;
}
.dp-done .dp-ico-ring {
  position: absolute; inset: 0; border-radius: 50%;
  background: radial-gradient(circle at 50% 38%, rgba(240,185,11,.26), rgba(240,185,11,.09) 60%, rgba(240,185,11,0) 72%);
  border: 1.5px solid rgba(240,185,11,.55);
  box-shadow: 0 10px 30px rgba(240,185,11,.16);
  animation: dpPop .5s cubic-bezier(.2,.9,.3,1.2) both;
}
@keyframes dpPop { from { transform: scale(.72); opacity: 0 } to { transform: none; opacity: 1 } }
.dp-done .dp-ico svg { position: relative; z-index: 2; animation: dpCheck .45s ease .12s both }
@keyframes dpCheck { from { opacity: 0; transform: scale(.6) } to { opacity: 1; transform: none } }
.dp-done .dp-card {
  margin: 26px auto 0; max-width: 320px; padding: 18px 16px; border-radius: 16px;
  background: var(--surface); border: 1px solid var(--line);
}

/* 注册页：邮箱验证码行（输入框 + 获取验证码按钮 上下居中对齐） */
.auth-field.code-row { padding-right: 6px; gap: 8px; }
.auth-field.code-row input { flex: 1 1 auto; min-width: 0; height: 100%; line-height: 46px; }
.code-btn {
  flex: 0 0 auto; height: 34px; padding: 0 14px; border: 0; border-radius: 9px;
  background: linear-gradient(135deg,#ffe9a8,#f0b90b 55%,#c99a06); color: #1b1f27; font-size: 12.5px; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
  line-height: 1; white-space: nowrap;
}
.code-btn:disabled { opacity: .6; }

/* 平仓结果：持平（金色） */
.close-res .cr-ring.flat { background: rgba(245,193,26,.14); color: #e0a413; border: 1.5px solid rgba(245,193,26,.5); }

/* ---------- 富文本编辑器（内容管理） ---------- */
.rte { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--surface); }
.rte-bar {
  display: flex; flex-wrap: wrap; gap: 6px; padding: 8px 10px;
  border-bottom: 1px solid var(--line); background: var(--card, #fff);
}
.rte-bar button {
  min-width: 30px; height: 28px; padding: 0 8px; border-radius: 7px; border: 1px solid var(--line);
  background: transparent; color: var(--ink-2); font-size: 12.5px; line-height: 1;
}
.rte-bar button:active { background: rgba(245,193,26,.10); }
.rte-body {
  min-height: 150px; max-height: 360px; overflow-y: auto; padding: 12px 12px 16px;
  font-size: 14px; line-height: 1.75; color: var(--ink); outline: none;
}
.rte-body:empty:before { content: attr(data-ph); color: var(--ink-4); }
.rte-body img { max-width: 100%; border-radius: 8px; margin: 6px 0; }
.rte-body h3 { font-size: 17px; margin: 10px 0 6px; }
.rte-body h4 { font-size: 15px; margin: 8px 0 4px; }
.cm-cover { margin-bottom: 14px; }
.cm-cover-img {
  width: 104px; height: 104px; border-radius: 14px; background: var(--surface);
  border: 1px dashed var(--line-2); display: flex; align-items: center; justify-content: center;
  font-size: 12px; color: var(--ink-4); overflow: hidden;
}
.cm-cover-img img { width: 100%; height: 100%; object-fit: cover; }
.cm-field { margin-bottom: 14px; }
.cm-label { font-size: 12.5px; color: var(--ink-3); margin-bottom: 6px; }
.cm-field input {
  width: 100%; padding: 11px 12px; border-radius: 10px; border: 1px solid var(--line);
  background: var(--surface); color: var(--ink); font-size: 14px; outline: none;
}
.mini-btn {
  padding: 6px 12px; border-radius: 8px; border: 1px solid var(--line); background: transparent;
  color: var(--ink-2); font-size: 12.5px;
}
.mini-btn.danger { color: #e5484d; border-color: rgba(229,72,77,.35); }


/* =========================================================
   黑金主题覆盖（2026-11 统一电脑端配色）
   ========================================================= */
body { background: #ffffff; }

/* 页面底色与白卡片：淡金 */
.page, .phone { background: #ffffff; }
.card, .au-row, .list-row, .asset-card {
  background: #ffffff;
  border-color: #f0f1f3;
  box-shadow: none;
}
/* 内联自定义背景的卡片保持原样 */
.card[style*="background"] { background: unset; }
.section-title { color: var(--ink); }

/* 页签：金色下划线与金色强调 */
.tabs button.on { color: var(--ink); }
.tabs button.on::after { background: #f0b90b !important; height: 2px !important; width: 14px !important; }

/* 顶部导航与底栏 */
.tabbar { background: rgba(255,255,255,.97); border-top: 1px solid #f0f0f0; }
.tabbar button.on { color: #111318; font-weight: 600; }
.tabbar button.on svg { color: #111318; }
.tabbar button.on::after {
  content: ''; position: absolute; bottom: 7px; left: 50%; transform: translateX(-50%);
  width: 4px; height: 4px; border-radius: 50%; background: var(--gold);
}
/* 中间这个圆按钮不显示小点 */
.tabbar .fab.on::after, .tabbar .fab::after { content: none; display: none; }
.tabbar button { position: relative; padding-bottom: 14px; }
.page-head .title { color: var(--ink); }

/* 所有蓝色系残留兜底 */
a, .link, .link-btn { color: #111318; }
.btn-lg.blue, .act-primary, .auth-btn, .code-btn { color: #1b1f27; }

/* 次级按钮 / 标签 */
.tag, .badge { border-color: #f0e2c4; }
.pref-row, .me-item, .kv2 { border-color: #f3ecdc; }
.preference .switch.on, .switch.on { background: linear-gradient(135deg,#ffe9a8,#f0b90b) !important; }

/* 输入框：暖白底 + 淡金边 */
.auth-field, .input-wrap, .amount-box, .gp-input, .gp-sel {
  background: #fafbfc !important;
  border-color: #eef0f3 !important;
}
.auth-field input::placeholder { color: #b3a887; }

/* 资产/首页头部：黑金卡片（保留原来的卡片布局，只换配色） */
.asset-hero {
  margin: 10px 12px 0;
  padding: 18px 16px 16px;
  border-radius: 16px;
  background: linear-gradient(160deg,#15181f 0%,#1e232c 58%,#2b2418 100%);
  color: #f7f2e3;
  border: 1px solid rgba(17,19,24,.10);
  box-shadow: 0 10px 24px rgba(17,21,29,.14);
}
.asset-hero .asset-total b { color: #fff; }

/* 资产页顶部卡片：比首页稍高一点（行距也略松） */
.asset-hero.is-assets {
  padding: 24px 18px 22px;
  min-height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}
.asset-hero.is-assets .asset-label { margin-bottom: 10px; }
.asset-hero.is-assets .asset-total { margin: 0 0 12px; line-height: 1.2; }
.asset-hero.is-assets .today-pnl { margin-top: 0; line-height: 1.7; }

/* 首页顶部卡片：保持原始高度与行距 */
.asset-hero .asset-label { margin-bottom: 4px; }
.asset-hero .asset-total { margin: 0 0 6px; line-height: 1.15; }
.asset-hero .today-pnl { margin-top: 0; line-height: 1.45; }
.asset-hero .asset-label { color: rgba(246,241,226,.66); }
.asset-hero .asset-label .eye { color: rgba(246,241,226,.55); }
.asset-hero .unit { color: rgba(246,241,226,.6); }
.asset-hero .today-pnl { color: rgba(246,241,226,.66); }
.asset-hero .btn-charge {
  background: linear-gradient(135deg,#ffe9a8,#f0b90b 55%,#c99a06) !important;
  color: #1b1f27 !important; border: 0 !important;
}

/* 金色描边的小徽标 */
.chg-badge { }

/* 团队搜索框 */
.tm-search { margin: 0 0 10px; }
.tm-search input {
  width: 100%; height: 40px; padding: 0 14px; border-radius: 12px;
  border: 1px solid #eef0f3; background: #fdfbf5; color: var(--ink);
  font-size: 13.5px; outline: none;
}
.tm-search input::placeholder { color: #b3a887; }


/* 全局去阴影：卡片一律平铺，更干净 */
.card, .me-list, .tm-card, .kpi-card, .asset-hero, .inv-card, .vch-card,
.list-row, .au-row, .banner, .close-res, .sheet, .modal, .cr-ring,
.tm-search input, .auth-field, .code-btn, .btn-lg, .me-asset {
  box-shadow: none !important;
}


/* K 线：把触摸手势交给我们自己处理，否则系统滚动/返回手势会打断拖动 */
.chart-box canvas, .chart-wrap canvas, #kline {
  touch-action: none;
  -webkit-user-select: none;
  user-select: none;
  overscroll-behavior: contain;
}


/* 活动详情整页 */
.act-page { padding-bottom: 90px; }
.act-cover { margin: 4px 0 0; background: #0f1218; }
.act-cover img {
  width: 100%; display: block;
  /* 后台可能上传竖版长图（例如整张手机截图）：限制高度，避免把正文顶出屏幕 */
  max-height: 42vh; object-fit: cover; object-position: center top;
}
.act-body { padding: 16px 16px 8px; }
.act-title { font-size: 21px; line-height: 1.35; margin: 4px 0 8px; font-weight: 800; color: var(--ink); }
.act-sub { font-size: 13px; color: var(--ink-3); line-height: 1.7; }
.act-rich { margin-top: 16px; font-size: 14px; line-height: 1.85; color: var(--ink-2); }
.act-rich h3 { font-size: 16px; margin: 16px 0 8px; color: var(--ink); }
.act-rich h4 { font-size: 14.5px; margin: 12px 0 6px; color: var(--ink); }
.act-rich p { margin: 10px 0; }
.act-rich img { max-width: 100%; border-radius: 12px; margin: 10px 0; display: block; }
.act-foot {
  position: fixed; left: 0; right: 0; bottom: 0; padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
  background: rgba(255,255,255,.96); border-top: 1px solid var(--line); backdrop-filter: blur(8px);
}

/* 充值成功页按钮：主按钮金色、次按钮纯灰（覆盖旧的米色 .gray） */
.btn-lg.gold {
  background: linear-gradient(135deg,#ffe9a8,#f0b90b 55%,#c99a06);
  color: #1b1f27; box-shadow: 0 6px 18px rgba(245,193,26,.22);
}
.btn-lg.gold:active { background: #e0a413; }
.btn-lg.gray {
  background: #f4f5f7 !important; color: #6b7280 !important;
  border: 1px solid #e9ebef !important; box-shadow: none !important;
}
.btn-lg.gray:active { background: #eceef2 !important; }


/* 行情未到（永续价缺失）：下单按钮置灰，点了也会被拦下 */
.gp-btn.is-disabled { opacity: .45; filter: grayscale(1); pointer-events: auto; }


/* 「即时返现」小标识：金色渐变 + 细描边，贴在标签右侧 */
.cb-badge {
  display: inline-flex; align-items: center; justify-content: center;
  margin-left: 6px; padding: 0 6px; height: 17px; border-radius: 5px;
  font-size: 9.5px; font-weight: 700; letter-spacing: .3px; line-height: 1;
  color: #3a2a06;
  background: linear-gradient(135deg, #ffe9a8 0%, #f0b90b 55%, #c99a06 100%);
  border: 1px solid rgba(201,154,6,.55);
  box-shadow: 0 1px 2px rgba(201,154,6,.28), inset 0 1px 0 rgba(255,255,255,.45);
  vertical-align: middle;
}


/* 账单单据：地址与「复制」按钮的间距 */
.bill-addr { display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; word-break: break-all; }
.bill-addr .link-btn { margin-left: 2px; flex: none; }

/* ===== 合伙人「我的账单」卡片（重排版） ===== */
.mb-card {
  margin: 12px; padding: 18px 16px 16px;
  background: #fff; border-radius: 16px;
  box-shadow: 0 2px 14px rgba(17, 24, 39, .06);
  border: 1px solid #f0f1f4;
}
.mb-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px;
}
.mb-no {
  font-size: 12px; color: #9aa0aa; letter-spacing: .3px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}
.mb-card .a-tag { font-size: 11px; padding: 2px 8px; border-radius: 999px; }
.mb-card .a-tag.ok { background: #eaf8ef; color: #128a4b; }
.mb-card .a-tag.warn { background: #fff5e6; color: #b7791f; }
.mb-card .a-tag.bad { background: #fdecef; color: #d13438; }
.mb-card .a-tag { background: #f2f3f5; color: #6b7280; }

.mb-amt {
  margin: 10px 0 4px;
  display: flex; align-items: baseline; gap: 6px;
}
.mb-amt b {
  font-size: 32px; font-weight: 800; letter-spacing: -.5px;
  color: #111; font-variant-numeric: tabular-nums;
}
.mb-amt i { font-style: normal; font-size: 13px; font-weight: 600; color: #9aa0aa; }

.mb-grid {
  margin-top: 12px; padding-top: 12px;
  border-top: 1px dashed #eceef2;
}
.mb-r {
  display: flex; align-items: center; justify-content: space-between;
  padding: 5px 0; font-size: 13px;
}
.mb-r span { color: #8b909a; }
.mb-r b { font-weight: 600; color: #1a1d23; font-variant-numeric: tabular-nums; }
.mb-r b.up { color: #0f9d58; }
.mb-r b.down { color: #e5342c; }

.mb-cd {
  margin-top: 12px; padding: 10px 12px;
  background: #fffaf0; border-radius: 10px;
  border: 1px solid #fde9c4;
}
.mb-cd b { display: block; font-size: 13px; color: #b7791f; font-weight: 700; }
.mb-cd span { display: block; margin-top: 2px; font-size: 11px; color: #a98a54; line-height: 1.5; }
.mb-cd.urgent { background: #fdf3f3; border-color: #fbdada; }
.mb-cd.urgent b { color: #d13438; }
.mb-cd.urgent span { color: #b56a6a; }

.mb-pay {
  margin-top: 14px; padding: 14px 12px;
  background: #fafbfc; border-radius: 12px;
  border: 1px solid #eef0f4;
  text-align: center;
}
.mb-pay-t {
  font-size: 12px; color: #8b909a; text-align: left;
  display: flex; align-items: center; justify-content: space-between;
}
.mb-pay-t i { font-style: normal; font-size: 10px; color: #b3b8c1; }
.mb-addr {
  margin-top: 8px; display: flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid #eceef2; border-radius: 8px;
  padding: 8px 10px;
}
.mb-addr span {
  flex: 1; text-align: left; font-size: 12px; color: #2b2f36;
  word-break: break-all; line-height: 1.4;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}
.mb-copy {
  flex: none; border: 0; background: #f0b90b; color: #332400;
  font-size: 11px; font-weight: 700; padding: 5px 10px; border-radius: 6px;
}
.mb-qr { margin: 12px auto 0; width: 132px; height: 132px; padding: 6px; background: #fff; border-radius: 10px; border: 1px solid #eceef2; }
.mb-btn {
  margin-top: 12px; width: 100%; height: 46px; border: 0;
  border-radius: 12px; font-size: 15px; font-weight: 800; color: #332400;
  background: linear-gradient(135deg, #ffe9a8 0%, #f0b90b 100%);
  box-shadow: 0 6px 16px rgba(240, 185, 11, .28);
}
.mb-wait {
  margin-top: 12px; padding: 10px; border-radius: 10px;
  background: #f4f6fa; color: #6b7280; font-size: 12px;
}
.mb-rej {
  margin-top: 10px; padding: 8px 10px; border-radius: 8px;
  background: #fdf3f3; color: #d13438; font-size: 12px; text-align: left;
}


/* 团队卡片：与电脑端一致的字段网格 */
.tm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 10px; margin-top: 10px; }
.tm-grid > div { display: flex; flex-direction: column; gap: 2px; }
.tm-grid span { font-size: 10.5px; color: #8b909a; }
.tm-grid b { font-size: 13px; color: #1a1d23; font-weight: 700; }
.tm-grid b i { font-style: normal; color: #9aa0aa; font-weight: 600; font-size: 11px; }
.tm-grid b.up { color: #0f9d58; }
.grp-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px; }
.grp-head span.tiny { margin-left: auto; color: #8b909a; font-size: 10.5px; }

/* 团队卡片纵向布局 */
.tm-head { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.tm-head .tm-name { font-size: 14px; font-weight: 700; margin-right: 2px; }
.tm-head .tag { flex: none; white-space: nowrap; }
.tm-card .tm-btn { width: 100%; margin-top: 12px; }
.tm-grid .tiny { font-size: 11px; color: #6b7280; }

.tm-lock { margin-top: 12px; padding: 10px; text-align: center; font-size: 12px; color: #9aa0aa; background: #f6f7f9; border-radius: 10px; }

/* 团队成员分组汇总行：数字大时允许换行，避免把这一行挤变形（2026-11-19） */
.grp-head { flex-wrap: wrap; row-gap: 2px; }
.grp-head span { white-space: nowrap; }
/* ===== 扫码识别地址（提现页） ===== */
.scan-mask { position: fixed; inset: 0; z-index: 9999; background: #000; display: flex; flex-direction: column; }
.scan-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; color: #fff; }
.scan-title { font-size: 15px; font-weight: 600; }
.scan-close, .scan-album { background: rgba(255,255,255,.14); color: #fff; border: 0; border-radius: 10px; padding: 7px 12px; font-size: 13px; }
.scan-stage { position: relative; flex: 1; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.scan-video { width: 100%; height: 100%; object-fit: cover; }
.scan-frame { position: absolute; width: 232px; height: 232px; }
.scan-frame i { position: absolute; width: 26px; height: 26px; border: 3px solid #f0b90b; border-radius: 4px; }
.scan-frame i:nth-child(1) { left: 0; top: 0; border-right: 0; border-bottom: 0; }
.scan-frame i:nth-child(2) { right: 0; top: 0; border-left: 0; border-bottom: 0; }
.scan-frame i:nth-child(3) { left: 0; bottom: 0; border-right: 0; border-top: 0; }
.scan-frame i:nth-child(4) { right: 0; bottom: 0; border-left: 0; border-top: 0; }
.scan-tip { color: #d7dbe3; font-size: 13px; text-align: center; padding: 16px 22px 28px; line-height: 1.6; }
/* ===== 发券中心（手机端） ===== */
.vc-label { font-size: 12px; color: var(--ink-3, #8b95a5); margin: 12px 0 6px; }
.vc-inp, .vc-sel { width: 100%; box-sizing: border-box; background: transparent; color: inherit;
  border: 1px solid var(--line, #2a3240); border-radius: 10px; padding: 10px 12px; font-size: 14px; }
.vc-sel { appearance: auto; }
/* ===== 通用筛选 chip（手机端后台筛选、发券周期） ===== */
.chip-btn { font-size: 12.5px; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line, #e5e7eb);
  background: transparent; color: var(--ink-2, #4b5563); line-height: 1; }
.chip-btn.on { border-color: #f0b90b; color: #8a6a00; background: rgba(240,185,11,.12); }
/* ===== 手动发券（手机端） ===== */
.vm-list { max-height: 260px; overflow: auto; margin-top: 10px; border: 1px solid var(--line, #e5e7eb); border-radius: 10px; }
.vm-row { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-bottom: 1px solid var(--line, #f1f3f5); font-size: 12px; }
.vm-row:last-child { border-bottom: 0; }
.vm-uid { font-weight: 600; }
.vm-num { flex: 1; min-width: 0; color: var(--ink-3, #8b95a5); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vm-tag { font-size: 10.5px; padding: 2px 6px; border-radius: 6px; }
.vm-tag.ok { background: rgba(14,203,129,.12); color: #0ecb81; }
.vm-tag.bad { background: rgba(246,70,93,.12); color: #f6465d; }
.vm-rec { display: grid; grid-template-columns: 1fr 1fr auto; gap: 8px; font-size: 12px; padding: 6px 0; border-bottom: 1px dashed var(--line, #f1f3f5); }
.vm-rec b { color: #0ecb81; }
/* ===== 下单面板：滑杆触摸拖动 + 可用余额旁的加号 ===== */
.gp-slider { touch-action: none; -webkit-user-select: none; user-select: none; cursor: pointer; }
.gp-slider .kb { pointer-events: none; }
.gp-plus { display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px;
  border-radius: 50%; border: 1px solid var(--line, #e5e7eb); background: transparent; color: var(--ink-3, #8b95a5);
  font-size: 12px; line-height: 1; padding: 0; margin-left: 4px; vertical-align: middle; }
.gp-plus:active { background: rgba(240,185,11,.16); color: #8a6a00; }
/* ===== 后台排版规范（对齐大所：搜索框全宽、chips 单行、操作次级化） ===== */
.adm-search { display: flex; align-items: center; gap: 8px; width: 100%; box-sizing: border-box;
  height: 42px; padding: 0 12px; margin-bottom: 10px;
  border: 1px solid var(--line, #e5e7eb); border-radius: 12px; background: var(--surface, #fff); }
.adm-search svg { flex: 0 0 auto; color: var(--ink-3, #9aa3af); }
.adm-search input { flex: 1 1 auto; min-width: 0; border: 0; outline: 0; background: transparent;
  font-size: 14px; color: inherit; }
.adm-search input::placeholder { color: var(--ink-3, #9aa3af); }
.adm-search-btn { flex: 0 0 auto; border: 0; background: rgba(240,185,11,.14); color: #8a6a00;
  font-size: 13px; font-weight: 600; padding: 7px 14px; border-radius: 9px; }

.adm-chips { display: flex; gap: 8px; overflow-x: auto; white-space: nowrap; padding-bottom: 4px;
  -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.adm-chips::-webkit-scrollbar { display: none; }
.chip-btn { flex: 0 0 auto; white-space: nowrap; }

.adm-subbar { display: flex; align-items: center; gap: 8px; margin: 6px 0 10px; }
.adm-action { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px;
  border-radius: 9px; border: 1px solid var(--line, #e5e7eb); background: transparent;
  color: var(--ink-2, #4b5563); font-size: 12.5px; line-height: 1; }
.adm-action.wide { width: 100%; justify-content: center; height: 40px; margin-top: 2px; }
.adm-action:active { background: rgba(240,185,11,.10); border-color: #f0b90b; color: #8a6a00; }
.adm-count { margin-left: auto; font-size: 12px; color: var(--ink-3, #9aa3af); }

/* =========================================================
   设计规范（Design Tokens）—— 手机端后台统一沿用
   字号 12/13/14 · 卡片圆角 14 · 内边距 16 · 行高 1.5
   按钮高度 40 / 32 两档 · 间距按 8 的倍数
   ========================================================= */
:root {
  --fs-11: 11px; --fs-12: 12px; --fs-13: 13px; --fs-14: 14px; --fs-16: 16px; --fs-20: 20px;
  --lh: 1.5;
  --sp-1: 8px; --sp-2: 16px; --sp-3: 24px;
  --r-card: 14px; --r-btn: 10px; --r-chip: 999px;
  --pad-card: 16px;
  --btn-h: 40px; --btn-h-sm: 32px;
}

/* 卡片 */
.d-card { background: var(--surface, #fff); border: 1px solid var(--line, #e9ebef);
  border-radius: var(--r-card); padding: var(--pad-card); margin-bottom: 12px; }
.d-card.flush { padding: 0; overflow: hidden; }
.d-card-head { display: flex; align-items: center; justify-content: space-between;
  gap: var(--sp-1); margin-bottom: 12px; }
.d-card-head h3 { margin: 0; font-size: var(--fs-14); font-weight: 600; line-height: var(--lh); }
.d-card-head .d-meta { font-size: var(--fs-12); color: var(--ink-3, #9aa3af); }

/* 分节 */
.d-sec { padding-top: 12px; margin-top: 12px; border-top: 1px dashed var(--line, #e9ebef); }
.d-sec:first-child { padding-top: 0; margin-top: 0; border-top: 0; }
.d-sec-title { font-size: var(--fs-13); font-weight: 600; margin-bottom: var(--sp-1); }

/* 行 */
.d-row { display: flex; align-items: center; justify-content: space-between;
  gap: var(--sp-1); padding: 7px 0; font-size: var(--fs-13); line-height: var(--lh); }
.d-row .d-k { color: var(--ink-3, #9aa3af); flex: none; }
.d-row .d-v { text-align: right; font-weight: 500; word-break: break-all; }
.d-strong { font-weight: 600; }
.d-muted { color: var(--ink-3, #9aa3af); }
.d-tiny { font-size: var(--fs-12); }

/* 按钮：40 / 32 两档 */
.d-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  height: var(--btn-h); padding: 0 var(--sp-2); border: 0; border-radius: var(--r-btn);
  font-size: var(--fs-14); font-weight: 600; line-height: 1; cursor: pointer;
  background: var(--bg-soft, #f5f6f8); color: var(--ink, #1b1f27); }
.d-btn.sm { height: var(--btn-h-sm); padding: 0 12px; font-size: var(--fs-13); }
.d-btn.primary { background: linear-gradient(135deg, #ffe9a8, #f0b90b 55%, #d9a406); color: #1b1f27; }
.d-btn.ghost { background: transparent; border: 1px solid var(--line, #e9ebef); }
.d-btn.danger { background: rgba(246, 70, 93, .12); color: #f6465d; }
.d-btn.block { width: 100%; }
.d-btn:disabled { opacity: .45; }
.d-actions { display: flex; gap: var(--sp-1); margin-top: 12px; }
.d-actions.wrap { flex-wrap: wrap; }

/* 输入 */
.d-input { display: block; width: 100%; height: var(--btn-h); padding: 0 12px;
  border: 1px solid var(--line, #e9ebef); border-radius: var(--r-btn);
  background: var(--bg-soft, #f5f6f8); color: inherit; font-size: var(--fs-14); }
.d-input.sm { height: var(--btn-h-sm); font-size: var(--fs-13); }

/* 筛选 chips：单行横滑 */
.d-chips { display: flex; gap: var(--sp-1); overflow-x: auto; white-space: nowrap;
  padding-bottom: 4px; scrollbar-width: none; }
.d-chips::-webkit-scrollbar { display: none; }
.d-chip { flex: 0 0 auto; height: var(--btn-h-sm); padding: 0 14px; border-radius: var(--r-chip);
  border: 1px solid var(--line, #e9ebef); background: transparent; color: var(--ink-2, #4b5563);
  font-size: var(--fs-13); line-height: 1; white-space: nowrap; }
.d-chip.on { border-color: #f0b90b; color: #8a6a00; background: rgba(240, 185, 11, .12); fontWeight: 600; }

/* KPI 网格 */
.d-kpi { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-1); }
.d-kpi .item { background: var(--bg-soft, #f5f6f8); border-radius: 12px; padding: 12px; }
.d-kpi .item span { display: block; font-size: var(--fs-12); color: var(--ink-3, #9aa3af); margin-bottom: 4px; }
.d-kpi .item b { font-size: var(--fs-16); font-weight: 600; }

/* 空态 */
.d-empty { padding: 40px 16px; text-align: center; font-size: var(--fs-13); color: var(--ink-3, #9aa3af); }


/* ===== 后台加载骨架屏 + 失败重试（两端通用类） ===== */
.sk { position: relative; overflow: hidden; background: rgba(140, 150, 165, .16); border-radius: 8px; }
.sk::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .18), transparent);
  transform: translateX(-100%); animation: sk-slide 1.2s infinite;
}
@keyframes sk-slide { 100% { transform: translateX(100%); } }
.sk-line { height: 12px; margin-bottom: 10px; }
.sk-line.w40 { width: 40%; }
.sk-line.w60 { width: 60%; }
.sk-line.w80 { width: 80%; }
.sk-card { padding: 14px 16px; border-radius: 14px; background: rgba(140, 150, 165, .08); margin-bottom: 10px; }
.sk-row { display: flex; gap: 10px; align-items: center; }
.sk-dot { width: 34px; height: 34px; border-radius: 50%; flex: none; }
.sk-fail { padding: 28px 16px; text-align: center; font-size: 13px; color: var(--ink-3, #9aa3af); }
.sk-fail button {
  margin-top: 10px; height: 32px; padding: 0 16px; border-radius: 10px; border: 1px solid #f0b90b;
  background: rgba(240, 185, 11, .12); color: #8a6a00; font-size: 13px; font-weight: 600; cursor: pointer;
}


/* ================= 跟单 / 带单（views-copy.js） ================= */
.cp-card { background: #fff; border-radius: var(--radius); padding: 14px; margin-bottom: 10px;
  border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(17,19,24,.03); }
.cp-card .ct { font-size: 14px; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.cp-hero { background: linear-gradient(120deg, #11151d 0%, #232a38 100%); color: #fff;
  border-radius: var(--radius); padding: 16px; margin-bottom: 12px;
  display: flex; align-items: center; justify-content: space-between; }
.cp-hero .t { font-size: 12px; color: rgba(255,255,255,.66); }
.cp-hero .sub { font-size: 11px; color: rgba(255,255,255,.5); margin-top: 3px; }
.cp-hero .v { font-size: 20px; font-weight: 800; margin-top: 2px; }
.cp-hero .s { font-size: 11px; color: rgba(255,255,255,.6); text-align: right; }
.cp-hero .no { font-size: 22px; font-weight: 800; letter-spacing: 2px; margin-top: 2px; color: #f0b90b; }
.cp-hero .btn-ghost, .cp-hero .btn-primary { background: rgba(255,255,255,.12); color: #fff; border: 0; }
.cp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cp-stat .k { font-size: 11px; color: var(--ink-3); }
.cp-stat .v { font-size: 16px; font-weight: 800; color: var(--ink); margin-top: 2px; }
.cp-stat .s { font-size: 10px; color: var(--ink-4); }
.cp-seg { display: flex; gap: 6px; overflow-x: auto; padding: 2px 0 10px; }
.cp-seg button { flex: 0 0 auto; height: 30px; padding: 0 14px; border-radius: 15px;
  border: 1px solid var(--line-2); background: #fff; font-size: 13px; color: var(--ink-2); }
.cp-seg button.on { background: var(--ink); border-color: var(--ink); color: #fff; font-weight: 600; }
.cp-no-row { display: flex; align-items: center; gap: 8px; }
.cp-inp { flex: 1; height: 42px; border: 1px solid var(--line-2); border-radius: 10px;
  padding: 0 12px; font-size: 15px; background: var(--surface-2); color: var(--ink); width: 100%; }
.cp-area { height: 84px; padding: 10px 12px; line-height: 1.5; resize: none; font-size: 14px; }
.cp-unit { font-size: 12px; color: var(--ink-3); flex: 0 0 auto; }
.cp-btn { flex: 0 0 auto; height: 42px; padding: 0 18px; border-radius: 10px; border: 0;
  background: var(--blue); color: #111; font-weight: 700; font-size: 14px; }
.cp-mini { height: 30px; padding: 0 12px; border-radius: 15px; font-size: 12px;
  border: 1px solid var(--line-2); background: #fff; color: var(--ink-2); }
.cp-block { width: 100%; height: 46px; border-radius: 12px; border: 0; font-size: 15px; font-weight: 700; }
.btn-primary.cp-block { background: var(--blue); color: #111; }
.btn-ghost.cp-block { background: #fff; border: 1px solid var(--line-2); color: var(--ink-2); }
.cp-ops { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.cp-follow .r1, .cp-card > .r1 { display: flex; align-items: center; gap: 10px; }
.cp-follow .r1 .nm, .cp-card > .r1 .nm { flex: 1; min-width: 0; }
.cp-follow .r1 .nm b { font-size: 14px; }
.cp-follow .av { width: 36px; height: 36px; border-radius: 50%; overflow: hidden; flex: 0 0 auto; }
.cp-profile { margin-bottom: 8px; }
.cp-profile .av { width: 44px; height: 44px; border-radius: 50%; overflow: hidden; flex: 0 0 auto; }
.cp-intro { font-size: 12px; color: var(--ink-2); background: var(--surface); border-radius: 10px;
  padding: 10px; line-height: 1.6; margin: 8px 0; }
.cp-empty { text-align: center; padding: 30px 16px; color: var(--ink-3); }
.cp-empty .ic { color: var(--ink-4); margin-bottom: 8px; }
.cp-empty .t { font-size: 13px; }
.cp-pos { background: #fff; border-radius: var(--radius); padding: 12px 14px; margin-bottom: 10px; }
.cp-pos .r1 { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; }
.cp-pos .r1 .r { margin-left: auto; font-weight: 800; }
.cp-pos .r2 { display: flex; gap: 12px; flex-wrap: wrap; font-size: 11px; color: var(--ink-3); margin-top: 6px; }
.tag2 { display: inline-block; font-size: 10px; padding: 1px 6px; border-radius: 4px;
  background: var(--surface); color: var(--ink-3); font-weight: 600; }
.tag2.g { background: var(--down-soft); color: var(--down); }
.tag2.r { background: var(--up-soft); color: var(--up); }
.tag2.y { background: var(--blue-soft); color: #8a6d00; }
.cp-sub { font-size: 12px; font-weight: 700; color: var(--ink-2); margin: 6px 0 8px; }
.cp-note { background: var(--surface); }
.cp-warn { background: var(--blue-soft); }
.cp-foot { padding: 14px 0 24px; }
.cp-lead-intro { text-align: center; padding: 22px 16px; }
.cp-lead-intro .ic { color: var(--blue); }
.cp-lead-intro .t { font-size: 17px; font-weight: 800; margin: 8px 0 6px; }
.cp-lead-intro .d { line-height: 1.7; text-align: left; }
.cp-steps { display: flex; gap: 8px; margin: 14px 0; }
.cp-steps .s { flex: 1; background: var(--surface); border-radius: 10px; padding: 10px 6px;
  font-size: 11px; color: var(--ink-2); text-align: center; }
.cp-steps .s b { display: block; font-size: 15px; color: var(--blue); margin-bottom: 4px; }
/* 实心涨跌按钮里的文字必须是白色：全局 .up/.down 的 !important 会把白字染成红/绿，
   导致手机端交易页「开多 / 开空」按钮红底红字看不见（2026-11-21 修） */
.gp-btn.up, .gp-btn.down, .btn-long, .btn-short { color: #fff !important; }

/* ===== 发券中心的自绘下拉（替代手机原生全屏滚轮选择器） ===== */
.vc-dd { position: relative; }
.vc-dd-native {
  position: absolute !important; left: 0; top: 0; width: 1px !important; height: 1px !important;
  opacity: 0 !important; pointer-events: none !important; border: 0 !important; padding: 0 !important;
  margin: 0 !important;
}
.vc-dd-btn {
  display: flex; align-items: center; justify-content: space-between; gap: 6px; width: 100%;
  height: 42px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: 10px;
  background: var(--surface-2); color: var(--ink); font-size: 14px; font-weight: 500;
}
.vc-dd-btn:active { background: #f0f2f5; }
.vc-dd-btn svg { color: var(--ink-4); flex: 0 0 auto; }
.vc-dd-txt { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vc-dd-list {
  display: none; position: absolute; left: 0; right: 0; top: 46px; z-index: 60;
  max-height: 236px; overflow-y: auto; background: #fff; border: 1px solid var(--line-2);
  border-radius: 10px; box-shadow: 0 10px 28px rgba(17, 19, 24, .16); padding: 4px;
}
.vc-dd.open .vc-dd-list { display: block; }
.vc-dd-opt {
  display: block; width: 100%; text-align: left; padding: 11px 12px; border: 0; border-radius: 8px;
  background: transparent; color: var(--ink); font-size: 14px;
}
.vc-dd-opt.on { color: #8a6a00; background: var(--blue-soft); font-weight: 700; }

/* ===== 提现审核：右上角二维码按钮 + 二维码弹窗 ===== */
.wd-qr-btn {
  width: 28px; height: 28px; border-radius: 8px; border: 1px solid var(--line-2);
  background: #fff; color: var(--ink-2); display: inline-flex; align-items: center; justify-content: center;
  padding: 0; flex: 0 0 auto;
}
.wd-qr-btn:active { background: var(--surface); }
.wd-qr-box {
  display: inline-block; padding: 10px; background: #fff; border-radius: 12px;
  border: 1px solid var(--line-2); margin: 4px auto 10px;
}
.wd-qr-box svg { display: block; width: 190px; height: 190px; }
.wd-qr-amt { font-size: 20px; font-weight: 800; color: var(--ink); margin-top: 4px; }
.wd-qr-kv {
  display: flex; align-items: flex-start; gap: 10px; text-align: left;
  padding: 8px 0; border-top: 1px dashed var(--line); font-size: 12px;
}
.wd-qr-kv span { flex: 0 0 52px; color: var(--ink-3); }
.wd-qr-kv b { flex: 1; min-width: 0; color: var(--ink); font-weight: 600; }

/* ===== KYC 审核：四个小按钮一行放得下 ===== */
.kyc-btns {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
  gap: 6px; align-items: center;
}
.kyc-btns .kyc-btn {
  flex: 1 1 0; min-width: 0; height: 30px; padding: 0 6px; border-radius: 8px;
  font-size: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  line-height: 28px; text-align: center;
}
.kyc-btns .kyc-btn.main { background: var(--blue); border-color: var(--blue); color: #111; font-weight: 700; }
.kyc-btns .kyc-btn.danger { color: var(--down); border-color: var(--down); }

/* ===== 手动发券：左侧标题 + 右侧输入框（五行） ===== */
.vm-frow { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.vm-frow .k { flex: 0 0 104px; font-size: 12.5px; color: var(--ink-3); }
.vm-frow .vc-inp { flex: 1 1 auto; min-width: 0; }
