/* AI 助手页（assistant.html）：桌面版下载 + 功能介绍 + 五步动画教程。
   通用的卡片、按钮、.show 教程组件、.a* 动画都在 site.css；这里只放本页独有的模拟画面与版式。
   动画约定同 site.css：默认就是完成态，加 .play 才从头播一遍；减少动态效果时直接看到完成态。 */

/* 按系统切换文案：.as-page[data-os] 由 assistant.js 按 UA 设定，教程 / 快捷键里的 macOS · Windows 开关可改 */
.as-page[data-os="mac"] .os-win, .as-page[data-os="win"] .os-mac { display: none !important; }

/* Moffer Desktop 图标（同 desktop/build/icon.svg 的配色：靛紫渐变 + 白色对勾折线） */
.as-app-ico { display: inline-block; width: 22px; height: 22px; border-radius: 27%; flex: none; vertical-align: middle;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath d='M16 46V20l14 16L49 15' fill='none' stroke='%23fff' stroke-width='7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 64% no-repeat,
    radial-gradient(70% 70% at 95% 100%, rgb(56 189 248 / .55), transparent 70%),
    linear-gradient(150deg, #8f80ff, #5b4ef0 48%, #3426b8);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .35), 0 2px 6px rgb(52 38 184 / .3); }

/* 平台图标：页首的 SVG sprite（官方标志），<svg class="ico"><use href="#i-…"></svg> */
.as-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ico { display: inline-block; width: 1em; height: 1em; flex: none; vertical-align: -.125em; }
.as-plat-apple { color: var(--ink); }
.as-plat-line { color: var(--ink-2); }
.btn-primary .ico { --win-fill: currentColor; }

/* ---------- 首屏 ---------- */
.as-hero { position: relative; padding-block: 56px 40px; overflow: clip; }
/* 左栏文字与右侧演示窗口顶边对齐；平台行跟左栏同一条左边线 */
.as-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 48px; align-items: start; }
.as-eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px 5px 6px; border-radius: var(--r-pill); font-size: var(--fs-sm); font-weight: calc(650 - var(--polish-weight-adjust)); color: var(--ink-2);
  background: color-mix(in srgb, var(--surface) 70%, transparent); border: 1px solid transparent; }
.as-hero h1 { margin-top: 18px; font-size: clamp(34px, 5.4vw, 58px); letter-spacing: -.02em; }
.as-grad { background: linear-gradient(100deg, var(--accent) 10%, #8b5cf6 55%, #0ea5e9); -webkit-background-clip: text; background-clip: text; color: transparent; }
.as-hero .lead { margin-top: 18px; font-size: var(--fs-xl); }
.as-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.as-cta.center { justify-content: center; }
.as-btn-xl { min-height: 52px; padding: 12px 24px; font-size: var(--fs-lg); border-radius: var(--r-card); gap: 10px; }
.btn-primary.as-btn-xl { box-shadow: 0 10px 24px color-mix(in srgb, var(--accent) 32%, transparent); }
.as-btn-ico { width: 20px; height: 20px; }
.as-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 14px; font-size: var(--fs-base); color: var(--muted); }
.as-meta-open { margin-top: 4px; }
.as-mobile-note { margin-top: 14px; padding: 10px 14px; border-radius: var(--r-card); background: var(--accent-soft); color: var(--ink-2); font-size: var(--fs-base); }

.as-plats { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 10px 28px; margin: 44px auto 0; list-style: none; color: var(--muted); font-size: var(--fs-base); font-weight: calc(600 - var(--polish-weight-adjust)); }
.as-plats li { display: inline-flex; align-items: center; gap: 8px; }
.as-plats .ico { width: 20px; height: 20px; }

/* ---------- 首屏演示：做题 / 面试窗口 + Moffer Desktop 小窗 ---------- */
.hx { position: relative; height: 470px; font-size: var(--fs-sm); line-height: 1.5; }
.hx-glow { position: absolute; inset: 8% 4% 0 14%; border-radius: 50%; filter: blur(48px); opacity: .55; pointer-events: none;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 45%, transparent), transparent), radial-gradient(40% 40% at 80% 80%, rgb(14 165 233 / .35), transparent); }
.hx-back { position: absolute; left: 0; top: 0; width: 80%; height: 330px; }
.hx-back-body { position: relative; padding: 18px 20px; height: calc(100% - 38px); }
.hx-q { position: relative; display: grid; gap: 8px; color: var(--ink-2); }
.hx-q b { font-size: var(--fs-md); color: var(--ink); }
.hx-q code { display: block; padding: 6px 10px; border-radius: var(--r-control); background: var(--surface-2); font-size: var(--fs-xs); color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hx-snap { position: absolute; inset: -8px -10px; border: 2px dashed var(--accent); border-radius: var(--r-control); opacity: 0; pointer-events: none; }
.hx-call { display: grid; grid-template-columns: 1.4fr 1fr; gap: 10px; height: 100%; }
.hx-tile { position: relative; display: grid; place-items: center; align-content: center; gap: 6px; border-radius: var(--r-card); background: linear-gradient(160deg, #2b3350, #1a2034); color: #c9cfe3; }
.hx-tile.me { background: linear-gradient(160deg, #36405f, #232a42); align-self: end; height: 60%; }
.hx-tile small { font-size: var(--fs-2xs); }
.hx-face { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: #4b5578; color: #fff; font-size: var(--fs-xl); font-weight: calc(700 - var(--polish-weight-adjust)); }
.hx-tile.me .hx-face { width: 38px; height: 38px; font-size: var(--fs-base); }
.hx-speak { display: inline-flex; align-items: center; gap: 3px; height: 16px; }
.hx-speak i { width: 3px; height: 6px; border-radius: 2px; background: #4ade80; }
.hx-speak.on i, .hx.play[data-mode="talk"] .hx-speak i { animation: hx-wave .9s ease-in-out infinite; }
.hx-speak i:nth-child(2) { animation-delay: .15s !important; } .hx-speak i:nth-child(3) { animation-delay: .3s !important; } .hx-speak i:nth-child(4) { animation-delay: .45s !important; }
.hx-tile .hx-speak { position: absolute; left: 12px; bottom: 10px; }
@keyframes hx-wave { 50% { height: 15px; } }

.hx-app { position: absolute; right: 0; bottom: 0; width: 64%; display: grid; grid-template-rows: auto minmax(0, 1fr); height: 342px; border-radius: var(--r-panel); overflow: hidden;
  background: color-mix(in srgb, var(--surface) 82%, transparent); border: 1px solid color-mix(in srgb, var(--accent) 22%, var(--line));
  -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%);
  box-shadow: 0 30px 60px -18px rgb(30 27 75 / .38), 0 0 0 1px rgb(255 255 255 / .25) inset; }
.hx-app-bar { position: relative; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-bottom: 1px solid var(--line-2); }
.hx-prog { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; overflow: hidden; }
.hx-prog i { display: block; height: 100%; background: linear-gradient(90deg, var(--accent), #0ea5e9); transform-origin: left; transform: scaleX(0); }
.hx.play .hx-prog i { animation: hx-prog var(--hx-dur, 9s) linear both; }
@keyframes hx-prog { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hx-scanline { position: absolute; left: -10px; right: -10px; top: -8px; height: 2px; background: linear-gradient(90deg, transparent, var(--accent), transparent); box-shadow: 0 0 14px var(--accent); opacity: 0; pointer-events: none; }
.hx.play .hx-scanline { animation: hx-scan 1.1s ease-in-out 1.05s both; }
@keyframes hx-scan { 0% { opacity: 0; transform: translateY(0); } 15%, 85% { opacity: 1; } 100% { opacity: 0; transform: translateY(150px); } }
.hx-row { display: flex; align-items: center; gap: 10px; }
.hx-thinking { display: inline-flex; align-items: center; gap: 3px; font-size: var(--fs-2xs); color: var(--muted); opacity: 0; }
.hx-thinking i { width: 4px; height: 4px; border-radius: 50%; background: var(--accent); animation: dot-b 1s ease-in-out infinite; }
.hx-thinking i:nth-child(2) { animation-delay: .15s; } .hx-thinking i:nth-child(3) { animation-delay: .3s; margin-right: 4px; }
.hx.play .hx-scene-shot .hx-thinking { animation: blip .9s ease 1.8s both; }
.hx-thinking-talk { align-self: flex-start; margin: -2px 0 -14px; height: 14px; }
.hx.play .hx-thinking-talk { animation: blip 1s ease 1s both; }
.hx-mark { width: 22px; height: 22px; border-radius: var(--r-sm); flex: none; background: inherit; }
.hx-mark, .ap-bar .hx-mark { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath d='M16 46V20l14 16L49 15' fill='none' stroke='%23fff' stroke-width='7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 64% no-repeat, linear-gradient(150deg, #8f80ff, #5b4ef0 48%, #3426b8); }
.hx-tabs { display: inline-flex; padding: 3px; border-radius: var(--r-control); background: var(--surface-2); }
.hx-tabs b { padding: 2px 10px; border-radius: var(--r-sm); font-size: var(--fs-xs); color: var(--muted); transition: background .3s, color .3s; }
.hx[data-mode="shot"] .hx-tab-shot, .hx[data-mode="talk"] .hx-tab-talk { background: var(--surface); color: var(--accent); box-shadow: var(--shadow); }
.hx-state { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-xs); color: var(--muted); }
.hx-state > i { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px var(--ok-soft); }
.hx[data-mode="shot"] .hx-when-talk, .hx[data-mode="talk"] .hx-when-shot { display: none; }

.hx-scene { grid-area: 2 / 1; display: flex; flex-direction: column; gap: 9px; padding: 12px 14px; min-height: 0; transition: opacity .45s ease, transform .45s ease; }
.hx[data-mode="shot"] .hx-scene-talk, .hx[data-mode="talk"] .hx-scene-shot { opacity: 0; transform: translateY(8px); visibility: hidden; }
.hx-keys { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; color: var(--muted); font-size: var(--fs-xs); }
.hx-keys small { margin-left: 4px; }
.hx kbd, .as-page .keys kbd, .kc kbd, .show-desc kbd { display: inline-grid; place-items: center; min-width: 26px; height: 24px; padding: 0 7px; border-radius: var(--r-sm); font: 600 12px/1 var(--font);
  color: var(--ink); background: var(--surface); border: 1px solid var(--line); box-shadow: 0 2px 0 var(--line); }
.show-desc kbd { height: 20px; font-size: var(--fs-2xs); }
.hx-chip { display: inline-flex; align-items: center; gap: 6px; flex: none; padding: 3px 10px; border-radius: var(--r-pill); font-size: var(--fs-xs); font-weight: calc(650 - var(--polish-weight-adjust)); color: var(--ok-text); background: var(--ok-soft); }
.hx-chip i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.hx-ans { display: grid; gap: 4px; min-width: 0; color: var(--ink-2); }
.hx-ans b { color: var(--accent); margin-right: 6px; }
.hx-code { margin: 4px 0; padding: 8px 10px; border-radius: var(--r-control); background: #151a2b; color: #c8d3f5; font: 11.5px/1.6 var(--mono); overflow: hidden; }
.hx-code .hx-type { display: block; white-space: pre; }
.hx-sub { font-size: var(--fs-xs); color: var(--muted); }
.hx-type { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hx-foot { margin-top: auto; display: flex; justify-content: space-between; gap: 8px; padding-top: 8px; border-top: 1px dashed var(--line); font-size: var(--fs-2xs); color: var(--muted); white-space: nowrap; }
.hx-foot kbd { height: 18px; min-width: 0; padding: 0 5px; font-size: 10.5px; box-shadow: none; }
.hx-say { padding: 8px 11px; border-radius: 12px 12px 12px 4px; background: var(--surface-2); color: var(--ink); font-weight: calc(600 - var(--polish-weight-adjust)); }
.hx-say small { display: block; font-size: var(--fs-2xs); font-weight: calc(600 - var(--polish-weight-adjust)); color: var(--muted); }
.hx-hint { display: grid; gap: 5px; padding: 10px 12px; border-radius: var(--r-card); background: var(--accent-soft); border: 1px solid color-mix(in srgb, var(--accent) 25%, transparent); color: var(--ink-2); }
.hx-hint > b { color: var(--accent); font-size: var(--fs-xs); }
.hx-hint > p { color: var(--ink); font-weight: calc(600 - var(--polish-weight-adjust)); }
.hx-hint ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 3px; }
.hx-hint em { display: inline-grid; place-items: center; width: 17px; height: 17px; margin-right: 6px; border-radius: var(--r-sm); background: var(--accent); color: var(--accent-ink); font-style: normal; font-size: 10.5px; font-weight: calc(800 - var(--polish-weight-adjust)); }

/* 首屏动画：assistant.js 每轮切换 data-mode 并重新加 .play */
.hx.play .hx-keys { animation: sx-up .4s ease-out .2s both; }
.hx.play .hx-keys kbd { animation: hx-key .5s ease-out .7s both; }
.hx.play .hx-snap { animation: hx-snap 1.3s ease-out 1s both; }
.hx.play .hx-chip { animation: sx-up .4s ease-out 1.7s both; }
.hx.play .hx-scene-talk .hx-hint { animation-delay: 2s; }
.hx.play .hx-type { animation: hx-type .7s steps(var(--w, 24)) both; animation-delay: calc(var(--t) * 1s); }
.hx.play .hx-scene-shot .hx-foot { animation: sx-fade .5s ease-out 7.3s both; }
.hx.play .hx-say { animation: sx-up .45s ease-out .6s both; }
.hx.play .hx-hint { animation: sx-up .45s ease-out 1.8s both; }
.hx.play .hx-scene-talk .hx-foot { animation: sx-fade .5s ease-out 5.6s both; }
@keyframes hx-type { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes hx-key { 40% { transform: translateY(2px); box-shadow: 0 0 0 var(--line); background: var(--accent-soft); color: var(--accent); } }
@keyframes hx-snap { 0% { opacity: 0; transform: scale(1.04); } 25% { opacity: 1; transform: none; background: color-mix(in srgb, var(--accent) 10%, transparent); } 70% { opacity: 1; } 100% { opacity: 0; } }

/* ---------- 功能便当格 ---------- */
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.bt { grid-column: span 2; display: grid; grid-template-rows: auto 1fr; overflow: hidden; border-radius: var(--r-panel); border: 1px solid transparent; background: var(--polish-layer-2); transition: transform .3s cubic-bezier(.34, 1.56, .64, 1), box-shadow .3s, border-color .3s; }
.bt:hover { transform: translateY(-3px); box-shadow: var(--shadow-pop); border-color: transparent; background: var(--polish-layer-3); }
.bt-wide { grid-column: span 2; }
.bt-art { position: relative; height: 190px; overflow: hidden; padding: 18px; background: linear-gradient(150deg, color-mix(in srgb, var(--accent) 13%, var(--bg)), var(--surface-2) 80%); }
.bt-text { padding: 18px 22px 22px; display: grid; gap: 8px; align-content: start; }
.bt-text h3 { font-size: var(--fs-xl); }
.bt-text p { color: var(--ink-2); font-size: var(--fs-md); line-height: 1.65; }
.bt-tag { justify-self: start; padding: 2px 10px; border-radius: var(--r-pill); font-size: var(--fs-xs); font-weight: calc(700 - var(--polish-weight-adjust)); color: var(--accent); background: var(--accent-soft); }
.bt-tag.violet { color: var(--violet); background: var(--violet-soft); }
/* 桌面：首屏正好一屏（视口高减顶栏 62px），主体垂直居中、平台行压在底边，下一块不露半截 */
@media (min-width: 961px) {
  .as-hero { display: flex; flex-direction: column; min-height: calc(100svh - 62px - env(safe-area-inset-top, 0px)); padding-block: 40px 28px; }
  .as-hero-grid { flex: 1 0 auto; width: 100%; align-content: center; }
  .as-hero .as-plats { width: 100%; margin-top: 28px; }
}
@media (min-width: 961px) and (max-height: 680px) { .as-hero { padding-block: 24px 16px; } .as-hero .as-plats { margin-top: 20px; } }
@media (min-width: 961px) {
  .bento { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .bt { grid-column: span 2; }
  .bt-wide { grid-column: span 3; }
  /* 最后一张横排占满一行：左边画面，右边文字 */
  .bt-row { grid-column: 1 / -1; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto; }
  .bt-row .bt-art { height: auto; min-height: 210px; padding-inline: 40px; }
  .bt-row .bt-model { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); align-items: center; gap: 18px; }
  .bt-row .md-modes { display: grid; gap: 10px; }
  .bt-row .bt-text { align-content: center; padding: 28px 40px; }
}

/* 卡片循环：assistant.js 每轮先给 .is-reset（画面淡出），再重新加 .play 从头播 */
.bt .bt-art > * { transition: opacity .35s ease; }
.bt.is-reset .bt-art > * { opacity: 0; }

/* 截图模式：按键 → 虚线框 + 扫描线 → 思考中 → 答案 */
.bs-page { position: absolute; left: 18px; top: 18px; width: 50%; display: grid; gap: 9px; padding: 14px; border-radius: var(--r-card); background: var(--surface); border: 1px solid var(--line); font-size: var(--fs-xs); }
.bs-page b { color: var(--ink); font-size: var(--fs-xs); }
.bs-page i, .bs-card > i, .fl-page i, .fl-win i, .phone i { display: block; height: 8px; border-radius: var(--r-sm); background: var(--line); }
.bs-page i.s, .bs-card > i.s, .fl-page i.s, .fl-win i.s, .phone i.s { width: 60%; }
.bs-frame { position: absolute; inset: -5px; border: 2px dashed var(--accent); border-radius: var(--r-card); background: color-mix(in srgb, var(--accent) 6%, transparent); }
.bs-scan { position: absolute; left: -5px; right: -5px; top: -5px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, transparent, var(--accent), transparent); box-shadow: 0 0 12px var(--accent); opacity: 0; }
.play .bs-scan { animation: bs-scan 1.1s ease-in-out both; animation-delay: calc(var(--d) * 1s); }
@keyframes bs-scan { 0% { opacity: 0; transform: translateY(0); } 15% { opacity: 1; } 85% { opacity: 1; } 100% { opacity: 0; transform: translateY(78px); } }
.bs-keys { position: absolute; left: 18px; bottom: 18px; display: inline-flex; gap: 6px; }
.bs-keys kbd, .bk-head kbd { display: inline-grid; place-items: center; min-width: 34px; height: 32px; padding: 0 9px; border-radius: var(--r-control); font: 700 13px/1 var(--font); color: var(--ink); background: var(--surface); border: 1px solid var(--line); box-shadow: 0 3px 0 var(--line); }
.play .bs-keys kbd { animation-name: bs-key; }
@keyframes bs-key { 40% { transform: translateY(3px); box-shadow: 0 0 0 var(--line); background: var(--accent-soft); color: var(--accent); border-color: var(--accent); } }
.bs-card { position: absolute; right: 18px; top: 22px; width: 42%; display: grid; gap: 7px; padding: 12px 14px; border-radius: var(--r-card); background: color-mix(in srgb, var(--surface) 90%, transparent); border: 1px solid color-mix(in srgb, var(--accent) 30%, var(--line)); box-shadow: var(--shadow-pop); }
.bs-top { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.bs-chip { padding: 1px 8px; border-radius: var(--r-pill); font-size: var(--fs-2xs); font-weight: calc(700 - var(--polish-weight-adjust)); color: var(--accent); background: var(--accent-soft); }
.bs-think, .bk-dots { display: inline-flex; gap: 3px; opacity: 0; }
.bs-think i, .bk-dots i { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); animation: dot-b 1s ease-in-out infinite; }
.bs-think i:nth-child(2), .bk-dots i:nth-child(2) { animation-delay: .15s; } .bs-think i:nth-child(3), .bk-dots i:nth-child(3) { animation-delay: .3s; }
.play .bs-think { animation: blip .9s ease both; animation-delay: calc(var(--d) * 1s); }
@keyframes dot-b { 0%, 100% { transform: translateY(0); opacity: .45; } 50% { transform: translateY(-3px); opacity: 1; } }
@keyframes blip { 0% { opacity: 0; } 15%, 80% { opacity: 1; } 100% { opacity: 0; } }
.bs-ans { font-size: var(--fs-lg); font-weight: calc(800 - var(--polish-weight-adjust)); color: var(--accent); }
.bs-card > i { position: relative; overflow: hidden; background: transparent; }
.bs-card > i::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: color-mix(in srgb, var(--accent) 30%, var(--line)); }
.bs-time { font-size: var(--fs-2xs); font-weight: calc(700 - var(--polish-weight-adjust)); color: var(--ok-text); }

/* 对话模式：监听条 → 对方的话 → 正在想 → 提示 */
.bt-talk { display: grid; align-content: start; gap: 10px; }
.bk-head { display: flex; align-items: center; justify-content: space-between; }
.bk-live { display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-xs); font-weight: calc(700 - var(--polish-weight-adjust)); color: var(--violet); }
.bk-live i { width: 7px; height: 7px; border-radius: 50%; background: #ef4444; animation: rec 1.4s ease-in-out infinite; }
@keyframes rec { 50% { opacity: .3; } }
.bk-wave { display: inline-flex; align-items: center; gap: 3px; height: 20px; }
.bk-wave i { width: 3px; height: 6px; border-radius: 2px; background: var(--violet); animation: hx-wave 1s ease-in-out infinite; }
.bk-wave i:nth-child(2n) { animation-delay: .2s; } .bk-wave i:nth-child(3n) { animation-delay: .4s; } .bk-wave i:nth-child(5) { animation-delay: .1s; }
.bk-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 10px; align-items: center; position: relative; }
.bk-say { padding: 7px 11px; border-radius: 12px 12px 12px 4px; background: var(--surface); border: 1px solid var(--line); font-size: var(--fs-xs); font-weight: calc(600 - var(--polish-weight-adjust)); color: var(--ink); }
.bk-hint { grid-column: 2; grid-row: 1; padding: 7px 11px; border-radius: var(--r-card); background: var(--violet-soft); font-size: var(--fs-xs); color: var(--ink-2); line-height: 1.45; }
.bk-hint b { display: block; font-size: var(--fs-2xs); color: var(--violet); }
.bk-dots { grid-column: 2; grid-row: 1; justify-self: start; padding: 9px 12px; border-radius: var(--r-card); background: var(--violet-soft); }
.bk-dots i { background: var(--violet); }
.play .bk-dots { animation: blip .8s ease both; animation-delay: calc(var(--d) * 1s); }

/* 资料库：每份文件发出一个光点飞进资料库（文件标为已导入），资料库收到后闪一下，最后吐出一句第一人称回答 */
.bt-kb { display: grid; justify-items: center; align-content: center; gap: 14px; }
.kb-files { display: flex; justify-content: center; gap: 8px; }
.kb-file { position: relative; display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px 5px 6px; border-radius: var(--r-control); background: var(--surface); border: 1px solid color-mix(in srgb, var(--accent) 45%, var(--line)); font-size: var(--fs-xs); font-weight: calc(600 - var(--polish-weight-adjust)); color: var(--ink); white-space: nowrap; box-shadow: var(--shadow); }
.kb-file b { display: grid; place-items: center; min-width: 28px; height: 18px; padding: 0 4px; border-radius: var(--r-sm); background: #ef4444; color: #fff; font-size: 9px; }
.kb-file b.md { background: #0ea5e9; } .kb-file b.tx { background: #64748b; }
.kb-file::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; margin: -5px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px 2px color-mix(in srgb, var(--accent) 60%, transparent); opacity: 0; pointer-events: none; }
.play .kb-file { animation: sx-up .4s ease-out both, kb-done .3s ease-out both; animation-delay: calc(var(--d) * 1s), calc(var(--f) * 1s); }
.play .kb-file::after { animation: kb-ghost .7s cubic-bezier(.5, 0, .5, 1) both; animation-delay: calc(var(--f) * 1s); }
@keyframes kb-done { from { border-color: var(--line); } }
@keyframes kb-ghost { 0% { opacity: 0; transform: none; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { opacity: 0; transform: translate(var(--fx), 48px) scale(.5); } }
.kb-ai { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: var(--r-card); border: 2px dashed var(--accent); background: var(--accent-soft); color: var(--accent); font-weight: calc(700 - var(--polish-weight-adjust)); font-size: var(--fs-sm); white-space: nowrap; }
.kb-ai .as-app-ico { width: 20px; height: 20px; }
.play .kb-ai { animation: kb-hit .45s ease-out 1.85s, kb-hit .45s ease-out 2.25s, kb-hit .45s ease-out 2.65s; }
@keyframes kb-hit { 40% { transform: scale(1.06); box-shadow: 0 0 0 6px var(--accent-soft), 0 0 22px color-mix(in srgb, var(--accent) 45%, transparent); } }
.kb-out { max-width: 100%; padding: 7px 12px; border-radius: var(--r-card); background: var(--surface); border: 1px solid var(--line); font-size: var(--fs-xs); color: var(--ink); line-height: 1.45; text-align: center; }

/* 置顶小窗：小窗浮在题目上 → 透明度调低 → 光标穿过小窗点到下面的题目 */
.fl-page { position: absolute; inset: 18px 26% 18px 18px; display: grid; align-content: start; gap: 9px; padding: 14px; border-radius: var(--r-card); background: var(--surface); border: 1px solid var(--line); font-size: var(--fs-xs); }
.fl-page b { color: var(--ink); }
.fl-hit { position: absolute; left: 14px; right: 30%; top: 36px; height: 14px; border-radius: var(--r-sm); background: color-mix(in srgb, var(--ok) 25%, transparent); opacity: 0; }
.play .fl-hit { animation: blip 1.6s ease both; animation-delay: calc(var(--d) * 1s); }
.fl-win { position: absolute; right: 18px; top: 26px; width: 50%; display: grid; gap: 8px; padding: 10px 12px 12px; border-radius: var(--r-card); background: color-mix(in srgb, var(--surface) 70%, transparent); border: 1px solid color-mix(in srgb, var(--accent) 35%, var(--line)); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); box-shadow: var(--shadow-pop); opacity: .55; }
.fl-bar { display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-2xs); font-weight: calc(700 - var(--polish-weight-adjust)); color: var(--ink); }
.fl-bar .as-app-ico { width: 16px; height: 16px; border-radius: var(--r-sm); }
.fl-win i { background: color-mix(in srgb, var(--accent) 22%, var(--line)); }
.play .fl-win { animation: sx-up .45s ease-out both, fl-fade 1.2s ease-in-out forwards; animation-delay: calc(var(--d) * 1s), 1s; }
@keyframes fl-fade { from { opacity: 1; } to { opacity: .55; } }
.fl-slider { position: absolute; right: 18px; bottom: 22px; width: 50%; height: 6px; border-radius: 3px; background: var(--line); }
.fl-slider::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 55%; border-radius: 3px; background: var(--accent); }
.fl-knob { position: absolute; left: 55%; top: -5px; width: 16px; height: 16px; margin-left: -8px; border-radius: 50%; background: var(--surface); border: 2px solid var(--accent); box-shadow: var(--shadow); }
.play .fl-slider::before { animation: fl-track 1.2s ease-in-out 1s both; }
.play .fl-knob { animation: fl-knob 1.2s ease-in-out both; animation-delay: calc(var(--d) * 1s); }
@keyframes fl-track { from { width: 100%; } }
@keyframes fl-knob { from { left: 100%; } }
.fl-cur { position: absolute; left: 34%; top: 40px; width: 22px; height: 22px; opacity: 0; }
.fl-cur svg { width: 22px; height: 22px; fill: var(--ink); stroke: var(--surface); stroke-width: 1.5; }
.play .fl-cur { animation: fl-cur 1.8s ease-in-out both; animation-delay: calc(var(--d) * 1s); }
@keyframes fl-cur { 0% { opacity: 0; transform: translate(150px, 60px); } 15% { opacity: 1; } 60% { transform: none; } 70% { transform: scale(.85); } 80% { transform: none; } 100% { opacity: 1; transform: none; } }

/* 额度共享：节点闪一下 → 信号沿连线汇到账号 → 额度数字滚动减一 */
.bt-link { display: grid; grid-template-rows: auto 44px auto; align-content: center; padding-block: 12px; }
.lk-hub { justify-self: center; display: flex; align-items: center; gap: 10px; padding: 8px 14px 8px 8px; border-radius: var(--r-card); background: var(--surface); border: 1px solid color-mix(in srgb, var(--accent) 30%, var(--line)); box-shadow: var(--shadow); position: relative; z-index: 1; }
.lk-avatar { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: linear-gradient(150deg, #8f80ff, #3426b8); color: #fff; font-weight: calc(800 - var(--polish-weight-adjust)); font-size: var(--fs-base); }
.lk-meter { display: grid; gap: 3px; min-width: 112px; }
.lk-label { font-size: 10.5px; font-weight: calc(650 - var(--polish-weight-adjust)); color: var(--muted); white-space: nowrap; }
.lk-num { position: relative; display: block; height: 18px; overflow: hidden; }
.lk-num b { position: absolute; left: 0; top: 0; font-size: var(--fs-md); line-height: 18px; font-weight: calc(800 - var(--polish-weight-adjust)); color: var(--ink); font-variant-numeric: tabular-nums; opacity: 0; }
.lk-num b.q3 { opacity: 1; }
.lk-bar { height: 4px; border-radius: 2px; background: var(--line); overflow: hidden; }
.lk-bar i { display: block; height: 100%; width: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--accent), #0ea5e9); transform-origin: left; transform: scaleX(.88); }
.play .lk-num .q0 { animation: q-out .3s ease-in both; animation-delay: calc(var(--o) * 1s); }
.play .lk-num .q1, .play .lk-num .q2 { animation: q-in .3s ease-out both, q-out .3s ease-in forwards; animation-delay: calc(var(--i) * 1s), calc(var(--o) * 1s); }
.play .lk-num .q3 { animation: q-in .3s ease-out both; animation-delay: calc(var(--i) * 1s); }
@keyframes q-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes q-out { from { opacity: 1; transform: none; } to { opacity: 0; transform: translateY(-14px); } }
.play .lk-bar i { animation: q-bar 6s linear both; }
@keyframes q-bar { 0%, 23% { transform: scaleX(1); } 25%, 59% { transform: scaleX(.96); } 61%, 96% { transform: scaleX(.92); } 98%, 100% { transform: scaleX(.88); } }
.play .lk-hub { animation: lk-glow .6s ease-out 1.4s, lk-glow .6s ease-out 3.6s, lk-glow .6s ease-out 5.8s; }
@keyframes lk-glow { 40% { box-shadow: 0 0 0 5px var(--accent-soft), 0 0 24px color-mix(in srgb, var(--accent) 40%, transparent); } }
.lk-wires { display: block; width: 100%; height: 44px; overflow: visible; }
.lk-wire { fill: none; stroke: color-mix(in srgb, var(--accent) 28%, var(--line)); stroke-width: 1.6; stroke-dasharray: 3 4; }
.lk-pkt { fill: none; stroke: var(--accent); stroke-width: 3.5; stroke-linecap: round; stroke-dasharray: 26 140; stroke-dashoffset: 26; }
.play .lk-pkt { animation: lk-go .9s cubic-bezier(.5, 0, .5, 1) both; animation-delay: calc(var(--d) * 1s); }
@keyframes lk-go { from { stroke-dashoffset: 26; } to { stroke-dashoffset: -100; } }
.lk-nodes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.lk-node { position: relative; display: grid; justify-items: center; gap: 5px; font-size: var(--fs-xs); font-weight: calc(650 - var(--polish-weight-adjust)); color: var(--ink); text-align: center; white-space: nowrap; }
.lk-node > i { display: grid; place-items: center; width: 40px; height: 40px; border-radius: var(--r-card); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); color: var(--accent); }
.lk-node > i .ico { width: 20px; height: 20px; }
.lk-node > i .as-app-ico { width: 22px; height: 22px; }
.lk-node em { position: absolute; top: -8px; left: calc(50% + 16px); padding: 0 5px; border-radius: var(--r-pill); font-style: normal; font-size: var(--fs-2xs); line-height: 16px; font-weight: calc(800 - var(--polish-weight-adjust)); color: var(--accent-ink); background: var(--accent); opacity: 0; }
.play .lk-node > i { animation: lk-ping .7s ease-out both; animation-delay: calc(var(--d) * 1s); }
.play .lk-node em { animation: lk-use 1s ease-out both; animation-delay: calc(var(--d) * 1s); }
@keyframes lk-ping { 0% { transform: scale(1); } 35% { transform: scale(1.12); border-color: var(--accent); box-shadow: 0 0 0 6px var(--accent-soft); } 100% { transform: scale(1); } }
@keyframes lk-use { 0% { opacity: 0; transform: translateY(4px); } 25% { opacity: 1; } 100% { opacity: 0; transform: translateY(-14px); } }

/* 账号服务：高亮依次扫过账号与各项服务，回到「已登录」；再显示两种模式都用账号 AI */
.bt-model { display: grid; grid-template-columns: minmax(0, 1fr); align-content: center; gap: 12px; }
.md-list { position: relative; display: grid; gap: 7px; }
.md-row { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 10px; height: 34px; padding: 0 12px; border-radius: var(--r-control); background: color-mix(in srgb, var(--surface) 85%, transparent); border: 1px solid var(--line); font-size: var(--fs-sm); }
.md-row b { color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.md-row em { font-style: normal; }
.md-sel { position: absolute; z-index: 2; left: 0; right: 0; top: 0; height: 34px; border-radius: var(--r-control); border: 2px solid var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); pointer-events: none; }
.play .md-sel { animation: md-scan 2.6s cubic-bezier(.6, 0, .3, 1) .7s both; }
@keyframes md-scan { 0% { transform: translateY(0); opacity: 0; } 10% { opacity: 1; } 30% { transform: translateY(41px); } 50% { transform: translateY(82px); } 70% { transform: translateY(123px); } 100% { transform: translateY(0); opacity: 1; } }
.md-modes { display: none; }
.md-mode { display: grid; gap: 1px; padding: 8px 12px; border-radius: var(--r-card); background: var(--accent-soft); color: var(--accent); font-size: var(--fs-sm); font-weight: calc(700 - var(--polish-weight-adjust)); }
.md-mode small { font-size: var(--fs-2xs); font-weight: calc(650 - var(--polish-weight-adjust)); color: var(--muted); }
.md-mode.v { background: var(--violet-soft); color: var(--violet); }

/* ---------- 场景 ---------- */
.sc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.sc-grid li { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 14px; row-gap: 2px; padding: 18px; border-radius: var(--r-panel); background: var(--polish-layer-2); border: 1px solid transparent; }
.sc-ico { grid-row: 1 / 3; display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--r-card); background: var(--accent-soft); color: var(--accent); }
.sc-ico svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.sc-grid b { font-size: var(--fs-lg); color: var(--ink); padding-right: 44px; }
.sc-grid p { color: var(--muted); font-size: var(--fs-base); line-height: 1.55; }
.sc-mode { position: absolute; top: 16px; right: 16px; padding: 1px 8px; border-radius: var(--r-pill); font-size: var(--fs-2xs); font-weight: calc(700 - var(--polish-weight-adjust)); color: var(--accent); background: var(--accent-soft); }
.sc-mode.v { color: var(--violet); background: var(--violet-soft); }

/* ---------- 教程 ---------- */
.as-tut-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px; max-width: none; }
.as-tut-head > div:first-child { display: grid; gap: 10px; }
.os-pick { display: inline-flex; padding: 4px; border-radius: calc(var(--r-control) + 4px); background: var(--polish-layer-2); border: 1px solid var(--control-line); }
.os-pick button { min-height: 40px; padding: 0 18px; border: 0; border-radius: var(--r-control); background: transparent; font: inherit; font-size: var(--fs-base); font-weight: calc(650 - var(--polish-weight-adjust)); color: var(--ink-2); cursor: pointer; }
.os-pick button[aria-checked="true"] { background: var(--accent-soft); color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.as-show .win-body { height: 380px; }
.as-pkg { background: #334155; }
.dmg { display: flex; align-items: center; justify-content: space-around; gap: 10px; padding: 22px 12px; border-radius: var(--r-card); background: var(--surface-2); border: 1px solid var(--line); font-size: var(--fs-xs); font-weight: calc(650 - var(--polish-weight-adjust)); color: var(--ink); }
.dmg-app, .dmg-dir { display: grid; justify-items: center; gap: 6px; }
.dmg-app .as-app-ico { width: 48px; height: 48px; }
.dmg-dir .ins-dir { width: 52px; height: 40px; border-radius: var(--r-sm); background: #5aa9f5; }
.dmg-dir .ins-dir::before { width: 22px; height: 7px; top: -6px; background: #5aa9f5; }
.dmg-arrow { font-size: var(--fs-3xl); color: var(--muted); }
.play .as-drag { animation: as-drag 1.4s cubic-bezier(.5, 0, .3, 1) both; animation-delay: calc(var(--d) * 1s); }
@keyframes as-drag { 0% { transform: none; } 70% { transform: translateX(160%) scale(.9); opacity: 1; } 100% { transform: translateX(160%) scale(.6); opacity: 0; } }
.wiz { display: grid; gap: 12px; padding: 16px; border-radius: var(--r-card); background: var(--surface-2); border: 1px solid var(--line); font-size: var(--fs-sm); }
.wiz-bar { position: relative; height: 8px; border-radius: var(--r-sm); background: var(--line); overflow: hidden; }
.wiz-bar i { position: absolute; inset: 0; }
.wiz-bar i::after { content: ""; position: absolute; inset: 0; width: 100%; border-radius: var(--r-sm); background: var(--accent); }
.wiz .m-btn { justify-self: end; }
.gk { display: grid; gap: 4px; justify-items: start; padding: 14px 16px; border-radius: var(--r-card); border: 1px solid var(--line); background: var(--surface-2); box-shadow: var(--shadow); font-size: var(--fs-sm); }
.gk b { color: var(--ink); }
.gk small { color: var(--muted); margin-bottom: 6px; }
.ap-bar { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: var(--r-control); border: 1px solid var(--line); background: var(--surface-2); font-size: var(--fs-sm); }
.ap-bar b.dim { color: var(--muted); font-weight: calc(600 - var(--polish-weight-adjust)); }
.ap-gear { margin-left: auto; display: grid; place-items: center; width: 28px; height: 28px; border-radius: var(--r-control); color: var(--ink-2); background: var(--surface); }
.ap-gear svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.set-nav { display: flex; flex-wrap: wrap; gap: 6px; font-size: var(--fs-xs); }
.set-nav span { padding: 5px 10px; border-radius: var(--r-control); color: var(--muted); background: var(--surface-2); }
.set-nav span.on { color: var(--accent); background: var(--accent-soft); font-weight: calc(700 - var(--polish-weight-adjust)); }
.tq { position: relative; display: grid; gap: 8px; padding: 14px; border-radius: var(--r-card); border: 1px solid var(--line); background: var(--surface-2); font-size: var(--fs-sm); color: var(--ink-2); }
.tq b { color: var(--ink); }
.tq-flash { position: absolute; inset: -4px; border: 2px dashed var(--accent); border-radius: var(--r-card); opacity: 0; }
.play .tq-flash { animation: hx-snap 1.4s ease-out both; animation-delay: calc(var(--d) * 1s); }
.kc { display: inline-flex; align-items: center; gap: 6px; align-self: center; color: var(--muted); }
.kc kbd { min-width: 38px; height: 34px; font-size: var(--fs-base); border-radius: var(--r-control); box-shadow: 0 3px 0 var(--line); }
.kc-s kbd { min-width: 0; height: 22px; font-size: var(--fs-2xs); padding: 0 6px; box-shadow: none; }
.ans { display: grid; gap: 8px; justify-items: start; padding: 14px; border-radius: var(--r-card); background: var(--accent-soft); border: 1px solid color-mix(in srgb, var(--accent) 25%, transparent); font-size: var(--fs-base); color: var(--ink-2); }
.ans-big { font-size: var(--fs-3xl); font-weight: calc(800 - var(--polish-weight-adjust)); color: var(--accent); }
.ans-sub { font-size: var(--fs-xs); color: var(--muted); }
.tk { display: grid; gap: 10px; }
.tk-say { justify-self: start; max-width: 80%; padding: 9px 12px; border-radius: 12px 12px 12px 4px; background: var(--surface-2); font-size: var(--fs-sm); font-weight: calc(600 - var(--polish-weight-adjust)); color: var(--ink); }
.tk-hint { padding: 12px 14px; border-radius: var(--r-card); background: var(--violet-soft); font-size: var(--fs-sm); color: var(--ink-2); }
.tk-hint > b { font-size: var(--fs-xs); color: var(--violet); }
.tk-hint > p { color: var(--ink); font-weight: calc(650 - var(--polish-weight-adjust)); margin: 2px 0 6px; }
.tk-hint ul { margin: 0; padding-left: 18px; display: grid; gap: 2px; }
.tri3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding: 12px 4px; }
.t3 { display: grid; justify-items: center; gap: 6px; font-size: var(--fs-xs); font-weight: calc(650 - var(--polish-weight-adjust)); color: var(--ink); text-align: center; }
.t3 > i { display: grid; place-items: center; width: 48px; height: 48px; border-radius: var(--r-card); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); color: var(--accent); }
.t3 > i .ico { width: 22px; height: 22px; }
.t3 > i .as-app-ico { width: 26px; height: 26px; }
.t3 small { font-weight: calc(600 - var(--polish-weight-adjust)); color: var(--muted); }
.t3 small.ok { color: var(--ok-text); }
.sync { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px; align-items: center; }
/* 手机端演示视频：左文右视频（竖屏），手机上视频在下 */
.pv { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: center; margin-top: 28px; padding: 32px 40px; }
.pv-text { display: grid; gap: 12px; justify-items: start; }
.pv-text h3 { font-size: var(--fs-4xl); }
.pv-text p { color: var(--ink-2); font-size: var(--fs-lg); line-height: 1.65; }
.pv-steps { display: grid; gap: 10px; margin: 4px 0 8px; padding: 0; list-style: none; }
.pv-steps li { display: flex; align-items: center; gap: 10px; font-size: var(--fs-md); font-weight: calc(600 - var(--polish-weight-adjust)); color: var(--ink); }
.pv-steps b { flex: none; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-size: var(--fs-xs); }
.pv-media { width: 270px; }
.pv-video { display: block; width: 100%; height: auto; aspect-ratio: 9 / 16; border-radius: var(--r-panel); border: 1px solid var(--line); background: var(--surface-2); box-shadow: var(--shadow-pop); }
@media (max-width: 760px) { .pv { grid-template-columns: 1fr; gap: 24px; padding: 24px 20px; } .pv-media { width: min(100%, 300px); justify-self: center; } }
/* 多端联动（#connect）：左边一列说明 + 三个点沿线飘向右边的手机 */
.sync-col { display: grid; gap: 10px; min-width: 0; }
.sync-wire { display: flex; justify-content: flex-end; gap: 10px; padding-right: 4px; }
.sync-wire i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.play .sync-wire i { animation: sync-pkt .9s ease-in-out both; animation-delay: calc(var(--d) * 1s); }
@keyframes sync-pkt { 0% { opacity: 0; transform: translateX(-46px); } 40% { opacity: 1; } 100% { opacity: .35; transform: none; } }
.as-tut-head > .btn { flex: none; }
.phone { position: relative; display: grid; gap: 7px; align-content: start; width: 112px; height: 196px; padding: 26px 12px 12px; border-radius: var(--r-panel); border: 3px solid var(--ink-2); background: var(--surface); font-size: var(--fs-xs); }
.phone-notch { position: absolute; top: 6px; left: 50%; width: 36px; height: 8px; border-radius: var(--r-sm); background: var(--ink-2); transform: translateX(-50%); }
.phone b { color: var(--muted); font-size: var(--fs-2xs); }
.phone-ans { font-size: var(--fs-lg); font-weight: calc(800 - var(--polish-weight-adjust)); color: var(--accent); }

/* ---------- 快捷键 ---------- */
.keys { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 16px; margin: 0; }
.keys > div { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border-radius: var(--r-card); background: var(--polish-layer-2); border: 1px solid transparent; }
.keys dt { color: var(--ink); font-weight: calc(600 - var(--polish-weight-adjust)); font-size: var(--fs-md); }
.keys dd { margin: 0; flex: none; }
.keys dd > span { display: inline-flex; gap: 5px; }
.as-page .keys kbd { min-width: 30px; height: 30px; font-size: var(--fs-sm); }

/* ---------- 插件 vs 桌面版 ---------- */
.cmp-wrap { max-width: 760px; margin: 0 auto; border-radius: var(--r-panel); border: 1px solid transparent; background: var(--polish-layer-2); overflow: hidden; }
.cmp { width: 100%; border-collapse: collapse; font-size: var(--fs-md); }
.cmp th, .cmp td { padding: 13px 18px; border-bottom: 1px solid var(--line-2); text-align: center; }
.cmp tr:last-child th, .cmp tr:last-child td { border-bottom: 0; }
.cmp tbody th { text-align: left; font-weight: calc(600 - var(--polish-weight-adjust)); color: var(--ink); }
.cmp thead th { font-size: var(--fs-base); color: var(--muted); font-weight: calc(700 - var(--polish-weight-adjust)); background: var(--surface-2); }
.cmp thead th.hl { color: var(--accent); }
.cmp td.hl, .cmp thead th.hl { background: color-mix(in srgb, var(--accent) 7%, transparent); }
.cmp td.y { color: var(--ok-text); font-weight: calc(800 - var(--polish-weight-adjust)); }
.cmp td.n { color: var(--muted); font-size: var(--fs-sm); }
.cmp-foot { margin-top: 16px; text-align: center; color: var(--ink-2); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ---------- 按场景选择工具 ---------- */
.as-choose { padding-block: 52px; background: color-mix(in srgb, var(--accent-soft) 35%, var(--bg)); }
.as-choose-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; max-width: 900px; margin: 0 auto; }
.as-choose-card { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 26px; }
.as-choose-card h3 { font-size: var(--fs-2xl); }
.as-choose-card p { color: var(--ink-2); font-size: var(--fs-md); }
.as-choose-card .btn { margin-top: auto; }
/* 完整对比和快捷键都是查阅用的参考，按需展开，不占介绍页的阅读顺序 */
.as-compare { max-width: 760px; margin: 22px auto 0; }
.as-compare .cmp-wrap { margin-top: 12px; border-radius: var(--r-card); }
.as-keys { margin-top: 28px; }
.as-keys .os-pick { margin: 12px 0 14px; }
.as-choose-next { margin-top: 18px; text-align: center; color: var(--ink-2); }

/* ---------- 下载 ---------- */
.dl-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; max-width: 900px; margin: 0 auto; }
.dl { position: relative; display: flex; flex-direction: column; gap: 16px; padding: 26px; border-radius: var(--r-panel); }
.dl.is-current { border-color: transparent; box-shadow: var(--shadow); background: var(--polish-layer-3); }
.dl-you { position: absolute; top: 18px; right: 18px; }
.dl-head { display: flex; align-items: center; gap: 14px; }
.dl-head h3 { font-size: var(--fs-3xl); }
.dl-head small { color: var(--muted); font-size: var(--fs-base); }
.dl-ico { display: grid; place-items: center; width: 52px; height: 52px; border-radius: var(--r-card); background: var(--surface-2); flex: none; }
.dl-ico .ico { width: 28px; height: 28px; }
.dl-btn { align-self: stretch; min-height: 50px; font-size: var(--fs-lg); gap: 8px; }
.dl-size { font-weight: calc(500 - var(--polish-weight-adjust)); opacity: .8; font-size: var(--fs-base); }
.dl-size:empty { display: none; }
.dl-notes { margin: 0; padding-left: 18px; color: var(--ink-2); font-size: var(--fs-base); display: grid; gap: 4px; }
/* 安装步骤默认收起：两张卡的折叠条都紧跟下载按钮；有一张展开时各卡按自己的内容定高，另一张不跟着被拉长 */
.dl-grid:has(.term[open]) { align-items: start; }
.dl .term > summary { min-height: 52px; }
.dl .term > summary { white-space: nowrap; }
.dl .term > summary small { text-align: right; white-space: normal; }
.dl .term .more-body { display: grid; gap: 10px; padding-top: 14px; }
.dl .term .more-body p { color: var(--ink-2); font-size: var(--fs-base); }
.dl .term > summary { font-size: var(--fs-md); }
.dl-also { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; max-width: 900px; margin: 18px auto 0; }
.dl-mini { display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 12px 16px; border-radius: var(--r-card); background: var(--polish-layer-2); border: 1px solid transparent; color: var(--ink); }
.dl-mini:hover { text-decoration: none; border-color: transparent; background: var(--polish-layer-3); }
.dl-mini > span:last-child { display: grid; min-width: 0; }
.dl-mini b { font-size: var(--fs-md); }
.dl-mini small { color: var(--muted); font-size: var(--fs-sm); }
.dl-mini-ico { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: var(--r-card); background: var(--surface-2); }
.dl-mini-ico .ico { width: 22px; height: 22px; }
.dl-mini-ico.duo { position: relative; }
.dl-mini-ico.duo .ico { position: absolute; width: 20px; height: 20px; }
.dl-mini-ico.duo .ico:first-child { left: 5px; top: 5px; }
.dl-mini-ico.duo .ico:last-child { right: 5px; bottom: 5px; }
.dl-mini .as-app-ico { width: 24px; height: 24px; }
.dl-btn .ico { width: 19px; height: 19px; }

/* ---------- 常见问题 / 收尾 ---------- */
.as-faq { margin: 0 auto; }
.as-faq + .faq-more { margin-inline: auto; }
.as-rule { max-width: 820px; margin: 22px auto 0; display: grid; gap: 4px; border-left-color: var(--warn); }
.as-rule b { color: var(--ink); }
.as-end-card { position: relative; display: grid; justify-items: center; gap: 12px; padding: 56px 24px; border-radius: var(--r-panel); text-align: center; overflow: hidden;
  background: var(--polish-layer-2); border: 1px solid transparent; }
.as-end-card p { color: var(--ink-2); font-size: var(--fs-lg); }
.as-end-card .as-end-ver { color: var(--muted); font-size: var(--fs-base); }
.as-end-ico { width: 64px; height: 64px; border-radius: var(--r-panel); }

/* ---------- 窄屏 ---------- */
@media (max-width: 960px) {
  .as-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .hx { max-width: 640px; width: 100%; margin: 0 auto; }
  .sc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .bento { grid-template-columns: minmax(0, 1fr); }
  .bt, .bt-wide { grid-column: auto; }
  .bt:hover { transform: none; border-color: transparent; background: var(--polish-layer-3); }
  .keys { grid-template-columns: minmax(0, 1fr); }
  .dl-grid, .dl-also, .as-choose-grid { grid-template-columns: minmax(0, 1fr); }
  .dl-you { position: static; align-self: flex-start; order: -1; }
}
@media (max-width: 640px) {
  .as-hero { padding-block: 32px 24px; }
  .as-cta .as-btn-xl { flex: 1 1 100%; }
  .hx { height: 430px; font-size: var(--fs-xs); }
  .hx-sub { display: none !important; }
  .hx-back { width: 92%; height: 220px; }
  .hx-back-body { padding: 12px 14px; }
  .hx-q code:last-of-type { display: none; }
  .hx-app { width: 86%; height: 316px; }
  .hx-glow { inset: 20% 0 0 0; }
  .sc-grid { grid-template-columns: minmax(0, 1fr); }
  .sc-grid li { padding: 14px; }
  .as-show .win-body { height: 350px; }
  .cmp th, .cmp td { padding: 11px 10px; font-size: var(--fs-base); }
  .dl { padding: 20px; }
  .as-end-card { padding: 40px 18px; border-color: transparent; background: var(--polish-layer-2); }
  .sync { grid-template-columns: minmax(0, 1fr); justify-items: center; }
  .phone { height: 150px; width: 104px; }
}
@media (prefers-reduced-motion: reduce) {
  .bk-wave i, .hx-speak i, .bk-live i, .bs-think i, .bk-dots i, .hx-thinking i { animation: none !important; }
  .bt, .bt:hover { transition: none; transform: none; }
}
.as-show .ins-ph > .m-btn, .as-show .ins-ph > .kc { align-self: flex-start; }

.dl-note-s { font-size: var(--fs-sm); color: var(--muted); }

/* 教程第 1 步 Windows：SmartScreen 蓝色拦截框（和下载卡 win-open 动画同款配色） */
.wss { display: grid; gap: 6px; padding: 14px 16px 10px; color: #fff; background: #0a5fb4; font-family: "Segoe UI", "Microsoft YaHei UI", var(--font); box-shadow: var(--shadow); }
.wss b { font-size: var(--fs-lg); font-weight: 300; }
.wss small { font-size: var(--fs-xs); color: rgb(255 255 255 / .9); }
.wss-more { justify-self: start; font-size: var(--fs-xs); text-decoration: underline; text-underline-offset: 2px; }
.wss-foot { display: flex; justify-content: flex-end; gap: 8px; padding-top: 8px; border-top: 1px solid rgb(255 255 255 / .2); }
.wss-foot span { padding: 3px 14px; font-size: var(--fs-xs); border: 1px solid rgb(255 255 255 / .85); }
.wiz small { font-size: var(--fs-xs); color: var(--muted); }
