:root {
  --bg: #031920;
  --panel: #041f28;
  --panel-2: #07303b;
  --sea: #0a4654;
  --foam: #edf6f4;
  --muted: #9db8bd;
  --faint: #6f8d94;
  --line: rgba(223, 244, 243, 0.14);
  --amber: #e3ad62;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
  --sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }

html { background: var(--bg); scroll-behavior: smooth; }

body {
  margin: 0;
  background: transparent;
  color: var(--foam);
  font-family: var(--sans);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; }

[data-lang="zh"] .t-en,
[data-lang="en"] .t-zh { display: none; }

.hero {
  position: relative;
  min-height: 100svh;
  background: transparent;
  color: var(--foam);
  isolation: isolate;
  overflow: hidden;
}

/* 海：视频铺满整屏，shade 压在最上面。
   object-fit:cover 保证任何窗口比例都铺满，不留黑边。

   这里**没有 poster**：首屏不放视频的第一帧预览图（按需求去掉）。
   放了的话，片子没到的那一两秒会先亮一张静态画，
   视频淡上来时画面会「跳」一下 —— 干脆留黑，底色本来就是黑的。 */
.sea-video {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center center;
}

.sea-video {
  z-index: -2;
  opacity: 0;
  transition: opacity 0.65s ease;
}

body.video-ready .sea-video { opacity: 1; }

/* 实时渲染层（assets/starsea.js）。
   和 poster 同一层，但排在后面，所以它准备好了就直接盖住 poster。
   它还活着的时候视频根本不加载，省掉那一整段 4K 素材。 */
.sea-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: -3;
  opacity: 0;
  pointer-events: none;
  transition: opacity 1.1s ease;
}
body.starsea-ready .sea-canvas { opacity: 1; }
/* 实时渲染接手之后，视频退场（poster 已经不存在了） */
body.starsea-ready .sea-video { display: none; }
/* 兜底降级：粒子被砍到底之后再把暗角收一点，保住中心对比 */
body.starsea-lite .sea-canvas { filter: saturate(1.04); }

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  /* 不留任何压色。视频是什么颜色，这里就是什么颜色。
     文案的可读性全部交给文字自己的暗影（见下面 .hero-title 那一段）。 */
  background: none;
}

.topbar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 22px clamp(20px, 4vw, 56px);
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  color: var(--foam);
  text-decoration: none;
  font-size: 18px;
  /* —— 点下去不要露出任何痕迹 ——
     这是隐藏入口的那块地方：logo 连点五下进留言板。
     浏览器默认会给可点元素加一层蓝色高亮框（手机上尤其明显），
     等于在地图上画了个圈告诉别人「这里能点」。
     所以覆盖层、点击高亮、焦点框三样全关掉。
     注意只关 -webkit-tap-highlight-color 和 :focus（鼠标点击产生的），
     :focus-visible 保留 —— 那是键盘 Tab 过来的，不该一起砍掉，
     否则只用键盘的人就看不到自己在哪了。 */
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  outline: none;
  -webkit-user-select: none;
  user-select: none;
}

.brand:focus { outline: none; }

/* 键盘导航仍然要有可见焦点：只有 Tab 过来才显示。
   鼠标点击、手指点按都不会触发 :focus-visible。 */
.brand:focus-visible {
  outline: 1px solid rgba(227, 173, 98, 0.55);
  outline-offset: 5px;
  border-radius: 3px;
}

/* 背景高亮层（有些浏览器会画在文字底下）也一并去掉 */
.brand::-moz-focus-inner { border: 0; }

.brand strong { letter-spacing: 0.12em; }

.brand span {
  font-family: var(--mono);
  font-size: 11px;
  opacity: 0.62;
}

.topnav {
  display: flex;
  gap: 26px;
  margin-left: auto;
}

.topnav a {
  color: var(--foam);
  opacity: 0.94;
  text-decoration: none;
  font-size: 14px;
  padding: 8px 0;
  border-bottom: 1px solid transparent;
}

.topnav a:hover {
  opacity: 1;
  border-bottom-color: rgba(237, 246, 244, 0.5);
}

.lang {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(2, 16, 22, 0.38);
  color: var(--foam);
  padding: 7px 12px;
  font-family: var(--mono);
  font-size: 13px;
  background: none;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-color: rgba(237, 246, 244, 0.42);
}

[data-lang="zh"] .l-en,
[data-lang="en"] .l-zh { opacity: 0.45; }

.hero-grid {
  position: relative;
  z-index: 1;
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.42fr);
  gap: 36px;
  align-items: end;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 34px clamp(22px, 5vw, 76px) 112px;
}

.hero-copy { max-width: 700px; }

.hero-title {
  margin: 0 0 18px;
  font-size: clamp(54px, 8vw, 104px);
  font-weight: 850;
  line-height: 0.9;
  letter-spacing: -0.05em;
}

/* 画面主体不压暗了，所以可读性主要靠这层暗影：
   贴身的硬影保字形，外面一圈大的压背景，任何一帧上都立得住。 */
.hero-title,
.identity,
.tagline {
  text-shadow:
    0 1px 2px rgba(1, 10, 15, 0.92),
    0 2px 6px rgba(1, 10, 15, 0.75),
    0 8px 30px rgba(1, 10, 15, 0.62);
}

.topbar .brand,
.topnav a,
.lang {
  text-shadow:
    0 1px 2px rgba(1, 10, 15, 0.95),
    0 2px 10px rgba(1, 10, 15, 0.75),
    0 6px 24px rgba(1, 10, 15, 0.55);
}

.identity {
  margin: 0 0 8px;
  font-size: clamp(18px, 1.6vw, 23px);
  font-weight: 650;
}

.tagline {
  margin: 0 0 28px;
  color: #e8f3f3;
  font-size: 15px;
  text-shadow:
    0 1px 2px rgba(1, 10, 15, 0.98),
    0 2px 8px rgba(1, 10, 15, 0.88),
    0 10px 34px rgba(1, 10, 15, 0.72);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}

.btn-primary {
  background: var(--foam);
  color: #06242d;
}

.btn-secondary {
  border-color: rgba(237, 246, 244, 0.34);
  background: rgba(2, 16, 22, 0.34);
  color: var(--foam);
}

.btn-arrow { font-family: var(--mono); }

.obs-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(3, 24, 31, 0.91);
  padding: 18px;
  box-shadow: var(--shadow);
}

.obs-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.obs-head h2 {
  margin: 0;
  color: #dce9e8;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.live-flag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--amber);
  font-size: 12px;
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 4px rgba(227, 173, 98, 0.12);
}

.obs-list {
  display: grid;
  margin: 0;
}

.obs-list div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 11px 0;
  border-top: 1px solid var(--line);
}

.obs-list dt {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.obs-list dd {
  margin: 0;
  color: #fff;
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 700;
  text-align: right;
}

.obs-list em {
  margin-left: 4px;
  color: var(--faint);
  font-size: 11px;
  font-style: normal;
}

.obs-note {
  margin: 12px 0 0;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: #88a5ab;
  font-size: 12px;
}

.page-body {
  position: relative;
  z-index: 1;
  background: transparent;
}

.section {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 78px clamp(20px, 4vw, 48px);
  /* 不留底色。区块是 1180px 居中的，一旦自带渐变，中间和两边就会
     差出一条竖缝 —— 画面要一整块，颜色就得交给视频自己。 */
  background: none;
}

.section h2 {
  margin: 0 0 28px;
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  text-shadow:
    0 1px 2px rgba(1, 10, 15, 0.92),
    0 3px 12px rgba(1, 10, 15, 0.72),
    0 10px 34px rgba(1, 10, 15, 0.5);
}

.door-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.door-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 330px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: linear-gradient(180deg, var(--panel-2) 0%, var(--panel) 100%);
  box-shadow: var(--shadow);
}

.card-index {
  position: absolute;
  top: 22px;
  right: 26px;
  color: rgba(237, 246, 244, 0.58);
  font-family: var(--mono);
  font-size: 13px;
  text-shadow: 0 1px 3px rgba(1, 10, 15, 0.7);
}

.door-card h3 {
  margin: 0 0 10px;
  font-size: 25px;
  letter-spacing: -0.02em;
}

.door-card p {
  margin: 0 0 20px;
  color: #e2eeee;
  font-size: 15px;
  text-shadow: 0 1px 3px rgba(1, 10, 15, 0.72);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  gap: 8px;
  margin: auto 0 22px;
  padding: 0;
  list-style: none;
}

.tag-list li {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(237, 246, 244, 0.05);
  padding: 5px 10px;
  color: #e6f0f0;
  font-size: 12px;
  text-shadow: 0 1px 3px rgba(1, 10, 15, 0.6);
}

.card-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--amber);
  font-weight: 700;
  text-decoration: none;
}

.spec-table {
  display: grid;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: var(--panel);
}

.spec-table div {
  display: grid;
  grid-template-columns: minmax(150px, 0.28fr) 1fr;
  gap: 18px;
  align-items: center;
  padding: 16px 20px;
}

.spec-table div + div { border-top: 1px solid var(--line); }

.spec-table dt {
  color: #cfe0e1;
  font-size: 14px;
  text-shadow: 0 1px 3px rgba(1, 10, 15, 0.66);
}

.spec-table dd {
  margin: 0;
  color: #f2f8f8;
  font-size: 15px;
  text-shadow: 0 1px 3px rgba(1, 10, 15, 0.66);
}

.boundary-text {
  margin: 0;
  padding: 22px 24px;
  border: 1px solid rgba(227,173,98,.35);
  border-radius: 10px;
  background: #062630;
  color: #dcebeb;
  font-size: 16px;
  text-shadow: 0 1px 3px rgba(1, 10, 15, 0.6);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 26px clamp(20px, 4vw, 48px);
  border-top: 1px solid var(--line);
  background: rgba(3, 25, 32, 0.86);
  color: #7f9ca2;
  font-family: var(--mono);
  font-size: 12px;
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    align-items: end;
    gap: 24px;
  }

  .obs-panel { width: 100%; }
}

@media (max-width: 760px) {
  .topbar {
    gap: 12px;
    padding: 16px;
  }

  .brand span { display: none; }

  .topnav { display: none; }

  .hero-grid {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 18px 16px 86px;
  }

  .hero-copy { display: contents; }

  .hero-title {
    order: 1;
    margin-bottom: 10px;
    font-size: clamp(42px, 13vw, 62px);
  }

  .identity {
    order: 2;
    font-size: 17px;
  }

  .tagline {
    order: 3;
    margin-bottom: 8px;
    font-size: 13px;
  }

  .obs-panel {
    order: 4;
    padding: 14px;
  }

  .hero-actions {
    order: 5;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: auto;
  }

  .obs-head { margin-bottom: 6px; }

  .obs-list div { padding: 8px 0; }

  .obs-list dt { font-size: 12px; }

  .obs-list dd { font-size: 13px; }

  .obs-note {
    margin-top: 9px;
    padding-top: 9px;
    font-size: 11px;
  }

  .btn {
    min-height: 46px;
    padding: 0 12px;
    font-size: 14px;
  }


  .section { padding: 58px 18px; }

  .door-grid { grid-template-columns: 1fr; }

  .door-card {
    min-height: 0;
    padding: 22px;
  }

  .spec-table div {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 14px 16px;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 760px) and (max-height: 720px) {
  .hero-grid { gap: 10px; }

  .obs-list div { padding: 6px 0; }

  .obs-note { display: none; }

  .hero-actions { margin-top: 10px; }
}

body .topbar,
body .lang,
body .btn,
body .obs-panel,
body .door-card,
body .spec-table,
body .boundary-text {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(9, 38, 48, 0.58), rgba(2, 16, 22, 0.40));
  border: 1px solid rgba(237, 246, 244, 0.18);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    inset 0 -1px 0 rgba(255, 255, 255, 0.05),
    0 22px 60px rgba(0, 0, 0, 0.34);
}

/* 除了观测面板，下面这些不再用滤镜（它们不在视频上也用不着） */
body .door-card,
body .spec-table,
body .boundary-text {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

body .obs-panel::before,
body .door-card::before,
body .spec-table::before,
body .boundary-text::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0) 38%);
  pointer-events: none;
}

body .topbar {
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

body .btn { border-radius: 14px; }

body .btn-secondary {
  background: none;
  border-color: rgba(255, 255, 255, 0.46);
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

body .btn-primary {
  background: linear-gradient(135deg, rgba(237, 246, 244, 0.94), rgba(205, 228, 226, 0.80));
  color: #06242d;
  border-color: rgba(255, 255, 255, 0.50);
}

body .obs-panel,
body .door-card,
body .spec-table,
body .boundary-text { border-radius: 18px; }

/* ---------- 液态玻璃 ----------
   上一版只是「糊一层」—— 那是磨砂，不是玻璃。
   玻璃和磨砂的差别只有一个：**折射**。磨砂把背后的东西糊掉，
   玻璃把背后的东西**弯掉** —— 边缘厚、中间薄，边上的画面会压缩、拉长。

   这里用一张 SVG 滤镜（湍流噪声 + 位移映射）把它做出来：
     · 整块面板：低频、大尺度 → 一块厚度不匀的厚玻璃
     · 边缘一圈：高频、强位移，再用径向遮罩只留四周 → 透镜边缘
   颜色一律不加：玻璃只弯光，不染光。 */
body .obs-panel {
  border-radius: 24px;
  background: linear-gradient(152deg, rgba(8, 32, 42, 0.32), rgba(3, 16, 24, 0.20));
  border: 0;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.26),
    inset 0 1.6px 0 rgba(255, 255, 255, 0.66),
    inset 0 -1.2px 0 rgba(255, 255, 255, 0.18),
    inset 0 0 58px rgba(255, 255, 255, 0.07),
    0 30px 80px rgba(0, 0, 0, 0.42);
  /* 兜底：不支持在 backdrop-filter 里引用 SVG 滤镜的浏览器，退回纯模糊 */
  backdrop-filter: blur(26px) saturate(165%) brightness(0.94);
  -webkit-backdrop-filter: blur(26px) saturate(165%) brightness(0.94);
  isolation: isolate;
}

/* 真·液态玻璃：Chromium 支持在 backdrop-filter 里引用 SVG 滤镜 */
@supports (backdrop-filter: url(#cl-glass)) or (-webkit-backdrop-filter: url(#cl-glass)) {
  body .obs-panel {
    backdrop-filter: blur(1.5px) url(#cl-glass) saturate(150%) brightness(0.97);
    -webkit-backdrop-filter: blur(1.5px) saturate(150%) brightness(0.97);
  }
  /* 边缘那一圈透镜。径向遮罩让它只在四周生效，中间不动。 */
  body .obs-panel .glass-edge {
    backdrop-filter: url(#cl-glass-edge);
    -webkit-backdrop-filter: url(#cl-glass-edge);
  }
}

.cl-defs { position: absolute; width: 0; height: 0; overflow: hidden; }

body .obs-panel .glass-edge {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  pointer-events: none;
  -webkit-mask-image: radial-gradient(118% 118% at 50% 50%, transparent 56%, #000 94%);
  mask-image: radial-gradient(118% 118% at 50% 50%, transparent 56%, #000 94%);
}

/* 缓慢游走的高光：玻璃会动，就活在这道光上 */
body .obs-panel .glass-sheen {
  position: absolute;
  inset: -35%;
  z-index: 1;
  border-radius: inherit;
  pointer-events: none;
  background:
    radial-gradient(36% 26% at 22% 10%, rgba(255, 255, 255, 0.30), rgba(255, 255, 255, 0) 64%),
    radial-gradient(28% 22% at 80% 94%, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0) 68%);
  mix-blend-mode: screen;
  animation: cl-sheen 21s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite alternate;
}
@keyframes cl-sheen {
  from { transform: translate3d(-3%, -2%, 0) rotate(-1.2deg); opacity: 0.82; }
  to   { transform: translate3d(4%, 3%, 0) rotate(1.4deg); opacity: 1; }
}

/* 面板里的内容要压在两道玻璃层上面 */
body .obs-panel > .obs-head,
body .obs-panel > .obs-list,
body .obs-panel > .obs-note { position: relative; z-index: 2; }

/* 顶上那道镜面反射：光源在左上 */
body .obs-panel::before {
  z-index: 3;
  background:
    radial-gradient(130% 92% at 10% -14%, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0) 48%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0) 42%);
}

/* 底边一圈反光，把玻璃和背景分开 */
body .obs-panel::after {
  content: "";
  position: absolute;
  left: 11%;
  right: 11%;
  bottom: -1px;
  height: 1px;
  border-radius: 999px;
  background: linear-gradient(90deg,
    rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0));
  pointer-events: none;
}

/* 手机上不做折射：SVG 位移滤镜在这种尺寸上很贵，而小屏上看不出差别。
   这一条写在 @supports 后面，所以同选择器下它赢。 */
@media (pointer: coarse) {
  body .obs-panel {
    backdrop-filter: blur(22px) saturate(160%) brightness(0.95);
    -webkit-backdrop-filter: blur(22px) saturate(160%) brightness(0.95);
  }
  body .obs-panel .glass-edge { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  body .obs-panel .glass-sheen { animation: none; opacity: 1; transform: none; }
}

/* 玻璃里的那几根分隔线也要跟着变淡，不然像贴在玻璃上的黑条 */body .obs-panel .obs-list div { border-top-color: rgba(255, 255, 255, 0.17); }
body .obs-panel .obs-list dt { color: rgba(237, 246, 244, 0.90); }
body .obs-panel .obs-head h2 { color: rgba(255, 255, 255, 0.97); }
body .obs-panel .obs-list dd,
body .obs-panel .obs-list em,
body .obs-panel .obs-note,
body .obs-panel .live-flag {
  text-shadow: 0 1px 3px rgba(1, 10, 15, 0.75);
}
body .obs-panel .obs-list em { color: rgba(190, 212, 214, 0.92); }
body .obs-note { color: rgba(190, 212, 214, 0.90); }

body .spec-table {
  background: linear-gradient(180deg, rgba(9, 38, 48, 0.34), rgba(2, 16, 22, 0.22));
}

body .boundary-text {
  border-color: rgba(227, 173, 98, 0.32);
  background: linear-gradient(135deg, rgba(38, 42, 24, 0.36), rgba(6, 38, 48, 0.24));
}

/* ============================================================
   首页的正文区块（重写版）
   规矩和上面一样：区块本身不带整屏底色，只给内容卡片一层很淡的
   半透明底 + 细边 + 一道镜面高光，底下的海照样透上来。
   ============================================================ */

/* 章节序号 */
.sec-no {
  display: inline-block;
  margin-right: 14px;
  color: var(--amber);
  font-family: var(--mono);
  font-size: 0.44em;
  font-weight: 500;
  letter-spacing: 0.12em;
  vertical-align: 0.55em;
  text-shadow: 0 1px 8px rgba(1, 10, 15, 0.9);
}

/* 正文段落 */
.prose {
  max-width: 74ch;
  color: #e4eeee;
  font-size: 16.5px;
  line-height: 1.85;
  text-shadow: 0 1px 3px rgba(1, 10, 15, 0.78), 0 6px 22px rgba(1, 10, 15, 0.45);
}
.prose p { margin: 0 0 14px; }
.prose p:last-child { margin-bottom: 0; }
.prose.narrow { margin-top: 22px; }
.prose code.ic,
.api-note code,
.boundary-text code {
  padding: 1px 6px;
  border: 1px solid rgba(237, 246, 244, 0.2);
  border-radius: 5px;
  background: rgba(9, 38, 48, 0.5);
  color: #eaf6f4;
  font-family: var(--mono);
  font-size: 0.86em;
}

/* 三个事实 */
.fact-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 26px;
}
.fact {
  padding: 20px 22px;
  border: 1px solid rgba(237, 246, 244, 0.16);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(9, 38, 48, 0.46), rgba(2, 16, 22, 0.3));
}
.fact b {
  display: block;
  color: #fff;
  font-family: var(--mono);
  font-size: 34px;
  font-weight: 600;
  line-height: 1.1;
  text-shadow: 0 2px 10px rgba(1, 10, 15, 0.8);
}
.fact span {
  display: block;
  margin-top: 4px;
  color: #eaf4f4;
  font-size: 14px;
}
.fact i {
  display: block;
  margin-top: 7px;
  color: #a9c2c6;
  font-style: normal;
  font-size: 12.5px;
  line-height: 1.6;
}

/* 小节标题 */
.sub-h {
  margin: 34px 0 14px;
  color: #f0f8f8;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-shadow: 0 1px 3px rgba(1, 10, 15, 0.8);
}

/* 现在在放的片单。
   只出文字：编号在最左，片名居中，出处靠右。
   原先最左边是一列 54px 的影片缩略图，去掉了 —— 那张截图又大又抢眼，
   把「现在在放什么」本身盖过去了，而且每部片子还要多下一次位图。
   所以第一列收窄成只放编号的位置。 */
.film-list { display: grid; gap: 9px; }
.film-row {
  display: grid;
  grid-template-columns: 34px 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  border: 1px solid rgba(237, 246, 244, 0.15);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(9, 38, 48, 0.5), rgba(2, 16, 22, 0.3));
  text-shadow: 0 1px 3px rgba(1, 10, 15, 0.7);
}
.film-row.is-loading { display: block; color: #a9c2c6; font-size: 14px; }
.film-no {
  color: var(--amber);
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.1em;
}
.film-name { min-width: 0; }
.film-name b {
  display: block;
  color: #f4fbfb;
  font-size: 16px;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.film-name i {
  display: block;
  margin-top: 3px;
  color: #a9c2c6;
  font-style: normal;
  font-size: 12.5px;
}
.film-credit {
  color: #cfe0e1;
  font-size: 12.5px;
  white-space: nowrap;
}
.film-credit a { color: #eaf4f4; text-decoration: underline; text-underline-offset: 3px; }
.film-credit a:hover { color: var(--amber); }

/* 规格行 */
.spec-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid rgba(237, 246, 244, 0.12); }
.spec-list li {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 16px;
  padding: 13px 2px;
  border-bottom: 1px solid rgba(237, 246, 244, 0.12);
  font-size: 14.5px;
  line-height: 1.7;
  text-shadow: 0 1px 3px rgba(1, 10, 15, 0.7);
}
.spec-list b { color: #cfe0e1; font-weight: 500; }
.spec-list span { color: #eef8f8; }

/* 接口表 */
.tbl-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.api-table {
  width: 100%;
  min-width: 480px;
  border-collapse: collapse;
  font-size: 14px;
  text-shadow: 0 1px 3px rgba(1, 10, 15, 0.7);
}
.api-table th {
  padding: 0 14px 10px 0;
  border-bottom: 1px solid rgba(237, 246, 244, 0.18);
  color: #b9cfd3;
  font-size: 12.5px;
  font-weight: 500;
  text-align: left;
  white-space: nowrap;
}
.api-table td {
  padding: 11px 14px 11px 0;
  border-bottom: 1px solid rgba(237, 246, 244, 0.1);
  color: #eef8f8;
  vertical-align: top;
}
.api-table tr:last-child td { border-bottom: 0; }
.api-table code {
  color: #ffd79a;
  font-family: var(--mono);
  font-size: 13px;
  white-space: nowrap;
}
.api-note {
  margin: 14px 0 0;
  color: #b9cfd3;
  font-size: 13px;
  line-height: 1.7;
  text-shadow: 0 1px 3px rgba(1, 10, 15, 0.72);
}
.api-note a { color: #ffd79a; }

/* 资产与边界 */
.asset-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 24px;
}
.asset-col {
  padding: 22px 24px;
  border: 1px solid rgba(237, 246, 244, 0.16);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(9, 38, 48, 0.48), rgba(2, 16, 22, 0.3));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
}
.asset-col h3 {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 12px;
  color: #f4fbfb;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.asset-col .dot-own,
.asset-col .dot-third,
.asset-col .dot-does,
.asset-col .dot-not {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex: 0 0 auto;
}
.dot-own { background: #7ee0a8; box-shadow: 0 0 10px rgba(126, 224, 168, 0.6); }
.dot-third { background: #ffd79a; box-shadow: 0 0 10px rgba(255, 215, 154, 0.6); }
.dot-does { background: #7ecdff; box-shadow: 0 0 10px rgba(126, 205, 255, 0.6); }
.dot-not { background: #ff9d9d; box-shadow: 0 0 10px rgba(255, 157, 157, 0.55); }
.asset-col ul { margin: 0; padding: 0; list-style: none; }
.asset-col li {
  position: relative;
  padding: 7px 0 7px 16px;
  color: #e8f2f2;
  font-size: 14px;
  line-height: 1.7;
  text-shadow: 0 1px 3px rgba(1, 10, 15, 0.7);
}
.asset-col li::before {
  content: "";
  position: absolute;
  left: 1px;
  top: 16px;
  width: 5px;
  height: 1px;
  background: rgba(237, 246, 244, 0.5);
}
.asset-col li em {
  display: block;
  margin-top: 2px;
  color: #a9c2c6;
  font-style: normal;
  font-size: 12.5px;
}
.boundary-section .boundary-text { margin-top: 20px; }

/* 开发与维护：两行表格就够，不铺开写 */
.maintain-section .spec-table { margin-top: 22px; }
.who-link {
  color: #ffd79a;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 215, 154, 0.4);
}
.who-link:hover { color: #fff; border-color: #fff; }
.who-sep { margin: 0 7px; color: #8fa8ac; }

@media (max-width: 760px) {
  .fact-row { grid-template-columns: 1fr; }
  .asset-grid { grid-template-columns: 1fr; }
  .prose { font-size: 15.5px; }
  .film-row { grid-template-columns: 40px 1fr; gap: 12px; }
  .film-credit { grid-column: 2; }
  .spec-list li { grid-template-columns: 1fr; gap: 2px; }
  /* 手机上不让接口表撑出横向滚动条：窄一点、允许换行 */
  .api-table { min-width: 0; table-layout: fixed; }
  .api-table th:first-child,
  .api-table td:first-child { width: 46%; }
  .api-table code { white-space: normal; overflow-wrap: anywhere; }
}