/* ============================================================
   6.5 · 页面外壳
   首屏 / 工作台 / 进度条 / 颗粒 / 页脚 / 弹层

   参考老弟那版交接包的视觉语言，但所有实现按我们的变量与性能边界重写：
   —— 它用 backdrop-filter 的地方，这里全部换成高不透明实底
      （6.3 实测：那层合成本身就要命，blur20 与 blur8 同为 12.7fps）
   —— 它用 filter:blur() 做入场的地方，这里保留（只在过渡期产生合成层）
   —— 它的圆角 44/32/20/12 照搬；插件窗口内部仍是 tokens.js 的真机 8/12/16
   ============================================================ */

:root {
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --ease-soft: cubic-bezier(.22, .61, .36, 1);

  /* 页面层大曲率圆角。插件窗口内部不用这三个 —— 那边是真机值。 */
  --r-xl: 44px;
  --r-lg: 32px;
  --r-md: 20px;
  --r-sm: 12px;

  /* 段落节奏：交接包 90–170px，这是「高级感」最主要的来源之一 */
  --seg-pad: clamp(96px, 11vw, 168px);

  /* 内容左缘：视口比 1440 宽时，wrap 居中，左缘不等于 gutter */
  --edge: max(var(--gutter), calc((100vw - 1440px) / 2));
}

/* ---- 颗粒 -------------------------------------------------
   比交接包低一档（它 0.32 + mix-blend-mode: overlay）。
   我们的画布内部本来就有颗粒，再叠一层 overlay 会发脏。 */
.grain {
  position: fixed;
  inset: 0;
  z-index: 9;
  pointer-events: none;
  opacity: .028;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
}
/* 原来 body::after 承担同一件事，两层层叠会变脏 —— 合并到 .grain 一层 */
body::after { content: none !important; }

/* ---- 滚动进度 --------------------------------------------- */
.progress {
  position: fixed;
  top: 0; left: 0;
  z-index: 95;
  width: 100%;
  height: 2px;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, transparent, var(--accent) 40%, var(--warm));
  pointer-events: none;
}

/* ============================================================
   首屏
   ============================================================ */
.cover {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 100vh;
  min-height: 100svh;
  padding: 116px 0 30px;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(120% 80% at 50% 108%, var(--bg-2) 0%, var(--bg) 62%),
    var(--bg);
}

.cover__stage {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.6s var(--ease-out);
}
.cover__stage.is-ready { opacity: 1; }

/* 遮罩：上沿压暗、下沿收进底色，让 3D 舞台「从页面里长出来」而不是贴上去 */
.cover__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(62% 46% at 46% 34%, color-mix(in oklab, var(--bg) 58%, transparent) 0%, transparent 72%),
    linear-gradient(to bottom, var(--bg) 0%, transparent 20%, transparent 72%, var(--bg) 100%);
}

.cover__inner {
  position: relative;
  z-index: 2;
  width: min(calc(100% - 2 * var(--gutter)), 1440px);
  margin: auto auto;
  text-align: left;
}
/* 屏读专用：h1 里的「ANCHOR 调度」只给读屏和 SEO，不该有视觉体积。
   6.5 之前全站没有这条规则，字标一加就露出两个 ANCHOR。 */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* ---- 眉标 ----
   它原来是字标之上的一行小字，和 ANCHOR 抢同一块留白，字标再大一点就挤。
   现在落到 lede 之后：读序变成「名字 → 一句话 → 展开 → 技术规格 → 按钮」，
   字标上方彻底空出来，眉标也换到它该待的位置——按钮前的那行参数。 */
.cover__eyebrow {
  /* 7.1：技术参数不再是一行悬在正文下面的小字，
     而是一条有发丝线的 meta —— 和下方按钮同属「机器信息」层。 */
  display: flex;
  align-items: center;
  gap: 9px;
  width: min(100%, 480px);
  margin: clamp(20px, 2.2vw, 28px) 0 0;
  padding-top: 13px;
  border-top: 1px solid var(--hair);
  font-size: 11.5px;
  letter-spacing: .12em;
  color: color-mix(in oklab, var(--muted) 78%, transparent);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 1s var(--ease-out), transform 1.1s var(--ease-out);
  transition-delay: .82s;
}
.cover__eyebrow .dot {
  flex: none;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(230, 203, 168, .42);
  animation: pulseDot 3.4s var(--ease-io) infinite;
}
@keyframes pulseDot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(230, 203, 168, .42); }
  50% { box-shadow: 0 0 0 6px transparent; }
}

/* ---- 字标：金属填充层逐字揭开 ----
   第十六轮删掉了描边预览层：它入场时 scale(1.06) 且下移 .16em，
   填充层还没盖住就先亮起来，手机浅色下会闪一层不到一秒的细线重影；
   归位后又完全藏在实心字背后，对终态没有任何贡献。
   现在只留一层：每字 62ms、六字共 372ms，用 clip-path 从下往上揭开。 */
.wordmark {
  position: relative;
  display: block;
  margin: 0;
  font-family: var(--f-head);
  font-weight: 500;
  font-size: clamp(48px, 8.4vw, 116px);
  line-height: .9;
  letter-spacing: .22em;
  color: var(--text);
  user-select: none;
}
.wm {
  display: grid;
  justify-content: start;
  /* letter-spacing 加在字符「之后」，所以末字后面也多出 0.22em。
     用负 margin 把整块左移回来，首字母才和正文左缘对齐；
     末尾那点字距落在容器右边缘之外，看不出来。 */
  margin-left: -.1em;
}
.wm__layer {
  grid-area: 1 / 1;
  display: flex;
  justify-content: flex-start;
  white-space: nowrap;
}
.wm__layer i {
  display: inline-block;
  font-style: normal;
  width: 1em;
  text-align: center;
  transition-property: clip-path, opacity, transform, filter;
  transition-duration: 1.25s;
  transition-timing-function: var(--ease-out);
  transition-delay: calc(var(--i) * 62ms + var(--base, 0ms));
}
.wm__layer--fill i {
  background: linear-gradient(180deg,
    var(--text) 0%,
    #F3E9D8 44%,
    var(--accent) 78%,
    #CBBCA8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  clip-path: inset(104% 0 0 0);
  transform: translateY(.1em);
}
.wordmark.is-in .wm__layer--fill i {
  clip-path: inset(-18% 0 -6% 0);
  transform: none;
}
/* 字标底下的呼吸光。不用 filter:blur —— 渐变本身已经足够软，
   加一层 38px 的模糊只是多一次全屏重光栅化。 */
.wordmark::after {
  content: "";
  position: absolute;
  left: 26%;
  bottom: -14%;
  width: 68%;
  height: 40%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(230, 203, 168, .34) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 1.8s var(--ease-out) .5s;
  pointer-events: none;
  z-index: -1;
}
.wordmark.is-in::after { opacity: .55; }

/* ---- 字标组：ANCHOR 横排 +「调度」竖排（6.8 · 方案 B）----
   中文名原来挤在副题行里只有 19px、还和 slogan 并排，权重差 6 倍。
   现在独立成层竖排在字标右侧：中文竖排自带印章感，与横排拉丁字母
   形成正交对比；权重靠位置与留白，不靠把字放大到跟 ANCHOR 一样吵。 */
.cover__brand {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 30px);
}
.cover__brand .wordmark { flex: 0 0 auto; }
.cover__cn {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-left: clamp(13px, 1.5vw, 21px);
  font-family: var(--f-head);
  font-size: clamp(26px, 3.1vw, 42px);
  font-weight: 500;
  line-height: 1.06;
  color: var(--warm);
  text-shadow: 0 0 26px rgba(230, 203, 168, .18);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 1.1s var(--ease-out) .6s, transform 1.2s var(--ease-out) .6s;
}
.cover__cn::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 1px; height: 66%;
  transform: translateY(-50%);
  background: linear-gradient(to bottom, transparent, var(--border), transparent);
}
.cover__cn i { font-style: normal; }
.cover.is-in .cover__cn { opacity: 1; transform: none; }

/* ---- 副题：让空间看得见 ---- */
.cover__sub {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: clamp(20px, 2.2vw, 30px);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 1s var(--ease-out), transform 1.2s var(--ease-out);
  transition-delay: .55s;
}
/* 7.1：这句原来和正文、参数、按钮挤在同一个小字号里，全屏没有主标题。
   现在它才是首屏的标题：字标是「名字」，这句是「这句话」。
   三层对比拉开 —— 标题大且高对比 / 正文中等且灰 / 参数小且更淡。 */
.cover__claim {
  display: block;
  /* 断行按语义：第一行停在逗号，别把「看得见」劈成两半 */
  max-width: min(100%, 505px);
  font-family: var(--f-head);
  font-weight: 500;
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.34;
  letter-spacing: -.012em;
  color: var(--text);
  text-wrap: pretty;
}

.cover__lede {
  margin: clamp(14px, 1.5vw, 20px) 0 0;
  max-width: 60ch;
  font-size: clamp(13.5px, 1vw, 15px);
  line-height: 1.75;
  color: var(--muted);
  white-space: normal;
  text-wrap: pretty;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 1.1s var(--ease-out), transform 1.2s var(--ease-out);
  transition-delay: .75s;
}

.cover__actions {
  display: flex; align-items: center; flex-wrap: wrap; gap: 12px;
  margin-top: clamp(18px, 2vw, 24px);
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 1.1s var(--ease-out), transform 1.2s var(--ease-out);
  transition-delay: .92s;
}
/* 主按钮的金属扫光：一次 0.9s 的横向高光，只在悬停时跑 */
.cover__actions .primary { position: relative; overflow: hidden; }
.cover__actions .primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .5), transparent 70%);
  transform: translateX(-120%);
  transition: transform .9s var(--ease-out);
}
.cover__actions .primary:hover::after { transform: translateX(120%); }

/* 入场后 */
.cover.is-in .cover__eyebrow,
.cover.is-in .cover__sub,
.cover.is-in .cover__lede,
.cover.is-in .cover__actions {
  opacity: 1;
  transform: none;
}

/* ---- 向下提示 ---- */
.cover__scroll {
  position: absolute;
  right: var(--gutter);
  bottom: 40px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 10.5px;
  letter-spacing: .24em;
  color: color-mix(in oklab, var(--muted) 62%, transparent);
  writing-mode: vertical-rl;
  opacity: 0;
  transition: opacity 1.2s var(--ease-out) 1.5s;
}
.cover.is-in .cover__scroll { opacity: 1; }
.cover__scroll i {
  position: relative;
  width: 1px;
  height: 46px;
  overflow: hidden;
  background: linear-gradient(to bottom, var(--border), transparent);
}
.cover__scroll i::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 1px; height: 14px;
  background: var(--accent);
  animation: scrollCue 2.4s var(--ease-io) infinite;
}
@keyframes scrollCue {
  0% { transform: translateY(-100%); opacity: 0; }
  30% { opacity: 1; }
  100% { transform: translateY(330%); opacity: 0; }
}

/* ============================================================
   段落眉标
   原来每段是一个「02」这样的纯数字。数字只说明顺序，不说明这是哪一节。
   改成「02 空间 / SPACE」：序号保留，中英各一遍。
   ============================================================ */
.eyebrow {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 0 0 clamp(16px, 2vw, 24px);
  font-family: var(--f-head);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow b {
  font-weight: 400;
  color: color-mix(in oklab, var(--muted) 56%, transparent);
  font-variant-numeric: tabular-nums;
}
/* 旧的 .index 还留在个别位置，一并收进同一套观感 */
.eyebrow.index, .seg .index {
  font-family: var(--f-head);
  letter-spacing: .2em;
  color: var(--accent);
}

/* ============================================================
   工作台（原首屏的插件窗口）
   ============================================================ */
.seg--studio {
  position: relative;
  padding: var(--seg-pad) 0;
  border-top: 1px solid var(--hair);
}
.studio-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: clamp(18px, 3vw, 56px);
  margin-bottom: clamp(22px, 2.6vw, 34px);
}
.studio-head h2 {
  font-size: clamp(30px, 3.8vw, 58px);
  line-height: 1.16;
  letter-spacing: -.015em;
  white-space: normal;
}
/* 图注：与窗口同宽、同左缘，贴在窗口上沿。
   字号收到 .seg-note 那一档，它属于「对这张图的说明」，不属于标题层。 */
/* 7.1：一句话横着排一排贴在窗口上沿。
   文案里原本带 
 和空行，white-space 从 pre-line 改成 normal，
   换行折叠成空格 —— 一个字没改，只是不再断成三行。
   左右各一根发丝线，让这一行读起来是「设备的标注带」，不是一段浮文。 */
.studio-fignote {
  display: flex;
  align-items: center;
  gap: 14px;
  width: var(--studio-w);
  margin: 0 auto clamp(14px, 1.6vw, 20px);
  max-width: none;
  font-size: clamp(13px, 1vw, 14.5px);
  line-height: 1.7;
  color: color-mix(in oklab, var(--muted) 86%, transparent);
  white-space: normal;
  text-wrap: pretty;
}
.studio-fignote::before {
  content: "";
  flex: none;
  width: clamp(18px, 2.4vw, 34px);
  height: 1px;
  background: var(--warm);
  opacity: .55;
}
.studio-fignote::after {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  background: linear-gradient(90deg, var(--hair), transparent);
  opacity: .8;
}
/* 设备外壳：在原有窗口「外面」再加一层 bezel，让它是「被摆在这里的一台设备」。
   红线：插件窗口本体必须严格 1240×820。ui.js 的 applyScale() 用
   .ui-scaler 的 clientWidth / 1240 算缩放，所以 bezel 只要占掉 1px 宽度，
   整窗就会缩到 1236×817。因此 bezel 用「外扩阴影」画在元素之外，
   padding 恒为 0，布局尺寸与 6.4 完全一致。 */
/* 7.2：7.1 把窗口放到 1640，一屏装不下 → 回到 1240。
   7.6：1240 仍偏大。窗口按 1240:820 = 1.512 比例整体缩放，
   宽度直接决定高度，所以按【视口高度】反推宽度才装得下：
     900px 视口 → 约 820px 宽 / 543px 高，加上标题、图注与收窄后的
     段留白，整段约 900px，一屏可以完整看到。
   下限 820px 是给矮屏留的可读性底线（再小界面里的字就看不清了），
   上限 1240px 保持不变；窄屏仍由 100vw - gutter 兜底。
   标题行 / 图注 / 窗口三者继续共用这个宽度。 */
.seg--studio {
  --studio-w: min(
    1240px,
    max(820px, calc((100vh - 360px) * 1.512)),
    calc(100vw - 2 * var(--gutter))
  );
  padding-block: clamp(40px, 5vh, 64px);
}
.seg--studio .studio-head,
.seg--studio .studio-fignote {
  width: var(--studio-w);
  margin-inline: auto;
}
.seg--studio .ui-shell {
  --bezel: clamp(8px, .9vw, 14px);
  width: 100%;
  max-width: var(--studio-w);
  margin-inline: auto;
  padding: 0;
  border: 0;
  /* 6.6 · 导角必须同心。
     这里原来是 calc(--r-lg + 6px) = 38px，而里面的窗口是 tokens.js 的 16px ——
     外圈比内圈多 22px，四个角各露出一小片「外壳底色」，看着就是四个不一样的角。
     但光把两边都写成 18px 也不对：内窗整体是 transform: scale() 缩过的，
     1240 以下它的渲染圆角是 18×scale（674 宽时只剩 9.8px），外壳这句
     18px 却是实打实不缩的 —— 于是内角变方、外圈还是圆的，正是图 11 那一眼。
     真正的同心条件是「外壳圆角 = 内窗渲染圆角」，所以交给 ui.js 每次
     算缩放时同步写进 --ui-r。这里的 18px 只是 JS 没跑起来时的兜底。 */
  border-radius: var(--ui-r, 18px);
  background: linear-gradient(180deg,
    color-mix(in oklab, var(--panel) 88%, transparent),
    color-mix(in oklab, var(--bg-2) 94%, transparent));
  box-shadow:
    0 0 0 var(--bezel) color-mix(in oklab, var(--panel) 78%, var(--bg) 22%),
    0 0 0 calc(var(--bezel) + 1px) var(--hair),
    inset 0 1px 0 rgba(255, 255, 255, .05),
    0 40px 90px -60px rgba(0, 0, 0, .95);
}
/* 皮肤切换行原来紧贴窗口顶部；现在窗口外面多了一圈外扩的 bezel，
   按钮会压在边框上，这里让出 bezel 的宽度再留 10px 呼吸。 */
/* 皮肤行已在标题行内，不再需要给 bezel 让位 */
.seg--studio .hero-skinrow { padding-top: 0; margin-bottom: 4px; }
.studio-caption {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 18px auto 0;
  font-size: 12px;
  letter-spacing: .06em;
  color: color-mix(in oklab, var(--muted) 70%, transparent);
}
.studio-caption i { font-style: normal; opacity: .45; }

/* ============================================================
   页脚
   ============================================================ */
.foot {
  position: relative;
  padding: clamp(56px, 6vw, 88px) 0 clamp(28px, 3vw, 40px);
  border-top: 1px solid var(--hair);
  background: linear-gradient(to bottom, transparent, color-mix(in oklab, var(--bg-2) 60%, transparent));
}
.foot__top {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr);
  gap: clamp(32px, 5vw, 80px);
}
.foot__brand .brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
}
.brand-mark {
  width: 28px; height: 18px;
  color: var(--accent);
  overflow: visible;
}
.foot__brand p {
  margin: 16px 0 0;
  font-size: 13px;
  line-height: 1.9;
  color: color-mix(in oklab, var(--muted) 78%, transparent);
  white-space: pre-line;
}
.foot__cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 40px);
}
.foot__cols h5 {
  margin: 0 0 14px;
  font-family: var(--f-head);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .16em;
  color: var(--text);
}
.foot__cols a,
.foot__cols button {
  display: block;
  width: 100%;
  min-height: 0;
  margin: 0 0 10px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  text-align: left;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--muted);
  text-decoration: none;
  cursor: pointer;
  transition: color .2s;
}
.foot__cols a:hover,
.foot__cols button:hover { color: var(--warm); }

.foot__legal {
  margin-top: clamp(40px, 5vw, 64px);
  padding-top: clamp(24px, 3vw, 36px);
  border-top: 1px solid var(--hair);
}
.foot__legal p {
  margin: 0 0 12px;
  max-width: 96ch;
  font-size: 12px;
  line-height: 1.95;
  color: color-mix(in oklab, var(--muted) 62%, transparent);
  white-space: normal;
}
.foot__base {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
  font-size: 12px;
  color: color-mix(in oklab, var(--muted) 58%, transparent);
}
.foot__dot { opacity: .5; }
.foot__base .switch { margin-left: auto; }
.foot__base .switch button {
  min-height: 0;
  padding: 3px 9px;
  font-size: 12px;
  border-radius: var(--r-pill);
}

/* ============================================================
   使用手册弹层
   ============================================================ */
.manual {
  position: fixed;
  inset: 0;
  z-index: 130;
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  pointer-events: none;
}
.manual.is-open { visibility: visible; pointer-events: auto; }
.manual__scrim {
  position: absolute;
  inset: 0;
  background: color-mix(in oklab, var(--bg) 88%, transparent);
  opacity: 0;
  transition: opacity .45s var(--ease-soft);
}
/* 遮罩是唯一保留毛玻璃的地方：它只在弹层打开时存在，
   且下面整页静止不重绘，不构成常驻合成层。 */
@supports (backdrop-filter: blur(1px)) {
  .manual__scrim {
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
  }
}
.manual.is-open .manual__scrim { opacity: 1; }

.manual__panel {
  position: relative;
  display: flex;
  flex-direction: column;
  width: min(1120px, calc(100vw - 48px));
  height: min(88vh, 980px);
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--bg-2);
  box-shadow: 0 60px 120px -40px rgba(0, 0, 0, .9);
  transform: translateY(24px) scale(.97);
  opacity: 0;
  transition: transform .7s var(--ease-out), opacity .5s var(--ease-out);
}
.manual.is-open .manual__panel { transform: none; opacity: 1; }

.manual__bar {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
  padding: 14px 16px;
  border-bottom: 1px solid var(--hair);
}
.manual__ic {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 38px; height: 38px;
  border: 1px solid var(--border);
  border-radius: 11px;
  color: var(--accent);
}
.manual__ic svg {
  width: 18px; height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.manual__id { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.manual__id b { font-size: 14px; font-weight: 500; color: var(--text); }
.manual__id span { font-size: 11px; color: color-mix(in oklab, var(--muted) 70%, transparent); }
.manual__tools { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.manual__act {
  display: inline-flex;
  align-items: center;
  height: 32px;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  font-size: 12px;
  color: var(--text);
  text-decoration: none;
  transition: color .25s, border-color .25s, background .25s;
}
.manual__act:hover { border-color: var(--accent); color: var(--warm); background: color-mix(in oklab, var(--accent) 12%, transparent); }
.manual__act--ghost { color: var(--muted); }
.manual__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px; height: 32px;
  min-height: 0;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: none;
  color: var(--muted);
  transition: color .25s, border-color .25s, transform .25s;
}
.manual__close svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; }
.manual__close:hover { color: var(--text); border-color: var(--accent); transform: rotate(90deg); }

.manual__body {
  position: relative;
  flex: 1;
  overflow: hidden;
  background: var(--bg);
}
.manual__body iframe {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  border: 0;
  opacity: 0;
  transition: opacity .5s;
}
.manual__body iframe.is-loaded { opacity: 1; }
.manual__loader {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-size: 12.5px;
  color: var(--muted);
  transition: opacity .4s;
}
.manual__loader.is-hidden {
  opacity: 0;
  pointer-events: none;
}
.manual__fallback {
  margin-top: 6px;
  font-size: 12px;
  color: var(--accent);
  text-underline-offset: .22em;
}
.manual__fallback:hover { color: var(--warm); }
.manual__loader i {
  width: 22px; height: 22px;
  border: 1.5px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin .9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ============================================================
   法律弹层
   ============================================================ */
.legal {
  position: fixed;
  inset: 0;
  z-index: 131;
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  pointer-events: none;
}
.legal.is-open { visibility: visible; pointer-events: auto; }
.legal__scrim {
  position: absolute;
  inset: 0;
  background: color-mix(in oklab, var(--bg) 86%, transparent);
  opacity: 0;
  transition: opacity .45s var(--ease-soft);
}
.legal.is-open .legal__scrim { opacity: 1; }
.legal__panel {
  position: relative;
  display: flex;
  flex-direction: column;
  width: min(720px, calc(100vw - 40px));
  max-height: min(84vh, 860px);
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--bg-2);
  box-shadow: 0 60px 120px -40px rgba(0, 0, 0, .9);
  transform: translateY(20px) scale(.98);
  opacity: 0;
  transition: transform .6s var(--ease-out), opacity .45s var(--ease-out);
}
.legal.is-open .legal__panel { transform: none; opacity: 1; }
.legal__bar {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
  padding: 16px 20px;
  border-bottom: 1px solid var(--hair);
}
.legal__bar h2 {
  margin: 0;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: .02em;
  color: var(--text);
}
.legal__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px; height: 30px;
  min-height: 0;
  margin-left: auto;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: none;
  color: var(--muted);
  transition: color .25s, border-color .25s, transform .25s;
}
.legal__close svg { width: 11px; height: 11px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; }
.legal__close:hover { color: var(--text); border-color: var(--accent); transform: rotate(90deg); }
.legal__body {
  overflow-y: auto;
  padding: 4px 20px 24px;
  font-size: 13.5px;
  line-height: 1.9;
  color: color-mix(in oklab, var(--text) 82%, transparent);
}
.legal__body h3 {
  margin: 22px 0 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
}
.legal__body p { margin: 0 0 12px; white-space: normal; }
.legal__body ul { margin: 0 0 12px; padding-left: 18px; list-style: disc; }
.legal__body li { margin: 0 0 6px; }

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 1080px) {
  .cover__inner { text-align: left; }
  .cover__lede { max-width: none; }
  .studio-fignote { max-width: 60ch; }
  .studio-fignote::after { display: none; }
  .foot__top { grid-template-columns: minmax(0, 1fr); gap: 36px; }
}

/* 平板竖屏（761–1200）：首屏是单栏文案，右侧塞不下舞台，
   所以把舞台沉到页面下沿，只用一段弧线当地平线，不压正文。 */
@media (min-width: 761px) and (max-width: 1240px) {
  .cover__stage {
    -webkit-mask-image: linear-gradient(to bottom, transparent 56%, #000 74%);
    mask-image: linear-gradient(to bottom, transparent 56%, #000 74%);
  }
}

@media (max-width: 760px) {
  .cover { padding: 108px 0 76px; min-height: auto; }
  /* 手机上把标题宽度卡在 11 个字，断行停在逗号，别把「看得见」劈开 */
  .cover__claim { max-width: min(100%, 310px); }
  .cover__eyebrow { width: 100%; }
  /* 第十五轮：手机端整条 3D 舞台撤掉。
     完整 ∞ 在 375px 宽里只能缩到按钮下方那一小块，线会从两个 CTA 背后
     穿过去 —— 用户原话「莫比乌斯环盖在下方了」。桌面/平板的大 ∞ 已经
     承载了这个符号，手机上让 CTA 干净收尾。
     用 visibility 而非 display：canvas 仍占尺寸，视口拉宽跨档时
     herostage 能直接复活，不必重新 mount。 */
  .cover__stage { visibility: hidden; }
  .cover__veil {
    background: linear-gradient(to bottom, var(--bg) 0%, transparent 26%, transparent 74%, var(--bg) 100%);
  }
  .wordmark { font-size: clamp(40px, 13.5vw, 64px); letter-spacing: .16em; }
  .wm { margin-left: -.16em; }
  /* 6.8：手机上 ANCHOR 已经几乎占满一行，竖排中文再按桌面尺寸会贴到右缘。
     这里收一档，保住「两个字也是字标」的权重，但不让它顶到屏幕边。 */
  .cover__brand { gap: 8px; }
  .cover__cn { font-size: 21px; padding-left: 9px; }
  .cover__sub { flex-wrap: wrap; gap: 10px; }
  .cover__scroll { display: none; }
  .foot__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .manual__panel { width: calc(100vw - 24px); height: 88vh; border-radius: var(--r-md); }
  .manual__id span { display: none; }
  .manual__act--ghost { display: none; }
  .legal__panel { width: calc(100vw - 24px); }
}

/* 6.9.4：原先这里有一段 .cover.is-static 把入场 transition 全部压成 0，
   用来实现「打开即定稿」。那是 6.9.3 的过度删除 —— 用户要的只是不显示
   品牌图，不是把整页入场干掉。规则已整段移除，入场回归正常时长。 */

@media (prefers-reduced-motion: reduce) {
  .cover__stage { transition: none; opacity: 1; }
  .cover__eyebrow, .cover__cn, .cover__sub, .cover__lede,
  .cover__actions, .cover__scroll {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .wm__layer i { transition: none; clip-path: none; filter: none; opacity: 1; transform: none; }
  .cover__scroll i::after { animation: none; }
  .cover__eyebrow .dot { animation: none; }
}

/* ============================================================
   6.5 · 顶栏收起 / 弹层锁滚动
   ============================================================ */
/* 下滚收起、上滚出现（交接包的做法）。
   sticky 元素上做 translateY 不会破坏粘性，只是把它推出视口。 */
.masthead { will-change: transform; }
.masthead.is-hidden { transform: translateY(-102%); }

body.is-locked { overflow: hidden; }

/* 6.6 · 明暗切换按钮
   原来它是 34×34 的正圆（border-radius: pill），旁边「中 / EN」是 41×46
   的圆角方块 —— 一排三个，第一个既是圆又是小一号，看着像另一个控件。
   现在统一成同一档：同样的高度、同样的 12px 圆角，只换图标。 */
.theme-btn {
  width: 44px;
  height: 46px;
  min-height: 0;
  padding: 0;
  border-radius: var(--r-ctl);
}
.theme-btn i { width: 14px; height: 14px; }

/* 顶栏里的手册入口是个 button，要和链接长得一样 */
.mast-manual {
  padding: 7px 11px;
  border: 0;
  border-radius: var(--r-pill);
  background: none;
  font-size: 14px;
  line-height: 1.4;
  color: var(--muted);
  min-height: 0;
}
.mast-manual:hover { color: var(--warm); background: color-mix(in oklab, var(--text) 7%, transparent); }

@media (max-width: 1024px) {
  .mast-manual { padding: 6px 10px; font-size: 13px; }
}

/* ============================================================
   6.5 · 顶栏改 fixed
   sticky 仍然占文档流高度：首屏 100svh 从它下面开始算，
   于是首屏底部被推出视口 73px，读数盘正好落在外面。
   交接包的导航就是 fixed。fixed 之后不占位，首屏才是真正的「一屏」。
   ============================================================ */
.masthead {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 80;
}

/* 首屏顶栏：原来是一条 94% 不透明的实心横条 + 1px 底边，
   3D 穹顶铺满首屏后，这道硬边会把经线齐刷刷切断。
   未滚动时改成向下渐隐、去掉底边；一旦滚动立即恢复实底（保证正文可读）。 */
.masthead:not(.is-scrolled)::after {
  height: calc(100% + 34px);
  bottom: -34px;
  border-bottom-color: transparent;
  background: linear-gradient(to bottom,
    color-mix(in oklab, var(--bg) 90%, transparent) 0%,
    color-mix(in oklab, var(--bg) 76%, transparent) 54%,
    color-mix(in oklab, var(--bg) 40%, transparent) 82%,
    transparent 100%);
}

/* ============================================================
   6.6 · 三视图卡片：三张同规格的仪器
   6.5 是把三张的「底」统一成深色；6.6 把「形式」也统一了 ——
   卡头（主视 · 3D / 俯视 · X/Z）、画面、卡脚（拖动定位）三段式，
   跟真机面板一致。底色不再写死深色，而是跟着纸张走：
   深色纸上是一块深玻璃，浅色纸上是一块浅面板。
   ============================================================ */
.tri-cell {
  display: flex;
  flex-direction: column;
  background: color-mix(in oklab, var(--panel) 52%, transparent);
  /* sections.css 里给它挂了 backdrop-filter: blur(12px)；
     6.3 实测过这块的成本在合成层本身（blur8 与 blur20 同为 12.7fps），
     三张卡片糊一次墙完全不值。 */
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.tri-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  padding: 11px 13px 2px;
  font-size: 12px;
  line-height: 1.6;
  letter-spacing: .02em;
  color: var(--text);
}
.tri-head b { font-weight: 500; }
.tri-head i {
  font-style: normal;
  font-family: var(--f-num);
  font-size: 10.5px;
  letter-spacing: .06em;
  color: color-mix(in oklab, var(--muted) 58%, transparent);
}
.tri-canvas {
  flex: none;
  aspect-ratio: 1.06;
  min-height: 0;
  margin: 8px 10px 0;
  background: var(--bg);
  border-radius: var(--r-sm);
  box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--border) 62%, transparent);
  overflow: hidden;
}
.tri-canvas canvas { border-radius: inherit; }

/* 6.6 · 浅色页上画布不再是「深玻璃」。
   sections.css 里有一条 :root[data-theme="light"] .tri-canvas canvas { background:#0F1113 }
   —— 那是 6.4「浅页里嵌深玻璃」的做法。现在画布改成跟着纸走（daylight 皮肤），
   底板必须让出来，否则浅色皮肤会被一块 #0F1113 盖住。 */
:root[data-theme="light"] .tri-canvas canvas,
:root[data-theme="light"] .mo-viz > canvas,
:root[data-theme="light"] #cv-pos,
:root[data-theme="light"] #cv-spk,
:root[data-theme="light"] #cv-sync {
  background: transparent;
}
.tri-foot {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 9px 13px 11px;
  font-size: 10.5px;
  letter-spacing: .06em;
  color: color-mix(in oklab, var(--muted) 56%, transparent);
}
.tri-foot s {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: currentColor;
  opacity: .6;
  flex: none;
}
.tri-foot em {
  margin-left: auto;
  font-style: normal;
  opacity: .8;
}

/* 6.6 · 下载段要有收尾留白。
   实测这一段 padding-bottom 是 0：卡片底边正好落在页脚的 1px 分界线上，
   滚到底时像「卡片压着一条线」。给一个段间距，卡片才浮在页脚上方。 */
#download {
  padding-bottom: clamp(72px, 8vw, 128px);
}

/* ============================================================
   6.9.2 · 下载区不再是一张「贴上去的卡片」
   原来 32px 圆角 + 实底渐变 + 内斜光，跟左边大标题不成组：
   左栏因此显空、右栏表格显重，两栏顶部也不齐。
   现在与页面同底：眉标跨栏 → 标题与主按钮成组 →
   次要信息收成一条横线 → 右表加宽、行距放松、顶部对齐。

   7.5：7.3 又把卡片请了回来、7.4 把按钮改通栏，两轮下来左栏
   反而被一个大方框箍住。按用户要求整体回退到本版（无卡片），
   标题 / 按钮 / 版本行 / 限制说明 / 次要链接全部平级。
   ============================================================ */
#download .dl-main {
  display: inline-flex;
  min-height: 58px;
  padding-inline: 30px;
  margin-top: clamp(26px, 2.6vw, 38px);
}
#download .dl-meta { margin: 14px 0 0; }

/* 三条次要信息并排；展开的那个占满整行，不会把相邻入口挤变形 */
#download .dl-links {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: clamp(18px, 2vw, 30px);
  row-gap: 10px;
  margin-top: clamp(30px, 3vw, 46px);
  padding-top: 18px;
  border-top: 1px solid var(--hair);
}
#download .dl-links > * { margin: 0; }
#download .dl-links details[open] { flex-basis: 100%; }
#download .dl-links details > :not(summary) { margin-top: 12px; }
/* 这三个入口在横排里不该再各自带一条上边框和额外外边距 */
#download .dl-links .license-box,
#download .dl-links .manual-links {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}
#download .dl-links .hash-box .hash { margin-top: 12px; }

/* 浅色下字标的金属渐变要压深，否则浅灰压在米白上读不出来。
   注意必须用 background-image：写成 background 简写会把
   background-clip:text 一起重置回 border-box，
   结果每个字母都变成一块实心渐变方块。 */
:root[data-theme="light"] .wm__layer--fill i {
  background-image: linear-gradient(180deg, #1A1B1C 0%, #3B342B 40%, #6E5A42 76%, #8A7458 100%);
}
:root[data-theme="light"] .wordmark::after {
  background: radial-gradient(ellipse at center, rgba(110, 90, 66, .22) 0%, transparent 70%);
}
:root[data-theme="light"] .cover {
  background:
    radial-gradient(120% 80% at 50% 108%, var(--bg-2) 0%, var(--bg) 62%),
    var(--bg);
}
:root[data-theme="light"] .cover__veil {
  background:
    radial-gradient(62% 46% at 46% 34%, color-mix(in oklab, var(--bg) 62%, transparent) 0%, transparent 72%),
    linear-gradient(to bottom, var(--bg) 0%, transparent 20%, transparent 72%, var(--bg) 100%);
}


/* ============================================================
   6.6 · 05 段那张面板：跟着皮肤走，但只在刻度和读数上
   深色页它本来就吃皮肤变量；浅色页如果整块变深，就退回
   「浅色页面贴一块黑玻璃」的老问题。所以浅色下底色仍是纸，
   只把 warm/accent 换成当前皮肤的色相（再压深到纸上能读）。
   ============================================================ */
:root[data-theme="light"] .macro {
  --warm: color-mix(in oklab, var(--skin-warm, #5C4A36) 48%, #1A1B1C);
  --accent: color-mix(in oklab, var(--skin-accent, #6E5A42) 44%, #1A1B1C);
}

/* ============================================================
   6.7 · 层级精修
   借 seventeammusic.com 组织信息的方式，不借它的视觉：古铜浮雕、
   神话意象、中文衬线属于它的品牌，不属于 ANCHOR 的仪器感。
   只搬三件结构手法：补中间字号档、让段落有主次、强调色收回到编号。
   —— 不动配色体系、字族、文案、画布与任何交互。
   —— 想回到 6.6 版式：删掉从这里到文件末尾的整块即可。

   顺带修一个真 bug：sections.css 的 `.seg p`（0,1,1）优先级高于
   cover.css 的 `.eyebrow`（0,1,0），十六段眉标一直被吃成 18px 灰字，
   原本设计的细字距小眉标从来没生效过。层级塌在这里，不是缺装饰。
   ============================================================ */

/* ---- 1 · 眉标归位，暖色收成一点 -------------------------- */
.seg .eyebrow,
#download .eyebrow {
  margin: 0 0 clamp(18px, 2vw, 26px);
  font-size: 10.5px;
  line-height: 1.6;
  letter-spacing: .24em;
  color: var(--muted);
}
.seg .eyebrow b,
#download .eyebrow b {
  font-size: 11px;
  letter-spacing: .08em;
  color: var(--accent);
}
.eyebrow.index, .seg .index { color: var(--muted); }

/* ---- 2 · 补 20–44px 中间档 -------------------------------
   实测原阶梯：h2 50px → 段内说明 18px（68% 灰）→ 小字 15px → 眉标 11px。
   50 到 18 之间是断的。把每段 h2 后那句「引题」提到 29px 并提亮，
   得到 50 → 29 → 18 → 11；同段第二个 <p> 仍是 18px 补充说明，
   于是 space / hrtf 这类两段文案自然分成「引题 + 补充」。 */
.seg-copy > h2 + p,
.duo-copy > h2 + p {
  margin-top: 22px;
  max-width: 30ch;
  font-size: clamp(22px, 2vw, 29px);
  line-height: 1.5;
  letter-spacing: -.008em;
  color: var(--text);
}

/* ---- 3 · 让十六段有主次 ----------------------------------
   原来每段精确 900px，滚起来像十六张同尺寸幻灯片。
   七段参数说明压到 84svh；工作台（1469）与三视图（1093）
   自然成为重段，品牌段 100svh 仍是呼吸。只在桌面生效，
   窄屏那套已验收的断点一个都不碰。 */
@media (min-width: 1025px) {
  .seg--duo { min-height: 84svh; }
  .seg--duo .seg-inner.duo { min-height: min(60vh, 540px); }
  #download.split { padding-block: clamp(84px, 9vw, 132px); }
}

/* ---- 4 · 数字比标签响 ------------------------------------
   规格表原来是「标签 15 / 数值 15」平铺。数值大一号、标签退到 12，
   参数才有主次（对应参考站把数据做成论据的做法；写结论文案属内容
   改动，留到下一轮）。 */
#download .specs div { grid-template-columns: minmax(0, .72fr) minmax(0, 2fr); }
#download .specs dt { font-size: 12px; letter-spacing: .04em; }
#download .specs dd { font-size: clamp(16px, 1.2vw, 18px); }

/* ============================================================
   6.7.1 · 让主次一眼可见
   6.7 的四级字号是对的，但十六段标题仍全是 50px，滚起来还是平，
   并排看差异也偏含蓄。这里只做三件尺度与结构上的加力：
   标题分主次、眉标加一条短线、引题再提一档。
   依旧不动配色体系、字族、文案、画布与任何交互。
   ============================================================ */

/* ---- 1 · 标题分主次 ---------------------------------------
   空间盒 / 三视图这两个承载核心演示的重段放大到 66px，
   七个参数说明段收到 42px，其余保持 50px。
   长滚动里于是有 66 → 50 → 42 的节奏，而不是十六个 50。 */
@media (min-width: 1025px) {
  .seg--stage h2,
  .seg--views h2 {
    font-size: clamp(40px, 4.6vw, 66px);
    line-height: 1.22;
  }
  .seg--duo h2 {
    font-size: clamp(30px, 3vw, 42px);
    line-height: 1.32;
  }
}

/* ---- 2 · 眉标前面那条短线 ---------------------------------
   参考站把强调色收成极少几点；这里用一根 24px 细线给每段起头，
   比把整行染成琥珀更克制，也是仪器面板的读法。 */
.seg .eyebrow::before,
#download .eyebrow::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 1px;
  margin-right: 14px;
  vertical-align: .3em;
  background: var(--accent);
  opacity: .85;
}

/* ---- 3 · 引题再提一档 -------------------------------------
   29 → 33px，让它和大标题之间不必靠颜色也能分出层级。 */
.seg-copy > h2 + p,
.duo-copy > h2 + p {
  font-size: clamp(24px, 2.25vw, 33px);
}

/* ---- 16 · 页脚落款与下载区限制说明（7.0 改版补齐） ---------- */
.foot__slogan {
  margin: clamp(28px, 3.6vw, 44px) 0 0;
  font-family: var(--f-head);
  font-size: 12.5px;
  letter-spacing: .22em;
  color: color-mix(in oklab, var(--muted) 66%, transparent);
}
#download .dl-limits {
  margin: 16px 0 0;
  max-width: 46ch;
  font-size: 13.5px;
  line-height: 1.9;
  color: color-mix(in oklab, var(--text) 52%, transparent);
}
/* 工作台的说明文字要能保留换行（两句话之间空一行） */

/* 英文页：中文品牌字不进画面
   首屏「调度」竖排、插件窗口字标里的「调度」都是品牌的中文名，
   英文版只留 ANCHOR。只隐藏，不动任何尺寸、间距与位置规则。 */
html[lang="en"] .cover__cn,
html[lang="en"] .ui-mark > span,
html[lang="en"] .ui-mark > i {
  display: none;
}

/* 英文页：页脚与顶栏的品牌字标同样只留 ANCHOR，去掉中文名与那条分隔线 */
html[lang="en"] .brand > span,
html[lang="en"] .brand > i { display: none; }

/* ============================================================
   11-11 · 04 段重排：左大字成组 / 右斜置的实时窗口
   用户要求：标题与那句说明放到左边放大；窗口放右边、别死死贴在
   平面里，参考 #craft 段 .macro-pane 的透视倾斜。
   左栏三个元素收进 .studio-aside 用 flex 成组、整列垂直居中，
   不再散在上下两端；reveal 动画、皮肤绑定、data-text 全部原样保留。
   ============================================================ */
.seg--studio {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.62fr);
  gap: clamp(28px, 4vw, 76px);
  align-items: center;
  width: min(1420px, calc(100vw - 2 * var(--gutter)));
  margin-inline: auto;
}
/* 右栏背后一盏暖灯，照搬 .macro::before 的做法 */
.seg--studio::before {
  content: '';
  position: absolute;
  z-index: 0;
  top: 4%; right: -3%; bottom: 4%; left: 40%;
  background: radial-gradient(58% 52% at 52% 44%,
    color-mix(in oklab, var(--warm) 11%, transparent), transparent 72%);
  filter: blur(34px);
  pointer-events: none;
}
.seg--studio .studio-aside {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(18px, 2vw, 30px);
  min-width: 0;
}
.seg--studio .studio-head {
  width: auto; margin: 0; padding-inline: 0;
  flex-direction: column; align-items: flex-start;
  gap: clamp(16px, 1.8vw, 26px);
}
.seg--studio .studio-head h2 {
  font-size: clamp(42px, 4.8vw, 76px);
  line-height: 1.06;
  letter-spacing: -.035em;
}
.seg--studio .studio-fignote {
  display: block;
  width: auto; max-width: 24ch; margin: 0;
  font-size: clamp(15px, 1.3vw, 19px);
  line-height: 1.85;
  color: color-mix(in oklab, var(--text) 78%, transparent);
}
/* 左栏是竖排文字组，那两根横向发丝线不再适用 */
.seg--studio .studio-fignote::before,
.seg--studio .studio-fignote::after { display: none; }
.seg--studio .studio-caption {
  width: auto; margin: 0; padding-inline: 0;
  justify-content: flex-start;
  font-size: 11.5px;
}
.seg--studio .hero-skinrow { margin: 0; padding-top: 0; }
.seg--studio .studio-stage {
  position: relative;
  perspective: 1400px;
  min-width: 0;
}
.seg--studio .ui-shell {
  width: 100%; max-width: none; margin: 0;
  transform: rotateX(8deg) rotateY(-11deg) translateZ(0);
  transform-origin: 50% 50%;
  transition: transform 1.2s cubic-bezier(.16, 1, .3, 1);
}
/* 鼠标移上去稍微回正，跟 #craft 的 macro-pane 一个手感 */
.seg--studio .ui-shell:hover { transform: rotateX(2deg) rotateY(-3deg) translateZ(0); }

@media (max-width: 980px) {
  .seg--studio {
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(18px, 2.4vw, 28px);
    width: calc(100vw - 2 * var(--gutter));
    max-width: 760px;
  }
  .seg--studio::before { display: none; }
  .seg--studio .studio-stage { perspective: none; }
  .seg--studio .ui-shell,
  .seg--studio .ui-shell:hover { transform: none; }
  .seg--studio .studio-fignote { max-width: 46ch; }
}

/* ============================================================
   11-11 · 去掉 04 段外层的矩形边界（用户反馈：浅色下很明显）
   上一版给 .seg--studio 加了 width:min(1420px,100vw-2*gutter) +
   margin-inline:auto，段从全宽收成 1284px 的居中容器。
   而全站 .seg::after 是一层只覆盖本段的暗角：
     radial-gradient(132% 96% at 50% 42%, transparent 38%, rgba(0,0,0,.46))
   段窄了以后，这层暗角的左右边缘就落在 x=78 / x=1362 上，
   浅色底被压出两道灰边、配合 border-top 读起来就是一整圈「外框」；
   深色底本来就近黑，压暗 46% 看不出来 —— 正好解释了明暗差异。

   改回全宽、用 padding-inline 把两栏内容仍约束在原来的 1420px 内：
     1440 视口：padding = gutter 77.76 → 内容 1284.48px（与改前完全一致）
     1920 视口：padding = (1920-1420)/2 = 250 → 内容 1420px（与改前一致）
   暗角于是铺满整个视口，与相邻各段连续，不再有矩形分界。
   border-top 那根发丝线也是一条可见边界，一并去掉。
   ============================================================ */
#studio.seg--studio {
  width: 100%;
  max-width: none;
  margin-inline: 0;
  padding-inline: max(var(--gutter), calc((100vw - 1420px) / 2));
  border-top: 0;
}
@media (max-width: 980px) {
  /* 窄屏原本是 max-width:760px 居中，这里同样换算成内边距 */
  #studio.seg--studio {
    padding-inline: max(var(--gutter), calc((100vw - 760px) / 2));
  }
}

/* ============================================================
   11-11 · 手机端顶部重排 + 字标不再被顶栏蒙住
   命中测试：首屏字标 y=132 处最顶层是 HEADER.masthead (z=80)，
   它的 :not(.is-scrolled)::after 把底色向下延伸 34px 并渐隐到透明，
   正好盖在 ANCHOR 上 —— 深底下只是压暗，浅底下直接把深色字蒙成
   极淡的浅灰（用户反馈「浅色看不清」「快捷方式挡住 anchor」是同一件事）。
   手机端改成不透明实底、不向下延伸；两行控件拉开；字标整体下移。
   ============================================================ */
@media (max-width: 1024px) {
  .masthead {
    gap: 11px 14px;
    padding-block: 12px 10px;
  }
  .masthead::after,
  .masthead:not(.is-scrolled)::after {
    height: 100% !important;
    bottom: 0 !important;
    background: var(--bg) !important;
    border-bottom: 1px solid var(--hair) !important;
  }
  .mast-nav {
    gap: 3px;
    padding-block: 4px 2px;
  }
  /* 六个锚点必须在 360px 内全部可见：加宽点击区后「下载」会被横滚挤出屏幕。
     文字总宽约 190px，留 2×7px padding + 3px gap 后刚好落在 312px 容器里。 */
  .mast-nav a, .mast-manual {
    padding: 8px 7px;
    font-size: 12.5px;
    white-space: nowrap;          /* 「手册」原先折成「手/册」两行 */
  }
  .mast-right { gap: 8px; }
  .cover { padding-top: 150px; }
  main > section[id] { scroll-margin-top: 128px; }
}
@media (max-width: 760px) {
  .cover { padding-top: 142px; }
  /* 参数行「…Windows x64 · 免费」在 360px 下把「费」孤字挤到第二行。
     收字号与字距，让它整行放得下，而不是靠折行硬塞。 */
  .cover__eyebrow {
    font-size: 10.5px;
    letter-spacing: .02em;
  }
}
/* 第十五轮补：英文版六个锚点比中文长，≤430px 时最后一项「Download」
   会被顶栏右缘裁成「Do」（实测 390px 下末项 right=387，nav 右缘只有 366）。
   第十四轮只量了中文 360px，漏了英文这一档。只收紧英文 + 窄屏，
   中文、桌面、≥431px 的英文一个字节不动。 */
@media (max-width: 430px) {
  html[lang="en"] .mast-nav { gap: 1px; }
  html[lang="en"] .mast-nav a,
  html[lang="en"] .mast-manual {
    padding-inline: 5px;
    font-size: 11.5px;
    letter-spacing: 0;
  }
}
/* 浅色下字标与竖排中文的权重对齐深色：实底顶栏不再蒙一层之后，
   再把填充渐变压深一档、中文名去掉暖光雾感。 */
:root[data-theme="light"] .wm__layer--fill i {
  background-image: linear-gradient(180deg,
    #14100C 0%, #2A2119 34%, #4A3A2A 72%, #6B5540 100%);
}
:root[data-theme="light"] .cover__cn {
  color: #5C4A36;
  text-shadow: none;
}
/* 手机端关掉大范围模糊：一次 blur(34px) 会在滚动时反复重栅格化 */
@media (max-width: 760px) {
  .seg--studio::before { filter: none; opacity: .55; }
}
