/* ============================================================================
   DreamLab · 全站设计系统  site.css
   ----------------------------------------------------------------------------
   这个文件是全站视觉的【唯一真相源】。

   背景：此前站点实际上存在 4 套并行令牌 ——
     首页 app.css : --bg-0/--accent/--text/--muted   主色 #37d5ff
     8 个子页     : --bg/--cyan/--txt/--sub           主色 #4ad0e6
     buyer-faq    : --bg/--accent (蓝 #6ea8fe)
     upgrade-videos: --cyan:#4fc3f7 / --purple
   → 同一个站出现 4 种青、3 种底色、3 种金，跨页跳转能看出跳色。

   本文件的做法：定义一套新令牌（--dl-*），再把【所有旧名字 alias 过去】。
   由此 12 个子页的既有 CSS 一行都不用改，颜色自动收敛到同一套。
   加载顺序上 site.css 放在各页内联 <style> 之后，同优先级后者胜，故能覆盖。

   改动本文件后记得：public/*.html 里 site.css?v=N 要同步 +1（长缓存）
   ============================================================================ */

/* ===========================================================================
   1. 设计令牌 —— 唯一真相源
   =========================================================================== */
:root {
  /* ---- 1.1 底色 / 平面 ---- */
  --dl-bg-0:    #050b16;   /* 页面底 */
  --dl-bg-1:    #081120;   /* 抬升一层（卡片底、表单底） */
  --dl-bg-2:    #0b1626;   /* 再抬升（弹窗、下拉） */
  --dl-bg-3:    #0f1c30;   /* 最高层（浮层、悬浮态） */

  /* ---- 1.2 边框 / 分隔 ---- */
  /* 从纯白 alpha 改为向品牌青偏移：亮度接近，但跨区块更统一、更"设计过" */
  --dl-line:        rgba(126, 182, 230, 0.14);
  --dl-line-soft:   rgba(126, 182, 230, 0.08);
  --dl-line-strong: rgba(126, 182, 230, 0.30);
  --dl-line-accent: rgba(74, 208, 230, 0.45);

  /* ---- 1.3 面板 / 覆盖层 ---- */
  --dl-panel:   rgba(150, 200, 255, 0.045);
  --dl-panel-2: rgba(150, 200, 255, 0.075);
  --dl-panel-3: rgba(150, 200, 255, 0.11);
  --dl-card:    rgba(13, 26, 48, 0.72);

  /* ---- 1.4 文字（对比度已实测，见文末自检表） ---- */
  --dl-text:   #e8eef7;   /* 正文        对底色 15.1:1 */
  --dl-text-2: #c3d2e6;   /* 次级标题 */
  --dl-muted:  #8fa3bd;   /* 辅助文字      对底色 7.1:1 */
  --dl-dim:    #64768f;   /* 极弱（时间戳、占位符） 4.1:1 —— 仅用于非关键信息 */

  /* ---- 1.5 品牌主色（青）：收敛自 8 个子页的 #4ad0e6 ---- */
  --dl-accent:      #4ad0e6;
  --dl-accent-hi:   #82e7f6;   /* hover / 高光 */
  --dl-accent-lo:   #2a9db3;   /* active / 描边 */
  --dl-accent-deep: #0d3a47;   /* 主色的深底 */
  --dl-accent-a06:  rgba(74, 208, 230, 0.06);
  --dl-accent-a12:  rgba(74, 208, 230, 0.12);
  --dl-accent-a24:  rgba(74, 208, 230, 0.24);
  --dl-accent-a45:  rgba(74, 208, 230, 0.45);
  --dl-accent-glow: 0 0 24px rgba(74, 208, 230, 0.35);

  /* 主色的第二停靠点：蓝青渐变用（此前 index.html 用 #7c5cff 紫 → 与品牌无关联） */
  --dl-accent-2:    #6f9dff;
  --dl-accent-2-hi: #a7c1ff;   /* hover / 深底上的浅蓝文字 */
  --dl-accent-2-lo: #4a72d8;

  /* 亮底上的深色墨（金/青实心按钮的文字色，此前是 #10151f 硬编码） */
  --dl-ink:       #0a1420;
  --dl-ink-soft:  rgba(10, 20, 32, 0.62);

  /* ---- 1.6 品牌副色（金）：收敛自 7 个子页的 #f5c45a ---- */
  --dl-gold:     #f5c45a;
  --dl-gold-hi:  #ffd98a;
  --dl-gold-lo:  #b98f2e;
  --dl-gold-a12: rgba(245, 196, 90, 0.12);
  --dl-gold-a24: rgba(245, 196, 90, 0.24);
  --dl-gold-glow: 0 0 24px rgba(245, 196, 90, 0.32);

  /* ---- 1.7 语义色（四态统一，此前各页硬编码） ---- */
  --dl-ok:      #4be0a0;
  --dl-warn:    #ffc964;
  --dl-danger:  #ff6b6b;
  --dl-info:    #6ea8fe;
  /* 各语义色的深阶：给渐变用（此前 badge 用的是 #ff4757→#ff6b81 这种第四种红） */
  --dl-ok-lo:     #2ba876;
  --dl-warn-lo:   #c99a2e;
  --dl-danger-lo: #d64545;
  --dl-info-lo:   #4a80d8;
  --dl-ok-a12:     rgba(75, 224, 160, 0.12);
  --dl-warn-a12:   rgba(255, 201, 100, 0.12);
  --dl-danger-a12: rgba(255, 107, 107, 0.12);
  --dl-info-a12:   rgba(110, 168, 254, 0.12);

  /* ---- 1.8 圆角尺度 ---- */
  --dl-r-xs:  6px;
  --dl-r-sm:  10px;
  --dl-r-md:  14px;   /* 默认 */
  --dl-r-lg:  20px;
  --dl-r-xl:  26px;
  --dl-r-full: 999px;

  /* ---- 1.9 阴影尺度（含品牌发光） ---- */
  --dl-sh-1: 0 2px 8px rgba(2, 8, 20, 0.40);
  --dl-sh-2: 0 10px 30px rgba(2, 8, 20, 0.50);
  --dl-sh-3: 0 18px 50px rgba(2, 8, 20, 0.55);
  --dl-sh-4: 0 28px 70px rgba(2, 8, 20, 0.62);
  --dl-sh-accent: 0 0 0 1px var(--dl-accent-a24), 0 10px 34px rgba(74, 208, 230, 0.18);
  --dl-sh-gold:   0 0 0 1px var(--dl-gold-a24),   0 10px 34px rgba(245, 196, 90, 0.16);

  /* ---- 1.10 间距尺度（8 的倍数，含 3 档半格） ---- */
  --dl-s-1:  4px;
  --dl-s-2:  8px;
  --dl-s-3:  12px;
  --dl-s-4:  16px;
  --dl-s-5:  20px;
  --dl-s-6:  24px;
  --dl-s-7:  32px;
  --dl-s-8:  40px;
  --dl-s-9:  56px;
  --dl-s-10: 72px;

  /* ---- 1.11 排版尺度 ---- */
  --dl-fs-xs:  11px;
  --dl-fs-sm:  12px;
  --dl-fs-md:  13.5px;
  --dl-fs-base:14.5px;
  --dl-fs-lg:  16px;
  --dl-fs-xl:  19px;
  --dl-fs-2xl: 24px;
  --dl-fs-3xl: clamp(26px, 4.4vw, 40px);
  --dl-fs-hero: clamp(32px, 5.4vw, 58px);
  /* 标题层级专用：子页 h1 用 h1，卡片/区块标题用 lg(16) 与 18 两档 */
  --dl-fs-h1: clamp(26px, 4.6vw, 42px);

  --dl-lh-tight: 1.22;
  --dl-lh-snug:  1.5;
  --dl-lh-base:  1.75;
  --dl-lh-loose: 2;

  /* ---- 1.11b 字距阶梯（7 档，每档肉眼可分） ----
     改造前全站出现过 13 档 em（.02/.03/.04/.05/.06/.08/.1/.12/.16/.18/.2/.22/.42）
     + 3 档 px（0.5/1/2）。相邻只差 0.01~0.02em 的成组出现（.04/.05/.06、
     .1/.12/.16、.18/.2/.22）—— 那不是设计决定，是漂移。
     现在只留 7 档，遵循「字号越大、字距越紧」的光学规律：
       ls-1 .02em → H1
       ls-2 .04em → H2 / H3 / 正文强调
       ls-3 .06em → 按钮、次级标签
       ls-4 .08em → 大写小标签、卡片标题
       ls-5 .12em → 区块标签
       caps .22em → 词标 / 超宽标签（紧贴 Logo，比栏目标签紧）
       eyebrow .42em → 唯一的装饰性超宽字距（首页 eyebrow）
     px 字距一律不用：同一水印在 12px 与 11px 下观感会不一致。 */
  --dl-ls-1: 0.02em;
  --dl-ls-2: 0.04em;
  --dl-ls-3: 0.06em;
  --dl-ls-4: 0.08em;
  --dl-ls-5: 0.12em;
  --dl-ls-caps: 0.22em;   /* 全大写标签的字距 */
  --dl-ls-eyebrow: 0.42em;
  --dl-ls-wide: 0.08em;   /* 旧的别名，保留以免子页引用不到 */
  --dl-ls-tight: -0.01em;

  --dl-font: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --dl-font-mono: "Orbitron", "Noto Sans SC", ui-monospace, "SFMono-Regular", Menlo, monospace;

  /* ---- 1.12 动效曲线与时长（全站统一，不再各写各的） ---- */
  --dl-ease:      cubic-bezier(0.22, 0.70, 0.20, 1);    /* 通用：入场 */
  --dl-ease-out:  cubic-bezier(0.16, 1, 0.30, 1);       /* 出场/强调，回弹感 */
  --dl-ease-io:   cubic-bezier(0.65, 0, 0.35, 1);       /* 双向 */
  --dl-ease-back: cubic-bezier(0.34, 1.36, 0.64, 1);    /* 轻微过冲 */
  --dl-dur-1: 0.16s;   /* 即时反馈：hover / active */
  --dl-dur-2: 0.28s;   /* 常规过渡 */
  --dl-dur-3: 0.50s;   /* 入场动画 */
  --dl-dur-4: 0.80s;   /* 大块内容 */

  /* ---- 1.13 层级 ---- */
  --dl-z-bg: 0;
  --dl-z-content: 1;
  --dl-z-sticky: 40;
  --dl-z-header: 50;
  --dl-z-overlay: 100;
  --dl-z-modal: 1000;
  --dl-z-toast: 2000;
}

/* ===========================================================================
   2. 兼容别名 —— 让 12 个子页的既有 CSS 零改动继承新令牌
   =========================================================================== */
:root {
  /* 8 个子页的命名 */
  --bg:    var(--dl-bg-0);
  --bg2:   var(--dl-bg-1);
  --card:  var(--dl-card);
  --line:  var(--dl-line);
  --cyan:  var(--dl-accent);
  --txt:   var(--dl-text);
  --sub:   var(--dl-muted);
  --gold2: var(--dl-gold-hi);
  --purple: var(--dl-accent-2);   /* 原本是 #7c5cff 紫，与品牌无关联，并入第二主色 */
  --red:   var(--dl-danger);

  /* 首页 app.css 的命名 */
  --bg-0: var(--dl-bg-0);
  --bg-1: var(--dl-bg-1);
  --panel:   var(--dl-panel);
  --panel-2: var(--dl-panel-2);
  --line-strong: var(--dl-line-strong);
  --accent:   var(--dl-accent);
  --accent-2: var(--dl-accent-2);
  --accent2:  var(--dl-accent-2);   /* after-sales.html 用的无连字符写法 */
  --accent-bg: var(--dl-accent-a12);
  --gold:   var(--dl-gold);
  --text:   var(--dl-text);
  --muted:  var(--dl-muted);
  --hover:  var(--dl-panel-2);
  --card-border: var(--dl-line);
  --dot-r: var(--dl-danger);
  --dot-y: var(--dl-warn);
  --dot-g: var(--dl-ok);
  --radius: var(--dl-r-md);
  --shadow: var(--dl-sh-3);

  /* 自定义滚动条宽度，供下面 ::-webkit-scrollbar 使用 */
  --dl-scrollbar: 10px;

  color-scheme: dark;
}

/* 明亮主题：子页此前完全没有，这里补齐，两套命名一起切 */
[data-theme="light"] {
  --dl-bg-0: #eef4fb;
  --dl-bg-1: #e4edf8;
  --dl-bg-2: #ffffff;
  --dl-bg-3: #ffffff;

  --dl-line:        rgba(24, 74, 132, 0.14);
  --dl-line-soft:   rgba(24, 74, 132, 0.08);
  --dl-line-strong: rgba(24, 74, 132, 0.30);
  --dl-line-accent: rgba(15, 143, 196, 0.45);

  --dl-panel:   rgba(20, 60, 120, 0.045);
  --dl-panel-2: rgba(20, 60, 120, 0.075);
  --dl-panel-3: rgba(20, 60, 120, 0.11);
  --dl-card:    rgba(255, 255, 255, 0.86);

  --dl-text:   #0b1728;   /* 对底色 15.6:1 */
  --dl-text-2: #24384f;
  --dl-muted:  #47597a;   /* 对底色 7.3:1 */
  --dl-dim:    #6b7d99;

  --dl-accent:      #0f8fc4;   /* 浅底上需要更深的青才够对比度 */
  --dl-accent-hi:   #16a8e0;
  --dl-accent-lo:   #0a6f9c;
  --dl-accent-deep: #d6eefa;
  --dl-accent-a06:  rgba(15, 143, 196, 0.06);
  --dl-accent-a12:  rgba(15, 143, 196, 0.12);
  --dl-accent-a24:  rgba(15, 143, 196, 0.24);
  --dl-accent-a45:  rgba(15, 143, 196, 0.45);
  --dl-accent-glow: 0 0 24px rgba(15, 143, 196, 0.22);

  --dl-gold:     #b8801a;
  --dl-gold-hi:  #d29a2c;
  --dl-gold-lo:  #8f6410;
  --dl-gold-a12: rgba(184, 128, 26, 0.12);
  --dl-gold-a24: rgba(184, 128, 26, 0.24);
  --dl-gold-glow: 0 0 24px rgba(184, 128, 26, 0.22);

  --dl-ok:     #1a9e6a;
  --dl-warn:   #b8801a;
  --dl-danger: #d64545;
  --dl-info:   #3a6fd8;

  --dl-sh-1: 0 2px 8px rgba(30, 60, 110, 0.10);
  --dl-sh-2: 0 10px 30px rgba(30, 60, 110, 0.14);
  --dl-sh-3: 0 18px 50px rgba(30, 60, 110, 0.18);
  --dl-sh-4: 0 28px 70px rgba(30, 60, 110, 0.22);

  color-scheme: light;
}

/* ===========================================================================
   3. 基础层 —— 跨页一致的"看不见的细节"
   =========================================================================== */

/* 3.1 字体渲染：深底浅字在 Windows 上默认发糊，开启灰度平滑更锐利 */
html {
  -webkit-text-size-adjust: 100%;          /* 修 iOS 横屏字号被放大 */
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;                /* 锚点跳转不被页头压住 */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* 3.2 标题断行：中文长标题在窄屏不再出现"孤字成行" */
h1, h2, h3, .opt-title, .sec-title, .section-title {
  text-wrap: balance;
}
p, li, .desc, .sub {
  text-wrap: pretty;
}

/* ---------------------------------------------------------------------------
   3.2b 排版节奏 —— 标题的行高 / 字距 / 字重
   ---------------------------------------------------------------------------
   审计（改造前）25 条标题规则里：只有 1 条写了 line-height；
   字距出现 .02em / .06em / .08em / 2px 四种；字重出现 700/600/900/默认 四种。
   单看每一页都还行，但翻页跳转时"不是一个系统做的"会立刻看出来。

   这里按【光学字距】统一：字越大越收紧，字越小越放开。
   中文大字本身左右留白就宽，再加宽字距会显得廉价。

   为什么不直接写 h1/h2/h3 了事：
     各页用的是 .hero h1 / .header h1 / .card h3 这类复合选择器，
     优先级 0,1,1 高过元素选择器 0,0,1 —— 只写 h1 根本盖不住。
     所以下面的选择器必须逐个列举，并借助 site.css 的加载顺序取胜。
   --------------------------------------------------------------------------- */

h1,
.hero h1, .header h1 {
  line-height: 1.18;
  letter-spacing: var(--dl-ls-1);
  font-weight: 700;
}

h2,
.section h2, .admin-top h2 {
  line-height: 1.30;
  letter-spacing: var(--dl-ls-2);
}

h3,
.card h3, .upload-box h3, .keys-modal h3, .modal h3,
.step-content h3, .notice h3, .contact-box h3 {
  line-height: 1.42;
  letter-spacing: var(--dl-ls-2);
}

/* 子页主标题此前是 8 页 clamp(26px,4.6vw,42px) + 售后页写死 32px。
   写死的那页在 360px 宽的手机上不会缩小，长标题会挤成两行半。这里拉齐。 */
.hero h1,
.header h1 {
  font-size: var(--dl-fs-h1);
}

/* "重要说明" 这个标题原本是 15px，比同级的子标题（16px）还小，
   却挂着 18px 的警告图标，视觉上小一号。拉齐到子标题层级。 */
.notice h3 {
  font-size: var(--dl-fs-lg);
}

/* 全大写英文小标签（.hero .en 的 DOWNLOADS / .eyebrow 的 DREAMLAB STUDIO）
   已经统一是 --dl-ls-eyebrow(.42em)，这里不再覆写 —— 只是把这件事记下来。
   完整阶梯见 1.11b：改造前 13 档 em 里，成组出现的近值（.04/.05/.06、
   .1/.12/.16、.18/.2/.22）已合并，现在只剩 7 档。
   注意 --dl-ls-caps(.22em) 是给"词标"（.dl-brand__word，紧贴 Logo）用的，
   比栏目标签(.12em)紧，两个值用途不同，不要互相合并。 */

/* 3.3 数字一律等宽对齐：在线人数、卡密、时间戳跳动时不再左右抖 */
.dl-num,
.live-num,
.today-num,
.years-cap b,
.p-time,
.stat b,
[data-dl-num],
time {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}

/* 3.4 触屏点击不再出现灰蓝色方块，改由 :active 的缩放/亮度反馈 */
* {
  -webkit-tap-highlight-color: transparent;
}

/* 3.5 选中颜色（lightbox.css 全局禁用了 user-select，输入框例外，这里给它们配色） */
::selection {
  background: var(--dl-accent-a45);
  color: var(--dl-text);
}
input::selection,
textarea::selection {
  background: var(--dl-accent-a45);
}

/* 3.6 滚动条：默认那个亮灰色滚动条在深底上非常出戏 */
* {
  scrollbar-width: thin;
  scrollbar-color: var(--dl-line-strong) transparent;
}
::-webkit-scrollbar {
  width: var(--dl-scrollbar);
  height: var(--dl-scrollbar);
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: var(--dl-line-strong);
  border-radius: var(--dl-r-full);
  border: 3px solid transparent;
  background-clip: content-box;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--dl-accent-a45);
  background-clip: content-box;
}
::-webkit-scrollbar-corner {
  background: transparent;
}

/* 3.7 键盘焦点环：此前全站几乎只有 2 处 :focus-visible，
      键盘用户完全看不到自己在哪。鼠标点击不受影响。 */
:focus-visible {
  outline: 2px solid var(--dl-accent);
  outline-offset: 2px;
  /* 这里【不能】写 border-radius。
     它作用在元素本身而不是轮廓上 —— 任何没有圆角、但有可见底色的元素
     （表格行、胶囊、内联高亮）一被 Tab 聚焦就会突然长出圆角，元素几何当场跳一下。
     现代浏览器里 outline 本来就会跟随元素自身的 border-radius，不需要这条。
     真需要给圆形按钮调轮廓形状的，见下面那条具名规则。 */
}
/* 只在真正需要的地方去掉默认轮廓 */
:focus:not(:focus-visible) {
  outline: none;
}
/* 圆形按钮/头像用圆形焦点环更贴合形状 */
.p-btn:focus-visible,
.mpw-btn:focus-visible,
button[style*="border-radius:999"],
button[style*="border-radius: 999"] {
  outline-offset: 3px;
  border-radius: var(--dl-r-full);
}

/* 3.8 媒体元素不撑破容器（只限宽，不动高度，避免破坏已有布局） */
img, video, canvas {
  max-width: 100%;
}
/* 3.9 超长无空格字符串（卡密、链接、URL）强制断行，不再把窄屏撑出横向滚动 */
.dl-break,
.key-cell, .keys-item, .card-key, code, .mono {
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* 3.10 刘海屏安全区 */
body {
  padding-left: env(safe-area-inset-left, 0);
  padding-right: env(safe-area-inset-right, 0);
}

/* 3.11 遮罩内滚动不穿透。
   遮罩里的内容滚到底之后，滚动会"漏"给背后的页面 —— 桌面端观感是
   弹窗不动而背景在动；移动端更明显，常被误触成下拉刷新，
   正在填的表单/正在看的图直接没了。contain 把滚动链断在遮罩内。 */
.modal-mask,
.keys-modal-mask,
.upload-mask,
#__imgLightbox,
.keys-modal,
.mpw-panel,
.user-panel,
.fx-panel {
  overscroll-behavior: contain;
}

/* ===========================================================================
   4. 品牌标识 —— Logo / 标准字 / 入场动画
   ---------------------------------------------------------------------------
   标志构成：三根等差递增的光柱（五年、每一版都在进步）+ 顶端星芒（Dream）
   几何：viewBox 48×48；柱宽 7、间隙 5、柱高 10/18/26（等差 +8）、底部对齐 y=41
         星芒中心 (35.5, 7.5)，正好落在"若再上一级台阶"的高度上
   =========================================================================== */
.dl-mark {
  display: block;
  width: 30px;
  height: 30px;
  flex: none;
  --dl-mark-bar: var(--dl-accent);
  --dl-mark-star: var(--dl-gold);
}
.dl-mark .m1,
.dl-mark .m2,
.dl-mark .m3 { fill: var(--dl-mark-bar); }
.dl-mark .mstar { fill: var(--dl-mark-star); }

/* 尺寸档 */
.dl-mark--sm { width: 22px; height: 22px; }
.dl-mark--md { width: 30px; height: 30px; }
.dl-mark--lg { width: 44px; height: 44px; }
.dl-mark--xl { width: 64px; height: 64px; }

/* 单色版（用于深色/浅色底切换、水印、打印） */
.dl-mark--mono { --dl-mark-bar: currentColor; --dl-mark-star: currentColor; }

/* 4.1 入场动画：三柱依次升起 + 星芒弹出。只在首屏品牌区用一次。 */
.dl-mark--anim .m1,
.dl-mark--anim .m2,
.dl-mark--anim .m3 {
  transform-box: fill-box;
  transform-origin: 50% 100%;
  animation: dlBarRise var(--dl-dur-3) var(--dl-ease-out) both;
}
.dl-mark--anim .m1 { animation-delay: 0.06s; }
.dl-mark--anim .m2 { animation-delay: 0.16s; }
.dl-mark--anim .m3 { animation-delay: 0.26s; }
.dl-mark--anim .mstar {
  transform-box: fill-box;
  transform-origin: 50% 50%;
  animation: dlStarPop 0.52s var(--dl-ease-out) 0.48s both;
}
@keyframes dlBarRise {
  from { transform: scaleY(0); }
  to   { transform: scaleY(1); }
}
@keyframes dlStarPop {
  from { transform: scale(0) rotate(-60deg); opacity: 0; }
  to   { transform: none; opacity: 1; }
}

/* 4.2 标准字组合：Logo + DREAMLAB STUDIO
      此前各页 .brand b / span 的配色不统一（多数金色、两页青色），这里一次收口。 */
.dl-brand {
  display: inline-flex;
  align-items: center;
  gap: var(--dl-s-3);
  text-decoration: none;
  color: inherit;
  border-radius: var(--dl-r-sm);
}
.dl-brand__word {
  font-family: var(--dl-font-mono);
  font-weight: 700;
  font-size: var(--dl-fs-lg);
  letter-spacing: var(--dl-ls-caps);
  line-height: 1;
  color: var(--dl-text);
  white-space: nowrap;
}
.dl-brand__word span {
  color: var(--dl-accent);   /* 收口到主色青（此前 7 页为金、2 页为青） */
  font-weight: 500;
}
.dl-brand:hover .dl-mark { --dl-mark-bar: var(--dl-accent-hi); --dl-mark-star: var(--dl-gold-hi); }
.dl-brand .dl-mark { transition: filter var(--dl-dur-2) var(--dl-ease); }

/* 4.3 兼容既有标记：不改 HTML 也能统一 .brand 的外观 */
.brand {
  border-radius: var(--dl-r-sm);
}
.brand b {
  font-family: var(--dl-font-mono);
  font-weight: 700;
  letter-spacing: var(--dl-ls-caps);
  color: var(--dl-text);
  font-size: var(--dl-fs-lg);
}
.brand b span {
  color: var(--dl-accent);   /* 覆盖旧的 --gold2 / --cyan 分歧 */
  font-weight: 500;
}
/* 旧 logo 内联 SVG 的 stroke/fill 是表现属性，优先级低于 CSS，可从外部改色 */
.brand svg rect { fill: var(--dl-bg-1); }
.brand svg path { stroke: var(--dl-accent); }

/* 4.4 首页品牌区（首页此前完全没有 Logo，只有一行文字 eyebrow） */
.dl-hero-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--dl-s-4);
  margin-bottom: var(--dl-s-5);
}
.dl-hero-brand .dl-brand__word { font-size: clamp(19px, 2.6vw, 24px); }

/* 4.5 简易页面顶部的品牌条
      after-sales / faq / buyer-faq / assistant-tutorial 这 4 个页面
      此前完全没有品牌标识，只有一行「← 返回」。这里补一条克制的品牌条。 */
.dl-brandbar {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: var(--dl-s-5) var(--dl-s-5) 0;
  max-width: 980px;
  margin: 0 auto;
  opacity: 0.9;
  transition: opacity var(--dl-dur-2) var(--dl-ease);
}
.dl-brandbar:hover { opacity: 1; }
.dl-brandbar .dl-brand__word { font-size: var(--dl-fs-md); }
@media (max-width: 640px) {
  .dl-brandbar { padding: var(--dl-s-4) var(--dl-s-4) 0; }
}

/* ===========================================================================
   5. 图标系统（由 _tools/gen-icons.py 生成，勿手改）
   =========================================================================== */
/* @icons:start */
/* ===================================================================
   DreamLab 图标系统 —— 由 _tools/gen-icons.py 自动生成，请勿手改
   67 个图标 · 24px 网格 · 1.8 描边 · 圆头圆角 · 单色可继承
   用法：<i class="dl-ic dl-ic-download"></i>   尺寸随 font-size 走
   =================================================================== */
.dl-ic {
  display: inline-block;
  width: 1em; height: 1em;
  flex: none;
  vertical-align: -0.135em;
  background-color: currentColor;
  -webkit-mask-image: var(--dl-ic);  mask-image: var(--dl-ic);
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: center;  mask-position: center;
  -webkit-mask-size: contain;     mask-size: contain;
}

/* 常用尺寸档（避免各处随手写 font-size） */
.dl-ic-sm { font-size: 14px; }
.dl-ic-md { font-size: 18px; }
.dl-ic-lg { font-size: 22px; }
.dl-ic-xl { font-size: 28px; }

.dl-ic-plus { --dl-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E"); }
.dl-ic-minus { --dl-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3C/svg%3E"); }
.dl-ic-close { --dl-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 6l12 12M18 6L6 18'/%3E%3C/svg%3E"); }
.dl-ic-check { --dl-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.5 12.5l5 5 10-11'/%3E%3C/svg%3E"); }
.dl-ic-check-circle { --dl-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M8 12.3l2.8 2.8L16 9.5'/%3E%3C/svg%3E"); }
.dl-ic-search { --dl-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='6.6'/%3E%3Cpath d='M15.8 15.8L20 20'/%3E%3C/svg%3E"); }
.dl-ic-copy { --dl-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='9' y='9' width='11.5' height='11.5' rx='2.6'/%3E%3Cpath d='M15 6.4v-.4A2 2 0 0 0 13 4H6a2 2 0 0 0-2 2v7a2 2 0 0 0 2 2h.4'/%3E%3C/svg%3E"); }
.dl-ic-refresh { --dl-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.2 12a8.2 8.2 0 1 1-2.4-5.8'/%3E%3Cpath d='M20.4 4.6v5.6h-5.6'/%3E%3C/svg%3E"); }
.dl-ic-trash { --dl-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.5 7h15M9.8 4.5h4.4'/%3E%3Cpath d='M6.6 7l.9 12.1a1.6 1.6 0 0 0 1.6 1.5h5.8a1.6 1.6 0 0 0 1.6-1.5L17.4 7'/%3E%3Cpath d='M10.5 11v5.5M13.5 11v5.5'/%3E%3C/svg%3E"); }
.dl-ic-menu { --dl-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 7h16M4 12h16M4 17h16'/%3E%3C/svg%3E"); }
.dl-ic-arrow-left { --dl-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 12H5M11.5 5.5L5 12l6.5 6.5'/%3E%3C/svg%3E"); }
.dl-ic-arrow-right { --dl-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M12.5 5.5L19 12l-6.5 6.5'/%3E%3C/svg%3E"); }
.dl-ic-chevron-down { --dl-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9.5l6 6 6-6'/%3E%3C/svg%3E"); }
.dl-ic-chevron-right { --dl-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9.5 6l6 6-6 6'/%3E%3C/svg%3E"); }
.dl-ic-external { --dl-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14.5 4H20v5.5'/%3E%3Cpath d='M19.6 4.4L11 13'/%3E%3Cpath d='M18 14.5v4A1.5 1.5 0 0 1 16.5 20h-11A1.5 1.5 0 0 1 4 18.5v-11A1.5 1.5 0 0 1 5.5 6h4'/%3E%3C/svg%3E"); }
.dl-ic-link { --dl-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10.2 13.8a4 4 0 0 0 5.7 0l2.8-2.8a4 4 0 0 0-5.7-5.7l-1.5 1.5'/%3E%3Cpath d='M13.8 10.2a4 4 0 0 0-5.7 0l-2.8 2.8a4 4 0 0 0 5.7 5.7l1.5-1.5'/%3E%3C/svg%3E"); }
.dl-ic-home { --dl-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 10.5L12 4l8 6.5V19a1.6 1.6 0 0 1-1.6 1.6H5.6A1.6 1.6 0 0 1 4 19z'/%3E%3Cpath d='M9.5 20.6v-6h5v6'/%3E%3C/svg%3E"); }
.dl-ic-alert { --dl-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4.2l8.8 15.3H3.2z'/%3E%3Cpath d='M12 9.8v4.4'/%3E%3Ccircle cx='12' cy='17.2' r='.9' fill='black' stroke='none'/%3E%3C/svg%3E"); }
.dl-ic-info { --dl-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 11.2v5.3'/%3E%3Ccircle cx='12' cy='7.9' r='.9' fill='black' stroke='none'/%3E%3C/svg%3E"); }
.dl-ic-help { --dl-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M9.6 9.4a2.5 2.5 0 1 1 3.3 2.4c-.7.3-1 .9-1 1.6v.3'/%3E%3Ccircle cx='12' cy='17' r='.9' fill='black' stroke='none'/%3E%3C/svg%3E"); }
.dl-ic-download { --dl-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3.5v11.5'/%3E%3Cpath d='M7.2 10.5L12 15.3l4.8-4.8'/%3E%3Cpath d='M4 20.5h16'/%3E%3C/svg%3E"); }
.dl-ic-upload { --dl-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20.5V9'/%3E%3Cpath d='M7.2 13.3L12 8.5l4.8 4.8'/%3E%3Cpath d='M4 4h16'/%3E%3C/svg%3E"); }
.dl-ic-cloud { --dl-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7.3 19.5h9.4a4.2 4.2 0 0 0 .5-8.3 5.6 5.6 0 0 0-10.9 1.3A4 4 0 0 0 7.3 19.5z'/%3E%3C/svg%3E"); }
.dl-ic-play { --dl-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M10.2 8.3l6 3.7-6 3.7z' fill='black'/%3E%3C/svg%3E"); }
.dl-ic-pause { --dl-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M10 8.8v6.4M14 8.8v6.4'/%3E%3C/svg%3E"); }
.dl-ic-play-solid { --dl-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 5.9a1.1 1.1 0 0 1 1.68-.93l10.1 6.9a1.1 1.1 0 0 1 0 1.86l-10.1 6.9A1.1 1.1 0 0 1 8 19.7z' fill='black' stroke='none'/%3E%3C/svg%3E"); }
.dl-ic-pause-solid { --dl-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='6.6' y='4.6' width='3.9' height='14.8' rx='1.7' fill='black' stroke='none'/%3E%3Crect x='13.5' y='4.6' width='3.9' height='14.8' rx='1.7' fill='black' stroke='none'/%3E%3C/svg%3E"); }
.dl-ic-skip-back { --dl-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4.9' y='4.8' width='2.7' height='14.4' rx='1.3' fill='black' stroke='none'/%3E%3Cpath d='M19 6.6v10.8a1.15 1.15 0 0 1-1.8.95l-7.3-5.4a1.15 1.15 0 0 1 0-1.9l7.3-5.4A1.15 1.15 0 0 1 19 6.6z' fill='black' stroke='none'/%3E%3C/svg%3E"); }
.dl-ic-skip-forward { --dl-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='16.4' y='4.8' width='2.7' height='14.4' rx='1.3' fill='black' stroke='none'/%3E%3Cpath d='M5 6.6v10.8a1.15 1.15 0 0 0 1.8.95l7.3-5.4a1.15 1.15 0 0 0 0-1.9L6.8 5.65A1.15 1.15 0 0 0 5 6.6z' fill='black' stroke='none'/%3E%3C/svg%3E"); }
.dl-ic-volume { --dl-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.5 9.5h3.2L12 5.6v12.8L7.7 14.5H4.5z'/%3E%3Cpath d='M15.4 9.6a3.4 3.4 0 0 1 0 4.8'/%3E%3Cpath d='M17.9 7a7 7 0 0 1 0 10'/%3E%3C/svg%3E"); }
.dl-ic-mute { --dl-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.5 9.5h3.2L12 5.6v12.8L7.7 14.5H4.5z'/%3E%3Cpath d='M16 10l4 4M20 10l-4 4'/%3E%3C/svg%3E"); }
.dl-ic-video { --dl-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2.5' y='5.5' width='13' height='13' rx='2.5'/%3E%3Cpath d='M15.5 10l6-3v10l-6-3z'/%3E%3C/svg%3E"); }
.dl-ic-image { --dl-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4.5' width='18' height='15' rx='2.5'/%3E%3Ccircle cx='8.6' cy='9.6' r='1.5'/%3E%3Cpath d='M3.7 16.9l4.9-4.6a1.8 1.8 0 0 1 2.4 0l6.4 6'/%3E%3C/svg%3E"); }
.dl-ic-music { --dl-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 18.5V5.5l11-2v13'/%3E%3Ccircle cx='6.5' cy='18.5' r='2.5'/%3E%3Ccircle cx='17.5' cy='16.5' r='2.5'/%3E%3C/svg%3E"); }
.dl-ic-shield { --dl-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l8 3v6c0 4.5-3.2 7.6-8 9-4.8-1.4-8-4.5-8-9V6z'/%3E%3C/svg%3E"); }
.dl-ic-shield-check { --dl-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l8 3v6c0 4.5-3.2 7.6-8 9-4.8-1.4-8-4.5-8-9V6z'/%3E%3Cpath d='M9 12l2 2 4-4'/%3E%3C/svg%3E"); }
.dl-ic-lock { --dl-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4.5' y='11' width='15' height='10' rx='2.4'/%3E%3Cpath d='M8 11V7a4 4 0 0 1 8 0v4'/%3E%3C/svg%3E"); }
.dl-ic-unlock { --dl-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4.5' y='11' width='15' height='10' rx='2.4'/%3E%3Cpath d='M8 11V7a4 4 0 0 1 7.5-2'/%3E%3C/svg%3E"); }
.dl-ic-key { --dl-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='7.5' cy='15.5' r='4.3'/%3E%3Cpath d='M10.5 12.5L20.5 2.5M15.2 7.2l2.8 2.8M18 4.4l2 2'/%3E%3C/svg%3E"); }
.dl-ic-user { --dl-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8.4' r='3.9'/%3E%3Cpath d='M4.8 20.2a7.7 7.7 0 0 1 14.4 0'/%3E%3C/svg%3E"); }
.dl-ic-logout { --dl-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14.5 8.5V6.5a2 2 0 0 0-2-2H6a2 2 0 0 0-2 2v11a2 2 0 0 0 2 2h6.5a2 2 0 0 0 2-2v-2'/%3E%3Cpath d='M9.5 12H20M16.8 9l3 3-3 3'/%3E%3C/svg%3E"); }
.dl-ic-cart { --dl-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='20' r='1.6'/%3E%3Ccircle cx='17' cy='20' r='1.6'/%3E%3Cpath d='M3 4h2l2.5 11h10L20 7H6'/%3E%3C/svg%3E"); }
.dl-ic-gift { --dl-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.5' y='8.5' width='17' height='4' rx='1.4'/%3E%3Cpath d='M5 12.5v7a1.5 1.5 0 0 0 1.5 1.5h11a1.5 1.5 0 0 0 1.5-1.5v-7'/%3E%3Cpath d='M12 8.5V21'/%3E%3Cpath d='M12 8.5S10.8 4 8.5 4a2.2 2.2 0 0 0 0 4.5zM12 8.5S13.2 4 15.5 4a2.2 2.2 0 0 1 0 4.5z'/%3E%3C/svg%3E"); }
.dl-ic-crown { --dl-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 18h19l-2-10-5 4-3-7-3 7-5-4z'/%3E%3Cpath d='M2.5 18h19v2.5h-19z'/%3E%3C/svg%3E"); }
.dl-ic-star { --dl-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3.6l2.6 5.4 5.9.7-4.4 4 1.2 5.9-5.3-2.9-5.3 2.9 1.2-5.9-4.4-4 5.9-.7z'/%3E%3C/svg%3E"); }
.dl-ic-time { --dl-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 3'/%3E%3C/svg%3E"); }
.dl-ic-monitor { --dl-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2.5' y='4' width='19' height='12.5' rx='2'/%3E%3Cpath d='M8 20.5h8M12 16.5v4'/%3E%3C/svg%3E"); }
.dl-ic-book { --dl-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 19.5A2.5 2.5 0 0 1 6.5 17H20V4H6.5A2.5 2.5 0 0 0 4 6.5v13z'/%3E%3Cpath d='M4 19.5A2.5 2.5 0 0 0 6.5 22H20v-5'/%3E%3C/svg%3E"); }
.dl-ic-trending { --dl-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 7l-8.5 8.5-4.5-4.5L2 18'/%3E%3Cpath d='M16 7h6v6'/%3E%3C/svg%3E"); }
.dl-ic-target { --dl-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='8.6'/%3E%3Ccircle cx='12' cy='12' r='4.4'/%3E%3Ccircle cx='12' cy='12' r='1' fill='black' stroke='none'/%3E%3C/svg%3E"); }
.dl-ic-bolt { --dl-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M13.2 2.5L4.8 13.4h6.1l-1 8.1 9.3-11.3h-6z'/%3E%3C/svg%3E"); }
.dl-ic-cube { --dl-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2.8l8 4.6v9.2l-8 4.6-8-4.6V7.4z'/%3E%3Cpath d='M4 7.4l8 4.6 8-4.6M12 12v9.2'/%3E%3C/svg%3E"); }
.dl-ic-compass { --dl-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M15.5 8.5l-2.2 4.8-4.8 2.2 2.2-4.8z'/%3E%3C/svg%3E"); }
.dl-ic-layers { --dl-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l9 5-9 5-9-5z'/%3E%3Cpath d='M3 13l9 5 9-5M3 16.5l9 5 9-5' opacity='.55'/%3E%3C/svg%3E"); }
.dl-ic-grid { --dl-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.8' y='3.8' width='7' height='7' rx='2'/%3E%3Crect x='13.2' y='3.8' width='7' height='7' rx='2'/%3E%3Crect x='3.8' y='13.2' width='7' height='7' rx='2'/%3E%3Crect x='13.2' y='13.2' width='7' height='7' rx='2'/%3E%3C/svg%3E"); }
.dl-ic-message { --dl-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 12a8 8 0 0 1-8 8H4l2-3a8 8 0 1 1 15-5z'/%3E%3Cpath d='M8.5 11h7M8.5 14h4'/%3E%3C/svg%3E"); }
.dl-ic-mail { --dl-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2.5' y='5' width='19' height='14' rx='2.4'/%3E%3Cpath d='M3.2 6.6l7.6 6.2a2 2 0 0 0 2.4 0l7.6-6.2'/%3E%3C/svg%3E"); }
.dl-ic-palette { --dl-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3a9 9 0 1 0 0 18c1.2 0 2-.8 2-1.8 0-.5-.2-.9-.5-1.2-.3-.3-.5-.7-.5-1.2 0-1 .8-1.8 1.8-1.8H17a4 4 0 0 0 4-4c0-4.4-4-8-9-8z'/%3E%3Ccircle cx='7.5' cy='10' r='1.1' fill='black' stroke='none'/%3E%3Ccircle cx='12' cy='7.5' r='1.1' fill='black' stroke='none'/%3E%3Ccircle cx='16.5' cy='10' r='1.1' fill='black' stroke='none'/%3E%3C/svg%3E"); }
.dl-ic-tools { --dl-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14.7 6.3a4.5 4.5 0 0 0-6 6L3 18l3 3 5.7-5.7a4.5 4.5 0 0 0 6-6L14 13l-3-3z'/%3E%3C/svg%3E"); }
.dl-ic-gear { --dl-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='3.1'/%3E%3Cpath d='M19.1 14.4a1.5 1.5 0 0 0 .3 1.66l.05.06a1.85 1.85 0 1 1-2.62 2.62l-.05-.06a1.5 1.5 0 0 0-1.66-.3 1.5 1.5 0 0 0-.91 1.38v.16a1.85 1.85 0 1 1-3.7 0v-.09a1.5 1.5 0 0 0-.98-1.37 1.5 1.5 0 0 0-1.66.3l-.05.06a1.85 1.85 0 1 1-2.62-2.62l.05-.06a1.5 1.5 0 0 0 .3-1.66 1.5 1.5 0 0 0-1.38-.91h-.16a1.85 1.85 0 1 1 0-3.7h.09a1.5 1.5 0 0 0 1.37-.98 1.5 1.5 0 0 0-.3-1.66l-.05-.06a1.85 1.85 0 1 1 2.62-2.62l.05.06a1.5 1.5 0 0 0 1.66.3h.07a1.5 1.5 0 0 0 .91-1.38v-.16a1.85 1.85 0 1 1 3.7 0v.09a1.5 1.5 0 0 0 .91 1.38 1.5 1.5 0 0 0 1.66-.3l.05-.06a1.85 1.85 0 1 1 2.62 2.62l-.05.06a1.5 1.5 0 0 0-.3 1.66v.07a1.5 1.5 0 0 0 1.38.91h.16a1.85 1.85 0 1 1 0 3.7h-.09a1.5 1.5 0 0 0-1.38.91z'/%3E%3C/svg%3E"); }
.dl-ic-signal { --dl-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 19.5v-3M9.3 19.5v-7M14.7 19.5v-11M20 19.5v-15'/%3E%3C/svg%3E"); }
.dl-ic-eye { --dl-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 12S6 5.8 12 5.8 21.5 12 21.5 12 18 18.2 12 18.2 2.5 12 2.5 12z'/%3E%3Ccircle cx='12' cy='12' r='2.9'/%3E%3C/svg%3E"); }
.dl-ic-flame { --dl-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21.5c3.6 0 6.2-2.4 6.2-5.7 0-4.3-4.4-5.8-5.4-11.3-2.3 2.5-3.6 4.6-3.6 6.6 0 1.1.5 2 1.3 2.6-.9.3-1.6-.2-2.1-1.1-.9 1.2-1.4 2.5-1.4 3.9 0 3 2.4 5 5 5z'/%3E%3C/svg%3E"); }
.dl-ic-sun { --dl-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='4.2'/%3E%3Cpath d='M12 2.6v2.2M12 19.2v2.2M21.4 12h-2.2M4.8 12H2.6M18.6 5.4l-1.5 1.5M6.9 17.1l-1.5 1.5M18.6 18.6l-1.5-1.5M6.9 6.9L5.4 5.4'/%3E%3C/svg%3E"); }
.dl-ic-moon { --dl-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.4 14.6A8.6 8.6 0 0 1 9.4 3.6a8.6 8.6 0 1 0 11 11z'/%3E%3C/svg%3E"); }
.dl-ic-spark { --dl-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2.5l2.1 6.2 6.2 2.1-6.2 2.1L12 19.1l-2.1-6.2L3.7 10.8l6.2-2.1z' fill='black' stroke='none'/%3E%3C/svg%3E"); }
.dl-ic-dreamlab { --dl-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='8' y='31' width='7' height='10' rx='3.5' fill='black' stroke='none'/%3E%3Crect x='20' y='23' width='7' height='18' rx='3.5' fill='black' stroke='none'/%3E%3Crect x='32' y='15' width='7' height='26' rx='3.5' fill='black' stroke='none'/%3E%3Cpath d='M35.5 2.5L36.63 6.37 40.5 7.5 36.63 8.63 35.5 12.5 34.37 8.63 30.5 7.5 34.37 6.37Z' fill='black' stroke='none'/%3E%3C/svg%3E"); }
/* @icons:end */

/* 图标与文字并排时的通用小组合 */
.dl-ic-row {
  display: inline-flex;
  align-items: center;
  gap: var(--dl-s-2);
}
/* 圆形容器里的图标（空状态、功能卡） */
.dl-ic-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: var(--dl-r-md);
  background: var(--dl-accent-a12);
  border: 1px solid var(--dl-accent-a24);
  color: var(--dl-accent);
  font-size: 22px;
  transition: transform var(--dl-dur-2) var(--dl-ease-back),
              background var(--dl-dur-2) var(--dl-ease),
              border-color var(--dl-dur-2) var(--dl-ease);
}
.dl-ic-badge--gold {
  background: var(--dl-gold-a12);
  border-color: var(--dl-gold-a24);
  color: var(--dl-gold);
}

/* 图标容器尺寸对齐
   —— 这些容器此前各自内联 14~34px 的 <svg>，改用 dl-ic 后由 font-size 统一控制。
      注意：容器本身若已声明 font-size（如 .section-icon 15px、.item .ic 22px），
      这里用「容器 + .dl-ic」双类提升一级优先级，确保图标比例不被容器的旧值带偏。 */
.win-icon .dl-ic { font-size: 26px; }
.item .dl-ic     { font-size: 22px; }
.empty .dl-ic    { font-size: 30px; }
.card .ic .dl-ic { font-size: 34px; }
.section-icon.dl-ic { font-size: 17px; }   /* 30px 盒子里装 17px，此前 15px 偏空 */
.back .dl-ic     { font-size: 15px; }
.dl-btn .dl-ic   { font-size: 16px; }

/* 首页：反馈悬浮按钮 / 迷你播放器 / 页头两个圆形按钮 */
.fab .dl-ic      { font-size: 16px; }
.mpw-icon.dl-ic  { font-size: 16px; }      /* 该元素自带 .mpw-icon 类，故写成双类 */
.p-cover .dl-ic  { font-size: 24px; }
.mpw-close .dl-ic { font-size: 14px; }
.p-btn .dl-ic    { font-size: 15px; }
.p-btn.play .dl-ic { font-size: 17px; }    /* 44px 实心圆里放大一点点，视觉更饱满 */
.p-vol .dl-ic    { font-size: 14px; }
.user-btn .dl-ic { font-size: 16px; }
.fx-btn .dl-ic   { font-size: 18px; }

/* 图标的语义色工具类（避免各处再写 color: var(--dl-warn) 这类内联样式） */
.dl-ic-c-accent { color: var(--dl-accent); }
.dl-ic-c-gold   { color: var(--dl-gold); }
.dl-ic-c-ok     { color: var(--dl-ok); }
.dl-ic-c-warn   { color: var(--dl-warn); }
.dl-ic-c-danger { color: var(--dl-danger); }
.dl-ic-c-info   { color: var(--dl-info); }
.dl-ic-c-muted  { color: var(--dl-muted); }

/* after-sales.html 是唯一把 .back-btn 当"独立块"直接放在 .container 下的页面，
   它下面紧接着居中的 .header —— 实测两者间距为 0，按钮和主标题几乎叠在一起。
   faq / buyer-faq / assistant-tutorial 的 .back-btn 都在 .header 行内（和标题并排），
   所以这里用 .container > .back-btn 精确定位，不会误伤它们。 */
.container > .back-btn {
  margin-bottom: var(--dl-s-7);
}

/* ===========================================================================
   6. 通用组件增强
   =========================================================================== */

/* 6.1 按钮：统一过渡曲线 + 按下反馈（此前多数按钮按下毫无反馈） */
.btn,
button,
[role="button"] {
  transition: transform var(--dl-dur-1) var(--dl-ease),
              box-shadow var(--dl-dur-2) var(--dl-ease),
              border-color var(--dl-dur-2) var(--dl-ease),
              background-color var(--dl-dur-2) var(--dl-ease),
              color var(--dl-dur-2) var(--dl-ease);
}
.btn:active,
button:active,
[role="button"]:active {
  transform: scale(0.975);
}
/* 禁用态统一 */
.btn:disabled,
button:disabled,
[aria-disabled="true"] {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
}

/* 6.2 主按钮光扫：只在明确的主按钮上启用，避免影响既有布局 */
.dl-btn-sheen {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.dl-btn-sheen::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 45%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.34), transparent);
  /* 用 translateX 代替 animate left —— left 是布局属性，每帧要重排。
     换算：伪元素宽 = 容器 45%，所以「容器 -60%」= 自身 -133.33%、「容器 110%」= 自身 244.44%。
     静态值也写成同一个 transform，避免 hover 前闪一下。 */
  transform: translateX(-133.33%) skewX(-18deg);
  pointer-events: none;
  opacity: 0;
}
.dl-btn-sheen:hover::after {
  animation: dlSheen 0.72s var(--dl-ease) 1;
}
@keyframes dlSheen {
  0%   { transform: translateX(-133.33%) skewX(-18deg); opacity: 0; }
  18%  { opacity: 1; }
  100% { transform: translateX(244.44%) skewX(-18deg); opacity: 0; }
}

/* 6.3 空状态：此前各页各写各的，这里给一个统一容器 */
.dl-empty {
  text-align: center;
  padding: var(--dl-s-10) var(--dl-s-5);
  color: var(--dl-muted);
}
.dl-empty .dl-ic {
  font-size: 34px;
  color: var(--dl-line-strong);
  margin-bottom: var(--dl-s-4);
}
.dl-empty__title {
  font-size: var(--dl-fs-lg);
  color: var(--dl-text-2);
  margin-bottom: var(--dl-s-2);
}
.dl-empty__desc {
  font-size: var(--dl-fs-md);
  line-height: var(--dl-lh-snug);
}

/* 6.4 章节标题前的指示条统一（首页 .opt-title::before 是 5px 青条，
      子页 .section-title / .sec-title 各不相同，这里统一规格） */
.opt-title::before,
.section-title::before,
.sec-title::before {
  box-shadow: 0 0 12px var(--dl-accent-a45);
}

/* 6.5 卡片悬浮：统一的"轻微抬升 + 边界发亮"，替代各页零散的 hover */
.dl-lift {
  transition: transform var(--dl-dur-2) var(--dl-ease),
              box-shadow var(--dl-dur-2) var(--dl-ease),
              border-color var(--dl-dur-2) var(--dl-ease);
}
.dl-lift:hover {
  transform: translateY(-3px);
  border-color: var(--dl-line-accent);
  box-shadow: var(--dl-sh-2), var(--dl-accent-glow);
}

/* ===========================================================================
   7. 动效层 —— 滚动揭示
   ---------------------------------------------------------------------------
   实现要点（避免两个常见坑）：
   · 只有 site.js 跑起来了才隐藏内容 —— JS 失败时页面完整可见，不会白屏
   · 只对"首屏之外"的元素启用 —— 首屏内容直接可见，不会有可见→消失→淡入的闪动
   · 用 animation 而非 transition，动画结束即移除 class ——
     不和卡片自身的 :hover transform 打架
   =========================================================================== */
.dl-in {
  animation: dlRise var(--dl-dur-3) var(--dl-ease) both;
}
@keyframes dlRise {
  from { opacity: 0; transform: translate3d(0, 16px, 0); }
  to   { opacity: 1; transform: none; }
}
/* 变体：轻微放大淡入，用于图片/卡片 */
.dl-in--zoom {
  animation: dlZoom var(--dl-dur-4) var(--dl-ease) both;
}
@keyframes dlZoom {
  from { opacity: 0; transform: scale(0.965); }
  to   { opacity: 1; transform: none; }
}
/* 变体：从左侧滑入，用于列表行 */
.dl-in--left {
  animation: dlRiseLeft var(--dl-dur-3) var(--dl-ease) both;
}
@keyframes dlRiseLeft {
  from { opacity: 0; transform: translate3d(-14px, 0, 0); }
  to   { opacity: 1; transform: none; }
}

/* 7.2 骨架屏微光（用于异步内容占位） */
.dl-skeleton {
  position: relative;
  overflow: hidden;
  background: var(--dl-panel-2);
  border-radius: var(--dl-r-sm);
}
.dl-skeleton::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  background: linear-gradient(90deg, transparent, var(--dl-panel-3), transparent);
  animation: dlShimmer 1.4s ease-in-out infinite;
}
@keyframes dlShimmer {
  to { transform: translateX(100%); }
}

/* 7.3 焦点脉冲：给关键 CTA 一个呼吸感（克制使用，仅 .dl-pulse） */
.dl-pulse { animation: dlPulse 2.6s var(--dl-ease-io) infinite; }
@keyframes dlPulse {
  0%, 100% { box-shadow: 0 0 0 0 var(--dl-accent-a24); }
  50%      { box-shadow: 0 0 0 8px rgba(74, 208, 230, 0); }
}

/* 7.4 链接下划线从左展开 */
.dl-underline {
  position: relative;
  text-decoration: none;
}
.dl-underline::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 100%; height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dl-dur-2) var(--dl-ease);
}
.dl-underline:hover::after { transform: scaleX(1); }

/* ===========================================================================
   8. 响应式 —— 收敛全站容器与间距
   ---------------------------------------------------------------------------
   此前各页容器宽度 860/920/980/1080/1180 五种、媒体查询断点 20 余种。
   这里统一：容器走同一套内边距阶梯，窄屏统一收口。
   =========================================================================== */
@media (max-width: 900px) {
  .wrap { padding: var(--dl-s-6) var(--dl-s-5) var(--dl-s-9); }
  .stage { padding: var(--dl-s-8) var(--dl-s-5) var(--dl-s-9); }
}

@media (max-width: 640px) {
  :root {
    /* 窄屏收紧全局尺度，避免"桌面尺度硬塞进手机" */
    --dl-r-md: 12px;
    --dl-r-lg: 16px;
    --dl-s-9: 40px;
    --dl-s-10: 52px;
  }
  .wrap { padding: var(--dl-s-5) var(--dl-s-4) var(--dl-s-8); }
  .stage { padding: var(--dl-s-7) var(--dl-s-4) var(--dl-s-8); }

  /* 触控目标：主要可点元素不小于 44×44（WCAG 2.5.5 AAA 建议值） */
  .back,
  .keys-close,
  .mpw-close,
  .mpw-btn,
  .p-btn {
    min-height: 44px;
    min-width: 44px;
  }
  .back { padding: 0 var(--dl-s-2); }

  /* 页头在窄屏不再挤压 */
  header {
    flex-wrap: wrap;
    gap: var(--dl-s-3);
  }
  .dl-brand__word,
  .brand b { font-size: var(--dl-fs-md) !important; }
  /* 页头默认 Logo（9 个子页用的 30px 档）在窄屏收到 26px。
     注意：这条是裸选择器，与下面的尺寸档同为 (0,1,0) 权重，
     所以两个尺寸档必须写在它之后才能生效（同权重后者胜）。
     此前只有这一条，导致首屏 64px 的 --xl 被压成 26px（390×844 实测确认），
     子页品牌条的 --sm(22px) 反被撑到 26px —— 一收一放都是错的。 */
  .dl-mark { width: 26px; height: 26px; }
  /* 首屏品牌区：64px 在 390px 宽下略挤，收到 52px；手机上仍有足够分量 */
  .dl-mark--xl { width: 52px; height: 52px; }
  /* 子页品牌条：保持 22px，不被上面那条放大 */
  .dl-mark--sm { width: 22px; height: 22px; }
}

@media (max-width: 400px) {
  .dl-hero-brand { gap: var(--dl-s-3); }
  .wrap { padding: var(--dl-s-4) var(--dl-s-3) var(--dl-s-7); }
  .stage { padding: var(--dl-s-6) var(--dl-s-3) var(--dl-s-7); }
}

/* 超宽屏：容器不要无限拉长，正文行宽控制在可读区间 */
@media (min-width: 1400px) {
  .stage { max-width: 1140px; }
}

/* 横向屏（手机横过来看视频）时压缩纵向留白 */
@media (max-height: 500px) and (orientation: landscape) {
  .stage { padding-top: var(--dl-s-5); }
  .orb { display: none; }
}

/* ===========================================================================
   9. 无障碍与降级
   =========================================================================== */

/* 9.1 尊重系统"减少动态效果"设置 —— 此前全站仅 1 处。
      前庭功能障碍用户会因视差/漂移/闪烁产生眩晕，这是硬需求。 */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .orb { animation: none !important; }
  .stars i { animation: none !important; opacity: 0.35 !important; }
  .dl-in,
  .dl-in--zoom,
  .dl-in--left {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* 9.2 高对比度偏好：给边界补强 */
@media (prefers-contrast: more) {
  :root {
    --dl-line: rgba(126, 182, 230, 0.34);
    --dl-muted: #a9bcd4;
    --dl-dim: #8fa3bd;
  }
}

/* 9.3 打印：深底转白底，省墨且可读 */
@media print {
  body {
    background: #fff !important;
    color: #111 !important;
  }
  .orb, .stars, .mpw, #__imgLightbox, .dl-no-print { display: none !important; }
  a { color: #0a6f9c !important; }
}
