/* Max API · 设计预览 · 无外部资源 */
/* 字体：全部为 SIL OFL 开源授权，可免费商用，随页面打包（许可见 fonts/） */
@font-face { font-family: "Max Inter"; src: url("fonts/inter-latin-300-normal.woff2") format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Max Inter"; src: url("fonts/inter-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Max Inter"; src: url("fonts/inter-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Max Inter"; src: url("fonts/inter-latin-600-normal.woff2") format("woff2"); font-weight: 600 700; font-display: swap; }
@font-face { font-family: "Max Noto SC"; src: url("fonts/noto-sans-sc-subset.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Max Mono"; src: url("fonts/JetBrainsMono-400.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }

:root {
  --paper: #f3eee8;
  --paper-2: #ebe4dc;
  --paper-3: #fbf9f6;
  --ink: #0e0d0c;
  --ink-2: #3b3834;
  --mute: #6f6962;
  --line: rgba(14, 13, 12, .1);
  --night: #0b0b0a;
  --night-2: #151413;
  --night-3: #1e1d1b;
  --night-line: rgba(255, 255, 255, .09);
  --cream: #f6f0ea;
  --cream-mute: rgba(246, 240, 234, .58);
  --copper: #b06a3b;
  --copper-2: #d39b6c;
  --ok: #4fb57a;
  --focus: #0071e3;
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 30px;
  --sans: "Max Inter", "Max Noto SC", sans-serif;
  --display: "Max Inter", "Max Noto SC", sans-serif;
  --mono: "Max Mono", "Max Noto SC", monospace;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --p: 0;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--night);
  color: var(--ink);
  font: 400 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-console { background: var(--paper-3); }
body.splash-on { overflow: hidden; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; text-decoration: none; }
.skip:focus { top: 12px; }
[hidden] { display: none !important; }

/* ---------- 品牌标 ---------- */
.mark {
  --s: 24px;
  width: var(--s); height: var(--s); flex: none; display: inline-block;
  background: url("logo.svg") center/contain no-repeat;
  border-radius: 26%;
  box-shadow: 0 1px 2px rgba(0,0,0,.2);
}
.mark-md { --s: 44px; display: block; margin: 0 auto 14px; }
.mark-lg { --s: 64px; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 20px;
  border-radius: 999px; border: 0;
  font-weight: 500; font-size: 16px; letter-spacing: -.01em;
  text-decoration: none; white-space: nowrap;
  transition: transform .2s var(--ease), background-color .2s, box-shadow .2s, color .2s;
}
.btn:active { transform: scale(.97); }
.btn-primary {
  background: var(--ink); color: #fff;
  box-shadow: 0 1px 0 rgba(255,255,255,.12) inset, 0 8px 22px -8px rgba(0,0,0,.55);
}
.btn-primary:hover { background: #26231f; }
.btn-quiet { background: transparent; color: var(--ink-2); }
.btn-quiet:hover { background: rgba(14,13,12,.06); }
.btn-soft { background: rgba(14,13,12,.06); color: var(--ink); }
.btn-soft:hover { background: rgba(14,13,12,.1); }
.btn-lg { min-height: 54px; padding: 0 30px; font-size: 17px; }
.btn-sm { min-height: 36px; padding: 0 14px; font-size: 14px; }
.btn-block { width: 100%; }
.btn-icon {
  width: 40px; height: 40px; flex: none; display: grid; place-items: center;
  border: 0; border-radius: 10px; background: transparent; color: var(--mute);
  transition: background-color .2s, color .2s;
}
.btn-icon:hover { background: rgba(14,13,12,.06); color: var(--ink); }
.btn-icon svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.btn-icon.done { color: var(--ok); }
.linkish { background: none; border: 0; padding: 8px 4px; color: var(--mute); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(14,13,12,.25); min-height: 44px; }
.linkish:hover { color: var(--ink); }

.tag {
  display: inline-flex; align-items: center; height: 22px; padding: 0 8px;
  border-radius: 999px; background: rgba(14,13,12,.06); color: var(--mute);
  font-size: 12px; font-weight: 500; letter-spacing: 0; vertical-align: middle; white-space: nowrap;
}
.tag-dark { background: rgba(255,255,255,.08); color: var(--cream-mute); }

/* ---------- 预览标识 ---------- */
.preview-flag {
  position: fixed; left: 16px; bottom: 16px; z-index: 40;
  padding: 7px 14px; border-radius: 999px;
  background: rgba(20,19,18,.82); color: rgba(255,255,255,.86);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  font-size: 12.5px; white-space: nowrap; pointer-events: none;
  max-width: calc(100vw - 24px); overflow: hidden; text-overflow: ellipsis;
}

/* ---------- 导航 ---------- */
.nav {
  position: fixed; top: 14px; left: 0; right: 0; z-index: 30;
  display: flex; justify-content: center; pointer-events: none; padding: 0 12px;
}
.nav-pill {
  pointer-events: auto;
  display: flex; align-items: center; gap: 6px;
  padding: 5px 5px 5px 14px; border-radius: 999px;
  background: rgba(243,238,232,.0);
  transition: background-color .35s, box-shadow .35s, color .35s;
}
.nav.solid .nav-pill { background: rgba(243,238,232,.78); -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4); box-shadow: 0 0 0 1px var(--line); }
.nav.dark .nav-pill { background: rgba(22,21,20,.78); color: var(--cream); box-shadow: 0 0 0 1px var(--night-line); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 600; font-size: 16px; letter-spacing: -.02em; text-decoration: none; margin-right: 10px; min-height: 40px; }
.nav-links { display: flex; }
.nav-links a { text-decoration: none; padding: 8px 12px; border-radius: 999px; font-size: 15px; color: inherit; opacity: .78; min-height: 40px; display: inline-flex; align-items: center; }
.nav-links a:hover { opacity: 1; background: rgba(127,127,127,.12); }
.btn-nav { min-height: 38px; padding: 0 16px; font-size: 15px; background: var(--ink); color: #fff; margin-left: 6px; }
.nav.dark .btn-nav { background: var(--cream); color: var(--ink); }
.is-console .nav-links { display: none; }

/* ---------- 开屏 ---------- */
.splash {
  position: fixed; inset: 0; z-index: 60;
  background: var(--paper);
  display: grid; place-items: center;
  padding: 24px;
  transition: clip-path .8s var(--ease), opacity .5s;
  clip-path: inset(0 0 0 0);
}
.splash.leaving { clip-path: inset(0 0 100% 0); }
.splash-inner { width: min(640px, 100%); display: grid; gap: 28px; justify-items: center; }
.worries { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; justify-items: center; transition: opacity .45s var(--ease), transform .45s var(--ease); }
.worries.gone { opacity: 0; transform: translateY(-12px); height: 0; overflow: hidden; margin-bottom: -28px; }
.worries li {
  position: relative; font: 300 clamp(26px, 6vw, 40px)/1.2 var(--display); letter-spacing: -.03em; color: var(--ink);
  opacity: 0; transform: translateY(10px); transition: opacity .35s var(--ease), transform .35s var(--ease), color .3s;
}
.worries li.show { opacity: 1; transform: none; }
.worries li::after {
  content: ""; position: absolute; left: -6px; right: -6px; top: 54%; height: 2.5px; border-radius: 2px;
  background: var(--copper); transform: scaleX(0); transform-origin: left; transition: transform .32s var(--ease);
}
.worries li.struck { color: #b2aba3; }
.worries li.struck::after { transform: scaleX(1); }
.splash-brand {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  opacity: 0; transform: translateY(8px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.splash-brand.show { opacity: 1; transform: none; }
.splash-name { font: 300 clamp(32px, 8vw, 60px)/1.1 var(--display); letter-spacing: -.045em; text-align: center; }
.splash-brand .mark-lg { margin-bottom: 8px; }
.splash-tag { font-size: 16px; color: var(--mute); text-align: center; }
.splash-skip {
  position: absolute; top: 18px; right: 18px; min-height: 40px; padding: 0 16px;
  border: 0; border-radius: 999px; background: rgba(14,13,12,.06); color: var(--ink-2); font-size: 14px;
}
.splash-skip:hover { background: rgba(14,13,12,.1); }

/* ---------- Hero：滚动缩卡 ---------- */
.hero-stage { height: 175vh; position: relative; }
.hero-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: grid; place-items: center; }
.hero-card {
  position: absolute; inset: 0;
  background:
    radial-gradient(90% 60% at 50% 0%, #f8f4ef 0%, transparent 70%),
    var(--paper);
  display: flex; flex-direction: column; align-items: center;
  padding: clamp(96px, 14vh, 140px) 20px 0;
  transform-origin: 50% 40%;
  transform: scale(calc(1 - var(--p) * .16)) translateY(calc(var(--p) * 2vh));
  border-radius: calc(var(--p) * 40px);
  box-shadow: 0 40px 120px -40px rgba(0,0,0,calc(var(--p) * .9));
  overflow: hidden;
  will-change: transform;
}
.hero-copy { text-align: center; max-width: 900px; transform: translateY(calc(var(--p) * -24px)); }
.hero-title {
  margin: 0;
  font: 300 clamp(40px, 6.8vw, 92px)/1.06 var(--display);
  letter-spacing: -.045em;
  text-wrap: balance;
}
.hero-sub { margin: 16px auto 0; font-size: clamp(18px, 1.8vw, 24px); color: var(--mute); max-width: 34em; }
.hero-rate { margin-top: 22px; display: inline-flex; align-items: baseline; gap: 10px; }
.rate-big { font: 300 clamp(40px, 5vw, 64px)/1 var(--display); letter-spacing: -.04em; background: linear-gradient(180deg, #c27a46, #8a5130); -webkit-background-clip: text; background-clip: text; color: transparent; }
.rate-unit { font-size: clamp(18px, 1.6vw, 22px); color: var(--ink-2); }
.hero-points { list-style: none; margin: 14px 0 0; padding: 0; display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.hero-points li { padding: 6px 14px; border-radius: 999px; background: rgba(14,13,12,.05); box-shadow: inset 0 0 0 1px var(--line); font-size: 15px; color: var(--ink-2); }
.hero-cta { margin-top: 24px; display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.hero-cta .btn-primary { min-height: 52px; padding: 0 28px; font-size: 17px; }
.hero-cta .btn-quiet { min-height: 52px; }
.hero-note { margin: 14px 0 0; font-size: 14px; color: var(--mute); }

.hero-shot {
  margin-top: clamp(28px, 5vh, 52px);
  width: min(980px, 100%);
  padding: clamp(14px, 3vw, 44px) clamp(14px, 3vw, 44px) 0;
  border-radius: var(--r-xl) var(--r-xl) 0 0;
  background:
    radial-gradient(70% 70% at 50% 110%, #a8693b 0%, #5a3820 38%, transparent 75%),
    linear-gradient(180deg, #1a1816 0%, #141210 100%);
  flex: 1 1 auto; min-height: 0;
}

/* ---------- 窗口 ---------- */
.win { border-radius: 16px; overflow: hidden; }
.win-dark { background: #121110; color: var(--cream); box-shadow: 0 0 0 1px rgba(255,255,255,.07), 0 30px 80px -30px rgba(0,0,0,.8); }
.win-bar { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-bottom: 1px solid var(--night-line); min-height: 48px; }
.dots { display: inline-flex; gap: 7px; }
.dots i { width: 11px; height: 11px; border-radius: 50%; background: #3a3734; }
.win-file { font: 13px/1 var(--mono); color: var(--cream-mute); margin-left: auto; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.seg { display: inline-flex; padding: 3px; border-radius: 999px; gap: 2px; }
.seg button { border: 0; background: transparent; min-height: 32px; padding: 0 14px; border-radius: 999px; font-size: 14px; transition: background-color .2s, color .2s; }
.seg-dark { background: rgba(255,255,255,.06); }
.seg-dark button { color: var(--cream-mute); }
.seg-dark button[aria-selected="true"] { background: rgba(255,255,255,.13); color: var(--cream); }
.seg-light { background: rgba(14,13,12,.06); }
.seg-light button { color: var(--mute); min-height: 38px; padding: 0 18px; }
.seg-light button[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(14,13,12,.12); }
.seg-sm button { min-height: 32px; padding: 0 12px; font-size: 13.5px; }

.hero-body { display: grid; grid-template-columns: 1.35fr 1fr; min-height: 300px; }
.code {
  margin: 0; padding: 20px 22px; overflow: auto;
  font: 13.5px/1.75 var(--mono); color: #d9d2ca; tab-size: 4;
  white-space: pre;
}
.code .ln { display: block; min-height: 1.75em; }
.code .ln.reveal { animation: lnIn .35s var(--ease) both; }
@keyframes lnIn { from { opacity: 0; transform: translateX(-6px); } to { opacity: 1; transform: none; } }
.code .ln.hl { position: relative; }
.code .ln.hl::before {
  content: ""; position: absolute; left: -22px; right: -22px; top: 0; bottom: 0;
  background: linear-gradient(90deg, rgba(211,155,108,.22), rgba(211,155,108,.06));
  border-left: 2px solid var(--copper-2);
  transform-origin: left; animation: sweep .6s .2s var(--ease) both;
  pointer-events: none;
}
@keyframes sweep { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.c-k { color: #e4a77b; }
.c-s { color: #a9d1a4; }
.c-p { color: #9fc0e8; }
.c-c { color: #6f6a64; }
.hero-out { border-left: 1px solid var(--night-line); padding: 20px 22px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.out-head { display: flex; align-items: center; gap: 8px; font: 13px/1 var(--mono); color: var(--cream-mute); }
.out-head .tag { background: rgba(255,255,255,.08); color: var(--cream-mute); margin-left: auto; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(79,181,122,.6); animation: pulse 1.8s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 7px rgba(79,181,122,0); } 100% { box-shadow: 0 0 0 0 rgba(79,181,122,0); } }
.out-text { margin: 0; font-size: 15px; line-height: 1.65; color: var(--cream); min-height: 5em; }
.out-text .caret { display: inline-block; width: 2px; height: 1.05em; background: var(--copper-2); vertical-align: -2px; margin-left: 2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.out-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.out-meta span { font: 12px/1 var(--mono); padding: 6px 8px; border-radius: 7px; background: rgba(255,255,255,.06); color: var(--cream-mute); opacity: 0; transform: translateY(4px); transition: opacity .4s, transform .4s var(--ease); }
.out-meta.show span { opacity: 1; transform: none; }
.out-meta.show span:nth-child(2) { transition-delay: .08s; }
.out-meta.show span:nth-child(3) { transition-delay: .16s; }

/* ---------- 三步讲解 ---------- */
.stage { background: var(--night); color: var(--cream); }
.stage-track { height: 320vh; position: relative; }
.stage-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 84px 24px 48px; gap: clamp(24px, 4vh, 44px); }
.stage-title, .section-title {
  margin: 0; text-align: center;
  font: 300 clamp(34px, 4.6vw, 64px)/1.08 var(--display); letter-spacing: -.04em;
  text-wrap: balance;
}
.dim { opacity: .42; }
.stage-grid { width: min(1120px, 100%); display: grid; grid-template-columns: 300px 1fr; gap: 28px; align-items: center; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.step {
  width: 100%; text-align: left; border: 0; background: transparent; color: var(--cream);
  padding: 16px 18px; border-radius: 16px; display: grid; gap: 4px;
  opacity: .42; transition: opacity .4s, background-color .4s;
}
.step:hover { opacity: .75; }
.step-n { font: 12px/1 var(--mono); color: var(--copper-2); }
.step-t { font-size: 19px; font-weight: 500; letter-spacing: -.01em; }
.step-d { font-size: 15px; color: var(--cream-mute); max-height: 0; overflow: hidden; transition: max-height .45s var(--ease); }
.stage-grid[data-step="0"] [data-go="0"],
.stage-grid[data-step="1"] [data-go="1"],
.stage-grid[data-step="2"] [data-go="2"] { opacity: 1; background: rgba(255,255,255,.05); }
.stage-grid[data-step="0"] [data-go="0"] .step-d,
.stage-grid[data-step="1"] [data-go="1"] .step-d,
.stage-grid[data-step="2"] [data-go="2"] .step-d { max-height: 3em; }

.stage-win { min-width: 0; }
.stage-body { position: relative; height: 380px; }
.panel { position: absolute; inset: 0; padding: 26px 28px; opacity: 0; transform: translateY(14px) scale(.985); transition: opacity .5s var(--ease), transform .5s var(--ease); pointer-events: none; display: flex; flex-direction: column; gap: 12px; }
.stage-grid[data-step="0"] [data-panel="0"],
.stage-grid[data-step="1"] [data-panel="1"],
.stage-grid[data-step="2"] [data-panel="2"] { opacity: 1; transform: none; pointer-events: auto; }
.panel-label { margin: 0 0 4px; font: 12.5px/1 var(--mono); color: var(--cream-mute); letter-spacing: .02em; }
.panel-foot { margin: auto 0 0; font-size: 13px; color: var(--cream-mute); }
.field-dark { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; background: rgba(255,255,255,.04); box-shadow: inset 0 0 0 1px var(--night-line); min-width: 0; }
.field-k { font-size: 13px; color: var(--cream-mute); width: 64px; flex: none; }
.field-v { font: 14px/1.3 var(--mono); color: var(--cream); flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chip-copy { font-size: 12.5px; padding: 5px 10px; border-radius: 999px; background: rgba(255,255,255,.08); color: var(--cream-mute); flex: none; }
.chip-done { background: rgba(79,181,122,.16); color: #8fd3aa; }
.stage-grid[data-step="0"] .chip-done { animation: copied 2.6s var(--ease) infinite; }
@keyframes copied { 0%, 30% { background: rgba(255,255,255,.08); color: var(--cream-mute); } 38%, 100% { background: rgba(79,181,122,.16); color: #8fd3aa; } }
.mini-code pre { margin: 6px 0 0; padding: 14px 16px; border-radius: 12px; background: #0b0a09; font: 13px/1.7 var(--mono); color: #d9d2ca; overflow: auto; }

.model-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.model-list li { display: flex; align-items: center; gap: 12px; padding: 13px 14px; border-radius: 12px; background: rgba(255,255,255,.03); box-shadow: inset 0 0 0 1px var(--night-line); transition: background-color .35s, box-shadow .35s; }
.model-list .radio { width: 16px; height: 16px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.3); flex: none; transition: box-shadow .3s; }
.model-list .m-name { font: 14px/1.2 var(--mono); flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.model-list .m-vendor { font-size: 12.5px; color: var(--cream-mute); }
.model-list li.on { background: rgba(211,155,108,.1); box-shadow: inset 0 0 0 1px rgba(211,155,108,.45); }
.model-list li.on .radio { box-shadow: inset 0 0 0 5px var(--copper-2); }

.bill { border-radius: 14px; background: rgba(255,255,255,.03); box-shadow: inset 0 0 0 1px var(--night-line); padding: 6px 16px; }
.bill-head { display: flex; justify-content: space-between; padding: 10px 0; font: 13px/1 var(--mono); color: var(--cream-mute); border-bottom: 1px solid var(--night-line); }
.bill-row { display: grid; grid-template-columns: 1fr auto 76px; gap: 12px; padding: 11px 0; font-size: 14.5px; border-bottom: 1px solid var(--night-line); align-items: baseline; }
.bill-row span:nth-child(2) { font: 13px/1 var(--mono); color: var(--cream-mute); }
.bill-row b, .bill-total b { font: 500 14px/1 var(--mono); text-align: right; }
.bill-total { display: flex; justify-content: space-between; padding: 14px 0 10px; font-size: 15px; }
.bill-total b { font-size: 18px; color: var(--copper-2); }
.stage-grid[data-step="2"] .bill-row { animation: rowIn .5s var(--ease) both; }
.stage-grid[data-step="2"] .bill-row:nth-of-type(3) { animation-delay: .08s; }
.stage-grid[data-step="2"] .bill-row:nth-of-type(4) { animation-delay: .16s; }
.stage-grid[data-step="2"] .bill-row:nth-of-type(5) { animation-delay: .24s; }
.stage-grid[data-step="2"] .bill-total { animation: rowIn .5s .34s var(--ease) both; }
@keyframes rowIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ---------- 三张大卡 ---------- */
.cards { background: var(--night); color: var(--cream); padding: 40px 24px 140px; display: grid; gap: 20px; grid-template-columns: repeat(3, 1fr); max-width: 1200px; margin: 0 auto; }
.cards-wrap { background: var(--night); }
.card {
  border-radius: var(--r-xl); padding: 34px 30px 0; overflow: hidden;
  background: linear-gradient(180deg, #1b1a18 0%, #141312 100%);
  box-shadow: inset 0 0 0 1px var(--night-line);
  display: flex; flex-direction: column; gap: 26px; min-height: 430px;
}
.eyebrow { margin: 0 0 12px; font-size: 14px; color: var(--copper-2); font-weight: 500; }
.card h3 { margin: 0; font: 300 clamp(28px, 2.6vw, 36px)/1.12 var(--display); letter-spacing: -.035em; }
.card-copy p:last-child { margin: 14px 0 0; color: var(--cream-mute); font-size: 16px; }
.demo { margin-top: auto; padding: 22px 20px; border-radius: 18px 18px 0 0; background: #0d0c0b; box-shadow: inset 0 0 0 1px var(--night-line); min-height: 170px; display: flex; flex-direction: column; justify-content: center; gap: 10px; }

.demo-swap { font: 13px/1.6 var(--mono); }
.swap-line { overflow-wrap: anywhere; }
.swap-old { color: #a9d1a4; display: inline-block; position: relative; }
.swap-old::after { content: ""; position: absolute; left: 0; right: 0; top: 52%; height: 1.5px; background: #e07b6a; transform-origin: left; transform: scaleX(0); }
.swap-new { opacity: 0; transform: translateY(-4px); }
.swap-ok { display: inline-flex; align-items: center; gap: 8px; color: var(--cream-mute); font-family: var(--sans); font-size: 13.5px; opacity: 0; }
.ok-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); }
.in-view .swap-old::after { animation: strike 6s var(--ease) infinite; }
.in-view .swap-new { animation: swapNew 6s var(--ease) infinite; }
.in-view .swap-ok { animation: swapOk 6s var(--ease) infinite; }
@keyframes strike { 0%, 12% { transform: scaleX(0); } 24%, 88% { transform: scaleX(1); } 96%, 100% { transform: scaleX(0); } }
@keyframes swapNew { 0%, 26% { opacity: 0; transform: translateY(-4px); } 36%, 88% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; } }
@keyframes swapOk { 0%, 44% { opacity: 0; } 54%, 88% { opacity: 1; } 96%, 100% { opacity: 0; } }

.cache-bar { display: flex; height: 44px; border-radius: 12px; overflow: hidden; background: rgba(255,255,255,.04); }
.cache-bar i { display: block; height: 100%; transform-origin: left; }
.seg-hit { width: 62%; background: linear-gradient(90deg, #8a5a36, var(--copper-2)); }
.seg-in { width: 22%; background: #4a4642; }
.seg-out { width: 16%; background: #807a73; }
.in-view .cache-bar i { animation: grow 5s var(--ease) infinite; }
.in-view .cache-bar .seg-in { animation-delay: .15s; }
.in-view .cache-bar .seg-out { animation-delay: .3s; }
@keyframes grow { 0% { transform: scaleX(0); } 20%, 85% { transform: scaleX(1); } 100% { transform: scaleX(1); opacity: .9; } }
.cache-legend { display: flex; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--cream-mute); }
.cache-legend span { display: inline-flex; align-items: center; gap: 6px; }
.lg { width: 9px; height: 9px; border-radius: 3px; display: inline-block; }
.lg-hit { background: var(--copper-2); } .lg-in { background: #4a4642; } .lg-out { background: #807a73; }

.key-row { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px; background: rgba(255,255,255,.03); }
.key-row code { font: 13px/1 var(--mono); color: var(--cream); flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.lock { width: 12px; height: 10px; border-radius: 2px; background: var(--cream-mute); position: relative; margin-top: 4px; flex: none; }
.lock::before { content: ""; position: absolute; left: 2px; right: 2px; top: -6px; height: 8px; border: 1.6px solid var(--cream-mute); border-bottom: 0; border-radius: 5px 5px 0 0; }
.sw { width: 34px; height: 20px; border-radius: 999px; background: #3a3734; position: relative; flex: none; transition: background-color .3s; }
.sw::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .3s var(--ease); }
.sw-on { background: var(--ok); }
.sw-on::after { transform: translateX(14px); }
.sw-anim { background: var(--ok); }
.sw-anim::after { transform: translateX(14px); }
.in-view .sw-anim { animation: swBg 4s infinite; }
.in-view .sw-anim::after { animation: swKnob 4s var(--ease) infinite; }
@keyframes swBg { 0%, 40% { background: var(--ok); } 50%, 90% { background: #3a3734; } 100% { background: var(--ok); } }
@keyframes swKnob { 0%, 40% { transform: translateX(14px); } 50%, 90% { transform: translateX(0); } 100% { transform: translateX(14px); } }

/* ---------- 浅色区块 ---------- */
.status, .pricing, .details, .faq, .final, .foot { background: var(--paper); color: var(--ink); }
.status { border-radius: 40px 40px 0 0; padding: 120px 24px 40px; }
.pricing { padding: 80px 24px 80px; position: relative; }
.status-card { margin: 48px auto 0; max-width: 900px; background: var(--paper-3); border-radius: var(--r-lg); box-shadow: 0 0 0 1px var(--line); padding: 26px 28px; }
.status-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.status-all { display: inline-flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 500; }
.sdot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; flex: none; }
.sdot.ok { background: var(--ok); box-shadow: 0 0 0 4px rgba(79,181,122,.15); }
.sdot.warn { background: #e0a43a; box-shadow: 0 0 0 4px rgba(224,164,58,.18); }
.sdot.down { background: #d9534f; box-shadow: 0 0 0 4px rgba(217,83,79,.15); }
.status-list { list-style: none; margin: 0; padding: 0; }
.status-list li { padding: 16px 0; border-bottom: 1px solid var(--line); display: grid; gap: 10px; }
.st-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.st-s { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-2); }
.st-bars { display: grid; grid-template-columns: repeat(30, 1fr); gap: 3px; }
.st-bars i { height: 26px; border-radius: 3px; background: #9fd4b3; }
.st-bars i.warn { background: #ecc277; }
.st-bars i.down { background: #e58b88; }
.status-legend { display: flex; justify-content: space-between; gap: 10px; padding-top: 12px; font-size: 13px; color: var(--mute); flex-wrap: wrap; }
.sbar-k { display: inline-block; width: 9px; height: 9px; border-radius: 2px; margin: 0 4px 0 10px; background: #9fd4b3; }
.sbar-k.warn { background: #ecc277; } .sbar-k.down { background: #e58b88; }
.price-hero { margin: 0; display: flex; justify-content: center; align-items: baseline; gap: .18em; flex-wrap: wrap; font: 300 clamp(72px, 13vw, 180px)/1 var(--display); letter-spacing: -.05em; }
.price-hero .eq { color: var(--copper); }
.price-hero small { font-size: .22em; letter-spacing: 0; color: var(--ink-2); margin-left: .2em; }
.wrap { max-width: 1120px; margin: 0 auto; }
.wrap-narrow { max-width: 760px; }
.section-sub { max-width: 36em; margin: 20px auto 0; text-align: center; color: var(--mute); font-size: 18px; }
.price-grid { margin-top: 56px; display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 16px; }
.price-main, .promo { background: var(--paper-3); border-radius: var(--r-lg); box-shadow: 0 0 0 1px var(--line); padding: 30px; }
.flow { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.flow-cell { display: grid; gap: 4px; }
.flow-k { font-size: 14px; color: var(--mute); }
.flow-v { font: 300 clamp(44px, 5vw, 64px)/1 var(--display); letter-spacing: -.04em; }
.flow-arrow { width: 56px; height: 2px; background: var(--ink); position: relative; flex: none; margin-top: 18px; }
.flow-arrow::after { content: ""; position: absolute; right: -1px; top: -4px; width: 10px; height: 10px; border-top: 2px solid var(--ink); border-right: 2px solid var(--ink); transform: rotate(45deg); }
.ticks { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: center; }
.ticks li::before { content: ""; width: 16px; height: 9px; border-left: 2px solid var(--copper); border-bottom: 2px solid var(--copper); transform: rotate(-45deg) translateY(-3px); flex: none; }
.promo { display: flex; flex-direction: column; gap: 6px; justify-content: flex-end; min-height: 220px; background: linear-gradient(180deg, var(--paper-3) 0%, #f4ece3 100%); }
.promo-k { font-size: 14px; color: var(--copper); font-weight: 500; margin-bottom: auto; }
.promo-v { font: 300 64px/1 var(--display); letter-spacing: -.04em; }
.promo-d { color: var(--mute); }
.fine { margin: 20px 0 0; text-align: center; font-size: 13.5px; color: var(--mute); }

.details { padding: 80px 24px 100px; }
.detail-grid { margin-top: 56px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: 0 0 0 1px var(--line); }
.detail { background: var(--paper-3); padding: 30px 28px; }
.detail svg { width: 26px; height: 26px; fill: none; stroke: var(--ink); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.detail h3 { margin: 18px 0 6px; font-size: 19px; font-weight: 500; letter-spacing: -.01em; }
.detail p { margin: 0; color: var(--mute); }

.faq { padding: 40px 24px 100px; }
.faq .section-title { margin-bottom: 36px; }
details { border-bottom: 1px solid var(--line); }
summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; font-size: 19px; font-weight: 500; letter-spacing: -.01em; position: relative; min-height: 44px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 12px; height: 12px; margin-top: -6px; background: linear-gradient(var(--ink), var(--ink)) center/12px 1.6px no-repeat, linear-gradient(var(--ink), var(--ink)) center/1.6px 12px no-repeat; transition: transform .3s var(--ease); }
details[open] summary::after { transform: rotate(45deg); }
details p { margin: 0 0 22px; color: var(--ink-2); max-width: 40em; }

.final { padding: 20px 24px 60px; }
.final-card {
  max-width: 1120px; margin: 0 auto; text-align: center;
  padding: clamp(64px, 10vw, 120px) 24px;
  border-radius: 40px;
  background: radial-gradient(70% 90% at 50% 120%, #a8693b 0%, #5a3820 40%, #171513 80%);
  color: var(--cream);
}
.final-card h2 { margin: 0; font: 300 clamp(36px, 5vw, 68px)/1.06 var(--display); letter-spacing: -.045em; }
.final-card p { margin: 16px 0 30px; color: var(--cream-mute); font-size: 18px; }
.final-card .btn-primary { background: var(--cream); color: var(--ink); }
.final-card .btn-primary:hover { background: #fff; }

.foot { padding: 30px 24px 80px; }
.foot-row { max-width: 1120px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 24px; }
.brand-foot { margin: 0; }
.foot-links { display: flex; gap: 4px 18px; flex-wrap: wrap; align-items: center; }
.foot-links a { text-decoration: none; color: var(--mute); font-size: 15px; min-height: 44px; display: inline-flex; align-items: center; }
.foot-links a:hover { color: var(--ink); }
.foot-links .linkish { text-decoration: none; font-size: 15px; padding: 0; }
.foot-fine { max-width: 1120px; margin: 8px auto 0; font-size: 13px; color: var(--mute); }

/* ---------- 控制台 ---------- */
.con { max-width: 1120px; margin: 0 auto; padding: 96px 24px 100px; }
.con-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 28px; }
.con-hello { margin: 0; color: var(--mute); }
.con-title { margin: 4px 0 0; font: 300 clamp(34px, 4vw, 48px)/1.1 var(--display); letter-spacing: -.04em; display: flex; align-items: center; gap: 12px; }
.con-grid { display: grid; grid-template-columns: 1fr 1.55fr; gap: 16px; align-items: start; }
.tile { background: #fff; border-radius: var(--r-lg); box-shadow: 0 0 0 1px var(--line), 0 12px 32px -24px rgba(14,13,12,.3); padding: 28px; min-width: 0; }
.tile-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.tile-head .tile-k { margin: 0; }
.tile-k { margin: 0; font-size: 15px; color: var(--mute); }
.tile-balance { background: radial-gradient(90% 80% at 100% 0%, #f6eadf 0%, #fff 60%); }
.bal { margin: 10px 0 0; font: 300 clamp(52px, 6vw, 72px)/1 var(--display); letter-spacing: -.045em; font-variant-numeric: tabular-nums; }
.bal-split { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 14px; color: var(--mute); font-size: 15px; }
.bal-split b { color: var(--ink); font-weight: 500; font-variant-numeric: tabular-nums; }
.tile-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 28px; }
.tile-api { grid-row: span 3; }
.today-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.today-grid div { display: grid; gap: 4px; }
.today-grid span { font-size: 13px; color: var(--mute); }
.today-grid b { font: 300 26px/1.1 var(--display); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.today-grid div:first-child b { color: var(--copper); }
.mstat { list-style: none; margin: 0; padding: 0; }
.mstat li { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-top: 1px solid var(--line); }
.mstat li:first-child { border-top: 0; }
.mstat .u-model { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.mstat-s { font-size: 13.5px; color: var(--mute); }
.tile-invite { max-width: 760px; }
.invite-hero { display: flex; justify-content: space-between; gap: 20px; align-items: flex-end; flex-wrap: wrap; }
.invite-title { margin: 8px 0 0; font: 300 clamp(30px, 4vw, 44px)/1.15 var(--display); letter-spacing: -.04em; }
.invite-sub { margin: 10px 0 0; color: var(--mute); }
.invite-num { display: grid; text-align: right; }
.invite-num span, .invite-num small { font-size: 13px; color: var(--mute); }
.invite-num b { font: 300 44px/1.1 var(--display); color: var(--copper); }
.row-field { display: flex; align-items: center; gap: 10px; padding: 8px 6px 8px 14px; border-radius: 12px; background: var(--paper-3); box-shadow: inset 0 0 0 1px var(--line); margin-bottom: 8px; min-width: 0; }
.rf-k { font-size: 14px; color: var(--mute); width: 64px; flex: none; }
.rf-v { font: 14px/1.4 var(--mono); flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.snip { margin-top: 18px; border-radius: 16px; background: var(--paper-3); box-shadow: inset 0 0 0 1px var(--line); padding: 10px; display: grid; gap: 4px; }
.snip > .btn { justify-self: start; margin: 0 0 4px 8px; }
.snip-bar { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; }
.sel select { min-height: 36px; border-radius: 999px; border: 0; background: rgba(14,13,12,.06); padding: 0 32px 0 14px; font: 13.5px var(--mono); appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--mute) 50%), linear-gradient(135deg, var(--mute) 50%, transparent 50%); background-position: calc(100% - 17px) 15px, calc(100% - 12px) 15px; background-size: 5px 5px; background-repeat: no-repeat; max-width: 100%; }
.code-light { color: var(--ink-2); padding: 14px 10px; font-size: 13px; white-space: pre-wrap; overflow-wrap: anywhere; }
.code-light .c-k { color: #a2501f; } .code-light .c-s { color: #2f7a3d; } .code-light .c-p { color: #1f5fa8; } .code-light .c-c { color: #8c867f; }

.usage-list { list-style: none; margin: 0; padding: 0; }
.usage-list li { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 15px; }
.usage-list li:first-child { border-top: 0; }
.u-model { font: 13.5px/1.4 var(--mono); }
.u-cost { font: 500 14px/1.4 var(--mono); text-align: right; }
.u-sub { grid-column: 1 / -1; font-size: 13px; color: var(--mute); }
.usage-sum { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 18px; }
.usage-sum div { background: var(--paper-3); border-radius: 14px; padding: 16px; box-shadow: inset 0 0 0 1px var(--line); }
.usage-sum span { display: block; font-size: 13px; color: var(--mute); }
.usage-sum b { font: 300 28px/1.2 var(--display); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }

.chat-shell { background: #fff; border-radius: var(--r-lg); box-shadow: 0 0 0 1px var(--line); display: flex; flex-direction: column; min-height: 520px; overflow: hidden; }
.chat-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 16px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.plan { font-size: 14px; color: var(--mute); }
.chat-log { flex: 1; padding: 22px; display: flex; flex-direction: column; gap: 12px; overflow-y: auto; max-height: 60vh; }
.msg { max-width: 78%; }
.msg p { margin: 0; padding: 11px 16px; border-radius: 18px; line-height: 1.55; }
.msg-ai { align-self: flex-start; }
.msg-ai p { background: var(--paper-3); box-shadow: inset 0 0 0 1px var(--line); border-bottom-left-radius: 6px; }
.msg-me { align-self: flex-end; }
.msg-me p { background: var(--ink); color: #fff; border-bottom-right-radius: 6px; }
.msg small { display: block; margin: 6px 4px 0; font-size: 12px; color: var(--mute); }
.chat-input { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); }
.chat-input input { flex: 1; min-width: 0; min-height: 46px; border-radius: 999px; border: 0; background: var(--paper-3); box-shadow: inset 0 0 0 1px var(--line); padding: 0 18px; font-size: 16px; }
.chat-input input:focus { outline: none; box-shadow: inset 0 0 0 2px var(--focus); }

/* ---------- 弹层 ---------- */
.modal, .drawer { border: 0; padding: 0; color: var(--ink); background: transparent; max-width: calc(100vw - 24px); }
.modal::backdrop, .drawer::backdrop { background: rgba(14,13,12,.32); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.modal-body, .drawer-body { position: relative; background: var(--paper-3); border-radius: 26px; padding: 36px 30px 28px; width: 400px; max-width: 100%; box-shadow: 0 30px 80px -20px rgba(14,13,12,.45); }
.modal[open] .modal-body { animation: pop .35s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }
.modal h2, .drawer h2 { margin: 0; font: 400 26px/1.2 var(--display); letter-spacing: -.03em; text-align: center; }
.drawer h2 { text-align: left; margin-bottom: 18px; }
.modal-sub { text-align: center; color: var(--mute); margin: 8px 0 22px; }
.seg-auth { display: flex; margin: 18px 0 20px; }
.seg-auth button { flex: 1; }
.auth-link { display: block; margin: 6px auto 0; font-size: 14px; }
.gift { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 14px; margin-bottom: 14px; background: linear-gradient(90deg, #f6e8db, #fbf4ec); color: var(--ink-2); font-size: 14.5px; }
.gift-v { font: 300 30px/1 var(--display); color: var(--copper); letter-spacing: -.03em; }
.input-row label { font-size: 14px; color: var(--mute); }
.code-row { display: flex; gap: 8px; align-items: center; }
.code-row input { flex: 1; min-width: 0; min-height: 48px; border-radius: 14px; border: 0; background: #fff; box-shadow: inset 0 0 0 1px var(--line); padding: 0 16px; font-size: 16px; color: var(--ink); }
.code-row input:focus { outline: none; box-shadow: inset 0 0 0 2px var(--focus); }
.code-row .btn { min-height: 48px; border-radius: 14px; }
.modal-x { position: absolute; top: 10px; right: 10px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(14,13,12,.05); font-size: 22px; line-height: 1; color: var(--mute); }
.modal-x:hover { background: rgba(14,13,12,.1); color: var(--ink); }
.input { display: grid; gap: 6px; margin-bottom: 14px; font-size: 14px; color: var(--mute); }
.input input { min-height: 48px; border-radius: 14px; border: 0; background: #fff; box-shadow: inset 0 0 0 1px var(--line); padding: 0 16px; font-size: 16px; color: var(--ink); }
.input input:focus { outline: none; box-shadow: inset 0 0 0 2px var(--focus); }
.modal-fine { margin: 14px 0 0; text-align: center; font-size: 13px; color: var(--mute); }
.rules { margin: 18px 0 6px; padding: 0 0 0 18px; color: var(--ink-2); font-size: 15px; display: grid; gap: 6px; }
.invite-link { display: flex; align-items: center; gap: 8px; margin-top: 18px; padding: 6px 6px 6px 14px; border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.invite-link code { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; font: 14px var(--mono); }
.invite-stat { display: flex; gap: 20px; margin-top: 14px; color: var(--mute); font-size: 14px; }
.invite-stat b { color: var(--ink); font-weight: 500; }
.invite-lock { margin-top: 18px; padding: 18px; border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); text-align: center; color: var(--ink-2); }
.invite-lock .btn { margin-top: 12px; }

.drawer { margin: 0 0 0 auto; height: 100vh; max-height: 100vh; }
.drawer-body { height: 100%; border-radius: 26px 0 0 26px; width: 380px; display: flex; flex-direction: column; gap: 10px; }
.drawer[open] .drawer-body { animation: slideIn .4s var(--ease); }
@keyframes slideIn { from { transform: translateX(40px); opacity: 0; } to { transform: none; opacity: 1; } }
.acct-row { display: flex; justify-content: space-between; gap: 10px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.acct-row span { color: var(--mute); }
.acct-row b { font-weight: 500; text-align: right; overflow-wrap: anywhere; }
.drawer .btn-soft { margin-top: 14px; }

.toast {
  position: fixed; left: 50%; top: 76px; z-index: 80; transform: translate(-50%, -12px);
  padding: 11px 18px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 14.5px;
  opacity: 0; pointer-events: none; transition: opacity .25s, transform .3s var(--ease);
  max-width: calc(100vw - 32px); text-align: center;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .cards { grid-template-columns: 1fr 1fr; }
  .card-c { grid-column: 1 / -1; min-height: 0; }
  .price-grid { grid-template-columns: 1fr 1fr; }
  .price-main { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .hero-body { grid-template-columns: 1fr; }
  .hero-out { border-left: 0; border-top: 1px solid var(--night-line); }
  .stage-track { height: auto; }
  .stage-sticky { position: static; height: auto; padding: 96px 20px 40px; }
  .stage-grid { grid-template-columns: 1fr; }
  .steps { display: none; }
  .stage-body { height: auto; display: grid; }
  .panel { position: static; opacity: 1; transform: none; pointer-events: auto; padding: 22px 18px; border-top: 1px solid var(--night-line); }
  .panel:first-child { border-top: 0; }
  .panel-foot { margin-top: 4px; }
  .stage-grid .chip-done { animation: none !important; }
  .con-grid { grid-template-columns: 1fr; }
  .tile-api { grid-row: auto; }
}

@media (max-width: 720px) {
  .preview-flag { left: 50%; transform: translateX(-50%); bottom: 10px; font-size: 12px; }
  .nav { top: 10px; }
  .nav-links { display: none; }
  .nav-pill { padding-left: 12px; }
  .hero-stage { height: 150vh; }
  .hero-card { padding-top: 92px; }
  .hero-title { font-size: clamp(32px, 9.4vw, 46px); }
  .hero-sub { font-size: 16px; }
  .hero-cta { flex-direction: column; align-items: stretch; width: min(320px, 100%); margin-left: auto; margin-right: auto; }
  .hero-shot { padding: 12px 12px 0; border-radius: 22px 22px 0 0; margin-top: 26px; }
  .code { font-size: 12px; padding: 14px 14px; }
  .code .ln.hl::before { left: -14px; right: -14px; }
  .hero-out { padding: 14px; }
  .out-text { font-size: 14px; min-height: 3.2em; }
  .win-file { display: none; }
  .cards { grid-template-columns: 1fr; padding: 20px 16px 100px; }
  .card-c { grid-column: auto; }
  .card { min-height: 0; padding: 28px 22px 0; }
  .price-grid { grid-template-columns: 1fr; margin-top: 36px; }
  .promo { min-height: 0; }
  .detail-grid { grid-template-columns: 1fr 1fr; margin-top: 36px; }
  .detail { padding: 22px 18px; }
  .details { padding: 60px 16px 80px; }
  .faq { padding: 20px 16px 80px; }
  summary { font-size: 17px; }
  .final { padding: 0 16px 40px; }
  .final-card { border-radius: 28px; }
  .foot { padding: 20px 16px 80px; }
  .section-sub { font-size: 16px; }
  .con { padding: 84px 16px 90px; }
  .tile { padding: 22px 18px; }
  .con-top { align-items: stretch; flex-direction: column; }
  .con-top .seg { align-self: stretch; }
  .con-top .seg button { flex: 1; }
  .usage-sum { grid-template-columns: 1fr; }
  .today-grid b { font-size: 21px; }
  .invite-num { text-align: left; }
  .status { padding: 88px 16px 30px; border-radius: 28px 28px 0 0; }
  .status-card { padding: 20px 16px; }
  .st-bars { gap: 2px; }
  .st-bars i { height: 22px; }
  .pricing { padding: 60px 16px; }
  .con-top .seg button { padding: 0 6px; font-size: 14.5px; }
  .usage-sum div { display: flex; justify-content: space-between; align-items: baseline; }
  .msg { max-width: 90%; }
  .drawer-body { width: min(360px, 100vw); }
  .bill-row { grid-template-columns: 1fr auto 64px; gap: 8px; font-size: 14px; }
}

@media (max-width: 420px) {
  .detail-grid { grid-template-columns: 1fr; }
  .rf-k { width: 54px; font-size: 13px; }
  .field-k { width: 54px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  html { scroll-behavior: auto; }
  .hero-card, .hero-copy { transform: none !important; border-radius: 0 !important; box-shadow: none !important; }
  .hero-stage { height: auto; }
  .hero-sticky { position: static; height: auto; min-height: 100vh; }
  .hero-card { position: static; min-height: 100vh; padding-bottom: 0; }
}

/* 对话里的"正在输入" */
.bub-typing { display: inline-flex; gap: 4px; padding: 15px 16px !important; }
.bub-typing i { width: 6px; height: 6px; border-radius: 50%; background: #b9b2aa; animation: dot 1s infinite; }
.bub-typing i:nth-child(2) { animation-delay: .15s; }
.bub-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-3px); opacity: 1; } }

/* ---------- 价格对比 ---------- */
.compare { background: var(--night); color: var(--cream); padding: 60px 24px 80px; }
.cmp-sub { color: var(--cream-mute); }
.cmp-card { margin: 44px auto 0; max-width: 980px; border-radius: var(--r-xl); padding: 28px 30px 22px; background: linear-gradient(180deg, #1b1a18 0%, #141312 100%); box-shadow: inset 0 0 0 1px var(--night-line); }
.cmp-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.cmp-unit { font-size: 13.5px; color: var(--cream-mute); }
.bars { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.bar-group { padding: 10px 0 4px; font-size: 12.5px; color: var(--cream-mute); letter-spacing: .02em; border-top: 1px solid var(--night-line); }
.bar-group:first-child { border-top: 0; padding-top: 0; }
.bar { display: grid; grid-template-columns: 210px 1fr 92px; gap: 14px; align-items: center; }
.bar-name { font-size: 15px; line-height: 1.3; }
.bar-name small { display: block; font: 12px/1.3 var(--mono); color: var(--cream-mute); }
.bar-track { display: block; height: 30px; border-radius: 8px; background: rgba(255,255,255,.04); overflow: hidden; }
.bar-fill { display: block; height: 100%; border-radius: 8px; background: #4a4642; width: 0; transition: width 1s var(--ease); }
.bar.official .bar-fill { background: #807a73; }
.bar.ours .bar-fill { background: linear-gradient(90deg, #8a5a36, var(--copper-2)); }
.bar.ours .bar-name { color: var(--copper-2); font-weight: 500; }
.bar-v { font: 500 15px/1 var(--mono); text-align: right; font-variant-numeric: tabular-nums; }
.bar.ours .bar-v { color: var(--copper-2); }
.cmp-src { margin: 18px 0 0; font-size: 12.5px; line-height: 1.6; color: var(--cream-mute); }
@media (max-width: 720px) {
  .compare { padding: 40px 16px 60px; }
  .cmp-card { padding: 20px 16px; border-radius: 22px; }
  .bar { grid-template-columns: 1fr 76px; gap: 6px 10px; }
  .bar-name { grid-column: 1 / -1; }
  .bar-track { height: 22px; }
}

/* ---------- 一键导入 ---------- */
.importer { background: var(--night); color: var(--cream); padding: 40px 24px 140px; }
.imp-grid { margin: 44px auto 0; max-width: 1040px; display: grid; grid-template-columns: 280px 1fr; gap: 22px; align-items: stretch; }
.imp-tools { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; align-content: start; }
.imp-tool { width: 100%; display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 0; border-radius: 14px; background: transparent; color: var(--cream); text-align: left; opacity: .55; transition: opacity .3s, background-color .3s; min-height: 56px; }
.imp-tool:hover { opacity: .85; }
.imp-tool[aria-selected="true"] { opacity: 1; background: rgba(255,255,255,.06); }
.imp-ico { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; font: 600 13px/1 var(--mono); background: #2a2826; color: var(--cream); flex: none; }
.imp-tool[aria-selected="true"] .imp-ico { background: linear-gradient(145deg, #8a5a36, var(--copper-2)); color: #1a1714; }
.imp-name { display: grid; font-size: 16px; }
.imp-name small { font-size: 12.5px; color: var(--cream-mute); }
.imp-win { min-height: 360px; display: flex; flex-direction: column; }
.imp-body { padding: 26px 28px; display: flex; flex-direction: column; gap: 16px; flex: 1; }
.imp-key { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; background: rgba(255,255,255,.04); box-shadow: inset 0 0 0 1px var(--night-line); flex-wrap: wrap; }
.imp-key code { font: 14px var(--mono); flex: 1; min-width: 0; }
.imp-model { font: 12.5px var(--mono); color: var(--cream-mute); }
.imp-btn { align-self: flex-start; background: var(--cream); color: var(--ink); min-height: 48px; padding: 0 24px; }
.imp-btn.pressed { transform: scale(.96); background: #fff; }
.imp-btn:disabled { opacity: .6; cursor: default; }
.imp-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.imp-steps li { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--cream-mute); opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s var(--ease), color .3s; }
.imp-steps li.show { opacity: 1; transform: none; }
.imp-steps li.ok { color: var(--cream); }
.imp-steps li code { font: 13px var(--mono); color: #a9d1a4; }
.imp-steps .chk { width: 18px; height: 18px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.25); flex: none; position: relative; }
.imp-steps li.ok .chk { background: var(--ok); box-shadow: none; }
.imp-steps li.ok .chk::after { content: ""; position: absolute; left: 6px; top: 3px; width: 4px; height: 8px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.imp-steps li.run .chk { box-shadow: inset 0 0 0 2px var(--copper-2); animation: spin 1s linear infinite; border-top: 2px solid transparent; }
@keyframes spin { to { transform: rotate(360deg); } }
.imp-done { margin: auto 0 0; padding: 12px 14px; border-radius: 12px; background: rgba(79,181,122,.12); color: #9fdcb7; font-size: 15px; opacity: 0; transition: opacity .4s; }
.imp-done.show { opacity: 1; }
@media (max-width: 900px) {
  .imp-grid { grid-template-columns: 1fr; }
  .imp-tools { grid-auto-flow: column; grid-auto-columns: minmax(150px, 1fr); overflow-x: auto; padding-bottom: 4px; }
}
@media (max-width: 720px) {
  .importer { padding: 30px 16px 100px; }
  .imp-body { padding: 18px 16px; }
}

/* ---------- 密钥 ---------- */
.tile-keys { grid-column: 1 / -1; }
.tile-keys > .btn { margin-top: 12px; }
.keys-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; flex-wrap: wrap; margin-bottom: 14px; }
.keys-ep { margin: 6px 0 0; font-size: 14px; color: var(--mute); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.keys-ep code { font: 13.5px var(--mono); color: var(--ink); overflow-wrap: anywhere; }
.keys-ep .linkish { min-height: 32px; padding: 0 2px; }
.keylist { list-style: none; margin: 0; padding: 0; }
.key { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line); flex-wrap: wrap; }
.key:first-child { border-top: 0; }
.key.off .key-main { opacity: .5; }
.key-main { display: grid; gap: 4px; min-width: 0; flex: 1 1 260px; }
.key-name { display: flex; align-items: center; gap: 8px; font-weight: 500; flex-wrap: wrap; }
.key-val { font: 13.5px var(--mono); color: var(--ink-2); }
.key-sub { font-size: 13px; color: var(--mute); }
.key-act { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.key-empty { padding: 20px 0; color: var(--mute); }
.fine-left { margin: 16px 0 0; font-size: 13.5px; color: var(--mute); }
.keylist-mini .key { padding: 10px 0; }

/* 弹层：创建 / 使用 */
.modal-wide { width: 540px; }
.modal-xl { width: 760px; }
.modal h2.left { text-align: left; display: flex; align-items: center; gap: 10px; padding-right: 44px; }
.select-full, .input textarea { min-height: 48px; border-radius: 14px; border: 0; background: #fff; box-shadow: inset 0 0 0 1px var(--line); padding: 10px 16px; font-size: 16px; color: var(--ink); width: 100%; }
.input textarea { resize: vertical; font-family: var(--mono); font-size: 14px; }
.more { border: 0; margin: 0 0 16px; }
.more summary { font-size: 15px; padding: 10px 0; color: var(--ink-2); font-weight: 400; }
.more summary::after { width: 10px; height: 10px; margin-top: -5px; }
.done-badge { width: 52px; height: 52px; border-radius: 50%; margin: 0 auto 12px; background: var(--ok); position: relative; }
.done-badge::after { content: ""; position: absolute; left: 19px; top: 13px; width: 11px; height: 20px; border: solid #fff; border-width: 0 3px 3px 0; transform: rotate(45deg); }
#createdPane h2 { text-align: center; }
.created-actions { display: flex; gap: 8px; margin: 12px 0 18px; flex-wrap: wrap; }
.created-k { margin-bottom: 10px; }
.tool-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.tool-btn { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 0; border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); font-size: 14.5px; text-align: left; min-height: 52px; transition: box-shadow .2s, transform .2s var(--ease); }
.tool-btn:hover { box-shadow: inset 0 0 0 1.5px var(--copper); }
.tool-btn:active { transform: scale(.97); }
.tool-btn .imp-ico, .use-tools .imp-ico { width: 28px; height: 28px; font-size: 11.5px; background: var(--ink); color: var(--cream); border-radius: 8px; }
.use-tools { display: flex; gap: 6px; flex-wrap: wrap; margin: 18px 0 10px; }
.use-tools button { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 12px 0 6px; border: 0; border-radius: 12px; background: rgba(14,13,12,.05); font-size: 14px; color: var(--ink-2); }
.use-tools button[aria-selected="true"] { background: var(--ink); color: #fff; }
.use-tools button[aria-selected="true"] .imp-ico { background: linear-gradient(145deg, #8a5a36, var(--copper-2)); color: #1a1714; }
.use-os { display: inline-flex; gap: 2px; padding: 3px; border-radius: 999px; background: rgba(14,13,12,.06); margin-bottom: 10px; }
.use-os button { border: 0; background: transparent; min-height: 32px; padding: 0 12px; border-radius: 999px; font-size: 13px; color: var(--mute); }
.use-os button[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(14,13,12,.12); }
.file { margin-bottom: 10px; border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.file-bar { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 6px 6px 6px 14px; border-bottom: 1px solid var(--line); font: 12.5px var(--mono); color: var(--mute); }
.file pre { margin: 0; max-height: 220px; }
.imp-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px; border-radius: 16px; background: linear-gradient(90deg, #f6e8db, #fbf4ec); flex-wrap: wrap; margin-top: 6px; }
.imp-row p { margin: 4px 0 0; font-size: 14px; color: var(--ink-2); }

/* 充值 */
.con-pane[data-pane="topup"] { display: grid; gap: 16px; }
.con-pane[data-pane="topup"][hidden] { display: none; }
.topup-rule { margin: 0 0 18px; color: var(--ink-2); }
.topup-rule b { font-weight: 500; color: var(--copper); }
.tiers { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.tier { display: grid; gap: 2px; justify-items: start; padding: 16px; border: 0; border-radius: 16px; background: var(--paper-3); box-shadow: inset 0 0 0 1px var(--line); text-align: left; position: relative; transition: box-shadow .2s, background-color .2s; min-height: 92px; }
.tier:hover { box-shadow: inset 0 0 0 1.5px rgba(176,106,59,.5); }
.tier[aria-checked="true"] { background: #fff; box-shadow: inset 0 0 0 2px var(--copper); }
.tier-p { font: 300 28px/1.1 var(--display); letter-spacing: -.03em; }
.tier-g { font-size: 14px; color: var(--ink-2); }
.tier-b { position: absolute; top: 10px; right: 10px; font-size: 12px; padding: 2px 8px; border-radius: 999px; background: rgba(176,106,59,.12); color: var(--copper); }
.custom-amt { margin-top: 16px; display: grid; gap: 6px; max-width: 320px; }
.custom-amt label { font-size: 14px; color: var(--mute); }
.amt-box { display: flex; align-items: center; gap: 6px; padding: 0 16px; border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); min-height: 50px; }
.amt-box:focus-within { box-shadow: inset 0 0 0 2px var(--focus); }
.amt-box span { color: var(--mute); font-size: 18px; }
.amt-box input { border: 0; outline: 0; background: transparent; font-size: 18px; width: 100%; min-width: 0; }
.amt-err { margin: 0; min-height: 1.2em; font-size: 13px; color: #c0473f; }
.pay-row { margin-top: 12px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 18px; border-top: 1px solid var(--line); }
.pay-row .seg [aria-checked="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(14,13,12,.12); }
.pay-sum { flex: 1; min-width: 200px; color: var(--ink-2); }
.pay-sum b { font-weight: 500; color: var(--ink); }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.tile-custom { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; background: linear-gradient(110deg, #fff 40%, #f6ece2); }
.custom-title { margin: 8px 0 0; font: 400 24px/1.3 var(--display); letter-spacing: -.02em; }
.tile-invite { max-width: none; }

@media (max-width: 900px) {
  .tiers { grid-template-columns: repeat(3, 1fr); }
  .tool-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .modal-body, .drawer-body { padding: 30px 18px 22px; }
  .tiers { grid-template-columns: repeat(2, 1fr); }
  .tier { min-height: 80px; padding: 14px; }
  .tier-p { font-size: 24px; }
  .pay-row .btn-lg { width: 100%; }
  .con-top .seg { overflow-x: auto; }
  .con-top .seg button { padding: 0 4px; font-size: 14px; flex: 1 0 auto; }
  .use-tools button { font-size: 13px; }
  .hero-rate { margin-top: 16px; }
}
.lang-btn { min-height: 38px; min-width: 44px; padding: 0 10px; border: 0; border-radius: 999px; background: transparent; color: inherit; font-size: 14px; font-weight: 500; opacity: .8; }
.lang-btn:hover { opacity: 1; background: rgba(127,127,127,.14); }
.pro-switch { display: inline-flex; align-items: center; min-height: 36px; margin-top: 6px; font-size: 14px; color: var(--copper); text-decoration: none; }
.pro-switch:hover { text-decoration: underline; text-underline-offset: 3px; }

.tile-today { display: flex; flex-direction: column; }
.tile-today .today-grid { margin: auto 0; }
.con-grid > .tile-balance, .con-grid > .tile-today { align-self: stretch; }
@media (max-width: 720px) {
  .tier-b { position: static; margin-top: 4px; }
  .use-tools { flex-wrap: nowrap; overflow-x: auto; margin-right: -18px; padding-right: 18px; }
  .use-tools button { flex: none; }
  .use-os { display: flex; overflow-x: auto; max-width: 100%; }
  .use-os button { flex: none; white-space: nowrap; }
}

/* 右下角：语言与版本切换 */
.corner { position: fixed; right: 16px; bottom: 16px; z-index: 45; display: flex; gap: 4px; padding: 4px; border-radius: 999px; background: rgba(20,19,18,.82); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 8px 24px -10px rgba(0,0,0,.5); }
.corner-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 36px; min-width: 44px; padding: 0 12px; border: 0; border-radius: 999px; background: transparent; color: rgba(255,255,255,.88); font-size: 13.5px; font-weight: 500; text-decoration: none; }
.corner-btn:hover { background: rgba(255,255,255,.12); color: #fff; }
.corner-pro { display: none; }
.is-console .corner-pro { display: inline-flex; }
@media (max-width: 720px) {
  .corner { right: 10px; bottom: 50px; }
}
.con-pane[data-pane="keys"] { display: grid; gap: 16px; }
.con-pane[data-pane="keys"][hidden] { display: none; }

/* ---------- 共用弹窗：支付 / 客服 / 纯血测试 ---------- */
.wg-body { width: 440px; text-align: center; }
.wg h2 { margin: 0; }
.wg-pay { display: flex; align-items: center; gap: 20px; margin: 4px 0 20px; padding: 18px; border-radius: 18px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); text-align: left; }
.wg-qr { width: 132px; height: 132px; flex: none; fill: var(--ink); border-radius: 10px; }
.wg-pay-sum { display: grid; gap: 2px; }
.wg-pay-sum span { font-size: 13px; color: var(--mute); }
.wg-pay-sum b { font: 300 30px/1.15 var(--display); letter-spacing: -.03em; margin-bottom: 8px; }
.wg-pay-sum .wg-cu { color: var(--copper); }
.wg .btn-block + .btn-block { margin-top: 8px; }

.wg-success { padding: 6px 0 0; }
.wg-burst { position: relative; width: 120px; height: 120px; margin: 0 auto 8px; }
.wg-ring { width: 120px; height: 120px; }
.wg-ring circle, .wg-ring path { fill: none; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.wg-ring circle { stroke: var(--copper); stroke-width: 5; animation: wgDraw .7s .05s var(--ease) forwards; }
.wg-ring path { stroke: var(--ink); stroke-width: 7; animation: wgDraw .45s .62s var(--ease) forwards; }
@keyframes wgDraw { to { stroke-dashoffset: 0; } }
.wg-burst i { position: absolute; left: 50%; top: 50%; width: 7px; height: 7px; margin: -3.5px; border-radius: 50%; background: var(--copper-2); opacity: 0; transform: rotate(var(--a)) translateY(0); animation: wgSpark .9s calc(.7s + var(--d)) var(--ease) forwards; }
.wg-burst i:nth-child(odd) { background: var(--ink); width: 5px; height: 5px; margin: -2.5px; }
@keyframes wgSpark { 0% { opacity: 0; transform: rotate(var(--a)) translateY(-30px) scale(.4); } 30% { opacity: 1; } 100% { opacity: 0; transform: rotate(var(--a)) translateY(-74px) scale(1); } }
.wg-success h2 { animation: wgUp .5s .75s var(--ease) both; }
.wg-amt { margin: 6px 0 0; font: 300 46px/1.1 var(--display); letter-spacing: -.04em; color: var(--copper); animation: wgUp .5s .85s var(--ease) both; font-variant-numeric: tabular-nums; }
.wg-after { animation: wgUp .5s .95s var(--ease) both; }
@keyframes wgUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.wg-rows { display: grid; gap: 10px; margin: 6px 0 4px; text-align: left; }
.wg-row { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.wg-row > div { flex: 1; min-width: 0; }
.wg-row p { margin: 2px 0 0; font-size: 13.5px; color: var(--mute); overflow-wrap: anywhere; }
.wg-mono { font-family: var(--mono); }
.wg-ico { width: 40px; height: 40px; flex: none; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(145deg, #2b2723, #0e0d0c); }
.wg-ico svg { width: 20px; height: 20px; fill: none; stroke: var(--cream); stroke-width: 1.7; stroke-linejoin: round; }
.wg-row-qr .wg-qr { width: 76px; height: 76px; }

.wg-test-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.wg-test-top .seg [aria-checked="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(14,13,12,.12); }
.wg-test { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; text-align: left; }
.wg-code { margin: 0; height: 190px; overflow: auto; padding: 12px; border-radius: 14px; background: #121110; color: #cfc6bc; font: 11.5px/1.6 var(--mono); white-space: pre; }
.wg-draw { height: 190px; border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); display: grid; place-items: center; overflow: hidden; }
.wg-ph { font-size: 13.5px; color: var(--mute); }
.wg-pelican { width: 92%; }
.wg-pelican [pathLength] { stroke-dasharray: 1; stroke-dashoffset: 1; }
.wg-pelican.go [pathLength] { animation: wgDraw 1s var(--ease) forwards; }
.wg-pelican .pk-wheel { stroke: var(--ink); stroke-width: 3; }
.wg-pelican .pk-frame { stroke: var(--copper); stroke-width: 3.2; animation-delay: .25s !important; }
.wg-pelican .pk-body, .wg-pelican .pk-neck { stroke: var(--ink); stroke-width: 2.6; fill: #fbf9f6; animation-delay: .5s !important; }
.wg-pelican .pk-wing { stroke: var(--mute); stroke-width: 2; animation-delay: .7s !important; }
.wg-pelican .pk-beak { stroke: #d08a3c; stroke-width: 2.6; fill: #f3c98f; animation-delay: .8s !important; }
.wg-pelican .pk-leg { stroke: #d08a3c; stroke-width: 2.4; animation-delay: .95s !important; }
.wg-pelican .pk-eye { fill: var(--ink); opacity: 0; transition: opacity .3s 1.1s; }
.wg-pelican.go .pk-eye { opacity: 1; }
.wg-checks { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 8px; text-align: left; min-height: 20px; }
.wg-checks li { display: flex; align-items: center; gap: 10px; font-size: 14.5px; animation: wgUp .35s var(--ease) both; }
.wg-checks .chk { width: 18px; height: 18px; border-radius: 50%; background: var(--ok); flex: none; position: relative; }
.wg-checks .chk::after { content: ""; position: absolute; left: 6px; top: 3px; width: 4px; height: 8px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.wg-pass { justify-content: center; margin-top: 4px; padding: 10px; border-radius: 12px; background: rgba(176,106,59,.1); color: var(--copper); font-weight: 500; }
.wg:has(.wg-test) .wg-body { width: 600px; }

/* 入口按钮 */
.tile-purity { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; background: linear-gradient(110deg, #fff 45%, #f6ece2); }
.pur-d { margin: 6px 0 0; color: var(--ink-2); }
.foot-links .foot-cs { min-height: 36px; text-decoration: none; color: var(--ink); }
@media (max-width: 720px) {
  .wg-test { grid-template-columns: 1fr; }
  .wg-code { height: 120px; }
  .wg-pay { flex-direction: column; align-items: flex-start; }
}

/* 专注 Claude 横幅 */
.focus-note { display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; margin-bottom: 12px; border-radius: 14px; background: linear-gradient(90deg, #f6e8db, #fbf4ec); color: var(--ink-2); font-size: 14px; line-height: 1.55; }
.focus-note b { flex: none; padding: 1px 9px; border-radius: 999px; background: var(--ink); color: var(--cream); font-size: 12.5px; font-weight: 500; line-height: 1.8; }
.focus-mini { margin: -6px 0 14px; font-size: 13px; color: var(--copper); text-align: left; }

/* 登录弹窗：单入口，左右滑动切换 */
.auth-stage { overflow: hidden; margin: 0 -4px; padding: 0 4px; }
.auth-links { margin: 16px 0 0; display: flex; justify-content: center; align-items: center; gap: 6px; flex-wrap: wrap; font-size: 14px; color: var(--mute); }
.auth-links .linkish { min-height: 36px; padding: 0 2px; color: var(--ink); text-decoration: none; font-weight: 500; }
.auth-links .linkish:hover { color: var(--copper); }
.auth-stage h2 { margin-bottom: 4px; }
.auth-stage .gift { margin-top: 16px; }
.slide-in-r { animation: slideR .5s cubic-bezier(.32,.72,0,1) both; }
.slide-in-l { animation: slideL .5s cubic-bezier(.32,.72,0,1) both; }
@keyframes slideR { from { opacity: 0; transform: translateX(36px); } to { opacity: 1; transform: none; } }
@keyframes slideL { from { opacity: 0; transform: translateX(-36px); } to { opacity: 1; transform: none; } }

/* 分段按钮滑块 */
.seg { position: relative; isolation: isolate; }
.seg > button { position: relative; z-index: 1; }
.seg-thumb { position: absolute; top: 0; left: 0; z-index: 0; border-radius: 999px; pointer-events: none; opacity: 0; background: #fff; box-shadow: 0 1px 3px rgba(14,13,12,.12), 0 0 0 .5px rgba(14,13,12,.04); }
.seg-dark .seg-thumb { background: rgba(255,255,255,.14); box-shadow: none; }
.seg.seg-ready .seg-thumb { transition: transform .5s cubic-bezier(.32,.72,0,1), width .5s cubic-bezier(.32,.72,0,1), height .3s, opacity .2s; }
.seg.has-thumb > button[aria-selected="true"], .seg.has-thumb > button[aria-checked="true"], .seg.has-thumb > button[aria-pressed="true"] { background: transparent !important; box-shadow: none !important; }
.seg > button { transition: color .3s; }
.page-in { animation: pageIn .45s cubic-bezier(.32,.72,0,1) both; }
@keyframes pageIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.purity-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px; border-bottom: 1px solid var(--line); background: linear-gradient(90deg, #fbf4ec, #fff); flex-wrap: wrap; }
.purity-bar b { font-weight: 500; margin-right: 8px; }
.purity-bar span { font-size: 13.5px; color: var(--mute); }
