/* ============ GPay 设计系统 —— 模仿 epay 直接到账支付平台 ============ */
:root {
  --dark: #1a140f;
  --dark-2: #241c15;
  --dark-3: #2e251c;
  --cream: #f1ecdf;
  --cream-2: #f7f4ea;
  --cream-3: #fbf9f2;
  --line: #e0d9c6;
  --line-2: #d5ccb5;
  --orange: #f04e23;
  --orange-d: #d84315;
  --ink: #1d1712;
  --muted: #857b69;
  --green: #2e7d32;
  --red: #c62828;
  --radius: 14px;
  --serif: "Georgia", "Times New Roman", "Songti SC", "SimSun", serif;
  --sans: "Inter", "Segoe UI", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --sidebar-w: 252px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  background: var(--cream);
  color: var(--ink);
  font-size: 14.5px;
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; font-size: 14px; }
code { font-family: "JetBrains Mono", Consolas, monospace; font-size: 0.92em; background: rgba(240,78,35,.07); color: #b23a15; padding: 1px 6px; border-radius: 6px; }
pre.code { background: var(--dark); color: #f3ecd9; padding: 18px 20px; border-radius: 12px; overflow-x: auto; font-size: 13px; line-height: 1.7; margin: 14px 0; }
.serif { font-family: var(--serif); letter-spacing: .01em; }
.muted { color: var(--muted); }
.small { font-size: 12.5px; }
.block { display: block; }
.center { text-align: center; }
.mono { font-family: Consolas, monospace; }
.ellipsis { display: inline-block; max-width: 200px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; vertical-align: bottom; }
.link { color: var(--orange); font-weight: 600; }
.link:hover { text-decoration: underline; }

.ic { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ============ 按钮 ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 1px solid transparent; border-radius: 10px;
  padding: 10px 18px; font-size: 14px; font-weight: 600;
  transition: all .15s ease; white-space: nowrap;
}
.btn-sm { padding: 6px 12px; font-size: 13px; border-radius: 8px; }
.btn-lg { padding: 14px 26px; font-size: 15.5px; border-radius: 12px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--orange); color: #fff; box-shadow: 0 6px 16px -6px rgba(240,78,35,.55); }
.btn-primary:hover { background: var(--orange-d); }
.btn-dark { background: var(--dark); color: #f5efe2; }
.btn-dark:hover { background: var(--dark-3); }
.btn-cream { background: var(--cream-3); color: var(--ink); border-color: var(--line-2); }
.btn-cream:hover { border-color: var(--ink); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-ghost-light { background: transparent; color: #f5efe2; border-color: rgba(245,239,226,.35); }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.icon-btn {
  display: inline-flex; align-items: center; gap: 6px; background: transparent; border: none;
  padding: 8px; border-radius: 8px; color: inherit; font-size: 13px; font-weight: 600;
}
.icon-btn:hover { background: rgba(0,0,0,.06); }
.icon-btn.danger { color: var(--red); }
.icon-btn.danger:hover { background: rgba(198,40,40,.08); }

/* ============ 公开站顶部 ============ */
.pubnav { background: var(--cream); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.pubnav-in { max-width: 1200px; margin: 0 auto; padding: 14px 24px; display: flex; align-items: center; gap: 28px; }
.publinks { display: flex; gap: 24px; font-size: 14px; color: #4d453a; margin-left: auto; }
.publinks a:hover { color: var(--orange); }
.pubnav-right { display: flex; gap: 10px; }
.pubfoot { background: var(--dark); color: #cfc6b4; margin-top: 70px; }
.pubfoot-in { max-width: 1200px; margin: 0 auto; padding: 34px 24px; display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.pubfoot .publinks { margin-left: auto; color: #b9ae98; }
.pubfoot-note { width: 100%; font-size: 12.5px; color: #8d8270; }

/* Logo */
.logo { display: inline-flex; align-items: center; gap: 10px; font-size: 19px; }
.logo-mark {
  width: 34px; height: 34px; background: var(--orange); color: #fff; border-radius: 9px;
  display: inline-flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: 19px; font-weight: 700;
}
.logo-mark.dark { background: var(--dark); }
.logo-tag { font-size: 10px; letter-spacing: .14em; background: rgba(240,78,35,.15); color: var(--orange); border-radius: 6px; padding: 2px 7px; font-weight: 700; }

/* Kicker / 标题 */
.kicker { display: inline-flex; align-items: center; gap: 6px; color: var(--orange); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.kicker.light { color: #ffb59d; }
h1 { font-size: 30px; font-weight: 900; letter-spacing: -.01em; line-height: 1.15; margin: 6px 0 8px; }
h2 { font-size: 26px; font-weight: 900; line-height: 1.2; }
h2 em, h1 em { font-style: normal; color: var(--orange); }
h3 { font-size: 17px; font-weight: 800; }
p { margin: 4px 0; }

/* ============ 落地页 ============ */
.hero { background: linear-gradient(160deg, #f6e7d7 0%, var(--cream) 60%); overflow: hidden; }
.hero-in { max-width: 1200px; margin: 0 auto; padding: 84px 24px 64px; display: grid; grid-template-columns: 1.15fr .95fr; gap: 60px; align-items: center; }
.hero-copy h1 { font-size: 54px; line-height: 1.12; }
.hero-sub { color: #5c5344; font-size: 16.5px; max-width: 46ch; margin-top: 10px; }
.hero-cta { display: flex; gap: 14px; margin: 28px 0 18px; }
.hero-checks { list-style: none; display: flex; gap: 22px; flex-wrap: wrap; font-size: 13.5px; color: #4d453a; }
.hero-checks .ic { color: var(--green); width: 16px; height: 16px; vertical-align: -3px; margin-right: 5px; }
.hero-card {
  background: var(--dark); color: #f2ecdc; border-radius: 18px; padding: 26px 28px;
  box-shadow: 18px 18px 0 rgba(240,78,35,.16);
}
.hc-top { display: flex; justify-content: space-between; align-items: center; font-size: 12.5px; color: #a89c85; }
.hc-live { color: #8bd48b; display: inline-flex; align-items: center; gap: 6px; font-size: 12px; }
.hc-live i { width: 7px; height: 7px; border-radius: 50%; background: #58b558; display: inline-block; }
.hc-title { font-size: 20px; font-weight: 800; display: block; margin: 8px 0 22px; }
.hc-label { font-size: 12px; color: #a89c85; }
.hc-num { font-size: 58px; line-height: 1; color: #ffb59d; }
.hc-sub { font-size: 12.5px; color: #a89c85; margin-top: 4px; }
.hc-rows { border-top: 1px solid rgba(245,239,226,.14); margin-top: 24px; }
.hc-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 13px 0; border-bottom: 1px solid rgba(245,239,226,.14); font-size: 13px; }
.hc-row span { color: #a89c85; }
.hc-row .ic { width: 15px; height: 15px; color: #ffb59d; }
.hc-foot { display: flex; justify-content: space-between; padding-top: 16px; font-size: 12.5px; color: #cfc6b4; }
.hc-foot .ic { width: 15px; height: 15px; color: #8bd48b; }

.planstrip { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.planstrip-in { display: flex; align-items: stretch; background: var(--cream-2); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.ps-head { background: var(--dark); color: #f2ecdc; padding: 22px 26px; min-width: 220px; display: flex; flex-direction: column; gap: 4px; justify-content: center; }
.ps-head strong { font-size: 20px; }
.ps-head .kicker { color: #ffb59d; }
.ps-sub { font-size: 11.5px; color: #a89c85; }
.ps-item { display: flex; align-items: center; gap: 14px; padding: 22px 26px; border-right: 1px solid var(--line); flex: 1; }
.ps-item:hover { background: #fffdf6; }
.ps-idx { color: #b9ae98; font-size: 22px; }
.ps-meta { display: flex; flex-direction: column; }
.ps-rate { font-size: 12px; color: var(--muted); }
.ps-price { margin-left: auto; color: var(--muted); font-size: 12px; }
.ps-price .serif { font-size: 21px; color: var(--ink); }
.ps-cta { background: var(--orange); color: #fff; display: flex; align-items: center; gap: 8px; padding: 22px 26px; font-weight: 700; }
.ps-cta:hover { background: var(--orange-d); }

.section-head { max-width: 1200px; margin: 0 auto; padding: 0 24px 34px; }
.section-head p { color: #5c5344; max-width: 60ch; }
.section-head.row { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; width: 100%; }
.features4, .why, .flow, .pricing { max-width: 1200px; margin: 0 auto; padding: 70px 0 0; }
.grid4 { max-width: 1200px; margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.grid3 { max-width: 1200px; margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.f4card { background: var(--cream-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 8px; transition: all .15s; }
a.f4card:hover { border-color: var(--orange); transform: translateY(-2px); }
.f4-ico { width: 42px; height: 42px; border-radius: 11px; background: rgba(240,78,35,.1); color: var(--orange); display: flex; align-items: center; justify-content: center; margin-bottom: 8px; }
.f4-ico .ic { width: 21px; height: 21px; }
.f4-tag { font-size: 11px; letter-spacing: .12em; color: var(--muted); font-weight: 700; }
.f4card p { color: #5c5344; font-size: 13.5px; flex: 1; }
.f4card strong { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; color: var(--orange); }
.f4-num { font-size: 34px; color: var(--orange); line-height: 1; margin-bottom: 6px; }

.stable-hero { max-width: 1200px; margin: 0 auto; padding: 80px 24px 0; }
.sh-in { background: var(--dark); color: #f2ecdc; border-radius: 20px; padding: 48px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; }
.sh-copy h2 { margin: 8px 0 12px; }
.sh-copy > p { color: #b9ae98; max-width: 52ch; }
.sh-mid { border-top: 1px solid rgba(245,239,226,.14); margin-top: 26px; padding-top: 24px; display: flex; flex-direction: column; gap: 14px; }
.sh-badge { display: flex; gap: 12px; align-items: flex-start; }
.sh-badge .ic { color: #ffb59d; margin-top: 4px; }
.sh-badge strong { display: block; font-size: 15.5px; }
.sh-badge span { color: #a89c85; font-size: 12.5px; }
.sh-note { color: #b9ae98; font-size: 13.5px; }
.link-arrow { color: #ffb59d; font-weight: 700; display: inline-flex; gap: 8px; align-items: center; font-size: 14px; }
.link-arrow:hover { color: #fff; }
.sh-badges { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-content: center; }
.shb { border: 1px solid rgba(245,239,226,.16); border-radius: 14px; padding: 20px; }
.shb strong { font-size: 20px; color: #ffb59d; display: block; font-family: var(--serif); }
.shb span { color: #a89c85; font-size: 12px; }

.grid3 .pricecard { background: var(--cream-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.pricecard.featured { background: var(--dark); color: #f2ecdc; border-color: var(--dark); }
.pc-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.pc-top h3 { display: contents; }
.pc-top strong { font-size: 18px; }
.pc-idx { color: #b9ae98; font-size: 22px; }
.pc-status { font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.pricecard.featured .pc-status { color: #8bd48b; }
.pc-price { display: flex; align-items: baseline; gap: 8px; margin: 10px 0; }
.pc-unit { font-size: 12px; color: var(--muted); }
.pc-price strong { font-size: 34px; }
.pricecard.featured .pc-unit, .pricecard.featured .per { color: #a89c85; }
.per { color: var(--muted); font-size: 13px; }
.pc-rate { display: flex; align-items: baseline; gap: 4px; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pricecard.featured .pc-rate { border-color: rgba(245,239,226,.16); }
.pc-rate strong { font-size: 26px; color: var(--orange); }
.pricecard.featured .pc-rate strong { color: #ffb59d; }
.pc-cap { margin-left: auto; font-size: 11.5px; color: var(--muted); }
.pricecard ul { list-style: none; margin-top: 16px; display: flex; flex-direction: column; gap: 10px; font-size: 13.5px; }
.pricecard li .ic { width: 16px; height: 16px; color: var(--green); margin-right: 8px; vertical-align: -3px; }
.pricecard .btn { margin-top: 18px; }

/* ============ 认证页 ============ */
.auth-wrap { min-height: 100vh; display: grid; grid-template-columns: minmax(380px, 44%) 1fr; background: var(--cream); }
.auth-side { background: var(--dark); color: #f2ecdc; padding: 44px 52px; display: flex; flex-direction: column; }
.auth-side.admin .logo-tag { margin-left: 4px; }
.auth-crumb { color: #a89c85; font-size: 12.5px; letter-spacing: .08em; margin: 26px 0 10px; }
.auth-side h1 { font-size: 40px; }
.auth-side > p { color: #b9ae98; max-width: 40ch; }
.auth-points { list-style: none; margin: 30px 0 auto; display: flex; flex-direction: column; gap: 14px; }
.auth-points li { display: flex; align-items: center; gap: 14px; border: 1px solid rgba(245,239,226,.14); border-radius: 12px; padding: 12px 16px; }
.auth-points .idx { color: #ffb59d; font-size: 18px; }
.auth-main { display: flex; align-items: center; justify-content: center; padding: 40px 24px; }
.auth-card { width: 100%; max-width: 430px; }
.auth-card h2 { font-size: 30px; margin-bottom: 6px; }
.auth-alt { margin-top: 22px; padding-top: 16px; border-top: 1px dashed var(--line-2); color: var(--muted); font-size: 13px; }

/* 表单 */
.form { display: flex; flex-direction: column; gap: 16px; margin-top: 16px; }
.form.narrow { max-width: 420px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.flabel { font-size: 12.5px; font-weight: 700; color: #4d453a; }
.fwrap {
  display: flex; align-items: center; gap: 9px; background: var(--cream-3);
  border: 1px solid var(--line-2); border-radius: 10px; padding: 0 13px; transition: border-color .15s, box-shadow .15s;
}
.fwrap:focus-within { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(240,78,35,.13); }
.fwrap .ic { width: 16px; height: 16px; color: var(--muted); }
.fwrap input, .fwrap select, .fwrap textarea {
  flex: 1; border: none; background: transparent; padding: 11px 0; outline: none; color: var(--ink); min-width: 0;
}
.fwrap textarea { padding: 11px 0; resize: vertical; }
.fwrap input[disabled] { opacity: .55; }
.select-wrap { padding-right: 8px; }
.peek { background: none; border: none; color: var(--muted); padding: 4px; display: inline-flex; }
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.inline-form { display: flex; gap: 6px; align-items: center; }
.inline-form input { width: 90px; border: 1px solid var(--line-2); background: var(--cream-3); border-radius: 8px; padding: 6px 8px; outline: none; }
.inline-form input:focus { border-color: var(--orange); }

/* 提示条 */
.alert { display: flex; align-items: center; gap: 12px; border-radius: 12px; padding: 13px 16px; font-size: 13.5px; margin: 12px 0; }
.alert p { margin: 2px 0 0; }
.alert-error { background: #fdeceb; color: #a33; border: 1px solid #f3c2bd; }
.alert-info, .alert-tg { background: #fdf6ec; border: 1px solid rgba(240,78,35,.28); }
.alert-ok { background: #ecf6ec; border: 1px solid #cde3cd; color: #2c5e2f; }
.alert-warn { background: #fdf6ec; border: 1px solid #ecd9b7; color: #7a5b1f; }
.alert-tg .alert-ico {
  width: 36px; height: 36px; border-radius: 50%; background: var(--orange); color: #fff;
  display: flex; align-items: center; justify-content: center; flex: none;
}
.alert-tg { justify-content: space-between; }
.alert-tg .btn { flex: none; }
.alert .ic { flex: none; }

/* ============ 门户骨架 ============ */
.shell { display: flex; min-height: 100vh; }
.sidebar {
  width: var(--sidebar-w); background: var(--dark); color: #e9e1cf;
  display: flex; flex-direction: column; padding: 20px 14px; position: sticky; top: 0; height: 100vh; overflow-y: auto;
}
.sidebar .logo { padding: 4px 8px 16px; }
.side-label { font-size: 10.5px; letter-spacing: .14em; color: #857b69; padding: 10px 10px 6px; text-transform: uppercase; }
.nav { display: flex; flex-direction: column; gap: 3px; }
.navitem, .navsub {
  display: flex; align-items: center; gap: 11px; padding: 9px 10px; border-radius: 10px;
  color: #b3a893; position: relative; font-size: 13.5px;
}
.navitem .ic, .navsub .ic { width: 17px; height: 17px; }
.navitem:hover, .navsub:hover { background: var(--dark-2); color: #f2ecdc; }
.navitem.active { background: var(--dark-2); color: #fff; }
.navitem.active::after { content: ""; position: absolute; right: 6px; top: 20%; height: 60%; width: 3px; border-radius: 3px; background: var(--orange); }
.navsub { padding-left: 38px; font-size: 13px; }
.navsub.active { background: var(--dark-2); color: #fff; }
.navtxt { display: flex; flex-direction: column; line-height: 1.25; }
.navtxt strong { font-size: 13.5px; font-weight: 700; }
.navtxt em { font-style: normal; font-size: 10.5px; color: #857b69; letter-spacing: .04em; }
.navsep { height: 1px; background: rgba(245,239,226,.1); margin: 9px 6px; }
.navgroup { font-size: 10.5px; letter-spacing: .14em; color: #857b69; padding: 12px 10px 6px; text-transform: uppercase; }
.side-foot { margin-top: auto; padding: 16px 10px 4px; font-size: 11px; color: #6d6353; border-top: 1px solid rgba(245,239,226,.1); }
.side-link { display: inline-flex; gap: 8px; align-items: center; color: #b3a893; font-size: 13px; }
.side-link:hover { color: #fff; }

.main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.topbar {
  background: var(--cream-2); border-bottom: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between; padding: 14px 34px; position: sticky; top: 0; z-index: 40;
}
.crumb { display: flex; flex-direction: column; line-height: 1.3; }
.crumb span { font-size: 11.5px; color: var(--orange); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.crumb strong { font-size: 16.5px; font-weight: 800; }
.topbar-right { display: flex; align-items: center; gap: 12px; }
.topbar-right form { margin: 0; }
.userchip { display: flex; align-items: center; gap: 10px; }
.avatar {
  width: 36px; height: 36px; border-radius: 10px; background: var(--cream); border: 1px solid var(--line-2);
  display: flex; align-items: center; justify-content: center; color: var(--muted);
}
.usermeta { display: flex; flex-direction: column; line-height: 1.3; }
.usermeta span { font-size: 11px; color: var(--muted); }
.usermeta strong { font-size: 13.5px; }

.content { padding: 30px 34px 60px; max-width: 1280px; width: 100%; margin: 0 auto; }

/* 页头 */
.pagehead { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.pagehead h1 { font-size: 34px; }
.btnrow { display: flex; gap: 10px; }

/* 统计卡 */
.stats4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 22px; }
.stats3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 22px; }
.statcard {
  background: var(--cream-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 20px; display: flex; flex-direction: column; gap: 4px;
}
.statcard .stat-ico { color: var(--orange); margin-bottom: 8px; }
.statcard.primary { background: var(--orange); border-color: var(--orange); color: #fff; }
.statcard.primary .stat-label, .statcard.primary .stat-cap { color: rgba(255,255,255,.85); }
.stat-label { font-size: 12px; font-weight: 700; letter-spacing: .06em; color: var(--muted); }
.stat-num { font-size: 26px; font-weight: 700; word-break: break-all; }
.stat-cap { font-size: 11.5px; color: var(--muted); }
.stat-mini { font-size: 13px; color: var(--muted); }

/* 卡片 */
.card { background: var(--cream-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; margin-bottom: 22px; }
.card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; margin-bottom: 12px; }
.card-head.row { margin-top: 18px; border-top: 1px dashed var(--line); padding-top: 18px; }
.card-head h3 { font-size: 19px; }
.grid-2-1 { display: grid; grid-template-columns: 1.4fr 1fr; gap: 22px; align-items: start; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: start; }

/* 图表 */
.chart { display: flex; align-items: flex-end; gap: 10px; height: 190px; padding: 8px 0 0; }
.chart-col { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; height: 100%; }
.chart-val { font-size: 11px; color: var(--muted); font-family: var(--serif); }
.chart-count { font-size: 11px; color: var(--orange); font-weight: 700; }
.chart-bar { width: 100%; max-width: 46px; flex: 1; display: flex; align-items: flex-end; background: rgba(240,78,35,.06); border-radius: 8px; overflow: hidden; }
.chart-bar i { display: block; width: 100%; background: linear-gradient(180deg, var(--orange), #ff7a52); border-radius: 8px 8px 0 0; min-height: 2px; transition: height .3s; }
.chart-day { font-size: 11.5px; color: var(--muted); }
.chart-legend { display: flex; gap: 40px; margin-top: 16px; border-top: 1px dashed var(--line); padding-top: 14px; }
.chart-legend div { display: flex; flex-direction: column; }
.chart-legend strong { font-size: 19px; font-family: var(--serif); }

/* 表格 */
.table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.table th {
  text-align: left; font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted); font-weight: 700; padding: 10px 10px; border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.table td { padding: 12px 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table tr:last-child td { border-bottom: none; }
.table tbody tr:hover { background: rgba(240,78,35,.03); }
td.empty { text-align: center; color: var(--muted); padding: 42px 10px !important; font-size: 13.5px; }
td.empty .ic { width: 34px; height: 34px; opacity: .4; display: block; margin: 0 auto 8px; }
td.num { font-family: var(--serif); white-space: nowrap; }
td.num.pos { color: var(--green); }
.row-actions { white-space: nowrap; }
.row-actions .btn { margin-right: 4px; }

/* 标签 */
.tag { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 700; border-radius: 999px; padding: 3px 10px; background: rgba(0,0,0,.06); }
.tag .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.tag-paid, .tag-success, .tag-on { background: rgba(46,125,50,.12); color: var(--green); }
.tag-pending, .tag-waiting { background: rgba(240,78,35,.12); color: var(--orange); }
.tag-expired, .tag-cancelled, .tag-failed, .tag-off { background: rgba(0,0,0,.07); color: var(--muted); }
.tag.small { margin-left: 6px; font-size: 10px; padding: 1px 7px; }
.type-topup { background: rgba(46,125,50,.12); color: var(--green); }
.type-fee { background: rgba(240,78,35,.12); color: var(--orange); }
.type-reserve { background: rgba(33,88,163,.12); color: #2158a3; }
.type-release { background: rgba(0,0,0,.06); color: var(--muted); }
.badge-ok { display: inline-flex; align-items: center; border: 1px solid #cde3cd; color: var(--green); background: #ecf6ec; border-radius: 8px; padding: 7px 13px; font-size: 12.5px; font-weight: 700; }

/* 徽标统计 */
.pillstats { display: flex; gap: 14px; }
.pillstat { flex: 1; background: var(--cream-3); border: 1px solid var(--line); border-radius: 12px; padding: 16px; text-align: center; }
.pillstat strong { display: block; font-size: 26px; font-family: var(--serif); }
.pillstat span { font-size: 12px; color: var(--muted); }
.rules { list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: 13.5px; color: #4d453a; }
.rules .ic { color: var(--green); width: 16px; height: 16px; margin-right: 8px; vertical-align: -3px; }

/* 会员页 */
.member-now { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.member-block { display: flex; flex-direction: column; gap: 4px; border-right: 1px dashed var(--line); padding-right: 20px; }
.member-block:last-child { border-right: none; }
.member-title { display: flex; align-items: center; gap: 10px; }
.member-title .ic { color: var(--orange); width: 20px; height: 20px; }
.member-title strong { font-size: 21px; }
.member-num { font-size: 26px; color: var(--orange); }
.cycle-toggle { display: inline-flex; background: var(--cream-3); border: 1px solid var(--line-2); border-radius: 10px; padding: 4px; gap: 4px; margin-bottom: 16px; }
.cycle-toggle button { border: none; background: transparent; border-radius: 8px; padding: 7px 16px; font-size: 13px; font-weight: 700; color: var(--muted); }
.cycle-toggle button.on { background: var(--dark); color: #fff; }
.pricecard.compact .pc-price strong { font-size: 28px; }

/* 二维码 */
.qr-thumb { width: 44px; height: 44px; border-radius: 8px; border: 1px solid var(--line); background: #fff; }
.co-qr { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px; display: inline-block; }
.co-qr img { width: 200px; height: 200px; display: block; }

/* 收银台 */
.bare-body { background: var(--cream); }
.checkout-wrap { max-width: 640px; margin: 0 auto; padding: 44px 20px 70px; }
.co-logo { margin-bottom: 22px; }
.checkout-card { background: var(--cream-2); border: 1px solid var(--line); border-radius: 18px; padding: 30px 32px; box-shadow: 0 20px 50px -30px rgba(26,20,15,.4); }
.co-head { display: flex; justify-content: space-between; gap: 16px; border-bottom: 1px dashed var(--line); padding-bottom: 18px; margin-bottom: 16px; }
.co-merchant { font-size: 12px; color: var(--muted); font-weight: 700; letter-spacing: .06em; }
.co-head h1 { font-size: 24px; }
.co-amount { text-align: right; }
.co-cur { font-size: 13px; color: var(--muted); margin-right: 6px; }
.co-amount strong { font-size: 36px; color: var(--orange); }
.co-meta { display: flex; justify-content: space-between; gap: 12px; font-size: 12.5px; color: var(--muted); margin-bottom: 20px; }
.co-meta .ic { width: 14px; height: 14px; vertical-align: -2px; }
.co-section h3 { margin-bottom: 6px; }
.co-center { text-align: center; }
.co-center .co-qr { margin: 10px auto 14px; }
.co-paynum { font-size: 20px; color: var(--orange); }
.co-field { display: flex; align-items: center; gap: 10px; margin: 12px 0; background: var(--cream-3); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; }
.co-field > span { font-size: 12px; color: var(--muted); flex: none; }
.co-field code { flex: 1; overflow: hidden; text-overflow: ellipsis; background: none; padding: 0; }
.co-foot { margin-top: 22px; padding-top: 16px; border-top: 1px dashed var(--line); font-size: 12px; color: var(--muted); text-align: center; }
.co-foot .ic { width: 14px; height: 14px; color: var(--green); vertical-align: -2px; }
.co-state { text-align: center; padding: 40px 0 30px; }
.co-state-ico { width: 74px; height: 74px; border-radius: 50%; margin: 0 auto 18px; display: flex; align-items: center; justify-content: center; }
.co-state.ok .co-state-ico { background: #e5f2e5; color: var(--green); }
.co-state.bad .co-state-ico { background: #fdeceb; color: var(--red); }
.co-state-ico .ic { width: 34px; height: 34px; }
.co-state h1 { font-size: 26px; }
.chain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 14px 0; }
.chain-item { background: var(--cream-3); border: 1px solid var(--line-2); border-radius: 12px; padding: 12px; text-align: left; transition: all .15s; }
.chain-item strong { display: block; text-transform: capitalize; }
.chain-item span { font-size: 12px; color: var(--muted); text-transform: uppercase; }
.chain-item:hover { border-color: var(--orange); }
.chain-item.sel { border-color: var(--orange); background: rgba(240,78,35,.07); }
.dev-tools { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 16px; padding: 10px; border: 1px dashed var(--orange); border-radius: 10px; background: rgba(240,78,35,.05); font-size: 12.5px; color: var(--orange-d); font-weight: 700; }

/* 弹窗 */
.modal { position: fixed; inset: 0; background: rgba(20,15,10,.55); display: none; align-items: flex-start; justify-content: center; padding: 60px 16px; z-index: 100; overflow-y: auto; }
.modal.open { display: flex; }
.modal-card { background: var(--cream-2); border-radius: 16px; width: 100%; max-width: 460px; padding: 24px 26px; box-shadow: 0 30px 80px -20px rgba(0,0,0,.5); }
.modal-card.wide { max-width: 640px; }
.modal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.modal-head h3 { font-size: 18px; }
.key-reveal { margin-top: 14px; }
.key-full { display: block; font-size: 15px; padding: 12px 14px; background: var(--dark); color: #ffd9c4; border-radius: 10px; word-break: break-all; margin: 10px 0; }

/* 文档页 */
.doc-summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; padding: 18px 22px; }
.doc-sum-item { display: flex; align-items: center; gap: 12px; }
.doc-sum-item > div { display: flex; flex-direction: column; gap: 2px; }
.doc-sum-item .ic { color: var(--orange); width: 22px; height: 22px; }
.doc-layout { display: grid; grid-template-columns: 230px 1fr; gap: 22px; align-items: start; }
.doc-toc { position: sticky; top: 86px; }
.toc { display: flex; flex-direction: column; gap: 2px; margin: 10px 0 14px; }
.toc a { padding: 7px 10px; border-radius: 8px; font-size: 13px; color: #4d453a; }
.toc a:hover { background: rgba(240,78,35,.07); color: var(--orange); }
.doccard h2 { font-size: 20px; margin: 26px 0 10px; scroll-margin-top: 90px; }
.doccard h2:first-child { margin-top: 0; }
.doccard h3 { margin: 18px 0 8px; }
.doccard ul, .doccard ol { padding-left: 22px; display: flex; flex-direction: column; gap: 6px; margin: 8px 0; }
.doccard blockquote { border-left: 3px solid var(--orange); background: rgba(240,78,35,.05); padding: 10px 16px; border-radius: 0 10px 10px 0; margin: 12px 0; font-size: 13.5px; }
.copyable { cursor: pointer; }

/* 解决方案页 */
.sol-hero { background: var(--dark); color: #f2ecdc; }
.sol-hero-in { max-width: 1100px; margin: 0 auto; padding: 90px 24px; }
.sol-hero h1 { font-size: 46px; }
.sol-hero p { color: #b9ae98; max-width: 56ch; font-size: 16px; }
.sol-body { max-width: 1100px; margin: 0 auto; padding: 44px 24px 20px; }
.sol-ico { width: 52px; height: 52px; border-radius: 14px; background: rgba(240,78,35,.1); color: var(--orange); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.sol-ico .ic { width: 26px; height: 26px; }
.sol-cta { display: flex; gap: 12px; margin: 30px 0 10px; }
.doccard { background: var(--cream-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 28px; }

/* 其它 */
.center-card { text-align: center; padding: 44px 24px; }
.center-card .muted { max-width: 52ch; margin: 6px auto; }
.tg-big { width: 72px; height: 72px; margin: 0 auto 14px; border-radius: 50%; background: rgba(240,78,35,.1); color: var(--orange); display: flex; align-items: center; justify-content: center; }
.tg-big .ic { width: 34px; height: 34px; }
#tgResult { margin-top: 18px; }
.narrow-card { display: flex; justify-content: center; }
.fsec { margin-top: 18px; padding-top: 14px; border-top: 1px dashed var(--line); font-size: 15px; }
.fsec:first-of-type { margin-top: 0; border-top: none; padding-top: 0; }
.switch-row { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--muted); }
.switch { position: relative; width: 46px; height: 26px; display: inline-block; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch i { position: absolute; inset: 0; background: var(--line-2); border-radius: 999px; transition: .2s; cursor: pointer; }
.switch i::before { content: ""; position: absolute; width: 20px; height: 20px; border-radius: 50%; background: #fff; top: 3px; left: 3px; transition: .2s; box-shadow: 0 2px 6px rgba(0,0,0,.25); }
.switch input:checked + i { background: var(--orange); }
.switch input:checked + i::before { transform: translateX(20px); }
.method-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
.method-item { text-align: left; background: var(--cream-3); border: 1px solid var(--line-2); border-radius: 12px; padding: 16px; display: flex; flex-direction: column; gap: 6px; }
.method-item .ic { color: var(--orange); width: 20px; height: 20px; }
.method-item p { font-size: 12.5px; color: var(--muted); }
.method-item:hover:not([disabled]) { border-color: var(--orange); }
.method-item.disabled { opacity: .55; cursor: not-allowed; }
.dl-card { background: linear-gradient(120deg, var(--dark) 0%, var(--dark-3) 100%); color: #f2ecdc; border-color: var(--dark); }
.dl-card .kicker { color: #ffb59d; }
.dl-card .muted { color: #a89c85; }
.dl-row { display: flex; align-items: center; gap: 18px; }
.dl-ico { width: 52px; height: 52px; flex: none; border-radius: 14px; background: rgba(240,78,35,.16); color: #ffb59d; display: flex; align-items: center; justify-content: center; }
.dl-row > div { flex: 1; }
.dl-row .btn { flex: none; }
.pager { display: flex; align-items: center; justify-content: flex-end; gap: 14px; margin-top: 14px; font-size: 13px; color: var(--muted); }

/* 支付测试 */
#tpSteps li { transition: all .2s; }
#tpSteps li[data-state="done"] { opacity: .6; }
#tpSteps li[data-state="active"] { color: var(--orange); font-weight: 700; }
#tpSteps li[data-state="active"] .ic { color: var(--orange); animation: pulse .9s ease-in-out infinite alternate; }
@keyframes pulse { from { opacity: .5; } to { opacity: 1; } }

/* 支付测试 */
.test-amount { text-align: center; font-size: 14px; color: var(--muted); margin: 12px 0 6px; }
.test-amount strong { font-size: 40px; color: var(--orange); display: block; }

/* 云监控授权步骤 */
.auth-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 14px; }
.auth-steps > div { display: flex; flex-direction: column; align-items: center; gap: 4px; background: var(--cream-3); border: 1px solid var(--line); border-radius: 10px; padding: 10px 6px; font-size: 11.5px; color: #4d453a; text-align: center; }
.auth-steps .idx { color: var(--orange); font-size: 15px; }
.spin { display: inline-block; animation: spin 1.2s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* toast */
#toast { position: fixed; left: 50%; bottom: 34px; transform: translateX(-50%) translateY(20px); background: var(--dark); color: #fff; padding: 11px 20px; border-radius: 12px; font-size: 13.5px; opacity: 0; pointer-events: none; transition: all .25s; z-index: 200; box-shadow: 0 12px 40px -12px rgba(0,0,0,.6); }
#toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* 响应式 */
@media (max-width: 1080px) {
  .grid4 { grid-template-columns: repeat(2, 1fr); }
  .stats4 { grid-template-columns: repeat(2, 1fr); }
  .grid-2-1, .grid-2, .sh-in, .hero-in, .auth-wrap { grid-template-columns: 1fr; }
  .doc-layout { grid-template-columns: 1fr; }
  .doc-toc { position: static; }
  .member-now { grid-template-columns: 1fr; }
  .planstrip-in { flex-wrap: wrap; }
  .hero-copy h1 { font-size: 40px; }
}
@media (max-width: 640px) {
  .grid4, .grid3, .stats4, .stats3 { grid-template-columns: 1fr; }
  .sidebar { display: none; }
  .content { padding: 20px 16px; }
  .frow { grid-template-columns: 1fr; }
}
