/* 批车帮 - 全站样式 */
:root {
  --navy: #173a5e;
  --navy2: #1f4a75;
  --navy3: #0f2a45;
  --amber: #c9962e;
  --amber2: #e8b64c;
  --red: #c2452d;
  --ink: #23303e;
  --muted: #68758a;
  --bg: #f4f6f9;
  --line: #e3e8ef;
  --card: #ffffff;
  --radius: 12px;
  --shadow: 0 2px 10px rgba(23, 58, 94, 0.07);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  font-size: 15px;
  line-height: 1.65;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.icon { width: 18px; height: 18px; flex: 0 0 auto; }

/* ---------- 顶条 / 页头 ---------- */
.topbar { background: var(--navy3); color: rgba(255, 255, 255, 0.85); font-size: 12.5px; }
.topbar__in { display: flex; justify-content: space-between; padding: 7px 20px; }
.topbar span { display: inline-flex; align-items: center; gap: 6px; }
.topbar .icon { width: 14px; height: 14px; color: var(--amber2); }
.hdr { background: var(--card); position: sticky; top: 0; z-index: 100; box-shadow: var(--shadow); }
.hdr__in { display: flex; align-items: center; gap: 26px; height: 66px; }
.logo { display: inline-flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.logo__mark { width: 42px; height: 42px; display: inline-flex; }
.logo__mark svg { width: 100%; height: 100%; }
.logo__txt { font-size: 21px; font-weight: 700; color: var(--navy); line-height: 1.15; display: inline-flex; flex-direction: column; }
.logo__txt small { font-size: 10.5px; font-weight: 400; color: var(--muted); letter-spacing: 1px; }
.nav { display: flex; gap: 4px; flex: 1 1 auto; justify-content: center; }
.nav__link { padding: 8px 14px; border-radius: 8px; font-size: 15px; color: var(--ink); position: relative; }
.nav__link:hover { color: var(--navy2); background: #eef3f8; }
.nav__link.on { color: var(--navy); font-weight: 600; }
.nav__link.on::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px;
  height: 3px; border-radius: 2px; background: var(--amber2);
}
.hdr__act { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.hdr-cart { position: relative; display: inline-flex; padding: 8px; color: var(--navy); }
.hdr-cart .icon { width: 21px; height: 21px; }
.hdr-cart__badge {
  position: absolute; top: 0; right: -2px; background: var(--red); color: #fff;
  font-size: 11px; min-width: 17px; height: 17px; border-radius: 9px;
  display: flex; align-items: center; justify-content: center; padding: 0 4px;
}
.hdr-out { color: var(--muted); font-size: 13.5px; }
.hdr-out:hover { color: var(--red); }
.hdr-burger { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.hdr-burger i { display: block; width: 20px; height: 2px; background: var(--navy); margin: 4px 0; border-radius: 2px; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  padding: 10px 22px; border-radius: 8px; font-size: 14.5px; cursor: pointer;
  border: none; transition: all 0.15s; font-family: inherit; line-height: 1.4;
}
.btn--primary { background: var(--navy); color: #fff; }
.btn--primary:hover { background: var(--navy2); }
.btn--amber { background: var(--amber); color: #fff; }
.btn--amber:hover { background: #b8872a; }
.btn--ghost { background: #fff; color: var(--navy); border: 1px solid var(--line); }
.btn--ghost:hover { border-color: var(--navy); }
.btn--danger { background: #fdf0ee; color: var(--red); border: 1px solid #f2d5cf; }
.btn--danger:hover { background: var(--red); color: #fff; }
.btn--sm { padding: 7px 15px; font-size: 13.5px; }
.btn--lg { padding: 13px 30px; font-size: 16px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: 0.55; cursor: not-allowed; }

/* ---------- 通用 ---------- */
.page { padding: 26px 0 50px; }
.section { padding: 46px 0; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.sec-head h2 { font-size: 24px; color: var(--navy); display: flex; align-items: center; gap: 10px; }
.sec-head h2::before { content: ""; width: 5px; height: 22px; border-radius: 3px; background: var(--amber2); }
.sec-head p { color: var(--muted); font-size: 14px; }
.sec-head .more { font-size: 13.5px; color: var(--navy2); }
.panel { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; }
.chips { display: flex; gap: 9px; flex-wrap: wrap; }
.chip {
  padding: 7px 17px; border-radius: 999px; border: 1px solid var(--line); background: #fff;
  font-size: 13.5px; color: var(--muted); cursor: pointer; font-family: inherit;
}
.chip:hover { border-color: var(--navy); color: var(--navy); }
.chip.on { background: var(--navy); border-color: var(--navy); color: #fff; }
.tag { display: inline-block; padding: 2px 9px; border-radius: 4px; font-size: 12px; background: #eef3f8; color: var(--navy2); }
.tag--amber { background: #faf3e2; color: #9a7117; }
.tag--green { background: #eaf5ee; color: #2e7d4f; }
.tag--red { background: #fdeeec; color: var(--red); }
.searchbar { display: flex; gap: 8px; max-width: 420px; }
.searchbar input {
  flex: 1; border: 1px solid var(--line); border-radius: 8px; padding: 9px 14px;
  font-size: 14px; font-family: inherit; outline: none; background: #fff;
}
.searchbar input:focus { border-color: var(--navy); }
.empty { text-align: center; padding: 56px 20px; color: var(--muted); }
.empty .icon { width: 44px; height: 44px; color: #c6cfda; margin: 0 auto 12px; }
.breadcrumb { font-size: 13px; color: var(--muted); margin-bottom: 16px; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--navy); }
.form-item { margin-bottom: 16px; }
.form-item label { display: block; font-size: 13.5px; color: var(--ink); margin-bottom: 6px; font-weight: 600; }
.form-item label em { color: var(--red); font-style: normal; margin-left: 2px; }
.form-item input, .form-item select, .form-item textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 8px; padding: 10px 13px;
  font-size: 14.5px; font-family: inherit; outline: none; background: #fff; color: var(--ink);
}
.form-item input:focus, .form-item select:focus, .form-item textarea:focus { border-color: var(--navy); }
.form-item textarea { min-height: 150px; resize: vertical; }
.form-item .tip { font-size: 12.5px; color: var(--muted); margin-top: 5px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.agree-line { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; color: var(--muted); margin: 14px 0; }
.agree-line input { width: auto; margin-top: 3px; }
.agree-line a { color: var(--navy2); }
.msg { border-radius: 8px; padding: 11px 15px; font-size: 13.5px; margin-bottom: 14px; }
.msg--err { background: #fdeeec; color: var(--red); }
.msg--ok { background: #eaf5ee; color: #2e7d4f; }

/* ---------- 首页 hero ---------- */
.hero { background: linear-gradient(120deg, #123253 0%, #1d4a75 55%, #265a8c 100%); color: #fff; overflow: hidden; }
.hero__in { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 40px; align-items: center; padding: 58px 20px 54px; }
.hero__tag { display: inline-flex; align-items: center; gap: 8px; background: rgba(232, 182, 76, 0.16); color: var(--amber2); border: 1px solid rgba(232, 182, 76, 0.4); padding: 5px 14px; border-radius: 999px; font-size: 13px; margin-bottom: 18px; }
.hero h1 { font-size: 40px; line-height: 1.28; letter-spacing: 1px; }
.hero h1 b { color: var(--amber2); }
.hero p { margin-top: 14px; color: rgba(255, 255, 255, 0.78); font-size: 15.5px; max-width: 520px; }
.hero__btns { display: flex; gap: 12px; margin-top: 26px; flex-wrap: wrap; }
.hero__stats { background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.14); border-radius: var(--radius); padding: 26px; backdrop-filter: blur(4px); }
.hero__stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 14px; }
.hstat { text-align: center; }
.hstat b { display: block; font-size: 30px; color: var(--amber2); font-family: Georgia, serif; }
.hstat span { font-size: 13px; color: rgba(255, 255, 255, 0.72); }
.hstat-line { border-bottom: 1px solid rgba(255, 255, 255, 0.12); padding-bottom: 16px; margin-bottom: 16px; }
.hero__service { margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, 0.12); display: flex; align-items: center; gap: 10px; font-size: 14px; color: rgba(255, 255, 255, 0.85); }
.hero__service .icon { color: var(--amber2); }

/* 模块卡 */
.mod-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.mod-card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 30px; display: flex; gap: 18px; align-items: flex-start; transition: transform 0.15s; }
.mod-card:hover { transform: translateY(-3px); }
.mod-card__icon { width: 54px; height: 54px; border-radius: 14px; background: #eef3f8; color: var(--navy); display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.mod-card__icon svg { width: 26px; height: 26px; }
.mod-card h3 { font-size: 18.5px; color: var(--navy); margin-bottom: 8px; }
.mod-card p { color: var(--muted); font-size: 14px; margin-bottom: 14px; }

/* 商品卡 */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.p-card { background: var(--card); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform 0.15s; display: flex; flex-direction: column; }
.p-card:hover { transform: translateY(-3px); }
.p-card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #e9edf2; }
.p-card__media img { width: 100%; height: 100%; object-fit: cover; }
.p-card__cat { position: absolute; left: 10px; top: 10px; background: rgba(15, 42, 69, 0.78); color: #fff; font-size: 12px; padding: 3px 10px; border-radius: 4px; }
.p-card__body { padding: 14px 16px 16px; display: flex; flex-direction: column; flex: 1; }
.p-card__name { font-size: 15px; font-weight: 600; color: var(--ink); line-height: 1.45; min-height: 44px; }
.p-card__name:hover { color: var(--navy2); }
.p-card__meta { font-size: 12.5px; color: var(--muted); margin-top: 6px; display: flex; gap: 6px; flex-wrap: wrap; }
.p-card__foot { margin-top: auto; padding-top: 10px; display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.price { color: var(--red); font-weight: 700; font-size: 19px; }
.price small { font-size: 12px; font-weight: 400; color: var(--muted); margin-left: 3px; }
.p-card__btn { font-size: 13px; color: var(--navy2); display: inline-flex; align-items: center; gap: 4px; }
.p-card__btn:hover { color: var(--amber); }

/* 信息卡（横排） */
.i-card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: flex; transition: transform 0.15s; }
.i-card:hover { transform: translateY(-2px); }
.i-card__media { flex: 0 0 258px; aspect-ratio: 16 / 10; overflow: hidden; background: #e9edf2; }
.i-card__media img { width: 100%; height: 100%; object-fit: cover; }
.i-card__body { padding: 16px 20px; flex: 1; display: flex; flex-direction: column; }
.i-card__top { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; flex-wrap: wrap; }
.i-card__title { font-size: 16.5px; font-weight: 600; color: var(--ink); line-height: 1.45; }
.i-card__title:hover { color: var(--navy2); }
.i-card__foot { margin-top: auto; padding-top: 10px; display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.i-card__pub { display: flex; align-items: center; gap: 6px; }
.i-card__pub .icon { width: 15px; height: 15px; }
.i-list { display: flex; flex-direction: column; gap: 16px; }
.ph-mask { font-family: Consolas, monospace; letter-spacing: 0.5px; }

/* 商家条 */
.m-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.m-card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; text-align: center; }
.m-card__logo { width: 52px; height: 52px; margin: 0 auto 12px; border-radius: 50%; background: linear-gradient(135deg, #eef3f8, #e2ebf4); color: var(--navy); display: flex; align-items: center; justify-content: center; font-size: 19px; font-weight: 700; }
.m-card h4 { font-size: 15px; color: var(--ink); }
.m-card p { font-size: 12.5px; color: var(--muted); margin-top: 4px; }

/* 服务保障 */
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.svc { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; }
.svc__icon { width: 44px; height: 44px; border-radius: 12px; background: #faf3e2; color: var(--amber); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.svc__icon svg { width: 22px; height: 22px; }
.svc h4 { font-size: 15.5px; color: var(--ink); margin-bottom: 6px; }
.svc p { font-size: 13px; color: var(--muted); }

/* CTA 条 */
.cta-band { background: linear-gradient(110deg, var(--navy) 0%, var(--navy2) 100%); border-radius: var(--radius); color: #fff; padding: 30px 34px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.cta-band h3 { font-size: 20px; margin-bottom: 6px; }
.cta-band h3 b { color: var(--amber2); }
.cta-band p { color: rgba(255, 255, 255, 0.75); font-size: 14px; }
.cta-band__btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* 主体信息条（静态） */
.biz-strip { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px 26px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.biz { font-size: 13px; color: var(--muted); display: flex; gap: 9px; align-items: flex-start; }
.biz .icon { color: var(--amber); margin-top: 2px; }
.biz b { display: block; color: var(--ink); font-size: 13.5px; }

/* ---------- 商城列表 ---------- */
.page-hd { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.page-hd h1 { font-size: 26px; color: var(--navy); display: flex; align-items: center; gap: 10px; }
.page-hd h1::before { content: ""; width: 5px; height: 24px; border-radius: 3px; background: var(--amber2); }
.page-hd p { color: var(--muted); font-size: 13.5px; margin-top: 4px; }
.filter-bar { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 20px; flex-wrap: wrap; background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 14px 18px; }

/* ---------- 商品详情 ---------- */
.pd { display: grid; grid-template-columns: 500px 1fr; gap: 30px; background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px; }
.pd__media img { width: 100%; border-radius: 10px; max-height: 480px; object-fit: contain; background: #eef1f5; }
.pd__cat { display: flex; gap: 8px; margin-bottom: 10px; flex-wrap: wrap; }
.pd h1 { font-size: 23px; color: var(--ink); line-height: 1.4; }
.pd__price { background: #fdf6f5; border: 1px solid #f6dcd6; border-radius: 10px; padding: 14px 18px; margin: 16px 0; display: flex; align-items: baseline; gap: 14px; }
.pd__price .price { font-size: 28px; }
.pd__specs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 22px; font-size: 13.5px; margin: 14px 0; }
.pd__specs div { color: var(--muted); }
.pd__specs b { color: var(--ink); font-weight: 600; }
.pd__detail { color: var(--ink); font-size: 14px; line-height: 1.8; }
.pd__btns { display: flex; gap: 12px; margin-top: 20px; flex-wrap: wrap; }
.merchant-box { margin-top: 24px; background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px 26px; }
.merchant-box__hd { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.merchant-box__logo { width: 46px; height: 46px; border-radius: 50%; background: #eef3f8; color: var(--navy); font-weight: 700; font-size: 17px; display: flex; align-items: center; justify-content: center; }
.merchant-box__tip { font-size: 13px; color: var(--muted); }
.merchant-box__tip--link { color: var(--navy2); margin-left: 8px; }
.contact-row { display: flex; gap: 22px; flex-wrap: wrap; font-size: 14px; color: var(--muted); }
.contact-row b { color: var(--ink); }
.contact-phone.is-open b { color: var(--navy2); font-family: Consolas, monospace; letter-spacing: 0.5px; }

/* ---------- 购物车 / 表格 ---------- */
.cart-table { width: 100%; border-collapse: collapse; table-layout: fixed; background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.cart-table th, .cart-table td { padding: 15px 14px; text-align: left; font-size: 14px; word-break: break-word; border-bottom: 1px solid var(--line); }
.cart-table th { background: #f0f4f8; color: var(--navy); font-size: 13px; font-weight: 600; }
.cart-table tr:last-child td { border-bottom: none; }
.qty-ctrl { display: inline-flex; align-items: center; gap: 8px; }
.qty-ctrl button { width: 26px; height: 26px; border-radius: 6px; border: 1px solid var(--line); background: #fff; cursor: pointer; font-size: 15px; color: var(--navy); line-height: 1; }
.qty-ctrl span { min-width: 22px; text-align: center; }
.cart-sum { margin-top: 18px; display: flex; justify-content: flex-end; align-items: center; gap: 22px; background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px 24px; }
.cart-sum .price { font-size: 24px; }

/* ---------- 信息详情 ---------- */
.idt { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 30px 34px; }
.idt__meta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; font-size: 13px; color: var(--muted); margin: 12px 0 20px; }
.idt h1 { font-size: 25px; color: var(--ink); line-height: 1.4; }
.idt__img { border-radius: 10px; overflow: hidden; margin-bottom: 22px; }
.idt__img img { width: 100%; max-height: 480px; object-fit: cover; }
.idt__body p { margin-bottom: 14px; font-size: 15px; line-height: 1.9; color: #37424e; }
.contact-card { margin-top: 24px; background: #f7f9fb; border: 1px solid var(--line); border-radius: 10px; padding: 20px 24px; }
.contact-card__hd { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.contact-card__ava { width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: var(--amber2); font-size: 17px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.contact-rows { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; font-size: 14px; color: var(--muted); }
.contact-rows b { color: var(--ink); font-weight: 600; }
.own-banner { background: #faf3e2; border: 1px solid #f0dfb2; color: #9a7117; border-radius: 8px; padding: 10px 16px; font-size: 13.5px; margin-bottom: 16px; }

/* ---------- 登录注册 ---------- */
.auth-wrap { max-width: 440px; margin: 40px auto; }
.auth-card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 34px; }
.auth-card h1 { font-size: 22px; color: var(--navy); text-align: center; margin-bottom: 6px; }
.auth-card .sub { text-align: center; color: var(--muted); font-size: 13.5px; margin-bottom: 22px; }
.auth-alt { text-align: center; font-size: 13.5px; color: var(--muted); margin-top: 16px; }
.auth-alt a { color: var(--navy2); }

/* ---------- 个人中心 ---------- */
.mine { display: grid; grid-template-columns: 250px 1fr; gap: 22px; align-items: start; }
.mine-side { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.mine-side__user { background: linear-gradient(135deg, var(--navy) 0%, var(--navy2) 100%); color: #fff; padding: 24px 20px; }
.mine-side__ava { width: 52px; height: 52px; border-radius: 50%; background: rgba(255, 255, 255, 0.16); display: flex; align-items: center; justify-content: center; margin-bottom: 12px; }
.mine-side__ava .icon { width: 26px; height: 26px; color: var(--amber2); }
.mine-side__phone { font-size: 17px; font-weight: 700; font-family: Consolas, monospace; letter-spacing: 0.5px; }
.mine-side__row { display: flex; align-items: center; gap: 8px; margin-top: 8px; font-size: 12.5px; color: rgba(255, 255, 255, 0.8); flex-wrap: wrap; }
.badge { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: 11.5px; background: rgba(232, 182, 76, 0.2); color: var(--amber2); border: 1px solid rgba(232, 182, 76, 0.45); }
.badge--plain { background: rgba(255, 255, 255, 0.12); color: rgba(255, 255, 255, 0.85); border: 1px solid rgba(255, 255, 255, 0.25); }
.mine-side__gold { display: flex; justify-content: space-between; align-items: center; padding: 13px 20px; border-bottom: 1px solid var(--line); font-size: 13.5px; color: var(--muted); }
.mine-side__gold b { font-size: 17px; color: var(--amber); font-family: Consolas, monospace; }
.mine-menu a, .mine-menu button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 13px 20px; font-size: 14px; color: var(--ink); background: none; border: none; cursor: pointer; font-family: inherit; border-left: 3px solid transparent; text-align: left; }
.mine-menu a:hover, .mine-menu button:hover { background: #f2f6fa; }
.mine-menu .on { background: #eef3f8; color: var(--navy); font-weight: 600; border-left-color: var(--amber2); }
.mine-menu .icon { width: 17px; height: 17px; color: var(--muted); }
.mine-menu .on .icon { color: var(--navy); }
.mine-main { display: flex; flex-direction: column; gap: 18px; }
.mine-panel { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; }
.mine-panel h3 { font-size: 16.5px; color: var(--navy); margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }
.mine-panel h3 .icon { color: var(--amber); }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.stat-card { background: #f7f9fb; border: 1px solid var(--line); border-radius: 10px; padding: 16px; text-align: center; }
.stat-card b { display: block; font-size: 24px; color: var(--navy); font-family: Consolas, monospace; }
.stat-card span { font-size: 12.5px; color: var(--muted); }
.qline { background: #f7f9fb; border: 1px solid var(--line); border-radius: 10px; padding: 12px 16px; font-size: 13.5px; color: var(--muted); margin-bottom: 16px; }
.qline b { color: var(--navy2); }
.mine-item { display: flex; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--line); align-items: center; }
.mine-item:last-child { border-bottom: none; }
.mine-item__img { width: 108px; height: 68px; border-radius: 8px; overflow: hidden; flex: 0 0 auto; background: #e9edf2; }
.mine-item__img img { width: 100%; height: 100%; object-fit: cover; }
.mine-item__title { font-size: 14.5px; font-weight: 600; color: var(--ink); }
.mine-item__meta { font-size: 12.5px; color: var(--muted); margin-top: 4px; display: flex; gap: 12px; flex-wrap: wrap; }
.mine-item__ops { margin-left: auto; display: flex; gap: 8px; flex: 0 0 auto; }
.mine-item__ops .btn { padding: 5px 12px; font-size: 12.5px; }

/* 充值入口 */
.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.plan-card { position: relative; background: var(--card); border: 2px solid var(--line); border-radius: var(--radius); padding: 26px 22px; text-align: center; transition: all 0.15s; }
.plan-card:hover { border-color: var(--navy); }
.plan-card--hot { border-color: var(--amber); }
.plan-card__tag { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--amber); color: #fff; font-size: 12px; padding: 3px 14px; border-radius: 999px; }
.plan-card h4 { font-size: 17px; color: var(--navy); }
.plan-card__price { font-size: 34px; font-weight: 700; color: var(--red); margin: 10px 0 2px; font-family: Consolas, monospace; }
.plan-card__price small { font-size: 14px; font-weight: 400; color: var(--muted); }
.plan-card__sub { font-size: 12.5px; color: var(--muted); margin-bottom: 14px; }
.plan-card__list { text-align: left; font-size: 13.5px; color: var(--muted); margin: 0 0 18px; display: flex; flex-direction: column; gap: 7px; }
.plan-card__list li { display: flex; align-items: center; gap: 8px; }
.plan-card__list .icon { width: 15px; height: 15px; color: #2e7d4f; }
.single-box { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.single-box__qty { display: inline-flex; align-items: center; gap: 10px; }
.single-box__qty button { width: 32px; height: 32px; border-radius: 8px; border: 1px solid var(--line); background: #fff; font-size: 17px; cursor: pointer; color: var(--navy); }
.single-box__qty b { min-width: 40px; text-align: center; font-size: 18px; color: var(--navy); font-family: Consolas, monospace; }
.table { width: 100%; border-collapse: collapse; background: var(--card); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.table th, .table td { padding: 13px 14px; text-align: left; font-size: 13.5px; border-bottom: 1px solid var(--line); }
.table th { background: #f0f4f8; color: var(--navy); font-weight: 600; }
.table tr:last-child td { border-bottom: none; }

/* ---------- 后台 ---------- */
.adm-top { background: var(--navy3); color: #fff; }
.adm-top__in { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; }
.adm-tabs { display: flex; gap: 8px; padding: 14px 0 0; flex-wrap: wrap; }
.adm-tab { padding: 9px 20px; border-radius: 9px 9px 0 0; background: #e6ebf1; border: 1px solid var(--line); border-bottom: none; cursor: pointer; font-size: 14px; color: var(--muted); font-family: inherit; }
.adm-tab.on { background: var(--card); color: var(--navy); font-weight: 600; }
.adm-panel { background: var(--card); border-radius: 0 var(--radius) var(--radius) var(--radius); box-shadow: var(--shadow); padding: 20px; overflow-x: auto; }
.adm-panel table { width: 100%; border-collapse: collapse; }
.adm-panel th, .adm-panel td { padding: 11px 12px; text-align: left; font-size: 13px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.adm-panel th { background: #f0f4f8; color: var(--navy); }
.adm-panel td:nth-child(2) { white-space: normal; min-width: 260px; }
.adm-actions { display: flex; gap: 8px; }
.adm-actions .btn { padding: 5px 13px; font-size: 12.5px; }
.adm-note { font-size: 12.5px; color: var(--muted); margin: 10px 0 14px; }
.adm-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 18px; }

/* ---------- 静态页 ---------- */
.doc { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 34px 38px; max-width: 900px; margin: 0 auto; }
.doc h1 { font-size: 24px; color: var(--navy); margin-bottom: 18px; }
.doc h2 { font-size: 17px; color: var(--ink); margin: 22px 0 10px; padding-left: 10px; border-left: 4px solid var(--amber2); }
.doc p, .doc li { font-size: 14.5px; color: #37424e; line-height: 1.9; margin-bottom: 10px; }
.doc ul { padding-left: 20px; list-style: disc; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 18px; }
.about-fact { background: #f7f9fb; border: 1px solid var(--line); border-radius: 10px; padding: 14px 18px; font-size: 13.5px; color: var(--muted); }
.about-fact b { display: block; color: var(--ink); font-size: 14.5px; margin-bottom: 3px; }

/* ---------- 页脚 ---------- */
footer { background: var(--navy3); color: rgba(255, 255, 255, 0.72); margin-top: 56px; }
.ft__grid { display: grid; grid-template-columns: 1.4fr 0.8fr 0.8fr 1.2fr; gap: 30px; padding: 44px 20px 34px; }
.ft__col h4 { color: #fff; font-size: 15px; margin-bottom: 14px; }
.ft__col a, .ft__col p { display: block; font-size: 13px; color: rgba(255, 255, 255, 0.62); margin-bottom: 9px; }
.ft__col a:hover { color: var(--amber2); }
.ft__desc { font-size: 13px; line-height: 1.8; margin-top: 12px; }
.logo--ft .logo__txt { color: #fff; }
.ft__note { border-top: 1px solid rgba(255, 255, 255, 0.1); }
.ft__note-in { display: flex; justify-content: space-between; gap: 14px; padding: 15px 20px; font-size: 12.5px; color: rgba(255, 255, 255, 0.5); flex-wrap: wrap; }
.ft__icp { color: rgba(255, 255, 255, 0.5); }
.ft__icp:hover { color: var(--amber2); }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(3, 1fr); }
  .m-strip, .svc-grid, .biz-strip { grid-template-columns: repeat(2, 1fr); }
  .pd { grid-template-columns: 1fr; }
  .stat-grid, .adm-kpis { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .nav { display: none; position: absolute; top: 66px; left: 0; right: 0; background: #fff; flex-direction: column; padding: 10px 20px 16px; box-shadow: var(--shadow); z-index: 99; }
  .nav.open { display: flex; }
  .hdr-burger { display: block; }
  .hdr__in { gap: 12px; justify-content: space-between; }
  .hero__in { grid-template-columns: 1fr; padding: 40px 20px; }
  .mine { grid-template-columns: 1fr; }
  .plan-grid { grid-template-columns: 1fr; }
  .mod-grid { grid-template-columns: 1fr; }
  .i-card { flex-direction: column; }
  .i-card__media { flex: 0 0 auto; }
  .contact-rows { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .grid-4, .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { gap: 12px; }
  .topbar__in span:last-child { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .m-strip, .svc-grid { grid-template-columns: 1fr; }
  .biz-strip { grid-template-columns: 1fr; }
  .idt { padding: 22px 18px; }
  .doc { padding: 24px 20px; }
  .mine-item__ops { flex-direction: column; }
}
