/* ============================================================
   井 WUB 官网 · 商业化页面样式  commerce.css
   2026-10-16 新增
   适用：pricing.html（订阅方案）/ pay.html（订阅支付）/ download.html（下载中心）
   依赖：site.css（设计令牌与基础元件）；本文只加两页专属组件。
   主题：跟随系统浅色 / 深色（与 tools/*.html 一致）。
   ============================================================ */

/* ---------- 通用：小标 / 提示条 / 说明块 ---------- */
.cm-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 700 12.5px/1 var(--sans); letter-spacing: .16em;
  color: var(--teal-d); text-transform: uppercase; margin-bottom: 16px;
}
.cm-eyebrow::before { content: ""; width: 26px; height: 2px; border-radius: 2px; background: var(--teal-d); opacity: .72; }
.cm-eyebrow.red { color: var(--red); }
.cm-eyebrow.red::before { background: var(--red); }

.notice-bar {
  display: flex; align-items: flex-start; gap: 12px;
  margin: 26px 0 0; padding: 14px 18px;
  border: 1px solid var(--gold-line); border-radius: 16px;
  background: var(--gold-soft); color: var(--ink-2);
  font-size: 14px; line-height: 1.75;
}
.notice-bar .nb-icon { flex: none; font-size: 16px; line-height: 1.6; }
.notice-bar b { color: var(--ink); }

.cm-note {
  margin-top: 18px; padding: 14px 17px;
  border: 1px solid var(--line); border-radius: 14px;
  background: var(--paper-2); color: var(--ink-3);
  font-size: 12.5px; line-height: 1.8;
}

/* ---------- 订阅页：首屏 ---------- */
.price-hero {
  padding: 68px 0 12px;
  background:
    radial-gradient(820px 400px at 88% 0%, rgba(255,205,150,.42), transparent 62%),
    var(--paper);
}
.price-hero h1 { font-size: clamp(30px, 4vw, 46px); margin-bottom: .4em; }
.price-hero h1 em { color: var(--red); font-style: normal; }
.price-hero .lead { font-size: 17px; color: var(--ink-2); max-width: 46em; }
.price-hero .chiprow { margin-top: 20px; }

/* ---------- 订阅页：档位卡片 ---------- */
.price-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px; margin-top: 34px; align-items: stretch;
}
.price-card {
  position: relative; display: flex; flex-direction: column; min-width: 0;
  background: var(--card); border: 1.5px solid var(--line); border-radius: var(--r-lg);
  padding: 24px 20px 20px; box-shadow: var(--sh-1);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.price-card:hover { transform: translateY(-3px); box-shadow: var(--sh-2); border-color: var(--line-2); }
.price-card.is-featured { border-color: var(--red-line); box-shadow: 0 10px 30px rgba(199,73,42,.14); }
.price-card.is-free { background: linear-gradient(165deg, var(--paper-2), var(--cream)); }

.price-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  padding: 4px 12px; border-radius: 999px; white-space: nowrap;
  background: var(--red); color: #FFF6EF; font: 700 11.5px/1.4 var(--sans); letter-spacing: .08em;
  box-shadow: 0 6px 14px rgba(199,73,42,.3);
}

.price-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.price-name { font: 700 19px/1.3 var(--serif); }
.price-en { font: 700 10.5px/1 var(--sans); letter-spacing: .12em; color: var(--ink-3); text-transform: uppercase; }
.price-persona { margin: 6px 0 14px; color: var(--ink-3); font-size: 12.5px; line-height: 1.6; text-wrap: balance; }

.price-amount { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px; margin-bottom: 2px; }
.price-amount .num { font: 800 30px/1 var(--sans); letter-spacing: -.02em; color: var(--ink); }
.price-amount .per { color: var(--ink-3); font-size: 12.5px; }
.price-usd { margin: 0 0 16px; color: var(--ink-3); font-size: 12.5px; }
.price-usd b { color: var(--ink-2); font-weight: 700; }

.price-quota {
  margin-bottom: 16px; padding: 11px 13px;
  border: 1px solid var(--teal-line); border-radius: 13px;
  background: var(--teal-soft); color: var(--teal-d);
  font-size: 13px; line-height: 1.6;
}
.price-quota b { font-size: 15px; }
.price-quota small { display: block; margin-top: 3px; color: var(--ink-3); font-size: 12.5px; text-wrap: balance; }

.price-list { list-style: none; margin: 0 0 18px; padding: 0; font-size: 13px; color: var(--ink-2); }
.price-list li { position: relative; padding: 6.5px 0 6.5px 18px; border-top: 1px dashed var(--line); line-height: 1.6; }
.price-list li:first-child { border-top: 0; }
.price-list li::before { content: ""; position: absolute; left: 0; top: 13px; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); }
.price-list li.add::before { background: var(--gold); }
.price-list li b { color: var(--ink); }

.price-cta {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; margin-top: auto; padding: 11px 16px;
  border-radius: 999px; border: 1.5px solid var(--line-2);
  background: var(--card); color: var(--ink-2); font: 700 14px/1.3 var(--sans);
  text-decoration: none; cursor: pointer; transition: .18s; width: 100%;
}
.price-cta:hover { border-color: var(--ink-3); color: var(--ink); transform: translateY(-1px); box-shadow: var(--sh-1); }
.price-cta.is-primary { background: var(--red); border-color: transparent; color: #FFF8F3; box-shadow: 0 8px 20px rgba(199,73,42,.28); }
.price-cta.is-primary:hover { background: var(--red-d); color: #FFF8F3; }
.price-cta.is-soon { color: var(--ink-3); background: var(--paper-2); border-style: dashed; }
.price-cta.is-soon:hover { color: var(--ink-2); border-color: var(--line-2); transform: none; box-shadow: none; }
/* 国内支付宝购买按钮（2026-10-16：订阅支付接入） */
.price-cta.is-pay { background: var(--teal); border-color: transparent; color: #F2FFFD; box-shadow: 0 8px 20px rgba(15,124,122,.24); }
.price-cta.is-pay:hover { background: var(--teal-d); color: #F2FFFD; }
.price-foot { margin: 10px 0 0; color: var(--ink-3); font-size: 12.5px; line-height: 1.65; }

/* ---------- 订阅页：对比表 ---------- */
.cmp-scroll { margin-top: 30px; overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--card); box-shadow: var(--sh-1); }
table.cmp { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 13.5px; }
.cmp th, .cmp td { padding: 11px 14px; text-align: center; border-bottom: 1px solid var(--line); vertical-align: middle; }
.cmp thead th { position: sticky; top: 0; z-index: 2; background: var(--paper-2); font: 700 13px/1.5 var(--sans); color: var(--ink); border-bottom: 1.5px solid var(--line-2); }
.cmp thead th .th-sub { display: block; margin-top: 2px; color: var(--ink-3); font-size: 12px; font-weight: 600; }
.cmp th.feat, .cmp td.feat { text-align: left; color: var(--ink-2); font-weight: 600; }
.cmp thead th.feat { color: var(--ink); }
.cmp tbody tr:nth-child(even) { background: color-mix(in srgb, var(--paper-2) 62%, transparent); }
.cmp tbody tr:hover { background: var(--cream); }
.cmp tbody tr:last-child td { border-bottom: 0; }
.cmp .yes { color: var(--teal-d); font-weight: 700; }
.cmp .no { color: var(--ink-3); opacity: .55; }
.cmp .qty { font: 800 15px/1.3 var(--sans); color: var(--ink); }
.cmp .qty small { display: block; color: var(--ink-3); font-size: 12px; font-weight: 500; }
.cmp-col-hot { background: color-mix(in srgb, var(--red-soft) 55%, transparent) !important; }

/* ---------- 订阅页：免费机制（复用 .steps） ---------- */
.mech-panel { padding: 30px; border: 1px solid var(--line-2); border-radius: var(--r-xl); background: linear-gradient(145deg, var(--paper-2), var(--violet-soft)); box-shadow: var(--sh-1); }
.mech-panel .steps { margin-top: 6px; }
.mech-panel .step h3 { color: var(--red-d); }
.mech-panel .step p { line-height: 1.85; }
.mech-note {
  margin-top: 20px; padding: 15px 18px; border: 1px dashed var(--line-2); border-radius: 14px;
  background: rgba(255,255,255,.62); color: var(--ink-2); font-size: 13px; line-height: 1.85;
}
.mech-note b { color: var(--red-d); }

/* ---------- 订阅页：FAQ ---------- */
.faq-list { margin-top: 10px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--card); box-shadow: var(--sh-1); overflow: hidden; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 0; }
.faq-list summary {
  display: flex; align-items: center; gap: 12px; padding: 17px 22px;
  cursor: pointer; list-style: none; font: 700 15.5px/1.6 var(--serif); color: var(--ink);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::before { content: "＋"; flex: none; width: 20px; color: var(--red); font: 700 15px/1 var(--sans); transition: transform .2s; }
.faq-list details[open] summary::before { transform: rotate(45deg); }
.faq-list summary:hover { background: var(--paper-2); }
.faq-list .faq-body { padding: 0 22px 20px 54px; color: var(--ink-2); font-size: 14px; line-height: 1.95; }
.faq-list .faq-body p { margin: 0 0 .7em; }
.faq-list .faq-body p:last-child { margin-bottom: 0; }

/* ---------- 下载页 ---------- */
.dlx-hero { padding: 68px 0 8px; background:
  radial-gradient(820px 400px at 12% 0%, rgba(214,205,255,.4), transparent 62%), var(--paper); }
.dlx-hero h1 { font-size: clamp(30px, 4vw, 46px); margin-bottom: .4em; }
.dlx-hero h1 em { color: var(--teal-d); font-style: normal; }
.dlx-hero .lead { font-size: 17px; color: var(--ink-2); max-width: 46em; }
.dlx-hero .chiprow { margin-top: 20px; }

.dlx-detect { margin-top: 24px; padding: 12px 17px; border: 1px solid var(--teal-line); border-radius: 14px; background: var(--teal-soft); color: var(--teal-d); font-size: 13.5px; display: none; }
.dlx-detect.is-on { display: block; }

.dlx-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 30px; align-items: start; }
.dlx-card {
  position: relative; display: flex; flex-direction: column; min-width: 0;
  padding: 24px 22px 20px; border: 1.5px solid var(--line); border-radius: var(--r-lg);
  background: var(--card); box-shadow: var(--sh-1); transition: border-color .2s, box-shadow .2s;
}
.dlx-card.is-detected { border-color: var(--teal); box-shadow: 0 10px 28px rgba(15,124,122,.16); }
.dlx-card.is-soon { border-style: dashed; background: var(--paper-2); }
.dlx-head { display: flex; align-items: center; gap: 12px; margin-bottom: 4px; }
.dlx-head .dlx-icon { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 13px; background: var(--cream); font-size: 21px; }
.dlx-head h3 { margin: 0; font-size: 18px; }
.dlx-head .dlx-tag { margin-left: auto; flex: none; }
.dlx-sub { margin: 8px 0 12px; color: var(--ink-3); font-size: 13px; line-height: 1.7; }
/* iOS 卡：App Store 无法上架的原因说明（2026-10-21，爸爸指定原话） */
.dlx-reason { margin: 0 0 12px; padding: 10px 12px; border-left: 3px solid var(--red); border-radius: 8px;
  background: rgba(199,73,42,.08); color: var(--ink-2); font-size: 12.5px; line-height: 1.75; }
.dlx-body { display: flex; flex-direction: column; flex: 1; }
.dlx-foot { margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--line-2); color: var(--ink-3); font-size: 12.5px; line-height: 1.75; }
.dlx-foot code { padding: 2px 7px; border-radius: 7px; background: var(--cream-2); font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .92em; white-space: nowrap; }
.dlx-wait { padding: 14px 0 6px; color: var(--ink-3); font-size: 13.5px; text-align: center; }

/* dl-card（download-card.js 生成）的纸面皮肤完整定义
   —— 本页不引入 download-card.css（那份为深色邀请页写死），此处完整接管其后代样式。 */
.dlx-card .dl-card { width: 100%; margin-top: 0; padding: 16px 14px; border-radius: 14px;
  background: var(--paper-2); border: 1px solid var(--line); text-align: center; }
.dlx-card .dl-card.dl-card-ready { text-align: left; }
.dlx-card .dl-title { margin-bottom: 12px; color: var(--ink); font-size: 15px; font-weight: 700; text-align: center; }
.dlx-card .dl-status { padding: 14px 0; color: var(--ink-3); font-size: 13px; text-align: center; }
.dlx-card .dl-btn-main { display: flex; align-items: center; justify-content: center; gap: 6px;
  width: 100%; padding: 14px 16px; border-radius: 12px; background: #FFC107; color: #1a1a1a;
  font-size: 16px; font-weight: 700; text-decoration: none;
  -webkit-tap-highlight-color: transparent; transition: opacity .15s; }
.dlx-card .dl-btn-main:active { opacity: .8; }
.dlx-card .dl-btn-sub { font-size: 13px; font-weight: 500; opacity: .75; }
.dlx-card .dl-note { margin-top: 10px; color: var(--ink-3); font-size: 12px; line-height: 1.6; text-align: center; }
/* 同平台第二格式（macOS zip，2026-10-24）：主按钮下面的次级下载入口 */
.dlx-card .dl-alt-fmt { display: block; width: -moz-fit-content; width: fit-content; margin: 10px auto 0; padding: 9px 14px;
  border: 1px solid var(--line); border-radius: 10px; background: var(--card); color: var(--ink-2); font-size: 12.5px; text-decoration: none; }
.dlx-card .dl-alt-fmt:active { opacity: .7; }
.dlx-card .dl-mirrors { margin-top: 12px; }
.dlx-card .dl-mirrors summary { color: var(--teal-d); cursor: pointer; font-size: 13px; text-align: center; list-style: none; -webkit-tap-highlight-color: transparent; }
.dlx-card .dl-mirrors summary::-webkit-details-marker { display: none; }
.dlx-card .dl-mirrors summary::before { content: '▸ '; }
.dlx-card .dl-mirrors[open] summary::before { content: '▾ '; }
.dlx-card .dl-mirror-list { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 10px; }
.dlx-card .dl-mirror-list a { color: var(--ink-2); background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 8px 14px; font-size: 12.5px; text-decoration: none; }
.dlx-card .dl-mirror-list a:active { opacity: .7; }
.dlx-card .dl-ios { padding: 6px 4px; text-align: center; }
.dlx-card .dl-ios a { word-break: break-all; }
/* iOS 分支带内联色（为深色邀请页写死），纸面皮肤下用 !important 收编 */
.dlx-card .dl-ios div { color: var(--ink-2) !important; }
.dlx-card .dl-ios b, .dlx-card .dl-ios a { color: var(--teal-d) !important; }
/* iOS 越狱版（2026-10-21）：TrollStore 一键安装 */
.dlx-card .dl-ios .dl-btn-main { word-break: normal; }
.dlx-card .dl-ios .dl-ios-meta { margin-top: 10px; font-size: 12px; line-height: 1.6; }
.dlx-card .dl-ios .dl-ios-warn,
.dlx-card .dl-ios .dl-ios-stuck { margin-top: 8px; color: var(--red-d) !important; font-size: 12px; line-height: 1.65; }
.dlx-card .dl-ios .dl-ios-stuck { padding: 8px 10px; border: 1px dashed var(--red); border-radius: 8px; }
.dlx-card .dl-ios .dl-ios-manual { display: inline-block; margin-top: 12px; padding: 9px 16px; border: 1px solid var(--line); border-radius: 10px; background: var(--card); color: var(--ink-2) !important; font-size: 13px; text-decoration: none; }
.dlx-card .dl-ios .dl-ios-manual:active { opacity: .7; }
.dlx-card .dl-ios .dl-ios-web { display: block; margin: 10px 0 2px; font-size: 13px; font-weight: 700; text-decoration: none; }

/* ---------- 下载页：步骤 / 说明 ---------- */
.dlx-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.dlx-step { padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--card); box-shadow: var(--sh-1); }
.dlx-step .n { display: inline-flex; margin-bottom: 10px; color: var(--red); font: 700 12.5px/1 var(--sans); letter-spacing: .12em; }
.dlx-step h3 { margin: 0 0 6px; font-size: 16.5px; }
.dlx-step p { margin: 0; color: var(--ink-2); font-size: 13.5px; line-height: 1.8; }

/* ---------- 订阅支付页（pay.html）· 2026-10-16 ---------- */
.pay-hero { padding: 68px 0 12px; background: radial-gradient(820px 400px at 12% 0%, rgba(170,230,220,.34), transparent 62%), var(--paper); }
.pay-hero h1 { font-size: clamp(30px, 4vw, 46px); margin-bottom: .4em; }
.pay-hero h1 em { color: var(--teal-d); font-style: normal; }
.pay-hero .lead { font-size: 17px; color: var(--ink-2); max-width: 46em; }
.pay-hero .chiprow { margin-top: 20px; }

.pay-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: 20px; margin-top: 30px; align-items: start; }
.pay-card { min-width: 0; padding: 26px 24px 22px; border: 1.5px solid var(--line); border-radius: var(--r-lg); background: var(--card); box-shadow: var(--sh-1); }
.pay-card .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 2px; }
.pay-card .step h3 { color: var(--teal-d); }
@media (max-width: 680px) { .pay-card .steps { grid-template-columns: 1fr; } }

.pay-tiers { margin-top: 4px; }
.pay-tier { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper-2); scroll-margin-top: 92px; }
.pay-tier + .pay-tier { margin-top: 10px; }
.pay-tier b { display: block; font-family: var(--serif); font-size: 15.5px; color: var(--ink); }
.pay-tier small { display: block; margin-top: 2px; color: var(--ink-3); font-size: 12px; line-height: 1.6; }
.pay-tier-amt { flex: none; font: 800 17px/1.2 var(--sans); color: var(--teal-d); }
.pay-tier:target { border-color: var(--teal); background: var(--teal-soft); box-shadow: 0 0 0 3px rgba(15,124,122,.16); }

.pay-qr { margin: 0; text-align: center; }
.pay-qr img { display: inline-block; width: min(320px, 76vw); height: auto; padding: 12px; border: 1px solid var(--line); border-radius: 16px; background: #FFFFFF; box-shadow: var(--sh-1); }
.pay-qr figcaption { margin-top: 14px; color: var(--ink); font-size: 14.5px; line-height: 1.6; }
.pay-qr figcaption b { font-family: var(--serif); }
.pay-qr figcaption small { display: block; margin-top: 6px; color: var(--ink-3); font-size: 12px; line-height: 1.7; }
.pay-open { display: flex; justify-content: center; width: 100%; margin-top: 18px; }
.pay-open-hint { margin: 10px 0 0; text-align: center; color: var(--ink-3); font-size: 12px; line-height: 1.7; }
.pay-divider { margin: 26px auto 22px; border: 0; border-top: 1px dashed var(--line); }

/* ---------- 轻提示（toast） ---------- */
.cm-toast {
  position: fixed; left: 50%; bottom: 34px; z-index: 999;
  max-width: min(520px, calc(100vw - 40px));
  transform: translate(-50%, 16px); opacity: 0; pointer-events: none;
  padding: 13px 20px; border-radius: 14px;
  background: var(--ink); color: var(--paper-2);
  font-size: 13.5px; line-height: 1.7; text-align: center;
  box-shadow: 0 18px 44px rgba(0,0,0,.3);
  transition: opacity .22s ease, transform .22s ease;
}
.cm-toast.is-on { opacity: .97; transform: translate(-50%, 0); }

/* ---------- 深色模式补偿（site.css 已换令牌，这里补渐变与特异面） ---------- */
@media (prefers-color-scheme: dark) {
html:not([data-theme="light"]) .price-hero { background: radial-gradient(820px 400px at 88% 0%, rgba(120,84,44,.28), transparent 62%), var(--paper); }
html:not([data-theme="light"]) .dlx-hero { background: radial-gradient(820px 400px at 12% 0%, rgba(70,60,120,.26), transparent 62%), var(--paper); }
html:not([data-theme="light"]) .price-card.is-free { background: linear-gradient(165deg, var(--paper-2), #16241f); }
html:not([data-theme="light"]) .cmp thead th { background: #16292a; }
html:not([data-theme="light"]) .cmp tbody tr:nth-child(even) { background: rgba(255,255,255,.025); }
html:not([data-theme="light"]) .cmp tbody tr:hover { background: rgba(255,255,255,.05); }
html:not([data-theme="light"]) .cmp-col-hot { background: rgba(120,60,40,.22) !important; }
html:not([data-theme="light"]) .mech-panel { background: linear-gradient(145deg, var(--paper-2), #241f33); }
html:not([data-theme="light"]) .mech-note { background: rgba(255,255,255,.04); }
html:not([data-theme="light"]) .pay-hero { background: radial-gradient(820px 400px at 12% 0%, rgba(40,90,86,.30), transparent 62%), var(--paper); }
html:not([data-theme="light"]) .cm-toast { background: #e9f0e8; color: #14211f; }
html:not([data-theme="light"]) .dlx-card .dl-btn-main { color: #1a1a1a; }
html:not([data-theme="light"]) .dlx-card .dl-btn-main .dl-btn-sub { color: #1a1a1a; }
}
html[data-theme="dark"] .price-hero { background: radial-gradient(820px 400px at 88% 0%, rgba(120,84,44,.28), transparent 62%), var(--paper); }
html[data-theme="dark"] .dlx-hero { background: radial-gradient(820px 400px at 12% 0%, rgba(70,60,120,.26), transparent 62%), var(--paper); }
html[data-theme="dark"] .price-card.is-free { background: linear-gradient(165deg, var(--paper-2), #16241f); }
html[data-theme="dark"] .cmp thead th { background: #16292a; }
html[data-theme="dark"] .cmp tbody tr:nth-child(even) { background: rgba(255,255,255,.025); }
html[data-theme="dark"] .cmp tbody tr:hover { background: rgba(255,255,255,.05); }
html[data-theme="dark"] .cmp-col-hot { background: rgba(120,60,40,.22) !important; }
html[data-theme="dark"] .mech-panel { background: linear-gradient(145deg, var(--paper-2), #241f33); }
html[data-theme="dark"] .mech-note { background: rgba(255,255,255,.04); }
html[data-theme="dark"] .pay-hero { background: radial-gradient(820px 400px at 12% 0%, rgba(40,90,86,.30), transparent 62%), var(--paper); }
html[data-theme="dark"] .cm-toast { background: #e9f0e8; color: #14211f; }
html[data-theme="dark"] .dlx-card .dl-btn-main { color: #1a1a1a; }
html[data-theme="dark"] .dlx-card .dl-btn-main .dl-btn-sub { color: #1a1a1a; }


/* ---------- 响应式 ---------- */
@media (max-width: 1120px) {
  .price-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .price-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dlx-grid { grid-template-columns: 1fr; }
  .dlx-steps { grid-template-columns: 1fr; }
  .pay-grid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .price-grid { grid-template-columns: 1fr; gap: 22px; }
  .price-card { padding: 22px 18px 18px; }
  .cmp-scroll { border-radius: 14px; }
  .mech-panel { padding: 20px; }
  .pay-card { padding: 22px 18px 18px; }
  .faq-list summary { padding: 14px 16px; font-size: 14.5px; }
  .faq-list .faq-body { padding: 0 16px 16px 44px; }
  .pay-tier { align-items: flex-start; flex-direction: column; gap: 6px; }
  .pay-tier-amt { align-items: flex-start; text-align: left; }
}

/* ============================================================
   2026-10-16 追加：内测促销原价（划线）/ 季付·年付 / 升级入口
   适用：pricing.html、pay.html（订阅方案 / 订阅支付）
   口径：划线「原价」= 现价 ×2；季付 97 折；年付按 10 个月计。
   不改上方既有规则。
   ============================================================ */

/* ---------- 划线原价（现价的一倍） ---------- */
del.was, .was {
  font: 600 11.5px/1.5 var(--sans);
  color: var(--ink-3);
  text-decoration: line-through;
  text-decoration-thickness: 1.5px;
  text-decoration-color: var(--red);
  margin-left: 6px;
  white-space: nowrap;
}
.price-amount .was { font-size: 12.5px; }
.price-usd .was { font-size: 12px; margin-left: 5px; }

/* ---------- 季付 / 年付 行（档位卡） ---------- */
.price-bill { display: flex; flex-direction: column; gap: 4px; margin: 0 0 14px; font-size: 12px; color: var(--ink-3); }
.price-bill .pb-line { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 6px; }
.price-bill .pb-k { flex: none; font-weight: 700; color: var(--ink-2); }
.price-bill b { font-size: 13px; color: var(--ink); font-family: var(--sans); }
.price-bill .pb-note { flex: none; padding: 1.5px 8px; border-radius: 999px; border: 1px solid var(--red-line); background: var(--red-soft); color: var(--red-d); font-size: 12px; font-weight: 700; }
.price-bill .pb-usd { flex: none; font-weight: 600; color: var(--ink-2); }

/* ---------- 档位卡：配额多行（三类报告） ---------- */
.price-quota .pq + .pq { margin-top: 4px; }

/* ---------- 宗师版（最高档）卡片强调 ---------- */
.price-card.is-top { border-color: var(--gold-line); box-shadow: 0 10px 30px rgba(185,138,32,.16); }
.price-card.is-top .price-badge { background: var(--gold); box-shadow: 0 6px 14px rgba(185,138,32,.32); }

/* ---------- 对照表：原价 / 季付·年付 小行 ---------- */
.cmp thead th .th-sub del { margin-left: 4px; font-size: 10px; font-weight: 600; color: var(--ink-3); text-decoration: line-through; text-decoration-color: var(--red); }
.cmp thead th .th-year { display: block; margin-top: 1px; font-size: 10px; font-weight: 600; color: var(--ink-3); }
.cmp thead th .th-year del { margin-left: 2px; font-size: 9.5px; font-weight: 600; color: var(--ink-3); text-decoration: line-through; text-decoration-color: var(--red); }
table.cmp { min-width: 940px; }

/* ---------- 升级面板（订阅页） ---------- */
.upgrade-panel { padding: 30px; border: 1px solid var(--gold-line); border-radius: var(--r-xl); background: linear-gradient(145deg, var(--paper-2), var(--gold-soft)); box-shadow: var(--sh-1); }
.upgrade-panel .steps { margin-top: 6px; }
.upgrade-panel .step h3 { color: var(--gold); }
.upgrade-cta { margin-top: 20px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.upgrade-cta .hint { margin: 0; color: var(--ink-3); font-size: 12.5px; }

/* ---------- 支付页：档位金额（月 / 季 / 年 + 原价） ---------- */
.pay-tier-amt { flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: 2px; text-align: right; white-space: nowrap; }
.pay-tier-amt .pta-now { font: 800 17px/1.25 var(--sans); color: var(--teal-d); }
.pay-tier-amt .pta-now .per { font: 600 11.5px/1 var(--sans); color: var(--ink-3); }
.pay-tier-amt .pta-alt { font-size: 12.5px; color: var(--ink-3); }
.pay-tier-amt .pta-alt b { display: inline; font-family: var(--sans); font-size: 12.5px; color: var(--ink-2); font-weight: 700; }
.pay-tier-amt .was { font-size: 12px; margin-left: 3px; }
.upgrade-box { scroll-margin-top: 92px; }
.upgrade-box:target { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(185,138,32,.18); }

/* ---------- 支付页：升级说明框 ---------- */
.upgrade-box { margin-top: 20px; padding: 16px 18px; border: 1.5px dashed var(--gold-line); border-radius: 14px; background: var(--gold-soft); }
.upgrade-box h3 { margin: 0 0 8px; font-size: 16.5px; }
.upgrade-box p { margin: 0 0 8px; font-size: 13px; line-height: 1.8; color: var(--ink-2); }
.upgrade-box p:last-child { margin-bottom: 0; }
.upgrade-box .up-example { color: var(--ink-3); font-size: 12.5px; }

/* ---------- 新组件：深色模式补偿 ---------- */
@media (prefers-color-scheme: dark) {
html:not([data-theme="light"]) .upgrade-panel { background: linear-gradient(145deg, var(--paper-2), #2a2416); }
html:not([data-theme="light"]) .upgrade-box { background: rgba(223,179,109,.08); }
html:not([data-theme="light"]) .price-card.is-top { box-shadow: 0 10px 30px rgba(223,179,109,.10); }
}
html[data-theme="dark"] .upgrade-panel { background: linear-gradient(145deg, var(--paper-2), #2a2416); }
html[data-theme="dark"] .upgrade-box { background: rgba(223,179,109,.08); }
html[data-theme="dark"] .price-card.is-top { box-shadow: 0 10px 30px rgba(223,179,109,.10); }


/* ---------- 官网价格实时渲染（pricing-live.js）· 促销标记（2026-10-17） ---------- */
.pl-badge {
  display: inline-block; margin-left: 7px; padding: 1.5px 7px;
  border-radius: 999px; font: 700 10.5px/1.7 var(--sans);
  color: #fff; background: var(--red);
  vertical-align: 1.5px; white-space: nowrap;
}
.price-bill .pb-note.is-promo {
  color: #fff; background: var(--red); padding: 1px 8px;
  border-radius: 999px; font-size: 12px; font-weight: 700;
}
.pay-tier-amt .pl-badge { margin-left: 5px; }
@media (prefers-color-scheme: dark) {
html:not([data-theme="light"]) .pl-badge { background: #c9503a; }
html:not([data-theme="light"]) .price-bill .pb-note.is-promo { background: #c9503a; color: #fff; }
}
html[data-theme="dark"] .pl-badge { background: #c9503a; }
html[data-theme="dark"] .price-bill .pb-note.is-promo { background: #c9503a; color: #fff; }


/* ---------- 官网订阅页：付费周期切换（2026-10-17b） ----------
   档位卡不再堆叠月/季/年三份价格：默认月付，季付/年付经卡片上方开关切换。
   价格块显隐 = [data-pl-period]（pricing-live.js 切换）；注意 .price-amount
   是 flex 布局，hidden 需要 !important 压过。 */
.bill-switch { display: flex; justify-content: center; margin: 26px 0 0; }
.bs-group { display: inline-flex; align-items: center; gap: 4px; padding: 5px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--paper-2); box-shadow: var(--sh-1); }
.bs-btn { -webkit-appearance: none; appearance: none; border: 0; background: transparent; cursor: pointer; display: inline-flex; align-items: center; gap: 7px; padding: 9px 18px; border-radius: 999px; font: 700 13.5px/1.3 var(--sans); color: var(--ink-2); transition: background .16s, color .16s, box-shadow .16s; }
.bs-btn:hover { color: var(--ink); }
.bs-btn.is-on { background: var(--red); color: #FFF6EF; box-shadow: 0 6px 16px rgba(199,73,42,.26); }
.bs-btn.is-on:hover { color: #FFF6EF; }
.bs-btn .bs-note { padding: 1.5px 8px; border-radius: 999px; font-size: 12px; font-weight: 700; background: var(--red-soft); color: var(--red-d); }
.bs-btn.is-on .bs-note { background: rgba(255,255,255,.24); color: #FFF6EF; }
[data-pl-block][data-pl-period][hidden] { display: none !important; }
.price-amount .pl-term { flex: none; padding: 1.5px 8px; border-radius: 999px; border: 1px solid var(--red-line); background: var(--red-soft); color: var(--red-d); font-size: 12px; font-weight: 700; }
.price-amount .pl-term.is-promo { color: #fff; background: var(--red); border-color: transparent; }
@media (max-width: 620px) {
  .bs-group { flex-wrap: wrap; justify-content: center; border-radius: 20px; }
  .bs-btn { padding: 8px 13px; font-size: 12.5px; }
  .bs-btn .bs-note { font-size: 10px; }
}
@media (prefers-color-scheme: dark) {
html:not([data-theme="light"]) .price-amount .pl-term.is-promo { background: #c9503a; }
}
html[data-theme="dark"] .price-amount .pl-term.is-promo { background: #c9503a; }


/* ---------- 订阅页：宽屏「一行六档」横排（2026-10-17c 爸爸令） ----------
   卡片区在宽屏下一行放全六个档位（此前固定 3 列 × 2 行，看不出一排比对）。
   窄列配套紧凑字号；≥1200px 生效，更窄视口自动降为 3 / 2 / 1 列。
   宽屏同步放宽本页内容区（:has(.price-grid) 只命中订阅页；不支持 :has 的
   浏览器降级为原 1120px 内容宽 + 紧凑六列，功能不受影响）。 */
@media (min-width: 1200px) {
  body:has(.price-grid) .wrap { max-width: 1560px; }
  .price-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
  .price-card { padding: 16px 11px 14px; }
  .price-badge { font-size: 10px; padding: 3px 9px; top: -10px; }
  .price-name { font-size: 15.5px; }
  .price-en { font-size: 9px; }
  .price-persona { font-size: 12.5px; margin: 5px 0 11px; }
  .price-amount { gap: 4px; }
  .price-amount .num { font-size: 21px; }
  .price-amount .per { font-size: 12px; }
  .price-amount .was { font-size: 12px; margin-left: 4px; }
  .price-usd { font-size: 12.5px; margin: 0 0 12px; }
  .price-usd .was { font-size: 12px; }
  .price-quota { font-size: 12px; padding: 9px 10px; margin-bottom: 12px; }
  .price-quota b { font-size: 13px; }
  .price-quota small { font-size: 12px; }
  .price-list { font-size: 12px; margin-bottom: 14px; }
  .price-list li { padding: 5px 0 5px 14px; text-wrap: pretty; }
  .price-list li::before { top: 11px; width: 5px; height: 5px; }
  .price-cta { font-size: 12.5px; min-height: 38px; }
  .price-foot { font-size: 12px; }
  .price-amount .pl-term { font-size: 9.5px; padding: 1px 6px; }
}

/* ---------- 下载页 · 平台直达 + 平台口号（2026-10-20 爸爸令） ----------
   目的：让用户「一眼认出哪个链接是哪个平台」——页顶一排平台大按钮直达对应卡片，
   每张卡第一行是加粗放大的平台口号（.dlx-slogan），再往下才是版本/下载按钮。 */
.dlx-pick { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; margin: 26px 0 4px; }
.dlx-pick a {
  display: flex; flex-direction: column; gap: 3px; min-width: 0; padding: 14px 14px 13px;
  border: 1.5px solid var(--line); border-radius: 16px; background: var(--card);
  color: var(--ink); text-decoration: none; box-shadow: var(--sh-1);
  transition: border-color .18s, box-shadow .18s, transform .18s;
}
.dlx-pick a:hover { border-color: var(--teal); box-shadow: 0 10px 24px rgba(15,124,122,.16); transform: translateY(-2px); }
.dlx-pick a:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }
.dlx-pick .ico { font-size: 22px; line-height: 1.15; }
.dlx-pick b { font-size: 15px; font-weight: 750; letter-spacing: .01em; }
.dlx-pick i { font-style: normal; color: var(--ink-3); font-size: 12px; line-height: 1.45; }

.dlx-slogan {
  margin: 0 0 10px; font-size: 20px; font-weight: 800; line-height: 1.42;
  color: var(--teal-d); letter-spacing: .005em;
}
.dlx-card[data-platform="windows"] .dlx-slogan { color: var(--red-d); }
/* 从页顶平台按钮跳转过来时，目标卡片高亮（:target，无需 JS） */
.dlx-card:target { border-color: var(--teal); box-shadow: 0 0 0 3px var(--teal-soft), 0 12px 30px rgba(15,124,122,.16); }
.dlx-card.is-soon:target { border-color: var(--ink-3); box-shadow: 0 0 0 3px var(--line), 0 10px 24px rgba(0,0,0,.10); }

@media (max-width: 1120px) { .dlx-pick { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 620px) {
  .dlx-pick { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .dlx-pick a { padding: 12px 12px 11px; }
  .dlx-slogan { font-size: 17.5px; }
}

/* 锚点直达时避开 sticky 顶栏（.top 高 66px） */
.dlx-card { scroll-margin-top: 86px; }

/* 深色兼容层（2026-11-04）：主按钮/标签在深色下用深底浅字，保证对比度 */
html[data-theme="dark"] .bs-btn.is-on,
html[data-theme="dark"] .price-cta.is-primary,
html[data-theme="dark"] .price-cta.is-pay { background:#B9482A; color:#FFF8F3; border-color:transparent; }
html[data-theme="dark"] .price-cta.is-pay { background:#0F6A66; color:#F2FBFA; }
html[data-theme="dark"] .pl-badge, html[data-theme="dark"] .price-bill .pb-note.is-promo { background:#B9482A; color:#fff; }
@media (prefers-color-scheme: dark) {
  html:not([data-theme="light"]) .bs-btn.is-on,
  html:not([data-theme="light"]) .price-cta.is-primary { background:#B9482A; color:#FFF8F3; border-color:transparent; }
  html:not([data-theme="light"]) .price-cta.is-pay { background:#0F6A66; color:#F2FBFA; }
  html:not([data-theme="light"]) .pl-badge, html:not([data-theme="light"]) .price-bill .pb-note.is-promo { background:#B9482A; color:#fff; }
}
