:root {
  --bg: #f5f8f6;
  --bg-deep: #eef3f0;
  --surface: #ffffff;
  --ink: #0b1a14;
  --ink-2: #33473f;
  --muted: #6d8079;
  --line: #e4ece8;
  --line-2: #d6e2dc;
  --brand: #00b56a;
  --brand-2: #00c97b;
  --brand-deep: #04724a;
  --brand-soft: #e9faf2;
  --dark: #0a1613;
  --dark-2: #12241e;
  --warn: #e08b00;
  --warn-soft: #fff6e5;
  --danger: #e5484d;
  --danger-soft: #fff0f0;
  --radius: 18px;
  --shadow-xs: 0 1px 2px rgba(11, 26, 20, .06);
  --shadow-sm: 0 2px 8px rgba(11, 26, 20, .05), 0 1px 2px rgba(11, 26, 20, .04);
  --shadow-md: 0 12px 32px -12px rgba(11, 26, 20, .18), 0 2px 6px rgba(11, 26, 20, .04);
  --shadow-lg: 0 32px 64px -24px rgba(11, 26, 20, .28);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  font-size: 15px;
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(900px 500px at 12% -8%, rgba(0, 201, 123, .13), transparent 60%),
    radial-gradient(700px 420px at 92% 4%, rgba(15, 118, 90, .07), transparent 62%);
  pointer-events: none;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; line-height: 1.2; letter-spacing: -.02em; font-weight: 680; }
p { margin: 0; }
::selection { background: rgba(0, 201, 123, .22); }

.wrap { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.mono { font-family: var(--mono); }
.num { font-variant-numeric: tabular-nums; }

/* ---------------- Nav ---------------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(160%) blur(14px);
  background: rgba(245, 248, 246, .82);
  border-bottom: 1px solid rgba(228, 236, 232, .9);
}
.nav-inner {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  height: 66px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: -.02em; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 10px;
  background: linear-gradient(150deg, #00d585, #009e5c 70%);
  display: grid; place-items: center;
  box-shadow: 0 6px 16px -6px rgba(0, 181, 106, .8), inset 0 1px 0 rgba(255, 255, 255, .35);
}
.brand-mark svg { width: 19px; height: 19px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text b { font-size: 15.5px; font-weight: 720; }
.brand-text span { font-size: 10.5px; letter-spacing: .12em; color: var(--muted); text-transform: uppercase; }

.nav-links { display: flex; gap: 4px; margin-left: 8px; }
.nav-links a {
  padding: 7px 13px; border-radius: 9px; font-size: 14px; color: var(--ink-2);
  font-weight: 520; transition: background .15s, color .15s;
}
.nav-links a:hover { background: rgba(0, 0, 0, .04); }
.nav-links a.active { background: var(--surface); color: var(--brand-deep); box-shadow: var(--shadow-xs); }

.nav-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }

.balance-pill {
  display: none; align-items: center; gap: 6px;
  height: 34px; padding: 0 12px; border-radius: 10px;
  background: var(--surface); border: 1px solid var(--line);
  font-size: 13px; font-weight: 620; font-variant-numeric: tabular-nums;
}
.balance-pill.show { display: inline-flex; }
.balance-pill i { width: 6px; height: 6px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }

.avatar-btn {
  display: flex; align-items: center; gap: 8px;
  height: 34px; padding: 0 4px 0 4px; border-radius: 10px;
  background: transparent; border: 1px solid transparent;
}
.avatar-btn:hover { background: var(--surface); border-color: var(--line); }
.avatar {
  width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center;
  background: linear-gradient(140deg, #12332a, #0a1613); color: #b6f2d6;
  font-size: 12.5px; font-weight: 700; text-transform: uppercase;
}
.avatar-btn span { font-size: 13.5px; font-weight: 560; }

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  height: 40px; padding: 0 18px; border-radius: 11px; border: 1px solid transparent;
  font-size: 14px; font-weight: 600; letter-spacing: -.01em;
  transition: transform .12s ease, box-shadow .16s ease, background .16s, border-color .16s, color .16s;
  white-space: nowrap; background: transparent; color: var(--ink);
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 16px; height: 16px; }

.btn-primary {
  background: linear-gradient(180deg, #00c97b, #00a763);
  color: #fff;
  box-shadow: 0 8px 20px -10px rgba(0, 181, 106, .95), inset 0 1px 0 rgba(255, 255, 255, .28);
}
.btn-primary:hover { box-shadow: 0 12px 26px -10px rgba(0, 181, 106, .95), inset 0 1px 0 rgba(255, 255, 255, .3); }

.btn-dark { background: var(--dark); color: #eafaf2; }
.btn-dark:hover { background: #12241e; }

.btn-ghost { border-color: var(--line-2); background: var(--surface); color: var(--ink-2); box-shadow: var(--shadow-xs); }
.btn-ghost:hover { border-color: #bfd2c9; color: var(--ink); }

.btn-quiet { color: var(--ink-2); background: transparent; border-color: transparent; }
.btn-quiet:hover { background: rgba(0, 0, 0, .045); }

.btn-danger { background: var(--danger-soft); color: var(--danger); border-color: #ffdada; }
.btn-danger:hover { background: #ffe4e4; }

.btn-sm { height: 32px; padding: 0 12px; font-size: 13px; border-radius: 9px; }
.btn-xs { height: 27px; padding: 0 10px; font-size: 12px; border-radius: 8px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .55; pointer-events: none; }
.btn-link { color: var(--brand-deep); font-weight: 600; font-size: 13.5px; background: none; border: 0; padding: 0; }
.btn-link:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------------- Pills / badges ---------------- */
.pill {
  display: inline-flex; align-items: center; gap: 5px;
  height: 23px; padding: 0 9px; border-radius: 999px;
  font-size: 11.5px; font-weight: 620; letter-spacing: .01em;
  background: #f1f4f2; color: var(--muted);
}
.pill::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.pill.no-dot::before { display: none; }
.pill-ok { background: var(--brand-soft); color: #03744a; }
.pill-warn { background: var(--warn-soft); color: #9a6100; }
.pill-err { background: var(--danger-soft); color: #b42318; }
.pill-dark { background: rgba(255, 255, 255, .1); color: #b6f2d6; }

.tag {
  display: inline-flex; align-items: center; height: 20px; padding: 0 8px;
  border-radius: 6px; font-size: 11px; font-weight: 600;
  background: #f1f4f2; color: var(--ink-2);
}

/* ---------------- Hero ---------------- */
.hero { padding: 72px 0 56px; }
.hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: 56px; align-items: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  height: 28px; padding: 0 12px 0 8px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line);
  font-size: 12px; font-weight: 600; color: var(--brand-deep);
  box-shadow: var(--shadow-xs);
}
.eyebrow i { width: 16px; height: 16px; border-radius: 50%; background: var(--brand-soft); display: grid; place-items: center; }
.eyebrow i::after { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--brand); }

.hero h1 {
  font-size: clamp(34px, 3.9vw, 50px);
  line-height: 1.14;
  letter-spacing: -.018em;
  margin: 22px 0 20px;
  font-weight: 700;
  max-width: 520px;
  text-wrap: balance;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(100deg, #00a763, #00d18a 60%, #14b8a6);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub { font-size: 16.5px; color: var(--muted); max-width: 480px; line-height: 1.65; }
.hero-cta { display: flex; gap: 12px; margin-top: 30px; align-items: center; }
.hero-cta .btn { height: 46px; padding: 0 22px; font-size: 14.5px; border-radius: 12px; }
.hero-trust { display: flex; gap: 22px; margin-top: 34px; }
.hero-trust div { display: flex; flex-direction: column; gap: 1px; }
.hero-trust b { font-size: 19px; font-weight: 700; letter-spacing: -.02em; }
.hero-trust span { font-size: 11.5px; color: var(--muted); letter-spacing: .02em; }
.hero-trust div + div { padding-left: 22px; border-left: 1px solid var(--line); }

/* 面板模拟窗口 */
.window {
  background: linear-gradient(168deg, #10231d, #081210 62%);
  border-radius: 20px;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 255, 255, .06) inset;
  overflow: hidden;
  border: 1px solid #1c342c;
  position: relative;
}
.window::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: 20px;
  background: radial-gradient(400px 200px at 80% 0%, rgba(0, 201, 123, .16), transparent 70%);
  pointer-events: none;
}
.win-bar {
  height: 42px; display: flex; align-items: center; gap: 7px; padding: 0 16px;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
  position: relative; z-index: 1;
}
.win-bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, .16); }
.win-bar i:first-child { background: #ff5f57a0; }
.win-bar i:nth-child(2) { background: #febc2ea0; }
.win-bar i:nth-child(3) { background: #28c840a0; }
.win-title { margin-left: 10px; font-size: 11.5px; color: rgba(230, 255, 244, .5); font-family: var(--mono); }
.win-body { display: grid; grid-template-columns: 132px 1fr; min-height: 268px; position: relative; z-index: 1; }
.win-side { border-right: 1px solid rgba(255, 255, 255, .06); padding: 14px 10px; display: flex; flex-direction: column; gap: 3px; }
.win-side span {
  font-size: 11.5px; color: rgba(214, 245, 232, .45); padding: 7px 10px; border-radius: 7px;
  display: flex; align-items: center; gap: 7px;
}
.win-side span::before { content: ""; width: 11px; height: 11px; border-radius: 3px; border: 1px solid rgba(255, 255, 255, .22); }
.win-side span.on { background: rgba(0, 201, 123, .12); color: #7ff0bb; }
.win-side span.on::before { background: rgba(0, 201, 123, .55); border-color: transparent; }
.win-main { padding: 16px 18px; display: flex; flex-direction: column; gap: 9px; }
.win-main .row-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; }
.win-main .row-head b { font-size: 12.5px; color: #d9f7e9; font-weight: 600; }
.win-task {
  display: flex; align-items: center; gap: 9px;
  background: rgba(255, 255, 255, .035);
  border: 1px solid rgba(255, 255, 255, .05);
  border-radius: 9px; padding: 8px 11px;
}
.win-task em { width: 6px; height: 6px; border-radius: 50%; background: #2ee08e; box-shadow: 0 0 8px #2ee08e; flex: none; }
.win-task span { font-size: 11.5px; color: rgba(219, 247, 235, .72); font-family: var(--mono); }
.win-task u { margin-left: auto; font-size: 10px; color: rgba(219, 247, 235, .32); text-decoration: none; }
.win-task.dim em { background: #f0b429; box-shadow: 0 0 8px #f0b429; }
.win-foot {
  margin-top: auto; display: flex; gap: 8px; align-items: center;
  border-top: 1px solid rgba(255, 255, 255, .06); padding-top: 11px;
}
.win-foot span { font-size: 10.5px; color: rgba(219, 247, 235, .38); font-family: var(--mono); }

/* ---------------- Stats strip ---------------- */
.strip {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm);
}
.strip div { padding: 20px 24px; }
.strip div + div { border-left: 1px solid var(--line); }
.strip b { display: block; font-size: 25px; font-weight: 700; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.strip span { font-size: 12px; color: var(--muted); }
.strip b em { font-size: 13px; font-weight: 600; color: var(--brand); font-style: normal; margin-left: 2px; }

/* ---------------- Section ---------------- */
.section { padding: 68px 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 32px; gap: 20px; }
.section-head h2 { font-size: 29px; letter-spacing: -.03em; }
.section-head p { color: var(--muted); font-size: 14.5px; margin-top: 8px; }
.section-kicker {
  font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--brand-deep); margin-bottom: 10px;
}

/* ---------------- Plans ---------------- */
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.plan {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 22px; display: flex; flex-direction: column; position: relative;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s;
}
.plan:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: #cfe0d8; }
.plan.featured {
  background: linear-gradient(172deg, #0d1f19, #08120f 72%);
  border-color: #1d3b30; color: #ecfaf3;
  box-shadow: 0 24px 48px -24px rgba(6, 32, 23, .7);
}
.plan.featured:hover { box-shadow: 0 28px 56px -22px rgba(6, 32, 23, .8); }
.plan-flag {
  position: absolute; top: 16px; right: 16px;
  height: 21px; padding: 0 9px; border-radius: 999px;
  background: rgba(0, 201, 123, .16); color: #7ff0bb;
  font-size: 10.5px; font-weight: 700; letter-spacing: .04em;
  display: inline-flex; align-items: center;
}
.plan h3 { font-size: 16px; font-weight: 680; }
.plan .tagline { font-size: 12.5px; color: var(--muted); margin-top: 5px; min-height: 38px; }
.plan.featured .tagline { color: rgba(219, 247, 235, .55); }
.price { display: flex; align-items: flex-end; gap: 3px; margin: 20px 0 4px; }
.price b { font-size: 38px; font-weight: 720; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.price b span { font-size: 17px; font-weight: 600; margin-right: 1px; }
.price u { text-decoration: none; font-size: 12.5px; color: var(--muted); padding-bottom: 3px; }
.plan.featured .price u { color: rgba(219, 247, 235, .5); }
.specs { display: grid; grid-template-columns: 1fr 1fr; gap: 7px 10px; margin: 18px 0; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.plan.featured .specs { border-color: rgba(255, 255, 255, .08); }
.specs div { font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.specs div b { color: var(--ink); font-weight: 620; font-size: 12.5px; }
.plan.featured .specs div { color: rgba(219, 247, 235, .5); }
.plan.featured .specs div b { color: #d9f7e9; }
.feat-list { list-style: none; padding: 0; margin: 0 0 22px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.feat-list li { font-size: 12.8px; color: var(--ink-2); display: flex; gap: 8px; align-items: flex-start; }
.plan.featured .feat-list li { color: rgba(219, 247, 235, .78); }
.feat-list svg { width: 14px; height: 14px; flex: none; margin-top: 2px; color: var(--brand); }
.plan .btn { width: 100%; }

/* ---------------- Steps ---------------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.step {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px; position: relative; overflow: hidden;
}
.step-n {
  width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center;
  background: var(--brand-soft); color: var(--brand-deep);
  font-size: 13px; font-weight: 700; font-family: var(--mono); margin-bottom: 16px;
}
.step h4 { font-size: 15.5px; margin-bottom: 7px; }
.step p { font-size: 13.2px; color: var(--muted); line-height: 1.62; }
.step code { font-family: var(--mono); font-size: 11.5px; background: var(--bg-deep); padding: 2px 5px; border-radius: 5px; }

/* ---------------- FAQ ---------------- */
.faq { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.faq details {
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  padding: 0 20px; transition: border-color .15s;
}
.faq details[open] { border-color: #cfe0d8; }
.faq summary {
  list-style: none; cursor: pointer; padding: 17px 0; font-size: 14px; font-weight: 600;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 18px; color: var(--muted); font-weight: 400; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq p { font-size: 13.2px; color: var(--muted); padding: 0 0 18px; line-height: 1.68; max-width: 92%; }

/* ---------------- Footer ---------------- */
.footer { border-top: 1px solid var(--line); margin-top: 40px; padding: 34px 0 48px; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer p { font-size: 12.5px; color: var(--muted); }
.footer-links { display: flex; gap: 20px; font-size: 12.5px; color: var(--muted); }
.footer-links a:hover { color: var(--ink); }

/* ---------------- Page head (console) ---------------- */
.page { padding: 38px 0 72px; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 26px; flex-wrap: wrap; }
.page-head h1 { font-size: 26px; letter-spacing: -.03em; }
.page-head p { color: var(--muted); font-size: 13.5px; margin-top: 6px; }
.page-actions { display: flex; gap: 9px; }

.mini-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 24px; }
.mini-stat {
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  padding: 16px 18px; box-shadow: var(--shadow-xs);
}
.mini-stat span { font-size: 11.5px; color: var(--muted); letter-spacing: .02em; }
.mini-stat b { display: block; font-size: 22px; font-weight: 700; letter-spacing: -.03em; margin-top: 3px; font-variant-numeric: tabular-nums; }
.mini-stat b small { font-size: 12px; font-weight: 600; color: var(--muted); margin-left: 3px; }

/* ---------------- Panel cards ---------------- */
.panel-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.pcard {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px; box-shadow: var(--shadow-xs);
  transition: box-shadow .18s, border-color .18s;
}
.pcard:hover { box-shadow: var(--shadow-md); border-color: #d2e2da; }
.pcard-top { display: flex; align-items: flex-start; gap: 12px; }
.pcard-icon {
  width: 40px; height: 40px; border-radius: 11px; flex: none;
  background: linear-gradient(150deg, #0f2a22, #0a1613);
  display: grid; place-items: center; color: #6feeb4;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12);
}
.pcard-icon svg { width: 20px; height: 20px; }
.pcard-title { flex: 1; min-width: 0; }
.pcard-title h3 { font-size: 15px; font-weight: 660; display: flex; align-items: center; gap: 8px; }
.pcard-title p { font-size: 12px; color: var(--muted); margin-top: 3px; display: flex; gap: 8px; align-items: center; }
.pcard-title p i { width: 3px; height: 3px; border-radius: 50%; background: var(--line-2); }
.pcard-meta { display: flex; gap: 18px; margin: 18px 0 14px; }
.pcard-meta div { font-size: 11.5px; color: var(--muted); }
.pcard-meta b { display: block; font-size: 13px; color: var(--ink); font-weight: 620; margin-top: 2px; font-variant-numeric: tabular-nums; }

.bar { height: 5px; border-radius: 999px; background: #eef2f0; overflow: hidden; margin-bottom: 16px; }
.bar i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, #00c97b, #12b886); transition: width .4s ease; }
.bar.warn i { background: linear-gradient(90deg, #f5a524, #e08b00); }
.bar.danger i { background: linear-gradient(90deg, #ef5350, #d92d20); }

.pcard-foot { display: flex; align-items: center; gap: 8px; }
.pcard-foot .spacer { flex: 1; }

.cred-box {
  background: var(--bg-deep); border: 1px solid var(--line);
  border-radius: 11px; padding: 12px 14px; font-family: var(--mono); font-size: 12px;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  margin-top: 8px; overflow: hidden;
}
.cred-box span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink-2); }
.cred-box button {
  border: 0; background: var(--surface); border: 1px solid var(--line);
  border-radius: 7px; height: 25px; padding: 0 9px; font-size: 11px; font-weight: 600;
  color: var(--ink-2); flex: none;
}

/* ---------------- Table ---------------- */
.table-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-xs); }
.table { width: 100%; border-collapse: collapse; }
.table th {
  text-align: left; font-size: 11.5px; font-weight: 600; color: var(--muted);
  letter-spacing: .04em; text-transform: uppercase;
  padding: 12px 18px; background: #fafcfb; border-bottom: 1px solid var(--line);
}
.table td { padding: 14px 18px; font-size: 13.2px; border-bottom: 1px solid #f1f5f3; vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table tbody tr:hover { background: #fbfdfc; }
.table .mono { font-size: 12.3px; color: var(--ink-2); }
.table .amount { font-weight: 650; font-variant-numeric: tabular-nums; }

/* ---------------- Empty / loading ---------------- */
.empty {
  text-align: center; padding: 64px 24px; background: var(--surface);
  border: 1px dashed var(--line-2); border-radius: var(--radius);
}
.empty-ico {
  width: 46px; height: 46px; border-radius: 13px; margin: 0 auto 14px;
  background: var(--brand-soft); display: grid; place-items: center; color: var(--brand-deep);
}
.empty-ico svg { width: 22px; height: 22px; }
.empty h4 { font-size: 15px; margin-bottom: 6px; }
.empty p { font-size: 13px; color: var(--muted); margin-bottom: 18px; }

.skel { background: linear-gradient(90deg, #eef3f0 25%, #f6faf8 37%, #eef3f0 63%); background-size: 400% 100%; animation: sk 1.3s ease infinite; border-radius: 10px; }
@keyframes sk { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }

/* ---------------- Modal ---------------- */
.modal-mask {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(8, 20, 15, .38);
  backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center; padding: 24px;
  animation: fade .16s ease;
}
@keyframes fade { from { opacity: 0; } }
.modal {
  background: var(--surface); border-radius: 20px; width: 100%; max-width: 460px;
  box-shadow: var(--shadow-lg); overflow: hidden;
  animation: pop .2s cubic-bezier(.2, .9, .3, 1.2);
  max-height: calc(100vh - 64px); display: flex; flex-direction: column;
}
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(.97); } }
.modal.wide { max-width: 620px; }
.modal-head { padding: 22px 24px 0; display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.modal-head h3 { font-size: 17px; letter-spacing: -.02em; }
.modal-head p { font-size: 12.8px; color: var(--muted); margin-top: 5px; }
.modal-x {
  width: 30px; height: 30px; border-radius: 8px; border: 0; background: var(--bg-deep);
  color: var(--muted); display: grid; place-items: center; flex: none;
}
.modal-x:hover { background: #e6ece9; color: var(--ink); }
.modal-body { padding: 20px 24px; overflow: auto; }
.modal-foot { padding: 16px 24px; border-top: 1px solid var(--line); display: flex; gap: 10px; justify-content: flex-end; background: #fcfdfd; }
.modal-foot .btn { min-width: 92px; }

/* ---------------- Form ---------------- */
.field { margin-bottom: 14px; }
.field > label { display: block; font-size: 12.5px; font-weight: 600; color: var(--ink-2); margin-bottom: 6px; }
.input, .select, .textarea {
  width: 100%; height: 42px; border-radius: 10px; border: 1px solid var(--line-2);
  padding: 0 13px; font-size: 14px; font-family: inherit; background: var(--surface); color: var(--ink);
  transition: border-color .15s, box-shadow .15s; outline: none;
}
.textarea { height: auto; min-height: 104px; padding: 11px 13px; resize: vertical; line-height: 1.6; }
.input:focus, .select:focus, .textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(0, 181, 106, .12); }
.input::placeholder, .textarea::placeholder { color: #a5b3ad; }
.field-hint { font-size: 11.5px; color: var(--muted); margin-top: 5px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* 选项组 */
.choices { display: grid; gap: 9px; }
.choice {
  display: flex; align-items: center; gap: 12px; padding: 13px 15px;
  border: 1px solid var(--line-2); border-radius: 11px; cursor: pointer;
  transition: border-color .15s, background .15s;
}
.choice:hover { border-color: #c4d6cd; }
.choice.sel { border-color: var(--brand); background: var(--brand-soft); }
.choice-radio {
  width: 17px; height: 17px; border-radius: 50%; border: 1.5px solid #c8d6cf; flex: none;
  display: grid; place-items: center;
}
.choice.sel .choice-radio { border-color: var(--brand); }
.choice.sel .choice-radio::after { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--brand); }
.choice-body { flex: 1; }
.choice-body b { display: block; font-size: 13.5px; font-weight: 600; }
.choice-body span { font-size: 11.8px; color: var(--muted); }
.choice-price { font-weight: 700; font-size: 14px; font-variant-numeric: tabular-nums; }

.month-picker { display: flex; gap: 8px; }
.month-picker button {
  flex: 1; height: 38px; border-radius: 9px; border: 1px solid var(--line-2);
  background: var(--surface); font-size: 13px; font-weight: 600; color: var(--ink-2);
}
.month-picker button.sel { border-color: var(--brand); background: var(--brand-soft); color: var(--brand-deep); }

/* 订单汇总 */
.summary {
  background: var(--bg-deep); border-radius: 12px; padding: 14px 16px; margin-top: 4px;
  display: flex; flex-direction: column; gap: 8px;
}
.summary div { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); }
.summary div b { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.summary div.total { border-top: 1px dashed var(--line-2); padding-top: 9px; margin-top: 2px; color: var(--ink); font-weight: 600; }
.summary div.total b { font-size: 19px; color: var(--brand-deep); }

/* ---------------- Toast ---------------- */
#toastRoot { position: fixed; top: 78px; left: 50%; transform: translateX(-50%); z-index: 200; display: flex; flex-direction: column; gap: 8px; align-items: center; pointer-events: none; }
.toast {
  background: var(--dark); color: #eafaf2; padding: 10px 18px; border-radius: 11px;
  font-size: 13.2px; font-weight: 500; box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: 9px;
  animation: tin .22s cubic-bezier(.2, .9, .3, 1.2);
  max-width: 460px;
}
@keyframes tin { from { opacity: 0; transform: translateY(-8px); } }
.toast.err { background: #7f1d1d; color: #ffe8e8; }
.toast.ok { background: #063d2a; color: #d6fbec; }
.toast i { width: 6px; height: 6px; border-radius: 50%; background: #3ee08f; flex: none; }
.toast.err i { background: #ff8b8b; }

/* ---------------- Auth split ---------------- */
.auth-wrap { min-height: calc(100vh - 66px); display: grid; place-items: center; padding: 48px 24px; }
.auth-card {
  width: 100%; max-width: 400px; background: var(--surface); border: 1px solid var(--line);
  border-radius: 20px; padding: 34px 32px; box-shadow: var(--shadow-md);
}
.auth-card h2 { font-size: 23px; letter-spacing: -.03em; }
.auth-card > p { font-size: 13.5px; color: var(--muted); margin: 7px 0 24px; }
.auth-switch { text-align: center; font-size: 13px; color: var(--muted); margin-top: 18px; }
.auth-switch button { color: var(--brand-deep); font-weight: 600; background: none; border: 0; font-size: 13px; }
.demo-hint {
  margin-top: 18px; background: var(--bg-deep); border-radius: 10px; padding: 11px 13px;
  font-size: 11.8px; color: var(--muted); font-family: var(--mono); line-height: 1.7;
}

/* ---------------- Ticket ---------------- */
.ticket-list { display: flex; flex-direction: column; gap: 10px; }
.ticket-item {
  background: var(--surface); border: 1px solid var(--line); border-radius: 13px;
  padding: 16px 18px; display: flex; align-items: center; gap: 14px; cursor: pointer;
  transition: border-color .15s, box-shadow .15s;
}
.ticket-item:hover { border-color: #cfe0d8; box-shadow: var(--shadow-sm); }
.ticket-item h4 { font-size: 14px; font-weight: 620; }
.ticket-item p { font-size: 12.2px; color: var(--muted); margin-top: 3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ticket-item .spacer { flex: 1; }
.msg { display: flex; gap: 10px; margin-bottom: 14px; }
.msg-av {
  width: 30px; height: 30px; border-radius: 8px; flex: none; display: grid; place-items: center;
  font-size: 11px; font-weight: 700;
}
.msg.admin .msg-av { background: var(--dark); color: #8df0c1; }
.msg.user .msg-av { background: var(--bg-deep); color: var(--ink-2); }
.msg-body { flex: 1; }
.msg-body .meta { font-size: 11.5px; color: var(--muted); margin-bottom: 4px; display: flex; gap: 8px; align-items: center; }
.msg-bubble { background: var(--bg-deep); border-radius: 10px; padding: 10px 13px; font-size: 13.2px; line-height: 1.62; white-space: pre-wrap; }
.msg.admin .msg-bubble { background: var(--brand-soft); }

/* ---------------- Toast/Transition ---------------- */
.view { animation: viewIn .22s ease; }
@keyframes viewIn { from { opacity: 0; transform: translateY(6px); } }

/* ---------------- Responsive ---------------- */
@media (max-width: 1020px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding: 48px 0 40px; }
  .plans { grid-template-columns: repeat(2, 1fr); }
  .panel-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .wrap, .nav-inner { width: calc(100% - 32px); }
  .nav-inner { gap: 12px; height: 60px; }
  .nav-links { display: none; }
  .hero h1 { font-size: 34px; }
  .hero-trust { flex-wrap: wrap; gap: 14px; }
  .strip { grid-template-columns: 1fr 1fr; }
  .strip div:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }
  .strip div:nth-child(4) { border-top: 1px solid var(--line); }
  .plans { grid-template-columns: 1fr; }
  .faq { grid-template-columns: 1fr; }
  .mini-stats { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .section { padding: 46px 0; }
  .hero-cta { flex-direction: column; align-items: stretch; }
}

/* ---------------- 用户下拉菜单 ---------------- */
.menu {
  position: fixed; z-index: 120; width: 218px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow-md); padding: 6px; animation: pop .16s ease;
}
.menu-head { padding: 10px 12px 12px; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.menu-head b { display: block; font-size: 13.5px; font-weight: 660; }
.menu-head span { font-size: 11.5px; color: var(--muted); }
.menu button, .menu a {
  display: flex; align-items: center; gap: 9px; width: 100%; height: 36px; padding: 0 11px;
  border: 0; background: none; border-radius: 8px; font-size: 13.2px; color: var(--ink-2);
  text-align: left; font-weight: 500;
}
.menu button:hover, .menu a:hover { background: var(--bg-deep); color: var(--ink); }
.menu button.danger { color: var(--danger); }
.menu button.danger:hover { background: var(--danger-soft); }
.menu svg { flex: none; }
.menu-sep { height: 1px; background: var(--line); margin: 5px 0; }

/* ---------------- 站内通知条 ---------------- */
.notice-bar {
  display: flex; align-items: center; gap: 12px;
  background: linear-gradient(100deg, var(--brand-soft), #f4fdf9);
  border: 1px solid #cbebdc; border-radius: 14px;
  padding: 13px 16px; margin-bottom: 18px;
}
.notice-ico {
  width: 30px; height: 30px; border-radius: 9px; flex: none;
  background: rgba(0, 181, 106, .12); color: var(--brand-deep);
  display: grid; place-items: center;
}
.notice-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.notice-body b { font-size: 13.2px; font-weight: 650; }
.notice-body span {
  font-size: 12.3px; color: #4d6b5e; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
