/* ==========================================================================
   agent-ws.css  —  智能体工作区 1:1 复刻（对标 ai778.cc 两套工作区模板）
   family B : sts2-yemian   → sts2-hero / sts2-tuandui / sts2-shipin / sts2-caozuoqu
   family A : tongyong-container → hero-section / capabilities-section
   共用      : beijing-container 背景层 + renwu-panel + bottom-input-wrapper
   主题色    : 由 JS 注入 --ac（r,g,b 三元组）+ --ac-hex（原色）
   双主题    : 跟随页面 data-theme；默认浅色（老板 2026-09-28 明令只出浅色核对）
   ========================================================================== */

/* ---------- 1. 令牌 ---------- */
:root {
  --ws-bg-a: #fcfbfe;
  --ws-bg-b: #f4f2fb;
  --ws-panel: rgba(255, 255, 255, .82);
  --ws-panel-solid: #ffffff;
  --ws-card: rgba(255, 255, 255, .72);
  --ws-card-2: rgba(255, 255, 255, .56);
  --ws-bd: rgba(22, 20, 42, .085);
  --ws-bd-2: rgba(22, 20, 42, .055);
  --ws-t1: #14121f;
  --ws-t2: rgba(30, 27, 52, .70);
  --ws-t3: rgba(30, 27, 52, .48);
  --ws-t4: rgba(30, 27, 52, .34);
  --ws-chip: rgba(22, 20, 42, .028);
  --ws-chip-bd: rgba(22, 20, 42, .075);
  --ws-chip-t: rgba(30, 27, 52, .74);
  --ws-ink: rgba(255, 255, 255, 1);
  --ws-shadow-sm: 0 1px 2px rgba(22, 20, 42, .05), 0 2px 10px rgba(22, 20, 42, .04);
  --ws-shadow-md: 0 4px 16px rgba(22, 20, 42, .07), 0 1px 3px rgba(22, 20, 42, .04);
  --ws-shadow-lg: 0 18px 44px -14px rgba(22, 20, 42, .16), 0 4px 14px rgba(22, 20, 42, .05);
  --ws-grid-a: rgba(var(--ac), .11);
  --ws-flow-a: .05;
  --ws-orb-a: .13;
  --ws-dock-bg: rgba(255, 255, 255, .86);
  --ws-dock-bd: rgba(22, 20, 42, .09);
  --ws-hl: rgba(255, 255, 255, .85);
  --ws-guide-bg: rgba(var(--ac), .07);
  --ws-guide-bd: rgba(var(--ac), .22);
}

[data-theme=dark] {
  --ws-bg-a: #08090c;
  --ws-bg-b: #050609;
  --ws-panel: rgba(23, 26, 36, .86);
  --ws-panel-solid: #171a24;
  --ws-card: rgba(23, 26, 36, .88);
  --ws-card-2: rgba(16, 18, 26, .82);
  --ws-bd: rgba(255, 255, 255, .07);
  --ws-bd-2: rgba(255, 255, 255, .045);
  --ws-t1: rgba(255, 255, 255, .94);
  --ws-t2: rgba(214, 220, 232, .70);
  --ws-t3: rgba(200, 209, 220, .50);
  --ws-t4: rgba(200, 209, 220, .34);
  --ws-chip: rgba(255, 255, 255, .022);
  --ws-chip-bd: rgba(255, 255, 255, .06);
  --ws-chip-t: rgba(220, 228, 236, .75);
  --ws-shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
  --ws-shadow-md: 0 6px 20px rgba(0, 0, 0, .45);
  --ws-shadow-lg: 0 18px 46px -14px rgba(0, 0, 0, .7);
  /* [c194 老板令] 亮度二轮收：老板看后仍嫌「太花太亮」。像素核验（c194_pix2）
     改前：整体 25.78（阈值<24）、装饰层叠加 +9.10（阈值<+4）。
     光球 o1 宽 76% 铺得最大、conic 流光 260% 铺满全屏 —— 这两处是「亮」的主因。
     orb .16 -> .09 / flow .055 -> .04 / grid .075 -> .055 */
  --ws-grid-a: rgba(var(--ac), .05);
  --ws-flow-a: .034;
  --ws-orb-a: .075;
  --ws-dock-bg: rgba(27, 28, 33, .95);
  --ws-dock-bd: rgb(30, 31, 37);
  --ws-hl: rgba(255, 255, 255, .14);
  --ws-guide-bg: rgba(var(--ac), .08);
  --ws-guide-bd: rgba(var(--ac), .28);
}

/* ---------- 2. 根容器 ---------- */
/* 挂在 #agentSecBody（flex row）里的宿主节点 */
:root .agent-ws-host {
  flex: 1;
  min-width: 0;
  min-height: 0;
  display: flex;
  overflow: hidden;
  position: relative;
}

:root .ws-root {
  position: relative;
  flex: 1;
  min-width: 0;
  min-height: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--ws-bg-a);
  color: var(--ws-t1);
  font-family: inherit;
  isolation: isolate;
  animation: wsFadeIn .42s cubic-bezier(.22, .68, .3, 1) both;
}
@keyframes wsFadeIn {
  from { opacity: 0; transform: translateY(6px) }
  to   { opacity: 1; transform: none }
}

/* ---------- 3. 背景层（beijing-container 1:1，6 层） ---------- */
:root .ws-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background:
    radial-gradient(120% 78% at 50% -14%, var(--ws-bg-b) 0%, transparent 72%),
    var(--ws-bg-a);
}

/* 3.1 网格 60×60 + gridPulse 10s */
:root .ws-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--ws-grid-a) 1px, transparent 1px),
    linear-gradient(90deg, var(--ws-grid-a) 1px, transparent 1px);
  background-size: 60px 60px, 60px 60px;
  background-position: -1px -1px;
  animation: wsGridPulse 10s ease-in-out infinite;
  will-change: opacity;
}
@keyframes wsGridPulse {
  0%, 100% { opacity: .55 }
  50%      { opacity: 1 }
}

/* 3.2 流光 conic 60s */
:root .ws-flow {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 260%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  background: conic-gradient(from 0deg,
      transparent 0deg,
      rgba(var(--ac), var(--ws-flow-a)) 60deg,
      transparent 120deg,
      rgba(var(--ac), var(--ws-flow-a)) 180deg,
      transparent 240deg,
      rgba(var(--ac), var(--ws-flow-a)) 300deg,
      transparent 360deg);
  animation: wsFlow 60s linear infinite;
  will-change: transform;
}
@keyframes wsFlow {
  to { transform: translate(-50%, -50%) rotate(360deg) }
}

/* 3.3 光球 ×3 orbFloat 25s（错峰） */
:root .ws-orb {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--ac), var(--ws-orb-a)) 0%, rgba(var(--ac), 0) 70%);
  animation: wsOrb 25s ease-in-out infinite;
  will-change: transform;
}
:root .ws-orb.o1 { width: 76%; padding-bottom: 76%; left: -22%; top: -34% }
:root .ws-orb.o2 { width: 54%; padding-bottom: 54%; right: -14%; top: 6%; animation-delay: -8s }
:root .ws-orb.o3 { width: 40%; padding-bottom: 40%; right: 18%; bottom: -18%; animation-delay: -16s }
@keyframes wsOrb {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1) }
  33%      { transform: translate3d(3%, -4%, 0) scale(1.06) }
  66%      { transform: translate3d(-3%, 3%, 0) scale(.96) }
}

/* 3.4 粒子 */
/* [c194 老板令] 真身（对标站 ZCode 助手，_mat/c194/detail.json 实测）：
   30 个 span.particle，尺寸 1.05~4.03px，左侧/顶部按百分比散布，
   背景色 rgba(0,202,224,.8) + box-shadow 0 0 6px rgba(0,202,224,.5)，
   动画 particleDrift：0/100% opacity 0 → 10~90% opacity 1，同时 translate(--dx,--dy) 向上飘。
   旧版只有 wsTwinkle 原地缩放闪烁 → 看起来「不动」。 */
:root .ws-particles { position: absolute; inset: 0 }
/* [c201 老板令] 粒子「一个都看不见」——真机 DOM 取证已排除遮挡与亮度：
   30 个 <i> 全部 visible、computed opacity=1、animation-running、几何在视口内、
   舞台与 .ws-bg 都没盖住它。真因是「观感」被改坏了：
   c192 那版（老板印象里「很明显」）是 wsTwinkle：4.6 秒一明一暗的闪烁（.18 ↔ .85）；
   c194 换成了 wsParticleDrift：15~40 秒超慢平移 + opacity 恒 1 ——
   点只有 3~6px、30 个散布在 1154×859 上，视觉上等于静止噪点，人眼根本不会注意。
   更糟的是 c194 加的那句静态 opacity:0 是地雷：只要动画没在跑
   （系统开「减少动效」→ 下面的 animation:none!important、标签页后台、inline 时长丢失），
   粒子就恒为 0，彻底隐形 —— 这才是「怎么调亮度都不显示」。
   [c202 老板令] 上一版能看见了，但「粒子太大、不会移动、明暗不明显」，再调三处：
     ① 尺寸 4.0~9.2px → 2.2~5.2px（缩小，回到颗粒感而不是圆点）；
     ② 「无序移动 + 更快」：原来的 wsParticleDrift 是一条直线单向平移（还靠 alternate 来回走，
        于是每颗粒子都在走同一条直线、肉眼看着像不动）。改成 wsParticleWander：
        每个粒子带 4 个随机途经点（--x1..--x4 / --y1..--y4），沿折线游走一圈再回到原点，
        周期 5.6~9.0s（原来 18~34s，快 3~4 倍），linear 匀速、方向各不相关 ⇒ 真正无序；
     ③ 闪烁幅度加大：.10 ↔ 1（原来 .30 ↔ 1），周期压到 1.9~3.1s 且逐颗不同步。
   静态保底 opacity:.6 保留 —— 动画被禁也看得见。 */
:root .ws-particles i {
  position: absolute;
  border-radius: 50%;
  /* [c208 老板令] 「把亮度降低一点」：底色 .95 → .72，两层光晕 .70/.38 → .46/.22，
     闪烁峰值 1 → .78（见 wsParticleBlink）、静态兜底 .6 → .5。
     只降亮度不改尺寸与游走，颗粒感还在，但不刺眼。 */
  background: rgba(var(--ac), .72);
  box-shadow:
    0 0 0 1px rgba(24, 26, 40, .16),
    0 0 4px rgba(var(--ac), .46),
    0 0 10px rgba(var(--ac), .22);
  /* CSS 里写兜底时长；inline style 会整体覆盖，故 JS 必须同样给「两个」值 */
  animation-name: wsParticleWander, wsParticleBlink;
  animation-timing-function: linear, ease-in-out;
  animation-iteration-count: infinite, infinite;
  animation-direction: normal, normal;
  animation-duration: 7.2s, 2.4s;
  opacity: .5;
  will-change: opacity, transform;
}
/* 深色主题：近白青 + 双层光晕，才在黑底上「亮」得出来（[c208] 同步压一档） */
[data-theme=dark] .ws-particles i {
  background: rgba(186, 250, 255, .8);
  box-shadow:
    0 0 5px rgba(140, 244, 255, .70),
    0 0 14px rgba(0, 202, 224, .50);
}
/* [c202] 无序游走：4 个随机途经点，闭环绕回原点（首尾都是 translate(0,0)，不会跳帧）。
   变量由 partsHtml 逐颗写入，同一套 keyframes 就能让 46 颗粒子各走各的。 */
@keyframes wsParticleWander {
  0%   { transform: translate3d(0, 0, 0) }
  22%  { transform: translate3d(var(--x1, 22px), var(--y1, -16px), 0) }
  45%  { transform: translate3d(var(--x2, -26px), var(--y2, 14px), 0) }
  68%  { transform: translate3d(var(--x3, 16px), var(--y3, 24px), 0) }
  86%  { transform: translate3d(var(--x4, -12px), var(--y4, -20px), 0) }
  100% { transform: translate3d(0, 0, 0) }
}
/* [c202] 闪烁：幅度 .10 ↔ 1，一眼能看出明暗；周期由 inline 逐颗给 1.9~3.1s
   [c208] 峰值 1 → .78（老板令降亮度），暗端 .10 → .08，幅度仍明显。 */
@keyframes wsParticleBlink {
  0%, 100% { opacity: .08 }
  50%      { opacity: .78 }
}

/* 小圆点闪烁：仍被服务徽章 / 状态点等多处引用，保留 */
@keyframes wsTwinkle {
  0%, 100% { opacity: .18; transform: scale(.8) }
  50%      { opacity: .85; transform: scale(1.15) }
}

/* 3.4b 光弧 ×3（SVG path + stroke-dashoffset 跑光） */
/* [c209 老板令] 弧线颜色「跟随页面背景主色适配」。
   原来三条写死青 / 青绿 / 紫，于是电商（黄）、漫剧（绿）、PPT（紫）、工具页（蓝）
   全被涂成青色，与页面主题色打架。现在：
     · stroke 取 rgb(var(--ac)) —— 每页自己的主题色（.ws-root 上由数据注入）；
     · 三条靠 --arc-o1/2/3 透明度分档 + 22° / -26° 微色相偏移分出层次，
       仍是同色系，不会跑出怪色；
     · 亮度档位收进变量，深色主题 / E 族深底舞台只覆盖变量，不再逐条写规则。 */
:root {
  --arc-o1: .18; --arc-o2: .155; --arc-o3: .13;
  --arc-h2: 22deg; --arc-h3: -26deg;
}
[data-theme=dark] { --arc-o1: .22; --arc-o2: .19; --arc-o3: .16 }

:root .ws-arcs {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
  overflow: visible;
}
:root .ws-arc {
  fill: none;
  stroke: rgb(var(--ac));
  stroke-width: .5;
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
  stroke-opacity: var(--arc-o1, .18);
  animation: wsLineFlow 15s linear infinite;
  will-change: stroke-dashoffset;
}
/* 第 2 / 3 条：同主色轻微偏色，三道轨迹可分辨但不跳色 */
:root .ws-arc:nth-child(2) {
  stroke-opacity: var(--arc-o2, .155);
  filter: hue-rotate(var(--arc-h2, 22deg));
}
:root .ws-arc:nth-child(3) {
  stroke-opacity: var(--arc-o3, .13);
  filter: hue-rotate(var(--arc-h3, -26deg));
}
/* [c208] E 族专属弧线层：舞台 .ws-e-stage 有不透明底色，外层 .ws-bg 的弧线被盖死，
   这里补的那层要压在舞台内容（.ws-e-main z-index:1）之下。
   [c209] 深底上整档抬高（.30/.26/.22），深色主题再抬一档。 */
:root .ws-arcs-e {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  --arc-o1: .30; --arc-o2: .26; --arc-o3: .22;
}
[data-theme=dark] .ws-arcs-e { --arc-o1: .32; --arc-o2: .28; --arc-o3: .24 }
@keyframes wsLineFlow {
  0%   { stroke-dashoffset: 200 }
  50%  { stroke-dashoffset: 0 }
  100% { stroke-dashoffset: -200 }
}

/* 3.5 角饰 */
:root .ws-corner {
  position: absolute;
  width: 80px;
  height: 80px;
  border-color: rgba(var(--ac), .30);
  pointer-events: none;
}
:root .ws-corner.tr { right: 0; top: 0; border-right: 1px solid; border-top: 1px solid; border-top-right-radius: 3px }
:root .ws-corner.bl { left: 0; bottom: 0; border-left: 1px solid; border-bottom: 1px solid; border-bottom-left-radius: 3px }

/* ---------- 4. 舞台 ---------- */
:root .ws-stage {
  position: relative;
  z-index: 1;
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: rgba(var(--ac), .28) transparent;
}
:root .ws-stage::-webkit-scrollbar { width: 8px }
:root .ws-stage::-webkit-scrollbar-thumb {
  background: rgba(var(--ac), .22);
  border-radius: 99px;
  border: 2px solid transparent;
  background-clip: content-box;
}
:root .ws-stage::-webkit-scrollbar-thumb:hover { background: rgba(var(--ac), .42); background-clip: content-box }

/* content-wrapper：family B = 52.5/45/201.25，family A = 90/45/120（对标实测） */
:root .ws-content {
  max-width: 1248px;
  margin: 0 auto;
  padding: 52.5px 45px 201.25px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
:root .ws-root[data-fam=A] .ws-content {
  padding: 90px 45px 120px;
  gap: 0;
  min-height: 100%;
  justify-content: space-between;
}

/* ---------- 5. HERO（family B） ---------- */
/* 对标 hero-section 是 flex column + align-items:center —— hero 整体居中，不是左对齐 */
:root .ws-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16.5px;
}
:root .ws-hero-suo {
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
}
/* 光晕：主题色大柔光，在 logo 后方 */
:root .ws-hero-guang {
  position: absolute;
  left: -108px;
  top: -86px;
  width: 510px;
  height: 240px;
  pointer-events: none;
  background: radial-gradient(ellipse at 30% 50%, rgba(var(--ac), .22) 0%, rgba(var(--ac), .06) 42%, transparent 74%);
  filter: blur(6px);
  animation: wsGuang 6.5s ease-in-out infinite;
}
@keyframes wsGuang {
  0%, 100% { opacity: .75; transform: scale(1) }
  50%      { opacity: 1; transform: scale(1.06) }
}

:root .ws-logo {
  position: relative;
  width: 68px;
  height: 68px;
  flex: 0 0 68px;
  border-radius: 17.25px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, rgba(var(--ac), .16), var(--ws-card-2) 58%);
  border: 1px solid rgba(var(--ac), .32);
  box-shadow:
    0 10px 30px -8px rgba(var(--ac), .26),
    0 0 26px rgba(var(--ac), .14),
    inset 0 1px 0 var(--ws-hl);
  overflow: hidden;
}
:root .ws-logo img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 3px 8px rgba(var(--ac), .34));
}
:root .ws-logo::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(150deg, rgba(255, 255, 255, .5) 0%, transparent 42%);
  opacity: .8;
  pointer-events: none;
}

/* 文字块：徽章 + 标题 + 版本角标 */
:root .ws-hero-wen {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}
:root .ws-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11.7px;
  font-weight: 500;
  letter-spacing: .02em;
  color: var(--ws-t2);
  line-height: 1.5;
  white-space: nowrap;
}
:root .ws-badge-dot {
  width: 6px;
  height: 6px;
  flex: 0 0 6px;
  border-radius: 50%;
  background: var(--ac-hex, #888);
  box-shadow: 0 0 0 0 rgba(var(--ac), .55);
  animation: wsDotPulse 2.2s ease-in-out infinite;
}
@keyframes wsDotPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(var(--ac), .5); opacity: .85 }
  50%      { box-shadow: 0 0 0 6px rgba(var(--ac), 0); opacity: 1 }
}
:root .ws-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
:root .ws-title {
  font-size: 40.5px;
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.06;
  margin: 0;
  background: var(--ws-title-bgi, linear-gradient(135deg, #fff, rgba(var(--ac), 1) 62%));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  paint-order: stroke fill;
  filter: drop-shadow(0 2px 14px rgba(var(--ac), .18));
}
[data-theme=dark] :root .ws-title,
:root [data-theme=dark] .ws-title {
  filter: drop-shadow(0 2px 16px rgba(var(--ac), .34));
}
:root .ws-ver {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2.4px 8.25px;
  border-radius: 7px;
  font-size: 11.25px;
  font-weight: 800;
  letter-spacing: .75px;
  color: rgb(24, 16, 3);
  background: var(--ws-ver-bgi, linear-gradient(135deg, rgba(var(--ac), 1), rgba(var(--ac), .8)));
  box-shadow: 0 3px 14px rgba(var(--ac), .40);
  transform: rotate(-2deg);
  white-space: nowrap;
}

/* 能力点行：xxx · xxx · xxx */
:root .ws-nengli {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 3px;
}
:root .ws-nengli-i {
  font-size: 11.7px;
  font-weight: 500;
  letter-spacing: .01em;
  color: var(--ws-t3);
  white-space: nowrap;
}
:root .ws-nengli-ge {
  width: 6px;
  height: 6px;
  flex: 0 0 6px;
  border-radius: 50%;
  background: var(--ws-sep, rgba(var(--ac), .45));
}

/* ---------- 6. HERO（family A：logo 轨道版） ---------- */
:root .ws-hero-a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
}
:root .ws-hero-a-top {
  display: flex;
  align-items: center;
  gap: 22.5px;
}
:root .ws-logo-wrap {
  position: relative;
  width: 76px;
  height: 76px;
  flex: 0 0 76px;
  display: flex;
  align-items: center;
  justify-content: center;
}
:root .ws-logo-orbit {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 140px;
  height: 140px;
  margin: -70px 0 0 -70px;
  border-radius: 50%;
  border: 1px dashed rgba(var(--ac), .22);
  animation: wsOrbitSpin 12s linear infinite;
}
:root .ws-logo-orbit i {
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(var(--ac), .9);
  box-shadow: 0 0 10px rgba(var(--ac), .8);
}
:root .ws-logo-orbit i:nth-child(1) { left: 50%; top: -3.5px; margin-left: -3.5px }
:root .ws-logo-orbit i:nth-child(2) { right: 8px; bottom: 26px }
:root .ws-logo-orbit i:nth-child(3) { left: 8px; bottom: 26px }
@keyframes wsOrbitSpin { to { transform: rotate(360deg) } }

:root .ws-logo-glow {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 126px;
  height: 126px;
  margin: -63px 0 0 -63px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--ac), .28) 0%, transparent 68%);
  animation: wsGlowPulse 3s ease-in-out infinite;
  pointer-events: none;
}
@keyframes wsGlowPulse {
  0%, 100% { opacity: .6; transform: scale(.92) }
  50%      { opacity: 1; transform: scale(1.08) }
}
:root .ws-logo-core {
  position: relative;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, rgba(var(--ac), .18), var(--ws-card-2) 62%);
  border: 1px solid rgba(var(--ac), .34);
  box-shadow: 0 8px 26px -8px rgba(var(--ac), .3), inset 0 1px 0 var(--ws-hl);
  animation: wsCoreFloat 4s ease-in-out infinite;
}
:root .ws-logo-core img { width: 32px; height: 32px; object-fit: contain; display: block }
@keyframes wsCoreFloat {
  0%, 100% { transform: translateY(0) }
  50%      { transform: translateY(-4px) }
}

:root .ws-hero-a-txt { display: flex; flex-direction: column; align-items: flex-start; gap: 7.5px; min-width: 0 }
:root .ws-title-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  padding: 5px 12px;
  border-radius: 99px;
  background: rgba(var(--ac), .09);
  border: 1px solid rgba(var(--ac), .2);
  font-size: 11px;
  font-weight: 500;
  color: rgba(var(--ac), .9);
  white-space: nowrap;
}
:root .ws-title-badge i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(var(--ac), 1);
  animation: wsDotPulse 2.2s ease-in-out infinite;
}
:root .ws-hero-a .ws-title { font-size: 31.5px }

/* tagline：4 个胶囊（对标 gap 7.5、居中） */
:root .ws-tagline {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 7.5px;
  margin: 0;
}
:root .ws-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 13px;
  border-radius: 99px;
  background: var(--ws-chip);
  border: 1px solid var(--ws-chip-bd);
  font-size: 11.7px;
  font-weight: 500;
  color: var(--ws-t2);
  white-space: nowrap;
  transition: background .2s, border-color .2s, transform .2s;
}
:root .ws-tag:hover {
  background: rgba(var(--ac), .1);
  border-color: rgba(var(--ac), .28);
  transform: translateY(-1px);
}
:root .ws-tag i {
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  border-radius: 50%;
  background: rgba(var(--ac), .14);
  position: relative;
}
:root .ws-tag i::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 5px;
  height: 5px;
  margin: -2.5px 0 0 -2.5px;
  border-radius: 50%;
  background: rgba(var(--ac), .85);
}

/* ---------- 7. 能力区（family A：对标 capabilities-inner 1013 = 300 + 52.5 + 660） ---------- */
:root .ws-caps {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 52.5px;
  padding: 30px 0;
}
:root .ws-ability-grid {
  display: flex;
  flex-direction: column;
  gap: 14.25px;
  width: 300px;
  flex: 0 0 300px;
}
:root .ws-ability {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12.75px;
  padding: 16.5px 18.75px;
  min-height: 74px;
  box-sizing: border-box;
  border-radius: 11.25px;
  background: var(--ws-card);
  border: 1px solid var(--ws-bd);
  box-shadow: var(--ws-shadow-sm);
  cursor: pointer;
  overflow: hidden;
  transition: transform .22s cubic-bezier(.4, 0, .2, 1), box-shadow .22s, border-color .22s;
}
:root .ws-ability::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--ab-ac, rgba(var(--ac), .8));
  opacity: 0;
  transition: opacity .22s;
}
:root .ws-ability:hover { transform: translateX(2px); box-shadow: var(--ws-shadow-md); border-color: var(--ws-bd-2) }
:root .ws-ability.on {
  border-color: rgba(var(--ac), .34);
  box-shadow: 0 6px 20px -8px rgba(var(--ac), .4), inset 0 0 0 1px rgba(var(--ac), .1);
}
:root .ws-ability.on::before { opacity: 1 }
:root .ws-ability-i {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ab-chip, rgba(var(--ac), .12));
  color: var(--ab-ac, rgba(var(--ac), .9));
}
:root .ws-ability-i svg { width: 20px; height: 20px; display: block }
:root .ws-ability-tx { flex: 1; min-width: 0 }
:root .ws-ability-n {
  font-size: 13.2px;
  font-weight: 700;
  color: var(--ws-t1);
  line-height: 1.35;
  margin-bottom: 2px;
}
:root .ws-ability-d {
  font-size: 10.5px;
  font-weight: 400;
  color: var(--ws-t3);
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
:root .ws-ability-arw {
  flex: 0 0 auto;
  color: var(--ab-ac, rgba(var(--ac), .8));
  font-size: 13px;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity .22s, transform .22s;
}
:root .ws-ability:hover .ws-ability-arw,
:root .ws-ability.on .ws-ability-arw { opacity: 1; transform: none }

/* 展示卡：对标 showcase-area 660 宽、showcase-card 651×277 padding 33.75/41.25 r15 */
:root .ws-showcase-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20.25px;
  width: 660px;
  max-width: 100%;
  flex: 0 1 660px;
}
:root .ws-showcase {
  position: relative;
  width: 651px;
  max-width: 100%;
  min-height: 277px;
  box-sizing: border-box;
  border-radius: 15px;
  padding: 33.75px 41.25px;
  background: var(--ws-card);
  border: 1px solid var(--ws-bd);
  box-shadow: var(--ws-shadow-md);
  overflow: hidden;
  animation: wsFadeIn .45s cubic-bezier(.22, .68, .3, 1) both;
}
:root .ws-showcase-glow {
  position: absolute;
  right: -18%;
  top: -34%;
  width: 68%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--ac), .18) 0%, transparent 68%);
  pointer-events: none;
}
:root .ws-showcase-top {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
:root .ws-showcase-n {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 800;
  color: rgba(var(--ac), 1);
  background: rgba(var(--ac), .12);
  flex: 0 0 26px;
}
:root .ws-showcase-t {
  font-size: 15px;
  font-weight: 700;
  color: var(--ws-t1);
}
:root .ws-showcase-d {
  position: relative;
  font-size: 12.6px;
  line-height: 1.85;
  color: var(--ws-t2);
  letter-spacing: .01em;
}
:root .ws-dots { display: flex; align-items: center; gap: 8px }
:root .ws-dots i {
  height: 3px;
  border-radius: 99px;
  background: var(--ws-chip-bd);
  width: 30px;
  transition: width .3s, background .3s;
}
:root .ws-dots i.on { width: 45px; background: rgba(var(--ac), .8) }

/* ---------- 8. 专家团队（family B） ---------- */
/* 对标 .sts2-tuandui 是 margin:0 188.75px → 1248 内 870 宽居中缩进 */
:root .ws-team {
  display: flex;
  flex-direction: column;
  gap: 17.25px;
  width: 870px;
  max-width: 100%;
  margin: 0 auto;
}
:root .ws-team-tou {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
}
:root .ws-team-tou-t {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
  color: rgba(var(--ac), .72);
  text-transform: uppercase;
}
:root .ws-team-online {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 9px;
  border-radius: 99px;
  font-size: 9.9px;
  font-weight: 500;
  color: rgba(16, 152, 106, .95);
  background: rgba(16, 185, 129, .07);
  border: 1px solid rgba(16, 185, 129, .16);
}
[data-theme=dark] :root .ws-team-online,
:root [data-theme=dark] .ws-team-online {
  color: rgba(110, 231, 183, .85);
  background: rgba(52, 211, 153, .06);
  border-color: rgba(52, 211, 153, .16);
}
:root .ws-team-online i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #10b981;
  animation: wsDotPulse 2.2s ease-in-out infinite;
}
:root .ws-team-row {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 21px;
}

/* 主管卡 */
:root .ws-lead {
  display: flex;
  align-items: center;
  gap: 13px;
  flex: 0 0 255px;
  padding: 14px;
  border-radius: 16px;
  background: var(--ws-card);
  border: 1px solid var(--ws-bd);
  box-shadow: var(--ws-shadow-sm);
  position: relative;
  overflow: hidden;
}
:root .ws-lead::after {
  content: "";
  position: absolute;
  right: -30%;
  bottom: -60%;
  width: 70%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--ac), .16) 0%, transparent 70%);
  pointer-events: none;
}
:root .ws-lead-av {
  position: relative;
  width: 59px;
  height: 59px;
  flex: 0 0 59px;
  border-radius: 50%;
  padding: 2px;
  background: var(--ring, conic-gradient(from 210deg, rgba(var(--ac), .95), rgba(var(--ac), .2), rgba(var(--ac), .95)));
}
:root .ws-lead-av img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  background: var(--ws-panel-solid);
}
:root .ws-lead-tx { position: relative; min-width: 0 }
:root .ws-lead-n {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 15px;
  font-weight: 700;
  color: var(--ws-t1);
  line-height: 1.2;
  margin-bottom: 4px;
}
:root .ws-lead-tag {
  padding: 1.5px 7px;
  border-radius: 99px;
  font-size: 9.3px;
  font-weight: 700;
  color: rgb(24, 16, 3);
  background: linear-gradient(135deg, rgba(var(--ac), 1), rgba(var(--ac), .72));
  white-space: nowrap;
}
[data-theme=dark] :root .ws-lead-tag,
:root [data-theme=dark] .ws-lead-tag { color: rgb(24, 16, 3) }
:root .ws-lead-d {
  font-size: 10.8px;
  line-height: 1.55;
  color: var(--ws-t3);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 员工 8 宫格：对标 .sts2-yuangong-lie 572 宽、gap 5.25、4 列 2 行居中 */
:root .ws-members {
  flex: 0 1 572px;
  width: 572px;
  max-width: 100%;
  display: grid;
  grid-template-columns: repeat(4, 69px);
  grid-auto-rows: 75px;
  gap: 5.25px;
  align-content: center;
  justify-content: center;
}
:root .ws-emp {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 6px 4px;
  border-radius: 11.25px;
  background: var(--ws-card-2);
  border: 1px solid var(--ws-bd-2);
  transition: transform .2s cubic-bezier(.4, 0, .2, 1), border-color .2s, box-shadow .2s, background .2s;
  cursor: default;
}
:root .ws-emp:hover {
  transform: translateY(-2px);
  border-color: rgba(var(--ac), .3);
  background: rgba(var(--ac), .05);
  box-shadow: 0 8px 20px -10px rgba(var(--ac), .45);
}
:root .ws-emp-av {
  position: relative;
  width: 41px;
  height: 41px;
  border-radius: 50%;
  padding: 1.5px;
  background: linear-gradient(140deg, rgba(var(--ac), .7), rgba(var(--ac), .12));
}
:root .ws-emp-av img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  background: var(--ws-panel-solid);
}
:root .ws-emp-dot {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  border: 1.5px solid var(--ws-panel-solid);
  animation: wsBreath 2.2s ease-in-out infinite;
}
@keyframes wsBreath {
  0%, 100% { opacity: .55; transform: scale(.9) }
  50%      { opacity: 1; transform: scale(1.08) }
}
:root .ws-emp-n {
  font-size: 10.2px;
  font-weight: 500;
  color: var(--ws-t2);
  text-align: center;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

/* ---------- 9. 视频教程按钮（对标 .sts2-shipin-rukou 满宽居中） ---------- */
/* content 已有 gap 18，对标此处间距 20.25 → 再补 2.25 */
:root .ws-video-row {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2.25px;
}
:root .ws-video-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 44px;
  padding: 0 25.5px;
  border-radius: 100px;
  border: 1px solid rgba(var(--ac), .38);
  background: linear-gradient(135deg, rgba(var(--ac), .14), rgba(var(--ac), .04));
  color: rgba(var(--ac), 1);
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s, background .2s;
}
:root .ws-video-btn:hover {
  transform: translateY(-1px);
  background: linear-gradient(135deg, rgba(var(--ac), .22), rgba(var(--ac), .08));
  box-shadow: 0 8px 22px -8px rgba(var(--ac), .55);
}
:root .ws-video-btn:active { transform: translateY(0) scale(.99) }
:root .ws-video-btn svg { width: 16px; height: 16px; flex: 0 0 16px }

/* ---------- 10. 操作区（sts2-caozuoqu，870 宽居中 + 毛玻璃） ---------- */
:root .ws-ops {
  position: relative;
  width: 870px;
  max-width: 100%;
  margin: 0 auto;
  border-radius: 20.25px;
  padding: 0;
  background: var(--ws-card);
  border: 1px solid rgba(var(--ac), .18);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--ws-shadow-md);
  overflow: hidden;
  animation: wsFadeUp .6s cubic-bezier(.16, 1, .3, 1) both;
}
@keyframes wsFadeUp {
  from { opacity: 0; transform: translateY(10px) }
  to   { opacity: 1; transform: none }
}
:root .ws-ops-guang {
  position: absolute;
  right: -12%;
  top: -46%;
  width: 62%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--ac), .16) 0%, transparent 70%);
  pointer-events: none;
}
/* 对标 header.sts2-caozuoqu-tou 868×69，内部 padding 18px 24px */
:root .ws-ops-head {
  position: relative;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 18px 24px 13px;
  margin: 0;
  border-bottom: 1px solid var(--ws-bd-2);
}
:root .ws-ops-head::after {
  content: "";
  position: absolute;
  left: 24px;
  bottom: -1px;
  width: 74px;
  height: 1px;
  background: linear-gradient(90deg, rgba(var(--ac), .9), transparent);
}
:root .ws-ops-ic {
  width: 33px;
  height: 33px;
  flex: 0 0 33px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(var(--ac), .12);
  border: 1px solid rgba(var(--ac), .22);
  color: rgba(var(--ac), 1);
}
:root .ws-ops-ic svg { width: 17px; height: 17px; display: block }
:root .ws-ops-wen { min-width: 0 }
:root .ws-ops-t {
  font-size: 15px;
  font-weight: 700;
  color: var(--ws-t1);
  line-height: 1.28;
}
:root .ws-ops-s {
  font-size: 11px;
  font-weight: 400;
  color: var(--ws-t3);
  line-height: 1.4;
  margin-top: 1px;
}
/* 对标 .sts2-rukou padding: 18px 24px 20.25px；行间距由 .ws-row 的 padding-bottom 承担 */
:root .ws-ops-body {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 18px 24px 20.25px;
}
:root .ws-ops-body .ws-row:last-child { padding-bottom: 0 }
/* 对标 .sts2-rukou-hang = flex row：左 label 区固定 114，右 chips 区 688 横排 */
:root .ws-row {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding-bottom: 13.5px;
}
:root .ws-row-hd {
  flex: 0 0 114px;
  width: 114px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6.75px;
  padding-top: 2.25px;
}
:root .ws-row-biao {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(var(--ac), .1);
  color: rgba(var(--ac), .95);
}
:root .ws-row-biao svg { width: 15px; height: 15px; display: block }
:root .ws-row-lb {
  font-size: 12.75px;
  font-weight: 600;
  color: var(--ws-t1);
  letter-spacing: .01em;
  line-height: 1.3;
  white-space: nowrap;
}
:root .ws-row-sub {
  padding: 1px 7px;
  border-radius: 99px;
  font-size: 9.75px;
  font-weight: 500;
  color: var(--ws-t4);
  background: var(--ws-chip);
  border: 1px solid var(--ws-chip-bd);
  line-height: 1.4;
  white-space: nowrap;
}
:root .ws-chips {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 7.5px;
  padding-left: 0;
}
:root .ws-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 30px;
  box-sizing: border-box;
  padding: 0 12.75px;
  border-radius: 100px;
  background: var(--ws-chip);
  border: 1px solid var(--ws-chip-bd);
  color: var(--ws-chip-t);
  font-size: 11.7px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
  transition: all .18s cubic-bezier(.4, 0, .2, 1);
}
:root .ws-chip:hover {
  background: rgba(var(--ac), .08);
  border-color: rgba(var(--ac), .3);
  color: rgba(var(--ac), 1);
}
:root .ws-chip.on {
  background: linear-gradient(135deg, rgba(var(--ac), .18), rgba(var(--ac), .06));
  border-color: rgba(var(--ac), .72);
  color: rgba(var(--ac), 1);
  font-weight: 600;
  box-shadow: 0 0 12px rgba(var(--ac), .12), inset 0 1px 0 var(--ws-hl);
}
:root .ws-chip-bx {
  padding: 0.5px 4px;
  border-radius: 99px;
  font-size: 9.3px;
  font-weight: 700;
  color: rgba(var(--ac), 1);
  background: rgba(var(--ac), .14);
}
/* 上传型行 */
:root .ws-upload {
  margin-left: 36px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 13px;
  border: 1px dashed rgba(var(--ac), .32);
  background: rgba(var(--ac), .035);
  cursor: pointer;
  transition: all .2s;
}
:root .ws-upload:hover { border-color: rgba(var(--ac), .55); background: rgba(var(--ac), .07) }
:root .ws-upload-ic {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(var(--ac), .12);
  color: rgba(var(--ac), 1);
}
:root .ws-upload-tx { flex: 1; min-width: 0 }
:root .ws-upload-t { font-size: 12px; font-weight: 600; color: var(--ws-t2) }
:root .ws-upload-d { font-size: 10.2px; color: var(--ws-t4); margin-top: 1px }

/* ---------- 11. renwu-panel（对标实测：absolute left 15 / top 15，105×83） ---------- */
:root .ws-panel {
  position: absolute;
  left: 15px;
  top: 15px;
  z-index: 12;
  display: flex;
  flex-direction: column;
  gap: 7.5px;
  width: 105px;
}
:root .ws-task-btn,
:root .ws-hist {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  height: 38px;
  border-radius: 11px;
  border: 1px solid var(--ws-bd);
  background: var(--ws-panel);
  color: var(--ws-t2);
  font-size: 12px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: all .2s;
}
:root .ws-task-btn {
  border-color: rgba(var(--ac), .34);
  background: linear-gradient(135deg, rgba(var(--ac), .14), rgba(var(--ac), .05));
  color: rgba(var(--ac), 1);
}
:root .ws-task-btn:hover { box-shadow: 0 6px 18px -8px rgba(var(--ac), .6); transform: translateY(-1px) }
:root .ws-hist:hover { border-color: rgba(var(--ac), .28); color: rgba(var(--ac), 1) }
:root .ws-task-btn svg,
:root .ws-hist svg { width: 14px; height: 14px; flex: 0 0 14px }

/* ---------- 12. 底部输入坞（bottom-input-wrapper） ---------- */
:root .ws-input {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 18px;
  z-index: 20;
  width: min(945px, calc(100% - 40px));
}
:root .ws-dock {
  border-radius: 16.875px;
  background: var(--ws-dock-bg);
  border: 1px solid var(--ws-dock-bd);
  backdrop-filter: blur(9.375px);
  -webkit-backdrop-filter: blur(9.375px);
  box-shadow: var(--ws-shadow-lg);
  overflow: hidden;
  transition: border-color .22s, box-shadow .22s;
}
/* ---------- 12.1 [c198 老板令] 输入坞折叠 ----------
   老板原话：「会话输入框支持按钮折叠功能，因为输入框挡住了页面的很多标签选项」。
   收起态：160 高的坞整块隐藏，只留 38 高细条，页面下半部（风格 chips / 参数标签）全部让出来。 */
:root .ws-foldbar {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: auto;
  max-width: 100%;
  height: 38px;
  padding: 0 16px;
  border-radius: 19px;
  border: 1px solid var(--ws-dock-bd);
  background: var(--ws-dock-bg);
  backdrop-filter: blur(9.375px);
  -webkit-backdrop-filter: blur(9.375px);
  box-shadow: var(--ws-shadow-lg);
  color: var(--ws-t3);
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: color .2s, border-color .2s, box-shadow .2s;
}
:root .ws-foldbar:hover { color: rgba(var(--ac), 1); border-color: rgba(var(--ac), .42) }
:root .ws-foldbar svg { width: 15px; height: 15px; flex: 0 0 15px }
/* 收起态：坞变成一颗居中的小胶囊（约 150px 宽），只占底部很小一块，
   不再像 945×160 的整条坞那样把风格 chips 整行压住 */
:root .ws-input.col { bottom: 14px; width: auto }
:root .ws-input.col .ws-dock { display: none }
:root .ws-input.col .ws-foldbar { display: flex }
:root .ws-input.col .ws-attbar { display: none !important }
/* 展开态收起按钮：跟着底部工具行走，不额外占位 */
:root .ws-foldin { color: var(--ws-t3) }
:root .ws-foldin:hover { color: rgba(var(--ac), 1) }
:root .ws-dock.focus {
  border-color: rgba(var(--ac), .42);
  box-shadow: var(--ws-shadow-lg), 0 0 0 3px rgba(var(--ac), .09);
}
/* 对标 bottom-container 945×160：top-section 113 + bottom-section 45 + 边框 */
:root .ws-dock-top {
  display: flex;
  align-items: stretch;
  gap: 10px;
  padding: 11.25px 11.25px 5.25px;
  min-height: 113px;
  box-sizing: border-box;
}
:root .ws-dock-left {
  flex: 0 0 52px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 2px;
}
:root .ws-ref {
  width: 52px;
  height: 66px;
  border-radius: 11px;
  border: 1px dashed var(--ws-bd);
  background: var(--ws-chip);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: var(--ws-t4);
  cursor: pointer;
  transition: all .2s;
}
:root .ws-ref:hover {
  border-color: rgba(var(--ac), .45);
  background: rgba(var(--ac), .06);
  color: rgba(var(--ac), .95);
}
:root .ws-ref svg { width: 17px; height: 17px }
:root .ws-ref span { font-size: 9px; font-weight: 600 }
:root .ws-dock-right { flex: 1; min-width: 0; display: flex }
:root .ws-ta {
  width: 100%;
  min-height: 75px;
  max-height: 190px;
  padding: 8px 6px;
  border: none;
  outline: none;
  resize: none;
  background: transparent;
  color: var(--ws-t1);
  font-size: 13.5px;
  line-height: 1.62;
  font-family: inherit;
}
:root .ws-ta::placeholder { color: var(--ws-t4) }
:root .ws-dock-bot {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 11.25px 11.25px;
  min-height: 45px;
  box-sizing: border-box;
}
:root .ws-dock-bl { display: flex; align-items: center; gap: 7px; flex: 1 }
:root .ws-mini {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  border-radius: 11.25px;
  border: 1px solid var(--ws-guide-bd);
  background: var(--ws-guide-bg);
  color: rgba(var(--ac), 1);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all .18s;
}
:root .ws-mini:hover { background: rgba(var(--ac), .16); transform: translateY(-1px) }
:root .ws-mini svg { width: 16px; height: 16px; display: block }
/* 模式切换胶囊 */
:root .ws-modes {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  height: 32px;
  padding: 3px;
  border-radius: 13.125px;
  background: var(--ws-chip);
  border: 1px solid var(--ws-chip-bd);
}
:root .ws-mode {
  height: 26px;
  padding: 0 11px;
  border: none;
  border-radius: 10px;
  background: transparent;
  color: var(--ws-t3);
  font-size: 11.7px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
  transition: all .2s;
}
:root .ws-mode:hover { color: rgba(var(--ac), 1) }
:root .ws-mode.on {
  background: rgba(var(--ac), .16);
  color: rgba(var(--ac), 1);
  font-weight: 700;
  box-shadow: inset 0 0 0 1px rgba(var(--ac), .24);
}
:root .ws-send {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  border-radius: 50%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(var(--ac), .9);
  color: #fff;
  cursor: pointer;
  transition: all .2s;
  box-shadow: 0 4px 14px -4px rgba(var(--ac), .8);
}
:root .ws-send:hover { transform: scale(1.06); background: rgba(var(--ac), 1) }
:root .ws-send:active { transform: scale(.96) }
:root .ws-send:disabled { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none }
:root .ws-send svg { width: 16px; height: 16px; display: block }

/* 侧边悬浮球 */
:root .ws-float {
  position: absolute;
  left: calc(50% + min(472px, calc(50vw - 20px)) + 12px);
  bottom: 20px;
  z-index: 21;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
:root .ws-float-btn {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid var(--ws-bd);
  background: var(--ws-panel);
  color: var(--ws-t2);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(10px);
  box-shadow: var(--ws-shadow-sm);
  transition: all .2s;
}
:root .ws-float-btn:hover {
  border-color: rgba(var(--ac), .4);
  color: rgba(var(--ac), 1);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px -6px rgba(var(--ac), .5);
}
:root .ws-float-btn svg { width: 17px; height: 17px; display: block }

/* ---------- 13. 空态 / 兜底 ---------- */
:root .ws-empty {
  margin: auto;
  text-align: center;
  color: var(--ws-t3);
  font-size: 13px;
  padding: 60px 20px;
}
:root .ws-empty b { display: block; font-size: 15px; color: var(--ws-t1); margin-bottom: 6px }

/* ---------- 14. 响应式 ---------- */
@media (max-width: 1180px) {
  :root .ws-content { padding: 34px 26px 200px }
  :root .ws-root[data-fam=A] .ws-content { padding: 48px 26px 120px }
  :root .ws-title { font-size: 34px }
  :root .ws-caps { gap: 26px }
  :root .ws-lead { flex-basis: 220px }
  :root .ws-members { width: auto; flex: 1 1 auto; grid-template-columns: repeat(4, minmax(0, 1fr)) }
  :root .ws-showcase-wrap { flex: 1 1 auto; width: auto }
}
@media (max-width: 1024px) {
  :root .ws-caps { flex-direction: column; align-items: stretch; gap: 18px }
  :root .ws-ability-grid { width: 100%; flex: 0 0 auto }
  :root .ws-showcase-wrap { width: 100%; flex: 0 0 auto }
  :root .ws-showcase { width: 100% }
  :root .ws-members { grid-template-columns: repeat(4, minmax(0, 1fr)) }
  :root .ws-panel { width: 92px }
}
@media (max-width: 860px) {
  :root .ws-content { padding: 14px 16px 196px; gap: 14px }
  :root .ws-root[data-fam=A] .ws-content { padding: 24px 16px 110px }
  :root .ws-title { font-size: 27px }
  :root .ws-hero-guang { display: none }
  :root .ws-team,
  :root .ws-ops { width: 100% }
  :root .ws-team-row { flex-direction: column; align-items: center; gap: 12px }
  :root .ws-lead { flex-basis: auto; width: 100% }
  :root .ws-members { width: 100%; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 70px }
  :root .ws-float { display: none }
  :root .ws-input { width: calc(100% - 20px); bottom: 10px }
  :root .ws-panel { left: 10px; top: 10px; width: 84px }
}
@media (max-width: 620px) {
  :root .ws-chips { padding-left: 0 }
  :root .ws-upload { margin-left: 0 }
  :root .ws-members { grid-template-columns: repeat(3, minmax(0, 1fr)) }
  :root .ws-title { font-size: 23px }
  :root .ws-showcase { padding: 20px 18px; min-height: 200px }
}

/* ---------- 15. 无障碍 / 降级 ---------- */
@media (prefers-reduced-motion: reduce) {
  :root .ws-root,
  :root .ws-grid,
  :root .ws-flow,
  :root .ws-orb,
  :root .ws-hero-guang,
  :root .ws-badge-dot,
  :root .ws-logo-orbit,
  :root .ws-logo-glow,
  :root .ws-logo-core,
  :root .ws-emp-dot,
  :root .ws-team-online i,
  :root .ws-showcase { animation: none !important }
}

/* [c203] 老板反馈「手机端粒子在动，电脑客户端里看得见但一动不动」。真因不在样式：
   那台机器把 Windows「动画效果」关了 → 浏览器上报 prefers-reduced-motion: reduce
   → 上一版这里把 .ws-particles i 一起 animation:none 掐掉，只剩静态点。
   实测：手机 390 宽位移中位 17.9px / 桌面 1512 宽 18.1px（都正常），
   唯独 reduce 场景位移 0.0px、亮度Δ 0.00 ⇒ 就是这个兜底。
   装饰性微动效不该被完全关死，改成「照动、但不闪」：
   游走保持原速（本来就慢，不构成眩晕），闪烁换成柔和版 .45↔1 并放慢到 4.4s。 */
@media (prefers-reduced-motion: reduce) {
  @keyframes wsParticleBlinkSoft {
    0%, 100% { opacity: .40 }
    50%      { opacity: .78 }
  }
  :root .ws-particles i {
    animation-name: wsParticleWander, wsParticleBlinkSoft !important;
    animation-duration: 7.2s, 4.4s !important;
    animation-timing-function: linear, ease-in-out !important;
    animation-iteration-count: infinite, infinite !important;
    animation-direction: normal, normal !important;
  }
}

/* ---------- 16. family C：视频段定制页（爆款复刻 / 故事转视频 / 数字人 / 音乐MV） ---------- */
:root .ws-root[data-fam=C] {
  background: var(--c-bg, #0b0a0c);
  color: rgba(255,250,242,.93);
}
/* [c192 老板令] 老板第 1 条「飘移光晕 + 光带弧线还是没有更新复制过来，现在背景还是静态的」。
   真因：这一段早前把 C 族（= 四个视频族）的流光 conic 与三团光球整个 display:none 掉了，
   上一轮只在外层补了两个极淡伪元素，几何核对能过、肉眼几乎看不见。
   现在恢复真身：conic 光带 60s 旋转 + 光球 25s 错峰飘移，并把亮度提到肉眼可辨。 */
/* [c194 老板令] 收亮度：光球 .30 -> .18（上一版 .30 在深色底上明显发亮），flow .12 -> .07 */
:root .ws-root[data-fam=C] { --ws-flow-a: .038; --ws-orb-a: .085 }
:root .ws-root[data-fam=C] .ws-flow { display: block }
:root .ws-root[data-fam=C] .ws-orb { display: block }
:root .ws-root[data-fam=C] .ws-grid { opacity: .5 }
:root .ws-root[data-fam=C] .ws-corner { border-color: rgba(var(--ac),.22) }

:root .ws-c-stage {
  position: relative; z-index: 2;
  flex: 1; min-height: 0;
  overflow-y: auto; overflow-x: hidden;
  scrollbar-width: thin;
  animation: wsFadeIn .5s cubic-bezier(.22,.68,.3,1) both;
}

/* hero 背景：大图 + 双光晕 + 暗角 */
:root .ws-c-bgwrap { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none }
:root .ws-c-bgimg { width: 100%; height: 100%; object-fit: cover; object-position: center top; opacity: .92; display: block }
:root .ws-c-gl { position: absolute; border-radius: 50%; filter: blur(58px); opacity: .5; pointer-events: none }
:root .ws-c-gl.g1 { width: 520px; height: 520px; right: 4%; top: -10%;
  background: radial-gradient(circle, rgba(var(--ac),.85), rgba(0,0,0,0) 68%);
  animation: wsOrb 19s ease-in-out infinite }
:root .ws-c-gl.g2 { width: 430px; height: 430px; left: -8%; bottom: 2%;
  background: radial-gradient(circle, rgba(var(--ac),.45), rgba(0,0,0,0) 70%);
  animation: wsOrb 25s ease-in-out infinite reverse }
:root .ws-c-vig { position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(0,0,0,.94) 0%, rgba(0,0,0,.76) 32%, rgba(0,0,0,.2) 60%, rgba(0,0,0,0) 78%),
    linear-gradient(0deg, var(--c-bg, #0b0a0c) 0%, rgba(0,0,0,.4) 24%, rgba(0,0,0,0) 52%); }

/* [c198] C 族专属粒子层：舞台 .ws-c-stage 有不透明底色（挡浅色渗色，不能去），
   外层 .ws-bg 的粒子被它盖住（实测 30 个 0 个可见）→ 在 .ws-c-bgwrap 内补一层。 */
:root .ws-particles-c { z-index: 1 }

/* [c200 老板令] E 族（「工具与客户端」全部内页）粒子「一个都看不见」——同一个坑，
   但当时只补了 C 族。真根因：E 族舞台 .ws-e-stage 自带不透明底色 var(--e-bg)=#0f0f12，
   且它在 DOM 里排在 .ws-bg 之后绘制，把整层背景（30 个粒子连同网格/流光/光球）全盖死。
   实测取证：隐藏粒子层前后同一坐标比像素，28 个样点位差全为 0 → 确属 100% 遮挡，
   不是亮度问题（上一轮把亮度抬了 14 倍当然看不出任何变化）。
   修法同 C 族：不动舞台底色（它负责挡浅色渗色），改在舞台内补一层自己的粒子。
   层级：舞台内容是 .ws-e-main(z-index:1) / .ws-e-side(z-index:2)，都压在这层之上。
   颜色：舞台底色恒为深色，故不管当前是哪套主题都直接用亮青白，保证浅色主题下也亮得出来。 */
:root .ws-e-stage .ws-particles-e {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
:root .ws-e-stage .ws-particles-e i {
  /* [c208] 同步降亮度：底色改半透明 84%，两层光晕 .95/.62 → .72/.46 */
  background: rgba(186, 250, 255, .84);
  box-shadow:
    0 0 4px rgba(140, 244, 255, .72),
    0 0 12px rgba(0, 202, 224, .46);
}

/* 浮动装饰图（故事转视频的标志性动效） */
:root .ws-c-float { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden }
:root .ws-c-fl { position: absolute; width: 62px; height: auto; opacity: .82;
  animation-name: wsCFloat; animation-timing-function: ease-in-out; animation-iteration-count: infinite;
  filter: drop-shadow(0 10px 22px rgba(0,0,0,.5)) }
:root .ws-c-fl.wide { width: 92px }
@keyframes wsCFloat {
  0%, 100% { transform: translate3d(0,0,0) rotate(-4deg) }
  50%      { transform: translate3d(0,-18px,0) rotate(4deg) }
}

/* hero 主体：左文案 / 右叠图 */
:root .ws-c-hero {
  position: relative; z-index: 3;
  display: grid; grid-template-columns: minmax(0,1fr) minmax(0,.9fr);
  align-items: center; gap: 36px;
  max-width: 1248px; margin: 0 auto;
  padding: 78px 45px 56px; min-height: 552px;
}
:root .ws-c-txt { min-width: 0 }
:root .ws-c-label {
  display: inline-flex; align-items: center; gap: 7.5px;
  height: 27px; padding: 0 13.5px; border-radius: 100px;
  font-size: 11.7px; font-weight: 600; letter-spacing: .3px;
  background: var(--lb-bg, rgba(var(--ac),.13));
  color: var(--lb-col, #fff);
  border: 1px solid var(--lb-bd, transparent);
}
:root .ws-c-dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor;
  animation: wsTwinkle 2.4s ease-in-out infinite }
:root .ws-c-title {
  margin: 13.5px 0 0; font-size: 52.5px; font-weight: 800;
  line-height: 1.08; letter-spacing: -.022em;
  color: rgba(255,250,242,.97);
}
/* [c192 老板令] 老板第 4 条：故事转视频 hero 标题「把一个故事，冲洗成一部片子。」字号太大，
   缩到一行。该标题 14 个字，52.5px 下宽 735px > 列宽 541px 必掉两行；34px 约 476px，稳落一行。 */
:root .ws-root[data-ws-aid=gushizhuanshipin] .ws-c-title {
  font-size: 34px; white-space: nowrap; letter-spacing: -.01em;
}
/* 窄视口保一行：1280 实测列宽只剩 425px，34px 下文字宽 471px 会顶破（nowrap 会直接裁掉尾巴），
   退到 30px（415px）刚好放得下。1360 是列宽缩到 471 的那一档。 */
@media (max-width: 1360px) {
  :root .ws-root[data-ws-aid=gushizhuanshipin] .ws-c-title { font-size: 30px }
}
:root .ws-c-sub {
  margin: 18px 0 0; max-width: 520px;
  font-size: 14.25px; line-height: 1.86; color: rgba(255,250,242,.62);
}
:root .ws-c-cta { display: flex; gap: 10.5px; margin-top: 27px; flex-wrap: wrap }

:root .ws-c-btn {
  height: 44px; padding: 0 26px; border-radius: 11.25px;
  font-size: 13.5px; font-weight: 600; cursor: pointer; font-family: inherit;
  display: inline-flex; align-items: center; justify-content: center; gap: 7.5px;
  transition: transform .18s ease, box-shadow .22s ease, filter .18s ease;
  border: 1px solid transparent;
}
:root .ws-c-btn.zhu {
  background: var(--bt-fill, linear-gradient(100deg, rgba(var(--ac),1), rgba(var(--ac),.78)));
  color: var(--bt-col, #fff);
  box-shadow: 0 10px 28px rgba(var(--ac),.34);
}
:root .ws-c-btn.ci {
  background: var(--bt-fill, rgba(255,255,255,.08));
  color: var(--bt-col, rgba(255,250,242,.9));
  border-color: var(--bt-bd, rgba(255,255,255,.18));
}
:root .ws-c-btn:hover { transform: translateY(-1px); filter: brightness(1.06) }
:root .ws-c-btn:active { transform: translateY(0) scale(.99) }

/* 右区叠图：卡片 + 人像 + 胶片 */
:root .ws-c-art { position: relative; min-height: 380px }
:root .ws-c-kas { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 16px }
:root .ws-c-ka {
  width: 258px; height: 336px; border-radius: 17.25px; overflow: hidden;
  border: 1px solid rgba(255,255,255,.22);
  box-shadow: 0 18px 40px rgba(0,0,0,.55);
  transform: rotate(-4.5deg);
  animation: wsKaFloat 9s ease-in-out infinite;
}
:root .ws-c-ka.k2 {
  transform: rotate(3.5deg) translateY(18px);
  border-color: rgba(var(--ac),.62);
  box-shadow: 0 18px 44px rgba(0,0,0,.58), 0 0 34px rgba(var(--ac),.3);
  animation: wsKaFloat 9s ease-in-out infinite reverse;
}
:root .ws-c-ka.k3 {
  position: absolute; right: 4%; top: 9%;
  width: 214px; height: 292px;
  transform: rotate(9.5deg) scale(.92);
  opacity: .5; z-index: 0;
  box-shadow: 0 14px 32px rgba(0,0,0,.5);
}
:root .ws-c-ka img { width: 100%; height: 100%; object-fit: cover; display: block }
@keyframes wsKaFloat {
  0%, 100% { translate: 0 0 }
  50%      { translate: 0 -12px }
}
:root .ws-c-arw {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%);
  width: 44px; height: 44px; border-radius: 50%; z-index: 4;
  display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, rgba(var(--ac),1), rgba(var(--ac),.6));
  box-shadow: 0 6px 22px rgba(var(--ac),.5);
  animation: wsTwinkle 3.2s ease-in-out infinite;
}
:root .ws-c-arw svg { width: 19px; height: 19px }
:root .ws-c-ren {
  position: absolute; right: -4%; bottom: -8%; height: 112%; max-height: 500px;
  width: auto; object-fit: contain; z-index: 3;
  filter: drop-shadow(0 22px 44px rgba(0,0,0,.62));
  animation: wsRenFloat 7.5s ease-in-out infinite;
}
@keyframes wsRenFloat {
  0%, 100% { translate: 0 0 }
  50%      { translate: 0 -10px }
}
:root .ws-c-film {
  position: absolute; right: -8%; top: -6%; width: 168px; height: 96%;
  overflow: hidden; border-radius: 12px; opacity: .38; z-index: 1;
}
:root .ws-c-film img { width: 100%; height: 100%; object-fit: cover; transform: rotate(6deg) scale(1.12) }

/* 故事转视频：hero 内嵌输入区 */
:root .ws-c-shuru { position: relative; z-index: 4; max-width: 900px; margin: -34px auto 0; padding: 0 45px 20px }
:root .ws-c-shuru-box {
  border-radius: 18px; padding: 14px 16px 12px;
  background: rgba(255,255,255,.055);
  border: 1px solid rgba(255,255,255,.13);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 20px 60px rgba(0,0,0,.45);
  transition: border-color .22s ease, box-shadow .22s ease;
}
:root .ws-c-shuru-box:focus-within {
  border-color: rgba(var(--ac),.55);
  box-shadow: 0 20px 60px rgba(0,0,0,.5), 0 0 0 3px rgba(var(--ac),.14);
}
:root .ws-c-ta {
  width: 100%; box-sizing: border-box; border: 0; outline: 0; resize: none;
  background: transparent; color: rgba(255,250,242,.95);
  font-size: 14.25px; line-height: 1.72; min-height: 72px;
  font-family: inherit;
}
:root .ws-c-ta::placeholder { color: rgba(255,250,242,.34) }
:root .ws-c-shuru-bot { display: flex; align-items: center; gap: 9px; margin-top: 8px }
:root .ws-c-chips { display: flex; flex-wrap: wrap; gap: 7px; flex: 1; min-width: 0 }
:root .ws-c-chip {
  height: 28px; padding: 0 12px; border-radius: 100px; cursor: pointer; font-family: inherit;
  font-size: 11.7px; color: rgba(255,250,242,.8);
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14);
  transition: .18s ease;
}
:root .ws-c-chip:hover, :root .ws-c-chip.on {
  background: rgba(var(--ac),.16); border-color: rgba(var(--ac),.6); color: rgba(var(--ac),1);
}
/* [c193] 老板 2.1：视觉风格选中后胶囊要「19×19 缩略图 + 风格名」，不是纯文字 */
:root .ws-c-chip-t { display: inline-flex; align-items: center; gap: 5px; min-width: 0 }
:root .ws-c-chip.has-im { display: inline-flex; align-items: center; padding: 0 11px 0 5px }
:root .ws-c-chip-im {
  width: 19px; height: 19px; flex: 0 0 19px; border-radius: 50%;
  object-fit: cover; display: block;
}
:root .ws-c-send {
  width: 36px; height: 36px; flex: 0 0 36px; border-radius: 50%; border: 0; cursor: pointer;
  display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, rgba(var(--ac),1), rgba(var(--ac),.7));
  box-shadow: 0 5px 18px rgba(var(--ac),.4);
}
:root .ws-c-send svg { width: 17px; height: 17px }
:root .ws-c-ling {
  margin: 11px 0 0 4px; display: inline-flex; align-items: center; gap: 7px;
  height: 31px; padding: 0 14px; border-radius: 100px; cursor: pointer; font-family: inherit;
  font-size: 12px; color: rgba(var(--ac),1);
  background: transparent; border: 1px dashed rgba(var(--ac),.5);
  transition: .2s ease;
}
:root .ws-c-ling:hover { background: rgba(var(--ac),.1) }
:root .ws-c-ling svg { width: 14px; height: 14px }

/* 案例对比区 */
/* [c192 老板令] 老板第 3 条：案例卡排版按对标真身重做。
   对标 .gs-jc 是 grid + ai:center，左列固定 165px（占 900 的 18.33%）9:16 竖屏，
   右列 676px 放文字与帧缩略条；旧版是 1.1fr:1fr 横屏 16:10 + 无帧条，全错。 */
:root .ws-c-case {
  position: relative; z-index: 3;
  display: grid; grid-template-columns: var(--case-col, 18.33%) minmax(0,1fr);
  gap: 26px; align-items: center;
  max-width: 1100px; margin: 22px auto 0; padding: 22px;
  border-radius: 21.8px;
  background-color: rgba(19,18,25,.92);
  background-image: var(--case-bgi, none);
  border: 1px solid rgba(255,255,255,.09);
  box-shadow: 0 24px 70px rgba(0,0,0,.4);
}
:root .ws-c-case-vd {
  position: relative; border-radius: 15.3px; overflow: hidden; background: #000;
  aspect-ratio: var(--case-vw, 165) / var(--case-vh, 293);
  border: 1px solid rgba(255,255,255,.1);
  box-shadow: rgba(0,0,0,.25) 0 12px 30px 0;
}
:root .ws-c-vd-in {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: radial-gradient(circle at 50% 44%, rgba(var(--ac),.26), rgba(0,0,0,0) 62%);
  /* [c205] 这层铺满整个视频盒子，改前 pointer-events 是默认 auto ⇒ 把 <video controls>
     的原生播放键、进度条、音量全部挡住，客户点哪儿都没反应。现改为不拦截点击，
     只有里面的播放图标自己可点（见 .ws-c-play）。播放中整层淡出，悬停再淡回来。 */
  pointer-events: none;
  transition: opacity .22s ease;
}
:root .ws-c-play {
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  color: #fff; border: 1.5px solid rgba(255,255,255,.62);
  background: rgba(0,0,0,.42);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  transition: .2s ease;
}
:root .ws-c-play svg { width: 23px; height: 23px }
:root .ws-c-case-vd:hover .ws-c-play { background: rgba(var(--ac),.32); transform: scale(1.06) }
:root .ws-c-marks { position: absolute; left: 12px; top: 12px; display: flex; gap: 7px; z-index: 2 }
:root .ws-c-mark {
  height: 23px; padding: 0 10px; border-radius: 7px;
  display: inline-flex; align-items: center;
  font-size: 10.5px; font-weight: 600;
  background: rgba(12,10,11,.62); color: #fff;
  backdrop-filter: blur(4px);
}
:root .ws-c-mark.m1 { background: rgb(61,220,151); color: #08120c }

:root .ws-c-case-tx { min-width: 0 }
:root .ws-c-ctag {
  display: inline-flex; align-items: center; height: 23px; padding: 0 10px;
  border-radius: 7px; font-size: 10.5px; font-weight: 600;
  background: var(--tg-bg, rgba(var(--ac),.13)); color: var(--tg-col, rgba(var(--ac),1));
}
:root .ws-c-h2 {
  margin: 12px 0 0; font-size: 22.5px; font-weight: 700; line-height: 1.34;
  color: rgba(255,250,242,.95); letter-spacing: -.012em;
}
:root .ws-c-cp { margin: 11px 0 0; font-size: 12.75px; line-height: 1.82; color: rgba(255,250,242,.55) }
/* 竖屏视频只有 200px 宽，56px 播放键占掉四分之一 -> 缩到 44px */
:root .ws-c-case-vd .ws-c-play { width: 44px; height: 44px; border-width: 1.5px }
:root .ws-c-case-vd .ws-c-play svg { width: 18px; height: 18px }
/* [c192 老板令] 老板第 2 条：帧缩略图条（对标 .gs-jc-ka-zhen 676x91，每帧 51x91 圆角 5.355px）。
   素材真身是 360x640 / 480x853 竖屏，baokuanfuke 是 640x360 横屏对比帧，统一按高度裁切不拉伸。 */
:root .ws-c-zhen { display: flex; gap: 8px; margin-top: 16px; min-width: 0 }
:root .ws-c-zhen img {
  display: block; flex: 0 1 auto; min-width: 0;
  height: var(--case-fzh, 110px); width: auto; max-width: 100%;
  border-radius: 6.5px; background: rgb(23,21,29); object-fit: cover;
}
:root .ws-c-stats { display: flex; gap: 21px; margin: 18px 0 0; padding: 0; list-style: none; flex-wrap: wrap }
:root .ws-c-stats li { display: flex; flex-direction: column; gap: 2px }
:root .ws-c-stats strong { font-size: 16.05px; font-weight: 700; line-height: 1.5; color: rgba(255,250,242,.95) }
:root .ws-c-stats span { font-size: 9.8px; color: rgba(255,250,242,.4) }
:root .ws-c-scta { display: flex; gap: 10px; margin-top: 21px; flex-wrap: wrap }
:root .ws-c-scta .ws-c-btn { height: 38px; padding: 0 20px; font-size: 12.4px; border-radius: 10px }
:root .ws-c-dui { display: flex; gap: 10px; margin-top: 19px }
:root .ws-c-dui i {
  flex: 1; height: 44px; border-radius: 9px;
  border: 1px dashed rgba(var(--ac),.38);
  background: rgba(var(--ac),.07);
}

/* 作品区 */
:root .ws-c-works { position: relative; z-index: 3; max-width: 1100px; margin: 0 auto; padding: 30px 34px 118px }
:root .ws-c-wt { display: flex; align-items: center; justify-content: space-between; margin-bottom: 15px }
:root .ws-c-wt h2 { margin: 0; font-size: 19.5px; font-weight: 700; color: rgba(255,250,242,.95) }
:root .ws-c-more {
  height: 30px; padding: 0 14px; border-radius: 100px; cursor: pointer; font-family: inherit;
  font-size: 11.7px; color: rgba(var(--ac),1);
  background: rgba(var(--ac),.12); border: 1px solid rgba(var(--ac),.35);
}
:root .ws-c-empty {
  display: flex; flex-direction: column; align-items: center; gap: 13.5px;
  padding: 38px 20px; border-radius: 17.25px;
  border: 1px dashed rgba(255,255,255,.12);
  background: rgba(255,255,255,.02);
}
:root .ws-c-empty img { width: 118px; height: auto; opacity: .68 }
:root .ws-c-ei { display: grid; place-items: center; width: 54px; height: 54px; color: rgba(255,250,242,.3) }
:root .ws-c-ei svg { width: 42px; height: 42px }
:root .ws-c-empty p { margin: 0; font-size: 12.75px; color: rgba(255,250,242,.48) }
:root .ws-c-empty .ws-c-btn { height: 38px; padding: 0 20px; font-size: 12.4px; border-radius: 10px }

/* ---------- 17. family D：报告研读（项目树 + 报告封面 + 任务书表单） ---------- */
:root .ws-d-stage {
  position: relative; z-index: 2;
  flex: 1; min-height: 0;
  overflow-y: auto; overflow-x: hidden;
  scrollbar-width: thin;
  animation: wsFadeIn .5s cubic-bezier(.22,.68,.3,1) both;
}
:root .ws-d-wrap { display: flex; min-height: 100%; max-width: 1400px; margin: 0 auto; align-items: stretch }

:root .ws-d-shead { display: flex; align-items: center; gap: 9px }
:root .ws-d-side {
  flex: 0 0 234px; width: 234px;
  display: flex; flex-direction: column; gap: 11px;
  padding: 15px 12px;
  border-right: 1px solid var(--ws-bd);
  background: var(--ws-card-2);
  /* [c210 老板令] 左栏可折叠：宽度/内边距做过渡，收起时把宽度让给右侧工作区 */
  transition: flex-basis .26s cubic-bezier(.4,0,.2,1), width .26s cubic-bezier(.4,0,.2,1),
              padding .26s cubic-bezier(.4,0,.2,1);
}
/* 折叠态：234px → 48px 窄条，只留 logo 与展开箭头 */
:root .ws-d-side.is-collapsed { flex: 0 0 48px; width: 48px; padding: 15px 8px; gap: 13px }
:root .ws-d-side.is-collapsed .ws-d-shead { flex-direction: column; gap: 10px; align-items: center }
:root .ws-d-side.is-collapsed .ws-d-sname,
:root .ws-d-side.is-collapsed .ws-d-new span,
:root .ws-d-side.is-collapsed .ws-d-sou,
:root .ws-d-side.is-collapsed .ws-d-empty,
:root .ws-d-side.is-collapsed .ws-d-sfoot { display: none }
:root .ws-d-side.is-collapsed .ws-d-new {
  flex: 0 0 32px; width: 32px; height: 32px; margin: 0 auto; padding: 0;
  gap: 0; border-radius: 9px;
}
:root .ws-d-side.is-collapsed .ws-d-new svg { width: 15px; height: 15px }
:root .ws-d-side.is-collapsed .ws-d-col { margin: 0 auto }
:root .ws-d-side.is-collapsed .ws-d-col svg { transform: rotate(180deg) }
/* 折叠按钮：与 logo 同高的小方钮，右侧贴边 */
:root .ws-d-col {
  width: 26px; height: 26px; flex: 0 0 26px; margin-left: auto;
  display: grid; place-items: center; padding: 0; cursor: pointer;
  border-radius: 7px; font-family: inherit;
  border: 1px solid var(--ws-bd); background: var(--ws-card);
  color: var(--ws-t4); transition: color .18s ease, border-color .18s ease, background .18s ease;
}
:root .ws-d-col:hover {
  color: rgba(var(--ac),1); border-color: rgba(var(--ac),.45);
  background: rgba(var(--ac),.1);
}
:root .ws-d-col svg {
  width: 14px; height: 14px;
  transition: transform .26s cubic-bezier(.4,0,.2,1);
}
:root .ws-d-logo {
  width: 30px; height: 30px; flex: 0 0 30px; border-radius: 9px;
  display: grid; place-items: center; overflow: hidden;
  background: rgba(var(--ac),.14); border: 1px solid rgba(var(--ac),.3);
  color: rgba(var(--ac),1);
}
:root .ws-d-logo img { width: 68%; height: 68%; object-fit: contain }
:root .ws-d-logo svg { width: 17px; height: 17px }
:root .ws-d-sname { font-size: 13.5px; font-weight: 700; color: var(--ws-t1); letter-spacing: -.01em }
:root .ws-d-new {
  height: 34px; border-radius: 9px; cursor: pointer; font-family: inherit;
  display: flex; align-items: center; justify-content: center; gap: 7px;
  font-size: 12px; font-weight: 600; color: rgba(var(--ac),1);
  background: rgba(var(--ac),.12); border: 1px solid rgba(var(--ac),.35);
  transition: .18s ease;
}
:root .ws-d-new:hover { background: rgba(var(--ac),.2) }
:root .ws-d-new svg { width: 14px; height: 14px }
:root .ws-d-sou {
  display: flex; align-items: center; gap: 7px;
  height: 31px; padding: 0 10px; border-radius: 8px;
  border: 1px solid var(--ws-bd); background: var(--ws-card);
  font-size: 11.25px; color: var(--ws-t4);
}
:root .ws-d-sou svg { width: 13px; height: 13px; flex: 0 0 13px }
:root .ws-d-empty {
  flex: 1; display: grid; place-items: center; min-height: 90px;
  border: 1px dashed var(--ws-bd); border-radius: 9px;
}
:root .ws-d-empty p { margin: 0; font-size: 11.25px; color: var(--ws-t4) }
:root .ws-d-sfoot {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 9px; border-top: 1px solid var(--ws-bd);
  font-size: 9.75px; color: var(--ws-t4);
}
:root .ws-d-rev { letter-spacing: .6px; font-weight: 700; color: rgba(var(--ac),.85) }

:root .ws-d-main { flex: 1; min-width: 0; padding-bottom: 112px }

:root .ws-d-hero {
  position: relative; margin: 16px 18px 0; overflow: hidden;
  border-radius: 17.25px; padding: 30px 30px;
  display: grid; grid-template-columns: minmax(0,1fr) minmax(0,.84fr);
  gap: 24px; align-items: center; min-height: 250px;
  background: rgb(5,8,15);
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 20px 56px rgba(0,0,0,.28);
}
:root .ws-d-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .34 }
:root .ws-d-hl, :root .ws-d-hr { position: relative; z-index: 1; min-width: 0 }
:root .ws-d-biao { display: flex; align-items: center; gap: 9px; flex-wrap: wrap }
:root .ws-d-code {
  display: inline-flex; align-items: center; height: 20px; padding: 0 7px;
  border-radius: 5px; font-size: 10.5px; font-weight: 700; letter-spacing: .5px;
  background: rgba(125,211,252,.14); color: rgb(125,211,252);
  border: 1px solid rgba(125,211,252,.4);
}
:root .ws-d-biao em {
  font-style: normal; font-size: 9.75px; letter-spacing: 1.4px;
  color: rgba(255,255,255,.42); text-transform: uppercase;
}
:root .ws-d-title {
  margin: 13.5px 0 0; font-size: 33px; font-weight: 800;
  line-height: 1.2; letter-spacing: -.02em; color: rgba(255,255,255,.96);
}
:root .ws-d-sub { margin: 12px 0 0; font-size: 12.4px; line-height: 1.82; color: rgba(255,255,255,.56); max-width: 430px }
:root .ws-d-skills { display: flex; gap: 7px; margin: 16.5px 0 0; padding: 0; list-style: none; flex-wrap: wrap }
:root .ws-d-skills li {
  height: 25px; padding: 0 10px; border-radius: 6px;
  display: inline-flex; align-items: center;
  font-size: 10.5px; color: rgba(255,255,255,.66);
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
}
:root .ws-d-frame {
  position: relative; border-radius: 11px; overflow: hidden;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.03);
  min-height: 170px; display: grid; place-items: center;
  box-shadow: 0 14px 38px rgba(0,0,0,.45);
}
:root .ws-d-frame img { width: 100%; height: 100%; object-fit: cover; display: block }
:root .ws-d-frame .j { position: absolute; width: 13px; height: 13px; border: 0 solid rgba(125,211,252,.8); z-index: 2 }
:root .ws-d-frame .j1 { left: 7px; top: 7px; border-left-width: 2px; border-top-width: 2px }
:root .ws-d-frame .j2 { right: 7px; top: 7px; border-right-width: 2px; border-top-width: 2px }
:root .ws-d-frame .j3 { left: 7px; bottom: 7px; border-left-width: 2px; border-bottom-width: 2px }
:root .ws-d-frame .j4 { right: 7px; bottom: 7px; border-right-width: 2px; border-bottom-width: 2px }
:root .ws-d-note {
  position: absolute; left: 12px; bottom: 11px; z-index: 2;
  font-size: 9.75px; letter-spacing: .8px; color: rgba(255,255,255,.6);
  padding: 3px 8px; border-radius: 5px; background: rgba(0,0,0,.45);
  backdrop-filter: blur(4px);
}

:root .ws-d-form {
  margin: 15px 18px 0; padding: 20px 22px 22px;
  border-radius: 17.25px;
  background: var(--ws-card);
  border: 1px solid var(--ws-bd);
}
:root .ws-d-fhead { display: flex; align-items: center; gap: 12px; margin-bottom: 15px; flex-wrap: wrap }
:root .ws-d-fma {
  font-size: 9.75px; letter-spacing: 1.4px; font-weight: 700;
  color: rgba(var(--ac),.85); text-transform: uppercase;
}
:root .ws-d-fhead h2 { margin: 0; font-size: 17.25px; font-weight: 700; color: var(--ws-t1); letter-spacing: -.012em }
:root .ws-d-cfg {
  margin-left: auto; height: 30px; padding: 0 13px; border-radius: 8px; cursor: pointer; font-family: inherit;
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11.25px; color: var(--ws-t2);
  background: var(--ws-card-2); border: 1px solid var(--ws-bd);
}
:root .ws-d-cfg svg { width: 13px; height: 13px }
:root .ws-d-row {
  display: flex; gap: 15px; padding: 15px 0;
  border-top: 1px solid var(--ws-bd);
}
:root .ws-d-no {
  flex: 0 0 26px; width: 26px; height: 26px; border-radius: 7px;
  display: grid; place-items: center;
  font-size: 11.25px; font-weight: 700; color: rgba(var(--ac),1);
  background: rgba(var(--ac),.12); border: 1px solid rgba(var(--ac),.28);
}
:root .ws-d-ne { flex: 1; min-width: 0 }
:root .ws-d-ne h3 { margin: 2px 0 11px; font-size: 12.75px; font-weight: 600; color: var(--ws-t1) }
:root .ws-d-drop {
  display: flex; flex-direction: column; align-items: center; gap: 5px;
  padding: 20px 16px; border-radius: 11px;
  border: 1px dashed rgba(var(--ac),.4); background: rgba(var(--ac),.04);
  cursor: pointer; transition: .2s ease;
}
:root .ws-d-drop:hover { background: rgba(var(--ac),.08); border-color: rgba(var(--ac),.65) }
:root .ws-d-dic { color: rgba(var(--ac),.9); display: grid; place-items: center }
:root .ws-d-dic svg { width: 24px; height: 24px }
:root .ws-d-dz { font-size: 12.4px; font-weight: 600; color: var(--ws-t1) }
:root .ws-d-ds { font-size: 10.5px; color: var(--ws-t3); text-align: center; line-height: 1.7; max-width: 460px }
:root .ws-d-fmt { display: flex; gap: 5px; margin-top: 7px; flex-wrap: wrap; justify-content: center }
:root .ws-d-fmt i {
  font-style: normal; height: 19px; padding: 0 7px; border-radius: 5px;
  display: inline-flex; align-items: center;
  font-size: 9.75px; font-weight: 600; color: var(--ws-t3);
  background: var(--ws-card-2); border: 1px solid var(--ws-bd);
}
:root .ws-d-picks { display: flex; gap: 8px; flex-wrap: wrap }
:root .ws-d-pick {
  height: 32px; padding: 0 14px; border-radius: 8px; cursor: pointer; font-family: inherit;
  font-size: 12px; color: var(--ws-t2);
  background: var(--ws-card-2); border: 1px solid var(--ws-bd);
  transition: .18s ease;
}
:root .ws-d-pick:hover { border-color: rgba(var(--ac),.45); color: var(--ws-t1) }
:root .ws-d-pick.on {
  background: rgba(var(--ac),.14); border-color: rgba(var(--ac),.6);
  color: rgba(var(--ac),1); font-weight: 600;
}
:root .ws-d-input {
  position: relative; border-radius: 10px; padding: 10px 12px 20px;
  background: var(--ws-card-2); border: 1px solid var(--ws-bd);
  transition: .2s ease;
}
:root .ws-d-input:focus-within { border-color: rgba(var(--ac),.55); background: var(--ws-card) }
:root .ws-d-input textarea {
  width: 100%; box-sizing: border-box; border: 0; outline: 0; resize: none;
  background: transparent; color: var(--ws-t1); font-family: inherit;
  font-size: 12.4px; line-height: 1.7; min-height: 62px;
}
:root .ws-d-input textarea::placeholder { color: var(--ws-t4) }
:root .ws-d-max { position: absolute; right: 11px; bottom: 7px; font-size: 9.75px; color: var(--ws-t4) }
:root .ws-d-exs { display: flex; gap: 7px; margin-top: 9px; flex-wrap: wrap }
:root .ws-d-ex {
  padding: 5px 11px; border-radius: 100px; cursor: pointer; font-family: inherit;
  font-size: 10.5px; color: var(--ws-t3); text-align: left; line-height: 1.5;
  background: transparent; border: 1px dashed var(--ws-bd);
  transition: .18s ease;
}
:root .ws-d-ex:hover { border-color: rgba(var(--ac),.5); color: rgba(var(--ac),1) }

/* ---------- 18. 响应式：C / D 族 ---------- */
@media (max-width: 1100px) {
  :root .ws-c-hero { grid-template-columns: minmax(0,1fr); padding: 62px 30px 44px; min-height: 0 }
  :root .ws-c-art { display: none }
  :root .ws-c-case { grid-template-columns: minmax(0,1fr); gap: 20px; margin: 18px 16px 0; padding: 22px }
  :root .ws-c-shuru { margin-top: 0; padding: 0 16px 18px }
  :root .ws-c-works { padding: 24px 16px 110px }
  :root .ws-d-wrap { flex-direction: column }
  :root .ws-d-side {
    flex: 0 0 auto; width: auto; border-right: 0;
    border-bottom: 1px solid var(--ws-bd);
    flex-direction: row; align-items: center; flex-wrap: wrap; gap: 9px;
  }
  /* [c210] 窄屏下左栏变顶部横条、不挤占右侧工作区 ⇒ 折叠按钮与折叠态一并失效复位，
     否则「48px 窄条 + 横排」会把标题/新建按钮挤成一团 */
  :root .ws-d-col { display: none }
  :root .ws-d-side.is-collapsed {
    flex: 0 0 auto; width: auto; padding: 15px 12px; gap: 9px;
    flex-direction: row; align-items: center; flex-wrap: wrap;
    transition: none;
  }
  :root .ws-d-side.is-collapsed .ws-d-shead { flex-direction: row; gap: 9px; align-items: center }
  :root .ws-d-side.is-collapsed .ws-d-sname { display: inline }
  :root .ws-d-side.is-collapsed .ws-d-new {
    flex: 0 0 auto; width: auto; height: 34px; margin: 0; padding: 0 14px;
    gap: 7px; border-radius: 9px;
  }
  :root .ws-d-side.is-collapsed .ws-d-new span { display: inline }
  :root .ws-d-side.is-collapsed .ws-d-sou { display: flex }
  :root .ws-d-side.is-collapsed .ws-d-sfoot { display: flex }
  :root .ws-d-side .ws-d-empty { display: none }
  :root .ws-d-sfoot { border-top: 0; padding-top: 0; margin-left: auto }
  :root .ws-d-hero { grid-template-columns: minmax(0,1fr); margin: 13px 13px 0 }
  :root .ws-d-hr { display: none }
  :root .ws-d-form { margin: 13px 13px 0; padding: 16px 15px 18px }
}
@media (max-width: 620px) {
  :root .ws-c-title { font-size: 31.5px }
  :root .ws-c-sub { font-size: 12.75px }
  :root .ws-c-hero { padding: 46px 18px 34px }
  :root .ws-c-h2 { font-size: 17.25px }
  :root .ws-d-title { font-size: 24px }
  :root .ws-d-row { gap: 10px }
}

/* ---------- 19. 无障碍 / 降级（C / D 族补充） ---------- */
@media (prefers-reduced-motion: reduce) {
  :root .ws-c-fl,
  :root .ws-c-gl,
  :root .ws-c-ren,
  :root .ws-c-ka,
  :root .ws-c-arw,
  :root .ws-c-dot,
  :root .ws-c-stage,
  :root .ws-d-stage { animation: none !important }
}

/* ==========================================================================
   20. family E —— 12 条 hero 落地页（对标深色设计页，1:1 按实测像素还原）
   实测基准（aichat 1440×1000 视口）：
     hero 1248×125 @y90 · logo 76×76 + 标题 37.5px/45px · 徽标 31 高/12px
     标签 150×33 padding 6/15 fs 12.75 · 能力卡 300×74 padding 16.5/18.75 gap 12.75
     展示卡 660×306 padding 33.75/41.25 · 编号圆 33×33 · 模式胶囊 88×25 fs 10.5
     进度点 y685 · CTA 主 403×79 + 副 166×50 gap 18 · 能力栅格 300 + 53 + 660 = 1013
   ========================================================================== */

:root .ws-root[data-fam="E"] {
  --e-bg: #0f0f12;
  --e-fg: #ffffff;
  --e-dim: rgba(150, 162, 172, .92);
  --e-line: rgba(255, 255, 255, .07);
}

:root .ws-root[data-fam="E"] .ws-e-stage {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  overflow: hidden;
  position: relative;
  background: var(--e-bg);
  color: var(--e-fg);
  font-size: 15px;
  line-height: 22.5px;
}

/* 背景层：conic 流光 + 双光球 + 网格（对标 beijing 四层，用主题色驱动） */
:root .ws-root[data-fam="E"] .ws-e-stage::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(52% 46% at 24% 16%, rgba(var(--ac), .13), transparent 70%),
    radial-gradient(46% 42% at 80% 24%, rgba(var(--ac), .09), transparent 72%),
    radial-gradient(44% 38% at 52% 92%, rgba(var(--ac), .06), transparent 74%);
}

:root .ws-root[data-fam="E"] .ws-e-stage::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: .55;
  background-image:
    linear-gradient(rgba(255, 255, 255, .03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .03) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(72% 62% at 50% 38%, #000 26%, transparent 100%);
  mask-image: radial-gradient(72% 62% at 50% 38%, #000 26%, transparent 100%);
}

:root .ws-root[data-fam="E"] .ws-e-main {
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  min-width: 0;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 0 0 26px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, .16) transparent;
}

:root .ws-root[data-fam="E"] .ws-e-main::-webkit-scrollbar { width: 8px }

:root .ws-root[data-fam="E"] .ws-e-main::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, .14);
  border-radius: 8px;
}

/* ---------------- 21. hero ---------------- */

:root .ws-e-hero {
  width: min(1248px, calc(100% - 48px));
  margin: 90px auto 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

:root .ws-e-hd {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 23px;
  width: 100%;
}

:root .ws-e-logo {
  position: relative;
  width: 76px;
  height: 76px;
  flex: 0 0 76px;
  display: grid;
  place-items: center;
}

:root .ws-e-life {
  position: relative;
  z-index: 2;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
}

:root .ws-e-life img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  display: block;
}

:root .ws-e-logo-fb { display: flex; color: rgba(var(--ac), 1) }

:root .ws-e-logo-fb svg { width: 34px; height: 34px }

:root .ws-e-glow {
  position: absolute;
  inset: -14px;
  z-index: 0;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(var(--ac), .3), transparent 68%);
  animation: wsEGlow 5.2s ease-in-out infinite;
}

:root .ws-e-orbit {
  position: absolute;
  inset: -7px;
  z-index: 1;
  border-radius: 50%;
  pointer-events: none;
  animation: wsESpin 20s linear infinite;
}

:root .ws-e-orbit i {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(255, 255, 255, .5);
}

:root .ws-e-orbit i:nth-child(1) { left: 50%; top: -3px; margin-left: -3px }

:root .ws-e-orbit i:nth-child(2) { right: 5px; bottom: 21px }

:root .ws-e-orbit i:nth-child(3) { left: 5px; bottom: 21px }

:root .ws-e-rings {
  position: absolute;
  inset: -9px;
  z-index: 0;
  border-radius: 50%;
  pointer-events: none;
}

:root .ws-e-rings i {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(var(--ac), .34);
  animation: wsERing 3.8s ease-out infinite;
}

:root .ws-e-rings i:nth-child(2) { animation-delay: -1.9s }

:root .ws-e-txt {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
  min-width: 0;
}

:root .ws-e-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 31px;
  padding: 0 12px;
  border-radius: 100px;
  font-size: 12px;
  line-height: 1;
  color: rgba(var(--ac), .92);
  background: rgba(var(--ac), .08);
  border: 1px solid rgba(var(--ac), .2);
  white-space: nowrap;
}

:root .ws-e-badge i {
  width: 6px;
  height: 6px;
  flex: 0 0 6px;
  border-radius: 50%;
  animation: wsEPulse 1.9s ease-in-out infinite;
}

:root .ws-e-title {
  margin: 0;
  font-size: 37.5px;
  line-height: 45px;
  font-weight: 700;
  letter-spacing: -.01em;
  color: #ffffff;
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

:root .ws-e-title[style*="background-image"] {
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

:root .ws-e-sub {
  margin: 0;
  max-width: 620px;
  font-size: 12.75px;
  line-height: 19px;
  color: var(--e-dim);
}

:root .ws-e-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-top: 9px;
}

:root .ws-e-tag {
  display: inline-flex;
  align-items: center;
  gap: 5.25px;
  height: 33px;
  padding: 6px 15px;
  border-radius: 100px;
  font-size: 12.75px;
  line-height: 1;
  color: var(--e-dim);
  background: rgba(255, 255, 255, .045);
  border: 1px solid var(--e-line);
  white-space: nowrap;
}

:root .ws-e-tag i { display: flex; width: 14px; height: 14px }

:root .ws-e-tag i svg { width: 14px; height: 14px; display: block }

/* ---------------- 22. 能力卡 + 展示卡 ---------------- */

:root .ws-e-caps {
  width: min(1013px, calc(100% - 48px));
  min-height: 616px;
  margin: 0 auto;
  display: flex;
  align-items: center;
}

:root .ws-e-capin {
  display: flex;
  align-items: center;
  gap: 53px;
  width: 100%;
}

:root .ws-e-abs {
  display: flex;
  flex-direction: column;
  gap: 13.75px;
  width: 300px;
  flex: 0 0 300px;
}

:root .ws-e-ab {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12.75px;
  height: 74px;
  padding: 16.5px 18.75px;
  border-radius: 14px;
  cursor: pointer;
  overflow: hidden;
  background: rgba(18, 22, 30, .6);
  border: 1px solid rgba(255, 255, 255, .055);
  transition: background .24s ease, border-color .24s ease, transform .24s ease;
}

:root .ws-e-ab:hover { background: rgba(25, 30, 40, .82); border-color: rgba(255, 255, 255, .11) }

:root .ws-e-ab.on {
  background: rgba(25, 30, 40, .92);
  border-color: rgba(var(--ac), .3);
  transform: translateX(4px);
}

:root .ws-e-ab-bd {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, rgba(var(--ac), .95), rgba(var(--ac), .25));
  opacity: 0;
  transition: opacity .24s ease;
}

:root .ws-e-ab.on .ws-e-ab-bd { opacity: 1 }

:root .ws-e-ab-ico {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  color: var(--e-ac, rgba(var(--ac), .85));
  background: var(--e-chip, rgba(var(--ac), .1));
}

:root .ws-e-ab-ico svg { width: 20px; height: 20px; display: block }

:root .ws-e-ab-tx {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2.25px;
}

:root .ws-e-ab-tx b {
  font-size: 14.25px;
  line-height: 21px;
  font-weight: 600;
  color: rgba(220, 230, 240, .95);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

:root .ws-e-ab-tx em {
  font-style: normal;
  font-size: 11.25px;
  line-height: 17px;
  color: rgba(140, 153, 160, .9);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

:root .ws-e-ab-arw {
  width: 14px;
  height: 23px;
  flex: 0 0 14px;
  display: flex;
  align-items: center;
  color: rgba(var(--ac), .6);
  opacity: 0;
  transform: translateX(-3px);
  transition: opacity .24s ease, transform .24s ease;
}

:root .ws-e-ab-arw svg { width: 14px; height: 14px }

:root .ws-e-ab:hover .ws-e-ab-arw,
:root .ws-e-ab.on .ws-e-ab-arw { opacity: 1; transform: none }

:root .ws-e-scw {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

:root .ws-e-sc {
  position: relative;
  width: 100%;
  min-height: 306px;
  padding: 33.75px 41.25px;
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(22, 26, 35, .95), rgba(15, 18, 25, .9));
  border: 1px solid rgba(255, 255, 255, .07);
}

:root .ws-e-sc-glow {
  position: absolute;
  inset: -30% -6% auto -6%;
  height: 74%;
  pointer-events: none;
  background: radial-gradient(58% 60% at 32% 44%, rgba(var(--ac), .16), transparent 70%);
}

:root .ws-e-sc-top {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 33px;
}

:root .ws-e-sc-n {
  display: grid;
  place-items: center;
  width: 33px;
  height: 33px;
  border-radius: 50%;
  font-size: 12.75px;
  font-weight: 600;
  color: rgba(var(--ac), 1);
  background: rgba(var(--ac), .1);
  border: 1px solid rgba(var(--ac), .22);
}

:root .ws-e-sc-mode {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 25px;
  padding: 3.75px 11.25px;
  border-radius: 100px;
  font-size: 10.5px;
  line-height: 15.75px;
  color: rgba(var(--ac), .85);
  background: rgba(var(--ac), .06);
  border: 1px solid rgba(var(--ac), .2);
  white-space: nowrap;
}

:root .ws-e-sc-mode i {
  width: 5px;
  height: 5px;
  flex: 0 0 5px;
  border-radius: 50%;
  box-shadow: 0 0 5.7px rgba(var(--ac), .76);
  animation: wsEPulse 1.5s ease-in-out infinite;
}

:root .ws-e-sc-body {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 22.5px;
  margin-top: 21px;
}

:root .ws-e-sc-ico {
  width: 62px;
  height: 62px;
  flex: 0 0 62px;
  display: grid;
  place-items: center;
  border-radius: 17px;
  color: rgba(var(--ac), .9);
  background: rgba(var(--ac), .1);
  border: 1px solid rgba(var(--ac), .18);
  box-shadow: 0 0 24px rgba(var(--ac), .12);
}

:root .ws-e-sc-ico svg { width: 28px; height: 28px }

:root .ws-e-sc-tx { flex: 1 1 auto; min-width: 0 }

:root .ws-e-sc-tx h3 {
  margin: 0;
  font-size: 22.5px;
  line-height: 34px;
  font-weight: 650;
  color: #f0f5fa;
}

:root .ws-e-sc-tx p {
  margin: 9px 0 0;
  font-size: 15px;
  line-height: 25.5px;
  color: rgba(150, 162, 172, .94);
}

:root .ws-e-sctags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 19px;
}

:root .ws-e-sctags span {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 11.25px;
  border-radius: 100px;
  font-size: 11.25px;
  line-height: 1;
  color: rgba(var(--ac), .9);
  background: rgba(var(--ac), .08);
  border: 1px solid rgba(var(--ac), .18);
  white-space: nowrap;
}

:root .ws-e-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

:root .ws-e-dots i {
  width: 8px;
  height: 3px;
  border-radius: 3px;
  background: rgba(255, 255, 255, .22);
  cursor: pointer;
  transition: width .24s ease, background .24s ease;
}

:root .ws-e-dots i.on { width: 45px; background: rgba(var(--ac), .85) }

/* [c199 老板令] 展示卡换牌：淡出淡入 + 文案逐字上屏的跳动光标。
   换牌瞬间给 .is-swap，170ms 后由 agent-ws.js 摘掉并开始吐字。 */
:root .ws-e-sc-n,
:root .ws-e-sc-mode,
:root .ws-e-sc-tx h3,
:root .ws-e-sc-tx p,
:root .ws-e-sctags {
  transition: opacity .17s ease, transform .17s ease;
}

:root .ws-e-sc.is-swap .ws-e-sc-n,
:root .ws-e-sc.is-swap .ws-e-sc-mode,
:root .ws-e-sc.is-swap .ws-e-sc-tx h3,
:root .ws-e-sc.is-swap .ws-e-sc-tx p,
:root .ws-e-sc.is-swap .ws-e-sctags {
  opacity: 0;
  transform: translateY(6px);
}

:root .ws-tyc {
  display: inline-block;
  width: 2px;
  height: 1em;
  margin-left: 2px;
  vertical-align: -0.14em;
  border-radius: 1px;
  background: rgba(var(--ac), .95);
  animation: wsTyCaret .9s steps(2, start) infinite;
}

@keyframes wsTyCaret {
  0%, 100% { opacity: 1 }
  50% { opacity: 0 }
}

/* 换牌时文字太短会闪一下竖线，忽略动效偏好的人直接给静态文字 */
@media (prefers-reduced-motion: reduce) {
  :root .ws-tyc { display: none }
  :root .ws-e-sc.is-swap .ws-e-sc-n,
  :root .ws-e-sc.is-swap .ws-e-sc-mode,
  :root .ws-e-sc.is-swap .ws-e-sc-tx h3,
  :root .ws-e-sc.is-swap .ws-e-sc-tx p,
  :root .ws-e-sc.is-swap .ws-e-sctags { opacity: 1; transform: none }
}

/* ---------------- 23. CTA ---------------- */

:root .ws-e-ctasec {
  display: flex;
  justify-content: center;
  padding: 16px 0 0;
}

:root .ws-e-ctain {
  display: flex;
  align-items: center;
  gap: 18px;
}

:root .ws-e-cta {
  position: relative;
  display: block;
  width: 403px;
  height: 79px;
  padding: 0;
  border: 0;
  border-radius: 18px;
  cursor: pointer;
  overflow: hidden;
  color: #ffffff;
  background: linear-gradient(100deg,
    rgba(var(--ac), 1) 0%,
    rgba(var(--ac), .82) 52%,
    rgba(var(--ac), .62) 100%);
  box-shadow: 0 14px 40px -12px rgba(var(--ac), .62);
  text-align: left;
}

:root .ws-e-cta-glow {
  position: absolute;
  inset: -60% -20% auto -20%;
  height: 160%;
  pointer-events: none;
  background: radial-gradient(50% 50% at 50% 50%, rgba(255, 255, 255, .38), transparent 70%);
  opacity: .55;
  animation: wsECta 6.5s ease-in-out infinite;
}

:root .ws-e-cta-shine {
  position: absolute;
  top: 0;
  bottom: 0;
  left: -40%;
  width: 40%;
  pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .3), transparent);
  animation: wsEShine 4.6s ease-in-out infinite;
}

:root .ws-e-cta-in {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 13px;
  height: 100%;
  padding: 0 38px;
}

:root .ws-e-cta-ico {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, .18);
  color: #ffffff;
}

:root .ws-e-cta-ico svg { width: 20px; height: 20px }

:root .ws-e-cta-tx { display: flex; flex-direction: column; gap: 2px; min-width: 0 }

:root .ws-e-cta-tx b {
  font-size: 15px;
  line-height: 21px;
  font-weight: 650;
  color: #ffffff;
  white-space: nowrap;
}

:root .ws-e-cta-tx em {
  font-style: normal;
  font-size: 11.25px;
  line-height: 15px;
  color: rgba(255, 255, 255, .78);
  white-space: nowrap;
}

:root .ws-e-cta-st {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 24px;
  margin-left: auto;
  padding: 0 10px;
  border-radius: 100px;
  font-size: 11.25px;
  line-height: 1;
  color: #ffffff;
  background: rgba(34, 197, 94, .18);
  white-space: nowrap;
}

:root .ws-e-cta-st i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgb(34, 197, 94);
  animation: wsEPulse 1.8s ease-in-out infinite;
}

:root .ws-e-cta2 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  min-width: 166px;
  padding: 0 24px;
  border-radius: 14px;
  cursor: pointer;
  font-size: 13.5px;
  color: rgba(220, 230, 240, .92);
  background: rgba(18, 22, 30, .8);
  border: 1px solid rgba(255, 255, 255, .1);
  transition: background .22s ease, border-color .22s ease;
}

:root .ws-e-cta2:hover { background: rgba(28, 34, 44, .9); border-color: rgba(255, 255, 255, .18) }

:root .ws-e-cta.is-inline,
:root .ws-e-cta2.is-inline { width: auto; height: 42px; box-shadow: none; border-radius: 13px }

:root .ws-e-cta.is-inline { padding: 0 20px }

:root .ws-e-cta.is-inline .ws-e-cta-in { padding: 0; gap: 9px }

:root .ws-e-cta.is-inline .ws-e-cta-ico { display: none }

:root .ws-e-cta.is-inline .ws-e-cta-tx b { font-size: 13.5px }

/* [c160] 无输入坞的智能体：CTA 行补「设置」入口（复用 .ws-e-cta2，仅收窄宽度） */
:root .ws-e-cta2-cfg { min-width: 118px; padding: 0 20px; gap: 8px }
:root .ws-e-cta2-cfg svg { width: 15px; height: 15px; opacity: .82 }
:root .ws-e-cta2-cfg.is-inline { min-width: 0; padding: 0 16px }

/* ---------------- 24. 左栏 / 流水线 / 对话态 / 小卡 / 教程钮 ---------------- */

:root .ws-e-side {
  position: relative;
  z-index: 2;
  width: 330px;
  flex: 0 0 330px;
  display: flex;
  flex-direction: column;
  padding: 16px 14px 14px;
  background: linear-gradient(180deg, rgba(20, 20, 25, .96), rgba(15, 15, 18, .96));
  border-right: 1px solid rgba(255, 255, 255, .06);
}

:root .ws-e-side.is-collapsed { width: 313px; flex-basis: 313px }

:root .ws-e-side-top { display: flex; align-items: center; gap: 8px }

:root .ws-e-new {
  flex: 1 1 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 40px;
  border-radius: 11px;
  cursor: pointer;
  font-size: 13.5px;
  color: #ffffff;
  background: rgba(var(--ac), .16);
  border: 1px solid rgba(var(--ac), .32);
  transition: background .22s ease;
}

:root .ws-e-new:hover { background: rgba(var(--ac), .26) }

:root .ws-e-new svg { width: 15px; height: 15px }

:root .ws-e-col {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  cursor: pointer;
  color: rgba(220, 230, 240, .8);
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .08);
}

:root .ws-e-col svg { width: 16px; height: 16px }

:root .ws-e-list {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 8px;
}

:root .ws-e-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
  font-size: 12.75px;
  line-height: 19px;
  color: rgba(150, 162, 172, .8);
}

:root .ws-e-empty-ic {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  color: rgba(var(--ac), .7);
  background: rgba(var(--ac), .07);
  border: 1px dashed rgba(var(--ac), .28);
}

:root .ws-e-empty-ic svg { width: 22px; height: 22px }

:root .ws-e-side-foot { padding-top: 10px }

:root .ws-e-engine {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 42px;
  border-radius: 12px;
  cursor: pointer;
  font-size: 13.5px;
  color: rgba(220, 230, 240, .95);
  background: linear-gradient(100deg, rgba(var(--ac), .2), rgba(var(--ac), .09));
  border: 1px solid rgba(var(--ac), .3);
}

:root .ws-e-engine-ic { display: flex; color: rgba(var(--ac), 1) }

:root .ws-e-engine-ic svg { width: 15px; height: 15px }

:root .ws-e-tut {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 40px;
  margin: 24px 0 0 40px;
  padding: 0 15px;
  border-radius: 100px;
  cursor: pointer;
  font-size: 12.75px;
  color: rgba(220, 230, 240, .92);
  background: rgba(var(--ac), .1);
  border: 1px solid rgba(var(--ac), .28);
}

:root .ws-e-tut-ic { display: flex; color: rgba(var(--ac), 1) }

:root .ws-e-tut-ic svg { width: 15px; height: 15px }

:root .ws-e-tut-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(var(--ac), 1);
  animation: wsEPulse 1.7s ease-in-out infinite;
}

/* 流水线（e3）：904×75，阶段标签 + 节点 + 桥接线 */
:root .ws-e-pipe {
  position: relative;
  width: min(904px, calc(100% - 48px));
  margin: 34px auto 0;
}

:root .ws-e-ptrack {
  position: absolute;
  left: 0;
  right: 0;
  top: 22px;
  height: 1px;
  background: rgba(255, 255, 255, .08);
}

:root .ws-e-ptrack i {
  display: block;
  width: 46%;
  height: 1px;
  background: linear-gradient(90deg, rgba(var(--ac), .9), rgba(var(--ac), .18));
}

:root .ws-e-prow { position: relative; display: flex; align-items: flex-start; gap: 22px }

:root .ws-e-pgroup { flex: 1 1 0; min-width: 0 }

:root .ws-e-plabel {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 14px;
  font-size: 11.25px;
  color: rgba(220, 230, 240, .9);
  white-space: nowrap;
}

:root .ws-e-plabel em {
  font-style: normal;
  font-size: 10.5px;
  color: rgba(var(--ac), .95);
}

:root .ws-e-pnodes { display: flex; align-items: flex-start; gap: 4px }

:root .ws-e-pn {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}

:root .ws-e-pn i {
  display: grid;
  place-items: center;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .14);
}

:root .ws-e-pn i b {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .32);
}

:root .ws-e-pn.passed i { background: rgba(var(--ac), .22); border-color: rgba(var(--ac), .5) }

:root .ws-e-pn.passed i b { background: rgba(var(--ac), 1) }

:root .ws-e-pn.on i {
  background: rgba(var(--ac), .3);
  border-color: rgba(var(--ac), .8);
  box-shadow: 0 0 12px rgba(var(--ac), .55);
  animation: wsEPulse 1.9s ease-in-out infinite;
}

:root .ws-e-pn.on i b { background: rgba(var(--ac), 1) }

:root .ws-e-pn span {
  font-size: 10.5px;
  line-height: 15px;
  color: rgba(150, 162, 172, .82);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
}

:root .ws-e-pn.on span,
:root .ws-e-pn.passed span { color: rgba(220, 230, 240, .95) }

:root .ws-e-pbridge {
  flex: 0 0 18px;
  display: flex;
  align-items: center;
  padding-top: 16px;
}

:root .ws-e-pbridge i {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, rgba(var(--ac), .5), rgba(255, 255, 255, .1));
}

/* 对话态 hero（e4）：825 宽居中，标题 33.75px，特性两列 */
:root .ws-root[data-esub="e4"] .ws-e-main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-bottom: 200px;
}

:root .ws-e-chat {
  width: min(825px, calc(100% - 48px));
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

:root .ws-e-chat-hd {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  width: 100%;
}

:root .ws-e-chat-logo {
  position: relative;
  width: 62px;
  height: 62px;
  flex: 0 0 62px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  color: rgba(var(--ac), 1);
  background: rgba(var(--ac), .12);
  border: 1px solid rgba(var(--ac), .24);
}

:root .ws-e-chat-logo img { width: 36px; height: 36px; object-fit: contain }

:root .ws-e-chat-logo svg { width: 30px; height: 30px }

:root .ws-e-chat-pulse {
  position: absolute;
  inset: -6px;
  border-radius: 22px;
  border: 1px solid rgba(var(--ac), .34);
  animation: wsERing 3.4s ease-out infinite;
}

:root .ws-e-chat-tt { display: flex; flex-direction: column; gap: 6px; min-width: 0 }

:root .ws-e-chat-tt h1 {
  margin: 0;
  font-size: 33.75px;
  line-height: 51px;
  font-weight: 700;
  letter-spacing: -.01em;
  background-image: linear-gradient(100deg, #ffffff 20%, rgba(var(--ac), 1) 70%, rgba(var(--ac), .72));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

:root .ws-e-chat-tt p {
  margin: 0;
  font-size: 13.5px;
  line-height: 20px;
  color: var(--e-dim);
}

:root .ws-e-feats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 21px;
  width: 100%;
  margin-top: 44px;
}

:root .ws-e-feat {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding: 18px;
  border-radius: 15px;
  background: rgba(255, 255, 255, .028);
  border: 1px solid rgba(255, 255, 255, .06);
}

:root .ws-e-feat-ic {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: rgba(var(--ac), .9);
  background: rgba(var(--ac), .1);
}

:root .ws-e-feat-ic svg { width: 18px; height: 18px }

:root .ws-e-feat-tx { display: flex; flex-direction: column; gap: 4px; min-width: 0 }

:root .ws-e-feat-tx b { font-size: 13.5px; line-height: 19px; font-weight: 600; color: rgba(232, 238, 245, .96) }

:root .ws-e-feat-tx em {
  font-style: normal;
  font-size: 11.25px;
  line-height: 17px;
  color: var(--e-dim);
}

/* 模型选择器（e4） */
:root .ws-e-models {
  position: relative;
  width: min(825px, calc(100% - 48px));
  margin: 26px auto 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px 16px;
  border-radius: 15px;
  background: rgba(18, 22, 30, .72);
  border: 1px solid rgba(255, 255, 255, .07);
}

:root .ws-e-role {
  position: absolute;
  right: 16px;
  top: -14px;
  height: 27px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 100px;
  font-size: 11.25px;
  color: rgba(var(--ac), .92);
  background: rgba(var(--ac), .12);
  border: 1px solid rgba(var(--ac), .26);
}

:root .ws-e-mrow { display: flex; align-items: center; gap: 12px; min-height: 28px }

:root .ws-e-mlab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: 74px;
  flex: 0 0 74px;
  font-size: 12px;
  color: rgba(220, 230, 240, .92);
}

:root .ws-e-mlab span { font-size: 13px; line-height: 1 }

:root .ws-e-mval { display: flex; align-items: center; gap: 8px; min-width: 0 }

:root .ws-e-mav { display: inline-flex; align-items: center }

:root .ws-e-mav img {
  width: 22px;
  height: 22px;
  margin-left: -6px;
  border-radius: 50%;
  object-fit: contain;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12);
}

:root .ws-e-mav img:first-child { margin-left: 0 }

:root .ws-e-mval em {
  font-style: normal;
  font-size: 11.25px;
  color: var(--e-dim);
}

:root .ws-e-mval em.is-empty { color: rgba(120, 132, 142, .9) }

/* 小卡网格（e2）：5 张一行 */
:root .ws-e-mini {
  display: flex;
  gap: 6px;
  width: min(933px, calc(100% - 80px));
  margin: 24px auto 0;
}

:root .ws-e-mini-c {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 9px;
  height: 59px;
  padding: 0 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .03);
  border: 1px solid rgba(255, 255, 255, .06);
}

:root .ws-e-mini-ic {
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: var(--e-ac, rgba(var(--ac), .85));
  background: var(--e-chip, rgba(var(--ac), .1));
}

:root .ws-e-mini-ic svg { width: 14px; height: 14px }

:root .ws-e-mini-t {
  font-size: 12px;
  line-height: 16px;
  color: rgba(220, 230, 240, .92);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ---------------- 25. 子骨架尺寸覆盖 ---------------- */

/* e2（manju）：紧凑 hero 933 + 30px 标题 + 右侧 CTA + 展示卡 500×87 */
:root .ws-root[data-esub="e2"] .ws-e-hero {
  width: min(933px, calc(100% - 80px));
  margin: 53px auto 0;
  align-items: stretch;
}

:root .ws-root[data-esub="e2"] .ws-e-hd { justify-content: flex-start; gap: 22px }

:root .ws-root[data-esub="e2"] .ws-e-logo { width: 66px; height: 66px; flex-basis: 66px }

:root .ws-root[data-esub="e2"] .ws-e-life { width: 50px; height: 50px }

:root .ws-root[data-esub="e2"] .ws-e-life img { width: 50px; height: 50px }

:root .ws-root[data-esub="e2"] .ws-e-title { font-size: 30px; line-height: 40px }

:root .ws-root[data-esub="e2"] .ws-e-badge { height: 24px; font-size: 9.75px; padding: 0 10px }

:root .ws-root[data-esub="e2"] .ws-e-sub { font-size: 12.75px; line-height: 19px; max-width: 560px }

:root .ws-root[data-esub="e2"] .ws-e-hdcta { margin-left: auto; display: flex; align-items: center; gap: 10px }

:root .ws-root[data-esub="e2"] .ws-e-caps { width: min(933px, calc(100% - 80px)); min-height: 0 }

:root .ws-root[data-esub="e2"] .ws-e-capin { flex-direction: column; align-items: stretch; gap: 0 }

:root .ws-root[data-esub="e2"] .ws-e-scw { gap: 14px }

:root .ws-root[data-esub="e2"] .ws-e-sc {
  min-height: 87px;
  width: min(500px, 100%);
  margin-left: auto;
  padding: 15px 20px;
  border-radius: 15px;
}

:root .ws-root[data-esub="e2"] .ws-e-sc-top { min-height: 0; display: none }

:root .ws-root[data-esub="e2"] .ws-e-sc-body { margin-top: 0; align-items: center; gap: 15px }

:root .ws-root[data-esub="e2"] .ws-e-sc-ico { width: 52px; height: 52px; flex-basis: 52px; border-radius: 14px }

:root .ws-root[data-esub="e2"] .ws-e-sc-tx h3 { font-size: 16.5px; line-height: 24px }

:root .ws-root[data-esub="e2"] .ws-e-sc-tx p { display: none }

:root .ws-root[data-esub="e2"] .ws-e-sctags { margin-top: 8px }

/* e3（manju-s2）：hero 904 + 窄能力栅格 225 + 展示卡 510 + 流水线 */
:root .ws-root[data-esub="e3"] .ws-e-hero {
  width: min(904px, calc(100% - 80px));
  margin: 53px auto 0;
  align-items: stretch;
}

:root .ws-root[data-esub="e3"] .ws-e-hd { justify-content: flex-start; gap: 22px }

:root .ws-root[data-esub="e3"] .ws-e-title { font-size: 30px; line-height: 36px }

:root .ws-root[data-esub="e3"] .ws-e-caps { width: min(788px, calc(100% - 80px)); min-height: 0; margin-top: 46px }

:root .ws-root[data-esub="e3"] .ws-e-capin { gap: 53px; align-items: center }

:root .ws-root[data-esub="e3"] .ws-e-abs { width: 225px; flex-basis: 225px; gap: 12px }

:root .ws-root[data-esub="e3"] .ws-e-ab { height: 62px; padding: 12px 14px; gap: 10px }

:root .ws-root[data-esub="e3"] .ws-e-ab-ico { width: 34px; height: 34px; flex-basis: 34px; border-radius: 9px }

:root .ws-root[data-esub="e3"] .ws-e-ab-ico svg { width: 17px; height: 17px }

:root .ws-root[data-esub="e3"] .ws-e-ab-tx b { font-size: 12.75px; line-height: 19px }

:root .ws-root[data-esub="e3"] .ws-e-ab-tx em { display: none }

:root .ws-root[data-esub="e3"] .ws-e-sc { min-height: 252px; padding: 24px 28px; border-radius: 18px }

:root .ws-root[data-esub="e3"] .ws-e-sc-tx h3 { font-size: 18px; line-height: 27px }

:root .ws-root[data-esub="e3"] .ws-e-sc-tx p { font-size: 12.75px; line-height: 21px }

:root .ws-root[data-esub="e3"] .ws-e-pipe { width: min(904px, calc(100% - 80px)); margin-top: 52px }

/* e5（ppt）：任务栏更窄 + hero 与 e1 同几何 */
:root .ws-root[data-esub="e5"] .ws-e-side { width: 130px; flex-basis: 130px; padding: 15px 10px }

:root .ws-root[data-esub="e5"] .ws-e-new { height: 38px; font-size: 12.75px; gap: 5px }

:root .ws-root[data-esub="e5"] .ws-e-list { padding: 14px 4px }

:root .ws-root[data-esub="e5"] .ws-e-empty { font-size: 11.25px; gap: 8px }

:root .ws-root[data-esub="e5"] .ws-e-empty-ic { width: 38px; height: 38px; border-radius: 12px }

/* e4（duomoxing）：历史栏 131 宽胶囊 */
:root .ws-root[data-esub="e4"] .ws-e-side {
  width: 300px;
  flex-basis: 300px;
  padding: 15px 12px;
  justify-content: flex-start;
}

/* ---------------- 26. 关键帧 ---------------- */

@keyframes wsESpin { to { transform: rotate(360deg) } }

@keyframes wsEGlow {
  0%, 100% { opacity: .55; transform: scale(.95) }
  50% { opacity: 1; transform: scale(1.06) }
}

@keyframes wsERing {
  0% { transform: scale(.84); opacity: .8 }
  100% { transform: scale(1.46); opacity: 0 }
}

@keyframes wsEPulse {
  0%, 100% { opacity: .5; transform: scale(.86) }
  50% { opacity: 1; transform: scale(1.14) }
}

@keyframes wsECta {
  0%, 100% { opacity: .42; transform: translateX(-6%) }
  50% { opacity: .72; transform: translateX(6%) }
}

@keyframes wsEShine {
  0% { left: -45% }
  55%, 100% { left: 115% }
}

/* ---------------- 27. E 族响应式 ---------------- */

@media (max-width: 1180px) {
  :root .ws-e-caps { min-height: 0; padding: 34px 0 }
  :root .ws-e-capin { flex-direction: column; align-items: stretch; gap: 22px }
  :root .ws-e-abs { width: 100%; flex-basis: auto; flex-direction: row; flex-wrap: wrap }
  :root .ws-e-ab { flex: 1 1 calc(50% - 7px); height: auto; min-height: 66px }
  :root .ws-e-sc { min-height: 0 }
  :root .ws-e-hero { margin-top: 44px }
  :root .ws-e-side { width: 240px; flex-basis: 240px }
  :root .ws-e-mini { flex-wrap: wrap }
  :root .ws-e-mini-c { flex: 1 1 calc(33.33% - 4px) }
}

@media (max-width: 820px) {
  :root .ws-e-side { display: none }
  :root .ws-e-hero { margin-top: 30px }
  :root .ws-e-title { font-size: 26px; line-height: 34px }
  :root .ws-e-hd { flex-direction: column; text-align: center; gap: 14px }
  :root .ws-e-txt { align-items: center }
  :root .ws-e-tags { justify-content: center }
  :root .ws-e-feats { grid-template-columns: minmax(0, 1fr) }
  :root .ws-e-cta { width: 100%; max-width: 403px }
  :root .ws-e-ctain { flex-direction: column; gap: 12px }
  :root .ws-e-prow { flex-direction: column; gap: 14px }
  :root .ws-e-pbridge { display: none }
  :root .ws-root[data-esub="e2"] .ws-e-hd,
  :root .ws-root[data-esub="e3"] .ws-e-hd { flex-direction: column; align-items: flex-start; text-align: left }
  :root .ws-root[data-esub="e2"] .ws-e-txt,
  :root .ws-root[data-esub="e3"] .ws-e-txt { align-items: flex-start }
  :root .ws-root[data-esub="e2"] .ws-e-sc { width: 100%; margin-left: 0 }
  :root .ws-e-mini-c { flex: 1 1 calc(50% - 3px) }
}

/* ---------------- 28. E 族无障碍 ---------------- */

@media (prefers-reduced-motion: reduce) {
  :root .ws-e-glow,
  :root .ws-e-orbit,
  :root .ws-e-rings i,
  :root .ws-e-badge i,
  :root .ws-e-sc-mode i,
  :root .ws-e-cta-glow,
  :root .ws-e-cta-shine,
  :root .ws-e-cta-st i,
  :root .ws-e-chat-pulse,
  :root .ws-e-tut-pulse,
  :root .ws-e-pn.on i { animation: none !important }
}

/* ---------- 13. 输入坞附件条（[c154] 已选资产缩略图回填） ----------
   浮在 dock 上方（bottom:100%），不改 dock 的 160 高，不挤压滚动区布局 */
:root .ws-attbar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 100%;
  margin-bottom: 9px;
  display: none;
  align-items: center;
  gap: 9px;
  padding: 7px 9px;
  border-radius: 13px;
  background: var(--ws-dock-bg);
  border: 1px solid var(--ws-dock-bd);
  backdrop-filter: blur(9.375px);
  -webkit-backdrop-filter: blur(9.375px);
  box-shadow: var(--ws-shadow-lg);
  box-sizing: border-box;
}
:root .ws-attbar.s { display: flex }
:root .ws-att-n {
  flex: 0 0 auto;
  font-size: 11px;
  color: var(--ws-t4);
  white-space: nowrap;
}
:root .ws-att-n b { color: rgba(var(--ac), 1); font-weight: 700 }
:root .ws-att-list {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 7px;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: thin;
}
:root .ws-att-list::-webkit-scrollbar { height: 4px }
:root .ws-att-list::-webkit-scrollbar-thumb {
  background: rgba(var(--ac), .22);
  border-radius: 99px;
}
:root .ws-att-it {
  position: relative;
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  border-radius: 9px;
  overflow: hidden;
  border: 1px solid var(--ws-dock-bd);
  background: var(--ws-chip);
}
:root .ws-att-it img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
:root .ws-att-x {
  position: absolute;
  top: 1px;
  right: 1px;
  width: 15px;
  height: 15px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(15, 15, 18, .62);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: .92;
  transition: background .18s, opacity .18s;
}
:root .ws-att-x:hover { background: rgba(220, 38, 38, .92); opacity: 1 }
:root .ws-att-x svg { width: 9px; height: 9px }
:root .ws-att-clear {
  flex: 0 0 auto;
  height: 24px;
  padding: 0 9px;
  border-radius: 8px;
  border: 1px solid var(--ws-dock-bd);
  background: transparent;
  color: var(--ws-t3);
  font-size: 11px;
  font-family: inherit;
  cursor: pointer;
  transition: all .18s;
}
:root .ws-att-clear:hover {
  color: rgba(var(--ac), 1);
  border-color: rgba(var(--ac), .45);
  background: rgba(var(--ac), .06);
}
