/* ============================================================
   QAQ Light —— DeepSeek 风格亮色主题
   主色 #4d6bfe / 正文 #0f0f0f / 浅底 #f9fafb / 圆角 12px
   ============================================================ */
:root{
  --bg:#ffffff;
  --bg-soft:#f7f8fa;
  --surface:#ffffff;
  --ink:#0f0f0f;
  --ink-2:#3c4043;
  --muted:#6b7280;
  --line:#e9ebef;
  --brand:#4d6bfe;
  --brand-soft:#eef1ff;
  --brand-dark:#3b58e8;
  --ok:#16a34a;
  --warn:#d97706;
  --err:#dc2626;
  --radius:12px;
  --sans:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei","DM Sans",sans-serif;
  --mono:"Fragment Mono",ui-monospace,SFMono-Regular,Consolas,monospace;
}

/* ---------- 基础 ---------- */
body{
  background:var(--bg)!important;
  color:var(--ink)!important;
  font-family:var(--sans)!important;
  -webkit-font-smoothing:antialiased;
}
body ::selection{background:rgba(77,107,254,.18)}
a{color:var(--brand);text-decoration:none}
a:hover{color:var(--brand-dark)}

/* ---------- 顶栏 ---------- */
header.wp-block-template-part{
  background:rgba(255,255,255,.86)!important;
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--line);
}
.wp-block-site-title a{
  color:var(--ink)!important;font-weight:700;letter-spacing:-.01em;border:0;
}
.wp-block-site-title a:hover{color:var(--brand)}
.wp-block-navigation a{
  color:var(--ink-2)!important;border:0;padding:6px 10px;border-radius:8px;
  font-size:.9em;transition:background .15s,color .15s;
}
.wp-block-navigation a:hover{background:var(--brand-soft);color:var(--brand)!important}

/* ---------- 标题与文章 ---------- */
h1,h2,h3,h4{font-family:var(--sans)!important;color:var(--ink)}
.wp-block-post-title{line-height:1.35!important}
.wp-block-post-title a{color:var(--ink)!important}
.wp-block-post-title a:hover{color:var(--brand)!important}
.wp-block-post-date,.wp-block-post-terms{color:var(--muted)!important;font-size:.8em!important}

.wp-block-query .wp-block-post,.wp-block-group.has-background{
  background:var(--surface)!important;border:1px solid var(--line);border-radius:var(--radius)!important;
}

/* ---------- 按钮 ---------- */
.wp-block-button__link,button.wp-block-button__link,.wp-element-button{
  background:var(--brand)!important;color:#fff!important;border:1px solid var(--brand)!important;
  border-radius:10px!important;font-family:var(--sans)!important;font-weight:600;
  padding:10px 18px;transition:background .15s,transform .15s;
}
.wp-block-button__link:hover,.wp-element-button:hover{background:var(--brand-dark)!important;border-color:var(--brand-dark)!important;transform:translateY(-1px)}

/* ---------- 课程卡片 ---------- */
.course-wrap{
  background:linear-gradient(160deg,#f5f7ff,#ffffff 55%)!important;
  border:1px solid #e2e7f8!important;border-radius:18px!important;
  box-shadow:0 10px 30px rgba(77,107,254,.07);
}
.ch-eyebrow{color:var(--brand)!important;letter-spacing:.18em!important}
.ch-title,.ch-sub{color:var(--ink)!important}

/* ---------- 文章正文（课程） ---------- */
.lesson,.entry-content{color:var(--ink-2)}
.lesson p,.entry-content p{line-height:1.88}
.lesson h2,.entry-content h2{color:var(--ink);border-top:1px solid var(--line);padding-top:1.2em}
.lesson h3,.entry-content h3{color:var(--ink)}
.lesson table,.entry-content table{border:1px solid var(--line);border-radius:10px;overflow:hidden;font-size:.93em}
.lesson th,.entry-content th{background:var(--bg-soft)!important;color:var(--ink)!important;border:1px solid var(--line)!important;font-weight:700}
.lesson td,.entry-content td{border:1px solid var(--line)!important;color:var(--ink-2)}
.lesson blockquote,.entry-content blockquote{
  background:var(--brand-soft)!important;border:0!important;border-left:3px solid var(--brand)!important;
  border-radius:0 10px 10px 0!important;padding:12px 16px!important;color:var(--ink-2)!important;
}
.lesson code,.entry-content code{
  background:#f3f4f6!important;border:1px solid var(--line)!important;color:#b91c1c!important;
  border-radius:6px;padding:1px 6px;
}
.lesson pre,.entry-content pre{
  background:#f8f9fb!important;border:1px solid var(--line)!important;border-radius:12px!important;color:var(--ink)!important;
}
.lesson pre code,.entry-content pre code{background:transparent!important;border:0!important;color:var(--ink)!important}
.lesson hr,.entry-content hr{border-top:1px solid var(--line)!important;margin:2.2em 0!important}
.lesson img,.entry-content img{border:1px solid var(--line);border-radius:12px;background:#fff}
.lesson details,.entry-content details{background:var(--bg-soft)!important;border:1px solid var(--line)!important;border-radius:10px!important}
.lesson summary,.entry-content summary{color:var(--brand)!important;font-weight:600}

/* 单篇文章的标题与强调 */
.single .wp-block-post-title{color:var(--ink)}
.lesson strong,.entry-content strong{color:var(--ink)}

/* ---------- 完结页（深色描述改浅） ---------- */
.gd{color:var(--ink-2)!important}
.gd h2,.gd h3{color:var(--ink)!important}
.gd table th{background:var(--bg-soft)!important;color:var(--ink)!important}
.gd table td,.gd table th{border-color:var(--line)!important}
.gd blockquote{background:var(--brand-soft)!important;color:var(--ink-2)!important;border-left-color:var(--brand)!important}
.gd .cta{color:var(--brand)!important;border-color:#cfd8ff!important;background:var(--brand-soft)!important}
.gd .cta:hover{background:#e3e9ff!important}

/* ---------- 嵌入的深色产品面板：留白框住 ---------- */
.shqb-wrap,.shqb-board,.shqmb,.shqn-wrap{
  border-radius:14px!important;overflow:hidden;
  box-shadow:0 8px 28px rgba(15,15,15,.10);
}

/* ---------- 页脚 ---------- */
footer.wp-block-template-part{
  background:var(--bg-soft)!important;border-top:1px solid var(--line);
}
footer.wp-block-template-part a{color:var(--muted);border:0}
footer.wp-block-template-part a:hover{color:var(--brand)}
footer.wp-block-template-part,.footer-nav-wrap{font-size:.85em}

/* ---------- 表单 ---------- */
input[type="text"],input[type="search"],input[type="email"],textarea{
  background:#fff!important;border:1px solid var(--line)!important;color:var(--ink)!important;
  border-radius:10px!important;font-family:var(--sans)!important;
}
input:focus,textarea:focus{outline:none;border-color:var(--brand)!important;box-shadow:0 0 0 3px rgba(77,107,254,.12)}

/* ---------- 小屏 ---------- */
@media (max-width:782px){
  .course-wrap{border-radius:14px!important}
}


/* ---------- 备案栏（默认深色，亮色主题改为浅色） ---------- */
.shicp-bar{
  background:#ffffff!important;border-top:1px solid var(--line)!important;
  color:var(--muted)!important;box-shadow:0 -1px 0 rgba(15,15,15,.02);
}
.shicp-bar .shicp-copy,.shicp-bar .shicp-sep{color:#9aa0a6!important}
.shicp-bar .shicp-link{color:var(--muted)!important;border:0}
.shicp-bar .shicp-link:hover{color:var(--brand)!important}
.shicp-bar .shicp-dot{color:var(--brand)!important}

/* ---------- 首页深色产品面板：浅色页面里做出「卡片」边界 ---------- */
.shqb-row{
  border-radius:16px!important;overflow:hidden;
  box-shadow:0 12px 34px rgba(15,15,15,.10);
  border:1px solid var(--line);
}
.shqb-entry{border-radius:0!important}


/* ---------- 完结页（/after-course/） ---------- */
.gd{max-width:900px;margin:0 auto;padding:8px 0 24px;color:var(--ink-2);font-size:18px;line-height:1.85}
.gd h2{font-size:1.45em;margin:1.9em 0 .6em;font-weight:700;color:var(--ink)}
.gd h3{font-size:1.1em;margin:1.3em 0 .4em;color:var(--brand);font-weight:700}
.gd p{margin:0 0 1em}
.gd ul,.gd ol{margin:.6em 0 1.1em;padding-left:1.4em}
.gd li{margin:.45em 0}
.gd table{border-collapse:collapse;width:100%;margin:1.2em 0;font-size:.94em}
.gd th,.gd td{border:1px solid var(--line);padding:10px 12px;text-align:left;vertical-align:top}
.gd th{background:var(--bg-soft);color:var(--ink)}
.gd blockquote{border-left:3px solid var(--brand);background:var(--brand-soft);margin:1.3em 0;padding:10px 16px;border-radius:0 10px 10px 0;color:var(--ink-2)}
.gd .cta{display:inline-block;margin:8px 10px 8px 0;padding:10px 16px;border-radius:8px;border:1px solid #cfd8ff;background:var(--brand-soft);color:var(--brand);text-decoration:none;font-weight:600}
.gd .cta:hover{background:#e3e9ff}


/* ============================================================
   首页产品面板：深色 → 亮色
   ============================================================ */

/* ---------- 应用卡片 ---------- */
.shqb-row{background:transparent!important;border:0!important;box-shadow:none!important}
.shqb-entry{
  background:#ffffff!important;border:1px solid var(--line)!important;border-radius:16px!important;
  box-shadow:0 8px 28px rgba(15,15,15,.06)!important;
}
.shqb-tag{background:var(--brand-soft)!important;color:var(--brand)!important;border:1px solid #d8e0ff!important;border-radius:6px!important}
.shqb-title,.shqb-title span{color:var(--ink)!important}
.shqb-sub,.shqb-desc,.shqb-hint,.shqb-note{color:var(--muted)!important}
.shqb-feat{background:var(--bg-soft)!important;border:1px solid var(--line)!important;border-radius:10px!important}
.shqb-feat b,.shqb-feat span,.shqb-feat em,.shqb-feat p{color:var(--ink-2)!important}
.shqb-btn{background:var(--brand)!important;border:1px solid var(--brand)!important;color:#fff!important;border-radius:10px!important}
.shqb-btn:hover{background:var(--brand-dark)!important;border-color:var(--brand-dark)!important}
.shqb-btn.ghost{background:#fff!important;color:var(--brand)!important;border:1px solid #cfd8ff!important}
.shqb-glow{display:none!important}

/* ---------- 行情看板 ---------- */
.shqmb{
  background:#ffffff!important;border:1px solid var(--line)!important;border-radius:14px!important;
  box-shadow:0 8px 28px rgba(15,15,15,.06)!important;
}
.shqmb .shqmb-global,.shqmb .shqmb-regions,.shqmb .shqmb-tabs,.shqmb .shqmb-head{
  background:var(--bg-soft)!important;border-color:var(--line)!important;
}
.shqmb .shqmb-global *,.shqmb .shqmb-regions *,.shqmb .shqmb-comment,.shqmb .shqmb-foot,
.shqmb td,.shqmb th,.shqmb .n,.shqmb .v,.shqmb .d,.shqmb .p{color:var(--ink-2)!important;border-color:var(--line)!important}
.shqmb .up,.shqmb .shqmt-pct.up{color:#dc2626!important}
.shqmb .down,.shqmb .shqmt-pct.down{color:#16a34a!important}
.shqmb .flat{color:var(--muted)!important}
.shqmb-tab{background:#fff!important;border:1px solid var(--line)!important;color:var(--ink-2)!important;border-radius:8px!important}
.shqmb-tab.on{background:var(--brand-soft)!important;color:var(--brand)!important;border-color:#cfd8ff!important}
.shqmb-tab.on *{color:var(--brand)!important}
.shqmb-foot{border-top:1px solid var(--line)!important}
.shqmb-empty{color:var(--muted)!important}

/* ---------- 新闻模块 ---------- */
.shqn-wrap{
  background:#ffffff!important;border:1px solid var(--line)!important;border-radius:14px!important;
  box-shadow:0 8px 28px rgba(15,15,15,.06)!important;
}
.shqn-wrap p,.shqn-wrap li,.shqn-wrap span,.shqn-wrap div,.shqn-wrap td,.shqn-wrap th,
.shqn-wrap b,.shqn-wrap i,.shqn-wrap em{color:var(--ink-2)!important;border-color:var(--line)!important}
.shqn-wrap .up{color:#dc2626!important}
.shqn-wrap .down{color:#16a34a!important}
.shqn-wrap .shqn-market,.shqn-wrap .shqn-summary,.shqn-wrap .shqn-global{
  background:var(--bg-soft)!important;border-left:3px solid var(--brand)!important;
}
.shqn-wrap .shqn-item,.shqn-wrap .shqn-list>div,.shqn-wrap .shqn-glist>div{
  background:#fff!important;border:1px solid var(--line)!important;border-radius:10px!important;
}
.shqn-wrap .shqn-tag,.shqn-wrap .shqn-badge,.shqn-wrap .shqn-chip{
  background:var(--brand-soft)!important;color:var(--brand)!important;border:1px solid #d8e0ff!important;border-radius:6px!important;
}
.shqn-wrap .shqn-tab.on{background:var(--brand-soft)!important;color:var(--brand)!important;border-color:#cfd8ff!important}
.shqn-wrap .shqn-src,.shqn-wrap .shqn-meta,.shqn-wrap .shqn-foot,.shqn-wrap .shqn-gtitle{color:var(--muted)!important}


/* ============================================================
   首页产品面板 亮色覆盖 v2（更高优先级，压过插件内联样式）
   ============================================================ */
body .shqb-row{background:transparent!important;border:0!important;box-shadow:none!important}
body .shqb-row .shqb-entry{
  background:#ffffff!important;border:1px solid var(--line)!important;border-radius:16px!important;
  box-shadow:0 8px 28px rgba(15,15,15,.06)!important;
}
body .shqb-row .shqb-entry *{color:var(--ink-2)!important}
body .shqb-row .shqb-entry .shqb-title,
body .shqb-row .shqb-entry .shqb-title *{color:var(--ink)!important}
body .shqb-row .shqb-entry .shqb-tag{
  background:var(--brand-soft)!important;color:var(--brand)!important;border:1px solid #d8e0ff!important;
}
body .shqb-row .shqb-entry .shqb-feats li{
  background:var(--bg-soft)!important;border:1px solid var(--line)!important;border-radius:10px!important;
}
body .shqb-row .shqb-entry .shqb-feats li *{color:var(--ink-2)!important}
body .shqb-row .shqb-btn{
  background:var(--brand)!important;border:1px solid var(--brand)!important;color:#fff!important;border-radius:10px!important;
}
body .shqb-row .shqb-btn *{color:#fff!important}
body .shqb-row .shqb-btn.ghost{
  background:#fff!important;color:var(--brand)!important;border:1px solid #cfd8ff!important;
}
body .shqb-row .shqb-btn.ghost *{color:var(--brand)!important}
body .shqb-glow{display:none!important}

/* 看板 */
body .shqmb{
  background:#ffffff!important;border:1px solid var(--line)!important;border-top:2px solid var(--brand)!important;
  border-radius:14px!important;box-shadow:0 8px 28px rgba(15,15,15,.06)!important;
}
body .shqmb *{color:var(--ink-2)!important;border-color:var(--line)!important}
body .shqmb .up,body .shqmb .up *{color:#dc2626!important}
body .shqmb .down,body .shqmb .down *{color:#16a34a!important}
body .shqmb .flat{color:var(--muted)!important}
body .shqmb .shqmb-global,body .shqmb .shqmb-regions,body .shqmb .shqmb-tabs{
  background:var(--bg-soft)!important;
}
body .shqmb .shqmb-tab{background:#fff!important;border:1px solid var(--line)!important;border-radius:8px!important}
body .shqmb .shqmb-tab.on{background:var(--brand-soft)!important;border-color:#cfd8ff!important}
body .shqmb .shqmb-tab.on *{color:var(--brand)!important}

/* 新闻 */
body .shqn-wrap{
  background:#ffffff!important;border:1px solid var(--line)!important;border-radius:14px!important;
  box-shadow:0 8px 28px rgba(15,15,15,.06)!important;
}
body .shqn-wrap *{color:var(--ink-2)!important;border-color:var(--line)!important}
body .shqn-wrap .up{color:#dc2626!important}
body .shqn-wrap .down{color:#16a34a!important}
body .shqn-wrap .shqn-market,body .shqn-wrap .shqn-summary,
body .shqn-wrap .shqn-senti,body .shqn-wrap .shqn-global{
  background:var(--bg-soft)!important;
}
body .shqn-wrap .shqnav,body .shqn-wrap .shqn-tabs{background:#fff!important}
body .shqn-wrap .shqn-tab{background:#fff!important}
body .shqn-wrap .shqn-tab.on{background:var(--brand-soft)!important}
body .shqn-wrap .shqn-tab.on *{color:var(--brand)!important}
body .shqn-wrap .shqn-tag,body .shqn-wrap .shqn-badge,body .shqn-wrap .shqn-chip{
  background:var(--brand-soft)!important;color:var(--brand)!important;
}


/* ---------- 卫戍协议卡片（shqg-*） ---------- */
body .shqb-row .shqg-tag{
  border:1px solid #fde9c8!important;background:#fffbeb!important;color:#b45309!important;border-radius:6px!important;
}
body .shqb-row .shqg-title,body .shqb-row .shqg-title *{
  color:var(--ink)!important;-webkit-text-fill-color:var(--ink)!important;background:none!important;
}
body .shqb-row .shqg-title em{color:var(--brand)!important;-webkit-text-fill-color:var(--brand)!important}
body .shqb-row .shqg-sub{color:var(--muted)!important;letter-spacing:.18em!important}
body .shqb-row .shqg-desc,body .shqb-row .shqg-desc *{color:var(--ink-2)!important}
body .shqb-row .shqg-btn{
  background:var(--brand)!important;border:1px solid var(--brand)!important;color:#fff!important;border-radius:10px!important;
}
body .shqb-row .shqg-btn *{color:#fff!important}
body .shqb-row .shqg-btn.ghost{background:#fff!important;color:var(--brand)!important;border-color:#cfd8ff!important}
body .shqb-row .shqg-btn.ghost *{color:var(--brand)!important}
body .shqb-row .shqg-hint{color:var(--muted)!important}
body .shqb-row .shqb-game{border-top:1px solid var(--line)!important}

/* ---------- 涨停股药丸（shqn-si） ---------- */
body .shqn-wrap .shqn-si{
  background:#f7f8fa!important;border:1px solid var(--line)!important;border-radius:8px!important;
}
body .shqn-wrap .shqn-si b{color:var(--ink)!important}
body .shqn-wrap .shqn-si i{color:#b45309!important}
body .shqn-wrap .shqn-si em.up{color:#dc2626!important}
body .shqn-wrap .shqn-si em.down{color:#16a34a!important}
body .shqn-wrap .shqn-scount{color:var(--muted)!important}
body .shqn-wrap .shqn-scount b{color:#ea580c!important}


/* ============================================================
   流体背景（仅亮色）—— 浅蓝白水彩/大理石质感
   ============================================================ */
html:not(.dark){background:#f4f8ff}
html:not(.dark) body{
  background:transparent!important;
  position:relative;
}
html:not(.dark) body::before{
  content:"";position:fixed;inset:-25% -15%;z-index:-2;pointer-events:none;
  background:
    radial-gradient(64% 52% at 50% 34%, rgba(255,255,255,.62) 0%, rgba(255,255,255,.30) 46%, rgba(255,255,255,0) 74%),
    radial-gradient(42% 46% at 14% 18%, rgba(52,104,186,.70) 0%, rgba(52,104,186,0) 72%),
    radial-gradient(38% 44% at 84% 14%, rgba(74,126,206,.74) 0%, rgba(74,126,206,0) 70%),
    radial-gradient(52% 48% at 66% 82%, rgba(108,156,220,.80) 0%, rgba(108,156,220,0) 74%),
    radial-gradient(34% 38% at 8% 86%, rgba(140,178,232,.80) 0%, rgba(140,178,232,0) 76%),
    radial-gradient(30% 32% at 94% 58%, rgba(40,88,168,.55) 0%, rgba(40,88,168,0) 72%),
    repeating-linear-gradient(112deg,
      rgba(255,255,255,0) 0 38px,
      rgba(255,255,255,.42) 38px 74px,
      rgba(126,168,222,.38) 74px 108px,
      rgba(255,255,255,0) 108px 156px),
    linear-gradient(158deg,#eef5ff 0%,#dce9fb 34%,#c6dbf4 68%,#b6cff0 100%);
  filter:blur(22px) saturate(118%);
  animation:qaq-fluid 34s ease-in-out infinite alternate;
  will-change:transform;
}
html:not(.dark) body::after{
  content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;opacity:.45;
  background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/><feColorMatrix type='saturate' values='0'/></filter><rect width='240' height='240' filter='url(%23n)' opacity='0.22'/></svg>");
  mix-blend-mode:multiply;
}
@keyframes qaq-fluid{
  0%   {transform:translate3d(0,0,0) scale(1.02) rotate(0deg)}
  50%  {transform:translate3d(-2.2%,1.6%,0) scale(1.06) rotate(.6deg)}
  100% {transform:translate3d(1.8%,-2.2%,0) scale(1.03) rotate(-.5deg)}
}
@media (prefers-reduced-motion: reduce){
  html:not(.dark) body::before{animation:none}
}

/* 流体背景上的内容层：卡片更实一些，保证可读 */
html:not(.dark) header.wp-block-template-part{background:rgba(255,255,255,.72)!important}
html:not(.dark) footer.wp-block-template-part{background:rgba(255,255,255,.72)!important}
html:not(.dark) .shicp-bar{background:rgba(255,255,255,.75)!important;backdrop-filter:blur(6px)}
html:not(.dark) .shqmb,
html:not(.dark) body .shqmb,
html:not(.dark) body .shqn-wrap,
html:not(.dark) body .shqb-row .shqb-entry{
  background-color:rgba(255,255,255,.96)!important;
  backdrop-filter:blur(8px);
}


/* 流体背景：移动端降级（省电、防卡顿） */
@media (max-width:782px){
  html:not(.dark) body::before{filter:blur(16px) saturate(110%);animation:none}
  html:not(.dark) body::after{opacity:.22}
}


/* ============================================================
   羽化：顶栏/页脚/备案栏与流体背景柔和过渡
   ============================================================ */
html:not(.dark) header.wp-block-template-part{
  position:relative;
  background:linear-gradient(to bottom, rgba(255,255,255,.18) 0%, rgba(255,255,255,.62) 55%, rgba(255,255,255,.82) 100%)!important;
  border-bottom:0!important;
  backdrop-filter:blur(10px) saturate(115%);
}
html:not(.dark) header.wp-block-template-part::after{
  content:"";position:absolute;left:0;right:0;bottom:-48px;height:48px;pointer-events:none;
  background:linear-gradient(to bottom, rgba(255,255,255,.80), rgba(255,255,255,0));
}
html:not(.dark) header.wp-block-template-part::before{
  content:"";position:absolute;left:0;right:0;top:0;height:26px;pointer-events:none;
  background:linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,.18));
}

html:not(.dark) footer.wp-block-template-part{
  position:relative;
  background:linear-gradient(to bottom, rgba(255,255,255,.30) 0%, rgba(255,255,255,.72) 60%, rgba(255,255,255,.86) 100%)!important;
  border-top:0!important;
  backdrop-filter:blur(10px) saturate(112%);
}
html:not(.dark) footer.wp-block-template-part::before{
  content:"";position:absolute;left:0;right:0;top:-52px;height:52px;pointer-events:none;
  background:linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,.70));
}

html:not(.dark) .shicp-bar{
  position:relative;
  background:linear-gradient(to bottom, rgba(255,255,255,.55) 0%, rgba(255,255,255,.90) 60%, rgba(255,255,255,.96) 100%)!important;
  border-top:0!important;backdrop-filter:blur(8px) saturate(110%);
}
html:not(.dark) .shicp-bar::before{
  content:"";position:absolute;left:0;right:0;top:-40px;height:40px;pointer-events:none;
  background:linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,.55));
}

/* 卡片阴影也柔一点（羽化感） */
html:not(.dark) body .shqmb,
html:not(.dark) body .shqn-wrap,
html:not(.dark) body .shqb-row .shqb-entry{
  box-shadow:0 18px 44px -16px rgba(28,62,132,.22), 0 2px 10px rgba(28,62,132,.06)!important;
  border-color:rgba(255,255,255,.85)!important;
}


/* ============================================================
   阴影：卡片、图片、按钮、表格的层次感
   ============================================================ */
html:not(.dark){
  --sh-xs:0 2px 6px rgba(28,62,132,.08);
  --sh-sm:0 6px 18px -8px rgba(28,62,132,.20);
  --sh-md:0 14px 34px -16px rgba(28,62,132,.28);
  --sh-lg:0 26px 60px -26px rgba(28,62,132,.34);
}
html:not(.dark) header.wp-block-template-part{
  box-shadow:0 8px 30px -22px rgba(28,62,132,.45)!important;
}
html:not(.dark) .wp-block-query .wp-block-post{
  box-shadow:var(--sh-sm)!important;
  border-color:rgba(255,255,255,.9)!important;
}
html:not(.dark) .wp-block-query .wp-block-post:hover{
  box-shadow:var(--sh-md)!important;
}
html:not(.dark) .course-wrap{
  box-shadow:var(--sh-lg)!important;
}
html:not(.dark) .lesson img,
html:not(.dark) .entry-content img{
  box-shadow:var(--sh-md);
}
html:not(.dark) .lesson blockquote,
html:not(.dark) .entry-content blockquote{
  box-shadow:var(--sh-xs);
}
html:not(.dark) .lesson table,
html:not(.dark) .entry-content table{
  box-shadow:var(--sh-sm);
  border-radius:12px;
}
html:not(.dark) .lesson pre,
html:not(.dark) .entry-content pre{
  box-shadow:var(--sh-sm);
}
html:not(.dark) .gd .cta{
  box-shadow:0 8px 20px -10px rgba(77,107,254,.45), 0 1px 2px rgba(28,62,132,.10);
  border-color:#c9d5ff!important;
}
html:not(.dark) .gd .cta:hover{
  box-shadow:0 12px 26px -10px rgba(77,107,254,.55);
}
html:not(.dark) .gd table{
  box-shadow:var(--sh-sm);
  border-radius:12px;overflow:hidden;
}
html:not(.dark) .qaq-fab-btn{
  box-shadow:0 10px 26px -10px rgba(28,62,132,.42), 0 2px 6px rgba(28,62,132,.10);
}


/* 全局按钮阴影（蓝色主按钮 / 白底按钮） */
html:not(.dark) .wp-block-button__link,
html:not(.dark) .wp-element-button{
  box-shadow:0 10px 22px -10px rgba(77,107,254,.55), 0 2px 6px rgba(28,62,132,.12)!important;
}
html:not(.dark) .wp-block-button__link:hover,
html:not(.dark) .wp-element-button:hover{
  box-shadow:0 14px 28px -10px rgba(77,107,254,.65), 0 3px 8px rgba(28,62,132,.16)!important;
}
html:not(.dark) body .shqb-row .shqb-btn,
html:not(.dark) body .shqb-row .shqg-btn{
  box-shadow:0 10px 22px -10px rgba(77,107,254,.55), 0 2px 6px rgba(28,62,132,.12)!important;
}
html:not(.dark) body .shqb-row .shqb-btn.ghost,
html:not(.dark) body .shqb-row .shqg-btn.ghost{
  box-shadow:0 4px 12px -6px rgba(28,62,132,.22)!important;
}
html:not(.dark) .wp-block-navigation a:hover{
  box-shadow:0 4px 10px -6px rgba(28,62,132,.25);
}


/* ============================================================
   圆角体系
   ============================================================ */
html:not(.dark){
  --r-xs:8px;
  --r-sm:12px;
  --r-md:16px;
  --r-lg:20px;
  --r-xl:24px;
}
html:not(.dark) .lesson img,
html:not(.dark) .entry-content img{border-radius:var(--r-lg)!important}
html:not(.dark) .lesson table,
html:not(.dark) .entry-content table{border-radius:var(--r-md)!important}
html:not(.dark) .lesson pre,
html:not(.dark) .entry-content pre{border-radius:var(--r-md)!important}
html:not(.dark) .lesson blockquote,
html:not(.dark) .entry-content blockquote{border-radius:0 var(--r-md) var(--r-md) 0!important}
html:not(.dark) .lesson details,
html:not(.dark) .entry-content details{border-radius:var(--r-md)!important}
html:not(.dark) .lesson code,
html:not(.dark) .entry-content code{border-radius:var(--r-xs)!important}
html:not(.dark) .wp-block-button__link,
html:not(.dark) .wp-element-button,
html:not(.dark) body .shqb-row .shqb-btn,
html:not(.dark) body .shqb-row .shqg-btn{border-radius:var(--r-sm)!important}
html:not(.dark) .course-wrap{border-radius:var(--r-xl)!important}
html:not(.dark) .wp-block-query .wp-block-post{border-radius:var(--r-lg)!important}
html:not(.dark) body .shqmb,
html:not(.dark) body .shqn-wrap,
html:not(.dark) body .shqb-row .shqb-entry{border-radius:var(--r-lg)!important}
html:not(.dark) .gd table{border-radius:var(--r-md)!important}
html:not(.dark) .gd .cta{border-radius:var(--r-sm)!important}
html:not(.dark) .wp-block-navigation a{border-radius:var(--r-xs)!important}
html:not(.dark) input[type="text"],
html:not(.dark) input[type="search"],
html:not(.dark) input[type="email"],
html:not(.dark) textarea{border-radius:var(--r-sm)!important}
html:not(.dark) .wp-block-post-featured-image img,
html:not(.dark) .wp-block-image img{border-radius:var(--r-lg)!important}


/* 新闻模块剩余深色条（当日早报 / 免责等） */
html:not(.dark) .shqn-wrap .shqn-src{
  background:#f7f8fa!important;border-left:3px solid var(--brand)!important;border-radius:10px!important;
  box-shadow:0 6px 16px -12px rgba(28,62,132,.35);
}
html:not(.dark) .shqn-wrap .shqn-srcb{color:var(--brand)!important}
html:not(.dark) .shqn-wrap .shqn-srch{color:var(--muted)!important}
html:not(.dark) .shqn-wrap .shqn-live{
  color:var(--brand)!important;border:1px solid #cfd8ff!important;border-radius:8px!important;background:#fff!important;
}
html:not(.dark) .shqn-wrap .shqn-disc{
  background:#f7f8fa!important;border-radius:10px!important;color:var(--muted)!important;
}
html:not(.dark) .shqn-wrap .shqn-ic,
html:not(.dark) .shqn-wrap .shqn-it b{color:var(--ink)!important}
html:not(.dark) .shqn-wrap .shqn-tag{padding:2px 8px!important}


/* ============================================================
   首页课程模块（home.html 内联样式）亮色适配
   ============================================================ */
html:not(.dark) .ch-eyebrow{color:var(--brand)!important}
html:not(.dark) .ch-title{color:var(--ink)!important}
html:not(.dark) .ch-sub{color:var(--muted)!important}

html:not(.dark) .course-right{
  background:#ffffff!important;
  border:1px solid var(--line)!important;
  box-shadow:0 18px 44px -20px rgba(28,62,132,.28)!important;
}
html:not(.dark) .course-right h3{color:var(--ink)!important}
html:not(.dark) .course-right .s{color:var(--muted)!important}
html:not(.dark) .course-list li{border-bottom:1px solid var(--line)!important}
html:not(.dark) .course-list a{color:var(--ink-2)!important}
html:not(.dark) .course-list .n{color:#9aa4b2!important}
html:not(.dark) .course-list .t{color:var(--ink)!important}
html:not(.dark) .course-list .d{color:var(--muted)!important}
html:not(.dark) .course-list a:hover .t{color:var(--brand)!important}
html:not(.dark) .course-more a{color:var(--brand)!important}
html:not(.dark) .course-more a:hover{color:var(--brand-dark)!important}

/* 左侧深色卡片：保持深色，文字提亮一档更清楚 */
html:not(.dark) .course-left{
  box-shadow:0 22px 50px -24px rgba(12,26,60,.55)!important;
}
html:not(.dark) .course-p{color:#c9d6ee!important}
html:not(.dark) .course-stats span{color:#a3b6d6!important}
html:not(.dark) .course-cta{
  box-shadow:0 12px 26px -12px rgba(59,108,246,.75)!important;
}


/* ============================================================
   底部收口：页脚 + 备案栏合成一整块（消除分段）
   ============================================================ */
html{overflow-x:hidden}
body{overflow-x:hidden}

/* 备案栏从固定改为随页脚流式，避免底部漏出背景 */
html:not(.dark) .shicp-bar{
  position:static!important;
  height:auto!important;
  padding:10px 0 22px!important;
  background:#ffffff!important;
  border-top:0!important;
  backdrop-filter:blur(10px) saturate(112%)!important;
  box-shadow:none!important;
}
html:not(.dark) .shicp-bar::before{display:none!important}
html:not(.dark) body.shicp-has-bar{padding-bottom:0!important}

/* 页脚：一次柔和过渡，然后纯白到底 */
html:not(.dark) footer.wp-block-template-part{
  background:linear-gradient(to bottom,
    rgba(255,255,255,0) 0,
    rgba(255,255,255,.55) 46px,
    #ffffff 104px,
    #ffffff 100%)!important;
  border-top:0!important;
  box-shadow:none!important;
  padding-bottom:0!important;
}
html:not(.dark) footer.wp-block-template-part::before{display:none!important}

/* 底部按钮贴底 */
html:not(.dark) body.shicp-has-bar .qaq-fab{bottom:calc(64px + env(safe-area-inset-bottom,0px))!important}


/* ============================================================
   全站亮色规则：所有页面使用流体背景
   页面自带的不透明底色一律改为透明/半透明白
   ============================================================ */

/* 课程目录页（page 33） */
html:not(.dark) .cp{background:transparent!important}
html:not(.dark) .cp .hero{background:transparent!important;border-bottom:1px solid rgba(255,255,255,.6)!important}
html:not(.dark) .cp .stat,
html:not(.dark) .cp .step{
  background:rgba(255,255,255,.70)!important;backdrop-filter:blur(6px);
  border-color:rgba(255,255,255,.85)!important;
}
html:not(.dark) .cp .panel,
html:not(.dark) .cp .path,
html:not(.dark) .cp .mod{
  background:rgba(255,255,255,.88)!important;backdrop-filter:blur(8px);
  border-color:rgba(255,255,255,.9)!important;
}

/* FAQ（stronghold-faq.php 的 shq-* 组件） */
html:not(.dark) .shq-item{
  background:#ffffff!important;border:1px solid var(--line)!important;
  border-radius:12px!important;box-shadow:0 8px 22px -14px rgba(28,62,132,.35)!important;
}
html:not(.dark) .shq-q{color:var(--ink)!important}
html:not(.dark) .shq-q:hover{color:var(--brand)!important}
html:not(.dark) .shq-idx{color:var(--brand)!important}
html:not(.dark) .shq-q::after{color:var(--brand)!important}
html:not(.dark) .shq-a{color:var(--ink-2)!important;border-top:1px solid var(--line)!important}
html:not(.dark) .shq-a strong{color:var(--ink)!important}
html:not(.dark) .shq-a code{
  background:#f3f4f6!important;border:1px solid var(--line)!important;color:#b91c1c!important;border-radius:6px!important;
}
html:not(.dark) .shq-form label{color:var(--ink-2)!important}
html:not(.dark) .shq-form input[type=text],
html:not(.dark) .shq-form select,
html:not(.dark) .shq-form textarea{
  background:#fff!important;border:1px solid var(--line)!important;color:var(--ink)!important;border-radius:10px!important;
}
html:not(.dark) .shq-btn{background:var(--brand)!important;color:#fff!important;border-radius:10px!important;box-shadow:0 10px 22px -10px rgba(77,107,254,.6)!important}
html:not(.dark) .shq-hint,html:not(.dark) .shq-opt{color:var(--muted)!important}

/* 兜底：正文容器不要自带白底，让流体透出来 */
html:not(.dark) main,
html:not(.dark) .wp-block-post-content,
html:not(.dark) .entry-content{background:transparent!important}


/* ============================================================
   去掉所有装饰性分割线（只保留表格单元格线，否则表格无法阅读）
   ============================================================ */

/* 1) 水平分割线 / 分隔块 */
html:not(.dark) hr,
html:not(.dark) .wp-block-separator,
html:not(.dark) .wp-block-separator.has-alpha-channel-opacity,
html:not(.dark) .lesson hr,
html:not(.dark) .entry-content hr{
  display:none!important;border:0!important;height:0!important;margin:0!important;
}

/* 2) 标题上方的横线 */
html:not(.dark) .lesson h2,
html:not(.dark) .entry-content h2{border-top:0!important;padding-top:0!important;margin-top:1.9em!important}

/* 3) 卡片、面板的边框（改由阴影区分层次） */
html:not(.dark) .course-right,
html:not(.dark) .wp-block-query .wp-block-post,
html:not(.dark) body .shqmb,
html:not(.dark) body .shqn-wrap,
html:not(.dark) body .shqb-row .shqb-entry,
html:not(.dark) .shq-item,
html:not(.dark) .cp .panel,
html:not(.dark) .cp .path,
html:not(.dark) .cp .mod,
html:not(.dark) .cp .stat,
html:not(.dark) .cp .step,
html:not(.dark) .lesson details,
html:not(.dark) .entry-content details{
  border-width:0!important;border-color:transparent!important;
}

/* 4) 区块之间的分隔线 */
html:not(.dark) .cp .hero{border-bottom:0!important}
html:not(.dark) .course-list li{border-bottom:0!important}
html:not(.dark) .course-list a{padding:14px 0!important}
html:not(.dark) .shqb-row .shqb-game{border-top:0!important}
html:not(.dark) .shqn-wrap .shqn-foot{border-top:0!important}
html:not(.dark) .shqn-wrap .shqn-src{border-left:0!important}
html:not(.dark) .gd .cta{border-width:0!important}
html:not(.dark) .wp-block-navigation a{border:0!important}
html:not(.dark) header.wp-block-template-part::after{opacity:.9}

/* 5) 图片/配图边框 */
html:not(.dark) .lesson img,
html:not(.dark) .entry-content img,
html:not(.dark) .wp-block-post-featured-image img,
html:not(.dark) .wp-block-image img{border:0!important}

/* 6) 引用块的左边竖线保留（它是强调标记，不是分割线），表格线保留 */


/* 7) 列表内的虚线分隔（课程目录页 .panel li / 模块链接） */
html:not(.dark) .cp .panel li,
html:not(.dark) .cp .mod li,
html:not(.dark) .cp ul li,
html:not(.dark) .gd li{border-bottom:0!important}
html:not(.dark) .cp .panel li{padding:8px 0!important}
html:not(.dark) .cp .mod li a{border-bottom:0!important}
html:not(.dark) .cp .mod li a:hover{color:var(--brand)!important}

/* 8) 兜底：正文里残留的虚线/点线分隔 */
html:not(.dark) .entry-content li,
html:not(.dark) .lesson li{border-bottom:0!important}


/* 9) 课程目录页页脚 / 时间线的残留横线 */
html:not(.dark) .cp footer{border-top:0!important;padding-top:0!important}
html:not(.dark) .cp .tl-row{border-bottom:0!important}
html:not(.dark) .cp .tl{border:0!important}
html:not(.dark) .cp .wrap{border:0!important}
html:not(.dark) .cp section{border:0!important}
html:not(.dark) .cp .foot{border-top:0!important}
html:not(.dark) .cp .stats{border:0!important}


/* ============================================================
   主体内容：白色圆角面板 + 羽化边缘（浮在流体背景上）
   ============================================================ */
html:not(.dark) main.wp-block-group{
  background:rgba(255,255,255,.96)!important;
  border-radius:32px!important;
  box-shadow:0 28px 80px -46px rgba(28,62,132,.38)!important;
  max-width:1240px;
  margin:26px auto 46px!important;
  padding:clamp(22px,3vw,46px) clamp(18px,3.4vw,56px)!important;
  backdrop-filter:blur(10px) saturate(108%);
  overflow:visible!important;
  position:relative;
  z-index:1;
}
/* 羽化：外圈一层模糊白光，让边缘与流体背景柔和衔接 */
html:not(.dark) main.wp-block-group::after{
  content:"";position:absolute;inset:-18px;border-radius:52px;
  background:rgba(255,255,255,.92);filter:blur(28px);opacity:.9;
  z-index:-1;pointer-events:none;
}
/* 内侧轻微过渡 */
html:not(.dark) main.wp-block-group::before{
  content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;
  box-shadow:inset 0 0 40px 14px rgba(255,255,255,.7);
  z-index:0;
}
html:not(.dark) main.wp-block-group > *{position:relative;z-index:1}

/* 面板内的分区不再自带白底，避免叠加 */
html:not(.dark) main .wp-block-group,
html:not(.dark) main .entry-content,
html:not(.dark) main .wp-block-post-content{background:transparent!important}

/* 首页 main 里的大区块（看板/新闻等）保持白卡片外观 */
html:not(.dark) main .alignfull{border-radius:24px!important}

/* 小屏收窄圆角与内边距 */
@media (max-width:782px){
  html:not(.dark) main.wp-block-group{
    border-radius:22px!important;
    margin:14px 12px 30px!important;
    padding:18px 14px!important;
  }
}


/* ============================================================
   白色面板内部：卡片改用浅灰底 + 阴影（白对白会看不见）
   ============================================================ */
html:not(.dark) .cp .stat,
html:not(.dark) .cp .step{
  background:#f6f8fc!important;
  box-shadow:0 8px 20px -16px rgba(28,62,132,.40)!important;
}
html:not(.dark) .cp .panel,
html:not(.dark) .cp .path,
html:not(.dark) .cp .mod{
  background:#f8fafd!important;
  box-shadow:0 12px 30px -24px rgba(28,62,132,.35)!important;
}
html:not(.dark) body .shqmb,
html:not(.dark) body .shqn-wrap,
html:not(.dark) body .shqb-row .shqb-entry{
  background:#ffffff!important;
  box-shadow:0 16px 40px -26px rgba(28,62,132,.45), 0 2px 8px rgba(28,62,132,.05)!important;
}
html:not(.dark) .wp-block-query .wp-block-post{
  background:#f8fafd!important;
  box-shadow:0 10px 26px -20px rgba(28,62,132,.35)!important;
}
html:not(.dark) .course-right{
  background:#f8fafd!important;
  box-shadow:0 16px 40px -28px rgba(28,62,132,.40)!important;
}

/* 收紧课程页分区空隙 */
html:not(.dark) .cp section{padding-top:clamp(26px,3.6vw,44px)!important;padding-bottom:clamp(26px,3.6vw,44px)!important}
html:not(.dark) .cp .hero{padding-top:clamp(28px,4vw,52px)!important;padding-bottom:clamp(20px,3vw,34px)!important}

/* ---------- FX 简单! 小游戏卡片（shqb-fx）：青绿，区分卫戍的金色 ---------- */
html:not(.dark) body .shqb-row .shqb-fx{border-top:1px solid var(--line)!important}
body .shqb-row .shqb-fx .shqg-tag{
  border:1px solid #c7f0e0!important;background:#effcf7!important;color:#0f766e!important;border-radius:6px!important;
}
body .shqb-row .shqb-fx .shqg-title em{color:#0f766e!important;-webkit-text-fill-color:#0f766e!important}
body .shqb-row .shqb-fx .shqg-sub{color:var(--muted)!important}
body .shqb-row .shqb-fx .shqg-desc,body .shqb-row .shqb-fx .shqg-desc *{color:var(--ink-2)!important}
body .shqb-row .shqb-fx .shqg-desc strong{color:#0f766e!important}
body .shqb-row .shqb-fx .shqg-btn{
  background:#0f766e!important;border:1px solid #0f766e!important;color:#fff!important;
}
body .shqb-row .shqb-fx .shqg-btn *{color:#fff!important}
body .shqb-row .shqb-fx .shqg-btn:hover{background:#0d665f!important;border-color:#0d665f!important}
body .shqb-row .shqb-fx .shqg-btn.ghost{
  background:#fff!important;color:#0f766e!important;border-color:#c7f0e0!important;
}
body .shqb-row .shqb-fx .shqg-btn.ghost *{color:#0f766e!important}
body .shqb-row .shqb-fx .shqg-hint{color:var(--muted)!important}

/* ---------- 争锋频道卡片（紫色，区别于蓝/金/绿）---------- */
html:not(.dark) body .shqb-row .shqb-duel{border-top:1px solid var(--line)!important}
body .shqb-row .shqb-duel .shqg-tag{
  border:1px solid #ddd6fe!important;background:#f5f3ff!important;color:#6d28d9!important;border-radius:6px!important;
}
body .shqb-row .shqb-duel .shqg-title em{color:#6d28d9!important;-webkit-text-fill-color:#6d28d9!important}
body .shqb-row .shqb-duel .shqg-sub{color:var(--muted)!important}
body .shqb-row .shqb-duel .shqg-desc,body .shqb-row .shqb-duel .shqg-desc *{color:var(--ink-2)!important}
body .shqb-row .shqb-duel .shqg-desc strong{color:#6d28d9!important}
body .shqb-row .shqb-duel .shqg-btn{
  background:#7c3aed!important;border:1px solid #7c3aed!important;color:#fff!important;
}
body .shqb-row .shqb-duel .shqg-btn *{color:#fff!important}
body .shqb-row .shqb-duel .shqg-btn:hover{background:#6d28d9!important;border-color:#6d28d9!important}
body .shqb-row .shqb-duel .shqg-btn.ghost{
  background:#fff!important;color:#7c3aed!important;border-color:#ddd6fe!important;
}
body .shqb-row .shqb-duel .shqg-btn.ghost *{color:#7c3aed!important}
body .shqb-row .shqb-duel .shqg-hint{color:var(--muted)!important}

/* ---------- 城市与地铁卡片（青色）---------- */
html:not(.dark) body .shqb-row .shqb-metro{border-top:1px solid var(--line)!important}
body .shqb-row .shqb-metro .shqg-tag{
  border:1px solid #a5f3fc!important;background:#ecfeff!important;color:#0e7490!important;border-radius:6px!important;
}
body .shqb-row .shqb-metro .shqg-title em{color:#0e7490!important;-webkit-text-fill-color:#0e7490!important}
body .shqb-row .shqb-metro .shqg-sub{color:var(--muted)!important}
body .shqb-row .shqb-metro .shqg-desc,body .shqb-row .shqb-metro .shqg-desc *{color:var(--ink-2)!important}
body .shqb-row .shqb-metro .shqg-desc strong{color:#0e7490!important}
body .shqb-row .shqb-metro .shqg-btn{
  background:#0891b2!important;border:1px solid #0891b2!important;color:#fff!important;
}
body .shqb-row .shqb-metro .shqg-btn *{color:#fff!important}
body .shqb-row .shqb-metro .shqg-btn:hover{background:#0e7490!important;border-color:#0e7490!important}
body .shqb-row .shqb-metro .shqg-btn.ghost{
  background:#fff!important;color:#0891b2!important;border-color:#a5f3fc!important;
}
body .shqb-row .shqb-metro .shqg-btn.ghost *{color:#0891b2!important}
body .shqb-row .shqb-metro .shqg-hint{color:var(--muted)!important}
