/* =========================================================
   FLY-WINDOW — 当代哑光立体推拉窗 + CSS 3D 折叠帘
   ========================================================= */

@font-face {
  font-family: "ELEPHNT";
  src: url("./fonts/ELEPHNT.TTF") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: block;
}

@font-face {
  font-family: "ELEPHNTI";
  src: url("./fonts/ELEPHNTI.TTF") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: block;
}

/* PAGE 02 百叶窗章节标题专用（电脑 + 手机）；正文/编号不用 */
@font-face {
  font-family: "Arial Narrow MT";
  src: url("./fonts/Arial%20Narrow%20MT%20.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Arial Narrow MT";
  src: url("./fonts/Arial%20Narrow%20MT%20bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Arial Narrow MT";
  src: url("./fonts/Arial%20Narrow%20MT%20italic.ttf") format("truetype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Arial Narrow MT";
  src: url("./fonts/Arial%20Narrow%20MT%20bold-italic.ttf") format("truetype");
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

:root {
  /*
   * 窗框几何：全屏桌面基准 20/11/8；窄屏由 script syncWindowChromeMetrics
   * 按 scene 短边与扇宽写入。下列 clamp 为 JS 前的回退值。
   */
  --frame: clamp(10px, 1.852vmin, 20px);
  --sash-b: clamp(6px, 1.02vmin, 11px);
  --depth: clamp(4px, 0.74vmin, 8px);
  --muntin: clamp(4px, 0.46vmin, 5px);
  --handle-scale: 1;
  --handle-w: 28px;
  --handle-h: 76px;
  --handle-hit: 0px;

  /*
   * 珠光银白金属喷涂（参考银白复古消费电子外壳）
   * 浅暖银 → 冷灰中调 → 深处蓝灰，非镜面镀铬
   */
  --w0: #f4f5f1;
  --w1: #e5e5df;
  --w2: #d4d7d4;
  --w3: #c5c8c6;
  --w4: #aeb4b5;
  --w5: #9da5a7;
  --w6: #858e92;
  --pearl-hi: rgba(255, 255, 255, 0.82);
  --pearl-cool: rgba(200, 210, 220, 0.28);
  --pearl-warm: rgba(236, 232, 220, 0.22);
  --shade: rgba(55, 65, 72, 0.1);
  /* 静态低对比珠光微粒（不动画） */
  --pearl-grain:
    radial-gradient(circle at 18% 22%, rgba(255, 255, 255, 0.07) 0 0.45px, transparent 0.7px),
    radial-gradient(circle at 72% 38%, rgba(255, 255, 255, 0.05) 0 0.4px, transparent 0.65px),
    radial-gradient(circle at 44% 78%, rgba(180, 190, 200, 0.06) 0 0.4px, transparent 0.65px),
    radial-gradient(circle at 88% 12%, rgba(255, 255, 255, 0.045) 0 0.35px, transparent 0.6px);
  --fold-angle: 42deg;
  --fold-h: 20px;
  --fold-depth: 6px;

  /* 正文：自然排版（不随叶片高度） */
  --article-size: 18px;
  --article-lh: 1.4;
  --article-weight: 400;
  --article-tracking: normal;
  --article-word-spacing: normal;
  --meta-size: 18px;
  --toc-size: 19px;
  --title-size: 41px;
  /*
   * PAGE 02 拍苍蝇小人（相对内框组 .swatter-group）
   * 右下角：距右窗框与原先距左窗框相同（-25px）；垂直设计坐标 --title-gif-top
   * 与底栏上沿的净空由 JS 按 .stb-bar 实测高度补偿（勿写死 viewport bottom）
   */
  --title-gif-right: -25px;
  --title-gif-top: 744px;
  /* 人物 GIF 单独 +20%（109 → 130.8） */
  --title-gif-width: 130.8px;
  /* GIF 底边与底栏顶边之间的设计净空（仅矮窗 / 底栏变高时上移补偿） */
  --title-gif-bar-gap: 8px;
  /* 动态定位结果之上的固定视觉下移（不改 JS top 计算） */
  --title-gif-nudge-y: 9px;
  --body-size: 18px;
  /* 与当前百叶阅读字材质一致：中性灰 + 8px 白描边 */
  --ui-ink: #ffffff;
  --ui-stroke: #ffffff;
  --ui-stroke-ratio: 0.4444;
  --ui-stroke-w: 8px;
  --stb-bar-h: 46px;
  --stb-bottom: 8px;
  --stb-clearance: calc(var(--stb-bar-h) + var(--stb-bottom) + 8px);
  /* PAGE 02 文章图统一乳白遮罩（仅叠在局部照片上，不盖文字） */
  --article-image-white-overlay: 0.72;
  --c1: #027aff;
  --c2: #01ff0d;
  --c3: #8401f3;
  --c4: #d7ff12;
  --c5: #027aff;
  /*
   * 19 组独立纵向跳色：干净、鲜明、色相各异
   * 避免灰浊做旧 / 梦幻糖果 / 夜店霓虹
   */
  --chapter-panel-fallback: #ff8ae8;
  --chapter-panel-gradient: linear-gradient(
    to bottom,
    #ff5ec8 0%,
    #d16bff 26%,
    #7dffd2 58%,
    #fff27a 100%
  );

  /* 01 参考图：亮紫 → 青绿 → 亮黄（唯一保留该结构） */
  --chapter-gradient-01: linear-gradient(
    to bottom,
    #c026e8 0%,
    #b230ea 12%,
    #8a55d8 28%,
    #4ec9b8 48%,
    #7ee08a 68%,
    #f0e85a 88%,
    #f9ef7c 100%
  );

  /* 02 橙红 → 明黄 → 青绿 */
  --chapter-gradient-02: linear-gradient(
    to bottom,
    #e85a28 0%,
    #f07830 22%,
    #f0c040 48%,
    #e8e050 68%,
    #40c898 100%
  );

  /* 03 蓝 → 黄 → 珊瑚红 */
  --chapter-gradient-03: linear-gradient(
    to bottom,
    #2f7fd8 0%,
    #3a98e0 24%,
    #e8c848 52%,
    #f0a858 72%,
    #e85858 100%
  );

  /* 04 黄绿 → 橙 → 玫红 */
  --chapter-gradient-04: linear-gradient(
    to bottom,
    #88d040 0%,
    #c8d848 26%,
    #f0a838 50%,
    #f07050 74%,
    #e84888 100%
  );

  /* 05 红 → 紫 → 蓝 */
  --chapter-gradient-05: linear-gradient(
    to bottom,
    #e03848 0%,
    #e05078 24%,
    #a848c8 50%,
    #6858d8 74%,
    #3a88e0 100%
  );

  /* 06 青绿 → 黄 → 橘红 */
  --chapter-gradient-06: linear-gradient(
    to bottom,
    #28b898 0%,
    #48c878 28%,
    #d8d848 54%,
    #f0a840 76%,
    #e85838 100%
  );

  /* 07 玫红 → 橙 → 浅蓝 */
  --chapter-gradient-07: linear-gradient(
    to bottom,
    #e04088 0%,
    #e86868 26%,
    #f09848 50%,
    #78c0d8 76%,
    #48a0e0 100%
  );

  /* 08 蓝 → 绿 → 橘黄 */
  --chapter-gradient-08: linear-gradient(
    to bottom,
    #3070d8 0%,
    #2898c8 26%,
    #38c878 52%,
    #c8d848 76%,
    #f0a838 100%
  );

  /* 09 紫 → 橙 → 黄绿 */
  --chapter-gradient-09: linear-gradient(
    to bottom,
    #8838d0 0%,
    #b048c0 24%,
    #e87858 50%,
    #e8c048 74%,
    #98d848 100%
  );

  /* 10 黄 → 青绿 → 蓝紫 */
  --chapter-gradient-10: linear-gradient(
    to bottom,
    #e8d038 0%,
    #a8d848 26%,
    #40c8a8 52%,
    #4898d8 76%,
    #7058d0 100%
  );

  /* 11 珊瑚 → 黄 → 青蓝 */
  --chapter-gradient-11: linear-gradient(
    to bottom,
    #e85848 0%,
    #f08848 24%,
    #f0c848 50%,
    #58c8b0 76%,
    #3898d0 100%
  );

  /* 12 绿 → 黄 → 品红 */
  --chapter-gradient-12: linear-gradient(
    to bottom,
    #28b868 0%,
    #68c848 28%,
    #e0d848 54%,
    #e88878 76%,
    #e04898 100%
  );

  /* 13 深蓝 → 青绿 → 金黄 */
  --chapter-gradient-13: linear-gradient(
    to bottom,
    #2860c8 0%,
    #2890c8 26%,
    #30c0a0 52%,
    #c8d050 76%,
    #e8c038 100%
  );

  /* 14 桃红 → 黄绿 → 天蓝 */
  --chapter-gradient-14: linear-gradient(
    to bottom,
    #e04878 0%,
    #e87868 24%,
    #d0c848 50%,
    #68c888 74%,
    #40a0e0 100%
  );

  /* 15 橙 → 紫 → 青绿 */
  --chapter-gradient-15: linear-gradient(
    to bottom,
    #e87028 0%,
    #e88848 22%,
    #b858c0 50%,
    #58b8c8 74%,
    #38c890 100%
  );

  /* 16 黄绿 → 蓝 → 玫红 */
  --chapter-gradient-16: linear-gradient(
    to bottom,
    #a8d030 0%,
    #68c878 28%,
    #3898d0 54%,
    #8858d0 76%,
    #e04898 100%
  );

  /* 17 青蓝 → 金黄 → 红橙 */
  --chapter-gradient-17: linear-gradient(
    to bottom,
    #2898c0 0%,
    #40b8b0 24%,
    #d0c848 52%,
    #e88840 76%,
    #e05040 100%
  );

  /* 18 品红 → 蓝 → 黄绿 */
  --chapter-gradient-18: linear-gradient(
    to bottom,
    #d03888 0%,
    #a848c0 26%,
    #4868d8 52%,
    #38b8a8 76%,
    #b8d848 100%
  );

  /* 19 金黄 → 玫红 → 青绿 */
  --chapter-gradient-19: linear-gradient(
    to bottom,
    #e8c028 0%,
    #e88840 26%,
    #e05088 52%,
    #58b8c0 76%,
    #40c878 100%
  );
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  overscroll-behavior: none;
  background: #c8cacd;
  cursor: default;
  user-select: none;
  -webkit-user-select: none;
  font-family: Arial, sans-serif;
}

.scene {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

/* ========== 背景层 ========== */
.view-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: #1a4a9a;
}

/* 昼夜循环：四层交叉淡入淡出（定位/裁切一致） */
.day-cycle {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.day-layer {
  position: absolute;
  inset: 0;
  background-color: transparent;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  opacity: 0;
  will-change: opacity;
  pointer-events: none;
}

.day-layer[data-key="morning"] {
  background-image: url("assets/morning-bg.png");
}

.day-layer[data-key="noon"] {
  background-image: url("assets/outside-bg.png");
  opacity: 1; /* 启动默认正午，待 JS 接管 */
}

.day-layer[data-key="sunset"] {
  background-image: url("assets/sunset-bg.png");
}

.day-layer[data-key="night"] {
  background-image: url("assets/night-bg.png");
}

/* INSIDE：开口处可见清晰室外图；玻璃内另做模糊层 */
.scene.inside .view-bg {
  background-color: #1a4a9a;
}

.scene.inside .env-base,
.scene.inside .env-depth,
.scene.inside .env-veils,
.scene.inside .env-air {
  display: none;
}

.env-base,
.env-depth,
.env-veils,
.env-air {
  position: absolute;
  pointer-events: none;
}

.env-base {
  inset: -6%;
  background: linear-gradient(
    165deg,
    #eef9fc 0%,
    #d2eef6 30%,
    #b8e0c8 60%,
    #c8ebf2 100%
  );
}

.env-depth {
  inset: -16%;
  background: linear-gradient(
    90deg,
    rgba(58, 159, 217, 0.22) 0%,
    rgba(255, 255, 255, 0.45) 25%,
    rgba(61, 191, 80, 0.15) 50%,
    rgba(255, 255, 255, 0.4) 75%,
    rgba(42, 127, 184, 0.18) 100%
  );
  filter: blur(36px);
  opacity: 0.8;
}

.env-veils {
  inset: -20%;
  background: linear-gradient(
    100deg,
    transparent 20%,
    rgba(126, 217, 87, 0.12) 40%,
    transparent 60%,
    rgba(126, 200, 240, 0.15) 80%,
    transparent 100%
  );
  filter: blur(40px);
  opacity: 0.65;
}

.env-air {
  inset: -4%;
  background: linear-gradient(
    200deg,
    rgba(255, 255, 255, 0.3) 0%,
    rgba(180, 220, 200, 0.1) 100%
  );
  filter: blur(12px);
  opacity: 0.7;
}

/* ---------- OUTSIDE：全日循环背景（无玻璃滤镜） ---------- */
.scene.outside {
  background: #1254d8;
}

.scene.outside .view-bg {
  inset: 0;
  z-index: 0;
  background-color: #1254d8;
  filter: none;
}

/* 关闭旧渐变/模糊装饰层，避免遮挡 PNG */
.scene.outside .env-base,
.scene.outside .env-depth,
.scene.outside .env-veils,
.scene.outside .env-air {
  display: none;
  background: none;
  filter: none;
  opacity: 0;
  pointer-events: none;
}

/* ========== 窗户：明亮简洁当代白窗（不改折叠帘） ========== */
.window-assembly {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.frame-shell {
  position: absolute;
  inset: 0;
  z-index: 20;
  pointer-events: none;
}

/*
 * 外框阶梯截面（不增加 --frame 宽度）：
 * 外壳 → 浅冷灰凹槽 → 微凸压条 → 内侧开口
 */
.xf.face-front {
  position: absolute;
  inset: 0;
  padding: var(--frame);
  background:
    var(--pearl-grain),
    linear-gradient(
      115deg,
      rgba(255, 255, 255, 0.36) 0%,
      transparent 35%,
      rgba(70, 80, 90, 0.08) 72%,
      rgba(255, 255, 255, 0.18) 100%
    ),
    linear-gradient(
      180deg,
      var(--w0) 0%,
      var(--w1) 28%,
      var(--w3) 52%,
      #eef0eb 68%,
      var(--w5) 100%
    );
  background-size:
    11px 11px,
    13px 13px,
    9px 9px,
    15px 15px,
    auto,
    auto;
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask-composite: exclude;
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.9),
    inset 0 2px 0 rgba(255, 255, 255, 0.28),
    inset 0 -2px 4px rgba(60, 70, 75, 0.16),
    inset 0 -1px 0 rgba(90, 98, 105, 0.08),
    inset 1px 0 2px rgba(255, 255, 255, 0.52),
    inset 2px 0 0 rgba(255, 255, 255, 0.14),
    inset -1px 0 0 rgba(80, 88, 96, 0.07),
    inset -2px 0 2px rgba(70, 78, 86, 0.05),
    0 0 0 1px rgba(55, 62, 70, 0.055);
}

/* 窄凹槽：距外缘约 3px，宽约 2px */
.xf.face-front::before {
  content: "";
  position: absolute;
  inset: max(2px, calc(var(--frame) * 0.15));
  padding: max(2px, calc(var(--frame) * 0.75));
  box-sizing: border-box;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(140, 150, 158, 0.4) 0%, rgba(175, 182, 188, 0.25) 50%, rgba(150, 160, 168, 0.32) 100%);
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask-composite: exclude;
  box-shadow:
    inset 0 1px 1px rgba(45, 55, 62, 0.16),
    inset 0 -1px 0 rgba(255, 255, 255, 0.32),
    inset 1px 0 1px rgba(45, 55, 62, 0.09),
    inset -1px 0 0 rgba(255, 255, 255, 0.18);
}

/* 内侧微凸压条：凹槽与玻璃开口之间 */
.xf.face-front::after {
  content: "";
  position: absolute;
  inset: max(3px, calc(var(--frame) * 0.25));
  padding: max(2px, calc(var(--frame) * 0.6));
  box-sizing: border-box;
  pointer-events: none;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.5) 0%, transparent 42%),
    linear-gradient(180deg, var(--w0) 0%, var(--w1) 45%, var(--w2) 100%);
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask-composite: exclude;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.78),
    inset 0 -1px 0 rgba(70, 78, 86, 0.1),
    inset 1px 0 0 rgba(255, 255, 255, 0.42),
    inset -1px 0 0 rgba(70, 78, 86, 0.07),
    0 0 0 1px rgba(55, 65, 72, 0.05);
}

.xf.face-side-r {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: var(--depth);
  background:
    linear-gradient(90deg, var(--w2) 0%, var(--w3) 28%, var(--w4) 62%, var(--w5) 100%);
  box-shadow:
    inset 1px 0 0 rgba(255, 255, 255, 0.5),
    inset 2px 0 0 rgba(255, 255, 255, 0.12),
    inset -1px 0 0 rgba(60, 68, 82, 0.1);
}

.xf.face-side-b {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: var(--depth);
  background:
    linear-gradient(180deg, var(--w2) 0%, var(--w3) 30%, var(--w4) 65%, var(--w5) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.45),
    inset 0 2px 0 rgba(255, 255, 255, 0.1),
    inset 0 -1px 0 rgba(60, 68, 82, 0.09);
}

.xf.face-inner {
  position: absolute;
  inset: var(--frame);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    inset 0 4px 10px rgba(55, 65, 72, 0.14),
    inset 0 -3px 6px rgba(0, 0, 0, 0.04),
    inset 3px 0 7px rgba(0, 0, 0, 0.035),
    inset -3px 0 6px rgba(0, 0, 0, 0.03),
    inset 0 0 0 1px rgba(180, 188, 196, 0.5);
  pointer-events: none;
}

/* 开口周缘接触阴影 + 压条内侧暗边 */
.xf.face-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.28),
    inset 0 2px 4px rgba(48, 56, 72, 0.08),
    inset 0 0 0 2px rgba(160, 168, 176, 0.18);
}

/* 外框四角微型固定件 */
.frame-hardware {
  position: absolute;
  inset: 0;
  z-index: 22;
  pointer-events: none;
}

.fh-stud {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 28%, #ffffff 0%, var(--w1) 42%, var(--w4) 78%, var(--w5) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.85),
    inset 0 -1px 1px rgba(60, 70, 78, 0.28),
    0 0 0 1px rgba(110, 118, 126, 0.28),
    0 1px 1px rgba(55, 65, 72, 0.12);
}

.fh-tl { top: 7px; left: 7px; }
.fh-tr { top: 7px; right: 7px; }
.fh-bl { bottom: 7px; left: 7px; }
.fh-br { bottom: 7px; right: 7px; }

/* 双轨：后轨凹槽 + 前轨承托（不改轨迹高度） */
.track {
  position: absolute;
  z-index: 21;
  pointer-events: none;
  overflow: hidden;
}

.track-rear {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 45%;
  pointer-events: none;
  background:
    linear-gradient(180deg, var(--w5) 0%, var(--w4) 40%, var(--w3) 100%);
  box-shadow:
    inset 0 2px 2px rgba(40, 48, 62, 0.16),
    inset 0 -1px 0 rgba(255, 255, 255, 0.28),
    inset 1px 0 0 rgba(255, 255, 255, 0.12),
    inset -1px 0 0 rgba(60, 68, 82, 0.06);
}

.track-front {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  top: 38%;
  background:
    linear-gradient(180deg, var(--w3) 0%, var(--w2) 35%, var(--w1) 70%, var(--w2) 100%);
  border-radius: 0;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.65),
    inset 0 2px 2px rgba(40, 48, 62, 0.1),
    inset 0 -1px 0 rgba(255, 255, 255, 0.4),
    inset 1px 0 0 rgba(255, 255, 255, 0.22),
    inset -1px 0 0 rgba(60, 68, 82, 0.05);
}

.track-front::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.55), transparent);
}

.track-front::after {
  content: "";
  position: absolute;
  left: 2%;
  right: 2%;
  bottom: 1px;
  height: 1px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(70, 78, 92, 0.12), transparent);
}

.track-top {
  top: max(2px, calc(var(--frame) * 0.75));
  left: var(--frame);
  right: var(--frame);
  height: max(3px, calc(var(--frame) * 0.25));
}

.track-bot {
  bottom: max(2px, calc(var(--frame) * 0.75));
  left: var(--frame);
  right: var(--frame);
  height: max(4px, calc(var(--frame) * 0.3));
}

.track-bot .track-rear {
  background: linear-gradient(180deg, var(--w5) 0%, var(--w4) 100%);
}

.track-bot .track-front {
  background:
    linear-gradient(180deg, var(--w4) 0%, var(--w3) 45%, var(--w2) 100%);
}

/* ========== 窗扇 ========== */
.sash {
  position: absolute;
  top: var(--frame);
  bottom: var(--frame);
  z-index: 25;
  pointer-events: none;
}

.sash-left {
  left: var(--frame);
  z-index: 24;
  top: calc(var(--frame) + 2px);
  bottom: calc(var(--frame) + 3px);
}

.sash-right {
  z-index: 26;
  filter: drop-shadow(-2px 1px 4px rgba(48, 56, 72, 0.07));
}

.sash-extrude {
  position: absolute;
  inset: 0;
}

.sf.face-f {
  position: absolute;
  inset: 0;
  background:
    var(--pearl-grain),
    linear-gradient(125deg, rgba(255, 255, 255, 0.32) 0%, transparent 36%, var(--pearl-warm) 70%),
    linear-gradient(165deg, var(--w0) 0%, var(--w1) 40%, var(--w2) 72%, var(--w3) 100%);
  background-size: 11px 11px, 13px 13px, 9px 9px, 15px 15px, auto, auto;
  border-style: solid;
  border-width: var(--sash-b);
  border-color: var(--w2);
  border-top-color: var(--w0);
  border-left-color: var(--w1);
  border-right-color: var(--w4);
  border-bottom-color: var(--w4);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.8),
    inset 0 -2px 4px rgba(55, 65, 72, 0.08),
    inset 1px 0 2px rgba(255, 255, 255, 0.42),
    inset 2px 0 0 rgba(255, 255, 255, 0.12),
    inset -1px 0 0 rgba(70, 80, 88, 0.08),
    inset -2px 0 1px rgba(70, 80, 88, 0.05);
}

.sash-left .sf.face-f {
  background:
    var(--pearl-grain),
    linear-gradient(140deg, rgba(255, 255, 255, 0.22) 0%, transparent 40%),
    linear-gradient(165deg, #f0f1ed 0%, var(--w2) 100%);
  background-size: 11px 11px, 13px 13px, 9px 9px, 15px 15px, auto, auto;
  border-color: var(--w3);
  border-top-color: var(--w1);
  border-right-color: var(--w5);
  border-right-width: calc(var(--sash-b) - 2px);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.7),
    inset 0 -2px 4px rgba(55, 65, 72, 0.06),
    inset 1px 0 0 rgba(255, 255, 255, 0.28),
    inset -1px 0 0 rgba(90, 100, 108, 0.12),
    inset -2px 0 2px rgba(60, 70, 78, 0.07);
}

.sf.face-s {
  position: absolute;
  top: 0;
  right: calc(var(--depth) * -0.75);
  bottom: 0;
  width: calc(var(--depth) * 0.75);
  background: linear-gradient(90deg, var(--w2), var(--w4) 55%, var(--w5));
  box-shadow:
    inset 1px 0 0 rgba(255, 255, 255, 0.4),
    inset -1px 0 0 rgba(60, 68, 82, 0.08);
}

.sash-left .sf.face-s {
  right: calc(var(--depth) * -0.5);
  width: calc(var(--depth) * 0.5);
  background: linear-gradient(90deg, var(--w3), var(--w5));
}

.sf.face-i {
  position: absolute;
  inset: var(--sash-b);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    inset 0 2px 5px var(--shade),
    inset 0 0 0 1px rgba(255, 255, 255, 0.28),
    inset 0 0 0 2px rgba(198, 202, 212, 0.38),
    inset 0 0 0 3px rgba(255, 255, 255, 0.12);
  pointer-events: none;
  z-index: 2;
}

/*
 * 中央竖框截面（宽度仍 11px）：
 * 左凸亮边（前轨）→ 珠光主体 → 右冷灰凹缝 → 微凸压条靠玻璃
 */
.meeting-stile {
  position: absolute;
  top: var(--sash-b);
  bottom: var(--sash-b);
  left: 0;
  width: var(--sash-b);
  z-index: 6;
  pointer-events: none;
}

.ms-seam {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: max(1px, calc(var(--muntin) * 0.65));
  pointer-events: none;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.75) 0%, rgba(255, 255, 255, 0.2) 55%, transparent 100%);
  box-shadow:
    1px 0 0 rgba(255, 255, 255, 0.25),
    2px 0 2px rgba(48, 56, 72, 0.04);
}

.ms-f {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      var(--w0) 0%,
      var(--w1) 14%,
      var(--w0) 38%,
      var(--w1) 52%,
      var(--w2) 68%,
      var(--w4) 86%,
      var(--w3) 100%
    );
  box-shadow:
    -1px 0 2px rgba(48, 56, 72, 0.07),
    1px 0 2px rgba(48, 56, 72, 0.05),
    inset 1px 0 0 var(--pearl-hi),
    inset 2px 0 0 rgba(255, 255, 255, 0.22),
    inset -3px 0 2px rgba(60, 68, 82, 0.1),
    inset -1px 0 0 rgba(70, 78, 92, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.55),
    inset 0 -1px 0 rgba(70, 78, 92, 0.05);
}

.ms-bead {
  position: absolute;
  top: 4%;
  bottom: 4%;
  right: 1px;
  width: 2px;
  pointer-events: none;
  border-radius: 0.5px;
  background: linear-gradient(90deg, var(--w0) 0%, var(--w2) 100%);
  box-shadow:
    inset 1px 0 0 rgba(255, 255, 255, 0.7),
    inset -1px 0 0 rgba(70, 78, 92, 0.1),
    1px 0 1px rgba(48, 56, 72, 0.06);
}

.ms-s {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 100%;
  width: 5px;
  background: linear-gradient(90deg, var(--w3) 0%, var(--w4) 45%, var(--w5) 100%);
  box-shadow:
    inset 1px 0 0 rgba(255, 255, 255, 0.35),
    inset 2px 0 0 rgba(255, 255, 255, 0.08),
    inset -1px 0 0 rgba(60, 68, 82, 0.1);
}

/* 玻璃：CSS 仅作 WebGL 不可用时的后备；启用 Optics 后彻底关闭 */
.glass-well {
  position: absolute;
  inset: var(--sash-b);
  z-index: 1;
  overflow: hidden;
  background: #9eb8c9;
  box-shadow: inset 0 1px 2px rgba(40, 55, 70, 0.04);
}

.glass-optics {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
  z-index: 1;
}

.glass-scene {
  position: absolute;
  inset: -12px;
  /* 后备：极轻模糊，保留色彩，避免梦幻滤镜 */
  filter: blur(2.5px) saturate(1.02) brightness(1.01);
  transform: scale(1.01);
  pointer-events: none;
  z-index: 0;
}

.glass-scene .day-cycle {
  inset: 0;
}

.sash-left .glass-scene {
  filter: blur(2.5px) saturate(1.02) brightness(1.01);
}

.glass-frost {
  position: absolute;
  inset: 0;
  /* 后备：几乎无白蒙层，仅极弱表面提示 */
  background: rgba(255, 255, 255, 0.04);
  pointer-events: none;
  z-index: 2;
}

.sash-right .glass-frost {
  background: rgba(255, 255, 255, 0.03);
}

.glass-edge {
  position: absolute;
  inset: 0;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    inset 0 -1px 0 rgba(70, 85, 100, 0.05),
    inset 1px 0 0 rgba(255, 255, 255, 0.12),
    inset -1px 0 0 rgba(70, 85, 100, 0.04);
  pointer-events: none;
  z-index: 3;
}

/* Optics 启用：关闭 scene / frost，背景由 Shader 透射 */
.glass-well.has-optics {
  background: transparent;
}

.glass-well.has-optics .glass-scene,
.glass-well.has-optics .glass-frost {
  display: none !important;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.glass-well.has-optics .glass-edge {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    inset 0 -1px 0 rgba(70, 85, 100, 0.035),
    inset 1px 0 0 rgba(255, 255, 255, 0.06),
    inset -1px 0 0 rgba(70, 85, 100, 0.03);
}

/* 极细分格线（珠光窄条，不挡交互） */
.glass-muntin {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
}

.glass-muntin .gm-v,
.glass-muntin .gm-h {
  position: absolute;
  background:
    linear-gradient(90deg, var(--w3), var(--w0) 45%, var(--w2) 70%, var(--w4));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    inset 0 -1px 0 rgba(70, 80, 88, 0.12),
    0 0 0 1px rgba(120, 128, 136, 0.12);
}

.glass-muntin .gm-v {
  top: 0;
  bottom: 0;
  left: 50%;
  width: var(--muntin);
  margin-left: calc(var(--muntin) / -2);
  background:
    linear-gradient(90deg, var(--w4), var(--w0) 40%, var(--w1) 60%, var(--w4));
}

.glass-muntin .gm-h {
  left: 0;
  right: 0;
  top: 50%;
  height: var(--muntin);
  margin-top: calc(var(--muntin) / -2);
  background:
    linear-gradient(180deg, var(--w4), var(--w0) 40%, var(--w1) 60%, var(--w4));
}

/*
 * 嵌入式把手：贴右扇左缘（meeting stile），随扇移动；
 * 28:76 等比缩放；::before 扩大点击区，不挪动视觉锚点。
 */
.drag-handle {
  position: absolute;
  top: 36%;
  left: 0;
  width: var(--handle-w);
  height: var(--handle-h);
  margin-top: calc(var(--handle-h) / -2);
  padding: 0;
  box-sizing: border-box;
  z-index: 60;
  cursor: ew-resize;
  pointer-events: auto;
}

/* 扩大命中区，不改变 left:0 贴边位置 */
.drag-handle::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: max(100%, calc(100% + 2 * var(--handle-hit)), 44px);
  height: max(100%, calc(100% + 2 * var(--handle-hit)), 44px);
  transform: translate(-50%, -50%);
  pointer-events: auto;
}

.pull-recess {
  position: absolute;
  z-index: 1;
  left: calc(3px * var(--handle-scale));
  top: calc(8px * var(--handle-scale));
  width: calc(10px * var(--handle-scale));
  height: calc(58px * var(--handle-scale));
  border-radius: max(1px, calc(2px * var(--handle-scale)));
  background:
    linear-gradient(
      145deg,
      #ffffff 0%,
      #f7f8fa 28%,
      #e8eaee 58%,
      #f2f3f5 82%,
      #ffffff 100%
    );
  box-shadow:
    inset 3px 0 4px rgba(70, 80, 92, 0.22),
    inset 1px 0 1px rgba(70, 80, 92, 0.12),
    inset -1px 0 0 rgba(255, 255, 255, 0.95),
    inset -2px 0 0 rgba(255, 255, 255, 0.35),
    inset 0 2px 3px rgba(70, 80, 92, 0.14),
    inset 0 -1px 0 rgba(255, 255, 255, 0.85),
    0 0 0 1px rgba(120, 128, 138, 0.28);
}

.pull-recess::before {
  content: "";
  position: absolute;
  inset: 1px 1px 1px 2px;
  pointer-events: none;
  border-radius: 1px;
  box-shadow:
    inset 1px 0 1px rgba(90, 98, 110, 0.1),
    inset -1px 0 0 rgba(255, 255, 255, 0.65);
}

.pull-lip {
  position: absolute;
  z-index: 2;
  left: calc(7px * var(--handle-scale));
  top: calc(15px * var(--handle-scale));
  width: calc(4px * var(--handle-scale));
  height: calc(44px * var(--handle-scale));
  border-radius: max(1px, calc(1px * var(--handle-scale)));
  background:
    linear-gradient(
      90deg,
      #e4e6ea 0%,
      #fafbfc 32%,
      #ffffff 55%,
      #eef0f3 78%,
      #d8dbe0 100%
    );
  box-shadow:
    1px 0 2px rgba(70, 80, 92, 0.12),
    -1px 0 1px rgba(70, 80, 92, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 1),
    inset 0 -1px 0 rgba(120, 128, 138, 0.18),
    inset 1px 0 0 rgba(255, 255, 255, 0.9),
    inset -1px 0 0 rgba(140, 148, 158, 0.2),
    0 0 0 1px rgba(150, 156, 166, 0.22);
}

.pull-lip::after {
  content: "";
  position: absolute;
  top: calc(6px * var(--handle-scale));
  bottom: calc(6px * var(--handle-scale));
  left: max(0.5px, calc(1px * var(--handle-scale)));
  width: max(0.5px, calc(1px * var(--handle-scale)));
  pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.95), transparent);
}

/* ========== DOM 百叶窗：独立叶片 + 内嵌文字 ========== */
.blinds {
  --slat-h: 20px;
  --slat-gap: 3px;
  /* 阅读文字：中性灰 + 8px 白描边 */
  --slat-ink: #ffffff;
  --slat-ink-strong: #ffffff;
  --slat-ink-meta: #ffffff;
  --slat-stroke: #ffffff;
  --slat-stroke-w: 8px;
  --slat-font: Arial, sans-serif;
  position: absolute;
  left: var(--frame);
  right: var(--frame);
  top: var(--frame);
  bottom: var(--frame);
  z-index: 30;
  pointer-events: none;
  overflow: hidden;
  /* perspective 建在窗内裁切容器上，避免中间层 overflow 压平 3D */
  perspective: 1200px;
  perspective-origin: 50% 18%;
}

.blinds-headrail {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 12px;
  z-index: 6;
}

.hr-f {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--w0), var(--w2));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 2px 4px rgba(0, 0, 0, 0.08);
}

.hr-s {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 5px;
  background: linear-gradient(180deg, var(--w4), var(--w6));
}

.blinds-panel {
  position: absolute;
  left: 0;
  right: 0;
  top: 12px;
  height: 0;
  /* 过渡扇形时左端会下探，不可裁切成短叶片 */
  overflow: visible;
  z-index: 4;
  pointer-events: none;
}

/* 收起目录：中间层不裁切，否则会压平子级 rotateX / perspective */
.blinds-panel.is-fully-down {
  overflow: visible;
  transform-style: preserve-3d;
}

.blinds-panel.is-fully-down.is-chapter-overflow,
.blinds-panel.is-fully-down.has-chapter-expanded {
  overflow-x: hidden;
  overflow-y: auto;
  /* 仍保留 3D，使未展开白叶可继续倾斜；展开叶自身 transform-style: flat */
  transform-style: preserve-3d;
}

/* Lift Cords：在叶片下方（z-index 更低），仅缝隙可见，贯穿串联 */
.blinds-guide-cords {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.blinds-guide-path {
  stroke: rgba(120, 130, 148, 0.88);
  stroke-width: 1.25;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.blinds-guide-hi {
  stroke: rgba(255, 255, 255, 0.5);
  stroke-width: 0.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.blinds-slats {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  width: 100%;
  pointer-events: auto;
  cursor: ns-resize;
  touch-action: none;
  z-index: 3;
  overflow: visible;
  transform-style: preserve-3d;
}

/* 完全放下后：轻点选章，拖动仍开缝 */
.blinds-panel.is-fully-down .blinds-slats {
  cursor: pointer;
}

/*
 * 外层 .blind-slat：等长全宽 + 端点驱动的 rotateZ（原点在右端）
 * 内层 .blind-slat-face：材质 / 折面光影
 * 局部拖拽：左右 wing 分段旋转成 V 折角（非整叶 translateY）
 */
.blind-slat {
  position: absolute;
  left: 0;
  width: 100%;
  height: var(--slat-h);
  box-sizing: border-box;
  /* 默认绕上缘 rotateX；扇形下降时由 JS 改为 100% 50% */
  transform-origin: 50% 0%;
  transform-style: preserve-3d;
  will-change: transform, height, top;
  overflow: visible;
  transition: height 220ms ease, top 220ms ease;
  --slat-tilt: 0;
}

/* 手风琴展开时禁用 top/height 过渡，避免邻叶高光在动画中穿过正文 */
.blinds-panel.has-chapter-expanded .blind-slat {
  transition: none;
}

.blind-slat.is-chapter-expanded {
  overflow: hidden;
  z-index: 300 !important;
  isolation: isolate;
  /* 展开彩色块：取消 3D 倾斜，正面阅读 */
  transform-style: flat;
  --slat-tilt: 0 !important;
}

/* 展开块禁止继承收起叶的开缝翼，避免三角形缺口 */
.blind-slat.is-chapter-expanded > .blind-slat-deform {
  display: none !important;
}

.blind-slat.is-chapter-expanded.is-deforming > .blind-slat-face-flat {
  visibility: visible !important;
}

.blind-slat.is-chapter-expanded .blind-slat-wing {
  height: 100%;
}

/* 展开块整体轻弹：不改高度，仅临时 translateY */
.blind-slat.is-chapter-expanded.is-chapter-bouncing {
  will-change: transform;
}

/* 展开彩色块：白字、无描边（勿继承目录叶 emboss stroke） */
.blind-slat.is-chapter-expanded .blind-slat-text,
.blind-slat.is-chapter-expanded .slat-cell,
.blind-slat.is-chapter-expanded .slat-cell-right,
.blind-slat.is-chapter-expanded .slat-chapter-label,
.blind-slat.is-chapter-expanded .slat-chapter-num,
.blind-slat.is-chapter-expanded .slat-chapter-title,
.blind-slat.is-chapter-expanded .slat-chapter-body,
.blind-slat.is-chapter-expanded .slat-chapter-body * {
  -webkit-text-stroke: 0 !important;
  text-shadow: none !important;
  paint-order: normal;
}

/* 遗留展开正文开缝镜像：始终禁用 */
.blind-slat.is-chapter-expanded .slat-text-deform-mirror,
.slat-text-deform-mirror {
  display: none !important;
}

/* 旧独立镜像：禁用 */
.slat-nav-deform-mirror {
  display: none !important;
}

/*
 * 收起目录标题附着在翼面内部：继承 wing 的 rotate，无白描边。
 * 窗口裁切左右段落；内层完整标题对齐后露出对应半侧。
 */
.slat-wing-nav-text {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 2;
  box-sizing: border-box;
  overflow: hidden;
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
  font-family: Arial, sans-serif;
  font-size: clamp(16px, 1.15vw, 19px);
  font-weight: 500;
  letter-spacing: 0.03em;
  line-height: 1.15;
  color: #ffffff;
  -webkit-text-fill-color: #ffffff;
  -webkit-text-stroke: 0 !important;
  text-shadow: none !important;
  text-transform: none;
}

.slat-wing-nav-inner {
  position: absolute;
  top: 0;
  bottom: 0;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 16px 0 18px;
  pointer-events: none;
}

.slat-wing-nav-text .slat-cell-right {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  width: 100%;
  max-width: none;
  height: auto;
  min-height: 0;
  padding: 0;
  overflow: visible;
  white-space: nowrap;
  background: none;
  -webkit-text-stroke: 0 !important;
  text-shadow: none !important;
  pointer-events: none;
}

.blind-slat.is-chapter-expanded .slat-wing-nav-text {
  display: none !important;
}

.blind-slat-text.is-nav-deforming {
  visibility: hidden;
  pointer-events: none;
}

.blind-slat-text.is-text-deforming {
  visibility: visible !important;
  pointer-events: auto;
}

/* 展开时其他条目保持原材质；裁切其边缘高光，防止叠入展开正文 */
.blinds-panel.is-chapter-accordion .blind-slat {
  opacity: 1;
}

.blinds-panel.has-chapter-expanded .blind-slat:not(.is-chapter-expanded) {
  /* 保持 visible，避免压平 / 裁切收起叶的 rotateX */
  overflow: visible;
  z-index: 10 !important;
}

/* 收起叶开缝时允许标题镜像随翼下探，不被邻叶 overflow 裁掉 */
.blind-slat.is-deforming:not(.is-chapter-expanded) {
  overflow: visible !important;
}

.blinds-panel.is-chapter-overflow {
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(120, 132, 148, 0.45) transparent;
}

.blinds-panel.is-chapter-overflow::-webkit-scrollbar {
  width: 6px;
}

.blinds-panel.is-chapter-overflow::-webkit-scrollbar-thumb {
  background: rgba(120, 132, 148, 0.4);
  border-radius: 3px;
}

.blinds-panel.is-chapter-overflow .blinds-slats {
  position: relative;
  bottom: auto;
}

.blind-slat-face-flat {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.blind-slat-deform {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: none;
  overflow: visible;
  pointer-events: none;
}

.blind-slat.is-deforming > .blind-slat-face-flat {
  visibility: hidden;
}

.blind-slat.is-deforming > .blind-slat-deform {
  display: block;
}

.blind-slat-wing {
  position: absolute;
  top: 0;
  height: var(--slat-h);
  overflow: hidden;
  will-change: transform;
}

.blind-slat-wing .blind-slat-face {
  width: 100%;
  height: 100%;
}

.blind-slat-face {
  position: relative;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  overflow: hidden;
  border-radius: 1.5px;
  /* 白灰半透明片材：略增乳白 alpha，仍可轻透后方色 */
  background-color: transparent;
  background-image:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.92) 0%,
      rgba(248, 250, 253, 0.88) 38%,
      rgba(230, 235, 242, 0.86) 72%,
      rgba(216, 223, 234, 0.88) 100%
    );
  background-repeat: no-repeat;
  background-size: auto;
  background-position: 0 0;
  /* 倾角越大：上缘高光略强、下缘阴影略深（真实朝向，非厚重立体） */
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, calc(0.78 + var(--slat-tilt, 0) * 0.005)),
    inset 0 -1px 0 rgba(90, 105, 125, calc(0.1 + var(--slat-tilt, 0) * 0.004)),
    0 1px 1px rgba(50, 65, 85, calc(0.06 + var(--slat-tilt, 0) * 0.0025));
  border-top: 0.5px solid rgba(255, 255, 255, 0.72);
  border-bottom: 0.5px solid rgba(120, 132, 148, 0.18);
  transform-origin: 50% 0%;
  backface-visibility: hidden;
}

.blind-slat-face.has-slat-photo {
  /*
   * 自下而上：局部照片 → 同尺寸乳白遮罩 → 半透明叶片材质
   * 遮罩与照片同 size/pos，仅盖住图片区域；开缝处无面则无图无罩
   */
  background-image:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.38) 0%,
      rgba(246, 248, 252, 0.32) 38%,
      rgba(222, 228, 236, 0.36) 72%,
      rgba(206, 214, 226, 0.42) 100%
    ),
    linear-gradient(
      0deg,
      rgba(255, 255, 255, var(--article-image-white-overlay)) 0%,
      rgba(255, 255, 255, var(--article-image-white-overlay)) 100%
    ),
    var(--slat-photo);
  background-size:
    auto,
    var(--slat-photo-size, auto),
    var(--slat-photo-size, auto);
  background-position:
    0 0,
    var(--slat-photo-pos, center top),
    var(--slat-photo-pos, center top);
  background-repeat: no-repeat, no-repeat, no-repeat;
}

.blind-slat-face::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 42%;
  pointer-events: none;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.5) 0%,
    rgba(255, 255, 255, 0.12) 55%,
    rgba(255, 255, 255, 0) 100%
  );
}

.blind-slat-face::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 35%;
  pointer-events: none;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(70, 85, 105, 0) 0%,
    rgba(60, 75, 95, 0.1) 100%
  );
}

/* 底部扇形区：略加强叠压，仍保持半透明（与主体乳白度对齐） */
.blind-slat.is-zone-fan .blind-slat-face {
  background-image:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.94) 0%,
      rgba(248, 250, 253, 0.9) 30%,
      rgba(230, 235, 242, 0.88) 65%,
      rgba(216, 223, 234, 0.9) 100%
    );
  box-shadow:
    inset 0 1.5px 0 rgba(255, 255, 255, 0.94),
    inset 0 -1.5px 2px rgba(55, 68, 88, 0.14),
    0 2px 3px rgba(40, 55, 75, 0.12);
}

.blind-slat.is-zone-fan .blind-slat-face.has-slat-photo {
  background-image:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.42) 0%,
      rgba(248, 250, 252, 0.34) 30%,
      rgba(224, 230, 238, 0.38) 65%,
      rgba(208, 216, 228, 0.44) 100%
    ),
    linear-gradient(
      0deg,
      rgba(255, 255, 255, var(--article-image-white-overlay)) 0%,
      rgba(255, 255, 255, var(--article-image-white-overlay)) 100%
    ),
    var(--slat-photo);
  background-size:
    auto,
    var(--slat-photo-size, auto),
    var(--slat-photo-size, auto);
  background-position:
    0 0,
    var(--slat-photo-pos, center top),
    var(--slat-photo-pos, center top);
}

.blind-slat.is-zone-fan .blind-slat-face::before {
  height: 40%;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.55) 0%,
    rgba(255, 255, 255, 0.1) 60%,
    rgba(255, 255, 255, 0) 100%
  );
}

.blind-slat.is-zone-fan .blind-slat-face::after {
  height: 40%;
  background: linear-gradient(
    180deg,
    rgba(70, 85, 105, 0) 0%,
    rgba(55, 68, 88, 0.14) 100%
  );
}

.blind-slat.is-text-hidden .blind-slat-text {
  opacity: 0;
  visibility: hidden;
}

.blind-slat.is-text-dim .blind-slat-text {
  opacity: 0.28;
}

.blind-slat.is-emerging {
  animation: slat-emerge 200ms ease-out;
}

@keyframes slat-emerge {
  from {
    opacity: 0.4;
  }
  to {
    opacity: 1;
  }
}


/* 章节导航标签：叠在叶片上；点击/拖拽由叶片命中，文字不拦截 */
/*
 * 目录文字叠在叶片表面：与 .blind-slat 共享 rotateX / perspective，
 * 不做独立 scaleY / skew 假透视。
 */
.blind-slat-text {
  position: absolute;
  inset: 0;
  z-index: 2;
  transform-style: preserve-3d;
  display: none;
  pointer-events: none;
  visibility: hidden;
  box-sizing: border-box;
}

.blind-slat-text.is-chapter-nav {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  visibility: visible;
  padding: 0 16px 0 18px;
  font-family: Arial, sans-serif;
  /*
   * 收起/展开共用同一容器字号，使叶片标题与展开大标题一致。
   * 标题自身再乘 1.06em（见 .slat-chapter-title）。
   */
  font-size: clamp(20px, 1.45vw, 24px);
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.25;
  color: #ffffff;
  -webkit-text-fill-color: #ffffff;
  -webkit-text-stroke: 0;
  text-shadow: none;
  filter: none;
  text-transform: none;
  pointer-events: none;
  /* 长标题水平裁切，不缩小字号、不出现横向滚动 */
  overflow: hidden;
  /* 编号框固定尺寸（px）：展开时父级字号变化也不牵动框宽/数字 */
  --slat-num-w: 36px;
  --slat-num-gap: 14px;
  --slat-num-fs: 15px;
  --slat-num-travel-pad: 12px;
  /* 展开态编号框左边框外扩，数字绝对位置不变 */
  --slat-num-expand-left-extra: 5px;
}

.blind-slat.is-chapter-expanded .blind-slat-text.is-chapter-nav {
  justify-content: flex-start;
  padding: 14px 22px 18px 18px;
  font-size: clamp(20px, 1.45vw, 24px);
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0.01em;
  line-height: 1.25;
  overflow: hidden;
}

.blind-slat-text.is-chapter-nav .slat-cell-left,
.blind-slat-text.is-chapter-nav .slat-cell-note {
  display: none !important;
}

.blind-slat-text.is-chapter-nav .slat-cell-right {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  /* 标题行使用整叶可用宽度，不受正文列宽限制 */
  width: 100%;
  max-width: none;
  height: auto;
  min-height: 0;
  min-width: 0;
  padding: 0;
  border: 0;
  overflow: visible;
  white-space: nowrap;
  background: none;
  -webkit-text-stroke: 0;
  text-shadow: none;
  filter: none;
  mix-blend-mode: normal;
  opacity: 1;
  pointer-events: none;
}

.blind-slat.is-chapter-expanded .blind-slat-text.is-chapter-nav .slat-cell-right {
  max-width: none;
  width: 100%;
  white-space: nowrap;
  overflow: visible;
  /* 标题与正文统一间距，不随标题长短变化 */
  margin-bottom: 0.65em;
  -webkit-text-stroke: 0 !important;
  text-shadow: none !important;
}

.slat-chapter-label {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.72em;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  color: inherit;
  -webkit-text-fill-color: inherit;
}

/* 两位数编号：圆角更大，仍保留矩形直边 */
.slat-chapter-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  box-sizing: border-box;
  width: var(--slat-num-w, 36px);
  min-width: var(--slat-num-w, 36px);
  max-width: var(--slat-num-w, 36px);
  height: 24px;
  padding: 0 4px;
  border: 1.75px solid #ffffff;
  border-radius: 12px;
  font-family: Arial, sans-serif;
  font-size: var(--slat-num-fs, 15px);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
  line-height: 1;
  color: #ffffff;
  -webkit-text-fill-color: #ffffff;
  opacity: 1;
  transition:
    color 0.14s ease,
    -webkit-text-fill-color 0.14s ease,
    border-color 0.14s ease;
}

.slat-chapter-num-digit {
  display: block;
  position: relative;
  color: inherit;
  -webkit-text-fill-color: inherit;
  font: inherit;
  letter-spacing: inherit;
  line-height: inherit;
  pointer-events: none;
}

.slat-chapter-title,
.blind-slat-text.is-chapter-nav .slat-chapter-title,
.slat-wing-nav-text .slat-chapter-title {
  flex: 1 1 auto;
  width: auto;
  max-width: 100%;
  min-width: 0;
  /* 统一字号；过长单行裁切，不换行、不省略号、不缩小 */
  overflow: hidden;
  text-overflow: clip;
  white-space: nowrap;
  /* 仅章节标题：Arial Narrow MT（项目 fonts/ 本地文件） */
  font-family: "Arial Narrow MT", "Arial Narrow", Arial, sans-serif;
  font-size: 1.06em;
  font-style: normal;
  font-weight: 700;
  font-optical-sizing: none;
  letter-spacing: 0.02em;
  line-height: 1.2;
  /* Title Case 由 JS 写入显示文本；禁止 CSS 强制全大写/斜体 */
  text-transform: none;
  color: #ffffff;
  -webkit-text-fill-color: #ffffff;
  transition:
    color 0.14s ease,
    -webkit-text-fill-color 0.14s ease;
}

.blind-slat.is-chapter-expanded .slat-chapter-title {
  white-space: nowrap;
  text-overflow: clip;
  overflow: hidden;
  text-transform: none;
  font-family: "Arial Narrow MT", "Arial Narrow", Arial, sans-serif;
  font-style: normal;
  letter-spacing: 0.02em;
  word-spacing: normal;
  font-weight: 700;
  font-size: 1.06em;
  line-height: 1.2;
  color: #ffffff;
  -webkit-text-fill-color: #ffffff;
}

/* 仅未展开叶片的 hover：编号框 / 数字 / 标题同步为该章固定荧光色 */
.blind-slat:hover:not(.is-chapter-expanded) .slat-chapter-num {
  border-color: var(--slat-nav-accent, #39ff14);
  color: var(--slat-nav-accent, #39ff14);
  -webkit-text-fill-color: var(--slat-nav-accent, #39ff14);
}

.blind-slat:hover:not(.is-chapter-expanded) .slat-chapter-title {
  color: var(--slat-nav-accent, #39ff14);
  -webkit-text-fill-color: var(--slat-nav-accent, #39ff14);
}

/*
 * 展开态：编号框纵向拉满章节区域（改实际 height，不用 scaleY）；
 * 宽度不变；数字仍 flex 居中且字号不变；标题/正文不包进框内。
 */
.blind-slat.is-chapter-expanded .slat-chapter-label {
  position: static;
  align-items: flex-start;
}

.blind-slat.is-chapter-expanded .slat-chapter-num,
.blind-slat.is-chapter-expanded .slat-chapter-label.is-active .slat-chapter-num {
  position: absolute;
  /* 左边框外扩；右侧约仍落在原 --slat-num-w 右缘 */
  left: calc(18px - var(--slat-num-expand-left-extra, 5px));
  top: 14px;
  bottom: 18px;
  height: auto;
  width: calc(
    var(--slat-num-w, 36px) + var(--slat-num-expand-left-extra, 5px)
  );
  min-width: calc(
    var(--slat-num-w, 36px) + var(--slat-num-expand-left-extra, 5px)
  );
  max-width: calc(
    var(--slat-num-w, 36px) + var(--slat-num-expand-left-extra, 5px)
  );
  z-index: 4;
  border-color: #ffffff !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  /* 字号锁定，不随展开层字号放大；不用 scaleY */
  font-size: var(--slat-num-fs, 15px) !important;
  font-weight: 600;
  /* 圆角按原编号宽计算，避免外扩后上下过度变圆 */
  border-radius: calc(var(--slat-num-w, 36px) / 2);
  overflow: hidden;
}

/* 展开后数字沿竖框中轴上下往复（单程 4s / 全程 8s）；距离随框高自适应 */
.blind-slat.is-chapter-expanded .slat-chapter-num-digit {
  position: absolute;
  /* 补偿左边框外扩，使数字水平位置与外扩前一致 */
  left: calc(50% + var(--slat-num-expand-left-extra, 5px) * 0.5);
  top: var(--slat-num-travel-pad, 12px);
  transform: translateX(-50%);
  animation: slat-num-travel 4s ease-in-out infinite alternate;
  will-change: top, transform;
}

.blind-slat:not(.is-chapter-expanded) .slat-chapter-num-digit {
  position: relative;
  left: auto;
  top: auto;
  transform: none;
  animation: none;
  will-change: auto;
}

@keyframes slat-num-travel {
  from {
    top: var(--slat-num-travel-pad, 12px);
    transform: translateX(-50%) translateY(0);
  }
  to {
    top: calc(100% - var(--slat-num-travel-pad, 12px));
    transform: translateX(-50%) translateY(-100%);
  }
}

.blind-slat.is-chapter-expanded .slat-chapter-title,
.blind-slat.is-chapter-expanded .slat-chapter-label.is-active .slat-chapter-title {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  /* 给左侧拉高的编号框让出列宽 */
  margin-left: calc(var(--slat-num-w, 36px) + var(--slat-num-gap, 14px));
}

/*
 * 电脑版：百叶片右侧圆形展开/收起箭头（与编号圆框同色同线宽）。
 * 手机版不创建；即便误插入也强制隐藏。
 */
.slat-chapter-toggle {
  display: none;
}

html:not(.fly-mobile) .slat-chapter-label {
  gap: 0.72em;
}

html:not(.fly-mobile) .slat-chapter-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  flex-shrink: 0;
  align-self: center;
  box-sizing: border-box;
  width: 24px;
  height: 24px;
  min-width: 24px;
  min-height: 24px;
  max-width: 24px;
  max-height: 24px;
  aspect-ratio: 1 / 1;
  margin-left: auto;
  margin-right: 0;
  padding: 0;
  border: 1.75px solid #ffffff;
  border-radius: 50%;
  background: transparent;
  color: #ffffff;
  -webkit-text-fill-color: #ffffff;
  font-family: Arial, sans-serif;
  font-size: 13px;
  font-weight: 600;
  font-style: normal;
  line-height: 1;
  letter-spacing: 0;
  text-transform: none;
  cursor: pointer;
  pointer-events: auto;
  user-select: none;
  -webkit-user-select: none;
  transform: none;
  box-shadow: none;
  filter: none;
  appearance: none;
  -webkit-appearance: none;
  transition:
    color 0.14s ease,
    border-color 0.14s ease,
    -webkit-text-fill-color 0.14s ease;
}

html:not(.fly-mobile) .slat-chapter-toggle-icon {
  display: block;
  pointer-events: none;
  line-height: 1;
  transform: none;
}

html:not(.fly-mobile)
  .blind-slat:hover:not(.is-chapter-expanded)
  .slat-chapter-toggle {
  border-color: var(--slat-nav-accent, #39ff14);
  color: var(--slat-nav-accent, #39ff14);
  -webkit-text-fill-color: var(--slat-nav-accent, #39ff14);
}

html:not(.fly-mobile) .blind-slat.is-chapter-expanded .slat-chapter-toggle {
  border-color: #ffffff;
  color: #ffffff;
  -webkit-text-fill-color: #ffffff;
}

html:not(.fly-mobile) .slat-chapter-toggle:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.85);
  outline-offset: 2px;
}

html.fly-mobile .slat-chapter-toggle {
  display: none !important;
}

.blind-slat.is-chapter-active .slat-chapter-label,
.slat-chapter-label.is-active {
  font-weight: 600;
}

.blind-slat.is-chapter-active .blind-slat-face-flat {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    inset 0 -1px 0 rgba(90, 105, 125, 0.16),
    0 1px 2px rgba(50, 65, 85, 0.12);
}

/*
 * 展开章节：不透明古早多色渐变面板（覆盖原半透明材质 / 高光伪元素）
 * 仅作用于 .is-chapter-expanded；收起条保持白灰半透明
 */
.blind-slat.is-chapter-expanded > .blind-slat-face-flat,
.blind-slat.is-chapter-expanded .blind-slat-face,
.blind-slat.is-chapter-expanded.is-chapter-active > .blind-slat-face-flat,
.blind-slat.is-chapter-expanded.is-chapter-active .blind-slat-face {
  background-color: var(--chapter-panel-fallback) !important;
  background-image: var(--chapter-panel-gradient) !important;
  background-repeat: no-repeat !important;
  background-size: 100% 100% !important;
  background-position: 0 0 !important;
  border-radius: 0 !important;
  border: 0 !important;
  border-top: 0 !important;
  border-bottom: 0 !important;
  /* 盖过 .is-chapter-active 的 inset 高光，避免展开块内出现白灰折痕线 */
  box-shadow: none !important;
  opacity: 1 !important;
  mix-blend-mode: normal !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  filter: none !important;
}

.blind-slat.is-chapter-expanded .blind-slat-face::before,
.blind-slat.is-chapter-expanded .blind-slat-face::after,
.blind-slat.is-chapter-expanded .blind-slat-face-flat::before,
.blind-slat.is-chapter-expanded .blind-slat-face-flat::after {
  display: none !important;
  content: none !important;
  opacity: 0 !important;
  background: none !important;
  box-shadow: none !important;
}

/* 展开阅读时隐藏底杆：其 z-index 高于叶片，会盖住正文形成白灰横线 */
.blinds-panel.has-chapter-expanded .pleat-hem {
  display: none !important;
}

.blinds-panel.has-chapter-expanded .blinds-guide-cords {
  visibility: hidden;
  opacity: 0;
}

/* 展开正文：自然撑高，无内层滚动条；统一行距与段落节奏 */
.slat-chapter-body {
  display: none;
  flex: 0 0 auto;
  width: 100%;
  max-width: min(92%, 44rem);
  margin: 0;
  padding: 0 4px 4px 0;
  overflow: visible;
  pointer-events: auto;
  text-transform: none;
  letter-spacing: normal;
  word-spacing: normal;
  text-align: left;
  text-align-last: left;
  text-justify: auto;
  hyphens: manual;
  white-space: normal;
  color: #ffffff;
  -webkit-text-fill-color: #ffffff;
  /* 正文/章节：Arial；底部工具栏 UI 仍用 ELEPHNT */
  font-family: Arial, sans-serif;
  font-size: clamp(16px, 1.35vw, 18px);
  font-weight: 400;
  line-height: 1.4;
}

.blind-slat.is-chapter-expanded .slat-chapter-body {
  display: block;
  /* 与标题同列左缘对齐（编号框让位）；右侧靠 max-width 留白 */
  max-width: min(74%, 44rem);
  margin-left: calc(var(--slat-num-w, 36px) + var(--slat-num-gap, 14px));
  margin-right: 0;
  text-align: left;
  text-align-last: left;
}

/*
 * 电脑版正文：与标题左缘对齐（不再水平居中）。
 * 手机版沿用上方默认规则，不受影响。
 */
html:not(.fly-mobile) .blind-slat.is-chapter-expanded .slat-chapter-body {
  margin-left: calc(var(--slat-num-w, 36px) + var(--slat-num-gap, 14px));
  margin-right: 0;
  text-align: left;
  text-align-last: left;
}

/*
 * 展开章节配图：相对本叶定位。
 * 默认（手机保留）：几何中心对齐右半区；
 * 电脑版由 JS 对齐「正文右侧空白区」水平中心 + 白框垂直中心。
 */
.slat-chapter-figure {
  display: none;
  position: absolute;
  left: 75%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(38%, 300px);
  max-height: calc(100% - 32px);
  z-index: 5;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  pointer-events: none;
  background: none;
  border: 0;
  box-shadow: none;
  filter: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.blind-slat.is-chapter-expanded .slat-chapter-figure {
  width: min(28%, 280px);
}

.blind-slat.is-chapter-expanded .slat-chapter-figure.is-visible {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 电脑版：left/top 由 JS 按右侧空白区写入；尺寸保持既有设定 */
html:not(.fly-mobile) .blind-slat.is-chapter-expanded .slat-chapter-figure {
  z-index: 14;
  width: min(36%, 280px);
  max-height: min(46%, 300px);
}

.slat-chapter-figure-img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center;
  background: none;
  border: 0;
  box-shadow: none;
  filter: none;
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
}

/* 正文可点关键词：仅下划线略加粗，不改字号字距 */
.slat-chapter-body .slat-kw-fig {
  color: inherit;
  -webkit-text-fill-color: inherit;
  font: inherit;
  letter-spacing: inherit;
  word-spacing: inherit;
  line-height: inherit;
  text-decoration-line: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
  text-decoration-skip-ink: auto;
  text-decoration-color: currentColor;
  cursor: pointer;
  pointer-events: auto;
  background: none;
  border: 0;
  padding: 0;
  margin: 0;
  box-shadow: none;
  text-shadow: none;
}

.slat-chapter-body .slat-kw-fig:hover,
.slat-chapter-body .slat-kw-fig:focus-visible,
.slat-chapter-body .slat-kw-fig.is-open {
  text-decoration-color: currentColor;
  outline: none;
}

.slat-chapter-body .slat-chapter-doc-title {
  margin: 0 0 0.55em;
  padding: 0;
  font-family: Arial, sans-serif;
  /* 与正文同字号/行高；不再作 display heading */
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  letter-spacing: inherit;
  word-spacing: inherit;
  color: #ffffff;
  -webkit-text-fill-color: #ffffff;
  text-transform: none;
}

.slat-chapter-body .slat-chapter-kicker {
  margin: 0 0 0.55em;
  padding: 0;
  font-family: Arial, sans-serif;
  font-size: 0.95em;
  font-style: italic;
  line-height: 1.4;
  letter-spacing: normal;
  word-spacing: normal;
  color: #ffffff;
  -webkit-text-fill-color: #ffffff;
  text-transform: none;
}

.slat-chapter-body .slat-chapter-para {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  letter-spacing: inherit;
  word-spacing: inherit;
  text-align: left;
  text-indent: 0;
  white-space: normal;
}

/* 保留段落语义，仅用克制的段间距，不插入整行空白 */
.slat-chapter-body .slat-chapter-para + .slat-chapter-para {
  margin-top: 0.55em;
}

.slat-chapter-body .slat-chapter-meta {
  margin: 0.85em 0 0;
  padding: 0.65em 0 0;
  list-style: none;
  border-top: 1px solid rgba(90, 105, 125, 0.22);
  font-family: Arial, sans-serif;
  font-size: inherit;
  line-height: 1.4;
  letter-spacing: normal;
  word-spacing: normal;
}

.slat-chapter-body .slat-chapter-meta li {
  margin: 0;
  padding: 0;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  letter-spacing: inherit;
  word-spacing: inherit;
  color: #ffffff;
  -webkit-text-fill-color: #ffffff;
}

.slat-chapter-body .slat-chapter-meta li + li {
  margin-top: 0.4em;
}

.slat-chapter-body .slat-chapter-meta li:last-child {
  margin-bottom: 0;
}

.slat-chapter-body .slat-chapter-meta strong {
  font-weight: 700;
}

/* 旧版贴图 / 分页阅读控件：不再参与 PAGE 02 交互 */
.blind-slat-face.has-slat-photo {
  /* 保留规则以免残留 class 时材质崩坏；JS 已停止写入贴图 */
}

.reader-pager,
.reader-hit {
  display: none !important;
  pointer-events: none !important;
}

.article-viewport.is-hidden {
  pointer-events: none !important;
}

.blind-slat-text .slat-deform-ch {
  display: inline-block;
  transform-origin: 50% 50%;
  will-change: transform;
  color: inherit;
  -webkit-text-fill-color: inherit;
  -webkit-text-stroke: inherit;
  paint-order: stroke fill;
  text-shadow: none;
}

.blind-slat.is-deforming .slat-cell {
  overflow: visible;
}

.slat-cell {
  min-width: 0;
  height: 100%;
  display: flex;
  align-items: center;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: clip;
  line-height: 1;
  opacity: 1;
  color: inherit;
  -webkit-text-fill-color: inherit;
  -webkit-text-stroke: var(--slat-stroke-w, 8px) var(--slat-stroke, #ffffff);
  paint-order: stroke fill;
  text-shadow: none !important;
  filter: none;
  mix-blend-mode: normal;
  box-sizing: border-box;
}

.slat-cell-left {
  justify-content: flex-start;
  text-align: left;
  font-size: inherit;
  border-right: 0.5px solid rgba(110, 118, 128, 0.38);
  padding-right: 8px;
}

.slat-cell-right {
  justify-content: flex-start;
  text-align: left;
  font-size: inherit;
  letter-spacing: 0;
  word-spacing: 0.04em;
  padding: 0 4px 0 8px;
}

.slat-cell-note {
  display: none;
}

/* 左上主标题：细边线 + 圆角（上下两叶拼合） */
.slat-cell-left.is-title-block {
  justify-content: center;
  text-align: center;
  border-left: 0.5px solid rgba(110, 118, 128, 0.42);
  border-right: 0.5px solid rgba(110, 118, 128, 0.42);
  background: transparent;
  filter: none;
}
.slat-cell-left.is-title-top {
  border-top: 0.5px solid rgba(110, 118, 128, 0.42);
  border-radius: 5px 5px 0 0;
}
.slat-cell-left.is-title-bot {
  border-bottom: 0.5px solid rgba(110, 118, 128, 0.42);
  border-radius: 0 0 5px 5px;
}

.slat-cell .slat-line-title {
  display: inline-block;
  max-width: 100%;
  font-size: 1em;
  font-weight: 400;
  opacity: 1;
  letter-spacing: -0.02em;
  text-align: center;
  width: 100%;
  background: none;
  color: var(--slat-ink-strong, #777777);
  -webkit-text-fill-color: var(--slat-ink-strong, #777777);
  -webkit-text-stroke: var(--slat-stroke-w, 8px) var(--slat-stroke, #ffffff);
  paint-order: stroke fill;
  text-shadow: none !important;
  filter: none;
}

.slat-cell .slat-line-meta {
  opacity: 1;
  font-size: inherit;
  letter-spacing: 0.08em;
  color: var(--slat-ink-meta, #808080);
  -webkit-text-fill-color: var(--slat-ink-meta, #808080);
  -webkit-text-stroke: var(--slat-stroke-w, 8px) var(--slat-stroke, #ffffff);
  paint-order: stroke fill;
  text-shadow: none !important;
}

/* 左栏主题关键词：克制浅蓝光晕 */
.slat-cell-left.is-theme-block {
  position: relative;
  justify-content: center;
  text-align: center;
  overflow: visible;
}
.slat-cell-left.is-theme-block::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: -35%;
  bottom: -35%;
  background: radial-gradient(
    ellipse at 50% 50%,
    rgba(168, 196, 220, 0.28) 0%,
    rgba(168, 196, 220, 0.1) 42%,
    rgba(168, 196, 220, 0) 72%
  );
  pointer-events: none;
  z-index: 0;
}
.slat-cell-left.is-theme-top::before {
  top: 5%;
  border-radius: 6px 6px 0 0;
}
.slat-cell-left.is-theme-bot::before {
  bottom: 5%;
  border-radius: 0 0 6px 6px;
}
.slat-cell-left.is-theme-block > * {
  position: relative;
  z-index: 1;
}

.slat-cell .slat-theme {
  display: inline-block;
  max-width: 100%;
  border: 0;
  background: none;
  padding: 0;
  margin: 0;
  font: inherit;
  color: inherit;
  -webkit-text-fill-color: inherit;
  -webkit-text-stroke: inherit;
  paint-order: stroke fill;
  text-transform: none;
  cursor: pointer;
  pointer-events: auto;
  text-align: center;
  letter-spacing: 0.02em;
  opacity: 0.95;
}
.slat-cell .slat-theme:hover {
  opacity: 1;
  filter: brightness(0.9);
}

/* 顶部播客信息带 */
.slat-cell.is-source-band {
  border-bottom: 0.5px solid rgba(110, 118, 128, 0.32);
}
.slat-cell.is-source-podcast {
  border-top: 0.5px solid rgba(110, 118, 128, 0.28);
}
.slat-cell .slat-line-source {
  font-size: inherit;
  opacity: 1;
  letter-spacing: 0.02em;
  font-style: normal;
  color: var(--slat-ink-meta, #808080);
  -webkit-text-fill-color: var(--slat-ink-meta, #808080);
  -webkit-text-stroke: var(--slat-stroke-w, 8px) var(--slat-stroke, #ffffff);
  paint-order: stroke fill;
  text-shadow: none !important;
}
.slat-cell .slat-line-source em {
  font-style: italic;
  opacity: 1;
  color: inherit;
  -webkit-text-fill-color: inherit;
  -webkit-text-stroke: inherit;
  paint-order: stroke fill;
  text-shadow: none;
}

.slat-cell .slat-line-lede {
  font-size: inherit;
  opacity: 1;
  font-style: italic;
  letter-spacing: 0;
  word-spacing: 0.04em;
  color: var(--slat-ink, #808080);
  -webkit-text-fill-color: var(--slat-ink, #808080);
  -webkit-text-stroke: var(--slat-stroke-w, 8px) var(--slat-stroke, #ffffff);
  paint-order: stroke fill;
  text-shadow: none !important;
}

.slat-cell .slat-line-section {
  display: inline;
  max-width: 100%;
  padding: 0;
  margin: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  font-size: inherit;
  letter-spacing: 0.02em;
  opacity: 1;
  font-style: italic;
  font-weight: 400;
  color: var(--slat-ink-strong, #777777);
  -webkit-text-fill-color: var(--slat-ink-strong, #777777);
  -webkit-text-stroke: var(--slat-stroke-w, 8px) var(--slat-stroke, #ffffff);
  paint-order: stroke fill;
  text-shadow: none !important;
  filter: none;
  mix-blend-mode: normal;
}

/* 右栏章节模块 */
.slat-cell-note.is-chap-mod {
  border-left: 0.5px solid rgba(110, 118, 128, 0.36);
  border-right: 0.5px solid rgba(110, 118, 128, 0.36);
  padding-left: 6px;
  padding-right: 4px;
}
.slat-cell-note.is-chap-start,
.slat-cell-note.is-chap-solo {
  border-top: 0.5px solid rgba(110, 118, 128, 0.36);
  border-radius: 4px 4px 0 0;
}
.slat-cell-note.is-chap-end,
.slat-cell-note.is-chap-solo {
  border-bottom: 0.5px solid rgba(110, 118, 128, 0.36);
  border-radius: 0 0 4px 4px;
}
.slat-cell-note.is-chap-solo {
  border-radius: 4px;
}
.slat-cell-note.is-chap-active {
  background: rgba(120, 140, 160, 0.06);
}
.slat-cell-note.is-chap-active .slat-toc {
  opacity: 1;
  filter: none;
}

.slat-cell .slat-toc {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  max-width: 100%;
  border: 0;
  background: none;
  padding: 0;
  margin: 0;
  font: inherit;
  color: var(--slat-ink, #808080);
  -webkit-text-fill-color: var(--slat-ink, #808080);
  -webkit-text-stroke: var(--slat-stroke-w, 8px) var(--slat-stroke, #ffffff);
  paint-order: stroke fill;
  text-shadow: none !important;
  text-transform: none;
  cursor: pointer;
  pointer-events: auto;
  text-align: left;
  opacity: 1;
}

.slat-cell .slat-toc:hover,
.slat-cell .slat-toc.is-active {
  color: var(--slat-ink-strong, #777777);
  -webkit-text-fill-color: var(--slat-ink-strong, #777777);
  -webkit-text-stroke: var(--slat-stroke-w, 8px) var(--slat-stroke, #ffffff);
  paint-order: stroke fill;
  text-shadow: none !important;
}

.slat-cell .slat-toc.is-active .slat-toc-num {
  border-color: rgba(128, 128, 128, 0.55);
  background: rgba(128, 128, 128, 0.12);
}

.slat-cell .slat-toc-num {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.35em;
  height: 1.15em;
  padding: 0 0.12em;
  border-radius: 999px;
  border: 0.5px solid rgba(87, 126, 175, 0.45);
  background: transparent;
  font-size: 0.78em;
  letter-spacing: 0;
  opacity: 1;
  color: inherit;
  -webkit-text-fill-color: inherit;
  -webkit-text-stroke: inherit;
  paint-order: stroke fill;
  text-shadow: inherit;
}

.slat-cell .slat-toc-title {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 0.95em;
  color: inherit;
  -webkit-text-fill-color: inherit;
  -webkit-text-stroke: inherit;
  paint-order: stroke fill;
  text-shadow: inherit;
}

.blinds-slats .kw,
.blinds-slats .kw-fig,
.blinds-slats .kw-fig-text {
  color: var(--slat-ink, #808080);
  -webkit-text-fill-color: var(--slat-ink, #808080);
  -webkit-text-stroke: var(--slat-stroke-w, 8px) var(--slat-stroke, #ffffff);
  text-shadow: none !important;
  paint-order: stroke fill;
  opacity: 1;
  mix-blend-mode: normal;
  pointer-events: auto;
}

.blinds-slats .kw-fig {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
  text-decoration-color: rgba(92, 127, 175, 0.4);
  cursor: pointer;
}

.blinds-slats .kw-fig-text {
  text-decoration: inherit;
}

/* 正文 1–15 图片角标：柔和浅蓝圆 */
.blinds-slats .kw-fig-num {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 1.25em;
  height: 1.25em;
  margin-left: 0.22em;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: radial-gradient(
    circle at 40% 32%,
    rgba(188, 208, 222, 0.92) 0%,
    rgba(168, 188, 205, 0.72) 55%,
    rgba(150, 170, 188, 0.55) 100%
  );
  box-shadow: 0 0 4px rgba(150, 175, 195, 0.28);
  color: var(--slat-ink-strong, #777777) !important;
  -webkit-text-fill-color: var(--slat-ink-strong, #777777) !important;
  -webkit-text-stroke: var(--slat-stroke-w, 8px) var(--slat-stroke, #ffffff);
  text-shadow: none;
  paint-order: stroke fill;
  opacity: 1;
  font-family: var(--slat-font);
  font-size: 0.72em;
  font-weight: 400;
  font-style: normal;
  line-height: 1;
  letter-spacing: 0;
  vertical-align: -0.05em;
  text-decoration: none !important;
  cursor: pointer;
  pointer-events: auto;
  white-space: nowrap;
}

.blinds-slats .kw-fig:hover .kw-fig-num,
.blinds-slats .kw-fig.is-open .kw-fig-num {
  filter: brightness(0.96);
}

/* 文章层与百叶窗叠放：文字可见，常态不拦截叶片拖拽 */
.article-viewport.is-slat-reading .article-content {
  visibility: visible;
  pointer-events: none;
}

.pleat-hem {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 8px;
  background: linear-gradient(
    180deg,
    rgba(250, 251, 252, 0.72) 0%,
    rgba(220, 224, 230, 0.7) 100%
  );
  box-shadow:
    0 2px 4px rgba(40, 55, 75, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
  /* 必须低于 .blinds-slats (z-index:3)，否则白灰底杆会压在正文上 */
  z-index: 1;
  pointer-events: none;
}

/* 下降过渡中隐藏底杆，避免扇形下方出现多余水平横条 */
.blinds-panel:not(.is-fully-down) .pleat-hem {
  display: none;
}

/* ========== PAGE 02 文章阅读层（叠在窗帘折面之上，可点击关键词） ========== */
.article-viewport {
  position: absolute;
  left: 0;
  right: 0;
  top: 12px;
  z-index: 12;
  overflow: hidden;
  overscroll-behavior: none;
  pointer-events: none;
  height: 0;
  transform: translateZ(0);
  isolation: isolate;
  transform-style: flat;
  background: transparent;
}

.article-viewport.is-hidden {
  visibility: hidden;
  opacity: 0;
}

.article-content {
  position: relative;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  padding: 0;
  font-family: Arial, sans-serif;
  color: #ffffff;
  -webkit-text-fill-color: #ffffff;
  -webkit-text-stroke: 0;
  font-size: 16px;
  line-height: 1.25;
  font-weight: 400;
  letter-spacing: normal;
  word-spacing: normal;
  text-align: left;
  text-transform: none;
  word-break: normal;
  overflow-wrap: break-word;
  white-space: normal;
  hyphens: none;
  font-kerning: normal;
  font-feature-settings: "kern" 1;
  font-synthesis: none;
  overflow: visible;
  user-select: text;
  -webkit-user-select: text;
  /*
   * 正文层默认不拦截指针，让下层叶片可拖开缝；
   * 翻页控件自行接收点击。
   */
  pointer-events: none;
  z-index: 1;
}

.article-content .article-meta,
.article-content .kw-fig,
.article-content .reader-hit {
  pointer-events: auto;
}

.article-content h1,
.article-content h2,
.article-content p,
.article-content .article-kicker {
  margin: 0;
  padding: 0;
  font-family: inherit;
  color: inherit;
  -webkit-text-fill-color: inherit;
  -webkit-text-stroke: 0;
  line-height: inherit;
  letter-spacing: inherit;
  word-spacing: normal;
  font-weight: inherit;
  text-align: left;
  orphans: 2;
  widows: 2;
  overflow: visible;
}

.article-content h1,
.article-content .meta-title {
  font-size: var(--title-size);
  line-height: 1.05;
  letter-spacing: var(--article-tracking);
  word-spacing: var(--article-word-spacing);
}

.article-content h2,
.article-content p,
.article-content .article-kicker {
  font-size: var(--article-size);
}

.article-content em {
  font-style: italic;
}

.article-content strong {
  font-weight: var(--article-weight);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/*
 * 分页全幅阅读（参考 5PM）：单栏铺满窗帘阅读区。
 * 旧双栏结构仅在非 reader-fullbleed 时保留兼容。
 */
.article-layout {
  display: grid;
  grid-template-columns: 30% minmax(0, 1fr);
  grid-template-rows: auto minmax(0, 1fr);
  column-gap: 12px;
  row-gap: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  align-items: stretch;
}

.article-layout.reader-fullbleed {
  display: block;
  grid-template-columns: none;
  grid-template-rows: none;
  column-gap: 0;
  position: relative;
  width: 100%;
  height: 100%;
}

.article-layout.reader-fullbleed > .reader-hit {
  position: absolute;
}

.article-layout.reader-fullbleed > .meta-title-lockup,
.article-layout.reader-fullbleed .article-meta,
.article-layout.reader-fullbleed .article-meta-nav {
  display: none !important;
}

.article-columns {
  display: contents;
}

.article-meta {
  container-type: inline-size;
  container-name: meta-col;
  grid-column: 1;
  grid-row: 2;
  min-width: 0;
  min-height: 0;
  width: auto;
  max-width: none;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
  color: var(--ui-ink);
  -webkit-text-fill-color: var(--ui-ink);
  -webkit-text-stroke: var(--ui-stroke-w) var(--ui-stroke);
  paint-order: stroke fill;
  text-align: left;
  -webkit-hyphens: none;
  hyphens: none;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  pointer-events: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-top: 0;
  align-content: flex-start;
}

.article-meta::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

.article-meta h1,
.article-meta .meta-title {
  margin: 0;
  max-width: 100%;
}

/* —— Typographic Lockup（大屏占左列；小屏 ≤600px 横跨整行）+ 跑马灯 —— */
.article-layout > .meta-title-lockup {
  --mtl-ink: #ffffff;
  --mtl-stroke: #ffffff;
  position: relative;
  grid-column: 1;
  grid-row: 1;
  width: 100%;
  max-width: 100%;
  margin: 0 0 0.15em;
  padding: 0;
  overflow: visible;
  font-family: Arial, sans-serif;
  font-weight: 400;
  line-height: 0;
  color: var(--mtl-ink);
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 0;
  /* 大屏：整体左移 18px、上移 28px */
  transform: translate(-18px, -28px);
}

/*
 * PAGE 02 UI Group：拍苍蝇小人 + 底部工具栏弹窗共用显示状态。
 * 组本身铺满窗内框；GIF 用 --title-gif-* 单独 nudge；不裁切。
 * z-index 低于 .site-toolbar(400)：弹窗可读可点；遮挡靠上移净空解决，不抬层级。
 */
.swatter-group {
  position: absolute;
  left: var(--frame);
  right: var(--frame);
  top: var(--frame);
  bottom: var(--frame);
  z-index: 35;
  pointer-events: none;
  overflow: visible;
  margin: 0;
  padding: 0;
  border: 0;
}

.swatter-group[hidden] {
  display: none !important;
}

.swatter-group.is-reading {
  display: block;
}

/* 小人相对组（= 内框）右下定位；水平镜像朝内；仅改 GIF，不改组 / 弹窗 */
.title-decoration-gif {
  position: absolute;
  left: auto;
  right: var(--title-gif-right);
  top: var(--title-gif-top);
  bottom: auto;
  width: var(--title-gif-width);
  height: auto;
  max-width: none;
  display: block;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
  margin: 0;
  border: 0;
  padding: 0;
  /* 先镜像，再在动态 top 结果上固定下移；勿改 JS 写入的 top/right */
  transform: scaleX(-1) translateY(var(--title-gif-nudge-y));
  transform-origin: center center;
  /* 勿被祖先 overflow 思路误伤：自身不裁切 */
  overflow: visible;
}

.article-layout > .meta-title-lockup .mtl {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  overflow: visible;
  font-family: Arial, sans-serif;
}

.article-layout > .meta-title-lockup .mtl-word {
  fill: var(--mtl-ink);
  stroke: var(--mtl-stroke);
  stroke-width: 0.3em;
  paint-order: stroke fill;
  stroke-linejoin: round;
  stroke-linecap: round;
  font-family: Arial, sans-serif;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: none;
  white-space: pre;
  animation: mtl-word-lit 5s linear infinite;
}

.article-layout > .meta-title-lockup .mtl-flower {
  fill: inherit;
  stroke: inherit;
}

.article-layout > .meta-title-lockup .mtl-word[data-mtl="0"] {
  --mtl-lit: #027aff;
  animation-delay: 0s;
}

.article-layout > .meta-title-lockup .mtl-word[data-mtl="1"] {
  --mtl-lit: #01ff0d;
  animation-delay: 0.5s;
}

.article-layout > .meta-title-lockup .mtl-word[data-mtl="2"] {
  --mtl-lit: #8401f3;
  animation-delay: 1s;
}

.article-layout > .meta-title-lockup .mtl-word[data-mtl="3"] {
  --mtl-lit: #d7ff12;
  animation-delay: 1.5s;
}

.article-layout > .meta-title-lockup .mtl-word[data-mtl="4"] {
  --mtl-lit: #027aff;
  animation-delay: 2s;
}

.article-layout > .meta-title-lockup .mtl-word[data-mtl="5"] {
  --mtl-lit: #01ff0d;
  animation-delay: 2.5s;
}

.article-layout > .meta-title-lockup .mtl-word[data-mtl="6"] {
  --mtl-lit: #8401f3;
  animation-delay: 3s;
}

.article-layout > .meta-title-lockup .mtl-word[data-mtl="7"] {
  --mtl-lit: #d7ff12;
  animation-delay: 3.5s;
}

.article-layout > .meta-title-lockup .mtl-word[data-mtl="8"] {
  --mtl-lit: #027aff;
  animation-delay: 4s;
}

.article-layout > .meta-title-lockup .mtl-word[data-mtl="9"] {
  --mtl-lit: #01ff0d;
  animation-delay: 4.5s;
}

/*
 * 0–7% 持亮（~350ms），7–10% 回灰（~150ms），
 * 下一词 delay 错开 0.5s，交接时同时过渡。
 */
@keyframes mtl-word-lit {
  0%,
  7% {
    fill: var(--mtl-lit);
  }
  10%,
  100% {
    fill: #808080;
  }
}

.article-meta .meta-group {
  margin-top: 0.85em;
  max-width: 92%;
}

.article-meta .meta-group:first-of-type {
  /* 标题已在 layout 顶层，左栏内容自顶排布 */
  margin-top: 0.15em;
}

.article-meta .meta-group:nth-of-type(2) {
  max-width: 78%;
}

.article-meta .meta-line {
  margin: 0;
  padding: 0;
  font-size: 13px;
  line-height: 1.35;
  letter-spacing: normal;
  word-spacing: normal;
  text-align: left;
  text-transform: none;
  color: #ffffff;
  -webkit-text-fill-color: #ffffff;
  -webkit-text-stroke: 0;
  text-shadow: none;
}

/* 章节目录：与右侧正文字号同步 */
.article-meta-nav {
  margin-top: 1.15em;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
}

.article-meta-nav .toc-link {
  display: block;
  margin: 0 0 6px;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: 13px;
  line-height: 1.35;
  letter-spacing: normal;
  word-spacing: normal;
  font-weight: var(--article-weight);
  text-align: left;
  text-transform: none;
  text-decoration: none;
  cursor: pointer;
  pointer-events: auto;
  color: #ffffff;
  -webkit-text-fill-color: #ffffff;
  -webkit-text-stroke: 0;
  text-shadow: none;
  max-width: 100%;
}

.article-meta-nav .toc-link-alt {
  max-width: 92%;
  margin-bottom: 8px;
}

.article-meta-nav .toc-num,
.article-meta-nav .toc-title {
  display: inline;
  font-size: inherit;
  line-height: inherit;
  margin: 0;
  color: inherit;
  -webkit-text-fill-color: inherit;
  -webkit-text-stroke: 0;
}

.article-meta-nav .toc-num::after {
  content: " ";
}

.article-meta-nav .toc-link.is-active,
.article-meta-nav .toc-link.is-active .toc-num,
.article-meta-nav .toc-link.is-active .toc-title {
  color: inherit;
  -webkit-text-fill-color: inherit;
}

.article-meta-nav .toc-link.is-active .toc-title {
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-color: currentColor;
}

.article-body-clip {
  container-type: inline-size;
  container-name: body-col;
  grid-column: 2;
  grid-row: 1 / -1;
  min-width: 0;
  min-height: 0;
  width: auto;
  height: auto;
  overflow: hidden;
  position: relative;
  padding: 0 48px 36px 10px;
  box-sizing: border-box;
  align-self: stretch;
  pointer-events: none;
}

.article-layout.reader-fullbleed .article-body-clip {
  grid-column: auto;
  grid-row: auto;
  width: 100%;
  height: 100%;
  /* 左侧留给章节叶片标签；正文偏右，减少遮挡 */
  padding: 28px 48px 56px 42%;
  align-self: stretch;
  overflow: hidden;
}

/* 编辑式分页正文：较小黑色无衬线，上方信息区 */
.article-body {
  --body-lh: 1.25;
  --body-tracking: normal;
  --kw-blue: #027aff;
  --kw-cyan: #3db4ff;
  --kw-green: #01ff0d;
  --kw-purple: #8401f3;
  --kw-yellow: #d7ff12;
  --kw-pink: #ff4d9a;
  --kw-orange: #ff7a1a;
  --body-ink: #ffffff;
  --body-stroke: transparent;
  --body-stroke-w: 0px;
  position: relative;
  width: 100%;
  max-width: none;
  box-sizing: border-box;
  padding: 0;
  padding-bottom: calc(2.5em + var(--stb-clearance));
  overflow: visible;
  will-change: transform;
  font-family: Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: var(--body-lh);
  letter-spacing: var(--body-tracking);
  word-spacing: normal;
  color: var(--body-ink);
  -webkit-text-fill-color: var(--body-ink);
  -webkit-text-stroke: 0;
  text-shadow: none;
  filter: none;
  opacity: 1;
  text-align: left;
  text-transform: none;
  -webkit-hyphens: none;
  hyphens: none;
}

.article-reader-body.is-page-fade {
  animation: reader-page-in 280ms ease;
}

@keyframes reader-page-in {
  from {
    opacity: 0.35;
  }
  to {
    opacity: 1;
  }
}

.article-reader-body .reader-page-title,
.article-reader-body .reader-page-kicker,
.article-reader-body .reader-page-para {
  margin: 0 0 0.85em;
  padding: 0;
  color: #ffffff;
  -webkit-text-fill-color: #ffffff;
  -webkit-text-stroke: 0;
  text-shadow: none;
  filter: none;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  letter-spacing: normal;
  word-spacing: normal;
  text-align: left;
  text-transform: none;
}

.article-reader-body .reader-page-title {
  margin-bottom: 1em;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.25;
}

.article-reader-body .reader-page-kicker {
  font-size: 16px;
  opacity: 1;
  margin-bottom: 1em;
}

.article-reader-body .reader-page-para:last-child {
  margin-bottom: 0;
}

.article-reader-body {
  position: relative;
  z-index: 1;
}

/* 底栏仅页码；左右箭头独立 */
.reader-pager {
  position: absolute;
  left: 50%;
  bottom: calc(10px + var(--stb-clearance) * 0.15);
  transform: translateX(-50%);
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  font-family: Arial, sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: none;
  color: #ffffff;
}

.reader-page-label {
  opacity: 0.85;
  pointer-events: none;
  color: #ffffff;
  -webkit-text-fill-color: #ffffff;
}

/* 左右中部箭头：有限热区，不挡叶片拖拽 */
.reader-hit {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 72px;
  border: 0;
  padding: 0;
  margin: 0;
  background: transparent;
  color: #ffffff;
  -webkit-text-fill-color: #ffffff;
  font-family: Arial, sans-serif;
  font-size: 36px;
  font-weight: 400;
  line-height: 1;
  cursor: pointer;
  pointer-events: auto;
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.92;
}

.reader-hit:hover:not([hidden]):not(:disabled) {
  opacity: 1;
}

.reader-hit:disabled,
.reader-hit[hidden] {
  display: none;
}

.reader-hit-prev {
  left: 8px;
}

.reader-hit-next {
  right: 8px;
}

.article-body .body-section {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 0.55em 0 0;
  padding: 0;
  font-family: Arial, sans-serif;
  font-size: var(--body-size);
  line-height: var(--body-lh);
  letter-spacing: var(--body-tracking);
  word-spacing: normal;
  font-weight: var(--article-weight);
  color: var(--body-ink);
  -webkit-text-fill-color: var(--body-ink);
  -webkit-text-stroke: var(--body-stroke-w) var(--body-stroke);
  paint-order: stroke fill;
  text-align: left;
  text-transform: none;
  overflow-wrap: break-word;
  word-break: normal;
  white-space: normal;
  -webkit-hyphens: none;
  hyphens: none;
  overflow: visible;
}

.article-body .body-para,
.article-body .article-kicker {
  display: block;
  width: 100%;
  max-width: 100%;
  /* 段落间不插入额外空白行，靠统一行距衔接 */
  margin: 0;
  padding: 0;
  font-family: inherit;
  font-size: var(--body-size);
  line-height: var(--body-lh);
  letter-spacing: var(--body-tracking);
  word-spacing: normal;
  font-weight: var(--article-weight);
  color: var(--body-ink);
  -webkit-text-fill-color: var(--body-ink);
  -webkit-text-stroke: var(--body-stroke-w) var(--body-stroke);
  paint-order: stroke fill;
  text-align: left;
  text-transform: none;
  overflow-wrap: break-word;
  word-break: normal;
  white-space: normal;
  -webkit-hyphens: none;
  hyphens: none;
  overflow: visible;
}

.article-body .section-num,
.article-body .section-title {
  display: inline;
  font: inherit;
  font-size: inherit;
  line-height: inherit;
  letter-spacing: inherit;
  word-spacing: inherit;
  margin: 0;
  padding: 0;
  max-width: none;
}

.article-body .section-num::after {
  content: " ";
}

.article-body .article-kicker {
  max-width: 100%;
}

.article-body .body-para br,
.article-body .article-kicker br,
.article-body .body-section br {
  display: none;
}

/* 交互词行内流动：白描边固定，填充色可由五色系统改写 */
.article-body .kw,
.article-body .kw-fig,
.article-body .kw-fig-text,
.article-body .kw-fig-num,
.article-body .text-bend-ch,
.article-body .text-bend-unit,
.article-body .body-para em,
.article-body .body-para strong,
.article-body .article-kicker em,
.article-body .article-kicker strong,
.article-body .section-num,
.article-body .section-title {
  display: inline !important;
  font: inherit;
  font-size: inherit;
  line-height: inherit;
  letter-spacing: inherit;
  word-spacing: inherit;
  text-transform: inherit;
  background: none !important;
  border: 0;
  margin: 0;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
  white-space: normal;
  float: none;
  position: static;
  -webkit-text-stroke: var(--body-stroke-w) var(--body-stroke);
  paint-order: stroke fill;
}

.article-body .section-num,
.article-body .section-title {
  color: var(--body-ink);
  -webkit-text-fill-color: var(--body-ink);
}

.article-body .kw,
.article-body .kw-fig {
  /* 默认灰填充；悬停/靠近才亮出已分配色；白描边始终不变 */
  color: var(--body-ink);
  -webkit-text-fill-color: var(--body-ink);
  transition:
    color 200ms ease,
    -webkit-text-fill-color 200ms ease,
    text-decoration-color 200ms ease,
    border-color 200ms ease;
  /* 略扩大命中区，便于“靠近”触发 */
  padding: 0.12em 0.04em;
  margin: -0.12em -0.04em;
}

.article-body .kw[data-color="blue"]:hover,
.article-body .kw[data-color="blue"]:focus-visible,
.article-body .kw-fig[data-color="blue"]:hover,
.article-body .kw-fig[data-color="blue"]:focus-visible,
.article-body .kw-fig[data-color="blue"].is-open {
  color: var(--kw-blue);
  -webkit-text-fill-color: var(--kw-blue);
}

.article-body .kw[data-color="green"]:hover,
.article-body .kw[data-color="green"]:focus-visible,
.article-body .kw-fig[data-color="green"]:hover,
.article-body .kw-fig[data-color="green"]:focus-visible,
.article-body .kw-fig[data-color="green"].is-open {
  color: var(--kw-green);
  -webkit-text-fill-color: var(--kw-green);
}

.article-body .kw[data-color="purple"]:hover,
.article-body .kw[data-color="purple"]:focus-visible,
.article-body .kw-fig[data-color="purple"]:hover,
.article-body .kw-fig[data-color="purple"]:focus-visible,
.article-body .kw-fig[data-color="purple"].is-open {
  color: var(--kw-purple);
  -webkit-text-fill-color: var(--kw-purple);
}

.article-body .kw[data-color="yellow"]:hover,
.article-body .kw[data-color="yellow"]:focus-visible,
.article-body .kw-fig[data-color="yellow"]:hover,
.article-body .kw-fig[data-color="yellow"]:focus-visible,
.article-body .kw-fig[data-color="yellow"].is-open {
  color: var(--kw-yellow);
  -webkit-text-fill-color: var(--kw-yellow);
}

.article-body .kw {
  text-decoration: none;
  cursor: inherit;
}

.article-body .kw-fig {
  display: inline !important;
  text-decoration: none;
  cursor: pointer;
}

.article-body .kw-fig-text {
  display: inline !important;
  font: inherit;
  color: inherit;
  -webkit-text-fill-color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
  text-decoration-color: currentColor;
  transition:
    color 200ms ease,
    -webkit-text-fill-color 200ms ease,
    text-decoration-color 200ms ease;
}

/* 正文同款粗体数字 + 圆形描边（非 Unicode 带圈字符） */
.article-body .kw-fig-num {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  vertical-align: 0.1em;
  box-sizing: border-box;
  width: 1.4em;
  height: 1.4em;
  padding: 0;
  margin-left: 2px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  font-family: Arial, sans-serif;
  font-size: 80%;
  font-weight: 400;
  font-style: normal;
  line-height: 1;
  letter-spacing: -0.06em;
  color: inherit;
  -webkit-text-fill-color: inherit;
  border-color: currentColor;
  text-decoration: none !important;
  -webkit-text-decoration: none !important;
  cursor: pointer;
  pointer-events: auto;
  white-space: nowrap;
  transition:
    color 200ms ease,
    -webkit-text-fill-color 200ms ease,
    border-color 200ms ease;
}

.article-body .kw-fig.is-open {
  opacity: 0.72;
}

/* 叶片开缝时：影响区内文字临时字元弯曲（仅拖拽期间，松手还原） */
.article-content .text-bend-ch,
.article-content .text-bend-unit {
  display: inline-block !important;
  will-change: transform;
  vertical-align: baseline;
  transition: none;
  transform-origin: 50% 50%;
}

/* 关键词旁弹出的科学图注模块（高于正文与窗帘）；整体为原尺寸 70% */
.fig-pop {
  --fig-glow: #027aff;
  --fig-scale: 0.7;
  position: fixed;
  z-index: 200;
  display: block;
  box-sizing: border-box;
  width: calc(300px * var(--fig-scale));
  max-width: calc(100vw - 24px);
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: #ffffff;
  /* 与触发词同色的均匀外发光（随模块等比） */
  box-shadow:
    0 0 calc(15px * var(--fig-scale))
      color-mix(in srgb, var(--fig-glow) 40%, transparent),
    0 0 calc(35px * var(--fig-scale))
      color-mix(in srgb, var(--fig-glow) 20%, transparent);
  overflow: hidden;
  text-transform: none;
  -webkit-user-select: none;
  user-select: none;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: auto;
}

.fig-pop.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.fig-pop-head,
.fig-pop-foot {
  display: block;
  box-sizing: border-box;
  width: 100%;
  margin: 0;
  padding: calc(3px * var(--fig-scale));
  border: 0;
  border-radius: 0;
  background: #ffffff;
  color: #000000;
  font-family: Arial, sans-serif;
  font-weight: 400;
  letter-spacing: 0;
  word-spacing: normal;
  text-align: left;
  text-transform: none;
}

.fig-pop-head {
  font-size: calc(15px * var(--fig-scale));
  line-height: calc(16px * var(--fig-scale));
}

.fig-pop-id::after {
  content: "  ";
}

.fig-pop-foot {
  font-size: calc(13px * var(--fig-scale));
  line-height: calc(15px * var(--fig-scale));
  color: #111111;
}

.fig-pop-foot em {
  font-style: italic;
}

.fig-pop-media {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  line-height: 0;
  background: #f2f2f2;
}

.fig-pop-media img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: #ffffff;
  pointer-events: none;
}

/* 隐藏的 SVG 滤镜：细腻纤维纹理 */
.pleat-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

/* ========== 窗帘竖向滑控（白轨 / 灰胶囊 / 三角箭头） ========== */
.shade-scrollbar {
  /* fixed：相对视口贯通左缘；导航栏居中不盖住左侧 14px，故下端贴视口底以免留白 */
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  width: 14px;
  z-index: 40;
  pointer-events: auto;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  margin: 0;
  padding: 0;
  background: #ffffff;
  border: none;
  border-radius: 0;
  box-shadow: none;
  opacity: 1;
}

.shade-scrollbar.is-active {
  opacity: 1;
}

.shade-scrollbar.is-disabled {
  opacity: 1;
  cursor: default;
}

.sb-arrow {
  appearance: none;
  -webkit-appearance: none;
  flex: 0 0 14px;
  width: 100%;
  height: 14px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: #ffffff;
  cursor: pointer;
  position: relative;
}

.sb-arrow::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0;
  height: 0;
  border-style: solid;
  transform: translate(-50%, -50%);
}

.sb-arrow-up::before {
  border-width: 0 4px 5px 4px;
  border-color: transparent transparent #8e8e8e transparent;
}

.sb-arrow-down::before {
  border-width: 5px 4px 0 4px;
  border-color: #8e8e8e transparent transparent transparent;
}

.sb-arrow-up:hover::before {
  border-bottom-color: #6e6e6e;
}

.sb-arrow-down:hover::before {
  border-top-color: #6e6e6e;
}

.sb-track {
  flex: 1 1 auto;
  position: relative;
  margin: 0;
  border-radius: 0;
  background: #ffffff;
  box-shadow: none;
  cursor: pointer;
  min-height: 48px;
}

.sb-thumb {
  position: absolute;
  left: 2px;
  right: 2px;
  top: 0;
  height: 44px;
  border-radius: 999px;
  background: #8e8e8e;
  box-shadow: none;
  cursor: grab;
}

.sb-thumb:active {
  cursor: grabbing;
  background: #7a7a7a;
}

.shade-scrollbar.is-disabled .sb-thumb,
.shade-scrollbar.is-disabled .sb-track,
.shade-scrollbar.is-disabled .sb-arrow {
  cursor: default;
  pointer-events: none;
}

/* ========== 苍蝇 PNG：全站最高层 ========== */
.fly {
  position: fixed;
  width: 37px; /* 44px × 0.84（缩小 16%） */
  height: auto;
  margin-left: -18.5px;
  margin-top: -18.5px;
  border: none;
  background: none;
  border-radius: 0;
  z-index: 2147483000;
  pointer-events: none;
  will-change: left, top, transform;
  image-rendering: auto;
  user-select: none;
  -webkit-user-drag: none;
  filter: none;
}

/* =========================================================
   底部悬浮导航：早期互联网窗体结构 × 当代平面精修
   ========================================================= */
.site-toolbar {
  /* 弹窗/工具栏普通文字：纯黑；FLY（.stb-logo-a）仍用自身四色动画 */
  --stb-ink: #000000;
  --stb-mute: #000000;
  --stb-line: rgba(0, 0, 0, 0.1);
  --stb-line-strong: rgba(0, 0, 0, 0.14);
  --stb-paper: #ffffff;
  --stb-wash: #f5f5f7;
  --stb-link: #000000;
  --stb-fly-blue: #027aff;
  --stb-fly-green: #01ff0d;
  --stb-fly-purple: #8401f3;
  --stb-fly-yellow: #d7ff12;
  /* 工具栏本体散光 */
  --stb-bar-glow: #027aff;
  --stb-panel-glow: #01ff0d;
  --stb-s: 1;
  /* 弹窗可用高度：视口顶 → 导航条顶（由 JS 必要时覆写） */
  --stb-overlay-max-h: min(
    62vh,
    540px,
    calc(100dvh - var(--stb-bar-h) - max(var(--stb-bottom), env(safe-area-inset-bottom, 0px)) - 16px)
  );
  position: fixed;
  left: 50%;
  bottom: max(var(--stb-bottom), env(safe-area-inset-bottom, 0px));
  transform: translateX(-50%);
  width: min(98%, calc(100vw - 12px));
  max-width: 100vw;
  box-sizing: border-box;
  z-index: 400;
  pointer-events: none;
  /* 必须 visible：ABOUT 等弹窗在条上方，hidden 会裁切 */
  overflow: visible;
  font-family: "ELEPHNT", sans-serif;
  color: var(--stb-ink);
  text-transform: none;
  -webkit-font-smoothing: antialiased;
}

.site-toolbar:not([hidden]) {
  pointer-events: auto;
}

.site-toolbar[hidden] {
  display: none !important;
}

.stb-bar {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: stretch;
  width: 100%;
  height: var(--stb-bar-h);
  max-width: 100%;
  box-sizing: border-box;
  background: var(--stb-paper);
  border: 1px solid var(--stb-line-strong);
  border-radius: 0;
  /* visible：窄屏换行第二行不可被裁切；弹窗仍挂在 .site-toolbar */
  overflow: visible;
  box-shadow:
    0 0 18px color-mix(in srgb, var(--stb-bar-glow) 32%, transparent),
    0 0 42px color-mix(in srgb, var(--stb-bar-glow) 16%, transparent),
    0 8px 28px rgba(0, 0, 0, 0.05);
}

/*
 * 窄宽适配（由 JS 按实际条宽逐级加 class，不单靠媒体查询）：
 * c1–c3 优先压间距 / padding / logo；仍不够则 is-stb-wrap 两行。
 */
.stb-bar.is-stb-c1 .stb-logo {
  padding: 5px 10px 6px 10px;
}

.stb-bar.is-stb-c1 .stb-nav {
  gap: 0;
  padding: 0 6px;
}

.stb-bar.is-stb-c1 .stb-btn {
  padding: 0 8px;
}

.stb-bar.is-stb-c1 .stb-icons {
  gap: 5px;
  padding: 0 8px;
}

.stb-bar.is-stb-c1 .stb-grow {
  min-width: 4px;
}

.stb-bar.is-stb-c2 .stb-logo {
  padding: 4px 8px 5px 8px;
}

.stb-bar.is-stb-c2 .stb-logo-eyebrow {
  font-size: 9px;
  letter-spacing: 0.1em;
  margin-bottom: 2px;
}

.stb-bar.is-stb-c2 .stb-logo-word {
  font-size: 15px;
}

.stb-bar.is-stb-c2 .stb-nav {
  gap: 0;
  padding: 0 4px;
}

.stb-bar.is-stb-c2 .stb-btn {
  padding: 0 5px;
  font-size: 12px;
  letter-spacing: 0.04em;
  height: 26px;
}

.stb-bar.is-stb-c2 .stb-icons {
  gap: 4px;
  padding: 0 6px;
}

.stb-bar.is-stb-c2 .stb-grow {
  min-width: 0;
}

.stb-bar.is-stb-c3 .stb-logo {
  padding: 3px 6px 4px 6px;
  max-width: min(42%, 160px);
}

.stb-bar.is-stb-c3 .stb-logo-eyebrow {
  font-size: 8px;
  letter-spacing: 0.08em;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}

.stb-bar.is-stb-c3 .stb-logo-word {
  font-size: 14px;
}

.stb-bar.is-stb-c3 .stb-nav {
  padding: 0 2px;
}

.stb-bar.is-stb-c3 .stb-btn {
  padding: 0 4px;
  font-size: 11px;
  letter-spacing: 0.03em;
}

.stb-bar.is-stb-c3 .stb-icons {
  gap: 3px;
  padding: 0 4px;
}

.stb-bar.is-stb-c3 .stb-close {
  width: 32px;
  min-width: 32px;
}

/* 文字导航一行，功能图标+关闭换到第二行（.stb-grow 作 100% 断行） */
.stb-bar.is-stb-wrap {
  flex-wrap: wrap;
  height: auto;
  /* 勿绑 --stb-bar-h：该变量会写成实测总高，避免 min-height 反馈撑高 */
  min-height: 0;
  align-items: stretch;
  overflow: visible;
}

.stb-bar.is-stb-wrap .stb-logo {
  order: 1;
  flex: 0 1 auto;
  min-width: 0;
  height: auto;
  min-height: 34px;
}

.stb-bar.is-stb-wrap .stb-nav {
  order: 2;
  flex: 1 1 auto;
  min-width: 0;
  flex-wrap: wrap;
  row-gap: 2px;
}

.stb-bar.is-stb-wrap .stb-grow {
  order: 3;
  flex: 0 0 100%;
  width: 100%;
  min-width: 0;
  height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  overflow: hidden;
  pointer-events: none;
}

.stb-bar.is-stb-wrap .stb-icons {
  order: 4;
  flex: 1 1 auto;
  justify-content: flex-start;
  border-right: 0;
  border-top: 1px solid var(--stb-line);
  padding-top: 4px;
  padding-bottom: 4px;
  min-height: 28px;
}

.stb-bar.is-stb-wrap .stb-close {
  order: 5;
  border-top: 1px solid var(--stb-line);
  height: auto;
  min-height: 28px;
}

/* —— 左侧文字 Logo —— */
.stb-logo {
  appearance: none;
  -webkit-appearance: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  flex: 0 0 auto;
  height: 100%;
  margin: 0;
  padding: 5px 16px 6px 14px;
  border: 0;
  border-right: 1px solid var(--stb-line);
  border-radius: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
  line-height: 1;
  user-select: none;
  transition: background 0.15s ease;
}

.stb-logo:hover {
  background: var(--stb-wash);
}

.stb-logo:active {
  background: #ececee;
}

.stb-logo-eyebrow {
  display: block;
  margin-bottom: 4px;
  font-family: "ELEPHNT", sans-serif;
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--stb-mute);
  text-transform: uppercase;
  white-space: nowrap;
}

.stb-logo-word {
  display: block;
  font-family: "ELEPHNT", sans-serif;
  font-size: 17px;
  letter-spacing: -0.03em;
  line-height: 1;
  white-space: nowrap;
}

/* FLY：四色每 1.2s 硬切（不继承 --stb-ink）；WINDOW：纯黑 */
.stb-logo-a {
  color: #027aff;
  animation: stb-fly-cycle 4.8s infinite;
}

.stb-logo-b {
  color: #000000;
}

@keyframes stb-fly-cycle {
  0%,
  25% {
    color: #027aff;
  }
  25.001%,
  50% {
    color: #01ff0d;
  }
  50.001%,
  75% {
    color: #8401f3;
  }
  75.001%,
  100% {
    color: #d7ff12;
  }
}

/* —— 中部功能按钮 —— */
.stb-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  flex: 0 0 auto;
  gap: 2px;
  padding: 0 10px;
}

.stb-btn {
  appearance: none;
  -webkit-appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 28px;
  margin: 0;
  padding: 0 12px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--stb-ink);
  font-family: inherit;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.06em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  user-select: none;
  box-shadow: none;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}

a.stb-btn,
a.stb-btn:visited {
  color: var(--stb-ink);
  text-decoration: none;
}

.stb-btn:hover {
  background: var(--stb-wash);
}

.stb-btn:active {
  background: #ebebed;
}

.stb-btn.is-active {
  color: #ffffff;
}

.stb-btn[data-stb="about"].is-active,
.stb-btn[data-stb="about"].is-active:hover {
  background: #01ff0d;
  color: #ffffff;
}

.stb-btn[data-stb="index"].is-active,
.stb-btn[data-stb="index"].is-active:hover {
  background: #027aff;
  color: #ffffff;
}

.stb-btn[data-stb="archive"].is-active,
.stb-btn[data-stb="archive"].is-active:hover {
  background: #8401f3;
  color: #ffffff;
}

.stb-btn[data-stb="sources"].is-active,
.stb-btn[data-stb="sources"].is-active:hover {
  background: #d7ff12;
  color: #1d1d1f;
}

.stb-grow {
  flex: 1 1 auto;
  min-width: 16px;
  background: transparent;
  border-left: 1px solid var(--stb-line);
  border-right: 1px solid var(--stb-line);
  /* 小窗口优先吃掉这段空白，见下方 media */
}

/* —— 右侧功能图标 —— */
.stb-icons {
  display: flex;
  flex-direction: row;
  align-items: center;
  flex: 0 0 auto;
  gap: 8px;
  padding: 0 12px;
  background: transparent;
  border-right: 1px solid var(--stb-line);
}

.stb-ico {
  appearance: none;
  -webkit-appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  flex: 0 0 auto;
  opacity: 0.72;
  cursor: pointer;
  color: inherit;
  font: inherit;
  text-decoration: none;
  image-rendering: auto;
  transition: opacity 0.15s ease;
}

.stb-ico:hover,
.stb-ico.is-open,
.stb-ico.is-liked {
  opacity: 1;
}

.stb-ico svg {
  display: block;
  width: 14px;
  height: 14px;
  overflow: visible;
  pointer-events: none;
}

/* Like：填充色由 JS 写 SVG fill 属性；外轮廓固定 */
.stb-ico-star .stb-star-fill {
  stroke: #111;
  stroke-width: 0.8;
  transition: fill 0.12s ease;
}

/* 图标旁小型信息/分享面板（白底细边框，无遮罩无圆角） */
.stb-ico-pop {
  position: absolute;
  z-index: 5;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  min-width: min(196px, calc(100vw - 16px));
  max-width: min(320px, calc(100% - 16px));
  max-height: var(--stb-overlay-max-h);
  padding: 12px 14px 13px;
  background: var(--stb-paper);
  border: 1px solid var(--stb-line-strong);
  border-radius: 0;
  box-shadow: none;
  color: var(--stb-ink);
  font-family: "ELEPHNT", sans-serif;
  text-align: left;
  pointer-events: auto;
  overflow: hidden;
}

.stb-ico-pop[hidden] {
  display: none !important;
}

.stb-ico-pop-title {
  flex: 0 0 auto;
  margin: 0 0 8px;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--stb-ink);
  line-height: 1.2;
}

.stb-ico-pop-body {
  flex: 1 1 auto;
  min-height: 0;
  margin: 0;
  font-size: 12px;
  line-height: 1.45;
  color: var(--stb-ink);
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  scrollbar-width: thin;
}

.stb-ico-pop-body p {
  margin: 0 0 0.7em;
}

.stb-ico-pop-body p:last-child {
  margin-bottom: 0;
}

.stb-ico-mail-link {
  color: var(--stb-ink);
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
  word-break: break-all;
}

.stb-ico-mail-link:hover {
  color: #333333;
}

.stb-ico-share-row {
  display: flex;
  flex-direction: row;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 8px;
  font-size: 12px;
  line-height: 1.35;
}

.stb-ico-share-row:last-child {
  margin-bottom: 0;
}

.stb-ico-share-label {
  flex: 0 0 auto;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 11px;
}

.stb-ico-copy {
  appearance: none;
  -webkit-appearance: none;
  flex: 0 0 auto;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--stb-ink);
  font-family: inherit;
  font-size: 12px;
  line-height: 1.35;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}

.stb-ico-copy:hover {
  color: #333333;
}

.stb-ico-copy.is-copied {
  text-decoration: none;
  cursor: default;
}

.stb-close {
  appearance: none;
  -webkit-appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 42px;
  min-width: 42px;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--stb-mute);
  font-family: inherit;
  cursor: pointer;
  user-select: none;
  transition: background 0.15s ease;
}

.stb-close:hover {
  background: var(--stb-wash);
  color: var(--stb-ink);
}

.stb-close:active {
  background: #ebebed;
}

.stb-close-x {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border: 1px solid var(--stb-line-strong);
  border-radius: 50%;
  background: transparent;
  font-size: 13px;
  line-height: 1;
  color: inherit;
}

/* —— 悬浮弹窗（各自独立淡色散光） —— */
.stb-panel {
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(100% + 8px);
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  max-height: var(--stb-overlay-max-h);
  display: flex;
  flex-direction: column;
  background: var(--stb-paper);
  border: 1px solid var(--stb-line-strong);
  border-radius: 0;
  /* 外壳限制高度；正文在 .stb-panel-body 内滚动，不裁切可读内容 */
  overflow: hidden;
  box-shadow:
    0 0 18px color-mix(in srgb, var(--stb-panel-glow) 34%, transparent),
    0 0 44px color-mix(in srgb, var(--stb-panel-glow) 16%, transparent),
    0 16px 40px rgba(0, 0, 0, 0.06);
}

.stb-panel[hidden] {
  display: none !important;
}

.stb-panel-head {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  flex: 0 0 auto;
  height: 36px;
  min-height: 36px;
  padding: 0 0 0 16px;
  border-bottom: 1px solid var(--stb-line);
  background: var(--stb-paper);
  z-index: 1;
}

.stb-panel-title {
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--stb-mute);
}

.stb-panel-x {
  appearance: none;
  width: 36px;
  height: 36px;
  margin: 0;
  padding: 0;
  border: 0;
  border-left: 1px solid var(--stb-line);
  border-radius: 0;
  background: transparent;
  color: var(--stb-mute);
  font-family: inherit;
  font-size: 17px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.stb-panel-x:hover {
  background: var(--stb-wash);
  color: var(--stb-ink);
}

.stb-panel-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  /* 高度由面板 flex + max-height 约束，勿再叠死 max-height 导致矮屏裁切 */
  max-height: none;
  padding: 18px 20px 22px;
  font-family: "ELEPHNT", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: -0.01em;
  color: var(--stb-ink);
  background: var(--stb-paper);
  border-top: 0;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 0, 0, 0.28) transparent;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.stb-panel-body::-webkit-scrollbar {
  width: 6px;
}

.stb-panel-body::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.28);
  border-radius: 3px;
}

.stb-panel-head,
.stb-panel-body {
  border-left: 0;
  border-right: 0;
}

.stb-panel-body p {
  margin: 0 0 0.9em;
}

.stb-panel-body p:last-child {
  margin-bottom: 0;
}

.stb-kicker {
  margin: 0 0 12px;
  font-family: "ELEPHNT", sans-serif;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--stb-mute);
}

.stb-panel-title,
.stb-source-block h3,
.stb-archive-id,
.stb-index-num {
  font-family: "ELEPHNT", sans-serif;
}

.stb-hr {
  border: 0;
  border-top: 1px solid var(--stb-line);
  margin: 14px 0;
}

.stb-index-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.stb-index-list li {
  margin: 0;
  padding: 0;
  border-bottom: 1px solid var(--stb-line);
}

.stb-index-list li:last-child {
  border-bottom: 0;
}

.stb-index-link {
  display: flex;
  flex-direction: row;
  align-items: baseline;
  gap: 12px;
  width: 100%;
  padding: 10px 2px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--stb-ink);
  font-family: inherit;
  font-size: 13px;
  line-height: 1.4;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.15s ease;
}

.stb-index-link:hover {
  background: transparent;
  color: #9a9a9a;
}

.stb-index-num {
  flex: 0 0 2.2em;
  color: inherit;
  font-size: 11px;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.stb-index-link:hover .stb-index-num {
  color: inherit;
}

.stb-archive-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(148px, 100%), 1fr));
  gap: 14px;
}

.stb-archive-card {
  display: block;
  margin: 0;
  padding: 0;
  border: 1px solid var(--stb-line);
  border-radius: 0;
  background: var(--stb-paper);
  box-shadow: none;
  text-align: left;
  /* 仅浏览展示：无点击、无手形光标、无放大交互 */
  cursor: default;
  pointer-events: none;
  overflow: hidden;
  font-family: inherit;
  color: inherit;
}

.stb-archive-card img {
  display: block;
  width: 100%;
  height: 96px;
  object-fit: cover;
  background: var(--stb-wash);
  border-bottom: 1px solid var(--stb-line);
  pointer-events: none;
  cursor: default;
  user-select: none;
  -webkit-user-drag: none;
}

.stb-archive-meta {
  padding: 9px 10px 11px;
}

.stb-archive-id {
  display: block;
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 4px;
  color: var(--stb-mute);
}

.stb-archive-title {
  display: block;
  font-size: 12px;
  line-height: 1.35;
  color: var(--stb-ink);
  text-decoration: none;
}

.stb-source-block {
  margin: 0 0 18px;
}

.stb-source-block:last-child {
  margin-bottom: 0;
}

.stb-source-block h3 {
  margin: 0 0 8px;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 400;
  color: var(--stb-mute);
}

.stb-source-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.stb-source-list li {
  margin: 0 0 10px;
  padding: 0 0 10px;
  border-bottom: 1px solid var(--stb-line);
  font-size: 12px;
  line-height: 1.45;
  color: var(--stb-ink);
}

.stb-source-list li:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}

.stb-source-fig {
  color: var(--stb-mute);
  margin-right: 6px;
  letter-spacing: 0.04em;
}

/* =========================================================
   Responsive typography & chrome（小窗口适配；大屏保持原样）
   ========================================================= */

/* —— 右栏：随可用宽度缩放字号 / 行高 / 字距 / 描边 —— */
@container body-col (max-width: 560px) {
  .article-layout:not(.reader-fullbleed) .article-body {
    --body-size: clamp(13px, 3.35cqi + 8px, 18px);
    --body-lh: 1.4;
    --body-tracking: normal;
    --body-stroke-w: 8px;
    -webkit-hyphens: none;
    hyphens: none;
  }

  .article-layout.reader-fullbleed .article-body {
    font-size: 15px;
    line-height: 1.25;
  }
}

@container body-col (max-width: 350px) {
  .article-layout:not(.reader-fullbleed) .article-body {
    --body-size: clamp(12px, 4.2cqi + 6px, 16px);
    --body-lh: 1.4;
    --body-tracking: normal;
    text-align: left;
    word-spacing: normal;
  }

  .article-layout:not(.reader-fullbleed) .article-body .body-section,
  .article-layout:not(.reader-fullbleed) .article-body .body-para,
  .article-layout:not(.reader-fullbleed) .article-body .article-kicker {
    text-align: left;
  }

  .article-layout.reader-fullbleed .article-body {
    font-size: 14px;
    line-height: 1.25;
  }
}

/* —— 左栏：字号随宽度（标题尺寸见下方小窗口专用规则） —— */
@container meta-col (max-width: 420px) {
  .article-meta {
    --body-size: clamp(12px, 4.8cqi + 6px, 18px);
    --ui-stroke-w: 8px;
    -webkit-hyphens: none;
    hyphens: none;
    padding-left: 18px;
    box-sizing: border-box;
  }

  .article-meta .meta-group:first-of-type {
    margin-top: 0.55em;
  }

  .article-meta .meta-line,
  .article-meta-nav .toc-link {
    font-size: var(--body-size);
    -webkit-text-stroke: var(--ui-stroke-w) var(--ui-stroke);
  }
}

@container meta-col (max-width: 280px) {
  .article-meta {
    --body-size: clamp(11px, 5.5cqi + 4px, 15px);
    padding-left: 20px;
  }
}

/* 视口变窄：收紧分栏间距（大屏 column-gap 22px 不变） */
@media (max-width: 1100px) {
  .article-layout:not(.reader-fullbleed) {
    column-gap: 14px;
  }

  .article-content {
    padding: 0;
  }

  .article-layout.reader-fullbleed .article-body-clip {
    padding: 32px 32px 48px 28px;
  }

  .article-meta {
    padding-left: 18px;
    box-sizing: border-box;
    text-align: left;
  }

  .article-meta .meta-group,
  .article-meta .meta-line,
  .article-meta-nav,
  .article-meta-nav .toc-link {
    max-width: 100%;
    text-align: left;
  }

  /* 中等窄屏：标题仍在左列，取消负偏移防裁切 */
  .article-layout > .meta-title-lockup {
    transform: none;
    width: 100%;
    max-width: 100%;
    margin: 0 0 0.45em;
  }
}

@media (max-width: 820px) {
  .article-layout:not(.reader-fullbleed) {
    column-gap: 10px;
  }

  .article-layout:not(.reader-fullbleed) .article-body-clip {
    padding: 0 6px;
  }

  .article-layout.reader-fullbleed .article-body-clip {
    padding: 28px 28px 44px 24px;
  }

  .article-meta {
    padding-left: 20px;
  }
}

/*
 * ≤600px：标题横跨两栏实际内容宽（100%）；
 * 左缘对齐左栏文字，右缘对齐右栏正文；SVG 居中、无水平偏移。
 */
@media (max-width: 600px) {
  .article-viewport:not(.is-hidden) {
    overflow: visible;
  }

  .article-content {
    overflow: visible;
  }

  .article-layout:not(.reader-fullbleed) {
    grid-template-columns: 30% minmax(0, 1fr);
    grid-template-rows: auto minmax(0, 1fr);
    column-gap: 10px;
    row-gap: 0;
    overflow: visible;
    /* 标题+左右栏整体上移 20px；内部相对间距不变 */
    margin-top: -20px;
  }

  .article-layout.reader-fullbleed {
    margin-top: 0;
    overflow: hidden;
  }

  .article-layout > .meta-title-lockup {
    grid-column: 1 / -1;
    grid-row: 1;
    justify-self: stretch;
    /* 与左栏 padding-left / 右栏 padding-right 对齐内容边缘；再右移 2px */
    width: auto;
    max-width: none;
    height: auto;
    margin: 12px 6px 12px 27px;
    padding: 0;
    transform: none;
    overflow: visible;
    line-height: 0;
    text-align: center;
  }

  /* 以自身中心为基准放大至 135%；占位随高度增加，避免裁切 */
  .article-layout > .meta-title-lockup .mtl {
    display: block;
    width: 135%;
    max-width: none;
    height: auto;
    margin: 0 0 0 -17.5%;
    overflow: visible;
    transform: none;
  }

  /* 两栏同在第 2 行 → 顶部严格对齐 */
  .article-meta {
    grid-column: 1;
    grid-row: 2;
    padding-top: 0;
    min-height: 0;
  }

  .article-body-clip {
    grid-column: 2;
    grid-row: 2;
    min-height: 0;
  }

  .article-meta .meta-group:first-of-type {
    margin-top: 0;
  }
}

/*
 * 底部工具栏较窄视口：保留全部控件；压缩与换行由 JS（fitToolbarBar）按实际宽度决定。
 * 不再用 scale / overflow:hidden 裁切。
 */
@media (max-width: 1100px) {
  :root {
    --stb-bar-h: 42px;
    --stb-bottom: 6px;
  }

  .stb-grow {
    flex: 1 1 0;
    min-width: 0;
  }

  .stb-logo,
  .stb-nav,
  .stb-icons,
  .stb-close {
    flex-shrink: 0;
  }

  .stb-icons {
    display: flex !important;
  }

  .stb-logo-eyebrow {
    display: block !important;
  }
}

@media (max-width: 780px) {
  :root {
    --stb-bar-h: 38px;
    --stb-bottom: 5px;
  }
}

/* ≤600px：贴视口底满宽；高度随单行/双行由 JS 写入 --stb-bar-h */
@media (max-width: 600px) {
  :root {
    --stb-bar-h: 36px;
    --stb-bottom: 0px;
  }

  .site-toolbar {
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    transform: none !important;
    overflow: visible !important;
    box-sizing: border-box;
  }

  .stb-bar {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .stb-panel {
    left: 0;
    right: 0;
    max-height: var(--stb-overlay-max-h);
    transform: none;
  }

  .stb-panel-body {
    max-height: none;
  }
}

/* 矮视口：压缩弹窗内边距与间距，保留字号；高度靠滚动吃满内容 */
@media (max-height: 560px) {
  .site-toolbar {
    --stb-overlay-max-h: min(
      70vh,
      calc(100dvh - var(--stb-bar-h) - max(var(--stb-bottom), env(safe-area-inset-bottom, 0px)) - 10px)
    );
  }

  .stb-panel-body {
    padding: 12px 14px 14px;
  }

  .stb-panel-body p {
    margin-bottom: 0.55em;
  }

  .stb-kicker {
    margin-bottom: 8px;
  }

  .stb-hr {
    margin: 10px 0;
  }

  .stb-index-link {
    padding: 7px 2px;
  }

  .stb-archive-grid {
    gap: 8px;
  }

  .stb-archive-card img {
    height: 72px;
  }

  .stb-archive-meta {
    padding: 7px 8px 8px;
  }

  .stb-source-block {
    margin-bottom: 12px;
  }

  .stb-source-list li {
    margin-bottom: 8px;
    padding-bottom: 8px;
  }

  .stb-ico-pop {
    padding: 10px 12px 11px;
  }

  .stb-ico-pop-title {
    margin-bottom: 6px;
  }

  .stb-ico-pop-body p {
    margin-bottom: 0.5em;
  }
}

@media (max-height: 380px) {
  .site-toolbar {
    --stb-overlay-max-h: calc(
      100dvh - var(--stb-bar-h) - max(var(--stb-bottom), env(safe-area-inset-bottom, 0px)) - 6px
    );
  }

  .stb-panel-head {
    height: 32px;
    min-height: 32px;
  }

  .stb-panel-x {
    height: 32px;
    width: 32px;
  }

  .stb-panel-body {
    padding: 8px 10px 10px;
    font-size: 15px;
    line-height: 1.45;
  }

  .stb-archive-card img {
    height: 56px;
  }

  .stb-ico-pop {
    padding: 8px 10px;
    min-width: min(160px, calc(100vw - 12px));
  }
}

/* =========================================================
   电脑版 PAGE 02：左百叶窗 ~80% / 右竖向工具栏 ~20%
   仅 html:not(.fly-mobile).is-page02-split；手机完全不匹配。
   百叶窗只改 right 缩短宽度，不用 scale。
   ========================================================= */
html:not(.fly-mobile).is-page02-split {
  --page02-gutter: 12px;
  --page02-rail-pct: 0.2;
}

/*
 * 百叶窗实际 right 由 JS 按窗体宽度写入（保证 80:20 + gutter）。
 * 此处仅作回退：约留出右侧 20% + 间距。
 */
html:not(.fly-mobile).is-page02-split .blinds {
  /* right 以 px 内联优先；无内联时用百分比近似 */
  right: calc(20% + var(--frame) * 0.6 + var(--page02-gutter));
}

html:not(.fly-mobile).is-page02-split .site-toolbar {
  /* top/left/width/height 由 JS 与百叶窗外边界严格对齐 */
  left: auto;
  right: auto;
  bottom: auto;
  transform: none;
  width: auto;
  max-width: none;
  overflow: visible;
  /* 浅色片材上用灰字提高对比；FLY（.stb-logo-a）四色动画不改 */
  --stb-ink: #666666;
  --stb-mute: #666666;
  --stb-line: rgba(90, 105, 125, 0.28);
  --stb-line-strong: rgba(90, 105, 125, 0.4);
  --stb-paper: transparent;
  --stb-wash: rgba(255, 255, 255, 0.28);
  --stb-link: #666666;
  color: #666666;
}

html:not(.fly-mobile).is-page02-split .stb-bar {
  position: relative;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: stretch;
  width: 100%;
  height: 100%;
  max-width: 100%;
  min-height: 0;
  /* 整栏不滚；仅关键词区内部滚动 */
  overflow: hidden;
  isolation: isolate;
  /* 与 .blind-slat-face 相同的乳白半透明片材（不另造材质） */
  background-color: transparent;
  background-image: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.92) 0%,
    rgba(248, 250, 253, 0.88) 38%,
    rgba(230, 235, 242, 0.86) 72%,
    rgba(216, 223, 234, 0.88) 100%
  );
  background-repeat: no-repeat;
  background-size: auto;
  background-position: 0 0;
  border: 0.5px solid rgba(255, 255, 255, 0.72);
  border-bottom-color: rgba(120, 132, 148, 0.18);
  border-radius: 1.5px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.78),
    inset 0 -1px 0 rgba(90, 105, 125, 0.1),
    0 1px 1px rgba(50, 65, 85, 0.06);
}

/* 与叶片 face::before / ::after 相同的上下光影罩 */
html:not(.fly-mobile).is-page02-split .stb-bar::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 42%;
  pointer-events: none;
  z-index: 0;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.5) 0%,
    rgba(255, 255, 255, 0.12) 55%,
    rgba(255, 255, 255, 0) 100%
  );
}

html:not(.fly-mobile).is-page02-split .stb-bar::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 35%;
  pointer-events: none;
  z-index: 0;
  background: linear-gradient(
    180deg,
    rgba(70, 85, 105, 0) 0%,
    rgba(60, 75, 95, 0.1) 100%
  );
}

html:not(.fly-mobile).is-page02-split .stb-bar > * {
  position: relative;
  z-index: 1;
}

html:not(.fly-mobile).is-page02-split .stb-logo {
  order: 1;
  width: 100%;
  max-width: 100%;
  height: auto;
  min-height: 0;
  flex: 0 0 auto;
  border-right: 0;
  border-bottom: 1px solid var(--stb-line);
  padding: 10px 12px 12px;
  box-sizing: border-box;
  color: #666666;
}

html:not(.fly-mobile).is-page02-split .stb-logo-eyebrow {
  white-space: normal;
  max-width: 100%;
  color: #666666;
}

html:not(.fly-mobile).is-page02-split .stb-logo-word {
  white-space: normal;
  word-break: break-word;
}

/* WINDOW 灰色；FLY 跑马灯四色动画不覆盖 */
html:not(.fly-mobile).is-page02-split .stb-logo-b {
  color: #666666;
}

html:not(.fly-mobile).is-page02-split .stb-nav {
  order: 2;
  flex-direction: column;
  flex: 0 0 auto;
  align-items: stretch;
  width: 100%;
  gap: 2px;
  padding: 8px 6px;
  box-sizing: border-box;
}

html:not(.fly-mobile).is-page02-split .stb-btn {
  width: 100%;
  height: auto;
  min-height: 28px;
  padding: 8px 10px;
  box-sizing: border-box;
  justify-content: flex-start;
  white-space: normal;
  text-align: left;
  color: #666666;
}

html:not(.fly-mobile).is-page02-split .stb-btn:hover {
  background: var(--stb-wash);
  color: #666666;
}

/* Desktop 竖栏：主弹窗不可手动关闭，去掉 X */
html:not(.fly-mobile).is-page02-split .stb-close {
  display: none !important;
}

/*
 * 导航 + 关键词共用随机荧光高亮（色值来自 --stb-neon，由 JS 写入）
 * 覆盖 page02 的灰字 / hover，保证整块可点区域铺色
 */
html:not(.fly-mobile).is-page02-split .stb-btn.is-active,
html:not(.fly-mobile).is-page02-split .stb-btn[data-stb].is-active,
html:not(.fly-mobile).is-page02-split .stb-btn[data-stb].is-active:hover {
  background: transparent;
  color: #666666;
}

html:not(.fly-mobile).is-page02-split .stb-btn.is-neon-active,
html:not(.fly-mobile).is-page02-split .stb-btn.is-neon-active:hover,
html:not(.fly-mobile).is-page02-split .stb-btn.is-neon-active:active,
html:not(.fly-mobile).is-page02-split .stb-kw-btn.is-neon-active,
html:not(.fly-mobile).is-page02-split .stb-kw-btn.is-neon-active:hover,
html:not(.fly-mobile).is-page02-split .stb-kw-btn.is-neon-active:active {
  background: var(--stb-neon, #01ff0d) !important;
  background-image: none !important;
  color: #ffffff !important;
}

html:not(.fly-mobile).is-page02-split .stb-btn.is-neon-active.is-neon-on-yellow,
html:not(.fly-mobile).is-page02-split .stb-btn.is-neon-active.is-neon-on-yellow:hover,
html:not(.fly-mobile).is-page02-split .stb-kw-btn.is-neon-active.is-neon-on-yellow,
html:not(.fly-mobile).is-page02-split .stb-kw-btn.is-neon-active.is-neon-on-yellow:hover {
  color: #1d1d1f !important;
}

/* 拍苍蝇 GIF：高于工具栏、低于苍蝇；不受弹窗 clip-path 裁切 */
html:not(.fly-mobile).is-page02-split .title-decoration-gif.is-rail-anchored {
  position: fixed !important;
  z-index: 500;
  pointer-events: none;
}

/* Desktop 竖栏关键词索引：与导航同款字样，仅本区可滚 */
html:not(.fly-mobile) .stb-kw-index {
  display: none;
}

html:not(.fly-mobile).is-page02-split .stb-kw-index {
  order: 4;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  align-items: stretch;
  align-self: stretch;
  width: 100%;
  min-height: 0;
  max-height: none;
  gap: 2px;
  padding: 8px 6px;
  box-sizing: border-box;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

html:not(.fly-mobile).is-page02-split .stb-kw-btn {
  appearance: none;
  -webkit-appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  height: auto;
  min-height: 28px;
  margin: 0;
  padding: 8px 10px;
  box-sizing: border-box;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #666666;
  font-family: inherit;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.06em;
  line-height: 1.25;
  text-align: left;
  text-transform: none;
  text-decoration: none;
  white-space: normal;
  cursor: pointer;
  user-select: none;
  box-shadow: none;
  transition: background 0.15s ease, color 0.15s ease;
}

html:not(.fly-mobile).is-page02-split .stb-kw-btn:hover {
  background: var(--stb-wash);
  color: #666666;
}

html:not(.fly-mobile).is-page02-split .stb-kw-btn:active {
  background: #ebebed;
}

html:not(.fly-mobile).is-page02-split .stb-grow {
  order: 4;
  display: none;
  flex: 0 0 auto;
  min-height: 0;
  width: 100%;
  border: 0;
  background: transparent;
}

html:not(.fly-mobile).is-page02-split .stb-icons {
  order: 5;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  align-self: flex-start;
  width: auto;
  max-width: 100%;
  gap: 8px;
  /* 与上方菜单文字左缘对齐；靠近弹窗底边并留内边距 */
  margin: 0;
  padding: 8px 6px 16px 10px;
  border-right: 0;
  border-top: 0;
  box-sizing: border-box;
  flex: 0 0 auto;
}

html:not(.fly-mobile).is-page02-split .stb-close:hover {
  color: #666666;
}

html:not(.fly-mobile).is-page02-split .stb-close-x {
  color: #666666;
}

/*
 * ABOUT / INDEX 等二级弹窗：复用竖栏 .stb-bar 片材（不透明底 + 同款渐变），
 * 避免 --stb-paper: transparent 导致内容与底层叠字。
 */
html:not(.fly-mobile).is-page02-split .stb-panel,
html:not(.fly-mobile).is-page02-split .stb-ico-pop {
  background-color: rgb(232, 237, 245);
  background-image: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.92) 0%,
    rgba(248, 250, 253, 0.88) 38%,
    rgba(230, 235, 242, 0.86) 72%,
    rgba(216, 223, 234, 0.88) 100%
  );
  background-repeat: no-repeat;
  background-size: auto;
  background-position: 0 0;
  border: 0.5px solid rgba(255, 255, 255, 0.72);
  border-bottom-color: rgba(120, 132, 148, 0.18);
  border-radius: 1.5px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.78),
    inset 0 -1px 0 rgba(90, 105, 125, 0.1),
    0 1px 1px rgba(50, 65, 85, 0.06);
}

html:not(.fly-mobile).is-page02-split .stb-panel-head,
html:not(.fly-mobile).is-page02-split .stb-panel-body {
  background-color: transparent;
  background-image: none;
}

/* ABOUT 等主面板：开在竖栏左侧，不改内部字体/内容 */
html:not(.fly-mobile).is-page02-split .stb-panel {
  left: auto;
  right: calc(100% + 8px);
  bottom: auto;
  top: 0;
  width: min(420px, 46vw);
  max-width: min(420px, calc(100vw - 48px));
  max-height: min(var(--stb-overlay-max-h), 100%);
}

/* 图标小弹层：开在竖栏左侧 */
html:not(.fly-mobile).is-page02-split .stb-ico-pop {
  left: auto;
  right: calc(100% + 8px);
  bottom: auto;
  top: 0;
  max-width: min(280px, 42vw);
}
