/* ============================================================
   微泡泡 WEIPAOPAO · 全站样式
   风格：稳重 / 专业 / 商务蓝
   ============================================================ */

/* 主题变量已迁移至 theme.css（全站唯一主题配置，页面先于本文件加载） */

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  /* 默认西文字体栈（en/es/ru/pt/fr 等语言页使用） */
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-900);
  background: var(--bg);
  /* 灰度抗锯齿：保证同一块文字浓淡完全一致（亚像素渲染在半像素位置会出现深浅不一） */
  -webkit-font-smoothing: antialiased;
}
/* 按语言指定字体栈：CJK 语言页统一用母语字体，
   避免 Yu Gothic 等外文字体插在中文前面造成逐字回退、粗细浓淡不一；
   中文字体放第一位，行内的数字/字母也取自同一字体，消除中英混排字重差 */
html[lang="zh-CN"] body { font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Noto Sans CJK SC", sans-serif; }
html[lang="ja"] body { font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic UI", "Yu Gothic", "Noto Sans CJK JP", sans-serif; }
html[lang="ko"] body { font-family: "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans CJK KR", sans-serif; }
a { color: var(--blue-600); text-decoration: none; transition: color .2s; }
a:hover { color: var(--blue-500); }
img, svg { vertical-align: middle; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; font-size: 14px; }

.container { width: 1180px; max-width: 92vw; margin: 0 auto; }
.mono { font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace; }
.text-muted { color: var(--ink-600); }
.text-faint { color: var(--ink-400); }

/* ---------- 页头导航 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo-mark { width: 40px; height: 40px; flex: none; }
.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-text b { font-size: 20px; color: var(--navy-800); letter-spacing: 1px; }
.logo-text small { font-size: 11px; color: var(--ink-400); letter-spacing: 1px; white-space: nowrap; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav > a:not(.nav-cta) {
  padding: 8px 18px; border-radius: 8px; font-size: 15px; color: var(--navy-700); font-weight: 600;
}
.nav > a:not(.nav-cta):hover { color: var(--blue-600); background: var(--blue-050); }
.nav > a.active:not(.nav-cta) { color: var(--blue-600); background: var(--blue-050); font-weight: 700; }
/* nav-cta 是按钮（.btn-primary），保持白字蓝底，不被导航链接样式覆盖 */
.nav > a.nav-cta { color: #fff; padding: 6px 16px; }
.nav > a.nav-cta:hover { color: #fff; background: var(--blue-500); box-shadow: 0 6px 18px rgba(30, 86, 160, .35); }
.nav-cta { margin-left: 12px; }
.nav-toggle { display: none; border: 1px solid var(--line); background: #fff; border-radius: 8px; font-size: 20px; padding: 4px 12px; color: var(--navy-800); }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  border: none; border-radius: 8px; font-size: 15px; font-weight: 600;
  padding: 11px 26px; transition: all .2s; white-space: nowrap;
}
.btn-primary { background: var(--blue-600); color: #fff; }
.btn-primary:hover { background: var(--blue-500); color: #fff; box-shadow: 0 6px 18px rgba(30, 86, 160, .35); }
.btn-gold { background: linear-gradient(135deg, var(--grad-gold-from), var(--grad-gold-to)); color: #fff; }
.btn-gold:hover { box-shadow: 0 6px 18px rgba(201, 143, 46, .4); filter: brightness(1.05); color: #fff; }
.btn-outline { background: #fff; color: var(--blue-600); border: 1px solid var(--blue-600); }
.btn-outline:hover { background: var(--blue-050); }
.btn-ghost { background: var(--blue-050); color: var(--blue-600); }
.btn-ghost:hover { background: var(--blue-100); }
.btn-danger-o { background: #fff; color: var(--red); border: 1px solid #eab9b3; }
.btn-danger-o:hover { background: var(--red-050); }
.btn-lg { padding: 14px 38px; font-size: 16px; border-radius: 10px; }
.btn-sm { padding: 6px 16px; font-size: 13.5px; border-radius: 6px; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .55; cursor: not-allowed; box-shadow: none; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- 公告条 ---------- */
.notice-bar { background: var(--gold-050); border-bottom: 1px solid #f0e2bd; font-size: 13.5px; color: #7a5c1e; }
.notice-bar .container { display: flex; align-items: center; gap: 10px; height: 40px; overflow: hidden; }
.notice-tag {
  flex: none; background: var(--gold-500); color: #fff; font-size: 12px;
  padding: 1px 9px; border-radius: 4px; font-weight: 600;
}
#noticeText { transition: opacity .4s; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(620px 320px at 85% 12%, rgba(43, 108, 184, .45), transparent 62%),
    radial-gradient(460px 260px at 8% 88%, rgba(14, 159, 159, .30), transparent 60%),
    radial-gradient(300px 160px at 60% 100%, rgba(217, 164, 65, .14), transparent 60%),
    linear-gradient(135deg, var(--grad-navy-from) 0%, var(--grad-navy-to) 100%);
  padding: 78px 0 66px; text-align: center;
}
.hero::before, .hero::after {
  content: ""; position: absolute; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.10);
}
.hero::before { width: 380px; height: 380px; right: -120px; top: -140px; }
.hero::after { width: 220px; height: 220px; left: -70px; bottom: -90px; }
.hero h1 { font-size: 42px; letter-spacing: 2px; margin-bottom: 16px; font-weight: 700; }
.hero h1 em { font-style: normal; color: var(--gold-500); }
.hero .hero-sub { font-size: 17px; color: #c4d3e8; max-width: 720px; margin: 0 auto 30px; }
.hero .hero-tags { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 34px; }
.hero .hero-tags span {
  background: rgba(255, 255, 255, .10); border: 1px solid rgba(255, 255, 255, .22);
  padding: 5px 16px; border-radius: 999px; font-size: 13.5px; color: #e6edf7;
}
.hero .btn-row { justify-content: center; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 56px; }
.stat-item {
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--radius); padding: 18px 10px;
}
.stat-item b { display: block; font-size: 30px; color: #fff; font-weight: 700; letter-spacing: .5px; }
.stat-item b i { font-style: normal; font-size: 16px; color: var(--gold-500); margin-left: 2px; }
.stat-item span { font-size: 13px; color: #b9c7dd; }

/* ---------- 信任条 ---------- */
.trust-band { background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 4px 18px rgba(15, 42, 82, .05); }
.trust-inner { display: flex; }
.trust-item {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 18px 8px; border-right: 1px dashed var(--line); text-align: center;
}
.trust-item:last-child { border-right: none; }
.trust-item .t-ico { font-size: 22px; line-height: 1.3; }
.trust-item b { font-size: 15px; color: var(--navy-800); letter-spacing: .5px; }
.trust-item span:last-child { font-size: 12px; color: var(--ink-400); }

/* ---------- 十年发展时间线 ---------- */
.timeline-h { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; position: relative; }
.timeline-h::before {
  content: ""; position: absolute; top: 9px; left: 5%; right: 5%; height: 2px;
  background: linear-gradient(90deg, var(--blue-100), var(--teal-050));
}
.tl-h-item { text-align: center; position: relative; }
.tl-h-item .dot {
  width: 18px; height: 18px; border-radius: 50%; background: var(--blue-600);
  border: 3px solid #fff; box-shadow: 0 0 0 2px var(--blue-100); margin: 0 auto 12px; position: relative; z-index: 1;
}
.tl-h-item b { display: block; color: var(--blue-600); font-size: 17px; font-family: Consolas, monospace; }
.tl-h-item p { font-size: 12.5px; color: var(--ink-600); margin-top: 5px; line-height: 1.6; }

/* ---------- 内页 Banner ---------- */
.page-banner {
  background:
    radial-gradient(520px 240px at 88% 0%, rgba(43, 108, 184, .45), transparent 60%),
    linear-gradient(120deg, var(--grad-navy-from), var(--grad-navy-to));
  color: #fff; padding: 46px 0 40px; text-align: center;
}
.page-banner h1 { font-size: 30px; letter-spacing: 2px; margin-bottom: 8px; }
.page-banner p { color: #b9c7dd; font-size: 14.5px; }
.page-banner .crumb { font-size: 12.5px; color: #8fa3c0; margin-top: 12px; }
.page-banner .crumb a { color: #b9c7dd; }

/* 商品页实时走马灯 */
.live-ticker { display: flex; gap: 26px; flex-wrap: wrap; font-size: 13px; color: #b9c7dd; justify-content: center; margin-top: 16px; }
.live-ticker span { display: inline-flex; align-items: center; gap: 6px; }
.live-ticker b { color: #fff; font-family: Consolas, monospace; font-weight: 600; }

/* ---------- 通用 Section ---------- */
.section { padding: 66px 0; }
.section.alt { background: #fff; }
.section-head { text-align: center; margin-bottom: 44px; }
.section-head .eyebrow {
  display: inline-block; font-size: 13px; letter-spacing: 3px; color: var(--teal-500);
  background: var(--teal-050); padding: 3px 14px; border-radius: 999px; margin-bottom: 12px; font-weight: 600;
}
.section-head h2 { font-size: 30px; color: var(--navy-800); letter-spacing: 1px; }
.section-head p { color: var(--ink-600); margin-top: 10px; font-size: 15px; }

/* ---------- LIVE 小圆点 ---------- */
.live-dot {
  display: inline-block; width: 8px; height: 8px; border-radius: 50%;
  background: #e05252; animation: livePulse 1.8s infinite;
}
@keyframes livePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .45; transform: scale(.75); }
}

/* ---------- 实时大盘 ---------- */
.market-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 22px; align-items: stretch; }
.market-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.mtile { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 18px 20px; box-shadow: var(--shadow); }
.mtile .k { font-size: 12.5px; color: var(--ink-400); display: flex; align-items: center; gap: 7px; }
.mtile .v { font-size: 23px; font-weight: 700; color: var(--navy-800); font-family: Consolas, monospace; margin-top: 5px; letter-spacing: .5px; }
.mtile .v.gold { color: var(--gold-600); }
.mtile .v.blue { color: var(--blue-600); }
.mtile .sub { font-size: 11.5px; color: var(--ink-400); margin-top: 2px; }

.feed-card { display: flex; flex-direction: column; overflow: hidden; }
.feed-list { flex: 1; padding-top: 4px; }
.feed-item {
  display: flex; gap: 12px; align-items: center; padding: 9.5px 0;
  border-bottom: 1px dashed var(--line); font-size: 13px; animation: feedIn .5s ease;
}
.feed-item:last-child { border-bottom: none; }
@keyframes feedIn { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }
.feed-item .t { color: var(--ink-400); font-family: Consolas, monospace; flex: none; font-size: 12px; }
.feed-item .who { color: var(--ink-600); flex: none; }
.feed-item .what { color: var(--navy-800); flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.feed-item .amt { color: var(--gold-600); font-weight: 700; flex: none; }
.feed-item .st { flex: none; }

/* ---------- 卡片 ---------- */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-auto { grid-template-columns: repeat(auto-fit, minmax(255px, 1fr)); }

/* 产品分类卡 */
.prod-card { padding: 30px 26px; transition: all .25s; position: relative; overflow: hidden; }
.prod-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--blue-100); }
.prod-icon {
  width: 54px; height: 54px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
  background: var(--blue-050); color: var(--blue-600); margin-bottom: 16px;
}
.prod-card.teal .prod-icon, .prod-icon.teal { background: var(--teal-050); color: var(--teal-500); }
.prod-card.gold .prod-icon, .prod-icon.gold { background: var(--gold-050); color: var(--gold-600); }
.prod-card h3 { font-size: 19px; color: var(--navy-800); margin-bottom: 8px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.prod-card p { font-size: 13.5px; color: var(--ink-600); min-height: 64px; }
.prod-card .from { margin-top: 14px; font-size: 13px; color: var(--ink-400); }
.prod-card .from b { color: var(--gold-600); font-size: 20px; margin: 0 2px; }
.prod-card .go { margin-top: 10px; font-size: 13.5px; font-weight: 600; }

/* 主营业务专区 */
.biz-main {
  position: relative; overflow: hidden; border-radius: 16px; color: #fff;
  background:
    radial-gradient(560px 300px at 90% 0%, rgba(217, 164, 65, .22), transparent 60%),
    radial-gradient(420px 260px at 4% 100%, rgba(14, 159, 159, .25), transparent 60%),
    linear-gradient(135deg, var(--grad-navy-from), var(--grad-navy-to));
  padding: 46px 44px; box-shadow: var(--shadow-lg);
}
.biz-main::after {
  content: ""; position: absolute; width: 300px; height: 300px; border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, .09); right: -110px; bottom: -130px;
}
.biz-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 40px; align-items: center; position: relative; z-index: 1; }
.biz-main .biz-tag {
  display: inline-block; background: linear-gradient(135deg, var(--grad-gold-from), var(--grad-gold-to));
  color: #fff; font-size: 12.5px; font-weight: 700; letter-spacing: 2px;
  padding: 4px 14px; border-radius: 999px; margin-bottom: 16px;
}
.biz-main h2 { font-size: 30px; letter-spacing: 1px; margin-bottom: 12px; }
.biz-main .biz-desc { color: #c4d3e8; font-size: 14.5px; margin-bottom: 22px; }
.biz-stats { display: flex; gap: 30px; flex-wrap: wrap; margin-bottom: 26px; }
.biz-stats div b { display: block; font-size: 22px; color: var(--gold-500); font-family: Consolas, monospace; }
.biz-stats div span { font-size: 12.5px; color: #b9c7dd; }
.tier-mini-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.tier-mini {
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 10px; padding: 14px 15px; transition: all .2s;
}
.tier-mini:hover { background: rgba(255, 255, 255, .14); transform: translateY(-2px); }
.tier-mini .nm { font-size: 13px; color: #e6edf7; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tier-mini .pr { font-size: 17px; font-weight: 700; color: var(--gold-500); margin: 3px 0 2px; font-family: Consolas, monospace; }
.tier-mini .pr i { font-style: normal; font-size: 11px; color: #b9c7dd; font-weight: 400; }
.tier-mini .sk { font-size: 11.5px; color: #9fd8d8; }
.tier-mini .sk.low { color: #f0b26e; }

/* 库存徽章 */
.stock-badge {
  display: inline-flex; align-items: center; gap: 6px; font-size: 12px;
  color: var(--teal-500); background: var(--teal-050); padding: 2px 10px; border-radius: 4px;
}
.stock-badge.low { color: #c05e12; background: #fdf1e5; }
.stock-badge i { font-style: normal; width: 6px; height: 6px; border-radius: 50%; background: currentColor; animation: livePulse 2s infinite; }

/* 优势卡 */
.adv-card { padding: 26px 24px; display: flex; gap: 16px; }
.adv-card .adv-icon {
  flex: none; width: 46px; height: 46px; border-radius: 12px; display: flex;
  align-items: center; justify-content: center; font-size: 22px;
  background: var(--blue-050);
}
.adv-card h3 { font-size: 16.5px; color: var(--navy-800); margin-bottom: 6px; }
.adv-card p { font-size: 13.5px; color: var(--ink-600); }

/* 流程步骤 */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step-item { text-align: center; padding: 30px 18px; position: relative; }
.step-num {
  width: 52px; height: 52px; margin: 0 auto 14px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-600), var(--teal-500));
  color: #fff; font-size: 21px; font-weight: 700; display: flex; align-items: center; justify-content: center;
}
.step-item h3 { font-size: 16.5px; color: var(--navy-800); margin-bottom: 6px; }
.step-item p { font-size: 13px; color: var(--ink-600); }

/* 套餐卡 */
.plan-card { padding: 26px 24px; display: flex; flex-direction: column; position: relative; transition: all .25s; }
.plan-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.plan-card.hot { border: 1.5px solid var(--gold-500); }
.plan-badge {
  position: absolute; top: -11px; right: 18px; background: linear-gradient(135deg, var(--grad-gold-from), var(--grad-gold-to));
  color: #fff; font-size: 12px; padding: 2px 12px; border-radius: 999px; font-weight: 600; letter-spacing: 1px;
}
.plan-card h3 { font-size: 17px; color: var(--navy-800); }
.plan-qty { font-size: 13px; color: var(--ink-400); margin-top: 2px; }
.plan-price { margin: 14px 0 4px; color: var(--gold-600); }
.plan-price b { font-size: 30px; }
.plan-price span { font-size: 13px; color: var(--ink-400); margin-left: 4px; }
.plan-unit { font-size: 12.5px; color: var(--teal-500); background: var(--teal-050); display: inline-block; padding: 1px 10px; border-radius: 4px; margin-bottom: 14px; }
.plan-feats { flex: 1; margin-bottom: 18px; }
.plan-feats li { font-size: 13px; color: var(--ink-600); padding: 4.5px 0; display: flex; gap: 8px; align-items: flex-start; }
.plan-feats li::before { content: "✓"; color: var(--green); font-weight: 700; flex: none; }
.plan-save { font-size: 12px; color: var(--gold-600); background: var(--gold-050); padding: 1px 8px; border-radius: 4px; margin-left: 6px; }
.plan-stock { margin-bottom: 14px; }

/* ---------- 商品分类 Tabs ---------- */
.prod-tabs { display: flex; gap: 10px; flex-wrap: wrap; }
.prod-tab {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 22px;
  border-radius: 10px; border: 1px solid var(--line); background: #fff;
  font-size: 15px; font-weight: 600; color: var(--ink-600); transition: all .2s;
}
.prod-tab svg { width: 18px; height: 18px; }
.prod-tab:hover { border-color: var(--blue-500); color: var(--blue-600); }
.prod-tab.active { background: var(--blue-600); color: #fff; border-color: var(--blue-600); box-shadow: 0 6px 18px rgba(30, 86, 160, .3); }
.prod-tab.active svg { color: #fff; }
.prod-tab .badge { margin-left: 2px; }

/* 骨架屏 */
.skel { position: relative; overflow: hidden; background: #e9eef5; border-radius: 8px; }
.skel::after {
  content: ""; position: absolute; inset: 0; transform: translateX(-100%);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .8), transparent);
  animation: shimmer 1.15s infinite;
}
@keyframes shimmer { 100% { transform: translateX(100%); } }
.skel-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 26px 24px; box-shadow: var(--shadow); }
.skel-line { height: 15px; margin-bottom: 14px; }
.skel-title { height: 20px; width: 55%; margin-bottom: 18px; }
.skel-price { height: 34px; width: 45%; margin-bottom: 18px; }
.skel-btn { height: 42px; width: 100%; margin-top: 6px; }
.fade-in { animation: fadeIn .4s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- 领券中心 / 优惠 ---------- */
.promo-band {
  background: linear-gradient(120deg, #a3701d, #d9a441 58%, #e8c476);
  border-radius: 14px; color: #fff; padding: 24px 30px; margin-bottom: 26px;
  display: flex; align-items: center; gap: 22px; flex-wrap: wrap; box-shadow: var(--shadow);
}
.promo-band .pb-icon { font-size: 34px; flex: none; }
.promo-band h3 { font-size: 20px; letter-spacing: 1px; }
.promo-band p { font-size: 13.5px; opacity: .92; }
.promo-band .btn { margin-left: auto; background: #fff; color: #a3701d; }
.promo-band .btn:hover { box-shadow: 0 6px 16px rgba(0, 0, 0, .18); }

.coupon-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.coupon-card {
  position: relative; background: #fff; border: 1.5px dashed var(--grad-gold-from); border-radius: 12px;
  padding: 20px 22px; display: flex; align-items: center; gap: 18px; transition: all .2s;
}
.coupon-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.coupon-rate {
  flex: none; width: 92px; text-align: center; color: var(--gold-600); font-weight: 800;
  font-size: 27px; border-right: 1.5px dashed #e8cf9d; padding-right: 16px; line-height: 1.25;
}
.coupon-rate small { display: block; font-size: 11px; color: var(--ink-400); font-weight: 400; margin-top: 2px; }
.coupon-info { flex: 1; min-width: 0; }
.coupon-info h3 { color: var(--navy-800); font-size: 15.5px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.coupon-info p { font-size: 12.5px; color: var(--ink-600); margin-top: 3px; }
.coupon-info .coupon-code {
  font-family: Consolas, monospace; letter-spacing: 2px; color: var(--navy-800);
  background: var(--gold-050); padding: 1px 9px; border-radius: 4px; font-weight: 700; font-size: 13px;
}
.coupon-act { flex: none; text-align: center; }
.coupon-act .claimed { color: var(--green); font-size: 13px; font-weight: 700; }
.coupon-tip { font-size: 12px; color: var(--ink-400); margin-top: 16px; text-align: center; }

.chip {
  display: inline-flex; align-items: center; gap: 6px; border: 1px dashed #d9a441;
  background: var(--gold-050); color: #7a5c1e; font-size: 12.5px;
  padding: 4px 12px; border-radius: 999px; cursor: pointer; margin: 10px 8px 0 0; transition: all .2s;
}
.chip:hover { background: #faeece; }
.chip b { font-family: Consolas, monospace; letter-spacing: 1px; }

/* 用户评价 */
.testi { padding: 26px; }
.testi .stars { color: var(--gold-500); letter-spacing: 2px; margin-bottom: 10px; }
.testi p { font-size: 14px; color: var(--ink-600); min-height: 88px; }
.testi .who { margin-top: 16px; display: flex; align-items: center; gap: 10px; }
.testi .avatar {
  width: 40px; height: 40px; border-radius: 50%; background: var(--blue-100);
  color: var(--blue-600); font-weight: 700; display: flex; align-items: center; justify-content: center;
}
.testi .who b { display: block; font-size: 14px; color: var(--navy-800); }
.testi .who span { font-size: 12.5px; color: var(--ink-400); }

/* FAQ */
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  padding: 18px 6px; font-size: 15.5px; font-weight: 600; color: var(--navy-800);
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 20px; color: var(--blue-600); transition: transform .2s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-body { padding: 0 6px 18px; color: var(--ink-600); font-size: 14px; }

/* CTA 横幅 */
.cta-band {
  background:
    radial-gradient(500px 220px at 90% 20%, rgba(14, 159, 159, .3), transparent 60%),
    linear-gradient(120deg, var(--grad-navy-from), var(--grad-navy-to));
  border-radius: var(--radius); color: #fff; text-align: center; padding: 52px 20px;
}
.cta-band h2 { font-size: 26px; margin-bottom: 10px; }
.cta-band p { color: #b9c7dd; margin-bottom: 26px; font-size: 14.5px; }

/* ---------- 页脚 ---------- */
.site-footer { background: var(--navy-900); color: #93a5bf; margin-top: 70px; font-size: 13.5px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 36px; padding: 54px 0 40px; }
.footer-grid .footer-heading { color: #fff; font-size: 15px; margin-bottom: 16px; letter-spacing: 1px; }
.footer-grid li { margin-bottom: 9px; }
.footer-grid a { color: #93a5bf; }
.footer-grid a:hover { color: #fff; }
.footer-brand p { margin: 12px 0; line-height: 1.8; }
.footer-brand .logo-text b { color: #fff; }
.footer-brand .logo-text small { color: #93a5bf; }
.footer-pay .mono { color: var(--gold-500); font-size: 12px; word-break: break-all; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding: 18px 0; font-size: 12.5px; color: #93a5bf; text-align: center; line-height: 1.9; }
.footer-bottom a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- 徽章 / 标签 ---------- */
.badge {
  display: inline-block; font-size: 12px; padding: 2px 10px; border-radius: 4px; font-weight: 600;
  vertical-align: middle; white-space: nowrap;
}
.badge-blue { background: var(--blue-050); color: var(--blue-600); }
.badge-teal { background: var(--teal-050); color: var(--teal-500); }
.badge-gold { background: var(--gold-050); color: var(--gold-600); }
.badge-gray { background: #eef1f5; color: var(--ink-400); }
.badge-green { background: var(--green-050); color: var(--green); }
.badge-red { background: var(--red-050); color: var(--red); }

/* ---------- 提示框 ---------- */
.alert { border-radius: var(--radius-sm); padding: 14px 18px; font-size: 13.5px; line-height: 1.8; }
.alert-warn { background: var(--gold-050); border: 1px solid #f0d9a8; color: #7a5c1e; }
.alert-info { background: var(--blue-050); border: 1px solid #c3d6ee; color: #2b5286; }
.alert-success { background: var(--green-050); border: 1px solid #b7e2cc; color: #1f6b48; }
.alert-danger { background: var(--red-050); border: 1px solid #eec3be; color: #a33333; }
.alert b { display: block; margin-bottom: 2px; }
.alert ul { margin-top: 4px; }
.alert ul li { padding-left: 14px; position: relative; }
.alert ul li::before { content: "·"; position: absolute; left: 2px; font-weight: 700; }

/* ---------- 表单 ---------- */
.form-row { margin-bottom: 20px; }
.form-row label { display: block; font-size: 14px; font-weight: 600; color: var(--navy-800); margin-bottom: 7px; }
.form-row label em { font-style: normal; color: var(--red); margin-right: 3px; }
.form-row .hint { font-size: 12.5px; color: var(--ink-400); margin-top: 6px; }
.input, .textarea {
  width: 100%; border: 1px solid #d5deeb; border-radius: 8px; padding: 11px 14px;
  outline: none; transition: all .2s; background: #fff; color: var(--ink-900);
}
.input:focus, .textarea:focus { border-color: var(--blue-500); box-shadow: 0 0 0 3px rgba(43, 108, 184, .12); }
.input.err, .textarea.err { border-color: var(--red); }
.textarea { resize: vertical; min-height: 84px; }
.field-error { color: var(--red); font-size: 12.5px; margin-top: 5px; display: none; }
.field-error.show { display: block; }
.checkbox-row { display: flex; gap: 9px; align-items: flex-start; font-size: 13.5px; color: var(--ink-600); cursor: pointer; }
.checkbox-row input { margin-top: 4px; accent-color: var(--blue-600); }

/* 数量步进器 */
.stepper { display: inline-flex; border: 1px solid #d5deeb; border-radius: 8px; overflow: hidden; }
.stepper button { width: 42px; height: 44px; border: none; background: var(--blue-050); color: var(--blue-600); font-size: 20px; font-weight: 700; }
.stepper button:hover { background: var(--blue-100); }
.stepper input { width: 86px; border: none; text-align: center; font-size: 16px; font-weight: 600; outline: none; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stepper input[type="number"] { -moz-appearance: textfield; appearance: textfield; }

/* ---------- 下单页布局 ---------- */
.checkout-grid { display: grid; grid-template-columns: 1fr 380px; gap: 26px; align-items: start; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.panel-head {
  padding: 18px 26px; border-bottom: 1px solid var(--line);
  font-size: 17px; font-weight: 700; color: var(--navy-800);
  display: flex; align-items: center; gap: 10px;
}
.panel-body { padding: 26px; }
.panel.aside { position: sticky; top: 86px; }
.prod-strip { display: flex; gap: 14px; align-items: center; background: var(--blue-050); border-radius: 10px; padding: 16px 18px; margin-bottom: 24px; }
.prod-strip .prod-icon { width: 46px; height: 46px; margin: 0; border-radius: 12px; background: #fff; }
.prod-strip b { font-size: 16px; color: var(--navy-800); display: block; }
.prod-strip span { font-size: 13px; color: var(--ink-600); }

/* 订单摘要 */
.sum-row { display: flex; justify-content: space-between; padding: 9px 0; font-size: 14px; color: var(--ink-600); border-bottom: 1px dashed var(--line); }
.sum-row b { color: var(--ink-900); font-weight: 600; max-width: 210px; text-align: right; word-break: break-all; }
.sum-row.discount b { color: var(--gold-600); }
.sum-row.promo b { color: var(--green); }
.sum-total { display: flex; justify-content: space-between; align-items: baseline; padding: 18px 0 6px; }
.sum-total span { font-size: 14px; color: var(--ink-600); }
.sum-total b { font-size: 30px; color: var(--gold-600); }
.sum-total b i { font-style: normal; font-size: 14px; margin-right: 3px; }
.pay-method-box {
  margin: 16px 0; border: 1px solid #f0d9a8; background: var(--gold-050);
  border-radius: 10px; padding: 14px 16px; font-size: 13px; color: #7a5c1e;
}
.pay-method-box .pm-title { display: flex; align-items: center; gap: 8px; font-weight: 700; margin-bottom: 6px; color: #5c4413; }
.pay-method-box .mono { font-size: 11.5px; word-break: break-all; color: #8a6a24; }
.sum-tips { font-size: 12.5px; color: var(--ink-400); margin: 14px 0 18px; }
.sum-tips li { padding-left: 14px; position: relative; margin-bottom: 4px; }
.sum-tips li::before { content: "·"; position: absolute; left: 3px; }

/* ---------- 收银台 ---------- */
.pay-grid { display: grid; grid-template-columns: 1fr 380px; gap: 26px; align-items: start; }
.pay-stage { min-height: 380px; }
.order-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-bottom: 1px solid var(--line); }
.order-meta > div { padding: 18px 26px; border-right: 1px solid var(--line); }
.order-meta > div:last-child { border-right: none; }
.order-meta span { display: block; font-size: 12.5px; color: var(--ink-400); margin-bottom: 3px; }
.order-meta b { font-size: 15.5px; color: var(--navy-800); word-break: break-all; }
.order-meta b.amount { color: var(--gold-600); font-size: 20px; }

.addr-box { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
.qr-wrap {
  flex: none; width: 196px; padding: 9px; background: #fff; border: 1px solid var(--line);
  border-radius: 10px; text-align: center;
}
.qr-wrap img, .qr-wrap canvas { width: 176px !important; height: 176px !important; }
.qr-fallback { width: 176px; height: 176px; display: flex; align-items: center; justify-content: center; font-size: 12px; color: var(--ink-400); background: var(--bg); border-radius: 6px; }
.addr-info { flex: 1; min-width: 260px; }
.addr-line {
  background: var(--bg); border: 1px dashed #c8d4e6; border-radius: 8px;
  padding: 13px 16px; font-size: 14.5px; word-break: break-all; color: var(--navy-800);
  margin: 10px 0; line-height: 1.6;
}
.copy-btn {
  display: inline-flex; align-items: center; gap: 5px; font-size: 13px; color: var(--blue-600);
  background: var(--blue-050); border: 1px solid var(--blue-100); padding: 5px 14px; border-radius: 6px; margin-right: 8px;
}
.copy-btn:hover { background: var(--blue-100); }
.amount-line { font-size: 14px; color: var(--ink-600); margin-bottom: 4px; }
.amount-line b { font-size: 24px; color: var(--gold-600); margin-left: 6px; }
.pay-warn { margin-top: 22px; }
.countdown {
  display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--red);
  background: var(--red-050); border: 1px solid #eec3be; padding: 6px 16px; border-radius: 8px; font-weight: 600;
}
.countdown b { font-size: 18px; font-family: Consolas, monospace; letter-spacing: 1px; }

/* 链上监听扫描动画 */
.scan-card {
  display: flex; align-items: center; gap: 16px; margin-top: 20px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 15px 18px; box-shadow: var(--shadow);
}
.radar {
  flex: none; width: 54px; height: 54px; border-radius: 50%; position: relative;
  background: radial-gradient(circle, var(--blue-050) 0%, #fff 72%);
  border: 2px solid var(--blue-100);
}
.radar::before {
  content: ""; position: absolute; inset: 2px; border-radius: 50%;
  background: conic-gradient(rgba(30, 86, 160, .5), transparent 65%);
  animation: radarSweep 1.8s linear infinite;
}
.radar::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 8px; height: 8px;
  margin: -4px 0 0 -4px; border-radius: 50%; background: var(--blue-600);
  box-shadow: 0 0 0 3px rgba(30, 86, 160, .15); animation: livePulse 1.8s infinite;
}
@keyframes radarSweep { to { transform: rotate(360deg); } }
.scan-txt { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.scan-txt b { font-size: 15px; color: var(--navy-800); }
.scan-txt span { font-size: 12.5px; color: var(--ink-400); }
.scan-note { margin-top: 10px; font-size: 12px; color: var(--ink-400); text-align: center; }

/* 确认 / 交付动画区 */
.stage-center { text-align: center; padding: 40px 20px; }
.stage-center h3 { font-size: 21px; color: var(--navy-800); margin: 18px 0 8px; }
.stage-center .sub { color: var(--ink-600); font-size: 14px; margin-bottom: 26px; }
.big-ok {
  width: 74px; height: 74px; margin: 0 auto; border-radius: 50%;
  background: var(--green-050); border: 2px solid var(--green);
  display: flex; align-items: center; justify-content: center; font-size: 38px; color: var(--green);
}
.spinner {
  width: 64px; height: 64px; margin: 0 auto; border-radius: 50%;
  border: 4px solid var(--blue-100); border-top-color: var(--blue-600);
  animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.confirm-count { font-size: 34px; font-weight: 700; color: var(--blue-600); font-family: Consolas, monospace; }
.txid-box { margin: 22px auto 0; max-width: 560px; text-align: left; }
.txid-box .k { font-size: 12.5px; color: var(--ink-400); margin-bottom: 4px; }
.txid-box .v { display: flex; align-items: center; gap: 10px; }
.txid-box .mono { font-size: 12.5px; background: var(--bg); border-radius: 6px; padding: 9px 12px; word-break: break-all; flex: 1; color: var(--ink-600); }

/* 进度条 */
.progress { height: 12px; background: #e9eef6; border-radius: 999px; overflow: hidden; margin: 14px 0 10px; }
.progress-bar {
  height: 100%; border-radius: 999px; width: 0%;
  background: linear-gradient(90deg, var(--blue-600), var(--teal-500));
  transition: width .8s ease;
}
.progress-label { display: flex; justify-content: space-between; font-size: 13px; color: var(--ink-600); }
.progress-label b { color: var(--blue-600); }

/* 账户发货表格 */
.table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.table th {
  background: var(--blue-050); color: var(--navy-800); text-align: left;
  padding: 11px 14px; font-size: 13px; border-bottom: 1px solid var(--line); white-space: nowrap;
}
.table td { padding: 11px 14px; border-bottom: 1px solid var(--line); color: var(--ink-600); }
.table tr:hover td { background: #fafcff; }
.table .mono { font-size: 12.5px; color: var(--navy-800); }
.table .mini-copy { font-size: 12px; color: var(--blue-600); cursor: pointer; margin-left: 6px; white-space: nowrap; }
.table .mini-copy:hover { text-decoration: underline; }

/* ---------- 订单中心 ---------- */
.tabs { display: flex; gap: 4px; border-bottom: 2px solid var(--line); margin-bottom: 24px; flex-wrap: wrap; }
.tabs button {
  border: none; background: none; padding: 12px 20px; font-size: 15px; color: var(--ink-600);
  border-bottom: 2.5px solid transparent; margin-bottom: -2px; font-weight: 500;
}
.tabs button:hover { color: var(--blue-600); }
.tabs button.active { color: var(--blue-600); border-bottom-color: var(--blue-600); font-weight: 700; }
.tabs button i { font-style: normal; font-size: 12px; background: #eef1f5; color: var(--ink-400); border-radius: 999px; padding: 0 7px; margin-left: 5px; }
.tabs button.active i { background: var(--blue-050); color: var(--blue-600); }

.order-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 20px 26px; margin-bottom: 16px;
  display: flex; align-items: center; gap: 20px; cursor: pointer; transition: all .2s;
}
.order-card:hover { border-color: var(--blue-100); box-shadow: var(--shadow-lg); }
.order-card .oc-main { flex: 1; min-width: 0; }
.order-card .oc-title { font-size: 16px; font-weight: 700; color: var(--navy-800); display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.order-card .oc-sub { font-size: 13px; color: var(--ink-400); margin-top: 5px; }
.order-card .oc-sub .mono { color: var(--ink-600); }
.order-card .oc-amount { text-align: right; flex: none; }
.order-card .oc-amount b { font-size: 20px; color: var(--gold-600); }
.order-card .oc-amount span { display: block; font-size: 12px; color: var(--ink-400); }
.order-card .oc-arrow { color: var(--ink-400); flex: none; }

.search-bar { display: flex; gap: 12px; margin-bottom: 26px; }
.search-bar .input { flex: 1; }

/* 时间线 */
.timeline { margin: 6px 0; }
.tl-item { display: flex; gap: 14px; position: relative; padding-bottom: 22px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: ""; position: absolute; left: 9px; top: 22px; bottom: 2px; width: 2px; background: var(--line);
}
.tl-item:last-child::before { display: none; }
.tl-dot {
  flex: none; width: 20px; height: 20px; border-radius: 50%; margin-top: 2px;
  background: #e9eef6; border: 2px solid #d5deeb; position: relative; z-index: 1;
}
.tl-item.done .tl-dot { background: var(--green); border-color: var(--green); }
.tl-item.done .tl-dot::after { content: "✓"; color: #fff; font-size: 11px; display: flex; align-items: center; justify-content: center; height: 100%; }
.tl-item.doing .tl-dot { background: var(--blue-600); border-color: var(--blue-600); animation: pulse 1.6s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(30, 86, 160, .4); } 70% { box-shadow: 0 0 0 9px rgba(30, 86, 160, 0); } 100% { box-shadow: 0 0 0 0 rgba(30, 86, 160, 0); } }
.tl-item h5 { font-size: 14.5px; color: var(--navy-800); }
.tl-item.pending-step h5 { color: var(--ink-400); }
.tl-item p { font-size: 12.5px; color: var(--ink-400); margin-top: 1px; }

/* ---------- 模态框 ---------- */
.modal-mask {
  position: fixed; inset: 0; background: rgba(11, 31, 58, .55); z-index: 200;
  display: none; align-items: flex-start; justify-content: center; padding: 40px 16px; overflow-y: auto;
}
.modal-mask.show { display: flex; }
.modal {
  background: #fff; border-radius: 14px; width: 760px; max-width: 100%;
  box-shadow: var(--shadow-lg); animation: pop .25s ease;
}
@keyframes pop { from { transform: translateY(18px); opacity: 0; } to { transform: none; opacity: 1; } }
.modal-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 26px; border-bottom: 1px solid var(--line);
}
.modal-head h3 { font-size: 18px; color: var(--navy-800); display: flex; align-items: center; gap: 10px; }
.modal-close { border: none; background: var(--bg); border-radius: 8px; width: 34px; height: 34px; font-size: 18px; color: var(--ink-600); }
.modal-close:hover { background: var(--red-050); color: var(--red); }
.modal-body { padding: 26px; max-height: 70vh; overflow-y: auto; }
.modal-foot { padding: 16px 26px 24px; display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Toast ---------- */
.toast-wrap { position: fixed; top: 22px; left: 50%; transform: translateX(-50%); z-index: 999; display: flex; flex-direction: column; gap: 10px; align-items: center; pointer-events: none; }
.toast {
  background: var(--navy-800); color: #fff; padding: 11px 24px; border-radius: 8px;
  font-size: 14px; box-shadow: var(--shadow-lg); animation: toastIn .3s ease; max-width: 80vw;
}
.toast.success { background: var(--green); }
.toast.error { background: var(--red); }
@keyframes toastIn { from { transform: translateY(-14px); opacity: 0; } to { transform: none; opacity: 1; } }

/* ---------- 帮助中心 ---------- */
.help-grid { display: grid; grid-template-columns: 230px 1fr; gap: 26px; align-items: start; }
.help-nav { position: sticky; top: 86px; }
.help-nav a {
  display: block; padding: 11px 18px; color: var(--ink-600); border-radius: 8px; font-size: 14.5px; margin-bottom: 4px;
}
.help-nav a:hover { background: var(--blue-050); color: var(--blue-600); }
.help-body h2 { font-size: 22px; color: var(--navy-800); margin: 40px 0 16px; padding-left: 12px; border-left: 4px solid var(--blue-600); }
.help-body h2:first-child { margin-top: 0; }
.help-body h3 { font-size: 16.5px; color: var(--navy-800); margin: 22px 0 10px; }
.help-body p { color: var(--ink-600); margin-bottom: 10px; font-size: 14.5px; }
.help-body .panel-body { line-height: 1.9; }

/* ---------- 空状态 ---------- */
.empty { text-align: center; padding: 70px 20px; color: var(--ink-400); }
.empty .e-icon { font-size: 46px; margin-bottom: 12px; opacity: .5; }
.empty p { margin-bottom: 20px; font-size: 14.5px; }

/* ---------- 页头账户区 ---------- */
.auth-box { display: inline-flex; align-items: center; gap: 8px; margin-left: 12px; }
.user-chip {
  display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 600;
  color: var(--navy-800); background: var(--blue-050); border: 1px solid var(--blue-100);
  padding: 5px 13px; border-radius: 999px; max-width: 150px;
}
.user-chip b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.user-chip .uc-ico { width: 22px; height: 22px; border-radius: 50%; background: var(--blue-600); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 12px; flex: none; }

/* ---------- 全局遮罩弹窗（免责声明 / 登录注册） ---------- */
.gmask {
  position: fixed; inset: 0; background: rgba(11, 31, 58, .62); z-index: 300;
  display: none; align-items: flex-start; justify-content: center; padding: 5vh 16px; overflow-y: auto;
}
.gmask.show { display: flex; }
.gcard {
  background: #fff; border-radius: 16px; width: 560px; max-width: 100%;
  box-shadow: var(--shadow-lg); animation: pop .28s ease; overflow: hidden;
}
.gcard-head {
  background: linear-gradient(120deg, var(--grad-navy-from), var(--grad-navy-to)); color: #fff;
  padding: 22px 28px; display: flex; justify-content: space-between; align-items: center;
}
.gcard-head h3 { font-size: 18px; letter-spacing: 1px; display: flex; align-items: center; gap: 10px; }
.gcard-head .gclose { border: none; background: rgba(255, 255, 255, .14); color: #fff; border-radius: 8px; width: 32px; height: 32px; font-size: 16px; }
.gcard-head .gclose:hover { background: rgba(255, 255, 255, .28); }
.gcard-body { padding: 26px 28px; max-height: 62vh; overflow-y: auto; }
.gcard-foot { padding: 18px 28px 26px; display: flex; gap: 12px; flex-wrap: wrap; }
.gcard-foot .btn { flex: 1; }
.glist { margin: 4px 0; }
.glist li { padding: 7px 0 7px 16px; position: relative; font-size: 13.5px; color: var(--ink-600); line-height: 1.75; }
.glist li::before { content: "·"; position: absolute; left: 4px; font-weight: 800; color: var(--blue-600); }
.glist li b { color: var(--ink-900); }

/* 登录弹窗（注册入口为底部文字链接） */
.auth-tip { font-size: 12.5px; color: var(--ink-400); background: var(--bg); border-radius: 8px; padding: 10px 14px; margin-top: 16px; line-height: 1.7; }

/* ---------- 返回顶部 ---------- */
.back-top {
  position: fixed; right: 26px; bottom: 32px; width: 46px; height: 46px; border-radius: 50%;
  background: var(--blue-600); color: #fff; font-size: 19px; border: none; z-index: 150;
  display: none; align-items: center; justify-content: center; box-shadow: var(--shadow-lg); transition: all .25s;
}
.back-top.show { display: flex; }
.back-top:hover { background: var(--blue-500); transform: translateY(-3px); }

/* ---------- 现场图 / 相册 ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gallery figure { position: relative; border-radius: 12px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--blue-050); }
.gallery img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s; }
.gallery figure:hover img { transform: scale(1.07); }
.gallery figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; color: #fff; font-size: 12.5px;
  padding: 26px 13px 9px; background: linear-gradient(transparent, rgba(11, 31, 58, .82));
}
.intro-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 30px; align-items: center; }
.intro-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.intro-photos figure { border-radius: 10px; overflow: hidden; margin: 0; }
.intro-photos img { width: 100%; height: 168px; object-fit: cover; display: block; transition: transform .5s; }
.intro-photos figure:hover img { transform: scale(1.06); }
.intro-points { margin: 14px 0; }
.intro-points li { display: flex; gap: 8px; font-size: 13.5px; color: var(--ink-600); padding: 4px 0; }
.intro-points li::before { content: "✓"; color: var(--green); font-weight: 700; flex: none; }
.audience-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }

/* ---------- 响应式 ---------- */
@media (max-width: 1020px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .checkout-grid, .pay-grid { grid-template-columns: 1fr; }
  .panel.aside { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .help-grid { grid-template-columns: 1fr; }
  .help-nav { position: static; display: flex; flex-wrap: wrap; gap: 4px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .order-meta { grid-template-columns: 1fr 1fr; }
  .order-meta > div { border-bottom: 1px solid var(--line); }
  .market-grid { grid-template-columns: 1fr; }
  .biz-grid { grid-template-columns: 1fr; }
  .coupon-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .intro-grid { grid-template-columns: 1fr; }
  .trust-inner { flex-wrap: wrap; }
  .trust-item { flex: 1 1 33%; }
  .timeline-h { grid-template-columns: repeat(3, 1fr); row-gap: 30px; }
  .timeline-h::before { display: none; }
}
/* ---------- 语言推荐横幅（顶部全宽） ---------- */
.lang-suggest {
  width: 100%; background: linear-gradient(90deg, #16407c, #2f7fd1);
  color: #fff; font-size: 14px; box-shadow: var(--shadow);
  animation: lsIn .35s ease;
}
@keyframes lsIn { from { opacity: 0; } to { opacity: 1; } }
.lang-suggest .ls-inner {
  display: flex; align-items: center; gap: 14px; padding: 13px 20px; flex-wrap: wrap;
}
.lang-suggest .ls-text { flex: 1; line-height: 1.55; min-width: 220px; }
.lang-suggest .ls-btn {
  flex: none; background: #fff; color: var(--navy-800); font-weight: 700;
  padding: 8px 18px; border-radius: 8px; font-size: 13.5px;
}
.lang-suggest .ls-btn:hover { background: #ffe9a8; color: var(--navy-800); }
.lang-suggest .ls-close {
  flex: none; background: rgba(255, 255, 255, .14); border: none; border-radius: 8px;
  color: rgba(255, 255, 255, .9); font-size: 12.5px; cursor: pointer; padding: 8px 12px;
}
.lang-suggest .ls-close:hover { background: rgba(255, 255, 255, .28); color: #fff; }
@media (max-width: 680px) {
  .lang-suggest .ls-btn { margin-left: auto; }
}

/* ---------- SEO 图文指南区（默认折叠，保持首屏清爽） ---------- */
.seo-fold { text-align: center; margin-top: -12px; }
.seo-fold summary {
  display: inline-block; cursor: pointer; list-style: none;
  padding: 10px 26px; border: 1px dashed var(--line); border-radius: 999px;
  background: #fff; color: var(--ink-600); font-size: 13.5px;
  transition: color .2s, border-color .2s;
}
.seo-fold summary::-webkit-details-marker { display: none; }
.seo-fold summary:hover { color: var(--blue-600); border-color: var(--blue-600); }
.seo-fold[open] summary { margin-bottom: 26px; border-style: solid; color: var(--blue-600); border-color: var(--blue-600); }
.seo-fold .seo-grid { text-align: left; }
.seo-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }
.seo-block {
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 26px 28px; box-shadow: var(--shadow);
}
.seo-block h3 { font-size: 16.5px; color: var(--navy-800); margin-bottom: 6px; display: flex; align-items: center; gap: 8px; }
.seo-block p { font-size: 13.5px; line-height: 1.95; color: var(--ink-600); margin-top: 10px; text-align: justify; }
.seo-block a { color: var(--blue-600); font-weight: 600; }
.seo-block a:hover { text-decoration: underline; }

@media (max-width: 680px) {
  body { font-size: 14px; }
  .nav-toggle { display: block; }
  .nav {
    display: none; position: absolute; top: 68px; left: 0; right: 0;
    background: #fff; flex-direction: column; align-items: stretch;
    padding: 12px 16px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg); gap: 2px;
  }
  .nav.open { display: flex; }
  .nav > a:not(.nav-cta) { padding: 12px 16px; }
  .nav-cta { margin: 8px 0 4px; }
  .hero { padding: 54px 0 46px; }
  .hero h1 { font-size: 29px; }
  .grid-2, .grid-3, .grid-4, .steps { grid-template-columns: 1fr; }
  .section { padding: 46px 0; }
  .order-card { flex-wrap: wrap; }
  .order-card .oc-amount { text-align: left; }
  .addr-box { justify-content: center; }
  .modal-foot .btn { flex: 1; }
  .tier-mini-grid { grid-template-columns: repeat(2, 1fr); }
  .biz-main { padding: 32px 24px; }
  .market-tiles { grid-template-columns: 1fr 1fr; }
  .promo-band .btn { margin-left: 0; }
  .logo-text small { letter-spacing: 0; font-size: 10px; max-width: 58vw; overflow: hidden; text-overflow: ellipsis; }
  .footer-grid { grid-template-columns: 1fr; }
  .feed-item .st { display: none; }
  .coupon-card { flex-wrap: wrap; }
  .auth-box { margin-left: 0; }
  .section-head h2, .biz-main h2 { font-size: 24px; }
  .trust-item { flex: 1 1 50%; border-right: none; }
  .timeline-h { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- 语言切换下拉菜单 ---------- */
.lang-menu { position: relative; margin-left: 6px; flex: none; }
.lang-cur {
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); background: #fff; border-radius: 8px;
  padding: 6px 10px; font-size: 16px; line-height: 1; color: var(--ink-600); cursor: pointer;
  transition: color .2s, border-color .2s; white-space: nowrap;
}
.lang-cur:hover { color: var(--blue-600); border-color: var(--blue-600); }
.lang-list {
  display: none; position: absolute; top: calc(100% + 8px); right: 0;
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
  box-shadow: var(--shadow-lg); padding: 6px; min-width: 150px; z-index: 300;
}
.lang-menu.open .lang-list { display: block; }
.lang-list a {
  display: block; padding: 7px 12px; border-radius: 7px;
  font-size: 13px; color: var(--ink-600); white-space: nowrap;
}
.lang-list a:hover { background: var(--blue-050); color: var(--blue-600); }
.lang-list a.cur { color: var(--blue-600); font-weight: 700; }
@media (max-width: 680px) {
  .lang-menu { margin: 8px 0 0; }
  .lang-cur { width: auto; padding: 9px 22px; }
  .lang-list {
    position: static; box-shadow: none; border: none; padding: 4px 0 0;
    min-width: 0; display: none;
  }
  .lang-menu.open .lang-list { display: grid; }
}

/* ---------- 页头自适应布局（多语言适配） ----------
   容器与正文同宽，避免短文本语言（中文）被 space-between 推到最右造成错位；
   导航字号/间距随视口弹性缩放；文字过长的语言（俄语等）自动换行不撑爆。 */
.site-header .container { width: 1180px; max-width: 94vw; }
.header-inner { height: auto; min-height: 68px; flex-wrap: wrap; row-gap: 2px; padding: 7px 0; }
.logo { flex: none; min-width: 0; }
.logo-text small { max-width: min(420px, 40vw); overflow: hidden; text-overflow: ellipsis; }
.nav { flex-wrap: wrap; justify-content: flex-end; gap: 4px; }
.nav > a:not(.nav-cta) { padding: 7px clamp(6px, 0.9vw, 14px); font-size: clamp(13px, 1.05vw, 14.5px); white-space: nowrap; }
.nav > a.nav-cta { margin-left: 6px; white-space: nowrap; }
.auth-box { margin-left: 6px; }
.auth-box .btn { padding: 6px 12px; font-size: 13px; }

/* ---------- 深度审计修复（样式布局） ---------- */
/* H1: 移动端区块高度长数字溢出卡片 */
@media (max-width: 680px) {
  .mtile { padding: 16px 14px; }
  .mtile .v { font-size: 16px; letter-spacing: 0; }
}
/* M1: 锚点跳转被 sticky 页头遮挡 */
html { scroll-padding-top: 96px; }
/* M2: 长文本语言登录后页头折行导致吸附偏移——压缩 logo 副标保单行 */
@media (max-width: 1300px) {
  .logo-text small { max-width: min(220px, 24vw); }
}
/* M3: feed 条目主文案被挤没 */
.feed-item .who { max-width: 32%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 680px) {
  .feed-item .who { display: none; }
}
/* M4: 库存徽章长文案折行错位 */
.stock-badge {
  display: inline-block; max-width: 100%; vertical-align: middle;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.stock-badge i { display: inline-block; vertical-align: 2px; margin-right: 6px; }
/* M5: 长文本语言 hero 胶囊移动端折行 */
@media (max-width: 680px) {
  .hero .hero-tags { gap: 8px; }
  .hero .hero-tags span { font-size: 12.5px; padding: 5px 12px; line-height: 1.5; }
}
/* M6: 移动端订单元信息三格布局 */
@media (max-width: 680px) {
  .order-meta { grid-template-columns: 1fr; }
  .order-meta > div { border-right: none; }
}
/* M7: Turnstile 使用可变宽模式，不再通过缩放 iframe 适配窄屏 */
.auth-turnstile-wrap {
  display: flex; justify-content: center; width: 100%; max-width: 100%; min-width: 0;
  min-height: 65px; margin: 14px 0 0;
}
#authTurnstile {
  display: flex; justify-content: center; width: 100%; max-width: 100%; min-width: 0;
}
#authTurnstile iframe { max-width: 100%; }
/* L1: seo 折叠按钮虚线胶囊多行 */
.seo-fold summary { max-width: 100%; line-height: 1.6; }
/* L4: 信任条换行后残留右侧虚线 */
@media (max-width: 1020px) {
  .trust-item { border-right: none; }
}

/* ---------- 移动端最终布局层：统一使用可收缩的流式容器 ---------- */
@media (max-width: 680px) {
  html, body { max-width: 100%; overflow-x: hidden; }
  img, svg { max-width: 100%; }
  .container, .site-header .container {
    width: auto; max-width: none; margin-right: 16px; margin-left: 16px;
  }
  .container[style*="max-width"] { width: auto !important; max-width: none !important; }
  .grid > *, .checkout-grid > *, .pay-grid > *, .biz-grid > *, .intro-grid > *,
  .footer-grid > *, .market-grid > *, .market-tiles > *, .help-grid > * { min-width: 0; }

  .header-inner { min-height: 60px; padding: 6px 0; flex-wrap: nowrap; }
  .logo-mark { width: 36px; height: 36px; }
  .logo-text b { font-size: 18px; }
  .site-header .logo-text small { max-width: calc(100vw - 124px); font-size: 9.5px; }
  .nav-toggle { width: 44px; height: 44px; padding: 0; flex: none; }
  .nav {
    top: 100%; max-height: calc(100vh - 60px); max-height: calc(100dvh - 60px);
    padding: 10px 16px 14px; flex-wrap: nowrap; justify-content: flex-start;
    gap: 2px; overflow-y: auto; overscroll-behavior: contain;
  }
  .nav.open { display: flex; animation: mobileNavIn .16s ease-out; }
  .nav > a:not(.nav-cta), .nav > a.nav-cta {
    display: flex; min-height: 44px; margin: 0; padding: 10px 12px;
    align-items: center; justify-content: flex-start; border-radius: 8px;
    font-size: 14px; font-weight: 600; white-space: normal;
  }
  .nav > a:not(.nav-cta) { background: transparent; color: var(--navy-700); box-shadow: none; }
  .nav > a.nav-cta {
    justify-content: center; margin-top: 8px;
    background: var(--blue-600); color: #fff; box-shadow: 0 4px 12px rgba(30, 86, 160, .22);
  }
  .nav > a.nav-cta:hover {
    background: var(--blue-500); color: #fff; box-shadow: 0 6px 18px rgba(30, 86, 160, .3);
  }
  .auth-box, .lang-menu { width: 100%; margin: 8px 0 0; }
  .auth-box > .btn, .lang-cur { width: 100%; min-height: 44px; }
  .lang-cur { padding: 9px 12px; }
  .lang-menu.open .lang-list {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px;
  }
  .lang-list a { min-height: 40px; padding: 9px 10px; white-space: normal; }
  @keyframes mobileNavIn { from { opacity: 0; transform: translateY(-6px); } }

  .notice-bar .container { height: 36px; gap: 8px; }
  .notice-tag { padding: 1px 7px; }
  .page-banner { padding: 28px 0 24px; }
  .page-banner h1 { margin-bottom: 5px; font-size: 24px; letter-spacing: 0; }
  .page-banner p { font-size: 14px; line-height: 1.65; }
  .live-ticker { gap: 6px 14px; margin-top: 12px; font-size: 12px; }

  .hero { padding: 28px 0 26px; }
  .hero h1 { margin-bottom: 12px; font-size: 28px; line-height: 1.3; letter-spacing: 0; }
  .hero .hero-sub { margin-bottom: 18px; font-size: 14px; line-height: 1.75; }
  .hero .hero-tags {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px; margin-bottom: 20px;
  }
  .hero .hero-tags span {
    display: flex; min-height: 36px; padding: 5px 8px; align-items: center;
    justify-content: center; border-radius: 8px; font-size: 11.5px; line-height: 1.45;
  }
  .hero .hero-tags span:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .hero .btn-row, .biz-main .btn-row {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px;
  }
  .hero .btn-row .btn, .biz-main .btn-row .btn {
    width: 100%; min-width: 0; padding: 10px 8px; white-space: normal;
  }
  .hero .stats { margin-top: 22px; gap: 8px; }
  .hero .stat-item { min-height: 76px; padding: 11px 6px; border-radius: 8px; }
  .hero .stat-item b { font-size: 22px; }
  .hero .stat-item span { font-size: 11.5px; }

  .trust-inner {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 7px 0;
  }
  .trust-item { min-width: 0; padding: 11px 5px; }
  .trust-item .t-ico { font-size: 18px; }
  .trust-item b { font-size: 13px; letter-spacing: 0; }
  .trust-item span:last-child { font-size: 11px; line-height: 1.45; }

  .section { padding: 36px 0; }
  .section-head { margin-bottom: 24px; }
  .section-head .eyebrow { margin-bottom: 8px; padding: 2px 10px; font-size: 11.5px; letter-spacing: 1px; }
  .section-head h2, .biz-main h2 { font-size: 23px; letter-spacing: 0; line-height: 1.35; }
  .section-head p { margin-top: 7px; font-size: 13.5px; line-height: 1.7; }
  .grid, .market-grid, .market-tiles { gap: 14px; }
  .grid-auto, .seo-grid { grid-template-columns: minmax(0, 1fr); }
  .card, .panel, .seo-block, .biz-main { border-radius: 8px; }
  .panel-head { padding: 14px 18px; font-size: 16px; }
  .panel-body { padding: 18px; }
  .seo-block { padding: 18px; }

  .gallery { gap: 8px; }
  .intro-photos { gap: 8px; }
  .intro-photos img { height: auto; aspect-ratio: 4 / 3; }
  .timeline-h { gap: 22px 12px; }
  .tl-h-item p { font-size: 11.5px; }
  .market-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mtile { padding: 14px 12px; border-radius: 8px; }
  .feed-item { gap: 8px; padding: 10px 0; }
  .feed-item .t { display: none; }
  .feed-item .what { min-width: 0; font-size: 12.5px; overflow-wrap: anywhere; }
  .feed-item .amt { font-size: 12px; }

  .biz-main { padding: 24px 18px; }
  .biz-grid { gap: 24px; }
  .biz-main .biz-desc { font-size: 13.5px; }
  .biz-stats {
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px; margin-bottom: 20px;
  }
  .biz-stats div b { font-size: 18px; }
  .biz-stats div span { font-size: 11px; line-height: 1.45; }
  .tier-mini-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .tier-mini { min-width: 0; padding: 11px 10px; border-radius: 8px; }
  .tier-mini .pr { font-size: 15px; }

  .plan-card, .testi { padding: 18px; }
  .plan-price b { font-size: 26px; }
  .promo-band { padding: 18px; gap: 12px; border-radius: 8px; }
  .promo-band .btn { width: 100%; }
  .coupon-card {
    display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 12px;
    padding: 16px; border-radius: 8px;
  }
  .coupon-rate { width: auto; padding-right: 10px; font-size: 23px; }
  .coupon-act { grid-column: 1 / -1; }
  .coupon-act .btn { width: 100%; min-height: 42px; }

  .prod-tabs {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px; overflow: visible;
  }
  .prod-tab {
    width: 100%; min-width: 0; min-height: 44px; padding: 8px;
    justify-content: center; text-align: center; white-space: normal; flex-wrap: wrap;
  }
  .prod-tab .badge { display: none; }
  #productStage [style*="min-width:240px"] { min-width: 0 !important; }
  .input, .textarea, select { font-size: 16px; }
  .prod-strip { gap: 10px; padding: 12px; align-items: flex-start; }
  .prod-strip > :last-child { min-width: 0; }
  .prod-strip b, .prod-strip span { overflow-wrap: anywhere; }
  .sum-row { gap: 12px; }
  .sum-row b { max-width: 62%; word-break: normal; overflow-wrap: anywhere; }

  .addr-box { gap: 16px; justify-content: center; }
  .addr-info { flex: 1 1 100%; width: 100%; min-width: 0; }
  .addr-line { padding: 11px 12px; font-size: 13px; }
  .txid-box .v { align-items: stretch; flex-direction: column; }
  .txid-box .mono { min-width: 0; }
  .order-card { padding: 16px; border-radius: 8px; }
  .order-card .oc-sub { overflow-wrap: anywhere; }

  .help-grid { gap: 18px; }
  .help-nav {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
    top: 68px; width: 100%; max-width: 100%; gap: 4px; padding: 8px;
  }
  .help-nav a { min-width: 0; margin: 0; padding: 10px 8px; overflow-wrap: anywhere; }
  .help-body h2 { margin: 30px 0 14px; font-size: 20px; }
  .help-body h3 { margin-top: 18px; font-size: 16px; }
  .help-body p { font-size: 14px; line-height: 1.8; }
  .help-body .table { width: 100%; max-width: 100%; table-layout: fixed; font-size: 12px; }
  .help-body .table th, .help-body .table td {
    padding: 8px 5px; white-space: normal; word-break: normal; overflow-wrap: anywhere;
  }
  .help-body .table th { font-size: 11.5px; }

  .site-footer { margin-top: 48px; }
  .site-footer .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 20px; padding: 34px 0 28px;
  }
  .footer-brand, .footer-pay { grid-column: 1 / -1; }
  .footer-bottom { padding: 16px; }

  .gmask { align-items: center; padding: 12px; overflow: hidden; }
  .gcard {
    display: flex; width: calc(100vw - 24px); max-width: calc(100vw - 24px);
    max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px);
    min-width: 0; flex-direction: column; border-radius: 12px;
  }
  .gcard-head { flex: none; padding: 16px 18px; }
  .gcard-head h3 { min-width: 0; font-size: 17px; letter-spacing: 0; }
  .gcard-head .gclose { width: 44px; height: 44px; flex: none; }
  .gcard-body { min-height: 0; max-height: none; padding: 18px; flex: 1; overflow-y: auto; }
  .gcard-foot { flex: none; padding: 12px 18px 18px; }
  .gcard-foot .btn { min-width: 0; padding: 10px 8px; white-space: normal; }
}

@media (max-width: 360px) {
  .container, .site-header .container { margin-right: 12px; margin-left: 12px; }
  .hero h1 { font-size: 26px; }
  .gmask { padding: 8px; }
  .gcard { width: calc(100vw - 16px); max-width: calc(100vw - 16px); max-height: calc(100vh - 16px); max-height: calc(100dvh - 16px); }
  .gcard-body { padding: 16px 14px; }
  .gcard-foot { padding: 10px 14px 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .nav.open { animation: none; }
}
