:root {
  --bg: #fbfaf8;
  --fg: #1d1d1f;
  --muted: #6b6b70;
  --line: #e6e3de;
  --card: #ffffff;
  --accent: #2f6fed;
  --accent-fg: #ffffff;
  --note: #f3efe7;
  --accent2: #8b5cf6;
  --glow: rgba(47, 111, 237, .14);
  --shadow: 0 18px 50px -18px rgba(20, 30, 60, .28);
  /* 电视画面和演示用的浅色界面（用户要求科技感但不要太深） */
  --scr: linear-gradient(160deg, #f7f9ff 0%, #edf1fa 100%);
  --pn: #ffffff;
  --pn2: #f6f8fc;
  --pn-line: #e2e7f1;
  --pn-shadow: 0 10px 28px -14px rgba(30, 45, 90, .28);
  --ink: #1f2a44;
  --ink2: #6b7690;
  --ok: #16a34a;
  --cy: #06b6d4;
  --vi: #8b5cf6;
  --am: #f59e0b;
  --bl: #2f6fed;
  --mono: ui-monospace, SFMono-Regular, Menlo, monospace;
  --sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", sans-serif;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #141416;
    --fg: #ececee;
    --muted: #9a9aa2;
    --line: #2a2a2e;
    --card: #1c1c1f;
    --accent: #6d9bff;
    --accent-fg: #0b0b0c;
    --note: #222226;
    --accent2: #a78bfa;
    --glow: rgba(109, 155, 255, .16);
    --shadow: 0 18px 50px -18px rgba(0, 0, 0, .7);
    --scr: linear-gradient(160deg, #1d2232 0%, #171b27 100%);
    --pn: #232938;
    --pn2: #1d2230;
    --pn-line: #313849;
    --pn-shadow: 0 10px 28px -14px rgba(0, 0, 0, .6);
    --ink: #e6e9f2;
    --ink2: #9aa3b8;
    --ok: #4ade80;
    --bl: #6d9bff;
    color-scheme: dark;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 16px/1.7 var(--sans); }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 16px; }
/* 顶部导航吸顶、底部版权吸底，页面滚动时都不动 */
body { min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1 0 auto; width: 100%; min-width: 0; padding-bottom: 64px; }
.top { border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; background: var(--bg); }
.top .wrap { display: flex; align-items: center; gap: 24px; min-height: 60px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--fg); font-size: 17px; }
.brand:hover { text-decoration: none; }
.brand img { border-radius: 7px; }
.top nav { display: flex; gap: 20px; flex-wrap: wrap; flex: 1; }
.top nav a { color: var(--muted); font-size: 15px; }
.top nav a[aria-current] { color: var(--fg); font-weight: 600; }
.lang { font-size: 14px; color: var(--muted); border: 1px solid var(--line); padding: 2px 10px; border-radius: 999px; }
h1 { font-size: 34px; line-height: 1.25; margin: 48px 0 12px; letter-spacing: -0.01em; }
h2 { font-size: 22px; margin: 32px 0 12px; }
h3 { font-size: 17px; margin: 0 0 6px; }
.lead { font-size: 18px; color: var(--muted); max-width: 680px; margin: 0 0 24px; }
.muted { color: var(--muted); }
.actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn { display: inline-block; background: var(--accent); color: var(--accent-fg); padding: 10px 22px; border-radius: 10px; font-weight: 600; }
.btn:hover { text-decoration: none; }
.btn.ghost { background: var(--card); color: var(--fg); border: 1px solid var(--line); }
.note { background: var(--note); border-radius: 10px; padding: 12px 16px; font-size: 14px; color: var(--muted); max-width: 760px; }
.release { border-top: 1px solid var(--line); padding: 20px 0; }
.release h2 { margin: 0; font-size: 20px; }
.release .meta { color: var(--muted); font-size: 14px; }
.faq details { border-bottom: 1px solid var(--line); padding: 14px 0; max-width: 760px; }
.faq summary { cursor: pointer; font-weight: 600; }
.faq p { color: var(--muted); margin: 10px 0 0; }
.contact { display: grid; grid-template-columns: auto 1fr; gap: 8px 20px; }
.contact dt { color: var(--muted); }
.contact dd { margin: 0; }
.legal { max-width: 760px; }
.legal table { border-collapse: collapse; width: 100%; font-size: 14px; margin: 12px 0; display: block; overflow-x: auto; }
.legal th, .legal td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
.legal th { background: var(--note); }
code { font: 0.9em var(--mono); background: var(--note); padding: 1px 5px; border-radius: 4px; }
footer { border-top: 1px solid var(--line); padding: 16px 0; font-size: 14px; color: var(--muted); position: sticky; bottom: 0; z-index: 10; background: var(--bg); }
footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
footer .icp { color: inherit; text-decoration: none; }
footer .icp:hover { text-decoration: underline; }

/* ================= 动效（11-21 改版）=================
   只动 transform / opacity，统一 ease-out；微交互 100–300ms；prefers-reduced-motion 时全部关掉（见文件末尾） */

/* 滚动显示 + 错峰进场：site.js 进视口时加 .in，同组按顺序给 transition-delay */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
/* 跟随鼠标倾斜的卡片：进场后换成快速过渡，跟手 */
.js [data-tilt].reveal.in { transition: opacity .6s var(--ease), transform .2s var(--ease); }

/* 鼠标聚光灯：site.js 把鼠标位置写进 --mx / --my，只改这一层的 opacity */
[data-spot] { position: relative; isolation: isolate; }
[data-spot]::before { content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1; pointer-events: none; opacity: 0; transition: opacity .3s var(--ease);
  background: radial-gradient(var(--spot-r, 320px) circle at var(--mx, 50%) var(--my, 50%), var(--glow), transparent 70%); }
[data-spot].spot-on::before { opacity: 1; }

/* 按钮：流光扫过 + 磁吸（site.js 改 transform） */
.btn { position: relative; overflow: hidden; transition: transform .2s var(--ease); }
.btn > span { position: relative; z-index: 1; }
.shine::after { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 60%; transform: translateX(-160%) skewX(-20deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .45), transparent); animation: shine 3.6s var(--ease) infinite 1.2s; }
@keyframes shine { 0% { transform: translateX(-160%) skewX(-20deg); } 35%, 100% { transform: translateX(260%) skewX(-20deg); } }
.magnet { will-change: transform; }

/* 区块大标题：和首屏标题同一种渐变 */
.sec-title { display: block; width: fit-content; font-size: 36px; line-height: 1.2; letter-spacing: -0.02em; margin: 80px 0 24px;
  background: linear-gradient(120deg, var(--fg) 30%, var(--accent) 75%, var(--accent2)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- 首屏 ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 11fr) minmax(0, 13fr); gap: 48px; align-items: center; padding: 56px 0 40px; --spot-r: 460px; }
.hero h1 { font-size: 46px; line-height: 1.15; margin: 0 0 18px; letter-spacing: -0.02em;
  background: linear-gradient(120deg, var(--fg) 30%, var(--accent) 70%, var(--accent2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { margin-bottom: 28px; }
.hero-bg { position: absolute; inset: -40px -16px 0; z-index: -2; overflow: hidden; pointer-events: none; }
.hero-bg .orb { position: absolute; width: 460px; height: 460px; border-radius: 50%; filter: blur(70px); opacity: .55; will-change: transform; }
.hero-bg .o1 { background: radial-gradient(circle, var(--glow), transparent 70%); left: -120px; top: -80px; }
.hero-bg .o2 { background: radial-gradient(circle, rgba(139, 92, 246, .16), transparent 70%); right: -80px; top: 80px; }
.hero-bg .grid-bg { position: absolute; inset: 0; will-change: transform;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 44px 44px; opacity: .45;
  -webkit-mask-image: radial-gradient(ellipse at 60% 30%, #000 10%, transparent 70%); mask-image: radial-gradient(ellipse at 60% 30%, #000 10%, transparent 70%); }
.hero-visual { perspective: 1400px; }
.tilt-inner { position: relative; transform-style: preserve-3d; transition: transform .25s var(--ease); will-change: transform; }
.tilt-inner > img { display: block; width: 100%; height: auto; border-radius: 14px; border: 1px solid var(--line); box-shadow: var(--shadow); background: var(--card); }
/* 打字机终端小窗 */
.term { position: absolute; left: -44px; bottom: -48px; width: min(330px, 62%); background: #0f1115; color: #d6dae3; border-radius: 12px; box-shadow: 0 20px 50px -14px rgba(0, 0, 0, .55); transform: translateZ(40px); border: 1px solid rgba(255, 255, 255, .08); }
.term-bar { display: flex; gap: 6px; padding: 9px 12px; }
.term-bar i { width: 10px; height: 10px; border-radius: 50%; background: #3a3f4b; }
.term-bar i:first-child { background: #ff5f57; } .term-bar i:nth-child(2) { background: #febc2e; } .term-bar i:nth-child(3) { background: #28c840; }
.term pre { margin: 0; padding: 2px 14px 12px; min-height: 124px; font: 12.5px/1.65 var(--mono); white-space: pre-wrap; word-break: break-all; }
.term .p { color: #7ee787; } .term .o { color: #8b93a7; }
.term .cur { display: inline-block; width: 7px; height: 1.1em; vertical-align: -2px; background: #d6dae3; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
/* 首屏数字：一行，数字递增 + 少量弹性 */
.hero-stats { display: flex; gap: 28px; flex-wrap: wrap; margin: 28px 0 0; color: var(--muted); font-size: 15px; }
.hs { display: inline-flex; align-items: baseline; gap: 6px; }
.hs strong { font-size: 30px; line-height: 1; color: var(--fg); font-variant-numeric: tabular-nums; display: inline-block; }
.js .hero-stats.reveal .hs strong { transform: scale(.6); transition: transform .7s var(--spring) .3s; }
.js .hero-stats.reveal.in .hs strong { transform: none; }
/* 跑马灯：悬停暂停 */
.marquee { overflow: hidden; margin: 28px 0 8px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee ul { display: flex; gap: 14px; width: max-content; list-style: none; margin: 0; padding: 6px 0; animation: marquee 38s linear infinite; }
.marquee:hover ul { animation-play-state: paused; }
.marquee li { padding: 7px 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); color: var(--muted); font-size: 14px; white-space: nowrap; transition: transform .2s var(--ease); }
.marquee li:hover { transform: translateY(-2px); }
@keyframes marquee { to { transform: translateX(calc(-50% - 7px)); } }

/* ---------- Claude 扩展能力：画面在上、一句话在下，不套卡片框，留足空白（用户 11-21：别像 PPT） ---------- */
.play-list { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.play-item { min-width: 0; }
.demo-box { border-radius: 20px; --spot-r: 260px; }
.play-item h3 { font-size: 20px; line-height: 1.35; margin: 22px 0 6px; }
.play-item p { margin: 0; color: var(--muted); font-size: 15px; }
.demo { height: 210px; border-radius: 20px; background: var(--scr); border: 1px solid var(--pn-line); box-shadow: 0 24px 50px -36px rgba(30, 45, 90, .45); position: relative; overflow: hidden; font: 12.5px/1.7 var(--mono); }
/* 1. 切账号：账号牌翻面，对话行继续往下出 */
.dw-bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; border-bottom: 1px solid var(--pn-line); background: var(--pn); }
.dw-bar > i { width: 9px; height: 9px; border-radius: 50%; background: var(--pn-line); }
.acct { position: relative; margin-left: auto; height: 22px; width: 150px; }
.acct b { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; border-radius: 999px; font-weight: 600; font-size: 11.5px; }
.acct .a1 { background: rgba(47, 111, 237, .12); color: var(--bl); animation: acc1 8s var(--ease) infinite; }
.acct .a2 { background: rgba(245, 158, 11, .16); color: #b45309; opacity: 0; animation: acc2 8s var(--ease) infinite; }
@keyframes acc1 { 0%, 40% { opacity: 1; transform: none; } 46%, 94% { opacity: 0; transform: translateY(-12px); } 100% { opacity: 1; transform: none; } }
@keyframes acc2 { 0%, 42% { opacity: 0; transform: translateY(12px); } 48%, 92% { opacity: 1; transform: none; } 98%, 100% { opacity: 0; transform: translateY(12px); } }
.dw-body { padding: 10px 14px; }
.dw-body .ln { margin: 0 0 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dw-body .u { color: var(--ink); font-weight: 600; } .dw-body .o { color: var(--ink2); } .dw-body .sw { color: #b45309; } .dw-body .c { color: var(--ok); }
.dw-body .o { animation: ln-o 8s var(--ease) infinite; }
.dw-body .sw { animation: ln-sw 8s var(--ease) infinite; }
.dw-body .c { animation: ln-c 8s var(--ease) infinite; }
@keyframes ln-o { 0%, 12% { opacity: 0; transform: translateY(6px); } 18%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes ln-sw { 0%, 46% { opacity: 0; transform: translateY(6px); } 52%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes ln-c { 0%, 62% { opacity: 0; transform: translateY(6px); } 68%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; } }
/* 2. 迁移：会话 · 记忆 从左边服务器飞到右边 */
.demo-migrate { display: flex; align-items: center; justify-content: space-between; padding: 0 14px; }
.srv { width: 34%; padding: 12px 10px; border-radius: 12px; background: var(--pn); border: 1px solid var(--pn-line); box-shadow: var(--pn-shadow); text-align: center; position: relative; z-index: 1; }
.srv b { display: block; color: var(--ink); font: 600 13px/1.4 var(--sans); }
.srv span { display: block; color: var(--ink2); font-size: 10.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.srv.s2::after { content: ""; position: absolute; inset: -4px; border-radius: 15px; border: 2px solid rgba(22, 163, 74, .45); opacity: 0; animation: s2glow 3.6s var(--ease) infinite; }
@keyframes s2glow { 0%, 72% { opacity: 0; transform: scale(.96); } 80% { opacity: 1; transform: none; } 100% { opacity: 0; transform: scale(1.04); } }
.track { position: absolute; left: 22%; right: calc(22% + 92px); top: 50%; margin-top: -13px; height: 26px; }
.track::before { content: ""; position: absolute; left: 0; right: -92px; top: 50%; border-top: 1.5px dashed var(--pn-line); }
.mover { width: 100%; height: 100%; animation: mv 3.6s var(--ease) infinite; }
@keyframes mv { 0% { transform: translateX(0); opacity: 0; } 15% { opacity: 1; } 75% { opacity: 1; } 85%, 100% { transform: translateX(100%); opacity: 0; } }
.pkt { display: inline-block; width: 92px; height: 26px; line-height: 26px; text-align: center; border-radius: 999px; background: linear-gradient(90deg, #6366f1, #8b5cf6); color: #fff; font: 600 11.5px/26px var(--sans); box-shadow: 0 8px 18px -8px rgba(99, 102, 241, .8); }
/* 3. 无所不能：Claude → App（代管密码）→ 服务器 / 数据库 / 浏览器 */
.demo-reach { display: grid; grid-template-columns: auto 1fr auto; align-items: center; padding: 0 12px; }
.demo-reach .node { padding: 8px 12px; border-radius: 10px; background: rgba(217, 119, 87, .14); color: #c2410c; font-weight: 700; position: relative; z-index: 1; }
.hub { justify-self: center; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 10px 12px; border-radius: 12px; background: var(--pn); border: 1px solid rgba(99, 102, 241, .35); box-shadow: var(--pn-shadow); position: relative; z-index: 1; color: #4f46e5; }
.hub b { color: var(--ink); font: 600 12.5px/1.3 var(--sans); } .hub span { color: var(--ink2); font-size: 10.5px; font-family: var(--sans); }
.hub::after { content: ""; position: absolute; inset: -6px; border-radius: 16px; border: 1.5px solid rgba(99, 102, 241, .45); animation: halo 2.4s var(--ease) infinite; }
@keyframes halo { 0% { transform: scale(.9); opacity: .9; } 100% { transform: scale(1.25); opacity: 0; } }
.demo-reach::before, .demo-reach::after { content: ""; position: absolute; top: 50%; height: 0; border-top: 1.5px dashed var(--pn-line); }
.demo-reach::before { left: 70px; right: 52%; } .demo-reach::after { left: 52%; right: 92px; }
.targets { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; position: relative; z-index: 1; }
.targets li { display: flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 8px; background: var(--pn); border: 1px solid var(--pn-line); color: var(--ink); font: 12px/1.3 var(--sans); }
.targets .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); animation: ping 2.4s var(--ease) infinite; }
.targets li:nth-child(2) .dot { animation-delay: .4s; } .targets li:nth-child(3) .dot { animation-delay: .8s; }
@keyframes ping { 0%, 100% { transform: scale(1); opacity: .6; } 30% { transform: scale(1.6); opacity: 1; } }
/* 五个辅助功能：一排图标标签，说明在悬停提示里（读屏读 .sr 里的同一句） */
.kit { list-style: none; margin: 56px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.kit-chip { position: relative; display: inline-flex; align-items: center; gap: 10px; padding: 8px 18px 8px 8px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-size: 15px; font-weight: 600; cursor: default; outline: none; }
.js .kit-chip.reveal.in { transition: opacity .6s var(--ease), transform .2s var(--ease); }
.kit-chip:hover, .kit-chip:focus-visible { transform: translateY(-2px); }
.kit-chip:focus-visible { box-shadow: 0 0 0 3px var(--glow); }
.kit-ico { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; color: #fff; }
.ki-0 { background: linear-gradient(135deg, #3b82f6, #6366f1); } .ki-1 { background: linear-gradient(135deg, #06b6d4, #0ea5e9); }
.ki-2 { background: linear-gradient(135deg, #8b5cf6, #d946ef); } .ki-3 { background: linear-gradient(135deg, #f59e0b, #f97316); }
.ki-4 { background: linear-gradient(135deg, #10b981, #14b8a6); }
.kit-chip::after { content: attr(data-tip); position: absolute; left: 50%; bottom: calc(100% + 10px); z-index: 5; width: max-content; max-width: 260px; padding: 8px 12px; border-radius: 10px;
  background: var(--fg); color: var(--bg); font-size: 13px; font-weight: 500; line-height: 1.55; text-align: left; white-space: normal; box-shadow: var(--shadow);
  opacity: 0; transform: translate(-50%, 4px); pointer-events: none; transition: opacity .2s var(--ease), transform .2s var(--ease); }
.kit-chip:hover::after, .kit-chip:focus-visible::after { opacity: 1; transform: translate(-50%, 0); }
/* 触屏没有悬停；窄屏上提示会伸出屏幕撑出横向滚动：都不画（读屏照样读 .sr） */
@media (hover: none), (max-width: 760px) { .kit-chip::after { display: none; } }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* 引流通栏 */
.play-cta { margin: 40px auto 0; max-width: 820px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 18px 18px 18px 26px; border-radius: 999px;
  background: linear-gradient(100deg, #fff7ed, #eef2ff); border: 1px solid #fcd9a8; }
.play-cta > div > b { display: block; font-size: 17px; }
.play-cta > div > span { color: var(--muted); font-size: 14px; }
.play-cta .btn { border-radius: 999px; }
.play-cta .btn { flex-shrink: 0; }
@media (prefers-color-scheme: dark) { .play-cta { background: linear-gradient(100deg, rgba(245, 158, 11, .12), rgba(99, 102, 241, .14)); border-color: rgba(251, 191, 36, .3); } }

/* ---------- 六大模块：电视 ----------
   宽屏：.tv-stage 很高，.tv-sticky 吸顶，滚动进度决定播第几台（site.js）；窄屏：频道横排，点或自动轮播 */
.tv-sec { margin-top: 96px; }
.tv-stage { position: relative; height: calc(100vh + var(--n, 6) * 55vh); }
.tv-sticky { position: sticky; top: 72px; height: calc(100vh - 72px - 64px); display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 40px; align-items: center; }
.ch-col { min-width: 0; }
.ch-col .sec-title { margin: 0 0 22px 14px; font-size: 32px; }
.ch-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.ch-item { position: relative; isolation: isolate; width: 100%; display: grid; grid-template-columns: 30px 1fr; align-items: center; gap: 8px 10px; padding: 12px 14px;
  border: 0; border-radius: 12px; background: transparent; color: var(--muted); font: inherit; text-align: left; cursor: pointer; }
.ch-item::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: var(--card); border: 1px solid var(--line); box-shadow: 0 10px 24px -16px rgba(30, 45, 90, .3); opacity: 0; transform: scale(.97); transition: opacity .25s var(--ease), transform .25s var(--ease); }
.ch-item.on { color: var(--fg); }
.ch-item.on::before { opacity: 1; transform: none; }
.ch-no { font: 600 12px var(--mono); color: var(--accent); }
.ch-name { font-size: 16px; font-weight: 600; }
.ch-bar { grid-column: 1 / -1; display: block; height: 2px; border-radius: 2px; background: var(--line); overflow: hidden; }
.ch-bar b { display: block; height: 100%; background: linear-gradient(90deg, var(--accent), var(--accent2)); transform: scaleX(0); transform-origin: left; }
.tv-wrap { display: flex; flex-direction: column; align-items: center; min-width: 0; }
.tv { width: min(100%, calc((100vh - 72px - 64px - 140px) * 1.6 + 28px)); padding: 14px; border-radius: 30px; --spot-r: 520px;
  background: linear-gradient(165deg, #ffffff, #e8ecf5); border: 1px solid #dde2ee;
  box-shadow: 0 40px 80px -40px rgba(30, 45, 90, .45), inset 0 1px 0 #fff, inset 0 -3px 8px rgba(30, 45, 90, .06); }
.tv-screen { position: relative; aspect-ratio: 16 / 10; border-radius: 16px; overflow: hidden; background: var(--scr); box-shadow: inset 0 0 0 1px rgba(30, 45, 90, .1), inset 0 12px 30px rgba(30, 45, 90, .06); }
.tv-screen::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(0deg, rgba(30, 45, 90, .022) 0 1px, transparent 1px 3px); }
@supports not (aspect-ratio: 16 / 10) { .tv-screen { height: 0; padding-top: 62.5%; } }
.tv-canvas { position: absolute; left: 0; top: 0; width: 800px; height: 500px; transform-origin: 0 0; transform: scale(var(--k, 1)); }
.tv-glare { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(115deg, rgba(255, 255, 255, .5) 0%, rgba(255, 255, 255, 0) 32%); }
.tv-flash { position: absolute; inset: 0; pointer-events: none; background: #fff; opacity: 0; }
.tv.zap .tv-flash { animation: zap .4s var(--ease); }
@keyframes zap { 0% { opacity: .75; } 100% { opacity: 0; } }
.tv-osd { position: absolute; top: 12px; right: 14px; padding: 2px 9px; border-radius: 7px; background: rgba(255, 255, 255, .85); color: var(--accent); font: 600 12px var(--mono); opacity: 0; pointer-events: none; }
.tv.zap .tv-osd { animation: osd 1.6s var(--ease); }
@keyframes osd { 0% { opacity: 0; transform: translateY(-4px); } 10%, 70% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.caps { position: relative; width: 100%; max-width: 640px; height: 84px; margin-top: 16px; text-align: center; }
.cap { position: absolute; inset: 0; opacity: 0; transform: translateY(10px); transition: opacity .35s var(--ease), transform .35s var(--ease); pointer-events: none; }
.cap.on { opacity: 1; transform: none; pointer-events: auto; }
.cap h3 { font-size: 21px; margin: 0 0 4px; }
.cap p { margin: 0; color: var(--muted); font-size: 15px; }
@media (prefers-color-scheme: dark) {
  .tv { background: linear-gradient(165deg, #2a3040, #1f2431); border-color: #333a4b; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .06); }
  .tv-glare { background: linear-gradient(115deg, rgba(255, 255, 255, .08) 0%, transparent 32%); }
    .tv-osd { background: rgba(30, 35, 48, .85); }
}

/* 画面：每一台按 800×500 画；只有当前台（.on）的动画在跑 */
.scene { position: absolute; inset: 0; opacity: 0; transform: scale(.97); transition: opacity .45s var(--ease), transform .5s var(--ease); pointer-events: none; font-family: var(--sans); color: var(--ink); }
.scene.on { opacity: 1; transform: none; }
.scene .win, .ctree, .chat, .clock, .runs, .dbtree, .sqlw, .xbuild { position: absolute; }
.scene .win, .ctree, .chat, .clock, .runs, .dbtree, .sqlw, .xbuild, .xcard { background: var(--pn); border: 1px solid var(--pn-line); border-radius: 14px; box-shadow: var(--pn-shadow); overflow: hidden; }
.live { flex-shrink: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--ok); display: inline-block; }
.scene.on .live { animation: live 1.8s var(--ease) infinite; }
@keyframes live { 50% { transform: scale(1.4); opacity: .7; } }
@keyframes pop { 0%, 30% { opacity: 0; transform: scale(.6); } 36%, 90% { opacity: 1; transform: none; } 100% { opacity: 0; } }

/* 主机：终端（分屏、断线重连）+ 监控仪表 + 文件传输 */
.w-host { left: 40px; top: 30px; width: 720px; height: 440px; }
.w-tabs { display: flex; align-items: center; gap: 6px; height: 42px; padding: 0 12px; border-bottom: 1px solid var(--pn-line); background: var(--pn2); }
.tab { display: inline-flex; align-items: center; gap: 7px; height: 28px; padding: 0 12px; border-radius: 8px; font: 500 13px var(--mono); color: var(--ink2); }
.tab.on { background: var(--pn); color: var(--ink); box-shadow: 0 1px 2px rgba(30, 45, 90, .12); }
.tab i { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); }
.rc { margin-left: auto; font: 600 12px var(--sans); color: #0e7490; background: #cffafe; padding: 4px 11px; border-radius: 999px; opacity: 0; }
.scene.on .rc { animation: pop 6s var(--spring) infinite; }
.hbody { display: grid; grid-template-columns: minmax(0, 1fr) 300px; height: calc(100% - 42px); }
.pane { padding: 16px 18px; font: 14px/1.9 var(--mono); overflow: hidden; }
.tl p { margin: 0; white-space: nowrap; opacity: 0; }
.d0 { --d: 0; } .d1 { --d: 1; } .d2 { --d: 2; } .d3 { --d: 3; } .d4 { --d: 4; } .d5 { --d: 5; }
.n5 { --n: 5; } .n6 { --n: 6; } .n7 { --n: 7; } .n8 { --n: 8; }
.scene.on .tl p { animation: line 6s var(--ease) infinite; animation-delay: calc(var(--d) * .32s); }
@keyframes line { 0% { opacity: 0; transform: translateY(6px); } 6%, 90% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.tl b { color: var(--ok); } .tl i { color: var(--ink2); font-style: normal; } .tl em { color: var(--ok); font-style: normal; } .tl u { text-decoration: none; color: var(--bl); }
.hside { display: flex; flex-direction: column; gap: 12px; padding: 14px; background: var(--pn2); border-left: 1px solid var(--pn-line); }
.hg, .hx { background: var(--pn); border: 1px solid var(--pn-line); border-radius: 12px; }
.hg { display: grid; grid-template-columns: repeat(3, 1fr); padding: 14px 4px 12px; }
.hg .gauge svg { width: 66px; height: 66px; }
.hg .gauge b { font-size: 14px; transform: translate(-50%, -82%); }
.hx { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 12px; padding: 16px; }
.hx-f { margin: 0; display: flex; align-items: center; gap: 10px; font: 600 14px var(--sans); white-space: nowrap; }
.fi { flex-shrink: 0; display: inline-block; width: 14px; height: 18px; border-radius: 2px 6px 2px 2px; background: #c7d2fe; }
.q-bar { display: block; height: 8px; border-radius: 8px; background: var(--pn-line); overflow: hidden; }
.q-bar b { display: block; height: 100%; background: linear-gradient(90deg, var(--bl), var(--vi)); transform: scaleX(0); transform-origin: left; }
.scene.on .q-bar b { animation: fill 5s var(--ease) infinite; }
@keyframes fill { 0%, 12% { transform: scaleX(0); } 64%, 100% { transform: scaleX(1); } }
.q-st { position: relative; display: block; height: 22px; font: 600 13px var(--sans); }
.q-st em { position: absolute; inset: 0; font-style: normal; }
.q-st .up { color: var(--bl); } .q-st .dn { color: var(--ok); opacity: 0; }
.scene.on .q-st .up { animation: stA 5s infinite; } .scene.on .q-st .dn { animation: stB 5s infinite; }
@keyframes stA { 0%, 64% { opacity: 1; } 68%, 100% { opacity: 0; } }
@keyframes stB { 0%, 64% { opacity: 0; } 68%, 96% { opacity: 1; } 100% { opacity: 0; } }

/* 仪表盘（主机那幕） */
.gauge { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
.gauge svg { width: 92px; height: 92px; transform: rotate(-90deg); }
.g-bg { fill: none; stroke: var(--pn-line); stroke-width: 8; }
.g-fg { fill: none; stroke-width: 8; stroke-linecap: round; }
.g-cy { stroke: var(--cy); } .g-vi { stroke: var(--vi); } .g-am { stroke: var(--am); }
.scene.on .gauge svg { animation: ringIn 1.1s var(--ease) both; }
@keyframes ringIn { from { opacity: 0; transform: rotate(-220deg) scale(.8); } to { opacity: 1; transform: rotate(-90deg); } }
.gauge b { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -70%); font: 700 20px var(--sans); }
.gauge span { font: 600 12.5px var(--sans); color: var(--ink2); }

/* 4 内置浏览器 */
.w-web { left: 40px; top: 30px; width: 720px; height: 440px; }
.w-addr { height: 46px; display: flex; align-items: center; gap: 10px; padding: 0 14px; border-bottom: 1px solid var(--pn-line); background: var(--pn2); }
.w-addr i { width: 11px; height: 13px; border-radius: 3px; background: var(--ok); }
.w-addr span { flex: 1; height: 30px; display: flex; align-items: center; padding: 0 12px; border-radius: 8px; background: var(--pn); border: 1px solid var(--pn-line); font: 13px var(--mono); color: var(--ink2); }
.w-addr .ask { font: 600 13px var(--sans); font-style: normal; color: #fff; background: var(--bl); padding: 6px 13px; border-radius: 8px; }
.w-page { position: relative; height: calc(100% - 46px); background: var(--pn2); }
.login { position: absolute; left: 50%; top: 50%; width: 300px; transform: translate(-50%, -50%); background: var(--pn); border: 1px solid var(--pn-line); border-radius: 14px; padding: 22px; box-shadow: var(--pn-shadow); display: flex; flex-direction: column; gap: 12px; }
.scene.on .login { animation: lgOut 7s var(--ease) infinite; }
@keyframes lgOut { 0%, 52% { opacity: 1; transform: translate(-50%, -50%); } 58%, 94% { opacity: 0; transform: translate(-50%, -56%); } 100% { opacity: 1; transform: translate(-50%, -50%); } }
.lg-h { font: 800 20px var(--sans); color: var(--bl); letter-spacing: .06em; }
.login label { display: flex; flex-direction: column; gap: 6px; font: 600 12px var(--sans); color: var(--ink2); }
.fld { position: relative; height: 36px; border-radius: 8px; border: 1px solid var(--pn-line); background: var(--pn2); display: flex; align-items: center; padding: 0 10px; overflow: hidden; }
.fld .typed { font: 600 14px var(--mono); color: var(--ink); letter-spacing: .04em; }
.fld::after { content: ""; position: absolute; top: 0; bottom: 0; left: 8px; right: 0; background: var(--pn2); transform-origin: right; }
.scene.on label:nth-of-type(1) .fld::after { animation: unveil1 7s steps(6) infinite; }
.scene.on label:nth-of-type(2) .fld::after { animation: unveil2 7s steps(8) infinite; }
@keyframes unveil1 { 0%, 8% { transform: scaleX(1); } 20%, 100% { transform: scaleX(0); } }
@keyframes unveil2 { 0%, 18% { transform: scaleX(1); } 30%, 100% { transform: scaleX(0); } }
.key { align-self: flex-start; font: 600 12px var(--sans); color: #92400e; background: #fef3c7; padding: 3px 11px; border-radius: 999px; opacity: 0; }
.scene.on .key { animation: keyPop 7s var(--spring) infinite; }
@keyframes keyPop { 0%, 30% { opacity: 0; transform: scale(.6); } 35%, 52% { opacity: 1; transform: none; } 58%, 100% { opacity: 0; } }
.lg-btn { height: 38px; border-radius: 9px; background: var(--bl); color: #fff; font: 600 14px var(--sans); display: grid; place-items: center; }
.scene.on .lg-btn { animation: btnPress 7s var(--ease) infinite; }
@keyframes btnPress { 0%, 46% { transform: none; } 49% { transform: scale(.93); } 52%, 100% { transform: none; } }
.dash { position: absolute; inset: 24px; display: flex; flex-direction: column; gap: 10px; opacity: 0; }
.dash p { height: 44px; margin: 0; border-radius: 9px; background: var(--pn); border: 1px solid var(--pn-line);
  background-image: linear-gradient(90deg, var(--pn-line) 0 120px, transparent 120px 160px, var(--pn-line) 160px 260px, transparent 260px); background-size: 100% 10px; background-repeat: no-repeat; background-position: 16px center; }
.dash p:first-child { background-color: rgba(47, 111, 237, .08); }
.scene.on .dash { animation: dashIn 7s var(--ease) infinite; }
@keyframes dashIn { 0%, 56% { opacity: 0; transform: translateY(8px); } 62%, 94% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.toast { position: absolute; right: 22px; bottom: 22px; font: 600 14px var(--sans); color: #fff; background: #15803d; padding: 11px 18px; border-radius: 11px; box-shadow: 0 14px 30px -12px rgba(22, 163, 74, .6); opacity: 0; }
.scene.on .toast { animation: toast 7s var(--ease) infinite; }
@keyframes toast { 0%, 68% { opacity: 0; transform: translateY(10px); } 74%, 94% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.cursor { position: absolute; left: 0; top: 0; opacity: 0; filter: drop-shadow(0 4px 6px rgba(30, 45, 90, .3)); }
.scene.on .cursor { animation: cur 7s var(--ease) infinite; }
@keyframes cur { 0%, 34% { opacity: 0; transform: translate(620px, 360px); } 38% { opacity: 1; transform: translate(600px, 350px); } 46% { opacity: 1; transform: translate(356px, 338px); } 49% { transform: translate(356px, 338px) scale(.85); } 52% { opacity: 1; transform: translate(356px, 338px); } 62%, 100% { opacity: 0; transform: translate(356px, 338px); } }

/* 5 Claude 会话 */
.ctree { left: 40px; top: 34px; width: 200px; height: 432px; padding: 14px 12px; }
.ctree p { margin: 0 0 2px; height: 36px; display: flex; align-items: center; gap: 8px; padding: 0 10px; border-radius: 9px; font-size: 13.5px; color: var(--ink2); white-space: nowrap; }
.ctree .h { font-weight: 700; color: var(--ink); margin-top: 6px; }
.ctree .c { padding-left: 22px; }
.ctree .c.on { background: rgba(217, 119, 87, .12); color: #c2410c; font-weight: 600; }
.chat { left: 260px; right: 40px; top: 34px; height: 432px; padding: 22px 24px 16px; display: flex; flex-direction: column; gap: 14px; }
.b-user { align-self: flex-end; max-width: 72%; margin: 0; padding: 12px 16px; border-radius: 16px 16px 4px 16px; background: linear-gradient(135deg, #2f6fed, #6366f1); color: #fff; font: 600 15px var(--sans); opacity: 0; }
.scene.on .b-user { animation: msgIn 7s var(--ease) infinite; }
@keyframes msgIn { 0%, 3% { opacity: 0; transform: translateY(10px); } 9%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.tools { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.tools li { display: flex; align-items: center; gap: 10px; width: max-content; padding: 8px 14px; border-radius: 10px; background: var(--pn2); border: 1px solid var(--pn-line); font: 600 13.5px var(--mono); opacity: 0; }
.scene.on .tools li { animation: toolIn 7s var(--ease) infinite; animation-delay: calc(var(--d) * .55s); }
@keyframes toolIn { 0%, 12% { opacity: 0; transform: translateX(-10px); } 18%, 90% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.st { position: relative; width: 14px; height: 14px; }
.st i { position: absolute; inset: 0; font-style: normal; }
.spin { border-radius: 50%; border: 2px solid var(--pn-line); border-top-color: var(--bl); }
.ok { color: var(--ok); font: 700 13px/14px var(--sans); text-align: center; opacity: 0; }
.scene.on .spin { animation: spin .8s linear infinite, spinOff 7s infinite; animation-delay: 0s, calc(var(--d) * .55s); }
.scene.on .ok { animation: okOn 7s infinite; animation-delay: calc(var(--d) * .55s); }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes spinOff { 0%, 27% { opacity: 1; } 30%, 100% { opacity: 0; } }
@keyframes okOn { 0%, 27% { opacity: 0; } 30%, 90% { opacity: 1; } 100% { opacity: 0; } }
.b-ai { align-self: flex-start; max-width: 80%; margin: 0; padding: 12px 16px; border-radius: 16px 16px 16px 4px; background: var(--pn2); border: 1px solid var(--pn-line); font: 600 15px var(--sans); opacity: 0; }
.scene.on .b-ai { animation: aiIn 7s var(--ease) infinite; }
@keyframes aiIn { 0%, 52% { opacity: 0; transform: translateY(10px); } 58%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.cstat { margin: auto 0 0; padding-top: 12px; border-top: 1px dashed var(--pn-line); font: 12.5px var(--mono); color: var(--ink2); }

/* 6 定时任务 */
.clock { left: 40px; top: 34px; width: 300px; height: 432px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; }
.clock svg { width: 210px; height: 210px; }
.face { fill: var(--pn2); stroke: var(--pn-line); stroke-width: 2; }
.tick { stroke: var(--ink2); stroke-width: 2.5; stroke-linecap: round; }
.hh, .mh { stroke-linecap: round; transform-origin: 60px 60px; }
.hh { stroke: var(--ink); stroke-width: 5; } .mh { stroke: var(--bl); stroke-width: 3.5; }
.hub-dot { fill: var(--bl); }
.scene.on .mh { animation: rot 4s linear infinite; } .scene.on .hh { animation: rot 48s linear infinite; }
@keyframes rot { to { transform: rotate(360deg); } }
.clock b { font: 700 20px var(--sans); }
.aih { font: 600 13px var(--sans); color: #6d28d9; background: rgba(139, 92, 246, .12); padding: 5px 13px; border-radius: 999px; }
.scene.on .aih { animation: breathe 2.4s var(--ease) infinite; }
@keyframes breathe { 50% { transform: scale(1.06); } }
.runs { left: 360px; right: 40px; top: 34px; height: 432px; list-style: none; margin: 0; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.runs li { position: relative; display: flex; align-items: center; height: 70px; padding: 0 18px; border-radius: 12px; background: var(--pn2); font: 600 15px var(--mono); opacity: 0; }
.scene.on .runs li { animation: runIn 7s var(--ease) infinite; animation-delay: calc(var(--d, 0) * .22s); }
@keyframes runIn { 0%, 4% { opacity: 0; transform: translateY(8px); } 10%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.runs em { margin-left: auto; font: 600 13px var(--sans); font-style: normal; color: var(--ok); background: rgba(22, 163, 74, .1); padding: 4px 11px; border-radius: 999px; }
.runs .now em { position: absolute; right: 18px; }
.runs .r1 { color: var(--bl); background: rgba(47, 111, 237, .1); } .runs .r2 { opacity: 0; }
.scene.on .runs .r1 { animation: stR1 7s infinite; } .scene.on .runs .r2 { animation: stR2 7s infinite; }
@keyframes stR1 { 0%, 48% { opacity: 1; } 52%, 100% { opacity: 0; } }
@keyframes stR2 { 0%, 48% { opacity: 0; } 52%, 92% { opacity: 1; } 100% { opacity: 0; } }

/* 数据库：连接树（经 SSH 隧道）→ SQL 一行行写出 → 运行 → 结果逐行出现 */
.dbtree { left: 40px; top: 34px; width: 200px; height: 432px; padding: 14px 12px; }
.dbtree p { margin: 0 0 2px; height: 34px; display: flex; align-items: center; gap: 8px; padding: 0 10px; border-radius: 8px; font: 13.5px var(--mono); color: var(--ink2); white-space: nowrap; }
.dbtree .h { font: 700 14px var(--sans); color: var(--ink); }
.dbtree .h2 { margin-top: 12px; }
.dbtree .t { padding-left: 28px; }
.dbtree .t.on { background: rgba(47, 111, 237, .1); color: var(--bl); font-weight: 600; }
.tun { display: inline-block; margin: 0 0 8px 28px; font: 600 11.5px var(--sans); color: #0e7490; background: #cffafe; padding: 2px 9px; border-radius: 999px; }
.pg { flex-shrink: 0; width: 9px; height: 9px; border-radius: 50%; background: #64748b; display: inline-block; }
.sqlw { left: 260px; right: 40px; top: 34px; height: 432px; display: flex; flex-direction: column; }
.sql-bar { height: 42px; flex-shrink: 0; display: flex; align-items: center; gap: 10px; padding: 0 14px; border-bottom: 1px solid var(--pn-line); background: var(--pn2); }
.sql-tab { font: 600 13px var(--mono); background: var(--pn); padding: 5px 12px; border-radius: 8px; box-shadow: 0 1px 2px rgba(30, 45, 90, .12); }
.sql-run { margin-left: auto; font: 600 13px var(--sans); color: #fff; background: #15803d; padding: 5px 14px; border-radius: 8px; }
.scene.on .sql-run { animation: runPress 7s var(--ease) infinite; }
@keyframes runPress { 0%, 36% { transform: none; } 39% { transform: scale(.9); } 42%, 100% { transform: none; } }
.sql-ed { padding: 14px 18px; font: 14px/1.85 var(--mono); border-bottom: 1px solid var(--pn-line); }
.sql-ed .ln { display: block; white-space: nowrap; opacity: 0; }
.sql-ed b { color: #7c3aed; } .sql-ed u { text-decoration: none; color: var(--bl); }
.scene.on .sql-ed .ln { animation: sqlIn 7s var(--ease) infinite; animation-delay: calc(var(--d) * .32s); }
@keyframes sqlIn { 0%, 2% { opacity: 0; transform: translateX(-6px); } 8%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.res { width: calc(100% - 36px); margin: 12px 18px 0; border-collapse: collapse; font: 14px var(--mono); }
.res th { text-align: left; font: 600 12px var(--sans); color: var(--ink2); padding: 7px 10px; border-bottom: 1px solid var(--pn-line); }
.res td { padding: 8px 10px; border-bottom: 1px solid var(--pn-line); }
.res td + td, .res th + th { text-align: right; }
.res tbody tr { opacity: 0; }
.scene.on .res tbody tr { animation: rowIn 7s var(--ease) infinite; animation-delay: calc(var(--d) * .16s); }
@keyframes rowIn { 0%, 44% { opacity: 0; transform: translateY(6px); } 50%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.res-foot { margin-top: auto; display: flex; align-items: center; padding: 12px 18px; border-top: 1px dashed var(--pn-line); font: 12.5px var(--mono); color: var(--ink2); opacity: 0; }
.res-foot em { margin-left: auto; font: 600 13px var(--sans); font-style: normal; color: var(--bl); background: rgba(47, 111, 237, .1); padding: 4px 12px; border-radius: 8px; }
.scene.on .res-foot { animation: footIn 7s var(--ease) infinite; }
@keyframes footIn { 0%, 52% { opacity: 0; } 58%, 92% { opacity: 1; } 100% { opacity: 0; } }

/* 智能体库：几位专家（第一位在干活），右边 AI 帮建一位新专家，建好后出现在列表里 */
.xgrid { position: absolute; left: 40px; top: 34px; width: 440px; height: 432px; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: repeat(3, 1fr); gap: 12px; }
.xcard { position: relative; display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 14px 18px; }
.xico { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; color: #fff; font: 700 17px var(--sans); }
.x0 { background: linear-gradient(135deg, #f97316, #ef4444); } .x1 { background: linear-gradient(135deg, #ec4899, #8b5cf6); }
.x2 { background: linear-gradient(135deg, #3b82f6, #6366f1); } .x3 { background: linear-gradient(135deg, #14b8a6, #10b981); }
.x4 { background: linear-gradient(135deg, #8b5cf6, #d946ef); }
.xcard b { font: 700 16px var(--sans); }
.xn { font: 12.5px var(--sans); color: var(--ink2); }
.xcard .bar { position: absolute; left: 0; bottom: 0; width: 100%; height: 3px; background: linear-gradient(90deg, var(--bl), var(--vi)); transform: scaleX(0); transform-origin: left; }
.scene.on .xcard .bar { animation: busy 2.2s var(--ease) infinite; }
@keyframes busy { 0% { transform: scaleX(0); opacity: 1; } 85% { transform: scaleX(1); opacity: 1; } 100% { transform: scaleX(1); opacity: 0; } }
.xnew { border-color: #c4b5fd; opacity: 0; }
.scene.on .xnew { animation: xnewIn 7s var(--spring) infinite; }
@keyframes xnewIn { 0%, 62% { opacity: 0; transform: scale(.85); } 68%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.xbuild { left: 500px; right: 40px; top: 34px; height: 432px; padding: 20px 18px; display: flex; flex-direction: column; gap: 14px; }
.xb-h { margin: 0; font: 700 15px var(--sans); color: #6d28d9; }

/* ---------- 价格页 / 下载页 ---------- */
.page-head { padding: 8px 0 4px; --spot-r: 520px; }
.pricing-bar { display: flex; gap: 12px; flex-wrap: wrap; margin: 8px 0 4px; }
.seg { position: relative; display: inline-flex; padding: 3px; gap: 3px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); }
.seg button { position: relative; z-index: 1; border: 0; background: transparent; color: var(--muted); font: inherit; font-size: 14px; padding: 6px 16px; border-radius: 9px; cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--accent); color: var(--accent-fg); }
.js .seg button[aria-pressed="true"] { background: transparent; }
.seg-ind { position: absolute; top: 3px; bottom: 3px; left: 0; width: 0; border-radius: 9px; background: var(--accent); transform-origin: left center; transition: transform .3s var(--ease); }
.downloads, .plans { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr)); gap: 18px; margin: 24px 0; }
.plan, .dl { display: flex; flex-direction: column; gap: 8px; padding: 24px; border-radius: 20px; background: var(--card); border: 1px solid var(--line); --spot-r: 300px; }
.plan h2, .dl h2 { display: flex; align-items: center; gap: 10px; margin: 0 0 6px; font-size: 19px; }
.plan .muted { margin: 0; }
.price { font-size: 32px; font-weight: 700; margin: 0; font-variant-numeric: tabular-nums; }
.price .per { font-size: 15px; font-weight: 500; color: var(--muted); }
.price.flip { animation: priceIn .32s var(--ease); }
@keyframes priceIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.badge { font: 600 12px/1.6 var(--sans); color: #fff; background: linear-gradient(90deg, var(--accent), var(--accent2)); padding: 1px 10px; border-radius: 999px; }
/* 推荐套餐：流星沿外框转。.meteor 只露出 2px 的边（mask 挖掉内容区），里面那颗亮点由旋转的锥形渐变带出来 */
.plan-all { border: 2px solid var(--line); }
@supports (color: color-mix(in srgb, red, blue)) {
  .plan-all { border-color: color-mix(in srgb, var(--accent) 28%, var(--line)); box-shadow: 0 24px 60px -30px color-mix(in srgb, var(--accent) 60%, transparent); }
}
.meteor { position: absolute; inset: -2px; border-radius: inherit; padding: 2px; overflow: hidden; pointer-events: none;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask-composite: exclude; }
.meteor::before { content: ""; position: absolute; left: 50%; top: 50%; width: 250%; aspect-ratio: 1; margin: -125% 0 0 -125%;
  background: conic-gradient(from 0deg, transparent 0 74%, rgba(139, 92, 246, .3) 84%, var(--accent) 94%, #fff 97.5%, transparent 98%); animation: spin 3.4s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.team { padding: 4px 24px 20px; margin: 8px 0 32px; border-radius: 20px; background: var(--card); border: 1px solid var(--line); }
.team h2 { margin-top: 18px; }
.team-soon { margin: 4px 0 0; font-size: 15px; }
.compare-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; margin: 0 0 32px; }
.compare { border-collapse: collapse; width: 100%; min-width: 520px; font-size: 15px; background: var(--card); }
.compare th, .compare td { padding: 11px 14px; border-bottom: 1px solid var(--line); text-align: left; }
.compare thead th { background: var(--note); font-weight: 600; }
.compare th + th, .compare .mark { text-align: center; width: 112px; white-space: nowrap; }
.compare .mark { color: var(--accent); font-weight: 700; }
.compare .mark i { display: inline-block; font-style: normal; }
.js .compare-wrap.reveal .mark i { transform: scale(0); transition: transform .5s var(--spring); transition-delay: calc(.25s + var(--r, 0) * 45ms); }
.js .compare-wrap.reveal.in .mark i { transform: none; }
.compare tbody tr:last-child td { border-bottom: 0; }
.dl { position: relative; }
.dl-ico { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--accent), var(--accent2)); margin-bottom: 8px; box-shadow: 0 12px 24px -12px var(--accent); }
.dl dl { display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; font-size: 14px; color: var(--muted); margin: 0 0 16px; }
.dl dd { margin: 0; color: var(--fg); }
.dl .btn { align-self: flex-start; margin-top: auto; }
.dl.mine { border-color: var(--accent); }
@supports (color: color-mix(in srgb, red, blue)) {
  .dl.mine { border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); box-shadow: 0 24px 60px -32px color-mix(in srgb, var(--accent) 70%, transparent); }
}
.dl .badge { position: absolute; top: 22px; right: 22px; }

/* ---------- 窄屏 ---------- */
@media (max-width: 959px) {
  .hero { grid-template-columns: 1fr; gap: 36px; padding-top: 32px; }
  .term { left: 12px; bottom: -24px; }
  .play-list { grid-template-columns: 1fr; gap: 36px; }
  .play-cta { border-radius: 20px; }
  .tv-sec { margin-top: 56px; }
  .tv-stage { height: auto; }
  .tv-sticky { position: static; height: auto; display: block; }
  .ch-col .sec-title { margin: 0 0 14px; font-size: 28px; }
  .ch-list { flex-direction: row; overflow-x: auto; gap: 8px; padding: 2px 2px 12px; margin: 0 -2px; scrollbar-width: none; }
  .ch-list::-webkit-scrollbar { display: none; }
  .ch-item { width: auto; white-space: nowrap; padding: 9px 14px; grid-template-columns: auto auto; }
  .ch-name { font-size: 15px; }
  .tv { width: 100%; padding: 10px; border-radius: 22px; }
  .tv-screen { border-radius: 12px; }
  .caps { height: auto; min-height: 96px; }
  .sec-title { font-size: 28px; margin-top: 56px; }
}
@media (max-width: 640px) {
  h1 { font-size: 28px; margin-top: 32px; }
  .hero h1 { font-size: 36px; }
  .term { width: 78%; }
  .term pre { min-height: 112px; font-size: 11.5px; }
  .top .wrap { gap: 10px; padding-top: 10px; padding-bottom: 10px; }
  .top nav { order: 3; flex-basis: 100%; gap: 14px; }
  .lang { margin-left: auto; }
  /* 手机上版权栏不吸底，免得占掉一大块屏幕 */
  footer { position: static; }
}

/* 深色模式：浅色模式里写死的几种强调色在深色面板上看不清，放在最后统一覆盖 */
@media (prefers-color-scheme: dark) {
  .aih { color: #c4b5fd; background: rgba(139, 92, 246, .2); }
  .acct .a2, .dw-body .sw { color: #fcd34d; }
  .ctree .c.on, .demo-reach .node { color: #fdba74; }
  .chip.press, .w-addr .ask, .lg-btn { background: #2f6fed; border-color: #2f6fed; }
  .badge { color: var(--accent-fg); }
}

/* ---------- 减少动态效果：动画全关，画面停在完成后的样子 ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal, .js .hero-stats.reveal .hs strong, .js .compare-wrap.reveal .mark i { opacity: 1; transform: none; }
  .marquee ul { flex-wrap: wrap; width: auto; }
  .marquee ul li:nth-child(n + 13) { display: none; }
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .acct .a1 { opacity: 0; } .acct .a2, .dw-body .ln { opacity: 1; transform: none; }
  .mover { transform: translateX(50%); }
  .rc, .tl p, .key, .toast, .b-user, .tools li, .ok, .b-ai, .runs li, .runs .r2, .q-st .dn, .sql-ed .ln, .res tbody tr, .res-foot, .xnew { opacity: 1; }
  .runs .r1, .q-st .up, .spin, .cursor, .dash { opacity: 0; }
  .q-bar b { transform: none; }
  .fld::after { transform: scaleX(0); }
  .scene { transition: none; }
}
