/* serve-your-ai — taste-skill 改版（direction: sentence-as-layout, seed 969842896）
   品牌 locked：近黑底 + 绿 accent #00bf6f + 数据等宽对齐 + 真实表格可有线
   容器：内容 1280px 居中，横幅与页脚全幅 */

:root {
  color-scheme: dark;
  --bg: #090a0b; --bg2: #111315; --bg3: #191c1f;
  --fg: #eceff0; --fg-dim: #9aa1a6;
  --accent: #00bf6f; --accent-ink: #04120b;
  --green2: #0d9a58; --green3: #0a5c37; --green4: #0d3324;
  --margin: clamp(20px, 2.2vw, 32px);
  --sans: -apple-system, "Segoe UI", "Microsoft YaHei", sans-serif;
  --mono: "JetBrains Mono", "Cascadia Code", Consolas, monospace; /* taste-skill-ignore: code/产品UI token，正文不用 */
  /* 五档字阶（figure 为发牌蓝图的例外档） */
  --s-fig: clamp(110px, 15vw, 250px);
  --s-display: clamp(46px, 6.6vw, 104px);
  --s-section: clamp(38px, 4.6vw, 68px);
  --s-statement: clamp(22px, 2vw, 28px);
  --s-body: 17px;
  --s-small: 16px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }   /* 显式 display 元素也尊重 hidden 属性（如 footer .contact） */
html { scroll-behavior: smooth; overflow-x: clip; scrollbar-gutter: stable both-edges; }
body { overflow-x: clip; background: var(--bg); color: var(--fg); font-family: var(--sans); font-size: var(--s-body); line-height: 1.6; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
::selection { background: var(--accent); color: var(--accent-ink); }

.wrap { padding-inline: var(--margin); max-width: 1280px; margin-inline: auto; }
.pad-block { padding-block: clamp(120px, 14vh, 220px); }

/* ---------- 导航：悬浮实底素条 ---------- */
nav.wrap { position: sticky; top: 0; z-index: 50; background: var(--bg); display: flex; align-items: center; gap: 28px; height: 64px; }
.logo { font-weight: 700; font-size: 17px; letter-spacing: -0.02em; }
.logo b { color: var(--accent); font-weight: 700; }
nav a.item { color: var(--fg-dim); font-size: 16px; }
nav a.item:hover { color: var(--fg); }
nav a.item.on { color: var(--fg); font-weight: 600; }
nav .dim { font-size: 14px; }
nav .spacer { flex: 1; }

/* ---------- 按钮：平色、方角、一种形状 ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px;
  padding: 10px 22px; background: var(--bg3); color: var(--fg); font-size: 16px; font-weight: 600;
  border: 0; border-radius: 0; cursor: pointer; transition: background .18s ease, transform .12s ease; }
.btn:hover { background: #23282c; }
.btn:active { transform: scale(.985); }
.btn.primary { background: var(--accent); color: var(--accent-ink); }
.btn.primary:hover { background: #00d47c; }
.btn.small { min-height: 40px; padding: 7px 16px; font-size: 14px; }
a.btn:hover { text-decoration: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ---------- hero：句子即版式 ---------- */
.hero { min-height: 70svh; display: flex; flex-direction: column; justify-content: center; padding-block: 80px 88px; }
.hero h2 { font-size: var(--s-display); line-height: 1.02; font-weight: 700; letter-spacing: -0.04em; max-width: none; }
.slot { display: inline-block; vertical-align: baseline; width: 2.6em; height: .95em; border-radius: 2px; overflow: hidden; position: relative;
        background: var(--bg3); transform: translateY(.08em); }
.slot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .9s ease; }
.slot img.alt { opacity: 0; }
.slot img.alt.show { opacity: 1; }
.hero .lede { margin-top: 48px; display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.hero .sub { max-width: 46ch; color: var(--fg); font-size: var(--s-body); }
.hero .sub .note { display: block; margin-top: 6px; color: var(--fg-dim); font-size: 16px; }
.hero .actions { display: flex; align-items: center; gap: 24px; padding-bottom: 6px; }
.hero .actions .link { color: var(--fg); text-decoration: underline; text-underline-offset: 4px; font-size: 16px; }
.hero .actions .link:hover { color: var(--accent); }

/* ---------- 区块骨架 ---------- */
section { padding-block: clamp(120px, 14vh, 220px); }
#pricing { padding-bottom: 96px; }
#cta { padding-block: 96px clamp(120px, 14vh, 220px); }
h2 { font-size: var(--s-section); line-height: 1.05; font-weight: 700; letter-spacing: -0.03em; max-width: 16ch; }
#plans h2 { max-width: none; }
h1 { font-size: var(--s-section); line-height: 1.05; font-weight: 700; letter-spacing: -0.03em; max-width: 18ch; }

/* ---------- stats：计算器（live thing） ---------- */
.calc { min-height: 64svh; display: flex; flex-direction: column; }
.calc h2 { font-size: var(--s-statement); font-weight: 600; letter-spacing: 0; max-width: none; }
.calc-ui { margin-top: 28px; width: min(400px, 100%); }
.calc-ui label { display: block; font-size: 15px; color: var(--fg); margin-bottom: 10px; }
.calc-ui output { font-variant-numeric: tabular-nums; color: var(--accent); font-weight: 700; }
input[type=range] { width: 100%; accent-color: var(--accent); height: 44px; cursor: pointer; }
.calc-result { margin-top: auto; padding-top: clamp(48px, 8vh, 96px); display: flex; align-items: baseline; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.fig { font-size: var(--s-fig); font-weight: 800; line-height: .8; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.fig small { font-size: .22em; font-weight: 600; letter-spacing: 0; margin-left: .08em; }
.calc-how { max-width: 34ch; font-size: var(--s-body); color: var(--fg-dim); }
.calc-how b { color: var(--fg); }

/* ---------- how-it-works：进度条即图示 ---------- */
.stages { margin-top: 64px; display: flex; gap: 6px; min-height: 22vh; }
.stage { padding: 20px; display: flex; flex-direction: column; justify-content: flex-start; }
.stage .t { font-size: clamp(20px, 2vw, 30px); font-weight: 700; font-variant-numeric: tabular-nums; line-height: 1.1; }
.stage .c { font-size: 16px; margin-top: 8px; line-height: 1.45; }
.stage.s1 { flex: 14; background: var(--green4); }
.stage.s2 { flex: 62; background: var(--green3); }
.stage.s3 { flex: 12; background: var(--green2); }
.stage.s4 { flex: 12; background: var(--accent); }
.stage.s1 .c, .stage.s2 .c { color: #b8d9c9; }
.stage.s3 .c, .stage.s4 .c { color: var(--accent-ink); }
.stage.s3 .t, .stage.s4 .t { color: var(--accent-ink); }
.accept { margin-top: clamp(80px, 12vh, 160px); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 64px); align-items: center; }
.accept p { font-size: var(--s-statement); line-height: 1.4; letter-spacing: -0.01em; max-width: 26ch; }
.accept figure img { width: 100%; }
.accept figcaption { margin-top: 10px; font-size: var(--s-small); color: var(--fg-dim); }

/* ---------- 极光横幅（全幅 rest） ---------- */
.band { margin-block: clamp(120px, 14vh, 220px); overflow: clip; }
.band img { width: 100%; height: min(72vh, 640px); object-fit: cover; }
.band .cap { padding-top: 14px; max-width: 88ch; font-size: var(--s-small); color: var(--fg-dim); }

/* ---------- 基础 ---------- */
button { font-family: inherit; }

/* ---------- uses：能做什么（场景行：陈述在左，计价在右） ---------- */
.uses-lead { margin-top: 40px; max-width: 42ch; font-size: var(--s-statement); line-height: 1.4; letter-spacing: -0.01em; }
.uses { margin-top: 64px; background: var(--bg2); padding: clamp(20px, 3vw, 48px); display: flex; flex-direction: column; }
.use { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; padding-block: 18px; }
.use span { font-size: clamp(19px, 1.7vw, 25px); line-height: 1.4; }
.use b { font-size: 16px; color: var(--fg-dim); font-variant-numeric: tabular-nums; white-space: nowrap; font-weight: 600; }
.uses-foot { margin-top: 56px; font-size: 20px; color: var(--fg-dim); }
.uses-foot b { color: var(--accent); font-weight: 700; }

/* ---------- cases：轮播案例（左指令 / 右结果，同格叠放） ---------- */
.cases { margin-top: 64px; display: grid; position: relative; }
.cnav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 5; width: 46px; height: 46px; padding: 0; border: 1px solid #2a2f34; border-radius: 50%; background: rgba(16,18,20,.78); color: #eceff0; font-size: 26px; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: border-color .15s, color .15s; }
.cnav:hover { border-color: var(--accent); color: var(--accent); }
.cnav.prev { left: -62px; }
.cnav.next { right: -62px; }
.case { grid-area: 1 / 1; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 2.5vw, 40px); align-items: stretch;
        opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .5s ease, visibility .5s ease; }
.case.on { opacity: 1; visibility: visible; pointer-events: auto; }
.case { height: clamp(340px, 50vh, 500px); }
.cmd .aud { margin-top: 14px; }
.cmd .thumb { width: 100%; height: 150px; object-fit: cover; margin-top: auto; display: block; }
.res-recognize { justify-content: flex-start; }
.res-recognize img { width: 100%; height: 58%; object-fit: contain; background: #101418; flex: none; }
.res-recognize .trans { font-size: clamp(15px, 1.3vw, 19px); padding-block: 14px; }
.res.res-ba { display: grid; grid-template-columns: 1fr 1fr; flex-direction: row; gap: 3px; background: var(--bg3); height: 100%; }
.res.res-ba figure { margin: 0; position: relative; min-width: 0; min-height: 0; display: flex; align-items: center; justify-content: center; }
.res.res-ba img { width: 100%; height: 100%; object-fit: contain; display: block; }
.res.res-ba figcaption { position: absolute; left: 0; bottom: 0; background: rgba(9,10,11,.78); color: #d6dbdf; font-size: 13px; padding: 6px 12px; }
.cmd .aud audio { width: 100%; accent-color: var(--accent); }
.cmd .cap { font-size: 14px; color: var(--fg-dim); }
.cmd { background: var(--bg2); padding: 28px; display: flex; flex-direction: column; gap: 18px; }
.cmd .lb { font-size: 18px; font-weight: 600; color: var(--fg); letter-spacing: .01em; }
.cmd .txt { font-size: clamp(19px, 1.8vw, 25px); line-height: 1.45; letter-spacing: -0.01em; }
.cmd .meta { margin-top: auto; font-size: 15px; color: var(--fg-dim); }
.cmd .meta b { color: var(--accent); font-weight: 600; }
.res { background: var(--bg3); overflow: clip; display: flex; flex-direction: column; justify-content: center; }
.res img { width: 100%; height: 100%; object-fit: cover; }
.res .rcard { background: var(--bg2); padding: 18px 20px; }
.res .rcard + .rcard { margin-top: 8px; }
.res .rt { font-size: 17px; font-weight: 600; line-height: 1.3; }
.res .rh { font-size: 14px; color: var(--accent); margin-top: 2px; word-break: break-all; }
.res .rc { font-size: 15px; color: var(--fg-dim); margin-top: 6px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.res .trans { background: var(--bg2); padding: 28px; font-size: clamp(19px, 1.8vw, 25px); line-height: 1.5; }
.res .trans.src { padding-top: 0; font-size: 15px; color: var(--fg-dim); }
.dots { margin-top: 28px; display: flex; gap: 10px; align-items: center; }
.dots button { width: 11px; height: 11px; padding: 0; border: 0; border-radius: 0; background: #2a2f34; cursor: pointer; }
.dots button.on { background: var(--accent); }
.dots .cl { margin-left: auto; font-size: 15px; color: var(--fg-dim); }

/* ---------- plans：套餐三档 ---------- */
.plans-lead { margin-top: 40px; max-width: 44ch; font-size: var(--s-statement); line-height: 1.4; letter-spacing: -0.01em; }
.plans { margin-top: 56px; display: grid; grid-template-columns: repeat(2, 1fr); max-width: 880px; margin-inline: auto; gap: clamp(16px, 2vw, 32px); }
.plan { background: var(--bg2); padding: clamp(24px, 2.5vw, 40px); display: flex; flex-direction: column; gap: 14px; }
.plan .nm { font-size: 20px; font-weight: 700; }
.plan .pr { font-size: clamp(44px, 4vw, 64px); font-weight: 800; letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.plan .pr small { font-size: .3em; font-weight: 600; color: var(--fg-dim); letter-spacing: 0; }
.plan .pts { font-size: 17px; color: var(--accent); font-weight: 600; }
.plan .ds { font-size: 15px; color: var(--fg-dim); line-height: 1.55; }
.plan .btn { margin-top: auto; }
.btn[disabled], .btn[disabled]:hover { background: #1a1e22; color: #9aa1a6; cursor: not-allowed; transform: none; }
.plans-common { margin-top: 40px; font-size: 15px; color: var(--fg-dim); display: flex; gap: 24px; flex-wrap: wrap; }
.plans-foot { margin-top: 14px; font-size: 15px; color: var(--fg-dim); }
.plans-foot a { color: var(--fg); text-decoration: underline; text-underline-offset: 4px; }

/* ---------- wall：agent 背书 ---------- */
.wall { margin-top: 56px; display: flex; flex-wrap: nowrap; gap: clamp(18px, 2.4vw, 34px); align-items: center; overflow-x: auto; }
.wall .w { display: inline-flex; align-items: center; gap: 10px; font-size: clamp(16px, 1.8vw, 26px); font-weight: 700; letter-spacing: -0.02em; color: #8a9197; transition: color .3s ease; flex: none; }
.wall .w img { width: 1.15em; height: 1.15em; flex: none; padding: .1em; box-sizing: content-box; object-fit: contain; opacity: .62; filter: grayscale(1) brightness(1.15); transition: opacity .3s ease, filter .3s ease; background: #16191c; }
.wall .w:hover { color: var(--fg); }
.wall .w:hover img { opacity: 1; filter: none; }
.wall-tail { margin-top: 32px; font-size: clamp(20px, 2vw, 28px); color: var(--fg-dim); }

/* ---------- proof：名单即句子 + 真图 ---------- */
.proof-grid { margin-top: 64px; display: grid; grid-template-columns: 1.3fr 0.7fr; gap: clamp(32px, 4vw, 72px); align-items: center; }
.proof-sentence { font-size: clamp(22px, 2.8vw, 36px); line-height: 1.35; font-weight: 600; letter-spacing: -0.02em; }
.proof-grid figure img { width: 100%; }
.proof-grid figcaption { margin-top: 10px; font-size: var(--s-small); color: var(--fg-dim); }
.proof-sentence .n { color: #757d83; transition: color .4s ease; }
.proof-sentence .n.lit { color: var(--fg); }

/* ---------- pricing：一句话报价 + 真实表格 ---------- */
.price-sentence { font-size: clamp(42px, 7vw, 108px); line-height: .98; font-weight: 700; letter-spacing: -0.04em; max-width: 14ch; }
.price-sentence .pill { display: inline-block; background: var(--accent); color: var(--accent-ink); padding: 0 .15em; border-radius: 2px; }
.price-row { margin-top: 64px; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.price-row .inc { max-width: 52ch; font-size: 20px; line-height: 1.5; }
.price-row .inc b { color: var(--accent); }
.price-head { font-size: var(--s-statement); font-weight: 600; margin-top: clamp(56px, 7vh, 96px); }
.tablewrap { margin-top: 56px; overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 16px; }
th, td { padding: 14px 16px; border: 1px solid #23262a; /* taste-skill-ignore: real table */ text-align: left; vertical-align: top; }
th { background: var(--bg2); color: var(--fg-dim); font-weight: 600; font-size: 16px; } /* taste-skill-ignore: real table */
td .us { color: var(--accent); font-weight: 700; }
td, th { font-variant-numeric: tabular-nums; }
.tnote { margin-top: 14px; font-size: var(--s-small); color: var(--fg-dim); max-width: 72ch; }

/* ---------- cta：句末即按钮 + 真实终端片段 ---------- */
.cta-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(32px, 4vw, 72px); align-items: center; }
.cta-sentence { font-size: clamp(38px, 4.8vw, 76px); line-height: 1.08; font-weight: 700; letter-spacing: -0.035em; }
.cta-sentence .btn { font-size: .5em; min-height: 1.25em; padding: .12em .35em; vertical-align: baseline; }
.term { background: var(--bg2); padding: 24px; overflow-x: auto; }
.term code { font-family: var(--mono); font-size: 14px; line-height: 1.7; color: var(--fg); white-space: pre; }
.term .hd { font-size: 16px; color: var(--fg-dim); margin-bottom: 12px; }
.term .ok { color: var(--accent); }
.cta-note { margin-top: 32px; font-size: 16px; color: var(--fg-dim); }
.cta-note a { color: var(--fg); text-decoration: underline; text-underline-offset: 4px; }

/* ---------- footer：绿色整幅（紧凑版） ---------- */
footer { background: var(--accent); color: var(--accent-ink); display: flex; flex-direction: column; padding: 32px 0 24px; }
footer .fin { display: flex; flex-direction: column; flex: 1; }
footer .top { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; font-size: 15px; }
footer .top .notes { display: flex; gap: 28px; flex-wrap: wrap; }
footer .top a { text-decoration: underline; text-underline-offset: 4px; font-weight: 600; }
footer .mid { padding-block: 22px; }
footer .contact { display: inline-block; font-size: clamp(30px, 4.5vw, 56px); font-weight: 800; letter-spacing: -0.03em; line-height: 1; color: var(--accent-ink); }
footer .contact:hover { text-decoration: underline; text-decoration-thickness: .04em; }
footer .meta { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: var(--s-small); }
footer .meta a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- 浅色模式（JS 置 data-theme；无 JS 保持深色兑底） ---------- */
.tbtn { width: 36px; height: 36px; padding: 0; display: inline-flex; align-items: center; justify-content: center; background: transparent; border: 1px solid #2a2f34; border-radius: 50%; color: var(--fg-dim); cursor: pointer; }
.tbtn:hover { color: var(--fg); border-color: var(--fg-dim); }
.tbtn svg { width: 17px; height: 17px; }
.tbtn .moon { display: none; }
[data-theme="light"] .tbtn { border-color: #cfd6d2; }
[data-theme="light"] .tbtn .sun { display: none; }
[data-theme="light"] .tbtn .moon { display: block; }

[data-theme="light"] {
  color-scheme: light;
  --bg: #f6f8f7; --bg2: #ffffff; --bg3: #edf1ee;
  --fg: #121614; --fg-dim: #5d6561;
  --accent: #008f51;
  --green2: #5cc48c; --green3: #a9dfc4; --green4: #e7f4ec;
}
[data-theme="light"] .btn:hover { background: #e4e9e6; }
[data-theme="light"] .btn.primary:hover { background: #007a44; }
[data-theme="light"] .btn[disabled], [data-theme="light"] .btn[disabled]:hover { background: #e9edea; color: #9aa19c; }
[data-theme="light"] .cnav { border-color: #cfd6d2; background: rgba(255,255,255,.85); color: #121614; }
[data-theme="light"] .dots button { background: #c9d0cc; }
.sdot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); margin-right: 7px; vertical-align: 1px; }
.sdot.down { background: #d33434; }
[data-theme="light"] .stage.s1 .c, [data-theme="light"] .stage.s2 .c { color: #3e6f58; }
[data-theme="light"] .res-recognize img { background: #eef1ef; }
[data-theme="light"] .res.res-ba figcaption { background: rgba(255,255,255,.88); color: #3f4643; }
[data-theme="light"] th, [data-theme="light"] td { border-color: #dfe4e1; }
[data-theme="light"] th { background: #f1f4f2; }
.wall .w img.l { display: none; }
[data-theme="light"] .wall .w { color: #3d4441; }
[data-theme="light"] .wall .w img.d { display: none; }
[data-theme="light"] .wall .w img.l { display: block; filter: none; opacity: 1; background: #ffffff; }
[data-theme="light"] .wall .w:hover { color: #121614; }
[data-theme="light"] .proof-sentence .n { color: #a8b0ab; }
[data-theme="light"] .err { color: #d3361f; }
[data-theme="light"] .keybox { background: #e9f7ef; border-color: #9fd8b9; }
[data-theme="light"] .tag { background: #e2f3e9; }
[data-theme="light"] .form input, [data-theme="light"] .form img.captcha { border-color: #dfe4e1; }

/* ---------- 动效层（transform/opacity only；reduced-motion 全退） ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.shutter { clip-path: inset(0 100% 0 0); transition: clip-path 1.1s cubic-bezier(.7,0,.2,1); }
.shutter.open { clip-path: inset(0 0 0 0); }
.shutter img { transform: scale(1.12); transition: transform 1.4s cubic-bezier(.2,.6,.2,1); }
.shutter.open img { transform: scale(1); }
.drift { animation: drift 26s ease-in-out infinite alternate; }
@keyframes drift { from { transform: scale(1); } to { transform: scale(1.06); } }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .shutter { clip-path: none; } .shutter img { transform: none; transition: none; }
  .drift { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- 表单页共用（register/login/dashboard 保持可用） ---------- */
.form { max-width: 380px; margin: 60px auto; }
.form h2 { font-size: 32px; margin-bottom: 20px; }
.form label { display: block; font-size: 13px; color: var(--fg-dim); margin: 14px 0 6px; }
.form input { width: 100%; padding: 9px 12px; border-radius: 0; border: 1px solid #23262a;
              background: var(--bg2); color: var(--fg); font-size: 14px; font-family: var(--mono); } /* taste-skill-ignore: product form UI */
.form input:focus { outline: none; border-color: var(--accent); }
.form .captcha-row { display: flex; gap: 10px; align-items: center; }
.form .captcha-row input { flex: 1; }
.form img.captcha { height: 44px; border-radius: 0; cursor: pointer; border: 1px solid #23262a; } /* taste-skill-ignore: product form UI */
.err { color: #f87171; font-size: 13px; margin-top: 10px; min-height: 18px; }
.keybox { font-family: var(--mono); background: #0c1712; border: 1px solid var(--green3); /* taste-skill-ignore: API key display */
          color: var(--accent); padding: 12px; border-radius: 0; word-break: break-all; margin: 10px 0; }
.stat { font-family: var(--mono); font-size: 28px; } /* taste-skill-ignore: dashboard numbers */
.card { background: var(--bg2); border-radius: 0; padding: 20px; }
.mono { font-family: var(--mono); } /* taste-skill-ignore: dashboard helper */
.dim { color: var(--fg-dim); }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.tag { font-size: 12px; color: var(--accent); border-radius: 0; padding: 1px 8px; background: var(--green4); display: inline-block; }

/* ---------- dashboard 三步引导 ---------- */
.step-h { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.stepno { font-size: 13px; font-weight: 700; letter-spacing: .04em; background: var(--accent); color: var(--accent-ink); padding: 4px 10px; white-space: nowrap; font-family: var(--mono); } /* taste-skill-ignore: product step badge */
#keypick { width: 100%; padding: 10px 12px; border-radius: 0; border: 1px solid #23262a; background: var(--bg2); color: var(--fg); font-size: 14px; font-family: var(--mono); } /* taste-skill-ignore: product form UI */
#keypick:focus { outline: none; border-color: var(--accent); }
.steptabs { display: flex; gap: 8px; flex-wrap: wrap; }
.steptab { min-height: 44px; padding: 8px 18px; background: var(--bg3); color: var(--fg-dim); font-size: 15px; font-weight: 600; border: 1px solid transparent; cursor: pointer; font-family: inherit; }
.steptab:hover { color: var(--fg); }
.steptab.on { background: var(--green4); color: var(--accent); border-color: var(--green3); }
.steptab .tag { margin-left: 6px; }
[data-theme="light"] #keypick { border-color: #dfe4e1; }

/* ---------- 平板 ---------- */
@media (min-width: 721px) and (max-width: 1024px) {
  .hero { min-height: 0; padding-block: 72px 96px; }
  .calc { min-height: 0; }
  .calc-result { padding-top: 96px; }
  section { padding-block: 96px 128px; }
}

/* ---------- 手机是第二版式 ---------- */
@media (max-width: 720px) {
  .hero { min-height: 84svh; padding-block: 72px 80px; }
  .hero .display { font-size: 8.6vw; }
  .hero .slot { width: 2em; }
  .hero .lede { flex-direction: column; align-items: flex-start; }
  .cta-grid, .proof-grid { grid-template-columns: 1fr; }
  .case { grid-template-columns: 1fr; height: auto; }
  .cnav { top: 170px; transform: none; width: 40px; height: 40px; font-size: 22px; }
  .cnav.prev { left: 8px; }
  .cnav.next { right: 8px; }
  .res img { height: 340px; }
  .res.res-ba { gap: 2px; height: 340px; }
  .cmd .aud { margin-top: 8px; }
  .use { flex-direction: column; gap: 4px; padding-block: 18px; }
  .use b { white-space: normal; }
  .plans { grid-template-columns: 1fr; }
  th:nth-child(3), td:nth-child(3), th:nth-child(4), td:nth-child(4) { display: none; }
  .slot { width: 2.1em; }
  .stages { flex-direction: column; min-height: 0; }
  .stage { min-height: 88px; }
  .accept { grid-template-columns: 1fr; }
  .calc-result .fig { font-size: 30vw; }
  nav.wrap { gap: 16px; }
  nav a.item.hide-m { display: none; }
}

/* ============ 素材库主页（2026-10-31 素材库即主页改版） ============ */
.ssearch { display:flex; gap:12px; max-width:640px; margin:28px auto 0; }
.ssearch input[type=search] {
  flex:1; padding:14px 18px; border-radius:12px; border:1px solid var(--bg3);
  background:var(--bg2); color:var(--fg); font-size:16px; outline:none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.ssearch input[type=search]:focus { border-color:var(--accent); box-shadow:0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent); }
.schips { display:flex; flex-wrap:wrap; gap:8px; justify-content:center; margin-top:14px; }
.schips .row-break { flex-basis:100%; height:0; }
.chip {
  border:1px solid var(--bg3); background:var(--bg2); color:var(--fg-dim);
  border-radius:999px; padding:6px 14px; font-size:13px; cursor:pointer;
  transition: all .15s ease;
}
.chip:hover { border-color:var(--accent); color:var(--fg); transform:translateY(-1px); }
.smeta { text-align:center; color:var(--fg-dim); font-size:14px; min-height:1.4em; margin-top:18px; }
.sgrid {
  display:grid; grid-template-columns:repeat(auto-fill, minmax(150px, 1fr));
  gap:14px; margin-top:10px;
}
@media (max-width:640px) { .sgrid { grid-template-columns:repeat(auto-fill, minmax(110px, 1fr)); gap:10px; } }
.scard {
  display:block; position:relative; border-radius:14px; border:1px solid var(--bg3); background:var(--bg2);
  overflow:hidden; text-decoration:none; color:var(--fg);
  transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.scard:hover { transform:translateY(-3px); border-color:var(--accent); box-shadow:0 8px 24px rgba(0,0,0,.12); }
.scard img {
  display:block; width:100%; height:auto; aspect-ratio:1/1; object-fit:contain; background:
  repeating-conic-gradient(var(--bg3) 0% 25%, transparent 0% 50%) 50%/16px 16px;
}
.scard-meta {
  position:static;
  display:flex; align-items:baseline; justify-content:space-between; gap:6px;
  padding:9px 11px 11px;
  background:var(--bg2);
  color:var(--fg);
  border-top:1px solid var(--bg3);
}
.scard-meta b { font-size:13px; font-weight:600; color:var(--fg); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.scard-meta span { font-size:11px; color:var(--fg-dim); white-space:nowrap; }
.scard-meta .starn { margin-left:auto; color:var(--accent); font-weight:700; }
.sempty { text-align:center; color:var(--fg-dim); padding:40px 0 10px; font-size:15px; }
#stylewall .w { cursor:default; }
/* /stock 详情页（gateway 直出） */
.sdetail { max-width:920px; margin:0 auto; }
.sdetail-grid { display:grid; grid-template-columns:minmax(240px,380px) 1fr; gap:28px; align-items:start; }
@media (max-width:720px) { .sdetail-grid { grid-template-columns:1fr; } }
.sdetail-fig { border-radius:16px; border:1px solid var(--bg3); background:var(--bg2); overflow:hidden; }
.sdetail-fig img { display:block; width:100%; aspect-ratio:1/1; object-fit:contain; background:
  repeating-conic-gradient(var(--bg3) 0% 25%, transparent 0% 50%) 50%/20px 20px; }
.sdetail-info h1 { font-size:clamp(22px,3vw,30px); margin-bottom:6px; }
.sdetail-info .dim { font-size:14px; }
.stagrow { display:flex; flex-wrap:wrap; gap:8px; margin:16px 0; }
.stag { border:1px solid var(--bg3); border-radius:999px; padding:4px 12px; font-size:12px; color:var(--fg-dim); }
.sfmt { margin:14px 0 18px; font-size:14px; color:var(--fg-dim); line-height:1.8; }
.srelated { margin-top:8px; }
.srelated .sgrid { grid-template-columns:repeat(auto-fill, minmax(110px, 1fr)); }

/* 素材详情页 · 分辨率档位格 */
.sfmtrow { display:flex; gap:12px; flex-wrap:wrap; margin:16px 0 18px; }
.sfmt-cell { display:flex; flex-direction:column; align-items:center; gap:6px; padding:14px 16px 10px; background:var(--bg2); border:1px solid var(--bg3); border-radius:10px; min-width:104px; text-align:center; }
.sfmt-cell img { image-rendering:pixelated; }
.sfmt-cell b { font-size:13px; }
.sfmt-cell span { font-size:11px; color:var(--fg-dim); }

/* 精选套组条 */
#setrow { margin-top:10px; }
#setrow .chip { cursor:pointer; }
a.chip { text-decoration:none; color:inherit; display:inline-block; cursor:pointer; }
#setrow .chip.on { background:var(--accent); color:var(--accent-ink); border-color:var(--accent); }

/* 库存增长曲线（搜索栏上方，紧凑版） */
#growth h2 { font-size: 17px; margin: 26px 0 10px; color: var(--fg-dim); font-weight: 600; }
.gcard { background: var(--bg2); border: 1px solid var(--bg3); border-radius: 14px; padding: 12px 16px 8px; }
.gcard svg { width: 100%; height: auto; display: block; }
.gmeta { margin: 6px 2px 4px; color: var(--fg-dim); font-size: 13px; }
