/* =========================================================
   天莺游戏 · 游戏充值与周边商城  公共样式
   移动优先 + 响应式（手机单列 / 平板双列 / 桌面三列）
   ========================================================= */
:root {
  --brand: #07c160;
  --brand-dark: #06ad56;
  --brand-light: #e8f8ef;
  --ink: #1a1a1a;
  --ink-2: #333;
  --muted: #6b7280;
  --muted-2: #9ca3af;
  --line: #edeff2;
  --bg: #f5f6f8;
  --card: #fff;
  --price: #fa5151;
  --warn: #ff8f1f;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 2px 12px rgba(0, 0, 0, .06);
  --header-h: 52px;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body { padding-bottom: env(safe-area-inset-bottom); }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; line-height: 1.35; }
p { margin: 0; }
button, input, select, textarea { font-family: inherit; font-size: inherit; color: inherit; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 14px; }

/* ---------------- 顶部导航 ---------------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: #fff; border-bottom: 1px solid var(--line);
}
.header-inner {
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.logo { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 17px; }
.logo-mark {
  width: 28px; height: 28px; border-radius: 8px;
  background: linear-gradient(135deg, var(--brand), #34d17c);
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 700; flex: none;
}
.logo-sub { font-size: 11px; color: var(--muted-2); font-weight: 400; margin-left: 2px; }

.nav { display: none; }
.nav a {
  padding: 6px 12px; border-radius: 999px; font-size: 14px; color: var(--ink-2);
  white-space: nowrap; transition: .2s;
}
.nav a:hover { background: var(--bg); color: var(--brand); }
.nav a.active { background: var(--brand-light); color: var(--brand-dark); font-weight: 600; }

.header-actions { display: flex; align-items: center; gap: 10px; }
.hotline {
  display: none; align-items: center; gap: 6px;
  font-size: 13px; color: var(--muted);
}

/* 域名提示条（申请 H5 支付时用于展示站点域名） */
.domain-bar {
  background: var(--brand-light); color: var(--brand-dark);
  font-size: 12px; padding: 6px 14px; display: flex; align-items: center;
  justify-content: center; gap: 6px; text-align: center; flex-wrap: wrap;
}
.domain-bar b { font-weight: 600; }

/* ---------------- 通用区块 ---------------- */
.section { padding: 22px 0; }
.section-bg { background: #fff; }
.section-head { margin-bottom: 14px; }
.section-head h2 { font-size: 19px; display: flex; align-items: center; gap: 8px; }
.section-head h2::before {
  content: ''; width: 4px; height: 17px; border-radius: 2px; background: var(--brand);
}
.section-head p { color: var(--muted); font-size: 13px; margin-top: 4px; }

.card {
  background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow);
  overflow: hidden;
}

/* ---------------- 首页 Hero ---------------- */
.hero {
  background: linear-gradient(135deg, #06ad56 0%, #20c96b 55%, #4fd98a 100%);
  color: #fff; padding: 26px 0 30px;
}
.hero h1 { font-size: 23px; line-height: 1.4; }
.hero p { margin-top: 8px; font-size: 13.5px; opacity: .92; }
.hero-stats { display: flex; gap: 18px; margin-top: 18px; flex-wrap: wrap; }
.hero-stats div { text-align: left; }
.hero-stats .num { font-size: 20px; font-weight: 700; }
.hero-stats .label { font-size: 11.5px; opacity: .85; }
.hero-actions { margin-top: 18px; display: flex; gap: 10px; flex-wrap: wrap; }
.btn-ghost {
  background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.5);
  color: #fff; padding: 9px 18px; border-radius: 999px; font-size: 14px;
}
.btn-white {
  background: #fff; color: var(--brand-dark); padding: 9px 18px;
  border-radius: 999px; font-size: 14px; font-weight: 600;
}

/* ---------------- 分类 Tabs ---------------- */
.tabs {
  display: flex; gap: 8px; overflow-x: auto; padding: 4px 0 2px;
  -webkit-overflow-scrolling: touch; scrollbar-width: none;
}
.tabs::-webkit-scrollbar { display: none; }
.tabs a, .tabs button {
  flex: none; padding: 7px 15px; border-radius: 999px; background: #fff;
  border: 1px solid var(--line); font-size: 13.5px; color: var(--ink-2); cursor: pointer;
  transition: .2s;
}
.tabs a.active, .tabs button.active {
  background: var(--brand); border-color: var(--brand); color: #fff; font-weight: 600;
}

/* ---------------- 服务卡片 ---------------- */
.grid { display: grid; gap: 12px; grid-template-columns: 1fr; }
.svc {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  overflow: hidden; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s;
}
.svc:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,.09); }
.svc-cover {
  height: 116px; position: relative; display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 15px; font-weight: 600; letter-spacing: .5px;
}
.svc-cover .cover-icon { font-size: 30px; margin-right: 8px; }
.cover-hjyz     { background: linear-gradient(135deg, #4f7cff, #7aa2ff); }
.cover-xyjy     { background: linear-gradient(135deg, #07c160, #4fd98a); }
.cover-yjxt     { background: linear-gradient(135deg, #b06cff, #c99bff); }
.cover-card     { background: linear-gradient(135deg, #ff8f1f, #ffb35c); }
.cover-gift     { background: linear-gradient(135deg, #ff6b81, #ff9aa8); }
.cover-figure   { background: linear-gradient(135deg, #2bb3c0, #5fd6df); }
.cover-keyboard { background: linear-gradient(135deg, #5b6b8c, #8d9bb8); }
.cover-tshirt   { background: linear-gradient(135deg, #f0a020, #f7c46c); }
.cover-mouse    { background: linear-gradient(135deg, #3b82f6, #63b3ed); }
.cover-bottle   { background: linear-gradient(135deg, #10b981, #6ee7b7); }
.cover-lmyx     { background: linear-gradient(135deg, #6d5efc, #9b91ff); }
.cover-bztx     { background: linear-gradient(135deg, #f43f5e, #fb7185); }

/* 封面使用游戏真实图标 */
.cover-img {
  width: 56px; height: 56px; border-radius: 12px; object-fit: cover;
  background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.18); flex: none;
}
.cover-img.sm { width: 40px; height: 40px; border-radius: 9px; }
.cover-img.lg { width: 76px; height: 76px; border-radius: 16px; }

/* ---------------- 游戏试玩 / 下载 ---------------- */
.game {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 14px; display: flex; gap: 12px; align-items: flex-start;
}
.game-icon {
  width: 62px; height: 62px; border-radius: 14px; flex: none; object-fit: cover; background: #f2f3f5;
}
.game-icon.ph {
  display: flex; align-items: center; justify-content: center; color: #fff;
  font-size: 22px; font-weight: 700;
  background: linear-gradient(135deg, #6d5efc, #9b91ff);
}
.game-main { flex: 1; min-width: 0; }
.game-name { font-size: 16px; font-weight: 600; display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.game-cat { font-size: 12px; color: var(--muted); margin-top: 2px; }
.game-desc { font-size: 12.5px; color: var(--muted); margin-top: 6px; line-height: 1.6; }
.game-tags { display: flex; gap: 5px; flex-wrap: wrap; margin-top: 7px; }
.game-tags span {
  font-size: 11px; padding: 2px 8px; border-radius: 4px;
  background: #f1f2f4; color: var(--muted);
}
.game-dl { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.game-dl a, .game-dl span {
  font-size: 12.5px; padding: 7px 14px; border-radius: 999px; text-decoration: none;
  background: var(--brand); color: #fff;
}
.game-dl a.alt { background: #fff; color: var(--ink-2); border: 1px solid var(--line); }
.game-dl span.off { background: #f1f2f4; color: var(--muted-2); }
.game-meta { font-size: 11.5px; color: var(--muted-2); margin-top: 8px; }

/* 首页热门游戏横向条 */
.gstrip { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
.gstrip::-webkit-scrollbar { display: none; }
.gs-item {
  flex: none; width: 92px; text-align: center; background: #fff; border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 10px 6px 9px; transition: .2s;
}
.gs-item:hover { transform: translateY(-2px); }
.gs-icon {
  width: 54px; height: 54px; border-radius: 13px; object-fit: cover; display: block;
  margin: 0 auto 7px; background: #f2f3f5;
}
.gs-icon.ph {
  display: flex; align-items: center; justify-content: center; color: #fff; font-size: 20px;
  font-weight: 700; background: linear-gradient(135deg, #6d5efc, #9b91ff);
}
.gs-name { display: block; font-size: 13px; font-weight: 600; }
.gs-type { display: block; font-size: 11px; color: var(--muted-2); margin-top: 2px; }
.svc-tag {
  position: absolute; top: 8px; right: 8px; background: rgba(0,0,0,.35);
  font-size: 11px; padding: 2px 8px; border-radius: 999px; font-weight: 500;
}
.svc-body { padding: 12px 13px 14px; display: flex; flex-direction: column; flex: 1; }
.svc-cat { font-size: 11.5px; color: var(--muted-2); }
.svc-title { font-size: 15.5px; font-weight: 600; margin: 2px 0 6px; }
.svc-summary {
  font-size: 12.5px; color: var(--muted); line-height: 1.6;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}
.svc-foot { margin-top: 10px; display: flex; align-items: flex-end; justify-content: space-between; }
.price { color: var(--price); font-weight: 700; font-size: 19px; }
.price small { font-size: 12px; font-weight: 500; }
.price del { color: var(--muted-2); font-size: 12px; font-weight: 400; margin-left: 5px; }
.svc-sales { font-size: 11.5px; color: var(--muted-2); margin-top: 2px; }
.btn-detail {
  background: var(--brand); color: #fff; border: none; border-radius: 999px;
  padding: 6px 15px; font-size: 13px; cursor: pointer;
}

/* ---------------- 流程步骤 ---------------- */
.steps { display: grid; gap: 12px; grid-template-columns: 1fr; counter-reset: s; }
.step {
  background: #fff; border-radius: var(--radius); padding: 14px; box-shadow: var(--shadow);
  display: flex; gap: 11px; align-items: flex-start;
}
.step-no {
  width: 26px; height: 26px; flex: none; border-radius: 50%; background: var(--brand-light);
  color: var(--brand-dark); font-weight: 700; font-size: 13px;
  display: flex; align-items: center; justify-content: center;
}
.step h4 { font-size: 14.5px; }
.step p { font-size: 12.5px; color: var(--muted); margin-top: 3px; }

/* ---------------- 保障 / 特点 ---------------- */
.features { display: grid; gap: 12px; grid-template-columns: 1fr; }
.feature {
  background: #fff; border-radius: var(--radius); padding: 15px; box-shadow: var(--shadow);
  border-left: 3px solid var(--brand);
}
.feature h4 { font-size: 14.5px; }
.feature p { font-size: 12.5px; color: var(--muted); margin-top: 4px; }

/* ---------------- 详情条目列表 ---------------- */
.list-check li {
  position: relative; padding-left: 22px; font-size: 13.5px; color: var(--ink-2);
  margin-bottom: 8px; line-height: 1.65;
}
.list-check li::before {
  content: '✓'; position: absolute; left: 0; top: 0; color: var(--brand);
  font-weight: 700;
}
.list-dot li {
  position: relative; padding-left: 16px; font-size: 13.5px; color: var(--ink-2); margin-bottom: 7px;
}
.list-dot li::before {
  content: ''; position: absolute; left: 4px; top: 9px; width: 5px; height: 5px;
  border-radius: 50%; background: var(--brand);
}

/* ---------------- 表格 ---------------- */
.table-wrap { overflow-x: auto; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); }
table.tbl { width: 100%; border-collapse: collapse; min-width: 520px; font-size: 13.5px; }
table.tbl th, table.tbl td { padding: 11px 12px; text-align: left; border-bottom: 1px solid var(--line); }
table.tbl th { background: #fafbfc; font-weight: 600; color: var(--ink-2); white-space: nowrap; }
table.tbl tr:last-child td { border-bottom: none; }
table.tbl td b { color: var(--price); }

/* ---------------- FAQ 折叠 ---------------- */
.faq { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:last-child { border-bottom: none; }
.faq-q {
  padding: 13px 14px; font-size: 14px; font-weight: 500; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
}
.faq-q::after { content: '+'; color: var(--muted-2); font-size: 18px; transition: .2s; }
.faq-item.open .faq-q::after { content: '−'; color: var(--brand); }
.faq-a {
  padding: 0 14px; max-height: 0; overflow: hidden; font-size: 13px; color: var(--muted);
  transition: max-height .25s ease, padding .25s ease;
}
.faq-item.open .faq-a { padding: 0 14px 13px; max-height: 400px; }

/* ---------------- 表单 ---------------- */
.form-group { margin-bottom: 12px; }
.form-group label { display: block; font-size: 13px; color: var(--ink-2); margin-bottom: 6px; font-weight: 500; }
.form-group label .req { color: var(--price); }
.input, .select, .textarea {
  width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: #fff; outline: none; font-size: 14px; transition: .2s;
}
.input:focus, .select:focus, .textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-light); }
.textarea { min-height: 78px; resize: vertical; }
.hint { font-size: 11.5px; color: var(--muted-2); margin-top: 5px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 11px 20px; border-radius: var(--radius-sm); border: none; cursor: pointer;
  font-size: 15px; font-weight: 600; transition: .2s;
}
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); }
.btn-primary:disabled { background: #b9e6cd; cursor: not-allowed; }
.btn-outline { background: #fff; border: 1px solid var(--line); color: var(--ink-2); }
.btn-block { width: 100%; }
.btn-lg { padding: 13px 20px; font-size: 16px; }

/* ---------------- 底部提交栏 ---------------- */
.footer-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  background: #fff; border-top: 1px solid var(--line);
  padding: 8px 14px calc(8px + env(safe-area-inset-bottom));
  display: flex; align-items: center; gap: 12px; box-shadow: 0 -2px 12px rgba(0,0,0,.05);
}
.has-footer-bar { padding-bottom: 76px; }
.footer-bar .fb-price { flex: 1; }
.footer-bar .fb-price .p { color: var(--price); font-size: 20px; font-weight: 700; }
.footer-bar .fb-price .s { font-size: 11.5px; color: var(--muted-2); }

/* ---------------- 底部 Tab（移动端） ---------------- */
.tabbar {
  display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 55;
  background: #fff; border-top: 1px solid var(--line);
  padding-bottom: env(safe-area-inset-bottom);
}
.tabbar a {
  flex: 1; text-align: center; padding: 7px 0 6px; font-size: 11px; color: var(--muted);
}
.tabbar a .ti { display: block; font-size: 19px; line-height: 1.2; }
.tabbar a.active { color: var(--brand); font-weight: 600; }
.has-tabbar { padding-bottom: 62px; }

/* ---------------- 页脚 ---------------- */
.footer { background: #23262b; color: #b9bec6; padding: 26px 0 20px; font-size: 12.5px; }
.footer h4 { color: #fff; font-size: 14px; margin-bottom: 10px; }
.footer a { color: #b9bec6; }
.footer a:hover { color: #fff; }
.footer-grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
.footer-links li { margin-bottom: 7px; }
.footer-bottom {
  margin-top: 20px; padding-top: 14px; border-top: 1px solid #33373d;
  font-size: 11.5px; color: #8b919b; line-height: 1.8;
}
.footer-bottom .icp { display: inline-block; margin-right: 10px; }

/* ---------------- 面包屑 ---------------- */
.crumb { font-size: 12.5px; color: var(--muted); padding: 12px 0 0; }
.crumb a { color: var(--muted); }
.crumb span { margin: 0 5px; color: var(--muted-2); }
.crumb b { color: var(--ink-2); font-weight: 500; }

/* ---------------- 详情页 ---------------- */
.detail-hero {
  height: 132px; display: flex; align-items: center; justify-content: center; gap: 12px;
  color: #fff; font-size: 18px; font-weight: 600; letter-spacing: 1px; padding: 0 16px;
  text-align: center;
}
.detail-head { padding: 14px; }
.detail-title { font-size: 18px; }
.detail-summary { font-size: 13px; color: var(--muted); margin-top: 6px; }
.detail-price { margin-top: 10px; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.detail-price .p { color: var(--price); font-size: 24px; font-weight: 700; }
.detail-price .note { font-size: 12px; color: var(--muted); }
.badges { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.badge {
  font-size: 11.5px; background: var(--brand-light); color: var(--brand-dark);
  padding: 3px 9px; border-radius: 4px;
}
.badge.gray { background: #f1f2f4; color: var(--muted); }
.block { margin-bottom: 12px; }
.block-title { font-size: 15px; margin-bottom: 10px; display: flex; align-items: center; gap: 7px; }
.block-title::before { content: ''; width: 3px; height: 14px; background: var(--brand); border-radius: 2px; }
.block-body { background: #fff; border-radius: var(--radius); padding: 14px; box-shadow: var(--shadow); }

/* 数量选择 / 规格 */
.spec-list { display: flex; flex-wrap: wrap; gap: 8px; }
.spec {
  padding: 7px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  font-size: 13.5px; background: #fff; cursor: pointer; transition: .2s;
}
.spec.active { border-color: var(--brand); color: var(--brand-dark); background: var(--brand-light); font-weight: 600; }
.counter { display: flex; align-items: center; gap: 0; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; width: fit-content; }
.counter button { width: 34px; height: 34px; border: none; background: #f7f8fa; font-size: 17px; cursor: pointer; }
.counter input { width: 46px; height: 34px; border: none; text-align: center; border-left: 1px solid var(--line); border-right: 1px solid var(--line); font-size: 14px; }

/* 支付方式 */
.pay-methods { display: grid; gap: 10px; }
.pay-method {
  display: flex; align-items: center; gap: 10px; padding: 12px; border: 1px solid var(--line);
  border-radius: var(--radius-sm); cursor: pointer; background: #fff; transition: .2s;
}
.pay-method.active { border-color: var(--brand); background: var(--brand-light); }
.pay-method .pm-icon {
  width: 32px; height: 32px; border-radius: 50%; flex: none; color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 16px;
}
.pm-wechat { background: var(--brand); }
.pm-bank { background: #5b6b8c; }
.pay-method .pm-name { font-size: 14px; font-weight: 500; }
.pay-method .pm-desc { font-size: 11.5px; color: var(--muted); }
.pay-method .pm-check { margin-left: auto; color: var(--brand); font-size: 17px; }

/* 订单行 */
.order-row { display: flex; justify-content: space-between; font-size: 13.5px; padding: 7px 0; }
.order-row.total { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 11px; font-size: 14.5px; }
.order-row.total b { color: var(--price); font-size: 18px; }
.order-goods { display: flex; gap: 10px; align-items: center; }
.order-thumb {
  width: 52px; height: 52px; border-radius: 8px; flex: none; color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 19px;
}

/* 支付中 / 结果页 */
.result { text-align: center; padding: 40px 20px; }
.result-icon {
  width: 66px; height: 66px; border-radius: 50%; margin: 0 auto 16px; color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 34px;
}
.result-icon.ok { background: var(--brand); }
.result-icon.wait { background: var(--warn); }
.result h2 { font-size: 19px; }
.result p { color: var(--muted); font-size: 13px; margin-top: 8px; }
.result-actions { margin-top: 22px; display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* 支付流程说明（6 步，对应 H5 支付模式） */
.pay-flow { display: grid; gap: 10px; grid-template-columns: 1fr; }
.pay-flow-item { background: #fff; border-radius: var(--radius); padding: 12px; box-shadow: var(--shadow); font-size: 13px; }
.pay-flow-item .pf-t { font-weight: 600; font-size: 13.5px; margin-bottom: 4px; }
.pay-flow-item .pf-d { color: var(--muted); font-size: 12.5px; }

/* 空状态 */
.empty { text-align: center; padding: 50px 20px; color: var(--muted); font-size: 13.5px; }
.empty .ei { font-size: 40px; margin-bottom: 10px; opacity: .4; }

/* Toast */
.toast {
  position: fixed; left: 50%; top: 45%; transform: translate(-50%, -50%) scale(.94);
  background: rgba(0,0,0,.78); color: #fff; padding: 11px 18px; border-radius: 8px;
  font-size: 13.5px; z-index: 999; opacity: 0; pointer-events: none; transition: .2s;
  max-width: 80%; text-align: center;
}
.toast.show { opacity: 1; transform: translate(-50%, -50%) scale(1); }

/* 提示条 */
.notice {
  background: #fff8e8; border: 1px solid #ffe3ab; color: #8a6100;
  border-radius: var(--radius-sm); padding: 10px 12px; font-size: 12.5px; line-height: 1.7;
}
.notice.blue { background: #eef4ff; border-color: #cfe0ff; color: #2a4f8f; }
.notice.green { background: var(--brand-light); border-color: #b7e8cd; color: var(--brand-dark); }

/* 资质 / 联系卡片 */
.contact-list li { display: flex; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.contact-list li:last-child { border-bottom: none; }
.contact-list .cl { color: var(--muted); width: 82px; flex: none; }
.contact-list .cv { color: var(--ink-2); flex: 1; word-break: break-all; }

/* =========================================================
   响应式断点
   ========================================================= */
@media (min-width: 600px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .features { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .pay-flow { grid-template-columns: repeat(2, 1fr); }
  .hotline { display: flex; }
}

@media (min-width: 900px) {
  body { font-size: 15px; }
  .nav { display: flex; gap: 2px; }
  .container { padding: 0 24px; }
  .grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .features { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; }
  .pay-flow { grid-template-columns: repeat(3, 1fr); }
  .hero { padding: 44px 0 52px; }
  .hero h1 { font-size: 32px; }
  .hero p { font-size: 15px; max-width: 640px; }
  .hero-stats .num { font-size: 26px; }
  .section { padding: 34px 0; }
  .section-head h2 { font-size: 23px; }
  .tabbar { display: none; }
  .has-tabbar { padding-bottom: 0; }
  .detail-hero { height: 190px; font-size: 24px; }
  .detail-layout { display: grid; grid-template-columns: 1fr 340px; gap: 16px; align-items: start; }
  .has-footer-bar { padding-bottom: 0; }
  .footer-bar {
    position: static; box-shadow: none; border: 1px solid var(--line); border-radius: var(--radius);
    margin-top: 14px; padding: 12px 16px;
  }
}
