@charset "UTF-8";

/* ==========================================================
   GPT代充平台（yxab.cn）· 样式
   思路：深色极光头图 + 浅色内容区，主色翡翠绿。
   CSP 只允许 'self'，字体全靠系统栈，别想着引 Google Fonts 了
   ========================================================== */

:root {
  --bg: #f5f7f5;
  --surface: #ffffff;
  --surface-2: #f8faf8;
  --ink: #0d1713;
  --ink-2: #33433b;
  --muted: #6a7a72;
  --faint: #98a69f;
  --line: #e3e9e5;
  --line-2: #d4ddd8;

  --brand: #10b981;
  --brand-2: #34d399;
  --brand-ink: #047857;
  --brand-soft: #e6f7ef;
  --brand-ring: rgba(16, 185, 129, .18);

  --night: #08100d;
  --night-2: #0f1b16;

  --danger: #c2410c;
  --danger-soft: #fff3ec;
  --warn: #b45309;
  --warn-soft: #fef6e4;

  --radius: 16px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(13, 23, 19, .04), 0 2px 8px rgba(13, 23, 19, .04);
  --shadow: 0 1px 2px rgba(13, 23, 19, .04), 0 12px 32px -8px rgba(13, 23, 19, .10);
  --shadow-lg: 0 30px 80px -20px rgba(8, 16, 13, .35);
  --header-h: 68px;

  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--bg);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); line-height: 1.5; min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }
button, input { font: inherit; color: inherit; }
button, a, input, summary { -webkit-tap-highlight-color: transparent; }
button, a { touch-action: manipulation; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .5; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; }
button:focus-visible, a:focus-visible, summary:focus-visible, input:focus-visible { outline: 3px solid var(--brand-ring); outline-offset: 3px; }
.hidden { display: none !important; }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 100; padding: 8px 14px; border-radius: 8px; background: #fff; }
.skip-link:focus { left: 8px; }
.noscript { padding: 12px; text-align: center; background: var(--warn-soft); color: var(--warn); }

.wrap { width: 100%; max-width: 1400px; margin: 0 auto; padding: 0 48px; }
.section { padding-top: 80px; }
.eyebrow { margin: 0 0 10px; font-size: 12px; font-weight: 650; letter-spacing: .14em; color: var(--brand-ink); }
.inline-link { padding: 0; border: 0; background: none; font: inherit; color: var(--brand-ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 30;
  background: rgba(8, 16, 13, .94);
  backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  color: #e8f2ed;
}
.header-inner { height: var(--header-h); display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 11px; font-weight: 700; font-size: 16px; letter-spacing: .02em; flex-shrink: 0; }
.brand-text { display:flex;flex-direction:column;align-items:flex-start;gap:3px;line-height:1.15; }
.brand-name { font-size:18px;font-weight:750;color:#edf7f1;white-space:nowrap; }
.brand-mark {
  width: 36px; height: 36px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 11px; background: linear-gradient(140deg, #1ee3a0, #0b9e6f);
  font-size: 21px; font-weight: 800; color: #fff;
  box-shadow: 0 6px 20px -4px rgba(16, 185, 129, .55), inset 0 1px 0 rgba(255, 255, 255, .4);
}
.brand-mark.sm { width: 26px; height: 26px; border-radius: 8px; font-size: 15px; box-shadow: none; }
.site-nav { display: flex; gap: 4px; margin: 0 auto; padding: 4px; border-radius: 999px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .07); }
.site-nav a { padding: 7px 18px; border-radius: 999px; font-size: 14px; color: #b9cbc2; transition: background .2s, color .2s; white-space: nowrap; }
.site-nav a:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.site-nav a[aria-current="page"] { color: #04261a; background: linear-gradient(135deg, #34d399, #10b981); font-weight: 650; }
.site-nav a { display: inline-flex; align-items: center; }
.nav-dot { width: 6px; height: 6px; margin-right: 7px; border-radius: 50%; background: var(--brand-2); flex-shrink: 0; animation: pulse 2.2s infinite; }
.site-nav a[aria-current="page"] .nav-dot { background: #04261a; animation: none; }
.header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.header-link { padding: 8px 12px; font-size: 14px; color: #cfe0d7; border-radius: 10px; }
.header-link:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.account-chip { display: inline-flex; align-items: center; gap: 9px; padding: 4px 14px 4px 4px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); font-size: 14px; color: #e8f2ed; }
.account-chip:hover, .account-chip[aria-current="page"] { background: rgba(255, 255, 255, .12); }
.account-name { max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.avatar { width: 30px; height: 30px; border-radius: 50%; display: inline-grid; place-items: center; font-size: 14px; font-weight: 800; color: #fff; background: linear-gradient(140deg, #60a5fa, #10b981); }
.avatar.xl { width: 64px; height: 64px; font-size: 28px; box-shadow: 0 10px 30px -10px rgba(16, 185, 129, .8); flex-shrink: 0; }
.menu-toggle { display: none; width: 40px; height: 40px; padding: 0; border: 1px solid rgba(255, 255, 255, .12); border-radius: 10px; background: rgba(255, 255, 255, .05); flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
.menu-toggle span { width: 16px; height: 2px; border-radius: 2px; background: #dbe9e2; transition: transform .2s, opacity .2s; }
.nav-open .menu-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-open .menu-toggle span:nth-child(2) { opacity: 0; }
.nav-open .menu-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.tiny-dot, .live-label > span, .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--brand-2); display: inline-block; animation: pulse 2.2s infinite; flex-shrink: 0; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, .55); }
  70% { box-shadow: 0 0 0 7px rgba(52, 211, 153, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}

/* ---------- 深色头图（首页 + 二级页共用） ---------- */
.hero, .page-hero, .product-hero, .auth-wrap { position: relative; background: var(--night); color: #eaf4ef; overflow: hidden; isolation: isolate; }
.hero-glow {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(600px 380px at 78% 18%, rgba(16, 185, 129, .35), transparent 70%),
    radial-gradient(520px 360px at 12% 90%, rgba(20, 184, 166, .22), transparent 70%),
    radial-gradient(420px 300px at 55% 60%, rgba(99, 102, 241, .14), transparent 70%);
}
.hero-glow::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse at 60% 30%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse at 60% 30%, #000 20%, transparent 75%);
}
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 90px; z-index: -1; background: var(--bg); }
.hero-inner { display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; gap: 40px; padding-top: 84px; padding-bottom: 72px; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  margin: 0 0 20px; padding: 6px 14px 6px 12px; border-radius: 999px;
  border: 1px solid rgba(52, 211, 153, .25); background: rgba(16, 185, 129, .08);
  font-size: 13px; color: #9fe6c6; letter-spacing: .04em;
}
.hero h1 { font-size: clamp(36px, 5vw, 62px); line-height: 1.12; font-weight: 800; letter-spacing: -.02em; color: #fff; }
.hero h1 > span, .page-hero h1 > span { background: linear-gradient(100deg, #6ee7b7 0%, #34d399 40%, #5eead4 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-subtitle { margin: 24px 0 0; font-size: 17px; line-height: 1.85; color: #a7bbb1; max-width: 580px; }
.hero-subtitle strong { color: #6ee7b7; font-weight: 650; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 34px; }
.hero-actions.center { justify-content: center; }
.hero-pills { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 28px 0 0; padding: 0; font-size: 14px; color: #8ea69a; }
.hero-pills li::before { content: "\2713"; color: var(--brand-2); font-weight: 700; margin-right: 7px; }
.browser-order-frame { position:fixed; width:1px; height:1px; border:0; left:-10000px; top:0; }

.hero-art { position: relative; height: 380px; }
.ring { position: absolute; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .08); left: 50%; top: 50%; transform: translate(-50%, -50%); }
.ring-one { width: 380px; height: 380px; }
.ring-two { width: 270px; height: 270px; border-style: dashed; border-color: rgba(52, 211, 153, .2); animation: spin 60s linear infinite; }
.pass { position: absolute; left: 50%; top: 50%; width: 300px; height: 186px; margin: -93px 0 0 -150px; border-radius: 20px; }
.pass-back { background: linear-gradient(135deg, #1b2a24, #111c18); border: 1px solid rgba(255, 255, 255, .06); transform: translate(-34px, -38px) rotate(-14deg); }
.pass-mid { background: linear-gradient(135deg, #0f766e, #134e4a); border: 1px solid rgba(255, 255, 255, .08); transform: translate(-14px, -16px) rotate(-6deg); opacity: .9; }
.pass-front {
  display: flex; flex-direction: column; justify-content: space-between; padding: 20px 22px;
  background: radial-gradient(120% 140% at 0% 0%, rgba(255, 255, 255, .35), transparent 50%), linear-gradient(135deg, #34d399 0%, #10b981 45%, #0d9488 100%);
  border: 1px solid rgba(255, 255, 255, .35); color: #03241a;
  transform: translate(20px, 14px) rotate(5deg);
  box-shadow: 0 40px 80px -20px rgba(16, 185, 129, .55), 0 20px 40px -20px rgba(0, 0, 0, .6);
  animation: float 6s ease-in-out infinite;
}
.pass-row { display: flex; align-items: center; justify-content: space-between; }
.pass-chip { width: 40px; height: 30px; border-radius: 7px; background: linear-gradient(135deg, #fde68a, #d4a537); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12); }
.pass-brand { font-size: 26px; font-weight: 900; letter-spacing: .04em; line-height: 1; color: #053b2a; }
.pass-code { font-family: "SF Mono", ui-monospace, Menlo, Consolas, monospace; font-size: 15px; letter-spacing: .04em; white-space: nowrap; font-weight: 600; color: #042f22; }
.pass-foot span { font-weight: 800; letter-spacing: .12em; font-size: 14px; }
.pass-foot small { font-size: 9px; letter-spacing: .22em; opacity: .7; }
.floating-tag {
  position: absolute; left: 2%; bottom: 46px; display: flex; align-items: center; gap: 9px;
  padding: 11px 16px; border-radius: 14px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .12);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  font-size: 13px; color: #d9ebe2; box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .5);
  animation: float 7s ease-in-out infinite reverse;
}
.floating-tag i { width: 8px; height: 8px; border-radius: 50%; background: #fbbf24; box-shadow: 0 0 10px #fbbf24; }
.floating-tag.tag-two { left: auto; right: 0; bottom: auto; top: 34px; animation-delay: -3s; }
.floating-tag b { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--brand); color: #fff; font-size: 11px; }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
@keyframes spin { to { transform: translate(-50%, -50%) rotate(360deg); } }

/* 首页四个卖点，压在头图底边 */
.perks { list-style: none; margin: 0; padding: 8px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); color: var(--ink); position: relative; }
.perks li { display: flex; gap: 14px; align-items: center; padding: 18px; border-radius: 15px; transition: background .2s; }
.perks li:hover { background: var(--surface-2); }
.perk-icon {
  flex-shrink: 0; width: 48px; height: 48px; border-radius: 14px;
  display: inline-flex; align-items: baseline; justify-content: center; padding-top: 14px;
  font-size: 20px; font-weight: 800; color: #fff; line-height: 1;
  background: linear-gradient(140deg, var(--brand-2), var(--brand) 60%, #0d9488);
  box-shadow: 0 10px 22px -10px rgba(16, 185, 129, .9), inset 0 1px 0 rgba(255, 255, 255, .35);
}
.perk-icon small { font-size: 11px; font-weight: 700; margin-left: 1px; }
.perks li:nth-child(2) .perk-icon { background: linear-gradient(140deg, #fcd34d, #f59e0b); box-shadow: 0 10px 22px -10px rgba(245, 158, 11, .9); }
.perks li:nth-child(3) .perk-icon { background: linear-gradient(140deg, #fb7185, #e11d48); box-shadow: 0 10px 22px -10px rgba(225, 29, 72, .8); }
.perks li:nth-child(4) .perk-icon { background: linear-gradient(140deg, #60a5fa, #2563eb); box-shadow: 0 10px 22px -10px rgba(37, 99, 235, .8); }
.perks h3 { font-size: 16px; font-weight: 750; margin: 0 0 4px; }
.perks p { font-size: 13px; line-height: 1.6; color: var(--muted); margin: 0; }

/* 二级页头图：矮一些，下面的内容卡片往上压 */
.page-hero-inner { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; padding-top: 40px; padding-bottom: 104px; }
.page-hero h1 { font-size: clamp(30px, 4vw, 46px); font-weight: 800; color: #fff; letter-spacing: -.01em; }
.page-hero-sub { margin: 12px 0 0; font-size: 16px; color: #a7bbb1; line-height: 1.7; max-width: 640px; }
.page-hero.compact .page-hero-inner { padding-top: 36px; padding-bottom: 96px; align-items: center; }
.hero-side-actions { display: flex; gap: 10px; flex-wrap: wrap; flex-shrink: 0; }
.page-overlap { position: relative; margin-top: -64px; }
.page-overlap.narrow { max-width: 1040px; }
body[data-page="products"] .page-overlap { margin-bottom:clamp(64px,7vw,112px); }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 18px; font-size: 13px; color: #8ea69a; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb [aria-current] { color: #d9ebe2; }
.breadcrumb .sep { opacity: .5; }

/* ---------- 按钮 ---------- */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 46px; padding: 0 20px; border: 0; border-radius: 12px;
  background: var(--ink); color: #fff; font-size: 15px; font-weight: 600; white-space: nowrap;
  transition: background .2s, transform .15s, box-shadow .2s;
}
.button:hover:not(:disabled) { background: #1d2c25; }
.button:active:not(:disabled) { transform: translateY(1px); }
.button.sm { height: 36px; padding: 0 14px; font-size: 14px; border-radius: 10px; }
.button.block { width: 100%; }
.button.primary { background: linear-gradient(135deg, #1ad69a, var(--brand) 50%, #0d9488); color: #03251a; box-shadow: 0 10px 24px -10px rgba(16, 185, 129, .8), inset 0 1px 0 rgba(255, 255, 255, .35); }
.button.primary:hover:not(:disabled) { background: linear-gradient(135deg, #2ee3a8, #12c98c 50%, #0fa89a); }
.button.secondary { background: var(--surface); color: var(--ink); border: 1px solid var(--line-2); }
.button.secondary:hover:not(:disabled) { background: var(--surface-2); border-color: #c3cfc9; }
.button.glow { background: linear-gradient(135deg, #34d399, #10b981); color: #03251a; box-shadow: 0 12px 34px -8px rgba(16, 185, 129, .7); }
.button.glow:not(.sm) { height: 52px; padding: 0 26px; font-size: 16px; }
.button.glow:hover:not(:disabled) { background: linear-gradient(135deg, #4ae3ad, #18c98e); }
.button.ghost { background: rgba(255, 255, 255, .06); color: #e8f2ed; border: 1px solid rgba(255, 255, 255, .16); }
.hero .button.ghost { height: 52px; padding: 0 24px; font-size: 16px; }
.button.ghost:hover:not(:disabled) { background: rgba(255, 255, 255, .12); }
.text-button { border: 0; background: none; padding: 6px 0; font-size: 14px; font-weight: 600; color: var(--brand-ink); transition: color .2s; }
.text-button:hover:not(:disabled) { color: var(--ink); }

/* ---------- 商品卡（整张卡是链接） ---------- */
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 22px; }
.section-heading h2 { font-size: 28px; font-weight: 750; letter-spacing: -.01em; }
.live-label { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; padding: 6px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(228px, 1fr)); gap: 16px; }
.product-card {
  position: relative; display: flex; flex-direction: column; min-height: 230px; padding: 22px;
  color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm); transition: border-color .2s, box-shadow .25s, transform .25s; overflow: hidden;
}
.product-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--brand-2), var(--brand), #14b8a6); opacity: 0; transition: opacity .25s; }
.product-card:hover { transform: translateY(-4px); box-shadow: 0 0 0 4px var(--brand-ring), var(--shadow); border-color: var(--brand); }
.product-card:hover::before { opacity: 1; }
.product-card.sold-out { filter: grayscale(.7); opacity: .75; }
.product-top { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.product-symbol { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; flex-shrink: 0; font-size: 15px; font-weight: 800; letter-spacing: -.02em; color: var(--brand-ink); background: var(--brand-soft); transition: background .25s, color .25s; }
.product-card:hover .product-symbol { background: linear-gradient(140deg, var(--brand-2), var(--brand)); color: #fff; }
.product-symbol.lg { width: 64px; height: 64px; border-radius: 18px; font-size: 22px; color: #fff; background: linear-gradient(140deg, var(--brand-2), var(--brand)); box-shadow: 0 14px 30px -12px rgba(16, 185, 129, .8); }
.product-badge { margin-left: auto; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 650; color: var(--warn); background: var(--warn-soft); border: 1px solid #fde7b0; white-space: nowrap; }
.product-title { font-size: 20px; font-weight: 750; margin: 0 0 6px; }
.product-caption { font-size: 13px; color: var(--muted); line-height: 1.6; margin: 0; }
.product-price { display: flex; align-items: baseline; gap: 2px; margin-top: auto; padding-top: 18px; }
.product-price > span { font-size: 16px; font-weight: 600; }
.product-price > strong { font-size: 34px; font-weight: 800; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.product-price > small { font-size: 13px; color: var(--faint); margin-left: 4px; }
.product-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--line); }
.product-stock { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--brand-ink); }
.product-stock .dot { width: 6px; height: 6px; }
.product-go { font-size: 14px; font-weight: 650; color: var(--brand-ink); white-space: nowrap; }
.product-go i { font-style: normal; display: inline-block; transition: transform .2s; }
.product-card:hover .product-go i { transform: translateX(4px); }

/* 骨架屏：只给商品列表那一块用 */
.product-card.skeleton { pointer-events: none; gap: 12px; }
.product-card.skeleton span, .list-skeleton, .skeleton-block::before { display: block; border-radius: 8px; background: linear-gradient(90deg, #edf1ee 25%, #f6f8f6 50%, #edf1ee 75%); background-size: 200% 100%; animation: shimmer 1.4s infinite; }
.product-card.skeleton span:nth-child(1) { width: 42px; height: 42px; border-radius: 12px; }
.product-card.skeleton span:nth-child(2) { width: 60%; height: 20px; margin-top: 10px; }
.product-card.skeleton span:nth-child(3) { width: 80%; height: 14px; }
.product-card.skeleton span:nth-child(4) { width: 45%; height: 32px; margin-top: auto; }
.list-skeleton { height: 140px; border-radius: 16px; }
@keyframes shimmer { to { background-position: -200% 0; } }
.grid-error { grid-column: 1 / -1; padding: 40px; text-align: center; color: var(--muted); background: var(--surface); border: 1.5px dashed var(--line-2); border-radius: 18px; }
.grid-error p { margin: 0 0 14px; }

.list-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; padding: 14px 18px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.list-count { font-size: 14px; color: var(--muted); }
.mini-perks { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; margin: 36px 0 0; padding: 0; font-size: 14px; color: var(--muted); }
.mini-perks li::before { content: "\2713"; color: var(--brand); font-weight: 800; margin-right: 7px; }

/* 三步流程 */
.how-head { text-align: center; margin-bottom: 26px; }
.how-head h2 { font-size: 28px; font-weight: 750; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.steps li { display: flex; gap: 14px; align-items: flex-start; padding: 22px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); }
.steps li > span { flex-shrink: 0; width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; font-size: 13px; font-weight: 700; color: var(--brand-ink); background: var(--brand-soft); }
.steps h3 { font-size: 15px; font-weight: 650; margin: 2px 0 5px; }
.steps p { font-size: 13px; line-height: 1.65; color: var(--muted); margin: 0; }

.seo-intro { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; }
.seo-intro h2 { font-size: 28px; font-weight: 750; }
.seo-copy p { margin: 0 0 14px; font-size: 15px; line-height: 1.95; color: var(--ink-2); }

/* FAQ */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; padding-bottom: 96px; }
.faq-intro h2 { font-size: 36px; font-weight: 800; line-height: 1.25; letter-spacing: -.01em; margin: 6px 0 16px; }
.faq-intro > p:last-child { font-size: 15px; color: var(--muted); margin: 0; }
.faq-items { display: flex; flex-direction: column; gap: 10px; }
.faq-items > details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 0 22px; transition: border-color .2s, box-shadow .2s; }
.faq-items > details[open] { border-color: var(--line-2); box-shadow: var(--shadow-sm); }
.faq-items summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 19px 0; font-size: 16px; font-weight: 600; }
summary::-webkit-details-marker { display: none; }
.faq-items summary > span { flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; color: var(--brand-ink); background: var(--brand-soft); font-size: 15px; transition: transform .25s; }
details[open] > summary > span { transform: rotate(45deg); }
.faq-items p { margin: 0; padding: 0 0 20px; font-size: 14px; line-height: 1.9; color: var(--muted); }

/* ---------- 商品详情页（二级页） ---------- */
.product-hero .wrap { padding-top: 26px; padding-bottom: 120px; }
.product-hero .breadcrumb { margin: 0; }
.product-layout { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 32px; align-items: start; margin-top: -96px; position: relative; }
.product-main { min-width: 0; }
.product-head { display: flex; align-items: center; gap: 20px; padding: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow); }
.product-head-text { flex: 1; min-width: 0; }
.product-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.product-tags .product-badge { margin: 0; }
.tag-soft { padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; color: var(--brand-ink); background: var(--brand-soft); }
.product-head h1 { font-size: clamp(26px, 3vw, 34px); font-weight: 800; letter-spacing: -.01em; }
.product-fullname { margin: 6px 0 0; font-size: 13px; line-height: 1.6; color: var(--faint); }
.product-head-price { display: flex; align-items: baseline; gap: 2px; flex-shrink: 0; color: var(--ink); }
.product-head-price span { font-size: 18px; font-weight: 700; }
.product-head-price strong { font-size: 44px; font-weight: 800; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.product-head-price small { font-size: 14px; color: var(--faint); margin-left: 4px; }
.product-perks { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 14px 0 0; padding: 0; }
.product-perks li { display: flex; align-items: center; justify-content: center; gap: 7px; padding: 12px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); font-size: 14px; font-weight: 600; color: var(--ink-2); }
.product-perks li::before { content: "\2713"; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; font-size: 11px; color: #fff; background: var(--brand); }

.detail-card { margin-top: 14px; padding: 26px 28px; background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--brand); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.detail-top { display: flex; gap: 14px; align-items: flex-start; padding-bottom: 18px; margin-bottom: 6px; border-bottom: 1px dashed var(--line-2); }
.detail-icon { flex-shrink: 0; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-size: 19px; font-weight: 700; font-style: italic; font-family: Georgia, serif; color: #fff; background: linear-gradient(140deg, var(--brand-2), var(--brand)); }
.detail-icon.search { font-style: normal; font-family: inherit; font-size: 26px; line-height: 1; }
.detail-top h2 { font-size: 19px; font-weight: 750; margin: 1px 0 5px; }
.detail-top p { font-size: 13px; line-height: 1.7; color: var(--muted); margin: 0; }
.detail-tag { flex-shrink: 0; margin-left: auto; padding: 4px 11px; border-radius: 999px; font-size: 12px; font-weight: 650; color: var(--warn); background: var(--warn-soft); border: 1px solid #fde7b0; }
.rich-text { font-size: 15px; line-height: 1.95; color: var(--ink-2); overflow-wrap: anywhere; }
.rich-text h1, .rich-text h2 { font-size: 18px; line-height: 1.7; margin: 16px 0 6px; }
.rich-text h3, .rich-text h4 { font-size: 16px; margin: 14px 0 6px; }
.rich-text p { margin: 8px 0; }
.rich-text a { color: var(--brand-ink); text-decoration: underline; text-underline-offset: 3px; }
.rich-text img { max-width: 100%; height: auto; border-radius: 10px; }
.rich-text blockquote { margin: 12px 0; padding: 4px 16px; border-left: 3px solid var(--brand-2); background: var(--surface-2); border-radius: 0 8px 8px 0; }
.rich-text pre { white-space: pre-wrap; }

/* 结算卡 */
.checkout-card { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow); overflow: hidden; }
.checkout-head { padding: 24px 24px 20px; background: radial-gradient(300px 160px at 100% 0%, rgba(16, 185, 129, .35), transparent 70%), linear-gradient(160deg, var(--night-2), var(--night)); color: #eaf4ef; }
.checkout-top { display: flex; align-items: center; justify-content: space-between; }
.checkout-top .eyebrow { margin: 0; color: #7fdcb3; }
.secure-badge { display: inline-flex; align-items: center; gap: 7px; padding: 4px 10px; border-radius: 999px; font-size: 12px; color: #a7f3d0; background: rgba(16, 185, 129, .14); border: 1px solid rgba(52, 211, 153, .25); }
.checkout-card h2 { font-size: 24px; font-weight: 750; margin: 10px 0 4px; color: #fff; }
.checkout-intro { font-size: 14px; color: #93aa9f; margin: 0 0 18px; }
.selected-product { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); }
.selected-icon { flex-shrink: 0; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-size: 15px; font-weight: 800; color: #fff; background: linear-gradient(140deg, var(--brand-2), var(--brand)); }
.selected-product strong { display: block; font-size: 15px; color: #fff; }
.selected-product div > span { display: block; margin-top: 3px; font-size: 12px; color: #93aa9f; }
.checkout-body { padding: 20px 24px 24px; }
.login-hint { margin-bottom: 18px; padding: 10px 12px; border-radius: 12px; font-size: 13px; line-height: 1.6; color: var(--ink-2); background: var(--surface-2); border: 1px solid var(--line); }
.login-hint a { color: var(--brand-ink); font-weight: 650; text-decoration: underline; text-underline-offset: 3px; }
.field-label { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; font-size: 14px; font-weight: 600; color: var(--ink); }
.field-label > span { font-size: 12px; font-weight: 400; color: var(--faint); }
input[type=email], input[type=text], input[type=password] {
  width: 100%; height: 46px; padding: 0 14px; font-size: 15px; color: var(--ink);
  background: var(--surface-2); border: 1px solid var(--line); border-radius: 12px;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
input[type=email]:hover, input[type=text]:hover, input[type=password]:hover { border-color: var(--line-2); }
input[type=email]:focus, input[type=text]:focus, input[type=password]:focus { outline: none; background: #fff; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-ring); }
input::placeholder { color: #aab6b0; }
.quantity-line { display: flex; align-items: center; justify-content: space-between; margin: 18px 0; }
.quantity-line .field-label { margin: 0; }
.quantity-control { display: flex; align-items: center; height: 38px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-2); overflow: hidden; }
.quantity-control button { width: 38px; height: 100%; border: 0; background: transparent; font-size: 17px; color: var(--ink-2); }
.quantity-control button:hover:not(:disabled) { background: #eaf0ec; }
.quantity-control input { width: 40px; height: 100%; padding: 0; border: 0; background: transparent; text-align: center; font-size: 15px; font-weight: 600; appearance: textfield; -moz-appearance: textfield; }
.quantity-control input::-webkit-inner-spin-button, .quantity-control input::-webkit-outer-spin-button { appearance: none; margin: 0; }
.payment-field { margin: 0; padding: 0; border: 0; min-width: 0; }
.payment-field legend { padding: 0; width: 100%; }
.payment-options { display: flex; gap: 10px; }
.payment-option { flex: 1; position: relative; display: flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 10px; font-size: 14px; font-weight: 550; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); cursor: pointer; transition: border-color .2s, background .2s, box-shadow .2s; }
.payment-option:hover { border-color: var(--brand); background: #f6fdf9; }
.payment-options:not(:has(input:checked)) .payment-option { border-style: dashed; border-color: #9fdcc0; }
.payment-option:has(input:checked) { border-color: var(--brand); background: #f1fbf6; box-shadow: 0 0 0 3px var(--brand-ring); }
.payment-option input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.payment-option:has(input:focus-visible) { outline: 3px solid var(--brand-ring); outline-offset: 3px; }
.pay-icon { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; font-size: 12px; font-weight: 700; color: #fff; background: var(--muted); }
.alipay { background: #1677ff; }
.wxpay { background: #07c160; }
.bill { margin: 20px 0 18px; padding: 16px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--line); }
.bill > div { display: flex; justify-content: space-between; font-size: 14px; color: var(--muted); margin-bottom: 8px; }
.bill > div > span:last-child { color: var(--ink-2); font-variant-numeric: tabular-nums; }
.bill .bill-total { align-items: baseline; margin: 12px 0 8px; padding-top: 12px; border-top: 1px dashed var(--line-2); color: var(--ink); font-weight: 600; }
.bill-total strong { font-size: 30px; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.bill p { margin: 0; font-size: 12px; line-height: 1.7; color: var(--faint); }
.consent { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; line-height: 1.7; color: var(--muted); cursor: pointer; }
.consent input { flex-shrink: 0; width: 17px; height: 17px; margin: 2px 0 0; accent-color: var(--brand); }
.checkout-button { width: 100%; height: 54px; margin-top: 18px; justify-content: space-between; padding: 0 22px; font-size: 16px; font-weight: 700; }
.checkout-button > span:last-child { font-size: 20px; font-weight: 500; }
.checkout-button:disabled { background: #dfe7e2; color: #8a9a92; box-shadow: none; opacity: 1; }
.checkout-perks { list-style: none; display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin: 16px 0 0; padding: 0; }
.checkout-perks li { padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; color: var(--brand-ink); background: var(--brand-soft); }
.checkout-perks li::before { content: "\2713\0020"; }
.checkout-footnote { display: flex; align-items: center; justify-content: center; gap: 7px; margin: 12px 0 0; font-size: 12px; color: var(--faint); text-align: center; }
.lock { position: relative; width: 10px; height: 8px; margin-top: 4px; border-radius: 2px; background: currentColor; flex-shrink: 0; }
.lock::before { content: ""; position: absolute; left: 2px; top: -5px; width: 4px; height: 5px; border: 1.5px solid currentColor; border-bottom: 0; border-radius: 4px 4px 0 0; }
.secure-badge .lock { color: #6ee7b7; }
.form-error { margin: 14px 0 0; padding: 11px 14px; border-radius: 12px; font-size: 13px; line-height: 1.7; color: var(--danger); background: var(--danger-soft); border: 1px solid #fde0cf; }

/* ---------- 查卡密 ---------- */
.lookup-card { margin-bottom: 28px; padding: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow); }
.lookup-intro { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.lookup-intro .detail-icon { width: 46px; height: 46px; border-radius: 14px; }
.lookup-intro h2 { font-size: 20px; font-weight: 700; margin: 0 0 4px; }
.lookup-intro p { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.7; }
.lookup-badge { margin-left: auto; padding: 5px 12px; border-radius: 999px; white-space: nowrap; font-size: 13px; font-weight: 600; color: var(--brand-ink); background: var(--brand-soft); }
.lookup-input-row { display: flex; gap: 10px; }
.lookup-input-row input { flex: 1; min-width: 0; height: 50px; }
.lookup-input-row .button { flex-shrink: 0; height: 50px; padding: 0 24px; }
.lookup-help { margin: 14px 0 0; font-size: 13px; line-height: 1.8; color: var(--faint); }
.lookup-result-label { margin: 24px 0 12px; font-size: 14px; color: var(--muted); line-height: 1.8; }
.recent-heading { display: flex; align-items: center; justify-content: space-between; margin: 8px 0 14px; }
.recent-heading h2 { font-size: 18px; font-weight: 700; }
.order-list-item { width: 100%; margin-bottom: 10px; padding: 18px 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 16px; transition: border-color .2s, box-shadow .2s, transform .2s; }
.order-list-item:hover { border-color: var(--brand); box-shadow: var(--shadow-sm); transform: translateY(-1px); }
.order-list-item.delivered { border-left: 4px solid var(--brand); }
.order-list-item strong { display: block; font-size: 15px; font-weight: 650; }
.order-list-item small { display: block; margin-top: 5px; font-size: 13px; color: var(--faint); }
.order-list-item > span:last-child { flex-shrink: 0; text-align: right; }
.order-list-item > span:last-child small { font-size: 15px; font-weight: 650; color: var(--ink); font-variant-numeric: tabular-nums; }
.status-pill { display: inline-block; padding: 4px 11px; border-radius: 999px; white-space: nowrap; font-size: 12px; font-weight: 650; color: var(--muted); background: var(--surface-2); border: 1px solid var(--line); }
.status-pill.ok { color: #fff; background: var(--brand); border-color: var(--brand); }
.status-pill.wait { color: var(--warn); background: var(--warn-soft); border-color: #fde7b0; }
.empty-orders { padding: 44px 20px; text-align: center; font-size: 15px; color: var(--muted); border: 1.5px dashed var(--line-2); border-radius: 18px; background: var(--surface-2); }
.empty-orders p { margin: 0 0 14px; }
.orders-footnote { margin: 22px 0 80px; font-size: 13px; line-height: 1.8; color: var(--faint); }

/* ---------- 订单结果页：卡密置顶高亮 ---------- */
.order-result { padding: 30px; background: var(--surface); border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow); margin-bottom: 80px; }
.skeleton-block { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; min-height: 260px; color: var(--muted); }
.skeleton-block::before { content: none; }
.empty-state { text-align: center; }
.empty-state .status-icon { margin: 0 auto 16px; }
.empty-state h2 { font-size: 22px; margin-bottom: 8px; }
.empty-state p { color: var(--muted); }
.empty-state .order-actions { justify-content: center; }
.order-status-bar { display: flex; align-items: flex-start; gap: 16px; }
.status-icon { flex-shrink: 0; width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; font-size: 26px; font-weight: 800; color: #fff; background: linear-gradient(140deg, var(--brand-2), var(--brand)); box-shadow: 0 10px 24px -10px rgba(16, 185, 129, .8); }
.status-icon.bad { background: linear-gradient(140deg, #fb923c, #ea580c); box-shadow: 0 10px 24px -10px rgba(234, 88, 12, .7); }
.status-icon.wait { background: linear-gradient(140deg, #fcd34d, #f59e0b); box-shadow: 0 10px 24px -10px rgba(245, 158, 11, .8); }
.status-kicker { margin: 0 0 4px; font-size: 13px; color: var(--faint); }
.order-status-bar h2 { font-size: 26px; font-weight: 800; margin: 0 0 6px; }
.order-status-bar p { margin: 0; font-size: 14px; line-height: 1.8; color: var(--muted); }
.order-progress { list-style: none; display: flex; gap: 0; margin: 24px 0 0; padding: 0; counter-reset: none; }
.order-progress li { flex: 1; position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 13px; color: var(--faint); }
.order-progress li::before { content: ""; position: absolute; top: 15px; left: -50%; width: 100%; height: 2px; background: var(--line); z-index: 0; }
.order-progress li:first-child::before { display: none; }
.order-progress li.done::before, .order-progress li.current::before { background: var(--brand); }
.order-progress b { position: relative; z-index: 1; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; background: var(--surface-2); border: 2px solid var(--line); color: var(--faint); }
.order-progress li.done b { background: var(--brand); border-color: var(--brand); color: #fff; }
.order-progress li.current b { border-color: var(--brand); color: var(--brand-ink); box-shadow: 0 0 0 5px var(--brand-ring); }
.order-progress li.done span, .order-progress li.current span { color: var(--ink); font-weight: 600; }

.delivery-hero {
  position: relative; margin-top: 26px; padding: 28px;
  border-radius: 22px;
  background: radial-gradient(500px 200px at 100% 0%, rgba(52, 211, 153, .22), transparent 70%), linear-gradient(160deg, #ecfdf5, #f7fefb);
  border: 2px solid var(--brand);
  box-shadow: 0 0 0 6px var(--brand-ring), 0 24px 60px -24px rgba(16, 185, 129, .6);
  animation: reveal .5s ease-out;
}
.delivery-hero.locked { border-color: #f59e0b; background: linear-gradient(160deg, #fffbeb, #fffdf6); box-shadow: 0 0 0 6px rgba(245, 158, 11, .15), 0 24px 60px -24px rgba(245, 158, 11, .5); }
@keyframes reveal { from { opacity: 0; transform: translateY(8px); } }
.delivery-head h2 { font-size: 26px; font-weight: 800; margin: 10px 0 6px; color: #064e3b; }
.delivery-hero.locked .delivery-head h2 { color: #78350f; }
.delivery-head p { margin: 0; font-size: 15px; line-height: 1.7; color: #3f6b5a; }
.delivery-hero.locked .delivery-head p { color: #7c5a1c; }
.delivery-badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; font-size: 13px; font-weight: 700; color: #fff; background: var(--brand); }
.delivery-hero.locked .delivery-badge { background: #f59e0b; }
.card-codes { display: flex; flex-direction: column; gap: 12px; margin-top: 20px; }
.card-code { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: 16px; background: #fff; border: 2px dashed #6ee7b7; box-shadow: 0 6px 20px -12px rgba(4, 120, 87, .5); }
.card-label { flex-shrink: 0; padding: 4px 10px; border-radius: 8px; font-size: 12px; font-weight: 700; color: var(--brand-ink); background: var(--brand-soft); }
.card-code code { flex: 1; min-width: 0; font-family: "SF Mono", ui-monospace, Menlo, Consolas, monospace; font-size: 22px; font-weight: 700; line-height: 1.5; letter-spacing: .03em; white-space: pre-wrap; word-break: break-all; color: #064e3b; user-select: all; }
.card-code .button { flex-shrink: 0; }
.copy-all { margin-top: 6px; }
.delivery-empty { margin: 18px 0 0; color: var(--warn); }
.next-steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 20px 0 0; padding: 0; }
.next-steps li { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; background: rgba(255, 255, 255, .7); border: 1px solid #c7eedb; font-size: 14px; font-weight: 600; color: #065f46; }
.next-steps b { width: 26px; height: 26px; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center; font-size: 13px; color: #fff; background: var(--brand); }
.delivery-guide { margin-top: 20px; padding: 20px 22px; border-radius: 16px; background: #fff; border: 1px solid #c7eedb; }
.delivery-guide h3 { margin: 0 0 6px; font-size: 17px; font-weight: 750; }
.delivery-note { margin: 16px 0 0; font-size: 13px; line-height: 1.8; color: #a16207; }
.unlock-form { margin-top: 20px; padding: 20px; border-radius: 16px; background: #fff; border: 1px solid #f3e3bb; }
.unlock-form label { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 600; }
.unlock-form > div { display: flex; gap: 10px; }
.unlock-form input { flex: 1; min-width: 0; background: #fff; }
.guest-methods { display: flex; gap: 10px; margin: 0 0 18px; padding: 0; border: 0; }
.guest-methods label { display: flex; flex:1; min-width:0; justify-content:center; align-items: center; gap: 7px; margin: 0; padding: 9px 8px; border-radius: 10px; background: #fff; border: 1px solid #ebe2c6; font-size:13px; font-weight: 550; white-space:nowrap; cursor: pointer; }
.guest-methods label:has(input:checked) { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-ring); }
.guest-methods input { flex:0 0 auto; width:14px; height:14px; margin:0; accent-color: var(--brand); }
.unlock-form .guest-email-fields, .unlock-form #guest-transaction-fields { display: block; }
.unlock-form #guest-transaction-fields.hidden, .unlock-form .guest-email-fields.hidden { display: none; }
.guest-code-row { display: flex; gap: 10px; }
.guest-code-row input { flex: 1; min-width: 0; }
.guest-code-row .button { flex-shrink: 0; }
#guest-verify-submit { margin-top: 18px; }

.pay-cta { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 24px; padding: 20px 22px; border-radius: 18px; background: linear-gradient(160deg, #fffbeb, #fffdf6); border: 2px solid #fbbf24; }
.pay-cta span { display: block; font-size: 13px; color: var(--warn); font-weight: 600; }
.pay-cta strong { font-size: 30px; font-weight: 800; font-variant-numeric: tabular-nums; }
.pay-cta .button { height: 52px; padding: 0 28px; font-size: 16px; }
.order-info { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); }
.order-info h3 { margin: 0 0 14px; font-size: 16px; font-weight: 700; color: var(--ink-2); }
.order-meta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.order-meta > div { background: var(--surface-2); padding: 16px 18px; }
.order-meta div > span { display: block; margin-bottom: 6px; font-size: 12px; color: var(--faint); }
.order-meta strong { font-size: 15px; font-weight: 600; line-height: 1.6; overflow-wrap: anywhere; }
.order-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.order-note { margin: 12px 0 0; font-size: 13px; line-height: 1.8; color: #a16207; }

/* ---------- 帮助中心 ---------- */
.help-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 32px; align-items: start; padding-bottom: 96px; }
.help-toc { position: sticky; top: calc(var(--header-h) + 20px); display: flex; flex-direction: column; gap: 4px; padding: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); }
.help-toc > a { padding: 10px 12px; border-radius: 10px; font-size: 15px; font-weight: 600; color: var(--ink-2); }
.help-toc > a:hover { background: var(--brand-soft); color: var(--brand-ink); }
.help-contact { margin-top: 14px; padding: 16px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--line); }
.help-contact h3 { font-size: 15px; margin-bottom: 4px; }
.help-contact p { margin: 0 0 12px; font-size: 13px; color: var(--muted); }
.help-group { margin-bottom: 36px; }
.help-group h2 { font-size: 22px; font-weight: 750; margin-bottom: 14px; }
.help-group:first-child { padding: 24px; margin-bottom: 36px; background: var(--surface); border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow); }
.help-group:first-child .faq-items > details { background: var(--surface-2); }

/* ---------- 登录 / 注册 / 404 ---------- */
.auth-wrap { display: grid; place-items: center; padding: 72px 16px 96px; min-height: calc(100vh - var(--header-h) - 200px); }
.auth-card { width: min(440px, 100%); padding: 34px; background: var(--surface); color: var(--ink); border-radius: 26px; box-shadow: var(--shadow-lg); }
.auth-card.center { text-align: center; }
.auth-head { text-align: center; margin-bottom: 24px; }
.auth-head .brand-mark { width: 52px; height: 52px; border-radius: 16px; font-size: 28px; }
.auth-head h1, .auth-card.center h1 { margin: 16px 0 6px; font-size: 26px; font-weight: 800; }
.auth-head p, .auth-card.center p { margin: 0; font-size: 14px; color: var(--muted); }
#auth-form input { margin-bottom: 16px; }
#auth-submit { height: 52px; margin-top: 6px; font-size: 16px; }
.auth-switch { margin: 18px 0 0; text-align: center; font-size: 14px; color: var(--muted); }
.auth-perks { list-style: none; margin: 22px 0 0; padding: 16px 0 0; border-top: 1px dashed var(--line-2); display: flex; flex-direction: column; gap: 8px; font-size: 13px; color: var(--muted); }
.auth-perks li::before { content: "\2713"; color: var(--brand); font-weight: 800; margin-right: 8px; }
.fatal-icon { display: inline-grid; place-items: center; min-width: 64px; height: 64px; padding: 0 14px; border-radius: 20px; background: var(--danger-soft); color: var(--danger); font-size: 22px; font-weight: 800; }

/* ---------- 个人中心 ---------- */
.account-hello { display: flex; align-items: center; gap: 18px; }
.account-hello .hero-eyebrow { margin-bottom: 10px; }
.account-stats { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 0 0 32px; padding: 0; }
.account-stats li { padding: 20px 22px; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); }
.account-stats span { display: block; font-size: 13px; color: var(--muted); }
.account-stats strong { display: block; margin-top: 6px; font-size: 30px; font-weight: 800; font-variant-numeric: tabular-nums; }
.account-stats li:nth-child(3) strong { color: var(--brand-ink); }

/* ---------- Footer ---------- */
.site-footer { margin-top: 0; background: var(--night); color: #a7bbb1; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-top: 56px; padding-bottom: 40px; }
.footer-brand { display: inline-flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 700; color: #fff; }
.footer-about p { margin: 14px 0 10px; font-size: 14px; line-height: 1.8; max-width: 360px; }
.site-footer .text-button { color: #6ee7b7; }
.site-footer .text-button:hover { color: #fff; }
.site-footer h2 { margin: 6px 0 14px; font-size: 14px; font-weight: 700; color: #fff; letter-spacing: .04em; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.site-footer ul a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding-top: 20px; padding-bottom: 24px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 13px; color: #6f8a7e; }

/* ---------- 加载 / Toast ---------- */
.spinner { display: inline-block; width: 28px; height: 28px; border-radius: 50%; border: 2.5px solid #d6e5dd; border-top-color: var(--brand); animation: spinner .8s linear infinite; }
@keyframes spinner { to { transform: rotate(360deg); } }
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 50; transform: translateX(-50%); max-width: calc(100vw - 32px); padding: 13px 22px; border-radius: 14px; font-size: 14px; text-align: center; color: #fff; background: rgba(13, 23, 19, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: var(--shadow-lg); animation: toast-in .25s ease-out; }
@keyframes toast-in { from { opacity: 0; transform: translate(-50%, 10px); } }

/* ---------- 支付弹窗 ---------- */
body.payment-open { overflow: hidden; }
.payment-modal { width: min(420px, calc(100vw - 28px)); height: min(790px, calc(100dvh - 40px)); max-width: none; max-height: none; margin: auto; padding: 0; border: 0; border-radius: 24px; background: #fff; color: var(--ink); overflow: hidden; box-shadow: var(--shadow-lg); }
.payment-modal[open] { display: flex; flex-direction: column; animation: pop .22s ease-out; }
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(.98); } }
.payment-modal::backdrop, .captcha-modal::backdrop { background: rgba(8, 16, 13, .55); backdrop-filter: blur(6px); }
.payment-modal-header { flex-shrink: 0; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 18px 20px; background: linear-gradient(160deg, var(--night-2), var(--night)); color: #fff; }
.payment-modal-header h2 { margin: 0 0 3px; font-size: 17px; font-weight: 700; }
.payment-modal-header p { margin: 0; font-size: 13px; color: #93aa9f; }
.payment-close { flex-shrink: 0; width: 34px; height: 34px; border: 0; border-radius: 50%; display: grid; place-items: center; font-size: 22px; line-height: 1; color: #cfe0d7; background: rgba(255, 255, 255, .1); transition: background .2s; }
.payment-close:hover { background: rgba(255, 255, 255, .18); }
.payment-modal-body { position: relative; flex: 1; min-height: 0; background: var(--surface-2); }
/* 跨域收银台不能注入样式，按当前模板裁去页头 54px、页尾 68px，保留中间支付内容与滚动。 */
#payment-frame-host { --cashier-header-height: 54px; --cashier-footer-height: 68px; position: absolute; inset: 0; overflow: clip; }
#payment-frame { position: absolute; top: calc(-1 * var(--cashier-header-height)); left: 0; display: block; width: 100%; height: calc(100% + var(--cashier-header-height) + var(--cashier-footer-height)); border: 0; background: #fff; }
.payment-loading { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; background: var(--surface-2); color: var(--muted); pointer-events: none; }
.payment-loading p { margin: 0; font-size: 14px; }
.payment-modal-footer { flex-shrink: 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 10px; padding: 12px 20px 14px; border-top: 1px solid var(--line); background: #fff; }
.payment-modal-footer .text-button { font-size: 13px; padding: 4px 0; }
.payment-modal-footer p { width: 100%; margin: 0; font-size: 12px; line-height: 1.6; text-align: center; color: var(--faint); }

/* ---------- 滑块验证 ---------- */
.captcha-modal { width: min(360px, calc(100vw - 24px)); max-height: 90dvh; overflow-y: auto; margin: auto; padding: 24px 24px 18px; border: 0; border-radius: 22px; background: #fff; color: var(--ink); box-shadow: var(--shadow-lg); }
.captcha-modal[open] { animation: pop .22s ease-out; }
.captcha-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.captcha-heading .eyebrow { margin-bottom: 6px; font-size: 11px; }
.captcha-heading h2 { font-size: 18px; font-weight: 700; }
.captcha-heading .payment-close { color: var(--ink-2); background: var(--surface-2); border: 1px solid var(--line); }
.captcha-message { min-height: 22px; margin: 12px 0 14px; font-size: 13px; line-height: 1.7; color: var(--muted); }
.captcha-board { position: relative; width: 300px; max-width: 100%; height: 150px; overflow: hidden; border-radius: 12px; background: var(--surface-2); }
#captcha-background { display: block; width: 100%; height: 100%; user-select: none; }
#captcha-piece { position: absolute; left: 0; top: 0; user-select: none; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .35)); }
.captcha-rail { position: relative; width: 300px; max-width: 100%; height: 46px; margin-top: 14px; overflow: hidden; touch-action: none; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line); }
.captcha-rail > span { display: block; line-height: 44px; text-align: center; font-size: 13px; color: var(--faint); pointer-events: none; user-select: none; }
#captcha-thumb { position: absolute; left: 1px; top: 1px; width: 50px; height: 42px; border-radius: 10px; border: 0; touch-action: none; cursor: grab; font-size: 19px; color: #fff; background: linear-gradient(135deg, var(--brand-2), var(--brand)); box-shadow: 0 4px 12px -2px rgba(16, 185, 129, .6); }
#captcha-thumb:active { cursor: grabbing; }
.captcha-footer { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; font-size: 12px; color: var(--faint); }

/* ---------- 响应式 ---------- */
@media (max-width: 1160px) {
  .wrap { padding: 0 32px; }
  .product-layout { grid-template-columns: minmax(0, 1fr) 380px; gap: 24px; }
  .site-nav a { padding: 7px 13px; }
  .pass { width: 260px; height: 162px; margin: -81px 0 0 -130px; }
  .ring-one { width: 320px; height: 320px; }
  .floating-tag.tag-two { display: none; }
  .perks { grid-template-columns: repeat(2, 1fr); }
  .product-perks { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-about { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  /* 导航收进汉堡菜单 */
  .menu-toggle { display: inline-flex; }
  .header-inner { gap: 12px; }
  .header-actions { margin-left: auto; }
  .site-nav { position: absolute; top: var(--header-h); left: 0; right: 0; margin: 0; padding: 10px 16px 16px; border-radius: 0; flex-direction: column; gap: 2px; background: #08100d; border: 0; border-bottom: 1px solid rgba(255, 255, 255, .08); box-shadow: 0 24px 40px -12px rgba(0, 0, 0, .6); display: none; }
  .nav-open .site-nav { display: flex; }
  .site-nav a { padding: 12px 14px; border-radius: 12px; font-size: 16px; }
  .product-layout { grid-template-columns: 1fr; }
  .checkout-card { position: static; }
  .hero-inner { grid-template-columns: 1fr; padding-top: 56px; padding-bottom: 48px; }
  .hero-art { display: none; }
  .faq, .seo-intro { grid-template-columns: 1fr; gap: 24px; }
  .desktop-only { display: none; }
  .help-layout { grid-template-columns: 1fr; }
  .help-toc { position: static; flex-direction: row; flex-wrap: wrap; }
  .help-contact { display: none; }
  .account-stats { grid-template-columns: repeat(2, 1fr); }
  .page-hero-inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
  :root { --header-h: 60px; }
  .wrap { padding: 0 16px; }
  .section { padding-top: 56px; }
  .brand { font-size: 15px; gap: 9px; }
  .brand-name { font-size:15px; }
  .brand-mark { width: 32px; height: 32px; font-size: 18px; border-radius: 10px; }
  .header-link { padding: 6px 8px; }
  .account-name { display: none; }
  .account-chip { padding: 3px; }

  .hero-inner { padding-top: 40px; padding-bottom: 36px; }
  .hero-eyebrow { font-size: 12px; margin-bottom: 16px; }
  .hero-subtitle { font-size: 15px; margin-top: 18px; }
  .hero-actions { margin-top: 26px; }
  .hero-actions .button { flex: 1 1 auto; }
  .hero .button.glow, .hero .button.ghost { height: 48px; font-size: 15px; padding: 0 18px; }
  .hero-pills { font-size: 13px; gap: 6px 16px; }
  .hero::after { height: 150px; }
  .perks { grid-template-columns: 1fr 1fr; padding: 6px; gap: 4px; }
  .perks li { flex-direction: column; align-items: flex-start; gap: 10px; padding: 14px 12px; }
  .perk-icon { width: 40px; height: 40px; font-size: 17px; border-radius: 12px; padding-top: 11px; }
  .perks h3 { font-size: 15px; }
  .perks p { font-size: 12px; }

  .section-heading { flex-wrap: wrap; }
  .section-heading h2, .how-head h2, .seo-intro h2 { font-size: 23px; }
  .product-grid { grid-template-columns: 1fr; gap: 12px; }
  .product-card { min-height: 0; padding: 18px; }
  .steps { grid-template-columns: 1fr; gap: 10px; }
  .faq { padding-bottom: 64px; }
  .faq-intro h2 { font-size: 28px; }
  .faq-items > details { padding: 0 16px; }
  .faq-items summary { font-size: 15px; padding: 16px 0; }
  .list-toolbar { flex-direction: column; align-items: flex-start; }

  .page-hero-inner { padding-top: 28px; padding-bottom: 88px; }
  .page-hero.compact .page-hero-inner { padding-bottom: 84px; }
  .page-hero-sub { font-size: 14px; }
  .product-hero .wrap { padding-bottom: 100px; }
  .product-layout { margin-top: -84px; }
  .product-head { flex-wrap: wrap; padding: 20px; gap: 14px; }
  .product-symbol.lg { width: 52px; height: 52px; font-size: 18px; }
  .product-head-price { width: 100%; }
  .product-head-price strong { font-size: 38px; }
  .product-perks li { font-size: 13px; padding: 10px; }
  .detail-card { padding: 20px 18px; }
  .detail-top { flex-wrap: wrap; gap: 10px; }
  .detail-icon { display: none; }
  .lookup-intro .detail-icon { display: grid; }
  .detail-tag { order: -1; margin-left: 0; }
  .checkout-head { padding: 20px 18px 18px; }
  .checkout-body { padding: 20px 18px; }

  .lookup-card, .order-result { padding: 20px; border-radius: 20px; }
  .lookup-intro { align-items: flex-start; }
  .lookup-intro .detail-icon { width: 40px; height: 40px; }
  .lookup-intro h2 { font-size: 18px; }
  .lookup-input-row { flex-direction: column; }
  .lookup-input-row .button { width: 100%; }
  /* 竖排时 flex:1 会把输入框高度压没，这里放开 */
  .lookup-input-row input, .unlock-form > div > input { flex: none; }
  .unlock-form > div { flex-direction: column; }
  .order-status-bar h2 { font-size: 21px; }
  .status-icon { width: 46px; height: 46px; font-size: 21px; border-radius: 14px; }
  .order-meta { grid-template-columns: 1fr; }
  .order-actions .button { flex: 1; padding: 0 12px; font-size: 14px; }
  .order-list-item { padding: 16px; }
  .delivery-hero { padding: 20px 16px; }
  .delivery-head h2 { font-size: 22px; }
  .card-code { flex-direction: column; align-items: stretch; gap: 10px; padding: 16px; }
  .card-label { align-self: flex-start; }
  .card-code code { font-size: 19px; }
  .card-code .button { width: 100%; height: 44px; }
  .next-steps { grid-template-columns: 1fr; }
  .pay-cta { flex-direction: column; align-items: stretch; text-align: center; }
  .guest-code-row .button { padding: 0 12px; font-size: 14px; }
  .account-hello .avatar.xl { width: 52px; height: 52px; font-size: 22px; }
  .account-stats li { padding: 16px; }
  .account-stats strong { font-size: 24px; }
  .auth-card { padding: 26px 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; padding-top: 40px; }

  .payment-modal { width: calc(100vw - 16px); height: calc(100dvh - 24px); border-radius: 20px; }
  .payment-modal-header { padding: 16px; }
  .payment-modal-footer { padding: 10px 16px 13px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
/* 品牌与运营服务 */
.brand-mark.brand-image { object-fit:contain; background:transparent; padding:0; border:0; box-shadow:none; }
.brand-wordmark { display:block;width:68px;height:auto;opacity:.82; }
.product-caption { overflow-wrap:anywhere; }
@media(max-width:640px) { .brand-wordmark { width:62px; }.list-toolbar .live-label { white-space:normal;line-height:1.7;border-radius:14px; } }
.rich-text .rt-align-center { text-align:center; }
.rich-text .rt-align-right { text-align:right; }
.rich-text .rt-align-justify { text-align:justify; }
.faq-answer { padding:0 0 20px; }
.member-tickets { margin:48px 0; }
.ticket-help { color:#7b8d85; font-size:13px; line-height:1.8; margin:12px 0 20px; }
.member-ticket-list { border:1px solid #dce9e2; border-radius:16px; background:#fff; overflow:hidden; }
.member-ticket-row { display:flex; justify-content:space-between; align-items:center; gap:16px; width:100%; padding:20px; text-align:left; background:#fff; border:0; border-bottom:1px solid #edf2ef; cursor:pointer; color:#173b2b; }
.member-ticket-row:hover { background:#f5fbf8; }
.member-ticket-row strong,.member-ticket-row small { display:block; }
.member-ticket-row small { margin-top:7px;color:#809287;font-size:12px; }
.ticket-empty { text-align:center;padding:36px;color:#6d8476; }
.ticket-dialog,.notice-dialog { border:1px solid #d9e8df;border-radius:22px;background:#fff;color:#193a2b;padding:26px;width:min(700px,calc(100% - 32px));max-height:88dvh;overflow:auto;box-shadow:0 30px 100px #081d3240; }
.ticket-dialog::backdrop,.notice-dialog::backdrop { background:#0d251d99;backdrop-filter:blur(4px); }
.ticket-dialog>header,.notice-dialog>header { display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:20px; }
.ticket-dialog h2,.notice-dialog h2 { font-size:22px;line-height:1.4;margin:0 0 16px; }
.ticket-dialog input,.ticket-dialog select,.ticket-dialog textarea { display:block;width:100%;margin:8px 0 18px;border:1px solid #d5e3db;border-radius:10px;padding:12px;background:#f7faf8;color:#1d3a2c;font:inherit; }
.ticket-form-grid { display:grid;grid-template-columns:1fr 1fr;gap:16px; }
.ticket-message { background:#f6f8f7;border-radius:12px;padding:16px;margin:12px 0; }
.ticket-message.staff { background:#eaf9f2;border:1px solid #cdeedc; }
.ticket-message header { display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:13px; }
.ticket-message time { font-size:11px;color:#809287; }
.ticket-message p { white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.8;margin:10px 0 0; }
.ticket-buttons { display:flex;gap:12px;flex-wrap:wrap;margin-top:16px; }
.ticket-detail-heading p { color:#758c7e;font-size:13px; }
.notice-dialog { width:min(570px,calc(100% - 32px)); }
.notice-label { font-size:12px;color:#07995e;background:#e8f9f0;border-radius:20px;padding:6px 12px; }
.notice-content { max-height:55dvh;overflow:auto;margin:20px 0 26px; }
.notice-dialog #notice-accept { width:100%; }
@media(max-width:640px) { .ticket-form-grid { grid-template-columns:1fr;gap:0; }.ticket-dialog,.notice-dialog{padding:20px;}.member-ticket-row{padding:16px;align-items:flex-start;}.member-ticket-row .status-pill{white-space:nowrap;font-size:10px;} }
.product-art { object-fit:cover;flex-shrink:0; }
.catalog-empty { grid-column:1/-1;padding:58px 24px;text-align:center;border:1px dashed var(--line);border-radius:18px;color:var(--muted); }
.catalog-empty>span { font-size:32px;opacity:.6; }
.catalog-empty h3 { color:var(--text);margin:15px 0 10px;font-size:20px; }
.catalog-empty p { margin:0;font-size:14px; }

/* ---------- 在线客服：官方 Tawk 独立聊天页，按需加载并隔离订单页面 ---------- */
.support-launcher { position:fixed;right:22px;bottom:calc(22px + env(safe-area-inset-bottom,0px));z-index:40;display:flex;align-items:center;gap:9px;padding:14px 18px;border:1px solid #ffffff24;border-radius:999px;color:#fff;background:#07875a;box-shadow:0 8px 28px #064e3b30;font-family:inherit;font-size:14px;font-weight:600;line-height:1.4;cursor:pointer; }
.support-launcher:hover { background:#066b49; }
.support-launcher svg { width:23px;height:23px;flex-shrink:0; }
.support-panel { position:fixed;right:22px;bottom:calc(88px + env(safe-area-inset-bottom,0px));z-index:41;display:flex;flex-direction:column;width:min(390px,calc(100vw - 32px));height:min(610px,calc(100dvh - 116px - env(safe-area-inset-bottom,0px)));overflow:hidden;border:1px solid var(--line);border-radius:20px;background:#fff;box-shadow:0 18px 65px #061d2330; }
.support-panel-header { display:flex;align-items:center;justify-content:space-between;gap:12px;flex-shrink:0;padding:15px 16px;background:var(--night);color:#fff; }
.support-panel-header h2 { margin:0;font-size:16px;line-height:1.5; }
.support-panel-header p { margin:3px 0 0;color:#a7bdb2;font-size:12px;line-height:1.5; }
.support-frame-host { position:relative;flex:1;min-height:0;background:#fff; }
.support-frame { position:absolute;inset:0;display:block;width:100%;height:100%;border:0;background:#fff; }
.support-loading { position:absolute;inset:0;z-index:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;padding:20px;background:#f7faf8;color:var(--muted);text-align:center;font-size:13px;pointer-events:none; }
.support-panel-footer { display:flex;align-items:center;justify-content:space-between;gap:10px;padding:11px 16px;border-top:1px solid var(--line);background:#fff;flex-shrink:0;font-size:12px; }
.support-panel-footer a { color:#087d53; }
body.payment-open .support-widget { display:none; }
@media(max-width:640px) {
  .support-launcher { right:12px;bottom:calc(14px + env(safe-area-inset-bottom,0px));padding:12px 14px;gap:7px;font-size:13px; }
  .support-panel { right:8px;bottom:calc(74px + env(safe-area-inset-bottom,0px));width:calc(100vw - 16px);height:min(610px,calc(100dvh - 94px - env(safe-area-inset-bottom,0px)));border-radius:16px; }
}

/* 文章与套餐推荐：独立样式，不改变商品详情及支付布局。 */
.article-layout{display:grid;grid-template-columns:minmax(0,1fr) 306px;gap:30px;align-items:start;margin-top:36px;margin-bottom:96px}.article-layout>*{min-width:0}.article-list-layout{margin-top:32px}.article-list-heading{display:flex;align-items:center;justify-content:space-between;margin:0 0 20px}.article-list-heading h2{font-size:21px}.article-list-heading>span{font-size:13px;color:var(--muted)}.article-list{display:grid;gap:18px}.article-list-card{display:flex;gap:24px;padding:27px;background:#fff;border:1px solid var(--line);border-radius:18px;transition:border-color .2s,box-shadow .2s}.article-list-card:hover{border-color:#a8d9c5;box-shadow:var(--shadow-sm)}.article-list-copy{flex:1;min-width:0}.article-category{display:inline-block;font-size:12px;font-weight:650;color:var(--brand-ink);background:var(--brand-soft);padding:4px 9px;border-radius:5px}.article-list-copy h2{font-size:21px;line-height:1.5;margin:12px 0 9px;overflow-wrap:anywhere}.article-list-copy h2 a:hover{color:var(--brand-ink)}.article-list-copy>p{font-size:14px;color:var(--muted);line-height:1.85;margin:0 0 19px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.article-meta{display:flex;flex-wrap:wrap;align-items:center;gap:10px 18px;font-size:12px;color:var(--muted)}.article-meta a{color:var(--brand-ink);margin-left:auto;white-space:nowrap}.article-list-cover{width:160px;flex-shrink:0;align-self:center;overflow:hidden;border-radius:10px;background:var(--surface-2)}.article-list-cover img{width:100%;height:122px;object-fit:cover;display:block}.article-packages{background:#fff;border:1px solid var(--line);border-radius:18px;padding:23px;overflow:hidden}.article-kicker{color:var(--brand-ink);font-size:10px;font-weight:650;letter-spacing:1.4px}.article-packages-heading h2{font-size:20px;margin:7px 0}.article-packages-heading p{font-size:12px;color:var(--muted);margin:0 0 20px}.article-package-list{display:grid;gap:13px}.article-package{display:block;border:1px solid var(--line);border-radius:12px;padding:16px;background:linear-gradient(145deg,#fff,#f6fbf8);transition:border-color .2s}.article-package:hover{border-color:var(--brand)}.article-package-top{display:flex;align-items:center;gap:10px}.article-package-top img{width:35px;height:35px;object-fit:contain;border-radius:8px}.article-package-top h3{font-size:14px;line-height:1.5}.article-package-symbol{display:grid;place-items:center;width:35px;height:35px;background:var(--brand-soft);color:var(--brand-ink);border-radius:8px}.article-package>p{font-size:11px;line-height:1.8;color:var(--muted);margin:10px 0 15px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.article-package-bottom{display:flex;align-items:center;justify-content:space-between;gap:8px}.article-package-bottom strong{font-size:20px;white-space:nowrap;color:#096d51;letter-spacing:-.5px}.article-package-bottom small{font-size:10px;letter-spacing:0;font-weight:500}.article-package-bottom>span{font-size:10px;color:var(--brand-ink);white-space:nowrap}.article-all-products{display:flex;justify-content:space-between;padding:17px 0 0;font-size:13px;font-weight:600;color:var(--brand-ink)}.article-package-note{font-size:10px;color:var(--muted);margin:11px 0 0}.article-breadcrumb{padding-top:30px}.article-breadcrumb .breadcrumb{margin:0;flex-wrap:wrap;font-size:12px;overflow-wrap:anywhere}.article-detail-layout{margin-top:22px}.article-sheet{padding:40px 42px;background:#fff;border:1px solid var(--line);border-radius:20px}.article-heading h1{font-size:32px;line-height:1.5;letter-spacing:-.7px;margin:17px 0;overflow-wrap:anywhere}.article-intro{font-size:15px;line-height:1.9;color:var(--muted);padding-left:17px;border-left:3px solid #8dd9b9;margin:0 0 23px}.article-heading{padding-bottom:28px;border-bottom:1px solid var(--line);margin-bottom:28px}.article-cover{display:block;width:100%;height:auto;max-height:460px;object-fit:cover;border-radius:12px;margin-bottom:28px}.article-body{font-size:16px;line-height:1.95;color:var(--ink-2);overflow-wrap:anywhere}.article-body>*:first-child{margin-top:0}.article-body p{margin:0 0 1.35em}.article-body h2{font-size:24px;color:var(--ink);line-height:1.55;margin:1.9em 0 .8em}.article-body h3{font-size:20px;color:var(--ink);margin:1.5em 0 .7em}.article-body h4{font-size:18px}.article-body ul,.article-body ol{padding-left:1.5em;margin-bottom:1.4em}.article-body li{margin:.4em 0}.article-body a{color:var(--brand-ink);text-decoration:underline;text-underline-offset:3px}.article-body img{display:block;max-width:100%;height:auto;border-radius:9px;margin:22px auto}.article-body blockquote{margin:25px 0;padding:17px 22px;border-left:3px solid var(--brand);background:var(--brand-soft);color:#42685a}.article-body blockquote p:last-child{margin-bottom:0}.article-body code{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:.88em;background:#edf4f0;padding:2px 5px;border-radius:4px}.article-body pre{position:relative;background:#10251e;color:#d4ecdf;border-radius:10px;padding:47px 19px 19px;overflow:auto;line-height:1.7;white-space:pre;max-width:100%;font-size:13px;tab-size:4}.article-body pre code{background:transparent;color:inherit;font-size:inherit;padding:0}.article-copy-code{position:absolute;right:12px;top:10px;border:1px solid #4c7161;border-radius:5px;padding:3px 9px;color:#c1e7d5;background:#1b382d;font-size:11px}.article-table-scroll{overflow:auto;max-width:100%;margin:25px 0}.article-body table{border-collapse:collapse;font-size:14px;min-width:360px;width:100%;margin:20px 0}.article-body th,.article-body td{border:1px solid var(--line);padding:10px 13px;text-align:left}.article-body th{background:#f1f7f4}.article-body figure{margin:24px 0}.article-body figcaption{font-size:12px;text-align:center;color:var(--muted)}.article-source{margin-top:36px;padding:19px;background:#f6f9f7;border-radius:10px;font-size:12px;display:flex;flex-wrap:wrap;gap:10px 16px;overflow-wrap:anywhere}.article-source a{color:var(--brand-ink)}.article-source>span{width:100%;color:var(--muted)}.article-end{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;border-top:1px solid var(--line);padding-top:25px;margin-top:30px;font-size:13px;color:var(--brand-ink)}.article-pagination{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin-top:32px}.article-pagination a{display:grid;place-items:center;min-width:38px;min-height:40px;padding:7px 12px;background:#fff;border:1px solid var(--line);border-radius:8px;font-size:13px}.article-pagination a[aria-current]{background:var(--brand-ink);border-color:var(--brand-ink);color:#fff}.article-empty{padding:55px 24px;background:#fff;border:1px solid var(--line);border-radius:18px;text-align:center}.article-empty>span{font-size:36px;color:var(--brand-ink)}.article-empty h2{font-size:23px;margin:12px}.article-empty p{font-size:14px;color:var(--muted);margin:0 0 24px}.article-preview-page{padding:40px 20px;max-width:900px}.article-preview-page h1{margin:20px 0}.article-package-empty{font-size:13px;color:var(--muted)}
@media(max-width:1050px){.article-layout{grid-template-columns:minmax(0,1fr) 270px;gap:20px}.article-sheet{padding:28px}.article-packages{padding:18px}.article-list-card{padding:22px;gap:17px}.article-list-cover{width:120px}.article-heading h1{font-size:28px}}
@media(max-width:760px){.article-layout{display:flex;flex-direction:column;gap:24px;margin-top:24px;margin-bottom:64px}.article-layout>.article-packages{order:-1;width:100%;padding:18px}.article-layout>.article-sheet,.article-list-main{width:100%}.article-packages-heading{display:flex;align-items:center;flex-wrap:wrap;gap:8px 12px}.article-kicker{display:none}.article-packages-heading h2{font-size:17px;margin:0}.article-packages-heading p{font-size:11px;margin:0}.article-package-list{display:flex;overflow:auto;gap:11px;padding:14px 1px 7px;scroll-snap-type:x proximity}.article-package{width:228px;flex:0 0 228px;scroll-snap-align:start;padding:14px}.article-package>p{margin:9px 0 12px}.article-package-top h3{font-size:13px}.article-package-top img{width:28px;height:28px}.article-all-products{font-size:12px;padding-top:9px}.article-package-note{font-size:10px;margin-top:6px}.article-sheet{padding:23px 20px;border-radius:15px}.article-heading h1{font-size:25px;letter-spacing:0}.article-heading{padding-bottom:22px;margin-bottom:23px}.article-body{font-size:15px;line-height:1.95}.article-body h2{font-size:21px}.article-body h3{font-size:18px}.article-breadcrumb{padding-top:21px}.article-intro{font-size:13px}.article-list-copy h2{font-size:19px;margin-top:9px}.article-list-card{padding:21px;gap:15px}.article-list-cover{width:90px}.article-list-cover img{height:100px}.article-list-copy>p{font-size:13px;-webkit-line-clamp:2}.article-meta{font-size:11px;gap:8px 12px}.article-list-card .article-meta a{flex-basis:100%;margin-left:0}.article-list-heading h2{font-size:19px}}
@media(max-width:380px){.article-list-cover{display:none}.article-sheet{padding:21px 17px}.article-package{width:211px;flex-basis:211px}}
.article-breadcrumb .breadcrumb{color:var(--muted)}.article-breadcrumb .breadcrumb a{color:var(--brand-ink)}.article-breadcrumb .breadcrumb [aria-current]{color:var(--ink-2)}.article-breadcrumb .breadcrumb .sep{color:var(--faint)}
