/* ============================================================
   星枢AI 浅色主题（data-theme="light"）
   深色为默认（见 styles.css :root）；此处仅覆盖变量与少量
   写死深色的元素，风格对齐参考站工作台：白底 + 浅灰 + 青紫强调
   ============================================================ */

/* ---------- 主题切换按钮（头部/侧栏通用） ---------- */
[data-theme-toggle] {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: transparent;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
  white-space: nowrap;
}
[data-theme-toggle] svg { flex-shrink: 0; }
[data-theme-toggle]:hover { color: var(--accent); border-color: var(--accent); }
[data-theme-toggle] .tt-text { line-height: 1; }
@media (max-width: 640px) { [data-theme-toggle] .tt-text { display: none; } }

/* ============================================================
   浅色变量覆盖
   ============================================================ */
html[data-theme="light"] {
  --bg-deep: #eceff6;
  --bg-page: #f4f5fa;
  --bg-page-2: #ffffff;
  --bg-panel: #ffffff;
  --bg-card: #ffffff;
  --bg-card-2: #f7f8fc;
  --bg-input: #f1f3f9;
  --bg-hover: #edf0f8;
  --bg-elevated: #ffffff;

  --accent: #0e9ec0;
  --accent-deep: #0e7490;
  --accent-glow: rgba(14, 158, 192, 0.16);
  --accent-soft: rgba(14, 158, 192, 0.09);

  --text-primary: #1c2233;
  --text-secondary: #525b70;
  --text-muted: #98a0b4;
  --text-on-accent: #ffffff;

  --border: #e9ebf2;
  --border-strong: #d4d9e6;

  --shadow: 0 8px 28px rgba(30, 42, 80, 0.10);
  --shadow-glow: 0 0 36px rgba(14, 158, 192, 0.14);
}

/* ---------- 浅色下的通用修正 ---------- */
html[data-theme="light"] body { color: var(--text-primary); }

html[data-theme="light"] .site-header {
  background: rgba(255, 255, 255, 0.86);
  border-bottom: 1px solid var(--border);
}

html[data-theme="light"] .page-bg {
  background:
    radial-gradient(ellipse 60% 40% at 20% 0%, rgba(14, 158, 192, 0.06), transparent 60%),
    radial-gradient(ellipse 50% 35% at 85% 15%, rgba(99, 102, 241, 0.05), transparent 60%),
    var(--bg-page);
}

/* 卡片在浅底用轻阴影替代发光描边 */
html[data-theme="light"] .card:hover {
  border-color: #d9e6ef;
  box-shadow: var(--shadow);
}

/* 首页模型环：深色硬编码图标底/白字 → 浅色 */
html[data-theme="light"] .orbit-icon {
  background: #ffffff;
  border: 1px solid #e6e9f2;
  filter: drop-shadow(rgba(14, 158, 192, 0.14) 0 2px 8px);
}
html[data-theme="light"] .orbit-name { color: #8a93a8; }
html[data-theme="light"] .orbit-icon-wrap:hover .orbit-name { color: var(--accent); }

/* 工作台顶栏/输入条写死的深色半透 → 白 */
html[data-theme="light"] .ws-topbar,
html[data-theme="light"] .ws-composer { background: rgba(255, 255, 255, 0.88); }
html[data-theme="light"] .ws-main,
html[data-theme="light"] body.workspace-page { background: var(--bg-page); }
html[data-theme="light"] .ws-sidebar { background: #ffffff; }

/* 代码块保持深色（惯例，浅底浅字不可读） */
html[data-theme="light"] .code-block {
  background: #14181f;
  border-color: #232a36;
}

/* 对话用户气泡在浅底加深一点点边框对比 */
html[data-theme="light"] .chat-bubble.user p {
  background: linear-gradient(135deg, rgba(14, 158, 192, 0.12), rgba(99, 102, 241, 0.10));
  border-color: rgba(14, 158, 192, 0.22);
}

/* 页脚浅底 */
html[data-theme="light"] .site-footer { background: #ffffff; }

/* 模型/智能体等徽标在浅底的柔和度 */
html[data-theme="light"] .badge-pro { background: rgba(99, 102, 241, 0.12); color: #5b63d8; }
html[data-theme="light"] .badge-hot { background: rgba(239, 68, 68, 0.10); color: #e05252; }

/* 滚动条浅色 */
html[data-theme="light"] ::-webkit-scrollbar-thumb { background: #d4d9e6; }

/* ---------- portal 统一外壳（models/pricing/wode/api）浅色适配 ---------- */
html[data-theme="light"] .portal-rail {
  background: linear-gradient(180deg,#ffffff 0%,#f5f7fc 100%);
  border-right: 1px solid var(--border);
  box-shadow: 6px 0 26px rgba(30,42,80,.06);
}
html[data-theme="light"] .rail-brand strong,
html[data-theme="light"] .rail-agent strong,
html[data-theme="light"] .rail-account strong,
html[data-theme="light"] .rail-search input { color: var(--text-primary); }
html[data-theme="light"] .rail-brand b { background:#eef1f7; color:var(--text-secondary); }
html[data-theme="light"] .rail-search { background:#f1f3f9; border-color:var(--border); }
html[data-theme="light"] .rail-search.compact input { background:#f1f3f9; color:var(--text-primary); }
html[data-theme="light"] .rail-tags button { background:#f1f3f9; color:var(--text-secondary); border-color:var(--border); }
html[data-theme="light"] .rail-account > button { background:#f7f8fc; }
html[data-theme="light"] .rail-account > a { background:#f1f3f9; }
html[data-theme="light"] .rail-account > a small { color:#fff; }
html[data-theme="light"] .main-nav a:hover { background:#eef1f7; color:var(--text-primary); }
html[data-theme="light"] .btn-ghost { background:#f1f3f9; color:var(--text-secondary); }
html[data-theme="light"] .page-hero h1 { color:var(--text-primary); }
html[data-theme="light"] .account-sheet { background:linear-gradient(180deg,#ffffff,#f5f7fc); border-color:var(--border); box-shadow:0 30px 80px rgba(30,42,80,.18); }
html[data-theme="light"] .account-card { background:#f7f8fc; border-color:var(--border); }
html[data-theme="light"] .account-card strong { color:var(--text-primary); }
html[data-theme="light"] .account-card small { color:var(--text-secondary); }
html[data-theme="light"] .filter-bar { background:#fff; border-color:var(--border); box-shadow:var(--shadow); }
html[data-theme="light"] .filter-btn { background:#f1f3f9; color:var(--text-secondary); }
html[data-theme="light"] .cta,
html[data-theme="light"] .cta.card { background:#fff; }
.hdr-theme-btn { margin-right:6px; }

/* 定价卡 / 描边按钮在浅底可见 */
html[data-theme="light"] .pr-plan,
html[data-theme="light"] .price-card { background:#ffffff; border-color:var(--border); box-shadow:var(--shadow); }
html[data-theme="light"] .btn-outline {
  background:#ffffff; color:var(--text-primary); border-color:var(--border-strong);
}
html[data-theme="light"] .btn-outline:hover { border-color:var(--accent); color:var(--accent); background:#fff; }
/* 定价卡内被弱化的辅助说明文字提亮 */
html[data-theme="light"] .pr-plan .pr-sub,
html[data-theme="light"] .pr-plan .muted { color:var(--text-secondary); }

/* ============================================================
   工作台 v2 浅色模式强制覆盖（workspace-v2.css 写死深色）
   ============================================================ */
html[data-theme="light"] .ws-v2 .ws-composer {
  background: #ffffff !important;
  border-top: 1px solid #e9ebf2 !important;
}
html[data-theme="light"] .ws-v2 .composer-box {
  background: #f7f8fc !important;
  border-color: #e9ebf2 !important;
  color: #1c2233 !important;
}
html[data-theme="light"] .ws-v2 .composer-box textarea { color: #1c2233 !important; }
html[data-theme="light"] .ws-v2 .composer-box textarea::placeholder { color: #98a0b4 !important; }
html[data-theme="light"] .ws-v2 .ws-sidebar {
  background: #ffffff !important;
  border-right: 1px solid #e9ebf2 !important;
}
html[data-theme="light"] .ws-v2 .ws-main,
html[data-theme="light"] body.workspace-page {
  background: #f4f5fa !important;
}
html[data-theme="light"] .ws-v2 .ws-topbar {
  background: rgba(255,255,255,0.9) !important;
  border-bottom: 1px solid #e9ebf2 !important;
}
html[data-theme="light"] .ws-v2 .model-item {
  background: #f7f8fc !important;
  border-color: #e9ebf2 !important;
}
html[data-theme="light"] .ws-v2 .model-item:hover {
  background: #edf0f8 !important;
  border-color: rgba(14,158,192,.3) !important;
}
html[data-theme="light"] .ws-v2 .model-item.active {
  background: rgba(14,158,192,.1) !important;
  border-color: rgba(14,158,192,.4) !important;
}
html[data-theme="light"] .ws-v2 .rail-search input,
html[data-theme="light"] .ws-v2 .search-box {
  background: #f1f3f9 !important;
  border-color: #e9ebf2 !important;
  color: #1c2233 !important;
}
html[data-theme="light"] .ws-v2 .cat-tag {
  background: #f1f3f9 !important;
  color: #525b70 !important;
  border-color: #e9ebf2 !important;
}
html[data-theme="light"] .ws-v2 .cat-tag.active {
  background: rgba(14,158,192,.15) !important;
  color: #0e7490 !important;
  border-color: rgba(14,158,192,.3) !important;
}
html[data-theme="light"] .ws-v2 .token-badge {
  background: #f1f3f9 !important;
  color: #525b70 !important;
  border-color: #e9ebf2 !important;
}
html[data-theme="light"] .ws-v2 .welcome-card {
  background: #ffffff !important;
  border-color: #e9ebf2 !important;
  color: #1c2233 !important;
}
html[data-theme="light"] .ws-v2 .welcome-card p { color: #525b70 !important; }

/* 工作台左侧边栏写死深色元素的浅色覆盖 */
html[data-theme="light"] .ws-v2 .vendor-filter,
html[data-theme="light"] .ws-v2 .filter-btn,
html[data-theme="light"] .ws-v2 .search-input-wrap {
  background: #f1f3f9 !important;
  border-color: #e9ebf2 !important;
  color: #525b70 !important;
}
html[data-theme="light"] .ws-v2 .search-input-wrap input {
  background: transparent !important;
  color: #1c2233 !important;
}
html[data-theme="light"] .ws-v2 .search-input-wrap input::placeholder { color: #98a0b4 !important; }
html[data-theme="light"] .ws-v2 .sb-vendor-btn,
html[data-theme="light"] .ws-v2 .sb-search,
html[data-theme="light"] .ws-v2 .ws-search {
  background: #f1f3f9 !important;
  border-color: #e9ebf2 !important;
  color: #525b70 !important;
}
html[data-theme="light"] .ws-v2 .sb-search input,
html[data-theme="light"] .ws-v2 .ws-search input {
  background: transparent !important;
  color: #1c2233 !important;
}
html[data-theme="light"] .ws-v2 .sb-search input::placeholder,
html[data-theme="light"] .ws-v2 .ws-search input::placeholder { color: #98a0b4 !important; }
html[data-theme="light"] .ws-v2 .ws-footer,
html[data-theme="light"] .ws-v2 .account-bar {
  background: #ffffff !important;
  border-top: 1px solid #e9ebf2 !important;
  color: #1c2233 !important;
}
html[data-theme="light"] .ws-v2 .ws-footer .balance { color: #0e7490 !important; }
html[data-theme="light"] .ws-v2 .recharge-btn {
  background: linear-gradient(135deg, #f59e0b, #d97706) !important;
  color: #fff !important;
}
html[data-theme="light"] .ws-v2 .model-icon,
html[data-theme="light"] .ws-v2 .m-icon {
  background: #1e293b !important;
  border: 1px solid #334155 !important;
  box-shadow: 0 1px 4px rgba(0,0,0,.1) !important;
}
html[data-theme="light"] .ws-v2 .m-icon img { filter: brightness(1.2) !important; }
html[data-theme="light"] .ws-v2 .model-name { color: #1c2233 !important; }
html[data-theme="light"] .ws-v2 .model-desc { color: #8a93a8 !important; }

/* wb-side 布局（模型广场/价格查询/智能体等页面）浅色模式 */
html[data-theme="light"] .wb-side {
  background: #ffffff !important;
  border-right: 1px solid #e2e8f0 !important;
}
html[data-theme="light"] .wb-brand-txt strong { color: #1e293b !important; }
html[data-theme="light"] .wb-brand-txt small { color: #64748b !important; }
html[data-theme="light"] .wb-nav-item { color: #475569 !important; }
html[data-theme="light"] .wb-nav-item:hover { background: #f1f5f9 !important; color: #0e7490 !important; }
html[data-theme="light"] .wb-nav-item.active { background: rgba(14,116,144,.1) !important; color: #0e7490 !important; }
html[data-theme="light"] .wb-main { background: #f8fafc !important; }

/* ============================================================
   浅色模式可读性总修复（解决“太白/白字白底看不清”）
   只作用于 [data-theme=light]，深色完全不受影响
   ============================================================ */
/* —— 侧栏模型卡：标题/描述/厂商全部改为深色文字 —— */
html[data-theme="light"] .ws-model .m-main h3,
html[data-theme="light"] .ws-v2 .ws-model .wm-body h3,
html[data-theme="light"] .ws-v2 .ws-model .wm-title-row,
html[data-theme="light"] .model-item .model-name,
html[data-theme="light"] .ws-model .model-name { color:#1c2233 !important; }
html[data-theme="light"] .ws-model .m-main p,
html[data-theme="light"] .ws-v2 .ws-model .wm-body p { color:#64748b !important; }
html[data-theme="light"] .ws-v2 .ws-model .wm-fav { color:#94a3b8 !important; }
html[data-theme="light"] .ch-vendor { color:#64748b !important; }

/* —— 模型类型小标签：浅色下用“深色字+淡彩底+同色描边”，保证看得清 —— */
html[data-theme="light"] .m-type-tag.mt-chat  { color:#0e7490 !important; background:rgba(14,116,144,.10) !important; border-color:rgba(14,116,144,.28) !important; }
html[data-theme="light"] .m-type-tag.mt-image { color:#6d28d9 !important; background:rgba(109,40,217,.10) !important; border-color:rgba(109,40,217,.28) !important; }
html[data-theme="light"] .m-type-tag.mt-video { color:#1d4ed8 !important; background:rgba(37,99,235,.10) !important; border-color:rgba(37,99,235,.28) !important; }
html[data-theme="light"] .m-type-tag.mt-voice { color:#b45309 !important; background:rgba(217,119,6,.10) !important; border-color:rgba(217,119,6,.30) !important; }
html[data-theme="light"] .m-type-tag.mt-agent { color:#047857 !important; background:rgba(4,120,87,.10) !important; border-color:rgba(4,120,87,.28) !important; }

/* —— 侧栏主导航：未选深灰、hover浅灰底、选中用加深的主题色（不再青字青底） —— */
html[data-theme="light"] .sb-nav-item { color:#475569 !important; }
html[data-theme="light"] .sb-nav-item:hover { color:#0f172a !important; background:#f1f5f9 !important; }
html[data-theme="light"] .sb-nav-item.active,
html[data-theme="light"] .sb-nav-item.active .sb-nav-ico,
html[data-theme="light"] .sb-nav-item.active .sb-nav-txt { color:#0e7490 !important; background:rgba(14,116,144,.10) !important; filter:none !important; text-shadow:none !important; }
html[data-theme="light"] .sb-nav-item.active[data-mainnav="agents"],
html[data-theme="light"] .sb-nav-item.active[data-mainnav="agents"] .sb-nav-ico,
html[data-theme="light"] .sb-nav-item.active[data-mainnav="agents"] .sb-nav-txt { color:#6d28d9 !important; background:rgba(109,40,217,.10) !important; }
html[data-theme="light"] .sb-nav-item.active[data-mainnav="inspiration"],
html[data-theme="light"] .sb-nav-item.active[data-mainnav="inspiration"] .sb-nav-ico,
html[data-theme="light"] .sb-nav-item.active[data-mainnav="inspiration"] .sb-nav-txt { color:#be185d !important; background:rgba(190,24,93,.10) !important; }
html[data-theme="light"] .sb-nav-item.active[data-mainnav="openapi"],
html[data-theme="light"] .sb-nav-item.active[data-mainnav="openapi"] .sb-nav-ico,
html[data-theme="light"] .sb-nav-item.active[data-mainnav="openapi"] .sb-nav-txt { color:#b45309 !important; background:rgba(180,83,9,.10) !important; }

/* —— 侧栏品牌 Logo / 标题 —— */
html[data-theme="light"] .sb-logo .brand-logo,
html[data-theme="light"] .brand-logo { color:#0e7490 !important; background:linear-gradient(135deg,#ecfeff,#e0f2fe) !important; }
html[data-theme="light"] .sb-logo strong,
html[data-theme="light"] .sb-logo b,
html[data-theme="light"] .ws-v2 .sb-logo strong,
html[data-theme="light"] .side-brand strong,
html[data-theme="light"] .side-brand b,
html[data-theme="light"] .sb-titles strong,
html[data-theme="light"] .sb-titles small { color:#1c2233 !important; }
html[data-theme="light"] .side-brand small,
html[data-theme="light"] .sb-titles .sb-sub { color:#64748b !important; }
html[data-theme="light"] .ws-v2 .ws-model .wm-fav { color:#64748b !important; }

/* —— 对话中央 Hero：标题/标签/描述 —— */
html[data-theme="light"] .chat-hero h2,
html[data-theme="light"] .chat-hero h3 { color:#1c2233 !important; }
html[data-theme="light"] .chat-hero p,
html[data-theme="light"] .chat-hero .ch-desc { color:#525b70 !important; }

/* —— 对话线程内的文字（助手气泡/系统提示/阶段） —— */
html[data-theme="light"] .chat-bubble.assistant,
html[data-theme="light"] .chat-bubble.assistant p { color:#1c2233 !important; }
html[data-theme="light"] .agent-stage { color:#334155 !important; }
html[data-theme="light"] .agent-stage .as-role { color:#0e7490 !important; }
html[data-theme="light"] .agent-questions button { color:#0e7490 !important; background:#f0f9ff !important; border-color:#bae6fd !important; }

/* —— 输入区 AI 写作等圆形按钮：浅色下给主题色底白字 —— */
html[data-theme="light"] .cp-v2 .ai-writer-open { background:linear-gradient(135deg,#06b6d4,#0891b2) !important; color:#fff !important; }
/* 搜索/功能图标在浅输入框里加深 */
html[data-theme="light"] .ws-v2 .sb-search svg,
html[data-theme="light"] .ws-v2 .ws-search svg { color:#64748b !important; }

/* —— 通用兜底：浅色下常见“近白文字”类统一压暗（不影响强调色按钮内白字） —— */
html[data-theme="light"] .ws-sidebar,
html[data-theme="light"] .ws-v2 .ws-sidebar { color:#334155; }
html[data-theme="light"] .ws-v2 .ws-sidebar .muted,
html[data-theme="light"] .ws-v2 .ws-sidebar small { color:#64748b !important; }

/* —— 输入区参数芯片：暗底浅字 → 浅底深字 —— */
html[data-theme="light"] .cp-v2 .param-chip { background:#eef2f8 !important; border-color:#dbe2ee !important; color:#334155 !important; }
html[data-theme="light"] .cp-v2 .param-chip .param-val,
html[data-theme="light"] .cp-v2 .param-chip.param-gold .param-val,
html[data-theme="light"] .cp-v2 .param-chip.param-purple .param-val { color:#1c2233 !important; }
html[data-theme="light"] .cp-v2 .param-chip.param-gold { background:#fdf6e3 !important; border-color:#f0e2ad !important; }
html[data-theme="light"] .cp-v2 .param-chip.param-gold .param-val { color:#92660a !important; }
html[data-theme="light"] .cp-v2 .param-chip.param-purple { background:#f3effe !important; border-color:#ddd2fb !important; }
html[data-theme="light"] .cp-v2 .param-chip.param-purple .param-val { color:#5b21b6 !important; }
html[data-theme="light"] .cp-v2 .param-caret { color:#64748b !important; opacity:1 !important; }
/* 搜索框里的放大镜字符/图标加深 */
html[data-theme="light"] .ws-search > span,
html[data-theme="light"] .sb-search > span,
html[data-theme="light"] .search-box > span,
html[data-theme="light"] .ws-search .sb-ico,
html[data-theme="light"] .sb-search .sb-ico { color:#64748b !important; }

/* ============================================================
   个人中心 wode / uc-* / wd-* 浅色适配（原页面写死近黑底）
   ============================================================ */
html[data-theme="light"] body.uc-body,
html[data-theme="light"] .uc-body { background:#f4f5fa !important; color:#1c2233 !important; }
html[data-theme="light"] .uc-card {
  background:#ffffff !important; border:1px solid #e9ebf2 !important; box-shadow:0 8px 28px rgba(30,42,80,.08) !important;
}
html[data-theme="light"] .uc-card-h,
html[data-theme="light"] .uc-nick-row strong,
html[data-theme="light"] .uc-func-grid b { color:#1c2233 !important; }
html[data-theme="light"] .uc-title { color:#1c2233 !important; }
html[data-theme="light"] .uc-id,
html[data-theme="light"] .uc-edit-nick,
html[data-theme="light"] .uc-balance,
html[data-theme="light"] .uc-line,
html[data-theme="light"] .uc-storage-desc,
html[data-theme="light"] .uc-autopay,
html[data-theme="light"] .uc-acct-row .uc-k { color:#64748b !important; }
html[data-theme="light"] .uc-id b { color:#1c2233 !important; }
html[data-theme="light"] .uc-balance { border-top-color:#e9ebf2 !important; }
html[data-theme="light"] .uc-acct-row { border-top-color:#eef1f7 !important; }
html[data-theme="light"] .uc-back { background:#ecfeff !important; border-color:#a5f3fc !important; color:#0e7490 !important; }
html[data-theme="light"] .uc-wtabs { background:#eef1f7 !important; }
html[data-theme="light"] .uc-wtabs button { color:#64748b !important; }
html[data-theme="light"] .uc-ghost { background:#f1f3f9 !important; border-color:#d4d9e6 !important; color:#475569 !important; }
html[data-theme="light"] .uc-warn { background:linear-gradient(90deg,#fef6e0,#fefaf2) !important; border-color:#f0dfa3 !important; color:#92660a !important; }
html[data-theme="light"] .uc-warn strong { color:#7c5306 !important; }
html[data-theme="light"] .uc-leveltag { color:#b45309 !important; border-color:#f0d48a !important; background:#fdf6e3 !important; }
html[data-theme="light"] .uc-balance-v { color:#0e7490 !important; }
html[data-theme="light"] .uc-acct-toggle { background:#ecfeff !important; border-color:#a5f3fc !important; color:#0e7490 !important; }
html[data-theme="light"] .uc-acct-toggle.is-open { background:#d5f5fb !important; }
html[data-theme="light"] .uc-storage { background:#f7f8fc !important; border-color:#e9ebf2 !important; }
html[data-theme="light"] .uc-tag-gray { color:#64748b !important; border-color:#d4d9e6 !important; }
html[data-theme="light"] .uc-switch { background:#cbd5e1 !important; }
html[data-theme="light"] .uc-func-grid button { background:#f7f8fc !important; border:1px solid #e9ebf2 !important; border-left:3px solid var(--fc) !important; }
html[data-theme="light"] .uc-func-grid button:hover { background:#eef4fb !important; }
html[data-theme="light"] .uc-func-grid small,
html[data-theme="light"] .uc-func-grid span small { color:#64748b !important; }
html[data-theme="light"] .uc-empty,
html[data-theme="light"] .uc-works-empty { background:#f7f8fc !important; border:1px dashed #d4d9e6 !important; color:#64748b !important; }
html[data-theme="light"] .wd-balancebar,
html[data-theme="light"] .wd-plan,
html[data-theme="light"] .wd-invitebox,
html[data-theme="light"] .wd-vip-card,
html[data-theme="light"] .wd-msg-item,
html[data-theme="light"] .wd-faq-item,
html[data-theme="light"] .wd-pane,
html[data-theme="light"] .wd-card { background:#ffffff !important; border:1px solid #e9ebf2 !important; color:#1c2233 !important; }
html[data-theme="light"] .wd-work-card { background:#f7f8fc !important; border:1px solid #e9ebf2 !important; }
html[data-theme="light"] .wd-work-thumb { background:linear-gradient(135deg,#e2e8f0,#cbd5e1) !important; }
html[data-theme="light"] .wd-payinfo,
html[data-theme="light"] .wd-redeem input,
html[data-theme="light"] .wd-invite-link input { background:#f1f3f9 !important; color:#1c2233 !important; border-color:#d4d9e6 !important; }
html[data-theme="light"] .wd-priv-item { color:#475569 !important; }
html[data-theme="light"] .wd-plan.hot { border-color:#67e8f9 !important; background:linear-gradient(180deg,#ecfeff,#f5fbfd) !important; }
html[data-theme="light"] .wd-vip-progress { background:#e5e9f2 !important; }
html[data-theme="light"] .wd-nav a:hover { background:#eef1f7 !important; }

/* ============================================================
   智能体广场 agents：分类标签粉彩→饱和、描述淡灰加深
   ============================================================ */
html[data-theme="light"] .agent-item:hover { background:#f1f5f9 !important; }
html[data-theme="light"] .agent-item.active { background:rgba(14,116,144,.08) !important; border-color:rgba(14,116,144,.3) !important; }
html[data-theme="light"] .ai-name { color:#1c2233 !important; }
html[data-theme="light"] .ai-desc,
html[data-theme="light"] .member-duty,
html[data-theme="light"] .wb-sec-title,
html[data-theme="light"] .credits-hint { color:#64748b !important; }
html[data-theme="light"] .ai-cat-tag.tag-text   { color:#0369a1 !important; background:rgba(14,165,233,.12) !important; border-color:rgba(14,165,233,.3) !important; }
html[data-theme="light"] .ai-cat-tag.tag-image  { color:#be185d !important; background:rgba(236,72,153,.10) !important; border-color:rgba(236,72,153,.3) !important; }
html[data-theme="light"] .ai-cat-tag.tag-video  { color:#b45309 !important; background:rgba(251,146,60,.10) !important; border-color:rgba(251,146,60,.3) !important; }
html[data-theme="light"] .ai-cat-tag.tag-tool   { color:#0f766e !important; background:rgba(20,184,166,.10) !important; border-color:rgba(20,184,166,.3) !important; }
/* 智能体右侧工作台阶段面板文字 */
html[data-theme="light"] .stage-wrap,
html[data-theme="light"] .stage-wrap p,
html[data-theme="light"] .stage-wrap .stage-desc { color:#334155 !important; }
html[data-theme="light"] .stage-wrap h2,
html[data-theme="light"] .stage-wrap h3 { color:#1c2233 !important; }
html[data-theme="light"] .dia { color:#0e7490 !important; }
/* 侧栏/工作台搜索放大镜加深 */
html[data-theme="light"] .wb-search span { color:#64748b !important; }
/* 个人中心残余：下拉箭头/空态/复制图标 */
html[data-theme="light"] .uc-card i { color:#64748b !important; }
html[data-theme="light"] .uc-copyid { color:#0e7490 !important; }
html[data-theme="light"] .wd-work-empty,
html[data-theme="light"] .uc-works-empty .empty-txt { color:#64748b !important; }
/* 模型详情里的金色价格/区间文字在浅底压为可读的琥珀深色 */
html[data-theme="light"] .cp-v2 .gold-text,
html[data-theme="light"] .cp-v2 [class*=price],
html[data-theme="light"] .param-chip.param-gold { color:inherit; }
html[data-theme="light"] .cp-v2 .param-chip.param-gold .param-val { color:#92660a !important; }

/* ============================================================
   Portal 统一侧栏（pricing/api/agents/models 的 body.wb-page）浅色
   ============================================================ */
html[data-theme="light"] body.wb-page .wb-side { background:#ffffff !important; border-right:1px solid #e9ebf2 !important; }
html[data-theme="light"] body.wb-page .wb-brand-txt strong { color:#1c2233 !important; }
html[data-theme="light"] body.wb-page .wb-brand-txt small { color:#94a3b8 !important; }
html[data-theme="light"] body.wb-page .wb-collapse { background:#f1f3f9 !important; border-color:#d4d9e6 !important; color:#64748b !important; }
html[data-theme="light"] body.wb-page .wb-nav-item,
html[data-theme="light"] body.wb-page .wb-nav-item .nav-ic,
html[data-theme="light"] body.wb-page .wb-nav-item .nav-txt { color:#475569 !important; }
html[data-theme="light"] body.wb-page .wb-nav-item:hover { background:#f1f5f9 !important; color:#0f172a !important; }
html[data-theme="light"] body.wb-page .wb-nav-item.active,
html[data-theme="light"] body.wb-page .wb-nav-item.active .nav-ic,
html[data-theme="light"] body.wb-page .wb-nav-item.active .nav-txt { color:#0e7490 !important; background:rgba(14,116,144,.10) !important; }
html[data-theme="light"] body.wb-page .wb-nav-item.active[data-mainnav="agents"],
html[data-theme="light"] body.wb-page .wb-nav-item.active[data-mainnav="agents"] .nav-ic { color:#6d28d9 !important; background:rgba(109,40,217,.10) !important; }
html[data-theme="light"] body.wb-page .wb-nav-item.active[data-mainnav="inspiration"],
html[data-theme="light"] body.wb-page .wb-nav-item.active[data-mainnav="inspiration"] .nav-ic { color:#be185d !important; background:rgba(190,24,93,.10) !important; }
html[data-theme="light"] body.wb-page .wb-nav-item.active[data-mainnav="openapi"],
html[data-theme="light"] body.wb-page .wb-nav-item.active[data-mainnav="openapi"] .nav-ic { color:#b45309 !important; background:rgba(180,83,9,.10) !important; }
html[data-theme="light"] body.wb-page .wb-side-foot { border-top-color:#e9ebf2 !important; }
html[data-theme="light"] body.wb-page .wb-user .u-info strong { color:#1c2233 !important; }
html[data-theme="light"] body.wb-page .wb-user .u-info small { color:#0e7490 !important; }
html[data-theme="light"] body.wb-page .wb-logout { color:#64748b !important; border-color:#d4d9e6 !important; }
html[data-theme="light"] body.wb-page .wb-main { background:#f4f5fa !important; }

/* ============================================================
   首页落地页头部导航 / 语言切换 / 用户区 浅色
   ============================================================ */
html[data-theme="light"] .landing-header,
html[data-theme="light"] .site-header.landing-header { background:rgba(255,255,255,.9) !important; border-bottom:1px solid #e9ebf2 !important; }
html[data-theme="light"] .landing-header .brand,
html[data-theme="light"] .landing-header .brand .brand-logo,
html[data-theme="light"] .landing-header .brand strong { color:#0e7490 !important; }
html[data-theme="light"] .lh-nav-link,
html[data-theme="light"] .lh-nav-link .lh-nav-ico { color:#334155 !important; }
html[data-theme="light"] .lh-nav-link:hover { color:#0e7490 !important; background:#f1f5f9 !important; }
html[data-theme="light"] .lang-btn { background:#f1f3f9 !important; border-color:#d4d9e6 !important; color:#334155 !important; }
html[data-theme="light"] .lang-code,
html[data-theme="light"] .lang-caret,
html[data-theme="light"] .lang-name { color:#334155 !important; }
html[data-theme="light"] .lang-dropdown { background:#fff !important; border-color:#e9ebf2 !important; box-shadow:0 12px 36px rgba(30,42,80,.14) !important; }
html[data-theme="light"] .lang-option { color:#334155 !important; }
html[data-theme="light"] .lang-option:hover { background:#f1f5f9 !important; }
html[data-theme="light"] .lang-option.active .lang-name { color:#0e7490 !important; }
html[data-theme="light"] .user-chip { color:#334155 !important; }
html[data-theme="light"] .hdr-theme-btn { background:#f1f3f9 !important; border-color:#d4d9e6 !important; color:#475569 !important; }
html[data-theme="light"] .ab-card h3,
html[data-theme="light"] .ab-card h4,
html[data-theme="light"] .tmm-item h4,
html[data-theme="light"] .feat-card h3,
html[data-theme="light"] .feat-card h4 { color:#1c2233 !important; }
html[data-theme="light"] .ab-card p,
html[data-theme="light"] .feat-card p { color:#525b70 !important; }
html[data-theme="light"] .ab-go { color:#0e7490 !important; }
html[data-theme="light"] .top-model-marquee .tmm-ico { color:#64748b !important; opacity:1 !important; }
html[data-theme="light"] .pay-ic { color:#475569 !important; border-color:#d4d9e6 !important; background:#f7f8fc !important; }
html[data-theme="light"] .sec-chip { color:#0e7490 !important; border-color:#a5f3fc !important; background:#ecfeff !important; }
html[data-theme="light"] footer h4,
html[data-theme="light"] .site-footer h4 { color:#1c2233 !important; }

/* ============================================================
   开放API 文档页浅色
   ============================================================ */
html[data-theme="light"] table th { color:#475569 !important; background:#f7f8fc !important; border-color:#e9ebf2 !important; }
html[data-theme="light"] table td { color:#334155 !important; border-color:#eef1f7 !important; }
html[data-theme="light"] .num { color:#0e7490 !important; }
html[data-theme="light"] .api-doc p,
html[data-theme="light"] .api-doc li { color:#334155 !important; }
html[data-theme="light"] .api-doc h2,
html[data-theme="light"] .api-doc h3 { color:#1c2233 !important; }


/* ============================================================
   首页落地页正文区块浅色补全（能力卡/章节标题/hero/页脚）
   ============================================================ */
html[data-theme="light"] .cb-card,
html[data-theme="light"] .cap-card { background:#ffffff !important; border:1px solid #e9ebf2 !important; box-shadow:0 8px 28px rgba(30,42,80,.08) !important; }
html[data-theme="light"] .cb-card h3,
html[data-theme="light"] .cb-card h4,
html[data-theme="light"] .cap-card h3,
html[data-theme="light"] .cap-card h4 { color:#1c2233 !important; }
html[data-theme="light"] .cb-card p,
html[data-theme="light"] .cap-card p { color:#525b70 !important; }
html[data-theme="light"] .sec-h2,
html[data-theme="light"] .sec-title { color:#1c2233 !important; }
html[data-theme="light"] .sec-sub,
html[data-theme="light"] .sec-desc { color:#525b70 !important; }
html[data-theme="light"] .hero-sub { color:#334155 !important; }
html[data-theme="light"] .footer-contact,
html[data-theme="light"] .site-footer { color:#525b70 !important; }
html[data-theme="light"] .landing-page section { color:inherit; }

