/* ==========================================================================
   陌谷充值 · 设计系统 (MOGUKA Design System)
   浅色编辑排版风格 · 墨绿主色 · 衬线标题 · 方直角细描边
   设计取向：可核验、克制、官方感；不使用渐变光晕与霓虹色。
   ========================================================================== */

/* ---------- 1. 设计变量 ---------- */
:root {
  /* 纸张与墨色 */
  --paper:      #f8f9fb;   /* 页面底：冷白 */
  --paper-2:    #eef1f5;   /* 次层底色 */
  --paper-3:    #e4e8ee;   /* 分割/悬停 */
  --surface:    #ffffff;   /* 卡片 */

  --ink:        #101a24;   /* 主文本 */
  --ink-2:      #33414f;   /* 次文本 */
  --ink-3:      #66717d;   /* 弱文本 */
  --ink-4:      #98a2ad;   /* 占位 */

  /* 主色：藏青蓝 */
  --green-900:  #0b1f38;
  --green-800:  #132f55;
  --green-700:  #1b3f6e;
  --green-600:  #2a558a;
  --green-500:  #3d70a8;
  --green-200:  #c2d3e6;
  --green-100:  #dbe6f2;
  --green-50:   #eef3f9;

  /* 点缀：琥珀金 */
  --clay-700:   #7c5712;
  --clay-600:   #a87c22;
  --clay-500:   #c39633;
  --clay-100:   #f8efdb;

  /* 语义色 */
  --ok:         #1c6b4a;
  --warn:       #a87c22;
  --danger:     #a4362a;

  /* 描边 */
  --line:       #e1e6ec;
  --line-2:     #c9d2dd;
  --line-ink:   #101a24;

  /* 圆角：克制，方直 */
  --r-s: 2px;
  --r-m: 3px;
  --r-l: 5px;

  /* 阴影：几乎不用 */
  --sh-1: 0 1px 0 rgba(16,26,36,.05);
  --sh-2: 0 2px 6px rgba(16,26,36,.06);

  /* 间距 */
  --s1: 4px;  --s2: 8px;  --s3: 12px; --s4: 16px;
  --s5: 20px; --s6: 24px; --s8: 32px; --s10: 40px;
  --s12: 48px; --s14: 56px; --s16: 64px; --s20: 80px; --s24: 96px;

  /* 字体：标题衬线，正文黑体 */
  --serif: "Songti SC", "Source Han Serif SC", "Noto Serif SC", "SimSun", Georgia, serif;
  --sans: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", "Hiragino Sans GB",
          -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --mono: "Cascadia Mono", "JetBrains Mono", Consolas, "Courier New", monospace;

  /* 布局 */
  --maxw: 1180px;
  --maxw-narrow: 820px;
  --hdr-h: 72px;
}

/* ---------- 2. 基础重置 ---------- */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5 {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: .01em;
  line-height: 1.32;
  margin: 0;
  color: var(--ink);
}

h1 { font-size: 42px; }
h2 { font-size: 30px; }
h3 { font-size: 21px; }
h4 { font-size: 17px; }
h5 { font-size: 15px; }

p { margin: 0 0 14px; }
p:last-child { margin-bottom: 0; }

a { color: var(--green-700); text-decoration: none; transition: color .16s; }
a:hover { color: var(--clay-600); }

img, svg { max-width: 100%; }
img { height: auto; display: block; }

ul, ol { margin: 0; padding-left: 1.25em; }
li { margin-bottom: 6px; }

hr { border: 0; border-top: 1px solid var(--line); margin: var(--s8) 0; }

::selection { background: var(--green-100); color: var(--green-900); }

:focus-visible { outline: 2px solid var(--green-600); outline-offset: 2px; }

/* ---------- 3. 排版工具类 ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--s6); }
.wrap-narrow { max-width: var(--maxw-narrow); }

.serif { font-family: var(--serif); }
.num { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.mono { font-family: var(--mono); }

.lead { font-size: 17px; line-height: 1.85; color: var(--ink-2); }
.small { font-size: 13.5px; line-height: 1.7; }
.tiny { font-size: 12px; line-height: 1.6; color: var(--ink-3); }

.tx-1 { color: var(--ink); }
.tx-2 { color: var(--ink-2); }
.tx-3 { color: var(--ink-3); }
.tx-4 { color: var(--ink-4); }
.tx-green { color: var(--green-700); }
.tx-clay { color: var(--clay-600); }
.tx-ok { color: var(--ok); }
.tx-warn { color: var(--warn); }
.tx-danger { color: var(--danger); }

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.justify-end { justify-content: flex-end; }
.grow { flex: 1 1 auto; min-width: 0; }
.wrap-flex { flex-wrap: wrap; }
.gap-1 { gap: 4px; } .gap-2 { gap: 8px; } .gap-3 { gap: 12px; }
.gap-4 { gap: 16px; } .gap-5 { gap: 20px; } .gap-6 { gap: 24px; }

.mt-2 { margin-top: 8px; } .mt-3 { margin-top: 12px; } .mt-4 { margin-top: 16px; }
.mt-5 { margin-top: 20px; } .mt-6 { margin-top: 24px; } .mt-8 { margin-top: 32px; }
.mt-10 { margin-top: 40px; }
.mb-2 { margin-bottom: 8px; } .mb-3 { margin-bottom: 12px; } .mb-4 { margin-bottom: 16px; }
.mb-5 { margin-bottom: 20px; } .mb-6 { margin-bottom: 24px; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.hidden { display: none !important; }

/* 栅格 */
.grid { display: grid; gap: var(--s5); }
.g-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.g-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.g-4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
.g-auto { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

@media (max-width: 900px) {
  .g-3, .g-4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 640px) {
  .g-2, .g-3, .g-4 { grid-template-columns: 1fr; }
  h1 { font-size: 30px; }
  h2 { font-size: 24px; }
  h3 { font-size: 19px; }
}

/* ---------- 4. 章节骨架（编号章节是本站视觉签名） ---------- */
.sec { padding: var(--s20) 0; border-top: 1px solid var(--line); }
.sec:first-of-type { border-top: 0; }
.sec-tight { padding: var(--s12) 0; }
.sec-paper { background: var(--paper-2); }
.sec-ink { background: var(--green-900); color: #e9eef5; }
.sec-ink h2, .sec-ink h3 { color: #fff; }
.sec-ink .sec-sub { color: #a7bdd4; }

.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--s6); margin-bottom: var(--s10); }
.sec-head-l { min-width: 0; }

.sec-no {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .18em;
  color: var(--clay-600);
  display: block;
  margin-bottom: 10px;
  font-weight: 700;
}
.sec-ink .sec-no { color: #c9a86a; }
.sec-title { font-size: 30px; }
.sec-sub { color: var(--ink-3); font-size: 14.5px; margin-top: 8px; max-width: 640px; }

@media (max-width: 720px) {
  .sec { padding: var(--s12) 0; }
  .sec-head { flex-direction: column; align-items: flex-start; margin-bottom: var(--s8); }
  .sec-title { font-size: 24px; }
}

/* ---------- 5. 顶栏 / 页头 ---------- */
.topstrip {
  background: var(--green-900);
  color: #b6c8de;
  font-size: 12.5px;
  height: 34px;
  display: flex;
  align-items: center;
}
.topstrip .wrap { display: flex; align-items: center; justify-content: space-between; gap: var(--s4); height: 100%; }
.topstrip a { color: #dde7f3; }
.topstrip a:hover { color: #fff; }
.topstrip .ts-sep { color: #4b6480; margin: 0 8px; }

.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(250,249,245,.94);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.hdr-inner { height: var(--hdr-h); display: flex; align-items: center; gap: var(--s8); }

/* 品牌字标 */
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand-mark {
  width: 34px; height: 34px; flex-shrink: 0;
  background: var(--green-800);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 19px; font-weight: 600;
  border-radius: var(--r-m);
}
.brand-text { line-height: 1.15; }
.brand-name {
  font-family: var(--serif); font-size: 21px; font-weight: 600;
  color: var(--ink); letter-spacing: .04em; display: block;
}
.brand-sub {
  font-size: 10.5px; color: var(--ink-4); letter-spacing: .22em;
  text-transform: uppercase; display: block; margin-top: 2px;
}

.nav { display: flex; align-items: center; gap: var(--s6); margin-left: var(--s2); }
.nav a {
  font-size: 14.5px; color: var(--ink-2); padding: 6px 0;
  border-bottom: 2px solid transparent; transition: color .16s, border-color .16s;
}
.nav a:hover { color: var(--green-700); }
.nav a.active { color: var(--green-800); border-bottom-color: var(--green-700); font-weight: 600; }

.hdr-actions { margin-left: auto; display: flex; align-items: center; gap: var(--s3); }

/* 下拉 */
.nav-drop { position: relative; }
.nav-drop > a { display: inline-flex; align-items: center; gap: 4px; }
.nav-drop-panel {
  position: absolute; top: calc(100% + 10px); left: -14px;
  min-width: 216px; background: var(--surface);
  border: 1px solid var(--line-2); border-radius: var(--r-l);
  box-shadow: var(--sh-2);
  padding: 8px; opacity: 0; visibility: hidden; transform: translateY(-4px);
  transition: all .18s ease;
}
.nav-drop:hover .nav-drop-panel { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-drop-panel a {
  display: block; padding: 8px 10px; border-radius: var(--r-m);
  font-size: 13.5px; color: var(--ink-2); border: 0;
}
.nav-drop-panel a:hover { background: var(--green-50); color: var(--green-800); }

/* 移动端菜单 */
.nav-toggle {
  display: none; width: 38px; height: 38px;
  align-items: center; justify-content: center;
  border: 1px solid var(--line-2); border-radius: var(--r-m);
  background: var(--surface); cursor: pointer; color: var(--ink);
}
.m-menu {
  display: none; position: fixed; inset: 0; z-index: 90;
  background: var(--paper); overflow-y: auto;
}
.m-menu.open { display: block; }
.m-menu-head {
  height: var(--hdr-h); display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--s5); border-bottom: 1px solid var(--line);
}
.m-menu-body { padding: var(--s5); }
.m-menu-body a {
  display: block; padding: 14px 4px; font-size: 16px; color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.m-menu-body a:last-child { border-bottom: 0; }

@media (max-width: 980px) {
  .nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .hdr-actions .hide-sm { display: none; }
}

/* 顶栏次要信息在窄屏收起，避免两行文字撑破 34px 的条带 */
@media (max-width: 720px) {
  .topstrip .hide-sm { display: none; }
}

/* ---------- 6. 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  height: 40px; padding: 0 18px;
  font-family: var(--sans); font-size: 14px; font-weight: 500;
  border: 1px solid transparent; border-radius: var(--r-m);
  cursor: pointer; white-space: nowrap;
  transition: background .16s, color .16s, border-color .16s;
  text-decoration: none;
}
.btn-primary { background: var(--green-800); color: #fff; border-color: var(--green-800); }
.btn-primary:hover { background: var(--green-900); color: #fff; border-color: var(--green-900); }
.btn-accent { background: var(--clay-600); color: #fff; border-color: var(--clay-600); }
.btn-accent:hover { background: var(--clay-700); color: #fff; }
.btn-line { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-line:hover { border-color: var(--ink); color: var(--ink); background: var(--paper-2); }
.btn-quiet { background: transparent; color: var(--ink-3); border-color: transparent; }
.btn-quiet:hover { color: var(--ink); background: var(--paper-2); }
.btn-sm { height: 32px; padding: 0 12px; font-size: 13px; }
.btn-lg { height: 48px; padding: 0 28px; font-size: 15.5px; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .42; cursor: not-allowed; }

/* ---------- 7. 卡片 / 表面 ---------- */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-l);
  padding: var(--s6);
}
.card-flush { padding: 0; overflow: hidden; }
.card-paper { background: var(--paper-2); }
.card-ink { background: var(--green-900); color: #e6efea; border-color: var(--green-800); }
.card-ink h3, .card-ink h4 { color: #fff; }

.card-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--s4); padding: var(--s4) var(--s5);
  border-bottom: 1px solid var(--line);
}
.card-head h3 { font-size: 16.5px; }
.card-body { padding: var(--s5); }
.card-foot { padding: var(--s4) var(--s5); border-top: 1px solid var(--line); background: var(--paper-2); }

.row-item {
  display: flex; align-items: center; gap: var(--s4);
  padding: 14px var(--s5);
  border-bottom: 1px solid var(--line);
}
.row-item:last-child { border-bottom: 0; }
.row-item:hover { background: var(--paper-2); }

/* ---------- 8. 徽标 / 标签 ---------- */
.tag {
  display: inline-flex; align-items: center; gap: 5px;
  height: 22px; padding: 0 8px;
  font-size: 11.5px; font-weight: 500; letter-spacing: .02em;
  border: 1px solid var(--line-2); border-radius: var(--r-s);
  color: var(--ink-2); background: var(--surface);
  white-space: nowrap;
}
.tag-green { background: var(--green-50); border-color: var(--green-200); color: var(--green-800); }
.tag-clay { background: var(--clay-100); border-color: #ecc9b7; color: var(--clay-700); }
.tag-ink { background: var(--ink); border-color: var(--ink); color: #fff; }
.tag-warn { background: #fdf6e6; border-color: #ecdcb4; color: var(--warn); }
.tag-danger { background: #fbeae7; border-color: #edc6c0; color: var(--danger); }
.tag-dot::before {
  content: ""; width: 5px; height: 5px; border-radius: 50%;
  background: currentColor; display: inline-block;
}

.dot { width: 6px; height: 6px; border-radius: 50%; display: inline-block; }
.dot-ok { background: var(--ok); }
.dot-warn { background: var(--warn); }
.dot-danger { background: var(--danger); }

/* ---------- 9. 表单 ---------- */
.field { margin-bottom: var(--s5); }
.field:last-child { margin-bottom: 0; }
.label {
  display: block; font-size: 13px; color: var(--ink-2);
  margin-bottom: 7px; font-weight: 500;
}
.label .req { color: var(--clay-600); margin-left: 3px; }

.input, .select, .textarea {
  width: 100%; display: block;
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: var(--r-m);
  padding: 10px 12px;
  font-family: var(--sans); font-size: 14.5px; color: var(--ink);
  transition: border-color .16s, box-shadow .16s;
  appearance: none;
}
.input::placeholder, .textarea::placeholder { color: var(--ink-4); }
.input:focus, .select:focus, .textarea:focus {
  outline: none; border-color: var(--green-600);
  box-shadow: 0 0 0 3px rgba(27,63,110,.12);
}
.input.error, .select.error, .textarea.error { border-color: var(--danger); }
.textarea { resize: vertical; min-height: 96px; line-height: 1.7; }
.input:disabled, .input[readonly] { background: var(--paper-2); color: var(--ink-3); }

.select {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236a7a72' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 34px;
}

.input-group { display: flex; align-items: stretch; }
.input-group .input { border-radius: var(--r-m) 0 0 var(--r-m); }
.input-action {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0 14px; border: 1px solid var(--line-2); border-left: 0;
  border-radius: 0 var(--r-m) var(--r-m) 0;
  background: var(--paper-2); color: var(--ink-2);
  font-size: 13.5px; cursor: pointer; white-space: nowrap;
  font-family: var(--sans);
  text-decoration: none;
}
.input-action:hover { background: var(--paper-3); color: var(--ink); }

.field-hint { font-size: 12px; color: var(--ink-4); margin-top: 6px; line-height: 1.6; }
.field-error { font-size: 12px; color: var(--danger); margin-top: 6px; }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s5); }
@media (max-width: 640px) { .field-row { grid-template-columns: 1fr; } }

/* 勾选 */
.check { display: inline-flex; align-items: flex-start; gap: 8px; cursor: pointer; font-size: 13.5px; color: var(--ink-2); }
.check input { position: absolute; opacity: 0; width: 0; height: 0; }
.check-box {
  width: 16px; height: 16px; flex-shrink: 0; margin-top: 3px;
  border: 1px solid var(--line-2); border-radius: var(--r-s);
  background: var(--surface); position: relative; transition: all .14s;
}
.check input:checked + .check-box { background: var(--green-700); border-color: var(--green-700); }
.check input:checked + .check-box::after {
  content: ""; position: absolute; left: 5px; top: 1.5px;
  width: 4px; height: 8px; border: solid #fff; border-width: 0 1.6px 1.6px 0;
  transform: rotate(42deg);
}
.check input:focus-visible + .check-box { box-shadow: 0 0 0 3px rgba(27,63,110,.16); }

/* ---------- 10. 表格 ---------- */
.tbl-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-l); background: var(--surface); }
.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl th {
  text-align: left; padding: 12px var(--s4);
  font-size: 12.5px; font-weight: 600; letter-spacing: .04em;
  color: var(--ink-3); background: var(--paper-2);
  border-bottom: 1px solid var(--line); white-space: nowrap;
}
.tbl td { padding: 13px var(--s4); border-bottom: 1px solid var(--line); vertical-align: middle; }
.tbl tbody tr:last-child td { border-bottom: 0; }
.tbl tbody tr:hover { background: var(--green-50); }
.tbl .td-num { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.tbl .td-r { text-align: right; }
.tbl .td-c { text-align: center; }
.tbl .price { font-family: var(--mono); font-weight: 600; color: var(--ink); }
.tbl .price-old { color: var(--ink-4); text-decoration: line-through; margin-left: 6px; font-size: 12.5px; }

/* 键值列表 */
.kv { display: flex; gap: var(--s4); padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: 14px; }
.kv:last-child { border-bottom: 0; }
.kv-k { flex: 0 0 116px; color: var(--ink-3); font-size: 13px; }
.kv-v { flex: 1 1 auto; color: var(--ink); min-width: 0; word-break: break-word; }

/* ---------- 11. 提示块 ---------- */
.note {
  border-left: 2px solid var(--green-600);
  background: var(--green-50);
  padding: 14px 16px; border-radius: 0 var(--r-m) var(--r-m) 0;
  font-size: 13.5px; line-height: 1.75; color: var(--ink-2);
}
.note-clay { border-left-color: var(--clay-600); background: var(--clay-100); color: #6b3218; }
.note-warn { border-left-color: var(--warn); background: #fdf7e8; color: #6b5218; }
.note-danger { border-left-color: var(--danger); background: #fbebe8; color: #6d241b; }
.note-ink { border-left-color: var(--ink); background: var(--paper-2); color: var(--ink-2); }
.note strong { color: var(--ink); }

/* ---------- 12. 流程步骤 ---------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.step { padding: var(--s6) var(--s5) var(--s6) 0; border-right: 1px solid var(--line); }
.step:last-child { border-right: 0; }
.step-no {
  font-family: var(--mono); font-size: 12px; color: var(--clay-600);
  letter-spacing: .12em; display: block; margin-bottom: 10px;
}
.step-title { font-family: var(--serif); font-size: 17px; margin-bottom: 6px; }
.step-desc { font-size: 13.5px; color: var(--ink-3); line-height: 1.75; }
@media (max-width: 720px) {
  .steps { grid-template-columns: 1fr; }
  .step { border-right: 0; border-bottom: 1px solid var(--line); padding: var(--s5) 0; }
  .step:last-child { border-bottom: 0; }
}

/* ---------- 13. FAQ ---------- */
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  display: flex; align-items: flex-start; justify-content: space-between; gap: var(--s4);
  padding: 18px 0; cursor: pointer;
  font-family: var(--serif); font-size: 16px; color: var(--ink);
  background: none; border: 0; width: 100%; text-align: left;
  transition: color .16s;
}
.faq-q:hover { color: var(--green-700); }
.faq-q .fi { flex-shrink: 0; color: var(--ink-4); transition: transform .2s; margin-top: 3px; }
.faq-item.open .faq-q .fi { transform: rotate(45deg); }
.faq-a { display: none; padding: 0 0 20px; }
.faq-item.open .faq-a { display: block; }
.faq-a-inner { font-size: 14px; color: var(--ink-2); line-height: 1.85; max-width: 760px; }

/* ---------- 14. 面包屑 / 页头 ---------- */
.crumb {
  display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
  font-size: 12.5px; color: var(--ink-4);
  padding: var(--s5) 0 0;
}
.crumb a { color: var(--ink-3); }
.crumb a:hover { color: var(--green-700); }
.crumb .sep { color: var(--ink-4); }
.crumb .cur { color: var(--ink-2); }

.page-head { padding: var(--s8) 0 var(--s6); }
.page-title { font-size: 32px; }
.page-sub { color: var(--ink-3); font-size: 14.5px; margin-top: 10px; max-width: 700px; line-height: 1.8; }
.page-head-line { border-bottom: 1px solid var(--line); margin-top: var(--s6); }

/* ---------- 15. 页脚 ---------- */
.site-footer { background: var(--green-900); color: #a9c2b8; margin-top: var(--s20); }
.foot-top { padding: var(--s14) 0 var(--s10); display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: var(--s10); }
.foot-brand .brand-name { color: #fff; }
.foot-brand .brand-sub { color: #7f93ab; }
.foot-desc { font-size: 13px; line-height: 1.85; color: #93a6bd; margin-top: var(--s4); max-width: 300px; }
.foot-contact { margin-top: var(--s5); font-size: 13px; color: #a9c2b8; line-height: 2; }
.foot-contact b { color: #fff; font-family: var(--mono); font-weight: 600; }
.foot-col h4 {
  color: #fff; font-family: var(--sans); font-size: 13px; font-weight: 600;
  letter-spacing: .06em; margin-bottom: var(--s4);
}
.foot-col a { display: block; color: #9db8ac; font-size: 13px; padding: 5px 0; }
.foot-col a:hover { color: #fff; }

.foot-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: var(--s5) 0;
  display: flex; align-items: center; justify-content: space-between; gap: var(--s4);
  font-size: 12.5px; color: #7f93ab; flex-wrap: wrap;
}
.foot-legal { display: flex; align-items: center; gap: var(--s4); flex-wrap: wrap; }
.foot-legal a { color: #9db8ac; }
.foot-legal a:hover { color: #fff; }

@media (max-width: 900px) {
  .foot-top { grid-template-columns: 1fr 1fr; gap: var(--s8); }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .foot-top { grid-template-columns: 1fr; }
}

/* ---------- 16. 弹层 / Toast ---------- */
.mask {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(16,26,36,.42);
  display: flex; align-items: center; justify-content: center;
  padding: var(--s5);
  opacity: 0; transition: opacity .2s;
}
.mask.open { opacity: 1; }
.modal {
  background: var(--surface); border-radius: var(--r-l);
  border: 1px solid var(--line-2);
  width: 100%; max-width: 480px; max-height: 88vh; overflow: auto;
  transform: translateY(8px); transition: transform .2s;
}
.mask.open .modal { transform: translateY(0); }
.modal-lg { max-width: 760px; }
.modal-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: var(--s4) var(--s5); border-bottom: 1px solid var(--line);
}
.modal-head h3 { font-size: 17px; }
.modal-close {
  background: none; border: 0; cursor: pointer; color: var(--ink-3);
  padding: 4px; display: flex; border-radius: var(--r-s);
}
.modal-close:hover { color: var(--ink); background: var(--paper-2); }
.modal-body { padding: var(--s5); font-size: 14px; line-height: 1.8; }
.modal-foot {
  display: flex; justify-content: flex-end; gap: var(--s3);
  padding: var(--s4) var(--s5); border-top: 1px solid var(--line);
  background: var(--paper-2); border-radius: 0 0 var(--r-l) var(--r-l);
}

.toast-host {
  position: fixed; top: 18px; left: 50%; transform: translateX(-50%);
  z-index: 200; display: flex; flex-direction: column; gap: 8px;
  pointer-events: none; width: max-content; max-width: 92vw;
}
.toast {
  background: var(--ink); color: #fff;
  padding: 10px 16px; border-radius: var(--r-m);
  font-size: 13.5px; line-height: 1.5;
  box-shadow: 0 6px 20px rgba(16,26,36,.24);
  animation: toast-in .22s ease both;
  display: flex; align-items: center; gap: 8px;
}
.toast::before { content: ""; width: 5px; height: 5px; border-radius: 50%; flex-shrink: 0; }
.toast.ok::before { background: #6aa9d8; }
.toast.warn::before { background: #f0c064; }
.toast.err::before { background: #ef8a7c; }
.toast.info::before { background: #9dc3b4; }
@keyframes toast-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* ---------- 17. 空状态 ---------- */
.empty { text-align: center; padding: var(--s16) var(--s5); }
.empty-mark {
  width: 48px; height: 48px; margin: 0 auto var(--s4);
  border: 1px solid var(--line-2); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-4);
}
.empty-title { font-family: var(--serif); font-size: 17px; margin-bottom: 6px; }
.empty-desc { font-size: 13.5px; color: var(--ink-3); line-height: 1.8; max-width: 380px; margin: 0 auto; }

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

.bar { height: 3px; background: var(--paper-3); border-radius: 2px; overflow: hidden; }
.bar-fill { height: 100%; background: var(--green-600); transition: width .5s ease; }

/* ---------- 19. 数据条 ---------- */
.figures { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); border-top: 1px solid var(--line); }
.figure { padding: var(--s5) var(--s5) var(--s5) 0; border-right: 1px solid var(--line); }
.figure:last-child { border-right: 0; }
.figure-v { font-family: var(--serif); font-size: 32px; color: var(--green-800); line-height: 1; }
.figure-v .u { font-size: 14px; color: var(--ink-3); margin-left: 4px; font-family: var(--sans); }
.figure-k { font-size: 12.5px; color: var(--ink-3); margin-top: 8px; }

/* ---------- 20. 图片展示 ---------- */
.shot {
  border: 1px solid var(--line-2); border-radius: var(--r-l);
  overflow: hidden; background: #fff; cursor: zoom-in;
  transition: border-color .18s;
}
.shot:hover { border-color: var(--green-600); }
.shot img { width: 100%; display: block; }
.shot-cap {
  padding: 10px 14px; font-size: 12.5px; color: var(--ink-3);
  border-top: 1px solid var(--line); background: var(--paper-2);
}

/* 浮动客服 */
.float-help {
  position: fixed; right: 22px; bottom: 26px; z-index: 70;
  display: flex; flex-direction: column; gap: 8px;
}
.float-help button {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--surface); border: 1px solid var(--line-2);
  color: var(--ink-2); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--sh-2); transition: all .18s;
}
.float-help button:hover { border-color: var(--green-600); color: var(--green-700); }

/* ---------- 21. 动效 ---------- */
@media (prefers-reduced-motion: no-preference) {
  .anim-up { animation: a-up .5s ease both; }
  .anim-up-2 { animation-delay: .08s; }
  .anim-up-3 { animation-delay: .16s; }
  @keyframes a-up { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
}

/* ---------- 22. 打印 ---------- */
@media print {
  .site-header, .site-footer, .topstrip, .float-help, .hdr-actions { display: none !important; }
  body { background: #fff; }
  .sec { padding: 16px 0; }
}
