/* ==========================================================
   美丽岛多焦镜 — 企业官网公共样式
   默认配色：方案 B「科技蓝 + 白」（沉稳科技蓝 + 冷白底 + 海军蓝深色面）
   可切换方案：?theme=gold（金白）/ ?theme=ink（墨玉鎏金）/ ?theme=blue（同默认）
   ========================================================== */

:root {
  /* ---------- 品牌主色：科技蓝（沉稳科技蓝，非亮蓝）----------
     取「科技蓝」的专业与效率感：比亮蓝沉、比藏青亮，
     在冷白底色上呈现理性、可信、清晰的专业形象。 */
  --ink: #101828;          /* 主文字 / 深色主体 */
  --ink-soft: #3f4c60;     /* 次级文字 */
  --ink-deep: #0b1a33;     /* 最深一档：页脚 / 播放器 / 深色底 */
  --band-2: #0b1a33;       /* 全站只保留一个深色面，故与 --ink-deep 同值 */
  --band-3: #0b1a33;
  --footer-bg: #0b1a33;

  /* ---------- 强调色：科技蓝（全站唯一强调色）----------
     深阶可作文字（白底 5.8:1）；深色底上另用亮蓝一档保证可读。 */
  --accent: #1163c8;       /* 浅底上的强调 / 文字（白底 5.77:1）*/
  --accent-deep: #0b4a94;  /* 浅蓝底上的文字（7.6:1）、按下态 */
  --accent-light: #e8f1fd; /* 浅蓝底：标签 / 图标底 */
  --gold-light: #8fbcf0;   /* 语义为「深色面上的强调亮阶」（对深底 8.78:1）*/

  /* ---------- 次色：同族深蓝（仅用于小徽标 / 图标，不再引入第二主色）---------- */
  --tech: #1c5fae;
  --tech-light: #e6f0fb;

  /* ---------- 语义色 ---------- */
  --ok: #2e6a4c;      --ok-bg: #eef6f1;      --ok-line: #cfe4d8;
  --warn: #8a6a2f;    --warn-bg: #fdf8ec;    --warn-line: #eee0bf;
  --danger: #a5453d;  --danger-bg: #fdf4f2;  --danger-line: #f0d3d0;
  --danger-deep: #8f3a33;                     /* 危险色按下 / 悬停再深一档（实心红按钮用）*/
  --danger-on-dark: #e9a7a1;                  /* 深底上的危险色（退出登录等）*/
  --ok-on-dark: #5fd39b;                      /* 深底上的状态绿（后台「已连接后端服务」圆点，9.5:1）*/
  --glow-warm: #12294d;                       /* 后台登录页右下光晕（随主色）*/

  /* ---------- 中性 / 底色（冷白，与主色同色温）---------- */
  --bg: #ffffff;
  --bg-soft: #f5f8fc;      /* 冷白：交替版块底 */
  --line: #e2e8f0;         /* 冷色发丝线（1.23，不脏不虚）*/
  --line-strong: #cbd5e1;  /* 分隔点 / 滚动条 */
  --placeholder: #eef2f7;  /* 图片占位底 */
  --sand: #eef4fb;         /* 冷雾蓝：内页横幅底 */
  --muted: #5a6478;        /* 弱化文字（白底 5.95:1，达 AA）*/
  --muted-2: #687386;      /* 更浅的辅助文字（4.79:1，仍达 AA）*/

  /* ---------- 尺寸 / 投影 / 动效 ---------- */
  --radius: 12px;          /* 方正沉稳：不用大圆角 */
  --radius-lg: 18px;
  --shadow: 0 12px 40px rgba(16, 24, 40, 0.07);
  --shadow-soft: 0 6px 20px rgba(16, 24, 40, 0.055);
  --shadow-lift: 0 18px 48px rgba(16, 24, 40, 0.12);
  --ease: cubic-bezier(.22, .61, .36, 1);

  /* ---------- 供 rgba() 使用的主色通道值（换肤时随之一起改）---------- */
  --ink-rgb: 16, 24, 40;
  --deep-rgb: 11, 26, 51;
  --accent-rgb: 17, 99, 200;
  --accent-deep-rgb: 11, 74, 148;
  --muted-rgb: 90, 100, 120;
  --ok-rgb: 46, 106, 76;
  --warn-rgb: 138, 106, 47;
  --danger-rgb: 165, 69, 61;

  /* ---------- 字体栈 ----------
     正文优先 PingFang（macOS/iOS）→ 微软雅黑（Windows）→ Noto Sans（Linux/Android）；
     标题优先思源宋体 / 宋体-简（macOS）→ 中易宋体（Windows）。
     注意：**不要**全局设置 -webkit-font-smoothing: antialiased，
     它会让中文笔画在浅底上变细、反而降低清晰度；保持系统默认（次像素渲染）更清晰。 */
  --font-head: "Source Han Serif SC", "Noto Serif SC", "Songti SC", "SimSun", serif;
  --font-body: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Hiragino Sans GB", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink-soft);
  background: var(--bg);
  line-height: 1.8;
  font-size: 16px;
  transition: background .3s;
}

h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); font-weight: 700; line-height: 1.4; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { width: min(1160px, 92%); margin: 0 auto; }

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px;
}
/* 品牌区（Logo + 名称 + 副标题）的尺寸 / 间距 / 对齐全部走 CSS 变量，
   变量由后台「站点信息 → 品牌标识微调」写入 :root（render.js 的 applyBrandMetrics）。
   默认值与历史上写死的数字完全一致（42px / 14px / 21px+11px / 3px / 居中），
   所以不配也能保持原样；配了就能让 Logo 与文字真正"对得上"。
   每个变量都有兜底值，变量缺失或非法时退回默认外观。 */
.brand { display: flex; align-items: center; gap: var(--brand-gap, 14px); min-width: 0; }
/* 品牌标识垂直对齐：默认居中；后台选「顶部对齐」时 render.js 给 <html> 加
   data-brand-align="top"（align-items 的合法值是 center/flex-start，
   不能直接把字符串塞进 var()，用属性选择器切换）。 */
html[data-brand-align="top"] .brand { align-items: flex-start; }
.brand-mark {
  width: calc(42px * var(--brand-logo-scale, 1));
  height: calc(42px * var(--brand-logo-scale, 1));
  flex: none; border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, #ffffff 0 8%, transparent 9%),
              conic-gradient(from 210deg, var(--ink) 0 55%, var(--accent) 55% 100%);
  box-shadow: inset 0 0 0 2px rgba(255,255,255,0.25);
}
/* 后台「站点信息 → 品牌标识」上传了 Logo 时，render.js 给这个元素加 .has-img、
   把图片写成绝对地址塞进 --brand-logo，并读一次真实宽高比写进 --brand-logo-ar。

   ⚠️ 第二十九次迭代修正：**按真实宽高比自适应**，不再固定 42×42。
   运营上传的是 889×395（约 2.25:1）的横版组合标志，塞进方框 contain 之后
   只剩 42×19 的一条细线，和右侧的名称/副标题完全不成比例（用户反馈「显示比较小」）。
   现在：高度 42px、宽度按比例展开；比例特别长的（长条组合标志）由 min() 自动降高度，
   宽度封顶 190px —— 既不再压小，也不会把导航挤走。 */
/* 微调比例同样作用于上传 Logo：高度、宽度封顶都乘 --brand-logo-scale，
   运营觉得整体偏小/偏大可以整体缩放，而不必重做图片。 */
.brand-mark.has-img {
  background-image: var(--brand-logo, none);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  border-radius: 8px;
  box-shadow: none;
  width: auto;
  height: min(calc(42px * var(--brand-logo-scale, 1)), calc(190px / var(--brand-logo-ar, 1)));
  aspect-ratio: var(--brand-logo-ar, 1);
  max-width: calc(190px * var(--brand-logo-scale, 1));
}
/* 深色底（页脚）上的 Logo：图片本身通常带透明底，直接呈现即可；
   未上传图片时页脚的圆环标记走下面这条反色。 */
.footer-brand .brand-mark { box-shadow: inset 0 0 0 2px rgba(255,255,255,0.18); }
.footer-brand .brand-mark.has-img { box-shadow: none; }

/* 品牌名与副标题：**同一列宽**（inline-grid 的列宽由最宽的子项决定，两行都撑满该列），
   所以左边界与右边界天然对齐。副标题是运营可改的自由文本（现为
   "Clear World Beautiful China"），字数一多就会甩出一条、显得和品牌名不对称 ——
   这里给它封顶 260px、最多折两行，再长才省略，页头高度也不会被撑开。
   第三十次迭代：字号 / 行距走 --brand-text-scale / --brand-sub-gap（后台滑杆可调），
   名副标题**都**被显式清空时整块隐藏（.is-empty），不再残留空 gap。
   第三十一次迭代：用户要求「不限制最低值」—— 副标题去掉 11px 可读下限，
   字号完全跟随 --brand-text-scale（后台 50–200% 自由调小调大）。 */
.brand-name {
  font-family: var(--font-head); font-size: calc(21px * var(--brand-text-scale, 1)); color: var(--ink);
  letter-spacing: 1px; display: inline-grid; gap: var(--brand-sub-gap, 3px);
  min-width: 0; max-width: 260px;
}
.brand-name.is-empty { display: none; }
.brand-name > span {
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; line-height: 1.15;
  /* 第三十二次迭代：垂直偏移 + 字间距可调（后台「品牌标识微调」滑杆），
     不限最低值（运营按实际素材调小调大）；变量缺失时退回原值不破坏布局。 */
  letter-spacing: var(--brand-name-letter, 1px);
  transform: translateY(var(--brand-name-shift, 0px));
}
.brand-name small {
  font-family: var(--font-body); font-size: calc(11px * var(--brand-text-scale, 1));
  color: var(--accent); text-transform: uppercase; line-height: 1.35;
  letter-spacing: var(--brand-sub-letter, 1.5px);
  transform: translateY(var(--brand-sub-shift, 0px));
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}

.nav-links { display: flex; gap: 24px; list-style: none; }
.nav-links a {
  font-size: 14.5px; color: var(--ink-soft); padding: 6px 0;
  white-space: nowrap;                       /* 单个导航项自身不折行 */
  border-bottom: 2px solid transparent; transition: all .25s;
}
.nav-links a:hover, .nav-links a.active { color: var(--ink); border-bottom-color: var(--accent); }

/* 移动端菜单按钮（由 render.js 自动注入） */
.nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 10px;
  background: transparent; cursor: pointer; padding: 0;
}
.nav-toggle i { display: block; width: 18px; height: 2px; background: var(--ink); margin: 0 auto; border-radius: 2px; transition: all .25s; }
.nav-toggle.open i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open i:nth-child(2) { opacity: 0; }
.nav-toggle.open i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 导航项增至 9 项后的自适应（第二十三次迭代） ----------
   新增「新闻与活动 / 招贤纳士」后，导航在中等宽度下会与品牌区、
   预约按钮互相挤压。这里分两档处理：
     ① ≤1400px：先收紧间距与字号，桌面大屏仍保持单行；
     ② ≤1120px：提前折叠为汉堡菜单（比原来的 960px 更早），
        避免 9 项导航挤成两行或溢出。
   下面这组折叠规则与「平板 ≤960px」一节保持一致，只是断点更早。 */
@media (max-width: 1400px) {
  .nav-links { gap: 18px; }
  .nav-links a { font-size: 14px; }
  .nav-cta { padding: 8px 14px; margin-left: 10px; }   /* 中等宽度下按钮再收一档，防挤到「联系我们」 */
}
@media (max-width: 1120px) {
  .nav-toggle { display: flex; }
  .nav-links {
    display: none; position: absolute; top: 76px; left: 0; right: 0;
    flex-direction: column; gap: 0; background: #fff;
    border-bottom: 1px solid var(--line); box-shadow: 0 20px 40px rgba(var(--ink-rgb),.1);
    padding: 8px 0 14px;
  }
  .nav-links.open { display: flex; }
  .nav-links li { border-top: 1px solid var(--bg-soft); }
  .nav-links li:first-child { border-top: none; }
  .nav-links a { display: block; padding: 13px 24px; border-bottom: none; font-size: 15px; }
  .nav-links a.active { border-bottom-color: transparent; }
  .nav-links .nav-cta-item { display: block; border-top: none; padding: 6px 16px 10px; }
  .nav-links .nav-cta-mobile {
    display: block; text-align: center; background: var(--accent); color: #fff !important;
    border-radius: 10px; padding: 12px 20px; font-size: 15px; letter-spacing: 2px;
  }
}

.nav-cta {
  /* 第三十一次迭代：用户反馈「预约验配按钮外框太大、已经贴近联系我们」——
     收窄左右内边距（26 → 18px）、字号降半档，并与最后一项导航之间留出独立间距，
     不再挤在「联系我们」旁边。 */
  padding: 9px 18px; margin-left: 14px; border: 1px solid var(--ink); border-radius: 999px;
  font-size: 13.5px; color: var(--ink); transition: all .25s; white-space: nowrap;
}
.nav-cta:hover { background: var(--ink); color: #fff; }
.nav-links .nav-cta-item { display: none; }   /* 仅小屏折叠菜单内展示 */

/* ---------- 通用区块 ---------- */
/* 留白节奏（第三十次迭代放大到 112px 后，用户反馈「网站整体太大空间」——
   第三十一次迭代收回：桌面 96px、区块头下 48px，保留呼吸感但不显空；
   小屏按同比例收敛。） */
.section { padding: 96px 0; }
.section.soft { background: var(--bg-soft); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
/* 眉标：字号略收、字距再放开一点（12px / 5px）—— 大写英文配宽字距，
   比「大字号 + 大字距」更克制、更贵气。 */
.eyebrow {
  display: inline-block; font-size: 12px; letter-spacing: 5px; color: var(--accent);
  text-transform: uppercase; margin-bottom: 14px;
}
.section-head h2 { font-size: 36px; letter-spacing: .3px; margin-bottom: 18px; }
.section-head p { color: var(--ink-soft); }

.btn {
  display: inline-block; padding: 14px 38px; border-radius: 999px;
  background: var(--ink); color: #fff; font-size: 15px;
  letter-spacing: 2px; transition: all .3s ease; border: 1px solid var(--ink); cursor: pointer;
}
.btn:hover { background: transparent; color: var(--ink); }

/* 键盘导航可见焦点环（无障碍 + 观感统一）：鼠标点击不出现，只有 Tab 才显示 */
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.btn:focus-visible, .video-card:focus-visible, .job-phone:focus-visible { outline-offset: 4px; }

/* 强调色按钮：.accent 为语义名，.gold / .blue 是历史命名（都指向 --accent，
   因此换配色方案时按钮会自动跟随，不需要改 HTML） */
.btn.accent, .btn.gold, .btn.blue { background: var(--accent); border-color: var(--accent); }
.btn.accent:hover, .btn.gold:hover, .btn.blue:hover { background: transparent; color: var(--accent); }

/* ---------- Hero（全宽大图轮播） ---------- */
.hero-full {
  position: relative; height: min(76vh, 720px); min-height: 540px;
  background: var(--ink); overflow: hidden;
}
.hero-full .carousel {
  position: absolute; inset: 0; border-radius: 0; overflow: hidden;
  box-shadow: none; aspect-ratio: auto; background: var(--ink);
}
.carousel .slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity 1s ease;
  pointer-events: none; display: flex; align-items: flex-end; justify-content: flex-end;
}
.carousel .slide.on { opacity: 1; pointer-events: auto; }
.carousel .slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* 左侧压暗渐变，保证文字可读。
   第二十九次迭代：横向那层改为「浓度可在后台用滑杆调」——`--hero-scrim` 由 render.js
   按站点信息写进来（首页大图轮播用一个值，后台「首页 Banner」与「页面横幅」两处都能调）。
   这里必须留**两条** background 声明：
     ① 安全值——旧内核不认识 alpha 里的 var() 时会保留它，最坏也只是回到默认浓度；
     ② 带变量的那条——浓度由后台滑杆决定。第 34 次迭代按用户要求**取消了下限**
        （原来的 max(…, .66) 物理锁已移除，滑杆可拖到 0% = 完全不遮罩），
        66% 只作为后台的建议值提示；render.js 保证写进变量的永远是合法数字。

   ⚠️ 形状是「平台期 + 快速淡出」，不是整条均匀渐变 —— 这是为了照片尽量亮：
   文字（.hero-copy 标题约 486px、正文 470px）在 1000px 视口的 900px 容器里最多占约 54%，
   所以平台期定 58%（文字全落在满浓度区内），58% 之后立刻淡出到 7%，**右半张照片几乎不受遮罩影响**。
   旧写法（0.82 → 0.55 → 0.10 的整条渐变）会把中间一大片也压暗，用户反馈「图片比较暗」。 */
.carousel .slide::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(96deg, rgba(var(--deep-rgb),.74) 0%, rgba(var(--deep-rgb),.74) 58%, rgba(var(--deep-rgb),.05) 100%),
              linear-gradient(180deg, rgba(var(--deep-rgb),.12) 0%, transparent 34%, rgba(var(--deep-rgb),.26) 100%);
  background: linear-gradient(96deg,
                rgba(var(--deep-rgb), var(--hero-scrim, .74)) 0%,
                rgba(var(--deep-rgb), var(--hero-scrim, .74)) 58%,
                rgba(var(--deep-rgb), calc(var(--hero-scrim, .74) * .07)) 100%),
              linear-gradient(180deg, rgba(var(--deep-rgb),.12) 0%, transparent 34%, rgba(var(--deep-rgb),.26) 100%);
}
.carousel .slide .cap {
  position: relative; z-index: 2; margin: 0 34px 30px auto; max-width: 46%;
  background: rgba(255,255,255,.14); backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.28); border-radius: var(--radius);
  padding: 14px 22px; color: #fff; display: flex; align-items: center; gap: 14px;
}
.carousel .slide .cap b { font-family: var(--font-head); font-size: 15px; display: block; letter-spacing: 1px; }
.carousel .slide .cap span { font-size: 12px; color: rgba(255,255,255,.78); display: block; margin-top: 2px; }
.carousel .slide .cap .cap-tag {
  flex: none; font-size: 12px; color: #fff; background: var(--accent);
  border-radius: 999px; padding: 4px 12px; letter-spacing: 2px;
}
.carousel .dots {
  position: absolute; left: 0; right: 0; bottom: 26px; z-index: 5;
  display: flex; justify-content: center; gap: 9px;
}
.carousel .dots i {
  width: 34px; height: 4px; border-radius: 999px; cursor: pointer;
  background: rgba(255,255,255,.4); transition: all .3s; border: none; padding: 0;
}
.carousel .dots i.on { background: var(--accent); }
.carousel .arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
  width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.45);
  background: rgba(var(--deep-rgb),.22); backdrop-filter: blur(4px);
  color: #fff; font-size: 22px; cursor: pointer; transition: all .25s;
  display: flex; align-items: center; justify-content: center; line-height: 1;
}
.carousel .arrow:hover { background: var(--accent); border-color: var(--accent); }
.carousel .arrow.prev { left: 26px; }
.carousel .arrow.next { right: 26px; }

.hero-overlay {
  position: relative; z-index: 10; height: 100%;
  display: flex; align-items: center; pointer-events: none;
}
.hero-copy { max-width: 560px; pointer-events: auto; }
.hero-copy .eyebrow { color: var(--gold-light); }
.hero-copy h1 { font-size: 54px; color: #fff; letter-spacing: 2px; margin: 16px 0 22px; text-shadow: 0 4px 24px rgba(0,0,0,.35); }
.hero-copy h1 em { font-style: normal; color: var(--gold-light); }
/* 首屏主标题「一副多焦镜，远近皆清晰」必须整句在一行内显示：
   一旦折行，「远近皆清晰」会被拆散，语义就断了（第二十三次迭代）。
   字号用 clamp 随视口缩放，320px 手机到桌面都不会溢出；后台若把标题改得更长，
   render.js 的 fitHeroTitle() 会再做一次兜底测量并缩小字号。 */
.hero-copy h1.hero-title {
  white-space: nowrap;
  letter-spacing: 1px;
  font-size: clamp(19px, 6.2vw, 46px);
}
.hero-copy p.lead { font-size: 16.5px; max-width: 470px; margin-bottom: 34px; color: rgba(255,255,255,.82); }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-actions .btn { background: var(--accent); border-color: var(--accent); }
.hero-actions .btn:hover { background: #fff; color: var(--ink); border-color: #fff; }
.hero-actions .btn.ghosty { background: transparent; border-color: rgba(255,255,255,.7); color: #fff; }
.hero-actions .btn.ghosty:hover { background: #fff; color: var(--ink); }

.hero-stats { display: flex; gap: 44px; margin-top: 50px; flex-wrap: wrap; }
/* 第三十三次迭代：每个 stat 格的「数据+单位」与「说明」都要水平居中——
   之前默认左对齐，数字 20 / 100万 / 98% 字符宽度不同让三项右边缘参差；
   现在让 item 内的 .num/.lab 都以中心对齐，三项在视觉上更像一排整齐的「数据印章」。
   这一条同时作用于 .hero-overlay 内（heroCopyMode=left/center/right）和
   .hero-stats-band 内（heroCopyMode=none 时数据栏移到下方浅色条带），
   因为两条路径共用 .hero-stats > div 这个选择器。 */
.hero-stats > div {
  display: flex; flex-direction: column; align-items: center;
  text-align: center; min-width: 0;
}

/* ---------- Hero 文案排布（heroCopyMode，render.js 写到 .hero-full[data-copy]）----------
   left（默认）/ center / right 都是「文案叠在图上」，遮罩保证白字可读；
   none 是「不叠加」——底图自带完整品牌文案时用这个。
   （用户实测：上传的 banner 图自带 MILIDO 标志 +「舒适看世界 美丽看中国」，
     而 Hero 文案也落在左中区域，正好把图上的字盖住。） */
.hero-full[data-copy="center"] .hero-overlay { justify-content: center; }
.hero-full[data-copy="center"] .hero-copy { max-width: 780px; text-align: center; }
.hero-full[data-copy="center"] .hero-actions,
.hero-full[data-copy="center"] .hero-stats { justify-content: center; }
.hero-full[data-copy="right"] .hero-overlay { justify-content: flex-end; }
.hero-full[data-copy="right"] .hero-copy { max-width: 620px; }
/* 纯图模式：不叠加任何文案；遮罩只剩顶部/底部的轻微压暗（导航栏与轮播圆点仍看得清），
   照片中部 100% 通透。这一条不受「白字达标」约束——因为页面上一个白字都没有。 */
.hero-full[data-copy="none"] .hero-overlay { display: none; }
.hero-full[data-copy="none"] .carousel .slide::after {
  background: linear-gradient(180deg,
    rgba(var(--deep-rgb), .20) 0%, transparent 24%, transparent 72%, rgba(var(--deep-rgb), .24) 100%);
}
/* 纯图模式下数据栏的落地位：图片下方一条浅色带，数字改深色 ——
   白字压在照片上永远有「深色图看不清 / 浅色图也看不清」的两难，挪到浅底最干净。 */
.hero-stats-band {
  display: flex; justify-content: center; align-items: center;
  padding: 32px 0; background: var(--bg); border-bottom: 1px solid var(--line);
}
.hero-stats-band[hidden] { display: none; }
.hero-stats-band .hero-stats { margin-top: 0; }
.hero-stats-band .hero-stats .num { color: var(--ink); }
.hero-stats-band .hero-stats .num span { color: var(--accent); }
.hero-stats-band .hero-stats .lab { color: var(--muted); }
.hero-stats .num { font-family: var(--font-head); font-size: 30px; color: #fff; }
.hero-stats .num span { color: var(--gold-light); font-size: 18px; }
.hero-stats .lab { font-size: 13px; color: rgba(255,255,255,.6); }

/* ---------- 卡片网格 ---------- */
.grid { display: grid; gap: 28px; }
.grid.g3 { grid-template-columns: repeat(3, 1fr); }
.grid.g4 { grid-template-columns: repeat(4, 1fr); }
.grid.g2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 36px 30px; transition: all .3s;
}
.card { transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); border-color: transparent; }
.card .ico {
  width: 52px; height: 52px; border-radius: var(--radius); margin-bottom: 20px;
  background: var(--accent-light); color: var(--accent-deep);
  display: flex; align-items: center; justify-content: center; font-size: 24px;
}
.card h3 { font-size: 19px; margin-bottom: 10px; }
.card p { font-size: 14.5px; }

/* ---------- 上眼吧社区 ---------- */
.community-strip {
  background: var(--sand); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 52px 52px; color: var(--ink);
  display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center;
}
.community-strip h2 { color: var(--ink); font-size: 30px; margin-bottom: 12px; }
.community-strip p { color: var(--ink-soft); max-width: 520px; font-size: 15px; }
.community-strip .comm-stats { display: flex; gap: 42px; margin-top: 26px; }
.community-strip .comm-stats .num { font-family: var(--font-head); font-size: 26px; color: var(--ink); }
.community-strip .comm-stats .num span { color: var(--accent-deep); }
.community-strip .comm-stats .lab { font-size: 12.5px; color: var(--muted); }
.community-strip .comm-art { text-align: center; }

.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.video-card {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-soft);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
  cursor: pointer;
}
.video-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); border-color: transparent; }
.video-card .cover { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--ink-deep); }
.video-card .cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.video-card:hover .cover img { transform: scale(1.06); }
/* 底部渐变遮罩：让时长标签 / 图片上的文字在任何封面上都读得清 */
.video-card .cover::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 46%;
  background: linear-gradient(to top, rgba(var(--deep-rgb),.62), rgba(var(--deep-rgb),0));
  pointer-events: none;
}
/* 播放按钮：毛玻璃底 + 香槟金描边，悬停转为品牌金渐变
   （原实现用科技蓝半透明，和「香槟金 + 白」的主色板不统一） */
.video-card .play {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  z-index: 2;
}
.video-card .play::before {
  content: ""; width: 60px; height: 60px; border-radius: 50%;
  background: rgba(var(--deep-rgb),.34); backdrop-filter: blur(3px);
  border: 1.5px solid var(--gold-light);
  box-shadow: 0 6px 22px rgba(var(--deep-rgb),.28);
  transition: transform .3s var(--ease), background .3s var(--ease), border-color .3s var(--ease);
}
.video-card:hover .play::before {
  background: linear-gradient(140deg, var(--accent), var(--gold-light));
  border-color: transparent; transform: scale(1.06);
}
.video-card .play::after {
  content: ""; position: absolute; margin-left: 22px; z-index: 3;
  border-left: 16px solid #fff; border-top: 10px solid transparent; border-bottom: 10px solid transparent;
}
.video-card .cover .dur {
  position: absolute; right: 12px; bottom: 10px;
  background: rgba(0,0,0,.55); color: #fff; font-size: 12px;
  padding: 2px 10px; border-radius: 6px;
}
.video-card .meta { padding: 20px 22px 24px; }
.video-card .cat {
  display: inline-block; font-size: 12px; color: var(--accent-deep);
  background: var(--accent-light); border-radius: 999px; padding: 3px 12px; margin-bottom: 10px;
}
.video-card h3 { font-size: 17px; margin-bottom: 8px; }
.video-card .row { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--muted); }

.featured-video {
  display: grid; grid-template-columns: 1.25fr .75fr; gap: 0;
  background: var(--bg); border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-soft);
}
.featured-video .cover { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.featured-video .cover img { width: 100%; height: 100%; object-fit: cover; }
.featured-video .cover .play {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
}
.featured-video .cover .play::before {
  content: ""; width: 78px; height: 78px; border-radius: 50%;
  background: rgba(var(--deep-rgb),.34); backdrop-filter: blur(3px);
  border: 1.5px solid var(--gold-light); box-shadow: 0 8px 28px rgba(var(--deep-rgb),.3);
  transition: transform .3s var(--ease), background .3s var(--ease), border-color .3s var(--ease);
}
.featured-video .cover:hover .play::before {
  background: linear-gradient(140deg, var(--accent), var(--gold-light));
  border-color: transparent; transform: scale(1.05);
}
.featured-video .cover .play::after {
  content: ""; margin-left: 27px;
  border-left: 22px solid #fff; border-top: 13px solid transparent; border-bottom: 13px solid transparent;
}
.featured-video .info { padding: 46px 44px; display: flex; flex-direction: column; justify-content: center; }
.featured-video .info h3 { font-size: 24px; margin: 12px 0 14px; }
.featured-video .info p { font-size: 14.5px; margin-bottom: 22px; }
.featured-video .info .row { font-size: 13px; color: var(--muted); margin-top: 18px; }

/* ---------- 文章列表（编辑部风格，40+ 质感） ---------- */
.article-list { max-width: 880px; margin: 0 auto; }
.article-item {
  display: block;
  padding: 36px 6px; border-bottom: 1px solid var(--line); transition: all .3s;
  position: relative;
}
.article-item:first-child { border-top: 1px solid var(--line); }
.article-item:hover { padding-left: 18px; }
.article-item .article-row {
  display: grid; grid-template-columns: 1fr auto; gap: 26px; align-items: center;
  text-decoration: none; color: inherit;
}
.article-item.with-img .article-row { grid-template-columns: 176px 1fr auto; }
.article-item .a-cat {
  font-size: 12.5px; letter-spacing: 4px; color: var(--accent);
  text-transform: uppercase;
}
.article-item h3 { font-size: 22px; margin: 10px 0 8px; letter-spacing: 1px; }
.article-item p { font-size: 14.5px; color: var(--ink-soft); max-width: 640px; }
.article-item .a-meta {
  margin-top: 14px; display: flex; gap: 22px; align-items: center;
  font-size: 12.5px; color: var(--muted-2); letter-spacing: 1px;
}
.article-item .a-meta .sep { width: 3px; height: 3px; background: var(--line-strong); border-radius: 50%; }
.article-item .arrow { color: var(--accent); font-size: 24px; transition: transform .3s; }
.article-item:hover .arrow { transform: translateX(8px); }
.article-item .article-readmore {
  position: absolute; right: 6px; bottom: 18px;
  background: var(--accent-light); color: var(--accent-deep); border: 1px solid var(--accent);
  border-radius: 999px; padding: 6px 18px; font-size: 12.5px; cursor: pointer;
  letter-spacing: 1px;
  transition: background .2s;
}
.article-item .article-readmore:hover { background: var(--accent); color: #fff; }
.article-item .a-thumb { width: 176px; height: 120px; border-radius: 8px; overflow: hidden; background: var(--placeholder); }
.article-item .a-thumb img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- 全部文章页 / 文章详情页（第二十二次迭代：站内阅读） ---------- */
.article-item .a-meta .a-read { color: var(--accent); letter-spacing: 1px; }

/* 全部文章：分类筛选 + 搜索 + 列表 */
.art-filters {
  max-width: 880px; margin: 0 auto 30px;
  display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between;
}
.art-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.art-chip {
  border: 1px solid var(--line); background: var(--bg); color: var(--ink-soft);
  border-radius: 999px; padding: 8px 18px; font-size: 13.5px; cursor: pointer;
  letter-spacing: 1px; font-family: inherit; transition: all .2s;
}
.art-chip:hover { border-color: var(--accent); color: var(--accent); }
.art-chip.on { background: var(--accent); border-color: var(--accent); color: #fff; }
.art-search input {
  border: 1px solid var(--line); border-radius: 999px; padding: 9px 18px;
  font-size: 13.5px; min-width: 240px; outline: none; font-family: inherit; color: var(--ink);
}
.art-search input:focus { border-color: var(--accent); }
.art-main, .art-all-list { max-width: 880px; margin: 0 auto; }
.art-more { text-align: center; margin-top: 34px; }
.art-count { font-size: 13px; color: var(--muted-2); letter-spacing: 1px; }
.art-empty { text-align: center; color: var(--muted); line-height: 2.1; padding: 46px 0; }
.art-back { text-align: center; margin-top: 44px; }

/* 文章详情（阅读页） */
.art-page { padding-top: 44px; }
.art-crumb { max-width: 760px; margin: 0 auto 20px; font-size: 13px; color: var(--muted-2); letter-spacing: 1px; }
.art-crumb a { color: var(--muted-2); }
.art-crumb a:hover { color: var(--accent); }
.art-detail { max-width: 760px; margin: 0 auto; }
.art-detail h1 { font-size: 34px; line-height: 1.45; margin: 14px 0 16px; letter-spacing: 1px; }
.art-meta { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; font-size: 13px; color: var(--muted-2); letter-spacing: 1px; }
.art-meta .sep { width: 3px; height: 3px; background: var(--line-strong); border-radius: 50%; }
.art-cover { margin: 28px 0 6px; border-radius: var(--radius); overflow: hidden; background: var(--placeholder); }
.art-cover img { width: 100%; display: block; }
.art-body { margin-top: 28px; font-size: 16px; line-height: 2; color: var(--ink-soft); }
.art-body p { margin-bottom: 18px; }
.art-body img { max-width: 100%; height: auto; border-radius: 8px; }
.art-body h2 { font-size: 22px; margin: 32px 0 14px; color: var(--ink); }
.art-body h3 { font-size: 18px; margin: 26px 0 12px; color: var(--ink); }
.art-body ul, .art-body ol { margin: 0 0 18px 22px; }
.art-body li { margin-bottom: 8px; }
.art-tip { font-size: 13px; color: var(--muted-2); border-left: 3px solid var(--accent-light); padding-left: 14px; }
.art-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 34px; border-top: 1px solid var(--line); padding-top: 22px; }
.art-nav a {
  display: block; text-decoration: none; color: inherit;
  border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; transition: all .2s;
}
.art-nav a:hover { border-color: var(--accent); }
.art-nav a span { display: block; font-size: 12.5px; color: var(--muted-2); letter-spacing: 2px; margin-bottom: 6px; }
.art-nav a b { font-size: 15px; font-weight: 500; }
.art-nav .art-next { text-align: right; }
/* 文章底部（第三十一次迭代重排）：用户反馈「文章底部排版待优化、整体留白太大」——
   上一篇/下一篇 → 社区引导卡 → 相关内容，三段间距整体收紧，
   「相关内容」用分隔线与上文分组（视觉上明确是页脚延伸区，不再是孤立的大空档）。 */
.art-join {
  margin-top: 28px; background: var(--bg-soft); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px 26px;
  display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: space-between;
}
.art-join b { display: block; font-size: 16px; margin-bottom: 6px; }
.art-join span { font-size: 13.5px; color: var(--ink-soft); }
.art-related { max-width: 880px; margin: 44px auto 0; padding-top: 34px; border-top: 1px solid var(--line); }
.art-related h2 { font-size: 20px; margin-bottom: 14px; }
.art-more-link { text-align: center; margin-top: 18px; }
.art-missing { text-align: center; padding: 60px 0; }
.art-missing h1 { font-size: 26px; margin-bottom: 14px; }
.art-missing p { color: var(--ink-soft); margin-bottom: 12px; }

/* 三端适配：平板 */
@media (max-width: 960px) {
  .art-filters { flex-direction: column; align-items: stretch; }
  .art-search input { width: 100%; min-width: 0; }
  .art-detail h1 { font-size: 27px; }
}

/* 三端适配：手机 */
@media (max-width: 600px) {
  .art-page { padding-top: 28px; }
  .art-crumb { font-size: 12.5px; word-break: break-all; line-height: 1.9; }
  .art-detail h1 { font-size: 23px; }
  .art-body { font-size: 15.5px; line-height: 1.95; }
  .art-body h2 { font-size: 19px; }
  .art-nav { grid-template-columns: 1fr; }
  .art-nav .art-next { text-align: left; }
  .art-join { flex-direction: column; align-items: flex-start; }
  .art-chip { padding: 7px 14px; font-size: 13px; }
  .art-more .btn { width: 100%; }
}

.ugc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.ugc {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 30px; position: relative;
}
.ugc::before {
  content: "“"; font-family: var(--font-head); font-size: 60px; color: var(--accent-light);
  position: absolute; top: 6px; left: 22px; line-height: 1;
}
.ugc p { font-size: 14.5px; position: relative; margin-bottom: 18px; }
.ugc .who { display: flex; align-items: center; gap: 12px; }
.ugc .who .av {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--ink);
  color: #fff; display: flex; align-items: center; justify-content: center; font-size: 15px;
}
.ugc .who b { color: var(--ink); font-size: 14px; display: block; }
.ugc .who span { font-size: 12px; color: var(--muted); }

/* ---------- 社区小程序码引导区 ---------- */
.qr-join {
  background: var(--sand); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 52px 56px;
  display: grid; grid-template-columns: 1.2fr .8fr; gap: 44px; align-items: center;
}
.qr-join h3 { font-size: 27px; margin-bottom: 12px; letter-spacing: 1px; }
.qr-join p { font-size: 14.5px; max-width: 520px; }
.qr-join .qr-actions { display: flex; gap: 14px; margin-top: 26px; flex-wrap: wrap; }
.qr-join .hint { margin-top: 16px; font-size: 12.5px; color: var(--muted-2); }
.qr-side {
  justify-self: center; text-align: center; cursor: pointer;
  background: #fff; border-radius: var(--radius-lg); padding: 22px 22px 16px;
  box-shadow: 0 14px 34px rgba(var(--accent-deep-rgb),.16); transition: all .3s; border: 1px solid rgba(var(--accent-rgb),.18);
}
.qr-side:hover { transform: translateY(-4px); }
.qr-side img { width: 170px; height: 170px; margin: 0 auto; }
.qr-side b { display: block; margin-top: 12px; font-size: 14px; color: var(--ink); letter-spacing: 1px; }
.qr-side span { font-size: 12px; color: var(--muted-2); }

/* ---------- 二维码放大弹窗 ---------- */
.qr-mask {
  position: fixed; inset: 0; z-index: 999; display: none;
  align-items: center; justify-content: center;
  background: rgba(var(--deep-rgb),.62); backdrop-filter: blur(4px);
}
.qr-mask.show { display: flex; }
.qr-pop {
  background: #fff; border-radius: var(--radius-lg); padding: 40px 44px 32px; text-align: center;
  width: min(360px, 90vw); position: relative;
  animation: qrPop .28s ease; box-shadow: 0 30px 80px rgba(var(--deep-rgb),.35);
}
@keyframes qrPop { from { opacity: 0; transform: translateY(16px) scale(.96); } to { opacity: 1; transform: none; } }
.qr-pop .qr-close {
  position: absolute; top: 12px; right: 14px; width: 32px; height: 32px;
  border: none; background: var(--bg-soft); border-radius: 50%; cursor: pointer;
  font-size: 16px; color: var(--ink-soft); line-height: 1; transition: all .2s;
}
.qr-pop .qr-close:hover { background: var(--accent-light); color: var(--accent-deep); }
.qr-pop .qr-tag {
  display: inline-block; font-size: 12px; letter-spacing: 3px; color: var(--accent-deep);
  background: var(--accent-light); border-radius: 999px; padding: 4px 16px; margin-bottom: 16px;
}
.qr-pop img { width: 220px; height: 220px; margin: 0 auto; border: 1px solid var(--line); border-radius: var(--radius); }
.qr-pop h3 { font-size: 20px; margin: 16px 0 6px; }
.qr-pop p { font-size: 13px; color: var(--muted-2); }

/* ---------- 页脚关注我们 ---------- */
/* 页脚「关注我们」：四个二维码（公众号 / 小程序 / 企微 / 视频号）。
   第三十二次迭代重排：用户反馈「单独一行导致底部栏占空间太大」——
   改由 render.js 的 attachFooterFollow() 把这一块 DOM 移进品牌列，二维码 86→64px。
   第三十四次迭代：用户要求「关注我们放到底部栏右侧」——
   它是 .footer-grid 的最后一列（span 4），与导航/社区/联系**顶部对齐**：
   这里**不能**再有 margin-top / padding-top / border-top（第 32 次内嵌时代遗留），
   否则它的 h4 会被顶下去 34px，四栏标题就对不齐。标题间距与全站 h4 统一（18px）。 */
.footer-follow h4 {
  text-align: left;
}
.footer-qr { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px 10px; margin: 0; }
.qr-item {
  display: flex; flex-direction: column; align-items: center;
  text-align: center; cursor: pointer;
}
.qr-item .qr-frame {
  width: 64px; height: 64px; flex: none; background: #fff; border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  padding: 6px; transition: all .25s; border: 1px solid rgba(255,255,255,.16);
}
/* 保持原始宽高比：二维码若不是正方形，拉伸会把它变成不可扫的菱形 */
.qr-item .qr-frame img { display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; }
.qr-item:hover .qr-frame { transform: translateY(-3px); border-color: var(--accent); }
.qr-item b {
  margin-top: 8px; font-size: 11.5px; color: rgba(255,255,255,.82); font-weight: 400;
  line-height: 1.35; min-height: 2.6em;
}
.qr-item span { font-size: 10.5px; color: rgba(255,255,255,.62); line-height: 1.4; }

/* ---------- 产品列表 ---------- */
.product {
  display: grid; grid-template-columns: 340px 1fr; gap: 44px;
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; margin-bottom: 28px; transition: all .3s;
}
.product:hover { box-shadow: var(--shadow); }
.product .pic {
  background: linear-gradient(140deg, var(--accent-light) 0%, var(--bg-soft) 100%);
  min-height: 260px; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-size: 56px; color: rgba(var(--ink-rgb),.28);
}
.product .info { padding: 36px 40px 36px 0; }
.product .tag {
  display: inline-block; font-size: 12px; letter-spacing: 2px; color: var(--accent);
  border: 1px solid var(--accent); border-radius: 999px; padding: 3px 14px; margin-bottom: 14px;
}
.product h3 { font-size: 23px; margin-bottom: 12px; }
.product ul { list-style: none; margin: 18px 0 22px; }
.product ul li { padding-left: 24px; position: relative; font-size: 14.5px; margin-bottom: 6px; }
.product ul li::before {
  content: ""; position: absolute; left: 2px; top: 11px;
  width: 8px; height: 8px; border-radius: 50%; background: var(--accent);
}

/* ---------- 眼周边产品 ---------- */
.acc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.acc-card {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: all .3s; display: flex; flex-direction: column;
}
.acc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.acc-card .pic {
  position: relative; aspect-ratio: 16 / 10;
  background: linear-gradient(140deg, var(--accent-light) 0%, var(--tech-light) 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: 52px; color: var(--accent-deep);
}
.acc-card .pic .price {
  position: absolute; right: 12px; bottom: 12px;
  background: rgba(255,255,255,.94); border: 1px solid var(--line);
  border-radius: 999px; padding: 4px 14px;
  font-family: var(--font-head); font-size: 15px; color: var(--accent-deep);
}
.acc-card .body { padding: 22px 24px 26px; flex: 1; display: flex; flex-direction: column; }
.acc-card .tag {
  display: inline-block; font-size: 12px; color: var(--tech);
  background: var(--tech-light); border-radius: 999px; padding: 3px 12px;
  margin-bottom: 10px; align-self: flex-start;
}
.acc-card h3 { font-size: 18px; margin-bottom: 8px; }
.acc-card .body p { font-size: 13.5px; flex: 1; }
.acc-card ul { list-style: none; margin: 14px 0 18px; }
.acc-card ul li { padding-left: 20px; position: relative; font-size: 13px; margin-bottom: 5px; }
.acc-card ul li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  color: var(--tech); font-size: 12px; font-weight: 700;
}
.acc-card .btn { text-align: center; }
.acc-card .btn:hover { color: var(--tech); }

/* ---------- 流程步骤 ---------- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.step { position: relative; padding: 34px 26px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); }
.step::before {
  counter-increment: step; content: "0" counter(step);
  font-family: var(--font-head); font-size: 40px; color: var(--accent-light);
  -webkit-text-stroke: 1px var(--accent); display: block; margin-bottom: 8px;
}
.step h3 { font-size: 18px; margin-bottom: 8px; }
.step p { font-size: 14px; }

/* ---------- 内页横幅 ----------
   两种形态：
   ① 默认（未配图）—— 浅色底 + 深色文字，与全站「深色只留给页脚」的预算一致；
   ② .has-bg —— 后台「页面横幅」为该页配了底图时，render.js 挂上这个类并把图片
      写进 --pb-img。此时用深蓝遮罩压住图片、文字转白：最亮处（纯白像素）
      仍能保证正文 ≥4.5:1，check-theme.mjs 会实算这条对比度。 */
.page-banner {
  background: var(--sand);
  border-bottom: 1px solid var(--line);
  color: var(--ink); padding: 64px 0 56px; text-align: center;
}
.page-banner .eyebrow { color: var(--accent); }
.page-banner h1 { color: var(--ink); font-size: 36px; margin-bottom: 12px; }
.page-banner p { color: var(--muted); max-width: 560px; margin: 0 auto; font-size: 15px; }

.page-banner.has-bg {
  position: relative; overflow: hidden;
  /* 图片未加载成功时的兜底底色，保证白字始终有底 */
  background-color: var(--ink-deep);
  /* ⚠️ 消费者是这张样式表：CSS 里相对 url() 会按「使用 var() 的那张表」解析，
     所以 --pb-img 里必须是**绝对地址**（render.js 的 toAbsolute() 已定死），
     直接写相对路径会变成 /css/images/… 而静默失效。 */
  background-image: var(--pb-img, none);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-bottom-color: transparent;
  padding: 78px 0 70px;
  /* 左对齐：底图主体一般压在右侧，居中文字会正好盖住它
     （后台「页面横幅」的提示同样是「主体偏右、左侧留白，文字落在左侧」） */
  text-align: left;
}
.page-banner.has-bg::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  /* ⚠️ 两条 background 声明是**有意**的，别删前一条：
       ① 安全值——旧内核不认识 alpha 里的 var() 时保留它；
       ② 带变量那条——浓度由后台「页面横幅」的滑杆控制（render.js 写 --pb-scrim）。
          第 34 次迭代取消了下限（原 max(…, .66) 已移除），滑杆可到 0% = 完全不遮罩；
          66% 只是后台的建议值（白字对纯白照片 5.64:1，AA 只要 4.5）。
   渐变的**平台期到 62%**：文字（.container 内的标题与说明）在 >1120px 下最多占 57% 宽，
   全部落在平台期内，所以「照片最亮处」永远不出现在文字底下；
   62% 之后快速淡出，右侧照片主体保持通透（原来整条都是 0.66–0.86，照片闷）。 */
  background: linear-gradient(90deg,
    rgba(var(--deep-rgb), .86) 0%,
    rgba(var(--deep-rgb), .86) 62%,
    rgba(var(--deep-rgb), .10) 100%);
  background: linear-gradient(90deg,
    rgba(var(--deep-rgb), var(--pb-scrim, .86)) 0%,
    rgba(var(--deep-rgb), var(--pb-scrim, .86)) 62%,
    rgba(var(--deep-rgb), calc(var(--pb-scrim, .86) * .12)) 100%);
}
.page-banner.has-bg .container { position: relative; z-index: 1; }
.page-banner.has-bg .eyebrow { color: rgba(255,255,255,.88); }
.page-banner.has-bg h1 { color: #fff; text-shadow: 0 2px 12px rgba(var(--deep-rgb),.6); }
.page-banner.has-bg p {
  color: rgba(255,255,255,.94); text-shadow: 0 1px 6px rgba(var(--deep-rgb),.55);
  max-width: 640px; margin: 0;
}
/* 详情页横幅里还有一条面包屑（.crumb）——它默认是 --muted 深灰，压在照片上会看不见 */
.page-banner.has-bg .crumb { justify-content: flex-start; margin: 14px 0 0; }
.page-banner.has-bg .crumb a { color: rgba(255,255,255,.86); }
.page-banner.has-bg .crumb a:hover { color: #fff; border-bottom-color: #fff; }
.page-banner.has-bg .crumb b { color: #fff; }

/* ---------- 关于页 ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split h2 { font-size: 30px; margin: 10px 0 18px; }
.split .quote {
  margin-top: 24px; padding-left: 18px; border-left: 3px solid var(--accent);
  font-family: var(--font-head); font-size: 17px; color: var(--ink);
}

.timeline { list-style: none; border-left: 2px solid var(--line); margin-left: 8px; }
.timeline li { position: relative; padding: 0 0 36px 34px; }
.timeline li::before {
  content: ""; position: absolute; left: -7px; top: 8px; width: 12px; height: 12px;
  border-radius: 50%; background: var(--bg); border: 3px solid var(--accent);
}
.timeline .year { font-family: var(--font-head); color: var(--accent); font-size: 18px; }

/* ---------- 发展历程：固定高度内可上下滑动（第二十三次迭代） ----------
   条目变多时页面不会被撑得过长，也不会出现「后面几条看不到」的情况。
   容器可聚焦（about.html 里 tabindex="0"），支持键盘 ↑↓ / PageUp / PageDown 滚动。 */
.timeline-scroll {
  max-height: 440px; overflow-y: auto;
  padding: 4px 20px 0 4px;
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  scrollbar-width: thin; scroll-behavior: smooth;
}
.timeline-scroll:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.timeline-scroll::-webkit-scrollbar { width: 8px; }
.timeline-scroll::-webkit-scrollbar-track { background: transparent; }
.timeline-scroll::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: 8px; }
.timeline-scroll::-webkit-scrollbar-thumb:hover { background: var(--muted-2); }
.timeline-scroll .timeline { margin: 20px 0 0 14px; }
.timeline-scroll .timeline li:last-child { padding-bottom: 26px; }
.timeline-hint { text-align: center; font-size: 13px; color: var(--muted); margin: -34px 0 24px; }
.timeline-hint b { color: var(--accent); }

/* ---------- 招贤纳士（jobs.html，第二十三次迭代） ---------- */
.job-list { display: grid; gap: 22px; }
.job-item {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 32px; transition: all .25s;
}
.job-item:hover { box-shadow: var(--shadow-lift); transform: translateY(-3px); border-color: transparent; }
.job-top { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.job-top h3 { font-size: 21px; margin: 0; }
.job-salary { font-family: var(--font-head); color: var(--accent); font-size: 18px; white-space: nowrap; }
.job-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.job-tag {
  font-size: 12.5px; color: var(--ink-soft); background: var(--bg-soft);
  border: 1px solid var(--line); border-radius: 999px; padding: 3px 12px;
}
.job-tag.ghost { background: transparent; border-style: dashed; }
.job-meta { display: flex; flex-wrap: wrap; gap: 26px; list-style: none; margin-top: 16px; }
.job-meta li { font-size: 13.5px; color: var(--ink-soft); }
.job-meta b { color: var(--ink); font-weight: 700; margin-right: 6px; }
.job-sec { margin-top: 20px; }
.job-sec h4 { font-size: 14.5px; color: var(--ink); margin-bottom: 8px; }
.job-sec ul { list-style: none; }
.job-sec li { position: relative; padding-left: 16px; font-size: 14px; color: var(--ink-soft); line-height: 1.9; }
.job-sec li::before {
  content: ""; position: absolute; left: 0; top: 12px;
  width: 5px; height: 5px; border-radius: 50%; background: var(--accent);
}
.job-desc { margin-top: 16px; font-size: 14px; color: var(--ink-soft); line-height: 1.9; }
.job-ops { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.job-empty { text-align: center; color: var(--muted); line-height: 2.1; padding: 40px 0; }
.job-empty a { color: var(--accent); border-bottom: 1px solid currentColor; }

/* 岗位卡片上的「电话咨询」：按钮上直接显示号码（桌面端 tel: 不会拨号，
   只写「电话咨询」会让人不知道打哪个号） */
.job-phone b { font-weight: 700; letter-spacing: .3px; margin-left: 4px; color: var(--ink); }
.job-phone:hover b { color: inherit; }

/* 招聘页底部的联系方式卡片（在深色 CTA 横幅上，做成半透明玻璃卡） */
.job-contact { margin-top: 6px; }
.jc-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px; max-width: 720px; margin: 0 auto 18px; text-align: left;
}
.jc-item {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--bg); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 18px 20px;
}
.jc-ico {
  flex: none; width: 38px; height: 38px; border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(140deg, var(--accent), var(--gold-light));
  color: #fff; font-size: 17px;
}
.jc-body { min-width: 0; }
.jc-body i {
  display: block; font-style: normal; font-size: 12.5px;
  color: var(--muted); letter-spacing: .4px;
}
.jc-body b {
  display: block; font-family: var(--font-head); font-size: 19px; color: var(--ink);
  margin: 4px 0 12px; letter-spacing: .5px; word-break: break-all;
}
.jc-tip { font-size: 12.5px; color: var(--muted); max-width: 640px; margin: 0 auto; }
@media (max-width: 600px) {
  .jc-grid { grid-template-columns: 1fr; gap: 12px; }
  .jc-body b { font-size: 17px; }
}

.value-box { text-align: center; padding: 48px 32px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); }
.value-box .zh { font-family: var(--font-head); font-size: 42px; color: var(--accent); }
.value-box h3 { margin: 10px 0 8px; font-size: 20px; }

.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.member { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 28px; text-align: center; transition: all .3s; }
.member:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); }
.member .avatar {
  width: 84px; height: 84px; margin: 0 auto 18px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-size: 30px; color: #fff;
  background: var(--ink);
}
.member h3 { font-size: 19px; }
.member .role { color: var(--accent); font-size: 13px; letter-spacing: 2px; margin: 4px 0 12px; }
.member p { font-size: 13.5px; }

/* ---------- 联系页 ---------- */
.contact-wrap { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; }
.contact-item { display: flex; gap: 18px; margin-bottom: 30px; }
.contact-item .ico {
  flex: none; width: 48px; height: 48px; border-radius: var(--radius);
  background: var(--accent-light); color: var(--accent-deep);
  display: flex; align-items: center; justify-content: center; font-size: 20px;
}
.contact-item h3 { font-size: 16px; margin-bottom: 4px; }
.contact-item p { font-size: 14.5px; }

/* 联系页二维码卡片 */
.qr-card {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 26px 28px; text-align: center; transition: all .3s;
  display: flex; flex-direction: column; align-items: center;
}
.qr-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.qr-card .ico {
  width: 52px; height: 52px; border-radius: var(--radius); margin-bottom: 16px;
  display: flex; align-items: center; justify-content: center; font-size: 24px;
}
.qr-card.gzh .ico { background: var(--accent-light); color: var(--accent-deep); }
.qr-card.mini .ico { background: var(--tech-light); color: var(--tech); }
.qr-card.wecom .ico { background: var(--accent-light); color: var(--accent-deep); }
.qr-card.video .ico { background: var(--tech-light); color: var(--tech); }
.qr-card h3 { font-size: 18px; margin-bottom: 6px; }
.qr-card p { font-size: 13px; margin-bottom: 18px; flex: 1; }
.qr-card .qr-holder {
  width: 150px; height: 150px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 10px; margin-bottom: 14px;
}
.qr-card .qr-holder img { width: 100%; height: 100%; }
.qr-card .btn-enlarge {
  background: none; border: none; cursor: pointer; font-family: var(--font-body);
  font-size: 12.5px; color: var(--accent); letter-spacing: 1px; padding: 6px 12px;
  border-bottom: 1px dashed var(--accent); transition: all .2s;
}
.qr-card .btn-enlarge:hover { color: var(--accent-deep); border-bottom-color: var(--accent-deep); }

/* ---------- 门店地址页 ---------- */
.city-filter {
  display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-bottom: 52px;
}
.city-chip {
  border: 1px solid var(--line); background: var(--bg); color: var(--ink-soft);
  border-radius: 999px; padding: 8px 24px; font-size: 14px; font-family: var(--font-body);
  cursor: pointer; transition: all .25s; letter-spacing: 1px;
}
.city-chip:hover { border-color: var(--accent); color: var(--accent); }
.city-chip.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.city-chip .cnt { font-size: 12px; color: inherit; opacity: .55; margin-left: 4px; }
.store-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.store-card {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 28px 24px; transition: all .3s; display: flex; flex-direction: column;
  position: relative;
}
.store-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); border-color: transparent; }
.store-card .s-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 14px; }
.store-card h3 { font-size: 19px; letter-spacing: 1px; }
.store-card .s-tag {
  flex: none; font-size: 12px; letter-spacing: 1.5px; color: var(--accent);
  border: 1px solid var(--accent); border-radius: 999px; padding: 3px 12px;
}
.store-card .s-city {
  display: inline-block; font-size: 12px; color: var(--tech); background: var(--tech-light);
  border-radius: 6px; padding: 2px 10px; margin-bottom: 12px; letter-spacing: 1px;
}
.store-card .s-meta { font-size: 13.5px; margin-bottom: 8px; display: flex; gap: 10px; }
.store-card .s-meta .k { color: var(--muted-2); flex: none; letter-spacing: 2px; }
.store-card .s-map {
  margin-top: auto; padding-top: 16px; font-size: 13px; color: var(--accent);
  align-self: flex-start; border-bottom: 1px dashed transparent; transition: all .2s;
}
.store-card .s-map:hover { border-bottom-color: var(--accent); }
.store-empty { text-align: center; color: var(--muted-2); padding: 60px 0; font-size: 15px; }

.form { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 40px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form label { display: block; font-size: 13px; color: var(--ink); margin-bottom: 6px; letter-spacing: 1px; }
.form input, .form select, .form textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px;
  font-family: var(--font-body); font-size: 14px; background: var(--bg-soft); color: var(--ink);
  transition: border .2s; outline: none;
}
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--accent); background: #fff; }
.form textarea { resize: vertical; min-height: 120px; }
.form .full { grid-column: 1 / -1; }
.form button { margin-top: 22px; width: 100%; font-family: var(--font-body); }
.form .hint { margin-top: 14px; text-align: center; font-size: 12.5px; color: var(--muted-2); }

/* ---------- FAQ ---------- */
.faq { max-width: 780px; margin: 0 auto; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); margin-bottom: 14px; padding: 0 26px; }
.faq summary {
  cursor: pointer; list-style: none; padding: 20px 0;
  font-family: var(--font-head); font-size: 17px; color: var(--ink);
  display: flex; justify-content: space-between; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 22px; }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding-bottom: 20px; font-size: 14.5px; }

/* ---------- CTA 横幅 & 页脚 ---------- */
.cta-band {
  background: var(--accent-light); border-top: 1px solid var(--line);
  color: var(--ink); text-align: center; padding: 68px 0;
}
.cta-band h2 { color: var(--ink); font-size: 30px; margin-bottom: 14px; }
.cta-band p { color: var(--ink-soft); margin-bottom: 30px; }

.site-footer { background: var(--footer-bg); color: rgba(255,255,255,.62); padding: 56px 0 0; font-size: 14px; }
/* ---------- 页脚布局（第三十 / 三十二 / 三十三 / 三十四次迭代） ----------
   第三十次：12 列栅格 + 四栏（品牌 4 / 导航 3 / 社区 2 / 联系 3）。
   第三十二次：关注我们从 footer-grid 末尾移入 brand 列内嵌（不独立行），二维码紧凑化。
   第三十三次：用户反馈「底部不要显示品牌 logo/中英文名称/简介文字」——整列 display:none。
   第三十四次（用户反馈「四栏要对齐、关注我们放右侧」）：
     关注我们由 attachFooterFollow() 移到 .footer-grid **末位**（视觉最右），
     隐藏的 .footer-brand 兜到更末。可见列顺序 = 导航 3 | 社区 2 | 联系 3 | 关注我们 4，
     合计 12 列。四栏都是 grid item，都从行顶开始 → 四个 h4 自然在同一水平线上。
   ⚠️ 不要再给 .footer-follow 加 margin-top / padding-top：那会把它的 h4 顶下去，
   四栏标题就对不齐了（第 32 次迭代遗留的内嵌样式，已在本轮删除）。
   ⚠️ 必须先 DOM 移动（render.js）后 CSS 才生效；隐藏的 brand 也要在 grid 里排到末位，
   否则 display:none 仍占顺序位会挤出空白（第 33 次迭代实测）。 */
.footer-grid {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 36px 32px; padding-bottom: 36px;
  align-items: start;                 /* 四栏顶部对齐（不被最高的那栏拉伸出空隙） */
}
.footer-brand { display: none; }    /* 第三十三次迭代：整列隐藏（DOM 排到 grid 末位） */
.footer-nav { grid-column: span 3; }
/* 快速导航 9 个链接排成双列（5+4），栏高和旁边的社区/联系差不多 */
.footer-nav ul { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 22px; }
.footer-comm { grid-column: span 2; }
.footer-contact { grid-column: span 3; }
.footer-follow { grid-column: span 4; }   /* 第三十四次迭代：底部栏右侧独立成列 */
.site-footer h4 { color: #fff; font-size: 15px; margin-bottom: 18px; letter-spacing: 2px; }
.site-footer ul { list-style: none; }
.site-footer ul li { margin-bottom: 10px; }
.site-footer ul a:hover { color: var(--gold-light); }
.footer-brand .brand-name { color: #fff; }
.footer-brand .brand-name small { color: var(--gold-light); }
.footer-brand p { margin-top: 16px; font-size: 13.5px; max-width: 300px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08); padding: 22px 0;
  display: flex; justify-content: space-between; font-size: 12.5px; flex-wrap: wrap; gap: 8px;
}

/* ---------- 轻提示（前台全局，如「已安全退出后台」） ---------- */
.site-toast {
  position: fixed; top: 24px; left: 50%; z-index: 500;
  transform: translateX(-50%) translateY(-90px);
  background: var(--ink); color: #fff; padding: 12px 26px; border-radius: 999px;
  font-size: 14px; letter-spacing: .5px; box-shadow: 0 14px 40px rgba(var(--deep-rgb),.28);
  transition: transform .35s cubic-bezier(.2,.8,.3,1); max-width: 88vw; text-align: center;
}
.site-toast.show { transform: translateX(-50%) translateY(0); }

/* ---------- 响应式 ----------
   第三十三次迭代：.footer-brand 整列 display:none（用户反馈不要显示品牌标识与简介）。
   第三十四次迭代：关注我们由 render.js 移到 .footer-grid 末位（底部栏右侧），
   与导航/社区/联系顶部对齐。 */
/* 平板（≤960px） */
@media (max-width: 960px) {
  .split, .contact-wrap, .featured-video, .qr-join, .community-strip { grid-template-columns: 1fr; }
  .grid.g3, .grid.g4, .steps, .team-grid, .video-grid, .ugc-grid, .acc-grid { grid-template-columns: repeat(2, 1fr); }
  .store-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px 28px; }
  /* 平板：重置桌面端 12 列布局的 span，避免 span 3/2/3/4 挤不进两列轨道。
     两列布局下顺序 = 导航 | 社区 / 联系 | 关注我们（关注我们在右下角）。
     二维码间距在 64px 紧凑尺寸下收紧到 12px。 */
  .footer-grid > div { grid-column: auto; }
  .footer-qr { gap: 12px; }
  .product { grid-template-columns: 1fr; }
  .product .info { padding: 0 28px 28px; }

  /* 移动端导航折叠 */
  .nav-toggle { display: flex; }
  .nav-links {
    display: none; position: absolute; top: 76px; left: 0; right: 0;
    flex-direction: column; gap: 0; background: #fff;
    border-bottom: 1px solid var(--line); box-shadow: 0 20px 40px rgba(var(--ink-rgb),.1);
    padding: 8px 0 14px;
  }
  .nav-links.open { display: flex; }
  .nav-links li { border-top: 1px solid var(--bg-soft); }
  .nav-links li:first-child { border-top: none; }
  .nav-links a { display: block; padding: 13px 24px; border-bottom: none; font-size: 15px; }
  .nav-links a.active { border-bottom-color: transparent; }
  .nav-links .nav-cta-item { display: block; border-top: none; padding: 6px 16px 10px; }
  .nav-links .nav-cta-mobile {
    display: block; text-align: center; background: var(--accent); color: #fff !important;
    border-radius: 10px; padding: 12px 20px; font-size: 15px; letter-spacing: 2px;
  }

  /* Hero 平板适配 */
  .hero-full { height: 66vh; min-height: 480px; }
  .hero-copy h1 { font-size: 42px; }
  .hero-stats { gap: 32px; margin-top: 38px; }
  .hero-stats .num { font-size: 24px; }
  .carousel .slide .cap { max-width: 60%; }
  .carousel .arrow { width: 40px; height: 40px; }
  .carousel .arrow.prev { left: 14px; }
  .carousel .arrow.next { right: 14px; }

  .section { padding: 72px 0; }
  .section-head h2 { font-size: 29px; }
  .qr-join { padding: 40px 32px; }
  .qr-side { justify-self: center; margin-top: 8px; }

  /* 平板：容器变窄，文字（.container 内的标题/说明、.hero-copy）最宽会占到 ~72%，
     所以把渐变平台期从 62% 拉到 72%——「照片最亮处」仍然不会跑到文字底下。
     两条声明同样要成对出现（前一条是旧内核的安全值）。 */
  .page-banner.has-bg::before {
    background: linear-gradient(90deg,
      rgba(var(--deep-rgb), .86) 0%, rgba(var(--deep-rgb), .86) 72%, rgba(var(--deep-rgb), .10) 100%);
    background: linear-gradient(90deg,
      rgba(var(--deep-rgb), var(--pb-scrim, .86)) 0%,
      rgba(var(--deep-rgb), var(--pb-scrim, .86)) 72%,
      rgba(var(--deep-rgb), calc(var(--pb-scrim, .86) * .12)) 100%);
  }
  /* 平板：容器变窄（视口 600px 时容器约 540px），标题 42px 也会占到约 70% 宽，
     所以平台期从 58% 拉到 72%（与内页横幅同一口径）。 */
  .carousel .slide::after {
    background: linear-gradient(96deg,
      rgba(var(--deep-rgb), .74) 0%, rgba(var(--deep-rgb), .74) 72%, rgba(var(--deep-rgb), .05) 100%),
      linear-gradient(180deg, rgba(var(--deep-rgb),.12) 0%, transparent 34%, rgba(var(--deep-rgb),.26) 100%);
    background: linear-gradient(96deg,
      rgba(var(--deep-rgb), var(--hero-scrim, .74)) 0%,
      rgba(var(--deep-rgb), var(--hero-scrim, .74)) 72%,
      rgba(var(--deep-rgb), calc(var(--hero-scrim, .74) * .07)) 100%),
      linear-gradient(180deg, rgba(var(--deep-rgb),.12) 0%, transparent 34%, rgba(var(--deep-rgb),.26) 100%);
  }
}

/* 手机（≤600px） */
@media (max-width: 600px) {
  .grid.g3, .grid.g4, .steps, .team-grid, .video-grid, .ugc-grid, .form-grid, .footer-grid, .acc-grid, .store-grid { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
  .section-head { margin-bottom: 38px; }
  .section-head h2 { font-size: 25px; }
  .container { width: 90%; }
  .nav { height: 66px; }
  .brand-name { font-size: calc(18px * var(--brand-text-scale, 1)); }
  .nav-cta { display: none; }

  .hero-full { height: 78vh; min-height: 520px; }
  .hero-copy h1 { font-size: 33px; letter-spacing: 1px; margin: 12px 0 16px; }
  .hero-copy p.lead { font-size: 14.5px; margin-bottom: 26px; }
  .hero-actions .btn { padding: 12px 28px; font-size: 14px; }
  .hero-stats { gap: 22px; margin-top: 34px; }
  .hero-stats .num { font-size: 21px; }
  .hero-stats .num span { font-size: 14px; }
  .carousel .slide .cap { max-width: 78%; margin: 0 16px 18px auto; padding: 10px 16px; }
  .carousel .slide .cap b { font-size: 13px; }
  .carousel .dots { bottom: 16px; gap: 6px; }
  .carousel .dots i { width: 22px; }
  .carousel .arrow { display: none; }

  .page-banner { padding: 46px 0 40px; }
  .page-banner h1 { font-size: 27px; }
  /* 图片式横幅的 padding 声明在 .has-bg 上（权重 (0,2,0)），
     必须在这里用同权重覆盖，否则小屏仍是 78/70 的大内边距 */
  .page-banner.has-bg { padding: 52px 0 46px; }
  /* 手机：文字几乎占满整宽，横向渐变的「右侧淡出」会正好落在文字的最后一两个字下面，
     所以整条统一浓度（不再横向衰减）。第 34 次迭代起下限已取消，浓度完全由滑杆决定。 */
  .page-banner.has-bg::before {
    background: rgba(var(--deep-rgb), .86);
    background: rgba(var(--deep-rgb), var(--pb-scrim, .86));
  }
  .carousel .slide::after {
    background: rgba(var(--deep-rgb), .74);
    background: rgba(var(--deep-rgb), var(--hero-scrim, .74));
  }
  .cta-band { padding: 48px 0; }
  .cta-band h2 { font-size: 24px; }
  .community-strip { padding: 34px 24px; }
  .site-footer { padding: 44px 0 0; }
  .qr-join { padding: 32px 22px; }
  .qr-side { padding: 16px 16px 12px; }
  .qr-side img { width: 140px; height: 140px; }
  .qr-pop { padding: 30px 22px 24px; }
  .qr-pop img { width: 190px; height: 190px; }

  .article-item { grid-template-columns: 1fr; text-align: left; padding: 28px 2px; }
  .article-item h3 { font-size: 19px; }
  .article-item .arrow { display: none; }
  .city-filter { gap: 9px; margin-bottom: 36px; }
  .city-chip { padding: 7px 18px; font-size: 13px; }

  .footer-grid { gap: 30px; }
  /* 手机：单列布局，四栏自上而下堆叠 → 导航 / 社区 / 联系 / 关注我们。
     快速导航仍保持双列（链接短，两列省高度）；二维码回到 2×2
     （列宽只有约 90%，四个 64px 一行放不下），2×2 比缩成四个细条更可扫。
     标题间距与全站统一（18px），二维码块与标题顶端对齐，不再有额外的 top 偏移。 */
  .footer-nav ul { grid-template-columns: 1fr 1fr; gap: 10px 16px; }
  .footer-qr { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 14px; }
  .qr-item .qr-frame { width: 70px; height: 70px; padding: 6px; }
  .qr-item b { font-size: 11.5px; min-height: 2.6em; }
  .qr-item span { font-size: 10.5px; }
}

/* ---- 资产保护：图片禁止拖拽与框选（配合 js/guard.js）---- */
img { -webkit-user-drag: none; user-select: none; }

/* ==========================================================
   表单提交反馈（预约 / 留言）
   任何一次点击都给出可见结果：校验错误 / 提交中 / 成功 / 待补发 / 失败
   ========================================================== */
.form input.has-err, .form textarea.has-err, .form select.has-err {
  border-color: var(--danger); background: var(--danger-bg);
}
.form input.has-err:focus, .form textarea.has-err:focus { border-color: var(--danger); }
.form-status {
  margin-top: 16px; padding: 14px 18px; border-radius: 10px;
  font-size: 13.5px; line-height: 1.75; text-align: left;
  border: 1px solid transparent; animation: fs-in .25s ease;
}
@keyframes fs-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.form-status.ok   { background: var(--ok-bg); border-color: var(--ok-line); color: var(--ok); }
.form-status.warn { background: var(--warn-bg); border-color: var(--warn-line); color: var(--warn); }
.form-status.err  { background: var(--danger-bg); border-color: var(--danger-line); color: var(--danger); }
.form-status.info { background: var(--bg-soft); border-color: var(--line); color: var(--ink-soft); }
.form-status .fs-tip { display: block; margin-top: 6px; font-size: 12.5px; opacity: .85; }
.fs-spin {
  display: inline-block; width: 13px; height: 13px; margin-right: 8px; vertical-align: -2px;
  border: 2px solid rgba(var(--ink-rgb),.25); border-top-color: var(--accent);
  border-radius: 50%; animation: fs-rot .7s linear infinite;
}
@keyframes fs-rot { to { transform: rotate(360deg); } }
/* 蜜罐字段：视觉上移出视口，机器人仍会填写 -> 服务端静默丢弃 */
.hp-field {
  position: absolute !important; left: -9999px !important; top: auto;
  width: 1px; height: 1px; opacity: 0; pointer-events: none;
}

/* ==========================================================
   素材库图片在前台的展示（文章封面 / 产品图 / 门店实景）
   ========================================================== */
.article-item.with-img { grid-template-columns: 176px 1fr auto; }
.article-item .a-thumb {
  width: 176px; height: 116px; border-radius: var(--radius); overflow: hidden;
  background: var(--bg-soft); border: 1px solid var(--line); display: block;
}
.article-item .a-thumb img { width: 100%; height: 100%; object-fit: cover; }
.product .pic img, .acc-card .pic img { width: 100%; height: 100%; object-fit: cover; }
.acc-card .pic img { position: absolute; inset: 0; }
.acc-card .pic .price { z-index: 2; }
.store-card .s-photo {
  margin: -28px -28px 20px; height: 168px; overflow: hidden;
  border-radius: var(--radius) var(--radius) 0 0; background: var(--bg-soft);
}
.store-card .s-photo img { width: 100%; height: 100%; object-fit: cover; }

/* ==========================================================
   站内视频：就地内联播放（第二十四次迭代重做）
   旧实现是黑底大弹窗，步骤多、观感与整站不搭。现在点击即在原位展开，
   页面不跳转、不弹层；播放器用原生控件（自带全屏 / 音量 / 进度）。
   ========================================================== */
.video-inline {
  position: relative; background: var(--ink-deep);
  border-radius: var(--radius) var(--radius) 0 0; overflow: hidden;
  animation: vi-in .28s var(--ease) both;
}
.video-inline-info { border-radius: 0; }
.video-card[data-playing="1"] { border-radius: var(--radius); }
@keyframes vi-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.video-inline video { width: 100%; display: block; background: #000; aspect-ratio: 16 / 10; object-fit: contain; }
.video-card[data-playing="1"] { cursor: default; transform: none; box-shadow: var(--shadow); }
.video-card[data-playing="1"]:hover { transform: none; }
.vi-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 12px 16px; background: var(--ink-deep); color: #fff;
}
.vi-bar b { font-size: 14.5px; font-weight: 500; color: #fff; }
.vi-close {
  flex: none; border: 1px solid rgba(255,255,255,.28); background: rgba(255,255,255,.08);
  color: #fff; font-size: 12.5px; padding: 6px 14px; border-radius: 999px; cursor: pointer;
  transition: all .25s;
}
.vi-close:hover { background: #fff; color: var(--ink); border-color: #fff; }
/* 没有播放文件时的图文卡（不弹窗、不跳走，仍然给出有效行动） */
.video-inline-info {
  background: var(--bg); border-top: 1px solid var(--line);
  padding: 22px 22px 24px; display: block; animation: vi-in .28s ease both;
}
.video-inline-info .vi-cat {
  display: inline-block; font-size: 12px; color: var(--accent-deep);
  background: var(--accent-light); border-radius: 999px; padding: 3px 12px; margin-bottom: 10px;
}
.video-inline-info b { display: block; font-family: var(--font-head); font-size: 17px; color: var(--ink); }
.video-inline-info p { font-size: 14px; color: var(--ink-soft); line-height: 1.85; margin-top: 8px; }
.video-inline-info .vi-meta { font-size: 12.5px; color: var(--muted); margin-top: 10px; }
.video-inline-info .vi-ops { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }

/* 精选视频（社区页大图）：展开播放器后布局保持不变 */
.featured-video[data-playing="1"] .cover { cursor: default; }
.featured-video .video-inline { grid-column: 1; border-radius: var(--radius-lg) 0 0 22px; overflow: hidden; }
.featured-video .video-inline video { aspect-ratio: 16 / 9; }
.featured-video .feat-dur {
  position: absolute; right: 14px; bottom: 12px;
  background: rgba(0,0,0,.55); color: #fff; font-size: 12px;
  padding: 2px 10px; border-radius: 6px;
}

/* 页面分块显隐（后台「页面布局」控制）：用 !important 兜住任何 display 覆盖 */
[data-section][hidden] { display: none !important; }

/* ---------- 新增卡片样式的小屏适配 ---------- */
@media (max-width: 600px) {
  .video-inline-info { padding: 18px 18px 20px; }
  .vi-bar { padding: 10px 12px; }
  .featured-video .video-inline { border-radius: var(--radius-lg) 22px 0 0; }
}
@media (max-width: 960px) {
  .article-item.with-img .article-row { grid-template-columns: 140px 1fr auto; }
  .article-item .a-thumb { width: 140px; height: 96px; }
  .store-card .s-photo { height: 150px; }
}
@media (max-width: 600px) {
  .article-item.with-img .article-row { grid-template-columns: 1fr; }
  .article-item .a-thumb { width: 100%; height: 168px; }
  .article-item .article-readmore { position: static; margin-top: 14px; display: inline-block; }
  .article-item .arrow { display: none; }
  .store-card .s-photo { margin: -28px -28px 18px; height: 140px; }
}

/* ==========================================================
   文章详情弹窗（第十二次迭代：富文本正文渲染）
   ========================================================== */
.article-modal-mask {
  position: fixed; inset: 0; z-index: 700;
  background: rgba(10,18,34,.86);
  backdrop-filter: blur(6px);
  display: none; align-items: flex-start; justify-content: center;
  padding: 4vh 4vw;
  overflow-y: auto;
}
.article-modal-mask.show { display: flex; }
.article-modal {
  position: relative; width: min(820px, 100%); background: #fff;
  border-radius: 16px; padding: 36px 40px 30px;
  box-shadow: 0 30px 80px rgba(0,0,0,.4);
  animation: fs-in .25s ease;
}
.article-modal-close {
  position: absolute; top: 12px; right: 14px;
  background: transparent; border: none; font-size: 22px; color: var(--ink-soft);
  width: 36px; height: 36px; border-radius: 50%; cursor: pointer;
  transition: background .2s;
}
.article-modal-close:hover { background: var(--bg-soft); color: var(--ink); }
.article-modal-head .a-cat {
  font-size: 12.5px; letter-spacing: 4px; color: var(--accent);
  text-transform: uppercase;
}
.article-modal-head h2 {
  font-size: 26px; margin: 10px 0 6px; letter-spacing: 1px; line-height: 1.4;
  color: var(--ink);
}
.article-modal-meta { font-size: 12.5px; color: var(--muted-2); letter-spacing: 1px; }
.article-modal-body { margin-top: 24px; }
.article-modal-body .rich-body-preview { padding: 0; min-height: 0; max-height: none; }
@media (max-width: 600px) {
  .article-modal { padding: 28px 20px 22px; border-radius: var(--radius); }
  .article-modal-head h2 { font-size: 21px; }
}

/* ==========================================================
   产品 / 眼周边产品 详情页（detail.html）
   ========================================================== */

/* 次级按钮：白底描边，与前台的深色主按钮形成主次关系 */
.btn.ghost {
  background: #fff; color: var(--ink); border-color: var(--line);
  box-shadow: 0 1px 2px rgba(var(--ink-rgb),.04);
}
.btn.ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn.ghost:disabled, .btn.ghost[disabled] { background: var(--bg-soft); color: var(--muted-2); border-color: var(--line); box-shadow: none; cursor: not-allowed; }

/* 卡片底部按钮区：详情 + 咨询 并排，窄屏自动换行 */
.card-ops { display: flex; flex-wrap: wrap; gap: 12px; }
.card-ops .btn { padding: 11px 26px; font-size: 14px; letter-spacing: 1px; }
.acc-card .body .card-ops { margin-top: auto; }
.acc-card .body .card-ops .btn { text-align: center; }

/* 面包屑（内页横幅内） */
.page-banner .crumb {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap;
  gap: 8px; font-size: 13px; color: var(--muted); max-width: none;
  margin: 14px auto 0;
}
.page-banner .crumb a { color: var(--muted); border-bottom: 1px solid transparent; transition: all .2s; }
.page-banner .crumb a:hover { color: var(--accent-deep); border-bottom-color: currentColor; }
.page-banner .crumb b { color: var(--accent-deep); font-weight: 500; }

/* 详情主体：左图右信息 */
.detail-wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: start; }
.detail-media { min-width: 0; }
.detail-cover {
  background: linear-gradient(140deg, var(--accent-light) 0%, var(--bg-soft) 100%);
  border: 1px solid var(--line); border-radius: var(--radius);
  min-height: 380px; display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.detail-cover img { width: 100%; height: 100%; min-height: 380px; object-fit: cover; }
.detail-ico { font-family: var(--font-head); font-size: 96px; color: rgba(var(--ink-rgb),.26); }

.detail-thumbs { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; }
.detail-thumbs .dt-item {
  width: 84px; height: 84px; padding: 0; border-radius: 10px; overflow: hidden;
  border: 2px solid var(--line); background: #fff; cursor: pointer; transition: all .2s;
}
.detail-thumbs .dt-item img { width: 100%; height: 100%; object-fit: cover; }
.detail-thumbs .dt-item:hover { border-color: var(--accent); transform: translateY(-2px); }
.detail-thumbs .dt-item.on { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(var(--accent-rgb),.16); }

.detail-info { min-width: 0; }
.detail-info h1 { font-size: 34px; margin: 14px 0 12px; }
.detail-info .tag {
  display: inline-block; font-size: 12px; letter-spacing: 2px; color: var(--accent);
  border: 1px solid var(--accent); border-radius: 999px; padding: 3px 14px;
}
.detail-price {
  font-family: var(--font-head); font-size: 26px; color: var(--accent-deep);
  margin-bottom: 16px; letter-spacing: 1px;
}
.detail-desc { font-size: 15.5px; color: var(--ink-soft); line-height: 1.95; }
.detail-features { list-style: none; margin: 22px 0 26px; display: grid; gap: 9px; }
.detail-features li { padding-left: 26px; position: relative; font-size: 14.5px; }
.detail-features li::before {
  content: "✓"; position: absolute; left: 0; top: 0; color: var(--accent); font-weight: 700;
}
.detail-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 6px; }
.detail-cta .btn { padding: 13px 32px; font-size: 14.5px; letter-spacing: 1px; }

/* 下方分块：适用人群 / 规格参数 / 产品详情 */
.detail-blocks { margin-top: 72px; display: grid; gap: 52px; }
.detail-block h3 {
  font-size: 22px; margin-bottom: 22px; padding-left: 16px; position: relative;
}
.detail-block h3::before {
  content: ""; position: absolute; left: 0; top: 6px; bottom: 6px;
  width: 4px; border-radius: 2px; background: var(--accent);
}
.detail-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 12px; }
.detail-tags li {
  font-size: 14px; padding: 9px 20px; border-radius: 999px;
  background: var(--accent-light); color: var(--accent-deep); border: 1px solid rgba(var(--accent-rgb),.28);
}
.spec-table {
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  background: var(--bg);
}
.spec-row {
  display: grid; grid-template-columns: 190px 1fr; gap: 18px;
  padding: 15px 24px; border-bottom: 1px solid var(--line); font-size: 14.5px;
}
.spec-row:last-child { border-bottom: none; }
.spec-row:nth-child(odd) { background: var(--bg-soft); }
.spec-row span { color: var(--muted); }
.spec-row b { color: var(--ink); font-weight: 500; }
.detail-body p { font-size: 15.5px; margin-bottom: 16px; line-height: 2; }
.detail-body p:last-child { margin-bottom: 0; }
/* 第十二次迭代：详情正文支持富文本渲染 */
.detail-body.rich-body { font-size: 15.5px; line-height: 1.85; color: var(--ink); padding: 0; max-height: none; }
.detail-body.rich-body p { font-size: 15.5px; margin-bottom: 16px; line-height: 2; }
.detail-body.rich-body h2 { font-size: 22px; margin: 22px 0 12px; font-weight: 700; }
.detail-body.rich-body h3 { font-size: 18px; margin: 18px 0 10px; font-weight: 700; }
.detail-body.rich-body h4 { font-size: 16px; margin: 14px 0 8px; font-weight: 700; }
.detail-body.rich-body blockquote { margin: 16px 0; padding: 8px 16px; border-left: 4px solid var(--accent); background: var(--bg-soft); color: var(--ink-soft); }
.detail-body.rich-body img { max-width: 100%; height: auto; border-radius: 8px; margin: 10px 0; display: block; }
.detail-body.rich-body a { color: var(--accent); text-decoration: underline; }
.detail-body.rich-body ul, .detail-body.rich-body ol { margin: 8px 0 14px; padding-left: 28px; }
.detail-body.rich-body li { margin: 4px 0; }
.detail-body.rich-body table { border-collapse: collapse; margin: 12px 0; width: 100%; }
.detail-body.rich-body table td, .detail-body.rich-body table th { border: 1px solid var(--line); padding: 8px 12px; vertical-align: top; }
.detail-body.rich-body table th { background: var(--bg-soft); font-weight: 700; }

/* 加载中 / 找不到 */
.detail-loading { text-align: center; color: var(--muted); padding: 60px 0; }
.detail-missing { text-align: center; padding: 40px 0 20px; }
.detail-missing .dm-ico {
  width: 74px; height: 74px; margin: 0 auto 22px; border-radius: 50%;
  background: var(--accent-light); color: var(--accent-deep);
  display: flex; align-items: center; justify-content: center; font-size: 34px;
}
.detail-missing h2 { font-size: 25px; margin-bottom: 12px; }
.detail-missing p { max-width: 560px; margin: 0 auto 26px; }
.detail-missing .dm-ops { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.detail-missing .dm-ops .btn { padding: 12px 28px; font-size: 14px; letter-spacing: 1px; }

/* 平板（≤960px） */
@media (max-width: 960px) {
  .detail-wrap { grid-template-columns: 1fr; gap: 34px; }
  .detail-cover { min-height: 300px; }
  .detail-cover img { min-height: 300px; }
  .detail-info h1 { font-size: 28px; }
  .detail-blocks { margin-top: 52px; gap: 40px; }
  .spec-row { grid-template-columns: 150px 1fr; }
}

/* 手机（≤600px） */
@media (max-width: 600px) {
  .detail-cover { min-height: 230px; }
  .detail-cover img { min-height: 230px; }
  .detail-info h1 { font-size: 23px; margin: 12px 0 10px; }
  .detail-price { font-size: 22px; }
  .detail-thumbs .dt-item { width: 66px; height: 66px; }
  .detail-cta { gap: 10px; }
  .detail-cta .btn { flex: 1 1 100%; text-align: center; padding: 12px 22px; }
  .detail-blocks { margin-top: 40px; gap: 32px; }
  .detail-block h3 { font-size: 19px; }
  .spec-row { grid-template-columns: 1fr; gap: 4px; padding: 13px 18px; }
  .spec-row span { font-size: 12.5px; }
  .card-ops .btn { flex: 1 1 100%; text-align: center; }
  .page-banner .crumb { font-size: 12px; }
}

/* ---------- 第二十三次迭代新增模块的小屏适配（招贤纳士 / 发展历程） ---------- */
@media (max-width: 600px) {
  .job-item { padding: 24px 20px; }
  .job-top h3 { font-size: 19px; }
  .job-salary { font-size: 16px; }
  .job-meta { gap: 12px 22px; margin-top: 14px; }
  .job-meta li { font-size: 13px; }
  .job-sec { margin-top: 16px; }
  .job-sec li { font-size: 13.5px; line-height: 1.85; }
  .job-ops { margin-top: 20px; }
  .job-ops .btn { flex: 1 1 100%; text-align: center; padding: 12px 22px; }

  .timeline-scroll { max-height: 360px; padding-right: 14px; }
  .timeline-scroll .timeline { margin-left: 10px; }
  .timeline-hint { margin: -30px 0 20px; font-size: 12.5px; }
}

/* ==========================================================
   工具类（用于替代页面里的内联样式）
   动机：内联样式（如 style="font-size:42px"）无法被媒体查询覆盖，
        手机上字号/间距调不动；统一收进类后三端适配只改一处。
   ========================================================== */
.t-center { text-align: center; }
.narrow   { max-width: 820px; }
.mt-sm    { margin-top: 10px; }
.mt-md    { margin-top: 14px; }
.mt-lg    { margin-top: 44px; }
.gap-sm   { gap: 20px; }
.text-sm  { font-size: 14px; }
.h2-lg    { font-size: 30px; margin: 10px 0 26px; }
.h3-lg    { font-size: 22px; margin-bottom: 24px; }
.h3-sm    { font-size: 17px; margin-bottom: 8px; }
.zh-title { font-family: var(--font-head); font-size: 42px; line-height: 1.2; color: var(--accent); }
.block-warm {
  margin-top: 36px; padding: 26px;
  background: var(--accent-light); border-radius: var(--radius);
}
.link-gold { color: var(--accent-deep); border-bottom: 1px solid var(--accent); }
.btn-block { width: 100%; }

@media (max-width: 600px) {
  .zh-title { font-size: 32px; }
  .mt-lg { margin-top: 32px; }
  .h2-lg { font-size: 24px; margin: 8px 0 18px; }
  .h3-lg { font-size: 19px; margin-bottom: 18px; }
  .block-warm { padding: 20px; }
}

/* ==========================================================
   配色方案预设（用于方案对比）
   用法：任意前台页面地址后加 ?theme=gold 或 ?theme=blue
   原理：只覆盖 :root 里的设计令牌，不改任何组件样式
        —— 这正是「配色令牌化」的价值：换肤不动布局与结构。
   注意：默认（不带参数）仍是「墨玉鎏金」主方案。
        --gold-light 语义为「深色底上的强调亮阶」，两套方案各自取金/蓝的亮阶。
   ========================================================== */

/* ---------- 方案 A：金 + 白（「鎏金白」）---------- */
html.theme-gold {
  --ink: #1c1917;          /* 暖近黑 */
  --ink-soft: #4a443d;
  --ink-deep: #171310;     /* 深色面：暖黑（页脚唯一深色）*/
  --band-2: #171310; --band-3: #171310; --footer-bg: #171310;
  --accent: #8a6a1e;       /* 深金（可作文字，白底 5.05:1）*/
  --accent-deep: #6b5216;  /* 浅金底上的文字（6.49:1）*/
  --accent-light: #f7f0dd; /* 浅金底 */
  --gold-light: #e0ca8a;   /* 深底上的亮金（11.42:1）*/
  --tech: #5c5347; --tech-light: #efe9dd;
  --bg: #ffffff; --bg-soft: #faf8f3;
  --sand: #f5f0e4;         /* 横幅暖砂 */
  --line: #e8e2d5; --line-strong: #d5cdb8; --placeholder: #f0ebdd;
  --muted: #6b6357; --muted-2: #7a7264;
  --shadow: 0 12px 40px rgba(28, 25, 23, .07);
  --shadow-soft: 0 6px 20px rgba(28, 25, 23, .055);
  --shadow-lift: 0 18px 48px rgba(28, 25, 23, .12);
  --ink-rgb: 28, 25, 23; --deep-rgb: 23, 19, 16;
  --accent-rgb: 138, 106, 30; --accent-deep-rgb: 107, 82, 22; --muted-rgb: 107, 99, 87;
  --glow-warm: #33280f;
}

/* ---------- 方案 C：墨玉鎏金（原默认方案，保留可切）---------- */
html.theme-ink {
  --ink: #1a241f; --ink-soft: #414d46; --ink-deep: #0c1f1a;
  --band-2: #143029; --band-3: #1d4137; --footer-bg: #0c1f1a;
  --accent: #8a6a34; --accent-deep: #6b5025; --accent-light: #f1e8d6; --gold-light: #d9c299;
  --tech: #3f5e58; --tech-light: #e9efec;
  --bg: #ffffff; --bg-soft: #f7f5f0; --sand: #f4eee3;
  --line: #e4dfd4; --line-strong: #cfc7b6; --placeholder: #eae4d8;
  --muted: #566059; --muted-2: #6e7871;
  --shadow: 0 12px 40px rgba(26, 36, 31, .07);
  --shadow-soft: 0 6px 20px rgba(26, 36, 31, .055);
  --shadow-lift: 0 18px 48px rgba(26, 36, 31, .12);
  --ink-rgb: 26, 36, 31; --deep-rgb: 12, 31, 26;
  --accent-rgb: 138, 106, 52; --accent-deep-rgb: 107, 80, 37; --muted-rgb: 86, 96, 89;
  --glow-warm: #33280f;
}

/* ---------- 方案 B：科技蓝 + 白（「科技蓝白」）---------- */
html.theme-blue {
  --ink: #101828;          /* 冷近黑 */
  --ink-soft: #3f4c60;
  --ink-deep: #0b1a33;     /* 深色面：深海军蓝（页脚唯一深色）*/
  --band-2: #0b1a33; --band-3: #0b1a33; --footer-bg: #0b1a33;
  --accent: #1163c8;       /* 科技蓝（可作文字，白底 5.77:1）*/
  --accent-deep: #0b4a94;  /* 浅蓝底上的文字（7.61:1）*/
  --accent-light: #e8f1fd; /* 浅蓝底 */
  --gold-light: #8fbcf0;   /* 深底上的亮蓝（8.78:1）*/
  --tech: #1c5fae; --tech-light: #e6f0fb;
  --bg: #ffffff; --bg-soft: #f5f8fc;
  --sand: #eef4fb;         /* 横幅冷雾蓝 */
  --line: #e2e8f0; --line-strong: #cbd5e1; --placeholder: #eef2f7;
  --muted: #5a6478; --muted-2: #687386;
  --shadow: 0 12px 40px rgba(16, 24, 40, .07);
  --shadow-soft: 0 6px 20px rgba(16, 24, 40, .055);
  --shadow-lift: 0 18px 48px rgba(16, 24, 40, .12);
  --ink-rgb: 16, 24, 40; --deep-rgb: 11, 26, 51;
  --accent-rgb: 17, 99, 200; --accent-deep-rgb: 11, 74, 148; --muted-rgb: 90, 100, 120;
  --glow-warm: #12294d;
}

/* ==========================================================
   宽屏首页轮播遮罩进一步收窄（第二十九次迭代 · 用户反馈「图片比较暗」）
   桌面端容器固定 max-width 1200px，主标题（54px × 9 字 ≈ 486px）只占 40.5% 宽，
   所以平台期可以从 58% 收到 46% —— 文字仍在满浓度区内，
   而**右半张照片（54%）完全不受遮罩影响**。
   （≤1120px 的窄屏容器会变窄，仍走上面的 58% / 72% 与手机端的整条统一浓度。）
   两条 background 声明的成对规则与主规则一致，不要删第一条。
   第 34 次迭代：下限已取消，浓度完全由后台滑杆决定。 */
@media (min-width: 1121px) {
  .carousel .slide::after {
    background: linear-gradient(96deg,
      rgba(var(--deep-rgb), .74) 0%, rgba(var(--deep-rgb), .74) 46%, rgba(var(--deep-rgb), .04) 100%),
      linear-gradient(180deg, rgba(var(--deep-rgb),.12) 0%, transparent 34%, rgba(var(--deep-rgb),.26) 100%);
    background: linear-gradient(96deg,
      rgba(var(--deep-rgb), var(--hero-scrim, .74)) 0%,
      rgba(var(--deep-rgb), var(--hero-scrim, .74)) 46%,
      rgba(var(--deep-rgb), calc(var(--hero-scrim, .74) * .055)) 100%),
      linear-gradient(180deg, rgba(var(--deep-rgb),.12) 0%, transparent 34%, rgba(var(--deep-rgb),.26) 100%);
  }
}
