:root {
  /* Tapnow 风格：深空底 + 玻璃穿透 */
  --bg-main: #050508;
  --amber-500: #f59e0b;
  --text-main: #e8e8e8;
  --text-dim: rgba(255, 255, 255, 0.4);
  --font-mono: "SF Mono", "Cascadia Code", "Menlo", "Consolas", ui-monospace, monospace;
  --font-sans: "Avenir Next", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --font-brand-zh: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-brand-logo-zh: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-brand-logo-en: "Avenir Next", var(--font-sans);
  /* 工具页主标题中文（与各页 .hub-page-hero__zh 一致）；顶栏「微尘」二字标复用同一套 */
  --font-hub-title-zh: "Songti SC", "STSong", var(--font-brand-zh), serif;
  --hub-title-zh-letter-spacing: 0.24em;
  --hub-title-zh-text-indent: 0.12em;
  /* 顶栏中文：衬线、偏编辑/片方气质 */
  --font-brand-display-zh: "Songti SC", "STSong", "PingFang SC", Georgia, serif;
  --max: 1120px;
  --shell-pad-x: clamp(28px, 5vw, 64px);
  --capsule-radius: 32px;
  --accent: #ffffff;
  --muted: rgba(255, 255, 255, 0.5);
  --meta-fg: rgba(255, 255, 255, 0.4);
  --radius: 2px;
  --line: 1px solid rgba(255, 255, 255, 0.1);
  --sans: var(--font-sans);
  /* 全站玻璃：深度毛玻璃 */
  --panel-bg: rgba(10, 10, 10, 0.6);
  --panel-border: 1px solid rgba(255, 255, 255, 0.08);
  --panel-radius: 16px;
  --panel-blur: 60px;
  --tap-meta-fg: rgba(255, 255, 255, 0.7);
  /* 顶栏字标：中英文同一字号 */
  --brand-mark-word-size: clamp(1rem, 1.35vw, 1.14rem);
  /* About 等品牌长文：偏细、略疏 */
  --font-prose-zh: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  /* 功能子页：与门户一致的强调色与表面（弱琥珀，非高饱和橙） */
  --jh-tool-amber: #d4a574;
  --jh-tool-amber-bright: #f59e0b;
  --jh-tool-amber-soft: rgba(245, 158, 11, 0.28);
  --jh-tool-surface: rgba(10, 10, 10, 0.55);
  --jh-tool-inset: rgba(10, 10, 10, 0.65);
  --jh-tool-line: rgba(255, 255, 255, 0.1);
  /* 与「段落智能体」「多段工作台」主栏对齐：最大 1280px，两侧留白与 plot 页 calc(100vw - 24px) 一致 */
  --jh-content-max: 1280px;
  --jh-content-gutter: 24px;
  --jh-viewport-gutter: clamp(12px, 2vw, 24px);
  /* 门户首页：大水印起始位置，需高于双行顶栏，避免与导航叠压 */
  --hero-mast-pad-top: clamp(80px, 12vh, 168px);
  /* 抽屉 / 滑出层：高级毛玻璃（工作台轨、序位侧栏、项目美术库、全屏遮罩等） */
  --jh-drawer-glass-blur: 38px;
  --jh-drawer-glass-sat: 1.5;
  --jh-drawer-glass-layer: linear-gradient(
    168deg,
    rgba(52, 58, 86, 0.44) 0%,
    rgba(18, 20, 34, 0.58) 45%,
    rgba(32, 26, 48, 0.48) 100%
  );
  --jh-drawer-glass-veil: rgba(6, 8, 18, 0.2);
  --jh-drawer-glass-border: 1px solid rgba(255, 255, 255, 0.14);
  --jh-drawer-glass-inset: inset 0 1px 0 rgba(255, 255, 255, 0.15);
  --jh-drawer-glass-shadow: 0 40px 110px rgba(0, 0, 0, 0.58), 0 0 0 1px rgba(255, 255, 255, 0.06);
  --jh-drawer-tab-layer: linear-gradient(212deg, rgba(62, 68, 96, 0.55) 0%, rgba(26, 28, 44, 0.72) 100%);
  --jh-drawer-tab-blur: 28px;
  --jh-drawer-tab-sat: 1.38;
  --jh-drawer-scrim: rgba(2, 5, 16, 0.5);
  --jh-drawer-scrim-blur: 28px;
  --jh-drawer-scrim-sat: 1.25;
  /*
   * Calm Pro Editorial（静奢剪辑台）— 多段工作台等高密度工具页
   * 纸面层级 + 琥珀主强调 + 青蓝仅作选中/定位
   */
  --jh-calm-space-1: 4px;
  --jh-calm-space-2: 8px;
  --jh-calm-space-3: 12px;
  --jh-calm-space-4: 16px;
  --jh-calm-space-5: 24px;
  --jh-calm-space-6: 32px;
  --jh-calm-radius-sm: 8px;
  --jh-calm-radius-md: 12px;
  --jh-calm-radius-lg: 16px;
  --jh-calm-radius-pill: 999px;
  --jh-calm-surface-0: #090a0d;
  --jh-calm-surface-1: #12141a;
  --jh-calm-surface-2: #1a1d26;
  --jh-calm-surface-3: #22262f;
  --jh-calm-line: rgba(255, 255, 255, 0.08);
  --jh-calm-line-strong: rgba(255, 255, 255, 0.12);
  --jh-calm-text: rgba(248, 250, 252, 0.94);
  --jh-calm-text-secondary: rgba(203, 213, 225, 0.88);
  --jh-calm-text-muted: rgba(148, 163, 184, 0.82);
  --jh-calm-accent: var(--jh-tool-amber);
  --jh-calm-accent-soft: rgba(212, 165, 116, 0.14);
  --jh-calm-accent-border: rgba(212, 165, 116, 0.38);
  --jh-calm-focus-ring: rgba(212, 165, 116, 0.45);
  --jh-calm-select: rgba(147, 197, 253, 0.35);
  --jh-calm-select-bg: rgba(59, 130, 246, 0.12);
  --jh-calm-shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.32);
  --jh-calm-shadow-md: 0 12px 32px rgba(0, 0, 0, 0.38);
  --jh-calm-shadow-lg: 0 24px 56px rgba(0, 0, 0, 0.48);
  --jh-calm-ease: cubic-bezier(0.25, 0.1, 0.25, 1);
  --jh-calm-duration: 0.18s;
  --jh-calm-font-xs: 0.72rem;
  --jh-calm-font-sm: 0.8rem;
  --jh-calm-font-md: 0.88rem;
  --jh-calm-font-lg: 1rem;
  /* 子页背景：与门户同系灰底 + 侧光，按强度缩放（门户默认 1） */
  --jh-beam-strength: 1;
  --jh-bg-radial-strength: 1;
  --jh-canvas-opacity: 0.82;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  background-color: var(--bg-main);
  /* Win/Edge 原生 select 展开列表：避免白底 + 浅字不可读 */
  color-scheme: dark;
}
body {
  background-color: var(--bg-main);
  background-image: radial-gradient(ellipse 130% 90% at 50% 0%, rgba(28, 38, 58, 0.36) 0%, transparent 55%);
  color: var(--text-main);
  font-family: var(--font-sans), system-ui, -apple-system, sans-serif;
  font-weight: 400;
  letter-spacing: 0.02em;
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* 技术向：代码、键盘、预格式 — 全站等宽 */
code, kbd, pre, samp {
  font-family: var(--font-mono);
  font-size: 0.9em;
}

/* 制片工具子页：与门户同系灰底 + 侧光束（约 65% 强度，可读性优先） */
body.jh-page {
  --jh-beam-strength: 0.65;
  --jh-bg-radial-strength: 0.55;
  --jh-canvas-opacity: 0.68;
  background-color: var(--bg-main);
  background-image:
    radial-gradient(
      ellipse 130% 90% at 50% 0%,
      rgba(36, 38, 46, calc(0.42 * var(--jh-bg-radial-strength))) 0%,
      transparent 55%
    ),
    radial-gradient(
      ellipse 70% 50% at 92% 38%,
      rgba(255, 255, 255, calc(0.04 * var(--jh-bg-radial-strength))) 0%,
      transparent 52%
    );
  color: var(--text-main);
  font-family: var(--font-sans), "IBM Plex Sans", system-ui, sans-serif;
  font-weight: 400;
  letter-spacing: 0.02em;
}

/* 多段工作台信息密度高：背景再弱一档，避免与段落卡片抢视觉 */
body.jh-page[data-jh-nav-active="segments"],
body.jh-page[data-jh-nav-active="restyle"] {
  --jh-beam-strength: 0.5;
  --jh-bg-radial-strength: 0.42;
  --jh-canvas-opacity: 0.56;
}

/* 无限画布独立页（creative_canvas_tldraw）：顶栏透明，必须去掉全站 body 顶区蓝灰径向，否则像一条「蓝顶条」 */
body.mote-canvas-page {
  /* 与画布 #080808 一致，避免顶区透出 body（--bg-main #050508）形成色差条 */
  background-color: #080808;
  background-image: none;
  color: var(--text-main);
  --jh-beam-strength: 0;
  --jh-canvas-opacity: 0;
}
body.mote-canvas-page .light-beam {
  display: none;
}
body.mote-canvas-page #bg-canvas {
  display: none;
}

/* 子页主栏宽度：段落智能体 / 多段工作台一致 */
body.jh-page main.jh-main--sub > .wrap,
body.jh-page main.jh-main--sub > .pipeline-app,
body.jh-page main.jh-main--sub > .container,
body.jh-page main.jh-main--sub > .strategy-wrap,
body.jh-page main.jh-main--sub > .arch-wrap,
body.jh-page main.jh-main--sub > .agents-wrap,
body.jh-page main.jh-main--sub > .demo-page,
body.jh-page main.jh-main--sub > .artlib-page,
body.jh-page main.jh-main--sub > .sub-wrap,
body.jh-page main.jh-main--sub > .pc-wrap {
  max-width: min(var(--jh-content-max), calc(100vw - var(--jh-content-gutter)));
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  box-sizing: border-box;
}

/*
 * 制片主链路加宽版心：序位 / 段落智能体 / 多段工作台 / 场景摄制 / 模板中心 / 三步成片 / 总美术库。
 * 默认 .shell --max 仅 1120px；此处扩至 1680px 并保留侧栏贴边留白。
 */
body.jh-page[data-jh-nav-active="segments"],
body.jh-page[data-jh-nav-active="restyle"],
body.jh-page[data-jh-nav-active="plot"],
body.jh-page[data-jh-nav-active="pipeline"],
body.jh-page[data-jh-nav-active="scene"],
body.jh-page[data-jh-nav-active="template"],
body.jh-page[data-jh-nav-active="quick"],
body.jh-page[data-jh-nav-active="artlib"],
body.jh-page[data-jh-nav-active="profile"],
body.jh-page.artlib-route {
  --max: 1680px;
  --jh-content-max: 1680px;
  /* 笔记本常见 1366–1440 / 1920@125%≈1536：勿再用大屏 108px 硬留白 */
  --jh-content-gutter: clamp(20px, 3.2vw, 56px);
}
/* 多段工作台：左右轨 + 底栏「剪辑台」为 fixed 叠层，主栏须内缩避免压住玻璃版心 */
body.jh-page[data-jh-nav-active="segments"] {
  --hub-wb-rail-inset: 48px;
  --hub-wb-bottom-inset: 52px;
}
body.jh-page[data-jh-nav-active="segments"] .shell,
body.jh-page[data-jh-nav-active="restyle"] .shell,
body.jh-page[data-jh-nav-active="plot"] .shell,
body.jh-page[data-jh-nav-active="pipeline"] .shell,
body.jh-page[data-jh-nav-active="scene"] .shell,
body.jh-page[data-jh-nav-active="template"] .shell,
body.jh-page[data-jh-nav-active="quick"] .shell,
body.jh-page[data-jh-nav-active="profile"] .shell {
  max-width: min(1680px, calc(100vw - 2 * var(--jh-content-gutter)));
}
body.jh-page[data-jh-nav-active="segments"] .shell {
  max-width: min(
    1680px,
    calc(100vw - 2 * var(--jh-content-gutter) - 2 * var(--hub-wb-rail-inset, 0px))
  );
}
/* 左右抽屉为 fixed 叠层：展开时不再二次收窄 .shell（原逻辑在笔记本上会把主栏挤扁） */
body.jh-page[data-jh-nav-active="segments"].hub-wb-left-expanded .shell,
body.jh-page[data-jh-nav-active="segments"].hub-wb-right-expanded .shell,
body.jh-page[data-jh-nav-active="segments"].hub-wb-left-expanded.hub-wb-right-expanded .shell {
  max-width: min(
    1680px,
    calc(100vw - 2 * var(--jh-content-gutter) - 2 * var(--hub-wb-rail-inset, 0px))
  );
}
body.jh-page[data-jh-nav-active="segments"] main.jh-main--sub > .wrap {
  padding-bottom: calc(clamp(18px, 3vw, 28px) + var(--hub-wb-bottom-inset, 52px));
}
body.jh-page[data-jh-nav-active="segments"].hub-wb-narrow-viewport {
  --hub-wb-rail-inset: 44px;
}

@media (min-width: 1680px) {
  body.jh-page[data-jh-nav-active="segments"],
  body.jh-page[data-jh-nav-active="plot"],
  body.jh-page[data-jh-nav-active="pipeline"],
  body.jh-page[data-jh-nav-active="scene"],
  body.jh-page[data-jh-nav-active="template"],
  body.jh-page[data-jh-nav-active="quick"],
  body.jh-page[data-jh-nav-active="profile"],
  body.jh-page.artlib-route {
    --jh-content-gutter: clamp(48px, 5vw, 108px);
  }
}

/*
 * 制片主链路 · 响应式版心（多段 / 序位 / 段落智能体等）
 * 窄屏：减小两侧留白；左右工作台为 fixed 叠层，不挤压中间 .shell。
 */
@media (max-width: 1600px) {
  body.jh-page[data-jh-nav-active="segments"],
  body.jh-page[data-jh-nav-active="plot"],
  body.jh-page[data-jh-nav-active="pipeline"],
  body.jh-page[data-jh-nav-active="scene"],
  body.jh-page[data-jh-nav-active="template"],
  body.jh-page[data-jh-nav-active="quick"],
  body.jh-page[data-jh-nav-active="profile"],
  body.jh-page.artlib-route {
    --jh-content-gutter: clamp(16px, 2.8vw, 40px);
  }
}
@media (max-width: 1280px) {
  body.jh-page[data-jh-nav-active="segments"],
  body.jh-page[data-jh-nav-active="plot"],
  body.jh-page[data-jh-nav-active="pipeline"],
  body.jh-page[data-jh-nav-active="scene"],
  body.jh-page[data-jh-nav-active="template"],
  body.jh-page[data-jh-nav-active="quick"],
  body.jh-page[data-jh-nav-active="profile"],
  body.jh-page.artlib-route {
    --jh-content-gutter: clamp(16px, 4vw, 48px);
  }
  body.jh-page[data-jh-nav-active="segments"] .shell,
  body.jh-page[data-jh-nav-active="plot"] .shell,
  body.jh-page[data-jh-nav-active="pipeline"] .shell,
  body.jh-page[data-jh-nav-active="scene"] .shell,
  body.jh-page[data-jh-nav-active="template"] .shell,
  body.jh-page[data-jh-nav-active="quick"] .shell,
  body.jh-page[data-jh-nav-active="profile"] .shell {
    max-width: min(1680px, calc(100vw - 2 * var(--jh-content-gutter)));
  }
  body.jh-page[data-jh-nav-active="segments"] .shell {
    max-width: min(
      1680px,
      calc(100vw - 2 * var(--jh-content-gutter) - 2 * var(--hub-wb-rail-inset, 44px))
    );
  }
}
@media (max-width: 1100px) {
  body.jh-page[data-jh-nav-active="segments"],
  body.jh-page[data-jh-nav-active="plot"],
  body.jh-page[data-jh-nav-active="pipeline"],
  body.jh-page[data-jh-nav-active="scene"],
  body.jh-page[data-jh-nav-active="template"],
  body.jh-page[data-jh-nav-active="quick"],
  body.jh-page[data-jh-nav-active="profile"],
  body.jh-page.artlib-route {
    --jh-content-gutter: clamp(12px, 2.5vw, 24px);
  }
}
@media (max-width: 900px) {
  body.jh-page[data-jh-nav-active="segments"],
  body.jh-page[data-jh-nav-active="plot"],
  body.jh-page[data-jh-nav-active="pipeline"],
  body.jh-page[data-jh-nav-active="scene"],
  body.jh-page[data-jh-nav-active="template"],
  body.jh-page[data-jh-nav-active="quick"],
  body.jh-page[data-jh-nav-active="profile"],
  body.jh-page.artlib-route {
    --jh-content-gutter: var(--jh-viewport-gutter);
  }
  body.jh-page[data-jh-nav-active="segments"] {
    --hub-wb-rail-inset: 0px;
    --hub-wb-bottom-inset: 48px;
  }
  body.jh-page[data-jh-nav-active="segments"] .shell,
  body.jh-page[data-jh-nav-active="plot"] .shell,
  body.jh-page[data-jh-nav-active="pipeline"] .shell {
    padding-left: max(var(--jh-viewport-gutter), 12px);
    padding-right: max(var(--jh-viewport-gutter), 12px);
  }
}

/* 子页主内容：与门户一致的玻璃版心（wrap / pipeline / 大表单 container / 叙事页专用 wrap） */
body.jh-page main.jh-main--sub > .wrap,
body.jh-page main.jh-main--sub > .pipeline-app,
body.jh-page main.jh-main--sub > .container,
body.jh-page main.jh-main--sub > .strategy-wrap,
body.jh-page main.jh-main--sub > .arch-wrap,
body.jh-page main.jh-main--sub > .agents-wrap {
  position: relative;
  z-index: 1;
  border-radius: var(--panel-radius);
  border: var(--panel-border);
  background: var(--panel-bg);
  backdrop-filter: blur(var(--panel-blur)) saturate(1.12);
  -webkit-backdrop-filter: blur(var(--panel-blur)) saturate(1.12);
  box-shadow:
    0 24px 56px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

body.jh-page main.jh-main--sub > .wrap {
  padding: 22px clamp(18px, 4vw, 28px) 48px;
}

body.jh-page main.jh-main--sub > .pipeline-app {
  padding: 18px clamp(14px, 3vw, 24px) 56px;
  box-sizing: border-box;
}

body.jh-page main.jh-main--sub > .container {
  padding: 22px clamp(16px, 3vw, 24px) 48px;
  box-sizing: border-box;
}

body.jh-page main.jh-main--sub > .strategy-wrap,
body.jh-page main.jh-main--sub > .arch-wrap,
body.jh-page main.jh-main--sub > .agents-wrap {
  padding: 22px clamp(18px, 4vw, 28px) 56px;
  box-sizing: border-box;
}

/* 子页：主内容区下沉，顶部约 40% 全黑负空间，功能区靠下 */
.jh-main--sub {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
.jh-layout-spacer--sub {
  flex: 1 1 auto;
  min-height: 40vh;
}

/* 功能子页：去掉巨幕 MOTE 水印与标语，取消顶区占位，主内容上移 */
body.jh-page .hero-mast.hero-mast--sub {
  display: none !important;
}
body.jh-page .jh-layout-spacer--sub {
  flex: 0 0 auto !important;
  min-height: 0 !important;
}
body.jh-page .jh-main--sub {
  min-height: 0;
}

/* 多段工作台 / 段落智能体 / 序位：主栏单独滚动，滚轮只驱动当前悬停的可滚动层（配合子区域 overscroll-behavior） */
body.jh-page[data-jh-nav-active="segments"] .shell,
body.jh-page[data-jh-nav-active="plot"] .shell,
body.jh-page[data-jh-nav-active="pipeline"] .shell {
  display: flex;
  flex-direction: column;
  height: 100vh;
  height: 100dvh;
  min-height: 0;
  max-height: 100vh;
  max-height: 100dvh;
  overflow: hidden;
  padding-bottom: 0;
  box-sizing: border-box;
}
body.jh-page[data-jh-nav-active="segments"] .site-header,
body.jh-page[data-jh-nav-active="plot"] .site-header,
body.jh-page[data-jh-nav-active="pipeline"] .site-header {
  flex-shrink: 0;
}
body.jh-page[data-jh-nav-active="segments"] main.jh-main--sub,
body.jh-page[data-jh-nav-active="plot"] main.jh-main--sub,
body.jh-page[data-jh-nav-active="pipeline"] main.jh-main--sub {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

/* 段落智能体：主栏内 .container 须随内容增高，勿被 flex 压缩 + overflow 裁切 */
body.jh-page[data-jh-nav-active="plot"] main.jh-main--sub > .container {
  flex-shrink: 0;
  overflow: visible;
}

/* 项目美术库侧栏打开：主栏不再接收滚轮，仅侧栏内 .hub-proj-art-dialog__scroller 滚动 */
body.jh-page[data-jh-nav-active="segments"].hub-proj-art-modal-open main.jh-main--sub {
  overflow: hidden !important;
}

/* 总美术库「保存到项目美术库」弹层打开：锁定整页滚动，避免背后内容跟滚 */
html.artlib-copy-modal-open,
body.artlib-copy-modal-open {
  overflow: hidden !important;
}
/* 段落智能体：主标题在 .container 内首块，与下方表单共用同一玻璃黑框（无嵌套第二张卡） */
body.jh-page main.jh-main--sub > .container > .jh-main-hero-top {
  width: 100%;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body.jh-page main.jh-main--sub > .container > .jh-main-hero-top .hub-page-hero--plot-in-card {
  margin: 0 0 clamp(22px, 4vw, 34px);
  padding: 0 0 clamp(18px, 3vw, 28px);
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  overflow: visible;
}
body.jh-page main.jh-main--sub > .container > .jh-main-hero-top .hub-page-hero--plot-in-card::before,
body.jh-page main.jh-main--sub > .container > .jh-main-hero-top .hub-page-hero--plot-in-card::after {
  display: none;
}
body.jh-page main.jh-main--sub > .container > .jh-main-hero-top .hub-page-hero--plot-in-card {
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}
/* 功能子页：顶栏不要通栏深色「盒底」，与页面背景融为一体（导航仍在，仅去掉整条背景） */
body.jh-page .site-header {
  padding-top: 12px;
  margin-bottom: 12px;
  background: transparent !important;
  border: none !important;
  border-radius: 0;
  box-shadow: none !important;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

/* ========== 功能子页：与门户统一的排版与控件（玻璃、细边框、IBM Plex / Inter） ========== */
body.jh-page main.jh-main--sub .wrap > h1:first-child,
body.jh-page main.jh-main--sub .pipeline-header h1:not(.pipeline-page-title) {
  font-family: var(--font-sans), "IBM Plex Sans", system-ui, sans-serif;
  font-weight: 400;
  font-size: clamp(1.05rem, 1.55vw, 1.3rem);
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.92);
  background: none !important;
  -webkit-background-clip: unset !important;
  background-clip: unset !important;
  -webkit-text-fill-color: unset !important;
  margin-bottom: 0.35em;
}

body.jh-page main.jh-main--sub .pipeline-header h1.pipeline-page-title {
  background: none !important;
  -webkit-background-clip: unset !important;
  background-clip: unset !important;
  -webkit-text-fill-color: unset !important;
  color: inherit;
}

body.jh-page .card h2,
body.jh-page .wrap h2,
body.jh-page .panel h2,
body.jh-page .pipeline-app h2 {
  font-family: var(--font-sans), "IBM Plex Sans", system-ui, sans-serif;
  font-weight: 500;
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.88);
  margin: 0 0 10px;
}

body.jh-page label {
  display: block;
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: rgba(168, 180, 198, 0.88);
  margin-top: 12px;
  margin-bottom: 6px;
}
body.jh-page .card > h2 + label,
body.jh-page .card > .dash-section-title + label {
  margin-top: 4px;
}
body.jh-page .card > h2:first-child {
  margin-top: 0;
}

body.jh-page input:not([type="checkbox"]):not([type="radio"]),
body.jh-page select,
body.jh-page textarea {
  border-radius: 8px;
  border: 1px solid var(--jh-tool-line);
  background: var(--jh-tool-inset);
  color: rgba(255, 255, 255, 0.92);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

/* 原生下拉列表（Windows 尤需 color-scheme + option 底色） */
select {
  color-scheme: dark;
}

select option,
select optgroup {
  background-color: #12141c;
  color: rgba(248, 250, 252, 0.95);
}

body.jh-page input:focus,
body.jh-page select:focus,
body.jh-page textarea:focus {
  outline: none;
  border-color: rgba(245, 158, 11, 0.35);
  box-shadow: 0 0 0 1px rgba(245, 158, 11, 0.12);
}

body.jh-page .card,
body.jh-page .panel:not(.jh-about-overlay__panel) {
  padding: 16px 18px;
  border: var(--panel-border);
  border-radius: var(--panel-radius);
  background: var(--panel-bg);
  backdrop-filter: blur(var(--panel-blur)) saturate(1.1);
  -webkit-backdrop-filter: blur(var(--panel-blur)) saturate(1.1);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 16px 40px rgba(0, 0, 0, 0.22);
}

body.jh-page .btn,
body.jh-page .btn-pri,
body.jh-page .btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  padding: 10px 18px;
  line-height: 1.35;
  text-decoration: none;
  vertical-align: middle;
  border-radius: 8px;
  font-family: var(--font-sans), "IBM Plex Sans", system-ui, sans-serif;
  font-weight: 600;
  letter-spacing: 0.06em;
  min-height: 42px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
body.jh-page a.btn {
  cursor: pointer;
}
body.jh-page button.btn {
  cursor: pointer;
  font: inherit;
}

body.jh-page .btn-primary,
body.jh-page .btn-pri {
  color: rgba(255, 255, 255, 0.94) !important;
  background: rgba(0, 0, 0, 0.45) !important;
  background-image: none !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

body.jh-page .btn-primary:hover:not(:disabled),
body.jh-page .btn-pri:hover:not(:disabled) {
  filter: none !important;
  border-color: rgba(245, 158, 11, 0.42) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 0 28px rgba(245, 158, 11, 0.1);
}

body.jh-page .btn-ghost {
  color: rgba(240, 245, 255, 0.9) !important;
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  box-shadow: none !important;
}

body.jh-page .btn-ghost:hover:not(:disabled) {
  border-color: rgba(255, 255, 255, 0.18) !important;
  background: rgba(255, 255, 255, 0.07) !important;
}

body.jh-page .btn-warn {
  background: rgba(180, 60, 50, 0.18) !important;
  color: rgba(255, 220, 215, 0.95) !important;
  border: 1px solid rgba(255, 120, 100, 0.35) !important;
}

body.jh-page table th {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--tap-meta-fg) !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
}

body.jh-page table td {
  border-color: rgba(255, 255, 255, 0.06) !important;
  color: rgba(230, 235, 242, 0.85);
}

body.jh-page .tabs button {
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(220, 228, 238, 0.85);
}

body.jh-page .tabs button.on {
  border-color: rgba(245, 158, 11, 0.4) !important;
  color: rgba(255, 255, 255, 0.92) !important;
  background: rgba(245, 158, 11, 0.08) !important;
}

body.jh-page .hint,
body.jh-page .lead {
  color: rgba(160, 172, 190, 0.9);
}

body.jh-page .mote-llm-billing-note {
  display: block;
  margin: 0 0 8px;
  padding: 8px 10px;
  font-size: 0.75rem;
  line-height: 1.5;
  color: rgba(210, 220, 235, 0.95);
  background: rgba(245, 158, 11, 0.07);
  border: 1px solid rgba(245, 158, 11, 0.28);
  border-radius: 6px;
}

body.jh-page .glow-link {
  color: rgba(200, 220, 255, 0.85);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  transition: color 0.2s ease, border-color 0.2s ease;
}

body.jh-page .glow-link:hover {
  color: rgba(255, 255, 255, 0.95);
  border-bottom-color: rgba(245, 158, 11, 0.45);
}

.hero-mast--sub .grand-slogan--mast-sub {
  margin-top: clamp(4px, 1vh, 12px);
}
.hero-mast--sub .grand-slogan--mast-sub .grand-slogan__zh {
  font-size: clamp(0.62rem, 1.35vw, 0.82rem);
  letter-spacing: 0.28em;
}
.hero-mast--sub .grand-slogan--mast-sub .grand-slogan__en {
  font-size: clamp(0.45rem, 0.85vw, 0.52rem);
  letter-spacing: 0.2em;
}

/* 参数 / ID / 数值：常规体、略暗 */
.data-id,
.data-param {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--tap-meta-fg);
}

#bg-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 0;
  pointer-events: none;
  opacity: var(--jh-canvas-opacity, 0.82);
}

/* 侧向冷白光锥：白天环境光下仍可见；--jh-beam-strength 供子页缩放 */
.light-beam {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  --beam-s: var(--jh-beam-strength, 1);
  background:
    radial-gradient(
      ellipse 88% 78% at 108% 36%,
      rgba(255, 255, 255, calc(0.28 * var(--beam-s))) 0%,
      rgba(255, 255, 255, calc(0.14 * var(--beam-s))) 24%,
      rgba(255, 250, 245, calc(0.07 * var(--beam-s))) 48%,
      transparent 64%
    ),
    radial-gradient(
      ellipse 70% 55% at -8% 18%,
      rgba(200, 230, 255, calc(0.12 * var(--beam-s))) 0%,
      transparent 55%
    ),
    conic-gradient(
      from 200deg at 100% 34%,
      transparent 0deg,
      rgba(255, 255, 255, calc(0.14 * var(--beam-s))) 38deg,
      rgba(240, 248, 255, calc(0.09 * var(--beam-s))) 72deg,
      transparent 118deg
    );
}

.hero-mast {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  z-index: 2;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: var(--hero-mast-pad-top);
  text-align: center;
}
.hero-mast > .watermark-bg {
  margin-bottom: clamp(6px, 1.2vh, 16px);
}
/* 子页：巨幕水印落在上半屏背景区 */
.hero-mast--sub {
  height: min(52vh, 520px);
  padding-top: clamp(16px, 4vh, 40px);
  box-sizing: border-box;
}
.hero-mast--sub > .watermark-bg {
  font-size: clamp(3.2rem, 13vw, 8.5rem);
  margin-bottom: clamp(4px, 0.8vh, 12px);
}
.watermark-bg {
  position: relative;
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 900;
  font-size: clamp(5.2rem, 19vw, 13.5rem);
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.11);
  user-select: none;
  white-space: nowrap;
  line-height: 1;
}
.grand-slogan {
  margin-top: clamp(6px, 1.2vh, 18px);
  max-width: min(42rem, 92vw);
  padding: 0 20px;
}
.grand-slogan__zh {
  font-family: var(--font-brand-zh);
  font-weight: 200;
  font-size: clamp(0.76rem, 2vw, 1.02rem);
  letter-spacing: 0.4em;
  line-height: 1.55;
  margin: 0 0 0.45rem;
}
.grand-slogan__en {
  font-family: var(--font-mono);
  font-size: clamp(0.5rem, 1.05vw, 0.62rem);
  font-weight: 400;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  line-height: 1.45;
  margin: 0;
}
.sweep-shimmer {
  background: linear-gradient(
    92deg,
    rgba(245, 248, 255, 0.9) 0%,
    rgba(245, 248, 255, 0.9) 36%,
    rgba(120, 195, 255, 0.98) 50%,
    rgba(245, 248, 255, 0.9) 64%,
    rgba(245, 248, 255, 0.9) 100%
  );
  background-size: 280% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: ice-sweep 32s linear infinite;
}
@keyframes ice-sweep {
  0% { background-position: 120% 0; }
  100% { background-position: -120% 0; }
}

.shell {
  position: relative;
  z-index: 5;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--shell-pad-x) 64px;
  min-height: 100vh;
}
main#top {
  display: flex;
  flex-direction: column;
  min-height: calc(100svh - 120px);
}
/* 指挥中心与流水线沉底：上方约 40% 负空间 */
.layout-spacer {
  flex: 1 1 auto;
  min-height: 40vh;
}

/* 顶栏：独立玻璃卡片（全站工具栏 — 经典排版） */
.site-header {
  padding: 14px 16px 12px;
  margin-bottom: 20px;
  border: var(--panel-border);
  border-radius: var(--panel-radius);
  background: var(--panel-bg);
  backdrop-filter: blur(var(--panel-blur)) saturate(1.1);
  -webkit-backdrop-filter: blur(var(--panel-blur)) saturate(1.1);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.22);
}
.site-header__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  padding-bottom: 10px;
}
.site-header__brand-slot {
  flex: 0 0 auto;
}

/* 顶栏 · 核燃料 HUD（电量槽，点击打开 EnergyCenterModal，无 href 跳转） */
.mote-energy-hud {
  flex: 0 0 auto;
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  text-align: left;
  font: inherit;
  color: inherit;
  -webkit-tap-highlight-color: transparent;
  position: relative;
  border-radius: 6px;
  transition: filter 0.35s ease, background 0.35s ease;
}
.mote-energy-hud:hover {
  filter: drop-shadow(0 0 10px rgba(245, 158, 11, 0.2));
  background: rgba(245, 158, 11, 0.04);
}
.mote-energy-hud:focus-visible {
  outline: 1px solid rgba(251, 191, 36, 0.55);
  outline-offset: 3px;
}
.mote-energy-hud__shell {
  position: relative;
  display: block;
  padding: 2px 3px 1px;
  border-radius: 6px;
}
/* 悬停：背景微粒向能量槽汇聚（伪元素簇 + 位移动画） */
.mote-energy-hud__particles {
  pointer-events: none;
  position: absolute;
  z-index: 0;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  overflow: visible;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.mote-energy-hud:hover .mote-energy-hud__particles {
  opacity: 1;
}
.mote-energy-hud__particles::before {
  content: "";
  position: absolute;
  left: 10%;
  top: 18%;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: rgba(254, 243, 199, 0.95);
  box-shadow:
    -14px 8px 0 0 rgba(251, 191, 36, 0.7),
    6px -12px 0 0 rgba(245, 158, 11, 0.55),
    -24px -2px 0 0 rgba(251, 191, 36, 0.5),
    16px 6px 0 0 rgba(217, 119, 6, 0.55),
    -8px -14px 0 0 rgba(254, 243, 199, 0.45);
}
.mote-energy-hud:hover .mote-energy-hud__particles::before {
  animation: moteEnergyParticlesGather 1.05s ease-in-out infinite;
}
@keyframes moteEnergyParticlesGather {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 0.75;
  }
  100% {
    transform: translate(48px, 26px) scale(0.25);
    opacity: 1;
  }
}
.mote-energy-hud__stack {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 5px;
  min-width: 112px;
  max-width: min(42vw, 200px);
}
.mote-energy-hud__row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.mote-energy-hud__reactor {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  flex-shrink: 0;
  background: radial-gradient(circle at 30% 30%, #fef3c7, #f59e0b 42%, #78350f);
  box-shadow:
    0 0 0 1px rgba(251, 191, 36, 0.35),
    0 0 10px rgba(245, 158, 11, 0.45);
}
.mote-energy-hud__nums {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.06em;
  color: rgba(253, 230, 168, 0.88);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  flex-wrap: nowrap;
}
.mote-energy-hud__cu-plus {
  display: inline-block;
  margin-left: 1px;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  color: rgba(253, 230, 168, 0.95);
  opacity: 0.3;
  vertical-align: middle;
  transition: opacity 0.28s ease, color 0.28s ease;
}
.mote-energy-hud:hover .mote-energy-hud__cu-plus {
  opacity: 1;
  color: rgba(255, 251, 235, 1);
}
.mote-energy-hud__sep {
  color: rgba(255, 255, 255, 0.28);
  margin: 0 1px;
}
.mote-energy-hud__unit {
  color: rgba(180, 190, 205, 0.65);
  letter-spacing: 0.12em;
}
.mote-energy-hud__track {
  position: relative;
  display: block;
  height: 3px;
  border-radius: 1px;
  background: rgba(0, 0, 0, 0.45);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.06),
    0 0 12px rgba(245, 158, 11, 0.08);
  overflow: hidden;
  transition: box-shadow 0.35s ease;
}
.mote-energy-hud:hover .mote-energy-hud__track {
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.08),
    0 0 14px rgba(245, 158, 11, 0.42),
    0 0 26px rgba(251, 191, 36, 0.28),
    0 0 40px rgba(251, 191, 36, 0.12);
}
.mote-energy-hud__fill {
  display: block;
  height: 100%;
  width: 74.5%;
  border-radius: inherit;
  background: linear-gradient(
    90deg,
    rgba(120, 53, 15, 0.95) 0%,
    rgba(217, 119, 6, 0.98) 38%,
    rgba(251, 191, 36, 1) 72%,
    rgba(254, 243, 199, 0.92) 100%
  );
  box-shadow:
    0 0 8px rgba(251, 191, 36, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transition: width 0.35s ease;
}
.mote-energy-hud:hover .mote-energy-hud__fill {
  box-shadow:
    0 0 14px rgba(251, 191, 36, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.32);
}
.mote-energy-hud:hover .mote-energy-hud__nums {
  color: rgba(255, 247, 237, 0.95);
}

/* CU 数字：扣费「坠落」/ 充值「飞升」（由 mote:cu-balance-deduct | topup 触发） */
#moteCuCurrent,
#moteCuCurrentDock {
  display: inline-block;
  transform-origin: 50% 50%;
  will-change: transform, color, text-shadow;
}
@keyframes mote-cu-drop-ember {
  0% {
    transform: translateY(0) scale(1);
    color: rgba(253, 230, 168, 0.88);
    text-shadow: none;
  }
  30% {
    transform: translateY(5px) scale(0.98);
    color: #fb7185;
    text-shadow: 0 3px 14px rgba(248, 113, 113, 0.55);
  }
  55% {
    transform: translateY(11px) scale(0.96);
    color: #ef4444;
    text-shadow: 0 5px 20px rgba(239, 68, 68, 0.45);
  }
  100% {
    transform: translateY(0) scale(1);
    color: rgba(253, 230, 168, 0.88);
    text-shadow: none;
  }
}
@keyframes mote-cu-rise-gold {
  0% {
    transform: translateY(0) scale(1);
    color: rgba(253, 230, 168, 0.88);
    text-shadow: none;
  }
  35% {
    transform: translateY(-9px) scale(1.04);
    color: #fde68a;
    text-shadow: 0 -2px 16px rgba(251, 191, 36, 0.75), 0 0 22px rgba(245, 158, 11, 0.45);
  }
  70% {
    transform: translateY(-3px) scale(1.02);
    color: #fbbf24;
    text-shadow: 0 0 12px rgba(251, 191, 36, 0.5);
  }
  100% {
    transform: translateY(0) scale(1);
    color: rgba(253, 230, 168, 0.88);
    text-shadow: none;
  }
}
.mote-energy-hud__cu--deduct {
  animation: mote-cu-drop-ember 0.65s cubic-bezier(0.36, 1.15, 0.55, 1) both;
}
.mote-energy-hud__cu--topup {
  animation: mote-cu-rise-gold 0.78s cubic-bezier(0.28, 1.05, 0.55, 1) both;
}
@media (prefers-reduced-motion: reduce) {
  .mote-energy-hud__cu--deduct,
  .mote-energy-hud__cu--topup {
    animation: none;
  }
}

/* 首次进入：充电式扫描（一次性） */
.mote-energy-hud--charge-init .mote-energy-hud__track::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 38%;
  max-width: 72px;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(254, 243, 199, 0.55) 45%,
    rgba(251, 191, 36, 0.85) 50%,
    rgba(254, 243, 199, 0.55) 55%,
    transparent 100%
  );
  filter: blur(0.3px);
  animation: moteEnergyChargeScan 1.65s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
@keyframes moteEnergyChargeScan {
  0% {
    transform: translateX(-120%);
    opacity: 0;
  }
  12% {
    opacity: 1;
  }
  100% {
    transform: translateX(320%);
    opacity: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .mote-energy-hud:hover .mote-energy-hud__particles::before {
    animation: none !important;
  }
  .mote-energy-hud--charge-init .mote-energy-hud__track::after {
    animation: none !important;
  }
}

.site-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex: 1 1 220px;
  min-width: 0;
  max-width: min(920px, 92vw);
  margin-left: auto;
  margin-right: auto;
}
.site-nav__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px 4px;
  width: 100%;
}
.site-nav a {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.48);
  text-decoration: none;
  padding: 5px 8px;
  border-radius: 2px;
  transition: color 0.2s ease, background 0.2s ease;
}
.site-nav a:hover {
  color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.04);
}
.site-nav a.site-nav__link--active {
  color: rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.06);
}
.site-nav .site-nav__sep {
  color: rgba(255, 255, 255, 0.12);
  font-size: 0.65rem;
  user-select: none;
  padding: 0 2px;
}
.site-header__tools {
  flex: 0 0 auto;
  margin-left: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 6px 10px;
}
/* 顶栏右侧：账户 + 入口 + CU 条（无外层卡片，与顶栏背景一体） */
.site-header__cu-rail {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 6px;
  min-width: min(200px, 46vw);
  max-width: min(280px, 92vw);
  padding: 2px 0 4px;
  border-radius: 0;
  border: none;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.jh-header-userbar__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 6px 10px;
  width: 100%;
  min-width: 0;
}
.jh-header-userbar__lower {
  display: flex;
  flex-direction: column;
  gap: 3px;
  width: 100%;
  min-width: 0;
}
.jh-header-cu-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  width: 100%;
  min-width: 0;
}
.jh-header-master-shot-slot {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  min-height: 28px;
}
.jh-header-master-shot-slot:empty {
  display: none;
}
.jh-header-master-shot-slot .mote-master-shot-top-btn {
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.28) inset,
    0 6px 20px rgba(0, 0, 0, 0.32);
}
.jh-header-cu-row .mote-energy-hud {
  flex: 1 1 auto;
  min-width: 0;
  width: auto;
}
.jh-header-userbar__actions-row {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  width: 100%;
  min-height: 0;
}
.jh-header-userbar__actions-row .jh-header-userbar__mid {
  width: auto;
  flex: 0 0 auto;
  padding-top: 0;
}
.jh-header-userbar__mid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
  width: 100%;
  min-width: 0;
  padding-top: 1px;
}
.jh-header-id-slot:empty {
  display: none;
}
.jh-header-id-slot:not(:empty) {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}
.jh-header-userbar__link {
  flex-shrink: 0;
  padding: 4px 8px;
  font-size: 8px;
  letter-spacing: 0.12em;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(0, 0, 0, 0.15);
}
.jh-header-userbar__link:hover {
  border-color: rgba(251, 191, 36, 0.28);
  background: rgba(251, 191, 36, 0.08);
}
.site-header__cu-rail .jh-user-auth-slot {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin: 0;
  flex: 1 1 auto;
  min-width: 0;
}
.jh-user-bar-row {
  display: flex;
  align-items: center;
  gap: 8px 10px;
  min-width: 0;
  flex: 1 1 auto;
}
.site-header__cu-rail .mote-energy-hud {
  margin: 0;
  width: 100%;
  align-self: stretch;
  border-radius: 8px;
  padding: 1px 0 0;
}
.site-header__cu-rail .mote-energy-hud__shell {
  padding: 0 1px;
}
.site-header__cu-rail .mote-energy-hud__stack {
  min-width: 0;
  max-width: none;
  width: 100%;
}
.mote-energy-hud__stack--cu-foot {
  flex-direction: row;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
}
.site-header__cu-rail .mote-energy-hud__stack--cu-foot {
  max-width: none;
}
.mote-energy-hud__cu-col {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.mote-energy-hud__row--mini {
  gap: 5px;
}
.site-header__cu-rail .mote-energy-hud__track {
  flex: 1 1 auto;
  min-width: 36px;
  height: 4px;
  border-radius: 2px;
}
.site-header__cu-rail .mote-energy-hud__nums {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: rgba(253, 230, 180, 0.92);
}
.site-header__cu-rail .mote-energy-hud__unit {
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: rgba(180, 195, 214, 0.78);
}
.site-header__cu-rail .mote-energy-hud__reactor {
  width: 4px;
  height: 4px;
}
.site-header__cu-rail .jh-user-cluster {
  display: block;
  width: auto;
  max-width: 100%;
  min-width: 0;
}
.site-header__cu-rail .jh-user-bar-row {
  width: auto;
  justify-content: flex-end;
  box-sizing: border-box;
}
.site-header__cu-rail .jh-user-trigger {
  width: auto;
  max-width: min(148px, 38vw);
  flex: 0 1 auto;
  min-width: 0;
  padding: 3px 8px 3px 3px;
  gap: 7px;
  border: none;
  border-radius: 8px;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.site-header__cu-rail .jh-user-trigger.jh-user-trigger--icon-only {
  max-width: none;
  padding: 2px 6px 2px 2px;
  gap: 5px;
  border-radius: 999px;
}
.site-header__cu-rail .jh-user-trigger.jh-user-trigger--icon-only:hover {
  transform: none;
  border: none;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}
.site-header__cu-rail .jh-user-trigger:hover {
  transform: none;
  border: none;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: none;
}
.site-header__cu-rail .jh-user-trigger:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px rgba(251, 191, 36, 0.38);
}
.site-header__cu-rail .jh-user-avatar {
  width: 30px;
  height: 30px;
}
.site-header__cu-rail .jh-user-avatar__letter {
  font-size: 0.68rem;
}
.site-header__cu-rail .jh-user-name {
  margin-top: 0;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  max-width: 6rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.92);
}
.site-header__cu-rail .jh-user-id--header-mid {
  margin-top: 0;
  font-size: 7px;
  letter-spacing: 0.08em;
  flex-shrink: 0;
  color: rgba(148, 163, 184, 0.88);
}
.site-header__cu-rail .top-settings {
  display: inline-flex;
  align-self: flex-end;
  padding: 8px 14px;
  border-radius: 10px;
  border: 1px solid rgba(251, 191, 36, 0.22);
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
}
.jh-user-auth-slot {
  display: inline-flex;
  align-items: center;
}
.jh-header-auth-pending {
  opacity: 0.72;
  cursor: wait;
  pointer-events: none;
  user-select: none;
}
.jh-user-cluster {
  position: relative;
  display: inline-flex;
  align-items: center;
  width: 100%;
}
.jh-user-trigger {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  width: 100%;
  box-sizing: border-box;
  padding: 8px 12px 8px 8px;
  border: 1px solid rgba(251, 191, 36, 0.2);
  border-radius: 14px;
  cursor: pointer;
  font: inherit;
  color: inherit;
  text-align: left;
  background:
    linear-gradient(135deg, rgba(254, 243, 199, 0.06) 0%, transparent 55%),
    rgba(255, 255, 255, 0.03);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 4px 20px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition:
    border-color 0.22s ease,
    background 0.22s ease,
    box-shadow 0.22s ease,
    transform 0.18s ease;
}
.jh-user-trigger:hover {
  border-color: rgba(251, 191, 36, 0.42);
  background:
    linear-gradient(135deg, rgba(254, 243, 199, 0.1) 0%, transparent 50%),
    rgba(255, 255, 255, 0.05);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.09),
    0 0 0 1px rgba(245, 158, 11, 0.12),
    0 10px 32px rgba(0, 0, 0, 0.32);
  transform: translateY(-1px);
}
.jh-user-trigger:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 2px rgba(251, 191, 36, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.jh-user-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid rgba(251, 191, 36, 0.35);
  background:
    radial-gradient(circle at 32% 28%, rgba(254, 243, 199, 0.25) 0%, transparent 55%),
    linear-gradient(165deg, rgba(30, 22, 12, 0.95) 0%, rgba(8, 8, 12, 1) 100%);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.35),
    0 6px 18px rgba(245, 158, 11, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
}
.jh-user-avatar__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.jh-user-avatar__letter {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: rgba(253, 230, 168, 0.98);
}
.jh-user-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  line-height: 1.3;
  min-width: 0;
  flex: 1 1 auto;
}
.jh-user-name {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.94);
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.jh-user-id {
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.78);
  margin-top: 2px;
}
.jh-user-popover {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 168px;
  padding: 6px 0;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(10, 12, 18, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.5);
  z-index: 30010;
}
/* 顶栏账户：类 Google 账户卡（邮箱 + 大头像 + 问候 + 主按钮） */
.jh-user-popover--account {
  min-width: min(292px, calc(100vw - 24px));
  max-width: min(320px, calc(100vw - 20px));
  padding: 0;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(24, 26, 32, 0.98);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.55);
}
.jh-user-popover__topbar {
  position: relative;
  padding: 12px 40px 10px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.jh-user-popover__email {
  display: block;
  font-size: 0.72rem;
  line-height: 1.4;
  color: rgba(148, 163, 184, 0.95);
  text-align: center;
  word-break: break-all;
}
.jh-user-popover__close {
  position: absolute;
  top: 6px;
  right: 8px;
  width: 32px;
  height: 32px;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: rgba(203, 213, 225, 0.85);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.jh-user-popover__close:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}
.jh-user-popover__hero {
  display: flex;
  justify-content: center;
  padding: 16px 16px 6px;
}
.jh-user-avatar--popover {
  width: 56px;
  height: 56px;
}
.jh-user-avatar--popover .jh-user-avatar__letter {
  font-size: 1.25rem;
}
.jh-user-popover__greet {
  margin: 0 0 14px;
  padding: 0 18px;
  text-align: center;
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: rgba(248, 250, 252, 0.96);
}
.jh-user-popover__pill {
  display: block;
  margin: 0 16px 12px;
  padding: 11px 16px;
  text-align: center;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: rgba(254, 243, 199, 0.98);
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  transition:
    border-color 0.15s ease,
    background 0.15s ease,
    color 0.15s ease;
}
.jh-user-popover__pill:hover {
  border-color: rgba(251, 191, 36, 0.38);
  background: rgba(251, 191, 36, 0.1);
  color: #fff;
}
.jh-user-popover__row {
  display: block;
  width: 100%;
  padding: 12px 18px;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-align: center;
  text-decoration: none;
  color: rgba(226, 232, 240, 0.92);
  background: none;
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  cursor: pointer;
  font: inherit;
  box-sizing: border-box;
  transition: background 0.15s ease;
}
.jh-user-popover__row:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}
.jh-user-popover__row--logout {
  color: rgba(252, 165, 165, 0.95);
}
.jh-user-popover__fine {
  margin: 0;
  padding: 10px 16px 16px;
  text-align: center;
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  color: rgba(148, 163, 184, 0.72);
}
.jh-user-trigger__chev {
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid rgba(186, 198, 214, 0.8);
  flex-shrink: 0;
  margin: 0 1px 0 0;
  opacity: 0.9;
}
.jh-user-popover__link {
  display: block;
  width: 100%;
  padding: 10px 14px;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: rgba(230, 235, 245, 0.92);
  text-decoration: none;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  font: inherit;
}
.jh-user-popover__link:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}
.jh-user-popover__link--btn {
  color: rgba(248, 180, 180, 0.95);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin-top: 2px;
  padding-top: 12px;
}
.top-about {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.48);
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 2px;
  transition: color 0.2s ease, background 0.2s ease;
}
.top-about:hover {
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.04);
}
.jh-header-userbar__link.jh-header-userbar__link--pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 5px 13px;
  border-radius: 999px;
  border-color: rgba(217, 119, 6, 0.18);
  color: rgba(255, 255, 255, 0.62);
  background: rgba(2, 6, 23, 0.14);
  box-shadow: none;
  transition:
    color 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}
.jh-header-userbar__link.jh-header-userbar__link--pill:hover,
.jh-header-userbar__link.jh-header-userbar__link--pill:focus-visible {
  color: rgba(255, 240, 170, 0.92);
  border-color: rgba(252, 211, 77, 0.42);
  background:
    linear-gradient(135deg, rgba(252, 211, 77, 0.1), rgba(15, 23, 42, 0.26)),
    rgba(2, 6, 23, 0.18);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.035),
    0 0 0 1px rgba(252, 211, 77, 0.08),
    0 8px 18px rgba(2, 6, 23, 0.16);
  transform: translateY(-1px);
}
.jh-header-userbar__link--refuel.jh-header-userbar__link--pill {
  border-color: rgba(217, 119, 6, 0.18);
  color: rgba(255, 255, 255, 0.64);
}
.top-settings {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.48);
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 2px;
  transition: color 0.2s ease, background 0.2s ease, filter 0.2s ease;
}
.top-settings:hover {
  color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.04);
  filter: none;
}

/* 门户首页：顶栏无通栏玻璃底/毛玻璃/底边线，导航浮在星空背景上 */
body.portal-home .site-header {
  background: transparent !important;
  border: none !important;
  border-radius: 0;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  margin-bottom: 0;
  padding: 16px clamp(16px, 3vw, 32px) 14px;
}
body.portal-home .site-header__row {
  padding-bottom: 0;
  align-items: center;
}
/* 门户首页：账户头像+三角在顶栏最右侧，无独立「底框」卡片（避免继承 .jh-user-trigger 玻璃壳） */
body.portal-home .site-header__cu-rail .jh-user-trigger.jh-user-trigger--icon-only,
body.portal-home .site-header__cu-rail .jh-user-trigger.jh-user-trigger--icon-only:hover {
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  transform: none !important;
}
body.portal-home .site-header__cu-rail .jh-user-trigger.jh-user-trigger--icon-only:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px rgba(251, 191, 36, 0.38) !important;
}
body.portal-home .site-nav {
  max-width: min(920px, 92vw);
}
body.portal-home .grand-slogan__en {
  letter-spacing: 0.24em;
}
body.portal-home {
  --hero-mast-pad-top: clamp(72px, 10vh, 148px);
  --portal-bg-veil: none;
  --jh-canvas-opacity: 0.04;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  background-color: #0a0a0f;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
/* 轻遮罩：前景可读，尽量保留背景质感与清晰度 */
body.portal-home::before {
  content: "";
  position: fixed;
  inset: 0;
  display: none;
  background: var(--portal-bg-veil);
  z-index: 1;
  pointer-events: none;
}
/* 旧静态门户图关闭，避免动态视频循环淡出时闪回旧主页图。 */
.portal-home-backdrop {
  position: fixed;
  inset: 0;
  z-index: 0;
  display: none;
  margin: 0;
  padding: 0;
  pointer-events: none;
  overflow: hidden;
  background-color: #0a0a0f;
  transform: translateZ(0);
}
.portal-home-backdrop__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  border: 0;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
  image-rendering: auto;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  filter: brightness(1.04) saturate(1.08) contrast(1.02);
}
body.portal-home .mote-video-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background: #080604;
  isolation: isolate;
}
body.portal-home .mote-video-bg__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center center;
  display: block;
  opacity: 1;
  will-change: opacity, transform, filter;
  filter: contrast(1.12) saturate(1.08) brightness(1.04);
  image-rendering: auto;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  user-select: none;
  -webkit-user-drag: none;
}
body.portal-home .mote-video-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  display: none;
  background: none;
  pointer-events: none;
}
.mote-video-bg--meteor .mote-video-bg__fx {
  display: none;
}
body .mote-video-bg.mote-video-bg--meteor .mote-video-bg__video {
  object-position: center center;
  filter: url("#mote-video-sharpen") contrast(1.16) saturate(1.03) brightness(1.06);
  transform: translateZ(0);
}
@media (max-aspect-ratio: 1 / 1) {
  body .mote-video-bg.mote-video-bg--meteor .mote-video-bg__video {
    inset: auto 0 auto 0;
    top: 0;
    width: 100%;
    height: auto;
    object-fit: contain;
  }
}
body .mote-video-bg.mote-video-bg--meteor::before,
body .mote-video-bg.mote-video-bg--meteor::after {
  content: "";
  position: absolute;
  inset: 0;
  display: block;
  pointer-events: none;
}
body .mote-video-bg.mote-video-bg--meteor::before {
  z-index: 4;
  background:
    radial-gradient(ellipse 78% 72% at 7% 42%, rgba(226, 171, 111, 0.5) 0%, rgba(181, 113, 58, 0.28) 30%, rgba(96, 53, 27, 0.12) 62%, transparent 100%),
    radial-gradient(ellipse 116% 54% at 50% 0%, rgba(110, 61, 34, 0.32) 0%, rgba(62, 34, 20, 0.2) 42%, transparent 82%),
    linear-gradient(180deg, rgba(36, 20, 13, 0.14) 0%, rgba(87, 49, 27, 0.07) 46%, rgba(0, 0, 0, 0.02) 100%);
  mix-blend-mode: screen;
  opacity: 0.58;
}
body .mote-video-bg.mote-video-bg--meteor::after {
  z-index: 5;
  background:
    radial-gradient(circle at 8% 36%, rgba(255, 218, 171, 0.24) 0 1px, transparent 2px),
    radial-gradient(circle at 14% 66%, rgba(255, 213, 165, 0.18) 0 1px, transparent 2px),
    radial-gradient(circle at 40% 18%, rgba(255, 225, 184, 0.14) 0 1px, transparent 2px),
    radial-gradient(circle at 88% 14%, rgba(255, 222, 176, 0.12) 0 1px, transparent 2px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 4px);
  mix-blend-mode: screen;
  opacity: 0.12;
}
.mote-video-bg--bubble .mote-video-bg__fx {
  display: none;
}
body .mote-video-bg.mote-video-bg--bubble {
  background: #000;
}
body .mote-video-bg.mote-video-bg--bubble .mote-video-bg__video {
  object-position: center center;
  filter: url("#mote-video-sharpen") contrast(1.08) saturate(1.04) brightness(1.05);
  transform: translateZ(0);
}
body .mote-video-bg.mote-video-bg--bubble::before,
body .mote-video-bg.mote-video-bg--bubble::after {
  content: "";
  position: absolute;
  inset: 0;
  display: block;
  pointer-events: none;
}
body .mote-video-bg.mote-video-bg--bubble::before {
  z-index: 4;
  background:
    radial-gradient(ellipse 86% 66% at 13% 38%, rgba(221, 171, 124, 0.22) 0%, rgba(154, 92, 48, 0.11) 36%, transparent 72%),
    radial-gradient(ellipse 96% 42% at 50% 0%, rgba(255, 219, 177, 0.12) 0%, rgba(125, 75, 43, 0.08) 42%, transparent 82%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, transparent 34%, rgba(0, 0, 0, 0.08) 100%);
  mix-blend-mode: screen;
  opacity: 0.42;
}
body .mote-video-bg.mote-video-bg--bubble::after {
  z-index: 5;
  background:
    radial-gradient(circle at 12% 32%, rgba(255, 231, 199, 0.16) 0 1px, transparent 2px),
    radial-gradient(circle at 72% 18%, rgba(255, 227, 190, 0.1) 0 1px, transparent 2px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.018) 0 1px, transparent 1px 4px);
  mix-blend-mode: screen;
  opacity: 0.08;
}
.mote-video-bg--cosmos70 .mote-video-bg__fx {
  display: none;
}
body .mote-video-bg.mote-video-bg--cosmos70 {
  background: #03060a;
}
body .mote-video-bg.mote-video-bg--cosmos70 .mote-video-bg__video {
  object-position: center center;
  filter: contrast(0.99) saturate(1.03) brightness(0.98);
  transform: translateZ(0);
}
body .mote-video-bg.mote-video-bg--cosmos70::before,
body .mote-video-bg.mote-video-bg--cosmos70::after {
  content: "";
  position: absolute;
  inset: 0;
  display: none;
  pointer-events: none;
}
body .mote-video-bg.mote-video-bg--cosmos70::before {
  z-index: 4;
  display: block;
  background:
    radial-gradient(ellipse 42% 34% at 48% 38%, rgba(255, 218, 150, 0.14) 0%, rgba(238, 170, 80, 0.07) 38%, transparent 72%),
    radial-gradient(ellipse 76% 64% at 56% 52%, rgba(245, 180, 95, 0.08) 0%, rgba(176, 104, 42, 0.035) 42%, transparent 78%),
    linear-gradient(112deg, rgba(255, 216, 150, 0.055) 0%, transparent 36%, rgba(255, 238, 202, 0.035) 56%, transparent 88%);
  mix-blend-mode: screen;
  opacity: 0.62;
}
body .mote-video-bg.mote-video-bg--cosmos70::after {
  z-index: 5;
  display: block;
  background-image:
    radial-gradient(circle at 18% 24%, rgba(255, 238, 210, 0.075) 0 0.55px, transparent 0.85px),
    radial-gradient(circle at 72% 58%, rgba(255, 232, 196, 0.055) 0 0.55px, transparent 0.85px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.016) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.014) 0 1px, transparent 1px 4px);
  background-size: 7px 7px, 11px 11px, 100% 3px, 4px 100%;
  mix-blend-mode: soft-light;
  opacity: 0.2;
}
.mote-video-bg__fx,
.mote-video-bg__glow,
.mote-video-bg__particles,
.mote-video-bg__veil,
.mote-video-bg__tone {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.mote-video-bg__fx {
  z-index: 2;
}
.mote-video-bg__veil {
  z-index: 1;
  background:
    radial-gradient(ellipse 112% 78% at 42% 56%, rgba(211, 163, 104, 0.36) 0%, rgba(160, 105, 59, 0.28) 35%, rgba(84, 49, 25, 0.14) 72%, transparent 100%),
    radial-gradient(ellipse 70% 96% at 84% 50%, rgba(173, 96, 38, 0.28) 0%, rgba(111, 58, 26, 0.16) 48%, transparent 76%),
    linear-gradient(180deg, rgba(53, 43, 34, 0.18) 0%, rgba(154, 112, 76, 0.2) 44%, rgba(94, 58, 31, 0.18) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.1) 0%, transparent 43%, rgba(0, 0, 0, 0.14) 100%);
  mix-blend-mode: screen;
  opacity: 0.76;
  animation: mote-video-light-breathe 7s ease-in-out infinite alternate;
}
.mote-video-bg__tone {
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(10, 6, 4, 0.18) 0%, rgba(10, 6, 4, 0.02) 30%, rgba(10, 6, 4, 0.02) 70%, rgba(10, 6, 4, 0.2) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.08) 0%, transparent 42%, rgba(0, 0, 0, 0.14) 100%);
  opacity: 0.86;
}
body.portal-home .mote-video-bg__veil {
  opacity: 0.7;
}
body.portal-home .mote-video-bg__tone {
  opacity: 0.74;
}
.mote-video-bg__glow,
.mote-video-bg__particles {
  z-index: 3;
  mix-blend-mode: screen;
}
.mote-video-bg__glow {
  opacity: 1;
}
.mote-video-bg__glow::before,
.mote-video-bg__glow::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
}
.mote-video-bg__glow::before {
  background:
    radial-gradient(ellipse 96% 62% at 40% 58%, rgba(255, 226, 182, 0.16) 0%, rgba(190, 124, 62, 0.1) 42%, transparent 76%),
    radial-gradient(ellipse 52% 78% at 83% 50%, rgba(205, 113, 42, 0.12) 0%, transparent 70%),
    radial-gradient(ellipse at center, transparent 48%, rgba(12, 8, 5, 0.18) 100%);
  mix-blend-mode: screen;
  opacity: 0.76;
}
.mote-video-bg__glow::after {
  opacity: 0.16;
  background-image:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 3px),
    radial-gradient(circle at 72% 14%, rgba(255, 245, 226, 0.75) 0 1px, transparent 1.6px),
    radial-gradient(circle at 69% 21%, rgba(255, 233, 198, 0.58) 0 1.2px, transparent 1.8px),
    radial-gradient(circle at 71% 30%, rgba(255, 221, 176, 0.48) 0 1.1px, transparent 1.7px),
    radial-gradient(circle at 63% 54%, rgba(255, 232, 205, 0.38) 0 1px, transparent 1.7px);
  filter: blur(0.35px);
}
.mote-video-bg__glow-wash,
.mote-video-bg__glow-sweep {
  position: absolute;
  pointer-events: none;
  will-change: opacity, transform;
}
.mote-video-bg__glow-wash {
  inset: -12%;
  filter: blur(54px);
  transform: translate3d(0, 0, 0);
}
.mote-video-bg__glow-wash--primary {
  background:
    radial-gradient(ellipse at 28% 18%, rgba(255, 232, 205, 0.25), transparent 38%),
    radial-gradient(ellipse at 58% 48%, rgba(215, 151, 82, 0.2), transparent 50%),
    radial-gradient(ellipse at 86% 42%, rgba(133, 84, 41, 0.18), transparent 44%);
  animation: mote-video-glow-breathe 8s ease-in-out infinite;
}
.mote-video-bg__glow-wash--secondary {
  background:
    linear-gradient(115deg, rgba(255, 236, 214, 0.11) 0%, rgba(222, 158, 91, 0.1) 32%, transparent 60%),
    linear-gradient(245deg, transparent 18%, rgba(177, 112, 56, 0.1) 44%, rgba(68, 38, 22, 0.14) 100%);
  animation: mote-video-glow-breathe 11s ease-in-out -3s infinite;
}
.mote-video-bg__glow-sweep {
  left: -24%;
  top: 8%;
  width: 140%;
  height: 48%;
  background: linear-gradient(90deg, transparent, rgba(255, 235, 206, 0.1), rgba(220, 145, 74, 0.08), transparent);
  filter: blur(58px);
  animation: mote-video-glow-sweep 14s ease-in-out infinite;
}
.mote-video-bg__edge {
  position: absolute;
  left: 0;
  right: 0;
  z-index: 4;
  pointer-events: none;
}
.mote-video-bg__edge--top {
  top: 0;
  height: 11rem;
  background: linear-gradient(to bottom, rgba(10, 7, 5, 0.32), transparent);
}
.mote-video-bg__edge--bottom {
  bottom: 0;
  height: 18rem;
  background: linear-gradient(to top, rgba(10, 7, 5, 0.28), transparent);
}
.mote-video-bg__particle {
  position: absolute;
  left: var(--mote-dot-x);
  top: var(--mote-dot-y);
  width: var(--mote-dot-size);
  height: var(--mote-dot-size);
  background: rgba(255, 236, 210, 0.92);
  box-shadow:
    0 0 4px rgba(255, 220, 170, 0.56),
    0 0 11px rgba(221, 151, 82, 0.28);
  opacity: 0;
  transform: translate3d(0, 0, 0);
  animation: mote-video-particle-drift var(--mote-dot-duration) ease-in-out var(--mote-dot-delay) infinite;
  will-change: opacity, transform;
}
@keyframes mote-video-particle-drift {
  0% {
    opacity: 0;
    transform: translate3d(0, 22px, 0) scale(0.72);
  }
  18% {
    opacity: var(--mote-dot-opacity);
  }
  55% {
    opacity: calc(var(--mote-dot-opacity) * 0.72);
  }
  100% {
    opacity: 0;
    transform: translate3d(24px, -54px, 0) scale(1.18);
  }
}
@keyframes mote-video-light-breathe {
  0% {
    opacity: 0.66;
    transform: scale(1);
  }
  100% {
    opacity: 0.82;
    transform: scale(1.015);
  }
}
@keyframes mote-video-glow-breathe {
  0%,
  100% {
    opacity: 0.14;
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    opacity: 0.24;
    transform: translate3d(0, -1.5%, 0) scale(1.04);
  }
}
@keyframes mote-video-glow-sweep {
  0% {
    opacity: 0;
    transform: translate3d(-28%, 18%, 0) rotate(-18deg);
  }
  22% {
    opacity: 0.08;
  }
  54% {
    opacity: 0.05;
  }
  100% {
    opacity: 0;
    transform: translate3d(32%, -14%, 0) rotate(-18deg);
  }
}
@media (prefers-reduced-motion: reduce) {
  .mote-video-bg__veil,
  .mote-video-bg__glow-wash,
  .mote-video-bg__glow-sweep,
  .mote-video-bg__particle {
    animation: none;
  }
  .mote-video-bg__particle {
    opacity: calc(var(--mote-dot-opacity) * 0.55);
  }
}
body.portal-home #bg-canvas {
  z-index: 2;
  opacity: var(--jh-canvas-opacity, 0.14);
}
body.portal-home .light-beam {
  z-index: 3;
  --jh-beam-strength: 0.22;
}
body.portal-home--cosmos70 #bg-canvas,
body.portal-home--cosmos70 .light-beam {
  display: none !important;
}
/* Unicorn Studio 全屏 Hero（需 data-mote-unicorn-project + #moteUnicornHero） */
.mote-unicorn-hero {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background-color: #0a0806;
  background-size: cover;
  background-position: center;
}
.mote-unicorn-hero__scene {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.mote-unicorn-hero__scene canvas {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
}
body.portal-home.portal-home--unicorn .portal-home-backdrop,
body.portal-home.portal-home--unicorn #bg-canvas,
body.portal-home.portal-home--unicorn .light-beam {
  visibility: hidden !important;
}
body.portal-home.portal-home--unicorn,
body.portal-home.portal-home--unicorn-fallback {
  --portal-bg-veil: radial-gradient(
    ellipse 120% 92% at 50% 42%,
    rgba(8, 6, 4, 0.05) 0%,
    rgba(8, 6, 4, 0.15) 48%,
    rgba(6, 5, 4, 0.36) 100%
  );
}
body.portal-home.portal-home--unicorn-fallback .mote-unicorn-hero--fallback {
  background-size: cover;
  background-position: center;
}
/* 门户巨幕中央光球已移除，仅保留水印与 Slogan */
body.portal-home .portal-home-hero-mark {
  display: none !important;
}
/* 门户底部指挥区：与下方模块同轴居中（旧双卡左移已废弃） */
body.portal-home .split-dash {
  transform: none;
}
/** 首页工作空间：单栏项目指挥中心（序位入口并入当前项目操作条） */
/* 门户工作空间：与下方三列模块同宽居中，取消旧双卡左移 */
body.portal-home .split-dash.split-dash--workspace {
  transform: none;
  grid-template-columns: minmax(0, 1fr);
  width: 100%;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  gap: 0;
  margin-bottom: clamp(28px, 4vw, 40px);
}
body.portal-home .glass-panel--hub-wide {
  min-height: 0;
  height: auto;
  width: 100%;
  box-sizing: border-box;
  padding-bottom: 20px;
  overflow: visible;
}
body.portal-home .glass-panel--hub-wide .glass-panel__title--hub-dash {
  margin-bottom: 16px;
}
body.portal-home .glass-panel--hub-wide .mote-project-wall-mount {
  flex: 0 0 auto;
  min-height: 0;
  margin-bottom: 12px;
}
body.portal-home .glass-panel--hub-wide .mote-art-project-mount {
  flex: 0 0 auto;
  margin-bottom: 14px;
}
body.portal-home .glass-panel--hub-wide .dash-runs--hub-stack {
  margin-top: 0;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  max-height: none;
  overflow: visible;
}
body.portal-home .glass-panel--hub-wide .dash-pipeline-mount {
  overflow: visible;
  max-height: none;
}
body.portal-home main#top .product-grid {
  margin-top: 0;
}
body.portal-home .split-dash .glass-panel {
  background: rgba(10, 10, 12, 0.28);
  backdrop-filter: blur(56px) saturate(1.1);
  -webkit-backdrop-filter: blur(56px) saturate(1.1);
  border: 1px solid rgba(255, 255, 255, 0.085);
  box-shadow:
    0 22px 50px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
body.portal-home .split-dash .glass-panel::after {
  opacity: 0.28;
}
body.portal-home .hero-mast .grand-slogan {
  width: 100%;
  max-width: min(40rem, 94vw);
  margin-left: auto;
  margin-right: auto;
  padding: 0 clamp(16px, 4vw, 28px);
  box-sizing: border-box;
}
body.portal-home .grand-slogan__zh {
  text-align: center;
  letter-spacing: 0.36em;
  text-indent: 0;
}
body.portal-home .grand-slogan__en {
  text-align: center;
}
body.portal-home .glass-panel--sequence {
  align-items: flex-start;
  text-align: left;
}
body.portal-home .glass-panel--sequence .glass-panel__title--sequence {
  align-items: flex-start;
  width: 100%;
  margin-top: 4px;
  margin-bottom: 14px;
  gap: 10px;
}
body.portal-home .glass-panel--sequence .glass-panel__title-seq-zh {
  display: block;
  width: 100%;
  text-align: left;
  text-indent: 0.8em;
  letter-spacing: 0.8em;
  padding-left: 0;
  box-sizing: border-box;
}
body.portal-home .glass-panel--sequence .glass-panel__title-seq-en {
  text-align: left;
  text-indent: 0.52em;
  align-self: flex-start;
}
body.portal-home .glass-panel--sequence .glass-panel__hint {
  margin-left: 0;
  margin-right: 0;
  text-align: left;
  max-width: 34ch;
}
body.portal-home .glass-panel--sequence .ignite-btn--sequence {
  align-self: flex-start;
}

.brand {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}
/* 顶栏 LOGO：位图光球 + 呼吸光晕（与进入读条同款素材） */
span.brand-mote-orb:not(.mote-canvas-chrome__orb):not(.brand-mote-orb--site-header) {
  display: none !important;
  background: none !important;
  box-shadow: none !important;
}
.brand-icon-wrap {
  flex-shrink: 0;
  display: block;
  width: 50px;
  height: 50px;
  margin-top: 0;
  line-height: 0;
  overflow: visible;
  background: transparent !important;
  border: none !important;
  box-shadow: none;
  border-radius: 0 !important;
  transition: transform 0.28s ease;
}
span.brand-mote-orb.brand-mote-orb--site-header {
  display: block !important;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: url("assets/mote_brand_orb_header.png?v=22") center / contain no-repeat;
  box-shadow: none;
  animation: brand-mote-orb-breathe 3.6s ease-in-out infinite;
  transform-origin: center center;
  will-change: transform, filter;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  span.brand-mote-orb.brand-mote-orb--site-header {
    background-image: url("assets/mote_brand_orb_header@2x.png?v=22");
  }
}
img.brand-mote-orb.brand-mote-orb--bitmap {
  display: block;
  width: 50px;
  height: 50px;
  margin: 0;
  padding: 0;
  border: 0 !important;
  border-radius: 0 !important;
  outline: none;
  object-fit: contain;
  object-position: center;
  image-rendering: auto;
  -webkit-font-smoothing: antialiased;
  background: transparent;
  box-shadow: none;
  animation: brand-mote-orb-breathe 3.6s ease-in-out infinite;
  transform-origin: center center;
  will-change: transform, filter;
}
/* 画布顶栏占位 span（站点顶栏已改为位图，勿再用渐变同心圆） */
span.brand-mote-orb.mote-canvas-chrome__orb {
  position: relative;
  display: block;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: url("assets/mote_brand_orb_header.png?v=22") center / cover no-repeat;
  box-shadow: none;
  animation: brand-mote-orb-breathe 3.6s ease-in-out infinite;
  transform-origin: center center;
  will-change: transform, filter;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  span.brand-mote-orb.mote-canvas-chrome__orb {
    background-image: url("assets/mote_brand_orb_header@2x.png?v=22");
  }
}
/* 进入读条：琥珀圆环 + 中心光球（无外层圆角方框 / 无中间直角衬板） */
.mote-entry-spin {
  position: relative;
  width: 88px;
  height: 88px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.mote-entry-spin__rings {
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.1) 0%, rgba(245, 158, 11, 0.04) 42%, transparent 68%);
}
.mote-entry-spin__orbit {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid transparent;
  border-top-color: rgba(245, 180, 120, 0.95);
  border-right-color: rgba(245, 180, 120, 0.35);
  box-shadow: 0 0 18px rgba(245, 180, 120, 0.22);
  animation: mote-entry-spin-orbit 0.9s linear infinite;
}
/* 旧 CSS 渐变球已弃用，中心改用顶栏同款位图 logo */
.mote-entry-spin__orb {
  display: none;
}
.mote-entry-spin__logo {
  position: relative;
  z-index: 2;
  width: 56px;
  height: 56px;
  object-fit: contain;
  object-position: center;
  border: 0;
  border-radius: 0;
  background: transparent;
  filter: drop-shadow(0 0 10px rgba(255, 218, 145, 0.45))
    drop-shadow(0 0 22px rgba(255, 195, 115, 0.3));
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
  animation: brand-mote-orb-breathe 3.6s ease-in-out infinite;
  transform-origin: center center;
}
@keyframes mote-entry-spin-orbit {
  to {
    transform: rotate(360deg);
  }
}
@media (prefers-reduced-motion: reduce) {
  .mote-entry-spin__orbit {
    animation: none !important;
    border-top-color: rgba(245, 180, 120, 0.7);
  }
}

@keyframes brand-mote-orb-breathe {
  0%,
  100% {
    transform: scale(0.96);
    filter: brightness(0.98) saturate(1.06)
      drop-shadow(0 0 10px rgba(255, 215, 165, 0.55))
      drop-shadow(0 0 22px rgba(255, 195, 115, 0.38))
      drop-shadow(0 0 36px rgba(255, 175, 90, 0.22));
  }
  50% {
    transform: scale(1.04);
    filter: brightness(1.08) saturate(1.1)
      drop-shadow(0 0 14px rgba(255, 230, 185, 0.65))
      drop-shadow(0 0 30px rgba(255, 200, 120, 0.45))
      drop-shadow(0 0 48px rgba(255, 180, 95, 0.28));
  }
}
.brand-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  min-width: 0;
  padding: 1px 0 0;
}
/* 顶栏字标：微尘 | MOTE AI → 定位副标 → STUDIO // ORDER */
.brand-mark {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 0.75rem;
  line-height: 1.15;
}
.brand-mark-wei {
  font-family: var(--font-brand-display-zh);
  font-weight: 400;
  font-size: var(--brand-mark-word-size);
  letter-spacing: 0.38em;
  text-indent: 0.38em;
  color: rgba(252, 250, 246, 0.96);
  font-feature-settings: "kern" 1, "palt" 1;
}
body:not(.mote-canvas-page) .brand-mark-wei {
  position: relative;
  display: inline-block;
  isolation: isolate;
  padding: 0.02em 0.06em 0.07em 0;
  margin-right: -0.04em;
  font-family: "ZCOOL XiaoWei", "Noto Serif SC", "Songti SC", "STSong", serif;
  font-size: calc(var(--brand-mark-word-size) * 1.18);
  line-height: 0.98;
  letter-spacing: 0.18em;
  text-indent: 0.18em;
  color: #fff7ea;
  background: linear-gradient(116deg, #fffdf8 0%, #f4e4c4 33%, #fff6e4 50%, #c9985e 72%, #fff8ec 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 0.18px rgba(255, 248, 232, 0.22);
  text-shadow:
    0 0.5px 0 rgba(255, 248, 232, 0.24),
    0 12px 26px rgba(0, 0, 0, 0.42),
    0 0 16px rgba(212, 165, 116, 0.14);
  transform: translateY(-0.03em);
}
body:not(.mote-canvas-page) .brand-mark-wei::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: -0.15em -0.02em -0.2em -0.04em;
  border-radius: 2px;
  background:
    linear-gradient(rgba(224, 177, 112, 0.5), rgba(224, 177, 112, 0.5)) left top / 30% 1px no-repeat,
    linear-gradient(rgba(224, 177, 112, 0.5), rgba(224, 177, 112, 0.5)) left top / 1px 36% no-repeat,
    linear-gradient(rgba(255, 231, 190, 0.38), rgba(255, 231, 190, 0.38)) right bottom / 34% 1px no-repeat,
    linear-gradient(rgba(255, 231, 190, 0.38), rgba(255, 231, 190, 0.38)) right bottom / 1px 34% no-repeat,
    linear-gradient(112deg, rgba(255, 244, 219, 0.035) 0%, rgba(10, 10, 10, 0.14) 62%, rgba(214, 163, 94, 0.035) 100%);
  opacity: 0.58;
  transform: skewX(-5deg);
}
body:not(.mote-canvas-page) .brand-mark-wei::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: 0.14em;
  right: 0.46em;
  bottom: -0.1em;
  height: 1px;
  border-radius: 999px;
  background:
    linear-gradient(90deg, rgba(193, 132, 72, 0) 0%, rgba(214, 163, 94, 0.86) 18%, rgba(255, 232, 190, 0.7) 52%, rgba(174, 111, 58, 0.08) 100%);
  box-shadow: 0 0 8px rgba(214, 163, 94, 0.18);
  opacity: 0.92;
  transform: skewX(-18deg);
}
.brand-mark-sep {
  width: 1px;
  height: 1.05em;
  align-self: center;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(212, 165, 116, 0.95) 46%,
    rgba(255, 255, 255, 0) 100%
  );
  flex-shrink: 0;
  opacity: 0.88;
}
.brand-mark-en {
  display: inline-flex;
  flex-wrap: nowrap;
  align-items: baseline;
  gap: 0.18em;
  font-family: var(--font-brand-logo-en);
}
.brand-mark-mote {
  font-weight: 600;
  font-size: calc(var(--brand-mark-word-size) * 0.98);
  letter-spacing: 0.42em;
  text-indent: 0.12em;
  color: rgba(255, 255, 255, 0.98);
  font-feature-settings: "kern" 1;
}
.brand-mark-ai {
  font-weight: 400;
  font-size: 0.58em;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.48);
  vertical-align: 0.12em;
  margin-left: 0.02em;
}
.brand:hover .brand-mark-wei {
  color: rgba(255, 255, 255, 1);
}
body:not(.mote-canvas-page) .brand:hover .brand-mark-wei {
  filter: brightness(1.08);
}
.brand:hover .brand-mark-mote {
  color: #ffffff;
  letter-spacing: 0.44em;
}
.brand:hover .brand-mark-ai {
  color: rgba(245, 200, 150, 0.75);
}
/* 字标行下方 · 琥珀金副标 · 与整段字标区水平居中 */
.brand-mark-tagline {
  box-sizing: border-box;
  align-self: stretch;
  width: 100%;
  max-width: 100%;
  margin-top: 6px;
  margin-bottom: 5px;
  padding-right: 0.8em;
  font-family: var(--font-brand-zh);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.62em;
  line-height: 1.45;
  text-align: center;
  color: #e9c37a;
  opacity: 1;
  font-feature-settings: "kern" 1;
  -webkit-font-smoothing: antialiased;
  text-shadow:
    0 0.5px 0 rgba(255, 246, 224, 0.42),
    0 1px 0 rgba(12, 8, 5, 0.58),
    0 0 1px rgba(18, 12, 8, 0.45),
    0 0 22px rgba(200, 128, 48, 0.32);
}
.brand:hover .brand-mark-tagline {
  color: #f5e2b8;
  text-shadow:
    0 0.5px 0 rgba(255, 252, 240, 0.55),
    0 1px 0 rgba(12, 8, 5, 0.48),
    0 0 26px rgba(230, 168, 72, 0.42);
}
.brand-mark-tech {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 0.35em;
  font-family: var(--font-mono);
  font-size: 7px;
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: 0.2em;
  text-indent: 0;
  color: rgba(165, 178, 195, 0.55);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: min(420px, 72vw);
  align-self: flex-start;
}
.brand-mark-tech__seg {
  letter-spacing: 0.2em;
}
.brand-mark-tech__slash {
  display: inline-block;
  padding: 0 0.15em;
  letter-spacing: 0.06em;
  color: rgba(245, 158, 11, 0.38);
  font-weight: 500;
}
.brand-mark-zh {
  font-family: var(--font-brand-zh);
  font-weight: 500;
  font-size: clamp(1.02rem, 1.35vw, 1.16rem);
  letter-spacing: 0.24em;
  color: rgba(255, 252, 248, 0.94);
  text-indent: 0.12em;
  font-feature-settings: "kern" 1;
}
    .brand-mark-zh__a {
      font-weight: 400;
      opacity: 0.92;
    }
    .brand-mark-zh__b {
      font-weight: 400;
      margin-left: 0.06em;
      opacity: 1;
    }
.brand-mark-primary {
  font-family: var(--font-sans);
  font-weight: 200;
  font-size: clamp(0.62rem, 0.95vw, 0.74rem);
  letter-spacing: 0.4em;
  text-transform: uppercase;
  text-indent: 0.4em;
  color: rgba(255, 255, 255, 0.82);
  font-feature-settings: "kern" 1;
  transition: color 0.25s ease, letter-spacing 0.25s ease;
}
.brand:hover .brand-mark-primary {
  color: rgba(255, 255, 255, 0.92);
  letter-spacing: 0.42em;
}
.brand:hover .brand-mark-zh {
  color: rgba(255, 255, 255, 1);
}
.brand:hover .brand-icon-wrap {
  transform: scale(1.05);
}
.brand:hover .brand-icon-wrap {
  animation-duration: 2.6s;
}

.split-dash {
  display: grid;
  grid-template-columns: 48% 48%;
  gap: clamp(32px, 5vw, 56px);
  margin-top: auto;
  margin-bottom: clamp(48px, 8vw, 96px);
  align-items: stretch;
  flex: 0 0 auto;
}
.glass-panel,
.jh-glass {
  position: relative;
  background: var(--panel-bg);
  backdrop-filter: blur(var(--panel-blur)) saturate(1.2);
  -webkit-backdrop-filter: blur(var(--panel-blur)) saturate(1.2);
  border: var(--panel-border);
  border-radius: var(--panel-radius);
  padding: 22px 24px 20px;
  min-height: 268px;
  display: flex;
  flex-direction: column;
  box-shadow:
    0 20px 48px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.jh-glass--auto {
  min-height: 0;
}
.glass-panel > *,
.jh-glass > *,
.product-col > * {
  position: relative;
  z-index: 1;
}
.glass-panel::after,
.jh-glass::after,
.product-col::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 0;
  opacity: 0.42;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0.75)) 10px 10px / 5px 1px no-repeat,
    linear-gradient(180deg, rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0.75)) 10px 8px / 1px 5px no-repeat,
    linear-gradient(90deg, rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0.75)) calc(100% - 15px) 10px / 5px 1px no-repeat,
    linear-gradient(180deg, rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0.75)) calc(100% - 11px) 8px / 1px 5px no-repeat,
    linear-gradient(90deg, rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0.75)) 10px calc(100% - 11px) / 5px 1px no-repeat,
    linear-gradient(180deg, rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0.75)) 10px calc(100% - 15px) / 1px 5px no-repeat,
    linear-gradient(90deg, rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0.75)) calc(100% - 15px) calc(100% - 11px) / 5px 1px no-repeat,
    linear-gradient(180deg, rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0.75)) calc(100% - 11px) calc(100% - 15px) / 1px 5px no-repeat;
}
.glass-panel__eyebrow {
  font-family: var(--font-sans);
  font-weight: 100;
  font-size: 0.62rem;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.38);
  margin-bottom: 8px;
  -webkit-font-smoothing: antialiased;
}
.glass-panel__title {
  font-family: var(--font-sans), system-ui, sans-serif;
  font-weight: 400;
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 14px;
}
/* 门户双卡左：COMMAND / 项目指挥中心 同一行 */
.glass-panel__title--hub-dash {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.5rem;
  margin-bottom: 14px;
  line-height: 1.35;
}
.glass-panel__hub-cmd {
  font-family: var(--font-sans);
  font-weight: 100;
  font-size: 0.62rem;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.38);
  -webkit-font-smoothing: antialiased;
}
.glass-panel__hub-slash {
  color: rgba(255, 255, 255, 0.22);
  font-weight: 300;
  font-size: 0.95em;
}
.glass-panel__hub-zh {
  font-weight: 200;
  letter-spacing: 0.14em;
  -webkit-font-smoothing: antialiased;
}
.glass-panel__hint {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  color: var(--tap-meta-fg);
  line-height: 1.55;
  max-width: 36ch;
  margin-bottom: 8px;
}
.dash-runs--fixed {
  flex: 1;
  min-height: 0;
  max-height: 220px;
  overflow-y: auto;
  padding-right: 4px;
  margin-top: 4px;
}

/* 门户「项目指挥中心」：云端项目约 4 行内滚动 + 序位 + 画布子项目 */
body.portal-home .glass-panel--hub .dash-runs--hub-stack.dash-runs--fixed {
  max-height: none;
  overflow: visible;
}
.glass-panel--hub .dash-runs--hub-stack.dash-runs--fixed {
  max-height: min(480px, 52vh);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.dash-cloud-mount {
  flex: 0 0 auto;
}
.dash-pipeline-mount {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
}
.dash-cloud-section__title {
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(186, 198, 214, 0.75);
  margin: 0 0 6px;
}
.dash-cloud-section__link {
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: none;
  color: #7ec8ff;
  text-decoration: none;
  border-bottom: 1px solid rgba(126, 200, 255, 0.35);
}
.dash-cloud-section__link:hover {
  color: #b8e6ff;
}
.dash-cloud-scroll {
  max-height: 224px;
  overflow-y: auto;
  padding-right: 2px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.dash-cloud-scroll .dash-empty {
  margin: 12px 10px;
}
.dash-cloud-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.dash-cloud-row:last-child {
  border-bottom: none;
}
.dash-cloud-row__main {
  min-width: 0;
  flex: 1;
}
.dash-cloud-row__title {
  font-family: var(--font-sans, system-ui, sans-serif);
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(248, 250, 252, 0.94);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dash-cloud-row__meta {
  margin-top: 4px;
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 10px;
  color: rgba(148, 163, 184, 0.72);
}
.dash-cloud-row__actions {
  display: flex;
  flex-shrink: 0;
  gap: 6px;
}
.dash-cloud-btn {
  font-family: var(--font-sans, system-ui, sans-serif);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.35);
  color: rgba(226, 232, 240, 0.92);
  cursor: pointer;
}
.dash-cloud-btn:hover {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.06);
}
.dash-cloud-btn--primary {
  border-color: rgba(94, 225, 168, 0.35);
  color: rgba(220, 252, 231, 0.95);
}
.dash-cloud-btn--primary:hover {
  background: rgba(94, 225, 168, 0.12);
}
.glass-panel--pipeline {
  align-items: flex-start;
  justify-content: center;
}
.glass-panel--pipeline:not(.glass-panel--sequence) .glass-panel__title {
  font-size: clamp(1.2rem, 2.75vw, 1.65rem);
  font-weight: 400;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
  line-height: 1.25;
}
.glass-panel--pipeline.glass-panel--sequence .glass-panel__title--sequence {
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: normal;
  margin-bottom: 12px;
}
.glass-panel--sequence {
  overflow: visible;
}
.seq-grid-flag {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 8.5px;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: rgba(160, 200, 255, 0.22);
  pointer-events: none;
  z-index: 2;
  white-space: nowrap;
}
.seq-grid-flag--tl {
  top: 11px;
  left: 14px;
}
.seq-grid-flag--br {
  bottom: 13px;
  right: 14px;
}
.glass-panel__title--sequence {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 12px;
  line-height: 1.2;
}
.glass-panel__title-seq-zh {
  font-family: var(--font-sans);
  font-weight: 100;
  font-size: clamp(1.28rem, 2.9vw, 1.72rem);
  letter-spacing: 0.8em;
  text-indent: 0.8em;
  color: rgba(255, 255, 255, 0.92);
}
.glass-panel__title-seq-en {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 100;
  letter-spacing: 0.52em;
  text-indent: 0.52em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
  -webkit-font-smoothing: antialiased;
}
.ignite-btn,
.jh-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 18px;
  padding: 14px 28px;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.94);
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  animation: jh-btn-breathe 3.2s ease-in-out infinite;
}
.ignite-btn:hover,
.jh-btn:hover {
  background: rgba(0, 0, 0, 0.72);
  border-color: rgba(245, 158, 11, 0.45);
  box-shadow: 0 0 0 1px rgba(245, 158, 11, 0.15), 0 8px 32px rgba(245, 158, 11, 0.08);
  animation: none;
}
.ignite-btn--sequence {
  flex-wrap: wrap;
  gap: 2px 0;
  row-gap: 0;
  animation: jh-btn-breathe-seq 4s ease-in-out infinite;
}
.ignite-btn--sequence .ignite-btn__en,
.ignite-btn--sequence .ignite-btn__mid,
.ignite-btn--sequence .ignite-btn__zh {
  transition: text-shadow 0.22s ease, filter 0.22s ease;
}
.ignite-btn--sequence:hover {
  background: rgba(255, 255, 255, 0.045);
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.06),
    0 0 28px rgba(255, 255, 255, 0.06),
    -2px 0 14px rgba(255, 100, 180, 0.04),
    2px 0 14px rgba(100, 220, 255, 0.05);
  animation: none;
}
.ignite-btn--sequence:hover .ignite-btn__en,
.ignite-btn--sequence:hover .ignite-btn__mid,
.ignite-btn--sequence:hover .ignite-btn__zh {
  text-shadow:
    0.35px 0 0 rgba(255, 120, 200, 0.22),
    -0.35px 0 0 rgba(120, 220, 255, 0.2),
    0 0 12px rgba(255, 255, 255, 0.35);
  filter: brightness(1.06);
}
@keyframes jh-btn-breathe-seq {
  0%,
  100% {
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.03), 0 0 12px rgba(255, 255, 255, 0.03);
  }
  50% {
    border-color: rgba(255, 255, 255, 0.14);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.05), 0 0 18px rgba(255, 255, 255, 0.05);
  }
}
@keyframes jh-btn-breathe {
  0%, 100% {
    border-color: rgba(255, 255, 255, 0.09);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.04), 0 0 14px rgba(245, 158, 11, 0.06);
  }
  50% {
    border-color: rgba(255, 255, 255, 0.18);
    box-shadow: 0 0 0 1px rgba(253, 224, 171, 0.12), 0 0 22px rgba(245, 158, 11, 0.1);
  }
}

.dash-runs { min-height: 0; }
.dash-empty {
  font-size: 11px;
  font-family: var(--font-mono);
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.65;
}
.dash-empty code {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
}
.dash-runs__project-cap {
  margin: 0 0 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 11px;
  font-family: var(--font-mono);
  color: rgba(251, 191, 36, 0.85);
  line-height: 1.5;
}
body.portal-home .dash-canvas-block {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}
.dash-canvas-block {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.dash-canvas-section__title {
  margin: 0 0 6px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  font-family: var(--font-mono);
  color: rgba(212, 165, 116, 0.92);
  line-height: 1.4;
}
.dash-canvas-block__label {
  margin: 0 0 4px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-family: var(--font-mono);
  color: rgba(186, 198, 214, 0.88);
}
.dash-canvas-block__hint {
  margin: 0 0 8px;
  font-size: 0.72rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.48);
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
}
.dash-canvas-template-block {
  margin: 0 0 14px;
  padding: 0 0 12px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
}
.dash-canvas-list-block {
  padding-top: 2px;
}
.dash-art-card__new-icon {
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1;
  font-family: var(--font-mono);
  color: rgba(251, 191, 36, 0.9);
}
.dash-art-card__new-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  font-family: var(--font-mono);
  color: rgba(254, 243, 199, 0.9);
  line-height: 1.35;
}
body.portal-home .dash-art-wall--template {
  margin-bottom: 0;
}
body.portal-home .dash-art-card--template-new {
  min-height: 72px;
}
body.portal-home .dash-runs__subhead--art {
  margin-top: 2px;
}
body.portal-home .dash-art-card--draft {
  border-style: dashed;
  border-color: rgba(148, 163, 184, 0.35);
  opacity: 0.92;
}
body.portal-home .dash-art-card--draft .dash-art-card__title {
  color: rgba(186, 198, 214, 0.95);
}
.dash-runs__subhead {
  margin: 0 0 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: var(--font-mono);
  color: rgba(148, 196, 255, 0.9);
}
.dash-runs__subhint {
  margin: 0 0 10px;
  font-size: 10px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.45);
  font-family: var(--font-mono);
}
.dash-row--canvas .dash-row__title {
  color: rgba(224, 236, 255, 0.95);
}
.dash-row {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px 12px;
  align-items: center;
  padding: 12px 0;
  border-bottom: none;
  text-decoration: none;
  color: inherit;
  transition: filter 0.2s ease;
}
.dash-row:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.09) 22%,
    rgba(255, 255, 255, 0.09) 78%,
    transparent 100%
  );
  pointer-events: none;
}
.dash-row:hover {
  filter: brightness(1.08);
}
.dash-row__title {
  font-size: 0.88rem;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dash-row__id {
  margin-top: 2px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  color: var(--tap-meta-fg);
  text-transform: uppercase;
}
.dash-row__phase {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  color: var(--tap-meta-fg);
  margin-top: 6px;
  text-transform: none;
}
.dash-pill {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: var(--radius);
  border: none;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08);
  color: var(--tap-meta-fg);
  white-space: nowrap;
}
.dash-pill--run {
  color: rgba(255, 255, 255, 0.78);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1);
}
.dash-pill--ok { color: rgba(142, 207, 154, 0.65); }
.dash-pill--wait { color: rgba(255, 255, 255, 0.45); }
.dash-pill--err { color: rgba(201, 138, 138, 0.65); }

.product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(20px, 3vw, 32px);
  margin-top: 8px;
  margin-bottom: clamp(48px, 8vw, 88px);
  padding-top: clamp(24px, 4vw, 40px);
  background:
    linear-gradient(
      90deg,
      transparent 0%,
      rgba(255, 255, 255, 0.05) 12%,
      rgba(255, 255, 255, 0.05) 88%,
      transparent 100%
    ) 0 0 / 100% 1px no-repeat;
}
@media (min-width: 768px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(20px, 3vw, 36px);
  }
}
.product-col {
  position: relative;
  background: var(--panel-bg);
  backdrop-filter: blur(var(--panel-blur)) saturate(1.25);
  -webkit-backdrop-filter: blur(var(--panel-blur)) saturate(1.25);
  border: var(--panel-border);
  border-radius: var(--panel-radius);
  padding: clamp(26px, 3.5vw, 44px) clamp(20px, 2.8vw, 28px) clamp(32px, 4vw, 48px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 0;
  box-shadow:
    0 8px 28px rgba(0, 0, 0, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
.product-col__label {
  font-family: var(--font-sans), system-ui, sans-serif;
  font-weight: 400;
  font-size: clamp(1.75rem, 3.2vw, 2.35rem);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.15;
  margin-bottom: 0.5rem;
}
.product-col__zh {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.38);
  letter-spacing: 0.08em;
  margin-bottom: clamp(28px, 4vw, 40px);
}
.product-col__actions {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
}
.glow-link {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.62);
  text-decoration: none;
  padding: 9px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.glow-link:hover {
  color: rgba(255, 255, 255, 0.95);
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
}

.sys-tray {
  margin-top: 28px;
  padding-top: 22px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.05) 10%,
    rgba(255, 255, 255, 0.05) 90%,
    transparent 100%
  ) 0 0 / 100% 1px no-repeat;
}
.sys-tray summary {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  padding: 8px 0;
  cursor: pointer;
  list-style: none;
  transition: filter 0.2s ease;
}
.sys-tray summary::-webkit-details-marker { display: none; }
.sys-tray summary:hover {
  filter: brightness(1.2);
}
.sys-tray__body {
  padding: 12px 0 0;
}
.sys-tray__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  align-items: center;
}
.sys-tray__links a {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.35);
  text-decoration: none;
  transition: filter 0.2s ease;
}
.sys-tray__links a:hover {
  filter: brightness(1.25);
}

.page-foot {
  position: relative;
  z-index: 5;
  max-width: var(--max);
  margin: 0 auto;
  padding: 32px var(--shell-pad-x) 56px;
  text-align: center;
}
/* 门户主页：底栏备案（jinghe_site_footer.js）；小号、居中、弱对比，偏编辑页脚气质 */
body.portal-home .page-foot__beian {
  font-family: var(--font-sans), "IBM Plex Sans", system-ui, sans-serif;
  font-size: 0.625rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.34);
  max-width: min(920px, 100%);
  margin-left: auto;
  margin-right: auto;
  padding-top: 1.1rem;
  margin-top: 0.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.055);
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
}
body.portal-home .page-foot__beian--legal {
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  align-content: center;
  gap: 0.2em 0.1em;
  text-align: center;
  row-gap: 0.45em;
}
body.portal-home .page-foot__beian a {
  color: rgba(180, 188, 204, 0.58);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s ease, opacity 0.2s ease;
}
@media (max-width: 520px) {
  body.portal-home .page-foot__beian a {
    white-space: normal;
  }
}
body.portal-home .page-foot__beian a:hover {
  text-decoration: none;
  color: rgba(210, 218, 232, 0.82);
}
body.portal-home .page-foot__beian .jinghe-foot-sep {
  color: rgba(255, 255, 255, 0.14);
  font-weight: 200;
  font-size: 0.85em;
  padding: 0 0.55em;
  user-select: none;
  letter-spacing: 0;
}
body.portal-home .page-foot__beian .jinghe-mps-beian a {
  gap: 0.32em !important;
}
body.portal-home .page-foot__beian .jinghe-mps-beian img {
  vertical-align: middle;
  width: 11px !important;
  height: 13px !important;
  opacity: 0.92;
  filter: saturate(0.92);
}
.page-foot__note {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  line-height: 1.85;
  color: var(--meta-fg);
}
.page-foot__note code {
  font-size: 1em;
  color: var(--meta-fg);
  background: rgba(255, 255, 255, 0.04);
  padding: 1px 5px;
  border-radius: 2px;
  border: var(--line);
}
.page-foot__note--short {
  font-family: var(--font-sans, system-ui, sans-serif);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  line-height: 1.65;
  max-width: min(920px, 100%);
  margin-left: auto;
  margin-right: auto;
}
.page-foot details.jh-dev-hint {
  margin-top: 12px;
  max-width: min(920px, 100%);
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

/* About：品牌宣言弹层 */
.jh-about-overlay {
  position: fixed;
  inset: 0;
  z-index: 20000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.jh-about-overlay[hidden] {
  display: none !important;
}
.jh-about-overlay__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.jh-about-overlay__panel {
  position: relative;
  z-index: 1;
  max-width: min(92vw, 640px);
  width: 100%;
  max-height: min(88vh, 900px);
  overflow-x: hidden;
  overflow-y: auto;
  padding: 36px 32px 32px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(6, 8, 12, 0.9);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  text-align: left;
  -webkit-overflow-scrolling: touch;
}
.jh-about-overlay__hero {
  font-family: var(--font-brand-zh);
  font-weight: 200;
  font-size: clamp(1.05rem, 3.2vw, 1.42rem);
  letter-spacing: 0.38em;
  line-height: 1.75;
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.96);
  text-align: center;
}
.jh-about-overlay__mnemonic {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
  margin: 0 0 22px;
  line-height: 1.55;
  text-align: center;
}
.jh-about-overlay__story {
  margin: 4px 0 8px;
  padding-top: 4px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.jh-about-overlay__story-title {
  font-family: var(--font-prose-zh);
  font-weight: 400;
  font-size: clamp(1rem, 2.4vw, 1.2rem);
  letter-spacing: 0.16em;
  text-align: center;
  margin: 20px 0 18px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.5;
}
.jh-about-overlay__chapter {
  margin-bottom: 26px;
}
.jh-about-overlay__chapter:last-of-type {
  margin-bottom: 8px;
}
.jh-about-overlay__ch-head {
  font-family: var(--font-prose-zh);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  margin: 0 0 6px;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.45;
}
.jh-about-overlay__ch-sub {
  font-family: "IBM Plex Sans", var(--font-sans);
  font-weight: 300;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
  margin: 0 0 14px;
  line-height: 1.5;
}
.jh-about-overlay__story p {
  font-family: var(--font-prose-zh);
  font-weight: 300;
  font-size: 0.9rem;
  line-height: 1.9;
  letter-spacing: 0.045em;
  color: rgba(228, 232, 240, 0.82);
  margin: 0 0 14px;
  font-feature-settings: "kern" 1, "palt" 1;
}
.jh-about-overlay__story p:last-child {
  margin-bottom: 0;
}
.jh-about-overlay__story strong {
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
  letter-spacing: 0.02em;
}
.jh-about-overlay__meta {
  margin: 24px 0 0;
  font-size: 10px;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.35);
  text-align: center;
}
.jh-about-overlay__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.45);
  color: rgba(255, 255, 255, 0.78);
  border-radius: 2px;
  cursor: pointer;
  font-size: 1.25rem;
  line-height: 1;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.jh-about-overlay__close:hover {
  border-color: rgba(255, 255, 255, 0.22);
  color: #fff;
}

/* 能源中心 EnergyCenterModal（充值 / 会员）— 与门户琥珀深空主视觉对齐 */
.mote-ec-overlay,
.energy-center-modal {
  position: fixed;
  inset: 0;
  z-index: 20050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(10px, 2vw, 20px);
}
.mote-ec-overlay[hidden],
.energy-center-modal[hidden] {
  display: none !important;
}
.mote-ec-backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 55% at 50% -10%, rgba(245, 158, 11, 0.14), transparent 52%),
    radial-gradient(ellipse 70% 50% at 80% 100%, rgba(59, 130, 246, 0.06), transparent 45%),
    rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(48px) saturate(1.12);
  -webkit-backdrop-filter: blur(48px) saturate(1.12);
}
.mote-ec-panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: min(96vw, 1240px);
  max-height: min(92vh, 980px);
  overflow-x: hidden;
  overflow-y: auto;
  padding: clamp(32px, 3.5vw, 44px) clamp(28px, 3vw, 40px) clamp(28px, 3vw, 36px);
  border-radius: 20px;
  background:
    linear-gradient(168deg, rgba(22, 24, 32, 0.96) 0%, rgba(10, 11, 16, 0.99) 48%, rgba(14, 12, 10, 0.98) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    0 0 0 1px rgba(245, 158, 11, 0.18),
    0 0 60px rgba(245, 158, 11, 0.06),
    0 32px 96px rgba(0, 0, 0, 0.65),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(20px) saturate(1.15);
  -webkit-backdrop-filter: blur(20px) saturate(1.15);
  -webkit-overflow-scrolling: touch;
}
.mote-ec-panel__glow {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  border-radius: 20px 20px 0 0;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(251, 191, 36, 0.35) 22%,
    rgba(254, 243, 199, 0.85) 50%,
    rgba(251, 191, 36, 0.35) 78%,
    transparent 100%
  );
  pointer-events: none;
  opacity: 0.95;
}
/* 弹窗：分区用呼吸留白 + 细线，避免「公文块」感 */
.energy-center-modal__panel .mote-ec-head {
  margin-bottom: 0;
  padding-bottom: clamp(20px, 3vw, 28px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02) 0%, transparent 100%);
  border-radius: 0 0 0 0;
}
.energy-center-modal__panel .mote-ec-section {
  margin-top: 0;
  padding: clamp(22px, 3vw, 30px) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.energy-center-modal__panel .mote-ec-section:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
}
.energy-center-modal__panel .mote-ec-section--table {
  margin-top: 0;
  padding-top: clamp(22px, 3vw, 28px);
  border-top: none;
}
.mote-ec-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(8, 9, 12, 0.65);
  color: rgba(226, 232, 240, 0.88);
  border-radius: 12px;
  cursor: pointer;
  font-size: 1.15rem;
  line-height: 1;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.mote-ec-close:hover {
  border-color: rgba(251, 191, 36, 0.45);
  color: #fff;
  background: rgba(30, 22, 12, 0.88);
  box-shadow: 0 0 0 1px rgba(245, 158, 11, 0.15), 0 8px 28px rgba(0, 0, 0, 0.35);
}
.mote-ec-head {
  margin-bottom: 0;
  padding-right: 48px;
}
.mote-ec-eyebrow {
  margin: 0 0 10px;
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(253, 230, 168, 0.62);
}
.mote-ec-title {
  margin: 0 0 12px;
  font-family: var(--font-brand-display-zh, "Noto Serif SC", "Songti SC", Georgia, serif);
  font-weight: 500;
  font-size: clamp(1.55rem, 2.8vw, 2rem);
  letter-spacing: 0.16em;
  color: rgba(255, 252, 248, 0.98);
  text-shadow: 0 0 40px rgba(245, 158, 11, 0.12);
}
.mote-ec-sub {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.72;
  letter-spacing: 0.03em;
  color: rgba(203, 213, 225, 0.88);
  max-width: 48em;
}
.mote-ec-sub strong {
  font-weight: 600;
  color: rgba(254, 243, 199, 0.95);
}
.mote-ec-sub__en {
  display: block;
  margin-top: 10px;
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.55);
}
.mote-ec-section {
  margin-top: 26px;
}
.mote-ec-section--table {
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.mote-ec-h3 {
  margin: 0 0 18px;
  font-size: 0.7rem;
  font-weight: 650;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(253, 230, 168, 0.5);
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(245, 158, 11, 0.12);
  display: inline-block;
  padding-right: 0.5em;
}
.mote-ec-pack-intro {
  margin: 0 0 18px;
  font-size: 0.875rem;
  line-height: 1.72;
  color: rgba(203, 213, 225, 0.82);
  max-width: 62em;
}
.mote-ec-pack-intro strong {
  color: rgba(253, 230, 168, 0.92);
  font-weight: 600;
}
.mote-ec-refuel-hero {
  display: grid;
  grid-template-columns: minmax(0, 800px) minmax(112px, 140px);
  gap: 12px 18px;
  align-items: start;
  justify-content: start;
  margin: 0 0 12px;
}
.mote-ec-refuel-hero .mote-ec-pack-intro {
  margin-bottom: 8px;
  max-width: none;
}
.mote-ec-refuel-hero__hint {
  margin: 0;
  font-size: 0.76rem;
  line-height: 1.6;
  letter-spacing: 0.04em;
  color: rgba(253, 230, 168, 0.78);
}
.mote-ec-refuel-hero .mote-ec-handpay--inline {
  margin-top: 0;
  max-width: 140px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
  justify-self: end;
  text-align: center;
}
.mote-ec-refuel-hero .mote-ec-handpay--inline .mote-ec-handpay__title {
  margin: 0;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
}
.mote-ec-refuel-hero .mote-ec-handpay--inline .mote-ec-handpay__qr-wrap {
  padding: 7px;
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.34);
}
@media (max-width: 560px) {
  .mote-ec-refuel-hero .mote-ec-handpay--inline {
    justify-items: center;
    justify-self: center;
    text-align: center;
  }
}
@media (max-width: 980px) {
  .mote-ec-refuel-hero {
    grid-template-columns: 1fr;
  }
}
.mote-ec-seg-footnote {
  margin: 16px 0 0;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(0, 0, 0, 0.22);
  line-height: 1.65;
  font-size: 0.78rem;
}
.mote-ec-seg-footnote strong {
  color: rgba(226, 232, 240, 0.95);
  font-weight: 600;
}
.mote-ec-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: clamp(12px, 1.8vw, 16px);
}
@media (min-width: 960px) {
  .mote-ec-cards {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}
@media (min-width: 640px) and (max-width: 959px) {
  .mote-ec-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 639px) {
  .mote-ec-cards {
    grid-template-columns: 1fr;
  }
}
.mote-ec-card {
  position: relative;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 16px;
  cursor: pointer;
  text-align: left;
  font: inherit;
  color: inherit;
  background: rgba(6, 8, 12, 0.55);
  min-height: 220px;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  -webkit-tap-highlight-color: transparent;
}
.mote-ec-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(
    145deg,
    rgba(254, 243, 199, 0.55) 0%,
    rgba(245, 158, 11, 0.45) 35%,
    rgba(120, 53, 15, 0.65) 70%,
    rgba(251, 191, 36, 0.4) 100%
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.85;
}
.mote-ec-card:hover {
  transform: translateY(-3px);
  box-shadow:
    0 20px 48px rgba(0, 0, 0, 0.5),
    0 0 40px rgba(245, 158, 11, 0.08);
}
.mote-ec-card:active {
  transform: translateY(-1px);
}
.mote-ec-card:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px rgba(251, 191, 36, 0.45), 0 0 48px rgba(245, 158, 11, 0.12);
}
.mote-ec-card--featured {
  background: linear-gradient(165deg, rgba(28, 22, 14, 0.75) 0%, rgba(8, 9, 12, 0.92) 100%);
}
.mote-ec-card--featured::before {
  background: linear-gradient(
    125deg,
    rgba(255, 251, 235, 0.95) 0%,
    rgba(251, 191, 36, 0.9) 30%,
    rgba(217, 119, 6, 0.95) 52%,
    rgba(254, 243, 199, 0.75) 100%
  );
  opacity: 1;
  filter: drop-shadow(0 0 14px rgba(245, 158, 11, 0.22));
}
.mote-ec-card__badge {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  padding: 5px 10px;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: none;
  color: rgba(26, 15, 6, 0.92);
  background: linear-gradient(135deg, rgba(254, 243, 199, 1) 0%, rgba(251, 191, 36, 0.98) 100%);
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.35);
}
.mote-ec-card__inner {
  position: relative;
  z-index: 1;
  padding: 22px 18px 20px;
  min-height: 192px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, transparent 42%);
}
.mote-ec-card__tier {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.75);
  margin-bottom: 4px;
}
.mote-ec-card--featured .mote-ec-card__tier {
  color: rgba(253, 230, 168, 0.55);
}
.mote-ec-card__price {
  font-family: var(--font-sans);
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  font-weight: 300;
  letter-spacing: 0.06em;
  font-variant-numeric: tabular-nums;
  color: rgba(255, 252, 245, 0.99);
  margin-top: 2px;
}
.mote-ec-card__cu {
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: rgba(251, 191, 36, 0.95);
  margin-top: 4px;
}
.mote-ec-card__cu abbr {
  text-decoration: none;
  font-variant: normal;
  border: none;
}
.mote-ec-card__hint {
  font-size: 0.68rem;
  letter-spacing: 0.03em;
  color: rgba(148, 163, 184, 0.88);
  line-height: 1.58;
  margin-top: 6px;
  flex: 1;
}
.mote-ec-card__cta {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(226, 232, 240, 0.55);
  transition: color 0.2s ease, letter-spacing 0.2s ease;
}
.mote-ec-card__cta--gold {
  color: rgba(251, 191, 36, 0.75);
}
.mote-ec-card:hover .mote-ec-card__cta {
  color: rgba(254, 243, 199, 0.88);
  letter-spacing: 0.26em;
}
/* 内测档参考：非按钮，无悬停抬升 */
.mote-ec-card.mote-ec-card--reference {
  cursor: default;
  pointer-events: none;
}
.mote-ec-card.mote-ec-card--reference:hover {
  transform: none;
  box-shadow: none;
}
.mote-ec-card.mote-ec-card--reference:active {
  transform: none;
}
.mote-ec-redeem {
  margin-top: 20px;
  padding: 16px 18px;
  border-radius: 14px;
  border: 1px solid rgba(52, 211, 153, 0.22);
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.08) 0%, rgba(6, 8, 12, 0.65) 60%);
}
.mote-ec-redeem__label {
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(167, 243, 208, 0.75);
  margin-bottom: 10px;
}
.mote-ec-redeem__row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.mote-ec-redeem__input {
  flex: 1 1 200px;
  min-width: 0;
  padding: 11px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.35);
  color: rgba(248, 250, 252, 0.96);
  font: inherit;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
}
.mote-ec-redeem__btn {
  padding: 10px 20px;
  border-radius: 10px;
  border: 1px solid rgba(52, 211, 153, 0.45);
  background: linear-gradient(135deg, rgba(6, 95, 70, 0.9), rgba(4, 47, 46, 0.95));
  color: rgba(209, 250, 229, 0.98);
  font: inherit;
  font-weight: 650;
  font-size: 0.82rem;
  cursor: pointer;
  letter-spacing: 0.06em;
  -webkit-tap-highlight-color: transparent;
}
.mote-ec-redeem__btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.mote-ec-redeem__msg {
  margin-top: 10px;
  font-size: 0.78rem;
  line-height: 1.5;
  color: rgba(148, 163, 184, 0.9);
}
.mote-ec-redeem__msg.mote-ec-redeem__msg--ok {
  color: rgba(167, 243, 208, 0.95);
}
.mote-ec-redeem__msg.mote-ec-redeem__msg--err {
  color: rgba(252, 165, 165, 0.95);
}
.mote-ec-draw-usage {
  margin: 0;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.mote-ec-draw-usage__line {
  margin: 0 0 6px;
  font-size: 0.78rem;
  line-height: 1.55;
  color: rgba(226, 232, 240, 0.88);
}
.mote-ec-draw-usage__line--warn {
  color: rgba(252, 165, 165, 0.92);
}
.mote-ec-draw-usage__hint {
  margin: 0;
  font-size: 0.68rem;
  line-height: 1.5;
  color: rgba(148, 163, 184, 0.78);
}
.mote-ec-footnote {
  margin: 18px 0 0;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 0.7rem;
  letter-spacing: 0.03em;
  line-height: 1.65;
  color: rgba(148, 163, 184, 0.72);
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.mote-ec-handpay {
  margin-top: 22px;
  padding: clamp(18px, 2.5vw, 22px) clamp(18px, 2.5vw, 24px);
  border-radius: 16px;
  border: 1px solid rgba(245, 158, 11, 0.22);
  background:
    linear-gradient(135deg, rgba(245, 158, 11, 0.09) 0%, transparent 55%),
    rgba(4, 6, 10, 0.55);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "title title"
    "hint qr";
  gap: 14px 22px;
  align-items: start;
}
@media (max-width: 560px) {
  .mote-ec-handpay {
    grid-template-columns: 1fr;
    grid-template-areas:
      "title"
      "qr"
      "hint";
    justify-items: center;
    text-align: center;
  }
  .mote-ec-handpay__hint {
    text-align: center;
  }
}
.mote-ec-handpay__title {
  grid-area: title;
  margin: 0 0 4px;
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(253, 230, 168, 0.88);
}
.mote-ec-handpay__hint {
  grid-area: hint;
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.7;
  letter-spacing: 0.03em;
  color: rgba(203, 213, 225, 0.9);
}
.mote-ec-handpay__hint strong {
  color: rgba(255, 252, 245, 0.98);
  font-weight: 600;
}
.mote-ec-handpay__qr-wrap {
  grid-area: qr;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 10px;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}
.mote-ec-handpay__qr {
  display: block;
  width: min(112px, 30vw);
  height: auto;
  max-height: 152px;
  object-fit: contain;
  border-radius: 10px;
  border: 1px solid rgba(251, 191, 36, 0.2);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.08);
}
.mote-ec-handpay__qr-fallback {
  display: none;
  margin: 0;
  font-size: 0.72rem;
  line-height: 1.55;
  color: rgba(203, 213, 225, 0.75);
  max-width: 20rem;
  text-align: left;
}
.mote-ec-handpay__qr-wrap--missing .mote-ec-handpay__qr {
  display: none;
}
.mote-ec-handpay__qr-wrap--missing .mote-ec-handpay__qr-fallback {
  display: block;
}
.mote-ec-table-wrap {
  overflow-x: auto;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(0, 0, 0, 0.35) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
.mote-ec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8rem;
  min-width: 440px;
}
.mote-ec-table th,
.mote-ec-table td {
  padding: 14px 16px;
  text-align: left;
  vertical-align: middle;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.mote-ec-table thead th {
  font-weight: 650;
  letter-spacing: 0.06em;
  color: rgba(248, 250, 252, 0.92);
  background: linear-gradient(180deg, rgba(245, 158, 11, 0.14) 0%, rgba(245, 158, 11, 0.04) 100%);
  font-size: 0.72rem;
}
.mote-ec-table thead th:first-child {
  border-radius: 14px 0 0 0;
}
.mote-ec-table thead th:last-child {
  border-radius: 0 14px 0 0;
}
.mote-ec-table tbody tr:nth-child(even) td,
.mote-ec-table tbody tr:nth-child(even) th {
  background: rgba(255, 255, 255, 0.02);
}
.mote-ec-table tbody th[scope="row"] {
  font-weight: 600;
  color: rgba(226, 232, 240, 0.92);
  white-space: nowrap;
  width: 26%;
  font-size: 0.78rem;
}
.mote-ec-table tbody td {
  color: rgba(186, 198, 214, 0.9);
  line-height: 1.55;
}
.mote-ec-table tbody td:nth-child(3),
.mote-ec-table tbody td:nth-child(4) {
  color: rgba(254, 243, 199, 0.82);
}
.mote-ec-table tbody tr:last-child th,
.mote-ec-table tbody tr:last-child td {
  border-bottom: none;
}
.mote-ec-th-sub {
  display: block;
  margin-top: 6px;
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  color: rgba(251, 191, 36, 0.72);
  font-weight: 500;
}
.mote-ec-muted {
  display: block;
  margin-top: 4px;
  font-size: 0.68rem;
  color: rgba(148, 163, 184, 0.65);
}

@media (max-width: 900px) {
  :root {
    --hero-mast-pad-top: clamp(104px, 18vh, 200px);
  }
  .brand-mark-tagline {
    letter-spacing: 0.32em;
    padding-right: 0.35em;
    font-size: 9px;
    white-space: normal;
    text-wrap: balance;
  }
  .brand-mark-tech {
    white-space: normal;
    max-width: 100%;
    font-size: 6.5px;
    letter-spacing: 0.12em;
  }
  .brand-mark {
    gap: 0 0.45rem;
  }
  .brand-mark-sep {
    display: none;
  }
  .brand-mark-en {
    margin-left: 0.06em;
  }
  .brand-mark-primary {
    letter-spacing: 0.32em;
    text-indent: 0.32em;
  }
  .brand-mark-zh {
    letter-spacing: 0.2em;
  }
  body:not(.mote-canvas-page) .brand-mark-wei {
    font-size: calc(var(--brand-mark-word-size) * 1.1);
    letter-spacing: 0.1em;
    text-indent: 0.1em;
  }
  .split-dash {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .glass-panel {
    min-height: 240px;
  }
  .dash-runs--fixed {
    max-height: 200px;
  }
  body.portal-home .glass-panel--hub .dash-runs--hub-stack.dash-runs--fixed {
    max-height: none;
  }
  .glass-panel--hub .dash-runs--hub-stack.dash-runs--fixed {
    max-height: min(420px, 50vh);
  }
  .site-header__row {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }
  .site-header__brand-slot {
    order: 1;
  }
  .mote-energy-hud__stack {
    max-width: min(52vw, 220px);
  }
  .site-header__cu-rail .mote-energy-hud__stack--cu-foot {
    max-width: none !important;
    flex-wrap: wrap;
  }
  .site-header__tools {
    order: 2;
    align-self: flex-end;
    width: 100%;
    justify-content: flex-end;
  }
  .site-header__cu-rail {
    width: 100%;
    max-width: none;
    min-width: 0;
    box-sizing: border-box;
  }
  .site-nav {
    order: 3;
    width: 100%;
    max-width: none;
    align-items: stretch;
  }
  .site-nav__row {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .shell { padding: 0 20px 48px; }
  .grand-slogan__zh { letter-spacing: 0.22em; }
  .ignite-btn {
    width: 100%;
    padding: 16px 20px;
    letter-spacing: 0.18em;
  }
}

/* 内部上线：技术/脚本/端口说明 —— 收入折叠块，主界面保持任务导向 */
details.jh-dev-hint {
  margin-top: 14px;
  margin-bottom: 8px;
  border: var(--panel-border);
  border-radius: var(--panel-radius);
  background: var(--panel-bg);
  backdrop-filter: blur(var(--panel-blur)) saturate(1.08);
  -webkit-backdrop-filter: blur(var(--panel-blur)) saturate(1.08);
  overflow: hidden;
}
details.jh-dev-hint > summary {
  list-style: none;
  cursor: pointer;
  padding: 10px 14px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: rgba(212, 175, 130, 0.95);
  background: rgba(245, 158, 11, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  user-select: none;
}
details.jh-dev-hint > summary::-webkit-details-marker {
  display: none;
}
details.jh-dev-hint > summary::before {
  content: "▸ ";
  opacity: 0.65;
  font-size: 0.85em;
}
details.jh-dev-hint[open] > summary::before {
  content: "▾ ";
}
details.jh-dev-hint .jh-dev-hint__body {
  padding: 12px 14px 14px;
  font-size: 0.82rem;
  line-height: 1.65;
  color: rgba(165, 175, 190, 0.95);
}
details.jh-dev-hint .jh-dev-hint__body p {
  margin: 0 0 10px;
}
details.jh-dev-hint .jh-dev-hint__body p:last-child {
  margin-bottom: 0;
}
details.jh-dev-hint code {
  font-family: var(--font-mono);
  font-size: 0.88em;
  padding: 1px 5px;
  border-radius: 2px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(200, 210, 222, 0.95);
}
body.jh-page footer details.jh-dev-hint {
  margin-top: 0;
  max-width: min(920px, 100%);
  margin-left: auto;
  margin-right: auto;
}

/* 多段工作台 / 段落智能体 共用：主页英雄区（玻璃 + 琥珀顶线） */
.hub-page-hero {
  position: relative;
  z-index: 2;
  margin: 0 0 clamp(32px, 5vw, 48px);
  padding: clamp(22px, 4vw, 34px) clamp(20px, 3vw, 32px) clamp(20px, 3vw, 28px);
  border-radius: var(--panel-radius);
  border: var(--panel-border);
  background:
    radial-gradient(120% 80% at 12% -20%, rgba(245, 158, 11, 0.1), transparent 52%),
    var(--panel-bg);
  backdrop-filter: blur(var(--panel-blur)) saturate(1.15);
  -webkit-backdrop-filter: blur(var(--panel-blur)) saturate(1.15);
  box-shadow:
    0 24px 56px rgba(0, 0, 0, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  /* 允许英雄区内下拉/浮层伸出圆角框，勿裁切 */
  overflow: visible;
}
.hub-page-hero::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  border-radius: 14px 14px 0 0;
  background: linear-gradient(
    90deg,
    rgba(245, 158, 11, 0.15) 0%,
    rgba(251, 191, 36, 0.85) 22%,
    rgba(245, 158, 11, 0.55) 55%,
    rgba(180, 83, 9, 0.35) 100%
  );
  pointer-events: none;
}
.hub-page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0.5;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.06)) 16px 18px / 6px 1px no-repeat,
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.06)) 16px 16px / 1px 6px no-repeat,
    linear-gradient(90deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.06)) calc(100% - 22px) 18px / 6px 1px no-repeat,
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.06)) calc(100% - 18px) 16px / 1px 6px no-repeat;
}
.hub-page-hero__eyebrow {
  position: relative;
  z-index: 1;
  font-family: var(--font-mono, "JetBrains Mono", monospace);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(212, 175, 130, 0.88);
  margin: 0 0 14px;
}
.hub-page-hero__title {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.2em 0.45em;
  margin: 0 0 12px;
  padding: 0;
  line-height: 1.15;
  font-family: var(--font-sans), system-ui, sans-serif;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.96);
  background: none !important;
  -webkit-text-fill-color: unset !important;
  background-clip: unset !important;
  font-size: clamp(1.85rem, 4.6vw, 2.65rem) !important;
  letter-spacing: 0.1em !important;
}
.hub-page-hero__zh {
  font-family: var(--font-hub-title-zh);
  font-weight: 400;
  font-size: 1em;
  letter-spacing: var(--hub-title-zh-letter-spacing);
  text-indent: var(--hub-title-zh-text-indent);
}
.hub-page-hero__sep {
  opacity: 0.45;
  font-weight: 300;
  font-size: 0.55em;
  color: rgba(245, 200, 130, 0.75);
  vertical-align: 0.15em;
}
.hub-page-hero__en {
  font-family: var(--font-mono, "JetBrains Mono", monospace);
  font-weight: 400;
  font-size: clamp(0.42em, 2.1vw, 0.5em);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(253, 230, 168, 0.88);
}
.hub-page-hero__subtitle {
  position: relative;
  z-index: 1;
  margin: 0 0 18px;
  font-size: clamp(0.78rem, 1.35vw, 0.88rem);
  font-weight: 400;
  letter-spacing: 0.14em;
  color: rgba(165, 178, 198, 0.88);
}
.hub-page-hero .plot-hero-lead {
  position: relative;
  z-index: 1;
  margin: 0 0 14px;
  max-width: 52rem;
  color: rgba(170, 182, 198, 0.96);
  font-size: 0.92rem;
  line-height: 1.75;
}
.hub-page-hero .tagline {
  position: relative;
  z-index: 1;
  margin-top: 2px;
  padding: 8px 14px;
  border-radius: 999px;
  display: inline-flex;
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.25);
  color: rgba(229, 211, 179, 0.95);
  font-size: 0.8rem;
  font-weight: 500;
}
.hub-page-hero .hub-lead {
  position: relative;
  z-index: 1;
  margin-bottom: 0;
}
.hub-page-hero details.jh-dev-hint {
  position: relative;
  z-index: 1;
  margin-top: 18px;
  margin-bottom: 0;
}
body.jh-page main.jh-main--sub .container > .jh-main-hero-top .hub-page-hero h1.hub-page-hero__title,
body.jh-page main.jh-main--sub .jh-main-hero-top .hub-page-hero h1.hub-page-hero__title,
body.jh-page main.jh-main--sub .wrap .hub-page-hero h1.hub-page-hero__title,
body.jh-page main.jh-main--sub .container .hub-page-hero h1.hub-page-hero__title,
body.jh-page main.jh-main--sub .demo-page .hub-page-hero h1.hub-page-hero__title,
body.jh-page main.jh-main--sub .strategy-wrap .hub-page-hero h1.hub-page-hero__title,
body.jh-page main.jh-main--sub .arch-wrap .hub-page-hero h1.hub-page-hero__title,
body.jh-page main.jh-main--sub .agents-wrap .hub-page-hero h1.hub-page-hero__title,
body.jh-page main.jh-main--sub .wrap .hub-page-hero.profile-page-hero h1.hub-page-hero__title {
  margin-bottom: 12px;
}

/* 上线：隐藏教程型说明段落（保留带 id / aria-live 的动态提示与空状态 .jh-list-empty） */
p.hint:not([id]):not([aria-live]),
p.sub-section__hint,
p.artlib-panel__hint,
p.hub-project-bar__hint,
p.hub-anchor-details__lead,
p.hub-assets-lead,
p.hub-seg-list-note,
p.hub-proj-art-dialog__sub,
p.hub-page-hero__subtitle,
p.lead.hub-lead,
p.pc-hero__lead,
p.sub-hero__lead {
  display: none !important;
}
span.hint:not([id]):not([aria-live]) {
  display: none !important;
}
details.jh-dev-hint {
  display: none !important;
}
.jh-list-empty {
  margin: 12px 0;
  font-size: 0.88rem;
  color: rgba(168, 180, 196, 0.95);
}
.jh-field-label {
  display: block;
  margin-bottom: 4px;
  font-size: 0.82rem;
  color: rgba(200, 210, 225, 0.9);
}

@media (prefers-reduced-motion: reduce) {
  .sweep-shimmer {
    animation: none;
    background: none;
    -webkit-text-fill-color: rgba(245, 248, 255, 0.9);
    color: rgba(245, 248, 255, 0.9);
  }
  .brand-icon-wrap {
    animation: none;
    transform: scale(1);
    filter: brightness(1.06) saturate(1.06) drop-shadow(0 0 10px rgba(255, 215, 160, 0.5))
      drop-shadow(0 0 22px rgba(255, 190, 100, 0.34));
  }
  .ignite-btn,
  .ignite-btn--sequence,
  .jh-btn {
    animation: none;
  }
}

/* —— 门户 · 项目指挥中心「新建项目」与入口弹窗 —— */
body.portal-home .mote-hub-primary {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  margin: 0 0 14px;
  width: 100%;
}

body.portal-home .mote-hub-new-project {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 100%;
  min-height: 50px;
  padding: 13px 22px;
  border: 1px solid rgba(251, 211, 141, 0.55);
  border-radius: 999px;
  font-size: 1.04rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: #1c1208;
  cursor: pointer;
  background: linear-gradient(
    165deg,
    rgba(254, 243, 199, 0.98) 0%,
    rgba(251, 191, 36, 0.92) 38%,
    rgba(217, 119, 6, 0.88) 100%
  );
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.55),
    inset 0 -1px 0 rgba(180, 83, 9, 0.35),
    0 12px 40px rgba(0, 0, 0, 0.42),
    0 0 0 1px rgba(251, 191, 36, 0.22),
    0 0 48px rgba(251, 191, 36, 0.12);
  transition: transform 0.14s ease, filter 0.16s ease, box-shadow 0.16s ease;
}

body.portal-home .mote-hub-new-project:hover {
  filter: brightness(1.04) saturate(1.05);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.6),
    inset 0 -1px 0 rgba(180, 83, 9, 0.28),
    0 16px 48px rgba(0, 0, 0, 0.48),
    0 0 0 1px rgba(252, 211, 77, 0.45),
    0 0 56px rgba(251, 191, 36, 0.18);
}

body.portal-home .mote-hub-new-project:active {
  transform: scale(0.985);
}

.mote-hub-entry-overlay {
  position: fixed;
  inset: 0;
  z-index: 120000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 16px;
  background: rgba(4, 6, 10, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.mote-hub-entry {
  width: min(640px, 100%);
  max-height: min(88vh, 720px);
  overflow: auto;
  border-radius: 18px;
  border: 1px solid rgba(251, 191, 36, 0.28);
  background: linear-gradient(168deg, rgba(18, 20, 28, 0.98) 0%, rgba(8, 9, 12, 0.99) 100%);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55);
  padding: 18px 18px 20px;
  font-family: var(--font-sans, "Inter", "PingFang SC", system-ui, sans-serif);
}

.mote-hub-entry__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.mote-hub-entry__title {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: rgba(250, 250, 252, 0.96);
}

.mote-hub-entry__x {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 10px;
  font-size: 1.35rem;
  line-height: 1;
  color: rgba(226, 232, 240, 0.85);
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
}

.mote-hub-entry__x:hover {
  background: rgba(255, 255, 255, 0.1);
}

.mote-hub-entry__hint {
  margin: 0 0 16px;
  font-size: 0.8rem;
  line-height: 1.5;
  color: rgba(186, 198, 214, 0.82);
}

.mote-hub-entry__grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mote-hub-entry__card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  width: 100%;
  padding: 14px 16px;
  text-align: left;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.28);
  color: rgba(248, 250, 252, 0.95);
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.mote-hub-entry__card:hover {
  border-color: rgba(251, 191, 36, 0.45);
  background: rgba(245, 158, 11, 0.08);
}

.mote-hub-entry__card--featured {
  border-color: rgba(251, 191, 36, 0.52);
  background: linear-gradient(145deg, rgba(251, 191, 36, 0.16) 0%, rgba(146, 64, 14, 0.12) 48%, rgba(8, 9, 12, 0.42) 100%);
  box-shadow:
    0 0 0 1px rgba(245, 158, 11, 0.18),
    0 10px 36px rgba(245, 158, 11, 0.1);
}

.mote-hub-entry__card--featured:hover {
  border-color: rgba(252, 211, 77, 0.62);
  background: linear-gradient(145deg, rgba(251, 191, 36, 0.22) 0%, rgba(180, 83, 9, 0.16) 50%, rgba(12, 14, 18, 0.5) 100%);
}

.mote-hub-entry__card--featured .mote-hub-entry__card-k {
  color: rgba(254, 243, 199, 0.95);
}

.mote-hub-entry__card--featured .mote-hub-entry__card-zh {
  color: #fffbeb;
}

.mote-hub-entry__card-k {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: rgba(251, 191, 36, 0.85);
}

.mote-hub-entry__card-zh {
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.mote-hub-entry__card-desc {
  font-size: 0.75rem;
  line-height: 1.45;
  color: rgba(186, 198, 214, 0.78);
}

/* 各模块进页后主项目锚定弹窗 */
.mote-project-gate {
  position: fixed;
  inset: 0;
  z-index: 200000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 16px;
  background: rgba(4, 6, 10, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-family: "Inter", "PingFang SC", system-ui, sans-serif;
}

.mote-project-gate__panel {
  width: min(420px, 100%);
  border-radius: 16px;
  border: 1px solid rgba(251, 191, 36, 0.32);
  background: linear-gradient(168deg, rgba(20, 22, 30, 0.98) 0%, rgba(10, 11, 15, 0.99) 100%);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  padding: 20px 20px 18px;
}

.mote-project-gate__title {
  margin: 0 0 8px;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: rgba(252, 252, 253, 0.98);
}

.mote-project-gate__sub {
  margin: 0 0 16px;
  font-size: 0.78rem;
  line-height: 1.5;
  color: rgba(186, 198, 214, 0.85);
}

.mote-project-gate__error {
  margin: 0 0 12px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(248, 113, 113, 0.35);
  background: rgba(127, 29, 29, 0.28);
  color: rgba(254, 226, 226, 0.96);
  font-size: 0.78rem;
  line-height: 1.45;
}

.mote-project-gate__form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mote-project-gate__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mote-project-gate__label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: rgba(203, 213, 225, 0.88);
}

.mote-project-gate__input,
.mote-project-gate__select {
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.35);
  color: rgba(248, 250, 252, 0.96);
  font-size: 0.88rem;
}

.mote-project-gate__actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 18px;
}

.mote-project-gate__btn {
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
}

.mote-project-gate__btn--ghost {
  color: rgba(226, 232, 240, 0.88);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
}

.mote-project-gate__btn--primary {
  color: #0a0a0b;
  background: linear-gradient(180deg, #ffb020 0%, #f59e0b 100%);
  border-color: rgba(245, 158, 11, 0.4);
}
