/* 军师台主题层 · 智芯源 OPC 同源 tokens
   注入在原站 CSS 之后，统一字体/底色/排版气质；颜色主体由 hex 重映射完成，此处补全局质感。 */
:root{
  --js-bg:#faf9f5; --js-ink:#141413; --js-accent:#d97757; --js-blue:#6a9bcc;
  --js-green:#788c5d; --js-mut:#b0aea5; --js-line:#e8e6dc;
  /* 覆盖常见 Ant Design v5 / 设计系统 CSS 变量（存在才生效） */
  --ant-color-primary:#d97757; --ant-color-primary-hover:#e0987f; --ant-color-primary-active:#c15f3c;
  --ant-color-link:#d97757; --ant-color-link-hover:#e0987f;
  --color-primary:#d97757; --primary-color:#d97757; --brand:#d97757; --brand-color:#d97757;
}

/* 军师台字体气质：PingFang / 思源黑体栈，抗锯齿 */
html, body, button, input, textarea, select,
[class], #root, #root *{
  font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Source Han Sans SC","Noto Sans CJK SC","Microsoft YaHei",sans-serif !important;
}
body{ -webkit-font-smoothing:antialiased; text-rendering:optimizeLegibility; }

/* 文本选区 / 滚动条用军师橙 */
::selection{ background:rgba(217,119,87,.22); color:#141413; }
::-webkit-scrollbar{ width:10px; height:10px; }
::-webkit-scrollbar-thumb{ background:#d8d5c8; border-radius:8px; }
::-webkit-scrollbar-thumb:hover{ background:#b0aea5; }

/* 主色链接/强调统一收口到军师橙（兜底，hex 重映射漏网时生效） */
a:hover{ color:#d97757; }

/* ===== Semi Design（字节 UI 库，bodu 用）主题覆盖：把蓝阶整体换成军师橙阶 =====
   --semi-color-primary 等全部派生自 --semi-blue-X，覆盖蓝阶即统一主色。 */
:root, body, [theme-mode], .semi-light-scrollbar{
  --semi-blue-0:250,241,234; --semi-blue-1:244,223,211; --semi-blue-2:237,199,179;
  --semi-blue-3:229,169,142; --semi-blue-4:222,146,115; --semi-blue-5:217,119,87;
  --semi-blue-6:201,105,75;  --semi-blue-7:184,92,62;   --semi-blue-8:156,77,50;
  --semi-blue-9:120,58,36;
  /* 主品牌/链接色直接锁定军师橙 */
  --semi-color-primary:rgba(217,119,87,1);
  --semi-color-primary-hover:rgba(201,105,75,1);
  --semi-color-primary-active:rgba(184,92,62,1);
  --semi-color-link:rgba(217,119,87,1);
  /* hero 的 AI 渐变（--semi-ai-general-*）统一成军师暖橙 banner */
  --semi-ai-general-0:linear-gradient(135deg,#d97757 0%,#c15f3c 100%);
  --semi-ai-general-1:linear-gradient(135deg,#d97757 0%,#c15f3c 100%);
  --semi-ai-general-2:linear-gradient(135deg,#d97757 0%,#c15f3c 100%);
  --semi-ai-general-3:linear-gradient(135deg,#d97757 0%,#c15f3c 100%);
  --semi-ai-general-4:linear-gradient(135deg,#d97757 0%,#e0987f 100%);
  --semi-ai-general-5:linear-gradient(135deg,#d97757 0%,#e0987f 100%);
  --semi-ai-general-6:linear-gradient(135deg,#c15f3c 0%,#d97757 100%);
  --semi-ai-general-7:linear-gradient(135deg,#c15f3c 0%,#d97757 100%);
  --semi-ai-general-8:linear-gradient(135deg,#b85c3e 0%,#d97757 100%);
  --semi-ai-general-9:linear-gradient(135deg,#b85c3e 0%,#d97757 100%);
}
