/* HXAIGO v2 — 冷白 · 青瓷 · 轨道展台 */
:root {
  --bg: #F4F7F6;
  --paper: #FFFFFF;
  --ink: #141B19;
  --ink-2: #2E3835;
  --slate: #66716D;
  --slate-2: #97A29E;
  --line: #E5EBE8;
  --line-2: #D6DEDA;
  --celadon: #2F8A72;
  --celadon-deep: #1F6553;
  --celadon-wash: #E6F2EE;
  --celadon-ring: rgba(47, 138, 114, .22);
  --haze: #D6E6EE;
  --amber: #B06A28;
  --rose: #B4453F;
  --glass: rgba(255, 255, 255, .62);
  --glass-strong: rgba(255, 255, 255, .86);
  --edge: rgba(255, 255, 255, .9);
  --sh-1: 0 1px 2px rgba(20, 40, 34, .05), 0 6px 18px -10px rgba(20, 40, 34, .18);
  --sh-2: 0 1px 0 rgba(255,255,255,.9) inset, 0 2px 6px rgba(20, 40, 34, .04), 0 30px 60px -32px rgba(20, 52, 44, .32);
  --font: "HarmonyOS Sans SC", "MiSans", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", "Noto Sans CJK SC", "Segoe UI", system-ui, sans-serif;
  --num: "SF Pro Display", "Segoe UI Variable Display", "Helvetica Neue", "HarmonyOS Sans SC", system-ui, sans-serif;
  --code: "SF Mono", "JetBrains Mono", "Cascadia Mono", Consolas, "Noto Sans Mono CJK SC", monospace;
  --wrap: 1240px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; display: flex; flex-direction: column;
  background: var(--bg); color: var(--ink); font: 15px/1.6 var(--font);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--celadon); outline-offset: 2px; border-radius: 8px; }
[hidden] { display: none !important; }
.hide { display: none !important; }
.muted { color: var(--slate); }

.bg { position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(900px 520px at 18% -8%, rgba(47,138,114,.10), transparent 70%),
    radial-gradient(800px 600px at 100% 10%, rgba(140,180,205,.18), transparent 70%),
    var(--bg);
}

/* ---------------- 顶栏 ---------------- */
.top { position: sticky; top: 0; z-index: 40; background: rgba(244, 247, 246, .78); -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%); border-bottom: 1px solid rgba(214, 222, 218, .6); }
.top-in { max-width: var(--wrap); margin: 0 auto; height: 72px; padding: 0 24px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; justify-self: start; }
.mark { width: 30px; height: 30px; }
.mark .m0 { fill: var(--ink); }
.mark .m1 { fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; }
.mark .m2 { fill: none; stroke: #6FD3B4; stroke-width: 2.4; stroke-linecap: round; }
.wordmark { font: 700 17px/1 var(--num); letter-spacing: .06em; }

.tabs { display: flex; gap: 2px; padding: 4px; border-radius: 16px; background: rgba(20, 40, 34, .055); max-width: 640px; overflow-x: auto; scrollbar-width: none; position: relative; }
.tabs::-webkit-scrollbar { display: none; }
.tab { appearance: none; border: 0; background: none; cursor: pointer; flex: none; display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 16px 0 10px; border-radius: 12px; font-size: 14px; color: var(--slate); transition: color .2s, background .2s, box-shadow .2s; white-space: nowrap; }
.tab:hover { color: var(--ink); }
.tab[aria-selected="true"] { background: var(--paper); color: var(--ink); font-weight: 600; box-shadow: var(--sh-1); }
.tab .ico { width: 22px; height: 22px; }

.top-act { justify-self: end; display: flex; gap: 6px; }
.pill-link { display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px; border-radius: 12px; font-size: 14px; color: var(--ink-2); transition: background .2s; }
.pill-link:hover { background: rgba(20, 40, 34, .05); }
.pill-link svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.pill-link[aria-current="page"] { background: var(--paper); box-shadow: var(--sh-1); }

.demo-bar { text-align: center; font-size: 12.5px; color: var(--celadon-deep); background: var(--celadon-wash); padding: 7px 16px; }

main { flex: 1; width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* ---------------- 图标（分类 logo / 字母徽标） ---------------- */
.ico { position: relative; display: grid; place-items: center; overflow: hidden; border-radius: 28%; background: var(--paper); flex: none; }
.ico img { width: 100%; height: 100%; object-fit: contain; display: block; }
.ico.mono { background: linear-gradient(145deg, #FFFFFF, #E9F1EE); box-shadow: inset 0 0 0 1px rgba(20,40,34,.08); }
.ico.mono span { font: 700 calc(var(--s, 22px) * .5)/1 var(--num); background: linear-gradient(160deg, var(--c, var(--celadon)) 10%, var(--ink) 95%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tab .ico.has-img { background: none; border-radius: 6px; }

/* ---------------- 主体：展台 + 结算卡 ---------------- */
.store { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 40px; align-items: start; padding: 40px 0 72px; }

.stage {
  position: sticky; top: 104px; height: min(calc(100vh - 136px), 720px); min-height: 560px;
  border-radius: 36px; overflow: hidden; isolation: isolate;
  background: linear-gradient(180deg, rgba(255,255,255,.75), rgba(255,255,255,.35));
  border: 1px solid var(--edge); box-shadow: var(--sh-2);
}
.stage-grid { position: absolute; inset: 0; z-index: -2;
  background-image: radial-gradient(rgba(20, 40, 34, .14) 1px, transparent 1.3px); background-size: 20px 20px;
  -webkit-mask-image: radial-gradient(closest-side at 50% 44%, #000 30%, transparent 100%); mask-image: radial-gradient(closest-side at 50% 44%, #000 30%, transparent 100%);
}
.halo { position: absolute; left: 50%; top: 44%; width: 420px; height: 420px; translate: -50% -50%; z-index: -1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(47,138,114,.30), rgba(140,185,210,.22) 45%, transparent 75%); filter: blur(30px); }
.orbit { position: absolute; left: 50%; top: 44%; width: 0; height: 0; z-index: -1; }
.ring { position: absolute; left: 0; top: 0; border-radius: 50%; translate: -50% -50%; border: 1px solid rgba(20, 40, 34, .10); }
.r1 { width: 250px; height: 250px; border-color: rgba(47,138,114,.28); }
.r2 { width: 380px; height: 380px; border-style: dashed; border-color: rgba(20,40,34,.12); }
.r3 { width: 520px; height: 520px; }
.sat { position: absolute; left: 0; top: 0; width: 0; height: 0; animation: spin 36s linear infinite; }
.sat::after { content: ""; position: absolute; width: 9px; height: 9px; border-radius: 50%; background: var(--celadon); box-shadow: 0 0 0 5px rgba(47,138,114,.14); translate: -50% -50%; }
.s1::after { left: 125px; top: 0; }
.s2 { animation-duration: 58s; animation-direction: reverse; }
.s2::after { left: 0; top: 260px; background: #7FA9C2; box-shadow: 0 0 0 5px rgba(127,169,194,.16); width: 7px; height: 7px; }
@keyframes spin { to { transform: rotate(360deg); } }

.hero-icon { position: absolute; left: 50%; top: 44%; translate: -50% -50%; width: 176px; height: 176px; }
.hero-icon .ico { --s: 176px; width: 100%; height: 100%; border-radius: 30%; box-shadow: 0 1px 0 #fff inset, 0 0 0 1px rgba(20,40,34,.06), 0 30px 60px -20px rgba(20, 60, 50, .35), 0 8px 18px -8px rgba(20,60,50,.2); }
.hero-icon .ico.has-img { padding: 26px; background: #fff; }
.hero-icon .ico.swap { animation: pop .45s cubic-bezier(.2,.9,.3,1.2); }
@keyframes pop { from { transform: scale(.9); opacity: .4; } }

.chip-float { position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px 9px 10px; border-radius: 14px; font-size: 13px; color: var(--ink-2);
  background: var(--glass-strong); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid var(--edge); box-shadow: var(--sh-1); white-space: nowrap; }
.chip-float:empty { display: none; }
.chip-float i { width: 24px; height: 24px; border-radius: 8px; display: grid; place-items: center; background: var(--celadon-wash); color: var(--celadon-deep); flex: none; }
.chip-float i svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.chip-float b { font: 600 13px/1 var(--num); font-variant-numeric: tabular-nums; }
.cf1 { left: 8%; top: 17%; }
.cf2 { right: 7%; top: 33%; }
.cf3 { left: 11%; top: 60%; }
.cf2 i { background: #E9F0F5; color: #3F6F8A; }
.cf3 i { background: #F6EEE4; color: var(--amber); }

.stage-cap { position: absolute; left: 0; right: 0; bottom: 64px; text-align: center; padding: 0 24px; }
.stage-cap h1 { margin: 0; font: 650 30px/1.2 var(--num); letter-spacing: -.01em; }
.stage-cap p { margin: 8px auto 0; color: var(--slate); font-size: 14px; max-width: 30em; }
.dots { position: absolute; left: 0; right: 0; bottom: 28px; display: flex; justify-content: center; gap: 6px; }
.dots button { appearance: none; border: 0; padding: 0; width: 6px; height: 6px; border-radius: 6px; background: rgba(20, 40, 34, .18); cursor: pointer; transition: width .3s, background .3s; }
.dots button[aria-selected="true"] { width: 22px; background: var(--ink); }

/* 结算卡 */
.checkout { background: var(--paper); border-radius: 30px; padding: 34px 34px 28px; box-shadow: var(--sh-2); border: 1px solid rgba(214, 222, 218, .7); }
.co-head h2 { margin: 0; font: 650 28px/1.25 var(--font); letter-spacing: -.01em; }
.co-sub { margin: 8px 0 0; color: var(--slate); font-size: 14px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.tag { display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 8px; border-radius: 6px; font-size: 12px; background: var(--celadon-wash); color: var(--celadon-deep); }
.tag.gray { background: #EEF1F0; color: var(--slate); }
.tag.warn { background: #F7EEE4; color: var(--amber); }

.block { margin: 26px 0 0; padding: 0; border: 0; min-width: 0; }
legend, .lbl { display: block; padding: 0; font-size: 13.5px; font-weight: 600; color: var(--ink-2); margin-bottom: 10px; }
.hint { display: block; font-size: 12px; color: var(--slate-2); margin-top: 6px; }

.specs { display: grid; gap: 10px; }
.spec { position: relative; display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 15px 16px; border-radius: 16px; border: 1px solid var(--line-2); background: var(--paper); cursor: pointer; text-align: left; width: 100%; appearance: none; transition: border-color .2s, box-shadow .2s, background .2s; }
.spec:hover { border-color: rgba(47,138,114,.45); }
.spec[aria-checked="true"] { border-color: var(--celadon); background: linear-gradient(180deg, #FBFEFD, #F1F8F5); box-shadow: 0 0 0 3px var(--celadon-ring); }
.spec .radio { width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--line-2); display: grid; place-items: center; transition: all .2s; }
.spec[aria-checked="true"] .radio { border-color: var(--celadon); background: var(--celadon); }
.spec[aria-checked="true"] .radio::after { content: ""; width: 8px; height: 4px; border: solid #fff; border-width: 0 0 2px 2px; transform: translateY(-1px) rotate(-45deg); }
.spec-name { font-size: 15px; font-weight: 600; line-height: 1.35; }
.spec-meta { font-size: 12px; color: var(--slate); margin-top: 3px; display: flex; gap: 10px; }
.spec-price { text-align: right; font: 650 20px/1 var(--num); font-variant-numeric: tabular-nums; letter-spacing: -.01em; white-space: nowrap; }
.spec-price small { font-size: 12px; font-weight: 500; color: var(--slate); margin-right: 1px; }
.spec-price em { display: block; font: 400 11px/1 var(--font); color: var(--slate-2); font-style: normal; margin-top: 5px; }
.spec[disabled] { cursor: not-allowed; background: #FAFBFA; }
.spec[disabled] .spec-name, .spec[disabled] .spec-price { color: var(--slate-2); }

.dot { display: inline-flex; align-items: center; gap: 5px; }
.dot::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--celadon); }
.dot.low::before { background: var(--amber); }
.dot.out::before { background: var(--slate-2); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { appearance: none; cursor: pointer; border: 1px solid var(--line-2); background: var(--paper); border-radius: 11px; padding: 8px 14px; font-size: 14px; transition: border-color .2s, background .2s, color .2s, box-shadow .2s; }
.chip:hover { border-color: rgba(47,138,114,.5); }
.chip[aria-pressed="true"] { border-color: var(--celadon); background: var(--celadon-wash); color: var(--celadon-deep); font-weight: 600; }

.desc { margin-top: 18px; border-radius: 14px; background: #F7F9F8; border: 1px solid var(--line); }
.desc summary { cursor: pointer; list-style: none; padding: 12px 16px; font-size: 13.5px; color: var(--ink-2); display: flex; justify-content: space-between; align-items: center; }
.desc summary::-webkit-details-marker { display: none; }
.desc summary::after { content: ""; width: 7px; height: 7px; border: solid var(--slate); border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); transition: transform .2s; margin-right: 4px; }
.desc[open] summary::after { transform: rotate(-135deg); }
.desc-body { padding: 0 16px 14px; font-size: 13.5px; color: var(--ink-2); max-height: 260px; overflow: auto; }
.desc-body :first-child { margin-top: 0; } .desc-body :last-child { margin-bottom: 0; }
.desc-body img { max-width: 100%; height: auto; border-radius: 8px; }
.desc-body ul, .desc-body ol { padding-left: 1.3em; }

.qty-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.qty-row .lbl { margin: 0; }
.qty-row .hint { margin-top: 3px; }
.stepper { display: inline-flex; align-items: center; border-radius: 13px; background: #F1F4F3; padding: 3px; }
.stepper button { appearance: none; border: 0; background: none; width: 36px; height: 36px; border-radius: 10px; cursor: pointer; font-size: 18px; color: var(--ink-2); transition: background .15s, box-shadow .15s; }
.stepper button:hover { background: var(--paper); box-shadow: var(--sh-1); }
.stepper input { width: 48px; height: 36px; border: 0; text-align: center; background: none; outline: none; font: 600 15px var(--num); font-variant-numeric: tabular-nums; }

.field { display: block; }
.field input, .field textarea, .field select, .input-icon input {
  width: 100%; height: 48px; padding: 0 14px; border-radius: 13px; border: 1px solid var(--line-2); background: #FBFCFC;
  outline: none; font-size: 15px; transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { height: auto; min-height: 96px; padding: 12px 14px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus, .input-icon input:focus { border-color: var(--celadon); background: #fff; box-shadow: 0 0 0 4px var(--celadon-ring); }
.field + .field { margin-top: 16px; }
.input-icon { position: relative; display: block; }
.input-icon svg { position: absolute; left: 14px; top: 50%; translate: 0 -50%; width: 18px; height: 18px; fill: none; stroke: var(--slate-2); stroke-width: 1.6; stroke-linejoin: round; pointer-events: none; }
.input-icon input { padding-left: 42px; }

.pays { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; }
.pay { appearance: none; cursor: pointer; display: grid; grid-template-columns: 36px minmax(0, 1fr) 20px; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 15px; border: 1px solid var(--line-2); background: var(--paper); text-align: left; transition: border-color .2s, box-shadow .2s, background .2s; }
.pay:hover { border-color: rgba(47,138,114,.45); }
.pay[aria-checked="true"] { border-color: var(--celadon); box-shadow: 0 0 0 3px var(--celadon-ring); background: #FBFEFD; }
.pay-ico { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; color: #fff; }
.pay-ico svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pay b { display: block; font-size: 14.5px; font-weight: 600; }
.pay small { display: block; font-size: 11.5px; color: var(--slate-2); margin-top: 1px; }
.pay .radio { width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--line-2); display: grid; place-items: center; }
.pay[aria-checked="true"] .radio { border-color: var(--celadon); background: var(--celadon); }
.pay[aria-checked="true"] .radio::after { content: ""; width: 7px; height: 3.5px; border: solid #fff; border-width: 0 0 2px 2px; transform: translateY(-1px) rotate(-45deg); }

.agree { display: flex; align-items: center; gap: 10px; margin-top: 22px; font-size: 13px; color: var(--slate); cursor: pointer; }
.agree input { width: 18px; height: 18px; margin: 0; accent-color: var(--celadon); }
.agree a { color: var(--celadon-deep); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(47,138,114,.4); }

.sum { display: flex; justify-content: space-between; align-items: baseline; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.sum span { font-size: 14px; color: var(--slate); }
.sum strong { font: 700 34px/1 var(--num); letter-spacing: -.02em; font-variant-numeric: tabular-nums; transition: opacity .2s; }
.sum strong small { font-size: 17px; font-weight: 600; color: var(--ink-2); margin-right: 2px; }
.sum strong.loading { opacity: .35; }
.form-err { color: var(--rose); font-size: 13px; min-height: 20px; margin: 8px 0 6px; }
.fine { margin: 12px 0 0; font-size: 12px; color: var(--slate-2); text-align: center; }

/* 按钮 */
.btn { appearance: none; border: 1px solid transparent; cursor: pointer; height: 40px; padding: 0 18px; border-radius: 12px; font-size: 14px; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; gap: 8px; white-space: nowrap; transition: background .2s, transform .1s, box-shadow .2s, opacity .2s; }
.btn:active { transform: translateY(1px); }
.btn.dark, .btn.primary { background: var(--ink); color: #fff; box-shadow: 0 10px 24px -14px rgba(20,27,25,.9); }
.btn.dark:hover, .btn.primary:hover { background: #22302C; }
.btn.accent { background: var(--celadon); color: #fff; }
.btn.accent:hover { background: var(--celadon-deep); }
.btn.ghost { background: var(--paper); border-color: var(--line-2); color: var(--ink); }
.btn.ghost:hover { border-color: var(--slate-2); }
.btn.small { height: 34px; padding: 0 14px; font-size: 13px; border-radius: 10px; }
.btn.block { width: 100%; height: 54px; font-size: 16px; border-radius: 16px; }
.btn[disabled] { opacity: .4; cursor: not-allowed; transform: none; }

/* ---------------- 购买流程 / 常见问题 ---------------- */
.sec-title { font: 650 22px/1.3 var(--font); margin: 0 0 20px; letter-spacing: -.01em; }
.how { padding: 8px 0 64px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: s; }
.steps li { position: relative; padding: 24px 24px 22px; border-radius: 22px; background: var(--glass); border: 1px solid var(--edge); box-shadow: var(--sh-1); counter-increment: s; }
.steps li::after { content: counter(s); position: absolute; right: 22px; top: 18px; font: 700 40px/1 var(--num); color: rgba(20,40,34,.06); }
.st-ico { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; background: var(--ink); color: #9BE3CB; margin-bottom: 16px; }
.st-ico svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.steps b { font-size: 16px; }
.steps p { margin: 6px 0 0; color: var(--slate); font-size: 13.5px; }
.faq { padding: 0 0 80px; }
.faq-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: start; }
.faq details { border-radius: 18px; background: var(--paper); border: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 20px; font-weight: 600; font-size: 15px; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 20px/1 var(--num); color: var(--slate); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: -4px 20px 18px; color: var(--slate); font-size: 14px; white-space: pre-line; }

/* ---------------- 订单页 / 查询页 ---------------- */
.narrow { max-width: 640px; margin: 0 auto; padding: 48px 0 80px; }
.page-title { font: 650 28px/1.3 var(--font); margin: 0 0 6px; }
.panel, .card { background: var(--paper); border-radius: 28px; padding: 30px; margin-top: 22px; box-shadow: var(--sh-2); border: 1px solid rgba(214,222,218,.7); }
.form .btn { margin-top: 22px; }
.order-top { display: flex; align-items: center; gap: 16px; }
.order-top .ico { --s: 56px; width: 56px; height: 56px; }
.order-top .ico.has-img { padding: 8px; box-shadow: inset 0 0 0 1px var(--line); }
.order-top h1 { font: 650 20px/1.35 var(--font); margin: 0; }
.order-top .co-sub { margin-top: 4px; }
.badge { flex: none; margin-left: auto; display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px 6px 10px; border-radius: 999px; font-size: 13px; background: #EEF1F0; color: var(--ink-2); font-weight: 500; }
.badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--slate-2); }
.badge.pending::before, .badge.paid::before, .badge.delivering::before, .badge.processing::before { background: var(--amber); }
.badge.delivered { background: var(--celadon-wash); color: var(--celadon-deep); }
.badge.delivered::before { background: var(--celadon); }
.badge.failed { background: #F7E9E8; color: var(--rose); }
.badge.failed::before { background: var(--rose); }
.track { list-style: none; padding: 0; margin: 26px 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.track li { font-size: 12.5px; color: var(--slate-2); padding-top: 12px; position: relative; }
.track li::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; border-radius: 4px; background: #E8EDEB; }
.track li.on { color: var(--ink-2); font-weight: 500; }
.track li.on::before { background: var(--celadon); }
.track li.wait::before { background: linear-gradient(90deg, var(--celadon) 0 40%, #E8EDEB 40%); }
.kv { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 10px 16px; font-size: 14px; margin: 0; }
.kv dt { color: var(--slate); }
.kv dd { margin: 0; word-break: break-all; }
.kv .mono, .mono { font-family: var(--code); font-size: 13px; }
.secret { margin-top: 24px; border-radius: 20px; background: linear-gradient(180deg, #F3F9F6, #EAF3EF); border: 1px solid rgba(47,138,114,.25); padding: 18px 18px 16px; }
.secret-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; font-size: 13px; color: var(--celadon-deep); font-weight: 600; }
.secret pre { margin: 0; font: 500 15px/1.75 var(--code); white-space: pre-wrap; word-break: break-all; color: var(--ink); max-height: 360px; overflow: auto; }
.callout { margin-top: 22px; padding: 14px 16px; border-radius: 14px; font-size: 14px; background: #F6F8F7; border: 1px solid var(--line); color: var(--ink-2); }
.actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.actions .btn { flex: 1; min-width: 140px; height: 48px; }
.recent { margin-top: 36px; }
.recent h2 { font-size: 14px; color: var(--slate); font-weight: 500; margin: 0 0 10px 4px; }
.recent .list { background: var(--paper); border-radius: 20px; border: 1px solid var(--line); overflow: hidden; }
.recent a { display: flex; justify-content: space-between; gap: 12px; padding: 14px 18px; font-size: 14px; }
.recent a:hover { background: #F8FAF9; }
.recent a + a { border-top: 1px solid var(--line); }
.recent a span:last-child { color: var(--slate); font-family: var(--code); font-size: 12px; }

.empty { text-align: center; padding: 64px 20px; color: var(--slate); border-radius: 22px; background: var(--paper); border: 1px solid var(--line); }
.empty strong { display: block; color: var(--ink); font-weight: 600; margin-bottom: 6px; font-size: 16px; }
.skeleton { height: 64px; border-radius: 16px; background: linear-gradient(90deg, #EEF2F0, #F8FAF9, #EEF2F0) 0 0 / 200% 100%; animation: shimmer 1.4s infinite; margin-bottom: 10px; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* 弹窗与提示 */
.modal { border: 0; padding: 0; border-radius: 24px; max-width: min(480px, calc(100% - 32px)); width: 100%; box-shadow: 0 40px 80px -30px rgba(20,40,34,.5); }
.modal::backdrop { background: rgba(20, 27, 25, .35); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.modal-in { padding: 28px; }
.modal h2 { margin: 0 0 14px; font-size: 19px; }
.modal-body { font-size: 14px; color: var(--ink-2); white-space: pre-line; margin-bottom: 22px; max-height: 50vh; overflow: auto; }
.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px); opacity: 0; z-index: 80; pointer-events: none; background: var(--ink); color: #fff; padding: 11px 18px; border-radius: 12px; font-size: 14px; transition: opacity .25s, transform .25s; max-width: calc(100% - 32px); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

.foot { border-top: 1px solid var(--line); }
.foot-in { max-width: var(--wrap); margin: 0 auto; padding: 26px 24px 34px; display: flex; justify-content: space-between; gap: 16px; font-size: 13px; color: var(--slate-2); }
.foot-links { display: flex; gap: 18px; }
.foot a:hover { color: var(--ink); }

/* ---------------- 后台共用 ---------------- */
.sky { display: none; }
.glass { background: var(--glass); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); border: 1px solid var(--edge); box-shadow: var(--sh-1); }
.glass-strong { background: var(--paper); border: 1px solid rgba(214,222,218,.7); box-shadow: var(--sh-2); }
.nav-wrap { position: sticky; top: 0; z-index: 30; padding: 14px 24px 0; }
.nav { max-width: var(--wrap); margin: 0 auto; height: 60px; border-radius: 20px; display: flex; align-items: center; justify-content: space-between; padding: 0 10px 0 16px; background: rgba(255,255,255,.86); }
.nav-links { display: flex; gap: 2px; }
.nav-links a { padding: 8px 14px; border-radius: 11px; color: var(--ink-2); font-size: 14px; }
.nav-links a:hover { background: rgba(20,40,34,.05); }
.nav-links a[aria-current="page"] { background: var(--ink); color: #fff; }

/* ---------------- 响应式 ---------------- */
@media (max-width: 1080px) {
  .top-in { grid-template-columns: auto 1fr auto; }
  .tabs { justify-self: center; }
  .pill-link span { display: none; }
  .pill-link { padding: 0 10px; }
}
@media (max-width: 900px) {
  .top-in { grid-template-columns: 1fr auto; height: auto; padding: 12px 16px 10px; row-gap: 10px; }
  .tabs { grid-column: 1 / -1; grid-row: 2; justify-self: stretch; max-width: none; }
  main { padding: 0 16px; }
  .store { grid-template-columns: 1fr; gap: 18px; padding: 18px 0 48px; }
  .stage { position: relative; top: 0; height: 350px; min-height: 0; border-radius: 28px; }
  .hero-icon { width: 108px; height: 108px; top: 45%; }
  .hero-icon .ico { --s: 108px !important; width: 108px !important; height: 108px !important; }
  .hero-icon .ico.has-img { padding: 18px; }
  .orbit, .halo { top: 45%; }
  .halo { width: 280px; height: 280px; }
  .r1 { width: 160px; height: 160px; } .r2 { width: 250px; height: 250px; } .r3 { width: 360px; height: 360px; }
  .s1::after { left: 80px; } .s2 { display: none; }
  .stage-cap { bottom: 42px; }
  .stage-cap h1 { font-size: 22px; }
  .stage-cap p { font-size: 13px; margin-top: 4px; }
  .dots { bottom: 18px; }
  .cf1 { left: 14px; top: 14px; } .cf2 { right: 14px; left: auto; top: 14px; } .cf3 { display: none; }
  .checkout { padding: 26px 20px 22px; border-radius: 26px; }
  .co-head h2 { font-size: 23px; }
  .steps { grid-template-columns: 1fr; }
  .faq-list { grid-template-columns: 1fr; }
  .foot-in { padding: 22px 16px 30px; }
  .narrow { padding-top: 28px; }
  .panel, .card { padding: 22px 18px; }
  .kv { grid-template-columns: 72px minmax(0, 1fr); }
}
@media (max-width: 420px) {
  .chip-float { font-size: 12px; padding: 7px 11px 7px 8px; }
  .spec { padding: 13px 14px; gap: 10px; }
  .spec-price { font-size: 18px; }
  .pays { grid-template-columns: 1fr 1fr; }
  .pay { grid-template-columns: 32px minmax(0,1fr); padding: 11px 12px; }
  .pay .radio { display: none; }
  .pay-ico { width: 32px; height: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; }
}
.form-err:empty { min-height: 0; margin: 12px 0 0; }
