/* 共享速搜 官网
   和软件同一套：浅灰底、几乎白的面板、蓝色强调、圆角 18、只在需要的地方用阴影。
   字体只用系统字体：国内访问不依赖任何外部字体或 CDN。 */

:root {
  --paper: #F4F5F7;
  --paper-deep: #ECEEF2;
  --panel: #FAFAFC;
  --panel-solid: #FFFFFF;
  --tile: #EEF0F3;
  --line: #E4E6EB;
  --line-strong: #D2D5DC;
  --ink: #14161B;
  --slate: #5D6372;
  --mist: #959BA8;
  --accent: #2457E6;
  --accent-hover: #1E4AC7;
  --accent-soft: #EAF0FD;
  --accent-ring: rgba(36, 87, 230, .25);
  --amber: #E39A1C;
  --green: #22A55B;

  --font: "Segoe UI Variable Text", "Segoe UI", -apple-system, "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei UI", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  --font-display: "Segoe UI Variable Display", "Segoe UI", -apple-system, "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei UI", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  --font-mono: "Cascadia Mono", "SF Mono", Consolas, "Microsoft YaHei UI", monospace;

  --ease: cubic-bezier(.16, 1, .3, 1);       /* 指数缓出：和软件里的 Smooth 一致 */
  --ease-soft: cubic-bezier(.33, 1, .68, 1);
  --radius-panel: 18px;
  --radius-tile: 11px;
  --shadow-panel: 0 24px 60px -18px rgba(20, 30, 60, .28), 0 2px 6px rgba(20, 30, 60, .05);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.75 var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
code {
  font: 13px/1 var(--font-mono);
  background: var(--tile);
  border-radius: 6px;
  padding: 3px 6px;
  color: var(--ink);
}
.skip { position: absolute; left: -999px; top: 8px; background: var(--panel-solid); padding: 8px 14px; border-radius: 10px; z-index: 100; }
.skip:focus { left: 16px; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 28px; }

/* ---------- 键帽 ---------- */
.kbd {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 26px; height: 24px; padding: 0 7px;
  font: 600 12px/1 var(--font);
  color: var(--slate);
  background: var(--panel-solid);
  border: 1px solid var(--line-strong);
  border-bottom-width: 2px;
  border-radius: 6px;
  vertical-align: 1px;
  white-space: nowrap;
}
.kbd + .kbd { margin-left: 4px; }
.kbd-wide { min-width: 64px; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  height: 46px; padding: 0 22px;
  border-radius: 12px;
  font: 600 15px/1 var(--font);
  transition: background-color .2s var(--ease-soft), box-shadow .2s var(--ease-soft), transform .2s var(--ease);
  text-decoration: none !important;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 8px 22px -8px rgba(36, 87, 230, .6); }
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-1px); box-shadow: 0 12px 26px -10px rgba(36, 87, 230, .7); }
.btn-primary:active { transform: translateY(0); }
.btn-ghost { color: var(--ink); background: var(--panel-solid); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--line-strong); }
.btn-small { height: 34px; padding: 0 16px; font-size: 13.5px; border-radius: 10px; background: var(--ink); color: #fff; }
.btn-small:hover { background: #2B2F38; }
.btn-large { height: 54px; padding: 0 30px; font-size: 16px; border-radius: 14px; }

/* ---------- 顶栏 ---------- */
.top {
  position: sticky; top: 0; z-index: 50;
  background: rgba(244, 245, 247, .78);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.top.scrolled { border-bottom-color: var(--line); }
.top-inner { max-width: 1120px; margin: 0 auto; padding: 0 28px; height: 60px; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 650; font-size: 15px; }
.brand:hover { text-decoration: none; }
.nav { display: flex; gap: 26px; margin-left: auto; font-size: 14px; }
.nav a { color: var(--slate); }
.nav a:hover { color: var(--ink); text-decoration: none; }

/* ---------- 首屏 ---------- */
.hero { padding: 56px 0 40px; position: relative; overflow: hidden; }
.hero::before {
  /* 浅浅的设计画布：点阵 + 一点点蓝色光，衬托悬浮的搜索面板 */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 50% at 50% 62%, rgba(36, 87, 230, .10), transparent 70%),
    radial-gradient(circle at 1px 1px, rgba(20, 22, 27, .07) 1px, transparent 0) 0 0 / 22px 22px;
  -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent);
  mask-image: linear-gradient(to bottom, #000 55%, transparent);
}
.hero-copy { text-align: center; max-width: 780px; margin: 0 auto; padding: 0 28px; }
.hero h1 {
  font: 650 clamp(38px, 5.6vw, 68px)/1.08 var(--font-display);
  letter-spacing: -.035em;
  margin: 0;
}
.lead { font-size: clamp(16px, 1.6vw, 19px); line-height: 1.75; color: var(--slate); max-width: 620px; margin: 22px auto 0; }
.cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }
.meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; margin: 16px 0 0; font-size: 13px; color: var(--mist); }
.meta a { color: var(--slate); }
.meta span:empty { display: none; }

.stage { max-width: 1000px; margin: 44px auto 0; padding: 0 20px; }
.stage-hint { display: flex; align-items: center; justify-content: center; gap: 4px; font-size: 12.5px; color: var(--mist); margin-bottom: 14px; }
.stage-hint > span:last-child { margin-left: 10px; }
.stage-note { text-align: center; font-size: 12.5px; color: var(--mist); margin: 14px 0 0; }

.try { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; margin-top: 18px; font-size: 13px; color: var(--mist); }
.try button {
  font: 500 12.5px/1 var(--font-mono);
  color: var(--slate); background: var(--panel-solid);
  border: 1px solid var(--line); border-radius: 14px;
  height: 28px; padding: 0 12px; cursor: pointer;
  transition: border-color .2s, color .2s;
}
.try button:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- 演示：搜索条 ---------- */
.spot {
  position: relative;
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: var(--radius-panel);
  box-shadow: var(--shadow-panel);
  overflow: hidden;
  transform-origin: 50% 0;
  animation: spot-in .9s var(--ease) .15s both;
}
@keyframes spot-in { from { opacity: 0; transform: translateY(18px) scale(.97); } }

.spot-bar { display: flex; align-items: center; height: 64px; padding: 0 18px 0 0; }
.spot-glass { width: 20px; height: 20px; color: var(--accent); flex: 0 0 58px; }
.spot-bar input {
  flex: 1; min-width: 0; height: 100%;
  border: 0; outline: 0; background: transparent;
  font: 500 21px/1 var(--font); color: var(--ink);
  caret-color: var(--accent);
}
.spot-bar input::placeholder { color: var(--mist); font-weight: 400; }
.spot-stats { font: 11px/1 var(--font-mono); color: var(--mist); white-space: nowrap; font-variant-numeric: tabular-nums; }

/* 展开：网格行高 0fr → 1fr，内容不重排，只是露出来 */
.spot-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); position: relative; }
.spot[data-state="open"] .spot-body { grid-template-rows: 1fr; }
.spot[data-state="empty"] .spot-body { grid-template-rows: 1fr; }
.spot-body-inner { overflow: hidden; min-height: 0; }

.spot-chips { display: flex; align-items: center; gap: 6px; height: 44px; padding: 0 18px; border-top: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.spot-chips::-webkit-scrollbar { display: none; }
.chips, .tokens { display: flex; gap: 6px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  height: 28px; padding: 0 12px; border-radius: 14px;
  font: 500 12px/1 var(--font); color: var(--slate);
  background: rgba(15, 26, 46, .04); border: 1px solid var(--line);
  cursor: pointer; white-space: nowrap;
  transition: background-color .16s, color .16s, border-color .16s;
}
.chip small { font: 10.5px/1 var(--font-mono); opacity: .7; }
.chip:hover { border-color: var(--line-strong); }
.chip[aria-selected="true"] { background: var(--accent); border-color: var(--accent); color: #fff; }
.chip.dim { opacity: .5; }
.token {
  display: inline-flex; align-items: center; gap: 7px;
  height: 28px; padding: 0 9px 0 11px; border-radius: 14px;
  font: 500 12px/1 var(--font); color: var(--accent);
  background: var(--accent-soft); border: 1px solid #C6D4F7;
  cursor: pointer; white-space: nowrap;
  animation: pop .28s var(--ease);
}
.token:hover { border-color: var(--accent); }
.token svg { width: 8px; height: 8px; }
@keyframes pop { from { opacity: 0; transform: scale(.85); } }

.spot-grid-wrap { position: relative; height: 448px; overflow: hidden; }
.spot-grid {
  height: 100%; overflow-y: auto; overscroll-behavior: contain;
  display: grid; grid-template-columns: repeat(5, 1fr); grid-auto-rows: 208px;
  padding: 4px 11px 30px;
  scrollbar-width: thin; scrollbar-color: var(--line-strong) transparent;
}
.spot-grid-wrap::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 40px; pointer-events: none;
  background: linear-gradient(transparent, var(--panel));
}
.tile { margin: 6px 7px 0; border-radius: 13px; cursor: pointer; position: relative; outline: none; animation: tile-in .42s var(--ease) both; }
@keyframes tile-in { from { opacity: 0; transform: translateY(10px); } }
.tile-thumb {
  height: 150px; border-radius: var(--radius-tile); background: var(--tile);
  position: relative; display: grid; place-items: center; overflow: hidden;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease);
}
.tile:hover .tile-thumb { transform: translateY(-4px); box-shadow: 0 14px 26px -12px rgba(0, 0, 0, .28); }
.tile-thumb img { width: calc(100% - 16px); height: calc(100% - 16px); object-fit: contain; }
.badge {
  position: absolute; top: 8px; left: 8px;
  font: 600 9.5px/1 var(--font-mono); color: #fff;
  padding: 3px 6px; border-radius: 5px;
}
.tile-check {
  position: absolute; top: 8px; right: 8px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--accent); border: 2px solid var(--panel); display: none; place-items: center;
}
.tile-check svg { width: 9px; height: 9px; }
.tile[aria-selected="true"] .tile-check { display: grid; }
.tile[aria-selected="true"]::after {
  content: ""; position: absolute; left: -3px; right: -3px; top: -3px; height: 156px;
  border: 2px solid var(--accent); border-radius: 13px; pointer-events: none;
}
.tile-name { margin: 8px 2px 0; font-size: 12.5px; line-height: 1.35; color: var(--slate); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tile-name mark { background: none; color: var(--ink); font-weight: 650; }
.tile-meta { margin: 2px 2px 0; font: 10.5px/1.3 var(--font-mono); color: var(--mist); }
.tile-folder { width: 46px; height: 46px; color: #E5A53A; }
.tile-flash {
  position: absolute; inset: 0; background: rgba(36, 87, 230, .85); border-radius: var(--radius-tile);
  display: grid; place-items: center; opacity: 0; pointer-events: none;
}
.tile-flash svg { width: 30px; height: 30px; }
.tile.flash .tile-flash { animation: flash .75s var(--ease-soft); }
@keyframes flash { 12% { opacity: .92; } 60% { opacity: .92; } 100% { opacity: 0; } }

.spot-empty { position: absolute; inset: 34px 0 auto; display: flex; flex-direction: column; align-items: center; gap: 6px; color: var(--slate); font-size: 13.5px; text-align: center; padding: 0 20px; }
.spot-empty strong { font: 600 16px/1.4 var(--font-display); color: var(--ink); }
.spot[data-state="empty"] .spot-grid-wrap { height: 128px; }

.spot-foot { position: relative; height: 54px; border-top: 1px solid var(--line); display: flex; align-items: center; gap: 12px; padding: 0 18px; }
.foot-file { display: flex; align-items: center; gap: 12px; flex: 1; min-width: 0; }
.foot-thumb { width: 32px; height: 32px; border-radius: 7px; background: var(--tile) center / 82% no-repeat; flex: none; }
.foot-text { display: flex; flex-direction: column; min-width: 0; line-height: 1.35; }
.foot-text b { font-size: 12.5px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.foot-text small { font-size: 11px; color: var(--mist); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.foot-hints { display: flex; gap: 14px; font-size: 11.5px; color: var(--slate); white-space: nowrap; transition: opacity .2s; }
.foot-hints .kbd { height: 20px; font-size: 10.5px; font-weight: 500; margin-right: 6px; min-width: 0; }
.foot-toast {
  position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
  display: flex; align-items: center; gap: 7px;
  font-size: 12px; font-weight: 600; color: var(--accent);
  opacity: 0; pointer-events: none; transition: opacity .2s;
}
.spot-foot.toasting .foot-hints { opacity: 0; }
.spot-foot.toasting .foot-toast { opacity: 1; }

/* 空格预览 */
.look { position: absolute; inset: 0; background: var(--panel); z-index: 5; display: flex; flex-direction: column; }
.look[hidden] { display: none; }
.look.fade-in { animation: look-in .2s ease both; }
@keyframes look-in { from { background: rgba(250, 250, 252, 0); } }
.look-canvas { position: relative; flex: 1; overflow: hidden; cursor: zoom-in; touch-action: none; }
.look-canvas.zoomed { cursor: grab; }
.look-canvas.panning { cursor: grabbing; }
.look-canvas img { position: absolute; left: 0; top: 0; transform-origin: 0 0; user-select: none; -webkit-user-drag: none; }
.look-chrome { display: flex; align-items: center; gap: 16px; height: 64px; padding: 0 24px; flex: none; }
.look-chrome > div:first-child { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.35; }
.look-chrome b { font: 600 15px/1.35 var(--font-display); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.look-chrome small { font: 11.5px/1.4 var(--font-mono); color: var(--mist); }
.look-zoom { min-width: 58px; font-family: var(--font-mono); font-weight: 500; }
.look-hints { display: flex; gap: 14px; font-size: 11.5px; color: var(--slate); white-space: nowrap; }
.look-hints .kbd { height: 20px; font-size: 10.5px; font-weight: 500; margin-right: 6px; min-width: 0; }

/* ---------- 通用段落 ---------- */
main > section { padding: 120px 0; }
.hero { padding-bottom: 60px; }
h2 { font: 650 clamp(30px, 3.8vw, 46px)/1.15 var(--font-display); letter-spacing: -.025em; margin: 0; max-width: 18em; }
h3 { font: 650 22px/1.35 var(--font-display); letter-spacing: -.01em; margin: 0; }
.section-lead { font-size: 17px; color: var(--slate); max-width: 38em; margin: 18px 0 0; }

/* ---------- 以前 / 现在 ---------- */
.why { background: var(--panel-solid); }
.compare { margin-top: 56px; border-top: 1px solid var(--ink); }
.compare-head, .compare-row { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.compare-head { font-size: 13px; font-weight: 600; color: var(--mist); padding: 14px 0; border-bottom: 1px solid var(--line); }
.compare-head span:last-child { color: var(--accent); }
.compare-row { padding: 22px 0; border-bottom: 1px solid var(--line); }
.compare-row p { margin: 0; }
.compare-row p:first-child { color: var(--mist); }
.compare-row p:last-child { color: var(--ink); }

/* ---------- 功能 ---------- */
.features { padding-bottom: 40px !important; }
.feature {
  max-width: 1120px; margin: 110px auto 0; padding: 0 28px;
  display: grid; grid-template-columns: 5fr 6fr; gap: 72px; align-items: center;
}
.feature-flip { grid-template-columns: 6fr 5fr; }
.feature-flip .feature-text { order: 2; }
.feature-text p { color: var(--slate); margin: 16px 0 0; }
.facts { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.facts li { font-size: 15px; color: var(--slate); padding-left: 0; }
.facts b { color: var(--ink); font-weight: 600; margin-right: 10px; }
.numbers { display: flex; flex-wrap: wrap; gap: 14px 30px; margin-top: 26px !important; }
.numbers span { display: flex; flex-direction: column; font-size: 12.5px; color: var(--mist); line-height: 1.5; }
.numbers b { font: 650 26px/1.15 var(--font-display); color: var(--ink); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.caveat { font-size: 13.5px; color: var(--mist) !important; border-left: 2px solid var(--line-strong); padding-left: 14px; }

.feature-visual { min-width: 0; }

/* 搜索语法表 */
.syntax { width: 100%; border-collapse: collapse; background: var(--panel-solid); border-radius: var(--radius-panel); overflow: hidden; box-shadow: 0 1px 0 var(--line), 0 0 0 1px var(--line); }
.syntax caption { caption-side: bottom; text-align: left; font-size: 13px; color: var(--mist); padding-top: 14px; }
.syntax th { text-align: left; font-size: 12.5px; font-weight: 600; color: var(--mist); padding: 14px 20px; border-bottom: 1px solid var(--line); }
.syntax td { padding: 15px 20px; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--slate); vertical-align: middle; }
.syntax tr:last-child td { border-bottom: 0; }
.syntax td:first-child { width: 55%; }
.syntax td code { margin: 2px 4px 2px 0; display: inline-block; background: var(--accent-soft); color: var(--accent); }

/* 缩略图分层 */
.layers { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; counter-reset: layer; }
.layers li {
  position: relative; display: grid; grid-template-columns: 1fr auto; gap: 2px 16px;
  padding: 16px 20px 16px 56px; background: var(--panel-solid); border-radius: 14px; box-shadow: 0 0 0 1px var(--line);
  overflow: hidden;
}
.layers li::before {
  counter-increment: layer; content: counter(layer);
  position: absolute; left: 20px; top: 16px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--accent-soft); color: var(--accent); font: 600 12px/22px var(--font); text-align: center;
}
.layers li::after {
  /* 底部一道细条：大约有多慢 */
  content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: var(--w);
  background: linear-gradient(90deg, var(--accent), #7FA0F2);
  transform-origin: left; transform: scaleX(0); transition: transform 1.1s var(--ease);
}
.layers.seen li::after { transform: scaleX(1); }
.layers.seen li:nth-child(2)::after { transition-delay: .08s; }
.layers.seen li:nth-child(3)::after { transition-delay: .16s; }
.layers.seen li:nth-child(4)::after { transition-delay: .24s; }
.layers.seen li:nth-child(5)::after { transition-delay: .32s; }
.layer-name { font-size: 14.5px; font-weight: 600; }
.layer-time { font: 600 13px/1.6 var(--font-mono); color: var(--ink); text-align: right; }
.layer-net { font-size: 12.5px; color: var(--mist); grid-column: 1 / -1; }

/* 拖出复制：循环动画，滚到才播放 */
.drag-demo {
  position: relative; height: 360px; background: var(--panel-solid); border-radius: 22px; box-shadow: 0 0 0 1px var(--line);
  overflow: hidden;
}
.drag-stage { position: absolute; left: 0; top: 0; width: 560px; height: 360px; transform-origin: 0 0; }
.drag-grid {
  position: absolute; left: 36px; top: 52px; width: 210px; padding: 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
  background: var(--panel); border-radius: 16px; box-shadow: var(--shadow-panel);
}
.drag-tile { height: 80px; border-radius: 10px; background: var(--tile); }
.drag-source { background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 80'%3E%3Crect x='28' y='18' width='24' height='44' rx='9' fill='%232457E6' opacity='.8'/%3E%3Crect x='33' y='12' width='14' height='9' rx='3' fill='%2316357F'/%3E%3C/svg%3E") center / 70% no-repeat; outline: 2px solid var(--accent); outline-offset: 2px; }
.drag-ghost {
  position: absolute; left: 52px; top: 68px; width: 87px; height: 80px; border-radius: 10px;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 80'%3E%3Crect x='28' y='18' width='24' height='44' rx='9' fill='%232457E6' opacity='.8'/%3E%3Crect x='33' y='12' width='14' height='9' rx='3' fill='%2316357F'/%3E%3C/svg%3E") center / 70% no-repeat;
  box-shadow: 8px 8px 0 -2px #fff, 8px 8px 0 -1px var(--line-strong), 0 18px 30px -12px rgba(0, 0, 0, .35);
  opacity: 0;
}
.drag-count { position: absolute; right: -10px; top: -10px; min-width: 24px; height: 24px; border-radius: 12px; background: var(--accent); color: #fff; font: 600 12px/24px var(--font); text-align: center; border: 2px solid #fff; }
.drag-cursor {
  position: absolute; left: 112px; top: 112px; width: 18px; height: 22px; opacity: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 22'%3E%3Cpath d='M1 1v17l4.5-4 3 7 3-1.3-3-6.7h6z' fill='%2314161B' stroke='white' stroke-width='1.4' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat;
}
.drag-target {
  position: absolute; right: 52px; top: 170px; width: 150px; height: 130px; border-radius: 16px;
  background: var(--paper); border: 1.5px dashed var(--line-strong);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; font-size: 12.5px; color: var(--slate);
}
.drag-target svg { width: 52px; }
.drag-badge { position: absolute; top: -14px; right: -12px; background: var(--accent); color: #fff; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 12px; opacity: 0; }
.drag-demo.playing .drag-ghost { animation: ghost 4s var(--ease-soft) infinite; }
.drag-demo.playing .drag-cursor { animation: cursor 4s var(--ease-soft) infinite; }
.drag-demo.playing .drag-badge { animation: badge 4s var(--ease) infinite; }
.drag-demo.playing .drag-target { animation: target 4s var(--ease) infinite; }
@keyframes ghost {
  0%, 10% { opacity: 0; transform: translate(0, 0) rotate(0); }
  14% { opacity: .95; transform: translate(6px, 4px) rotate(-3deg); }
  52% { opacity: .95; transform: translate(318px, 140px) rotate(-4deg); }
  60% { opacity: 0; transform: translate(318px, 144px) rotate(-4deg) scale(.9); }
  100% { opacity: 0; transform: translate(318px, 144px); }
}
@keyframes cursor {
  0%, 6% { opacity: 0; transform: translate(0, 0); }
  10% { opacity: 1; transform: translate(0, 0); }
  52% { opacity: 1; transform: translate(318px, 140px); }
  72% { opacity: 1; transform: translate(318px, 140px); }
  80%, 100% { opacity: 0; transform: translate(318px, 140px); }
}
@keyframes badge { 0%, 44% { opacity: 0; transform: translateY(6px); } 52%, 80% { opacity: 1; transform: none; } 88%, 100% { opacity: 0; } }
@keyframes target { 0%, 40% { border-color: var(--line-strong); background: var(--paper); } 46%, 58% { border-color: var(--accent); background: var(--accent-soft); } 70%, 100% { border-color: var(--line-strong); background: var(--paper); } }

/* 缩放演示 */
.zoom-demo {
  position: relative; height: 380px; border-radius: 22px; overflow: hidden; background: var(--panel-solid);
  box-shadow: 0 0 0 1px var(--line); cursor: pointer; touch-action: pan-y;
}
.zoom-demo.active { cursor: zoom-in; box-shadow: 0 0 0 2px var(--accent); touch-action: none; }
.zoom-demo.zoomed { cursor: grab; }
.zoom-demo img { position: absolute; left: 0; top: 0; transform-origin: 0 0; user-select: none; }
.zoom-tag {
  position: absolute; right: 14px; bottom: 14px; font: 500 12px/1 var(--font); color: #fff;
  background: rgba(20, 22, 27, .78); padding: 7px 10px; border-radius: 8px; pointer-events: none;
  font-variant-numeric: tabular-nums;
}

/* 工作台缩略 */
.bench { background: var(--panel); border-radius: 18px; box-shadow: var(--shadow-panel); overflow: hidden; border: 1px solid #fff; }
.bench-bar { height: 46px; display: flex; align-items: center; gap: 12px; padding: 0 14px; border-bottom: 1px solid var(--line); }
.bench-glass { width: 14px; height: 14px; border: 2px solid var(--accent); border-radius: 50%; }
.bench-q { font: 500 15px/1 var(--font); }
.bench-btns { margin-left: auto; display: flex; gap: 8px; }
.bench-btns i { width: 22px; height: 22px; border-radius: 6px; background: var(--tile); }
.bench-body { display: grid; grid-template-columns: 1fr 170px; height: 300px; }
.bench-grid { padding: 12px; display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 78px; gap: 10px; overflow: hidden; }
.bench-grid span { border-radius: 8px; background: var(--tile) center / 80% no-repeat; }
.bench-grid span.sel { outline: 2px solid var(--accent); outline-offset: 2px; }
.bench-side { border-left: 1px solid var(--line); padding: 14px; display: flex; flex-direction: column; gap: 8px; font-size: 12px; }
.bench-preview { height: 110px; border-radius: 10px; background: var(--tile) center / 78% no-repeat; }
.bench-side b { font-size: 12.5px; }
.bench-side dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 3px 10px; color: var(--slate); }
.bench-side dt { color: var(--mist); }
.bench-side dd { margin: 0; font-family: var(--font-mono); font-size: 11px; }
.bench-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: auto; }
.bench-actions span { height: 26px; border-radius: 7px; background: var(--panel-solid); border: 1px solid var(--line); display: grid; place-items: center; font-size: 11px; }
.bench-actions .b-primary { background: var(--accent); color: #fff; border-color: var(--accent); }

/* 实时同步时间线（真实的先后顺序） */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; counter-reset: t; }
.timeline::before { content: ""; position: absolute; left: 15px; top: 18px; bottom: 18px; width: 2px; background: var(--line); }
.timeline li { position: relative; padding: 14px 0 14px 54px; font-size: 15px; color: var(--slate); }
.timeline li::before {
  counter-increment: t; content: counter(t);
  position: absolute; left: 4px; top: 15px; width: 24px; height: 24px; border-radius: 50%;
  background: var(--panel-solid); box-shadow: 0 0 0 1px var(--line-strong);
  font: 600 12px/24px var(--font); color: var(--slate); text-align: center;
}
.timeline li:last-child::before { background: var(--accent); color: #fff; box-shadow: none; }
.timeline li:last-child { color: var(--ink); }

/* ---------- 安全 ---------- */
.safety { background: var(--panel-solid); margin-top: 120px; }
.safety-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; margin-top: 52px; }
.safety-cols h3 { font-size: 17px; padding-bottom: 14px; border-bottom: 1px solid var(--ink); }
.ticks, .crosses { list-style: none; margin: 0; padding: 0; }
.ticks li, .crosses li { position: relative; padding: 14px 0 14px 32px; border-bottom: 1px solid var(--line); color: var(--slate); font-size: 15px; }
.ticks li::before, .crosses li::before { content: ""; position: absolute; left: 0; top: 19px; width: 18px; height: 18px; border-radius: 50%; }
.ticks li::before { background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='m5.5 9.3 2.3 2.2 4.7-5' fill='none' stroke='%232457E6' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center no-repeat; }
.crosses li::before { background: #F1F2F5 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='m6 6 6 6m0-6-6 6' fill='none' stroke='%235D6372' stroke-width='1.7' stroke-linecap='round'/%3E%3C/svg%3E") center no-repeat; }

/* ---------- 上手 ---------- */
.steps { list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; counter-reset: step; }
.steps li { position: relative; padding-top: 58px; }
.steps li::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: 0; left: 0; width: 38px; height: 38px; border-radius: 12px;
  background: var(--ink); color: #fff; font: 650 17px/38px var(--font-display); text-align: center;
}
.steps li::after { content: ""; position: absolute; top: 19px; left: 54px; right: -24px; height: 1px; background: var(--line-strong); }
.steps li:last-child::after { display: none; }
.steps p { color: var(--slate); margin: 12px 0 0; font-size: 15px; }
.steps .note { font-size: 13px; color: var(--mist); }

.keys-title { margin-top: 90px; font-size: 18px; }
.keys { margin: 20px 0 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 56px; }
.keys > div { display: grid; grid-template-columns: 200px 1fr; align-items: center; padding: 13px 0; border-bottom: 1px solid var(--line); }
.keys dt { white-space: nowrap; }
.keys dd { margin: 0; color: var(--slate); font-size: 14.5px; }

/* ---------- 做不到的 ---------- */
.limits { background: var(--paper-deep); }
.limit-list { list-style: none; padding: 0; margin: 44px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 56px; }
.limit-list li { padding: 18px 0; border-top: 1px solid var(--line-strong); color: var(--slate); font-size: 15px; }
.limit-list b { color: var(--ink); font-weight: 600; display: block; margin-bottom: 2px; }

/* ---------- 常见问题 ---------- */
.faq-list { margin-top: 40px; max-width: 820px; border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative;
  font: 600 17px/1.5 var(--font-display);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 30px; width: 12px; height: 12px;
  background: linear-gradient(var(--ink), var(--ink)) center / 12px 1.6px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 1.6px 12px no-repeat;
  transition: transform .35s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0; padding: 0 44px 24px 0; color: var(--slate); }
.faq details[open] p { animation: faq-in .4s var(--ease); }
@keyframes faq-in { from { opacity: 0; transform: translateY(-6px); } }

/* ---------- 下载 ---------- */
.download { text-align: center; position: relative; overflow: hidden; }
.download::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(50% 60% at 50% 40%, rgba(36, 87, 230, .10), transparent 70%);
}
.download-inner { display: flex; flex-direction: column; align-items: center; }
.download-inner img { margin-bottom: 26px; filter: drop-shadow(0 18px 28px rgba(36, 87, 230, .28)); }
.download h2 { margin: 0 auto; }
.download p { color: var(--slate); margin: 16px 0 0; }
.cta-center { margin-top: 34px; }
.meta-center { margin-top: 18px; }

/* ---------- 页脚 ---------- */
.foot { border-top: 1px solid var(--line); padding: 34px 0 48px; font-size: 13.5px; color: var(--mist); }
.foot-inner { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.foot-brand { display: flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 600; }
.foot p { margin: 0; }
.foot nav { margin-left: auto; display: flex; gap: 20px; }
.foot a { color: var(--slate); }

/* ---------- 全局提示 ---------- */
.toast {
  position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 16px);
  background: rgba(24, 26, 32, .94); color: #fff; font-size: 13.5px; padding: 11px 18px; border-radius: 12px;
  opacity: 0; pointer-events: none; transition: opacity .25s, transform .4s var(--ease); z-index: 80; max-width: calc(100% - 32px);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- 滚动出现（只用在少数几处） ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease-soft), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- 响应式 ---------- */
@media (max-width: 960px) {
  .feature, .feature-flip { grid-template-columns: 1fr; gap: 40px; margin-top: 90px; }
  .feature-flip .feature-text { order: 0; }
  .spot-grid { grid-template-columns: repeat(4, 1fr); }
  .foot-hints span:nth-child(n+3) { display: none; }
  .keys { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 34px; }
  .steps li::after { display: none; }
}
@media (max-width: 720px) {
  body { font-size: 15.5px; }
  .wrap, .feature, .top-inner { padding-left: 16px; padding-right: 16px; }
  .nav { display: none; }
  .top-inner { justify-content: space-between; }
  .hero { padding-top: 48px; }
  .hero-copy { padding: 0 16px; }
  .stage { padding: 0 12px; margin-top: 40px; }
  .stage-hint { display: none; }
  .spot-glass { flex-basis: 46px; }
  .spot-bar input { font-size: 17px; }
  .spot-stats { display: none; }
  .spot-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 196px; padding: 4px 6px 30px; }
  .tile { margin: 6px 5px 0; }
  .tile-thumb { height: 138px; }
  .tile[aria-selected="true"]::after { height: 144px; }
  .foot-hints { display: none; }
  .look-hints { display: none; }
  main > section { padding: 84px 0; }
  .compare-head, .compare-row { grid-template-columns: 1fr; gap: 6px; }
  .compare-head span:first-child { display: none; }
  .compare-row p:first-child { font-size: 14px; }
  .compare-row p:first-child::before { content: "以前："; }
  .safety-cols, .limit-list { grid-template-columns: 1fr; gap: 40px; }
  .limit-list { gap: 0; }
  .keys > div { grid-template-columns: 1fr; gap: 6px; }
  .zoom-demo { height: 300px; }
  .bench-body { grid-template-columns: 1fr; height: auto; }
  .bench-side { display: none; }
  .bench-grid { grid-template-columns: repeat(3, 1fr); height: 260px; }
  .foot nav { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
