/* DSH Dock 官网 —— 深海瓷面
   墨蓝深海场（首屏 / 下载）夹一段冷瓷平台（产品截图），水青作唯一信号色。
   衬线字标 + 等宽遥测标签；截图一律不裁切，七张合成一条轮播。 */

@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-display: swap;
  font-weight: 300 700;
  src: url("/assets/fonts/fraunces-latin-var.woff2") format("woff2-variations");
}

:root {
  /* 墨蓝场 */
  --abyss: #05141f;
  --abyss-hi: #0d2a3a;
  --abyss-raise: #0a2231;
  --abyss-hair: rgba(150, 200, 215, 0.16);
  --abyss-hair-2: rgba(150, 200, 215, 0.3);
  --on-abyss: #eaf2f2;
  --on-abyss-2: #b9cdd6;
  --on-abyss-mute: #8fa9b5;
  /* 瓷面场 */
  --porcelain: #eef2f1;
  --china: #ffffff;
  --porcelain-2: #e4eae9;
  --ink: #0b1f2a;
  --ink-2: #3a5462;
  --muted: #59707d;
  /* 小字号（≤11px）的次级文字用这一档：--muted 在 porcelain-2 上只有 4.27，不足 AA */
  --muted-deep: #4b6370;
  --hair: rgba(11, 31, 42, 0.11);
  --hair-2: rgba(11, 31, 42, 0.22);
  /* 截图信纸色：与 dsh-dock/assets 源图的留白同色，轮播帧的等比留白才隐形 */
  --shot-bg: #f7f8fb;
  /* 信号 */
  --aqua: #37d6c0;
  --aqua-deep: #0a7a6c;
  --aqua-soft: rgba(55, 214, 192, 0.13);
  --coral: #f2724e;
  --coral-deep: #b4441f;
  /* 形 */
  --r-sm: 8px;
  --r-md: 13px;
  --r-lg: 20px;
  --shadow-shot: 0 1px 1px rgba(11, 31, 42, 0.04), 0 18px 44px -22px rgba(11, 31, 42, 0.3);
  --nav-h: 62px;
  --container: 1180px;
  --wide: 1440px;
  --display: "Fraunces", "Songti SC", "Noto Serif CJK SC", "Source Han Serif SC", "Songti TC",
    SimSun, Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, "JetBrains Mono", Menlo, Consolas, monospace;
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.72;
  color: var(--ink);
  /* 导航是 body 的直接子元素、压在 hero 之外：底色给墨蓝，玻璃层才与首屏同色，
     否则 .nav 那圈透明 border 会让瓷面从底部 1px 缝里透成一条亮线 */
  background: var(--abyss);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--aqua); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--aqua); color: var(--abyss); }

.skip {
  position: absolute; left: -9999px; z-index: 100;
  padding: 10px 18px; background: var(--china); color: var(--ink);
  border-radius: var(--r-sm); box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.4);
}
.skip:focus { left: 16px; top: 12px; }

.wrap { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 22px; }
.wrap--wide { max-width: var(--wide); }

/* ── 场（明暗两段） ─────────────────────────────────── */
.field { position: relative; overflow: hidden; }
.field--abyss {
  color: var(--on-abyss);
  background:
    radial-gradient(125% 105% at 76% -18%, var(--abyss-hi) 0%, #071b27 44%, var(--abyss) 100%);
}
.field--abyss::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: var(--grain); background-size: 160px;
  opacity: 0.045; mix-blend-mode: overlay;
}
.field--abyss > * { position: relative; }
.field--porcelain { background: var(--porcelain); border-top: 1px solid var(--abyss-hair); }

/* ── 导航 ─────────────────────────────────────────── */
/* 导航恒为墨蓝玻璃：与首屏同色，滚到瓷面段时只是变实，不做明暗反转 */
.nav {
  position: sticky; top: 0; z-index: 50;
  height: var(--nav-h); display: flex; align-items: center;
  color: var(--on-abyss);
}
/* 玻璃层要铺满整块盒子：早先留 1px 透明 border 当分隔线，那 1px 盖不住背后内容，
   滚到瓷面段就透出一条亮缝 */
.nav::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: color-mix(in srgb, var(--abyss) 88%, transparent);
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  box-shadow: inset 0 -1px 0 transparent;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.nav.is-solid::before {
  background: color-mix(in srgb, var(--abyss) 97%, transparent);
  box-shadow: inset 0 -1px 0 var(--abyss-hair);
}
.nav__inner { display: flex; align-items: center; gap: 20px; width: 100%; }

.brand { display: flex; align-items: baseline; gap: 9px; }
.brand img { width: 28px; height: 28px; border-radius: 8px; align-self: center; }
.brand b {
  font-family: var(--display); font-weight: 400; font-size: 21px;
  letter-spacing: -0.012em; line-height: 1;
}
.brand span {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.13em;
  text-transform: uppercase; opacity: 0.55;
}

.nav__links { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav__links a {
  position: relative; padding: 7px 13px; border-radius: 999px;
  font-size: 14.5px; color: currentColor; opacity: 0.78;
  transition: opacity 0.18s, background 0.18s;
}
.nav__links a:hover { opacity: 1; background: var(--aqua-soft); }
.nav__links a::after {
  content: ""; position: absolute; left: 13px; right: 13px; bottom: 3px; height: 1px;
  background: var(--aqua); transform: scaleX(0); transform-origin: left;
  transition: transform 0.26s cubic-bezier(0.2, 0.6, 0.2, 1);
}
.nav__links a:hover::after { transform: scaleX(1); }

.nav__cta { display: flex; align-items: center; gap: 10px; }
.nav__version {
  font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.03em;
  padding: 4px 9px; border: 1px solid currentColor; border-radius: 999px;
  opacity: 0.6; white-space: nowrap;
}

/* ── 按钮 ─────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px; border-radius: 10px; border: 1px solid transparent;
  font-size: 15px; font-weight: 600; letter-spacing: -0.005em; white-space: nowrap;
  transition: transform 0.18s cubic-bezier(0.2, 0.6, 0.2, 1), box-shadow 0.18s, background 0.18s,
    border-color 0.18s, color 0.18s;
}
.btn--primary {
  background: var(--aqua); color: var(--abyss);
  box-shadow: 0 12px 30px -14px rgba(55, 214, 192, 0.75);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 18px 38px -14px rgba(55, 214, 192, 0.9); }
.btn--ghost { border-color: color-mix(in srgb, currentColor 34%, transparent); }
.btn--ghost:hover { transform: translateY(-2px); background: var(--aqua-soft); border-color: var(--aqua); }
.btn--sm { padding: 8px 14px; font-size: 13.5px; border-radius: 8px; }
/* 层级靠字形（mono / 小字号）拉开，不靠 opacity——半透明会把对比度冲到 AA 以下 */
.btn__sub { font-family: var(--mono); font-size: 11px; font-weight: 500; color: var(--abyss-hi); }

/* ── 版式 ─────────────────────────────────────────── */
.kicker {
  display: flex; align-items: center; gap: 9px; margin: 0 0 20px;
  font-family: var(--mono); font-size: 11.5px; font-weight: 600;
  letter-spacing: 0.17em; text-transform: uppercase; color: var(--aqua);
}
.field--porcelain .kicker { color: var(--aqua-deep); }
.kicker::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: currentColor; box-shadow: 0 0 0 0 currentColor; animation: live 3.4s ease-out infinite;
}
@keyframes live {
  0% { box-shadow: 0 0 0 0 color-mix(in srgb, currentColor 60%, transparent); }
  70%, 100% { box-shadow: 0 0 0 7px transparent; }
}

h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 400; line-height: 1.16; }
h1 { font-size: clamp(2.5rem, 5.6vw, 4rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.85rem, 3.4vw, 2.7rem); letter-spacing: -0.018em; }
h3 { font-size: 1.5rem; letter-spacing: -0.012em; }
p { margin: 0 0 1em; }
.lead { font-size: clamp(1.02rem, 1.4vw, 1.15rem); color: var(--on-abyss-2); line-height: 1.75; }
.field--porcelain .lead { color: var(--ink-2); }
.inline {
  text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px;
  text-decoration-color: color-mix(in srgb, var(--aqua) 50%, transparent);
}
.inline:hover { text-decoration-color: var(--aqua); }

.section { padding: 104px 0; }
section[id] { scroll-margin-top: calc(var(--nav-h) + 18px); }
.section__head { max-width: 760px; margin-bottom: 48px; }
.section__head h2 { margin-bottom: 14px; }
.section__head .lead { margin: 0; }

/* ── Hero ─────────────────────────────────────────── */
.hero { padding: 74px 0 0; }
.hero__bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.hero__inner {
  position: relative; display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 40px; align-items: center; padding-bottom: 74px;
}
.hero h1 { margin-bottom: 22px; }
.hero h1 em { font-style: normal; position: relative; color: #fff; }
.hero h1 em::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0.07em; height: 0.13em;
  background: color-mix(in srgb, var(--aqua) 45%, transparent); border-radius: 2px; z-index: -1;
}
.hero__slogan {
  margin: -8px 0 24px; font-family: var(--display); font-weight: 300;
  font-size: clamp(1rem, 1.9vw, 1.42rem); line-height: 1.3;
  letter-spacing: 0.045em; text-transform: uppercase; color: var(--on-abyss-mute);
}
.hero__lead { margin: 0 0 4px; max-width: 46ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* 首屏下载器：主按钮直连当前平台的安装包，右侧 ▾ 展开其余平台。
   面板 fixed 且由 JS 落位（见 site.js）；有 JS 时它会被搬到 <body> 下——
   留在首屏里既被 .field 的 overflow 裁掉，又被出场动画的层叠上下文关住。 */
.pick {
  position: relative; display: flex; align-items: stretch;
  transition: transform 0.18s cubic-bezier(0.2, 0.6, 0.2, 1);
}
.pick:hover { transform: translateY(-2px); }
/* 展开时清掉悬停抬起量：面板已经不在这一支里（JS 搬到 body），按钮自己飘走会跟面板脱开 */
.pick:has(.pick__menu[open]) { transform: none; transition: none; }
.pick .btn--primary:hover { transform: none; }
.pick__go { border-radius: 10px 0 0 10px; }
.pick__menu { display: flex; }
.pick__toggle {
  list-style: none; display: grid; place-items: center; width: 40px; padding: 0;
  border: 1px solid transparent; border-left: 1px solid color-mix(in srgb, var(--abyss) 20%, transparent);
  border-radius: 0 10px 10px 0; background: var(--aqua); color: var(--abyss); cursor: pointer;
  transition: background 0.18s, color 0.18s;
}
.pick__toggle::-webkit-details-marker { display: none; }
.pick__toggle:hover { background: var(--aqua-deep); color: var(--china); }
.pick__panel {
  /* display 由 .is-open 显式控制：只靠 UA 的 details 收起规则挡不住——这里写了
     display: grid 就把收起态的面板也排版出来了（实测 closed 高 334px）。
     面板自身不能有 transform 动画：JS 要把它的盒子量准来落位，入场位移只给子项。 */
  position: fixed; z-index: 45; display: none; gap: 2px; padding: 8px;
  top: var(--pick-top, auto); left: var(--pick-left, auto); width: var(--pick-w, 320px);
  max-height: var(--pick-h, calc(100vh - 20px));
  max-height: var(--pick-h, calc(100dvh - 20px)); overflow: auto;
  background: var(--abyss-raise); border: 1px solid var(--abyss-hair-2); border-radius: var(--r-md);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3), 0 26px 56px -18px rgba(0, 0, 0, 0.66);
}
/* 面板已被 JS 搬到 <body>，details[open] 够不着它，开合显示改由 .is-open 顶上 */
.pick__panel.is-open { display: grid; }
.pick__panel.is-open > * {
  animation: pick-in 0.22s cubic-bezier(0.2, 0.6, 0.2, 1) both;
}
/* 无 JS：整块收起 ▾。面板是 fixed 的、要靠 JS 落位，留在 <details> 里又会被
   .field 的 overflow 沿首屏底边裁掉（Chrome 的 details 还有一层 shadow 容器，
   display: contents 也救不回来——实测面板被挤成 234px 宽并把按钮拉高）。
   主按钮静态指向 releases/latest，下方下载表本来就全平台齐活，无 JS 从那里选。 */
html:not(.js) .pick__menu { display: none; }
html:not(.js) .pick__go { border-radius: 10px; }
@keyframes pick-in {
  from { opacity: 0; transform: translateY(-7px); }
}
.pick__hd {
  margin: 0 0 4px; padding: 5px 12px 8px;
  font-family: var(--mono); font-size: 10.5px; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--on-abyss-mute);
}
.pick__item {
  display: flex; align-items: center; gap: 9px; padding: 10px 12px; border-radius: 9px;
  font-size: 14.5px; font-weight: 500; color: var(--on-abyss); transition: background 0.16s;
}
.pick__item:hover { background: var(--aqua-soft); }
.pick__item.is-you { background: color-mix(in srgb, var(--aqua) 13%, transparent); }
.pick__fmt {
  margin-left: auto; padding-left: 6px; font-family: var(--mono); font-size: 11px; font-weight: 400;
  letter-spacing: 0.02em; color: var(--on-abyss-mute);
}
.pick__all {
  margin-top: 6px; padding: 10px 12px 7px; border-top: 1px solid var(--abyss-hair);
  font-family: var(--mono); font-size: 11.5px; color: var(--on-abyss-mute);
  transition: color 0.16s;
}
.pick__all:hover { color: var(--aqua); }

.hero__stage { position: relative; display: grid; place-items: center; min-height: 440px; }
/* 装饰层一律不吃点击：单列布局下光晕比 stage 高出一大截（118% 宽正方），
   实测 1024×768 整条主下载按钮被 div.hero__glow 盖住、点不动，≤768 换成声呐环 */
.hero__glow {
  pointer-events: none;
  position: absolute; width: 118%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(55, 214, 192, 0.2) 0%, rgba(55, 214, 192, 0.05) 42%, transparent 68%);
}
.sonar { pointer-events: none; position: absolute; inset: 0; display: grid; place-items: center; }
.sonar i {
  position: absolute; width: 340px; height: 340px; border-radius: 50%;
  border: 1px solid rgba(55, 214, 192, 0.5); opacity: 0;
  animation: ping 6.6s cubic-bezier(0.2, 0.6, 0.2, 1) infinite;
}
.sonar i:nth-child(2) { animation-delay: 2.2s; }
.sonar i:nth-child(3) { animation-delay: 4.4s; }
@keyframes ping {
  0% { transform: scale(0.42); opacity: 0; }
  14% { opacity: 0.55; }
  100% { transform: scale(1.62); opacity: 0; }
}
.hero__mascot {
  position: relative; width: min(100%, 424px);
  filter: drop-shadow(0 40px 54px rgba(0, 0, 0, 0.55));
  animation: bob 7.5s ease-in-out infinite;
}
@keyframes bob {
  0%, 100% { transform: translateY(0) rotate(-0.4deg); }
  50% { transform: translateY(-15px) rotate(0.5deg); }
}

/* 遥测线：首屏底边的一行读数，替代旧的数据卡带 */
.telemetry {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--abyss-hair);
}
.telemetry div { padding: 17px 0 19px; border-left: 1px solid var(--abyss-hair); }
.telemetry div:first-child { border-left: 0; }
.telemetry div:not(:first-child) { padding-left: 22px; }
.telemetry dt {
  margin: 0 0 2px; font-family: var(--display); font-weight: 300;
  font-size: 1.62rem; line-height: 1.1; color: #fff; letter-spacing: -0.01em;
}
.telemetry dd {
  margin: 0; font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.11em; text-transform: uppercase; color: var(--on-abyss-mute);
}

/* ── 核心能力：七个截图合成一条轮播 ─────────────────── */
.facts { font-size: 14.5px; color: var(--muted); line-height: 1.7; }
.facts code { font-family: var(--mono); font-size: 0.86em; color: var(--ink-2); }

/* 一屏一张：scroll-snap 横轨。图不裁切，按帧等比缩，信纸底色与截图自身
   留白同色（--shot-bg），所以留白边看不出来。
   列宽必须写死 minmax(0,1fr)：stage 是普通块（非滚动容器），auto 列会被
   帧内容的 max-content 撑开——手机上实测一条 884px 的轨挤出 346px 的容器。 */
.shots { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.shots__stage { position: relative; min-width: 0; }
.shots__track {
  display: flex; overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-behavior: smooth;
  scrollbar-width: none;
}
.shots__track::-webkit-scrollbar { display: none; }
.shots__track > * {
  flex: 0 0 100%; min-width: 0; scroll-snap-align: center; scroll-snap-stop: always;
}

.shot {
  display: flex; flex-direction: column; margin: 0;
  border: 1px solid var(--hair); border-radius: var(--r-md);
  background: var(--shot-bg); box-shadow: var(--shadow-shot); overflow: hidden;
}
/* 图按容器宽铺满、高度跟着源图比例走（width/height 属性已预留盒，不抖版）。
   不写 aspect-ratio + object-fit: contain——那样会在两侧留下 72~169px 的空边，
   图反而变小；也不裁源图。 */
.shot img {
  display: block; width: 100%; height: auto; background: var(--shot-bg);
}
/* 矮窗口（16:9 外接屏 / 横屏手机）才按高度收：图仍等比，只是不再占满宽 */
@media (max-height: 720px) {
  .shot img { width: auto; max-width: 100%; height: 82svh; align-self: center; }
}
.bar {
  display: flex; align-items: center; gap: 9px; height: 33px; flex: none;
  padding: 0 13px; border-bottom: 1px solid var(--hair); background: var(--porcelain-2);
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.09em;
  text-transform: uppercase; color: var(--muted-deep);
}
.bar::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--aqua-deep); flex: none; }
.bar u { margin-left: auto; text-decoration: none; letter-spacing: 0.04em; text-transform: none; color: var(--ink-2); }

/* 每张自带模块归属 + 一句话：合并成一条轮播后，四个模块的名字随图走。
   底用实白而非 --porcelain-2：那条带下压着的是文字，muted / aqua-deep 在
   porcelain-2 上只有 4.27 / 4.3，不到 AA。margin-top: auto 把说明钉到帧底，
   各帧余量落在信纸色里，看不出来。 */
.shot__cap {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px;
  margin-top: auto; padding: 12px 15px 13px;
  border-top: 1px solid var(--hair); background: var(--china);
}
.shot__cap b {
  flex: none; font-family: var(--mono); font-size: 11px; font-weight: 500;
  letter-spacing: 0.08em; color: var(--aqua-deep);
}
.shot__cap .facts { font-size: 14px; line-height: 1.6; }

/* 轮播控制：箭头浮在图的左右两侧（拇指自然够得着），指示点在下方居中。
   底色取实白而非半透明——半透明会把下面的截图混进对比度里。 */
.shots__nav {
  position: absolute; top: 50%; z-index: 2;
  display: grid; place-items: center; width: 44px; height: 44px;
  transform: translateY(-50%);
  background: var(--china); border: 1px solid var(--hair-2); border-radius: 50%;
  box-shadow: 0 2px 10px rgba(11, 31, 42, 0.08), 0 10px 26px -14px rgba(11, 31, 42, 0.4);
  color: var(--ink); cursor: pointer;
  transition: color 0.22s, border-color 0.22s, background 0.22s, box-shadow 0.22s;
}
.shots__nav--prev { left: 16px; }
.shots__nav--next { right: 16px; }
.shots__nav svg { display: block; }
.shots__nav:hover:not(:disabled) { color: var(--china); border-color: var(--aqua-deep); background: var(--aqua-deep); }
.shots__nav:disabled { color: var(--muted); border-color: var(--hair); box-shadow: none; cursor: default; }
.shots__ctl { display: flex; align-items: center; justify-content: center; gap: 4px; }
/* 暂停开关比指示点略深一档，26px 见方跟那颗胶囊同高，视觉上像"这一排里的另一个键" */
.shots__play {
  display: grid; place-items: center; width: 26px; height: 26px; padding: 0;
  border: 0; border-radius: 7px; background: transparent; cursor: pointer;
  color: color-mix(in srgb, var(--ink) 58%, transparent);
  transition: color 0.16s, background 0.16s;
}
.shots__play:hover { color: var(--aqua-deep); background: color-mix(in srgb, var(--aqua-deep) 12%, transparent); }
.shots__play svg { display: block; }
.shots__dots { display: flex; align-items: center; gap: 2px; }
.shots__dot {
  display: grid; place-items: center; width: 26px; height: 26px; padding: 0;
  background: transparent; border: 0; cursor: pointer;
}
.shots__dot span {
  position: relative; display: block; width: 6px; height: 6px; border-radius: 99px;
  background: color-mix(in srgb, var(--ink) 26%, transparent);
  transition: width 0.3s cubic-bezier(0.2, 0.6, 0.2, 1), background 0.3s;
}
.shots__dot:hover span { background: var(--aqua-deep); }
.shots__dot[aria-current="true"] span { width: 24px; background: var(--aqua-deep); }
/* 自动轮播的读秒：激活那颗胶囊从左往右填实（时长由 site.js 下发 --auto-ms），
   悬停 / 聚焦 / 离屏 / 后台时冻在原地，一眼能看出"是我停下来看的"而不是坏了 */
.shots.is-auto .shots__dot[aria-current="true"] span {
  background: color-mix(in srgb, var(--aqua-deep) 30%, transparent);
}
.shots.is-auto .shots__dot[aria-current="true"] span::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: var(--aqua-deep); transform-origin: 0 50%;
  animation: dot-read var(--auto-ms, 5000ms) linear both;
}
.shots.is-auto.is-paused .shots__dot[aria-current="true"] span::after {
  animation-play-state: paused;
}
@keyframes dot-read { from { transform: scaleX(0); } }


/* ── 下载 ─────────────────────────────────────────── */
.dl-meta {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px;
  font-family: var(--mono); font-size: 13px; color: var(--on-abyss-mute);
}
.dl-meta .big { font-family: var(--display); font-weight: 300; font-size: 1.5rem; color: var(--aqua); letter-spacing: -0.01em; }

.table-wrap { border: 1px solid var(--abyss-hair); border-radius: var(--r-md); overflow: hidden; }
table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
caption.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
th, td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--abyss-hair); vertical-align: middle; }
thead th {
  font-family: var(--mono); font-size: 10.5px; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--on-abyss-mute); background: rgba(255, 255, 255, 0.035);
}
tbody tr { transition: background 0.2s; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: rgba(55, 214, 192, 0.07); }
tbody td:first-child { position: relative; font-weight: 600; color: var(--on-abyss); }
td.num { font-family: var(--mono); font-size: 12.5px; color: var(--on-abyss-2); white-space: nowrap; }
/* 访客系统行由 JS 标记：左侧水青道 + 一枚「当前设备」徽标（首屏选择面板共用） */
tbody tr.is-you td:first-child::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 2px; background: var(--aqua);
}
.you-tag {
  display: none; margin-left: 9px; padding: 2px 7px; border-radius: 999px;
  font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.09em; text-transform: uppercase;
  background: var(--aqua); color: var(--abyss); vertical-align: 0.12em;
}
.is-you .you-tag { display: inline-block; }
/* 面板里改描边款：底色已经给当前设备行上了水青，再压一颗实心胶囊会盖过主按钮 */
.pick__item .you-tag {
  margin-left: 0; padding: 2px 6px; border-radius: 5px;
  background: transparent; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--aqua) 42%, transparent);
  color: var(--aqua); letter-spacing: 0.02em; text-transform: none; font-size: 10.5px;
}
.dl { color: var(--aqua); font-weight: 600; white-space: nowrap; }
.dl:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ── 页脚 ────────────────────────────────────────── */
.footer { border-top: 1px solid var(--abyss-hair); padding: 26px 0 30px; color: var(--on-abyss-mute); }
.footer__bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; }
.footer__note { margin: 0; font-size: 13.5px; }
.footer__links { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-left: auto; }
.footer a { font-size: 14px; color: var(--on-abyss-2); transition: color 0.18s; }
.footer a:hover { color: var(--aqua); }
.footer__bottom {
  display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: center;
  margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--abyss-hair);
  font-size: 13px;
}
.footer__bottom p { margin: 0; }
.footer__bottom .sep { margin-left: auto; font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.03em; }

/* ── 出场 ─────────────────────────────────────────── */
/* 载入：首屏一次编排好的错峰浮现；滚动：其余区块逐段进场 */
.js .hero [data-rise] { opacity: 0; transform: translateY(18px); animation: rise 0.85s cubic-bezier(0.2, 0.6, 0.2, 1) both; }
@keyframes rise { to { opacity: 1; transform: none; } }
.js .hero [data-rise="1"] { animation-delay: 0.05s; }
.js .hero [data-rise="2"] { animation-delay: 0.15s; }
.js .hero [data-rise="3"] { animation-delay: 0.25s; }
.js .hero [data-rise="4"] { animation-delay: 0.35s; }
.js .hero [data-rise="5"] { animation-delay: 0.12s; }
.js .hero [data-rise="6"] { animation-delay: 0.5s; }

.js .reveal { opacity: 0; transform: translateY(16px); }
.js .reveal.is-in {
  opacity: 1; transform: none;
  transition: opacity 0.7s cubic-bezier(0.2, 0.6, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.6, 0.2, 1);
}
.reveal[data-d="1"] { transition-delay: 0.09s; }
.reveal[data-d="2"] { transition-delay: 0.18s; }

/* ── 响应式 ───────────────────────────────────────── */
@media (max-width: 1040px) {
  .section { padding: 78px 0; }
  .hero__inner { grid-template-columns: minmax(0, 1fr); gap: 8px; padding-bottom: 52px; }
  /* 平板/小笔记本不再把吉祥物提到标题之前：下载要落在第一屏，
     实测 1024×768 下按钮原点在 y=781（屏外），现在 ~y=430 */
  .hero__stage { min-height: 340px; }
  .hero__mascot { width: min(72%, 330px); }
  .telemetry { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .telemetry div:nth-child(3) { border-left: 0; padding-left: 0; }
  .telemetry div:nth-child(-n + 2) { border-bottom: 1px solid var(--abyss-hair); }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav__links { display: none; }
  .nav__inner { gap: 12px; }
  .brand span { display: none; }
  .section { padding: 60px 0; }
  .hero { padding-top: 34px; }
  .hero__stage { order: 1; min-height: 0; margin-top: 4px; }
  .hero__mascot { width: min(60%, 244px); }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__actions .pick { flex: 1 1 100%; }
  .btn__sub { display: none; }
  /* 手机上箭头收一号、贴边，别压住截图内容 */
  .shots { gap: 12px; }
  .shots__nav { width: 38px; height: 38px; }
  .shots__nav--prev { left: 9px; }
  .shots__nav--next { right: 9px; }
  .shot__cap { gap: 3px 10px; padding: 11px 13px 12px; }
  .telemetry { grid-template-columns: minmax(0, 1fr); }
  .telemetry div { border-left: 0; border-bottom: 1px solid var(--abyss-hair); padding-left: 0; }
  .telemetry div:last-child { border-bottom: 0; }
  /* 安装包表在手机上不横滚：格式列让位，一行一行自己排 */
  .table-wrap { overflow: visible; }
  table { min-width: 0; }
  thead { display: none; }
  tbody tr { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; padding: 13px 16px; border-bottom: 1px solid var(--abyss-hair); }
  tbody tr:last-child { border-bottom: 0; }
  td { padding: 0; border: 0; }
  tbody td:first-child { display: flex; align-items: center; width: 100%; }
  td:nth-child(3) { display: none; }
  td:last-child { margin-left: auto; }
  .footer__links { margin-left: 0; }
  .footer__bottom .sep { margin-left: 0; width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .shots__track { scroll-behavior: auto; }
  .js .hero [data-rise], .js .reveal { opacity: 1; transform: none; animation: none; transition: none; }
  .hero__mascot, .sonar i, .kicker::before { animation: none; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
@media print {
  .nav, .footer { display: none; }
  .field--abyss { background: #fff; color: #000; }
  .js .reveal, .js .hero [data-rise] { opacity: 1; transform: none; }
  /* 打印时轮播摊开成竖排，别只印出第一张 */
  .shots__track { display: block; overflow: visible; }
  .shot { margin-bottom: 14px; }
  .shots__ctl { display: none; }
  .shots__nav { display: none; }
  /* 打印只留直链：▾ 收起来时面板本来不印，展开键也别留成一个孤方块 */
  .pick__toggle { display: none; }
  .pick__go { border-radius: 10px; }
}
