/* =========================================================================
 *  超星设计站 · 全站公用样式 (style.css)
 * -------------------------------------------------------------------------
 *  使用说明（写给设计师姐妹）：
 *  1. 本文件包含「设计变量 + Header + Footer + 卡片通用动效」。
 *  2. 想调任何颜色 / 间距 / 圆角，请优先改 :root 里的变量，全站会自动同步。
 *  3. 每个属性都独立分行，像 Figma 属性面板一样可以直接修改右边的数值。
 *  4. 字体路径已指向项目内的 fonts_副本/，如有缺失字符会自动 fallback。
 * ========================================================================= */


/* =========================================================================
 *  ① 字体引入
 *  -------------------------------------------------------------------------
 *  · 阿里巴巴普惠体 PuHuiTi 3 —— 中文正文与大标题
 *  · D-DIN Exp                —— 英文 / 数字（关于我们 ABOUT US 大字标题）
 *  · 标小智无界黑 (WujieHei)  —— 装饰性中文标题（活动 Banner 等场景备用）
 *
 *  ⚠️ 字体文件命名约定（务必保持纯英文，否则 file:// 协议下浏览器会 404）：
 *     · 目录统一放在  ./fonts/
 *     · 文件名禁用中文 / 空格 / 圆括号 / 「副本」之类后缀
 *     · 新增字体后请在下方追加 @font-face 块
 * ========================================================================= */
@font-face {
  font-family: "PuHuiTi";
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: url("./fonts/AlibabaPuHuiTi-3-55-Regular.ttf") format("truetype");
}
@font-face {
  font-family: "PuHuiTi";
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  src: url("./fonts/AlibabaPuHuiTi-3-65-Medium.ttf") format("truetype");
}
@font-face {
  font-family: "PuHuiTi";
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  src: url("./fonts/AlibabaPuHuiTi-3-85-Bold.ttf") format("truetype");
}
@font-face {
  font-family: "PuHuiTi";
  font-weight: 800;
  font-style: normal;
  font-display: swap;
  src: url("./fonts/AlibabaPuHuiTi-3-105-Heavy.ttf") format("truetype");
}
@font-face {
  font-family: "PuHuiTi";
  font-weight: 900;
  font-style: normal;
  font-display: swap;
  src: url("./fonts/AlibabaPuHuiTi-3-115-Black.ttf") format("truetype");
}
@font-face {
  font-family: "DINExp";
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: url("./fonts/D-DINExp.ttf") format("truetype");
}
@font-face {
  font-family: "DINExp";
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  src: url("./fonts/D-DINExp-Bold.ttf") format("truetype");
}
@font-face {
  font-family: "WujieHei"; /* 标小智无界黑：装饰用 */
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: url("./fonts/WujieHei.otf") format("opentype");
}


/* =========================================================================
 *  ② Design Tokens（全站设计变量）—— 改这里 = 改全站
 *  -------------------------------------------------------------------------
 *  💡 调参提示：
 *  · 想换主色：改 --color-primary-1 / --color-primary-2 即可
 *  · 想让背景更深 / 更冷：改 --bg-base-* 三个色值
 *  · 想调毛玻璃通透度：改 --glass-blur 和 --glass-bg-opacity
 * ========================================================================= */
:root {

  /* ---------- 2.1 主色（橙色系，来自 Figma "主色/主色1、主色2"）---------- */
  --color-primary-1: #ff6933;          /* 主色 · 橙红（按钮、激活态、品牌色）*/
  --color-primary-2: #ff941a;          /* 主色 · 橙黄（高光、渐变第二段）  */
  --color-primary-glow: #ff7a3d;       /* 发光场景使用，比主色稍亮一点    */

  /* ---------- 2.2 文字色阶（白色透明度梯度）---------- */
  --color-text-100: #ffffff;           /* 一级文字（标题、强调）          */
  --color-text-90:  rgba(255, 255, 255, 0.90); /* 大段正文              */
  --color-text-80:  rgba(255, 255, 255, 0.80); /* 卡片标题              */
  --color-text-70:  rgba(255, 255, 255, 0.70); /* 副文案、说明           */
  --color-text-60:  rgba(255, 255, 255, 0.60); /* 描述、面包屑           */
  --color-text-50:  rgba(255, 255, 255, 0.50); /* 占位文字              */
  --color-text-30:  rgba(255, 255, 255, 0.30); /* 失效态、分隔线         */
  --color-text-20:  rgba(255, 255, 255, 0.20); /* 描边、超弱分隔         */
  --color-text-10:  rgba(255, 255, 255, 0.10); /* 卡片内层描边           */

  /* ---------- 2.3 背景渐变（深色星空底）---------- */
  /* ⚠️ 关键：光源中心放在 Hero 标题区附近（约 viewport 35% 处），
     这样 Header（顶栏高度 --site-header-h）落在暗区上方，叠加棕色覆盖后才能形成
     "上深下浅"的真实视觉效果。如果中心在顶部，Header 反而会显亮。 */
  --bg-base-1: #1f130b;                /* 渐变中心暖底（标题位置）         */
  --bg-base-2: #0a0a0d;                /* 渐变 · 纯黑（页面主体）           */
  --bg-base-3: #1F1815;                /* 最暗（页面底部）                 */
  --bg-base-gradient: radial-gradient(
    ellipse 100% 70% at 50% 35%,       /* 中心下移至 35% ≈ Hero 标题位置 */
    var(--bg-base-1) 0%,
    var(--bg-base-2) 55%,
    var(--bg-base-3) 100%
  );

  /* 主橙色光晕（聚焦在 Hero 标题区，35% viewport 处） */
  --bg-top-glow: radial-gradient(
    ellipse 50% 35% at 50% 35%,
    rgba(111, 45, 22, 0.173) 0%,
    rgba(96, 55, 9, 0.18) 30%,
    rgba(255, 105, 51, 0) 60%,
    transparent 80%
  );

  /* ---------- 2.4 卡片 / 容器背景色 ---------- */
  --bg-card:          #292422;                   /* 卡片统一底色（暖灰棕，#292422）*/
  --bg-card-hover:    #332d2b;                   /* 卡片 hover 时稍亮             */
  --bg-card-active:   rgba(255, 105, 51, 0.08);  /* 卡片激活态（带主色调）        */
  --bg-elevated:      rgba(255, 255, 255, 0.06); /* 浮起容器（弹窗、下拉菜单）  */
  --bg-input:         rgba(255, 255, 255, 0.06); /* 输入框背景                 */

  /* ---------- 2.5 毛玻璃（Glassmorphism）核心参数 ---------- */
  --glass-blur:        20px;            /* 模糊半径：值越大越糊，建议 16~28px */
  --glass-blur-strong: 32px;            /* 更强模糊（弹窗等）；Header 滚动后若要加强可改用此项 */
  --glass-bg:          rgba(20, 14, 10, 0.55); /* 毛玻璃底色：暖黑 55% 透明度  */
  --glass-bg-strong:   rgba(20, 14, 10, 0.72); /* 滚动后 Header 用，对比更强   */
  --glass-border:      rgba(255, 255, 255, 0.08); /* 毛玻璃容器底部 1px 描边线 */
  --glass-saturate:    160%;            /* 饱和度增强，让玻璃后的颜色更鲜艳    */

  /* ---------- 2.6 标准间距（Spacing Scale，基于 4px 网格）---------- */
  --space-1:  4px;                      /* 极小间距（图标内距）              */
  --space-2:  8px;                      /* 紧凑间距（标签内距）              */
  --space-3:  12px;                     /* 小间距（按钮内 padding）          */
  --space-4:  16px;                     /* 标准间距（卡片内项目间）          */
  --space-5:  20px;                     /* 中等间距                          */
  --space-6:  24px;                     /* 卡片内 padding 默认值             */
  --space-7:  32px;                     /* 区块小标题与正文                  */
  --space-8:  40px;                     /* 卡片之间                          */
  --space-9:  60px;                     /* 区块上下 padding                  */
  --space-10: 80px;                     /* 区块之间大间距                    */
  --space-11: 120px;                    /* 首屏与下方模块                    */
  --container-max:  1600px;             /* 内容区最大宽度（设计稿 1920-160*2）*/
  --container-pad:  160px;              /* 1920 设计稿左右各留 160px         */

  /* ---------- 2.7 圆角（Radius）---------- */
  --radius-xs: 4px;                     /* 极小：标签、输入框小图标         */
  --radius-sm: 8px;                     /* 小：标签胶囊、按钮               */
  --radius-md: 12px;                    /* 中：输入框、二级按钮             */
  --radius-lg: 16px;                    /* 大：卡片                         */
  --radius-xl: 20px;                    /* 超大：大卡片、弹窗               */
  --radius-2xl: 28px;                   /* 巨型：Hero 卡片、整块容器        */
  --radius-pill: 999px;                 /* 胶囊：Tab、筛选按钮              */
  --radius-circle: 50%;                 /* 圆形：头像                       */

  /* ---------- 2.8 阴影（Shadow）---------- */
  --shadow-card:
    0 8px 24px rgba(0, 0, 0, 0.30),
    0 2px 6px rgba(0, 0, 0, 0.20);      /* 卡片默认阴影                     */
  --shadow-card-hover:
    0 18px 48px rgba(0, 0, 0, 0.45),
    0 6px 16px rgba(255, 105, 51, 0.18); /* hover 时上浮 + 主色发光          */
  --shadow-glow-primary:
    0 0 24px rgba(255, 105, 51, 0.35),
    0 0 48px rgba(255, 148, 26, 0.20);  /* 主色按钮的发光                   */
  --shadow-header:
    0 1px 0 rgba(255, 255, 255, 0.06),  /* 顶部 1px 高光分隔                */
    0 8px 32px rgba(0, 0, 0, 0.50);     /* 整体下方投影                     */

  /* ---------- 2.9 动效曲线 & 时长 ---------- */
  /* 弹性回弹曲线（带轻微过冲，模拟物理弹簧） */
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  /* 平滑标准曲线 */
  --ease-smooth: cubic-bezier(0.22, 1, 0.36, 1);
  /* 加速进入 */
  --ease-in:     cubic-bezier(0.55, 0, 0.55, 0.2);

  --duration-fast:   0.18s;             /* 微交互：图标颜色切换             */
  --duration-base:   0.32s;             /* 标准：按钮、链接                 */
  --duration-slow:   0.45s;             /* 弹性：卡片悬浮                   */
  --duration-slower: 0.6s;              /* 大动画：模态打开、转场           */

  /* ---------- 2.10 字号（Type Scale）---------- */
  --fs-display:  56px;                  /* 大标题：ABOUT US 类英文巨字      */
  --fs-h1:       40px;                  /* 一级标题：页面大标题             */
  --fs-h2:       32px;                  /* 二级标题：区块标题               */
  --fs-h3:       24px;                  /* 三级标题：卡片大标题             */
  --fs-h4:       20px;                  /* 四级标题：卡片标题               */
  --fs-body-lg:  18px;                  /* 大正文：导语、详情页正文         */
  --fs-body:     16px;                  /* 标准正文                         */
  --fs-body-sm:  14px;                  /* 小正文：副文案、说明             */
  --fs-caption:  12px;                  /* 注释 / 标签                      */

  /* ---------- 2.11 层级（z-index）---------- */
  --z-header:  100;                     /* 顶部导航条                       */
  --z-toast:   200;                     /* Toast 提示                       */
  --z-modal:   300;                     /* 模态弹窗                         */
  --z-tooltip: 400;                     /* Tooltip                          */

  /**
   * 顶栏（.site-header）设计稿高度。
   * 须与各页 #scale-wrapper 的 padding-top（为 fixed Header 预留）保持一致。
   */
  --site-header-h: 88px;

  /**
   * 滚动后 Header 毛玻璃叠层（.site-header::before）
   * · tint：压在渐变底色上的半透明罩；略低于 0.7 可减轻「一下变闷」的反差
   * · saturate：勿对齐卡片毛玻璃 160%，过高会令透过导航看到的底色格外刺眼
   */
  --site-header-scroll-tint: rgba(0, 0, 0, 0.68);
  --site-header-scroll-blur: var(--glass-blur);
  --site-header-scroll-saturate: 118%;

  /* ---------- 2.12 案例详情页（Figma 7:4026 / 7:4029 对照值，供设计师直接改）---------- */
  --detail-avatar-ring:        #ffb499;
  --detail-tag-blue-bg:        rgba(59, 130, 246, 0.22);
  --detail-tag-blue-text:      #93c5fd;
  --detail-showcase-cap:       2080px;   /* 主视觉折叠阈值；读变量失败时 detail.html 内 DETAIL_SHOWCASE_CAP_FALLBACK_PX 须与此默认值一致 */
  --detail-pager-arrow-bg:     #292422;           /* Figma 7:4725 翻页圆形底               */
  --detail-pager-chip-icon-gap: 6px;            /* Figma 7:4725：标签图标与文案间距        */
  /* 主内容列：节点 7:4029 · 区块之间 gap、底部留白（注意：非 --space-10 的 80px） */
  --detail-mesh-section-gap:   40px;
  --detail-mesh-pad-bottom:    100px;
  /* 标题+元数据+综述：节点 7:4030 · 内框 padding、内部纵向 stacking gap */
  --detail-lead-inset:         10px;
  --detail-lead-stack-gap:     30px;
}


/* =========================================================================
 *  ③ Reset + 全局基础样式
 * ========================================================================= */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  font-family: "PuHuiTi", "DINExp", "PingFang SC", "Microsoft YaHei", -apple-system, sans-serif;
  font-size: var(--fs-body);
  line-height: 1.6;
  letter-spacing: 0.02em;
  color: var(--color-text-90);
  background-color: var(--bg-base-2);
  background-image: var(--bg-top-glow), var(--bg-base-gradient);
  background-attachment: fixed;     /* 滚动时背景固定，模拟"星空不动"  */
  background-repeat: no-repeat;
  background-size: cover;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-synthesis: none;             /* 禁止浏览器伪造粗体/斜体，保证字形干净 */
}

/* =========================================================================
 *  ②-a 模块滚动进场（scroll-effects.js：进入视口后加 .is-in-view）
 * ========================================================================= */
.scroll-reveal {
  opacity: 0;
  transform: translate3d(0, 160px, 0);
  transition:
    opacity 2s var(--ease-smooth),
    transform 1s var(--ease-smooth);
}

.scroll-reveal.is-in-view {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

@media (prefers-reduced-motion: reduce) {
  .scroll-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .scroll-reveal.is-in-view {
    opacity: 1;
    transform: none;
  }
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-smooth);
}

a:hover {
  color: var(--color-primary-1);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}


/* =========================================================================
 *  ④ Header（顶部导航栏）—— 严格按 Figma 1:1269 还原
 *  -------------------------------------------------------------------------
 *  视觉构成（Figma 实测）：
 *    · 整条导航栏 1920×88（高度见 --site-header-h）
 *    · 左右 padding：160px（内容区 1600）
 *    · 背景：从顶部 rgba(77,40,15,0.5) 渐变到底部 rgba(77,40,15,0)
 *      （暖棕色顶部融入下方内容的渐隐效果，不是毛玻璃）
 *    · 三段：左 Logo / 中 5 项导航 / 右 搜索框 + 登录按钮
 * ========================================================================= */
.site-header {
  /* ⚠️ 关键：header 已移到 #scale-wrapper 外层，必须用 fixed 而非 sticky。
     scale-wrapper 上的 transform 会破坏后代 sticky/fixed 的 containing block。
     transform 由 applyScale() 在每次 resize 时写入，与 wrapper 同步缩放。 */
  position: fixed;
  top: 0;
  left: 0;
  z-index: var(--z-header);

  width: 1920px;                /* 设计稿原始宽度，由 transform 缩放到 viewport */
  transform-origin: top left;   /* 与 #scale-wrapper 一致，保证视觉对齐 */
  height: var(--site-header-h);

  display: flex;
  align-items: center;
  justify-content: center;

  /* Figma 实测背景：暖棕色从顶部 50% 透明渐变到底部 0% 透明 */
  background: linear-gradient(
    180deg,
    rgba(62, 31, 11, 0.6) 0%,
    rgba(62, 31, 11, 0.00) 100%
  );

  /* 滚动态不再改写了 background（渐变常驻），毛玻璃单独叠在 ::before 上用 opacity 过渡，减轻闪屏 */
}

/**
 * 滚动后暗色毛玻璃：叠在默认渐变之上，仅淡入本层（opacity），避免
 *   「linear-gradient → 纯色 + 瞬时 backdrop-filter」硬切造成的闪一下、饱和度骤升刺眼。
 * 可调：:root 下 --site-header-scroll-tint / --site-header-scroll-blur / --site-header-scroll-saturate
 */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  background: var(--site-header-scroll-tint);
  border-bottom: 1px solid transparent;
  -webkit-backdrop-filter: blur(var(--site-header-scroll-blur))
    saturate(var(--site-header-scroll-saturate));
          backdrop-filter: blur(var(--site-header-scroll-blur))
    saturate(var(--site-header-scroll-saturate));
  transition:
    opacity var(--duration-base) var(--ease-smooth),
    border-color var(--duration-base) var(--ease-smooth);
}

.site-header.is-scrolled::before {
  opacity: 1;
  border-bottom-color: var(--glass-border);
}

@media (prefers-reduced-motion: reduce) {
  .site-header::before {
    transition: none;
  }
}

/* Header 内部：1600 居中，三段式 space-between */
.site-header__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1920px;
  padding: 0 160px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

/* —— 左：Logo —— */
.site-header__logo {
  display: flex;
  align-items: center;
  height: 100%;
}

/* 横版 Logo：原图 470×72，按高度 36 锁定 → 宽度自适应约 235px */
.site-header__logo-mark {
  height: 36px;
  width: auto;             /* 让宽度按原比例自动算，不拉伸 */
  object-fit: contain;
  display: block;
}

/* —— 中：主导航（5 项，每项固定 90px，gap 32px）—— */
.site-header__nav {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 100%;
}

.site-header__nav-item {
  position: relative;
  width: 90px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 400;
  color: var(--color-text-80);
  transition: color var(--duration-base) var(--ease-smooth);
}

.site-header__nav-item:hover {
  color: var(--color-text-100);
}

/* 激活态：字重加重为 105 Heavy + 底部 SVG 选中条 */
.site-header__nav-item.is-active {
  color: var(--color-text-100);
  font-weight: 800;
}

/* 选中条：SVG 图标，绝对定位在底部居中，宽 30px 高 4px */
.site-header__nav-bar {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 30px;
  height: 4px;
  pointer-events: none;
}

/* —— 右：搜索 + 登录 —— */
.site-header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 100%;
}

/* 搜索框：184×40，圆角 12px，白色 10% 底 + 白色 20% 边 */
.site-header__search {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 184px;
  height: 40px;
  padding: 0 12px 0 16px;
  background-color: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.20);
  border-radius: 12px;
  transition:
    border-color var(--duration-base) var(--ease-smooth),
    background-color var(--duration-base) var(--ease-smooth);
}

.site-header__search:focus-within {
  border-color: var(--color-primary-1);
  background-color: rgba(255, 105, 51, 0.08);
}

.site-header__search-input {
  flex: 1;
  min-width: 0;
  border: none;
  outline: none;
  background: transparent;
  color: var(--color-text-100);
  font-size: 15px;
  font-family: inherit;
  line-height: 1.2;
}

.site-header__search-input::placeholder {
  color: rgba(255, 255, 255, 0.60);
}

/* SVG 本身已是 fill="white" fill-opacity="0.7"，无需 filter 反相 */
.site-header__search-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-left: 8px;
}

/* 登录入口：未登录 122×40；登录后（Figma 8:2572）自适应宽度，头像 38 + 昵称 + 下箭头 */
.site-header__login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 122px;
  height: 40px;
  padding: 0 20px;
  background-color: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.20);
  border-radius: 12px;
  font-family: "PuHuiTi", sans-serif;
  font-weight: 700;
  font-size: 15px;
  line-height: 1;
  color: var(--color-text-100);
  cursor: pointer;
  /* 登录态会取消背景/描边过渡，避免切换瞬间插值出一块偏亮的「假闪」 */
  transition:
    background-color var(--duration-base) var(--ease-smooth),
    border-color var(--duration-base) var(--ease-smooth);
}

.site-header__login:hover {
  background-color: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.32);
}

.site-header__login:focus {
  outline: none;
}

.site-header__login:focus-visible {
  outline: 2px solid var(--color-primary-1);
  outline-offset: 3px;
}

/* SVG 本身已是 stroke="white"，无需 filter 反相 */
.site-header__login-icon {
  width: 14px;
  height: 14px;
}

/* 顶栏登录区容器（Figma node 5:3457 / 8:2572：登录态下拉与按钮同台定位） */
.site-header__login-wrap {
  position: relative;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  /* 与 .site-header__search 同为 40px 栏高，保证右侧块与搜索框纵向居中对齐 */
  min-height: 40px;
}

/* 未登录：与原先结构一致，内容区居中 */
.site-header__login-guest {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

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

/* 登录后：头像 38 + 间距 10 + 昵称 + 箭头（18px Medium + 14px icon） */
.site-header__login.is-logged-in {
  /* 与「登录」胶囊切换时关闭背景/边框过渡，避免插值出亮斑 */
  transition: none;
  width: auto;
  min-width: 122px;
  padding: 0 14px 0 12px;
  gap: 10px;
  justify-content: center;
  font-weight: 600;
  /* 保留与搜索框相同的 1px 占位边框（透明），使内容区高度 = 40−2 = 38px，纵向中心与 .site-header__search 一致 */
  background-color: transparent;
  border: 1px solid transparent;
  border-radius: 0;
}

.site-header__login.is-logged-in:hover {
  background-color: transparent;
  border-color: transparent;
}

.site-header__login-user {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

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

.site-header__login-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  /* 无额外衬色：避免解码首帧露出「方色块」 */
  background-color: transparent;
}

.site-header__login-meta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.9);
}

.site-header__login-name {
  font-size: 18px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  max-width: 7em;
  overflow: hidden;
  text-overflow: ellipsis;
}

.site-header__login-caret {
  display: block;
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.site-header__login-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 300;
  min-width: 148px;
  padding: 6px;
  border-radius: 12px;
  background-color: rgba(42, 24, 14, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
}

.site-header__login-menu-item {
  display: block;
  width: 100%;
  margin: 0;
  padding: 10px 12px;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: var(--color-text-100);
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: background-color var(--duration-base) var(--ease-smooth);
}

.site-header__login-menu-item:hover {
  background-color: rgba(255, 255, 255, 0.08);
}


/* =========================================================================
 *  ⑤ Footer（页脚）— 严格按 Figma node 5:2467 实测尺寸 1:1 还原
 *  -------------------------------------------------------------------------
 *  视觉构成：
 *    · 整体径向渐变背景：暗棕色中心 → 近黑色边缘（Figma：from rgba(31,12,3) at top）
 *    · 中央 LOGO + 下方橙色椭圆光晕（::after，模拟 mix-blend-screen 暖光）
 *    · 4 段：导航（带 1px 分隔）→ 公司信息（1px 分隔）→ 备案 + Copyright
 *    · 右上角浮动「回到顶部」按钮（80×80 圆角矩形）
 * ========================================================================= */
.site-footer {
  position: relative;
  margin-top: var(--space-11);
  height: 354px;                                              /* Figma footer 节点高度 354px，写死 */
  text-align: center;
  background-color: #000;
  background-image: url("./Footer background/footer-bg.png");
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  overflow: hidden;
}

/* —— 「回到顶部」浮动按钮（Figma 1:1396）—— */
.site-footer__back-to-top {
  position: absolute;
  top: 40px;
  right: 80px;
  z-index: 2;
  width: 80px;
  height: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 4px;
  background-color: #292422;
  border: 1px solid rgba(255, 255, 255, 0.1);  /* Figma：白 10% 描边 */
  border-radius: 20px;                          /* Figma：圆角 20 */
  color: var(--color-text-50);
  cursor: pointer;
  font-family: inherit;
  transition:
    transform        var(--duration-base) var(--ease-spring),
    background-color var(--duration-base) var(--ease-smooth);
}

.site-footer__back-to-top svg {
  width: 32px;                                  /* Figma：箭头 32×32 */
  height: 32px;
  color: var(--color-text-50);
  transition:
    transform var(--duration-base) var(--ease-spring),
    color     var(--duration-base) var(--ease-smooth);
}

.site-footer__back-to-top span {
  font-size: 14px;
  letter-spacing: -0.14px;                      /* Figma：字距 -0.14px */
  color: var(--color-text-50);
  transition: color var(--duration-base) var(--ease-smooth);
}

.site-footer__back-to-top:hover {
  background-color: #332d2b;
}
.site-footer__back-to-top:hover svg {
  transform: translateY(-3px);
  color: var(--color-text-80);
}
.site-footer__back-to-top:hover span {
  color: var(--color-text-80);
}

/* —— Footer 内容容器 —— */
/* 总高 354px = logo区138 + nav-block 162 + meta 54，三段各自控制，gap:0 */
.site-footer__inner {
  position: relative;
  z-index: 1;
  height: 100%;
  max-width: 1920px;
  margin: 0 auto;
  padding: 0 var(--container-pad);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

/* —— ① 中央 logo 区（Figma：padding 48px 0 / flex-col / gap 10 / align-self stretch）—— */
.site-footer__brand {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 48px 0;
  align-self: stretch;
  text-decoration: none;
}

.site-footer__brand-mark {
  height: 42px;                                 /* Figma：logo 高 42 */
  width: auto;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 0 12px rgba(255, 105, 51, 0.30));
}

/* —— 通用 1px 分隔线（链接、公司、备案 都用，差别只在颜色）—— */
.site-footer__divider {
  display: inline-block;
  width: 1px;
  height: 12px;
  background-color: rgba(255, 255, 255, 0.5);   /* 默认链接 / 公司用：白 50% */
  border-radius: 4px;
  flex-shrink: 0;
}
.site-footer__divider--meta {
  background-color: rgba(255, 255, 255, 0.3);   /* 备案行用：白 30% */
}

/* —— ② 导航 + 公司信息共同容器（Figma：1400×162，pad 30 0，col，gap 30，居中）—— */
.site-footer__nav-block {
  display: flex;
  width: 1400px;
  height: 162px;
  padding: 30px 0;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 30px;
}

/* —— 导航链接行 —— */
.site-footer__links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;                                    /* Figma：链接 ↔ 分隔 ↔ 链接 都是 30 */
}

.site-footer__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;                                     /* Figma：icon ↔ 文字 8px */
  font-family: "PingFang SC", "PuHuiTi", sans-serif;
  font-size: 18px;                              /* Figma：18px Semibold */
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);              /* Figma 渐变近似：白 90% */
  text-decoration: none;
  transition: color var(--duration-base) var(--ease-smooth);
}

.site-footer__link:hover {
  color: var(--color-primary-1);
}

.site-footer__link-icon {
  width: 20px;                                  /* Figma：链接 icon 20×20 */
  height: 20px;
  opacity: 0.85;
  transition: opacity var(--duration-base) var(--ease-smooth);
}

.site-footer__link:hover .site-footer__link-icon {
  opacity: 1;
}

/* —— ③ 公司信息（两行 × 两段，中间分隔）—— */
.site-footer__company {
  display: flex;
  flex-direction: column;
  gap: 8px;                                     /* Figma：两行间距 8 */
  font-family: "PingFang SC", "PuHuiTi", sans-serif;
  font-size: 14px;                              /* Figma：14px Regular */
  color: rgba(255, 255, 255, 0.9);              /* Figma：白 90% */
  line-height: 1.4;
}

.site-footer__company-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 16px;                                    /* Figma：段间距 16 */
}

/* —— ④ 备案 / Copyright 行 —— */
.site-footer__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 32px;                                    /* Figma：备案组 ↔ Copyright 间距 32 */
  /* 剩余高度：354 - logo138 - nav-block162 = 54px，padding 上下各 16 撑高 */
  height: 54px;
  padding: 0 var(--container-pad);
  width: 100%;
  box-sizing: border-box;
  font-family: "PingFang SC", "PuHuiTi", sans-serif;
  font-size: 14px;
  color: var(--color-text-50);
  line-height: 1.6;
}

.site-footer__meta-group {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;                                    /* Figma：组内子项 16 */
}

.site-footer__meta-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;                                     /* Figma：警徽 ↔ 文字 8 */
}

.site-footer__police-icon {
  width: 20px;                                  /* Figma：警徽 20×20 */
  height: 20px;
  object-fit: contain;
}


/* =========================================================================
 *  ⑥ 通用卡片悬浮动效（.card-hover）
 *  -------------------------------------------------------------------------
 *  · 给任何卡片元素加上 .card-hover 类，即可获得统一的物理回弹悬浮效果。
 *  · hover 时：上浮 6px + 边框点亮 + 主色发光 + 内部封面图轻微放大。
 *  · 离开时：用 ease-spring 弹性曲线回弹，模拟真实物理回弹手感。
 *
 *  💡 调参提示：
 *  · 想让上浮幅度变大：把 --hover-translate 改成 -10px 这样
 *  · 想让回弹更"Q 弹"：把 --duration-slow 调长到 0.6s
 *  · 想关掉发光：删掉 box-shadow 那一行就行
 * ========================================================================= */
.card-hover {
  position: relative;

  background-color: var(--bg-card);
  border: 1px solid var(--color-text-10);
  border-radius: var(--radius-lg);

  box-shadow: var(--shadow-card);
  overflow: hidden;
  cursor: pointer;

  /* 给"会动"的属性都加平滑过渡，使用弹性曲线 */
  transition:
    transform        var(--duration-slow) var(--ease-spring),
    border-color     var(--duration-base) var(--ease-smooth),
    background-color var(--duration-base) var(--ease-smooth),
    box-shadow       var(--duration-slow) var(--ease-spring);

  /* GPU 加速（避免动画时字体糊掉） */
  will-change: transform;
  transform: translate3d(0, 0, 0);
}

.card-hover:hover {
  transform: translate3d(0, -6px, 0);                 /* 上浮 6px */
  background-color: var(--bg-card-hover);
  border-color: rgba(255, 105, 51, 0.40);             /* 边框点亮成主色 */
  box-shadow: var(--shadow-card-hover);
}

/* 卡片内部的封面图：hover 时轻微放大（前提是用 .card-hover__cover 包裹）*/
.card-hover__cover {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;          /* 锁比例，避免布局抖动 */
  overflow: hidden;
  background-color: var(--color-text-10);
}

.card-hover__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slower) var(--ease-smooth);
}

.card-hover:hover .card-hover__cover img {
  transform: scale(1.06);
}

/* 卡片右上角的箭头 / 图标：hover 时向右轻推（如果有 .card-hover__arrow）*/
.card-hover__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  color: var(--color-text-60);
  transition: transform var(--duration-base) var(--ease-spring),
              color     var(--duration-base) var(--ease-smooth);
}

.card-hover:hover .card-hover__arrow {
  transform: translateX(4px);
  color: var(--color-primary-1);
}


/* =========================================================================
 *  ⑥-b 案例库卡片网格（首页 #caseGrid · 案例库 cases.html · 共用）
 *  -------------------------------------------------------------------------
 *  · 与设计稿对齐：4 列 × auto 行高 380px · gap 20px → (1920 − 320) 内容宽度内排满。
 *  · ⚠️ 大卡 isTall 仅建议在「全部数据按首页顺序铺满」时使用；案例库列表页使用
 *      .case-grid--list：统一小卡行高（脚本不写 case-card--tall）。
 * ========================================================================= */

.case-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 380px;
  gap: 20px;
}

.case-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

.case-card--tall {
  grid-row: span 2;
}

/* 案例库二级页：大卡与列表小卡同高（不跨两行） */
.page-cases .case-grid.case-grid--list .case-card--tall {
  grid-row: span 1;
}

.case-card .card-hover__cover {
  flex: 1 1 auto;
  min-height: 220px;
  aspect-ratio: auto;
}

.case-card .card-hover__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 0%;
  display: block;
  transition:
    object-position 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.case-card:hover .card-hover__cover img {
  object-position: 50% 100%;
  transform: none;
  transition:
    object-position var(--scroll-duration, 0s) linear;
}

.case-card__placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    #2a1f18 0%,
    #1a1410 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-30);
  font-size: var(--fs-caption);
}

.case-card__body {
  flex: 0 0 160px;
  padding-top: var(--space-6);
  padding-right: var(--space-6);
  padding-bottom: var(--space-6);
  padding-left: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.case-card__title {
  font-size: var(--fs-h4);
  font-weight: 700;
  color: var(--color-text-100);
  margin: 0;
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.case-card__meta {
  font-size: var(--fs-body-sm);
  color: var(--color-text-50);
}

.case-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: auto;
}

.case-card__tag {
  padding-top: 3px;
  padding-right: 10px;
  padding-bottom: 3px;
  padding-left: 10px;
  font-size: var(--fs-caption);
  color: var(--color-text-70);
  background: var(--color-text-10);
  border-radius: var(--radius-pill);
}


/* =========================================================================
 *  ⑥-c 案例库列表页（cases.html）：画布 + caseLibraryFacets 三维度筛选（Figma 7:1251）
 *  -------------------------------------------------------------------------
 *  · 同行单选，行间 AND；稿面 Pill 与数据字段通过 data.js 映射。
 * ========================================================================= */

body.page-cases {
  overflow-x: hidden;
  overflow-y: scroll;
}

.page-cases #scale-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 1920px;
  padding-top: var(--site-header-h);
  transform-origin: top left;
}

.cases-page__section {
  max-width: 1920px;
  margin-right: auto;
  margin-bottom: 0;
  margin-left: auto;
  padding-top: var(--space-9);
  padding-right: var(--container-pad);
  padding-bottom: var(--space-10);
  padding-left: var(--container-pad);
}

/*
 * Figma node 7:1251 — 案例库标题 + 三行筛选 Pill + 底部「最近上新」
 * 数据：siteData.caseLibraryFacets（稿面文案与映射）
 */
.cases-lib-hero {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 10px;
  margin-bottom: var(--space-6);
}

.cases-lib-hero__main {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.cases-lib-hero__title {
  margin: 0;
  /* ⚠️ 稿面为 LogoSC Unbounded；本地 WujieHei 兜底 */
  font-family: "WujieHei", "PuHuiTi", sans-serif;
  font-size: 48px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0;
  color: var(--color-text-100);
}

.cases-lib-filters__stack {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.cases-lib-filter__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}

.cases-lib-filter__label {
  flex-shrink: 0;
  min-width: 5.25rem;
  margin: 0;
  font-family: "PuHuiTi", sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
}

.cases-lib-filter__pills {
  display: flex;
  flex-wrap: wrap;
  flex: 1 1 0;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.cases-lib-filter__pill {
  margin: 0;
  padding: 10px 16px;
  border-width: 0;
  border-radius: 40px;
  font-family: "PuHuiTi", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.2;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.9);
  background-color: rgba(0, 0, 0, 0.3);
  transition:
    background 0.2s var(--ease-smooth),
    color 0.2s var(--ease-smooth),
    transform 0.2s var(--ease-smooth);
}

.cases-lib-filter__pill:hover {
  color: rgba(255, 255, 255, 1);
}

.cases-lib-filter__pill:focus-visible {
  outline: 2px solid var(--color-primary-1);
  outline-offset: 2px;
}

.cases-lib-filter__pill.is-active {
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  background-color: transparent;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)),
    linear-gradient(var(--color-primary-1), var(--color-primary-1));
}

.cases-lib-filters__toolbar {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-end;
  width: 100%;
  position: relative;
  z-index: 3;
}

.cases-lib-filters__sort img,
.cases-lib-filters__sort svg {
  pointer-events: none;
}

.cases-lib-filters__sort {
  display: inline-flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0;
  padding: 6px 8px;
  border-width: 0;
  cursor: pointer;
  font-family: "PuHuiTi", sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.2;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.8);
  background-color: transparent;
  transition: color 0.2s var(--ease-smooth);
}

.cases-lib-filters__sort-label {
  flex-shrink: 0;
}

.cases-lib-filters__sort:hover {
  color: rgba(255, 255, 255, 1);
}

.cases-lib-filters__sort:focus-visible {
  outline: 2px solid var(--color-primary-1);
  outline-offset: 4px;
  border-radius: 4px;
}

.cases-lib-filters__sort-icon {
  display: block;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  vertical-align: middle;
  color: rgba(255, 255, 255, 0.85);
  transition: transform 0.25s var(--ease-smooth);
}

.cases-lib-filters__sort.is-ascending .cases-lib-filters__sort-icon {
  transform: rotate(180deg);
}

.cases-page__head {
  margin-bottom: var(--space-7);
}

.cases-page__title {
  font-size: var(--fs-h1);
  font-weight: 800;
  color: var(--color-text-100);
  margin-top: 0;
  margin-right: 0;
  margin-bottom: var(--space-4);
  margin-left: 0;
  letter-spacing: 0.02em;
}

.cases-page__subtitle {
  font-size: var(--fs-body-sm);
  color: var(--color-text-60);
  margin: 0;
}

.cases-filter__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}

.cases-filter__hint {
  margin: 0;
  font-size: var(--fs-body-sm);
  color: var(--color-text-50);
}

.case-filter__count {
  font-size: var(--fs-caption);
  color: var(--color-text-50);
  flex-shrink: 0;
}

.cases-filter__stack {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  margin-bottom: var(--space-8);
}

.cases-filter__dimension {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: var(--space-4);
}

.cases-filter__dim-label {
  flex-shrink: 0;
  min-width: 5.5rem;
  margin-top: 8px;
  font-size: var(--fs-body-sm);
  font-weight: 600;
  color: var(--color-text-70);
}

.cases-filter__pills {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3);
  flex: 1 1 0;
  min-width: 0;
}

.case-filter__btn {
  padding-top: 8px;
  padding-right: 20px;
  padding-bottom: 8px;
  padding-left: 20px;
  border-radius: var(--radius-pill);
  font-size: var(--fs-body-sm);
  color: var(--color-text-70);
  background-color: rgba(255, 255, 255, 0.06);
  border-width: 1px;
  border-style: solid;
  border-color: var(--color-text-10);
  cursor: pointer;
  transition:
    background-color var(--duration-base) var(--ease-smooth),
    color var(--duration-base) var(--ease-smooth),
    border-color var(--duration-base) var(--ease-smooth),
    box-shadow var(--duration-base) var(--ease-smooth);
}

.case-filter__btn:hover {
  color: var(--color-text-100);
  border-color: rgba(255, 105, 51, 0.35);
}

.case-filter__btn.is-active {
  color: var(--color-text-100);
  background-color: rgba(255, 105, 51, 0.12);
  border-color: var(--color-primary-1);
  box-shadow: 0 0 20px rgba(255, 105, 51, 0.15);
}

.case-empty {
  text-align: center;
  padding-top: var(--space-11);
  padding-right: var(--space-6);
  padding-bottom: var(--space-11);
  padding-left: var(--space-6);
  color: var(--color-text-50);
  font-size: var(--fs-body);
  border-width: 1px;
  border-style: dashed;
  border-color: var(--color-text-10);
  border-radius: var(--radius-lg);
  background-color: rgba(255, 255, 255, 0.02);
  display: none;
}

.case-empty.is-visible {
  display: block;
}

/* --- 案例库分页：Figma node 5:3773 「页码/圆形」--- */
/* design 前瞻列表复用同一套结构与类名，故与 .page-cases 共用样式 */
.page-cases .cases-pagination,
.page-insights .cases-pagination {
  margin-top: var(--space-10);
}

.page-cases .cases-pagination__inner,
.page-insights .cases-pagination__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding-top: 20px;
  padding-bottom: 20px;
}

.page-cases .cases-pagination__cell,
.page-insights .cases-pagination__cell {
  box-sizing: border-box;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
}

.page-cases .cases-pagination__cell--arrow,
.page-insights .cases-pagination__cell--arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 3px 8px;
  border-width: 1px;
  border-style: solid;
  border-radius: 8px;
  border-color: rgba(0, 0, 0, 0.1);
  background-color: #292422;
  cursor: pointer;
  transition:
    background-color 0.2s var(--ease-smooth),
    opacity 0.2s var(--ease-smooth);
}

.page-cases .cases-pagination__cell--arrow:not(:disabled):hover,
.page-insights .cases-pagination__cell--arrow:not(:disabled):hover {
  background-color: #322e2c;
}

.page-cases .cases-pagination__cell--arrow:disabled,
.page-insights .cases-pagination__cell--arrow:disabled {
  cursor: not-allowed;
}

.page-cases .cases-pagination__cell--arrow:not(:disabled) .cases-pagination__arrow-svg,
.page-insights .cases-pagination__cell--arrow:not(:disabled) .cases-pagination__arrow-svg {
  color: rgba(255, 255, 255, 0.85);
}

.page-cases .cases-pagination__cell--arrow:disabled .cases-pagination__arrow-svg,
.page-insights .cases-pagination__cell--arrow:disabled .cases-pagination__arrow-svg {
  color: #dadfe5;
}

.page-cases .cases-pagination__cell--arrow .cases-pagination__arrow-svg,
.page-insights .cases-pagination__cell--arrow .cases-pagination__arrow-svg {
  display: block;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.page-cases .cases-pagination__cell--arrow--prev .cases-pagination__arrow-svg,
.page-insights .cases-pagination__cell--arrow--prev .cases-pagination__arrow-svg {
  transform: scaleX(-1);
}

.page-cases .cases-pagination__cell--page,
.page-insights .cases-pagination__cell--page {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 3px 8px;
  border-width: 1px;
  border-style: solid;
  border-radius: 8px;
  border-color: rgba(0, 0, 0, 0.1);
  background-color: #292422;
  font-family: "PuHuiTi", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: normal;
  letter-spacing: 0;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  transition:
    background-color 0.2s var(--ease-smooth),
    color 0.2s var(--ease-smooth),
    border-color 0.2s var(--ease-smooth),
    opacity 0.2s var(--ease-smooth);
}

.page-cases .cases-pagination__cell--page:hover:not(.is-active),
.page-insights .cases-pagination__cell--page:hover:not(.is-active) {
  background-color: #322e2c;
}

.page-cases .cases-pagination__cell--page.is-active,
.page-insights .cases-pagination__cell--page.is-active {
  border-width: 1px;
  border-style: solid;
  border-color: transparent;
  font-weight: 700;
  color: #fff;
  background-color: #ff6933;
  cursor: default;
}

.page-cases .cases-pagination__cell--ellipsis,
.page-insights .cases-pagination__cell--ellipsis {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  padding: 3px 8px;
  border-width: 1px;
  border-style: solid;
  border-radius: 8px;
  border-color: rgba(0, 0, 0, 0.1);
  background-color: #292422;
  font-family: "PuHuiTi", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: normal;
  color: rgba(255, 255, 255, 0.7);
  user-select: none;
}


/* =========================================================================
 *  ⑦ 工具类（按需使用）
 * ========================================================================= */

/* 内容容器：1600 居中 + 左右 padding（首屏 / 区块统一调用） */
.container {
  width: 100%;
  max-width: calc(var(--container-max) + var(--container-pad) * 2);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

/* 主色按钮（首屏 CTA "立即出发" 同款）*/
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  height: 48px;
  padding: 0 var(--space-7);
  font-size: var(--fs-body);
  font-weight: 500;
  color: var(--color-text-100);
  background: linear-gradient(135deg, var(--color-primary-1), var(--color-primary-2));
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-glow-primary);
  transition:
    transform  var(--duration-base) var(--ease-spring),
    box-shadow var(--duration-base) var(--ease-smooth),
    filter     var(--duration-base) var(--ease-smooth);
}

.btn-primary:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
  box-shadow:
    0 0 32px rgba(255, 105, 51, 0.55),
    0 0 64px rgba(255, 148, 26, 0.30);
}

.btn-primary:active {
  transform: translateY(0);
  filter: brightness(0.96);
}

/* 视觉隐藏（无障碍场景：屏幕阅读器可读，视觉上不可见） */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}


/* =========================================================================
 *  ⑧ 性能与无障碍兜底
 * ========================================================================= */

/* 系统设置"减少动画"时，全局禁用动效（无障碍要求） */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* 老旧浏览器不支持 backdrop-filter 时的兜底（玻璃失效，但仍可读） */
@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .site-header {
    background-color: rgba(20, 14, 10, 0.92);
  }
}


/* =========================================================================
 *  ⑩ 案例详情页（./detail.html）—— layout + 切片
 *  ------------------------------------------------------------------------
 *  · HTML 不写死魔法数：版面间距优先用本节与 :root 里 --detail-* / --space-*。
 *  · Web 字体：⚠️ 大标题字形稿面为 LogoSC Unbounded Sans，站内以 WujieHei + PuHuiTi 兜底。
 *  · 背景：不再在 #scale-wrapper 上叠加整屏渐变——与首页、案例列表一致，只靠 body 的星空底。
 * ========================================================================= */

body.page-case-detail {
  overflow-x: hidden;
  overflow-y: scroll;
}

/* 空状态仍复用星空底（与二级页逻辑一致）；仅通过中间卡片反差突出提示 */
.page-case-detail #scale-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 1920px;
  padding-top: var(--site-header-h);
  transform-origin: top left;
}

/* 与首页一致：背景只用 body 星空 token，不叠顶部模糊主图 */
.page-case-detail .case-detail__ambient {
  display: none;
}

.case-detail-scope {
  position: relative;
  isolation: isolate;
  width: 100%;
  background-color: transparent;
  background-image: none;
}

.case-detail-scope > main {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
}

/* 互斥视图：避免 [hidden] 被其它 display 规则压过，正文与空态同时参与 flex / 占位 */
.page-case-detail #detailContent[hidden],
.page-case-detail #detailEmpty[hidden] {
  display: none !important;
}

.case-detail__ambient {
  pointer-events: none;
  position: absolute;
  z-index: 0;
  left: 0;
  top: 0;
  width: 1920px;
  height: 600px;
  overflow: hidden;
}

.case-detail__ambient-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(48px);
  opacity: 0.35;
  transform: scale(1.06);
}

.case-detail__mesh {
  position: relative;
  z-index: 1;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--detail-mesh-section-gap);
  width: 100%;
  padding-top: var(--space-9);
  padding-right: var(--container-pad);
  padding-bottom: var(--detail-mesh-pad-bottom);
  padding-left: var(--container-pad);
}

.case-detail__lead {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: var(--detail-lead-stack-gap);
  width: 100%;
  padding-top: var(--detail-lead-inset);
  padding-right: var(--detail-lead-inset);
  padding-bottom: var(--detail-lead-inset);
  padding-left: var(--detail-lead-inset);
}

.case-detail__lead-top {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--detail-mesh-section-gap);
  width: 100%;
}

/* ⚠️ 待核对：稿件为 LogoSC Unbounded Sans；本地用 WujieHei Regular 占位 */
.case-detail__title {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  font-family: "WujieHei", "PuHuiTi", sans-serif;
  font-size: var(--fs-h1);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0.02em;
  color: var(--color-text-100);
}

.case-detail__back-btn {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  gap: var(--space-2);
  padding-top: var(--space-3);
  padding-right: var(--space-5);
  padding-bottom: var(--space-3);
  padding-left: var(--space-5);
  border-width: 1px;
  border-style: solid;
  border-color: var(--color-text-20);
  border-radius: var(--radius-md);
  text-decoration: none;
  color: var(--color-text-100);
  background-color: #000000;
  background-image:
    linear-gradient(90deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.05)),
    linear-gradient(90deg, rgba(255, 105, 51, 0.40), rgba(255, 105, 51, 0.40)),
    linear-gradient(90deg, #000000, #000000);
  transition:
    transform var(--duration-base) var(--ease-spring),
    border-color var(--duration-base) var(--ease-smooth),
    box-shadow var(--duration-base) var(--ease-smooth);
}

.case-detail__back-btn:hover {
  border-color: rgba(255, 105, 51, 0.45);
  box-shadow: 0 0 20px rgba(255, 105, 51, 0.18);
}

.case-detail__back-svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: rgba(255, 255, 255, 0.95);
}

.case-detail__back-label {
  font-family: "PuHuiTi", sans-serif;
  font-size: var(--fs-body-lg);
  font-weight: 700;
  line-height: 1.2;
}

.case-detail__meta {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: var(--space-5);
  width: 100%;
  padding-top: 0;
  padding-right: var(--space-2);
  padding-bottom: 0;
  padding-left: var(--space-2);
}

.case-detail__avatar {
  position: relative;
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: var(--radius-pill);
  border-width: 2px;
  border-style: solid;
  border-color: var(--detail-avatar-ring);
  overflow: hidden;
  background-image: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.12), transparent 62%);
}

.case-detail__avatar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.case-detail__avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 本地无实拍头像时使用 SVG 占位，与设计稿圆形头像占位一致 */
.case-detail__avatar-img.is-icon-placeholder {
  width: 72%;
  height: 72%;
  object-fit: contain;
}


.case-detail__designer {
  font-family: "PuHuiTi", sans-serif;
  font-size: var(--fs-h4);
  font-weight: 500;
  line-height: 1.4;
  color: var(--color-text-80);
}

.case-detail__date {
  font-family: "PuHuiTi", sans-serif;
  font-size: var(--fs-h4);
  font-weight: 400;
  line-height: 1.4;
  color: var(--color-text-80);
}

.case-detail__body {
  width: 100%;
  margin: 0;
  font-family: "PuHuiTi", sans-serif;
  font-size: var(--fs-body-lg);
  font-weight: 400;
  line-height: 1.8;
  color: var(--color-text-70);
}

.case-detail__body p {
  margin: 0;
  padding: 0;
  margin-bottom: 0;
}

.case-detail__body p + p {
  margin-top: 0.65em;
}

.case-detail__showcase {
  position: relative;
  width: 100%;
  overflow: clip;
  border-radius: var(--radius-xl);
  background-color: #ffffff;
}

.case-detail__viewport {
  width: 100%;
  overflow: hidden;
  max-height: var(--case-cap, var(--detail-showcase-cap));
  transition: max-height var(--duration-slower) var(--ease-smooth);
}

.case-detail__viewport.is-expanded {
  max-height: none;
}

.case-detail__strip {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  width: 100%;
  min-width: 0;
  max-width: 100%;
}

.case-detail__frame-img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 0;
  object-fit: cover;
  /* flex 子项默认 min-height:auto 会按图片固有像素高度参与最小尺寸，layout 高度虚高 → 「展开」误判 */
  min-height: 0;
  min-width: 0;
}

.case-detail__frame-ph {
  min-height: 320px;
  display: grid;
  place-items: center;
  font-size: var(--fs-body);
  font-weight: 500;
  color: rgba(0, 0, 0, 0.55);
}

.case-detail__expand {
  cursor: pointer;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  margin: 0;
  padding-top: var(--space-10);
  padding-right: var(--space-7);
  padding-bottom: var(--space-9);
  padding-left: var(--space-7);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-2);
  border-width: 0;
  border-radius: 0;
  border-style: none;
  width: 100%;
  font-family: "PuHuiTi", sans-serif;
  font-size: var(--fs-body-lg);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.36px;
  color: var(--color-text-90);
  background-image:
    linear-gradient(
      180deg,
      rgba(41, 36, 34, 0) 0%,
      rgba(41, 36, 34, 0.55) 38%,
      #292422 100%
    );
  transition:
    filter var(--duration-base) var(--ease-smooth),
    color var(--duration-base) var(--ease-smooth);
}

/* 覆盖上方 display:flex：否则部分浏览器里 HTML hidden 属性压不住，按钮「逻辑隐藏了但仍看得见」 */
.case-detail__expand[hidden] {
  display: none !important;
}

.case-detail__expand:hover {
  filter: brightness(1.06);
}

.case-detail__expand-svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: rgba(255, 255, 255, 0.9);
  transition: transform var(--duration-base) var(--ease-spring);
}

.case-detail__viewport.is-expanded + .case-detail__expand .case-detail__expand-svg {
  transform: rotate(180deg);
}

.case-detail__news-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  width: 100%;
  gap: var(--space-6);
}

.case-detail__news-title {
  margin: 0;
  padding: 0;
  font-family: "WujieHei", "PuHuiTi", sans-serif;
  font-size: var(--fs-h2);
  font-weight: 400;
  line-height: 1.25;
  color: var(--color-text-100);
}

.case-detail__news-more {
  font-family: "PuHuiTi", sans-serif;
  font-size: var(--fs-body-lg);
  font-weight: 500;
  line-height: 1.25;
  color: var(--color-text-70);
  text-decoration: none;
  transition: color var(--duration-base) var(--ease-smooth);
}

.case-detail__news-more:hover {
  color: var(--color-primary-1);
}

.case-detail__news-more-ico {
  display: inline-block;
  margin-left: 2px;
  font-family: sans-serif;
  font-weight: 700;
}

.case-detail__news-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 1fr);
  gap: var(--space-7);
  width: 100%;
  align-items: stretch;
}

.case-detail__news-grid.case-detail__news-grid--single {
  grid-template-columns: minmax(0, 1fr);
}

.case-detail__feat {
  text-decoration: none;
  color: inherit;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border-width: 1px;
  border-style: solid;
  border-color: var(--color-text-10);
  background-color: var(--bg-card);
  box-shadow: var(--shadow-card);
  display: grid;
  grid-template-rows: minmax(200px, 44%) auto;
  min-height: 100%;
}



.case-detail__feat-visual {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.case-detail__feat-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.case-detail__feat-copy {
  padding: var(--space-6) var(--space-7);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-3);
}

.case-detail__feat-title {
  margin: 0;
  padding: 0;
  font-family: "PuHuiTi", sans-serif;
  font-size: var(--fs-h4);
  font-weight: 700;
  line-height: 1.35;
  color: var(--color-text-90);
}

.case-detail__feat-sum {
  margin: 0;
  padding: 0;
  font-family: "PuHuiTi", sans-serif;
  font-size: var(--fs-body-sm);
  font-weight: 400;
  line-height: 1.55;
  color: var(--color-text-50);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  line-clamp: 3;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.case-detail__feat-foot {
  font-family: "PuHuiTi", sans-serif;
  font-size: var(--fs-caption);
  font-weight: 400;
  line-height: 1.4;
  margin-top: auto;
  color: var(--color-text-40);
}

.case-detail__pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-top: var(--space-1);
  padding-right: var(--space-2);
  padding-bottom: var(--space-1);
  padding-left: var(--space-2);
  border-radius: var(--radius-sm);
  font-family: "PuHuiTi", sans-serif;
  font-size: var(--fs-caption);
  font-weight: 600;
}

.case-detail__pill--blue {
  background-color: var(--detail-tag-blue-bg);
  color: var(--detail-tag-blue-text);
}

.case-detail__col {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  justify-content: space-between;
  min-height: 100%;
}

.case-detail__mini {
  flex: 1 1 auto;
  display: flex;
  flex-direction: row;
  gap: var(--space-5);
  border-radius: var(--radius-xl);
  padding-top: var(--space-5);
  padding-right: var(--space-5);
  padding-bottom: var(--space-5);
  padding-left: var(--space-5);
  border-width: 1px;
  border-style: solid;
  border-color: var(--color-text-10);
  background-color: var(--bg-card);
  align-items: center;
  text-decoration: none;
  color: inherit;
}



.case-detail__mini-thumb {
  flex-shrink: 0;
  width: 108px;
  height: 68px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background-color: var(--color-text-10);
}

.case-detail__mini-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.case-detail__mini-copy {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-2);
}

.case-detail__mini-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3);
  width: 100%;
}

.case-detail__mini-date {
  font-family: "PuHuiTi", sans-serif;
  font-size: var(--fs-caption);
  font-weight: 400;
  line-height: 1.35;
  color: var(--color-text-40);
}

.case-detail__mini-title {
  font-family: "PuHuiTi", sans-serif;
  font-size: var(--fs-body);
  font-weight: 600;
  line-height: 1.38;
  color: var(--color-text-80);
}

.case-detail__pager {
  box-sizing: border-box;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  width: 100%;
  padding-top: var(--detail-lead-inset);
  padding-right: var(--detail-lead-inset);
  padding-bottom: var(--detail-lead-inset);
  padding-left: var(--detail-lead-inset);
}

/* 左右各占一等分弹性宽度，中部标签真正居中（Figma 7:4725） */
.case-detail__pager-prev,
.case-detail__pager-next {
  flex: 1 1 0;
  box-sizing: border-box;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: var(--space-6);
  max-width: 100%;
  text-decoration: none;
}

.case-detail__pager-prev.is-muted,
.case-detail__pager-next.is-muted {
  visibility: hidden;
  pointer-events: none;
}

.case-detail__pager-prev {
  justify-content: flex-start;
}

.case-detail__pager-next {
  justify-content: flex-end;
}

.case-detail__pager-arrow {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  border-radius: 130px;
  display: grid;
  place-items: center;
  background-color: var(--detail-pager-arrow-bg);
}

.case-detail__pager-arrow-ico {
  width: 24px;
  height: 24px;
  display: block;
  object-fit: contain;
}

.case-detail__pager-arrow--prev .case-detail__pager-arrow-ico {
  transform: scaleX(-1);
}

.case-detail__pager-txt {
  font-family: "PuHuiTi", sans-serif;
  font-size: var(--fs-body-lg);
  font-weight: 500;
  line-height: 1.2;
  color: var(--color-text-70);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.case-detail__pager-tags {
  flex: 0 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
}

.case-detail__pager-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--detail-pager-chip-icon-gap);
  padding-top: var(--space-3);
  padding-right: var(--space-6);
  padding-bottom: var(--space-3);
  padding-left: var(--space-6);
  border-radius: var(--radius-pill);
  background-color: var(--color-text-10);
  color: var(--color-text-100);
  transition:
    background-color var(--duration-base) var(--ease-smooth),
    transform var(--duration-base) var(--ease-spring);
}

.case-detail__pager-chip-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: block;
  object-fit: contain;
}

.case-detail__pager-chip-label {
  font-family: "PuHuiTi", sans-serif;
  font-size: var(--fs-body-lg);
  font-weight: 400;
  line-height: 1.2;
}

.case-detail__empty-shell {
  width: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: var(--space-11);
  padding-right: var(--container-pad);
  padding-bottom: var(--space-11);
  padding-left: var(--container-pad);
}

.case-detail__empty-panel {
  width: 100%;
  max-width: 520px;
  margin-top: var(--space-9);
  margin-right: auto;
  margin-bottom: var(--space-9);
  margin-left: auto;
  padding-top: 56px;
  padding-right: 56px;
  padding-bottom: 56px;
  padding-left: 56px;
  border-radius: 28px;
  border-width: 1px;
  border-style: dashed;
  border-color: rgba(255, 255, 255, 0.18);
  text-align: center;
  box-sizing: border-box;
  background-color: rgba(18, 16, 15, 0.72);
  background-image: radial-gradient(ellipse 80% 72% at 50% -8%, rgba(255, 105, 51, 0.16), transparent 58%);
}

body.page-case-detail.page-case-detail--not-found .case-detail__empty-panel {
  border-color: rgba(255, 255, 255, 0.22);
}

.case-detail__empty-panel .btn-primary {
  padding-left: var(--space-10);
  padding-right: var(--space-10);
  min-height: 48px;
  box-shadow: var(--shadow-glow-primary);
}

.case-detail__empty-title {
  margin: 0 0 var(--space-4);
  font-family: "PuHuiTi", sans-serif;
  font-size: var(--fs-h3);
  font-weight: 800;
  line-height: 1.35;
  color: var(--color-text-100);
}

.case-detail__empty-desc {
  margin: 0 0 var(--space-11);
  color: var(--color-text-60);
  line-height: 1.65;
  font-size: var(--fs-body-lg);
}

.case-detail__empty-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-4);
}

.case-detail__empty-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding-right: var(--space-10);
  padding-left: var(--space-10);
  border-radius: var(--radius-pill);
  font-size: var(--fs-body);
  font-weight: 600;
  color: var(--color-text-90);
  border-width: 1px;
  border-style: solid;
  border-color: var(--color-text-10);
  background-color: rgba(255, 255, 255, 0.05);
}

.case-detail__empty-secondary:hover {
  border-color: rgba(255, 105, 51, 0.35);
  background-color: rgba(255, 105, 51, 0.06);
}


/* =========================================================================
 *  ⑥-e 设计前瞻 insights.html · Figma node 7:1271
 *  -------------------------------------------------------------------------
 *  · 画布缩放与 padding 口径与案例库相同（1920 设计宽、左右各 160）。
 *  · 筛选 Pill 激活态为「实心主色底」，与案例库筛选条略不同（见注释）。
 * ========================================================================= */

body.page-insights {
  overflow-x: hidden;
  overflow-y: scroll;
}

.page-insights #scale-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 1920px;
  padding-top: var(--site-header-h);
  transform-origin: top left;
}

.insights-page {
  max-width: 1920px;
  margin-top: 0;
  margin-right: auto;
  margin-bottom: 0;
  margin-left: auto;
  padding-top: var(--space-9);
  padding-right: var(--container-pad);
  padding-bottom: var(--space-10);
  padding-left: var(--container-pad);
}

.insights-hero {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-bottom: var(--space-8);
}

.insights-hero__title {
  margin: 0;
  font-family: "WujieHei", "PuHuiTi", sans-serif;
  font-size: 48px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0;
  color: var(--color-text-100);
}

.insights-hero__toolbar {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.insights-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.insights-filter-pill {
  margin: 0;
  padding-top: 10px;
  padding-right: 16px;
  padding-bottom: 10px;
  padding-left: 16px;
  border-width: 0;
  border-radius: 40px;
  font-family: "PuHuiTi", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.2;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.90);
  background-color: rgba(0, 0, 0, 0.30);
  transition:
    background-color 0.2s var(--ease-smooth),
    color 0.2s var(--ease-smooth),
    transform 0.2s var(--ease-smooth);
}

.insights-filter-pill:hover {
  color: rgba(255, 255, 255, 1);
}

.insights-filter-pill:focus-visible {
  outline-width: 2px;
  outline-style: solid;
  outline-color: var(--color-primary-1);
  outline-offset: 2px;
}

/* Figma：激活态实心橙（非案例库渐变条）*/
.insights-filter-pill.is-active {
  font-weight: 700;
  color: rgba(255, 255, 255, 0.95);
  background-color: #ff6933;
}

.insights-sort {
  display: inline-flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0;
  padding-top: 6px;
  padding-right: 8px;
  padding-bottom: 6px;
  padding-left: 8px;
  border-width: 0;
  cursor: pointer;
  font-family: "PuHuiTi", sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.2;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.80);
  background-color: transparent;
  transition: color 0.2s var(--ease-smooth);
}

.insights-sort:hover {
  color: rgba(255, 255, 255, 1);
}

.insights-sort:focus-visible {
  outline-width: 2px;
  outline-style: solid;
  outline-color: var(--color-primary-1);
  outline-offset: 4px;
  border-radius: 4px;
}

.insights-sort__icon {
  display: block;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  vertical-align: middle;
  transition: transform 0.25s var(--ease-smooth);
}

.insights-sort.is-ascending .insights-sort__icon {
  transform: rotate(180deg);
}

.insights-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.insights-empty {
  margin: 0 0 var(--space-7);
  padding-top: var(--space-11);
  padding-right: var(--space-8);
  padding-bottom: var(--space-11);
  padding-left: var(--space-8);
  text-align: center;
  font-family: "PuHuiTi", sans-serif;
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.6;
  color: var(--color-text-50);
  border-width: 1px;
  border-style: dashed;
  border-color: var(--color-text-10);
  border-radius: var(--radius-lg);
  background-color: rgba(255, 255, 255, 0.02);
}

.insights-card.card-hover {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 24px;
  padding-top: 24px;
  padding-right: 24px;
  padding-bottom: 24px;
  padding-left: 24px;
  border-radius: 20px;
}

.insights-card.insights-card--muted.card-hover:hover {
  /* 无外链：仍要给悬停反馈，避免整页卡片像「死掉」。（点击仍由脚本 preventDefault）*/
  transform: translate3d(0, -4px, 0);
  background-color: var(--bg-card-hover);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow:
    0 14px 40px rgba(0, 0, 0, 0.42),
    0 4px 12px rgba(255, 105, 51, 0.12);
}

.insights-card.insights-card--muted.card-hover:hover .insights-card__thumb-img {
  transform: scale(1.04);
}

.insights-card.insights-card--muted.card-hover:hover .insights-card__chev {
  transform: translateX(3px);
  opacity: 0.95;
}

.insights-card__thumb {
  flex-shrink: 0;
  width: 252px;
  height: 152px;
  border-radius: 12px;
  overflow: hidden;
  background-color: var(--color-text-10);
}

.insights-card__thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slower) var(--ease-smooth);
}

.card-hover.insights-card:hover .insights-card__thumb-img {
  transform: scale(1.06);
}

.insights-card__body {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: stretch;
  justify-content: flex-start;
  gap: 12px;
  min-width: 0;
  padding-top: 4px;
  padding-bottom: 4px;
}

.insights-card__title {
  margin: 0;
  font-family: "PuHuiTi", sans-serif;
  font-size: var(--fs-h4);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0;
  color: var(--color-text-100);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.insights-card__sum {
  margin: 0;
  font-family: "PuHuiTi", sans-serif;
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: 0.02em;
  color: var(--color-text-60);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  flex-grow: 1;
}

.insights-card__meta {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  margin-top: auto;
}

.insights-card__meta-item {
  display: inline-flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 6px;
}

.insights-card__meta-ico {
  display: block;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
}

.insights-card__meta-txt {
  font-family: "PuHuiTi", sans-serif;
  font-size: var(--fs-body-sm);
  font-weight: 400;
  line-height: 1.2;
  color: var(--color-text-70);
}

.insights-card__chev {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  opacity: 0.88;
  transition:
    transform var(--duration-base) var(--ease-spring),
    opacity   var(--duration-base) var(--ease-smooth);
}

.card-hover.insights-card:hover .insights-card__chev {
  transform: translateX(4px);
  opacity: 1;
}


/* =========================================================================
 *  ⑥-f 设计资源 resources.html · Figma node 7:3052
 *  -------------------------------------------------------------------------
 *  · 布局始终在 1920 画布坐标系内排布，窄屏仅由 ./global-scale.js 整体 scale，
 *    勿再用 viewport 宽度媒体查询改 .resources-grid 列数（会与缩放叠加）。
 * ========================================================================= */

body.page-resources {
  overflow-x: hidden;
  overflow-y: scroll;
}

.page-resources #scale-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 1920px;
  padding-top: var(--site-header-h);
  transform-origin: top left;
}

.resources-page {
  max-width: 1920px;
  margin-top: 0;
  margin-right: auto;
  margin-bottom: 0;
  margin-left: auto;
  padding-top: var(--space-9);
  padding-right: var(--container-pad);
  padding-bottom: var(--space-10);
  padding-left: var(--container-pad);
}

.resources-hero {
  margin-bottom: var(--space-8);
}

.resources-hero__title {
  margin: 0;
  font-family: "WujieHei", "PuHuiTi", sans-serif;
  font-size: 48px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0;
  color: var(--color-text-100);
}

.resources-empty {
  margin: 0 0 var(--space-8);
  padding-top: var(--space-11);
  padding-right: var(--space-8);
  padding-bottom: var(--space-11);
  padding-left: var(--space-8);
  text-align: center;
  font-family: "PuHuiTi", sans-serif;
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.6;
  color: var(--color-text-50);
  border-width: 1px;
  border-style: dashed;
  border-color: var(--color-text-10);
  border-radius: var(--radius-lg);
  background-color: rgba(255, 255, 255, 0.02);
}

.resources-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.resource-card.card-hover {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: stretch;
  border-radius: 20px;
  padding: 0;
}

.resource-card.resource-card--muted.card-hover:hover {
  transform: translate3d(0, 0, 0);
  box-shadow: var(--shadow-card);
  border-color: var(--color-text-10);
  background-color: var(--bg-card);
}

.resource-card.resource-card--muted.card-hover:hover .resource-card__cover {
  transform: none;
}

/* 大图区固定 270px 高（与稿面一致）；覆盖通用 .card-hover__cover 的 16∶10 */
.resource-card .resource-card__visual.card-hover__cover {
  aspect-ratio: auto;
  height: 270px;
  width: 100%;
}

.resource-card .resource-card__cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.resource-card__foot {
  box-sizing: border-box;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 30px;
  padding-right: 30px;
  padding-bottom: 30px;
  padding-left: 30px;
}

.resource-card__name {
  flex: 1 1 0;
  min-width: 0;
  margin: 0;
  font-family: "PuHuiTi", sans-serif;
  font-size: var(--fs-body-lg);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.02em;
  color: var(--color-text-100);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.resource-card__chev {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--duration-base) var(--ease-spring);
}

.card-hover.resource-card:not(.resource-card--muted):hover .resource-card__chev {
  transform: translateX(4px);
}


/* =========================================================================
 *  ⑥-g 关于我们 about.html · Figma node 7:2486
 * ========================================================================= */

body.page-about {
  overflow-x: hidden;
  overflow-y: scroll;
}

.page-about #scale-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 1920px;
  padding-top: var(--site-header-h);
  transform-origin: top left;
}

.about-page {
  max-width: 1920px;
  margin-top: 0;
  margin-right: auto;
  margin-bottom: 0;
  margin-left: auto;
  padding-top: var(--space-9);
  padding-right: var(--container-pad);
  padding-bottom: var(--space-10);
  padding-left: var(--container-pad);
}

.about-hero {
  /* 左栏（关于我们 + about us / Star Designer）与右栏介绍文案的间距：改数值只动这里 */
  --about-hero-col-gap: 120px;
  display: grid;
  /* 左栏随标题内容宽度；右栏占满剩余宽度（不再锁 720px / 640px） */
  grid-template-columns: auto minmax(0, 1fr);
  gap: var(--about-hero-col-gap);
  align-items: flex-end;
  margin-bottom: var(--space-10);
}

/* Figma 7:2488：关于我们 48px · LogoSC Unbounded → 无界黑占位 */
.about-hero__kicker {
  margin-top: 0;
  margin-right: 0;
  margin-bottom: 40px;
  margin-left: 0;
  font-family: "WujieHei", "PuHuiTi", sans-serif;
  font-size: 48px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0;
  color: var(--color-text-100);
}

.about-hero__title-block {
  padding-top: 10px;
  padding-right: 10px;
  padding-bottom: 10px;
  padding-left: 10px;
}

/* Figma 8:2655：标题 + 装饰图的参考盒 */
.about-hero__titles-wrap {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: flex-start;
}

/* Figma 8:2647：about us · 68px · 横向渐变 主色1 → 主色2 */
.about-hero__en-gradient {
  margin: 0;
  margin-bottom: 0;
  padding: 0;
  font-family: "WujieHei", "PuHuiTi", sans-serif;
  font-size: 68px;
  font-weight: 400;
  font-style: normal;
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  filter: drop-shadow(0 4px 18px rgba(0, 0, 0, 0.45));
  background-image: linear-gradient(
    90deg,
    #ff6933 0%,
    #ff6933 25%,
    #ff941a 100%
  );
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

/* Figma 8:2661：双行叠字 STAR DESIGNER。
 * 「第二行」指 HTML 里 class="about-hero__star-ghost" 那一行（在下面、半透明叠在下面露出来）。
 * 改颜色只动下面几块变量即可；括号里是含义说明。
 */
.about-hero__star-stack {
  /*
   * --- 手动调样式：从这里开始 ---
   *
   * 第一行（上方实心字）对应类名：.about-hero__star-face
   * 下面变量控制那一行的「文字填充色」。
   */
  --star-designer-row1-fill: #ffffff;

  /*
   * 第二行（下方叠字露出的那一层）对应类名：.about-hero__star-ghost
   * 变量 --star-designer-row2-fill 控制 CSS 属性 color（字内部的填充颜色）。
   * 示例里用半透明白：rgba(255, 255, 255, 0.1)，最后一位越小越透明；也可用 #cccccc 等纯色。
   */
  --star-designer-row2-fill: rgba(255, 255, 255, 0.31);

  /*
   * 第二行的「边框」不是 border，而是沿着笔画边缘画的线（属性名：-webkit-text-stroke-*）。
   * --star-designer-row2-outline-color → -webkit-text-stroke-color（轮廓线颜色）。
   */
  /* 渐变色：橙色到黄色 */
  --star-designer-row2-outline-color: rgba(255, 255, 255, 0.31);

  /*
   * --star-designer-row2-outline-width → -webkit-text-stroke-width（轮廓线粗细，单位 px）。
   */
  --star-designer-row2-outline-width: 1px;

  /* --- 手动调样式：到这里为止 --- */

  position: relative;
  margin-top: 0;
  margin-right: 0;
  margin-bottom: 0;
  margin-left: 0;
  padding: 0;
  overflow: visible;
}

/* 第一行：纯白叠在上面（可调颜色见 .about-hero__star-stack 里的 --star-designer-row1-fill） */
.about-hero__star-face {
  margin-top: 0;
  margin-right: 0;
  margin-bottom: -58px;
  margin-left: 0;
  padding: 0;
  position: relative;
  z-index: 2;
  font-family: "LogoSC Unbounded Sans", "WujieHei", "PuHuiTi", sans-serif;
  font-size: 68px;
  font-weight: 400;
  font-style: normal;
  line-height: 100%;
  letter-spacing: 0;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--star-designer-row1-fill);
  text-shadow: none;
}

/* 第二行：在下面；文字填充 color + 沿字形的轮廓线 webkit-text-stroke */
.about-hero__star-ghost {
  margin: 0;
  padding: 0;
  position: relative;
  z-index: 1;
  font-family: "LogoSC Unbounded Sans", "WujieHei", "PuHuiTi", sans-serif;
  font-size: 68px;
  font-weight: 400;
  font-style: normal;
  line-height: 100%;
  letter-spacing: 0;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--star-designer-row2-fill);
  -webkit-text-stroke-width: var(--star-designer-row2-outline-width);
  -webkit-text-stroke-color: var(--star-designer-row2-outline-color);
}

/* 装饰星：与 index.html Hero「hero__sparkle」同款 PNG + 浮动动效（keyframes 仅此一处，供关于页使用） */
@keyframes sparkle-float {
  0%, 100% {
    transform: translateY(0);
    opacity: 1;
  }
  50% {
    transform: translateY(-6px);
    opacity: 0.75;
  }
}

.about-hero__sparkle {
  position: absolute;
  pointer-events: none;
  display: block;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 16px rgba(255, 105, 51, 0.6));
}

/* 定位基准：.about-hero__titles-wrap（与首页 hero 第二行标题区同理） */
.about-hero__sparkle--big {
  width: 140px;
  top: -50px;
  right: 120px;
  animation: sparkle-float 4s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  .about-hero__sparkle--big {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

.about-hero__intro {
  justify-self: stretch;
  width: 100%;
  min-width: 0;
  max-width: none;
  text-align: left;
}

/* Figma 8:2656：正文 16px · 白 70% · 行高 1.6 */
.about-intro__p {
  margin-top: 0;
  margin-right: 0;
  margin-bottom: 0;
  margin-left: 0;
  padding-top: 0;
  padding-right: 0;
  padding-bottom: 0;
  padding-left: 0;
  font-family: "PuHuiTi", sans-serif;
  font-size: 16px;
  font-weight: 400;
  font-style: normal;
  line-height: 1.6;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.70);
  /* introParagraphs 中单段可在 data.js 用换行符断行；非两段 <p>，故无段落空隙 */
  white-space: pre-line;
}

.about-intro__p:not(:last-child) {
  margin-bottom: 16px;
}

.about-intro__p:last-child {
  margin-bottom: 0;
}

.about-team__head {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
}

.about-team__title {
  margin: 0;
  font-family: "PuHuiTi", sans-serif;
  font-size: var(--fs-h3);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.02em;
  color: var(--color-text-100);
}

.about-team__filter {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.about-team__select {
  box-sizing: border-box;
  flex: 0 1 auto;
  min-width: 0;
  max-width: 320px;
  height: auto;
  margin: 0;
  padding-top: 6px;
  padding-right: 8px;
  padding-bottom: 6px;
  padding-left: 8px;
  border-width: 0;
  border-style: none;
  border-radius: 0;
  background-color: transparent;
  background-image: none;
  font-family: "PuHuiTi", sans-serif;
  font-size: var(--fs-body-lg);
  font-weight: 400;
  line-height: 1.2;
  color: var(--color-text-90);
  appearance: none;
  cursor: pointer;
  transition: opacity var(--duration-base) var(--ease-smooth);
}

.about-team__select:hover {
  opacity: 0.9;
}

.about-team__select:focus-visible {
  outline-width: 2px;
  outline-style: solid;
  outline-color: var(--color-primary-1);
  outline-offset: 2px;
}

.about-team__filter-ico {
  flex-shrink: 0;
  display: block;
  pointer-events: none;
  opacity: 1;
}

.about-team__empty {
  margin: 0 0 var(--space-7);
  text-align: center;
  font-family: "PuHuiTi", sans-serif;
  font-size: var(--fs-body);
  color: var(--color-text-50);
}

.about-team__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.about-member-card {
  box-sizing: border-box;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 20px;
  height: 140px;
  padding-top: 0;
  padding-right: 24px;
  padding-bottom: 0;
  padding-left: 24px;
  border-radius: 20px;
  background-color: #292422;
  border-width: 1px;
  border-style: solid;
  border-color: var(--color-text-10);
  transition:
    background-color var(--duration-base) var(--ease-smooth),
    transform var(--duration-slow) var(--ease-spring),
    box-shadow var(--duration-base) var(--ease-smooth);
}

.about-member-card:hover {
  background-color: var(--bg-card-hover);
  transform: translate3d(0, -4px, 0);
  box-shadow: var(--shadow-card-hover);
}

.about-member-card__avatar-wrap {
  flex-shrink: 0;
}

.about-member-card__avatar {
  display: block;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border-width: 2px;
  border-style: solid;
  border-color: #ffb499;
}

.about-member-card__body {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: flex-start;
  justify-content: center;
  gap: 8px;
  min-width: 0;
}

.about-member-card__name {
  margin: 0;
  font-family: "PuHuiTi", sans-serif;
  font-size: var(--fs-body-lg);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-text-100);
}

.about-member-card__role {
  margin: 0;
  font-family: "PuHuiTi", sans-serif;
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.35;
  color: var(--color-text-60);
}

.about-member-card__chev {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0.72;
}


/* =========================================================================
 *  particle-interactive.html · 1920×1080 画布 + 站内核橙色星空底
 *  -------------------------------------------------------------------------
 *  · 外层 letterbox 用 --bg-base-*；画布内仅 --bg-base-gradient（无居中主色光晕）
 *  · WebGL 极光 + Canvas2D 中心粒子发射层（叠放）
 * ========================================================================= */

body.page-particle-demo {
  margin: 0;
  min-height: 100vh;
  height: 100vh;
  overflow: hidden;
  background-color: var(--bg-base-3);
  background-image: none;
  /* 极光层高度：100% = 铺满 1920×1080 舞台；改为如 48% 可只做一条顶栏 */
  --particle-aurora-height: 100%;
}

/* ----- 嵌入首页 / 详情：极光顶带（随 global-scale）+ 视口中心粒子（fixed 全屏）----- */
.page-with-particle-bg {
  --particle-aurora-height: 100%;
  /** 极光图层在设计稿中的高度（px），宽固定 1920 同源缩放 */
  --site-aurora-band-h: 1080px;
}

/* 二级列表页：极光顶带略矮，避免与首屏大标题区抢视觉（首页 / 案例详情仍为 1080px） */
.page-cases.page-with-particle-bg,
.page-insights.page-with-particle-bg,
.page-resources.page-with-particle-bg,
.page-about.page-with-particle-bg {
  --site-aurora-band-h: 800px;
}

.site-particle-bg {
  pointer-events: none;
  overflow: hidden;
}

/* 极光：fixed 顶对齐，transform 由 global-scale.js 与 wrapper / Header 同步 */
.page-with-particle-bg .site-aurora-mount {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 0;
  width: 1920px;
  height: var(--site-aurora-band-h);
  pointer-events: none;
  overflow: hidden;
  transform-origin: top left;
}

.page-with-particle-bg .site-aurora-mount__stage {
  position: absolute;
  inset: 0;
}

.page-with-particle-bg .site-aurora-mount .particle-aurora {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: var(--particle-aurora-height);
  display: block;
  z-index: 1;
  pointer-events: none;
}

.page-with-particle-bg .site-aurora-mount .particle-aurora-fallback {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: var(--particle-aurora-height);
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
  background: linear-gradient(
    180deg,
    rgba(255, 122, 61, 0.22) 0%,
    rgba(255, 148, 26, 0.09) 45%,
    rgba(255, 105, 51, 0.04) 72%,
    transparent 100%
  );
}

.page-with-particle-bg .site-aurora-mount .particle-aurora-fallback.is-visible {
  opacity: 1;
}

/* 粒子：铺满可视区域，发射点为画布几何中心 = 始终对准屏幕中心 */
.page-with-particle-bg .site-burst-mount {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

/** 正文画布叠在粒子层之上（极光仍在更底层） */
.page-with-particle-bg #scale-wrapper {
  z-index: 2;
}

/* 演示页 / 独立预览：全视口固定（含极光+粒子） */
.site-particle-bg--viewport {
  position: fixed;
  inset: 0;
  z-index: 0;
}

.page-with-particle-bg #scale-wrapper > main {
  position: relative;
  z-index: 1;
}

.page-with-particle-bg #scale-wrapper > footer {
  position: relative;
  z-index: 1;
}

.site-particle-bg .particle-viewport-fit,
.site-burst-mount .particle-viewport-fit {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 0;
}

.page-with-particle-bg .site-burst-mount .particle-design-surface {
  position: relative;
  width: 1920px;
  height: 1080px;
  flex-shrink: 0;
  transform-origin: center center;
  overflow: hidden;
  box-shadow: none;
}

.page-with-particle-bg .site-burst-mount .particle-stage {
  position: absolute;
  inset: 0;
}

.page-with-particle-bg .site-burst-mount .particle-stage--burst-only {
  background-color: transparent;
  background-image: none;
}

.page-with-particle-bg .site-burst-mount .particle-emitter {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 2;
  pointer-events: none;
}

.page-particle-demo .particle-viewport-fit {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 0;
}

.page-particle-demo .site-particle-bg .particle-viewport-fit {
  position: absolute;
}

.page-particle-demo .particle-design-surface {
  position: relative;
  width: 1920px;
  height: 1080px;
  flex-shrink: 0;
  transform-origin: center center;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.06),
    0 24px 80px rgba(0, 0, 0, 0.45);
}

.page-particle-demo .particle-stage {
  position: absolute;
  inset: 0;
  background-color: var(--bg-base-2);
  /* 演示页去掉居中主橙色光晕，仅保留深色径向底 */
  background-image: var(--bg-base-gradient);
  background-repeat: no-repeat;
  background-size: cover;
}

.page-particle-demo .particle-aurora {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  width: 100%;
  height: var(--particle-aurora-height);
  display: block;
  z-index: 1;
  pointer-events: none;
}

.page-particle-demo .particle-aurora-fallback {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  height: var(--particle-aurora-height);
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
  /* 全屏极光兜底：自上而下淡出（仍可降级显示） */
  background: linear-gradient(
    180deg,
    rgba(255, 122, 61, 0.22) 0%,
    rgba(255, 148, 26, 0.09) 45%,
    rgba(255, 105, 51, 0.04) 72%,
    transparent 100%
  );
}

.page-particle-demo .particle-emitter {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 2;
  pointer-events: none;
}

.page-particle-demo .particle-aurora-fallback.is-visible {
  opacity: 1;
}

.page-particle-demo .particle-hint {
  position: fixed;
  left: 50%;
  bottom: clamp(16px, 3vh, 36px);
  transform: translateX(-50%);
  z-index: 2;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: var(--fs-caption);
  letter-spacing: 0.04em;
  color: var(--color-text-50);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--color-text-10);
  pointer-events: none;
  user-select: none;
  backdrop-filter: blur(8px);
}

@media (prefers-reduced-motion: reduce) {
  .page-particle-demo .particle-hint::after {
    content: " · 减少动态效果";
  }
}

