:root {
  --bg: #f6f7fb;
  --surface: #ffffff;
  --surface-alt: #f0f2f8;
  --text: #141824;
  --text-muted: #5f687a;
  --border: #e5e8f0;
  --primary: #5b46f6;
  --primary-hover: #4935e0;
  --primary-soft: #eef0ff;
  --amber: #f59e0b;
  --amber-hover: #d97706;
  --amber-soft: #fff7e6;
  --green: #10b981;
  --green-soft: #ecfdf5;
  --alipay: #1677ff;
  --wechat: #07c160;
  --usdt: #26a17b;
  --radius-md: 16px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 10px rgba(20, 24, 36, 0.04);
  --shadow-md: 0 12px 32px rgba(20, 24, 36, 0.08);
  --shadow-lg: 0 24px 60px rgba(20, 24, 36, 0.14);
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  overflow-x: clip;
  max-width: 100%;
}

body {
  margin: 0;
  overflow-x: clip;
  max-width: 100%;
  font-family: "Inter", "Noto Sans SC", -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: #0f172a;
  background: #ffffff;
  line-height: 1.65;
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "cv02", "cv03", "cv04", "cv11";
}

main {
  overflow-x: clip;
}

a { color: inherit; text-decoration: none; }
code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.9em;
  background: var(--surface-alt);
  padding: 2px 6px;
  border-radius: 6px;
}

.hidden { display: none !important; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* 公告 / 限时活动顶部提醒条 */
.announcement-bar {
  background: linear-gradient(90deg, #5b3df5 0%, #7c3aed 55%, #d97706 100%);
  color: #fff;
  font-size: 13px;
}
.announcement-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px 10px;
  min-height: 40px;
  position: relative;
  padding: 6px 40px 6px 20px;
  flex-wrap: wrap;
  text-align: center;
}
.badge-live {
  background: rgba(255, 255, 255, 0.22);
  padding: 2px 9px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 11px;
  white-space: nowrap;
}
.announcement-cta {
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  font-family: inherit;
  transition: background 0.15s ease, transform 0.15s ease;
}
.announcement-cta:hover {
  background: rgba(255, 255, 255, 0.28);
  transform: translateY(-1px);
}
.announcement-close {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: #fff;
  font-size: 18px;
  line-height: 1;
  padding: 4px 6px;
  cursor: pointer;
}

/* 头部 */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 16px;
}
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand-logo-img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: block;
  object-fit: contain;
}
.brand-logo-img.sm { width: 26px; height: 26px; border-radius: 7px; }
.footer-brand-row { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text strong { font-size: 15px; }
.brand-text small { font-size: 11px; color: var(--text-muted); }

.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 500;
}
.main-nav a:hover { color: var(--primary); }
.header-actions { display: flex; align-items: center; gap: 8px; }

/* 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-weight: 600;
  font-size: 14px;
  padding: 10px 18px;
  cursor: pointer;
  transition: all 0.16s ease;
  font-family: inherit;
  white-space: nowrap;
}
.btn-sm { padding: 7px 13px; font-size: 13px; border-radius: 10px; }
.btn-lg { padding: 13px 22px; font-size: 15px; border-radius: 14px; }
.btn-block { width: 100%; }

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 6px 18px rgba(91, 70, 246, 0.24);
}
.btn-primary:hover { background: var(--primary-hover); transform: translateY(-1px); }
.btn-amber { background: var(--amber); color: #fff; }
.btn-amber:hover { background: var(--amber-hover); }
.btn-redeem-highlight {
  background: linear-gradient(95deg, #f59e0b 0%, #f97316 100%);
  color: #ffffff;
  border-radius: 999px;
  padding: 8px 16px;
  font-weight: 700;
  box-shadow: 0 6px 18px rgba(249, 115, 22, 0.34);
}
.btn-redeem-highlight:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
  box-shadow: 0 8px 22px rgba(249, 115, 22, 0.44);
}
.btn-amber-soft { background: var(--amber-soft); color: #b45309; border-color: #fde68a; }
.btn-amber-soft:hover { background: #fef3c7; }
.btn-success { background: var(--green); color: #fff; }
.btn-success:hover { background: #059669; }
.btn-outline { background: #fff; color: var(--text); border-color: var(--border); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-ghost { background: transparent; color: var(--text-muted); }
.btn-ghost:hover { background: var(--surface-alt); color: var(--text); }

.cart-badge {
  background: var(--primary);
  color: #fff;
  font-size: 11px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
}

/* Hero：居中大留白高定排版 + 冬日极光飘雪背景 */
.hero-section {
  position: relative;
  overflow: hidden;
  padding: 76px 0 66px;
  background:
    radial-gradient(ellipse 75% 60% at 50% -5%, rgba(99, 56, 245, 0.12), transparent 68%),
    radial-gradient(ellipse 55% 45% at 15% 20%, rgba(56, 189, 248, 0.11), transparent 65%),
    radial-gradient(ellipse 55% 45% at 85% 18%, rgba(129, 140, 248, 0.11), transparent 65%),
    linear-gradient(180deg, #eef2ff 0%, #f6f7ff 52%, #ffffff 100%);
  border-bottom: 1px solid #e8ecf7;
}

.hero-snow-canvas {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  pointer-events: none;
  z-index: 1;
}

.hero-centered {
  position: relative;
  z-index: 2;
  max-width: 820px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-display {
  margin: 0 0 18px;
  font-size: clamp(32px, 6.2vw, 68px);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -0.035em;
  color: #0f172a;
}

.hero-display-cn {
  display: inline-block;
  margin-top: 4px;
  letter-spacing: 0.02em;
}

.hero-accent-sub {
  margin: 0 0 22px;
  font-size: clamp(19px, 3vw, 31px);
  font-weight: 700;
  color: #6338f5;
  letter-spacing: 0.01em;
}

.hero-lead {
  margin: 0 0 34px;
  font-size: 17px;
  line-height: 1.75;
  color: #475569;
  font-weight: 400;
  max-width: 560px;
}

.hero-cta-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-bottom: 26px;
}

.hero-cta-pair {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}

.btn-hero-redeem {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 196px;
  height: 52px;
  padding: 0 26px;
  border-radius: 14px;
  background: linear-gradient(95deg, #f59e0b 0%, #f97316 100%);
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: 0 12px 26px rgba(249, 115, 22, 0.30), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.btn-hero-redeem:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(249, 115, 22, 0.40);
  filter: brightness(1.04);
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 210px;
  height: 52px;
  padding: 0 30px;
  border-radius: 14px;
  background: linear-gradient(95deg, #5e3df7 0%, #7c3aed 100%);
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.01em;
  box-shadow: 0 12px 28px rgba(99, 56, 245, 0.30), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.btn-hero-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(99, 56, 245, 0.38);
  filter: brightness(1.03);
}

.hero-sub-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13.5px;
  color: #64748b;
}

.hero-pro-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #475569;
  font-weight: 500;
  transition: color 0.15s ease;
}

.hero-pro-link:hover {
  color: #6338f5;
}

.pro-mini-pill {
  font-size: 11px;
  font-weight: 700;
  color: #6338f5;
  background: #ede9fe;
  padding: 2px 8px;
  border-radius: 999px;
}

.sub-dot {
  color: #cbd5e1;
}

.hero-proof {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-bottom: 44px;
}

.proof-users {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #334155;
}

.proof-users strong {
  color: #0f172a;
  font-weight: 700;
}

.avatar-stack {
  display: inline-flex;
  align-items: center;
}

.avatar-stack .av {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  font-style: normal;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  display: inline-grid;
  place-items: center;
  border: 2px solid #fff;
  margin-left: -7px;
}

.avatar-stack .av:first-child { margin-left: 0; }
.avatar-stack .av-1 { background: #6366f1; }
.avatar-stack .av-2 { background: #0ea5e9; }
.avatar-stack .av-3 { background: #10b981; }

.single-live-ticker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: #64748b;
  min-height: 24px;
}

.dot-pulse-sm {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.18);
  flex-shrink: 0;
}

.live-ticker-line {
  display: inline-block;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.live-ticker-line.fade-in {
  animation: tickerLineIn 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes tickerLineIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-trust-bar {
  width: 100%;
  max-width: 780px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 28px;
  border-top: 1px solid #eef0f6;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  flex: 1;
  justify-content: center;
}

.trust-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #f3f0ff;
  color: #6338f5;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.trust-item > div strong {
  display: block;
  font-size: 14.5px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.3;
}

.trust-item > div span {
  display: block;
  font-size: 12.5px;
  color: #64748b;
  margin-top: 2px;
}

.trust-divider {
  width: 1px;
  height: 30px;
  background: #e2e8f0;
  flex-shrink: 0;
}

@media (max-width: 720px) {
  .hero-section { padding: 48px 0 44px; }
  .desktop-br { display: none; }
  .hero-lead { font-size: 15.5px; margin-bottom: 28px; }
  .single-live-ticker {
    justify-content: center;
    text-align: center;
    max-width: 100%;
    min-height: 44px;
  }
  .hero-trust-bar { flex-direction: column; align-items: stretch; gap: 16px; }
  .trust-item { justify-content: flex-start; }
  .trust-divider { display: none; }
}

/* 区块 */
.section { padding: 64px 0; }
.section-alt { background: #fff; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.section-header.center { flex-direction: column; align-items: center; text-align: center; }
.eyebrow { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 0.1em; color: var(--primary); margin-bottom: 6px; }
.section-header h2 { margin: 0 0 6px; font-size: 28px; letter-spacing: -0.02em; }
.section-header p { margin: 0; color: var(--text-muted); font-size: 14px; }
.muted { color: var(--text-muted); font-size: 13px; margin: 4px 0 0; }

/* 商店 */
.platform-tabs {
  display: inline-flex;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 4px;
  border-radius: 14px;
  gap: 4px;
  flex-wrap: wrap;
}
.tab-btn {
  border: none;
  background: transparent;
  padding: 9px 16px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
}
.tab-btn.active { background: var(--primary); color: #fff; }

.store-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  margin-bottom: 22px;
}
.filter-group { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.filter-label { font-size: 13px; font-weight: 600; color: var(--text-muted); }
.filter-note {
  margin-left: auto;
  font-size: 12.5px;
  font-weight: 600;
  color: #6338f5;
  background: #f5f3ff;
  padding: 5px 12px;
  border-radius: 999px;
}
.chip-group { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text-muted);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.chip.active { background: var(--primary-soft); border-color: var(--primary); color: var(--primary); }

/* 高定 3 列旗舰商品卡片 */
.store-section {
  background: #ffffff;
  padding: 56px 0 72px;
}

.store-top-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
  font-size: 13px;
  color: #475569;
  padding-bottom: 28px;
  margin-bottom: 24px;
  border-bottom: 1px solid #f1f3f9;
}

.inline-icon-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.store-head-row {
  margin-bottom: 24px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: stretch;
}

.product-card {
  background: #ffffff;
  border: 1.5px solid #e6eaf3;
  border-radius: 22px;
  padding: 26px 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  transform: translateY(0);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.065), 0 2px 6px rgba(15, 23, 42, 0.035);
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.22s ease, border-color 0.2s ease, background-color 0.2s ease;
}

/* 顶部透明防抖热区：下沉时精准补回顶边让出的位移空间，防止鼠标停在边缘反复进出抖动 */
.product-card::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 0;
  pointer-events: none;
}

.product-card:hover::before {
  top: -7px;
  height: 10px;
  pointer-events: auto;
}

.product-card.featured {
  border-color: #6338f5;
  background: linear-gradient(180deg, #fcfbff 0%, #ffffff 42%);
  box-shadow: 0 0 0 1px rgba(99, 56, 245, 0.16), 0 16px 36px rgba(99, 56, 245, 0.14);
}

.product-card:hover {
  transform: translateY(4px);
  border-color: #6338f5;
  background: linear-gradient(180deg, #faf9ff 0%, #ffffff 55%);
  box-shadow:
    0 0 0 3px rgba(99, 56, 245, 0.15),
    inset 0 2px 7px rgba(99, 56, 245, 0.06),
    0 2px 6px rgba(15, 23, 42, 0.045);
}

.product-card.featured:hover {
  transform: translateY(4px);
  border-color: #5b3df5;
  background: linear-gradient(180deg, #f7f5ff 0%, #ffffff 58%);
  box-shadow:
    0 0 0 3.5px rgba(99, 56, 245, 0.21),
    inset 0 2px 8px rgba(99, 56, 245, 0.075),
    0 3px 8px rgba(99, 56, 245, 0.09);
}

.pc-top-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.pc-audience {
  font-size: 12.5px;
  color: #64748b;
  font-weight: 500;
  transition: color 0.18s ease;
}

.product-card.featured .pc-audience,
.product-card:hover .pc-audience {
  color: #6338f5;
  font-weight: 600;
}

.product-badge {
  position: static;
  font-size: 11.5px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  background: #eef2ff;
  color: #4f46e5;
  white-space: nowrap;
}

.product-badge.hot {
  background: #6338f5;
  color: #ffffff;
}

.product-badge.soft {
  background: #f1f5f9;
  color: #475569;
}

.product-title {
  font-size: 22px;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.product-sub {
  font-size: 13px;
  color: #64748b;
  margin: 6px 0 0;
}

.price-block {
  padding: 4px 0 2px;
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.price-main {
  font-size: 38px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.price-unit {
  font-size: 14px;
  color: #64748b;
  font-weight: 500;
}

.price-save-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
}

.price-orig {
  font-size: 13px;
  color: #94a3b8;
  text-decoration: line-through;
}

.save-pill {
  font-size: 11.5px;
  font-weight: 700;
  color: #047857;
  background: #ecfdf5;
  padding: 2px 8px;
  border-radius: 6px;
}

/* 卡片内规格分段切换（如 Ultra 5x / 20x） */
.pc-variant-switch {
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 4px;
  background: #f1f5f9;
  border-radius: 11px;
}

.pc-var-btn {
  border: none;
  background: transparent;
  color: #64748b;
  font-size: 12.5px;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.pc-var-btn.active {
  background: #ffffff;
  color: #6338f5;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
}

/* 卡片内 3 格核心卖点小方卡 */
.pc-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.pc-hl-box {
  background: #f8fafc;
  border: 1px solid #eef0f6;
  border-radius: 12px;
  padding: 10px 8px;
  text-align: center;
  transition: border-color 0.18s ease, background-color 0.18s ease;
}

.product-card:hover .pc-hl-box {
  background: #f8f7ff;
  border-color: #e4dfff;
}

.pc-hl-icon {
  display: inline-grid;
  place-items: center;
  color: #6338f5;
  margin-bottom: 4px;
}

.pc-hl-box strong {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.3;
}

.pc-hl-box span {
  display: block;
  font-size: 11px;
  color: #64748b;
  margin-top: 2px;
}

.feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 13.5px;
  color: #334155;
  flex: 1;
}

.feature-list li::before {
  content: "✓";
  color: #6338f5;
  font-weight: 800;
  margin-right: 8px;
}

.product-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  margin-top: 6px;
}

.product-actions.single {
  grid-template-columns: 1fr;
}

.stock-out-pill {
  margin-left: auto;
  font-size: 11px;
  font-weight: 700;
  color: #b45309;
  background: #fffbeb;
  border: 1px solid #fde68a;
  padding: 3px 9px;
  border-radius: 999px;
  white-space: nowrap;
}

.btn-card-support {
  background: #f8fafc;
  color: #334155;
  border: 1.5px solid #cbd5e1;
  height: 46px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
}

.btn-card-support:hover {
  border-color: #6338f5;
  color: #6338f5;
  background: #f5f3ff;
  box-shadow: 0 0 0 3px rgba(99, 56, 245, 0.1);
}

.btn-card-support:active,
.btn-card-dark:active,
.btn-card-featured:active,
.btn-card-cart:active {
  transform: scale(0.985);
}

.btn-card-dark {
  background: #0f172a;
  color: #ffffff;
  height: 46px;
  border-radius: 12px;
  font-size: 14.5px;
  font-weight: 600;
}

.btn-card-dark:hover {
  background: #1e293b;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.18);
}

.btn-card-featured {
  background: linear-gradient(95deg, #5e3df7 0%, #6d4aff 100%);
  color: #ffffff;
  height: 46px;
  border-radius: 12px;
  font-size: 14.5px;
  font-weight: 600;
  box-shadow: 0 10px 24px rgba(99, 56, 245, 0.28);
}

.btn-card-featured:hover {
  filter: brightness(1.05);
  box-shadow: 0 8px 22px rgba(99, 56, 245, 0.36);
}

.btn-card-cart {
  height: 46px;
  width: 46px;
  padding: 0;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #334155;
  font-size: 18px;
}

.btn-card-cart:hover {
  border-color: #6338f5;
  color: #6338f5;
  background: #f5f3ff;
}

/* 轻量入门条（如 ChatGPT Go） */
.store-extra-bar {
  margin-top: 20px;
  background: #f8fafc;
  border: 1px solid #e7eaf3;
  border-radius: 16px;
  padding: 16px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.extra-left {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.extra-pill {
  font-size: 11.5px;
  font-weight: 700;
  color: #6338f5;
  background: #ede9fe;
  padding: 3px 10px;
  border-radius: 999px;
}

.extra-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.extra-price {
  font-size: 20px;
  font-weight: 800;
  color: #0f172a;
}

@media (max-width: 980px) {
  .product-grid { grid-template-columns: 1fr; }
}

/* 浅紫胶囊区块标签 + 高定三步充值流程 */
.section-pill {
  display: inline-flex;
  align-items: center;
  padding: 5px 14px;
  border-radius: 999px;
  background: #f1eeff;
  color: #6338f5;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 12px;
}

.workflow-section {
  background: linear-gradient(180deg, #ffffff 0%, #f8f9fd 100%);
  border-top: 1px solid #eef0f6;
  border-bottom: 1px solid #eef0f6;
}

.wf-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  position: relative;
}

.wf-card {
  position: relative;
  background: #ffffff;
  border: 1px solid #ebedf5;
  border-radius: 20px;
  padding: 26px 24px 22px;
  display: flex;
  flex-direction: column;
  transform: translateY(0);
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.05);
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.22s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.wf-card::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 0;
  pointer-events: none;
}

.wf-card:hover::before {
  top: -6px;
  height: 9px;
  pointer-events: auto;
}

.wf-card:hover {
  transform: translateY(3px);
  border-color: #c7befd;
  background: #fcfbff;
  box-shadow: 0 0 0 3px rgba(99, 56, 245, 0.1), inset 0 2px 6px rgba(99, 56, 245, 0.045), 0 2px 6px rgba(15, 23, 42, 0.04);
}

.wf-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.wf-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(135deg, #6338f5 0%, #7c3aed 100%);
  color: #ffffff;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.02em;
  box-shadow: 0 6px 16px rgba(99, 56, 245, 0.26);
}

.wf-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #f5f3ff;
  color: #6338f5;
  display: grid;
  place-items: center;
}

.wf-card h3 {
  margin: 0 0 10px;
  font-size: 17.5px;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.01em;
}

.wf-card p {
  margin: 0 0 20px;
  font-size: 14px;
  line-height: 1.7;
  color: #64748b;
  flex: 1;
}

.wf-foot {
  padding-top: 14px;
  border-top: 1px dashed #eef0f6;
}

.wf-tag {
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: 600;
  color: #5b46f6;
  background: #f5f3ff;
  padding: 4px 10px;
  border-radius: 8px;
}

.wf-tag.green {
  color: #047857;
  background: #ecfdf5;
}

/* 兑换帮助区：新手优先加客服微信 1 对 1 辅导卡片 */
.wf-assist-banner {
  margin-top: 24px;
  padding: 22px 24px;
  border-radius: 20px;
  background: linear-gradient(110deg, #f3fdf7 0%, #f7f9ff 58%, #f5f3ff 100%);
  border: 1px solid #ccefd9;
  box-shadow: 0 10px 28px rgba(7, 193, 96, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}
.wfa-main {
  flex: 1;
  min-width: 0;
}
.wfa-head {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.wfa-pill {
  display: inline-flex;
  align-items: center;
  font-size: 11.5px;
  font-weight: 700;
  color: #047857;
  background: #d1fae5;
  border: 1px solid #a7f3d0;
  padding: 3px 10px;
  border-radius: 999px;
}
.wfa-head h3 {
  margin: 0;
  font-size: 17.5px;
  font-weight: 700;
  color: #0f172a;
}
.wfa-desc {
  margin: 0 0 12px;
  font-size: 13.5px;
  color: #475569;
  line-height: 1.7;
}
.wfa-desc strong {
  color: #0f172a;
}
.wfa-desc code {
  background: #ffffff;
  color: #047857;
  font-weight: 700;
  border: 1px solid #bbf7d0;
}
.wfa-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.wfa-tags span {
  font-size: 12px;
  font-weight: 600;
  color: #065f46;
  background: #ffffff;
  border: 1px solid #d1fae5;
  padding: 3px 10px;
  border-radius: 999px;
}
.wfa-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-shrink: 0;
  min-width: 248px;
}
.btn-wechat-solid {
  background: linear-gradient(95deg, #07c160 0%, #059669 100%);
  color: #ffffff;
  border: none;
  box-shadow: 0 8px 20px rgba(7, 193, 96, 0.26);
  justify-content: center;
}
.btn-wechat-solid:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}
.wfa-sub-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.wfa-sub-actions .btn {
  justify-content: center;
}
.wf-cta-sep {
  color: #cbd5e1;
  margin: 0 4px;
}
.wf-assist-inline-btn {
  border: none;
  background: transparent;
  color: #059669;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  padding: 0;
  font-family: inherit;
}
.wf-assist-inline-btn:hover {
  color: #047857;
  text-decoration: underline;
}

.wf-bottom-cta {
  margin-top: 28px;
  text-align: center;
  font-size: 14px;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.wf-redeem-link {
  color: #6338f5;
  font-weight: 600;
}

.wf-redeem-link:hover {
  text-decoration: underline;
}

.wf-mode-tabs {
  display: inline-flex;
  gap: 6px;
  padding: 5px;
  margin-top: 20px;
  background: #f1f5f9;
  border-radius: 14px;
}

.wf-tab {
  border: none;
  background: transparent;
  color: #64748b;
  font-size: 13.5px;
  font-weight: 700;
  padding: 9px 18px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.16s ease;
}

.wf-tab.active {
  background: #ffffff;
  color: #6338f5;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
}

.wf-foot-action {
  display: inline-flex;
  align-items: center;
  font-size: 12.5px;
  font-weight: 700;
  color: #6338f5;
  background: #f3f0ff;
  padding: 5px 12px;
  border-radius: 8px;
}

.wf-foot-action:hover {
  background: #ede9fe;
}

.gemini-tips-box {
  margin-top: 22px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.gt-item {
  background: #ffffff;
  border: 1px solid #e7eaf3;
  border-radius: 16px;
  padding: 18px 20px;
}

.gt-item strong {
  display: block;
  font-size: 14px;
  color: #0f172a;
  margin-bottom: 6px;
}

.gt-item p {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: #64748b;
}

.gt-item a {
  color: #6338f5;
  font-weight: 600;
}

.gt-item a:hover {
  text-decoration: underline;
}
.gt-inline-btn {
  border: none;
  background: transparent;
  padding: 0;
  color: #6338f5;
  font-size: inherit;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
}
.gt-inline-btn:hover {
  text-decoration: underline;
}

@media (max-width: 860px) {
  .wf-steps-grid, .gemini-tips-box { grid-template-columns: 1fr; }
  .wf-assist-banner { flex-direction: column; align-items: stretch; }
  .wfa-actions { min-width: 0; width: 100%; }
}

.guarantee-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.guarantee-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
}
.g-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 6px;
  background: var(--green-soft);
  color: #047857;
}
.guarantee-card h4 { margin: 10px 0 6px; font-size: 15px; }
.guarantee-card p { margin: 0; font-size: 13px; color: var(--text-muted); }

/* 代理合作横幅 */
.partner-banner {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 28px;
  align-items: center;
}
.partner-banner h2 { margin: 0 0 10px; font-size: 26px; }
.partner-banner p { margin: 0 0 20px; font-size: 14px; color: var(--text-muted); }
.partner-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.partner-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.p-mini {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px;
}
.p-mini span { font-size: 12px; color: var(--primary); font-weight: 700; }
.p-mini strong { display: block; font-size: 18px; margin: 6px 0; }
.p-mini p { margin: 0; font-size: 12.5px; color: var(--text-muted); }

/* 用户真实反馈：双排无缝横向滚动好评墙 + 微信截图灯箱 */
.testimonials-section {
  background: #ffffff;
  border-top: 1px solid #eef0f6;
  overflow: hidden;
  padding: 76px 0 64px;
}

.testimonials-head {
  margin-bottom: 36px;
}

.rating-summary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  font-size: 14px;
  color: #64748b;
}

.rating-stars {
  color: #f59e0b;
  letter-spacing: 2px;
  font-size: 16px;
}

.rating-summary strong {
  color: #0f172a;
  font-weight: 700;
}

.feedback-cta-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
}

.btn-feedback-gallery {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 24px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(95deg, #5e3df7 0%, #6d4aff 100%);
  color: #ffffff;
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(99, 56, 245, 0.26);
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.btn-feedback-gallery:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(99, 56, 245, 0.34);
}

.feedback-cta-hint {
  font-size: 12px;
  color: #94a3b8;
}

.marquee-wrap {
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
}

.marquee-row {
  display: flex;
  width: max-content;
  gap: 18px;
  animation: marqueeLeft 46s linear infinite;
}

.marquee-row.reverse {
  animation: marqueeRight 50s linear infinite;
}

.marquee-wrap:hover .marquee-row {
  animation-play-state: paused;
}

@keyframes marqueeLeft {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes marqueeRight {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

.t-card {
  width: 340px;
  flex-shrink: 0;
  background: #ffffff;
  border: 1px solid #eceef6;
  border-radius: 18px;
  padding: 22px 22px 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.03);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.t-card:hover {
  border-color: #d8d2fe;
  box-shadow: 0 12px 28px rgba(99, 56, 245, 0.08);
}

.t-text {
  margin: 0;
  font-size: 13.8px;
  line-height: 1.75;
  color: #334155;
  font-weight: 400;
}

.t-text mark {
  background: #efeaff;
  color: #5b3df5;
  font-weight: 600;
  padding: 1px 5px;
  border-radius: 5px;
}

.t-mid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: #94a3b8;
}

.t-stars {
  color: #f59e0b;
  letter-spacing: 1.5px;
  font-size: 13px;
}

.t-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid #f3f4f9;
}

.t-user {
  display: flex;
  align-items: center;
  gap: 10px;
}

.t-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.t-user > div strong {
  display: block;
  font-size: 13.5px;
  color: #0f172a;
  line-height: 1.25;
}

.t-user > div span {
  display: block;
  font-size: 11.5px;
  color: #94a3b8;
}

.t-tag {
  font-size: 11px;
  font-weight: 600;
  color: #475569;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 3px 9px;
  border-radius: 999px;
  white-space: nowrap;
}

.testimonials-mini-bar {
  margin-top: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  font-size: 13px;
  color: #64748b;
}

/* 全屏微信好评截图灯箱 */
.lightbox-backdrop {
  position: fixed;
  inset: 0;
  z-index: 95;
  background: rgba(15, 23, 42, 0.86);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 64px;
}

.lbx-stage {
  max-width: 820px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.lbx-stage img {
  max-height: 74vh;
  max-width: 100%;
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  background: #fff;
  object-fit: contain;
}

.lbx-caption {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  color: #e2e8f0;
  font-size: 13.5px;
}

.lbx-caption strong { color: #ffffff; }
.lbx-counter {
  font-size: 12px;
  padding: 2px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #f8fafc;
}

.lbx-thumbs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.lbx-thumb {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid transparent;
  padding: 0;
  background: none;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.15s ease, border-color 0.15s ease;
}

.lbx-thumb.active, .lbx-thumb:hover {
  opacity: 1;
  border-color: #8b5cf6;
}

.lbx-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
}

.lbx-close {
  position: fixed;
  top: 20px;
  right: 24px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 24px;
  cursor: pointer;
}

.lbx-nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 26px;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.lbx-nav.prev { left: 20px; }
.lbx-nav.next { right: 20px; }
.lbx-nav:hover, .lbx-close:hover { background: rgba(255, 255, 255, 0.24); }

@media (max-width: 680px) {
  .lightbox-backdrop { padding: 20px 14px; }
  .lbx-nav { width: 36px; height: 36px; font-size: 20px; }
  .t-card { width: 290px; }
}

/* 实时开通动态双栏板块 */
.live-feed-section {
  background: linear-gradient(180deg, #fafbff 0%, #ffffff 100%);
  border-top: 1px solid #eef0f6;
}

.live-feed-grid {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 22px;
  align-items: stretch;
}

.live-metrics-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.metric-card {
  background: #ffffff;
  border: 1px solid #ebedf5;
  border-radius: 18px;
  padding: 20px 22px;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.03);
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.metric-label {
  font-size: 12.5px;
  font-weight: 600;
  color: #64748b;
}

.metric-card strong {
  font-size: 30px;
  font-weight: 800;
  color: #6338f5;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 4px 0;
}

.metric-card p {
  margin: 0;
  font-size: 12.5px;
  color: #64748b;
}

.live-board-card {
  background: #ffffff;
  border: 1px solid #ebedf5;
  border-radius: 20px;
  padding: 22px 24px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.045);
  display: flex;
  flex-direction: column;
}

.live-board-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid #f1f3f9;
}

.live-board-title {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 15px;
  color: #0f172a;
}

.live-board-status {
  font-size: 12px;
  font-weight: 600;
  color: #047857;
  background: #ecfdf5;
  padding: 4px 10px;
  border-radius: 999px;
}

.live-board-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
  flex: 1;
  justify-content: space-between;
}

.live-board-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 13px;
  background: #f8f9fc;
  border: 1px solid #f0f2f8;
  font-size: 13.5px;
  color: #334155;
}

.live-board-list li.ticker-enter {
  animation: boardRowIn 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.live-board-list li.is-self {
  background: #f5f3ff;
  border-color: #ddd6fe;
}

@keyframes boardRowIn {
  0% {
    opacity: 0;
    transform: translateY(-18px);
    background: #ede9fe;
    border-color: #c4b5fd;
  }
  45% {
    opacity: 1;
    transform: translateY(0);
    background: #f5f3ff;
    border-color: #ddd6fe;
  }
  100% {
    opacity: 1;
    transform: translateY(0);
    background: #f8f9fc;
    border-color: #f0f2f8;
  }
}

.lb-main {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.lb-main strong {
  color: #0f172a;
  font-weight: 700;
}

.lb-pay {
  font-size: 11.5px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 6px;
  background: #eef2ff;
  color: #4f46e5;
}

.lb-pay.alipay { background: rgba(22, 119, 255, 0.1); color: #1677ff; }
.lb-pay.wechat { background: rgba(7, 193, 96, 0.1); color: #07c160; }
.lb-pay.usdt { background: rgba(38, 161, 123, 0.1); color: #26a17b; }

.lb-right {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.lb-time {
  font-size: 12px;
  color: #94a3b8;
  white-space: nowrap;
}

.lb-badge {
  font-size: 11.5px;
  font-weight: 700;
  color: #047857;
  background: #ecfdf5;
  padding: 3px 9px;
  border-radius: 999px;
  white-space: nowrap;
}

@media (max-width: 900px) {
  .live-feed-grid { grid-template-columns: 1fr; }
}

/* FAQ */
.faq-search {
  max-width: 320px;
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 14px;
  font-family: inherit;
}
.faq-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.faq-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px;
}
.faq-item h4 { margin: 0 0 8px; font-size: 15px; }
.faq-item p { margin: 0; font-size: 13px; color: var(--text-muted); }

/* 在线客服与咨询支持板块 */
.support-section {
  background: linear-gradient(180deg, #ffffff 0%, #f8f9fe 100%);
  border-top: 1px solid #eef0f7;
}
.support-topics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 24px;
}
.support-topic-card {
  position: relative;
  background: #ffffff;
  border: 1px solid #e7eaf3;
  border-radius: 18px;
  padding: 24px 22px;
  transform: translateY(0);
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.045);
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.22s ease, border-color 0.2s ease, background-color 0.2s ease;
}
.support-topic-card::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 0;
  pointer-events: none;
}
.support-topic-card:hover::before {
  top: -6px;
  height: 9px;
  pointer-events: auto;
}
.support-topic-card:hover {
  transform: translateY(3px);
  border-color: #c7befd;
  background: #fcfbff;
  box-shadow: 0 0 0 3px rgba(99, 56, 245, 0.1), inset 0 2px 6px rgba(99, 56, 245, 0.045), 0 2px 6px rgba(15, 23, 42, 0.04);
}
.support-topic-card.clickable {
  cursor: pointer;
  display: flex;
  flex-direction: column;
}
.support-topic-cta {
  display: inline-block;
  margin-top: 14px;
  font-size: 13px;
  font-weight: 600;
  color: #5b46f6;
}
.support-topic-card.clickable:hover .support-topic-cta {
  color: #4935e0;
}
.support-topic-icon {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.support-topic-icon.purple { background: #f3f0ff; }
.support-topic-icon.blue { background: #eff6ff; }
.support-topic-icon.green { background: #ecfdf5; }
.support-topic-card h3 {
  margin: 0 0 8px;
  font-size: 16.5px;
  font-weight: 700;
  color: #0f172a;
}
.support-topic-card p {
  margin: 0;
  font-size: 13.5px;
  color: #64748b;
  line-height: 1.65;
}

.support-channels-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.support-channel-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid #e7eaf3;
  box-shadow: 0 6px 22px rgba(15, 23, 42, 0.04);
}
.support-channel-card.qq {
  border-color: rgba(22, 119, 255, 0.24);
  background: linear-gradient(135deg, #ffffff 0%, #f5f9ff 100%);
}
.support-channel-card.wechat {
  border-color: rgba(7, 193, 96, 0.24);
  background: linear-gradient(135deg, #ffffff 0%, #f4fdf8 100%);
}
.sc-left {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}
.sc-badge {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  font-size: 15px;
  font-weight: 800;
  color: #ffffff;
  flex-shrink: 0;
}
.sc-badge.qq {
  background: linear-gradient(135deg, #1677ff 0%, #3b82f6 100%);
  box-shadow: 0 6px 16px rgba(22, 119, 255, 0.24);
}
.sc-badge.wechat {
  background: linear-gradient(135deg, #07c160 0%, #10b981 100%);
  box-shadow: 0 6px 16px rgba(7, 193, 96, 0.24);
}
.sc-label {
  font-size: 12.5px;
  color: #64748b;
  margin-bottom: 2px;
}
.sc-value {
  display: block;
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: 0.02em;
}
.sc-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

/* Footer */
.site-footer { background: #111827; color: #9ca3af; padding: 36px 0; font-size: 13px; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.site-footer strong { color: #fff; font-size: 15px; }
.footer-links { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.footer-links a:hover, .footer-link-btn:hover { color: #fff; }
.footer-link-btn {
  border: none;
  background: transparent;
  color: inherit;
  font-size: inherit;
  font-family: inherit;
  cursor: pointer;
  padding: 0;
}
.footer-complaint-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid rgba(251, 191, 36, 0.38);
  background: rgba(245, 158, 11, 0.12);
  color: #fde68a;
  font-weight: 600;
  transition: background 0.16s ease, border-color 0.16s ease, color 0.16s ease, transform 0.16s ease;
}
.footer-complaint-btn:hover {
  background: rgba(245, 158, 11, 0.24);
  border-color: rgba(251, 191, 36, 0.7);
  color: #fffbeb;
  transform: translateY(-1px);
}

/* 套餐区限时活动横幅 & 收银台活动条 & 活动弹窗 */
.btn-promo {
  background: linear-gradient(95deg, #f59e0b 0%, #ea580c 100%);
  color: #ffffff;
  border: none;
  box-shadow: 0 8px 18px rgba(234, 88, 12, 0.24);
}
.btn-promo:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}

.store-promo-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 20px;
  margin-bottom: 22px;
  border-radius: 16px;
  background: linear-gradient(95deg, #fffbeb 0%, #fff7ed 52%, #f5f3ff 100%);
  border: 1px solid #fed7aa;
  box-shadow: 0 6px 20px rgba(234, 88, 12, 0.07);
}
.spb-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.spb-pill {
  background: linear-gradient(95deg, #f59e0b, #ea580c);
  color: #ffffff;
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
  flex-shrink: 0;
}
.spb-copy {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
  min-width: 0;
}
.spb-copy strong {
  font-size: 15px;
  color: #9a3412;
}
.spb-copy span {
  font-size: 13px;
  color: #7c2d12;
}
.spb-copy code {
  background: rgba(255, 255, 255, 0.85);
  color: #c2410c;
  font-weight: 700;
  border: 1px solid #fed7aa;
}
.spb-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.cd-promo-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  margin-top: 12px;
  border-radius: 12px;
  background: linear-gradient(95deg, #fffbeb 0%, #fff7ed 100%);
  border: 1px solid #fed7aa;
  font-size: 12.5px;
  color: #9a3412;
}
.cd-promo-left {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}
.cd-promo-tag {
  background: #ea580c;
  color: #ffffff;
  font-size: 10.5px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 999px;
  white-space: nowrap;
}
.cd-promo-btn {
  border: none;
  background: #ffffff;
  color: #c2410c;
  border: 1px solid #fdba74;
  border-radius: 8px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  font-family: inherit;
}
.cd-promo-btn:hover {
  background: #ffedd5;
}

.promo-modal-card {
  width: min(416px, 100%);
}
.promo-modal-banner {
  position: relative;
  padding: 22px 22px 18px;
  background: linear-gradient(120deg, #5b3df5 0%, #7c3aed 55%, #ea580c 100%);
  color: #ffffff;
  text-align: center;
}
.promo-badge {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  margin-bottom: 10px;
}
.promo-close-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 30px;
  height: 30px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}
.promo-close-btn:hover {
  background: rgba(255, 255, 255, 0.3);
}
.promo-modal-banner h3 {
  margin: 0 0 6px;
  font-size: 20px;
  color: #ffffff;
}
.promo-modal-banner p {
  margin: 0;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.55;
}
.promo-modal-body {
  align-items: center;
  text-align: center;
  padding-top: 16px;
}
.promo-perks {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}
.promo-perks span {
  font-size: 12px;
  font-weight: 700;
  color: #c2410c;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  padding: 4px 10px;
  border-radius: 999px;
}
.promo-qr-box img {
  width: 192px;
}
.promo-highlight-row {
  background: #fffbeb;
  border-color: #fed7aa;
}
.promo-dismiss-link {
  border: none;
  background: transparent;
  color: #94a3b8;
  font-size: 12.5px;
  cursor: pointer;
  padding: 2px 8px;
  font-family: inherit;
}
.promo-dismiss-link:hover {
  color: #475569;
}

/* 右下角悬浮客服按钮与即时咨询助手浮窗（层级低于右侧抽屉，避免遮挡结算按钮） */
.support-fab {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 46;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 48px;
  padding: 0 18px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(95deg, #5e3df7 0%, #6d4aff 100%);
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 26px rgba(99, 56, 245, 0.34);
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}
.support-fab:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(99, 56, 245, 0.44);
}
.fab-online-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.28);
}
.fab-unread-badge {
  position: absolute;
  top: -4px;
  right: -2px;
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  border-radius: 999px;
  background: #ef4444;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  display: grid;
  place-items: center;
  border: 2px solid #ffffff;
  box-shadow: 0 2px 6px rgba(239, 68, 68, 0.35);
}

.chat-widget {
  position: fixed;
  right: 24px;
  bottom: 84px;
  z-index: 48;
  width: 376px;
  max-width: calc(100vw - 24px);
  height: 530px;
  max-height: calc(100vh - 110px);
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid #e4e7f2;
  border-radius: 20px;
  box-shadow: 0 22px 60px rgba(15, 23, 42, 0.18), 0 4px 16px rgba(99, 56, 245, 0.08);
  overflow: hidden;
  animation: floatUpIn 0.24s cubic-bezier(0.22, 1, 0.36, 1);
}
.chat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 16px;
  background: linear-gradient(100deg, #5b3df5 0%, #6f4cff 100%);
  color: #ffffff;
  flex-shrink: 0;
}
.chat-head-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.chat-avatar {
  position: relative;
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.16);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.chat-avatar img {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  display: block;
}
.chat-online-dot {
  position: absolute;
  right: -2px;
  bottom: -2px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #34d399;
  border: 2px solid #5e3df7;
}
.chat-head-meta {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
  min-width: 0;
}
.chat-head-meta strong {
  font-size: 14.5px;
  font-weight: 700;
  color: #ffffff;
}
.chat-head-meta span {
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.86);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.chat-head-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.chat-head-btn {
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-size: 11.5px;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 8px;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s ease;
}
.chat-head-btn:hover {
  background: rgba(255, 255, 255, 0.24);
}
.chat-head-close {
  border: none;
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.chat-head-close:hover {
  background: rgba(255, 255, 255, 0.26);
}

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 14px;
  background: #f6f8fc;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.chat-msg {
  display: flex;
  flex-direction: column;
  max-width: 90%;
}
.chat-msg.bot { align-self: flex-start; }
.chat-msg.user { align-self: flex-end; align-items: flex-end; }
.chat-bubble {
  padding: 10px 13px;
  border-radius: 15px;
  font-size: 13px;
  line-height: 1.6;
  word-break: break-word;
}
.chat-bubble.bot {
  background: #ffffff;
  color: #1e293b;
  border: 1px solid #e7ebf4;
  border-top-left-radius: 5px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}
.chat-bubble.user {
  background: linear-gradient(100deg, #5e3df7 0%, #6f4cff 100%);
  color: #ffffff;
  border-top-right-radius: 5px;
  box-shadow: 0 4px 12px rgba(99, 56, 245, 0.24);
}
.chat-bubble.typing {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #64748b;
  font-size: 12.5px;
}
.typing-dots {
  display: inline-flex;
  gap: 3px;
}
.typing-dots i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #6338f5;
  opacity: 0.35;
  animation: chatTypingBounce 1.1s infinite ease-in-out;
}
.typing-dots i:nth-child(2) { animation-delay: 0.16s; }
.typing-dots i:nth-child(3) { animation-delay: 0.32s; }
@keyframes chatTypingBounce {
  0%, 80%, 100% { transform: translateY(0); opacity: 0.35; }
  40% { transform: translateY(-3px); opacity: 1; }
}
.chat-time {
  margin-top: 4px;
  font-size: 10.5px;
  color: #94a3b8;
  padding: 0 4px;
}

/* 助手回复内嵌联系方式卡片 */
.chat-contact-card {
  margin-top: 10px;
  padding: 10px;
  border-radius: 12px;
  background: #f8faff;
  border: 1px solid #e2e8f8;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.ccc-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  flex-wrap: wrap;
}
.ccc-badge {
  font-size: 11px;
  font-weight: 700;
  color: #5b46f6;
  background: #ede9fe;
  padding: 2px 7px;
  border-radius: 999px;
}
.ccc-hours {
  font-size: 10.5px;
  color: #64748b;
}
.ccc-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 6px 8px;
  background: #ffffff;
  border: 1px solid #e8edf6;
  border-radius: 9px;
  font-size: 12px;
  color: #334155;
}
.ccc-row strong {
  color: #0f172a;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
.ccc-btn {
  border: none;
  border-radius: 7px;
  padding: 4px 8px;
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  font-family: inherit;
}
.ccc-btn.qq {
  background: #1677ff;
  color: #ffffff;
}
.ccc-btn.qq:hover { background: #0f62d9; }
.ccc-btn.wechat {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #bbf7d0;
}
.ccc-btn.wechat:hover { background: #d1fae5; }
.ccc-qr-btn {
  border: 1px dashed #c7d2fe;
  background: #ffffff;
  color: #5b46f6;
  border-radius: 8px;
  padding: 6px 8px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s ease;
}
.ccc-qr-btn:hover { background: #f3f0ff; }

.chat-quick-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background: #ffffff;
  border-top: 1px solid #eef1f7;
  overflow-x: auto;
  flex-shrink: 0;
}
.chat-quick-bar::-webkit-scrollbar { height: 0; }
.chat-quick-chip {
  border: 1px solid #e2e6f3;
  background: #f8f9fe;
  color: #475569;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.15s ease;
}
.chat-quick-chip:hover {
  border-color: #6338f5;
  color: #5b46f6;
  background: #f3f0ff;
}

.chat-input-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px 12px;
  background: #ffffff;
  border-top: 1px solid #eef1f7;
  flex-shrink: 0;
}
.chat-input {
  flex: 1;
  height: 38px;
  border: 1px solid #dfe4f0;
  border-radius: 11px;
  padding: 0 12px;
  font-size: 13px;
  font-family: inherit;
  color: #0f172a;
  background: #f8fafc;
  outline: none;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.chat-input:focus {
  border-color: #6338f5;
  background: #ffffff;
}
.chat-send-btn {
  width: 38px;
  height: 38px;
  border: none;
  border-radius: 11px;
  background: linear-gradient(95deg, #5e3df7 0%, #6d4aff 100%);
  color: #ffffff;
  display: grid;
  place-items: center;
  cursor: pointer;
  flex-shrink: 0;
  box-shadow: 0 6px 14px rgba(99, 56, 245, 0.25);
  transition: transform 0.14s ease, filter 0.14s ease;
}
.chat-send-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.06);
}

#supportModal,
#promoModal {
  z-index: 92;
}

body.drawer-open .support-fab,
body.drawer-open .chat-widget,
body.drawer-open .bookmark-card {
  opacity: 0 !important;
  pointer-events: none !important;
  visibility: hidden !important;
}

.bookmark-card {
  bottom: 82px !important;
}

.support-modal-card { width: min(410px, 100%); }
.support-modal-body { align-items: center; text-align: center; }
.support-modal-topics {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}
.support-modal-topics span {
  font-size: 12px;
  font-weight: 600;
  color: #5b46f6;
  background: #f3f0ff;
  border: 1px solid #e4dcff;
  padding: 4px 11px;
  border-radius: 999px;
}
.support-qr-box {
  padding: 12px;
  border-radius: 18px;
  background: #f8fafc;
  border: 1px solid #e7eaf3;
}
.support-qr-box img {
  display: block;
  width: 200px;
  height: auto;
  border-radius: 12px;
}
.support-id-list {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.support-id-row {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid #e7eaf3;
  font-size: 13.5px;
  color: #334155;
}
.support-id-row strong { color: #0f172a; font-family: ui-monospace, monospace; }
.support-note { margin: 0; font-size: 12.5px; color: #64748b; line-height: 1.6; }

/* 客服投诉与交易维权弹窗 */
.complaint-modal-card {
  width: min(560px, 100%);
  max-height: calc(100vh - 36px);
  display: flex;
  flex-direction: column;
}
.complaint-modal-head {
  background: linear-gradient(135deg, #fffbeb 0%, #ffffff 55%, #f5f3ff 100%);
  flex-shrink: 0;
}
.complaint-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.complaint-badge {
  font-size: 11px;
  font-weight: 700;
  color: #b45309;
  background: #fef3c7;
  border: 1px solid #fde68a;
  padding: 2px 9px;
  border-radius: 999px;
}
.complaint-modal-body {
  overflow-y: auto;
  gap: 14px;
}
.complaint-sla-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 12px;
  background: #fffbeb;
  border: 1px solid #fde68a;
  color: #92400e;
  font-size: 12.5px;
  line-height: 1.5;
}
.complaint-sla-bar svg {
  display: block;
  flex-shrink: 0;
  color: #d97706;
}
.complaint-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.complaint-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.complaint-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.complaint-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.complaint-label {
  font-size: 12.5px;
  font-weight: 600;
  color: #334155;
}
.complaint-label em {
  color: #ef4444;
  font-style: normal;
}
.complaint-char-count {
  font-size: 11.5px;
  color: #94a3b8;
  font-variant-numeric: tabular-nums;
}
.complaint-type-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.complaint-type-chip {
  border: 1px solid var(--border);
  background: #ffffff;
  color: #475569;
  font-size: 12.5px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.15s ease;
}
.complaint-type-chip:hover {
  border-color: var(--primary);
  color: var(--primary);
}
.complaint-type-chip.active {
  background: var(--primary-soft);
  border-color: var(--primary);
  color: var(--primary);
  box-shadow: 0 2px 8px rgba(91, 70, 246, 0.14);
}
.complaint-field input,
.complaint-field textarea {
  width: 100%;
  border: 1px solid #dbe1ee;
  border-radius: 11px;
  padding: 9px 12px;
  font-size: 13.5px;
  font-family: inherit;
  color: #0f172a;
  background: #ffffff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.complaint-field textarea {
  resize: vertical;
  min-height: 82px;
  line-height: 1.55;
}
.complaint-field input:focus,
.complaint-field textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(91, 70, 246, 0.12);
}
.complaint-error {
  padding: 8px 12px;
  border-radius: 10px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
  font-size: 12.5px;
  font-weight: 500;
}
.complaint-submit-btn {
  margin-top: 2px;
}
.complaint-receipt {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.complaint-receipt-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
}
.complaint-receipt-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #10b981;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  flex-shrink: 0;
}
.complaint-receipt-icon svg {
  display: block;
}
.complaint-receipt-head > div {
  min-width: 0;
}
.complaint-receipt-head > div strong {
  display: block;
  font-size: 14.5px;
  line-height: 1.35;
  color: #065f46;
}
.complaint-receipt-head > div span {
  display: block;
  font-size: 12.5px;
  line-height: 1.45;
  color: #047857;
  margin-top: 2px;
}
.complaint-receipt-card {
  border: 1px solid #e5e8f0;
  border-radius: 14px;
  padding: 12px 14px;
  background: #f8fafc;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.crc-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: #475569;
}
.crc-row.crc-ticket {
  padding-bottom: 8px;
  border-bottom: 1px dashed #cbd5e1;
}
.crc-row.crc-ticket strong {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 15px;
  color: var(--primary);
  letter-spacing: 0.02em;
}
.crc-status-pill {
  font-size: 11.5px;
  font-weight: 700;
  color: #047857;
  background: #d1fae5;
  padding: 2px 9px;
  border-radius: 999px;
}
.complaint-receipt-actions {
  display: flex;
  gap: 10px;
}
.complaint-receipt-actions .btn {
  flex: 1;
}
.complaint-contact-box {
  border: 1px solid #e7eaf3;
  border-radius: 14px;
  padding: 12px 14px;
  background: #f8fafc;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ccb-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}
.ccb-head strong {
  font-size: 13.5px;
  color: #0f172a;
}
.ccb-head span {
  font-size: 12px;
  color: #64748b;
}
.ccb-rows {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ccb-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 11px;
  background: #ffffff;
  border: 1px solid #e7eaf3;
  font-size: 13px;
  color: #334155;
  flex-wrap: wrap;
}
.ccb-row strong {
  color: #0f172a;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
.ccb-btns {
  display: flex;
  align-items: center;
  gap: 6px;
}
.complaint-history {
  border-top: 1px solid var(--border);
  padding-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ch-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
}
.ch-clear-btn {
  border: none;
  background: transparent;
  color: #94a3b8;
  font-size: 12px;
  cursor: pointer;
  padding: 0;
  font-family: inherit;
}
.ch-clear-btn:hover { color: #ef4444; }
.ch-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.ch-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 11px;
  border-radius: 10px;
  background: #f8fafc;
  border: 1px solid #e7eaf3;
  font-size: 12px;
}
.ch-item-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.ch-item-meta strong {
  color: #0f172a;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12.5px;
}
.ch-item-meta span {
  color: #64748b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 抽屉与弹窗 */
.drawer-backdrop,
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.52);
  backdrop-filter: blur(4px);
  z-index: 60;
}
.modal-backdrop {
  display: grid;
  place-items: center;
  padding: 20px;
  overflow-y: auto;
}
.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(400px, 100vw);
  background: #fff;
  z-index: 70;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lg);
}
.drawer-header, .modal-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 18px 22px;
  border-bottom: 1px solid var(--border);
}
.drawer-header h3, .modal-header h3 { margin: 0; font-size: 18px; }
.icon-close {
  border: none;
  background: var(--surface-alt);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
}
.drawer-body { flex: 1; overflow-y: auto; padding: 16px 22px; display: flex; flex-direction: column; gap: 12px; }
.cart-item {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.qty-controls { display: flex; align-items: center; gap: 6px; }
.qty-controls button { width: 26px; height: 26px; border-radius: 8px; border: 1px solid var(--border); background: #fff; cursor: pointer; }
.drawer-footer { padding: 16px 22px; border-top: 1px solid var(--border); }
.cart-total-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; font-size: 15px; }
.cart-total-row strong { font-size: 22px; color: var(--primary); }

.modal-card {
  width: min(540px, 100%);
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.modal-card.modal-wide { width: min(860px, 100%); }
.modal-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 14px; }

/* Stripe 级右侧高定滑出收银台抽屉 */
.checkout-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(540px, 100vw);
  background: #f6f7fb;
  z-index: 80;
  display: flex;
  flex-direction: column;
  box-shadow: -18px 0 60px rgba(15, 23, 42, 0.16);
  animation: drawerSlideIn 0.26s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes drawerSlideIn {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}

.cd-header {
  background: #ffffff;
  padding: 18px 24px;
  border-bottom: 1px solid #eef0f6;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.cd-header-left {
  display: flex;
  align-items: center;
  gap: 11px;
}

.cd-header h3 {
  margin: 0;
  font-size: 16.5px;
  font-weight: 700;
  color: #0f172a;
}

.cd-header p {
  margin: 2px 0 0;
  font-size: 12px;
  color: #64748b;
}

.cd-steps {
  background: #ffffff;
  padding: 11px 24px;
  border-bottom: 1px solid #eef0f6;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.cd-step {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 600;
  color: #94a3b8;
  white-space: nowrap;
}

.cd-step i {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #f1f5f9;
  color: #64748b;
  font-style: normal;
  font-size: 11px;
  display: inline-grid;
  place-items: center;
}

.cd-step.active { color: #6338f5; }
.cd-step.active i { background: #6338f5; color: #ffffff; }
.cd-step.done { color: #059669; }
.cd-step.done i { background: #10b981; color: #ffffff; }

.cd-step-line {
  flex: 1;
  height: 1px;
  background: #e2e8f0;
}

.cd-body {
  flex: 1;
  overflow-y: auto;
  padding: 18px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cd-section-card {
  background: #ffffff;
  border: 1px solid #eaecf4;
  border-radius: 16px;
  padding: 16px 18px;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.025);
}

.cd-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
}

.cd-secure-tag {
  font-size: 11px;
  font-weight: 600;
  color: #047857;
  background: #ecfdf5;
  padding: 2px 8px;
  border-radius: 999px;
}

.cd-ref-tag {
  font-size: 11px;
  font-weight: 600;
  color: #6338f5;
  background: #f3f0ff;
  padding: 2px 8px;
  border-radius: 999px;
}

.cd-items-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cd-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid #eef0f6;
}

.cd-item-name {
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
}

.cd-item-spec {
  font-size: 12px;
  color: #64748b;
  margin-top: 2px;
}

.cd-item-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.cd-item-price {
  font-size: 15px;
  font-weight: 800;
  color: #0f172a;
  min-width: 66px;
  text-align: right;
}

.cd-form-row {
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  gap: 12px;
  align-items: start;
}

.cd-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cd-field span {
  font-size: 12.5px;
  font-weight: 600;
  color: #334155;
  white-space: nowrap;
}

.cd-field em {
  color: #ef4444;
  font-style: normal;
}

.cd-field input,
.cd-coupon-box input {
  width: 100%;
  height: 42px;
  border: 1px solid #dde2ee;
  border-radius: 11px;
  padding: 0 13px;
  font-size: 14px;
  font-family: inherit;
  color: #0f172a;
  background: #ffffff;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.cd-field input:focus,
.cd-coupon-box input:focus {
  border-color: #6338f5;
  box-shadow: 0 0 0 3px rgba(99, 56, 245, 0.12);
}

.cd-coupon-toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
}

.cd-text-btn {
  border: none;
  background: none;
  color: #6338f5;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
}

.cd-field-hint {
  font-size: 11.5px;
  color: #94a3b8;
}

.cd-coupon-box {
  margin-top: 10px;
}

/* 支付方式大卡片 */
.cd-pay-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.cd-pay-card {
  width: 100%;
  border: 1.5px solid #e5e8f2;
  background: #ffffff;
  border-radius: 13px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.cd-pay-card:hover {
  border-color: #cbd5e1;
}

.cd-pay-card.active[data-method="alipay"] {
  border-color: #1677ff;
  background: rgba(22, 119, 255, 0.04);
  box-shadow: 0 4px 14px rgba(22, 119, 255, 0.10);
}

.cd-pay-card.active[data-method="wechat"] {
  border-color: #07c160;
  background: rgba(7, 193, 96, 0.04);
  box-shadow: 0 4px 14px rgba(7, 193, 96, 0.10);
}

.cd-pay-card.active[data-method="usdt"] {
  border-color: #26a17b;
  background: rgba(38, 161, 123, 0.04);
  box-shadow: 0 4px 14px rgba(38, 161, 123, 0.10);
}

.cd-pay-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  color: #ffffff;
  font-weight: 800;
  font-size: 15px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.cd-pay-icon.alipay { background: linear-gradient(135deg, #1677ff, #0958d9); }
.cd-pay-icon.wechat { background: linear-gradient(135deg, #07c160, #059669); }
.cd-pay-icon.usdt { background: linear-gradient(135deg, #26a17b, #1d7f61); }

.cd-pay-info {
  flex: 1;
}

.cd-pay-name {
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 6px;
}

.rec-tag {
  font-style: normal;
  font-size: 10.5px;
  font-weight: 700;
  color: #1677ff;
  background: rgba(22, 119, 255, 0.12);
  padding: 1px 6px;
  border-radius: 5px;
}

.fee-tag {
  font-style: normal;
  font-size: 10.5px;
  font-weight: 700;
  color: #b45309;
  background: #fffbeb;
  border: 1px solid #fde68a;
  padding: 1px 6px;
  border-radius: 5px;
}

.cd-fee-breakdown {
  margin-top: 12px;
  padding: 12px 13px;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid #e6eaf4;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.cd-fee-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 12.5px;
  color: #475569;
}

.cd-fee-row em {
  font-style: normal;
  font-weight: 700;
}

.cd-fee-row.fee-accent {
  color: #92400e;
}

.cd-fee-row.fee-accent strong {
  color: #b45309;
  font-weight: 800;
}

.cd-fee-save-tip {
  margin-top: 3px;
  padding: 9px 11px;
  border-radius: 10px;
  background: linear-gradient(95deg, #ecfdf5 0%, #f0fdf4 100%);
  border: 1px solid #a7f3d0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.cd-fee-save-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 12px;
  color: #065f46;
  line-height: 1.45;
  flex: 1;
  min-width: 170px;
}

.cd-fee-save-copy strong {
  color: #047857;
  font-weight: 700;
}

.cd-fee-save-btn {
  border: 1px solid #6ee7b7;
  background: #ffffff;
  color: #047857;
  border-radius: 8px;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  font-family: inherit;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.cd-fee-save-btn:hover {
  background: #d1fae5;
  border-color: #34d399;
}

.cd-total-fee-hint {
  font-style: normal;
  color: #b45309;
  font-weight: 600;
}

.cd-qr-fee-note {
  font-size: 12px;
  color: #92400e;
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 9px;
  padding: 6px 12px;
  line-height: 1.5;
}

.cd-qr-fee-link {
  border: none;
  background: transparent;
  color: #047857;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  padding: 0;
  font-family: inherit;
  text-decoration: underline;
}

.cd-pay-info small {
  display: block;
  font-size: 11.5px;
  color: #64748b;
  margin-top: 2px;
}

.cd-pay-check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1.5px solid #cbd5e1;
  color: transparent;
  font-size: 12px;
  font-weight: 800;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.cd-pay-card.active .cd-pay-check {
  border-color: transparent;
  color: #ffffff;
  background: #1677ff;
}
.cd-pay-card.active[data-method="wechat"] .cd-pay-check { background: #07c160; }
.cd-pay-card.active[data-method="usdt"] .cd-pay-check { background: #26a17b; }

.cd-agree {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12px;
  color: #64748b;
  padding: 0 4px;
}

/* 吸底结算栏 */
.cd-footer {
  background: #ffffff;
  border-top: 1px solid #eaecf4;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.cd-total-label {
  display: block;
  font-size: 11.5px;
  color: #64748b;
}

.cd-total-price-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cd-total-price-row strong {
  font-size: 26px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.cd-pay-submit {
  flex: 1;
  max-width: 250px;
  height: 48px;
  border: none;
  border-radius: 13px;
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s ease, filter 0.15s ease;
}

.cd-pay-submit:hover { transform: translateY(-1px); filter: brightness(1.04); }
.cd-pay-submit.alipay { background: linear-gradient(95deg, #1677ff, #0958d9); box-shadow: 0 10px 24px rgba(22, 119, 255, 0.28); }
.cd-pay-submit.wechat { background: linear-gradient(95deg, #07c160, #059669); box-shadow: 0 10px 24px rgba(7, 193, 96, 0.28); }
.cd-pay-submit.usdt { background: linear-gradient(95deg, #26a17b, #1d7f61); box-shadow: 0 10px 24px rgba(38, 161, 123, 0.28); }

/* 步骤 2 扫码面板 */
.cd-qr-panel {
  background: #ffffff;
  border: 1px solid #eaecf4;
  border-radius: 20px;
  padding: 26px 22px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.cd-qr-channel {
  font-size: 13px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 999px;
}
.cd-qr-channel.alipay { background: rgba(22, 119, 255, 0.1); color: #1677ff; }
.cd-qr-channel.wechat { background: rgba(7, 193, 96, 0.1); color: #059669; }
.cd-qr-channel.usdt { background: rgba(38, 161, 123, 0.1); color: #1d7f61; }

.cd-qr-amount {
  font-size: 38px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.cd-qr-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 12px;
  color: #64748b;
}

.cd-countdown-pill {
  background: #fff7ed;
  color: #c2410c;
  padding: 2px 8px;
  border-radius: 6px;
}

.cd-qr-frame {
  padding: 18px;
  border-radius: 18px;
  background: #f8fafc;
  border: 1.5px dashed #cbd5e1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin: 6px 0;
}

.cd-listen-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: #475569;
  margin-bottom: 6px;
}

.cd-done-panel {
  background: #ffffff;
  border: 1px solid #eaecf4;
  border-radius: 20px;
  padding: 28px 22px;
  text-align: center;
}

.cd-done-icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #ecfdf5;
  color: #10b981;
  display: grid;
  place-items: center;
  margin: 0 auto 14px;
}

@media (max-width: 520px) {
  .cd-form-row { grid-template-columns: 1fr; }
  .cd-footer { flex-direction: column; align-items: stretch; }
  .cd-pay-submit { max-width: none; }
}
.issued-cards-list { text-align: left; display: flex; flex-direction: column; gap: 8px; margin: 16px 0; }
.issued-card-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--amber-soft);
  border: 1px solid #fde68a;
  font-size: 13px;
}

/* 订单查密 */
.lookup-form { display: grid; grid-template-columns: 1.4fr 1fr auto; gap: 10px; }
.lookup-form input {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 14px;
  font-family: inherit;
}
.order-results { display: flex; flex-direction: column; gap: 12px; max-height: 440px; overflow-y: auto; }
.order-row {
  border: 1px solid #e5e8f2;
  background: #ffffff;
  border-radius: 16px;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.03);
}
.order-row-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}
.order-row-title {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.order-row-title strong {
  font-size: 14.5px;
  color: #0f172a;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
.order-row-amount {
  font-size: 16px;
  font-weight: 800;
  color: #0f172a;
}
.order-status-pill {
  display: inline-flex;
  align-items: center;
  font-size: 11.5px;
  font-weight: 700;
  padding: 2px 9px;
  border-radius: 999px;
}
.order-status-pill.done { background: #ecfdf5; color: #047857; border: 1px solid #a7f3d0; }
.order-status-pill.paid { background: #eef2ff; color: #4f46e5; border: 1px solid #c7d2fe; }
.order-status-pill.pending { background: #fffbeb; color: #b45309; border: 1px solid #fde68a; }
.order-status-pill.muted { background: #f1f5f9; color: #64748b; border: 1px solid #e2e8f0; }
.order-row-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: #64748b;
}
.order-cards-box {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 8px;
  border-top: 1px dashed #e7eaf3;
}
.order-card-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  padding: 10px 12px;
  border-radius: 12px;
  background: #fffbeb;
  border: 1px solid #fde68a;
}
.order-card-code-wrap {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.order-card-name {
  font-size: 12px;
  font-weight: 600;
  color: #92400e;
}
.order-card-btns {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.order-no-cards {
  font-size: 12.5px;
  color: #64748b;
  background: #f8fafc;
  border-radius: 10px;
  padding: 9px 12px;
}
.card-code-pill {
  display: inline-block;
  background: #ffffff;
  color: #92400e;
  border: 1px solid #fcd34d;
  padding: 4px 10px;
  border-radius: 8px;
  font-family: ui-monospace, monospace;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  word-break: break-all;
}
.empty-state {
  color: var(--text-muted);
  font-size: 13px;
  text-align: center;
  padding: 26px 12px;
  border: 1px dashed var(--border);
  border-radius: 12px;
}

/* 左下角「网站已更新」浮层条 & 右下角「收藏本站」卡片 */
.update-toast {
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 45;
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border: 1px solid #d9d6fe;
  border-radius: 16px;
  padding: 13px 16px;
  box-shadow: 0 14px 36px rgba(91, 70, 246, 0.14), 0 2px 8px rgba(15, 23, 42, 0.05);
  animation: floatUpIn 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}
.update-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #f3f0ff;
  color: #6338f5;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.update-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.35;
}
.update-copy strong {
  font-size: 14px;
  color: #0f172a;
}
.update-copy span {
  font-size: 12.5px;
  color: #64748b;
}
.btn-update-reload {
  border: none;
  border-radius: 10px;
  background: linear-gradient(95deg, #5e3df7 0%, #6d4aff 100%);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 15px;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 6px 16px rgba(99, 56, 245, 0.25);
  transition: transform 0.15s ease, filter 0.15s ease;
}
.btn-update-reload:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}

.bookmark-card {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 44;
  width: 312px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  border: 1px solid #eceef5;
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 18px 46px rgba(15, 23, 42, 0.11), 0 2px 8px rgba(15, 23, 42, 0.04);
  animation: floatUpIn 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.bookmark-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  padding-right: 20px;
}
.bookmark-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #f3f0ff;
  color: #6338f5;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.bookmark-top strong {
  display: block;
  font-size: 15px;
  color: #0f172a;
  line-height: 1.3;
}
.bookmark-top span {
  display: block;
  font-size: 12.5px;
  color: #64748b;
  margin-top: 2px;
}
.bookmark-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.btn-bookmark-primary {
  flex: 1;
  height: 38px;
  border: none;
  border-radius: 10px;
  background: linear-gradient(95deg, #5e3df7 0%, #7048f9 100%);
  color: #fff;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(99, 56, 245, 0.24);
  transition: transform 0.15s ease, filter 0.15s ease;
}
.btn-bookmark-primary:hover {
  transform: translateY(-1px);
  filter: brightness(1.04);
}
.btn-bookmark-dismiss {
  border: none;
  background: transparent;
  color: #64748b;
  font-size: 13px;
  font-weight: 500;
  padding: 8px 10px;
  cursor: pointer;
}
.btn-bookmark-dismiss:hover { color: #0f172a; }

.float-close {
  border: none;
  background: transparent;
  color: #94a3b8;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  padding: 2px 4px;
}
.float-close:hover { color: #475569; }
.bookmark-x {
  position: absolute;
  top: 12px;
  right: 12px;
}

@keyframes floatUpIn {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

.toast-container { position: fixed; bottom: 92px; right: 24px; z-index: 96; display: flex; flex-direction: column; gap: 8px; }
.toast { background: #111827; color: #fff; padding: 10px 16px; border-radius: 12px; font-size: 13px; box-shadow: var(--shadow-md); }

@media (max-width: 1024px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .guarantee-grid { grid-template-columns: repeat(2, 1fr); }
  .partner-banner, .checkout-two-col { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .main-nav { display: none; }
  .hero-grid, .workflow-grid, .faq-list, .partner-cards, .form-grid, .lookup-form { grid-template-columns: 1fr; }
  .support-topics-grid, .support-channels-grid { grid-template-columns: 1fr; }
  .support-channel-card, .store-promo-banner { flex-direction: column; align-items: flex-start; }
  .sc-actions, .spb-actions { width: 100%; }
  .sc-actions .btn, .spb-actions .btn { flex: 1; justify-content: center; }
  .pay-method-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .container { padding: 0 14px; }
  .announcement-bar { font-size: 12px; }
  .announcement-inner {
    padding: 7px 34px 7px 14px;
    gap: 6px 8px;
  }
  .header-inner {
    height: 58px;
    gap: 8px;
  }
  .brand { gap: 7px; }
  .brand-logo-img { width: 30px; height: 30px; border-radius: 8px; }
  .brand-text strong { font-size: 14px; }
  .brand-text small { display: none; }
  .header-actions {
    gap: 5px;
    flex-shrink: 1;
    min-width: 0;
  }
  .header-actions .btn-sm {
    padding: 6px 9px;
    font-size: 12px;
    border-radius: 9px;
    gap: 4px;
  }
  .header-actions .btn-redeem-highlight {
    padding: 6px 11px;
    font-size: 12px;
  }
  .header-actions .btn-redeem-highlight svg {
    width: 12px;
    height: 12px;
  }
  .cart-badge {
    min-width: 16px;
    height: 16px;
    font-size: 10px;
    padding: 0 4px;
  }
  .hero-cta-pair {
    width: 100%;
    max-width: 320px;
  }
  .hero-cta-pair .btn-hero-primary,
  .hero-cta-pair .btn-hero-redeem {
    width: 100%;
    min-width: 0;
  }
  .wf-mode-tabs {
    width: 100%;
    max-width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .wf-tab {
    padding: 8px 8px;
    font-size: 12.5px;
    text-align: center;
  }
  .product-grid, .guarantee-grid { grid-template-columns: 1fr; }
  .product-card { padding: 20px 18px; }
  .pc-highlights { gap: 6px; }
  .pc-hl-box { padding: 8px 4px; }
  .live-board-card { padding: 18px 14px; }
  .live-board-list li {
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 6px 10px;
  }
  .lb-right {
    width: 100%;
    justify-content: space-between;
  }
  .complaint-form-grid { grid-template-columns: 1fr; }
  .complaint-receipt-actions { flex-direction: column; }
  .update-toast {
    left: 12px;
    right: 12px;
    bottom: 72px;
    gap: 10px;
    padding: 11px 12px;
  }
  .update-copy {
    flex: 1;
    min-width: 0;
  }
  .update-copy strong { font-size: 13px; }
  .update-copy span { font-size: 11.5px; }
  .btn-update-reload {
    padding: 7px 11px;
    font-size: 12px;
  }
  .bookmark-card {
    left: 12px;
    right: 12px;
    width: auto;
    bottom: 72px !important;
  }
  .toast-container {
    left: 12px;
    right: 12px;
    bottom: 72px;
    align-items: center;
  }
  .chat-widget {
    right: 12px;
    left: 12px;
    bottom: 72px;
    width: auto;
    max-width: none;
    height: 70vh;
    max-height: 520px;
  }
  .support-fab {
    right: 12px;
    bottom: 14px;
    height: 44px;
    padding: 0 15px;
    font-size: 13px;
  }
}
@media (max-width: 360px) {
  .container { padding: 0 10px; }
  .brand-text strong { font-size: 13px; }
  .header-actions .btn-sm,
  .header-actions .btn-redeem-highlight {
    padding: 5px 7px;
    font-size: 11.5px;
  }
}
