:root {
  --bg: #0a0f1c;
  --bg2: #111a2e;
  --card: #131d33;
  --line: #1f2b45;
  --txt: #e8eefc;
  --sub: #8a97b4;
  --pri: #22d3ee;
  --pri2: #0ea5e9;
  --ok: #34d399;
  --bad: #f87171;
  --gold: #fbbf24;
  --r: 14px;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; background: var(--bg); color: var(--txt); font: 14px/1.5 -apple-system, "PingFang TC", "Microsoft JhengHei", "Microsoft YaHei", sans-serif; }
body { max-width: 560px; margin: 0 auto; min-height: 100vh; }
a { color: var(--pri); text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
.mono { font-family: ui-monospace, Consolas, monospace; font-size: 12.5px; word-break: break-all; }
.hint { color: var(--sub); font-size: 12px; margin: 8px 0 0; }
.hint.center, .center { text-align: center; }
.hint.warn { color: var(--gold); }
.txt { color: #c3cde3; margin: 0 0 10px; font-size: 13.5px; }
.grow { flex: 1; }

/* 图标（SVG 由 app.js 填充） */
i[data-ic] { display: inline-flex; width: 20px; height: 20px; vertical-align: middle; }
i[data-ic] svg { width: 100%; height: 100%; }
i[data-ic].sm { width: 15px; height: 15px; }

/* ---------- 顶栏 ---------- */
.top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 8px; padding: 10px 12px; padding-top: max(10px, env(safe-area-inset-top)); background: rgba(10, 15, 28, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.icon-btn { width: 36px; height: 36px; border: 0; background: transparent; border-radius: 10px; display: grid; place-items: center; cursor: pointer; }
.icon-btn:active { background: var(--bg2); }
.logo { display: flex; align-items: center; gap: 7px; color: var(--txt); font-weight: 800; font-size: 17px; letter-spacing: .5px; }
.logo-mark { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; font-weight: 900; color: #04121a; background: linear-gradient(135deg, #67e8f9, #0ea5e9); box-shadow: 0 0 12px rgba(34, 211, 238, .45); }
.net-tag { font-size: 10px; padding: 1px 6px; border-radius: 6px; color: var(--gold); border: 1px solid rgba(251, 191, 36, .4); white-space: nowrap; }
.pill { display: flex; align-items: center; gap: 5px; height: 32px; padding: 0 11px; border-radius: 16px; border: 1px solid var(--line); background: var(--bg2); cursor: pointer; font-size: 12.5px; white-space: nowrap; }
.pill i[data-ic] { width: 16px; height: 16px; }
.pill.pri { border-color: rgba(34, 211, 238, .5); color: var(--pri); }
.pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--sub); }
.pill .dot.on { background: var(--ok); box-shadow: 0 0 6px var(--ok); }
.pill .dot.bad { background: var(--bad); }
.lang-wrap { position: relative; }
.lang-menu { position: absolute; right: 0; top: 40px; min-width: 140px; background: var(--bg2); border: 1px solid var(--line); border-radius: 12px; padding: 6px; display: none; box-shadow: 0 10px 30px rgba(0, 0, 0, .5); }
.lang-menu.open { display: block; }
.lang-menu button { display: block; width: 100%; text-align: left; padding: 9px 12px; border: 0; background: transparent; border-radius: 8px; cursor: pointer; }
.lang-menu button.on { color: var(--pri); background: rgba(34, 211, 238, .08); }
.lang-menu button:hover { background: rgba(255, 255, 255, .05); }
.lang-menu button.bad-txt { color: var(--bad); }

/* ---------- 抽屉 ---------- */
.mask { position: fixed; inset: 0; background: rgba(0, 0, 0, .55); z-index: 30; opacity: 0; pointer-events: none; transition: .25s; }
.mask.open { opacity: 1; pointer-events: auto; }
.drawer { position: fixed; top: 0; bottom: 0; left: 0; width: 76%; max-width: 300px; z-index: 31; background: var(--bg2); border-right: 1px solid var(--line); transform: translateX(-100%); transition: transform .25s; display: flex; flex-direction: column; }
.drawer.open { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 12px 14px 16px; border-bottom: 1px solid var(--line); }
.drawer-list { flex: 1; overflow: auto; padding: 8px; }
.drawer-list a { display: flex; align-items: center; gap: 12px; padding: 12px 12px; border-radius: 10px; color: var(--txt); }
.drawer-list a.on { background: linear-gradient(90deg, rgba(34, 211, 238, .16), transparent); color: var(--pri); }
.drawer-list a i[data-ic] { opacity: .85; }
.drawer-list .sep { margin: 10px 12px 4px; font-size: 11px; color: var(--sub); }
.drawer-foot { padding: 12px 16px 20px; border-top: 1px solid var(--line); font-size: 12px; }
.foot-title { color: var(--sub); margin-bottom: 6px; }
.drawer-foot a { display: flex; justify-content: space-between; padding: 3px 0; color: var(--sub); }
.drawer-foot a b { color: var(--pri); font-weight: 400; font-family: ui-monospace, Consolas, monospace; }

/* ---------- 页面 ---------- */
main { padding: 12px 12px 40px; }
.page { display: none; animation: fade .2s; }
.page.on { display: block; }
@keyframes fade { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.page-title { font-size: 18px; font-weight: 700; margin: 4px 2px 12px; }

.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 14px; margin-bottom: 12px; }
.card-h { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; font-weight: 700; font-size: 15px; }
.card-h .ext { font-weight: 400; font-size: 12px; display: flex; align-items: center; gap: 3px; }
.card-h .ext i[data-ic] { width: 14px; height: 14px; }
.kv { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px dashed var(--line); }
.kv:last-of-type { border-bottom: 0; }
.kv > span:first-child { color: var(--sub); white-space: nowrap; }
.kv > :last-child { text-align: right; }
.lbl { color: var(--sub); font-size: 12.5px; margin: 10px 0 6px; }
input, select { width: 100%; height: 44px; padding: 0 12px; background: var(--bg); border: 1px solid var(--line); border-radius: 10px; outline: none; font-size: 15px; }
input:focus, select:focus { border-color: var(--pri); }
.btn { display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; height: 46px; margin-top: 14px; border: 0; border-radius: 12px; cursor: pointer; font-weight: 700; font-size: 15px; color: #04121a; background: linear-gradient(90deg, #22d3ee, #0ea5e9); }
.btn:disabled { opacity: .5; cursor: wait; }
.btn.ghost { background: transparent; color: var(--pri); border: 1px solid rgba(34, 211, 238, .45); font-weight: 600; }
.btn i[data-ic] { width: 17px; height: 17px; }
a.btn { margin-top: 10px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.row2 .btn { font-size: 13px; }

/* 轮播 */
.banner { position: relative; border-radius: var(--r); overflow: hidden; margin-bottom: 10px; aspect-ratio: 5 / 2; } /* 和后台上传裁切的比例一致 */
.slides { display: flex; height: 100%; transition: transform .5s; }
.slide { flex: 0 0 100%; display: flex; align-items: center; justify-content: space-between; padding: 18px; position: relative; overflow: hidden; }
.slide h3 { margin: 0 0 6px; font-size: 20px; }
.slide p { margin: 0; font-size: 12.5px; color: rgba(255, 255, 255, .8); max-width: 220px; }
.slide .art { width: 86px; height: 86px; opacity: .9; flex: none; }
.slide::after { content: ""; position: absolute; right: -40px; top: -40px; width: 180px; height: 180px; border-radius: 50%; background: rgba(255, 255, 255, .06); }
.s1 { background: radial-gradient(circle at 80% 30%, #0e7490, transparent 60%), linear-gradient(120deg, #0b1a36, #083344); }
.s2 { background: radial-gradient(circle at 80% 30%, #9a3412, transparent 60%), linear-gradient(120deg, #1a1030, #3b1d0e); }
.s3 { background: radial-gradient(circle at 80% 30%, #4338ca, transparent 60%), linear-gradient(120deg, #0f1535, #1e1b4b); }
.s1 .art { color: #67e8f9; } .s2 .art { color: #fb923c; } .s3 .art { color: #a5b4fc; }
.slide.pic { padding: 0; background: var(--card); }
.slide.pic::after { display: none; }
.slide.pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dots { position: absolute; bottom: 8px; left: 0; right: 0; display: flex; justify-content: center; gap: 5px; }
.dots b { width: 6px; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .35); transition: .3s; }
.dots b.on { width: 16px; background: var(--pri); }

/* 公告 */
.notice { display: flex; align-items: center; gap: 8px; padding: 8px 12px; margin-bottom: 12px; background: var(--card); border: 1px solid var(--line); border-radius: 10px; color: var(--pri); }
.notice i[data-ic] { width: 18px; height: 18px; flex: none; }
.marquee { overflow: hidden; white-space: nowrap; flex: 1; color: #c3cde3; font-size: 13px; }
.marquee span { display: inline-block; padding-left: 100%; animation: mq 22s linear infinite; }
@keyframes mq { to { transform: translateX(-100%); } }

/* 余额卡 */
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 12px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 12px; }
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 12px; }
@media (max-width: 480px) { .grid4 { grid-template-columns: repeat(2, 1fr); } }
.tree .cp { flex: none; display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; border: 1px solid var(--pri); border-radius: 8px; background: transparent; color: var(--pri); font-size: 11px; cursor: pointer; white-space: nowrap; }
.tree .cp svg { width: 12px; height: 12px; }
.tree .cp:active { opacity: .6; }
.bal { padding: 12px; border-radius: var(--r); background: linear-gradient(145deg, #13213d, #0f1a30); border: 1px solid var(--line); }
.bal-l { display: flex; align-items: center; gap: 6px; color: var(--sub); font-size: 12.5px; }
.bal-v { font-size: 19px; font-weight: 700; margin-top: 6px; word-break: break-all; }
.coin { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 900; color: #fff; }
.coin.usdt { background: #26a17b; }
.coin.ddc { background: linear-gradient(135deg, #67e8f9, #0ea5e9); color: #04121a; }
.mini { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 10px 6px; text-align: center; }
.mini b { display: block; font-size: 16px; color: var(--pri); word-break: break-all; }
.mini span { font-size: 11px; color: var(--sub); }

/* 行情 */
.price-big { font-size: 26px; font-weight: 800; color: var(--pri); }
.price-big small { font-size: 12px; color: var(--sub); margin-left: 6px; font-weight: 400; }
.stats3 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
.stats3 > div { background: var(--bg); border-radius: 10px; padding: 9px 10px; }
.stats3 span { display: block; color: var(--sub); font-size: 11.5px; }
.stats3 b { font-size: 15px; word-break: break-all; }
.bar { height: 6px; background: var(--bg); border-radius: 3px; margin-top: 12px; overflow: hidden; }
.bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #fb923c, #f43f5e); border-radius: 3px; transition: width .6s; }
.launch { margin-top: 12px; padding: 9px 10px; border-radius: 10px; background: rgba(251, 191, 36, .08); color: var(--gold); font-size: 13px; text-align: center; font-variant-numeric: tabular-nums; }
.launch.open { background: rgba(52, 211, 153, .08); color: var(--ok); }
.bar-cap {display: flex; justify-content: space-between; font-size: 11px; color: var(--sub); margin-top: 4px; }

.quick { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; }
.quick a { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 8px 2px; color: var(--txt); font-size: 11.5px; text-align: center; border-radius: 10px; }
.quick a:active { background: var(--bg); }
.quick a i[data-ic] { width: 42px; height: 42px; padding: 10px; border-radius: 12px; background: rgba(34, 211, 238, .1); color: var(--pri); }
.txt.intro { white-space: pre-line; }

/* 算力卡 */
.pcard { position: relative; height: 170px; border-radius: 18px; padding: 18px; margin-bottom: 12px; overflow: hidden; background: radial-gradient(circle at 90% 10%, rgba(103, 232, 249, .45), transparent 45%), linear-gradient(135deg, #0c4a6e, #0b1a36 60%, #1e1b4b); border: 1px solid rgba(34, 211, 238, .35); box-shadow: 0 10px 30px rgba(14, 165, 233, .18); }
.pcard-top { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 16px; }
.pcard-price { position: absolute; left: 18px; bottom: 16px; font-size: 30px; font-weight: 900; letter-spacing: .5px; }
.pcard-chip { position: absolute; right: 20px; bottom: 22px; width: 44px; height: 32px; border-radius: 6px; background: linear-gradient(135deg, #fde68a, #d97706); opacity: .85; }
.stepper { display: flex; gap: 8px; }
.stepper button { width: 48px; height: 44px; flex: none; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); font-size: 20px; cursor: pointer; }
.stepper input { text-align: center; font-size: 18px; font-weight: 700; }

/* 团队树 */
.tree .node { border-bottom: 1px solid var(--line); }
.tree .nrow { display: flex; align-items: center; gap: 8px; padding: 10px 0; cursor: pointer; }
.tree .arrow { width: 16px; color: var(--sub); flex: none; transition: transform .2s; }
.tree .open > .nrow .arrow { transform: rotate(90deg); }
.tree .arrow.none { visibility: hidden; }
.tree .addr { flex: 1; min-width: 0; }
.tree .addr .mono { font-size: 12.5px; }
.tree .meta { font-size: 11px; color: var(--sub); }
.tree .kids { padding-left: 14px; border-left: 1px dashed var(--line); margin-left: 7px; }
.lv { font-size: 11px; font-weight: 700; padding: 1px 7px; border-radius: 8px; background: rgba(34, 211, 238, .12); color: var(--pri); flex: none; }
.lv.v0 { background: rgba(138, 151, 180, .15); color: var(--sub); }
.lv.none { background: transparent; border: 1px solid var(--line); color: var(--sub); font-weight: 400; }
.more { display: block; width: 100%; padding: 10px; border: 0; background: transparent; color: var(--pri); cursor: pointer; }

/* 我的 */
.me-head { display: flex; align-items: center; gap: 12px; padding: 14px; margin-bottom: 12px; border-radius: var(--r); background: linear-gradient(135deg, #0c4a6e, #131d33); border: 1px solid var(--line); }
.lv-badge { width: 54px; height: 54px; flex: none; border-radius: 50%; display: grid; place-items: center; font-weight: 900; font-size: 18px; color: #04121a; background: linear-gradient(135deg, #fde68a, #f59e0b); box-shadow: 0 0 16px rgba(251, 191, 36, .35); }
.earn { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.earn div { background: var(--bg); border-radius: 10px; padding: 9px 10px; }
.earn span { display: block; font-size: 11.5px; color: var(--sub); }
.earn b { font-size: 15px; }
.earn small { color: var(--sub); font-weight: 400; font-size: 11px; margin-left: 3px; }
.up { margin-bottom: 10px; }
.up .kv { border: 0; padding: 4px 0; font-size: 12.5px; }

/* 收益明细 */
.chips { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 4px; }
.chips button { flex: none; padding: 6px 14px; border-radius: 16px; border: 1px solid var(--line); background: var(--card); cursor: pointer; font-size: 12.5px; }
.chips button.on { border-color: var(--pri); color: var(--pri); background: rgba(34, 211, 238, .1); }
.rw { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; margin-top: 8px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; }
.rw .l b { font-size: 14px; }
.rw .l div { font-size: 11.5px; color: var(--sub); }
.rw .r { text-align: right; }
.rw .r b { color: var(--ok); font-size: 15px; }
.rw .r a { display: block; font-size: 11.5px; }

/* 邀请 */
.qr { width: 196px; height: 196px; margin: 6px auto 12px; padding: 10px; background: #fff; border-radius: 12px; }
.qr img, .qr svg { width: 100%; height: 100%; display: block; }
.link-box { padding: 10px; background: var(--bg); border-radius: 10px; text-align: left; }

/* 弹窗 */
.modal { position: fixed; inset: 0; z-index: 40; background: rgba(0, 0, 0, .6); display: none; align-items: flex-end; justify-content: center; }
.modal.open { display: flex; }
.modal-box { width: 100%; max-width: 560px; background: var(--bg2); border-radius: 18px 18px 0 0; padding: 18px 16px calc(20px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); animation: up .25s; }
.modal-box h3 { margin: 0 0 4px; }
@keyframes up { from { transform: translateY(100%); } }

/* 提示 */
.toasts { position: fixed; left: 0; right: 0; top: 64px; z-index: 50; display: flex; flex-direction: column; align-items: center; gap: 6px; pointer-events: none; }
.toast { max-width: 92%; padding: 10px 14px; border-radius: 10px; background: #1b2744; border: 1px solid var(--line); font-size: 13px; box-shadow: 0 8px 24px rgba(0, 0, 0, .4); pointer-events: auto; animation: fade .2s; }
.toast.ok { border-color: rgba(52, 211, 153, .5); color: var(--ok); }
.toast.err { border-color: rgba(248, 113, 113, .5); color: var(--bad); }
.toast a { margin-left: 6px; }
.frozen-bar { margin-bottom: 12px; padding: 10px 12px; border-radius: 10px; background: rgba(248, 113, 113, .1); border: 1px solid rgba(248, 113, 113, .4); color: var(--bad); font-size: 13px; }

/* ========== 版本 A · 深海科技（和 LOGO 同色：深藍底 + 青色光暈 + 毛玻璃卡片）========== */
:root { --bg: #04203d; --bg2: #062a50; --card: rgba(255, 255, 255, .06); --line: rgba(25, 211, 224, .18); --txt: #eaf6ff; --sub: #8fb0cc; --pri: #19d3e0; --pri2: #0aa6c2; }
html { background: #04203d; }
body { background: radial-gradient(120% 420px at 85% -60px, rgba(25, 211, 224, .22), transparent 70%), linear-gradient(180deg, #062a50, #04203d 520px); background-attachment: fixed; }
.txt, .marquee { color: #c6dcef; }
.top { background: rgba(4, 32, 61, .88); }
.logo-img { height: 30px; width: auto; display: block; }
.drawer-head .logo-img { height: 34px; }
.drawer, .lang-menu { background: #052747; }
.card, .notice, .mini, .bal { background: var(--card); border-color: var(--line); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-radius: 16px; }
.bal { background: linear-gradient(145deg, rgba(25, 211, 224, .12), rgba(255, 255, 255, .04)); }
input, select, .stats3 > div, .link-box, .bar { background: rgba(2, 20, 40, .55); }
.btn { color: #022; background: linear-gradient(90deg, var(--pri), var(--pri2)); box-shadow: 0 6px 20px rgba(25, 211, 224, .3); }
.btn.ghost { background: transparent; color: var(--pri); border-color: var(--pri); box-shadow: none; }
.btn:disabled { box-shadow: none; }
.price-big, .mini b { color: var(--pri); text-shadow: 0 0 12px rgba(25, 211, 224, .45); }
.pcard { border-radius: 20px; background: radial-gradient(circle at 90% 10%, rgba(25, 211, 224, .4), transparent 45%), linear-gradient(135deg, #0b3d6e 0%, #05264a 55%, #0a5a7a 100%); border: 1px solid rgba(25, 211, 224, .5); box-shadow: 0 10px 30px rgba(25, 211, 224, .25); }
.dots b.on { box-shadow: 0 0 6px var(--pri); }
.drawer-list a.on { background: linear-gradient(90deg, rgba(25, 211, 224, .2), transparent); }
.quick a i[data-ic] { background: rgba(25, 211, 224, .12); box-shadow: inset 0 0 0 1px rgba(25, 211, 224, .2); }
#p-support .row2 .btn { margin-top: 12px; }

/* ========== 版本 A 布局：底部标签栏 + 效果图页面结构（只作用于前台 body.dapp，后台不受影响）========== */
.dapp main { padding: 12px 14px calc(84px + env(safe-area-inset-bottom)); }
.dapp .top { padding-left: max(14px, env(safe-area-inset-left)); padding-right: max(14px, env(safe-area-inset-right)); }
.dapp .page-title { display: flex; align-items: center; gap: 8px; margin: 2px 0 12px; }
.dapp .page-title .back { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 10px; color: var(--txt); background: var(--card); border: 1px solid var(--line); }
.dapp .page-title .back i[data-ic] { width: 18px; height: 18px; }
.lbl0 { color: var(--sub); font-size: 12px; display: flex; align-items: center; gap: 4px; }
.v { font-size: 17px; font-weight: 700; margin-top: 4px; word-break: break-all; font-variant-numeric: tabular-nums; }
.dapp .big { font-size: 24px; font-weight: 800; color: var(--pri); text-shadow: 0 0 12px rgba(25, 211, 224, .4); word-break: break-all; }
.dapp .big small { font-size: 12px; color: var(--sub); font-weight: 400; text-shadow: none; }
.hl { color: var(--pri); }
.sec-h { display: flex; align-items: center; gap: 6px; font-weight: 700; font-size: 15px; margin-bottom: 10px; }
.sec-h .ext { margin-left: auto; font-weight: 400; font-size: 12px; display: flex; align-items: center; gap: 3px; }
.sec-h .ext i[data-ic] { width: 14px; height: 14px; }
.row { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 7px 0; font-size: 13.5px; }
.row > span:first-child { color: var(--sub); white-space: nowrap; }
.row > b { text-align: right; font-weight: 600; min-width: 0; }
.dapp .card .bar { margin: 6px 0 4px; }
.dapp .grid2 .card { margin-bottom: 0; }

/* 首页：倒计时大卡 */
.hero { position: relative; overflow: hidden; text-align: center; padding: 18px 14px 16px; margin-bottom: 12px; border-radius: 20px; border: 1px solid rgba(25, 211, 224, .45); background: radial-gradient(circle at 50% -30%, rgba(25, 211, 224, .45), transparent 65%), linear-gradient(160deg, #0b3d6e, #05264a 60%, #073a5c); box-shadow: 0 10px 30px rgba(25, 211, 224, .2); }
.hero-t { font-size: 14px; color: #bfe9f5; letter-spacing: 1px; }
.cd { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 12px 0 10px; }
.cd > div { padding: 10px 0 6px; border-radius: 12px; background: rgba(2, 20, 40, .55); border: 1px solid rgba(25, 211, 224, .25); }
.cd b { display: block; font-size: 26px; font-weight: 800; color: var(--pri); font-variant-numeric: tabular-nums; text-shadow: 0 0 12px rgba(25, 211, 224, .55); line-height: 1.2; }
.cd i { font-style: normal; font-size: 11px; color: var(--sub); }
.hero-s { font-size: 12px; color: var(--sub); }
.hero.open .hero-t { font-size: 20px; font-weight: 800; color: var(--ok); margin-bottom: 6px; }
.card.price { display: flex; justify-content: space-between; align-items: center; }
.pr-act { display: flex; align-items: center; gap: 8px; }
.add-tk { font-size: 12px; padding: 7px 10px; border-radius: 10px; border: 1px solid rgba(25, 211, 224, .35); background: rgba(25, 211, 224, .08); color: var(--txt); cursor: pointer; }
.card.price .ext { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: rgba(25, 211, 224, .12); }
.grid2.st .card { padding: 12px; }

/* 购买：算力卡 */
.dapp .pcard { height: auto; min-height: 168px; padding: 18px 18px 14px; display: flex; flex-direction: column; }
.pc-wm { position: absolute; right: -18px; top: 50%; transform: translateY(-50%); height: 120px; opacity: .14; pointer-events: none; }
.pc-n { font-weight: 700; font-size: 16px; }
.pc-p { margin-top: auto; padding-top: 22px; font-size: 34px; font-weight: 900; letter-spacing: .5px; text-shadow: 0 0 14px rgba(25, 211, 224, .5); }
.pc-p small { font-size: 13px; font-weight: 500; color: #bfe9f5; text-shadow: none; }
.pc-f { display: flex; justify-content: space-between; margin-top: 8px; padding-top: 8px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 12px; color: #bfe9f5; }
.step { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.step button { width: 36px; height: 34px; border: 0; background: rgba(25, 211, 224, .1); color: var(--pri); font-size: 18px; cursor: pointer; }
.step input { width: 56px; height: 34px; border: 0; border-radius: 0; text-align: center; font-weight: 700; font-size: 15px; padding: 0; -moz-appearance: textfield; }
.step input::-webkit-inner-spin-button, .step input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.tip { margin-top: 8px; padding: 9px 11px; border-radius: 10px; font-size: 12.5px; color: var(--gold); background: rgba(251, 191, 36, .08); border: 1px solid rgba(251, 191, 36, .25); }

/* 团队 */
.tm { display: flex; gap: 12px; align-items: center; background: linear-gradient(145deg, rgba(25, 211, 224, .14), rgba(255, 255, 255, .04)); }
.tm-l { flex: none; width: 84px; text-align: center; padding-right: 12px; border-right: 1px solid var(--line); }
.tm-l .lbl0 { justify-content: center; }
.lvbig { font-size: 34px; font-weight: 900; color: var(--gold); text-shadow: 0 0 14px rgba(251, 191, 36, .45); }
.tm-g { flex: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; min-width: 0; }
.tm-g .v { font-size: 15px; }
.dapp .seg { display: flex; padding: 4px; margin-bottom: 12px; border-radius: 12px; background: rgba(2, 20, 40, .55); border: 1px solid var(--line); }
.dapp .seg a { flex: 1; text-align: center; padding: 8px 0; border-radius: 9px; color: var(--sub); cursor: pointer; font-size: 13.5px; }
.dapp .seg a.on { color: #022; font-weight: 700; background: linear-gradient(90deg, var(--pri), var(--pri2)); }
.card.list { padding: 4px 14px; }
.card.list .hint { margin: 10px 0 4px; }

/* 我的 */
.prof { display: flex; align-items: center; gap: 12px; background: linear-gradient(135deg, rgba(25, 211, 224, .2), rgba(255, 255, 255, .04)); }
.pf-av { width: 50px; height: 50px; flex: none; border-radius: 50%; border: 2px solid rgba(25, 211, 224, .6); box-shadow: 0 0 14px rgba(25, 211, 224, .35); }
.pf-m { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.pf-m b { font-size: 14px; }
.pf-m span { font-size: 12px; color: var(--sub); }
.lv.big { font-size: 14px; padding: 4px 12px; border-radius: 12px; color: #2a1a00; background: linear-gradient(135deg, #fde68a, #f59e0b); box-shadow: 0 0 12px rgba(251, 191, 36, .4); text-shadow: none; }
.tot { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 10px; }
.tot > div { padding: 10px; border-radius: 12px; background: rgba(2, 20, 40, .55); }
.tot .big { font-size: 20px; }
.ers { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ers div { background: rgba(2, 20, 40, .35); border-radius: 10px; padding: 8px 10px; }
.ers span { display: block; font-size: 11.5px; color: var(--sub); }
.ers b { font-size: 14px; }
.ers small { color: var(--sub); font-weight: 400; font-size: 11px; margin-left: 3px; }
.card.inv { display: flex; gap: 12px; align-items: center; margin-bottom: 4px; }
.card.inv .qr { width: 104px; height: 104px; flex: none; margin: 0; padding: 6px; border-radius: 10px; }
.inv-m { flex: 1; min-width: 0; }
.inv-m .sec-h { margin-bottom: 6px; }
.inv-m .small { font-size: 11px; color: var(--sub); max-height: 3.2em; overflow: hidden; }
.btn.sm { height: 34px; margin-top: 8px; font-size: 13px; border-radius: 10px; }
#p-team > .hint { margin: 0 4px 6px; }
#p-team > .hint.mb { margin-bottom: 12px; }
.card.menu { padding: 4px 14px; }
.card.menu a { display: flex; align-items: center; gap: 12px; padding: 13px 0; color: var(--txt); border-bottom: 1px solid var(--line); }
.card.menu a:last-child { border-bottom: 0; }
.card.menu a i[data-ic] { color: var(--pri); }
.card.menu a .go { margin-left: auto; width: 16px; height: 16px; color: var(--sub); }
.contracts a { display: flex; justify-content: space-between; padding: 5px 0; color: var(--sub); font-size: 12.5px; }
.contracts a b { color: var(--pri); font-weight: 400; font-family: ui-monospace, Consolas, monospace; }
.qr.big { width: 210px; height: 210px; }

/* 底部标签栏：固定在底部，宽度跟页面一致（最宽 560），避开 iPhone 底部横条 */
.tb { position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; max-width: 560px; margin: 0 auto; display: flex; padding: 6px 6px calc(6px + env(safe-area-inset-bottom)); background: rgba(4, 28, 54, .94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--line); }
.tb a { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 5px 0 3px; color: var(--sub); font-size: 11.5px; border-radius: 12px; }
.tb a i[data-ic] { width: 23px; height: 23px; }
.tb a.on { color: var(--pri); text-shadow: 0 0 10px rgba(25, 211, 224, .6); }
.tb a.on i[data-ic] { filter: drop-shadow(0 0 6px rgba(25, 211, 224, .7)); }
@media (max-width: 360px) { .cd b { font-size: 22px; } .dapp .big { font-size: 21px; } .pc-p { font-size: 30px; } .top .pill { padding: 0 8px; } }

/* 累计收益卡右上角「收益明细」入口：做成醒目的金色按钮 */
.sec-h .ext.rw-go { font-size: 13.5px; font-weight: 700; color: #2a1a00; padding: 6px 12px; border-radius: 999px; background: linear-gradient(135deg, #fde68a, #f59e0b); box-shadow: 0 0 12px rgba(251, 191, 36, .45); }
.sec-h .ext.rw-go i[data-ic] { width: 15px; height: 15px; }
