/* 扣费雷达 · 产品专属样式。通用组件（导航、按钮、卡片、首屏、雷达、价格卡、手机外框…）在 /shared/saas.css。
   只用系统字体，不引用任何外部资源；新写的动画只动 transform / opacity。 */

[data-theme="fee"] {
  --red-rgb: 255, 77, 109;
  --amber-rgb: 251, 191, 36;
  --cyan-rgb: 34, 211, 238;
  --ink-on-accent: #04110d;
  --grad-brand: linear-gradient(100deg, #19e6a7, #22d3ee 55%, #8ff5dc);
  --grad-money: linear-gradient(100deg, #ff4d6d, #ff7a5c 55%, #fbbf24);
}

/* ———————— 基础 ———————— */
[hidden] { display: none !important; }
@supports not (overflow: clip) { body { overflow-x: hidden; } }
body { overflow-wrap: anywhere; }
h1, h2, h3, p, ol, ul, figure { margin: 0; }
button, input, select { font: inherit; color: inherit; }
img { display: block; max-width: 100%; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; padding: 0; margin: -1px; }
.ico { width: 1.1em; height: 1.1em; flex: none; vertical-align: -.18em; }
:focus-visible { outline: 2px solid rgba(var(--glow), .85); outline-offset: 2px; }
.fee-grad { background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.fine { font-size: 12.5px; color: var(--muted); }
.center { text-align: center; }
.fine.center { margin-top: 10px; }
.link { padding: 0; border: 0; background: none; color: var(--a1); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.link:hover { color: #7cf5d0; }
#guide, #upload, #results, #unlock, #unlocked, #demo, #privacy { scroll-margin-top: 76px; }

/* 共享组件的两处动画改成只用 transform / opacity */
.sx-kicker { position: relative; }
.sx-kicker::before { animation: none; box-shadow: 0 0 10px rgba(var(--glow), .9); }
.sx-kicker::after {
  content: ""; position: absolute; left: 10px; top: 50%; width: 8px; height: 8px; margin-top: -4px;
  border-radius: 50%; border: 1.5px solid rgba(var(--glow), .85); pointer-events: none;
  animation: fee-ping 2s ease-out infinite;
}
.sx-btn--primary::after { left: 0; transform: translateX(-140%) skewX(-20deg); animation: fee-shine 3.6s ease-in-out infinite; }
.sx-btn--primary.sx-btn--sm::after { display: none; }

/* 按钮补充变体（app.js 渲染的按钮也用这些） */
.fee-btn--soft { background: rgba(var(--glow), .12); border-color: rgba(var(--glow), .38); color: #8ff5dc; }
.fee-btn--soft:hover { border-color: rgba(var(--glow), .7); }
.fee-btn--danger { background: rgba(var(--red-rgb), .06); border-color: rgba(var(--red-rgb), .42); color: #ff8fa3; }
.fee-btn--danger:hover { border-color: rgba(var(--red-rgb), .75); }

/* ———————— 导航 ———————— */
.sx-nav { padding-top: env(safe-area-inset-top, 0px); }
.nav-right { display: flex; align-items: center; gap: 10px; }
.beta {
  padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; color: #8ff5dc;
  background: rgba(var(--glow), .1); box-shadow: inset 0 0 0 1px rgba(var(--glow), .35);
}

/* ———————— 首屏 ———————— */
.hero .sx-mesh i { opacity: .42; }
.hero .sx-mesh i:nth-child(3) { background: #0d9488; opacity: .3; }
.hero .sx-h1 em { font-style: normal; background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-text > * { animation: fee-rise .9s cubic-bezier(.2, .7, .2, 1) both; }
.hero-text > :nth-child(2) { animation-delay: .07s; }
.hero-text > :nth-child(3) { animation-delay: .14s; }
.hero-text > :nth-child(4) { animation-delay: .21s; }
.hero-text > :nth-child(5) { animation-delay: .28s; }
.hero-cta .sx-btn { flex: 1 1 100%; }
@media (min-width: 560px) { .hero-cta .sx-btn { flex: 0 0 auto; } }
.privacy-line { display: flex; gap: 8px; align-items: flex-start; margin-top: 18px; color: var(--text-2); font-size: 14px; }
.privacy-line .ico { margin-top: 3px; color: var(--a1); }
.privacy-line b { color: var(--text); }

/* 只淡入不缩放：雷达初始化时要读真实尺寸 */
.hero-visual { position: relative; animation: fee-fade 1.1s .15s ease-out both; }
.hero-visual::before {
  content: ""; position: absolute; inset: 8%; z-index: -1; border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--glow), .28), transparent 65%); pointer-events: none;
}
.hero-visual .sx-chip { position: absolute; z-index: 2; }
.blip {
  padding: 6px 11px 6px 9px; font-family: var(--mono); font-size: 13px; font-weight: 700; color: #ffd0d8;
  background: rgba(36, 8, 18, .78); border-color: rgba(var(--red-rgb), .45);
}
.blip i { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--a3); box-shadow: 0 0 10px rgba(var(--red-rgb), .9); }
.blip i::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1.5px solid rgba(var(--red-rgb), .8); animation: fee-ping 2.2s ease-out infinite; }
.b2 i::after { animation-delay: .7s; }
.b3 i::after { animation-delay: 1.4s; }
.b1 { top: 5%; left: 0; }
.b2 { top: 12%; right: 0; }
.b3 { bottom: 15%; left: 0; }
.hero-total { bottom: 2%; right: 0; border-color: rgba(var(--glow), .4); }
.hero-total b { color: var(--a3); text-shadow: 0 0 16px rgba(var(--red-rgb), .5); }

/* ———————— 产品演示 ———————— */
.demo { overflow: hidden; }
.demo-grid { display: grid; gap: 44px; align-items: center; }
@media (min-width: 960px) { .demo-grid { grid-template-columns: 1fr 1fr; gap: 64px; } }
.demo-note { margin: 0 0 22px; color: var(--muted); font-size: 14px; }
.demo-points { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.demo-points li {
  display: flex; align-items: center; gap: 12px; padding: 15px 16px; border-radius: 16px;
  border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .015));
  font-size: 15.5px; font-weight: 700; line-height: 1.45;
}
.dp-dot { flex: none; width: 10px; height: 10px; border-radius: 50%; background: #8a93a8; box-shadow: 0 0 0 4px rgba(255, 255, 255, .06); }
.dp-red { background: var(--a3); box-shadow: 0 0 0 4px rgba(var(--red-rgb), .16), 0 0 14px rgba(var(--red-rgb), .8); }
.dp-cyan { background: var(--a2); box-shadow: 0 0 0 4px rgba(var(--cyan-rgb), .16), 0 0 14px rgba(var(--cyan-rgb), .8); }
.demo-stage { position: relative; padding: 10px 0; }
.demo-stage::before {
  content: ""; position: absolute; left: 50%; top: 50%; width: 520px; height: 520px; margin: -260px 0 0 -260px; z-index: -1;
  border-radius: 50%; background: radial-gradient(circle, rgba(var(--glow), .22), transparent 62%); pointer-events: none;
}

/* 手机里的仿「免密支付/自动扣款」页 */
.sx-phone-screen { display: flex; flex-direction: column; font-size: 13px; line-height: 1.35; }
.ph-status { display: flex; align-items: center; justify-content: space-between; height: 44px; padding: 14px 22px 0 26px; font-size: 13px; }
.ph-sig { display: inline-flex; align-items: flex-end; gap: 2px; height: 10px; }
.ph-sig i { width: 3px; border-radius: 1px; background: #111; }
.ph-sig i:nth-child(1) { height: 5px; } .ph-sig i:nth-child(2) { height: 7px; } .ph-sig i:nth-child(3) { height: 10px; }
.ph-sig u { width: 18px; height: 9px; margin-left: 5px; border-radius: 2.5px; border: 1.5px solid #111; text-decoration: none; background: linear-gradient(90deg, #111 70%, transparent 70%) content-box; padding: 1px; }
.ph-nav { position: relative; display: flex; align-items: center; justify-content: center; height: 40px; padding: 0 44px; background: #fff; border-bottom: 1px solid #eceef3; }
.ph-nav b { font-size: 14.5px; font-weight: 700; white-space: nowrap; }
.ph-back { position: absolute; left: 12px; top: 50%; transform: translateY(-52%); font-size: 26px; line-height: 1; color: #333; }
.ph-nav em { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); padding: 1px 6px; border-radius: 6px; font-size: 10.5px; font-style: normal; font-weight: 700; color: #b45309; background: #fef3c7; }
.ph-body { position: relative; margin-top: 8px; background: #fff; }
.ph-list { margin: 0; padding: 0; list-style: none; }
.ph-row { position: relative; display: flex; align-items: center; gap: 10px; height: 50px; padding: 0 12px; border-bottom: 1px solid #f0f1f5; }
.ph-row::before {
  content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity .35s;
  background: linear-gradient(90deg, rgba(var(--red-rgb), .13), rgba(var(--red-rgb), .02));
}
.ph-row.is-other::before { background: rgba(17, 24, 39, .045); }
.ph-row.is-hit::before { opacity: 1; }
.ph-av { position: relative; flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: var(--c); color: #fff; font-size: 13px; font-weight: 800; }
.ph-txt { position: relative; flex: 1; min-width: 0; display: grid; }
.ph-txt b { font-size: 13px; font-weight: 700; color: #111; }
.ph-txt small { overflow: hidden; font-size: 10.5px; color: #8a8f9c; white-space: nowrap; text-overflow: ellipsis; }
.ph-badge {
  position: relative; flex: none; padding: 3px 7px; border-radius: 999px; font-family: var(--mono); font-size: 11px; font-weight: 800; color: #fff;
  background: linear-gradient(100deg, #ff4d6d, #ff6b5a); box-shadow: 0 4px 12px -3px rgba(var(--red-rgb), .75);
  opacity: 0; transform: translateX(10px) scale(.55);
  transition: transform .45s cubic-bezier(.3, 1.6, .5, 1), opacity .25s;
}
.ph-row.is-other .ph-badge { font-family: var(--font); color: #5b6474; background: #eef0f4; box-shadow: none; }
.ph-row.is-hit .ph-badge { opacity: 1; transform: none; }
.ph-scan { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.ph-scan i {
  position: absolute; inset: 0; opacity: 0; transform: translateY(-100%);
  background: linear-gradient(180deg, rgba(var(--glow), 0) 72%, rgba(var(--glow), .2));
}
.ph-scan i::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: #19e6a7; box-shadow: 0 0 12px 2px rgba(var(--glow), .85); }
.is-scan .ph-scan i { animation: fee-scan 3.4s linear forwards; }
.ph-result {
  position: absolute; left: 10px; right: 10px; bottom: 10px; z-index: 2; padding: 14px 14px 13px; border-radius: 20px;
  background: linear-gradient(160deg, #10231f, #070a14 70%); color: #fff;
  box-shadow: 0 -12px 40px -12px rgba(var(--glow), .5), inset 0 0 0 1px rgba(var(--glow), .35);
  opacity: 0; transform: translateY(115%);
  transition: transform .6s cubic-bezier(.2, .8, .2, 1), opacity .4s;
}
.is-done .ph-result { opacity: 1; transform: none; }
.ph-r-label { font-size: 11px; color: #b4bdd6; }
.ph-r-amt { display: flex; align-items: baseline; gap: 4px; margin-top: 4px; }
.ph-r-amt b {
  font-family: var(--mono); font-size: 32px; font-weight: 800; line-height: 1.05; letter-spacing: -.03em;
  background: var(--grad-money); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.ph-r-amt span { font-size: 11px; color: #b4bdd6; }
.ph-r-sub { margin-top: 6px; font-size: 10.5px; color: #8fe9cf; }
.no-js .ph-badge, .no-js .ph-result { opacity: 1; transform: none; }
.no-js .ph-row::before { opacity: 1; }

/* ———————— 数据条 ———————— */
.facts { padding-top: 0; }
.fact { display: grid; gap: 22px; padding: 26px 20px; overflow: hidden; }
.fact::after {
  content: ""; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(var(--red-rgb), .18), transparent 65%);
}
@media (min-width: 860px) { .fact { grid-template-columns: auto 1fr; gap: 48px; align-items: center; padding: 36px 40px; } }
.fact-nums { display: flex; flex-wrap: wrap; gap: 18px 28px; align-items: flex-end; }
.fact-num {
  display: flex; align-items: baseline; gap: 4px; font-family: var(--mono); font-weight: 800; line-height: 1;
  font-size: clamp(42px, 8.5vw, 64px); letter-spacing: -.03em; color: var(--a3); text-shadow: 0 0 40px rgba(var(--red-rgb), .35);
}
.fact-num span, .fact-num small { font-family: var(--font); font-size: 16px; font-weight: 700; letter-spacing: 0; color: var(--text-2); text-shadow: none; }
.fact-pct { color: var(--warn); text-shadow: 0 0 40px rgba(var(--amber-rgb), .3); }
.fact-pct small { margin-right: 2px; }
.fact-bar { width: 100%; min-width: 120px; height: 6px; margin-top: 12px; border-radius: 999px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.fact-bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--warn), var(--a3)); transform-origin: left center; transform: scaleX(.75); transition: transform 1.4s cubic-bezier(.2, .7, .2, 1) .35s; }
html:not(.no-js) .fact[data-reveal]:not(.is-in) .fact-bar i { transform: scaleX(0); }
.fact-text { color: var(--text-2); font-size: 15.5px; line-height: 1.7; }
.fact-text b { color: var(--warn); }
.fact-src { margin-top: 8px; color: var(--muted); font-size: 12.5px; }

/* ———————— 功能流程：步骤卡 ———————— */
.flow { padding-top: 8px; }
.flow-grid { display: grid; gap: 16px; }
@media (min-width: 1024px) { .flow-grid { grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; } }
.step-card { min-width: 0; padding: 22px 16px; }
@media (min-width: 720px) { .step-card { padding: 30px; } }
.step-card::after {
  content: ""; position: absolute; top: -1px; left: 28px; right: 28px; height: 1px; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(var(--glow), .75), transparent);
}
#results, #unlock { margin-top: 16px; animation: fee-rise .6s cubic-bezier(.2, .7, .2, 1) both; }
@media (min-width: 1024px) { #results, #unlock { margin-top: 20px; } }
.step-head { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 20px; }
.step-no {
  flex: none; display: grid; place-items: center; width: 36px; height: 36px; margin-top: 1px; border-radius: 12px;
  font-family: var(--mono); font-size: 16px; font-weight: 800; color: var(--ink-on-accent);
  background: linear-gradient(135deg, var(--a1), var(--a2));
  box-shadow: 0 0 0 4px rgba(var(--glow), .12), 0 8px 24px -6px rgba(var(--glow), .85);
}
.step-head h2 { font-size: clamp(20px, 2.6vw, 24px); line-height: 1.3; font-weight: 800; letter-spacing: -.01em; }
.step-head p { margin-top: 4px; color: var(--text-2); font-size: 14.5px; }
.step-card h3 { font-size: 17px; line-height: 1.4; font-weight: 800; }

/* 标签页 */
.tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 4px; border-radius: 14px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); }
.tab { min-height: 42px; border: 0; border-radius: 10px; background: transparent; color: var(--text-2); font-weight: 700; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.tab:hover { color: var(--text); }
.tab[aria-selected="true"] { color: var(--ink-on-accent); background: linear-gradient(135deg, var(--a1), var(--a2)); box-shadow: 0 6px 20px -6px rgba(var(--glow), .85); }
.tab-panel { padding: 18px 2px 2px; }
.path-label { margin-bottom: 10px; color: var(--muted); font-size: 13px; }
.path { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; padding: 0; list-style: none; counter-reset: p; }
.path li {
  position: relative; display: inline-flex; align-items: center; gap: 7px; padding: 5px 11px 5px 5px; border-radius: 999px;
  background: rgba(255, 255, 255, .05); border: 1px solid var(--line-2); font-size: 14px; font-weight: 700; color: var(--text);
}
.path li::before {
  counter-increment: p; content: counter(p); display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%;
  font: 800 11px/1 var(--mono); color: var(--ink-on-accent); background: var(--a1);
}
.path li:not(:last-child)::after { content: "›"; position: absolute; right: -13px; top: 50%; transform: translateY(-55%); color: var(--muted); font-weight: 400; }
.path li:last-child { border-color: rgba(var(--glow), .6); background: rgba(var(--glow), .12); box-shadow: 0 0 22px -6px rgba(var(--glow), .85); }
.tips { display: grid; gap: 8px; margin-top: 16px; padding: 0; list-style: none; color: var(--text-2); font-size: 14px; }
.tips li { position: relative; padding-left: 16px; }
.tips li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--a1); box-shadow: 0 0 8px rgba(var(--glow), .9); }
.note { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }

/* 上传 */
.drop {
  position: relative; isolation: isolate; display: grid; justify-items: center; gap: 6px; padding: 34px 18px 30px;
  border: 1.5px dashed rgba(var(--glow), .6); border-radius: 18px; text-align: center; cursor: pointer;
  background: radial-gradient(120% 90% at 50% 0%, rgba(var(--glow), .14), transparent 62%), rgba(255, 255, 255, .02);
  box-shadow: inset 0 0 44px -22px rgba(var(--glow), .7);
  transition: transform .25s cubic-bezier(.2, .8, .2, 1), opacity .2s;
  -webkit-tap-highlight-color: transparent;
}
.drop::before {
  content: ""; position: absolute; inset: -2px; z-index: -1; border-radius: inherit; pointer-events: none;
  box-shadow: 0 0 0 1px rgba(var(--glow), .55), 0 0 40px -4px rgba(var(--glow), .6);
  opacity: 0; transition: opacity .25s;
}
.drop::after {
  content: ""; position: absolute; inset: 7px; z-index: -1; border-radius: 12px; pointer-events: none;
  border: 1px solid rgba(var(--glow), .3); animation: fee-breathe 3.2s ease-in-out infinite;
}
.drop:hover::before { opacity: .55; }
.drop.is-over { border-style: solid; border-color: var(--a1); transform: scale(1.015); }
.drop.is-over::before { opacity: 1; }
.drop.is-busy { opacity: .6; pointer-events: none; }
.drop:focus-within { outline: 2px solid rgba(var(--glow), .85); outline-offset: 3px; }
.drop-ico {
  width: 54px; height: 54px; margin-bottom: 6px; padding: 13px; border-radius: 16px; color: var(--ink-on-accent);
  background: linear-gradient(135deg, var(--a1), var(--a2)); box-shadow: 0 12px 30px -8px rgba(var(--glow), .9);
  transition: transform .25s cubic-bezier(.2, .8, .2, 1);
}
.drop:hover .drop-ico, .drop.is-over .drop-ico { transform: translateY(-4px); }
.drop-title { font-size: 18px; font-weight: 800; color: var(--text); }
.drop-sub { color: var(--muted); font-size: 13px; }
.thumbs { display: flex; gap: 8px; margin-top: 14px; overflow-x: auto; padding-bottom: 2px; }
.thumbs:empty { display: none; }
.thumbs img { flex: none; width: 58px; height: 104px; object-fit: cover; object-position: top; border-radius: 10px; border: 1px solid var(--line-2); box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .9); }

.progress { margin-top: 16px; padding: 14px 16px; border-radius: 14px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line); }
.progress-top { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; font-weight: 700; }
.progress-pct { font-family: var(--mono); color: var(--a1); }
.bar { height: 8px; margin-top: 10px; border-radius: 999px; background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px var(--line); }
.bar i {
  position: relative; display: block; width: 0; height: 100%; overflow: hidden; border-radius: inherit;
  background: linear-gradient(90deg, var(--a1), var(--a2)); box-shadow: 0 0 14px rgba(var(--glow), .9), 0 0 4px rgba(var(--cyan-rgb), .9);
}
.bar i::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .6), transparent); transform: translateX(-100%); animation: fee-sheen 1.5s ease-in-out infinite; }
.progress-note { margin-top: 8px; color: var(--muted); font-size: 13px; }
.privacy-box { display: flex; gap: 12px; margin-top: 16px; padding: 14px 16px; border-radius: 14px; background: rgba(var(--glow), .06); border: 1px solid rgba(var(--glow), .22); font-size: 14px; }
.privacy-box .ico { width: 22px; height: 22px; margin-top: 1px; color: var(--a1); }
.privacy-box p { margin-top: 2px; color: var(--text-2); font-size: 13px; }
.alt-action { margin-top: 14px; color: var(--muted); font-size: 14px; text-align: center; }

.alert { margin-top: 14px; padding: 12px 14px; border-radius: 14px; font-size: 14px; }
.alert-error { background: rgba(var(--red-rgb), .1); border: 1px solid rgba(var(--red-rgb), .38); color: #ffd6dd; }
.alert-warn { background: rgba(var(--amber-rgb), .08); border: 1px solid rgba(var(--amber-rgb), .32); color: #fde9b8; }
.alert b { color: #fff; }
.alert ol { display: grid; gap: 4px; margin-top: 6px; padding-left: 20px; }
.pending-actions { display: flex; gap: 8px; margin-top: 12px; }
.pending-actions .sx-btn { flex: 1; }

/* ———————— 结果 ———————— */
.res-grid { display: grid; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1024px) {
  .res-grid { grid-template-columns: minmax(0, 360px) minmax(0, 1fr); column-gap: 28px; align-items: start; grid-template-areas: "sum flags" "sum list" "sum actions" "sum raw" "share share"; }
  #summary { grid-area: sum; position: sticky; top: 84px; }
  #flags { grid-area: flags; margin: 0 0 14px; }
  #list { grid-area: list; margin-top: 0; }
  .list-actions { grid-area: actions; }
  #rawBox { grid-area: raw; }
  #share { grid-area: share; }
}
.summary {
  position: relative; overflow: hidden; padding: 22px 20px; border-radius: 20px; isolation: isolate;
  background: radial-gradient(120% 100% at 0% 0%, rgba(var(--red-rgb), .2), transparent 58%), linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .015));
  border: 1px solid rgba(var(--red-rgb), .32); box-shadow: 0 24px 60px -30px rgba(var(--red-rgb), .65);
}
.summary::after {
  content: ""; position: absolute; right: -60px; top: -60px; z-index: -1; width: 200px; height: 200px; border-radius: 50%; pointer-events: none;
  background: repeating-radial-gradient(circle, transparent 0 22px, rgba(255, 255, 255, .05) 22px 23px);
}
.sum-label { color: var(--text-2); font-size: 14px; font-weight: 700; }
.sum-amt {
  margin-top: 8px; font-family: var(--mono); font-weight: 800; line-height: 1; letter-spacing: -.04em; font-variant-numeric: tabular-nums;
  font-size: clamp(48px, 13vw, 80px); background: var(--grad-money); -webkit-background-clip: text; background-clip: text; color: transparent;
  white-space: nowrap; overflow-wrap: normal;
}
@media (min-width: 1024px) { .sum-amt { font-size: 64px; } }
.sum-amt small { margin-right: 4px; font-size: .45em; font-weight: 800; vertical-align: .5em; }
.sum-sub { margin-top: 10px; color: var(--text-2); font-size: 14px; }
.sum-note { margin-top: 6px; color: var(--muted); font-size: 12.5px; }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 8px; margin-top: 10px; }
.tile { padding: 11px 13px; border-radius: 14px; background: rgba(255, 255, 255, .035); border: 1px solid var(--line); color: var(--text-2); font-size: 13px; }
.tile b { display: block; color: var(--text); font-size: 15px; }
.tile-credit { background: rgba(var(--amber-rgb), .07); border-color: rgba(var(--amber-rgb), .32); }
.tile-credit b { color: var(--warn); }
#flags { display: grid; gap: 8px; margin-top: 12px; }
#flags:empty { display: none; }
.flag { display: flex; gap: 10px; align-items: flex-start; padding: 11px 13px; border-radius: 14px; background: rgba(var(--amber-rgb), .08); border: 1px solid rgba(var(--amber-rgb), .3); color: #fde9b8; font-size: 14px; }
.flag .ico { margin-top: 3px; color: var(--warn); }

.list { display: grid; gap: 20px; margin-top: 18px; }
.group-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; margin-bottom: 10px; }
.group-head h3 { font-size: 15px; font-weight: 800; }
.group-note { color: var(--muted); font-size: 12.5px; }
.group-sub .group-head h3 { color: #ff8fa3; }
.group-credit .group-head h3, .group-pending .group-head h3 { color: var(--warn); }
.items { display: grid; gap: 8px; }
.item { overflow: hidden; border-radius: 16px; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .02)); }
.item:hover { border-color: var(--line-2); }
.item.is-open { border-color: rgba(var(--glow), .5); box-shadow: 0 0 0 1px rgba(var(--glow), .15), 0 18px 44px -22px rgba(var(--glow), .55); }
.group-pending .item { border-style: dashed; border-color: rgba(var(--amber-rgb), .45); }
.group-inactive .item { opacity: .6; }
.item-row { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 66px; padding: 12px 14px; border: 0; background: none; color: inherit; text-align: left; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.avatar { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; font-size: 16px; font-weight: 800; color: #fff; background: #3b4458; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14), 0 8px 18px -10px rgba(0, 0, 0, .9); }
.cat-video { background: linear-gradient(135deg, #5b8cff, #3553c9); } .cat-music { background: linear-gradient(135deg, #2bd18b, #138a5c); }
.cat-audio { background: linear-gradient(135deg, #f0a24a, #c0661c); } .cat-cloud { background: linear-gradient(135deg, #4aa8f0, #2266b8); }
.cat-life { background: linear-gradient(135deg, #f5b335, #c77d0a); } .cat-ride { background: linear-gradient(135deg, #34c9d6, #16808c); }
.cat-fitness { background: linear-gradient(135deg, #8574f0, #5a43c9); } .cat-tool { background: linear-gradient(135deg, #e868a0, #b23a70); }
.cat-apple { background: linear-gradient(135deg, #6b7280, #374151); } .cat-tencent { background: linear-gradient(135deg, #3d8cf0, #1c5cc0); }
.cat-game { background: linear-gradient(135deg, #a46ef0, #6d3cc4); } .cat-credit { background: linear-gradient(135deg, #e0a030, #a86a08); }
.cat-utility { background: linear-gradient(135deg, #5fa38c, #3a6f5e); } .cat-nopwd { background: linear-gradient(135deg, #8b97a6, #5b6676); }
.cat-other { background: linear-gradient(135deg, #7b8698, #4b5466); }
.item-main { flex: 1; min-width: 0; display: grid; gap: 3px; }
.item-name { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; font-size: 15px; font-weight: 700; }
.item-name .nm { min-width: 0; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.item-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 6px; color: var(--muted); font-size: 12.5px; }
.item-amt { flex: none; text-align: right; font-family: var(--mono); font-variant-numeric: tabular-nums; }
.item-amt b { display: block; font-size: 16px; font-weight: 800; color: var(--a3); text-shadow: 0 0 18px rgba(var(--red-rgb), .45); }
.item-amt small { color: var(--muted); font-size: 11.5px; }
.group-utility .item-amt b, .group-nopwd .item-amt b, .group-inactive .item-amt b, .group-pending .item-amt b { color: var(--text-2); text-shadow: none; }
.chev { flex: none; width: 18px; height: 18px; color: var(--muted); transition: transform .2s; }
.item.is-open .chev, .guide[open] .chev { transform: rotate(90deg); }
.tag { display: inline-block; padding: 0 7px; border-radius: 6px; font-family: var(--font); font-size: 11px; font-weight: 700; line-height: 18px; white-space: nowrap; }
.tag-est { background: rgba(255, 255, 255, .06); color: var(--muted); box-shadow: inset 0 0 0 1px var(--line-2); }
.tag-top5 { background: rgba(var(--red-rgb), .16); color: #ff8fa3; }
.tag-pending, .tag-credit { background: rgba(var(--amber-rgb), .14); color: var(--warn); }
.item-edit { padding: 2px 14px 16px; border-top: 1px solid var(--line); }
.raw-line { margin-top: 12px; padding: 8px 10px; border-radius: 10px; background: rgba(255, 255, 255, .04); color: var(--text-2); font-size: 13px; }
.raw-line b { margin-right: 4px; color: var(--muted); font-weight: 600; }
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.grid .full { grid-column: 1 / -1; }
.field { display: grid; gap: 6px; min-width: 0; color: var(--text-2); font-size: 12.5px; font-weight: 600; }
.field input, .field select, .cal-row input {
  width: 100%; min-width: 0; min-height: 44px; padding: 10px 12px; border-radius: 12px; outline: none;
  background: rgba(255, 255, 255, .045); color: var(--text); border: 1px solid var(--line-2); font-size: 16px;
  -webkit-appearance: none; appearance: none;
}
.field select {
  padding-right: 32px; background-repeat: no-repeat; background-size: 5px 5px; background-position: calc(100% - 17px) 52%, calc(100% - 12px) 52%;
  background-image: linear-gradient(45deg, transparent 50%, var(--text-2) 50%), linear-gradient(135deg, var(--text-2) 50%, transparent 50%);
}
.field select option { background: #10162b; color: var(--text); }
.field input:focus, .field select:focus, .cal-row input:focus { border-color: rgba(var(--glow), .85); box-shadow: 0 0 0 4px rgba(var(--glow), .16); }
.field input::placeholder { color: #5d6782; }
.field input[type="date"] { display: block; }
.hint-date { margin-top: 10px; color: var(--text-2); font-size: 13px; }
.edit-actions { display: flex; justify-content: space-between; gap: 8px; margin-top: 14px; }
.empty { padding: 26px 14px; border: 1px dashed var(--line-2); border-radius: 16px; color: var(--text-2); font-size: 14px; text-align: center; }
.empty b { display: block; margin-bottom: 6px; color: var(--text); font-size: 16px; }
.empty ul { display: inline-grid; gap: 2px; margin-top: 8px; padding-left: 20px; text-align: left; }
.list-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.list-actions .sx-btn { flex: 1 1 150px; }
.raw { margin-top: 16px; color: var(--muted); font-size: 13px; }
.raw summary { cursor: pointer; }
.raw pre { max-height: 260px; margin: 8px 0 0; padding: 12px; overflow: auto; border-radius: 12px; background: rgba(0, 0, 0, .35); border: 1px solid var(--line); color: var(--text-2); font: 12px/1.6 var(--mono); white-space: pre-wrap; word-break: break-all; }

.share {
  margin-top: 22px; padding: 20px 18px; border-radius: 20px;
  background: radial-gradient(100% 140% at 100% 0%, rgba(var(--glow), .14), transparent 60%), rgba(255, 255, 255, .025);
  border: 1px solid rgba(var(--glow), .24);
}
@media (min-width: 720px) { .share { padding: 24px 26px; } }
.share-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.share-head p { margin-top: 2px; color: var(--muted); font-size: 13px; }
.share-out { display: grid; justify-items: center; gap: 12px; margin-top: 18px; }
.share-out img {
  width: 100%; max-width: 360px; border-radius: 18px; border: 1px solid rgba(var(--glow), .35); -webkit-touch-callout: default;
  box-shadow: 0 30px 80px -30px rgba(var(--glow), .65), 0 0 0 6px rgba(255, 255, 255, .03);
  animation: fee-pop .6s cubic-bezier(.2, .8, .2, 1) both;
}
.hint { color: var(--muted); font-size: 13px; }

/* ———————— 解锁：价格卡 ———————— */
#locked { display: grid; gap: 18px; justify-content: center; align-items: start; grid-template-columns: minmax(0, 560px); }
@media (min-width: 1080px) { #locked { grid-template-columns: repeat(auto-fit, minmax(0, 480px)); gap: 22px; } }
.plan { isolation: isolate; -webkit-backdrop-filter: none; backdrop-filter: none; background: linear-gradient(180deg, rgba(var(--glow), .1), rgba(255, 255, 255, .02) 55%), #0a0f1c; }
.plan .sx-plan-price b { font-family: var(--mono); background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.plan .sx-checks { margin: 16px 0 20px; }
.benefits b { display: block; font-size: 15px; }
.benefits span { display: block; margin-top: 2px; color: var(--text-2); font-size: 13.5px; }
.purchase { display: grid; gap: 14px; align-content: start; padding: 22px 18px; }
@media (min-width: 720px) { .purchase { padding: 28px; } }
.purchase .alert { margin-top: 0; }
.qr { display: grid; justify-items: center; gap: 10px; }
.qr-img {
  display: grid; place-items: center; width: 240px; height: 240px; max-width: 100%; padding: 10px; overflow: hidden; border-radius: 18px; background: #fff;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .25), 0 0 0 8px rgba(255, 255, 255, .05), 0 22px 50px -20px rgba(var(--glow), .75);
}
.qr-img img, .qr-img svg { display: block; width: 100%; height: 100%; object-fit: contain; }
.qr figcaption { color: var(--text-2); font-size: 13px; text-align: center; }

#unlocked { display: grid; gap: 14px; }
@media (min-width: 1024px) {
  #unlocked { grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; }
  #unlocked .block-cancel { grid-row: span 2; }
}
.block { padding: 20px 16px; border-radius: 18px; background: rgba(255, 255, 255, .025); border: 1px solid var(--line); }
@media (min-width: 720px) { .block { padding: 24px; } }
.block h3 { display: flex; align-items: center; gap: 8px; }
.block h3 .ico { color: var(--a1); }
.block-sub { margin: 4px 0 14px; color: var(--muted); font-size: 13px; }
.guides { display: grid; gap: 8px; }
.guide { border-radius: 14px; border: 1px solid var(--line); background: rgba(255, 255, 255, .03); }
.guide[open] { border-color: rgba(var(--glow), .42); }
.guide summary { display: flex; align-items: center; gap: 10px; padding: 13px 14px; list-style: none; font-size: 15px; font-weight: 700; cursor: pointer; }
.guide summary::-webkit-details-marker { display: none; }
.guide summary .nm { flex: 1; min-width: 0; }
.guide summary small { color: var(--muted); font-size: 12.5px; font-weight: 500; }
.guide-body { display: grid; gap: 8px; padding: 0 14px 14px; color: var(--text-2); font-size: 14px; }
.guide-body .steps { padding: 10px 12px; border-radius: 12px; background: rgba(var(--glow), .08); border: 1px solid rgba(var(--glow), .22); color: var(--text); }
.guide-body .steps b { display: block; margin-bottom: 2px; color: var(--a1); font-size: 12px; }
.guide-body .credit { padding: 10px 12px; border-radius: 12px; background: rgba(var(--amber-rgb), .08); border: 1px solid rgba(var(--amber-rgb), .26); color: var(--text); }
.cal-list { display: grid; gap: 8px; margin-bottom: 14px; }
.cal-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 10px; align-items: center; padding: 10px 12px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255, 255, 255, .025); }
.cal-row.is-missing { border-color: rgba(var(--amber-rgb), .42); background: rgba(var(--amber-rgb), .06); }
.cal-name { min-width: 0; font-size: 15px; font-weight: 700; }
.cal-name small { display: block; color: var(--muted); font-size: 12.5px; font-weight: 500; }
.cal-row input { width: auto; max-width: 160px; min-height: 40px; padding: 6px 8px; border-radius: 10px; }
.cal-row .use-hint { grid-column: 1 / -1; justify-self: start; font-size: 13px; }
#icsHint { margin-top: 10px; }
.advice-list { display: grid; gap: 8px; }
.adv { display: grid; gap: 10px; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255, 255, 255, .025); }
.adv-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.adv-top b { min-width: 0; font-size: 15px; }
.adv-top span { color: var(--a3); font-family: var(--mono); font-size: 13px; white-space: nowrap; }
.seg { display: inline-grid; grid-template-columns: auto 1fr 1fr; gap: 6px; align-items: center; color: var(--muted); font-size: 13px; }
.seg button { min-height: 36px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .04); color: var(--text-2); font-size: 14px; font-weight: 700; cursor: pointer; }
.seg button[aria-pressed="true"] { border-color: transparent; color: var(--ink-on-accent); background: linear-gradient(135deg, var(--a1), var(--a2)); box-shadow: 0 6px 18px -6px rgba(var(--glow), .85); }
.verdict { padding: 9px 11px; border-radius: 10px; background: rgba(255, 255, 255, .04); color: var(--text-2); font-size: 14px; }
.v-cancel { background: rgba(var(--red-rgb), .1); color: var(--text); }
.v-cancel b { color: #ff8fa3; }
.v-keep b { color: var(--a1); }
.v-review, .v-check { background: rgba(var(--amber-rgb), .08); color: var(--text); }
.v-review b, .v-check b { color: var(--warn); }
.adv-sum { margin-top: 12px; padding: 14px 16px; border-radius: 14px; background: rgba(var(--glow), .1); border: 1px solid rgba(var(--glow), .32); font-size: 15px; }
.adv-sum b { color: var(--a1); font-family: var(--mono); font-size: 20px; }

/* ———————— 隐私 ———————— */
.privacy-grid { display: grid; gap: 36px; align-items: center; }
@media (min-width: 900px) { .privacy-grid { grid-template-columns: .9fr 1.1fr; gap: 64px; } }
.lock-orb { position: relative; display: grid; place-items: center; width: min(300px, 76vw); height: min(300px, 76vw); margin: 0 auto; }
.lock-orb::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--glow), .2), transparent 62%), repeating-radial-gradient(circle, transparent 0 34px, rgba(var(--glow), .1) 34px 35px);
}
.lock-ring { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(var(--glow), .55); opacity: 0; animation: fee-ring 3.6s ease-out infinite; }
.lock-ring.r2 { animation-delay: 1.2s; }
.lock-ring.r3 { animation-delay: 2.4s; }
.lock-orbit { position: absolute; inset: 13%; border-radius: 50%; border: 1px dashed rgba(var(--glow), .3); animation: sx-spin 14s linear infinite; }
.lock-orbit i { position: absolute; top: -5px; left: 50%; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: var(--a2); box-shadow: 0 0 14px rgba(var(--cyan-rgb), 1); }
.lock-core {
  position: relative; display: grid; place-items: center; width: 42%; height: 42%; border-radius: 30%;
  background: linear-gradient(160deg, rgba(var(--glow), .32), rgba(10, 15, 31, .92) 70%); border: 1px solid rgba(var(--glow), .55);
  box-shadow: 0 0 60px -8px rgba(var(--glow), .75), inset 0 1px 0 rgba(255, 255, 255, .22);
}
.lock-ico { width: 48%; height: 48%; color: #eafff7; }
.privacy-text { margin: 4px 0 22px; color: var(--text-2); font-size: 16px; line-height: 1.75; }
.privacy-text b { display: inline-block; margin-right: 6px; padding: 1px 9px; border-radius: 999px; color: #8ff5dc; font-size: 13px; background: rgba(var(--glow), .12); box-shadow: inset 0 0 0 1px rgba(var(--glow), .4); }

/* ———————— 收尾号召 ———————— */
.cta-sec { padding-top: 24px; }
.sx-cta .sx-h2 { position: relative; }
.cta-row { justify-content: center; margin-top: 26px; }
.sx-cta .privacy-line { justify-content: center; margin-top: 16px; }
.cta-sweep {
  position: absolute; left: 50%; top: 50%; z-index: -1; width: 1100px; height: 1100px; margin: -550px 0 0 -550px; border-radius: 50%; pointer-events: none;
  background: conic-gradient(from 0deg, rgba(var(--glow), .2), transparent 22%, transparent);
  animation: sx-spin 9s linear infinite; opacity: .8;
}

/* ———————— 页脚 ———————— */
.foot { padding-bottom: calc(56px + env(safe-area-inset-bottom, 0px)); }
.foot-logo { width: 28px; height: 28px; margin-bottom: 12px; color: var(--a1); }
.foot b { color: var(--text-2); }
.foot .copy { margin-top: 16px; }

/* ———————— 弹窗、提示 ———————— */
.modal {
  position: fixed; inset: 0; z-index: 80; display: flex; align-items: flex-end; justify-content: center; padding: 16px;
  background: rgba(3, 5, 12, .7); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  animation: fee-fade .25s both;
}
@media (min-width: 560px) { .modal { align-items: center; } }
.modal-card {
  position: relative; display: grid; gap: 12px; width: 100%; max-width: 440px; padding: 26px 20px 20px; border-radius: 24px;
  background: linear-gradient(180deg, #111a2c, #0a0f1e); border: 1px solid var(--line-2);
  box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .95), 0 0 0 1px rgba(var(--glow), .12), 0 0 90px -30px rgba(var(--glow), .55);
  animation: fee-sheet .35s cubic-bezier(.2, .8, .2, 1) both;
}
.modal-card::before { content: ""; position: absolute; top: -1px; left: 30px; right: 30px; height: 1px; background: linear-gradient(90deg, transparent, rgba(var(--glow), .85), transparent); }
.modal-card h3 { padding-right: 36px; font-size: 20px; font-weight: 800; line-height: 1.35; }
.modal-card > p:not(.fine) { color: var(--text-2); font-size: 14px; }
.modal-card .sx-field { margin: 4px 0 0; }
.modal-x { position: absolute; top: 10px; right: 10px; display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 12px; background: rgba(255, 255, 255, .05); color: var(--text-2); cursor: pointer; }
.modal-x:hover { color: var(--text); }
.modal-x .ico { width: 20px; height: 20px; }
.modal-actions { display: grid; gap: 8px; }
.modal-actions #submitContact { order: -1; }
@media (min-width: 420px) { .modal-actions { grid-template-columns: 1fr 1.3fr; } .modal-actions #submitContact { order: 0; } }
.toast {
  position: fixed; left: 16px; right: 16px; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); z-index: 90;
  width: -webkit-fit-content; width: fit-content; max-width: 560px; margin: 0 auto; padding: 11px 18px; border-radius: 14px; text-align: center;
  background: rgba(14, 20, 36, .94); color: var(--text); border: 1px solid rgba(var(--glow), .38); font-size: 14px;
  box-shadow: 0 20px 50px -16px rgba(0, 0, 0, .95), 0 0 30px -10px rgba(var(--glow), .65);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  animation: fee-toast .35s cubic-bezier(.2, .8, .2, 1) both;
}

/* ———————— 动画 ———————— */
/* 离开屏幕的区块暂停（落地页脚本给区块加 .fx-off） */
.fx-off *, .fx-off *::before, .fx-off *::after { animation-play-state: paused !important; }

@keyframes fee-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes fee-ping { 0% { opacity: .9; transform: scale(.4); } 80%, 100% { opacity: 0; transform: scale(2.2); } }
@keyframes fee-shine { 0%, 55% { transform: translateX(-140%) skewX(-20deg); } 85%, 100% { transform: translateX(300%) skewX(-20deg); } }
@keyframes fee-scan { 0% { opacity: 1; transform: translateY(-100%); } 92% { opacity: 1; } 100% { opacity: 0; transform: translateY(0); } }
@keyframes fee-breathe { 0%, 100% { opacity: .25; } 50% { opacity: .9; } }
@keyframes fee-sheen { to { transform: translateX(100%); } }
@keyframes fee-ring { 0% { opacity: 0; transform: scale(.42); } 18% { opacity: .9; } 100% { opacity: 0; transform: scale(1); } }
@keyframes fee-pop { from { opacity: 0; transform: translateY(14px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes fee-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes fee-sheet { from { opacity: 0; transform: translateY(24px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes fee-toast { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  .sx-kicker::after, .blip i::after, .lock-ring, .cta-sweep, .bar i::after, .drop::after { animation: none !important; opacity: 0; }
  .lock-orbit { animation: none !important; }
  .fact-bar i { transform: scaleX(.75) !important; }
}
