/* ============================================================================
 * 点滴团队 · 资金公开公示网站 —— 样式表（style.css）
 * ----------------------------------------------------------------------------
 * 【文件作用】控制网站的全部外观：颜色、字体、卡片、图表容器、时间线、
 *             表格、按钮、手机/电脑响应式适配、入场动画等。
 * 【想改外观？】
 *   · 换主题颜色 → 修改下面 :root 里的 CSS 变量（全站联动）
 *   · 改某个板块   → 搜索板块名称注释（如“板块3：明细表格”）
 * 【设计风格】浅色科技风：白/极浅蓝白底 + 科技蓝渐变 + 玻璃拟态卡片。
 * 【响应式断点】
 *     ≤860px：图表/说明卡片由多列变单列（平板/大手机）
 *     ≤640px：手机布局（导航折叠、表格变卡片、时间线收窄）
 * ========================================================================== */

/* ============================ 设计变量（改色改这里） ============================ */
:root {
  --bg: #f2f6fe;              /* 页面底色：极浅蓝白 */
  --card: rgba(255, 255, 255, 0.72); /* 玻璃卡片底色（半透明白） */
  --card-solid: #ffffff;      /* 实色白（按钮等） */
  --ink: #0f1f42;             /* 主文字：深蓝黑 */
  --ink-2: #5d6e8f;           /* 次要文字：灰蓝 */
  --line: rgba(37, 99, 235, 0.12);   /* 卡片/分割线 */
  --blue: #2563eb;            /* 科技蓝主色 */
  --blue-deep: #1d4ed8;       /* 深蓝 */
  --cyan: #06b6d4;            /* 青色辅色（与蓝做渐变） */
  --income: #059669;          /* 收入语义色：翠绿 */
  --income-bg: rgba(5, 150, 105, 0.10);
  --expense: #e11d48;         /* 支成语义色：暖红 */
  --expense-bg: rgba(225, 29, 72, 0.08);
  --grad: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%); /* 主渐变 */
  --shadow: 0 10px 36px rgba(23, 62, 153, 0.09);             /* 卡片柔和投影 */
  --shadow-blue: 0 12px 28px rgba(37, 99, 235, 0.28);        /* 蓝色按钮投影 */
  --radius: 20px;             /* 卡片圆角 */
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
          "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

/* ============================ 基础重置 ============================ */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; } /* 锚点导航平滑滚动 */

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;          /* 防止光晕/动画造成横向滚动 */
  -webkit-font-smoothing: antialiased;
}

/* 数字使用等宽数字，金额跳动时不抖动 */
.num, .stat-value, .tl-amount, .amount-cell { font-variant-numeric: tabular-nums; }

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }

/* 内容容器：居中限宽 */
.container { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* 锚点定位时给吸顶导航留出空间 */
section, header.hero { scroll-margin-top: 76px; }

/* ============================ 全局背景层（网格纹理 + 光晕 + 粒子画布） ============================ */
/* 细网格纹理（科技图纸感），从顶部向下渐隐 */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(37, 99, 235, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, 0.055) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 25%, transparent 78%);
          mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 25%, transparent 78%);
}

/* 两团蓝/青径向光晕 */
.glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(90px);
  z-index: 0;
  pointer-events: none;
}
.glow-1 {
  width: 520px; height: 520px;
  top: -170px; right: -130px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.20), transparent 70%);
}
.glow-2 {
  width: 480px; height: 480px;
  bottom: -200px; left: -150px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.16), transparent 70%);
}

/* 粒子网络画布（JS 绘制） */
#bg-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* 所有正文内容浮于背景之上 */
.navbar, main, .footer { position: relative; z-index: 1; }

/* ============================ 顶部导航栏 ============================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }

.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; }
.brand-logo { width: 28px; height: 28px; filter: drop-shadow(0 4px 10px rgba(37, 99, 235, 0.35)); }
.brand-sub {
  font-style: normal;
  font-weight: 600;
  font-size: 12px;
  color: var(--blue);
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.18);
  padding: 2px 9px;
  border-radius: 999px;
  margin-left: 4px;
  vertical-align: middle;
}

.nav-links { display: flex; gap: 30px; }
.nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-2);
  transition: color 0.2s;
  position: relative;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 2px;
  background: var(--grad);
  border-radius: 2px;
  transition: width 0.25s;
}
.nav-links a:hover { color: var(--blue); }
.nav-links a:hover::after { width: 100%; }

/* 手机端汉堡按钮（桌面隐藏） */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  padding: 8px;
}
.nav-toggle span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: 0.25s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================ 板块1：HERO 总览 ============================ */
.hero { padding: 138px 0 70px; text-align: center; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
  background: rgba(37, 99, 235, 0.07);
  border: 1px solid rgba(37, 99, 235, 0.18);
  padding: 6px 16px;
  border-radius: 999px;
}
/* 徽章上呼吸闪烁的小圆点 */
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--blue); position: relative; }
.pulse-dot::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: 50%;
  background: var(--blue);
  animation: pulse 1.8s ease-out infinite;
}
@keyframes pulse {
  0% { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(2.6); opacity: 0; }
}

.hero-title {
  margin: 22px 0 16px;
  font-size: clamp(32px, 5.6vw, 54px);
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.2;
}
/* 渐变文字 */
.text-gradient {
  background: var(--grad);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
  margin-left: 0.25em;
  white-space: nowrap;
}

.hero-sub {
  max-width: 620px;
  margin: 0 auto;
  color: var(--ink-2);
  font-size: 16px;
}

/* —— 三项指标卡片 —— */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 46px 0 24px;
}
.stat-card {
  position: relative;
  overflow: hidden;
  background: var(--card);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px 24px;
  text-align: left;
  transition: transform 0.3s, box-shadow 0.3s;
}
.stat-card:hover { transform: translateY(-5px); box-shadow: 0 18px 44px rgba(23, 62, 153, 0.14); }
/* 悬停时横扫的微光 */
.stat-card::after {
  content: "";
  position: absolute;
  top: 0; left: -80%;
  width: 60%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s ease;
  pointer-events: none;
}
.stat-card:hover::after { left: 130%; }

.stat-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(37, 99, 235, 0.10);
  color: var(--blue);
  margin-bottom: 16px;
}
.stat-icon svg { width: 22px; height: 22px; }
.stat-icon--income { background: var(--income-bg); color: var(--income); }
.stat-icon--expense { background: var(--expense-bg); color: var(--expense); }

.stat-label { font-size: 14px; color: var(--ink-2); font-weight: 600; }
.stat-value { font-size: clamp(26px, 3.4vw, 34px); font-weight: 800; margin: 6px 0 4px; }
.stat-note { font-size: 13px; color: var(--ink-2); }
.text-income { color: var(--income); }
.text-expense { color: var(--expense); }

/* 主推卡片：蓝色渐变（当前余额） */
.stat-card--primary {
  background: linear-gradient(135deg, #1d4ed8 0%, #0e7fa8 100%);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 16px 40px rgba(29, 78, 216, 0.32);
}
.stat-card--primary .stat-icon { background: rgba(255, 255, 255, 0.16); color: #fff; }
.stat-card--primary .stat-label,
.stat-card--primary .stat-note { color: rgba(255, 255, 255, 0.82); }
.stat-card--primary .stat-value { color: #fff; }
.stat-card--primary::after {
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.22), transparent);
}

/* —— 图表区 —— */
.chart-grid {
  display: grid;
  grid-template-columns: 1.75fr 1fr;
  gap: 20px;
}
.chart-card {
  background: var(--card);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px 24px;
  text-align: left;
}
.chart-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 14px; }
.chart-head h3 { font-size: 16px; font-weight: 700; }
.chart-tag { font-size: 12.5px; color: var(--ink-2); }
.chart-body { position: relative; height: 250px; }
.chart-body--ring { height: 250px; display: flex; align-items: center; justify-content: center; }
.chart-body canvas, .chart-body--ring canvas { width: 100%; height: 100%; display: block; }
#chart-ring { max-width: 240px; }

/* ============================ 通用板块标题 ============================ */
.section { padding: 78px 0; }
.section--alt { background: rgba(233, 240, 252, 0.55); }

.section-head { text-align: center; margin-bottom: 40px; }
.section-head h2 {
  font-size: clamp(24px, 3.4vw, 30px);
  font-weight: 800;
  display: inline-block;
  position: relative;
}
/* 标题下方渐变短杠 */
.section-head h2::after {
  content: "";
  display: block;
  width: 44px; height: 4px;
  border-radius: 4px;
  background: var(--grad);
  margin: 12px auto 0;
}
.section-head p { color: var(--ink-2); margin-top: 14px; font-size: 15px; }

/* ============================ 板块2：资金流水时间线 ============================ */
.timeline {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
  padding-left: 46px;
}
/* 竖向时间线 */
.timeline::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 8px; bottom: 8px;
  width: 3px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--blue), rgba(37, 99, 235, 0.12));
}
.tl-item { position: relative; margin-bottom: 16px; }
/* 节点圆点 */
.tl-dot {
  position: absolute;
  left: -46px;
  top: 20px;
  width: 32px; height: 32px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  z-index: 2;
  border: 4px solid var(--bg);
  box-shadow: 0 4px 12px rgba(23, 62, 153, 0.25);
}
.tl-dot--income { background: linear-gradient(135deg, #10b981, #059669); }
.tl-dot--expense { background: linear-gradient(135deg, #f43f5e, #e11d48); }

.tl-card {
  background: var(--card);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: transform 0.25s, box-shadow 0.25s;
}
.tl-card:hover { transform: translateX(4px); box-shadow: 0 14px 36px rgba(23, 62, 153, 0.14); }
.tl-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; flex-wrap: wrap; }
.tl-date { font-size: 13px; color: var(--ink-2); font-weight: 600; }
.tl-chip {
  font-size: 12px;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 999px;
}
.tl-chip--income { color: var(--income); background: var(--income-bg); }
.tl-chip--expense { color: var(--expense); background: var(--expense-bg); }
.tl-cat { font-size: 12px; color: var(--blue); background: rgba(37, 99, 235, 0.08); padding: 2px 10px; border-radius: 999px; font-weight: 600; }
.tl-desc { font-size: 15px; font-weight: 500; }
.tl-amount { font-size: 19px; font-weight: 800; white-space: nowrap; }
.tl-amount--income { color: var(--income); }
.tl-amount--expense { color: var(--expense); }

/* 时间线空状态 */
.tl-empty { color: var(--ink-2); text-align: center; padding: 30px 0; font-size: 15px; }

/* ============================ 板块3：明细表格 ============================ */
.filter-bar { display: flex; justify-content: center; gap: 10px; margin-bottom: 26px; flex-wrap: wrap; }
.filter-btn {
  border: 1px solid var(--line);
  background: var(--card-solid);
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 600;
  padding: 9px 22px;
  border-radius: 999px;
  transition: all 0.22s;
  box-shadow: 0 2px 8px rgba(23, 62, 153, 0.05);
}
.filter-btn:hover { color: var(--blue); border-color: rgba(37, 99, 235, 0.4); }
.filter-btn.active {
  background: var(--grad);
  color: #fff;
  border-color: transparent;
  box-shadow: var(--shadow-blue);
}

.table-card {
  background: var(--card);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.ledger-table { width: 100%; border-collapse: collapse; }
.ledger-table th {
  text-align: left;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-2);
  padding: 15px 20px;
  border-bottom: 1px solid var(--line);
  background: rgba(233, 240, 252, 0.6);
  white-space: nowrap;
}
.ledger-table td {
  padding: 15px 20px;
  font-size: 15px;
  border-bottom: 1px solid rgba(37, 99, 235, 0.07);
  vertical-align: middle;
}
.ledger-table tbody tr { transition: background 0.18s; }
.ledger-table tbody tr:hover { background: rgba(37, 99, 235, 0.045); }
.ledger-table tbody tr:last-child td { border-bottom: 0; }
.ledger-table .col-amount, .ledger-table .amount-cell { text-align: right; }

/* 类型徽章 */
.type-badge {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 999px;
  white-space: nowrap;
}
.type-badge--income { color: var(--income); background: var(--income-bg); }
.type-badge--expense { color: var(--expense); background: var(--expense-bg); }
/* 金额单元格 */
.amount-cell { font-weight: 800; font-size: 15.5px; white-space: nowrap; }
.amount-cell--income { color: var(--income); }
.amount-cell--expense { color: var(--expense); }
.cell-date { color: var(--ink-2); font-weight: 600; white-space: nowrap; font-size: 14px; }
.cell-cat { color: var(--blue); font-size: 13.5px; font-weight: 600; white-space: nowrap; }

.empty-state { text-align: center; padding: 60px 20px; color: var(--ink-2); }
.empty-state svg { width: 42px; height: 42px; margin-bottom: 12px; opacity: 0.5; }

/* ============================ 板块4：资金用途与规则 ============================ */
.purpose-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.purpose-card {
  background: var(--card);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 26px;
  transition: transform 0.3s;
}
.purpose-card:hover { transform: translateY(-5px); }
.purpose-icon {
  width: 46px; height: 46px;
  border-radius: 13px;
  background: rgba(37, 99, 235, 0.10);
  color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.purpose-icon svg { width: 23px; height: 23px; }
.purpose-card h3 { font-size: 18px; margin-bottom: 10px; }
.purpose-card p { color: var(--ink-2); font-size: 14.5px; }
.purpose-list { display: flex; flex-direction: column; gap: 10px; }
.purpose-list li {
  position: relative;
  padding-left: 22px;
  color: var(--ink-2);
  font-size: 14.5px;
}
/* 列表项前的蓝色对勾点 */
.purpose-list li::before {
  content: "";
  position: absolute;
  left: 2px; top: 9px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--grad);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

/* ============================ 板块5：监督与联系 ============================ */
.contact-card {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  background: var(--card);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 50px 32px;
  position: relative;
  overflow: hidden;
}
/* 卡片顶部渐变装饰线 */
.contact-card::before {
  content: "";
  position: absolute;
  top: 0; left: 10%; right: 10%;
  height: 4px;
  border-radius: 0 0 4px 4px;
  background: var(--grad);
}
.contact-card h2 { font-size: 26px; margin-bottom: 12px; }
.contact-sub { color: var(--ink-2); font-size: 15px; }
.contact-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin: 30px 0 18px;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 15px;
  font-weight: 700;
  padding: 13px 26px;
  border-radius: 13px;
  transition: transform 0.22s, box-shadow 0.22s, background 0.22s, color 0.22s;
  border: 1px solid transparent;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: var(--shadow-blue);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(37, 99, 235, 0.38); }
.btn-ghost {
  background: var(--card-solid);
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover { color: var(--blue); border-color: rgba(37, 99, 235, 0.45); transform: translateY(-3px); }
.contact-email { font-size: 14px; color: var(--ink-2); }
.contact-email b { color: var(--blue); font-weight: 700; }

/* ============================ 页脚 ============================ */
.footer {
  border-top: 1px solid var(--line);
  padding: 30px 0;
  background: rgba(255, 255, 255, 0.6);
}
.footer-inner { text-align: center; color: var(--ink-2); font-size: 13.5px; }
.footer-sub { margin-top: 4px; font-size: 12.5px; opacity: 0.85; }

/* ============================ 轻提示 Toast ============================ */
.toast {
  position: fixed;
  left: 50%;
  bottom: 30px;
  transform: translate(-50%, 20px);
  background: #0f1f42;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  padding: 12px 26px;
  border-radius: 999px;
  box-shadow: 0 12px 30px rgba(15, 31, 66, 0.35);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
  z-index: 200;
  max-width: 90vw;
  text-align: center;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ============================ 滚动入场动画 ============================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s ease, transform 0.75s cubic-bezier(0.22, 0.68, 0.31, 1);
}
.reveal.revealed { opacity: 1; transform: none; }

/* ============================ 响应式：平板（≤860px） ============================ */
@media (max-width: 860px) {
  .chart-grid { grid-template-columns: 1fr; }       /* 图表上下排 */
  .purpose-grid { grid-template-columns: 1fr; }     /* 用途卡片上下排 */
  .stat-grid { grid-template-columns: 1fr; gap: 14px; } /* 指标卡片上下排 */
  .stat-card { display: flex; flex-wrap: wrap; align-items: center; gap: 0 16px; padding: 20px 22px; }
  .stat-icon { margin-bottom: 0; }
  .stat-label { width: calc(100% - 60px); }
  .stat-value { margin: 0; margin-left: auto; }
  .stat-note { width: 100%; margin-top: 8px; }
}

/* ============================ 响应式：手机（≤640px） ============================ */
@media (max-width: 640px) {
  .container { padding: 0 18px; }
  .hero { padding: 112px 0 50px; }
  .section { padding: 56px 0; }

  /* —— 导航折叠为下拉菜单 —— */
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute;
    top: 64px; left: 12px; right: 12px;
    flex-direction: column;
    gap: 0;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(18px);
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow);
    padding: 8px;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links li { border-bottom: 1px solid rgba(37, 99, 235, 0.07); }
  .nav-links li:last-child { border-bottom: 0; }
  .nav-links a { display: block; padding: 13px 14px; font-size: 15px; }
  .nav-links a::after { display: none; }

  /* 标题不允许换行截断 */
  .text-gradient { white-space: normal; }

  /* —— 时间线收窄 —— */
  .timeline { padding-left: 38px; }
  .timeline::before { left: 11px; }
  .tl-dot { left: -38px; width: 26px; height: 26px; font-size: 15px; top: 18px; border-width: 3px; }
  .tl-card { flex-direction: column; align-items: flex-start; gap: 8px; padding: 14px 16px; }
  .tl-amount { align-self: flex-end; }

  /* —— 表格转为卡片式（每行变一张小卡片） —— */
  .ledger-table thead { display: none; }
  .ledger-table, .ledger-table tbody, .ledger-table tr, .ledger-table td { display: block; width: 100%; }
  .ledger-table tr {
    padding: 14px 16px;
    border-bottom: 1px solid rgba(37, 99, 235, 0.09);
  }
  .ledger-table td {
    padding: 5px 0;
    border-bottom: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    text-align: right;
  }
  /* 左侧字段名（取自 data-label 属性） */
  .ledger-table td::before {
    content: attr(data-label);
    font-size: 13px;
    font-weight: 700;
    color: var(--ink-2);
    text-align: left;
    flex-shrink: 0;
  }
  .ledger-table .amount-cell { font-size: 17px; }

  /* 联系按钮整行 */
  .contact-actions { flex-direction: column; }
  .contact-actions .btn { justify-content: center; }
  .contact-card { padding: 38px 20px; }

  .toast { bottom: 20px; font-size: 13.5px; }
}

/* ============================ 无障碍：尊重“减少动态效果”系统设置 ============================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .reveal { opacity: 1; transform: none; }
}
