/* 几格官网 · 宣纸陶瓷 × 黑曜硬件橱窗（工业设计画册风格，全尺寸自适应，严格 CSP 兼容） */

:root {
  /* 呼应 app-icon.svg 的暖宣纸白 (#f6f3ee) 与深炭墨 (#211d19) */
  --paper: #f4f1ea;
  --paper-card: #fbf9f5;
  --paper-soft: #ece7dd;
  --ink: #191715;
  --ink-2: #5d5850;
  --ink-3: #8c867c;
  --line: rgba(25, 23, 21, 0.1);
  --line-strong: rgba(25, 23, 21, 0.18);

  /* 工业印章朱橙（克制点缀，致敬博朗/工业仪器） */
  --accent: #d45226;
  --accent-soft: rgba(212, 82, 38, 0.1);
  --verified-bg: rgba(27, 122, 62, 0.09);
  --verified-ink: #186a37;
  --verified-line: rgba(24, 106, 55, 0.24);

  /* 深黑阳极氧化橱窗色系 */
  --mono-bg: #131312;
  --mono-surface: #1b1b19;
  --mono-line: rgba(246, 243, 238, 0.1);
  --mono-ink: #f5f2eb;
  --mono-ink-2: #a5a096;

  /* Windows 真实界面内部状态色 */
  --ui-ok: #60cdff;
  --ui-warn: #fce100;
  --ui-low: #ff99a4;
  --ui-charge: #6ccb5f;
  --ui-idle: #93928d;
  --ui-cell-empty: rgba(255, 255, 255, 0.12);

  --wrap: 1160px;
  --gutter: clamp(18px, 4vw, 40px);
  --radius: 20px;
  --radius-m: 14px;
  --radius-s: 10px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  --font-sans: "HarmonyOS Sans SC", "MiSans", "PingFang SC", "Hiragino Sans GB", "Source Han Sans SC", "Microsoft YaHei UI", "Microsoft YaHei", -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", "Cascadia Mono", "SF Mono", "Consolas", ui-monospace, monospace;

  color-scheme: light;
  scrollbar-color: #c8c1b6 var(--paper);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  -webkit-text-size-adjust: 100%;
  background: var(--paper);
  overflow-x: clip;
}

body {
  margin: 0;
  min-height: 100%;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  position: relative;
}

.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.nowrap { white-space: nowrap; }

::selection { background: rgba(212, 82, 38, 0.18); color: var(--ink); }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--paper); }
::-webkit-scrollbar-thumb { background: #cdc6ba; border-radius: 10px; border: 2px solid var(--paper); }

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.012em; text-wrap: balance; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.skip {
  position: absolute; left: 16px; top: -52px; z-index: 100;
  background: var(--ink); color: var(--paper); padding: 8px 14px; border-radius: 8px;
  font-weight: 600; text-decoration: none; transition: top 0.2s var(--ease-out);
}
.skip:focus { top: 12px; }

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* =========================================================
   背景氛围层：暖调日光窗影 + 随指针缓摆的大尺度精密圆弧
   ========================================================= */
.bg-fx {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background:
    radial-gradient(ellipse 90% 60% at 85% -10%, rgba(255, 255, 255, 0.85), transparent 65%),
    radial-gradient(ellipse 70% 55% at 10% 100%, rgba(226, 214, 194, 0.5), transparent 65%),
    var(--paper);
}

main, .footer { position: relative; z-index: 1; }

.bg-sun {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  will-change: transform;
}
.bg-sun-1 {
  width: min(820px, 90vw);
  height: 520px;
  right: -120px;
  top: -180px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.92) 0%, rgba(246, 232, 210, 0.35) 55%, transparent 74%);
  transform: translate3d(calc(var(--px, 0px) * -32), calc(var(--py, 0px) * -22), 0);
}
.bg-sun-2 {
  width: min(680px, 80vw);
  height: 460px;
  left: -140px;
  top: 220px;
  background: radial-gradient(circle, rgba(212, 82, 38, 0.085) 0%, rgba(228, 175, 118, 0.08) 52%, transparent 74%);
  transform: translate3d(calc(var(--px, 0px) * 38), calc(var(--py, 0px) * 26), 0);
}

.bg-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.bg-spotlight {
  position: absolute;
  inset: 0;
  background: radial-gradient(560px circle at var(--mx, 50%) var(--my, 20%), rgba(255, 255, 255, 0.42), transparent 64%);
  opacity: 0;
  transition: opacity 0.6s ease;
}
body.has-pointer .bg-spotlight { opacity: 1; }

/* =========================================================
   顶部导航：首屏通栏置顶，下滑后向右上角丝滑缩放收拢为胶囊
   ========================================================= */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  display: flex;
  justify-content: flex-end;
  padding: env(safe-area-inset-top, 0px) 0 0;
  pointer-events: none;
  transition: padding 0.52s var(--ease-out);
}
.nav.is-compact {
  padding: calc(14px + env(safe-area-inset-top, 0px)) clamp(14px, 2.5vw, 28px) 0;
}

.nav-dock {
  position: relative;
  pointer-events: auto;
  width: 100%;
  overflow: hidden;
  background: rgba(244, 241, 234, 0.72);
  backdrop-filter: blur(20px) saturate(1.3);
  -webkit-backdrop-filter: blur(20px) saturate(1.3);
  border: 1px solid transparent;
  border-bottom-color: rgba(25, 23, 21, 0.08);
  border-radius: 0;
  transform: scale(1);
  transform-origin: right top;
  box-shadow: none;
  transition:
    width 0.54s var(--ease-out),
    border-radius 0.54s var(--ease-out),
    border-color 0.42s ease,
    background-color 0.42s ease,
    box-shadow 0.48s var(--ease-out),
    transform 0.46s var(--ease-out);
}
.nav.is-scrolled:not(.is-compact) .nav-dock {
  background: rgba(244, 241, 234, 0.9);
  border-bottom-color: var(--line);
}
.nav.is-compact .nav-dock {
  width: 500px;
  max-width: calc(100vw - 32px);
  border-radius: 999px;
  border-color: rgba(25, 23, 21, 0.13);
  background: rgba(251, 249, 245, 0.88);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 16px 40px -14px rgba(25, 22, 18, 0.22);
  transform: scale(0.93);
}
.nav.is-compact .nav-dock:hover {
  transform: scale(0.985);
  border-color: rgba(25, 23, 21, 0.22);
}

.nav-inner {
  width: 100%;
  max-width: calc(var(--wrap) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 64px;
  gap: 16px;
  transition: height 0.48s var(--ease-out), padding-inline 0.48s var(--ease-out), gap 0.48s var(--ease-out);
}
.nav.is-compact .nav-inner {
  max-width: none;
  grid-template-columns: auto 1fr auto;
  padding-inline: 10px 8px;
  height: 48px;
  gap: 6px;
}

.wordmark {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16.5px;
  letter-spacing: 0.02em;
  color: var(--ink);
  transition: gap 0.42s var(--ease-out);
}
.nav.is-compact .wordmark { gap: 0; }

.wordmark-logo {
  display: block;
  width: 28px;
  height: 28px;
  border-radius: 7px;
  box-shadow: 0 1px 4px rgba(25, 23, 21, 0.14);
  transition: transform 0.25s var(--ease-out), width 0.42s var(--ease-out), height 0.42s var(--ease-out), border-radius 0.42s var(--ease-out);
}
.nav.is-compact .wordmark-logo { width: 26px; height: 26px; border-radius: 999px; }
.wordmark:hover .wordmark-logo { transform: scale(1.06); }

.wordmark-text {
  display: inline-block;
  overflow: hidden;
  white-space: nowrap;
  max-width: 4em;
  opacity: 1;
  transition: max-width 0.42s var(--ease-out), opacity 0.28s ease;
}
.nav.is-compact .wordmark-text { max-width: 0; opacity: 0; }

.nav-links {
  position: relative;
  justify-self: center;
  display: flex;
  align-items: center;
  gap: clamp(6px, 1.2vw, 12px);
  font-size: 14px;
  transition: gap 0.42s var(--ease-out), font-size 0.42s var(--ease-out);
}
.nav.is-compact .nav-links { gap: 2px; font-size: 13px; }
.nav-pill {
  position: absolute;
  top: 50%;
  left: 0;
  height: 30px;
  border-radius: 999px;
  background: rgba(25, 23, 21, 0.065);
  transform: translate3d(0, -50%, 0);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.32s var(--ease-out), width 0.32s var(--ease-out), opacity 0.22s ease;
}
.nav-pill.is-show { opacity: 1; }
.nav-links a {
  position: relative;
  z-index: 1;
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--ink-2);
  text-decoration: none;
  transition: color 0.2s ease, padding 0.42s var(--ease-out);
  white-space: nowrap;
}
.nav.is-compact .nav-links a { padding: 5px 9px; }
.nav-links a:hover { color: var(--ink); }
.nav-links a.is-current { color: var(--accent); font-weight: 600; }

.nav-right { justify-self: end; }

.read-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1.5px;
  background: linear-gradient(90deg, rgba(212, 82, 38, 0.4), var(--accent));
  transform-origin: 0 50%;
  transform: scaleX(0);
  pointer-events: none;
}

/* =========================================================
   按钮系统（炭墨实体按钮 + 精细线框按钮）
   ========================================================= */
.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  padding: 0 22px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.22s var(--ease-out), box-shadow 0.25s var(--ease-out), background-color 0.2s ease, border-color 0.2s ease;
}
.btn:active { transform: translateY(1px) scale(0.99); }
.btn .icon { flex: none; }

.btn-primary {
  background: var(--ink);
  color: var(--paper-card);
  box-shadow: 0 10px 26px -10px rgba(25, 23, 21, 0.42);
}
.btn-primary:hover {
  background: #2b2723;
  transform: translateY(-1px);
  box-shadow: 0 14px 32px -10px rgba(25, 23, 21, 0.52);
}

.btn-ghost {
  background: rgba(251, 249, 245, 0.72);
  color: var(--ink);
  border: 1px solid var(--line-strong);
}
.btn-ghost:hover {
  background: #ffffff;
  border-color: rgba(25, 23, 21, 0.34);
  transform: translateY(-1px);
}

.btn-small {
  height: 36px;
  padding: 0 16px;
  border-radius: 8px;
  font-size: 13.5px;
  background: var(--ink);
  color: var(--paper-card);
}
.btn-small:hover { background: #2c2824; transform: translateY(-1px); }
.nav.is-compact .btn-small { height: 32px; padding: 0 14px; border-radius: 999px; font-size: 12.5px; }

.btn-paper {
  background: var(--paper-card);
  color: var(--ink);
  box-shadow: 0 10px 28px -10px rgba(0, 0, 0, 0.5);
}
.btn-paper:hover { background: #ffffff; transform: translateY(-1px); }
.btn-dark-ghost {
  background: rgba(245, 242, 235, 0.06);
  color: var(--mono-ink);
  border: 1px solid rgba(245, 242, 235, 0.2);
}
.btn-dark-ghost:hover { background: rgba(245, 242, 235, 0.12); border-color: rgba(245, 242, 235, 0.36); transform: translateY(-1px); }

/* =========================================================
   1. 杂志刊头式首屏（不对称双栏 + 深黑硬件橱窗）
   ========================================================= */
.hero {
  padding: calc(64px + clamp(32px, 4.5vw, 60px)) 0 clamp(56px, 6vw, 88px);
}

.masthead {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: end;
}

.edition-tag {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--ink-2);
}
.edition-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}
.edition-sep { color: var(--ink-3); }

.hero-title {
  margin-top: 16px;
  font-size: clamp(36px, 5.4vw, 68px);
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.hero-title .period { color: var(--accent); }

.masthead-right {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-bottom: 6px;
}

.hero-sub {
  font-size: clamp(16px, 1.5vw, 18.5px);
  line-height: 1.7;
  color: var(--ink-2);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 0;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  font-size: 12px;
  color: var(--ink-3);
}
.hero-meta li { white-space: nowrap; }
.hero-meta li + li::before { content: "·"; margin: 0 9px; color: rgba(25, 23, 21, 0.25); }

.hero-fallback { margin-top: 10px; font-size: 13px; color: var(--ink-2); }
.hero-fallback a { color: var(--accent); text-underline-offset: 3px; }

@media (prefers-reduced-motion: no-preference) {
  .enter { animation: heroIn 0.72s var(--ease-out) both; }
  .enter-1 { animation-delay: 0.04s; }
  .enter-2 { animation-delay: 0.12s; }
  .enter-3 { animation-delay: 0.20s; }
  @keyframes heroIn {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: none; }
  }
}

/* =========================================================
   深黑阳极氧化交互橱窗（强烈材质对比）
   ========================================================= */
.monolith-wrap {
  margin-top: clamp(32px, 4vw, 48px);
}

.monolith {
  border-radius: 22px;
  background: var(--mono-bg);
  border: 1px solid rgba(25, 23, 21, 0.22);
  overflow: hidden;
  box-shadow:
    0 32px 80px -24px rgba(25, 22, 18, 0.34),
    0 12px 28px -12px rgba(25, 22, 18, 0.18);
  transform: perspective(1400px) rotateX(var(--stage-tilt, 0deg)) scale(var(--stage-scale, 1));
  transform-origin: 50% 0%;
  will-change: transform;
}

.monolith-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 12px 18px;
  background: #191917;
  border-bottom: 1px solid var(--mono-line);
}

.monolith-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--mono-ink-2);
}
.led-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px rgba(212, 82, 38, 0.7);
}
.monolith-sep { opacity: 0.4; }

.stage-tabs {
  position: relative;
  display: inline-flex;
  flex-wrap: wrap;
  gap: 3px;
  padding: 4px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.stage-tab-slider {
  position: absolute;
  top: 4px;
  left: 4px;
  height: calc(100% - 8px);
  border-radius: 7px;
  background: rgba(245, 242, 235, 0.14);
  pointer-events: none;
  opacity: 0;
  transition: transform 0.36s var(--ease-out), width 0.36s var(--ease-out), height 0.36s var(--ease-out), opacity 0.2s ease;
}
.stage-tab-slider.is-ready { opacity: 1; }
.stage-tab {
  position: relative;
  z-index: 1;
  border: 0;
  background: transparent;
  color: #a49f96;
  padding: 6px 13px;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.2s ease;
}
.stage-tab:hover, .stage-tab.is-active { color: #f6f3ee; }
.stage-tab.is-active { font-weight: 600; }
.stage-tabs:not(.has-slider) .stage-tab.is-active { background: rgba(245, 242, 235, 0.14); }

.stage {
  position: relative;
  height: 512px;
  overflow: hidden;
  background: #141413;
  color: #f5f2eb;
  text-align: left;
  user-select: none;
}

.stage-wallpaper {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(62% 72% at 20% 26%, rgba(84, 74, 62, 0.44), transparent 64%),
    radial-gradient(56% 66% at 80% 20%, rgba(56, 70, 92, 0.38), transparent 62%),
    radial-gradient(56% 56% at 82% 88%, rgba(212, 82, 38, 0.16), transparent 60%),
    linear-gradient(145deg, #151412 0%, #191a1d 52%, #131312 100%);
}

/* 左侧桌面情景交互区 */
.stage-side {
  position: absolute;
  left: clamp(24px, 3.6vw, 44px);
  top: 50%;
  transform: translateY(-56%);
  max-width: min(400px, calc(100% - 416px));
  z-index: 8;
  transition: opacity 0.28s ease, transform 0.28s var(--ease-out);
}
.stage.is-game .stage-side { opacity: 0; pointer-events: none; transform: translateY(-50%); }
.stage-side-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(14, 14, 13, 0.6);
  border: 1px solid rgba(246, 241, 232, 0.14);
  backdrop-filter: blur(12px);
  font-size: 12px;
  color: rgba(245, 242, 235, 0.88);
}
.side-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ui-charge); }
.stage-side-title { margin-top: 16px; font-size: clamp(20px, 2.2vw, 25px); font-weight: 600; line-height: 1.3; color: #f6f3ee; }
.stage-side-desc { margin-top: 10px; font-size: 14px; line-height: 1.7; color: rgba(226, 221, 212, 0.78); }
.stage-side-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.side-btn {
  padding: 7px 14px;
  border-radius: 8px;
  border: 1px solid rgba(246, 241, 232, 0.18);
  background: rgba(16, 15, 14, 0.65);
  backdrop-filter: blur(12px);
  color: #f5f2eb;
  font-size: 12.5px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.18s ease, border-color 0.18s ease, transform 0.18s var(--ease-out);
}
.side-btn:hover { background: rgba(246, 243, 238, 0.14); border-color: rgba(246, 241, 232, 0.36); transform: translateY(-1px); }

/* Windows 11 Flyout 真实风格 */
.sim-flyout {
  position: absolute;
  right: 18px;
  bottom: 60px;
  width: 344px;
  max-width: calc(100% - 32px);
  background: rgba(34, 34, 34, 0.86);
  backdrop-filter: blur(36px) saturate(1.5);
  -webkit-backdrop-filter: blur(36px) saturate(1.5);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 10px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.45), 0 22px 48px rgba(0, 0, 0, 0.55);
  z-index: 18;
  opacity: 0;
  transform: translateY(16px) scale(0.985);
  pointer-events: none;
  transition: opacity 0.16s ease, transform 0.26s var(--ease-out);
}
.sim-flyout.is-open { opacity: 1; transform: none; pointer-events: auto; }

.fo-head { display: flex; align-items: center; gap: 8px; padding: 12px 12px 8px 16px; }
.fo-title { font-weight: 600; font-size: 14px; color: #f5f5f5; }
.fo-time { font-size: 12px; color: #a0a0a0; margin-left: auto; }
.fo-icon-btn {
  width: 30px; height: 30px; border-radius: 6px; border: 0; background: transparent;
  color: #bcbcbc; display: grid; place-items: center; cursor: pointer;
}
.fo-icon-btn:hover { background: rgba(255, 255, 255, 0.08); color: #ffffff; }
.fo-icon-btn.is-spin svg { animation: spin360 0.65s var(--ease-out); }
@keyframes spin360 { to { transform: rotate(360deg); } }

.fo-hero { margin: 0 10px; padding: 13px 14px; border-radius: 8px; background: rgba(255, 255, 255, 0.055); border: 1px solid rgba(255, 255, 255, 0.07); }
.fo-hero-top { display: flex; align-items: center; gap: 10px; }
.fo-dev-ico { width: 34px; height: 34px; border-radius: 8px; display: grid; place-items: center; background: rgba(96, 205, 255, 0.14); color: var(--ui-ok); flex: none; }
.fo-hero-meta { flex: 1; min-width: 0; }
.fo-hero-title-row { display: flex; align-items: center; gap: 6px; }
.fo-hero-name { font-size: 13.5px; font-weight: 600; color: #f5f5f5; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fo-conn { font-size: 10.5px; line-height: 16px; padding: 0 5px; border-radius: 4px; background: rgba(255, 255, 255, 0.09); color: #cccccc; font-weight: 600; flex: none; }
.fo-badge { display: inline-block; margin-top: 2px; font-size: 10.5px; line-height: 16px; padding: 0 6px; border-radius: 4px; background: rgba(255, 255, 255, 0.08); color: #bdbdbd; font-weight: 600; }
.fo-badge.is-gen { background: rgba(96, 205, 255, 0.14); color: var(--ui-ok); }
.fo-badge.is-ok { background: rgba(108, 203, 95, 0.16); color: var(--ui-charge); }

.fo-hero-mid { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-top: 10px; }
.fo-big { font-family: var(--font-mono); font-size: 36px; line-height: 36px; font-weight: 600; letter-spacing: -0.02em; color: #f5f5f5; }
.fo-big small { font-size: 15px; font-weight: 600; margin-left: 2px; color: #b7b7b7; }
.fo-big .approx { font-size: 18px; color: #9a9a9a; margin-right: 2px; vertical-align: 5px; }
.fo-sub { margin-top: 7px; font-size: 12px; color: #c4c4c4; display: flex; align-items: center; gap: 6px; }
.fo-dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex: none; }

.s-ok { --c: var(--ui-ok); }
.s-warn { --c: var(--ui-warn); }
.s-low { --c: var(--ui-low); }
.s-charge { --c: var(--ui-charge); }
.s-idle { --c: var(--ui-idle); }
.txt-low { color: var(--ui-low); }
.txt-warn { color: var(--ui-warn); }
.txt-charge { color: var(--ui-charge); }
.txt-ok { color: var(--ui-ok); }

.sim-cells { display: flex; gap: 3px; }
.sim-cells i { display: block; width: 11px; height: 20px; border-radius: 2.5px; background: var(--ui-cell-empty); transition: background-color 0.25s ease; }
.sim-cells.is-mini { gap: 2px; }
.sim-cells.is-mini i { width: 5px; height: 13px; border-radius: 1.5px; }
.sim-cells i.f { background: var(--c, var(--ui-ok)); }
.sim-cells i.next { background: var(--c, var(--ui-charge)); animation: cellBreathe 1.5s ease-in-out infinite; }
@keyframes cellBreathe { 0%, 100% { opacity: 0.18; } 50% { opacity: 0.92; } }
@keyframes cellPop { from { transform: scaleY(0.55); opacity: 0.4; } to { transform: none; opacity: 1; } }
.sim-cells.is-pop i.f { animation: cellPop 0.32s var(--ease-out) both; }
.sim-cells.is-pop i:nth-child(2) { animation-delay: 0.025s; }
.sim-cells.is-pop i:nth-child(3) { animation-delay: 0.05s; }
.sim-cells.is-pop i:nth-child(4) { animation-delay: 0.075s; }
.sim-cells.is-pop i:nth-child(5) { animation-delay: 0.10s; }
.sim-cells.is-pop i:nth-child(6) { animation-delay: 0.125s; }
.sim-cells.is-pop i:nth-child(7) { animation-delay: 0.15s; }
.sim-cells.is-pop i:nth-child(8) { animation-delay: 0.175s; }
.sim-cells.is-pop i:nth-child(9) { animation-delay: 0.20s; }
.sim-cells.is-pop i:nth-child(10) { animation-delay: 0.225s; }

.fo-list { padding: 6px 6px 4px; }
.fo-row {
  display: flex; align-items: center; gap: 10px; width: 100%; border: 0; background: transparent;
  padding: 7px 10px; border-radius: 7px; text-align: left; cursor: pointer; transition: background-color 0.14s ease;
}
.fo-row:hover { background: rgba(255, 255, 255, 0.065); }
.fo-row-ico { width: 30px; height: 30px; border-radius: 7px; background: rgba(255, 255, 255, 0.07); color: #cccccc; display: grid; place-items: center; flex: none; }
.fo-row-meta { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.fo-row-name { display: block; font-size: 13px; line-height: 1.35; color: #f2f2f2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fo-row-st { display: block; font-size: 11.5px; line-height: 1.35; color: #9c9c9c; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fo-row-num { font-family: var(--font-mono); font-size: 15.5px; font-weight: 600; min-width: 48px; text-align: right; color: #f2f2f2; }
.fo-row-num small { font-size: 11px; color: #9c9c9c; margin-left: 1px; }
.fo-foot { display: flex; align-items: center; justify-content: space-between; padding: 9px 14px 10px; border-top: 1px solid rgba(255, 255, 255, 0.08); font-size: 12px; color: #9c9c9c; }
.fo-foot-link { color: var(--ui-ok); }

/* 悬停卡片 */
.sim-hcard {
  position: absolute; bottom: 60px; left: 50%; width: min(256px, calc(100% - 24px));
  padding: 13px 15px; border-radius: 10px; background: rgba(34, 34, 34, 0.88);
  backdrop-filter: blur(36px) saturate(1.5); -webkit-backdrop-filter: blur(36px) saturate(1.5);
  border: 1px solid rgba(255, 255, 255, 0.12); box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
  z-index: 20; opacity: 0; transform: translateY(8px); pointer-events: none;
  transition: left 0.28s var(--ease-out), opacity 0.18s ease, transform 0.22s var(--ease-out);
}
.sim-hcard.is-show { opacity: 1; transform: none; }
.hc-top { display: flex; align-items: center; gap: 10px; }
.hc-ico { width: 30px; height: 30px; border-radius: 7px; background: rgba(96, 205, 255, 0.14); color: var(--ui-ok); display: grid; place-items: center; flex: none; }
.hc-meta { flex: 1; min-width: 0; }
.hc-name { font-size: 13.5px; font-weight: 600; color: #f5f5f5; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hc-sub { margin-top: 2px; font-size: 11px; color: #9e9e9e; display: flex; align-items: center; gap: 6px; }
.hc-mid { display: flex; align-items: center; gap: 10px; margin-top: 10px; }
.hc-big { font-family: var(--font-mono); font-size: 26px; font-weight: 600; line-height: 26px; color: #f5f5f5; min-width: 58px; }
.hc-big small { font-size: 13px; margin-left: 1px; color: #b7b7b7; }
.hc-cells { display: flex; gap: 3px; flex: 1; }
.hc-cells i { flex: 1; height: 13px; border-radius: 2.5px; background: var(--ui-cell-empty); display: block; }
.hc-cells i.f { background: var(--c, var(--ui-ok)); }
.hc-cells i.next { background: var(--c, var(--ui-charge)); animation: cellBreathe 1.5s ease-in-out infinite; }
.hc-st { margin-top: 8px; font-size: 11.5px; color: #c4c4c4; display: flex; align-items: center; gap: 6px; }

/* 低电量 Toast */
.sim-toast {
  position: absolute; right: 18px; bottom: 60px; width: min(320px, calc(100% - 24px));
  padding: 13px 15px; border-radius: 10px; background: rgba(34, 34, 34, 0.94);
  backdrop-filter: blur(36px); border: 1px solid rgba(255, 153, 164, 0.28);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.6); z-index: 24;
  transform: translateX(calc(100% + 28px)); opacity: 0; pointer-events: none;
  transition: transform 0.38s var(--ease-out), opacity 0.25s ease;
}
.sim-toast.is-show { transform: none; opacity: 1; pointer-events: auto; }
.toast-head { display: flex; align-items: center; gap: 7px; font-size: 12px; color: #bdbdbd; }
.toast-head img { border-radius: 4px; }
.toast-close { margin-left: auto; border: 0; background: transparent; color: #9c9c9c; font-size: 16px; line-height: 1; cursor: pointer; padding: 2px 6px; }
.toast-body { display: flex; align-items: center; gap: 12px; margin-top: 10px; }
.toast-ico { width: 34px; height: 34px; border-radius: 8px; background: rgba(255, 153, 164, 0.16); color: var(--ui-low); display: grid; place-items: center; flex: none; }
.toast-copy strong { display: block; font-size: 14px; color: #ffffff; }
.toast-copy span { font-size: 12.5px; color: #bdbdbd; }
.toast-actions { display: flex; gap: 8px; margin-top: 12px; }
.toast-btn { flex: 1; border: 1px solid rgba(255, 255, 255, 0.12); background: rgba(255, 255, 255, 0.05); color: #f5f5f5; font-size: 12.5px; padding: 6px 10px; border-radius: 6px; cursor: pointer; }
.toast-btn-pri { background: #f5f2eb; border-color: transparent; color: #161411; font-weight: 600; }

/* 全屏游戏遮罩 */
.sim-queued {
  position: absolute; left: 16px; top: 16px; z-index: 26; max-width: calc(100% - 32px);
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 13px; border-radius: 999px;
  background: rgba(16, 16, 15, 0.86); border: 1px solid rgba(108, 203, 95, 0.34);
  color: #d7f2dd; font-size: 12px; opacity: 0; transform: translateY(-6px); pointer-events: none;
  transition: opacity 0.28s ease, transform 0.28s var(--ease-out);
}
.sim-queued.is-on { opacity: 1; transform: none; }
.sim-queued-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ui-charge); flex: none; }
.sim-game {
  position: absolute; inset: 0; z-index: 22; background: radial-gradient(circle at 50% 50%, #151514 0%, #090908 100%);
  display: grid; place-items: center; opacity: 0; pointer-events: none; transition: opacity 0.35s var(--ease-out);
}
.sim-game.is-on { opacity: 1; pointer-events: auto; }
.sim-crosshair { position: absolute; left: 50%; top: 43%; width: 22px; height: 22px; transform: translate(-50%, -50%); }
.sim-crosshair::before, .sim-crosshair::after { content: ""; position: absolute; background: var(--ui-charge); }
.sim-crosshair::before { left: 10px; top: 0; width: 2px; height: 22px; }
.sim-crosshair::after { top: 10px; left: 0; width: 22px; height: 2px; }
.sim-game-hud { text-align: center; margin-top: 86px; padding: 0 20px; }
.sim-game-badge { font-size: 15px; font-weight: 600; letter-spacing: 0.14em; color: #f6f3ee; }
.sim-game-hud p { margin-top: 8px; font-size: 13px; color: #a09b91; }
.sim-exit-btn { margin-top: 18px; padding: 8px 16px; border-radius: 8px; border: 1px solid rgba(246, 243, 238, 0.22); background: rgba(246, 243, 238, 0.08); color: #f6f3ee; font-size: 13px; cursor: pointer; }
.sim-exit-btn:hover { background: rgba(246, 243, 238, 0.15); }

/* Windows 11 任务栏 */
.sim-taskbar {
  position: absolute; left: 0; right: 0; bottom: 0; height: 48px; padding: 0 12px;
  background: rgba(24, 24, 24, 0.9); backdrop-filter: blur(24px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex; align-items: center; justify-content: space-between; z-index: 19;
}
.tb-center { display: flex; gap: 6px; flex: none; }
.tb-app { width: 36px; height: 36px; border-radius: 6px; display: grid; place-items: center; }
.tb-app i { display: block; width: 19px; height: 19px; border-radius: 5px; background: rgba(255, 255, 255, 0.17); }
.tb-app.tb-start i {
  background: var(--ui-ok); border-radius: 3px;
  clip-path: polygon(0 0, 46% 0, 46% 46%, 0 46%, 0 54%, 46% 54%, 46% 100%, 0 100%, 0 0, 54% 0, 100% 0, 100% 46%, 54% 46%, 54% 54%, 100% 54%, 100% 100%, 54% 100%);
}
.tb-right { margin-left: auto; display: flex; align-items: center; gap: 6px; height: 100%; min-width: 0; }
.tb-strip {
  display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 10px;
  border-radius: 7px; background: rgba(255, 255, 255, 0.04); border: 1px solid transparent;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}
.stage.is-strip-focus .tb-strip {
  background: rgba(212, 82, 38, 0.2);
  border-color: rgba(212, 82, 38, 0.72);
  box-shadow: 0 0 22px -6px rgba(212, 82, 38, 0.6);
}
.strip-item {
  display: inline-flex; align-items: center; gap: 4px; border: 0; background: transparent;
  padding: 3px 5px; border-radius: 5px; font-family: var(--font-mono); font-size: 12px; font-weight: 600;
  color: #f3f3f3; cursor: pointer;
}
.strip-item:hover { background: rgba(255, 255, 255, 0.08); }
.strip-item.is-low { color: var(--ui-low); }
.strip-item.is-warn { color: var(--ui-warn); }
.strip-item.is-charge { color: var(--ui-charge); }
.strip-sep { width: 1px; height: 13px; background: rgba(255, 255, 255, 0.16); }
.strip-bolt { font-size: 11px; line-height: 1; }
.tb-tray { display: flex; align-items: center; gap: 2px; height: 100%; }
.tb-chev { width: 24px; height: 36px; display: grid; place-items: center; color: #b7b7b7; }
.tb-icons { display: flex; align-items: center; gap: 2px; }
.tb-icon-btn { width: 30px; height: 36px; border: 0; border-radius: 6px; background: transparent; display: grid; place-items: center; cursor: pointer; }
.tb-icon-btn:hover { background: rgba(255, 255, 255, 0.09); }
.tb-sys { display: flex; align-items: center; gap: 8px; padding: 0 7px; color: #d5d5d5; }
.tb-clock { text-align: right; font-size: 11px; line-height: 14px; padding: 0 6px; color: #e2e2e2; }

/* =========================================================
   2. 精密硬件指标带
   ========================================================= */
.spec-strip {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line);
}
.spec-cell {
  position: relative;
  padding: 22px 20px 24px 0;
  border-right: 1px solid var(--line);
  transition: background-color 0.25s ease;
}
.spec-cell:not(:first-child) { padding-left: 22px; }
.spec-cell:last-child { border-right: 0; padding-right: 0; }
.spec-cell::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.35s var(--ease-out);
}
.spec-cell:hover::before { width: 42px; }
.spec-val { font-size: clamp(20px, 2vw, 26px); font-weight: 600; color: var(--ink); letter-spacing: -0.02em; }
.spec-name { margin-top: 6px; font-size: 14.5px; font-weight: 600; color: var(--ink); }
.spec-cell p { margin-top: 4px; font-size: 13px; line-height: 1.6; color: var(--ink-2); }

/* =========================================================
   通用分节与画册式栏头
   ========================================================= */
.section { padding: clamp(64px, 8vw, 110px) 0; }

.sec-bar {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(18px, 4vw, 48px);
  align-items: end;
  margin-bottom: clamp(28px, 4vw, 44px);
}
.sec-num {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--accent);
}
.sec-bar h2, .spread h2 {
  font-size: clamp(26px, 3.6vw, 42px);
  line-height: 1.18;
  color: var(--ink);
}
.sec-note { font-size: 15.5px; line-height: 1.75; color: var(--ink-2); padding-bottom: 4px; }

@media (prefers-reduced-motion: no-preference) {
  html.has-reveal .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); }
  html.has-reveal .reveal.is-visible { opacity: 1; transform: none; }
}

/* =========================================================
   3. 可拖动实时电量水位试验台 + 双栏原理卡
   ========================================================= */
.lab-card {
  border-radius: var(--radius);
  background: var(--paper-card);
  border: 1px solid var(--line);
  overflow: hidden;
  box-shadow: 0 24px 60px -28px rgba(25, 22, 18, 0.14);
}
.lab-screen {
  padding: clamp(22px, 3vw, 34px);
  background: var(--mono-bg);
  color: var(--mono-ink);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.lab-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px 20px;
  padding: 14px 18px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--mono-line);
}
.lab-tag { font-size: 11.5px; letter-spacing: 0.06em; color: var(--mono-ink-2); }
.lab-strip { display: flex; align-items: center; gap: 12px; }
.lab-trays { display: flex; align-items: center; gap: 18px; }
.lab-tray-item { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; color: var(--mono-ink-2); }
.lab-real {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px 4px 5px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.lab-real img { width: 46px; height: auto; border-radius: 4px; image-rendering: pixelated; }
.lab-real figcaption { font-size: 11.5px; color: var(--mono-ink-2); white-space: nowrap; }

.lab-controls {
  padding: clamp(20px, 2.8vw, 28px) clamp(22px, 3vw, 34px);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.lab-readout {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px 14px;
}
.lab-label { font-size: 14px; color: var(--ink-2); font-weight: 500; }
.lab-pct { font-size: 28px; font-weight: 600; color: var(--ink); line-height: 1; }
.lab-state-pill {
  font-size: 12.5px;
  font-weight: 500;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--paper-soft);
  color: var(--ink-2);
}
.lab-state-pill.is-low { background: rgba(212, 62, 62, 0.12); color: #b52b2b; }
.lab-state-pill.is-warn { background: rgba(186, 130, 12, 0.14); color: #8c5c00; }
.lab-state-pill.is-charge { background: var(--verified-bg); color: var(--verified-ink); }

.lab-slider-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.lab-range {
  flex: 1 1 260px;
  appearance: none;
  -webkit-appearance: none;
  height: 6px;
  border-radius: 999px;
  background: var(--paper-soft);
  outline: none;
  cursor: pointer;
}
.lab-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--ink);
  border: 3px solid var(--paper-card);
  box-shadow: 0 2px 8px rgba(25, 23, 21, 0.3);
  cursor: grab;
  transition: transform 0.15s ease, background-color 0.2s ease;
}
.lab-range::-webkit-slider-thumb:hover { transform: scale(1.12); background: var(--accent); }
.lab-range::-moz-range-thumb {
  width: 20px; height: 20px; border-radius: 50%; background: var(--ink);
  border: 3px solid var(--paper-card); box-shadow: 0 2px 8px rgba(25, 23, 21, 0.3); cursor: grab;
}

.lab-charge-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 15px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--paper);
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.lab-charge-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ink-3); transition: background-color 0.2s ease; }
.lab-charge-btn[aria-pressed="true"] {
  background: var(--verified-bg);
  border-color: var(--verified-line);
  color: var(--verified-ink);
}
.lab-charge-btn[aria-pressed="true"] .lab-charge-dot { background: #1e9649; }

/* 双栏原理编辑卡 */
.editorial-two {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.ed-card {
  border-radius: var(--radius);
  background: var(--paper-card);
  border: 1px solid var(--line);
  padding: clamp(24px, 3vw, 32px);
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: border-color 0.25s ease, transform 0.28s var(--ease-out);
}
.ed-card:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.ed-kicker { display: block; font-size: 11.5px; letter-spacing: 0.08em; color: var(--ink-3); margin-bottom: 8px; }
.ed-card h3 { font-size: 21px; line-height: 1.3; color: var(--ink); }
.ed-desc { font-size: 14.5px; line-height: 1.78; color: var(--ink-2); }

.ed-vis-pipe {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 18px;
  border-radius: 12px;
  background: var(--paper);
  border: 1px solid var(--line);
}
.p-box {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 14px; border-radius: 9px;
  background: var(--paper-card); border: 1px solid var(--line-strong);
  font-size: 13px; font-weight: 600; color: var(--ink); white-space: nowrap;
}
.p-box-ink { background: var(--ink); color: var(--paper-card); border-color: var(--ink); }
.p-box-ink img { border-radius: 4px; }
.p-line {
  position: relative; flex: 1; height: 1px; background: var(--line-strong);
  display: flex; align-items: center; justify-content: center;
}
.p-dot {
  position: absolute; left: 0; top: -3px; width: 16px; height: 7px; border-radius: 999px;
  background: var(--accent); animation: pipeRun 2.6s ease-in-out infinite;
}
@keyframes pipeRun {
  0% { left: 0; opacity: 0; }
  15% { opacity: 1; }
  85% { opacity: 1; }
  100% { left: calc(100% - 16px); opacity: 0; }
}
.p-lbl {
  position: relative; top: -18px; font-size: 11px; padding: 2px 8px; border-radius: 5px;
  background: var(--paper-card); border: 1px solid var(--line); color: var(--accent);
}

.ed-facts {
  border-radius: 12px;
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 4px 16px;
}
.ef-row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 13px;
}
.ef-row:last-child { border-bottom: 0; }
.ef-row span { color: var(--ink-3); }
.ef-row strong { color: var(--ink); font-weight: 600; }

/* =========================================================
   4. 设备兼容表
   ========================================================= */
.sheet {
  border-radius: var(--radius);
  background: var(--paper-card);
  border: 1px solid var(--line);
  overflow: hidden;
}
.devices { list-style: none; margin: 0; padding: 0; }
.device {
  display: grid;
  grid-template-columns: 11.5em minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  padding: 18px 26px;
  border-bottom: 1px solid var(--line);
  transition: background-color 0.2s ease;
}
.device:hover { background: rgba(25, 23, 21, 0.024); }
.device-brand { font-weight: 600; font-size: 15.5px; color: var(--ink); }
.device-models { color: var(--ink-2); font-size: 14.5px; line-height: 1.65; }
.tag {
  justify-self: end; white-space: nowrap; font-size: 12px; font-weight: 500;
  color: var(--ink-3); padding: 4px 11px; border-radius: 999px;
  border: 1px solid var(--line-strong); background: var(--paper);
}
.tag-verified { color: var(--verified-ink); border-color: var(--verified-line); background: var(--verified-bg); }

.sheet-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 16px 26px; background: rgba(25, 23, 21, 0.025); font-size: 13.5px; color: var(--ink-2);
}
.sheet-foot a, .text-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--accent); text-decoration: none; font-weight: 600; font-size: 14px;
}
.sheet-foot a:hover, .text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.arrow { flex: none; transition: transform 0.2s var(--ease-out); }
.sheet-foot a:hover .arrow, .text-link:hover .arrow { transform: translateX(3px); }

/* =========================================================
   5. 杂志双栏：最新更新（左）+ 常见问题（右）
   ========================================================= */
.spread {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.spread-left { position: sticky; top: 88px; }
.ver-badge {
  display: inline-block; vertical-align: middle; margin-left: 8px;
  padding: 3px 10px; border-radius: 7px; font-size: 13.5px; font-weight: 600;
  color: var(--accent); background: var(--accent-soft); border: 1px solid rgba(212, 82, 38, 0.24);
}
.spread-sub { margin-top: 14px; font-size: 14.5px; line-height: 1.75; color: var(--ink-2); }

.changes { list-style: none; margin: 22px 0; padding: 0; border-top: 1px solid var(--line); }
.changes li {
  position: relative; padding: 15px 0 15px 20px; border-bottom: 1px solid var(--line);
  font-size: 14.5px; line-height: 1.75; color: var(--ink-2);
}
.changes li::before {
  content: ""; position: absolute; left: 2px; top: 24px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
}

.faq-heading { margin-bottom: 22px; }
.faq-list { border-top: 1px solid var(--line-strong); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  list-style: none; cursor: pointer; padding: 20px 44px 20px 0; position: relative;
  font-weight: 600; font-size: 16px; color: var(--ink); transition: color 0.2s ease;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::before,
.faq-list summary::after {
  content: ""; position: absolute; right: 8px; top: 50%;
  background: var(--ink-2); transition: transform 0.28s var(--ease-out), background-color 0.2s ease;
}
.faq-list summary::before { width: 12px; height: 1.6px; margin-top: -0.8px; }
.faq-list summary::after { width: 1.6px; height: 12px; right: 13.2px; margin-top: -6px; }
.faq-list details[open] summary::after { transform: rotate(90deg) scaleY(0); }
.faq-list details[open] summary::before { background: var(--accent); }
.faq-list summary:hover { color: var(--accent); }
.faq-body { padding: 0 24px 22px 0; }
.faq-body p { font-size: 15px; line-height: 1.8; color: var(--ink-2); }
.faq-body a { color: var(--accent); text-underline-offset: 3px; }
@media (prefers-reduced-motion: no-preference) {
  .faq-list details[open] .faq-body { animation: faqFade 0.32s var(--ease-out) both; }
  @keyframes faqFade { from { opacity: 0; transform: translateY(-5px); } to { opacity: 1; transform: none; } }
}

/* =========================================================
   6. 黑曜石收尾下载橱窗 & 页脚
   ========================================================= */
.closer-sec { padding-bottom: clamp(64px, 7vw, 96px); }
.closer-card {
  border-radius: 24px;
  background: var(--mono-bg);
  color: var(--mono-ink);
  padding: clamp(36px, 5vw, 60px) clamp(24px, 4.5vw, 56px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px 40px;
  flex-wrap: wrap;
  box-shadow: 0 32px 80px -28px rgba(25, 22, 18, 0.38);
}
.closer-kicker { display: block; font-size: 12px; letter-spacing: 0.1em; color: var(--accent); margin-bottom: 12px; }
.closer-left h2 { font-size: clamp(26px, 3.6vw, 42px); line-height: 1.2; color: #f6f3ee; }
.closer-left p { margin-top: 12px; font-size: 15.5px; color: var(--mono-ink-2); max-width: 460px; }
.closer-right { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.footer {
  border-top: 1px solid var(--line);
  padding: 26px 0 calc(34px + env(safe-area-inset-bottom, 0px));
  font-size: 13.5px;
  color: var(--ink-3);
}
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; }
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-brand img { border-radius: 6px; box-shadow: 0 1px 3px rgba(25, 23, 21, 0.12); flex: none; }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-links a { color: var(--ink-2); text-decoration: none; transition: color 0.2s ease; }
.footer-links a:hover { color: var(--ink); }

/* =========================================================
   多分辨率与全尺寸屏幕适配
   ========================================================= */
@media (min-width: 1680px) {
  :root { --wrap: 1220px; }
}

@media (max-height: 820px) and (min-width: 960px) {
  .hero { padding-top: calc(64px + 22px); }
  .hero-title { font-size: clamp(36px, 4.4vw, 54px); }
  .monolith-wrap { margin-top: 26px; }
  .stage { height: 500px; }
}

@media (max-width: 1040px) {
  .masthead { grid-template-columns: 1fr; gap: 20px; }
  .spec-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .spec-cell { border-bottom: 1px solid var(--line); }
  .spec-cell:nth-child(2n) { border-right: 0; }
  .spec-cell:nth-child(3) { padding-left: 0; }
  .sec-bar { grid-template-columns: 1fr; gap: 12px; }
  .spread { grid-template-columns: 1fr; }
  .spread-left { position: static; }
  .stage-side { left: 24px; max-width: calc(100% - 392px); }
}

@media (max-width: 900px) {
  .editorial-two { grid-template-columns: 1fr; }
  .device { grid-template-columns: 1fr auto; gap: 8px 16px; padding: 16px 20px; }
  .device-models { grid-column: 1 / -1; grid-row: 2; }
  .tb-center, .stage-side { display: none; }
  .sim-flyout { right: 50%; transform: translate(50%, 16px); }
  .sim-flyout.is-open { transform: translateX(50%); }
}

@media (max-width: 640px) {
  .nav.is-compact { padding: calc(10px + env(safe-area-inset-top, 0px)) 14px 0; }
  .nav.is-compact .nav-dock { width: 136px; }
  .nav-inner { grid-template-columns: 1fr auto; height: 58px; }
  .nav.is-compact .nav-inner { grid-template-columns: auto auto; height: 46px; padding-inline: 10px 8px; }
  .nav-links { display: none; }

  .hero { padding-top: calc(58px + 24px); }
  .hero-title { font-size: clamp(30px, 8.2vw, 40px); }
  .hero-actions { width: 100%; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-meta li + li::before { content: none; }
  .hero-meta { gap: 6px 12px; }

  .monolith-bar { padding: 10px 12px; }
  .stage-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; }
  .stage-tab { text-align: center; padding: 7px 6px; font-size: 12.5px; }
  .stage { height: 506px; }
  .sim-flyout { left: 10px; right: 10px; width: auto; max-width: none; transform: translateY(16px); }
  .sim-flyout.is-open { transform: none; }
  .fo-big { font-size: 32px; line-height: 32px; }
  .sim-cells i { width: 9px; height: 18px; }
  .sim-taskbar { padding: 0 8px; justify-content: center; }
  .tb-right { margin-left: 0; width: 100%; justify-content: space-between; }
  .tb-clock, .tb-sys, .tb-chev { display: none; }
  .tb-strip { gap: 4px; padding: 0 6px; }
  .strip-item { font-size: 11px; padding: 2px 3px; gap: 3px; }
  .tb-icon-btn { width: 26px; height: 34px; }

  .spec-strip { grid-template-columns: 1fr; }
  .spec-cell { border-right: 0; padding: 18px 0 !important; }
  .ed-vis-pipe { flex-direction: column; }
  .p-line { width: 1px; height: 38px; flex: none; }
  .p-dot { display: none; }
  .p-lbl { top: 0; }
  .device { padding: 15px 16px; }
  .sheet-foot { padding: 14px 16px; }
  .closer-right { width: 100%; }
  .closer-right .btn { flex: 1 1 100%; }
  .footer-inner { justify-content: center; text-align: center; }
  .footer-brand { justify-content: center; }
}

@media (max-width: 380px) {
  .tb-icons { display: none; }
  .tb-right { justify-content: center; }
  .sim-cells.is-mini { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .p-dot, .sim-cells i.next, .hc-cells i.next { animation: none !important; }
  .enter, html.has-reveal .reveal { animation: none !important; opacity: 1 !important; transform: none !important; }
}

/* =========================================================
   7. 下载与安装指南页（延续宣纸陶瓷 × 黑曜硬件橱窗）
   ========================================================= */
.guide-hero {
  padding-bottom: clamp(32px, 4.5vw, 56px);
}
.guide-back {
  margin-bottom: 18px;
  font-size: 13.5px;
}
.guide-back a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ink-2);
  text-decoration: none;
  transition: color 0.2s ease;
}
.guide-back a:hover { color: var(--ink); }
.arrow-back { flex: none; transition: transform 0.2s var(--ease-out); }
.guide-back a:hover .arrow-back { transform: translateX(-3px); }

.guide-notice {
  margin-bottom: 24px;
  padding: 16px 20px;
  border-radius: var(--radius-m);
  background: var(--paper-card);
  border: 1px solid rgba(212, 82, 38, 0.34);
  box-shadow: 0 8px 24px -16px rgba(212, 82, 38, 0.25);
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--ink-2);
}
.guide-notice-title {
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 4px;
}

.guide-title {
  font-size: clamp(32px, 4.6vw, 56px);
}
.guide-lead {
  margin-top: 16px;
  max-width: 38em;
  font-size: 16px;
  line-height: 1.78;
  color: var(--ink-2);
}
.guide-actions { margin-top: 0; }
.guide-meta-link {
  color: var(--ink-2);
  text-decoration: underline;
  text-decoration-color: var(--line-strong);
  text-underline-offset: 3px;
}
.guide-meta-link:hover { color: var(--accent); text-decoration-color: currentColor; }
.guide-dl-status {
  margin-top: 12px;
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--accent);
  font-weight: 500;
}

kbd {
  display: inline-block;
  padding: 1px 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--paper-card);
  border: 1px solid var(--line-strong);
  border-bottom-width: 2px;
  border-radius: 6px;
  vertical-align: 1px;
}
.inline-code {
  font-family: var(--font-mono);
  font-size: 0.88em;
  color: var(--ink);
  background: var(--paper-soft);
  padding: 1px 6px;
  border-radius: 5px;
  word-break: break-word;
}

.guide-monolith {
  transform: none;
  will-change: auto;
}
.guide-tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 4px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.guide-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 0;
  background: transparent;
  color: #a49f96;
  font-size: 13px;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 7px;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.2s ease, background-color 0.2s ease;
}
.guide-tab:hover { color: #f5f2eb; }
.guide-tab.is-active,
.guide-tab[aria-selected="true"] {
  background: rgba(245, 242, 235, 0.14);
  color: #f5f2eb;
  font-weight: 600;
}
.guide-tab-badge {
  font-size: 10.5px;
  font-weight: 500;
  padding: 1px 6px;
  border-radius: 999px;
  background: rgba(212, 82, 38, 0.28);
  color: #ffc2ab;
  line-height: 1.4;
}

.guide-stage-figure {
  margin: 0;
  padding: clamp(18px, 2.8vw, 30px) clamp(14px, 2.4vw, 28px) clamp(16px, 2vw, 22px);
  background: #0c0d0e;
}
.guide-figure-scroll {
  max-width: 820px;
  margin: 0 auto;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.guide-figure-scroll img {
  width: 100%;
  height: auto;
  border-radius: 12px;
}
.guide-caption {
  margin-top: 14px;
  text-align: center;
  font-size: 12.5px;
  color: var(--mono-ink-2);
}

.guide-sheet { margin-top: 18px; }
.guide-steps { list-style: none; margin: 0; padding: 0; }
.guide-step {
  display: grid;
  grid-template-columns: 3em minmax(0, 1fr);
  gap: 16px;
  align-items: baseline;
  padding: 20px 26px;
  border-bottom: 1px solid var(--line);
}
.guide-step:last-child { border-bottom: 0; }
.guide-step-num {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
}
.guide-step-body h3 {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.45;
  color: var(--ink);
}
.guide-step-body p {
  margin-top: 6px;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--ink-2);
}
.guide-step-body .guide-path {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin-top: 11px;
}
.ui-chip {
  display: inline-flex;
  align-items: center;
  padding: 2px 10px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: 7px;
}
.ui-chip.is-key {
  background: var(--ink);
  color: var(--paper-card);
  border-color: var(--ink);
}
.guide-path-sep {
  color: var(--ink-3);
  font-size: 12.5px;
  user-select: none;
}

.guide-verify-box {
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: var(--radius-m);
  background: var(--paper-card);
  border: 1px solid var(--line);
}
.guide-verify-label {
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--ink-2);
}
.guide-verify-label a {
  color: var(--accent);
  text-underline-offset: 3px;
}
.code-box {
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 10px 10px 14px;
  background: var(--mono-bg);
  color: var(--mono-ink);
  border-radius: 10px;
}
.code-box pre {
  margin: 0;
  flex: 1 1 auto;
  min-width: 0;
  overflow-x: auto;
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 1.5;
}
.copy-btn {
  flex: none;
  appearance: none;
  height: 30px;
  padding: 0 11px;
  border-radius: 7px;
  border: 1px solid rgba(245, 242, 235, 0.22);
  background: rgba(245, 242, 235, 0.08);
  color: var(--mono-ink);
  font-size: 12.5px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}
.copy-btn:hover {
  background: rgba(245, 242, 235, 0.16);
  border-color: rgba(245, 242, 235, 0.38);
}
.copy-btn:active { transform: translateY(1px); }

.guide-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-top: 20px;
}

@media (max-width: 640px) {
  .guide-tabs { width: 100%; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .guide-tab { justify-content: center; padding: 7px 6px; font-size: 12px; }
  .guide-tab-badge { display: none; }
  .guide-figure-scroll img { min-width: 560px; }
  .guide-step { grid-template-columns: 1fr; gap: 6px; padding: 16px 18px; }
  .code-box { flex-direction: column; align-items: stretch; gap: 8px; }
  .copy-btn { align-self: flex-end; }
}
