/* ==========================================================
   游戏充值WAP站 - 公共样式（移动端优先，PC居中显示）
   ========================================================== */
:root {
  --primary: #ff7d2a;
  --primary-deep: #ef6410;
  --primary-soft: #fff3e9;
  --bg: #f3f5fa;
  --card: #ffffff;
  --txt: #242a3d;
  --txt-2: #7c8598;
  --txt-3: #a5adbd;
  --line: #eaeef6;
  --blue: #1677ff;
  --green: #00b578;
  --red: #ff3b30;
  --radius: 12px;
  /* 主题渐变（默认：活力橙，各公司主题在下方 html.theme-* 中覆盖） */
  --head-grad: linear-gradient(135deg, #232f78 0%, #4c5fe8 100%);
  --logo-grad: linear-gradient(135deg, #ff9a3d, #ff5e2e);
  --btn-grad: linear-gradient(90deg, #ff7d2a, #ff9a4d);
  --bar-grad: linear-gradient(180deg, #ff7d2a, #ffb066);
  --btn-shadow: rgba(255, 125, 42, .35);
}

/* ---------- 公司主题（config.js 依据公司配置在 <html> 上挂 theme-* 类） ---------- */
html.theme-blue {
  --primary: #1677ff; --primary-deep: #0e5fd8; --primary-soft: #eaf2ff;
  --head-grad: linear-gradient(135deg, #0c2e6e 0%, #1e5fd0 100%);
  --logo-grad: linear-gradient(135deg, #4d9aff, #0e5fd8);
  --btn-grad: linear-gradient(90deg, #1677ff, #4d9aff);
  --bar-grad: linear-gradient(180deg, #1677ff, #7ab8ff);
  --btn-shadow: rgba(22, 119, 255, .35);
}
html.theme-green {
  --primary: #00b578; --primary-deep: #00966c; --primary-soft: #e6f9f1;
  --head-grad: linear-gradient(135deg, #094d3c 0%, #12966f 100%);
  --logo-grad: linear-gradient(135deg, #35d6a3, #00966c);
  --btn-grad: linear-gradient(90deg, #00b578, #3dd9a4);
  --bar-grad: linear-gradient(180deg, #00b578, #7de3bd);
  --btn-shadow: rgba(0, 181, 120, .35);
}
html.theme-purple {
  --primary: #7b5cf0; --primary-deep: #6a45e0; --primary-soft: #f1edff;
  --head-grad: linear-gradient(135deg, #2a1a5e 0%, #6a45e0 100%);
  --logo-grad: linear-gradient(135deg, #a78bff, #7b5cf0);
  --btn-grad: linear-gradient(90deg, #7b5cf0, #a78bff);
  --bar-grad: linear-gradient(180deg, #7b5cf0, #c0aaff);
  --btn-shadow: rgba(123, 92, 240, .35);
}
html.theme-red {
  --primary: #f0455c; --primary-deep: #d93047; --primary-soft: #ffeef1;
  --head-grad: linear-gradient(135deg, #4d1020 0%, #c22b45 100%);
  --logo-grad: linear-gradient(135deg, #ff7a8a, #e03047);
  --btn-grad: linear-gradient(90deg, #f0455c, #ff7a8a);
  --bar-grad: linear-gradient(180deg, #f0455c, #ff9dad);
  --btn-shadow: rgba(240, 69, 92, .35);
}

* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", "Microsoft YaHei", sans-serif;
  background: var(--bg);
  color: var(--txt);
  font-size: 14px;
  line-height: 1.5;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
ul, ol { list-style: none; }
input, select, button, textarea { font-family: inherit; font-size: inherit; outline: none; border: none; }
button { cursor: pointer; background: none; }

.page-wrap { max-width: 750px; margin: 0 auto; min-height: 100vh; background: var(--bg); position: relative; }
.page-body { padding: 12px 12px 24px; }
.page-body.bottom-bar { padding-bottom: 86px; }

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--head-grad);
  color: #fff;
  padding: 11px 14px;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; }
.logo { display: flex; align-items: center; }
.logo-badge {
  width: 38px; height: 38px; border-radius: 11px;
  background: var(--logo-grad);
  display: flex; align-items: center; justify-content: center;
  font-size: 19px; font-weight: 800; color: #fff;
  box-shadow: 0 4px 10px rgba(0,0,0,.18);
}
.logo-txt { margin-left: 9px; line-height: 1.25; }
.logo-txt strong { display: block; font-size: 17px; letter-spacing: .5px; }
.logo-txt em { display: block; font-style: normal; font-size: 11px; opacity: .75; }
.header-link {
  display: flex; align-items: center; font-size: 13px;
  background: rgba(255,255,255,.14); border-radius: 999px; padding: 5px 12px 5px 8px;
}
.header-link svg { width: 15px; height: 15px; margin-right: 3px; }

/* ---------- 底部标签栏 ---------- */
.tab-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  max-width: 750px; margin: 0 auto;
  display: flex;
  background: #fff;
  border-top: 1px solid var(--line);
  padding: 5px 0 calc(5px + env(safe-area-inset-bottom));
}
.tab-bar a {
  flex: 1; display: flex; flex-direction: column; align-items: center;
  font-size: 10px; color: var(--txt-2); padding: 3px 0;
}
.tab-bar a svg { width: 22px; height: 22px; margin-bottom: 2px; }
.tab-bar a.active { color: var(--primary); font-weight: 600; }
.tab-bar a.active svg { fill: var(--primary); }

/* ---------- 页脚 ---------- */
.site-footer { padding: 26px 16px calc(30px + env(safe-area-inset-bottom)); text-align: center; }
.site-footer .footer-links { margin-bottom: 10px; }
.site-footer .footer-links a { color: var(--txt-2); font-size: 12px; padding: 0 8px; position: relative; }
.site-footer .footer-links a + a::before { content: ""; position: absolute; left: -2px; top: 50%; transform: translateY(-50%); height: 10px; width: 1px; background: var(--line); }
.footer-copy { font-size: 11px; color: var(--txt-3); line-height: 1.8; }
.footer-icp a { font-size: 11px; color: var(--txt-3); }

/* ---------- 通用卡片 ---------- */
.card { background: var(--card); border-radius: var(--radius); padding: 14px; margin-bottom: 12px; }
.card-title { display: flex; align-items: center; justify-content: space-between; font-size: 15px; font-weight: 700; margin-bottom: 12px; }
.card-title::before { content: ""; width: 4px; height: 15px; border-radius: 2px; background: var(--bar-grad); margin-right: 8px; }
.card-title .title-left { display: flex; align-items: center; flex: 1; }
.card-title .more { font-size: 12px; font-weight: 400; color: var(--txt-2); display: flex; align-items: center; }
.card-title .more::after { content: ""; width: 6px; height: 6px; border-top: 1.5px solid var(--txt-3); border-right: 1.5px solid var(--txt-3); transform: rotate(45deg); margin-left: 4px; }

/* ---------- 通用按钮 ---------- */
.btn-main {
  display: block; width: 100%; text-align: center;
  background: var(--btn-grad);
  color: #fff; font-size: 16px; font-weight: 700;
  border-radius: 999px; padding: 12px 0;
  box-shadow: 0 6px 16px var(--btn-shadow);
}
.btn-main:active { opacity: .88; }
.btn-main.disabled { background: #d4d8e2; box-shadow: none; color: #fff; }

/* ---------- 游戏图标（文字占位） ---------- */
.game-icon {
  width: 56px; height: 56px; border-radius: 14px; color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; font-weight: 800; letter-spacing: 1px;
  text-shadow: 0 2px 4px rgba(0,0,0,.18);
  flex-shrink: 0;
}
.game-icon.sm { width: 44px; height: 44px; border-radius: 11px; font-size: 19px; }
.game-icon.lg { width: 72px; height: 72px; border-radius: 17px; font-size: 30px; }

/* ---------- 标签 ---------- */
.tag {
  display: inline-block; font-size: 10px; line-height: 1; padding: 4px 7px;
  border-radius: 4px; background: var(--primary-soft); color: var(--primary); margin-right: 6px;
}
.tag.blue { background: #eaf2ff; color: var(--blue); }
.tag.green { background: #e6f9f1; color: var(--green); }
.tag.gray { background: #f1f3f8; color: var(--txt-2); }

/* ---------- 金额 ---------- */
.price { color: var(--primary); font-weight: 700; }
.price .rmb { font-size: 12px; margin-right: 1px; }
.price .num { font-size: 18px; }
.price-origin { color: var(--txt-3); text-decoration: line-through; font-size: 11px; margin-left: 5px; font-weight: 400; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 130px; transform: translate(-50%, 20px);
  background: rgba(30, 34, 48, .9); color: #fff; font-size: 13px;
  padding: 10px 18px; border-radius: 8px; z-index: 999;
  opacity: 0; transition: all .3s; max-width: 76%; text-align: center;
  pointer-events: none;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ==========================================================
   首页
   ========================================================== */
.home-search { display: block; margin-bottom: 12px; }
.home-search-box {
  background: #fff; border-radius: 999px; display: flex; align-items: center;
  padding: 9px 16px; color: var(--txt-3); font-size: 13px;
}
.home-search-box svg { width: 15px; height: 15px; margin-right: 7px; }

.banner-swiper { overflow: hidden; border-radius: var(--radius); margin-bottom: 12px; position: relative; }
.banner-track { display: flex; transition: transform .55s ease; }
.banner-item {
  min-width: 100%; height: 132px; border-radius: var(--radius);
  display: flex; flex-direction: column; justify-content: center; padding: 0 26px; color: #fff;
}
.banner-item h3 { font-size: 21px; font-weight: 800; margin-bottom: 7px; letter-spacing: 1px; }
.banner-item p { font-size: 12px; opacity: .85; }
.banner-item .banner-btn {
  margin-top: 11px; align-self: flex-start; font-size: 11px;
  background: rgba(255,255,255,.25); border-radius: 999px; padding: 5px 13px;
}
.banner-dots { position: absolute; left: 0; right: 0; bottom: 9px; display: flex; justify-content: center; }
.banner-dots i { width: 5px; height: 5px; border-radius: 999px; background: rgba(255,255,255,.45); margin: 0 3px; transition: width .3s; }
.banner-dots i.on { width: 14px; background: #fff; }

/* 分类宫格 */
.cate-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px 6px; padding: 16px 4px 12px; }
.cate-item { display: flex; flex-direction: column; align-items: center; font-size: 12px; color: var(--txt-2); }
.cate-icon {
  width: 46px; height: 46px; border-radius: 50%; margin-bottom: 7px;
  display: flex; align-items: center; justify-content: center; color: #fff;
}
.cate-icon svg { width: 22px; height: 22px; }

/* 热门游戏网格 */
.game-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px 8px; }
.game-cell { display: flex; flex-direction: column; align-items: center; }
.game-cell .game-icon { margin-bottom: 7px; }
.game-cell .g-name { font-size: 12px; font-weight: 600; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.game-cell .g-sold { font-size: 10px; color: var(--txt-3); margin-top: 2px; }

/* 推荐列表 */
.rank-list { display: flex; flex-direction: column; gap: 10px; }
.rank-row {
  display: flex; align-items: center; background: #fff;
  border-radius: var(--radius); padding: 11px 12px;
}
.rank-no {
  width: 17px; font-size: 15px; font-weight: 800; font-style: italic;
  color: #c6cddb; margin-right: 10px; text-align: center; flex-shrink: 0;
}
.rank-row:nth-child(1) .rank-no { color: #ff9a3d; }
.rank-row:nth-child(2) .rank-no { color: #ffb266; }
.rank-row:nth-child(3) .rank-no { color: #ffc48f; }
.rank-info { flex: 1; min-width: 0; margin-left: 11px; }
.rank-info .r-name { font-size: 14px; font-weight: 700; }
.rank-info .r-meta { font-size: 11px; color: var(--txt-3); margin-top: 3px; }
.rank-price { margin-left: 8px; }
.rank-price .from { font-size: 10px; color: var(--txt-3); display: block; text-align: right; }

/* 安全保障 */
.safe-bar { display: flex; padding: 13px 4px; }
.safe-item { flex: 1; display: flex; flex-direction: column; align-items: center; font-size: 11px; color: var(--txt-2); }
.safe-item svg { width: 24px; height: 24px; margin-bottom: 6px; color: var(--primary); }

/* ==========================================================
   列表页
   ========================================================== */
.filter-tabs {
  display: flex; overflow-x: auto; -webkit-overflow-scrolling: touch;
  background: #fff; padding: 4px 10px; position: sticky; top: 60px; z-index: 40;
}
.filter-tabs::-webkit-scrollbar { display: none; }
.filter-tabs a {
  flex-shrink: 0; padding: 10px 14px; font-size: 14px; color: var(--txt-2); position: relative;
}
.filter-tabs a.on { color: var(--primary); font-weight: 700; }
.filter-tabs a.on::after {
  content: ""; position: absolute; left: 50%; transform: translateX(-50%); bottom: 4px;
  width: 18px; height: 3px; border-radius: 2px; background: var(--primary);
}

.list-row {
  display: flex; align-items: center; background: #fff; border-radius: var(--radius);
  padding: 13px 12px; margin-bottom: 10px;
}
.list-info { flex: 1; min-width: 0; margin-left: 11px; }
.list-info .l-name { display: flex; align-items: center; }
.list-info .l-name h3 { font-size: 15px; font-weight: 700; margin-right: 6px; }
.list-info .l-desc { font-size: 12px; color: var(--txt-2); margin: 4px 0 5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.list-info .l-meta { font-size: 10px; color: var(--txt-3); }
.list-go { margin-left: 6px; flex-shrink: 0; }
.list-go .btn-go {
  display: inline-block; font-size: 12px; color: var(--primary);
  border: 1px solid var(--primary); border-radius: 999px; padding: 5px 14px;
}
.empty-tip { text-align: center; color: var(--txt-3); font-size: 13px; padding: 60px 0; }

/* ==========================================================
   详情页
   ========================================================== */
.game-head {
  background: var(--head-grad);
  padding: 18px 14px 40px; color: #fff;
}
.game-head-inner { display: flex; align-items: center; }
.game-head .gh-info { flex: 1; min-width: 0; margin-left: 13px; }
.game-head .gh-name { display: flex; align-items: center; }
.game-head .gh-name h2 { font-size: 19px; font-weight: 800; margin-right: 8px; }
.game-head .gh-tags { margin-top: 7px; }
.game-head .gh-tags .tag { background: rgba(255,255,255,.16); color: #fff; }
.game-head .gh-meta { font-size: 11px; opacity: .72; margin-top: 7px; }
.detail-body { margin-top: -28px; }

/* 面板切换 */
.panel-tabs { display: flex; background: #fff; border-radius: var(--radius); padding: 4px; margin-bottom: 12px; }
.panel-tabs a {
  flex: 1; text-align: center; padding: 9px 0; font-size: 14px; color: var(--txt-2); border-radius: 9px;
}
.panel-tabs a.on { background: var(--primary-soft); color: var(--primary); font-weight: 700; }

/* 表单 */
.form-row { margin-bottom: 14px; }
.form-label { font-size: 13px; font-weight: 600; margin-bottom: 7px; display: flex; align-items: center; }
.form-label .req { color: var(--red); margin-right: 3px; }
.form-input, .form-select {
  width: 100%; background: #f6f7fb; border-radius: 9px; padding: 11px 12px;
  font-size: 14px; color: var(--txt); border: 1px solid transparent; appearance: none; -webkit-appearance: none;
}
.form-input:focus, .form-select:focus { border-color: var(--primary); background: #fff; }
.form-input::placeholder { color: #b7bdca; }
.form-select-wrap { position: relative; }
.form-select-wrap::after {
  content: ""; position: absolute; right: 14px; top: 50%;
  width: 7px; height: 7px; border-right: 1.5px solid var(--txt-3); border-bottom: 1.5px solid var(--txt-3);
  transform: translateY(-70%) rotate(45deg); pointer-events: none;
}
.form-hint { font-size: 11px; color: var(--txt-3); margin-top: 5px; }

/* 档位网格 */
.rate-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.rate-item {
  border: 1.5px solid var(--line); border-radius: 10px; padding: 10px 4px 9px;
  text-align: center; background: #fff;
}
.rate-item .r-label { font-size: 14px; font-weight: 700; }
.rate-item .r-price { font-size: 15px; color: var(--primary); font-weight: 800; margin-top: 3px; }
.rate-item .r-origin { font-size: 10px; color: var(--txt-3); text-decoration: line-through; }
.rate-item.on { border-color: var(--primary); background: var(--primary-soft); position: relative; }
.rate-item.on::after {
  content: ""; position: absolute; right: -1px; top: -1px; width: 0; height: 0;
  border-top: 16px solid var(--primary); border-left: 16px solid transparent;
  border-top-right-radius: 9px;
}

/* 数量步进器 */
.qty-row { display: flex; align-items: center; justify-content: space-between; }
.stepper { display: flex; align-items: center; }
.stepper button {
  width: 30px; height: 30px; border-radius: 8px; background: #f6f7fb;
  font-size: 17px; color: var(--txt); line-height: 1;
}
.stepper button:disabled { color: #c9cfdb; }
.stepper .qty-num { width: 44px; text-align: center; font-size: 15px; font-weight: 700; }

/* 礼包卡 */
.pkg-list { display: flex; flex-direction: column; gap: 10px; }
.pkg-card {
  border: 1.5px solid var(--line); border-radius: var(--radius);
  padding: 13px; display: flex; align-items: center; background: #fff;
}
.pkg-card.on { border-color: var(--primary); background: var(--primary-soft); }
.pkg-info { flex: 1; min-width: 0; }
.pkg-info .p-name { font-size: 14px; font-weight: 700; }
.pkg-info .p-content { font-size: 11px; color: var(--txt-2); margin: 4px 0 5px; }
.pkg-info .p-price { font-size: 16px; }
.pkg-radio {
  width: 18px; height: 18px; border-radius: 50%; border: 2px solid #d4d9e4; margin-left: 10px; flex-shrink: 0;
}
.pkg-card.on .pkg-radio { border-color: var(--primary); background: radial-gradient(circle, var(--primary) 0 5px, #fff 5.5px); }

/* 底部购买栏 */
.buy-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  max-width: 750px; margin: 0 auto;
  background: #fff; border-top: 1px solid var(--line);
  padding: 9px 14px calc(9px + env(safe-area-inset-bottom));
  display: flex; align-items: center;
}
.buy-bar .sum { flex: 1; }
.buy-bar .sum .s-label { font-size: 11px; color: var(--txt-2); }
.buy-bar .sum .s-amount { font-size: 12px; }
.buy-bar .btn-main { width: auto; padding: 11px 38px; margin-left: 10px; }

/* ==========================================================
   订单页
   ========================================================== */
.order-game { display: flex; align-items: center; }
.order-game .og-info { flex: 1; margin-left: 11px; }
.order-game .og-info h3 { font-size: 15px; font-weight: 700; }
.order-game .og-info p { font-size: 12px; color: var(--txt-2); margin-top: 4px; }
.order-rows { margin-top: 12px; border-top: 1px dashed var(--line); padding-top: 12px; }
.order-row { display: flex; justify-content: space-between; font-size: 13px; margin-bottom: 9px; }
.order-row:last-child { margin-bottom: 0; }
.order-row .o-k { color: var(--txt-2); flex-shrink: 0; margin-right: 16px; }
.order-row .o-v { text-align: right; word-break: break-all; }
.order-row .o-v.money { color: var(--primary); font-weight: 700; font-size: 15px; }
.order-row .o-v.discount { color: var(--green); }

.pay-list { display: flex; flex-direction: column; }
.pay-item { display: flex; align-items: center; padding: 13px 2px; border-bottom: 1px solid var(--line); }
.pay-item:last-child { border-bottom: none; }
.pay-logo {
  width: 30px; height: 30px; border-radius: 8px; color: #fff; font-size: 14px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.pay-logo.ali { background: #1677ff; }
.pay-logo.wc { background: #09bb07; }
.pay-logo.un { background: #e64340; }
.pay-item .pay-info { flex: 1; margin-left: 11px; }
.pay-item .pay-info .p-name { font-size: 14px; font-weight: 600; }
.pay-item .pay-info .p-desc { font-size: 11px; color: var(--txt-3); margin-top: 2px; }
.pay-check { width: 19px; height: 19px; border-radius: 50%; border: 2px solid #d4d9e4; }
.pay-item.checked .pay-check { border-color: var(--blue); background: radial-gradient(circle, var(--blue) 0 5px, #fff 5.5px); }
.pay-item.disabled { opacity: .45; }

.order-total { text-align: right; font-size: 12px; color: var(--txt-2); margin: 2px 2px 10px; }

/* 支付弹窗（演示收银台） */
.pay-mask {
  position: fixed; inset: 0; background: rgba(16, 19, 30, .58); z-index: 100;
  display: flex; align-items: flex-end;
}
.pay-sheet {
  width: 100%; max-width: 750px; margin: 0 auto;
  background: #fff; border-radius: 18px 18px 0 0; padding-bottom: calc(18px + env(safe-area-inset-bottom));
  animation: sheetUp .3s ease;
}
@keyframes sheetUp { from { transform: translateY(60px); opacity: .4; } to { transform: none; opacity: 1; } }
.pay-sheet-head {
  background: linear-gradient(135deg, #0e5fd8, #1677ff); color: #fff;
  border-radius: 18px 18px 0 0; padding: 15px; text-align: center; position: relative;
}
.pay-sheet-head h4 { font-size: 15px; font-weight: 700; }
.pay-sheet-head .ps-close { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); font-size: 12px; opacity: .85; }
.pay-sheet-body { padding: 26px 20px 8px; text-align: center; }
.pay-sheet-body .ps-amount { font-size: 38px; font-weight: 800; color: #182034; }
.pay-sheet-body .ps-amount .rmb { font-size: 18px; margin-right: 2px; }
.pay-sheet-body .ps-order { font-size: 12px; color: var(--txt-3); margin-top: 7px; }
.pay-sheet-body .ps-game { font-size: 13px; color: var(--txt-2); margin-top: 3px; }
.pay-sheet-btn {
  margin: 22px 20px 0; display: block; width: calc(100% - 40px);
  background: linear-gradient(90deg, #0e5fd8, #2f8dff); color: #fff;
  font-size: 16px; font-weight: 700; border-radius: 999px; padding: 12px 0;
}
.pay-sheet-btn:active { opacity: .88; }
.pay-sheet-note { font-size: 11px; color: var(--txt-3); margin-top: 12px; padding: 0 20px 6px; line-height: 1.7; }
.pay-done { padding: 8px 20px 4px; }
.pay-done .done-icon {
  width: 58px; height: 58px; border-radius: 50%; margin: 6px auto 14px;
  background: #e6f9f1; color: var(--green); font-size: 26px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.pay-done h4 { font-size: 16px; text-align: center; margin-bottom: 8px; }
.pay-done p { font-size: 12px; color: var(--txt-2); text-align: center; line-height: 1.8; }

/* ==========================================================
   帮助中心
   ========================================================== */
.flow-steps { display: flex; padding: 6px 0 2px; }
.flow-step { flex: 1; text-align: center; position: relative; }
.flow-step .f-icon {
  width: 44px; height: 44px; border-radius: 50%; margin: 0 auto 8px;
  background: var(--primary-soft); color: var(--primary);
  font-size: 16px; font-weight: 800; display: flex; align-items: center; justify-content: center;
}
.flow-step .f-txt { font-size: 12px; color: var(--txt-2); }
.flow-step:not(:last-child)::after {
  content: ""; position: absolute; right: -12%; top: 22px; width: 24%; height: 2px;
  background: repeating-linear-gradient(90deg, #d4d9e4 0 5px, transparent 5px 10px);
}

.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:last-child { border-bottom: none; }
.faq-q {
  display: flex; align-items: center; justify-content: space-between;
  padding: 13px 2px; font-size: 14px; font-weight: 600;
}
.faq-q .arrow {
  width: 7px; height: 7px; border-right: 1.5px solid var(--txt-3); border-bottom: 1.5px solid var(--txt-3);
  transform: rotate(45deg); transition: transform .25s; flex-shrink: 0; margin-left: 10px;
}
.faq-item.open .faq-q .arrow { transform: rotate(-135deg); }
.faq-a { padding: 0 2px 13px; font-size: 13px; color: var(--txt-2); line-height: 1.75; }

/* 客服卡片 */
.contact-card { background: var(--head-grad); color: #fff; padding: 18px 16px; border-radius: var(--radius); margin-bottom: 12px; }
.contact-card h3 { font-size: 16px; font-weight: 800; margin-bottom: 3px; }
.contact-card .c-tip { font-size: 11px; opacity: .75; margin-bottom: 13px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.contact-cell { background: rgba(255,255,255,.12); border-radius: 10px; padding: 10px 12px; }
.contact-cell .c-k { font-size: 11px; opacity: .75; }
.contact-cell .c-v { font-size: 14px; font-weight: 700; margin-top: 3px; }
.contact-phone {
  display: block; margin-top: 12px; text-align: center; font-size: 15px; font-weight: 800;
  background: #fff; color: var(--primary-deep); border-radius: 999px; padding: 11px 0;
}

/* ==========================================================
   关于我们
   ========================================================== */
.about-hero { background: var(--head-grad); color: #fff; text-align: center; padding: 30px 20px 36px; }
.about-hero .ah-logo {
  width: 64px; height: 64px; border-radius: 17px; margin: 0 auto 12px;
  background: var(--logo-grad);
  font-size: 28px; font-weight: 800; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 16px rgba(0,0,0,.2);
}
.about-hero h2 { font-size: 20px; font-weight: 800; letter-spacing: 1px; }
.about-hero p { font-size: 12px; opacity: .78; margin-top: 6px; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: -22px; padding: 0 12px; margin-bottom: 12px; }
.stat-card { background: #fff; border-radius: var(--radius); text-align: center; padding: 14px 4px; box-shadow: 0 4px 14px rgba(35, 47, 120, .06); }
.stat-card .s-num { font-size: 17px; font-weight: 800; color: var(--primary); }
.stat-card .s-num em { font-style: normal; font-size: 11px; margin-left: 1px; }
.stat-card .s-label { font-size: 10px; color: var(--txt-3); margin-top: 3px; }
.about-text { font-size: 13px; color: var(--txt-2); line-height: 1.9; text-indent: 2em; }
.about-list li { display: flex; font-size: 13px; margin-bottom: 10px; }
.about-list li:last-child { margin-bottom: 0; }
.about-list .a-k { color: var(--txt-2); flex-shrink: 0; margin-right: 14px; }
.about-list .a-v { word-break: break-all; }

/* 服务保障列表 */
.safe-list li { display: flex; align-items: flex-start; padding: 10px 0; border-bottom: 1px solid var(--line); }
.safe-list li:last-child { border-bottom: none; }
.safe-list .sl-icon {
  width: 34px; height: 34px; border-radius: 9px; flex-shrink: 0;
  background: var(--primary-soft); color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 800; margin-right: 11px;
}
.safe-list .sl-info .sl-t { font-size: 14px; font-weight: 700; }
.safe-list .sl-info .sl-d { font-size: 12px; color: var(--txt-2); margin-top: 2px; line-height: 1.6; }

/* ==========================================================
   响应式（PC 居中 + 桌面适配）
   ========================================================== */
@media (min-width: 751px) {
  .site-header, .tab-bar, .buy-bar { border-radius: 0; }
  .page-wrap { box-shadow: 0 0 40px rgba(30, 38, 80, .08); }
  .filter-tabs { top: 60px; }
}
