/* 选品数据工具 · 全站唯一样式表
   设计语言：FOUNDRY / 铸造车间控制台
   参考：Linear / Vercel / Stripe 的表面化 1px 线网格、Foundry 工业灰的枪铁拉丝钢与琥珀警示色、
   Tactical Telemetry / Terminal Noir 的 CRT 扫描线、ASCII 框架、十字准星与状态条、
   Perplexity / Stripe 的「网格被一个离轴元素打断」。
   规则：近黑底、磷光白字、单一琥珀橙；零圆角、零柔和阴影、零渐变、零玻璃；
   双峰密度（极密 mono 元数据 vs 超大紧字距标题）；网格按规格切分，不漂移。
   约束：不编造数据、示意图一律标注「非软件界面」、零网络请求、减弱动效全兜底。
   全站共用，改动一处对 4 页 + 404 生效。 */

:root {
  /* 色板：枪铁灰层叠 */
  --color-bg: #0A0D0E;
  --color-surface: #101617;
  --color-surface-2: #151D1E;
  --color-dark: #151D1E;
  --color-footer: #070A0B;
  --color-text: #E7EDEC;
  --color-text-muted: #93A2A1;
  --color-text-weak: #617070;
  --color-line: #263132;
  --color-line-soft: #1A2324;
  --color-accent: #FF7A1A;
  --color-accent-dim: rgba(255, 122, 26, 0.14);
  --color-on-dark: #E7EDEC;
  --color-on-dark-muted: #93A2A1;
  --color-ink: #E7EDEC;
  --color-accent-soft: #1A2324;
  --color-border: #263132;
  --color-outline: #FF7A1A;

  /* 字体：macro grotesk + micro mono */
  --font-sans: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-mono: "IBM Plex Mono", "SFMono-Regular", Consolas, "Geist Mono", monospace;
  --font-display: "Arial Black", "Helvetica Neue", "Noto Sans SC", "PingFang SC", sans-serif;

  /* 字号与行高 */
  --text-hero: 60px;
  --leading-hero: 1.04;
  --text-section: 42px;
  --leading-section: 1.2;
  --text-card: 21px;
  --text-list: 17px;
  --text-body: 16px;
  --text-small: 15px;
  --text-label: 13px;
  --text-tag: 12px;
  --text-mono: 11px;
  --leading-body: 1.7;

  /* 栅格与间距 */
  --page-max: 1440px;
  --page-pad: 64px;
  --section-y: 100px;
  --gap-card: 1px;
  --gap-grid: 1px;
  --header-h: 72px;

  /* 机械刚性：零圆角 */
  --radius-card: 0px;
  --radius-button: 0px;
  --radius-pill: 0px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-snap: cubic-bezier(0.16, 0.84, 0.3, 1);
}

/* ---------------------------------------------------------------
   1. 基础重置与全局表面
   --------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

/* CRT 扫描线：极淡，只提供模拟硬件的质感 */
html::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 71;
  background: repeating-linear-gradient(0deg,
    transparent 0 2px, rgba(0, 0, 0, 0.22) 2px 4px);
  opacity: 0.34;
  pointer-events: none;
}

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-sans);
  font-size: var(--text-body);
  line-height: var(--leading-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* 表面化线网格：主 96px / 副 24px，随指针极轻微视差 */
body::before {
  content: "";
  position: fixed;
  inset: -8px;
  z-index: 1;
  background-image:
    linear-gradient(to right, rgba(231, 237, 236, 0.055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(231, 237, 236, 0.055) 1px, transparent 1px),
    linear-gradient(to right, rgba(231, 237, 236, 0.022) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(231, 237, 236, 0.022) 1px, transparent 1px);
  background-size: 96px 96px, 96px 96px, 24px 24px, 24px 24px;
  transform: translate3d(var(--grid-x, 0px), var(--grid-y, 0px), 0);
  pointer-events: none;
}

h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
svg { display: block; }
button { font: inherit; color: inherit; cursor: pointer; }

:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 3px; }
[id] { scroll-margin-top: calc(var(--header-h) + 52px); }

.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 100;
  padding: 10px 16px;
  border: 1px solid var(--color-accent);
  background: var(--color-bg);
  color: var(--color-accent);
  font-family: var(--font-mono);
  font-size: var(--text-tag);
}
.skip-link:focus { top: 12px; }

/* ---------------------------------------------------------------
   2. 容器与区块：贯穿全宽 1px 分隔线 + 自动单元编号
   --------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 0 var(--page-pad);
}

.section {
  position: relative;
  padding: var(--section-y) 0;
}
.section--warm  { background: var(--color-bg); }
.section--white { background: var(--color-surface); }
.section--dark  { background: var(--color-surface-2); }
.section--tight { padding: 40px 0; }

main { counter-reset: sec; }
main > section { counter-increment: sec; position: relative; }

main > section::before {
  content: "[ " counter(sec, decimal-leading-zero) " / SECTION ]";
  position: absolute;
  top: 22px;
  right: var(--page-pad);
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--color-text-weak);
  pointer-events: none;
}

/* ---------------------------------------------------------------
   3. 顶部状态条（脚本注入）与滚动进度
   --------------------------------------------------------------- */
.status-bar {
  position: relative;
  z-index: 55;
  border-bottom: 1px solid var(--color-line);
  background: #0C1112;
}

.status-bar__inner {
  display: flex;
  align-items: center;
  gap: 0;
  min-height: 30px;
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 0 var(--page-pad);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--color-text-weak);
  white-space: nowrap;
}

.status-bar__cell {
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border-right: 1px solid var(--color-line-soft);
  line-height: 30px;
}
.status-bar__cell:first-child { padding-left: 0; }
.status-bar__cell--id { color: var(--color-accent); }
.status-bar__spacer { flex: 1 1 auto; }
.status-bar__cell--ready { color: var(--color-text); border-right: 0; }

.status-bar__dot {
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  margin-left: 12px;
  background: var(--color-accent);
  box-shadow: 0 0 8px rgba(255, 122, 26, 0.75);
  animation: status-pulse 2.4s ease-in-out infinite;
}

@keyframes status-pulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.28; }
}

.scan-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 85;
  height: 2px;
  background: var(--color-accent);
  box-shadow: 0 0 10px rgba(255, 122, 26, 0.45);
  transform: scaleX(var(--p, 0));
  transform-origin: left center;
  pointer-events: none;
}

/* ---------------------------------------------------------------
   4. 页头与导航
   --------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(10, 13, 14, 0.97);
  border-bottom: 1px solid var(--color-line);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: var(--header-h);
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 0 var(--page-pad);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  font-size: var(--text-small);
  font-weight: 800;
  letter-spacing: 0.01em;
}

.brand__mark {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid var(--color-accent);
  background: var(--color-accent-dim);
  color: var(--color-accent);
  transition: background-color 0.18s ease, color 0.18s ease;
}
.brand__mark svg { width: 16px; height: 16px; }
.brand:hover .brand__mark { background: var(--color-accent); color: #0A0D0E; }

.nav { margin: 0 auto; }
.nav__list { display: flex; align-items: center; gap: 4px; }

.nav__link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  color: var(--color-text-muted);
  font-family: var(--font-mono);
  font-size: var(--text-tag);
  letter-spacing: 0.06em;
  white-space: nowrap;
  transition: color 0.16s ease, background-color 0.16s ease;
}
.nav__link:hover { color: var(--color-accent); background: var(--color-accent-dim); }
.nav__link[aria-current="page"] {
  color: var(--color-text);
  box-shadow: inset 0 -1px 0 var(--color-accent);
}

.header-cta {
  flex: 0 0 auto;
  min-height: 38px;
  padding: 0 18px;
  font-size: var(--text-tag);
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  margin-left: auto;
  border: 1px solid var(--color-line);
  background: var(--color-surface);
  color: var(--color-text);
}
.nav-toggle svg { width: 20px; height: 20px; }
.nav-toggle[aria-expanded="true"] { border-color: var(--color-accent); color: var(--color-accent); }

/* ---------------------------------------------------------------
   5. 按钮：切角、1px 边、唯一琥珀行动色
   --------------------------------------------------------------- */
.btn {
  --bx: 0px;
  --by: 0px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 24px;
  border: 1px solid var(--color-line);
  font-family: var(--font-mono);
  font-size: var(--text-tag);
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.2;
  white-space: nowrap;
  clip-path: polygon(7px 0, 100% 0, 100% calc(100% - 7px), calc(100% - 7px) 100%, 0 100%, 0 7px);
  transform: translate(var(--bx), var(--by));
  transition: background-color 0.16s ease, color 0.16s ease,
    border-color 0.16s ease, box-shadow 0.16s ease, transform 0.1s linear;
}

.btn--primary {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #0A0D0E;
  font-weight: 800;
}
.btn--primary:hover {
  background: #FF9540;
  border-color: #FF9540;
  box-shadow: 0 0 18px rgba(255, 122, 26, 0.28);
}

.btn--secondary {
  background: var(--color-surface);
  border-color: var(--color-line);
  color: var(--color-text);
}
.btn--secondary:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  box-shadow: inset 0 0 0 1px var(--color-accent-dim);
}

.btn--light {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #0A0D0E;
  font-weight: 800;
}
.btn--light:hover { background: #FF9540; border-color: #FF9540; }

/* 占位守卫：邮箱未配置时提交按钮默认 disabled。禁用态必须「一眼看得出不可点」，
   否则一个长得跟能用一样的按钮仍是欺骗。只用现有色板变量，不新增第二套色值。 */
.btn:disabled,
.btn:disabled:hover {
  background: var(--color-surface-2);
  border-color: var(--color-line);
  color: var(--color-text-weak);
  box-shadow: none;
  cursor: not-allowed;
  transform: none;
}

.btn:focus-visible,
.nav-toggle:focus-visible,
.back-to-top:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 3px; }
.site-footer :focus-visible { outline-color: var(--color-accent); }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: var(--color-accent);
  font-family: var(--font-mono);
  font-size: var(--text-tag);
  font-weight: 600;
  letter-spacing: 0.06em;
  border-bottom: 1px solid var(--color-accent-dim);
}
.text-link::before { content: ">>>"; color: var(--color-text-weak); }
.text-link:hover { color: var(--color-text); border-bottom-color: var(--color-accent); }
.text-link svg { width: 15px; height: 15px; }

/* ---------------------------------------------------------------
   6. 排版：ASCII 框架标签 + 超大紧字距标题
   --------------------------------------------------------------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-accent);
  font-family: var(--font-mono);
  font-size: var(--text-mono);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.eyebrow::before { content: "//"; color: var(--color-text-weak); }
.eyebrow--light { color: var(--color-accent); }
.eyebrow--light::before { color: var(--color-text-weak); }

.section__head { max-width: 820px; margin-bottom: 52px; }
.section__head--split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  max-width: none;
}

.section__title {
  margin-top: 24px;
  font-size: var(--text-section);
  line-height: var(--leading-section);
  font-weight: 900;
  letter-spacing: -0.035em;
}
.section__title::before {
  content: "";
  display: block;
  width: 40px;
  height: 1px;
  margin-bottom: 22px;
  background: var(--color-accent);
}

.section__lead {
  max-width: 720px;
  margin-top: 18px;
  color: var(--color-text-muted);
  font-size: var(--text-body);
  line-height: 1.85;
}
.section--dark .section__lead,
.section--dark .section__lead strong { color: var(--color-on-dark-muted); }
.section--dark .section__title { color: var(--color-on-dark); }

.prose { max-width: 820px; color: var(--color-text-muted); font-size: var(--text-body); line-height: 1.85; }
.prose p + p { margin-top: 18px; }
.prose strong { color: var(--color-text); font-weight: 800; }

.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.tag {
  display: inline-block;
  padding: 3px 10px;
  border: 1px solid var(--color-line);
  background: transparent;
  color: var(--color-text-muted);
  font-family: var(--font-mono);
  font-size: var(--text-tag);
  line-height: 1.6;
  letter-spacing: 0.04em;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.card:hover .tag,
.cap-card:hover .tag { border-color: var(--color-accent); color: var(--color-accent); }

/* ---------------------------------------------------------------
   7. 模块面板：1px 分区 + 四角注册标记 + hover 扫描光带
   --------------------------------------------------------------- */
.grid-2, .grid-3, .grid-4 { display: grid; gap: var(--gap-grid); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card,
.cap-card,
.scene-card,
.channel-card,
.ui-placeholder {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--color-line);
  background: var(--color-surface);
  transition: border-color 0.22s ease;
}
.card:hover,
.cap-card:hover,
.scene-card:hover,
.channel-card:hover { border-color: rgba(255, 122, 26, 0.55); }

/* 四角 L 形注册标记 */
.card::before,
.cap-card::before,
.channel-card::before,
.ui-placeholder::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  background-image:
    linear-gradient(var(--color-accent), var(--color-accent)),
    linear-gradient(var(--color-accent), var(--color-accent)),
    linear-gradient(var(--color-accent), var(--color-accent)),
    linear-gradient(var(--color-accent), var(--color-accent)),
    linear-gradient(var(--color-accent), var(--color-accent)),
    linear-gradient(var(--color-accent), var(--color-accent)),
    linear-gradient(var(--color-accent), var(--color-accent)),
    linear-gradient(var(--color-accent), var(--color-accent));
  background-repeat: no-repeat;
  background-size: 14px 1px, 1px 14px, 14px 1px, 1px 14px, 14px 1px, 1px 14px, 14px 1px, 1px 14px;
  background-position: left top, left top, right top, right top, left bottom, left bottom, right bottom, right bottom;
  opacity: 0.42;
  pointer-events: none;
  transition: opacity 0.22s ease;
}
.card:hover::before,
.cap-card:hover::before,
.channel-card:hover::before { opacity: 1; }

/* hover 扫描光带 */
.card::after,
.cap-card::after,
.channel-card::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  z-index: 2;
  height: 80px;
  background: linear-gradient(180deg, transparent, rgba(255, 122, 26, 0.075), transparent);
  transform: translateY(-100%);
  pointer-events: none;
  transition: transform 0.65s var(--ease-out);
}
.card:hover::after,
.cap-card:hover::after,
.channel-card:hover::after { transform: translateY(560px); }

.card { padding: 32px; }
.card__title { margin-bottom: 12px; font-size: var(--text-card); line-height: 1.45; font-weight: 800; }
.card__body { color: var(--color-text-muted); font-size: var(--text-small); line-height: 1.75; }
.card__label {
  margin-bottom: 14px;
  color: var(--color-accent);
  font-family: var(--font-mono);
  font-size: var(--text-mono);
  letter-spacing: 0.1em;
}

.note {
  padding: 22px 26px;
  border: 1px solid var(--color-line);
  border-left: 2px solid var(--color-accent);
  background: var(--color-surface);
  color: var(--color-text-muted);
  font-size: var(--text-small);
  line-height: 1.8;
}

/* ---------------------------------------------------------------
   8. 首屏：按规格切分的两栏 + 离轴十字打断网格
   --------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-line);
}

/* 离轴元素：45° 十字准星，故意打断规整网格 */
.hero::after {
  content: "";
  position: absolute;
  right: 7%;
  bottom: 11%;
  z-index: 2;
  width: 72px;
  height: 72px;
  background:
    linear-gradient(var(--color-accent), var(--color-accent)) center / 1px 100% no-repeat,
    linear-gradient(var(--color-accent), var(--color-accent)) center / 100% 1px no-repeat;
  opacity: 0.42;
  transform: rotate(45deg);
  pointer-events: none;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  align-items: center;
  gap: 0;
  padding: 92px var(--page-pad) 104px;
}

.hero__grid > div:first-child {
  padding-right: 40px;
  border-right: 1px solid var(--color-line);
}
.hero__grid > .hero__media { padding-left: 48px; }

.hero__title {
  position: relative;
  max-width: 900px;
  margin: 28px 0 52px;
  font-size: var(--text-hero);
  line-height: var(--leading-hero);
  font-weight: 900;
  letter-spacing: -0.045em;
}
/* 标题下方的测量标尺 */
.hero__title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -26px;
  width: 132px;
  height: 1px;
  background: linear-gradient(90deg, var(--color-accent) 0 44px, var(--color-line) 44px 132px);
}

.hero__lead {
  max-width: 560px;
  color: var(--color-text-muted);
  font-size: var(--text-list);
  line-height: 1.85;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 34px 0 22px; }
.hero__note {
  max-width: 560px;
  padding-left: 12px;
  border-left: 1px solid var(--color-accent);
  color: var(--color-text-weak);
  font-family: var(--font-mono);
  font-size: var(--text-mono);
  line-height: 1.8;
  letter-spacing: 0.02em;
}

/* 配图统一灰度双色调，暗化后与面板融为一体 */
.media {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--color-line);
  background: var(--color-surface);
}
.media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.55) contrast(1.08) brightness(0.86);
  transition: filter 0.55s ease, transform 0.9s var(--ease-out);
}
.media:hover img { filter: grayscale(0.15) contrast(1.06) brightness(1); transform: scale(1.03); }

.hero__media { aspect-ratio: 1200 / 725; }

/* 四角注册标记 */
.media::before,
.scene-card__media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  background-image:
    linear-gradient(var(--color-accent), var(--color-accent)),
    linear-gradient(var(--color-accent), var(--color-accent)),
    linear-gradient(var(--color-accent), var(--color-accent)),
    linear-gradient(var(--color-accent), var(--color-accent)),
    linear-gradient(var(--color-accent), var(--color-accent)),
    linear-gradient(var(--color-accent), var(--color-accent)),
    linear-gradient(var(--color-accent), var(--color-accent)),
    linear-gradient(var(--color-accent), var(--color-accent));
  background-repeat: no-repeat;
  background-size: 16px 1px, 1px 16px, 16px 1px, 1px 16px, 16px 1px, 1px 16px, 16px 1px, 1px 16px;
  background-position: left top, left top, right top, right top, left bottom, left bottom, right bottom, right bottom;
  opacity: 0.85;
  pointer-events: none;
}

/* 示意图角标：红线，明确「非软件界面截图」 */
.media::after,
.scene-card__media::after {
  content: "[ 示意图 · 非软件界面 ]";
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 4;
  padding: 4px 9px;
  border: 1px solid var(--color-accent);
  background: rgba(10, 13, 14, 0.9);
  color: var(--color-accent);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.04em;
  line-height: 1.4;
  white-space: nowrap;
  pointer-events: none;
}

/* ---------------------------------------------------------------
   9. 指标条：暗色仪表读数
   --------------------------------------------------------------- */
.metrics { background: var(--color-bg); border-bottom: 1px solid var(--color-line); }
.metrics__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 40px var(--page-pad);
}
.metric { padding: 0 26px; border-left: 1px solid var(--color-line); }
.metric:first-child { padding-left: 0; border-left: 0; }

.metric__value {
  color: var(--color-accent);
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: -0.01em;
  word-break: break-word;
}
.metric__label {
  margin-top: 12px;
  color: var(--color-text-weak);
  font-family: var(--font-mono);
  font-size: var(--text-mono);
  letter-spacing: 0.06em;
  line-height: 1.7;
}

/* ---------------------------------------------------------------
   10. 能力模块：2+2 非等宽 + MOD 编号
   --------------------------------------------------------------- */
.cap-row { display: grid; gap: var(--gap-card); margin-bottom: var(--gap-card); }
.cap-row:last-of-type { margin-bottom: 0; }
.cap-row--a { grid-template-columns: minmax(0, 1.38fr) minmax(0, 1fr); }
.cap-row--b { grid-template-columns: minmax(0, 1fr) minmax(0, 1.38fr); }

.cap-card { padding: 34px; }
.cap-card__icon,
.channel-card__icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 26px;
  border: 1px solid var(--color-accent);
  background: var(--color-accent-dim);
  color: var(--color-accent);
  transition: background-color 0.22s ease, color 0.22s ease;
}
.cap-card__icon svg, .channel-card__icon svg { width: 20px; height: 20px; }
.cap-card:hover .cap-card__icon,
.channel-card:hover .channel-card__icon { background: var(--color-accent); color: #0A0D0E; }

.cap-card__num {
  display: inline-block;
  color: var(--color-text-weak);
  font-family: var(--font-mono);
  font-size: var(--text-mono);
  letter-spacing: 0.14em;
}
.cap-card__num::before { content: "[ "; color: var(--color-accent); }
.cap-card__num::after  { content: " ]"; color: var(--color-accent); }
.cap-card__title { margin: 14px 0 12px; font-size: var(--text-card); line-height: 1.45; font-weight: 800; }
.cap-card__body { color: var(--color-text-muted); font-size: var(--text-small); line-height: 1.8; }

/* ---------------------------------------------------------------
   11. WHY 区：稍亮面板 + 三列参数表（gap:1px 生成精密分隔）
   --------------------------------------------------------------- */
.section--dark {
  overflow: hidden;
  border-top: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
}
.section--dark::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 7px;
  background: repeating-linear-gradient(90deg, var(--color-line) 0 1px, transparent 1px 24px);
  opacity: 0.8;
  pointer-events: none;
}

.why__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: 64px;
}
.why__media { aspect-ratio: 1200 / 895; }

.why__points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 40px;
  border: 1px solid var(--color-line);
  background: var(--color-line);
}
.why__points > div { padding: 20px; background: var(--color-surface-2); }
.why__point-title {
  color: var(--color-accent);
  font-family: var(--font-mono);
  font-size: var(--text-tag);
  font-weight: 700;
  letter-spacing: 0.04em;
}
.why__point-body { margin-top: 10px; color: var(--color-on-dark-muted); font-size: var(--text-tag); line-height: 1.7; }

/* ---------------------------------------------------------------
   12. 适用场景：三块图像面板
   --------------------------------------------------------------- */
.scene-card { display: flex; flex-direction: column; }
.scene-card__media {
  position: relative;
  aspect-ratio: 1200 / 725;
  overflow: hidden;
  border-bottom: 1px solid var(--color-line);
  background: var(--color-surface);
}
.scene-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.6) contrast(1.08) brightness(0.82);
  transition: filter 0.55s ease, transform 0.9s var(--ease-out);
}
.scene-card:hover .scene-card__media img {
  filter: grayscale(0.15) contrast(1.06) brightness(0.98);
  transform: scale(1.04);
}
.scene-card__body { padding: 26px; }
.scene-card__label {
  display: inline-block;
  color: var(--color-accent);
  font-family: var(--font-mono);
  font-size: var(--text-mono);
  letter-spacing: 0.12em;
}
.scene-card__label::before { content: "[ "; color: var(--color-text-weak); }
.scene-card__label::after  { content: " ]"; color: var(--color-text-weak); }
.scene-card__title { margin: 14px 0 10px; font-size: var(--text-card); line-height: 1.45; font-weight: 800; }
.scene-card__body p { color: var(--color-text-muted); font-size: var(--text-small); line-height: 1.8; }

/* ---------------------------------------------------------------
   13. 列表：工程表格行
   --------------------------------------------------------------- */
.insight-list, .step-list { border-top: 1px solid var(--color-line); }
.insight-row {
  display: grid;
  grid-template-columns: 190px 120px minmax(0, 1fr) 24px;
  align-items: center;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--color-line-soft);
  transition: padding-left 0.24s var(--ease-snap), background-color 0.24s ease;
}
.insight-row:hover { padding-left: 14px; background: var(--color-accent-dim); }
.insight-row__date {
  color: var(--color-text-weak);
  font-family: var(--font-mono);
  font-size: var(--text-tag);
  line-height: 1.6;
  word-break: break-word;
}
.insight-row__title { font-size: var(--text-list); font-weight: 700; line-height: 1.6; }
.insight-row__arrow { width: 18px; height: 18px; color: var(--color-accent); }

.step {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 24px;
  padding: 26px 0;
  border-bottom: 1px solid var(--color-line-soft);
  transition: padding-left 0.24s var(--ease-snap), background-color 0.24s ease;
}
.step:hover { padding-left: 14px; background: var(--color-accent-dim); }
.step__num { color: var(--color-accent); font-family: var(--font-mono); font-size: var(--text-list); font-weight: 700; }
.step__title { font-size: var(--text-list); font-weight: 800; }
.step__body { margin-top: 6px; color: var(--color-text-muted); font-size: var(--text-small); line-height: 1.8; }

/* ---------------------------------------------------------------
   14. CTA：深底 + 琥珀细线，不做整块亮色
   --------------------------------------------------------------- */
.cta-band {
  position: relative;
  background: var(--color-surface);
  border-top: 1px solid var(--color-accent);
  border-bottom: 1px solid var(--color-accent);
}
.cta-band::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 3px;
  background: var(--color-accent);
  pointer-events: none;
}
.cta-band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 72px var(--page-pad);
}
.cta-band__title {
  margin-top: 22px;
  max-width: 760px;
  font-size: var(--text-section);
  line-height: var(--leading-section);
  font-weight: 900;
  letter-spacing: -0.035em;
}
.cta-band__lead {
  max-width: 640px;
  margin-top: 16px;
  color: var(--color-on-dark-muted);
  font-size: var(--text-small);
  line-height: 1.85;
}

/* ---------------------------------------------------------------
   15. 软件界面占位框 / 联系卡
   --------------------------------------------------------------- */
.ui-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 320px;
  padding: 40px;
  text-align: center;
  border-style: dashed;
}
.ui-placeholder__mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--color-accent);
  background: var(--color-accent-dim);
  color: var(--color-accent);
}
.ui-placeholder__mark svg { width: 24px; height: 24px; }
.ui-placeholder__title { color: var(--color-text); font-size: var(--text-list); font-weight: 800; }
.ui-placeholder__body { max-width: 620px; color: var(--color-text-muted); font-size: var(--text-small); line-height: 1.8; }

.channel-card { display: flex; flex-direction: column; gap: 14px; padding: 28px; }
.channel-card__title { font-size: var(--text-list); font-weight: 800; }
.channel-card__value { color: var(--color-text); font-size: var(--text-list); font-weight: 700; line-height: 1.6; word-break: break-word; }
.channel-card__value a { color: var(--color-accent); text-decoration: underline; text-underline-offset: 4px; }
.channel-card__value a:hover { background: var(--color-accent-dim); }
.channel-card__note { color: var(--color-text-muted); font-size: var(--text-tag); line-height: 1.75; }

/* ---------------------------------------------------------------
   16. 内页首屏 / 404
   --------------------------------------------------------------- */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: 76px 0 84px;
  border-bottom: 1px solid var(--color-line);
  background: var(--color-bg);
}
.page-hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: repeating-linear-gradient(90deg,
    var(--color-accent) 0 2px, transparent 2px 14px);
  opacity: 0.7;
  pointer-events: none;
}
.page-hero__title {
  max-width: 940px;
  margin-top: 24px;
  font-size: var(--text-section);
  line-height: var(--leading-section);
  font-weight: 900;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.page-hero__lead {
  max-width: 720px;
  margin-top: 18px;
  color: var(--color-text-muted);
  font-size: var(--text-list);
  line-height: 1.85;
}
.error-code {
  color: transparent;
  -webkit-text-stroke: 1px var(--color-accent);
  font-family: var(--font-display);
  font-size: clamp(110px, 15vw, 200px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.06em;
  opacity: 0.75;
}

/* ---------------------------------------------------------------
   17. 页脚 + 底部状态栏
   --------------------------------------------------------------- */
.site-footer { background: var(--color-footer); border-top: 1px solid var(--color-line); }
.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: 48px;
  padding: 72px 0 52px;
}
.footer__name { font-size: 22px; font-weight: 900; letter-spacing: -0.02em; }
.footer__desc { max-width: 360px; margin-top: 14px; color: var(--color-text-muted); font-size: var(--text-tag); line-height: 1.85; }
.footer__contact { margin-top: 18px; color: var(--color-text-muted); font-size: var(--text-tag); line-height: 1.8; word-break: break-word; }
.footer__contact a { color: var(--color-accent); text-decoration: underline; text-underline-offset: 4px; }
.footer__title { margin-bottom: 16px; color: var(--color-accent); font-family: var(--font-mono); font-size: var(--text-mono); letter-spacing: 0.1em; }
.footer__list li + li { margin-top: 10px; }
.footer__list a { display: inline-flex; align-items: center; min-height: 32px; color: var(--color-text-muted); font-size: var(--text-tag); }
.footer__list a:hover { color: var(--color-accent); text-decoration: underline; text-underline-offset: 4px; }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  padding: 22px 0;
  border-top: 1px solid var(--color-line);
  color: var(--color-text-weak);
  font-family: var(--font-mono);
  font-size: var(--text-mono);
  letter-spacing: 0.04em;
  line-height: 1.7;
}
.footer__bottom::before {
  content: "● SYS / STATIC BUILD / NO DATA COLLECTED / REV 3.0";
  display: block;
  width: 100%;
  margin-bottom: 8px;
  color: var(--color-accent);
  letter-spacing: 0.1em;
}

.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 50;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--color-accent);
  background: var(--color-surface);
  color: var(--color-accent);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}
.back-to-top svg { width: 18px; height: 18px; }
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top.is-visible:hover { background: var(--color-accent); color: #0A0D0E; }

/* ---------------------------------------------------------------
   18. 动效：位移入场 / 滚动揭示 / 网格视差 / 光标冷光
   入场一律不含 opacity，动画未执行时内容仍完整可读。
   --------------------------------------------------------------- */
@keyframes kinetic-in {
  from { translate: 0 26px; }
  to   { translate: 0 0; }
}
@keyframes reveal-up {
  from { translate: 0 18px; }
  to   { translate: 0 0; }
}

@media (prefers-reduced-motion: no-preference) {
  .hero .eyebrow,
  .hero__title,
  .hero__lead,
  .hero__actions,
  .hero__note,
  .hero__media,
  .page-hero .eyebrow,
  .page-hero__title,
  .page-hero__lead,
  .page-hero .hero__actions,
  .error-code {
    animation: kinetic-in 0.66s var(--ease-out) backwards;
  }
  .hero__title, .page-hero__title, .error-code { animation-delay: 0.08s; }
  .hero__lead, .page-hero__lead { animation-delay: 0.16s; }
  .hero__actions, .page-hero .hero__actions { animation-delay: 0.24s; }
  .hero__note { animation-delay: 0.3s; }
  .hero__media { animation-delay: 0.12s; }
}

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .section__head,
    .card,
    .cap-card,
    .scene-card,
    .channel-card,
    .step,
    .metric,
    .why__points > div {
      animation: reveal-up linear both;
      animation-timeline: view();
      animation-range: entry 0% cover 22%;
    }
  }
}

/* 光标冷光：只做跟随，不隐藏系统光标 */
.cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 69;
  width: 420px;
  height: 420px;
  margin: -210px 0 0 -210px;
  border-radius: 50%;
  background: radial-gradient(circle,
    rgba(255, 122, 26, 0.055) 0%,
    rgba(231, 237, 236, 0.018) 38%,
    transparent 70%);
  mix-blend-mode: screen;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.cursor-glow.is-active { opacity: 1; }

/* ---------------------------------------------------------------
   19. 断点
   --------------------------------------------------------------- */
@media (max-width: 1200px) {
  :root { --page-pad: 40px; --section-y: 88px; --text-hero: 52px; --text-section: 38px; }
  .hero__grid { padding: 76px var(--page-pad) 88px; }
  .hero__grid > div:first-child { padding-right: 36px; }
  .hero__grid > .hero__media { padding-left: 32px; }
  .why__grid { gap: 44px; }
  .nav__link { padding: 0 10px; }
  .status-bar__cell { padding: 0 10px; }
}

@media (max-width: 1024px) {
  :root { --page-pad: 32px; --text-hero: 46px; --text-section: 34px; }
  .hero__grid { padding: 68px var(--page-pad) 76px; }
  .hero__grid > div:first-child { padding-right: 28px; }
  .hero__grid > .hero__media { padding-left: 24px; }
  .nav__link { padding: 0 7px; font-size: 11px; }
  .header-cta { padding: 0 12px; }
  .insight-row { grid-template-columns: 150px 100px minmax(0, 1fr) 24px; gap: 16px; }
  .footer__grid { gap: 28px; }
  .status-bar__cell:nth-child(5),
  .status-bar__cell:nth-child(6) { display: none; }
}

@media (max-width: 768px) {
  :root {
    --page-pad: 20px;
    --section-y: 64px;
    --header-h: 64px;
    --text-hero: 36px;
    --text-section: 28px;
    --text-card: 19px;
  }

  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    margin: 0;
    border-bottom: 1px solid var(--color-line);
    background: var(--color-bg);
  }
  .nav.is-open { display: block; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--page-pad) 16px; }
  .nav__link { min-height: 48px; border-bottom: 1px solid var(--color-line-soft); font-size: var(--text-small); }
  .nav__list li:last-child .nav__link { border-bottom: 0; }
  .nav__link[aria-current="page"] { box-shadow: none; color: var(--color-accent); }
  .header-cta { min-height: 38px; padding: 0 10px; font-size: 11px; }

  .status-bar__inner { overflow: hidden; }
  .status-bar__cell:nth-child(2),
  .status-bar__cell:nth-child(4),
  .status-bar__cell:nth-child(5),
  .status-bar__cell:nth-child(6) { display: none; }
  .status-bar__cell:first-child { padding-left: 0; }

  .hero__grid,
  .why__grid,
  .cap-row--a,
  .cap-row--b { grid-template-columns: minmax(0, 1fr); }
  .hero__grid { gap: 32px; padding: 52px var(--page-pad) 64px; }
  .hero__grid > div:first-child { padding-right: 0; border-right: 0; }
  .hero__grid > .hero__media { padding-left: 0; order: -1; }
  .hero__title { margin: 22px 0 46px; }
  .hero__title br { display: none; }
  .hero::after { display: none; }

  .why__grid { gap: 32px; }
  .metrics__grid,
  .grid-2,
  .grid-3,
  .grid-4,
  .why__points,
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .metric { padding: 14px 0; border-left: 0; border-top: 1px solid var(--color-line-soft); }
  .metric:first-child { border-top: 0; }
  .metrics__grid { gap: 0; }

  .section__head--split { flex-direction: column; align-items: flex-start; }
  .section__head { margin-bottom: 32px; }
  /* 窄屏关掉区块编号与离轴十字，避免小字被裁切、装饰压正文 */
  main > section::before { display: none; }

  .cta-band__inner { flex-direction: column; align-items: flex-start; gap: 24px; padding: 52px var(--page-pad); }

  .insight-row { grid-template-columns: minmax(0, 1fr) 20px; gap: 8px 12px; padding: 18px 0; }
  .insight-row__date,
  .insight-row__tag,
  .insight-row__title { grid-column: 1; }
  .insight-row__arrow { grid-column: 2; grid-row: 1 / span 3; align-self: center; }

  .page-hero { padding: 52px 0 56px; }
  .footer__grid { gap: 32px; padding: 52px 0 36px; }
  .footer__brand { grid-column: 1 / -1; }
  .cursor-glow { display: none; }
}

@media (max-width: 480px) {
  :root { --text-hero: 31px; --text-section: 26px; --text-list: 16px; }
  .brand { font-size: var(--text-small); }
  .brand__mark { width: 26px; height: 26px; }
  .site-header__inner { gap: 10px; }

  .metrics__grid,
  .grid-2,
  .grid-3,
  .grid-4,
  .why__points,
  .footer__grid { grid-template-columns: minmax(0, 1fr); }
  .footer__brand { grid-column: auto; }
  .card, .cap-card { padding: 24px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .step { grid-template-columns: 48px minmax(0, 1fr); gap: 16px; }
  .back-to-top { right: 16px; bottom: 16px; }
  .section--dark::after { height: 5px; }
  .media::after,
  .scene-card__media::after { right: 8px; bottom: 8px; padding: 3px 7px; font-size: 9px; }
}

/* ---------------------------------------------------------------
   19.5 启动屏：HUD 开机序列（由脚本注入，零外部资源）
   参考 DeepSeek Harness 的 dsh-startup-screen / dsh-tech-splash：
   环形准星缺口朝下、刻度环、六边形、声呐、透视网格、扫描线、
   逐行启动日志、右下遥测、交互式授权、点击进入。
   --------------------------------------------------------------- */
.boot {
  position: fixed;
  inset: 0;
  z-index: 200;
  overflow: hidden;
  background: #050708;
  color: #E7EDEC;
  font-family: var(--font-mono);
  transition: opacity 0.5s ease, transform 0.5s var(--ease-out);
}
.boot.is-exiting { opacity: 0; transform: scale(1.035); pointer-events: none; }

.boot__flash {
  position: absolute;
  inset: 0;
  z-index: 9;
  background: #E7EDEC;
  opacity: 0;
  pointer-events: none;
}
.boot.is-exiting .boot__flash { animation: boot-flash 0.5s ease-out; }
@keyframes boot-flash {
  0%   { opacity: 0; }
  18%  { opacity: 0.82; }
  100% { opacity: 0; }
}

/* 透视网格 */
.boot__grid {
  position: absolute;
  left: -20%;
  right: -20%;
  bottom: -14%;
  height: 58%;
  background-image:
    repeating-linear-gradient(90deg, rgba(231, 237, 236, 0.22) 0 1px, transparent 1px 60px),
    repeating-linear-gradient(0deg, rgba(231, 237, 236, 0.22) 0 1px, transparent 1px 60px);
  transform: perspective(420px) rotateX(64deg);
  transform-origin: bottom center;
  -webkit-mask-image: linear-gradient(to top, #000 0%, rgba(0, 0, 0, 0.65) 55%, transparent 100%);
  mask-image: linear-gradient(to top, #000 0%, rgba(0, 0, 0, 0.65) 55%, transparent 100%);
  opacity: 0.82;
  pointer-events: none;
}

/* CRT 扫描线 + 缓慢下移的横向光带 */
.boot__scan {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: repeating-linear-gradient(0deg, transparent 0 2px, rgba(0, 0, 0, 0.32) 2px 4px);
  opacity: 0.55;
  pointer-events: none;
}
.boot__sweep {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  z-index: 3;
  height: 130px;
  background: linear-gradient(180deg, transparent, rgba(231, 237, 236, 0.05), transparent);
  animation: boot-sweep 4.6s linear infinite;
  pointer-events: none;
}
@keyframes boot-sweep {
  from { transform: translateY(-150px); }
  to   { transform: translateY(105vh); }
}

/* 两侧数据流：竖直范围以视口中线对称；中央带渐隐，为自检 / 遥测 HUD 面板让位，
   避免面板边框把十六进制字符拦腰切断；面板上下的可见段仍保留信息密度。 */
.boot__stream {
  position: absolute;
  top: 20%;
  bottom: 20%;
  z-index: 2;
  width: 160px;
  overflow: hidden;
  color: rgba(231, 237, 236, 0.2);
  font-size: 9px;
  line-height: 2;
  letter-spacing: 0.1em;
  word-break: break-all;
  -webkit-mask-image: linear-gradient(to bottom,
      #000 0%, #000 16%, transparent 22%, transparent 78%, #000 84%, #000 100%);
  mask-image: linear-gradient(to bottom,
      #000 0%, #000 16%, transparent 22%, transparent 78%, #000 84%, #000 100%);
  pointer-events: none;
}
.boot__stream--l { left: 26px; }
.boot__stream--r { right: 26px; text-align: right; }

/* 中央 HUD */
.boot__hud {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 4;
  width: 360px;
  height: 360px;
  margin: -180px 0 0 -180px;
  pointer-events: none;
}
/* 主环：正下方留 40° 缺口 */
.boot__ring,
.boot__ring--inner {
  border-radius: 50%;
}
/* 用同色实心圆挖出环体，比 mask 更稳；主环正下方留 52° 缺口 */
.boot__ring {
  position: absolute;
  inset: 0;
  background: conic-gradient(
    rgba(231, 237, 236, 0.72) 0deg 154deg,
    transparent 154deg 206deg,
    rgba(231, 237, 236, 0.72) 206deg 360deg);
  animation: boot-spin 16s linear infinite;
}
.boot__ring::after {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: 50%;
  background: #050708;
}
.boot__ring--inner {
  position: absolute;
  inset: 40px;
  border: 1px dashed rgba(231, 237, 236, 0.38);
  background: repeating-conic-gradient(
    rgba(231, 237, 236, 0.6) 0deg 1.2deg, transparent 1.2deg 10deg);
  animation: boot-spin 10s linear infinite reverse;
}
.boot__ring--inner::after {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: 50%;
  background: #050708;
}
.boot__hex {
  position: absolute;
  inset: 108px;
  background: rgba(255, 122, 26, 0.82);
  opacity: 0.5;
  clip-path: polygon(50% 0, 93% 25%, 93% 75%, 50% 100%, 7% 75%, 7% 25%);
  animation: boot-breathe 3.2s ease-in-out infinite;
}
.boot__hex::after {
  content: "";
  position: absolute;
  inset: 3px;
  background: #050708;
  clip-path: polygon(50% 0, 93% 25%, 93% 75%, 50% 100%, 7% 75%, 7% 25%);
}
.boot__sonar {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(231, 237, 236, 0.22);
  border-radius: 50%;
  animation: boot-sonar 3s ease-out infinite;
}
.boot__sonar--2 { animation-delay: 1s; }
.boot__sonar--3 { animation-delay: 2s; }
@keyframes boot-spin    { to { transform: rotate(360deg); } }
@keyframes boot-sonar   { 0% { transform: scale(0.3); opacity: 0.75; } 100% { transform: scale(1.35); opacity: 0; } }
@keyframes boot-breathe { 0%, 100% { opacity: 0.28; } 50% { opacity: 0.62; } }

/* 四角锁定括号 */
.boot__lock {
  position: absolute;
  z-index: 5;
  width: 34px;
  height: 34px;
  border: 0 solid rgba(231, 237, 236, 0.72);
  pointer-events: none;
}
.boot__lock--tl { top: 22px; left: 22px; border-top-width: 1px; border-left-width: 1px; }
.boot__lock--tr { top: 22px; right: 22px; border-top-width: 1px; border-right-width: 1px; }
.boot__lock--bl { bottom: 22px; left: 22px; border-bottom-width: 1px; border-left-width: 1px; }
.boot__lock--br { bottom: 22px; right: 22px; border-bottom-width: 1px; border-right-width: 1px; }

/* 顶栏 */
.boot__head {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 6;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 20px 26px;
  font-size: 10px;
  letter-spacing: 0.12em;
  color: rgba(231, 237, 236, 0.6);
}
.boot__id { color: var(--color-accent); }
.boot__spacer { flex: 1 1 auto; }
.boot__btn {
  padding: 5px 10px;
  border: 1px solid rgba(231, 237, 236, 0.3);
  background: transparent;
  color: #E7EDEC;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: border-color 0.16s ease, color 0.16s ease;
}
.boot__btn:hover { border-color: var(--color-accent); color: var(--color-accent); }

/* 中央文案 */
.boot__center {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 6;
  width: min(92vw, 860px);
  text-align: center;
  transform: translate(-50%, -50%);
}
/* 文字压在 HUD 之上，用同色底衬遮断穿过的六边形线，保证可读性 */
.boot__cn,
.boot__en,
.boot__hint {
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  padding: 0 14px;
  background: #050708;
}
.boot__cn {
  font-family: var(--font-sans);
  font-size: clamp(28px, 4.2vw, 54px);
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: -0.02em;
}
.boot__en {
  min-height: 20px;
  margin-top: 14px;
  color: var(--color-accent);
  font-size: 12px;
  letter-spacing: 0.28em;
}
.boot__hint {
  margin-top: 32px;
  color: rgba(231, 237, 236, 0.6);
  font-size: 10px;
  letter-spacing: 0.16em;
  animation: boot-blink 1.4s steps(2, end) infinite;
}
@keyframes boot-blink { 50% { opacity: 0.25; } }
.boot__cursor {
  display: inline-block;
  width: 8px;
  height: 13px;
  margin-left: 4px;
  vertical-align: -2px;
  background: var(--color-accent);
  animation: boot-blink 0.8s steps(2, end) infinite;
}

/* 左侧系统自检清单：独立 HUD 面板。不透明底衬遮断同坐标的十六进制数据流，
   面板 z-index 6 本就高于数据流 2，此前叠字只因背景透明；数据流在面板上下的
   可见段仍保留，控制台信息密度不减。 */
.boot__diag {
  position: absolute;
  left: 26px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 6;
  min-width: 168px;
  padding: 12px 14px;
  border: 1px solid var(--color-line);
  background: #050708;
  font-size: 10px;
  line-height: 2.3;
  letter-spacing: 0.06em;
  color: rgba(231, 237, 236, 0.32);
  pointer-events: none;
}
.boot__diag li { transition: color 0.2s ease; }
.boot__diag li.is-done { color: var(--color-accent); }

/* 右侧遥测读数：与自检面板同规格底衬，遮断右侧数据流，保证读数可读 */
.boot__telemetry {
  position: absolute;
  right: 26px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 6;
  min-width: 168px;
  padding: 12px 14px;
  border: 1px solid var(--color-line);
  background: #050708;
  text-align: right;
  font-size: 10px;
  line-height: 2.1;
  letter-spacing: 0.08em;
  color: rgba(231, 237, 236, 0.4);
  pointer-events: none;
}
.boot__trow { display: flex; justify-content: flex-end; gap: 10px; }
.boot__trow span { color: rgba(231, 237, 236, 0.4); }
.boot__trow b { color: #E7EDEC; font-weight: 600; min-width: 78px; }

.boot__panel-title {
  margin-bottom: 8px;
  font-size: 9px;
  letter-spacing: 0.16em;
  color: var(--color-accent);
}
.boot__sim {
  margin-left: 6px;
  padding: 0 5px;
  border: 1px solid rgba(231, 237, 236, 0.3);
  color: rgba(231, 237, 236, 0.55);
  font-size: 8px;
}

/* 中央文案与按钮：文字层不可点，仅 CTA 可点；点击空白处仍推进序列 */
.boot__cn,
.boot__en,
.boot__hint { pointer-events: none; }
.boot__cta {
  display: inline-block;
  margin-top: 28px;
  padding: 12px 34px;
  border: 1px solid var(--color-accent);
  /* 与中央文案同色不透明底衬：任何视口下都遮断六边形 / HUD 斜线；
     叠加 10% 琥珀还原原有半透明叠色，视觉不变但不再透线。 */
  background: #050708;
  background: color-mix(in srgb, var(--color-accent) 10%, #050708);
  color: var(--color-accent);
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.2em;
  cursor: pointer;
  transition: background 0.16s ease, color 0.16s ease, transform 0.08s ease;
}
.boot__cta:hover { background: var(--color-accent); color: #050708; }
.boot__cta:active { transform: translateY(1px); }

/* 底部进度 */
.boot__foot {
  position: absolute;
  left: 26px;
  right: 26px;
  bottom: 30px;
  z-index: 6;
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 10px;
  letter-spacing: 0.1em;
  color: rgba(231, 237, 236, 0.55);
}
.boot__bar { flex: 1 1 auto; height: 2px; background: rgba(231, 237, 236, 0.16); }
.boot__bar span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--color-accent);
  box-shadow: 0 0 10px rgba(255, 122, 26, 0.5);
  /* 终端进度按幕离散跳变，不做补间：数字与条长任一帧都严格一致 */
}

/* 状态条常驻控件 */
.status-bar__btn {
  padding: 0 10px;
  border: 0;
  border-right: 1px solid var(--color-line-soft);
  background: transparent;
  color: var(--color-text-weak);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  line-height: 30px;
  cursor: pointer;
}
.status-bar__btn:hover { color: var(--color-accent); }
#sfx-toggle[aria-pressed="true"] { color: var(--color-text-weak); }

@media (max-width: 768px) {
  .boot__stream { display: none; }
  .boot__hud { width: 260px; height: 260px; margin: -130px 0 0 -130px; }
  .boot__ring--inner { inset: 30px; }
  .boot__hex { inset: 82px; }
  .boot__diag,
  .boot__telemetry { display: none; }
  .boot__head { padding: 14px; font-size: 9px; gap: 6px; }
  .boot__head > span:nth-child(2),
  #boot-snd { display: none; }
}

/* ---------------------------------------------------------------
   19.6 动态页（公告 / 日记 / 用户吐槽）
   --------------------------------------------------------------- */
.community-hero {
  padding: 132px 0 56px;
  border-bottom: 1px solid var(--color-line);
}
.community-hero .eyebrow { margin-bottom: 14px; }
.community-hero__title {
  font-family: var(--font-sans);
  font-size: clamp(30px, 5vw, 56px);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.08;
}
.community-hero__lead {
  max-width: 62ch;
  margin-top: 16px;
  color: var(--color-text-muted);
  font-size: 15px;
  line-height: 1.75;
}

.board-section { padding: 60px 0; border-bottom: 1px solid var(--color-line-soft); }
.board-section__head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 26px; }
.board-section__title { font-family: var(--font-sans); font-size: 24px; font-weight: 800; }
.board-section__tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--color-accent);
}

/* 公告 / 日记 条目 */
.feed { display: flex; flex-direction: column; }
.feed__item { padding: 18px 0; border-top: 1px solid var(--color-line-soft); }
.feed__item:first-child { border-top: 0; }
.feed__date {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--color-text-weak);
}
.feed__title { margin: 8px 0 6px; font-size: 17px; font-weight: 700; color: var(--color-text); }
.feed__body { color: var(--color-text-muted); font-size: 14px; line-height: 1.75; }
.feed--diary .feed__item { padding-left: 18px; border-left: 2px solid var(--color-line); }
.feed--diary .feed__date::before { content: "\270E  "; color: var(--color-accent); }

/* 用户吐槽：表单 + 墙 */
.tweet { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
@media (max-width: 880px) { .tweet { grid-template-columns: 1fr; gap: 32px; } }
.tweet-form__field { margin-bottom: 16px; }
.tweet-form label {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
  margin-bottom: 8px;
}
.tweet-form input,
.tweet-form textarea {
  width: 100%;
  padding: 12px 14px;
  background: var(--color-surface-2);
  border: 1px solid var(--color-line);
  border-radius: 0;
  color: var(--color-text);
  font-family: var(--font-sans);
  font-size: 14px;
  transition: border-color 0.16s ease;
}
.tweet-form input:focus,
.tweet-form textarea:focus { outline: none; border-color: var(--color-accent); }
.tweet-form__note {
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--color-accent);
  min-height: 16px;
}
.tweet-wall { display: flex; flex-direction: column; gap: 14px; }
.tweet-card { padding: 16px; border: 1px solid var(--color-line); background: var(--color-surface); }
.tweet-card__head {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--color-text-weak);
  margin-bottom: 8px;
}
.tweet-card__body { color: var(--color-text-muted); font-size: 14px; line-height: 1.75; }

/* ---------------------------------------------------------------
   19b. 联系页 QQ 号展示（静态文本，无表单、无提交）
   --------------------------------------------------------------- */
.contact-qq {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 40px;
  border: 1px solid var(--color-line);
  border-left: 3px solid var(--color-accent);
  background: var(--color-surface);
}
.contact-qq__label {
  font-family: var(--font-mono);
  font-size: var(--text-tag);
  letter-spacing: 0.16em;
  color: var(--color-accent);
  text-transform: uppercase;
}
.contact-qq__value {
  font-family: var(--font-mono);
  font-size: clamp(30px, 6vw, 54px);
  font-weight: 800;
  line-height: 1.15;
  color: var(--color-text);
  letter-spacing: 0.04em;
  user-select: all;
}
.contact-qq__note {
  color: var(--color-text-muted);
  font-size: var(--text-tag);
  line-height: 1.75;
}

/* ---------------------------------------------------------------
   20. 尊重系统减弱动效设置
   --------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation: none !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .status-bar__dot { opacity: 1; }
  .scan-progress { display: none; }
  .cursor-glow { display: none; }
  body::before { transform: none; }
}
