/* xjly.online 全局主题美化（2026-10-21 第3轮）
   通过 nginx sub_filter 注入，不改变 Discuz 任何核心模板，可一键回退（删 sub_filter + 清缓存）。
   设计语言：新疆旅行·清新自然绿；卡片化、圆角、轻阴影、留白、平滑过渡。 */
:root{
  --xj-green:#14532d; --xj-green2:#2f8f5b; --xj-green-soft:#e8f3ec;
  --xj-text:#1f2937; --xj-muted:#6b7280; --xj-line:#eef1f4;
  --xj-radius:10px; --xj-shadow:0 1px 4px rgba(15,30,60,.08);
}
*{box-sizing:border-box;}
body{
  background:#f5f7f6 !important;
  color:var(--xj-text) !important;
  font-family:"PingFang SC","Microsoft YaHei","Hiragino Sans GB",Arial,sans-serif !important;
  font-size:14px; line-height:1.7;
}
#hd, .hd{ border-bottom:none !important; box-shadow:0 2px 10px rgba(20,83,45,.08); }
#hd .wp, .hd .wp{ background:linear-gradient(135deg,var(--xj-green),var(--xj-green2)) !important;
  border-radius:0 0 14px 14px; padding:14px 18px !important; color:#fff; }
#hd a, .hd a, #hd .nav a, .hd .nav a{ color:#eafff2 !important; }
#hd .nav a:hover, .hd .nav a:hover{ color:#fff !important; text-decoration:underline; }
.bm{
  background:#fff !important; border:1px solid var(--xj-line) !important;
  border-radius:var(--xj-radius) !important; box-shadow:var(--xj-shadow) !important;
  overflow:hidden;
}
.bm_h{
  background:var(--xj-green-soft) !important; color:var(--xj-green) !important;
  border-bottom:2px solid var(--xj-green2) !important; border-radius:0 !important;
  padding:12px 14px 14px 14px !important; font-weight:700;
}
.bm_h h2, .bm_h h3{
  background:transparent !important; color:var(--xj-green) !important;
  border:none !important; padding:0 !important; margin:0 !important;
  font-weight:700; line-height:1.4;
}
.bm_h h2:before, .bm_h h3:before{ content:""; display:inline-block;
  width:4px; height:14px; background:var(--xj-green2); border-radius:2px; margin-right:8px; vertical-align:-2px; }
a, .xi2, .xi2 a{ color:var(--xj-green2) !important; transition:color .15s ease; }
a:hover, .xi2 a:hover{ color:var(--xj-green) !important; text-decoration:underline; }
.pn, .pn p, .sbtn, button.submit, input[type=submit]{
  background:linear-gradient(135deg,var(--xj-green),var(--xj-green2)) !important;
  color:#fff !important; border:none !important; border-radius:8px !important;
  padding:7px 16px !important; cursor:pointer; transition:filter .15s ease, transform .05s ease;
}
.pn:hover, .sbtn:hover, button.submit:hover, input[type=submit]:hover{ filter:brightness(1.06); }
.pn:active, input[type=submit]:active{ transform:translateY(1px); }
#ft, .ft{ color:var(--xj-muted) !important; border-top:1px solid var(--xj-line) !important;
  background:#fff !important; border-radius:14px 14px 0 0; padding:18px !important; }
.fl .bm, .tl .bm{ transition:box-shadow .15s ease, transform .05s ease; }
.fl .bm:hover, .tl .bm:hover{ box-shadow:0 4px 14px rgba(15,30,60,.12); }
.pbn, .ptn a, .pg a, .pg strong{ border-radius:6px !important; }
.pg strong, .pg a:hover{ background:var(--xj-green2) !important; color:#fff !important; border-color:var(--xj-green2) !important; }
table.tb, .dt{ border-collapse:separate !important; border-spacing:0 !important; }
.tb th, .dt th{ background:var(--xj-green-soft) !important; color:var(--xj-green) !important; }
.tb tr:hover td, .dt tr:hover td{ background:#fafcfb !important; }
img{ border-radius:6px; }
::selection{ background:var(--xj-green2); color:#fff; }

/* ===== R2 追加: 子页面深度美化 (2026-10-21) ===== */
/* 导航当前项高亮 */
#hd .nav a.on, #hd .nav a:hover{ position:relative; }
#hd .nav a.on:after{ content:""; position:absolute; left:12px; right:12px; bottom:-2px; height:2px; background:#fff; border-radius:2px; }

/* 帖子列表标题 */
.ptn, .ptn a{ font-size:15px; font-weight:600; color:var(--xj-text) !important; line-height:1.5; }
.ptn a:hover{ color:var(--xj-green) !important; }

/* 板块区块间距 */
.bm{ margin-bottom:16px; }

/* 搜索框 */
#sc, .sc{ border-radius:8px !important; overflow:hidden; }
#sc .search, .sc .search{ background:#fff !important; border:1px solid var(--xj-line) !important; }
#sc .search input, .sc .search input{ padding:6px 10px !important; }

/* 表单输入框 */
input[type=text], input[type=password], input[type=email], textarea, select{
  border:1px solid #d1d5db !important; border-radius:8px !important;
  padding:7px 12px !important; transition:border-color .15s ease, box-shadow .15s ease;
  background:#fff !important; color:var(--xj-text) !important;
}
input[type=text]:focus, input[type=password]:focus, input[type=email]:focus, textarea:focus{
  border-color:var(--xj-green2) !important; box-shadow:0 0 0 3px rgba(47,143,91,.15) !important; outline:none;
}

/* 滚动条 */
::-webkit-scrollbar{ width:10px; height:10px; }
::-webkit-scrollbar-track{ background:#f0f4f1; }
::-webkit-scrollbar-thumb{ background:#b8d4c2; border-radius:6px; }
::-webkit-scrollbar-thumb:hover{ background:var(--xj-green2); }

/* 卡片微动 */
.bm{ transition:transform .12s ease, box-shadow .12s ease; }

/* 移动端 */
@media (max-width:760px){
  .wp{ padding-left:12px !important; padding-right:12px !important; }
  #hd .wp, .hd .wp{ padding:10px 12px !important; }
  .bm_h{ padding:8px 10px !important; }
  body{ font-size:13px; }
}

/* 标签/tag */
.tg{ background:var(--xj-green-soft) !important; color:var(--xj-green) !important; border-radius:4px; padding:1px 6px; font-size:11px; }

/* ===== R4: 登录后首页快捷入口卡片 ===== */
#xjly-shortcuts{
  background:#fff; border-radius:12px; box-shadow:0 1px 4px rgba(15,30,60,.08);
  padding:16px 18px; margin:0 0 18px 0; border:1px solid #eef1f4;
}
.xjly-sc-title{
  font-size:13px; font-weight:700; color:#14532d; margin-bottom:12px;
  padding-left:8px; border-left:3px solid #2f8f5b;
}
.xjly-sc-grid{
  display:grid; grid-template-columns:repeat(auto-fit,minmax(140px,1fr)); gap:10px;
}
.xjly-sc-item{
  display:block; text-align:center; padding:14px 8px; border-radius:10px;
  background:#f5faf7; text-decoration:none; transition:all .15s ease;
  border:1px solid transparent;
}
.xjly-sc-item:hover{
  background:#e8f3ec; border-color:#2f8f5b; transform:translateY(-2px);
  box-shadow:0 4px 10px rgba(47,143,91,.15);
}
.xjly-sc-icon{ font-size:26px; margin-bottom:6px; }
.xjly-sc-label{ font-size:14px; font-weight:600; color:#14532d; margin-bottom:3px; }
.xjly-sc-desc{ font-size:11px; color:#6b7280; line-height:1.4; }

/* ===== R4: 登录/注册页美化 ===== */
#main_message, .bp_m, .mt{
  max-width:480px; margin:30px auto !important; background:#fff;
  border-radius:12px; box-shadow:0 2px 12px rgba(15,30,60,.08); padding:24px !important;
}
#main_message h2, .bp_m h2{
  color:#14532d !important; border:none !important; padding:0 0 12px 0 !important;
  font-size:18px !important; text-align:center;
}
/* 登录表单输入框加宽 */
.tz{ max-width:320px; margin:0 auto; }
.tz th{ text-align:right; padding:6px 10px !important; color:#6b7280 !important; font-weight:normal !important; }
.tz td{ padding:6px 0 !important; }
.tz input{ width:100% !important; padding:8px 12px !important; }

/* ===== R5 修复: .bm_h line-height 50px 导致标题被切 ===== */
.bm_h{ line-height:1.4 !important; height:auto !important; }
.bm_h h3, .bm_h h2{ line-height:1.4 !important; }

/* ===== R5修复: 登录弹窗(fwin)布局对齐 ===== */
.fwin .t_l, .fwin .t_r, .fwin .m_l{ display:none !important; }
.fwin .m_c{ padding:18px 22px !important; }
.fwin h3.flb{
  background:transparent !important; color:var(--xj-green) !important;
  border:none !important; padding:0 0 12px 0 !important; margin:0 0 12px 0 !important;
  font-size:16px !important;
}
.fwin table{ margin:0 auto; }
.fwin table td{ padding:5px 4px !important; }
.fwin input[type=text], .fwin input[type=password]{
  width:200px !important; padding:7px 10px !important;
}
.fwin .pn, .fwin button.submit{ margin-top:10px !important; }

/* ===== R6: 最近更新/热门内容/最新回复 三栏区块 ===== */
#xjly-recent{
  display:grid; grid-template-columns:repeat(3,1fr); gap:14px;
  margin:0 0 18px 0;
}
.xjly-recent-col{
  background:#fff; border-radius:12px; box-shadow:0 1px 4px rgba(15,30,60,.08);
  padding:14px 16px; border:1px solid #eef1f4;
}
.xjly-r-title{
  font-size:13px; font-weight:700; color:#14532d; margin-bottom:10px;
  padding-left:8px; border-left:3px solid #2f8f5b;
}
.xjly-r-list{ list-style:none; margin:0; padding:0; }
.xjly-r-list li{ padding:7px 0; border-bottom:1px dashed #eef1f4; }
.xjly-r-list li:last-child{ border-bottom:none; }
.xjly-r-list a{ text-decoration:none; display:block; }
.xjly-r-sub{
  display:block; font-size:13px; color:#1f2937; font-weight:500;
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
}
.xjly-r-sub:hover{ color:#14532d; }
.xjly-r-meta{ display:block; font-size:11px; color:#9ca3af; margin-top:2px; }
@media (max-width:900px){
  #xjly-recent{ grid-template-columns:1fr; }
}

/* ===== R7修复: 帖子详情页横向溢出 ===== */
html, body{ overflow-x:hidden !important; }
.plc .t_f, .pcb, .plc{ word-break:break-word !important; overflow-wrap:break-word !important; }
.plc .t_f table, .plc table{ max-width:100% !important; word-break:break-word !important; }
.plc img, .plc .t_f img{ max-width:100% !important; height:auto !important; }
.plc a{ word-break:break-all !important; }
.vwthd, .vwtb, .vw, .modact, .ptm, .psth{ overflow-x:auto !important; }
/* 帖子正文间距与卡片化 */
.plc{ background:#fff !important; border-radius:12px !important; margin-bottom:14px !important; }
.plc .pct, .plc .t_f{ padding:8px 4px !important; }
.plc h1.ts, .vwthd h1{ font-size:19px !important; line-height:1.5 !important; color:var(--xj-text) !important; }
/* 作者栏 */
.pi{ padding:8px 0 !important; }
.pls{ background:var(--xj-green-soft) !important; border-radius:10px !important; }

/* ===== R7-2修复: dz_wide 固定宽在窄视口自适应 ===== */
@media (max-width:1280px){
  .dz_wide #hd .wp, .dz_wide #wp, .dz_wide #ft,
  .dz_wide .wp, .dz_wide .topbox, .dz_wide .dz_layer_top,
  .dz_wide .dz_btm_layer, .dz_wide .area{
    width:auto !important; max-width:100% !important;
  }
  .dz_wide .bm, .dz_wide .bm_c, .dz_wide .cl{ width:auto !important; max-width:100% !important; }
  .dz_skin_picker{ max-width:100% !important; overflow-x:auto !important; }
}

/* ===== R7-3根治: dz_wide body min-width 1200 撑破窄视口 ===== */
@media (max-width:1280px){
  body.dz_wide, body{
    min-width:0 !important; width:auto !important; max-width:100% !important;
  }
}

/* ===== R7-4根治: 子容器 min-width 全覆盖 ===== */
@media (max-width:1280px){
  .dz_layer_top, .topbox, .dz_btm_layer, .dz_skin_picker,
  .clear, .cl, .bm, .bm_c, .area, .wp, #wp, #hd, #ft,
  .dz_wide .bm, .dz_wide .bm_c, .dz_wide .cl{
    min-width:0 !important; width:auto !important; max-width:100% !important;
  }
}

/* ===== R9修复: dark星空夜 全面深色化(板块列表/表单/输入框/分页) ===== */
body.dz-skin-dark{ background:#0b1120 !important; }
body.dz-skin-dark .bm, body.dz-skin-dark .bm_c, body.dz-skin-dark .tl,
body.dz-skin-dark .bm_h{ background:#0f172a!important; border-color:#263449!important; color:#cbd5e1!important; }
body.dz-skin-dark .tl th, body.dz-skin-dark .tl td,
body.dz-skin-dark .bm_c th, body.dz-skin-dark .bm_c td{ background:transparent!important; color:#cbd5e1!important; border-color:#263449!important; }
body.dz-skin-dark .tl .th{ background:#16233c!important; color:#e2e8f0!important; }
body.dz-skin-dark a.xst, body.dz-skin-dark .tl a, body.dz-skin-dark .bm_c a,
body.dz-skin-dark .xw1 a{ color:#94a3b8!important; }
body.dz-skin-dark a.xst:hover{ color:#38bdf8!important; }
body.dz-skin-dark input[type=text], body.dz-skin-dark input[type=password],
body.dz-skin-dark input[type=email], body.dz-skin-dark textarea,
body.dz-skin-dark select{ background:#1e293b!important; color:#e2e8f0!important; border-color:#334155!important; }
body.dz-skin-dark .rfm, body.dz-skin-dark .rfm .c, body.dz-skin-dark .rfm dl,
body.dz-skin-dark .rfm .lb{ color:#cbd5e1!important; }
body.dz-skin-dark .pgs, body.dz-skin-dark .pg{ color:#94a3b8!important; }
body.dz-skin-dark .pg a{ background:#16233c!important; color:#94a3b8!important; border-color:#263449!important; }
body.dz-skin-dark .pg strong{ background:#38bdf8!important; color:#0f172a!important; }

/* ===== R19 未来科技感 · 星空夜皮肤增强 ===== */
/* 深空星云 + 科技网格背景 */
body.dz-skin-dark{
  background:
    radial-gradient(1100px 520px at 12% -4%, rgba(56,189,248,.16), transparent 60%),
    radial-gradient(900px 500px at 88% 8%, rgba(168,85,247,.14), transparent 60%),
    radial-gradient(760px 680px at 50% 112%, rgba(14,165,233,.10), transparent 60%),
    radial-gradient(2px 2px at 25% 18%, rgba(148,197,253,.5), transparent),
    radial-gradient(2px 2px at 60% 32%, rgba(148,197,253,.4), transparent),
    radial-gradient(1.5px 1.5px at 78% 22%, rgba(148,197,253,.35), transparent),
    radial-gradient(1.5px 1.5px at 42% 55%, rgba(148,197,253,.3), transparent),
    radial-gradient(2px 2px at 90% 65%, rgba(148,197,253,.3), transparent),
    radial-gradient(1.5px 1.5px at 8% 72%, rgba(148,197,253,.3), transparent),
    repeating-linear-gradient(0deg, transparent 0 39px, rgba(56,189,248,.035) 40px),
    repeating-linear-gradient(90deg, transparent 0 39px, rgba(56,189,248,.035) 40px),
    #0b1120 !important;
}
/* 头部导航 毛玻璃 + 底部霓虹光 */
body.dz-skin-dark #hd, body.dz-skin-dark .hd{
  background: linear-gradient(180deg, rgba(8,12,26,.93), rgba(10,17,34,.80)) !important;
  border-bottom: 1px solid rgba(56,189,248,.28) !important;
  box-shadow: 0 1px 0 rgba(56,189,248,.14), 0 10px 34px rgba(14,165,233,.10) !important;
}
/* 导航项 hover 霓虹光条 */
body.dz-skin-dark #nv li, body.dz-skin-dark #nv a{ position: relative; }
body.dz-skin-dark #nv a:hover{
  color: #7dd3fc !important;
  text-shadow: 0 0 12px rgba(56,189,248,.85);
}
body.dz-skin-dark #nv a:hover::after{
  content:''; position:absolute; left:10px; right:10px; bottom:-1px; height:2px;
  background: linear-gradient(90deg, #38bdf8, #a855f7, #38bdf8);
  border-radius: 2px;
  box-shadow: 0 0 10px rgba(56,189,248,.95), 0 0 20px rgba(168,85,247,.5);
}
/* 板块卡: 玻璃拟态 + 发光边框 + 悬浮光晕 */
body.dz-skin-dark .bm{
  background: linear-gradient(160deg, rgba(19,26,46,.93), rgba(13,20,38,.97)) !important;
  border: 1px solid rgba(56,189,248,.18) !important;
  border-radius: 14px !important;
  box-shadow: 0 0 0 1px rgba(2,6,23,.4), 0 6px 24px rgba(2,6,23,.5), inset 0 1px 0 rgba(148,197,253,.08) !important;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease !important;
}
body.dz-skin-dark .bm:hover{
  border-color: rgba(56,189,248,.48) !important;
  box-shadow: 0 0 26px rgba(56,189,248,.17), 0 12px 36px rgba(2,6,23,.6), inset 0 1px 0 rgba(148,197,253,.10) !important;
  transform: translateY(-2px);
}
/* 板块标题: 渐变光条 + 发光文字 */
body.dz-skin-dark .bm_h{
  background: linear-gradient(90deg, rgba(56,189,248,.12), rgba(168,85,247,.05), transparent 75%) !important;
  border-bottom: 1px solid rgba(56,189,248,.16) !important;
}
body.dz-skin-dark .bm_h h2, body.dz-skin-dark .bm_h strong{
  color: #e2f4ff !important;
  text-shadow: 0 0 16px rgba(56,189,248,.4);
}
body.dz-skin-dark .bm_h h2::before, body.dz-skin-dark .bm_h strong::before{
  content:''; display:inline-block; width:4px; height:14px; margin-right:9px;
  background: linear-gradient(180deg, #38bdf8, #a855f7);
  border-radius: 2px;
  box-shadow: 0 0 9px rgba(56,189,248,.9);
  vertical-align: -2px;
}
/* 快捷入口卡 霓虹 + 悬浮 */
body.dz-skin-dark .xjly-sc-item{
  background: linear-gradient(160deg, rgba(19,26,46,.92), rgba(12,19,38,.95)) !important;
  border: 1px solid rgba(56,189,248,.16) !important;
  border-radius: 14px !important;
  box-shadow: 0 4px 16px rgba(2,6,23,.42), inset 0 1px 0 rgba(148,197,253,.07) !important;
  transition: all .2s ease !important;
}
body.dz-skin-dark .xjly-sc-item:hover{
  border-color: rgba(56,189,248,.6) !important;
  box-shadow: 0 0 24px rgba(56,189,248,.24), 0 8px 28px rgba(2,6,23,.5), inset 0 1px 0 rgba(148,197,253,.1) !important;
  transform: translateY(-3px);
}
body.dz-skin-dark .xjly-sc-icon{ filter: drop-shadow(0 0 9px rgba(56,189,248,.6)); }
body.dz-skin-dark .xjly-sc-label{ color: #e2f4ff !important; text-shadow: 0 0 10px rgba(56,189,248,.35); }
/* 三栏区块 玻璃卡 */
body.dz-skin-dark .xjly-recent-col{
  background: linear-gradient(160deg, rgba(19,26,46,.92), rgba(12,19,38,.95)) !important;
  border: 1px solid rgba(56,189,248,.16) !important;
  border-radius: 14px !important;
  box-shadow: 0 4px 18px rgba(2,6,23,.42) !important;
}
body.dz-skin-dark .xjly-r-title{
  color: #7dd3fc !important;
  text-shadow: 0 0 12px rgba(56,189,248,.45);
}
body.dz-skin-dark .xjly-r-sub:hover{ color: #7dd3fc !important; text-shadow: 0 0 10px rgba(56,189,248,.55); }
/* 全局链接发光 */
body.dz-skin-dark a{ transition: color .15s ease, text-shadow .15s ease; }
body.dz-skin-dark a:hover{ text-shadow: 0 0 10px rgba(56,189,248,.5); }
body.dz-skin-dark .xst:hover{ color: #7dd3fc !important; text-shadow: 0 0 12px rgba(56,189,248,.65); }
/* 按钮霓虹渐变 */
body.dz-skin-dark .pn, body.dz-skin-dark input[type=submit], body.dz-skin-dark .btn{
  background: linear-gradient(135deg, rgba(14,165,233,.88), rgba(59,130,246,.88)) !important;
  border: 1px solid rgba(56,189,248,.55) !important;
  color: #fff !important;
  border-radius: 8px !important;
  box-shadow: 0 0 14px rgba(56,189,248,.30) !important;
  transition: box-shadow .2s ease, transform .15s ease !important;
}
body.dz-skin-dark .pn:hover, body.dz-skin-dark input[type=submit]:hover{
  box-shadow: 0 0 24px rgba(56,189,248,.55) !important;
  transform: translateY(-1px);
}
/* 帖子列表 表头/条目微光 */
body.dz-skin-dark .tl th{ background: rgba(56,189,248,.08) !important; color: #bde6ff !important; }
body.dz-skin-dark .tl td{ border-color: rgba(56,189,248,.08) !important; }
/* 帖子详情正文玻璃 */
body.dz-skin-dark .plc{
  background: rgba(19,26,46,.65) !important;
  border: 1px solid rgba(56,189,248,.15) !important;
  border-radius: 12px !important;
}
body.dz-skin-dark .pi{ border-color: rgba(56,189,248,.10) !important; }
/* 换肤按钮 霓虹胶囊 */
body.dz-skin-dark .dz_skin_picker{
  border: 1px solid rgba(56,189,248,.45) !important;
  background: linear-gradient(135deg, rgba(14,165,233,.22), rgba(168,85,247,.22)) !important;
  border-radius: 999px !important;
  box-shadow: 0 0 12px rgba(56,189,248,.25) !important;
}
/* 滚动条霓虹 */
body.dz-skin-dark::-webkit-scrollbar-thumb{
  background: linear-gradient(180deg, #1e3a5f, #38bdf8) !important;
  border-radius: 6px !important;
  border: 2px solid #0b1120 !important;
}
body.dz-skin-dark::-webkit-scrollbar-thumb:hover{ background: linear-gradient(180deg, #38bdf8, #a855f7) !important; }
/* 公告光条 */
body.dz-skin-dark .notice, body.dz-skin-dark .notice a{
  background: linear-gradient(90deg, rgba(56,189,248,.14), transparent 80%) !important;
  color: #7dd3fc !important;
  text-shadow: 0 0 8px rgba(56,189,248,.45);
}

/* ===== R19b 头部结构适配(Discuz X5: .topbox/.dz_nav) ===== */
body.dz-skin-dark .topbox{
  background: linear-gradient(180deg, rgba(8,12,26,.95), rgba(10,17,34,.85)) !important;
  border-bottom: 1px solid rgba(56,189,248,.28) !important;
  box-shadow: 0 1px 0 rgba(56,189,248,.14), 0 10px 34px rgba(14,165,233,.12) !important;
}
body.dz-skin-dark .dz_nav a{
  position: relative;
  transition: color .15s ease, text-shadow .15s ease !important;
}
body.dz-skin-dark .dz_nav a:hover{
  color: #7dd3fc !important;
  text-shadow: 0 0 12px rgba(56,189,248,.85);
}
body.dz-skin-dark .dz_nav a:hover::after{
  content:''; position:absolute; left:10px; right:10px; bottom:-2px; height:2px;
  background: linear-gradient(90deg, #38bdf8, #a855f7, #38bdf8);
  border-radius: 2px;
  box-shadow: 0 0 10px rgba(56,189,248,.95), 0 0 20px rgba(168,85,247,.5);
}

/* ===== R21 护眼米绿皮肤强化段 (eyecare) ===== */
body.dz-skin-eyecare{
  background:
    radial-gradient(1200px 500px at 85% -8%, rgba(122,165,110,.14) 0%, rgba(0,0,0,0) 60%),
    radial-gradient(900px 420px at 8% 4%, rgba(190,180,130,.16) 0%, rgba(0,0,0,0) 55%),
    linear-gradient(160deg,#eef5e9 0%,#f6f3e8 55%,#e9f0e4 100%) !important;
  color:#3a4632 !important;
}
body.dz-skin-eyecare a{ color:#4a7d4f !important; transition: color .15s ease; }
body.dz-skin-eyecare a:hover{ color:#2f6238 !important; }
body.dz-skin-eyecare .xst:hover{ color:#2f6238 !important; }
body.dz-skin-eyecare .bm{
  background: rgba(251,253,248,.78) !important;
  border: 1px solid rgba(203,216,196,.9) !important;
  border-radius: 12px !important;
  box-shadow: 0 6px 18px rgba(93,112,72,.10) !important;
}
body.dz-skin-eyecare .bm:hover{ box-shadow: 0 10px 26px rgba(93,112,72,.16) !important; border-color:#a9bd96 !important; }
body.dz-skin-eyecare .bm_h{
  background: linear-gradient(90deg, #e7eee0 0%, rgba(231,238,224,.55) 100%) !important;
  border-radius: 12px 12px 0 0 !important;
}
body.dz-skin-eyecare .bm_h h1, body.dz-skin-eyecare .bm_h h2, body.dz-skin-eyecare .bm_h .xs2 a{
  color:#37472f !important;
  text-shadow: 0 1px 0 rgba(255,255,255,.6);
}
body.dz-skin-eyecare .bm_h h2 a::after, body.dz-skin-eyecare .bm_h h1::after{
  content:''; display:block; height:3px; width:56px; margin-top:6px;
  border-radius:3px; background:linear-gradient(90deg,#4a7d4f,#a8b98d);
}
body.dz-skin-eyecare .tl th{
  background: rgba(93,112,72,.12) !important; color:#37472f !important;
  border-color:#d5e0cc !important;
}
body.dz-skin-eyecare .tl td{ border-color:#dbe3d2 !important; color:#46523e !important; }
body.dz-skin-eyecare .plc{ border-color:#d5e0cc !important; background:rgba(251,253,248,.65) !important; }
body.dz-skin-eyecare .pi{ border-color:#d5e0cc !important; }
body.dz-skin-eyecare .pn, body.dz-skin-eyecare input[type=submit], body.dz-skin-eyecare .btn{
  background: linear-gradient(135deg,#4a7d4f,#6d9a62) !important; color:#f4f8f0 !important;
  border:1px solid #3b6a40 !important; border-radius:8px !important;
  box-shadow:0 3px 10px rgba(74,125,79,.25) !important;
}
body.dz-skin-eyecare .pn:hover, body.dz-skin-eyecare input[type=submit]:hover{
  background: linear-gradient(135deg,#3b6a40,#58884e) !important; box-shadow:0 5px 14px rgba(74,125,79,.35) !important;
}
body.dz-skin-eyecare .topbox{
  background: rgba(247,248,240,.85) !important;
  box-shadow: 0 4px 24px rgba(93,112,72,.16) !important;
  border-bottom: 1px solid rgba(203,216,196,.7) !important;
}
body.dz-skin-eyecare .dz_nav a{
  color:#44523b !important;
  border-radius:8px;
}
body.dz-skin-eyecare .dz_nav a:hover{
  color:#2f6238 !important; text-shadow:0 0 8px rgba(74,125,79,.35);
  background:rgba(74,125,79,.10);
}
body.dz-skin-eyecare .dz_nav a:hover::after{
  content:''; display:block; height:2px; border-radius:2px; margin-top:3px;
  background:linear-gradient(90deg,#4a7d4f,#a8b98d);
}
body.dz-skin-eyecare .notice, body.dz-skin-eyecare .notice a{
  background: rgba(233,238,224,.9) !important; color:#46523e !important; border-color:#d5e0cc !important;
}
body.dz-skin-eyecare input[type=text], body.dz-skin-eyecare input[type=password], body.dz-skin-eyecare textarea{
  background:#fbfdf8 !important; color:#3a4632 !important; border-color:#c9d8c2 !important; border-radius:6px !important;
}
body.dz-skin-eyecare .xjly-quick-card, body.dz-skin-eyecare .xjly-r-col{
  background: rgba(251,253,248,.8) !important; border-color:#d5e0cc !important;
  box-shadow:0 6px 16px rgba(93,112,72,.10) !important;
}
body.dz-skin-eyecare .xjly-quick-card:hover, body.dz-skin-eyecare .xjly-r-col:hover{
  border-color:#a9bd96 !important; box-shadow:0 10px 22px rgba(93,112,72,.16) !important;
}
body.dz-skin-eyecare .xjly-r-title{ color:#37472f !important; }
body.dz-skin-eyecare .xjly-r-sub:hover{ color:#2f6238 !important; }
body.dz-skin-eyecare::-webkit-scrollbar{ width:10px; }
body.dz-skin-eyecare::-webkit-scrollbar-thumb{
  background: linear-gradient(180deg,#9db890,#c9c19a) !important; border-radius:6px;
}
body.dz-skin-eyecare::-webkit-scrollbar-thumb:hover{ background: linear-gradient(180deg,#7d9a6b,#b0a26b) !important; }
body.dz-skin-eyecare .dz_skin_picker{ border-color:#c9d8c2 !important; background:rgba(251,253,248,.7) !important; }
body.dz-skin-eyecare .dz_skin_menu{ background:#faf9f2 !important; border-color:#dfe3d5 !important; }
body.dz-skin-eyecare .dz_skin_opt.on{ background:rgba(74,125,79,.12) !important; color:#2f6238 !important; }
body.dz-skin-eyecare #dz_fab_panel{ background:#faf9f2; border-color:#dfe3d5; }
body.dz-skin-eyecare #dz_fab_chips button{ border-color:#c9d8c2; background:#eef4ea; color:#44523b; }
body.dz-skin-eyecare #dz_fab_chips button:hover{ border-color:#a9bd96; background:#e4eee0; color:#2f6238; }
body.dz-skin-eyecare .fab_msg.ai{ background:#eef4ea; color:#3a4632; }
body.dz-skin-eyecare .fab_msg .src{ color:#5c7a53; }
body.dz-skin-eyecare #dz_fab_tools{ background:#f5f7ee; border-color:#dfe3d5; }
body.dz-skin-eyecare #dz_fab_tools button{ background:#eef4ea; border-color:#c9d8c2; color:#44523b; }
body.dz-skin-eyecare #dz_fab_foot{ background:#faf9f2; border-color:#dfe3d5; }

/* ===== R22 性能优化: 滚动/翻看流畅 ===== */
/* 屏外区块跳过渲染, 大幅提升滚动帧率 */
body.dz-skin-eyecare .bm,
body.dz-skin-dark .bm,
.bm{
  content-visibility: auto;
  contain-intrinsic-size: auto 280px;
}
body.dz-skin-eyecare .xjly-r-col,
body.dz-skin-dark .xjly-r-col,
.xjly-r-col{
  content-visibility: auto;
  contain-intrinsic-size: auto 220px;
}
body.dz-skin-eyecare .tl,
body.dz-skin-dark .tl,
.tl{
  content-visibility: auto;
  contain-intrinsic-size: auto 320px;
}
/* hover 阴影过渡仅作用于 transform, 减少重排 */
body.dz-skin-eyecare .bm, body.dz-skin-dark .bm{ transition: border-color .2s ease, box-shadow .2s ease; will-change: auto; }
/* 头像/图标禁用不必要的动画平滑 */
body.dz-skin-eyecare img, body.dz-skin-dark img{ content-visibility: auto; }

/* ===== R24 修复: 消除残留白色区域 ===== */
/* 1) 顶部工具条 #toptb 近白 -> 米绿 */
body.dz-skin-eyecare #toptb{
  background: rgba(240,245,233,.92) !important;
  border-bottom: 1px solid #dbe4d0 !important;
  color: #46523e !important;
}
body.dz-skin-eyecare #toptb a{
  color: #4a6a3e !important;
}
body.dz-skin-eyecare #toptb a:hover{
  color: #2f6238 !important;
}
/* 2) 首页统计条白渐变 -> 米绿渐变 */
body.dz-skin-eyecare .bm.bw0.cl{
  background: linear-gradient(90deg, #fbfdf8, #e8f0e0) !important;
  border-color: #d5e0cc !important;
}
body.dz-skin-eyecare .bm.bw0.cl .cl_icon, body.dz-skin-eyecare .bm.bw0.cl .cl_text, body.dz-skin-eyecare .bm.bw0.cl a{
  color: #3a4632 !important;
}
/* 3) 页脚纯白 -> 米色 */
body.dz-skin-eyecare #ft, body.dz-skin-eyecare .dz_footc_bottom, body.dz-skin-eyecare .foot_copyright, body.dz-skin-eyecare #footer{
  background: #faf9f2 !important;
  border-color: #dfe3d5 !important;
  color: #5c6a52 !important;
}
body.dz-skin-eyecare #ft a, body.dz-skin-eyecare .dz_footc_bottom a{
  color: #4a6a3e !important;
}
/* 4) 快捷入口区/公告条兜底: 任何纯白容器 */
body.dz-skin-eyecare .bm{
  background: rgba(251,253,248,.85) !important;
  border-color: #d5e0cc !important;
}

/* R24b: 统计条 #chart 白渐变 -> 米绿 (id级特异性覆盖) */
body.dz-skin-eyecare #chart.bm.bw0.cl{
  background: linear-gradient(90deg, #fbfdf8, #e8f0e0) !important;
  border-color: #d5e0cc !important;
  border-radius: 8px !important;
}
body.dz-skin-eyecare #chart .chart,
body.dz-skin-eyecare #chart em,
body.dz-skin-eyecare #chart .xi2,
body.dz-skin-eyecare #chart a{
  color: #3a4632 !important;
}
body.dz-skin-eyecare #chart a:hover{ color: #2f6238 !important; }
body.dz-skin-eyecare #chart .pipe{ color: #8aa07e !important; }

/* R25b: 统计条最终米绿(更明显色阶) */
body.dz-skin-eyecare #chart.bm.bw0.cl{
  background: linear-gradient(90deg, #eef4e6, #dce8cf) !important;
  border: 1px solid #c8d9bd !important;
}

/* ===== R26: 弱化 dark(星空夜) 霓虹线条, 提升页面和谐度 ===== */
/* 导航栏底部: 青色霓虹线 -> 柔和微光 */
body.dz-skin-dark #hd, body.dz-skin-dark .hd{
  border-bottom: 1px solid rgba(148,197,253,.10) !important;
  box-shadow: 0 2px 16px rgba(2,6,23,.45) !important;
}
/* 板块卡: 青色细边框 -> 低调蓝灰微光 */
body.dz-skin-dark .bm{
  border: 1px solid rgba(148,197,253,.10) !important;
  box-shadow: 0 4px 18px rgba(2,6,23,.45), inset 0 1px 0 rgba(148,197,253,.05) !important;
}
body.dz-skin-dark .bm:hover{
  border-color: rgba(148,197,253,.22) !important;
  box-shadow: 0 8px 26px rgba(2,6,23,.55), inset 0 1px 0 rgba(148,197,253,.07) !important;
}
/* 板块标题栏: 渐变光条与底线弱化 */
body.dz-skin-dark .bm_h{
  background: linear-gradient(90deg, rgba(56,189,248,.06), rgba(168,85,247,.03), transparent 78%) !important;
  border-bottom: 1px solid rgba(148,197,253,.08) !important;
}
/* 导航项 hover 光条: 保留反馈但更收敛 */
body.dz-skin-dark #nv a:hover::after{
  box-shadow: 0 0 6px rgba(56,189,248,.5), 0 0 12px rgba(168,85,247,.28);
}
/* 统计条/公告区等其它 .bm 容器同步 */
body.dz-skin-dark #chart.bm.bw0.cl,
body.dz-skin-dark .bm.bw0.cl{
  border-color: rgba(148,197,253,.10) !important;
}

/* ===== R27: dark 导航栏白线条弱化 ===== */
/* 导航栏容器(.topbox 才是实际头部) 底部亮线 -> 柔和微光 */
body.dz-skin-dark .topbox,
body.dz-skin-dark #dz_btm_layer,
body.dz-skin-dark .dz_layer_top,
body.dz-skin-dark .dz_btm_layer{
  border-bottom: 1px solid rgba(148,197,253,.10) !important;
  box-shadow: 0 2px 14px rgba(2,6,23,.45) !important;
}
/* 换肤按钮白色边框 -> 低调蓝灰 */
body.dz-skin-dark a.dz_skin_toggle{
  border-color: rgba(148,197,253,.30) !important;
}
/* 消息角标白色 2px 圈 -> 深色描边 */
body.dz-skin-dark span.dz_pm_badge{
  border-color: rgba(2,6,23,.65) !important;
}
/* 换肤下拉小箭头 -> 浅蓝 */
body.dz-skin-dark i.dz_skin_caret{
  border-top-color: rgba(148,197,253,.75) !important;
}

/* ===== R33 顶部白条/半透明遮挡修复 2026-10-21 ===== */
/* [disabled-pro] /* [disabled-pro] /* [disabled-pro] .dz_btm_layer{ background:linear-gradient(180deg,#f5f8ee 0%,#e9efdc 100%) !important; */ */ */ box-shadow:0 1px 12px rgba(96,116,66,.10) !important; }
/* [disabled-pro] /* [disabled-pro] /* [disabled-pro] .dz_layer_top{ background:#f5f8ee !important; } */ */ */
.dz_layer_dl, .header-right{ background:transparent !important; }
.pt{ background:transparent !important; border:none !important; box-shadow:none !important; }
.pt .y{ color:#5a6b4a !important; }

/* ===== R34 移除换肤选择器 dz_skin_picker 2026-10-21 ===== */
/* [disabled-pro] /* [disabled-pro] /* [disabled-pro] .dz_skin_picker{ display:none !important; } */ */ */

/* ===== R35 内容区全宽填充 2026-10-21 ===== */
/* [disabled-pro] /* [disabled-pro] /* [disabled-pro] #wp, .wp, #ct, .dz_btm_layer, .pt .wp{ max-width:100% !important; } */ */ */

/* ===== R37 宽屏顶部用户区同行修复 2026-10-21 ===== */
@media (min-width:1100px){
  .dz_btn_layer.dz_nav, .dz_btm_layer.dz_nav{ display:flex !important; align-items:center !important; }
  .dz_layer_nav{ flex:1 1 auto !important; }
  .dz_layer_dl{ float:none !important; margin-left:auto !important; display:flex !important; align-items:center !important; gap:10px !important; }
}

/* ===== R38 宽屏顶部与内容区左对齐 2026-10-21 ===== */
@media (min-width:1100px){
  .dz_btm_layer.dz_nav{ padding-left:0 !important; padding-right:0 !important; }
  .dz_nav_logo{ margin-left:0 !important; padding-left:0 !important; }
}

/* ============================================================
   第3轮 · 「星野」内页深色星空玻璃（v3）
   作用页：论坛首页(pg_index) / 板块列表·帖子列表(pg_forumdisplay)
           / 帖子阅读(pg_viewthread) / 发帖·回帖(pg_post)
   实现：nginx 注入的 xjly-theme.css 末尾追加，不改 nginx、不动模板。
   优先级策略：
     A 级（页面骨架/头部/页脚）：html:root body:is(...) ...
     B 级（#ct 内容区）：      html:root body:is(...) #ct ...  —— 高于皮肤层 #ct 与 .dz-skin-* 规则
   图片、iframe、视频不反色；独立页面与 AI 侧栏不受影响。
   ============================================================ */

/* ---------- 1. 设计令牌（覆盖任意已选皮肤，仅内页生效） ---------- */
html:root body.dz-skin-dark:is(.pg_index,.pg_forumdisplay,.pg_viewthread,.pg_post,.pg_posting){
  --dz-bodybg:#070a18;
  --dz-bgf:rgba(17,22,50,.72);
  --dz-bga:rgba(124,108,246,.22);
  --dz-bgb:rgba(255,255,255,.06);
  --dz-bgd:rgba(8,11,28,.88);
  --dz-bgsoft:rgba(124,108,246,.12);
  --dz-fa:#e9edff; --dz-fb:#c2cbe8; --dz-fc:#98a3c7;
  --dz-bordera:rgba(169,139,255,.55); --dz-borderb:rgba(255,255,255,.14);
  --dz-borderc:rgba(255,255,255,.10); --dz-borderd:rgba(255,255,255,.07);
  --dz-color:#b9a8ff; --dz-color2:#8f7cf0; --dz-ahover:#f5c76a; --dz-alink:#dfe6ff;
  --dz-nvbg:rgba(9,12,32,.88); --dz-nvbg2:rgba(21,26,61,.92);
  --dz-nvtxt:#e6ebff; --dz-nvtxta:#f5c76a; --dz-nvfill:rgba(255,255,255,.08);
  --dz-btnbg:rgba(124,108,246,.20); --dz-btntxt:#e6ddff;
  --dz-btnbga:#7c6cf6; --dz-btntxta:#ffffff;
  --dz-shadow:0 10px 30px rgba(0,0,0,.45);
  --dz-shadow-lg:0 18px 50px rgba(0,0,0,.55);
  --xj-text:#e9edff; --xj-muted:#a8b3d6; --xj-line:rgba(255,255,255,.10);
  --xj-green:#a98bff; --xj-green2:#7c6cf6; --xj-green-soft:rgba(124,108,246,.16);
  color:#e9edff !important;
}

/* ---------- 2. 深空蓝紫渐变（65~75% 透明度）+ 星空点缀 ---------- */
html:root body.dz-skin-dark:is(.pg_index,.pg_forumdisplay,.pg_viewthread,.pg_post,.pg_posting){
  background-color:#06070f !important;
  background-image:
    url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cg fill='%23ffffff'%3E%3Ccircle cx='22' cy='34' r='1' fill-opacity='.55'/%3E%3Ccircle cx='138' cy='72' r='.8' fill-opacity='.40'/%3E%3Ccircle cx='212' cy='28' r='1.2' fill-opacity='.60'/%3E%3Ccircle cx='70' cy='150' r='.9' fill-opacity='.38'/%3E%3Ccircle cx='188' cy='186' r='1.1' fill-opacity='.52'/%3E%3Ccircle cx='40' cy='222' r='.7' fill-opacity='.34'/%3E%3Ccircle cx='120' cy='240' r='1' fill-opacity='.44'/%3E%3C/g%3E%3C/svg%3E"),
    radial-gradient(980px 560px at 8% -12%,rgba(124,108,246,.30),transparent 62%),
    radial-gradient(820px 480px at 94% 0%,rgba(60,180,255,.16),transparent 58%),
    radial-gradient(760px 460px at 46% 112%,rgba(245,199,106,.10),transparent 64%),
    linear-gradient(162deg,rgba(11,15,44,.74) 0%,rgba(8,11,30,.70) 46%,rgba(5,7,20,.75) 100%) !important;
  background-size:260px 260px,auto,auto,auto,auto !important;
  background-repeat:repeat,no-repeat,no-repeat,no-repeat,no-repeat !important;
  background-attachment:fixed !important;
  min-height:100vh;
}
html:root body.dz-skin-dark:is(.pg_index,.pg_forumdisplay,.pg_viewthread,.pg_post,.pg_posting) a{color:#b9a8ff !important}
html:root body.dz-skin-dark:is(.pg_index,.pg_forumdisplay,.pg_viewthread,.pg_post,.pg_posting) a:hover{color:#f5c76a !important}
html:root body.dz-skin-dark:is(.pg_index,.pg_forumdisplay,.pg_viewthread,.pg_post,.pg_posting) :is(.xi1,.xg1,.xg2){color:#93a0c4 !important}
html:root body.dz-skin-dark:is(.pg_index,.pg_forumdisplay,.pg_viewthread,.pg_post,.pg_posting) .pipe{color:rgba(255,255,255,.22) !important}

/* ---------- 3. 顶部导航 / 搜索 / 下拉层 ---------- */
html:root body.dz-skin-dark:is(.pg_index,.pg_forumdisplay,.pg_viewthread,.pg_post,.pg_posting) :is(.dz_layer_top,.dz_nav,#hd){
  background:linear-gradient(120deg,rgba(12,16,40,.985),rgba(20,15,50,.98)) !important;
  border-bottom:1px solid rgba(255,255,255,.10) !important;
  box-shadow:0 10px 30px rgba(0,0,0,.45) !important;
}
html:root body.dz-skin-dark:is(.pg_index,.pg_forumdisplay,.pg_viewthread,.pg_post,.pg_posting) :is(#hd .wp,.hd .wp){
  background:transparent !important;border-radius:0 !important;box-shadow:none !important;color:#e9edff !important;
}
html:root body.dz-skin-dark:is(.pg_index,.pg_forumdisplay,.pg_viewthread,.pg_post,.pg_posting) :is(.dz_nav a,.dz_layer_nav a,.dz_logo_txt){color:#dfe6ff !important}
html:root body.dz-skin-dark:is(.pg_index,.pg_forumdisplay,.pg_viewthread,.pg_post,.pg_posting) :is(.dz_nav a:hover,.dz_layer_nav a:hover){color:#f5c76a !important}
html:root body.dz-skin-dark:is(.pg_index,.pg_forumdisplay,.pg_viewthread,.pg_post,.pg_posting) :is(.search-input,#sc .search,.sc .search){
  background:rgba(255,255,255,.09) !important;border:1px solid rgba(255,255,255,.18) !important;
  color:#eef2ff !important;border-radius:999px !important;
}
html:root body.dz-skin-dark:is(.pg_index,.pg_forumdisplay,.pg_viewthread,.pg_post,.pg_posting) .search-input::placeholder{color:rgba(238,242,255,.45)}
html:root body.dz-skin-dark:is(.pg_index,.pg_forumdisplay,.pg_viewthread,.pg_post,.pg_posting) :is(.p_pop,.notice-dropdown,.header-user-dropdown .user-card){
  background:linear-gradient(160deg,rgba(18,23,52,.98),rgba(10,13,32,.98)) !important;
  border:1px solid rgba(255,255,255,.14) !important;color:#e6ebff !important;
  box-shadow:0 22px 50px rgba(0,0,0,.55) !important;
}
html:root body.dz-skin-dark:is(.pg_index,.pg_forumdisplay,.pg_viewthread,.pg_post,.pg_posting) :is(.p_pop,.notice-dropdown) a{color:#cfd8ff !important}
html:root body.dz-skin-dark:is(.pg_index,.pg_forumdisplay,.pg_viewthread,.pg_post,.pg_posting) .notice-item{color:#cfd8ff !important}
html:root body.dz-skin-dark:is(.pg_index,.pg_forumdisplay,.pg_viewthread,.pg_post,.pg_posting) .notice-item:hover{background:rgba(124,108,246,.16) !important}

/* 顶部面包屑/公告条（#ct 外层） */
html:root body.dz-skin-dark:is(.pg_index,.pg_forumdisplay,.pg_viewthread,.pg_post,.pg_posting) .topbox{
  background:linear-gradient(120deg,rgba(16,21,50,.98),rgba(24,18,58,.97)) !important;
  border-bottom:1px solid rgba(255,255,255,.10) !important;
  color:#c9d3f5 !important;
}
html:root body.dz-skin-dark:is(.pg_index,.pg_forumdisplay,.pg_viewthread,.pg_post,.pg_posting) .topbox :is(a,.xi2){color:#b9a8ff !important}
html:root body.dz-skin-dark:is(.pg_index,.pg_forumdisplay,.pg_viewthread,.pg_post,.pg_posting) .topbox :is(a:hover,.xi2 a:hover){color:#f5c76a !important}

/* ---------- 4. 卡片容器：玻璃拟态（#ct 内容区） ---------- */
html:root body.dz-skin-dark:is(.pg_index,.pg_forumdisplay,.pg_viewthread,.pg_post,.pg_posting) #ct .bm{
  background:linear-gradient(160deg,rgba(19,24,54,.97),rgba(10,13,32,.96)) !important;
  border:1px solid rgba(255,255,255,.10) !important;border-radius:16px !important;
  box-shadow:0 18px 44px rgba(0,0,0,.42) !important;
}
html:root body.dz-skin-dark:is(.pg_index,.pg_forumdisplay,.pg_viewthread,.pg_post,.pg_posting) #ct .bm_h{
  background:linear-gradient(120deg,rgba(124,108,246,.28),rgba(60,180,255,.10)) !important;
  color:#f0ecff !important;border-bottom:1px solid rgba(255,255,255,.12) !important;
  border-radius:15px 15px 0 0 !important;
}
html:root body.dz-skin-dark:is(.pg_index,.pg_forumdisplay,.pg_viewthread,.pg_post,.pg_posting) #ct .bm_h :is(h1,h2,h3){color:#f3efff !important}
html:root body.dz-skin-dark:is(.pg_index,.pg_forumdisplay,.pg_viewthread,.pg_post,.pg_posting) #ct .bm_h :is(h2,h3):before{
  background:linear-gradient(180deg,#f5c76a,#a98bff) !important;
}
html:root body.dz-skin-dark:is(.pg_index,.pg_forumdisplay,.pg_viewthread,.pg_post,.pg_posting) #ct :is(.bm_c,.dz_cat_c,.dz_cards,.dz_cat_box){
  background:linear-gradient(160deg,rgba(19,24,54,.60),rgba(10,13,32,.55)) !important;
  border-color:rgba(255,255,255,.10) !important;color:#e2e8ff !important;
}
html:root body.dz-skin-dark:is(.pg_index,.pg_forumdisplay,.pg_viewthread,.pg_post,.pg_posting) #ct .dz_cat_box{
  border:1px solid rgba(255,255,255,.10) !important;border-radius:16px !important;overflow:hidden;
}
html:root body.dz-skin-dark:is(.pg_index,.pg_forumdisplay,.pg_viewthread,.pg_post,.pg_posting) #ct .dz_cat_h{
  background:linear-gradient(90deg,rgba(124,108,246,.34),rgba(124,108,246,.06) 100%) !important;
  color:#f2eeff !important;border-bottom:1px solid rgba(255,255,255,.12) !important;
}
html:root body.dz-skin-dark:is(.pg_index,.pg_forumdisplay,.pg_viewthread,.pg_post,.pg_posting) #ct .dz_cat_h::before{
  background:linear-gradient(180deg,#f5c76a,#a98bff) !important;
}

/* ---------- 5. 论坛首页：版块卡片/图标/统计 ---------- */
html:root body.dz-skin-dark:is(.pg_index,.pg_forumdisplay,.pg_viewthread,.pg_post,.pg_posting) #ct .dz_fcard{
  background:linear-gradient(160deg,rgba(255,255,255,.085),rgba(255,255,255,.03)) !important;
  border:1px solid rgba(255,255,255,.13) !important;border-radius:16px !important;
  box-shadow:0 10px 26px rgba(0,0,0,.32) !important;
}
html:root body.dz-skin-dark:is(.pg_index,.pg_forumdisplay,.pg_viewthread,.pg_post,.pg_posting) #ct .dz_fcard:hover{
  border-color:rgba(169,139,255,.62) !important;
  box-shadow:0 18px 40px rgba(124,108,246,.28) !important;
  background:linear-gradient(160deg,rgba(124,108,246,.18),rgba(255,255,255,.04)) !important;
}
html:root body.dz-skin-dark:is(.pg_index,.pg_forumdisplay,.pg_viewthread,.pg_post,.pg_posting) #ct :is(.dz_fcard_txt,.dz_fcard_txt b){color:#eef2ff !important}
html:root body.dz-skin-dark:is(.pg_index,.pg_forumdisplay,.pg_viewthread,.pg_post,.pg_posting) #ct .dz_fcard_stats span{color:#9fabd0 !important}
html:root body.dz-skin-dark:is(.pg_index,.pg_forumdisplay,.pg_viewthread,.pg_post,.pg_posting) #ct .dz_fcard_stats b{color:#c9b8ff !important}
html:root body.dz-skin-dark:is(.pg_index,.pg_forumdisplay,.pg_viewthread,.pg_post,.pg_posting) #ct .dz_fcard_last{color:#9fabd0 !important}
html:root body.dz-skin-dark:is(.pg_index,.pg_forumdisplay,.pg_viewthread,.pg_post,.pg_posting) #ct .dz_fcard_last a{color:#b9a8ff !important}
html:root body.dz-skin-dark:is(.pg_index,.pg_forumdisplay,.pg_viewthread,.pg_post,.pg_posting) #ct .dz_hero_stat{
  background:rgba(255,255,255,.06) !important;border:1px solid rgba(255,255,255,.12) !important;border-radius:14px !important;
}
html:root body.dz-skin-dark:is(.pg_index,.pg_forumdisplay,.pg_viewthread,.pg_post,.pg_posting) #ct :is(.dz_tip_text,.dz_footc){
  background:rgba(255,255,255,.05) !important;color:#a9b6d8 !important;border-color:rgba(255,255,255,.10) !important;
}
html:root body.dz-skin-dark:is(.pg_index,.pg_forumdisplay,.pg_viewthread,.pg_post,.pg_posting) #ct :is(.focus,#plugin_notice,#ip_notice){
  background:linear-gradient(160deg,rgba(19,24,54,.72),rgba(10,13,32,.66)) !important;
  border:1px solid rgba(255,255,255,.10) !important;border-radius:14px !important;color:#dbe3ff !important;
}
html:root body.dz-skin-dark:is(.pg_index,.pg_forumdisplay,.pg_viewthread,.pg_post,.pg_posting) #ct .dz_rnav a{
  background:rgba(255,255,255,.07) !important;border-color:rgba(255,255,255,.16) !important;color:#dfe6ff !important;
}

/* ---------- 6. 帖子列表 ---------- */
html:root body.dz-skin-dark:is(.pg_forumdisplay,.pg_viewthread) #ct :is(.tl,#threadlist){
  background:linear-gradient(160deg,rgba(19,24,54,.72),rgba(10,13,32,.66)) !important;
  border:1px solid rgba(255,255,255,.10) !important;border-radius:16px !important;overflow:hidden;
}
html:root body.dz-skin-dark:is(.pg_forumdisplay,.pg_viewthread) #ct #threadlist :is(table,tbody,tr,th,td){
  background:transparent !important;border-color:rgba(255,255,255,.08) !important;color:#dbe3ff !important;
}
html:root body.dz-skin-dark:is(.pg_forumdisplay,.pg_viewthread) #ct #threadlist tr:hover :is(th,td){background:rgba(124,108,246,.13) !important}
html:root body.dz-skin-dark:is(.pg_forumdisplay,.pg_viewthread) #ct #threadlist .xst{color:#eef2ff !important;font-weight:600}
html:root body.dz-skin-dark:is(.pg_forumdisplay,.pg_viewthread) #ct #threadlist .xst:visited{color:#b3a2ff !important}
html:root body.dz-skin-dark:is(.pg_forumdisplay,.pg_viewthread) #ct #threadlist .xst:hover{color:#f5c76a !important}
html:root body.dz-skin-dark:is(.pg_forumdisplay,.pg_viewthread) #ct #threadlist :is(.by,.num,cite,em){color:#93a0c4 !important}
html:root body.dz-skin-dark:is(.pg_forumdisplay,.pg_viewthread) #ct #threadlist .by a{color:#b9a8ff !important}
html:root body.dz-skin-dark:is(.pg_forumdisplay,.pg_viewthread) #ct :is(.tl .th,.tl th){background:rgba(255,255,255,.04) !important;color:#aab5d8 !important}
html:root body.dz-skin-dark:is(.pg_forumdisplay,.pg_viewthread) #ct :is(.tl .th a,.tl th a){color:#c9d3f5 !important}
html:root body.dz-skin-dark:is(.pg_forumdisplay,.pg_viewthread) #ct :is(#pgt,.pgs){color:#aab5d8 !important}

/* ---------- 7. 帖子阅读：正文高对比优先 ---------- */
html:root body.dz-skin-dark.pg_viewthread #ct :is(#postlist,.pl.bm){
  background:linear-gradient(160deg,rgba(19,24,54,.76),rgba(10,13,32,.70)) !important;
  border:1px solid rgba(255,255,255,.10) !important;border-radius:16px !important;
}
html:root body.dz-skin-dark.pg_viewthread #ct .plc{background:transparent !important;color:#e9edff !important}
html:root body.dz-skin-dark.pg_viewthread #ct .pi{
  background:linear-gradient(160deg,rgba(124,108,246,.16),rgba(255,255,255,.03)) !important;
  border:1px solid rgba(255,255,255,.10) !important;border-radius:12px !important;color:#c2cbe8 !important;
}
html:root body.dz-skin-dark.pg_viewthread #ct .pi .authi a{color:#eef2ff !important}
/* 正文采用「亮色纸张 + 深色文字」，保证富文本/表格/图表始终高对比 */
html:root body.dz-skin-dark.pg_viewthread #ct .pcb{
  background:#f8f9fd !important;border:1px solid #e3e7f3 !important;border-radius:14px !important;
  box-shadow:0 12px 28px rgba(0,0,0,.28) !important;
}
html:root body.dz-skin-dark.pg_viewthread #ct .pct{background:transparent !important}
html:root body.dz-skin-dark.pg_viewthread #ct :is(td.t_f,.t_fsz){color:#1f2733 !important;font-size:15.5px;line-height:1.9}
html:root body.dz-skin-dark.pg_viewthread #ct td.t_f :is(h1,h2,h3,h4,strong,b){color:#141a24 !important}
html:root body.dz-skin-dark.pg_viewthread #ct td.t_f a{color:#2456c8 !important;border-bottom:1px dashed rgba(36,86,200,.4) !important}
html:root body.dz-skin-dark.pg_viewthread #ct td.t_f a:hover{color:#0b3a8f !important}
html:root body.dz-skin-dark.pg_viewthread #ct :is(td.t_f blockquote,td.t_f .quote,.quote){
  background:#eef1f8 !important;border-left:3px solid #7c6cf6 !important;
  color:#3b4457 !important;border-radius:8px;padding:10px 14px;
}
html:root body.dz-skin-dark.pg_viewthread #ct :is(td.t_f pre,td.t_f code,.blockcode){
  background:#eceff7 !important;color:#243044 !important;
  border:1px solid #d8ddec !important;border-radius:10px;
}
html:root body.dz-skin-dark.pg_viewthread #ct td.t_f table th{background:#e9edf9 !important;color:#232c3d !important}
html:root body.dz-skin-dark.pg_viewthread #ct :is(td.t_f table th,td.t_f table td){
  border:1px solid #d8ddec !important;color:#232c3d !important;
}
html:root body.dz-skin-dark.pg_viewthread #ct td.t_f hr{border-top:1px solid #d8ddec !important}
html:root body.dz-skin-dark.pg_viewthread #ct .pls{
  background:rgba(255,255,255,.05) !important;border-top:1px solid rgba(255,255,255,.08) !important;color:#93a0c4 !important;
}
html:root body.dz-skin-dark.pg_viewthread #ct .pls a{color:#a9b6ff !important}
html:root body.dz-skin-dark.pg_viewthread #ct :is(.vwthd h1,h1.ts,.ts){color:#f7edc4 !important}
html:root body.dz-skin-dark.pg_viewthread #ct #f_pst{background:rgba(19,24,54,.72) !important}
/* 图片 / 图表 / 视频：不反色，保持原貌 */
html:root body.dz-skin-dark:is(.pg_index,.pg_forumdisplay,.pg_viewthread,.pg_post,.pg_posting) :is(img,iframe,video,canvas){
  filter:none !important;-webkit-filter:none !important;
}
html:root body.dz-skin-dark.pg_viewthread #ct :is(td.t_f img,.pcb img){
  max-width:100% !important;height:auto !important;border-radius:12px;border:1px solid rgba(255,255,255,.10);
}
html:root body.dz-skin-dark.pg_viewthread #ct :is(.pcb iframe,td.t_f iframe){
  background:#fff !important;border-radius:12px;border:1px solid rgba(255,255,255,.14);
}

/* ---------- 8. 表单 / 按钮 / 分页 / 页脚 ---------- */
html:root body.dz-skin-dark:is(.pg_post,.pg_posting,.pg_viewthread,.pg_forumdisplay) :is(
  input[type=text],input[type=password],input[type=email],input[type=number],input[type=search],textarea,select){
  background:rgba(255,255,255,.08) !important;border:1px solid rgba(255,255,255,.18) !important;
  color:#eef2ff !important;border-radius:10px !important;
}
html:root body.dz-skin-dark:is(.pg_post,.pg_posting) :is(input,textarea)::placeholder{color:rgba(238,242,255,.42) !important}
html:root body.dz-skin-dark:is(.pg_post,.pg_posting,.pg_viewthread) :is(input,textarea):focus{
  border-color:rgba(169,139,255,.75) !important;box-shadow:0 0 0 3px rgba(124,108,246,.22) !important;outline:none;
}
html:root body.dz-skin-dark:is(.pg_post,.pg_posting) #ct :is(.tb,.tb_s,.sllt,.sllt_p,.exfm,#postform){
  background:transparent !important;border-color:rgba(255,255,255,.12) !important;color:#dbe3ff !important;
}
html:root body.dz-skin-dark:is(.pg_post,.pg_posting) #ct :is(.tb th,.tb td,.exfm td,.exfm th){
  border-color:rgba(255,255,255,.10) !important;color:#dbe3ff !important;background:transparent !important;
}
html:root body.dz-skin-dark:is(.pg_post,.pg_posting) #ct :is(.tb tr:hover td,.tb tr:hover th){background:rgba(124,108,246,.10) !important}
html:root body.dz-skin-dark:is(.pg_post,.pg_posting,.pg_viewthread,.pg_forumdisplay) #ct :is(
  .pn,.pn p,.sbtn,.pgsbtn,.pgb a,button.submit,input[type=submit],#postsubmit){
  background:linear-gradient(135deg,#7c6cf6,#a98bff) !important;
  border:1px solid rgba(169,139,255,.55) !important;color:#fff !important;
  border-radius:10px !important;box-shadow:0 8px 20px rgba(124,108,246,.30) !important;
}
html:root body.dz-skin-dark:is(.pg_post,.pg_posting,.pg_viewthread,.pg_forumdisplay) #ct :is(.pn strong,.pn span){color:#fff !important}
html:root body.dz-skin-dark:is(.pg_post,.pg_posting,.pg_viewthread,.pg_forumdisplay) #ct .pg a{
  background:rgba(255,255,255,.07) !important;border:1px solid rgba(255,255,255,.16) !important;
  color:#dfe6ff !important;border-radius:8px !important;
}
html:root body.dz-skin-dark:is(.pg_post,.pg_posting,.pg_viewthread,.pg_forumdisplay) #ct .pg a:hover{
  background:rgba(124,108,246,.28) !important;color:#fff !important;
}
html:root body.dz-skin-dark:is(.pg_post,.pg_posting,.pg_viewthread,.pg_forumdisplay) #ct .pg strong{
  background:linear-gradient(135deg,#7c6cf6,#a98bff) !important;color:#fff !important;border:0 !important;
}
html:root body.dz-skin-dark:is(.pg_index,.pg_forumdisplay,.pg_viewthread,.pg_post,.pg_posting) :is(#ft,.ft){
  background:transparent !important;color:#8b97bb !important;border-top:1px solid rgba(255,255,255,.08) !important;
}
html:root body.dz-skin-dark:is(.pg_index,.pg_forumdisplay,.pg_viewthread,.pg_post,.pg_posting) :is(#ft a,.ft a){color:#a9b6ff !important}
html:root body.dz-skin-dark:is(.pg_index,.pg_forumdisplay,.pg_viewthread,.pg_post,.pg_posting) ::-webkit-scrollbar-track{background:rgba(255,255,255,.04) !important}
html:root body.dz-skin-dark:is(.pg_index,.pg_forumdisplay,.pg_viewthread,.pg_post,.pg_posting) ::-webkit-scrollbar-thumb{
  background:rgba(169,139,255,.35) !important;border-radius:4px;
}

/* ---------- 9. 移动端（≤768px） ---------- */
@media (max-width:768px){
  html:root body.dz-skin-dark:is(.pg_index,.pg_forumdisplay,.pg_viewthread,.pg_post,.pg_posting){
    background-attachment:scroll !important;font-size:14px;
  }
  html:root body.dz-skin-dark:is(.pg_index,.pg_forumdisplay,.pg_viewthread,.pg_post,.pg_posting) #wp{
    padding-left:10px !important;padding-right:10px !important;
  }
  html:root body.dz-skin-dark:is(.pg_index,.pg_forumdisplay,.pg_viewthread,.pg_post,.pg_posting) #ct .bm{border-radius:13px !important}
  html:root body.dz-skin-dark:is(.pg_forumdisplay,.pg_viewthread) #ct #threadlist .num{display:none !important}
  html:root body.dz-skin-dark:is(.pg_forumdisplay,.pg_viewthread) #ct #threadlist :is(th,td){padding:9px 6px !important}
  html:root body.dz-skin-dark:is(.pg_forumdisplay,.pg_viewthread) #ct #threadlist .xst{font-size:13.5px !important;line-height:1.5}
  html:root body.dz-skin-dark:is(.pg_forumdisplay,.pg_viewthread) #ct #threadlist td.by cite{
    display:inline-block;max-width:86px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;vertical-align:bottom;
  }
  html:root body.dz-skin-dark.pg_viewthread #ct :is(td.t_f,.t_fsz){font-size:15px !important;line-height:1.85}
  html:root body.dz-skin-dark.pg_viewthread #ct .pi{font-size:12.5px}
  html:root body.dz-skin-dark:is(.pg_index,.pg_forumdisplay) #ct .dz_fcard{padding:10px !important}
  html:root body.dz-skin-dark:is(.pg_post,.pg_posting) #ct :is(.tb th,.tb td){padding:6px 4px !important}
}

/* ---------- 10. 补丁：公告/面包屑条、换肤器、正文引用块 ---------- */
html:root body.dz-skin-dark:is(.pg_index,.pg_forumdisplay,.pg_viewthread,.pg_post,.pg_posting) .wp > .bm{
  background:linear-gradient(160deg,rgba(19,24,54,.97),rgba(10,13,32,.96)) !important;
  border:1px solid rgba(255,255,255,.10) !important;border-radius:14px !important;
  box-shadow:0 12px 28px rgba(0,0,0,.32) !important;color:#dbe3ff !important;
}
html:root body.dz-skin-dark:is(.pg_index,.pg_forumdisplay,.pg_viewthread,.pg_post,.pg_posting) .wp > .bm .bm_c{
  background:transparent !important;color:#dbe3ff !important;
}
html:root body.dz-skin-dark:is(.pg_index,.pg_forumdisplay,.pg_viewthread,.pg_post,.pg_posting) .wp > .bm :is(a,.xi2){
  color:#b9a8ff !important;
}
html:root body.dz-skin-dark:is(.pg_index,.pg_forumdisplay,.pg_viewthread,.pg_post,.pg_posting) :is(.dz_skin_picker,.dz_skin_toggle){
  background:rgba(255,255,255,.08) !important;border:1px solid rgba(255,255,255,.18) !important;color:#dfe6ff !important;
}
html:root body.dz-skin-dark:is(.pg_index,.pg_forumdisplay,.pg_viewthread,.pg_post,.pg_posting) :is(.dz_skin_menu,.dz_skin_menu_ft){
  background:linear-gradient(160deg,rgba(18,23,52,.98),rgba(10,13,32,.98)) !important;
  border:1px solid rgba(255,255,255,.14) !important;color:#cfd8ff !important;
  box-shadow:0 22px 50px rgba(0,0,0,.55) !important;
}
html:root body.dz-skin-dark:is(.pg_index,.pg_forumdisplay,.pg_viewthread,.pg_post,.pg_posting) :is(.dz_skin_menu_hd,.dz_skin_opt){color:#cfd8ff !important}
html:root body.dz-skin-dark.pg_viewthread #ct .pcb :is(.quote,blockquote){
  background:#eef1f8 !important;border-left:3px solid #7c6cf6 !important;
  color:#3b4457 !important;border-radius:8px;
}
html:root body.dz-skin-dark.pg_viewthread #ct .pcb :is(.quote,blockquote) a{color:#2456c8 !important}

/* ---------- 11. 补丁：首页统计条(#chart) / 移动端操作行 ---------- */
html:root body.dz-skin-dark:is(.pg_index,.pg_forumdisplay,.pg_viewthread,.pg_post,.pg_posting) #ct :is(#chart,#diy_chart){
  background:linear-gradient(90deg,rgba(19,24,54,.82),rgba(124,108,246,.16)) !important;
  border:1px solid rgba(255,255,255,.10) !important;border-radius:14px !important;
  color:#dbe3ff !important;
}
html:root body.dz-skin-dark:is(.pg_index,.pg_forumdisplay,.pg_viewthread,.pg_post,.pg_posting) #ct #chart :is(em,span,a,strong){
  color:#c5cff0 !important;
}
html:root body.dz-skin-dark:is(.pg_index,.pg_forumdisplay,.pg_viewthread,.pg_post,.pg_posting) #ct #chart a:hover{color:#f5c76a !important}
@media (max-width:768px){
  html:root body.dz-skin-dark:is(.pg_forumdisplay,.pg_viewthread) #ct :is(.pbm.bbs,#modmenu){
    overflow-x:auto;white-space:nowrap;-webkit-overflow-scrolling:touch;
  }
  html:root body.dz-skin-dark.pg_viewthread #ct .pi{flex-wrap:wrap;row-gap:6px}
  html:root body.dz-skin-dark.pg_viewthread #ct .pi :is(.pi_poster,.authi){max-width:100%}
}

/* ---------- 12. 补丁：发帖页编辑器工具条深色化 ---------- */
html:root body.dz-skin-dark:is(.pg_post,.pg_posting) #ct :is(.edt,.edt .tb,.edt .tbl,.edt .bar,.edt .btns,.edt .pnpost){
  background:rgba(255,255,255,.06) !important;
  border-color:rgba(255,255,255,.12) !important;
  color:#dfe6ff !important;
}
html:root body.dz-skin-dark:is(.pg_post,.pg_posting) #ct .edt :is(a,span,label,option){color:#dfe6ff !important}
html:root body.dz-skin-dark:is(.pg_post,.pg_posting) #ct .edt :is(a:hover,span:hover,label:hover){
  background:rgba(124,108,246,.28) !important;color:#fff !important;
}
html:root body.dz-skin-dark:is(.pg_post,.pg_posting) #ct .edt :is(select,input){
  background:rgba(255,255,255,.10) !important;border-color:rgba(255,255,255,.18) !important;color:#eef2ff !important;
}
html:root body.dz-skin-dark:is(.pg_post,.pg_posting) #ct .edt :is(.tb,.tbl,.bar){border-radius:8px}
html:root body.dz-skin-dark:is(.pg_post,.pg_posting) #ct :is(#e_iframe,#e_textarea){background:#f8f9fd !important;border-radius:10px}

/* ---------- 13. 补丁：编辑器按钮组（.btn.cl 绿色渐变） ---------- */
html:root body.dz-skin-dark:is(.pg_post,.pg_posting) #ct .edt :is(.btn,.btn.cl){background:rgba(255,255,255,.08) !important;background-image:none !important;border:1px solid rgba(255,255,255,.14) !important;box-shadow:none !important;color:#e8eeff !important;}
html:root body.dz-skin-dark:is(.pg_post,.pg_posting) #ct .edt .btn :is(a,span,label,select,option){color:#e8eeff !important;}
html:root body.dz-skin-dark:is(.pg_post,.pg_posting) #ct .edt .btn :is(a:hover,label:hover){background:rgba(124,108,246,.30) !important;color:#fff !important;}

/* ---------- 14. 第4轮补丁：Discuz 弹窗(fwin，图片/附件上传)深色化 + 正文附件行 ---------- */
html:root body.dz-skin-dark:is(.pg_index,.pg_forumdisplay,.pg_viewthread,.pg_post,.pg_posting) .fwinmask{
  background:rgba(4,6,18,.66) !important;
}
html:root body.dz-skin-dark:is(.pg_index,.pg_forumdisplay,.pg_viewthread,.pg_post,.pg_posting) .fwin{
  background:linear-gradient(160deg,rgba(22,27,60,.985),rgba(10,13,32,.985)) !important;
  border:1px solid rgba(255,255,255,.14) !important;border-radius:14px !important;
  box-shadow:0 26px 60px rgba(0,0,0,.62) !important;color:#dfe6ff !important;
}
html:root body.dz-skin-dark:is(.pg_index,.pg_forumdisplay,.pg_viewthread,.pg_post,.pg_posting) .fwin :is(.flb,.pt,.ptn,.hdr){
  background:transparent !important;border-bottom:1px solid rgba(255,255,255,.10) !important;color:#fff !important;
}
html:root body.dz-skin-dark:is(.pg_index,.pg_forumdisplay,.pg_viewthread,.pg_post,.pg_posting) .fwin :is(.flb b,.pt a,.pt span){color:#fff !important}
html:root body.dz-skin-dark:is(.pg_index,.pg_forumdisplay,.pg_viewthread,.pg_post,.pg_posting) .fwin :is(.px,input[type=text],textarea,select){
  background:rgba(255,255,255,.07) !important;border:1px solid rgba(255,255,255,.16) !important;color:#eef2ff !important;
}
html:root body.dz-skin-dark:is(.pg_index,.pg_forumdisplay,.pg_viewthread,.pg_post,.pg_posting) .fwin :is(.pn,.pnc){
  background:linear-gradient(135deg,#7c6cf6,#a98bff) !important;border:none !important;color:#fff !important;
}
html:root body.dz-skin-dark:is(.pg_index,.pg_forumdisplay,.pg_viewthread,.pg_post,.pg_posting) .fwin :is(.o,.cl){
  background:rgba(255,255,255,.06) !important;color:#dfe6ff !important;border-color:rgba(255,255,255,.14) !important;
}
html:root body.dz-skin-dark:is(.pg_index,.pg_forumdisplay,.pg_viewthread,.pg_post,.pg_posting) .fwin :is(.tb,.tbl,.bar,#e_imgattachlist,.imgupload){
  background:transparent !important;color:#dfe6ff !important;
}
/* 正文附件行：纸张上保持深色文字 */
html:root body.dz-skin-dark.pg_viewthread #ct .pcb :is(.tattl,.pattl,dd.tattl,dt.tattl){color:#4b5563 !important}
html:root body.dz-skin-dark.pg_viewthread #ct .pcb :is(.tattl a,.pattl a,dd.tattl a){color:#2456c8 !important}


/* ===== 2026-10-23 触控目标补丁（文档 §3 移动端铁律：可点 ≥44×44） ===== */
#nv a{min-width:44px}
.dz_layer_nav a,.dz_rnav a{min-width:44px;min-height:44px}
.dz_rnav{right:6px}
@media(max-width:640px){
  #hd .hdc>ul>li>a{min-height:44px;display:inline-flex;align-items:center}
}


/* ===== 2026-10-23 触控目标 44px：知识库卡片 / 搜索 / 页脚 ===== */
.kb-card-ai{min-height:44px;min-width:44px;display:inline-flex;align-items:center;justify-content:center;padding:0 8px}
.kb-shuffle{min-height:44px;padding:0 12px}
.kb-search-go{min-height:44px;min-width:44px}
.kb-search input{min-height:40px}
#ft a,#ft a.mon{min-height:44px;display:inline-flex;align-items:center;padding:0 6px}

/* ===== 2026-10-28 R46: 不限皮肤的移动端紧凑布局（浅色 night 等皮肤同样生效） ===== */
@media (max-width:768px){
  #wp{ padding-left:10px !important; padding-right:10px !important; }
  #ct .bm{ border-radius:13px !important; }
  body:is(.pg_forumdisplay,.pg_viewthread) #ct #threadlist .num{ display:none !important; }
  body:is(.pg_forumdisplay,.pg_viewthread) #ct #threadlist :is(th,td){ padding:9px 6px !important; }
  body:is(.pg_forumdisplay,.pg_viewthread) #ct #threadlist .xst{ font-size:13.5px !important; line-height:1.5; }
  body:is(.pg_forumdisplay,.pg_viewthread) #ct #threadlist td.by cite{
    display:inline-block; max-width:86px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; vertical-align:bottom;
  }
  body.pg_viewthread #ct .pi{ flex-wrap:wrap; row-gap:6px; }
  body.pg_viewthread #ct .pi :is(.pi_poster,.authi){ max-width:100%; }
  body:is(.pg_forumdisplay,.pg_viewthread) #ct :is(.pbm.bbs,#modmenu){
    overflow-x:auto; white-space:nowrap; -webkit-overflow-scrolling:touch;
  }
}
