/* 来码字皮肤 · 门面版（仅 laimazi.com 注入生效，蜗壳 wokeai.cn 原站零影响）
   范围：浅色主题（白/羊皮/绿/蓝/首页风）的底色·面板·边框·文字变量 + 顶栏 + 强调色
   不动：写作编辑器内部、深色主题（墨夜/纯黑）、支付按钮（微信绿/支付宝蓝为平台品牌色） */

/* 1) 主题变量 → 来码字配色，【只限「首页风格」主题】
   羊皮纸/护眼绿/天青蓝/纯白保留蜗壳原变量（各自底色不同，是主题本身的意义），
   ⛔ 不得把米白强套到全部浅色主题（v10 曾犯此错，用户点名纠正） */
:is(html[data-theme="home"],html[data-nbtheme="home"]){
  --bg:#FAF7F4 !important;        /* 页面底色：来码字米白 */
  --panel:#FFFFFF !important;     /* 卡片：纯白 */
  --panel2:#F6EFE9 !important;    /* 次级面板：暖米 */
  --border:#ECE2DA !important;    /* 边框：暖沙 */
  --text:#221E1C !important;      /* 正文：墨色 */
  --muted:#6B625C !important;     /* 弱文字：暖灰 */
  --gold:#B99A55 !important;      /* 金：来码字金 */
  --accent:#C22A38 !important;    /* 强调：来码字红 */
  --hbc:#C22A38 !important;       /* hover 强调：来码字红 */
}

/* 2) 顶栏：米白底 + 暖色底边（浅色主题下覆盖蜗壳蓝灰调） */
:is(html[data-theme="white"],html[data-theme="sepia"],html[data-theme="green"],html[data-theme="blue"],html[data-theme="home"],html[data-nbtheme="white"],html[data-nbtheme="sepia"],html[data-nbtheme="green"],html[data-nbtheme="blue"],html[data-nbtheme="home"]) header.wk-top{
  background:#FAF7F4 !important;
  border-bottom-color:#ECE2DA !important;
  box-shadow:0 1px 0 #ECE2DA,0 8px 28px rgba(60,40,30,.07) !important;
}

/* 3) 顶栏胶囊/下拉/按钮 hover：蜗壳蓝 → 来码字红 */
:is(html[data-theme="white"],html[data-theme="sepia"],html[data-theme="green"],html[data-theme="blue"],html[data-theme="home"],html[data-nbtheme="white"],html[data-nbtheme="sepia"],html[data-nbtheme="green"],html[data-nbtheme="blue"],html[data-nbtheme="home"]) .wk-top .hpill:hover{
  border-color:rgba(230,40,60,.45) !important;
  color:#C22A38 !important;
  background-color:rgba(255,255,255,.9) !important;
}
:is(html[data-theme="white"],html[data-theme="sepia"],html[data-theme="green"],html[data-theme="blue"],html[data-theme="home"],html[data-nbtheme="white"],html[data-nbtheme="sepia"],html[data-nbtheme="green"],html[data-nbtheme="blue"],html[data-nbtheme="home"]) .wk-top select#i18nSel:hover,
:is(html[data-theme="white"],html[data-theme="sepia"],html[data-theme="green"],html[data-theme="blue"],html[data-theme="home"],html[data-nbtheme="white"],html[data-nbtheme="sepia"],html[data-nbtheme="green"],html[data-nbtheme="blue"],html[data-nbtheme="home"]) .wk-top select#wkTopTheme:hover{
  border-color:rgba(230,40,60,.45) !important;
}
:is(html[data-theme="white"],html[data-theme="sepia"],html[data-theme="green"],html[data-theme="blue"],html[data-theme="home"],html[data-nbtheme="white"],html[data-nbtheme="sepia"],html[data-nbtheme="green"],html[data-nbtheme="blue"],html[data-nbtheme="home"]) .wk-top #userArea button:hover{
  border-color:rgba(230,40,60,.45) !important;
  color:#C22A38 !important;
}

/* 4) 品牌区排版：来码字宋体标题 + 金色小副标（修复蜗壳行内样式的挤压/错位） */
html .wk-top>span:first-child img{
  width:46px !important;
  height:46px !important;
}
html .wk-top>span:nth-child(2){
  margin-left:10px !important;
  margin-top:0 !important;
  line-height:1.15 !important;
}
html .wk-top>span:nth-child(2)>span:first-child{
  font-family:"Noto Serif SC","Source Han Serif SC","Songti SC","STSong","SimSun",serif !important;
  font-size:19px !important;
  font-weight:700 !important;
  letter-spacing:2.5px !important;
  color:#221E1C !important;
  line-height:1.15 !important;
}
html .wk-top>span:nth-child(2)>span:last-child{
  font-size:9.5px !important;
  font-weight:600 !important;
  letter-spacing:3.5px !important;
  color:#B99A55 !important;
  margin-top:3px !important;
}

/* ───────── v2：作品中心等页面的写死颜色（浅色主题） ───────── */

/* 5) 行内主操作按钮（继续创作/查看等）：来码字红实底白字 */
:is(html[data-theme="white"],html[data-theme="sepia"],html[data-theme="green"],html[data-theme="blue"],html[data-theme="home"],html[data-nbtheme="white"],html[data-nbtheme="sepia"],html[data-nbtheme="green"],html[data-nbtheme="blue"],html[data-nbtheme="home"]) .tgo:not([data-act="hb"]){
  background:#C22A38 !important;
  border:1px solid #C22A38 !important;
  color:#FFFFFF !important;
  font-weight:600 !important;
  -webkit-text-fill-color:#FFFFFF !important;
}
:is(html[data-theme="white"],html[data-theme="sepia"],html[data-theme="green"],html[data-theme="blue"],html[data-theme="home"],html[data-nbtheme="white"],html[data-nbtheme="sepia"],html[data-nbtheme="green"],html[data-nbtheme="blue"],html[data-nbtheme="home"]) .trow:hover .tgo:not([data-act="hb"]){
  background:#A8202F !important;
  border-color:#A8202F !important;
  color:#FFFFFF !important;
}
/* 卡片悬浮：蜗壳蓝紫边 → 来码字红边 */
:is(html[data-theme="white"],html[data-theme="sepia"],html[data-theme="green"],html[data-theme="blue"],html[data-theme="home"],html[data-nbtheme="white"],html[data-nbtheme="sepia"],html[data-nbtheme="green"],html[data-nbtheme="blue"],html[data-nbtheme="home"]) .trow:hover{
  border-color:rgba(230,40,60,.45) !important;
}

/* 6) 弹层主按钮（进入下一步/创建skill/开始解析生成等）紫渐变 → 红渐变 */
:is(html[data-theme="white"],html[data-theme="sepia"],html[data-theme="green"],html[data-theme="blue"],html[data-theme="home"],html[data-nbtheme="white"],html[data-nbtheme="sepia"],html[data-nbtheme="green"],html[data-nbtheme="blue"],html[data-nbtheme="home"]) .btn-main,
:is(html[data-theme="white"],html[data-theme="sepia"],html[data-theme="green"],html[data-theme="blue"],html[data-theme="home"],html[data-nbtheme="white"],html[data-nbtheme="sepia"],html[data-nbtheme="green"],html[data-nbtheme="blue"],html[data-nbtheme="home"]) .skadd{
  background:linear-gradient(135deg,#E6283C,#C22A38) !important;
  border:none !important;
  color:#FFFFFF !important;
}

/* 7) 页面大标题紫青渐变字 → 墨色实字 */
:is(html[data-theme="white"],html[data-theme="sepia"],html[data-theme="green"],html[data-theme="blue"],html[data-theme="home"],html[data-nbtheme="white"],html[data-nbtheme="sepia"],html[data-nbtheme="green"],html[data-nbtheme="blue"],html[data-nbtheme="home"]) .h1{
  background:none !important;
  -webkit-background-clip:initial !important;
  background-clip:initial !important;
  -webkit-text-fill-color:currentColor !important;
  color:#221E1C !important;
}

/* ───────── v3：蜗壳"首页风格"主题的装饰背景层（theme.css 178-179 写死） ───────── */

/* 8) 蓝色光斑渐变层 → 来码字米白净底 */
:is(html[data-theme="white"],html[data-theme="sepia"],html[data-theme="green"],html[data-theme="blue"],html[data-theme="home"],html[data-nbtheme="white"],html[data-nbtheme="sepia"],html[data-nbtheme="green"],html[data-nbtheme="blue"],html[data-nbtheme="home"]) body::before{
  background:#FAF7F4 !important;
}
/* 9) 74px 蓝色网格层 → 直接去掉（来码字首页是干净的米白，无网格） */
:is(html[data-theme="white"],html[data-theme="sepia"],html[data-theme="green"],html[data-theme="blue"],html[data-theme="home"],html[data-nbtheme="white"],html[data-nbtheme="sepia"],html[data-nbtheme="green"],html[data-nbtheme="blue"],html[data-nbtheme="home"]) body::after{
  content:none !important;
  display:none !important;
}

/* 10) 工作台页内写死的蓝紫渐变件 → 来码字红 */
:is(html[data-theme="white"],html[data-theme="sepia"],html[data-theme="green"],html[data-theme="blue"],html[data-theme="home"],html[data-nbtheme="white"],html[data-nbtheme="sepia"],html[data-nbtheme="green"],html[data-nbtheme="blue"],html[data-nbtheme="home"]) .flow span.on{
  background:linear-gradient(135deg,#E6283C,#C22A38) !important;
  border-color:transparent !important;
  color:#FFFFFF !important;
  box-shadow:0 3px 12px rgba(230,40,60,.28) !important;
}
:is(html[data-theme="white"],html[data-theme="sepia"],html[data-theme="green"],html[data-theme="blue"],html[data-theme="home"],html[data-nbtheme="white"],html[data-nbtheme="sepia"],html[data-nbtheme="green"],html[data-nbtheme="blue"],html[data-nbtheme="home"]) .wkp-m.u{
  background:linear-gradient(135deg,#E6283C,#C22A38) !important;
  border-color:rgba(230,40,60,.3) !important;
  color:#FFFFFF !important;
}
:is(html[data-theme="white"],html[data-theme="sepia"],html[data-theme="green"],html[data-theme="blue"],html[data-theme="home"],html[data-nbtheme="white"],html[data-nbtheme="sepia"],html[data-nbtheme="green"],html[data-nbtheme="blue"],html[data-nbtheme="home"]) .wkp-mi.cur{
  background:linear-gradient(90deg,rgba(230,40,60,.10),rgba(198,42,56,.06)) !important;
  color:#C22A38 !important;
}
:is(html[data-theme="white"],html[data-theme="sepia"],html[data-theme="green"],html[data-theme="blue"],html[data-theme="home"],html[data-nbtheme="white"],html[data-nbtheme="sepia"],html[data-nbtheme="green"],html[data-nbtheme="blue"],html[data-nbtheme="home"]) #wkpPan{
  background:linear-gradient(180deg,#FFFFFF,#FBF5EF) !important;
  border-color:#ECE2DA !important;
  box-shadow:0 12px 36px rgba(60,40,30,.14) !important;
}

/* ───────── v5：顶栏胶囊常态（蜗壳写死白底蓝灰边深蓝字 → 暖白底暖边墨字） ───────── */
:is(html[data-theme="white"],html[data-theme="sepia"],html[data-theme="green"],html[data-theme="blue"],html[data-theme="home"],html[data-nbtheme="white"],html[data-nbtheme="sepia"],html[data-nbtheme="green"],html[data-nbtheme="blue"],html[data-nbtheme="home"]) .wk-top .hpill{
  background-color:#FFFFFF !important;
  border:1px solid #ECE2DA !important;
  color:#221E1C !important;
}
:is(html[data-theme="white"],html[data-theme="sepia"],html[data-theme="green"],html[data-theme="blue"],html[data-theme="home"],html[data-nbtheme="white"],html[data-nbtheme="sepia"],html[data-nbtheme="green"],html[data-nbtheme="blue"],html[data-nbtheme="home"]) .wk-top .hpill span{
  color:#221E1C !important;
  -webkit-text-fill-color:#221E1C !important;
}
:is(html[data-theme="white"],html[data-theme="sepia"],html[data-theme="green"],html[data-theme="blue"],html[data-theme="home"],html[data-nbtheme="white"],html[data-nbtheme="sepia"],html[data-nbtheme="green"],html[data-nbtheme="blue"],html[data-nbtheme="home"]) .wk-top select#i18nSel,
:is(html[data-theme="white"],html[data-theme="sepia"],html[data-theme="green"],html[data-theme="blue"],html[data-theme="home"],html[data-nbtheme="white"],html[data-nbtheme="sepia"],html[data-nbtheme="green"],html[data-nbtheme="blue"],html[data-nbtheme="home"]) .wk-top select#wkTopTheme{
  background-color:#FFFFFF !important;
  border:1px solid #ECE2DA !important;
  color:#221E1C !important;
}
:is(html[data-theme="white"],html[data-theme="sepia"],html[data-theme="green"],html[data-theme="blue"],html[data-theme="home"],html[data-nbtheme="white"],html[data-nbtheme="sepia"],html[data-nbtheme="green"],html[data-nbtheme="blue"],html[data-nbtheme="home"]) .wk-top #userArea button{
  background:#FFFFFF !important;
  border:1px solid #ECE2DA !important;
  color:#221E1C !important;
}
:is(html[data-theme="white"],html[data-theme="sepia"],html[data-theme="green"],html[data-theme="blue"],html[data-theme="home"],html[data-nbtheme="white"],html[data-nbtheme="sepia"],html[data-nbtheme="green"],html[data-nbtheme="blue"],html[data-nbtheme="home"]) .wk-top #creditBar.hpill,
:is(html[data-theme="white"],html[data-theme="sepia"],html[data-theme="green"],html[data-theme="blue"],html[data-theme="home"],html[data-nbtheme="white"],html[data-nbtheme="sepia"],html[data-nbtheme="green"],html[data-nbtheme="blue"],html[data-nbtheme="home"]) .wk-top #userArea>span.hpill,
:is(html[data-theme="white"],html[data-theme="sepia"],html[data-theme="green"],html[data-theme="blue"],html[data-theme="home"],html[data-nbtheme="white"],html[data-nbtheme="sepia"],html[data-nbtheme="green"],html[data-nbtheme="blue"],html[data-nbtheme="home"]) .wk-top #userArea>button.hpill{
  background-color:#FFFFFF !important;
  border:1px solid #ECE2DA !important;
  color:#221E1C !important;
}
:is(html[data-theme="white"],html[data-theme="sepia"],html[data-theme="green"],html[data-theme="blue"],html[data-theme="home"],html[data-nbtheme="white"],html[data-nbtheme="sepia"],html[data-nbtheme="green"],html[data-nbtheme="blue"],html[data-nbtheme="home"]) .wk-top #userArea span.hpill span{
  color:#221E1C !important;
  -webkit-text-fill-color:#221E1C !important;
}
/* 会员中心胶囊：红色点缀，突出入口 */
:is(html[data-theme="white"],html[data-theme="sepia"],html[data-theme="green"],html[data-theme="blue"],html[data-theme="home"],html[data-nbtheme="white"],html[data-nbtheme="sepia"],html[data-nbtheme="green"],html[data-nbtheme="blue"],html[data-nbtheme="home"]) .wk-top #memberBtn.hpill{
  border-color:rgba(230,40,60,.4) !important;
  color:#C22A38 !important;
}
:is(html[data-theme="white"],html[data-theme="sepia"],html[data-theme="green"],html[data-theme="blue"],html[data-theme="home"],html[data-nbtheme="white"],html[data-nbtheme="sepia"],html[data-nbtheme="green"],html[data-nbtheme="blue"],html[data-nbtheme="home"]) .wk-top #memberBtn.hpill span{
  color:#C22A38 !important;
  -webkit-text-fill-color:#C22A38 !important;
}

/* ───────── v6：全局导航抽屉选中态（蜗壳写死蓝底蓝边 → 来码字红） ───────── */
:is(html[data-theme="white"],html[data-theme="sepia"],html[data-theme="green"],html[data-theme="blue"],html[data-theme="home"],html[data-nbtheme="white"],html[data-nbtheme="sepia"],html[data-nbtheme="green"],html[data-nbtheme="blue"],html[data-nbtheme="home"]) #wkDrawer .wkd-it.on{
  background:rgba(230,40,60,.10) !important;
  color:#C22A38 !important;
  border-left-color:#C22A38 !important;
}
:is(html[data-theme="white"],html[data-theme="sepia"],html[data-theme="green"],html[data-theme="blue"],html[data-theme="home"],html[data-nbtheme="white"],html[data-nbtheme="sepia"],html[data-nbtheme="green"],html[data-nbtheme="blue"],html[data-nbtheme="home"]) #wkDrawer .wkd-it.on .wic{
  color:#C22A38 !important;
}
:is(html[data-theme="white"],html[data-theme="sepia"],html[data-theme="green"],html[data-theme="blue"],html[data-theme="home"],html[data-nbtheme="white"],html[data-nbtheme="sepia"],html[data-nbtheme="green"],html[data-nbtheme="blue"],html[data-nbtheme="home"]) #wkDrawer .wkd-it.on:hover{
  background:rgba(230,40,60,.16) !important;
  color:#C22A38 !important;
}

/* ───────── v8：首页风格装饰层收尾 + 关键规则特异度加固 ─────────
   蜗壳 theme.css 178-180 给「首页风格」画了三层装饰：body::before 蓝光斑、
   body::after 74px 蓝网格、html::after 780px 大圆环+轨道阴影（180 此前一直漏网）。
   另有 .wkd-it.on 紫蓝 / .trow:hover 蓝紫 / .hpill 蓝灰字，与皮肤规则特异度平级，
   全靠加载顺序险胜 → 此版统一加 body/:root 前缀抬一档，顺序不再敏感。 */

/* 11) 大圆环+轨道阴影 → 整个去掉（:root 比 html 高一档） */
:root[data-theme="home"]::after{
  content:none !important;
  display:none !important;
}
/* 12) 蓝光斑层 → 整层摘掉（该伪元素蜗壳只给 home 主题定义过内容，其余四主题为无操作） */
:is(html[data-theme="white"],html[data-theme="sepia"],html[data-theme="green"],html[data-theme="blue"],html[data-theme="home"],html[data-nbtheme="white"],html[data-nbtheme="sepia"],html[data-nbtheme="green"],html[data-nbtheme="blue"],html[data-nbtheme="home"]) body::before{
  content:none !important;
  display:none !important;
}

/* 13) 卡片悬停：蓝紫边 → 来码字红（theme.css L64 平级 !important，加 body 抬一档） */
:is(html[data-theme="white"],html[data-theme="sepia"],html[data-theme="green"],html[data-theme="blue"],html[data-theme="home"],html[data-nbtheme="white"],html[data-nbtheme="sepia"],html[data-nbtheme="green"],html[data-nbtheme="blue"],html[data-nbtheme="home"]) body .trow:hover{
  border-color:rgba(230,40,60,.45) !important;
}
:is(html[data-theme="white"],html[data-theme="sepia"],html[data-theme="green"],html[data-theme="blue"],html[data-theme="home"],html[data-nbtheme="white"],html[data-nbtheme="sepia"],html[data-nbtheme="green"],html[data-nbtheme="blue"],html[data-nbtheme="home"]) body .trow:hover .tgo{
  color:#C22A38 !important;
  border-color:rgba(230,40,60,.45) !important;
}

/* 14) 顶栏胶囊（_header R317e 平级，加 body 抬一档）：底/边/字全部跟主题变量走，
   各浅色主题保持各自色调，只把蜗壳蓝灰字和 hover 蓝边统一成来码字红 */
:is(html[data-theme="white"],html[data-theme="sepia"],html[data-theme="green"],html[data-theme="blue"],html[data-theme="home"],html[data-nbtheme="white"],html[data-nbtheme="sepia"],html[data-nbtheme="green"],html[data-nbtheme="blue"],html[data-nbtheme="home"]) body .wk-top .hpill{
  background-color:var(--panel) !important;
  border:1px solid var(--border) !important;
  color:var(--text) !important;
}
:is(html[data-theme="white"],html[data-theme="sepia"],html[data-theme="green"],html[data-theme="blue"],html[data-theme="home"],html[data-nbtheme="white"],html[data-nbtheme="sepia"],html[data-nbtheme="green"],html[data-nbtheme="blue"],html[data-nbtheme="home"]) body .wk-top .hpill span{
  color:var(--text) !important;
  -webkit-text-fill-color:var(--text) !important;
}
:is(html[data-theme="white"],html[data-theme="sepia"],html[data-theme="green"],html[data-theme="blue"],html[data-theme="home"],html[data-nbtheme="white"],html[data-nbtheme="sepia"],html[data-nbtheme="green"],html[data-nbtheme="blue"],html[data-nbtheme="home"]) body .wk-top .hpill:hover{
  border-color:rgba(230,40,60,.45) !important;
  color:#C22A38 !important;
  background-color:rgba(255,255,255,.9) !important;
}
:is(html[data-theme="white"],html[data-theme="sepia"],html[data-theme="green"],html[data-theme="blue"],html[data-theme="home"],html[data-nbtheme="white"],html[data-nbtheme="sepia"],html[data-nbtheme="green"],html[data-nbtheme="blue"],html[data-nbtheme="home"]) body .wk-top select#i18nSel,
:is(html[data-theme="white"],html[data-theme="sepia"],html[data-theme="green"],html[data-theme="blue"],html[data-theme="home"],html[data-nbtheme="white"],html[data-nbtheme="sepia"],html[data-nbtheme="green"],html[data-nbtheme="blue"],html[data-nbtheme="home"]) body .wk-top select#wkTopTheme{
  background-color:var(--panel) !important;
  border:1px solid var(--border) !important;
  color:var(--text) !important;
}
:is(html[data-theme="white"],html[data-theme="sepia"],html[data-theme="green"],html[data-theme="blue"],html[data-theme="home"],html[data-nbtheme="white"],html[data-nbtheme="sepia"],html[data-nbtheme="green"],html[data-nbtheme="blue"],html[data-nbtheme="home"]) body .wk-top select#i18nSel:hover,
:is(html[data-theme="white"],html[data-theme="sepia"],html[data-theme="green"],html[data-theme="blue"],html[data-theme="home"],html[data-nbtheme="white"],html[data-nbtheme="sepia"],html[data-nbtheme="green"],html[data-nbtheme="blue"],html[data-nbtheme="home"]) body .wk-top select#wkTopTheme:hover{
  border-color:rgba(230,40,60,.45) !important;
}
/* ID 版胶囊（蜗壳 R319 走 #id 抬特异度，这里同样加 body 保持压一档） */
:is(html[data-theme="white"],html[data-theme="sepia"],html[data-theme="green"],html[data-theme="blue"],html[data-theme="home"],html[data-nbtheme="white"],html[data-nbtheme="sepia"],html[data-nbtheme="green"],html[data-nbtheme="blue"],html[data-nbtheme="home"]) body .wk-top #creditBar.hpill,
:is(html[data-theme="white"],html[data-theme="sepia"],html[data-theme="green"],html[data-theme="blue"],html[data-theme="home"],html[data-nbtheme="white"],html[data-nbtheme="sepia"],html[data-nbtheme="green"],html[data-nbtheme="blue"],html[data-nbtheme="home"]) body .wk-top #memberBtn.hpill,
:is(html[data-theme="white"],html[data-theme="sepia"],html[data-theme="green"],html[data-theme="blue"],html[data-theme="home"],html[data-nbtheme="white"],html[data-nbtheme="sepia"],html[data-nbtheme="green"],html[data-nbtheme="blue"],html[data-nbtheme="home"]) body .wk-top #userArea>span.hpill,
:is(html[data-theme="white"],html[data-theme="sepia"],html[data-theme="green"],html[data-theme="blue"],html[data-theme="home"],html[data-nbtheme="white"],html[data-nbtheme="sepia"],html[data-nbtheme="green"],html[data-nbtheme="blue"],html[data-nbtheme="home"]) body .wk-top #userArea>button.hpill{
  background-color:var(--panel) !important;
  border:1px solid var(--border) !important;
  color:var(--text) !important;
  box-shadow:none !important;
}
:is(html[data-theme="white"],html[data-theme="sepia"],html[data-theme="green"],html[data-theme="blue"],html[data-theme="home"],html[data-nbtheme="white"],html[data-nbtheme="sepia"],html[data-nbtheme="green"],html[data-nbtheme="blue"],html[data-nbtheme="home"]) body .wk-top #creditBar.hpill span,
:is(html[data-theme="white"],html[data-theme="sepia"],html[data-theme="green"],html[data-theme="blue"],html[data-theme="home"],html[data-nbtheme="white"],html[data-nbtheme="sepia"],html[data-nbtheme="green"],html[data-nbtheme="blue"],html[data-nbtheme="home"]) body .wk-top #memberBtn.hpill span,
:is(html[data-theme="white"],html[data-theme="sepia"],html[data-theme="green"],html[data-theme="blue"],html[data-theme="home"],html[data-nbtheme="white"],html[data-nbtheme="sepia"],html[data-nbtheme="green"],html[data-nbtheme="blue"],html[data-nbtheme="home"]) body .wk-top #userArea span.hpill span{
  background:none !important;
  -webkit-text-fill-color:var(--text) !important;
  color:var(--text) !important;
}
:is(html[data-theme="white"],html[data-theme="sepia"],html[data-theme="green"],html[data-theme="blue"],html[data-theme="home"],html[data-nbtheme="white"],html[data-nbtheme="sepia"],html[data-nbtheme="green"],html[data-nbtheme="blue"],html[data-nbtheme="home"]) body .wk-top #memberBtn.hpill,
:is(html[data-theme="white"],html[data-theme="sepia"],html[data-theme="green"],html[data-theme="blue"],html[data-theme="home"],html[data-nbtheme="white"],html[data-nbtheme="sepia"],html[data-nbtheme="green"],html[data-nbtheme="blue"],html[data-nbtheme="home"]) body .wk-top #memberBtn.hpill span{
  color:#C22A38 !important;
  -webkit-text-fill-color:#C22A38 !important;
  border-color:rgba(230,40,60,.4) !important;
}
/* 顶栏本体（下滑吸顶时同色，杜绝任何 JS/类切换翻蓝）：底色跟主题变量走 */
:is(html[data-theme="white"],html[data-theme="sepia"],html[data-theme="green"],html[data-theme="blue"],html[data-theme="home"],html[data-nbtheme="white"],html[data-nbtheme="sepia"],html[data-nbtheme="green"],html[data-nbtheme="blue"],html[data-nbtheme="home"]) body header.wk-top{
  background:var(--bg) !important;
  border-bottom-color:var(--border) !important;
  box-shadow:0 1px 0 var(--border),0 8px 28px rgba(60,40,30,.07) !important;
  backdrop-filter:none !important;
  -webkit-backdrop-filter:none !important;
}
/* 下滑吸顶态：蜗壳 _nav.html 给 .wk-top.wk-scrolled 写死半透明蓝+毛玻璃
   （html[data-theme] .wk-top.wk-scrolled = (0,3,1)，比上面的规则高一档）→ 同样加 .wk-scrolled 压回 */
:is(html[data-theme="white"],html[data-theme="sepia"],html[data-theme="green"],html[data-theme="blue"],html[data-theme="home"],html[data-nbtheme="white"],html[data-nbtheme="sepia"],html[data-nbtheme="green"],html[data-nbtheme="blue"],html[data-nbtheme="home"]) body header.wk-top.wk-scrolled{
  background:var(--bg) !important;
  border-bottom-color:var(--border) !important;
  box-shadow:0 1px 0 var(--border),0 8px 28px rgba(60,40,30,.07) !important;
  backdrop-filter:none !important;
  -webkit-backdrop-filter:none !important;
}
:is(html[data-theme="white"],html[data-theme="sepia"],html[data-theme="green"],html[data-theme="blue"],html[data-theme="home"],html[data-nbtheme="white"],html[data-nbtheme="sepia"],html[data-nbtheme="green"],html[data-nbtheme="blue"],html[data-nbtheme="home"]) body header.wk-top.wk-scrolled .hpill{
  background-color:var(--panel) !important;
  border:1px solid var(--border) !important;
  color:var(--text) !important;
}

/* 15) 全局导航抽屉选中态（theme.css L56 紫蓝平级，加 body 抬一档）→ 来码字红 */
:is(html[data-theme="white"],html[data-theme="sepia"],html[data-theme="green"],html[data-theme="blue"],html[data-theme="home"],html[data-nbtheme="white"],html[data-nbtheme="sepia"],html[data-nbtheme="green"],html[data-nbtheme="blue"],html[data-nbtheme="home"]) body #wkDrawer .wkd-it.on{
  background:rgba(230,40,60,.10) !important;
  color:#C22A38 !important;
  border-left-color:#C22A38 !important;
  opacity:1;
}
:is(html[data-theme="white"],html[data-theme="sepia"],html[data-theme="green"],html[data-theme="blue"],html[data-theme="home"],html[data-nbtheme="white"],html[data-nbtheme="sepia"],html[data-nbtheme="green"],html[data-nbtheme="blue"],html[data-nbtheme="home"]) body #wkDrawer .wkd-it.on .wic{
  color:#C22A38 !important;
}

/* ───────── v10：根元素底色（真正的最底层）【只限「首页风格」主题】 ─────────
   蜗壳 theme.css L10 给 html 根元素写死 background（home=#eef3fa 蓝），L177 又把
   home 主题的 body 设成 transparent 让蓝底透出。这里只改 home 主题的根为米白；
   羊皮纸/护眼绿/天青蓝/纯白保留蜗壳各自的根底色（#f4ecd8/#cfe6d0/#e6eef5/#f7f7f8），
   ⛔ 不得套到全部主题（否则四个主题长一个样，用户点名纠正过）。 */
:root[data-theme="home"],:root[data-nbtheme="home"]{
  background:#FAF7F4 !important;
}
:is(html[data-theme="home"],html[data-nbtheme="home"]) body{
  background:#FAF7F4 !important;
}

/* ───────── v14：书内工作台（novelbook，主题挂 data-nbtheme）残留蜗壳蓝收尾 ───────── */
:is(html[data-nbtheme="white"],html[data-nbtheme="sepia"],html[data-nbtheme="green"],html[data-nbtheme="blue"],html[data-nbtheme="home"]) .vi.on,
:is(html[data-nbtheme="white"],html[data-nbtheme="sepia"],html[data-nbtheme="green"],html[data-nbtheme="blue"],html[data-nbtheme="home"]) .ci.on{
  border-color:rgba(230,40,60,.5) !important;
  color:#C22A38 !important;
}
:is(html[data-nbtheme="white"],html[data-nbtheme="sepia"],html[data-nbtheme="green"],html[data-nbtheme="blue"],html[data-nbtheme="home"]) .nbc .tocitem:hover{
  background:rgba(230,40,60,.06) !important;
}
:is(html[data-nbtheme="white"],html[data-nbtheme="sepia"],html[data-nbtheme="green"],html[data-nbtheme="blue"],html[data-nbtheme="home"]) .nbc .tocitem.on{
  background:rgba(230,40,60,.10) !important;
  color:#C22A38 !important;
}
:is(html[data-nbtheme="white"],html[data-nbtheme="sepia"],html[data-nbtheme="green"],html[data-nbtheme="blue"],html[data-nbtheme="home"]) .nbc .tags .tag{
  background:rgba(230,40,60,.06) !important;
  border-color:rgba(230,40,60,.4) !important;
  color:#C22A38 !important;
}

/* ───────── v12：顶栏清场——只留 logo +「我的」，蜗壳导航件全部下架 ─────────
   用户拍板：全局导航抽屉/下载AI作家助手/简体中文/首页风格/站内信/顶栏作品中心胶囊
   全部不要；「我的」下拉只留 码字房必需五项（充值/会员/个人中心/作品中心/退出登录）。
   仅 laimazi.com 加载本文件，蜗壳 wokeai.cn 原站零影响。 */
/* 注意：蜗壳 _nav.html 有 .wk-top #homeDownloadApp 等 (1,1,0) 的 inline-flex!important，
   这里统一写成 body .wk-top #xxx (1,1,1) 才能压过 —— 不能省 .wk-top 前缀 */
body #wkRail,                                        /* 全局导航左边缘把手 */
body #wkDrawer,                                      /* 全局导航抽屉本体 */
body .wk-top #homeDownloadApp,                       /* 下载AI作家助手（JS 注入按钮） */
body #wkBell,                                        /* 站内信铃铛 */
body .wk-top #i18nBox,                               /* 简体中文语言下拉 */
body .wk-top #homeThemeSel,                          /* 首页风格下拉（JS 注入版） */
body .wk-top #wkTopTheme,                            /* 首页风格下拉（dramatize 版） */
body header.wk-top span[title="阅读主题"],             /* 首页风格下拉的包装层 */
body header.wk-top a.hpill[href="/studio/works"]     /* 顶栏作品中心胶囊（菜单里那份保留） */{
  display:none !important;
}
/* 「我的」下拉：删 知识库/我的 Skill/我的工单/管理员后台（含散胶囊形态的管理员后台） */
body .wkMeIt[href="/studio/library"],
body .wkMeIt[href="/studio/skills"],
body .wkMeIt[href="/studio/ticket"],
body .wkMeIt[href="/studio/admin"],
body #wkScatterAdmin{
  display:none !important;
}
