
.referrer-dialog[data-v-65c17d85] {
  width:min(438px, calc(100vw - 32px)); max-width:calc(100vw - 32px); max-height:calc(100dvh - 32px);
  margin:auto; padding:0; border:1px solid var(--gold-line); border-radius:16px;
  background:var(--surface,#1a1b21); color:var(--text,#f4f1ea);
  box-sizing:border-box; overflow:auto;
}
.referrer-dialog[data-v-65c17d85]::backdrop { background:rgba(4,7,12,.72);
}
.referrer-form[data-v-65c17d85] { display:flex; flex-direction:column; gap:13px; padding:22px;
}
.referrer-title-row[data-v-65c17d85] { display:flex; justify-content:space-between; align-items:center; gap:12px;
}
.referrer-title-row h2[data-v-65c17d85] { font-size:19px;line-height:1.35;margin:0;color:inherit;font-weight:700;
}
.referrer-close[data-v-65c17d85] { width:40px;height:40px;flex:0 0 40px;border:0;border-radius:8px;background:transparent;color:inherit;font-size:27px;line-height:1;cursor:pointer;
}
.referrer-close[data-v-65c17d85]:hover { background:var(--surface-soft,#24262d);
}
.referrer-label[data-v-65c17d85] { font-size:13px;color:inherit;font-weight:600;
}
.referrer-address[data-v-65c17d85] {
  width:100%; min-height:60px; padding:11px 12px;border:1px solid var(--gold-line);border-radius:10px;
  background:var(--surface-inset,#0e1015); color:inherit; font-size:14px;
  font-family:ui-monospace,Consolas,monospace;box-sizing:border-box;resize:none;overflow-wrap:anywhere;word-break:break-all;
}
.referrer-address[data-v-65c17d85]:focus { outline:2px solid var(--gold,#f3c668);outline-offset:2px;
}
.referrer-hint[data-v-65c17d85] { margin:0;font-size:12px;line-height:1.55;color:var(--muted,#b6b4b1);
}
.referrer-error[data-v-65c17d85] { color:#f1ad9f;font-size:12px;line-height:1.5;overflow-wrap:anywhere;
}
.referrer-confirm[data-v-65c17d85] { min-height:46px;margin-top:3px;
}
@media(max-width:420px){.referrer-form[data-v-65c17d85]{padding:18px;}.referrer-title-row h2[data-v-65c17d85]{font-size:18px;}}
/* ==========================================================================
   Mars Protocol V1.4 — 视觉层样式
   来源：01_frontend_baseline/dist/assets/index-CZ1OxZen.css（399 条全局规则）
   原则：
     1. :root 变量逐字复制，不改色值
     2. 组件类名沿用旧版（.app-header / .bottom-nav / .card 等）
     3. 仅 scoped(19 条) 部分按新组件结构适配
     4. 字体只引用 dist 中实际存在的 4 个 latin 文件
   ========================================================================== */

/* ---------- 字体（仅实际存在的 4 个）---------- */
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url("/assets/jetbrains-mono-latin-400-normal-V6pRDFza.woff2") format("woff2"),
       url("/assets/jetbrains-mono-latin-400-normal-6-qcROiO.woff") format("woff");
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url("/assets/jetbrains-mono-latin-600-normal-C8RAYTDA.woff2") format("woff2"),
       url("/assets/jetbrains-mono-latin-600-normal-BfsvjouI.woff") format("woff");
}

/* ---------- 旧版 :root 变量（逐字复制）---------- */
:root {
  --canvas: #111318;
  --canvas-deep: #0c0e13;
  --dim: #6f6b63;
  --gold: #f3c668;
  --gold-bright: #ffe5b7;
  --gold-deep: #d49326;
  --gold-line: rgba(243, 198, 104, .22);
  --green: #39d7a0;
  --muted: #9a8f7e;
  --radius: 8px;
  --red: #ef6e64;
  --surface: #1a1b21;
  --surface-inset: #0e1015;
  --surface-raised: #1f2027;
  --surface-soft: #24262d;
  --text: #f4f0e8;
  --text-soft: #d1c5b2;

  /* 补充（新版需要）*/
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --sans: Inter, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left: env(safe-area-inset-left, 0px);
  --safe-right: env(safe-area-inset-right, 0px);
  --nav-h: 64px;
}

/* ---------- 基础 ---------- */
* { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

html, body, #app {
  min-height: 100%;
  margin: 0;
}

body {
  background: var(--canvas);
  color: var(--text);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overscroll-behavior-y: contain;
}

img, svg, video, canvas, table, pre { max-width: 100%; }

button, input {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

button {
  border: none;
  background: none;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

button:disabled { cursor: not-allowed; opacity: .45; }

button:focus-visible,
input:focus-visible {
  outline: 2px solid var(--gold-line);
  outline-offset: 2px;
}

a { color: var(--gold); text-decoration: none; }

/* ---------- 布局 ---------- */
.app-shell {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  /* 与旧版一致：桌面居中约束 */
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
}

.page {
  flex: 1;
  width: 100%;
  padding:
    18px
    calc(18px + var(--safe-right))
    calc(var(--nav-h) + 32px + var(--safe-bottom))
    calc(18px + var(--safe-left));
}

/* ---------- 页头（沿用旧版结构）---------- */
.app-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px calc(18px + var(--safe-right))
           14px calc(18px + var(--safe-left));
  background: rgba(17, 19, 24, .92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  padding-top: calc(14px + var(--safe-top));
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%,
    var(--gold-bright), var(--gold) 55%, var(--gold-deep));
  display: grid;
  place-items: center;
  color: #1a1408;
  font-weight: 800;
  font-size: 16px;
  box-shadow: 0 0 0 1px rgba(243, 198, 104, .35),
              0 0 20px rgba(243, 198, 104, .22);
  flex: none;
}

.brand-name {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-name .zh {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: .5px;
  color: var(--text);
}

.brand-name .en {
  font-size: 9px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--dim);
}

.brand-status {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  color: var(--dim);
  letter-spacing: .5px;
}

.status-dot,
.chip-dot,
.green-dot,
.gold-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex: none;
}
.status-dot { background: var(--dim); }
.green-dot { background: var(--green); box-shadow: 0 0 6px var(--green); }
.gold-dot { background: var(--gold); box-shadow: 0 0 6px var(--gold); }

.header-actions {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

/* ---------- 顶栏胶囊 ---------- */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 0 13px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .1);
  background: var(--surface);
  color: var(--text-soft);
  font-size: 12px;
  white-space: nowrap;
}

.chip.gold {
  border-color: var(--gold-line);
  color: var(--gold);
}

.chip.connect {
  cursor: pointer;
  transition: border-color .15s, color .15s;
}
.chip.connect:hover {
  border-color: var(--gold-line);
  color: var(--gold);
}
.chip.connect.connected {
  border-color: var(--gold-line);
  color: var(--gold);
}

/* ---------- 语言菜单 ---------- */
.lang-wrap { position: relative; }

.lang-menu-backdrop {
  position: fixed;
  inset: 0;
  z-index: 60;
}

.lang-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 61;
  min-width: 148px;
  padding: 6px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .1);
  background: var(--surface-raised);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .55);
  animation: langMenuIn .14s ease-out;
}

@keyframes langMenuIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.lang-menu-title {
  font-size: 10px;
  letter-spacing: 1px;
  color: var(--dim);
  padding: 6px 10px 4px;
  text-transform: uppercase;
}

.lang-item {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-height: 38px;
  padding: 0 10px;
  border-radius: 8px;
  color: var(--text-soft);
  font-size: 13px;
  text-align: left;
}

.lang-item:hover { background: var(--surface-soft); }

.lang-item.active {
  color: var(--gold);
  background: rgba(243, 198, 104, .08);
}

.lang-short {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--dim);
}

/* ---------- 卡片 ---------- */
.surface-panel {
  background: linear-gradient(160deg, var(--surface), var(--surface-inset));
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 14px;
  overflow-wrap: anywhere;
}

.metric-panel {
  background: var(--surface-raised);
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: 12px;
  padding: 16px;
}

.panel-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.panel-heading > span:first-child {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}
.panel-heading .spacer { flex: 1; }

/* ---------- 页面标题 ---------- */
.page-title-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}
.page-title-row > div:first-child { flex: 1; min-width: 0; }

.eyebrow,
.section-label {
  font-size: 10px;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 4px;
}

.page-title {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--text);
  margin: 0;
  line-height: 1.2;
}

.page-title-row p {
  margin: 6px 0 0;
  font-size: 12px;
  color: var(--dim);
}

/* ---------- 大数字 ---------- */
.hero-amount {
  font-family: var(--mono);
  font-size: 40px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: -1px;
  line-height: 1.12;
  word-break: break-all;
}
.hero-amount .unit {
  font-size: 14px;
  color: var(--dim);
  font-weight: 500;
  margin-left: 8px;
  letter-spacing: 0;
}

/* ---------- 数据格 ---------- */
.data-card {
  background: var(--surface-inset);
  border: 1px solid rgba(255, 255, 255, .05);
  border-radius: 12px;
  padding: 13px 15px;
}
.data-card span {
  display: block;
  font-size: 11px;
  color: var(--dim);
  margin-bottom: 5px;
}
.data-card strong {
  font-family: var(--mono);
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
}
.data-card strong.gold { color: var(--gold); }
.data-card strong.green { color: var(--green); }

/* ---------- 按钮 ---------- */
.btn-primary,
.btn-outline,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  transition: transform .1s, filter .15s;
}
.btn-primary:active:not(:disabled),
.btn-outline:active:not(:disabled) { transform: scale(.985); }

.btn-primary {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold) 45%, var(--gold-deep));
  color: #211707;
  box-shadow: 0 6px 22px rgba(243, 198, 104, .18);
}
.btn-primary:hover:not(:disabled) { filter: brightness(1.06); }

.btn-outline {
  background: var(--surface-soft);
  border: 1px solid rgba(255, 255, 255, .1);
  color: var(--text);
}
.btn-outline:hover:not(:disabled) {
  border-color: var(--gold-line);
  color: var(--gold);
}

.btn-ghost {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .1);
  color: var(--text-soft);
}

.btn-block { width: 100%; }
.btn-sm { min-height: 36px; padding: 0 14px; font-size: 13px; }

/* ---------- 输入 ---------- */
.amount-input-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  padding: 0 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .1);
  background: var(--surface-inset);
  transition: border-color .15s;
}
.amount-input-wrap:hover { border-color: rgba(243, 198, 104, .28); }
.amount-input-wrap:focus-within {
  border-color: var(--gold-line);
  box-shadow: 0 0 0 3px rgba(243, 198, 104, .08);
}

.amount-input {
  flex: 1;
  min-width: 0;
  border: none;
  background: none;
  outline: none;
  font-family: var(--mono);
  font-size: 20px;
  color: var(--text);
}
.amount-input::placeholder { color: var(--dim); }

.amount-suffix {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--dim);
  flex: none;
}

.max-btn {
  min-height: 30px;
  padding: 0 11px;
  border-radius: 7px;
  border: 1px solid var(--gold-line);
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  flex: none;
}

.field-label {
  display: block;
  font-size: 12px;
  color: var(--dim);
  margin-bottom: 7px;
}

/* ---------- 键值行 ---------- */
.kv {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding: 9px 0;
  font-size: 13px;
  border-bottom: 1px solid rgba(255, 255, 255, .05);
}
.kv:last-child { border-bottom: none; }
.kv > span { color: var(--dim); flex: none; }
.kv > b {
  font-family: var(--mono);
  font-weight: 600;
  color: var(--text);
  text-align: right;
  overflow-wrap: anywhere;
  min-width: 0;
}
.kv > b.gold { color: var(--gold); }
.kv > b.green { color: var(--green); }
.kv > b.red { color: var(--red); }
.kv > b.na { color: var(--dim); font-style: italic; }

/* ---------- 底部导航 ---------- */
.bottom-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  background: rgba(12, 14, 19, .97);
  border-top: 1px solid rgba(255, 255, 255, .07);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding-bottom: var(--safe-bottom);
}

.bottom-nav-inner {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  max-width: 1280px;
  margin: 0 auto;
  height: var(--nav-h);
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: var(--dim);
  font-size: 10.5px;
  background: none;
  border: none;
  padding: 0;
  text-decoration: none;
  transition: color .15s;
}
.nav-item.active { color: var(--gold); }
.nav-item:hover { color: var(--text-soft); }

.nav-icon {
  font-size: 19px;
  line-height: 1;
}

/* 中央「加池」高亮（旧版特征）*/
.nav-item.nav-center .nav-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold-deep));
  color: #1a1408;
  font-size: 22px;
  font-weight: 700;
  box-shadow: 0 0 0 4px rgba(243, 198, 104, .12),
              0 4px 16px rgba(243, 198, 104, .3);
}
.nav-item.nav-center.active .nav-icon { filter: brightness(1.1); }

/* ---------- 进度条（加池页）---------- */
.progress-track {
  display: flex;
  height: 6px;
  border-radius: 999px;
  overflow: hidden;
  background: var(--surface-inset);
}
.progress-usdt { background: var(--green); }
.progress-hxb  { background: var(--gold); }

/* ---------- 提示 ---------- */
.toast-message {
  position: fixed;
  left: 50%;
  bottom: calc(var(--nav-h) + 24px);
  transform: translateX(-50%);
  z-index: 70;
  max-width: min(560px, calc(100vw - 32px));
  padding: 11px 18px;
  border-radius: 10px;
  background: var(--surface-raised);
  border: 1px solid rgba(255, 255, 255, .1);
  color: var(--text);
  font-size: 13px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .5);
}

.alert {
  padding: 11px 14px;
  border-radius: 10px;
  font-size: 12.5px;
  line-height: 1.6;
  margin-bottom: 12px;
  overflow-wrap: anywhere;
}
.alert-warn {
  background: rgba(243, 198, 104, .1);
  border: 1px solid rgba(243, 198, 104, .28);
  color: var(--gold);
}
.alert-error {
  background: rgba(239, 110, 100, .1);
  border: 1px solid rgba(239, 110, 100, .3);
  color: var(--red);
}
.alert-ok {
  background: rgba(57, 215, 160, .1);
  border: 1px solid rgba(57, 215, 160, .28);
  color: var(--green);
}
.alert-info {
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .08);
  color: var(--text-soft);
}

/* ---------- 表 ---------- */
.list-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .05);
  font-size: 13px;
}
.list-row:last-child { border-bottom: none; }
.list-row .spacer { flex: 1; }

/* ---------- 标签 ---------- */
.tag {
  display: inline-block;
  padding: 2px 9px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .3px;
}
.tag-gold   { background: rgba(243, 198, 104, .14); color: var(--gold); }
.tag-green  { background: rgba(57, 215, 160, .14); color: var(--green); }
.tag-red    { background: rgba(239, 110, 100, .14); color: var(--red); }
.tag-dim    { background: rgba(255, 255, 255, .06); color: var(--dim); }

/* ---------- 加载 ---------- */
.spinner {
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255, 255, 255, .2);
  border-top-color: currentColor;
  border-radius: 50%;
  animation: spin .7s linear infinite;
  display: inline-block;
  flex: none;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- 工具 ---------- */
.mono { font-family: var(--mono); }
.small { font-size: 12px; }
.muted { color: var(--dim); }
.gold { color: var(--gold); }
.green { color: var(--green); }
.red { color: var(--red); }
.mt { margin-top: 12px; }
.mt-sm { margin-top: 6px; }
.mt-lg { margin-top: 20px; }
.mb0 { margin-bottom: 0; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }

/* ==========================================================================
   响应式（沿用旧版断点：720 / 430 / 360）
   ========================================================================== */

@media (min-width: 720px) {
  .page { padding: 24px 28px calc(var(--nav-h) + 40px); }
  .page-title { font-size: 30px; }
  .hero-amount { font-size: 48px; }
  :root { --nav-h: 68px; }
  .nav-item { font-size: 11.5px; }
  .nav-icon { font-size: 20px; }
}

@media (max-width: 430px) {
  .page { padding-left: calc(13px + var(--safe-left));
          padding-right: calc(13px + var(--safe-right)); }
  .app-header { padding-left: calc(13px + var(--safe-left));
                padding-right: calc(13px + var(--safe-right)); }
  .page-title { font-size: 23px; }
  .hero-amount { font-size: 32px; }
  .brand-name .en { display: none; }
  .chip { font-size: 11px; padding: 0 10px; }
  .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 360px) {
  .page { padding-left: calc(10px + var(--safe-left));
          padding-right: calc(10px + var(--safe-right)); }
  .page-title { font-size: 21px; }
  .hero-amount { font-size: 28px; }
  .brand-name .zh { font-size: 15px; }
  .nav-item { font-size: 9.5px; }
  .nav-icon { font-size: 17px; }
  .nav-item.nav-center .nav-icon { width: 38px; height: 38px; font-size: 20px; }
  .surface-panel { padding: 15px; border-radius: 13px; }
  .grid-2 { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}

/* ==========================================================================
   V14-R4 整改 #6：视觉还原度精修
   目标 = 对齐 01_frontend_baseline/evidence/views 的五张原版截图
   ========================================================================== */

/* ---- 顶栏：状态辅助行（原版有「状态 / 1 Gwei」） ---- */
.header-status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(24px, calc((100% - var(--page-max)) / 2)) 0;
  margin-top: 2px;
  font-size: 11px;
  color: var(--dim);
  letter-spacing: .3px;
}
.header-status-row .left { color: var(--dim); }
.header-status-row .right { display: flex; align-items: center; gap: 5px; }
.header-status-row .gas-ico { font-size: 10px; opacity: .8; }

/* ---- 顶栏 chip 图标 / 下拉箭头 ---- */
.chip-ico { font-size: 12px; opacity: .85; margin-right: 1px; }
.caret { font-size: 9px; opacity: .7; margin-left: 1px; }

/* ---- 圆形头像按钮（原版右端） ---- */
.avatar-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  flex: none;
  display: grid;
  place-items: center;
  font-size: 15px;
  color: var(--gold);
  background: var(--surface-raised);
  border: 1px solid var(--gold-line);
  cursor: pointer;
  transition: background .16s, border-color .16s;
}
.avatar-btn:hover {
  background: var(--surface-soft);
  border-color: rgba(243, 198, 104, .45);
}

/* ---- 链信息浮层 ---- */
.chain-info-pop {
  position: absolute;
  right: max(24px, calc((100% - var(--page-max)) / 2));
  top: 100%;
  z-index: 60;
  min-width: 250px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--surface-raised);
  border: 1px solid var(--gold-line);
  box-shadow: 0 16px 40px rgba(0, 0, 0, .55);
}
.app-header { position: relative; }

/* ---- 品牌 LOGO：径向光晕 + 金色描边（贴近原版星球） ---- */
.brand-mark {
  box-shadow:
    0 0 0 1px rgba(243, 198, 104, .40),
    0 0 0 5px rgba(243, 198, 104, .07),
    0 0 22px rgba(243, 198, 104, .30),
    inset 0 0 10px rgba(255, 255, 255, .28);
}

/* ---- 页面标题左侧图标（原版总览有） ---- */
.page-title-row .title-ico {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  flex: none;
  display: grid;
  place-items: center;
  font-size: 20px;
  color: var(--gold);
  background: radial-gradient(circle at 35% 30%,
    rgba(243, 198, 104, .22), rgba(243, 198, 104, .06));
  border: 1px solid var(--gold-line);
  box-shadow: 0 0 18px rgba(243, 198, 104, .16);
}

/* ---- 主卡暖金光晕（原版 hero 背景有径向渐变） ---- */
.surface-panel.hero {
  position: relative;
  overflow: hidden;
}
.surface-panel.hero::before {
  content: "";
  position: absolute;
  inset: -40% -10% auto auto;
  width: 62%;
  height: 150%;
  pointer-events: none;
  background: radial-gradient(ellipse at 70% 20%,
    rgba(243, 198, 104, .16), rgba(243, 198, 104, .04) 45%, transparent 70%);
}

/* ---- 主卡金额：$ 符号与等宽数字 ---- */
.hero-amount .currency {
  font-size: .56em;
  font-weight: 600;
  color: var(--text-soft);
  margin-right: 2px;
  vertical-align: .18em;
}

/* ---- 日利率徽章箭头 ---- */
.tag-gold .arrow { font-size: .92em; margin-right: 2px; opacity: .9; }

/* ---- 累计收益条图标 ---- */
.pill-ico {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  flex: none;
  display: grid;
  place-items: center;
  font-size: 10px;
  color: #1a1408;
  background: linear-gradient(140deg, var(--gold-bright), var(--gold-deep));
  box-shadow: 0 0 12px rgba(243, 198, 104, .35);
}

/* ---- 三格数据卡（原版有独立描边与内边距） ---- */
.data-card.mini {
  padding: 11px 13px;
  border-radius: 11px;
  background: var(--surface-inset);
  border: 1px solid rgba(255, 255, 255, .05);
}

/* ---- 数据四格图标（原版 ⚙ 🔒 $ ℅） ---- */
.data-card .card-ico {
  position: absolute;
  top: 11px;
  right: 12px;
  font-size: 12px;
  color: var(--dim);
  opacity: .75;
}
.data-card { position: relative; }

/* ---- 按钮图标 ---- */
.btn-primary .b-ico,
.btn-outline .b-ico {
  font-size: .95em;
  margin-right: 6px;
  opacity: .92;
}

/* ---- 节点总览卡（原版是大卡 + 图标） ---- */
.node-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px;
}
.node-card .node-ico {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  flex: none;
  display: grid;
  place-items: center;
  font-size: 18px;
  color: var(--gold);
  background: rgba(243, 198, 104, .09);
  border: 1px solid var(--gold-line);
}
.node-card .node-body { flex: 1; min-width: 0; }
.node-card .node-title { font-size: 19px; font-weight: 700; color: var(--text); }

/* ---- 入口大卡（原版 3 张独立大卡） ---- */
.entry-card {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 16px 18px;
  border-radius: 13px;
  background: var(--surface-raised);
  border: 1px solid rgba(255, 255, 255, .055);
  cursor: pointer;
  transition: border-color .16s, background .16s, transform .16s;
  margin-bottom: 10px;
}
.entry-card:last-child { margin-bottom: 0; }
.entry-card:hover {
  border-color: var(--gold-line);
  background: var(--surface-soft);
}
.entry-card .entry-ico {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  flex: none;
  display: grid;
  place-items: center;
  font-size: 15px;
  color: var(--gold);
  background: rgba(243, 198, 104, .08);
  border: 1px solid var(--gold-line);
}
.entry-card .entry-body { flex: 1; min-width: 0; }
.entry-card .entry-title { font-size: 15px; font-weight: 650; color: var(--text); }
.entry-card .entry-sub { font-size: 11px; color: var(--dim); margin-top: 1px; }
.entry-card .entry-arrow { color: var(--dim); font-size: 16px; flex: none; }

/* ---- 加池：USDT 质押条居中（原版） ---- */
.stake-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px;
  border-radius: 10px;
  background: var(--surface-inset);
  border: 1px solid rgba(255, 255, 255, .05);
  font-size: 13px;
  color: var(--text-soft);
}

/* ---- 加池：输入框浅底（原版 #f4f0e8 背景 + 深色字） ---- */
.amount-input-wrap.light {
  background: #f4f0e8;
  border-color: rgba(0, 0, 0, .10);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6);
}
.amount-input-wrap.light .amount-input {
  color: #1a1b21;
  font-weight: 600;
}
.amount-input-wrap.light .amount-input::placeholder {
  color: #7a7268;
  font-weight: 500;
}
.amount-input-wrap.light .unit-tag {
  color: #4a4239;
  background: rgba(0, 0, 0, .06);
}
.amount-input-wrap.light .max-btn {
  color: #6b5a2f;
  background: rgba(212, 147, 38, .18);
  border-color: rgba(212, 147, 38, .35);
}

/* ---- 加池：进度条 HXB 段用深色（原版非金色） ---- */
.progress-track .seg-hxb { background: #2b2d35; }

/* ---- 右上角竖向徽章（原版「协议池」是竖向卡片） ---- */
.tag-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 8px 11px;
  border-radius: 10px;
  background: rgba(243, 198, 104, .08);
  border: 1px solid var(--gold-line);
  color: var(--gold);
  font-size: 11px;
  line-height: 1.2;
  min-width: 52px;
}

/* ---- 底部导航：中央加池为圆角方块（原版） ---- */
.nav-item.nav-center .nav-icon {
  border-radius: 14px;
}

/* ---- 移动端：状态辅助行隐藏（省空间） ---- */
@media (max-width: 720px) {
  .header-status-row { display: none; }
  .avatar-btn { width: 30px; height: 30px; font-size: 13px; }
  .chain-info-pop { right: 12px; min-width: 220px; }
}
/* ---- 标题左侧图标组 ---- */
.title-lockup {
  display: flex;
  align-items: center;
  gap: 12px;
}
/* ==========================================================================
   V14-R4 整改 #5：移动端触控目标 44px 标准
   依据已批准的 44px 可点击区域要求（原 32px 标准不符）
   ========================================================================== */

/* 移动端：所有可点击控件最小 44px 高 */
@media (max-width: 720px) {
  /* 小号幽灵按钮（进入节点 › 等） */
  .btn-sm,
  .btn-ghost.btn-sm {
    min-height: 44px;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  /* 钱包连接 chip */
  .chip,
  .chip.connect {
    min-height: 44px;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  /* 语言切换 chip 与下拉项 */
  .lang-wrap .chip { min-height: 44px; }
  .lang-item { min-height: 44px; }

  /* 主/次按钮 */
  .btn-primary,
  .btn-outline {
    min-height: 44px;
  }

  /* MAX 按钮 */
  .max-btn {
    min-height: 44px;
    min-width: 44px;
  }

  /* 导航项 */
  .nav-item {
    min-height: 44px;
  }

  /* 入口卡 / 列表行 */
  .entry-card { min-height: 56px; }
  .list-row { min-height: 44px; }

  /* 头像按钮 */
  .avatar-btn {
    min-width: 44px;
    min-height: 44px;
  }
}/* Mars mobile-first UI refinement. Presentation only; underlying rules unchanged. */
:root {
  --canvas:#101114; --canvas-deep:#0b0c0f; --surface:#191b20;
  --surface-inset:#111318; --surface-raised:#20232a; --surface-soft:#262a31;
  --text:#f5f1e9; --text-soft:#dfd6c6; --muted:#acaaa4; --dim:#94969b;
  --gold:#eec16b; --gold-bright:#f8d997; --gold-deep:#c99443;
  --gold-line:rgba(238,193,107,.28); --radius:14px; --nav-h:76px;
}
html { color-scheme:dark; scroll-padding-top:100px; }
body { font-size:14px; line-height:1.55; }
::selection { background:#edc16b; color:#101114; }
button:focus-visible, a:focus-visible, input:focus-visible { outline:2px solid var(--gold); outline-offset:3px; }
.app-shell { max-width:1160px; }
.env-banner { padding:6px 12px; background:#29241b; color:#f0d7a6; text-align:center; font-size:11px; font-weight:600; line-height:1.45; overflow-wrap:anywhere; border-bottom:1px solid var(--gold-line); }
.app-header { position:relative; background:var(--canvas); backdrop-filter:none; padding:14px 18px; gap:12px; }
.brand-lockup { gap:10px; min-width:0; }
.brand-mark { color:var(--gold); width:40px; height:40px; background:#272319; border:1px solid var(--gold-line); box-shadow:none; border-radius:12px; }
.brand-mark svg { width:29px; height:29px; display:block; }
.brand-name .zh { font-size:16px; letter-spacing:0; white-space:nowrap; }
.brand-name .en { color:var(--muted); letter-spacing:1px; font-size:9px; }
.header-actions { min-width:0; flex:1; gap:6px; }
.chip { min-height:44px; border-radius:10px; background:var(--surface); padding:0 11px; color:var(--text-soft); font-size:12px; }
.chip svg { width:18px; height:18px; flex:none; }
.chip.connect { color:#15120c; background:var(--gold); border-color:var(--gold); font-weight:700; }
.chip.connect:hover:not(:disabled) { color:#15120c; background:var(--gold-bright); }
.chip.connect.connected { color:var(--gold); background:#262219; }
.lang-full { display:none; }
.avatar-btn { width:44px; height:44px; border-radius:11px; background:var(--surface); color:var(--text-soft); border:1px solid #303238; display:grid; place-items:center; }
.avatar-btn svg { width:20px; height:20px; }
.header-status-row { color:var(--muted); padding:7px 20px; font-size:11px; }
.page { padding:24px max(16px,calc(16px + var(--safe-right))) calc(var(--nav-h) + var(--safe-bottom) + 28px) max(16px,calc(16px + var(--safe-left))); min-width:0; }
.page-title-row { margin-bottom:20px; align-items:center; }
.page-title { font-size:clamp(25px,5.7vw,36px); line-height:1.15; font-weight:750; letter-spacing:-.025em; }
.page-title-row .eyebrow { display:none; }
.page-title-row .title-ico { background:#262219; color:var(--gold); border:1px solid var(--gold-line); box-shadow:none; border-radius:12px; width:42px;height:42px; }
.surface-panel,.entry-card,.data-card,.metric-panel { border-radius:14px; box-shadow:none; }
.surface-panel { padding:18px; border:1px solid #30333a; background:var(--surface); margin-bottom:14px; overflow:hidden; }
.surface-panel.hero { background:#1b1c20; border-color:#4e4432; }
.surface-panel.hero::before { display:none; }
.hero-amount { font-size:clamp(33px,7.2vw,52px); color:var(--text); font-weight:700; letter-spacing:-.035em; line-height:1.22; overflow-wrap:anywhere; font-variant-numeric:tabular-nums; }
.hero-amount .currency { color:var(--gold); }
.hero-amount .unit { font-size:12px; letter-spacing:.015em; color:var(--muted); }
.section-label { color:var(--text-soft); font-size:12px; letter-spacing:0; font-weight:600; }
.metric-panel { background:var(--surface-inset); border-color:#30333a; padding:13px; min-width:0; }
.data-card { background:var(--surface-inset); border:1px solid #2b2e35; padding:12px; min-width:0; }
.data-card strong { font-size:15px; white-space:normal; overflow-wrap:anywhere; line-height:1.4; }
.data-card > span { color:var(--muted); line-height:1.45; overflow-wrap:anywhere; }
.grid-2,.grid-3,.grid-4 { gap:10px; min-width:0; }
.grid-2 { grid-template-columns:repeat(2,minmax(0,1fr)); }
.grid-3 { grid-template-columns:repeat(3,minmax(0,1fr)); }
.grid-4 { grid-template-columns:repeat(2,minmax(0,1fr)); }
.btn-primary,.btn-outline,.btn-ghost { min-height:46px; border-radius:11px; font-size:13px; font-weight:650; white-space:normal; overflow-wrap:anywhere; line-height:1.35; text-align:center; }
.btn-primary { background:var(--gold); color:#1c160b; box-shadow:none; }
.btn-outline { border:1px solid #514938; color:var(--gold); background:#211f1c; }
.btn-outline:hover:not(:disabled) { background:#2a251d; }
.btn-ghost { color:var(--text-soft); }
.btn-primary:active:not(:disabled),.btn-outline:active:not(:disabled) { transform:none; }
.dashboard-actions { grid-template-columns:repeat(2,minmax(0,1fr)); }
.dashboard-actions .btn-primary { grid-column:1 / -1; min-height:50px; }
.dashboard-assets { grid-template-columns:repeat(3,minmax(0,1fr)); }
.entry-card { display:flex; width:100%; min-height:65px; background:var(--surface); border:1px solid #30333a; align-items:center; gap:12px; padding:14px; text-align:left; cursor:pointer; }
.entry-ico,.node-ico,.pill-ico { box-shadow:none; background:#272319; color:var(--gold); border:1px solid #4f442f; }
.entry-arrow { color:var(--gold); }
.node-card { border-color:#3e382d; }
.kv { gap:8px; min-width:0; align-items:flex-start; }
.kv > b { min-width:0; text-align:right; overflow-wrap:anywhere; }
.list-row { gap:8px; min-width:0; overflow-wrap:anywhere; }
.amount-input-wrap { min-width:0; border-radius:12px; }
.amount-input { min-width:0; font-size:clamp(23px,5.4vw,32px); }
.alert { border-radius:11px; overflow-wrap:anywhere; }
.lang-menu { border-radius:12px; background:var(--surface-raised); }
.bottom-nav { background:#111216; backdrop-filter:none; border-top:1px solid #30333a; }
.bottom-nav-inner { max-width:650px; grid-template-columns:repeat(5,minmax(0,1fr)); }
.nav-item { min-height:64px; font-size:11px; gap:5px; color:var(--muted); position:relative; padding:5px 2px; text-align:center; line-height:1.2; }
.nav-item.active { color:var(--gold); }
.nav-item.active::after { position:absolute; bottom:2px; content:''; background:var(--gold); width:18px;height:2px; border-radius:3px; }
.nav-icon { width:25px; height:25px; display:grid; place-items:center; }
.nav-icon svg { width:22px;height:22px; }
.nav-item.nav-center .nav-icon { border-radius:12px; width:36px;height:36px; background:var(--gold); box-shadow:none; color:#21170c; }
.nav-item.nav-center .nav-icon svg { width:23px;height:23px; }
@media(max-width:600px){
 .app-header { padding:12px 16px; flex-wrap:wrap; gap:10px; }
 .header-actions { flex:1 0 100%; justify-content:stretch; }
 .header-actions .chip.gold { display:none; } /* environment banner remains visible */
 .header-actions .lang-wrap { flex:0 0 auto; }
 .header-actions .chip.connect { flex:1 1 auto; justify-content:center; min-width:0; }
 .header-actions .avatar-btn { flex:0 0 44px; }
 .brand-name .en { display:block; }
 .lang-menu { left:0; right:auto; min-width:170px; }
 .header-status-row { display:none; }
 .page { padding-top:20px; }
 .dashboard-assets { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .dashboard-assets > :first-child { grid-column:1 / -1; }
 .surface-panel.hero .tag { font-size:10px; flex-shrink:0; }
 .surface-panel.hero > div:first-child { gap:8px!important; }
 .surface-panel.hero .hero-amount { font-size:clamp(26px,7.5vw,37px); }
 .data-card strong { font-size:14px; }
 .grid-3:not(.dashboard-actions):not(.dashboard-assets) { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media(max-width:360px){
 .page { padding-left:12px; padding-right:12px; }
 .app-header { padding-left:12px; padding-right:12px; }
 .surface-panel { padding:14px; }
 .chip { padding:0 9px;font-size:11px; }
 .hero-amount .unit { display:block; }
 .grid-2 { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .nav-item { font-size:10px; }
}
@media(min-width:760px){
 :root { --nav-h:70px; }
 .app-header { padding:18px 32px; }
 .lang-full { display:inline; }
 .page { padding:32px 32px calc(var(--nav-h) + 32px); }
 .surface-panel { padding:23px; margin-bottom:18px; }
 .grid-4 { grid-template-columns:repeat(4,minmax(0,1fr)); }
 .dashboard-actions { grid-template-columns:repeat(3,minmax(0,1fr)); }
 .dashboard-actions .btn-primary { grid-column:auto; }
 .data-card strong { font-size:16px; }
 .dashboard-assets { grid-template-columns:repeat(3,minmax(0,1fr)); }
 .header-status-row { padding:6px 32px; }
}
@media(prefers-reduced-motion:reduce){ *,*::before,*::after { animation:none!important;transition:none!important; } }/* Final check: use the same visual hierarchy on wider displays. */
.hero-amount { font-family:var(--sans); font-variant-numeric:tabular-nums; word-break:normal; }
.page-title-row .title-ico svg,.entry-ico svg,.node-ico svg {width:23px;height:23px;}
.lang-wrap .chip[disabled] {color:var(--muted);}
@media(min-width:1000px) {
 .dashboard-page {display:grid;grid-template-columns:minmax(0,1.55fr) minmax(300px,1fr);gap:20px;align-items:start;}
 .dashboard-page > .page-title-row {grid-column:1/-1;margin:0 0 4px;}
 .dashboard-page > .hero {grid-column:1;grid-row:2;margin:0;}
 .dashboard-page > .dashboard-protocol-data {grid-column:2;grid-row:2;margin:0!important;}
 .dashboard-protocol-data .grid-4 {grid-template-columns:repeat(2,minmax(0,1fr));}
 .dashboard-protocol-data .data-card {min-height:111px;}
 .dashboard-page > .node-card {grid-column:1;grid-row:3;margin:0;}
 .dashboard-page > .dashboard-entries {grid-column:2;grid-row:3;}
 .dashboard-page > .alert {grid-column:1/-1;}
}

.flex1[data-v-030aebbb] { flex: 1;
}
