/* ================================================================
   uniapp-theme.css — 与 uniapp 前端设计一致的 PHP Web 主题
   设计语言：liquid-card / mint-card / 毛玻璃 / 圆角卡片 / 暗黑模式
   ================================================================ */

/* ── 设计令牌 ── */
:root {
  --brand: #10b981;
  --brand-light: #34d399;
  --red: #ef4444;
  --red-light: #fca5a5;
  --blue: #2563eb;
  --ink: #0f172a;
  --muted: #64748b;
  --muted-light: #94a3b8;
  --line: #e5e7eb;
  --bg: #f6f7fb;
  --card-bg: rgba(255,255,255,.82);
  --card-shadow: 0 12px 36px rgba(15,23,42,.05);
  --sheet-bg: #f6f7fb;
  --radius-xl: 28px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;
}

/* ── 通用重置增强 ── */
*, *::before, *::after { box-sizing: border-box; }

/* ── Liquid Card（毛玻璃卡片） ── */
.liquid-card {
  background: rgba(255,255,255,.82);
  border: 0;
  border-radius: 28px;
  box-shadow: 0 12px 36px rgba(15,23,42,.05);
  padding: 22px 18px;
  margin-bottom: 18px;
}

/* ── Mint Card（品牌渐变卡片） ── */
.mint-card {
  background: linear-gradient(135deg, rgba(16,185,129,.88), rgba(132,250,176,.78));
  color: #0f172a;
  border-radius: 28px;
  padding: 24px 20px;
  box-shadow: 0 22px 54px rgba(16,185,129,.16);
}

/* ── Hero 卡片 ── */
.hero-card {
  background: rgba(255,255,255,.82);
  border-radius: 28px;
  box-shadow: 0 12px 36px rgba(15,23,42,.05);
  padding: 24px 18px;
  margin-bottom: 18px;
}

/* ── 品牌行 ── */
.brand-line {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 18px;
}
.brand-name {
  display: block;
  font-size: 20px;
  font-weight: 950;
  color: #0f172a;
}
.brand-sub {
  display: block;
  color: #64748b;
  font-size: 13px;
  margin-top: 4px;
}
.manage-link {
  color: #64748b;
  font-size: 13px;
  padding-top: 4px;
  text-decoration: none;
  font-weight: 700;
}
.manage-link:hover { color: #10b981; }

/* ── 资产/负债双卡片网格 ── */
.asset-debt-grid-v2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 14px;
}
.asset-tile-v2 {
  min-height: 110px;
  border-radius: 20px;
  background: rgba(255,255,255,.74);
  padding: 18px 16px;
  box-shadow: 0 10px 28px rgba(15,23,42,.05);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
}
.asset-tile-v2:hover { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(15,23,42,.08); }
.asset-tile-v2.asset-themed {
  background: linear-gradient(135deg, rgba(16,185,129,.08), rgba(255,255,255,.9));
  border: 1px solid rgba(16,185,129,.15);
}
.asset-tile-v2.debt-themed {
  background: linear-gradient(135deg, rgba(239,68,68,.08), rgba(255,255,255,.9));
  border: 1px solid rgba(239,68,68,.15);
}
.tile-title-v2 {
  font-size: 15px;
  font-weight: 950;
  color: #0f172a;
  margin-bottom: 10px;
}
.tile-money-v2 {
  font-size: 22px;
  font-weight: 950;
}
.tile-money-v2.green { color: #10b981; }
.tile-money-v2.red { color: #ef4444; }

/* ── 净资产药丸 ── */
.net-summary-pill-v2 {
  min-height: 52px;
  padding: 0 20px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(16,185,129,.12), #fff);
  border: 1px solid rgba(226,232,240,.72);
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.net-summary-pill-v2 span:first-child {
  font-size: 15px;
  font-weight: 800;
  color: #64748b;
}
.net-summary-pill-v2 span:last-child {
  font-size: 19px;
  font-weight: 900;
  color: #10b981;
}
.net-summary-pill-v2.negative { background: linear-gradient(135deg, rgba(239,68,68,.12), #fff); border-color: rgba(239,68,68,.25); }
.net-summary-pill-v2.negative span:last-child { color: #ef4444; }

/* ── 授信额度药丸 ── */
.credit-limit-pill-v2 {
  min-height: 44px;
  padding: 0 20px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(99,102,241,.10), rgba(255,255,255,.72));
  border: 1px solid rgba(226,232,240,.72);
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.credit-limit-pill-v2 span:first-child { font-size: 14px; font-weight: 800; color: #64748b; }
.credit-limit-pill-v2 .credit-limit-value { font-size: 16px; font-weight: 900; color: #6366f1; }

/* ── 健康状态卡片 ── */
.health-card-v2 {
  padding: 14px 12px;
  background: rgba(255,255,255,.78);
  border-radius: 20px;
  display: flex;
  gap: 10px;
  align-items: center;
  box-shadow: 0 6px 20px rgba(15,23,42,.04);
  margin-bottom: 14px;
  text-decoration: none;
  color: inherit;
}
.health-card-v2.health-warn { background: rgba(239,68,68,.06); border: 1px solid rgba(239,68,68,.14); }
.health-card-v2.health-clear { background: rgba(16,185,129,.06); border: 1px solid rgba(16,185,129,.14); }
.health-card-v2.health-tappable { cursor: pointer; }
.health-card-v2.health-tappable:active { opacity: .8; transform: scale(.98); }
.health-emoji { font-size: 22px; flex-shrink: 0; }
.status-title-v2 { display: block; font-size: 14px; font-weight: 900; color: #111827; margin-bottom: 3px; }
.status-desc-v2 { display: block; font-size: 13px; color: #4b5563; line-height: 1.5; }

/* ── 资产占比进度条 ── */
.ratio-bar-v2 {
  height: 8px;
  background: #fee2e2;
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 8px;
}
.ratio-bar-v2 div {
  height: 100%;
  background: #10b981;
  border-radius: 6px;
  transition: width .5s ease;
}
.ratio-bar-v2.high-debt { background: #fee2e2; }
.ratio-bar-v2.high-debt div { background: #ef4444; }
.ratio-text-v2 {
  display: flex;
  justify-content: space-between;
  color: #6b7280;
  font-size: 13px;
  margin-bottom: 16px;
}

/* ── 行动按钮行 ── */
.action-row-v2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.action-row-v2 .btn-primary-v2 {
  height: 48px;
  border-radius: 16px;
  background: #10b981;
  color: #fff;
  font-size: 15px;
  font-weight: 950;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .15s ease, opacity .15s ease;
}
.action-row-v2 .btn-primary-v2:active { transform: scale(.97); opacity: .9; }
.action-row-v2 .btn-dark-v2 {
  height: 48px;
  border-radius: 16px;
  background: #0f172a;
  color: #fff;
  font-size: 15px;
  font-weight: 950;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .15s ease, opacity .15s ease;
}
.action-row-v2 .btn-dark-v2:active { transform: scale(.97); opacity: .9; }

/* ── 区块标题行 ── */
.section-title-v2 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  font-weight: 950;
  font-size: 17px;
  color: #0f172a;
}
.section-title-v2 .section-link {
  color: #64748b;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}
.section-title-v2 .section-link:hover { color: #10b981; }

/* ── 汇总概览行 ── */
.summary-stats-row {
  display: flex;
  align-items: center;
  background: rgba(255,255,255,.35);
  border-radius: 20px;
  padding: 8px 6px;
  backdrop-filter: blur(6px);
}
.summary-stat-v2 {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 6px 0;
}
.summary-stat-label { font-size: 12px; color: rgba(15,23,42,.55); font-weight: 800; }
.summary-stat-value { font-size: 20px; font-weight: 950; }
.summary-stat-divider { width: 1px; height: 36px; background: rgba(255,255,255,.40); flex-shrink: 0; }

/* ── K线卡片 ── */
.kline-card-v2 { margin-bottom: 18px; }
.kline-header-v2 { margin-bottom: 14px; }
.kline-title-row-v2 { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.kline-title-v2 { font-size: 17px; font-weight: 950; color: #0f172a; }
.sync-badge-v2 {
  padding: 4px 10px;
  background: rgba(239,68,68,.15);
  color: #ef4444;
  font-size: 12px;
  font-weight: 900;
  border-radius: 10px;
  cursor: pointer;
}
.kline-tabs-v2 { display: flex; gap: 6px; }
.kline-tabs-v2 button {
  flex: 1;
  text-align: center;
  padding: 9px 0;
  border-radius: 14px;
  color: #64748b;
  font-weight: 900;
  font-size: 12px;
  background: rgba(255,255,255,.6);
  border: none;
  cursor: pointer;
  transition: all .2s;
}
.kline-tabs-v2 button.active {
  color: #10b981;
  background: #fff;
  box-shadow: 0 6px 18px rgba(15,23,42,.06);
}

/* ── 市场信息行 ── */
.market-info-v2 {
  display: flex;
  background: rgba(255,255,255,.7);
  border-radius: 18px;
  padding: 12px 10px;
  margin-bottom: 14px;
}
.market-item-v2 {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.market-label-v2 { font-size: 11px; color: #64748b; font-weight: 800; }
.market-value-v2 { margin-top: 4px; font-size: 16px; font-weight: 950; }
.market-value-v2.red { color: #ef4444; }
.market-value-v2.green { color: #10b981; }
.market-divider-v2 { width: 1px; background: rgba(148,163,184,.25); }
#trendChart.uniapp-chart { width: 100%; height: 280px; margin-top: 8px; }

/* ── 最近流水卡片 ── */
.recent-txn-card-v2 {
  background: rgba(255,255,255,.72);
  border-radius: 20px;
  padding: 16px 14px;
  margin-bottom: 10px;
  box-shadow: 0 6px 18px rgba(15,23,42,.04);
  display: flex;
  align-items: flex-start;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: transform .15s ease, opacity .15s ease;
}
.recent-txn-card-v2:active { opacity: .8; transform: scale(.98); }
.recent-txn-icon-v2 {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: #ecfdf5;
  color: #10b981;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 950;
  font-size: 18px;
  flex-shrink: 0;
}
.recent-txn-icon-v2.red { background: #fef2f2; color: #ef4444; }
.recent-txn-icon-v2.blue { background: #eff6ff; color: #2563eb; }
.recent-txn-icon-v2.green { background: #ecfdf5; color: #10b981; }
.recent-txn-main-v2 { flex: 1; display: flex; flex-direction: column; min-width: 0; gap: 4px; }
.recent-txn-main-top-v2 { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.recent-txn-type-v2 {
  font-size: 15px;
  font-weight: 900;
  color: #0f172a;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 1.3;
}
.recent-txn-amount-v2 { font-size: 17px; font-weight: 950; flex-shrink: 0; line-height: 1.3; }
.recent-txn-sub-v2 {
  font-size: 13px;
  color: #64748b;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 1.3;
}

/* ── 日历收支 ── */
.calendar-card-v2 { overflow: hidden; }
.calendar-title-row-v2 { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.calendar-title-v2 { font-size: 17px; font-weight: 950; color: #0f172a; }
.calendar-nav-v2 { display: flex; align-items: center; gap: 6px; }
.calendar-nav-btn-v2 {
  font-size: 24px;
  font-weight: 300;
  color: #64748b;
  padding: 0 6px;
  cursor: pointer;
  background: none;
  border: none;
  line-height: 1;
}
.calendar-month-v2 { font-size: 14px; font-weight: 800; color: #64748b; min-width: 80px; text-align: center; }
.week-head-v2 { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; color: #64748b; font-size: 11px; text-align: center; margin-bottom: 6px; }
.calendar-grid-v2 { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.day-cell-v2 {
  min-height: 44px;
  border-radius: 10px;
  background: rgba(255,255,255,.74);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 5px 2px;
  font-size: 11px;
  color: #0f172a;
  box-shadow: 0 3px 8px rgba(15,23,42,.04);
  overflow: hidden;
  text-decoration: none;
  cursor: pointer;
  transition: transform .12s ease;
}
.day-cell-v2:active { transform: scale(.95); }
.day-num-v2 { font-weight: 900; font-size: 11px; line-height: 1; color: #64748b; }
.day-money-v2 { font-size: 9px; font-weight: 950; line-height: 1; margin-top: 2px; }
.day-dot-v2 { width: 5px; height: 5px; border-radius: 50%; background: rgba(148,163,184,.35); margin-top: 3px; }
.day-cell-v2.today { box-shadow: 0 0 0 2px #10b981, 0 3px 8px rgba(15,23,42,.04); }
.day-cell-v2.plus { background: rgba(16,185,129,.12); }
.day-cell-v2.minus { background: rgba(239,68,68,.10); }
.day-cell-v2.plus .day-money-v2 { color: #059669; }
.day-cell-v2.minus .day-money-v2 { color: #dc2626; }
.empty-cell-v2 { background: transparent; box-shadow: none; }
.calendar-legend-v2 { display: flex; justify-content: space-between; color: #64748b; font-size: 13px; margin-top: 10px; font-weight: 700; }

/* ── 预算追踪卡片 ── */
.budget-card-v2 { cursor: pointer; text-decoration: none; color: inherit; display: block; }
.home-budget-strip-v2 {
  border-radius: 16px;
  padding: 14px;
  margin-top: 10px;
  background: rgba(255,255,255,.52);
  border: 1px solid rgba(255,255,255,.66);
  box-shadow: 0 6px 20px rgba(15,23,42,.04);
}
.home-budget-strip-v2.total-budget { background: rgba(16,185,129,.12); border-color: rgba(16,185,129,.16); }
.home-budget-title-v2 { display: flex; align-items: center; justify-content: space-between; font-weight: 900; margin-bottom: 8px; font-size: 14px; }
.budget-bar-v2 { height: 8px; background: rgba(148,163,184,.18); border-radius: 999px; overflow: hidden; }
.budget-bar-v2 div { height: 100%; background: #10b981; border-radius: 999px; transition: width .5s ease; }
.budget-bar-v2 div.danger { background: #ef4444; }
.budget-meta-v2 { display: flex; justify-content: space-between; color: #6b7280; font-size: 12px; margin-top: 8px; }
.budget-rate-text { font-size: 13px; font-weight: 800; }
.budget-rate-text.danger { color: #ef4444; }

/* ── 成本卡片 ── */
.cost-card-v2 { cursor: pointer; text-decoration: none; color: inherit; display: block; }
.cost-card-row-v2 { display: flex; align-items: center; gap: 10px; }
.cost-card-left-v2 { flex-shrink: 0; }
.cost-card-label-v2 { font-size: 13px; color: #64748b; font-weight: 800; margin-bottom: 4px; }
.cost-card-value-v2 { font-size: 18px; font-weight: 950; color: #0f172a; }
.cost-card-stats-v2 { display: flex; align-items: center; gap: 12px; flex: 1; justify-content: flex-end; }
.cost-stat-item-v2 { display: flex; flex-direction: column; align-items: center; }
.cost-stat-num-v2 { font-size: 16px; font-weight: 950; color: #10b981; }
.cost-stat-label-v2 { font-size: 11px; color: #64748b; margin-top: 2px; font-weight: 800; }
.cost-stat-divider-v2 { width: 1px; height: 28px; background: rgba(148,163,184,.22); }
.cost-card-arrow-v2 { font-size: 22px; color: #cbd5e1; font-weight: 300; flex-shrink: 0; }

/* ── 更多视图按钮 ── */
.more-views-btn-v2 {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  color: #10b981;
  font-size: 15px;
  font-weight: 900;
  text-decoration: none;
}

/* ── 账户概览卡片 ── */
.account-summary-card-v2 {
  text-align: left;
  padding: 20px;
  margin-bottom: 18px;
  position: relative;
  overflow: hidden;
}
.account-summary-card-v2::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -30px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: rgba(255,255,255,.18);
  pointer-events: none;
}
.account-summary-card-v2::after {
  content: '';
  position: absolute;
  bottom: -50px;
  left: -20px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  pointer-events: none;
}
.summary-top-v2 { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; position: relative; z-index: 1; }
.summary-label-v2 { font-size: 14px; font-weight: 950; color: #0f172a; opacity: .65; }
.hero-mini-pill-v2 { font-size: 11px; font-weight: 900; color: rgba(15,23,42,.55); background: rgba(255,255,255,.35); padding: 4px 12px; border-radius: 12px; backdrop-filter: blur(4px); }
.summary-amount-v2 { display: block; font-size: 32px; font-weight: 950; color: #0f172a; line-height: 1; margin-bottom: 16px; position: relative; z-index: 1; }

/* ── 账户列表 - 分组 ── */
.account-group-title-v2 { color: #6b7280; font-size: 14px; font-weight: 900; margin: 22px 0 10px; padding-left: 16px; }
.account-shell-v2 { margin-bottom: 12px; border-radius: 22px; background: rgba(255,255,255,.72); box-shadow: 0 8px 20px rgba(15,23,42,.04); overflow: hidden; }
.account-card-v2 {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border-radius: 22px;
  background: rgba(255,255,255,.82);
  text-decoration: none;
  color: inherit;
  transition: transform .15s ease;
}
.account-card-v2:active { transform: scale(.98); }
.account-icon-v2 {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 17px;
  flex-shrink: 0;
}
.account-icon-v2.green { background: #ecfdf5; color: #10b981; }
.account-icon-v2.blue { background: #eff6ff; color: #2563eb; }
.account-icon-v2.orange { background: #fff7ed; color: #f97316; }
.account-icon-v2.purple { background: #faf5ff; color: #8b5cf6; }
.account-icon-v2.indigo { background: #eef2ff; color: #6366f1; }
.account-icon-v2.red { background: #fef2f2; color: #ef4444; }
.account-icon-v2.rose { background: #fff1f2; color: #f43f5e; }
.account-icon-v2.amber { background: #fffbeb; color: #d97706; }
.account-icon-v2.danger { background: #fef2f2; color: #dc2626; }
.account-icon-v2.cyan { background: #ecfeff; color: #06b6d4; }
.account-icon-v2.pink { background: #fdf2f8; color: #ec4899; }
.account-info-v2 { flex: 1; min-width: 0; }
.account-name-v2 { display: block; font-size: 15px; font-weight: 900; color: #0f172a; }
.account-type-v2 { display: block; font-size: 13px; color: #64748b; margin-top: 4px; }
.account-balance-v2 { flex-shrink: 0; font-size: 17px; font-weight: 950; }
.account-head-actions-v2 { display: flex; gap: 8px; }

/* ── 隐藏账户链接 ── */
.hidden-accounts-link-v2 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 16px 0 8px;
  text-decoration: none;
}
.hidden-accounts-link-v2 span { font-size: 13px; color: #94a3b8; font-weight: 700; }
.hidden-accounts-link-v2 .arrow { font-size: 16px; color: #cbd5e1; }

/* ── 还款提醒行 ── */
.repay-row-v2 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
  margin-top: 10px;
  border-radius: 20px;
  background: rgba(255,255,255,.76);
  box-shadow: 0 6px 18px rgba(15,23,42,.04);
  text-decoration: none;
  color: inherit;
  transition: transform .12s ease;
}
.repay-row-v2:active { transform: scale(.98); }

/* ── 按钮组件 ── */
.pill-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 16px;
  background: rgba(16,185,129,.12);
  color: #10b981;
  font-weight: 900;
  font-size: 13px;
  border: none;
  cursor: pointer;
  transition: all .15s;
}
.pill-btn:active { opacity: .8; transform: scale(.97); }
.pill-btn.ghost { background: #f3f4f6; color: #374151; }

/* ── 账户详情 Hero ── */
.account-hero-v2 {
  text-align: left;
  padding: 20px;
  margin-bottom: 18px;
  position: relative;
  overflow: hidden;
}
.account-hero-v2::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -30px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: rgba(255,255,255,.18);
  pointer-events: none;
}
.account-hero-v2::after {
  content: '';
  position: absolute;
  bottom: -50px;
  left: -20px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  pointer-events: none;
}
.hero-top-v2 { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 14px; position: relative; z-index: 1; }
.hero-top-left-v2 { display: flex; align-items: center; gap: 10px; }
.hero-type-badge-v2 {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 950;
  color: #fff;
}
.hero-type-badge-v2.green { background: #10b981; }
.hero-type-badge-v2.blue { background: #3b82f6; }
.hero-type-badge-v2.orange { background: #f97316; }
.hero-type-badge-v2.purple { background: #8b5cf6; }
.hero-type-badge-v2.indigo { background: #6366f1; }
.hero-type-badge-v2.red { background: #ef4444; }
.hero-type-badge-v2.rose { background: #f43f5e; }
.hero-type-badge-v2.amber { background: #d97706; }
.hero-type-badge-v2.danger { background: #dc2626; }
.hero-type-badge-v2.cyan { background: #06b6d4; }
.hero-type-badge-v2.pink { background: #ec4899; }
.hero-name-v2 { font-size: 20px; font-weight: 950; color: #0f172a; line-height: 1.2; }
.hero-back-btn-v2 {
  min-width: 56px;
  height: 34px;
  border-radius: 16px;
  background: rgba(255,255,255,.40);
  color: #0f172a;
  font-size: 13px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  backdrop-filter: blur(4px);
  text-decoration: none;
  border: none;
  cursor: pointer;
}
.hero-balance-area-v2 { margin-bottom: 14px; position: relative; z-index: 1; }
.hero-balance-label-v2 { font-size: 13px; color: rgba(15,23,42,.55); font-weight: 800; display: block; margin-bottom: 8px; }
.hero-balance-amount-v2 { font-size: 32px; font-weight: 950; color: #0f172a; line-height: 1; }
.hero-stats-row-v2 {
  display: flex;
  align-items: center;
  background: rgba(255,255,255,.35);
  border-radius: 20px;
  padding: 10px 8px;
  position: relative;
  z-index: 1;
  backdrop-filter: blur(6px);
}
.hero-stat-v2 { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 8px 0; }
.hero-stat-label-v2 { font-size: 12px; color: rgba(15,23,42,.55); font-weight: 800; }
.hero-stat-value-v2 { font-size: 17px; font-weight: 950; }
.hero-stat-divider-v2 { width: 1px; height: 36px; background: rgba(255,255,255,.40); flex-shrink: 0; }
.repay-stat-hint-v2 { font-size: 10px; color: #10b981; font-weight: 800; margin-top: 2px; }

/* ── 账单网格 ── */
.bill-grid-v2 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.bill-item-v2 { background: rgba(255,255,255,.74); border-radius: 16px; padding: 14px; }
.bill-label-v2 { display: block; color: #64748b; font-size: 12px; font-weight: 700; }
.bill-value-v2 { display: block; font-size: 17px; font-weight: 950; margin: 8px 0; color: #0f172a; }

/* ── 分期卡片 ── */
.installment-card-v2 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid #e5e7eb;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
.installment-info-v2 { flex: 1; }

/* ── 日期分组 ── */
.date-group-v2 { margin-bottom: 18px; }
.date-header-v2 { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; margin-bottom: 6px; }
.date-label-v2 { font-size: 15px; font-weight: 950; color: #0f172a; }
.date-count-v2 { font-size: 13px; color: #94a3b8; font-weight: 700; }

/* ── 交易流水列表 ── */
.txn-list-card-v2 { display: flex; flex-direction: column; }

/* ── 流水过滤栏 ── */
.txn-filter-bar-v2 { margin-bottom: 14px; }
.filter-row-v2 { display: flex; gap: 6px; flex-wrap: wrap; }
.filter-pill-v2 {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 16px;
  background: rgba(255,255,255,.76);
  box-shadow: 0 4px 12px rgba(15,23,42,.04);
  border: none;
  font-size: 13px;
  font-weight: 800;
  color: #0f172a;
  cursor: pointer;
}
.filter-pill-v2 .nav-arrow-v2 { font-size: 18px; color: #64748b; cursor: pointer; background: none; border: none; padding: 0 2px; }
.filter-pill-v2 .divider-v2 { width: 1px; height: 14px; background: #e5e7eb; }
.filter-chip-v2 {
  padding: 7px 12px;
  border-radius: 12px;
  background: rgba(255,255,255,.58);
  border: 1px solid rgba(226,232,240,.6);
  font-size: 12px;
  font-weight: 800;
  color: #64748b;
  cursor: pointer;
}
.filter-chip-v2.reset { color: #ef4444; background: #fef2f2; border-color: rgba(239,68,68,.15); }

/* ── 模态框遮罩 ── */
.modal-mask-v2 {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: 10020;
  background: rgba(15,23,42,.42);
  display: none;
  align-items: flex-end;
  backdrop-filter: blur(8px);
}
.modal-mask-v2.open { display: flex; }

/* ── Sheet 面板 ── */
.sheet-v2 {
  position: relative;
  z-index: 10021;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  background: #f6f7fb;
  border-radius: 28px 28px 0 0;
  padding: 28px 20px calc(env(safe-area-inset-bottom) + 20px);
  box-sizing: border-box;
}
.sheet-title-v2 { font-size: 19px; font-weight: 950; color: #0f172a; margin-bottom: 18px; }
.sheet-actions-v2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; margin-bottom: 12px; }
.sheet-actions-v2 .btn-ghost {
  padding: 16px 12px;
  border-radius: 16px;
  font-size: 15px;
  font-weight: 950;
  background: #fff;
  color: #0f172a;
  border: none;
  cursor: pointer;
}
.sheet-actions-v2 .btn-primary {
  padding: 16px 12px;
  border-radius: 16px;
  font-size: 15px;
  font-weight: 950;
  background: #10b981;
  color: #fff;
  border: none;
  cursor: pointer;
}

/* ── 选择器弹窗 ── */
.picker-sheet-v2 {
  position: relative;
  z-index: 10021;
  width: 100%;
  background: #fff;
  border-radius: 28px 28px 0 0;
  padding-bottom: env(safe-area-inset-bottom);
}
.picker-header-v2 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 22px;
  border-bottom: 1px solid #f1f5f9;
}
.picker-header-v2 button {
  font-size: 16px;
  font-weight: 950;
  color: #64748b;
  background: none;
  border: none;
  cursor: pointer;
}
.picker-header-v2 button:last-child { color: #10b981; }
.picker-choice-v2 {
  max-height: 55vh;
  overflow-y: auto;
  padding: 10px 16px 24px;
}

/* ── Choice Card ── */
.choice-card-v2 {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 12px;
  border-radius: 16px;
  background: #fff;
  border: 2px solid #e5e7eb;
  margin-bottom: 8px;
  cursor: pointer;
  font-size: 16px;
  color: #64748b;
  font-weight: 800;
}
.choice-card-v2.active { background: rgba(16,185,129,.10); border-color: #10b981; color: #10b981; }

/* ── Entry Tabs ── */
.entry-tabs-v2 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  padding: 6px;
  background: #fff;
  border-radius: 18px;
  margin-bottom: 18px;
}
.entry-tab-v2 {
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  color: #64748b;
  font-size: 15px;
  font-weight: 950;
  background: none;
  border: none;
  cursor: pointer;
}
.entry-tab-v2.active { background: #10b981; color: #fff; }

/* ── Form Field ── */
.field-v2 {
  min-height: 48px;
  border-radius: 16px;
  background: #fff;
  padding: 0 16px;
  box-sizing: border-box;
  font-size: 16px;
  font-weight: 800;
  color: #0f172a;
  box-shadow: 0 3px 8px rgba(15,23,42,.04);
  width: 100%;
  border: 1px solid #e5e7eb;
  outline: none;
}
.field-v2:focus { border-color: #10b981; box-shadow: 0 0 0 3px rgba(16,185,129,.15); }
.select-btn-v2 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 48px;
  padding: 0 16px;
  background: #fff;
  border-radius: 16px;
  margin-bottom: 10px;
  box-shadow: 0 3px 8px rgba(15,23,42,.04);
  cursor: pointer;
  border: none;
  width: 100%;
  text-align: left;
}
.select-btn-v2 span:first-child { font-size: 16px; font-weight: 950; color: #0f172a; }
.select-btn-v2 .muted-v2 { color: #94a3b8; font-weight: 800; font-size: 14px; }

/* ── Type Row Cards ── */
.type-row-v2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 14px; }
.flag-row-v2 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }

/* ── 操作行 ── */
.account-detail-actions-v2 { text-align: right; margin-bottom: 14px; }
.account-detail-actions-v2 .pill-btn { margin-left: 8px; text-decoration: none; }

/* ── 确认弹窗 ── */
.confirm-modal-v2 {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 10025;
  width: 320px;
  max-width: 90vw;
  background: rgba(255,255,255,.92);
  border-radius: 20px;
  padding: 28px 24px 24px;
  display: none;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 8px 32px rgba(15,23,42,.10);
  backdrop-filter: blur(16px);
}
.confirm-modal-v2.open { display: flex; }
.confirm-icon-v2 { width: 48px; height: 48px; border-radius: 12px; background: rgba(245,158,11,.15); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; font-size: 24px; }
.confirm-title-v2 { font-size: 17px; font-weight: 950; color: #0f172a; margin-bottom: 8px; }
.confirm-desc-v2 { font-size: 14px; color: #64748b; text-align: center; line-height: 1.5; font-weight: 700; margin-bottom: 20px; }
.confirm-actions-v2 { display: flex; gap: 10px; width: 100%; }
.confirm-btn-v2 { flex: 1; height: 48px; border-radius: 16px; font-size: 15px; font-weight: 950; border: none; cursor: pointer; }
.confirm-btn-v2.cancel { background: #fff; color: #0f172a; box-shadow: 0 3px 10px rgba(15,23,42,.04); }
.confirm-btn-v2.danger { background: #ef4444; color: #fff; }

/* ── 认证页面 ── */
.auth-page-v2 {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, rgba(16,185,129,.16) 0%, #f6f7fb 30%, #f6f7fb 100%);
  padding: 20px;
}
.auth-panel-v2 {
  width: 100%;
  max-width: 380px;
  background: rgba(255,255,255,.82);
  border-radius: 28px;
  padding: 28px 22px;
  box-shadow: 0 16px 48px rgba(15,23,42,.08);
}
.auth-brand-v2 { display: flex; align-items: center; gap: 10px; margin-bottom: 24px; }
.auth-mark-v2 {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #10b981;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 950;
  font-size: 18px;
}
.auth-name-v2 { display: block; font-size: 18px; font-weight: 950; color: #0f172a; }
.auth-desc-v2 { display: block; font-size: 12px; color: #64748b; margin-top: 2px; }
.auth-headline-v2 { font-size: 22px; font-weight: 950; color: #0f172a; display: block; margin-bottom: 6px; }
.auth-subhead-v2 { font-size: 13px; color: #64748b; display: block; margin-bottom: 20px; }
.auth-switch-tabs-v2 { display: flex; background: rgba(15,23,42,.04); border-radius: 14px; padding: 4px; margin-bottom: 18px; }
.auth-tab-v2 {
  flex: 1;
  padding: 10px 0;
  text-align: center;
  border-radius: 10px;
  color: #64748b;
  font-weight: 800;
  font-size: 14px;
  background: none;
  border: none;
  cursor: pointer;
}
.auth-tab-v2.active { background: #fff; color: #10b981; box-shadow: 0 3px 10px rgba(15,23,42,.06); }
.auth-label-v2 { display: block; font-size: 13px; font-weight: 800; color: #374151; margin-bottom: 6px; }
.auth-field-v2 {
  width: 100%;
  min-height: 46px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #e5e7eb;
  padding: 0 14px;
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 14px;
  outline: none;
  box-sizing: border-box;
}
.auth-field-v2:focus { border-color: #10b981; box-shadow: 0 0 0 3px rgba(16,185,129,.15); }
.auth-code-row-v2 { display: flex; gap: 8px; }
.auth-code-field-v2 { flex: 1; }
.auth-code-btn-v2 {
  width: 110px;
  height: 46px;
  border-radius: 14px;
  background: #10b981;
  color: #fff;
  font-weight: 800;
  font-size: 12px;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
}
.auth-code-btn-v2:disabled { opacity: .5; cursor: not-allowed; }
.auth-btn-v2 {
  width: 100%;
  height: 48px;
  border-radius: 16px;
  background: #10b981;
  color: #fff;
  font-weight: 950;
  font-size: 16px;
  border: none;
  cursor: pointer;
  margin-top: 4px;
  transition: all .15s;
}
.auth-btn-v2:active { transform: scale(.97); opacity: .9; }
.auth-switch-link-v2 {
  display: block;
  text-align: center;
  margin-top: 16px;
  color: #10b981;
  font-weight: 800;
  font-size: 13px;
  cursor: pointer;
  text-decoration: none;
}

/* ── 空状态 ── */
.empty-state-v2 { text-align: center; padding: 32px 0; color: #94a3b8; font-weight: 700; font-size: 14px; }

/* ── 文本颜色工具类 ── */
.text-green-v2 { color: #10b981 !important; }
.text-red-v2 { color: #ef4444 !important; }
.text-blue-v2 { color: #2563eb !important; }
.text-muted-v2 { color: #94a3b8 !important; }

/* ── 桌面端增强 ── */
@media (min-width: 761px) {
  .hero-card, .liquid-card, .account-summary-card-v2 {
    border-radius: 32px;
    padding: 28px 24px;
  }
  .asset-tile-v2 { min-height: 130px; border-radius: 24px; padding: 22px 20px; }
  .tile-title-v2 { font-size: 17px; }
  .tile-money-v2 { font-size: 26px; }
  .brand-name { font-size: 24px; }
  .summary-amount-v2 { font-size: 40px; }
  .kline-card-v2 { margin-bottom: 24px; }
  #trendChart.uniapp-chart { height: 360px; }
}

/* ── 页面级暗黑模式 ── */
html.dark-mode .liquid-card,
html.dark-mode .hero-card,
html.dark-mode .account-shell-v2,
html.dark-mode .account-card-v2 { background: #1a1a1a !important; border-color: rgba(255,255,255,.10) !important; color: #f3f4f6 !important; }

html.dark-mode .brand-name,
html.dark-mode .section-title-v2,
html.dark-mode .kline-title-v2,
html.dark-mode .account-name-v2,
html.dark-mode .calendar-title-v2,
html.dark-mode .status-title-v2,
html.dark-mode .recent-txn-type-v2,
html.dark-mode .date-label-v2,
html.dark-mode .hero-name-v2,
html.dark-mode .hero-balance-amount-v2,
html.dark-mode .cost-card-value-v2,
html.dark-mode .summary-amount-v2,
html.dark-mode .sheet-title-v2 { color: #f5f5f5 !important; }

html.dark-mode .brand-sub,
html.dark-mode .manage-link,
html.dark-mode .status-desc-v2,
html.dark-mode .recent-txn-sub-v2,
html.dark-mode .account-type-v2,
html.dark-mode .date-count-v2,
html.dark-mode .calendar-nav-btn-v2,
html.dark-mode .calendar-month-v2,
html.dark-mode .hero-balance-label-v2,
html.dark-mode .hero-stat-label-v2,
html.dark-mode .cost-card-label-v2,
html.dark-mode .summary-label-v2 { color: #b6b6b6 !important; }

html.dark-mode .net-summary-pill-v2 { background: rgba(16,185,129,.14) !important; border-color: rgba(16,185,129,.20) !important; }
html.dark-mode .net-summary-pill-v2 span:first-child { color: #b6b6b6 !important; }
html.dark-mode .net-summary-pill-v2 span:last-child { color: #34d399 !important; }
html.dark-mode .net-summary-pill-v2.negative { background: rgba(220,38,38,.16) !important; border-color: rgba(220,38,38,.25) !important; }
html.dark-mode .net-summary-pill-v2.negative span:last-child { color: #e97878 !important; }

html.dark-mode .credit-limit-pill-v2 { background: rgba(99,102,241,.12) !important; border-color: rgba(99,102,241,.18) !important; }
html.dark-mode .credit-limit-pill-v2 span:first-child { color: #b6b6b6 !important; }
html.dark-mode .credit-limit-pill-v2 .credit-limit-value { color: #a5b4fc !important; }

html.dark-mode .asset-tile-v2 { background: #242424 !important; }
html.dark-mode .asset-tile-v2.asset-themed { background: linear-gradient(135deg, rgba(16,185,129,.14), #242424) !important; border-color: rgba(16,185,129,.18) !important; }
html.dark-mode .asset-tile-v2.debt-themed { background: linear-gradient(135deg, rgba(239,68,68,.16), #242424) !important; border-color: rgba(239,68,68,.24) !important; }

html.dark-mode .summary-stats-row,
html.dark-mode .hero-stats-row-v2 { background: #242424 !important; }
html.dark-mode .summary-stat-label,
html.dark-mode .hero-stat-label-v2,
html.dark-mode .summary-stat-value,
html.dark-mode .hero-stat-value-v2 { color: #f5f5f5 !important; }

html.dark-mode .health-card-v2 { background: #242424 !important; }
html.dark-mode .health-card-v2.health-warn { background: rgba(239,68,68,.10) !important; border-color: rgba(239,68,68,.20) !important; }
html.dark-mode .health-card-v2.health-clear { background: rgba(16,185,129,.10) !important; border-color: rgba(16,185,129,.20) !important; }

html.dark-mode .recent-txn-card-v2 { background: #242424 !important; }
html.dark-mode .home-budget-strip-v2 { background: #242424 !important; border-color: rgba(255,255,255,.10) !important; }
html.dark-mode .home-budget-strip-v2.total-budget { background: rgba(16,185,129,.14) !important; }
html.dark-mode .budget-meta-v2 { color: #b6b6b6 !important; }

html.dark-mode .day-cell-v2 { background: #242424 !important; color: #f3f4f6 !important; }
html.dark-mode .day-num-v2 { color: #b6b6b6 !important; }
html.dark-mode .day-cell-v2.today { box-shadow: 0 0 0 2px #10b981 !important; }
html.dark-mode .day-cell-v2.plus { background: rgba(16,185,129,.16) !important; }
html.dark-mode .day-cell-v2.minus { background: rgba(239,68,68,.14) !important; }
html.dark-mode .repay-row-v2 { background: #242424 !important; }

html.dark-mode .kline-tabs-v2 button { background: #242424 !important; color: #b6b6b6 !important; }
html.dark-mode .kline-tabs-v2 button.active { background: #10b981 !important; color: #fff !important; }
html.dark-mode .market-info-v2 { background: #242424 !important; }

html.dark-mode .account-hero-v2,
html.dark-mode .account-summary-card-v2 { background: #1a1a1a !important; }
html.dark-mode .bill-item-v2 { background: #242424 !important; }
html.dark-mode .bill-value-v2 { color: #f5f5f5 !important; }
html.dark-mode .hero-back-btn-v2 { background: rgba(255,255,255,.10) !important; color: #e5e7eb !important; }

html.dark-mode .sheet-v2 { background: #1a1a1a !important; }
html.dark-mode .field-v2,
html.dark-mode .select-btn-v2 { background: #242424 !important; color: #f5f5f5 !important; border-color: rgba(255,255,255,.12) !important; }
html.dark-mode .select-btn-v2 span:first-child { color: #f5f5f5 !important; }
html.dark-mode .choice-card-v2 { background: #242424 !important; border-color: rgba(255,255,255,.12) !important; color: #b6b6b6 !important; }
html.dark-mode .choice-card-v2.active { background: rgba(16,185,129,.16) !important; border-color: #10b981 !important; color: #10b981 !important; }
html.dark-mode .entry-tabs-v2 { background: rgba(36,36,36,.70) !important; }
html.dark-mode .entry-tab-v2 { color: #b6b6b6 !important; }
html.dark-mode .entry-tab-v2.active { background: #10b981 !important; color: #fff !important; }
html.dark-mode .picker-sheet-v2 { background: #1a1a1a !important; }
html.dark-mode .picker-header-v2 { border-bottom-color: rgba(255,255,255,.08) !important; }
html.dark-mode .picker-header-v2 button { color: #b6b6b6 !important; }
html.dark-mode .picker-header-v2 button:last-child { color: #10b981 !important; }
html.dark-mode .sheet-actions-v2 .btn-ghost { background: #242424 !important; color: #f5f5f5 !important; }
html.dark-mode .confirm-modal-v2 { background: #1a1a1a !important; }
html.dark-mode .confirm-title-v2 { color: #f5f5f5 !important; }
html.dark-mode .confirm-desc-v2 { color: #b6b6b6 !important; }
html.dark-mode .confirm-btn-v2.cancel { background: #242424 !important; color: #f5f5f5 !important; }
html.dark-mode .modal-mask-v2 { background: rgba(0,0,0,.62) !important; }

html.dark-mode .auth-page-v2 { background: #101010 !important; }
html.dark-mode .auth-panel-v2 { background: #1a1a1a !important; }
html.dark-mode .auth-name-v2,
html.dark-mode .auth-headline-v2 { color: #f5f5f5 !important; }
html.dark-mode .auth-desc-v2,
html.dark-mode .auth-subhead-v2 { color: #b6b6b6 !important; }
html.dark-mode .auth-field-v2 { background: #242424 !important; border-color: rgba(255,255,255,.12) !important; color: #f5f5f5 !important; }
html.dark-mode .auth-tab-v2 { color: #b6b6b6 !important; }
html.dark-mode .auth-tab-v2.active { background: rgba(16,185,129,.16) !important; color: #10b981 !important; }
html.dark-mode .auth-switch-tabs-v2 { background: rgba(255,255,255,.06) !important; }
html.dark-mode .auth-switch-link-v2 { color: #34d399 !important; }

html.dark-mode .filter-pill-v2 { background: #242424 !important; color: #f5f5f5 !important; }
html.dark-mode .filter-chip-v2 { background: #242424 !important; border-color: rgba(255,255,255,.12) !important; color: #b6b6b6 !important; }
html.dark-mode .pill-btn.ghost { background: rgba(255,255,255,.10) !important; color: #f5f5f5 !important; }
html.dark-mode .installment-card-v2 { border-bottom-color: rgba(255,255,255,.08) !important; }

html.dark-mode .hero-type-badge-v2.green { background: #059669; }
html.dark-mode .action-row-v2 .btn-dark-v2 { background: rgba(255,255,255,.10) !important; color: #f5f5f5 !important; }
