/* ==========================================================================
   KYO4926 · Wope 视觉体系移植层
   变量来源：wope-tokens.css（由 analysis/design-tokens.json 直转）（原创实现，参数采样自 wope.com）
   加载顺序：style.css → glass-fx.css → wope-theme.css（本层最后，胜出）
   原则：只换外观（排版/留白/容器/字阶/玻璃/底色/光路），不动任何 DOM 内容。
   分区：① 基底与容器 ② 导航 ③ 字阶 ④ 卡片按钮玻璃 ⑤ 背景层 ⑥ 响应式降级
   ========================================================================== */

/* ---------- ① 基底与容器（采样：底 #0C0B14，容器 1248px/96px） ---------- */
html body {
  background:var(--w-bg-base) !important;
  color:var(--w-text-heading) !important;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif !important;
}
/* 暗角：四周压暗、中心提亮（原创，基于采样底色） */
html body::before {
  content:"";position:fixed;inset:0;z-index:0;pointer-events:none;
  background:radial-gradient(ellipse 90% 75% at 50% 42%, transparent 30%, rgba(0,0,0,.42) 100%);
}
/* 原站 container → wope 版心 1248px，左右 96px（窄容器高留白） */
html body .container {
  max-width:1248px !important;
  width:calc(100% - 192px) !important;
  margin-left:auto !important; margin-right:auto !important;
  padding-left:0 !important; padding-right:0 !important;
}

/* ---------- ② 导航（采样：高78px、pad22、透明底、无边框、居排布） ---------- */
html body .site-header { padding:22px 0 0 !important; background:transparent !important; border:0 !important; }
html body .site-header .header-inner {
  height:56px !important; min-height:56px !important;
  padding:0 !important; border:0 !important; border-radius:0 !important;
  background:transparent !important; box-shadow:none !important;
  -webkit-backdrop-filter:none !important; backdrop-filter:none !important;
  gap:32px !important;
}
/* 左侧换成专属 SVG Logo（屿） */
html body .brand {
  display:inline-flex !important; align-items:center !important;
  width:120px !important; height:40px !important;
  font-size:0 !important; /* 隐藏原文字，用 Logo 图 */
  background-image:url('../img/brand-mark.svg') !important;
  background-size:contain !important; background-repeat:no-repeat !important; background-position:left center !important;
}
html body .brand .brand-mark { display:none !important; }
/* 主导航居中偏右，16px/400，wope 同款排布 */
html body .site-nav { display:flex !important; gap:28px !important; margin-left:auto !important;
  flex-wrap:nowrap !important; overflow:visible !important; }
html body .site-nav .nav-link { font-size:16px !important; font-weight:400 !important;
  color:var(--w-text-heading) !important; opacity:.82; padding:6px 0 !important; background:none !important; border:0 !important; }
html body .site-nav .nav-link:hover { opacity:1 !important; color:var(--w-text-heading) !important; }
/* 关于站长 → wope 右侧胶囊按钮（采样：999px、白字、radial 底光） */
html body .site-nav-aside { margin-left:20px !important; padding-left:0 !important; border-left:0 !important; }
html body .nav-link-aside {
  font-size:14px !important; font-weight:500 !important; color:var(--w-text-heading) !important;
  padding:9px 20px !important; border-radius:999px !important;
  border:1px solid var(--w-line-10) !important;
  background:radial-gradient(107.5% 107.5% at 50% 215%,rgba(255,255,255,.24) 0%,rgba(255,255,255,0) 100%) !important;
}

/* ---------- ③ 字阶（采样：h1 72/700/80/-1.44，副文 20/400/28/rgb(155,150,176)） ---------- */
html body .hero { text-align:center !important; padding:196px 0 96px !important; min-height:0 !important; display:block !important; }
html body .hero-grid { display:block !important; }
html body .hero-copy { max-width:1248px !important; margin:0 auto !important; }
html body .hero .eyebrow { font-size:13px !important; letter-spacing:.12em !important; color:var(--w-lavender-glow) !important;
  text-transform:uppercase !important; margin-bottom:22px !important; }
html body .hero h1 {
  font-size:72px !important; font-weight:700 !important; line-height:80px !important;
  letter-spacing:-1.44px !important; text-align:center !important;
  background:linear-gradient(180deg,var(--w-text-heading) 22.5%,rgba(255,255,255,.7) 100%) !important;
  -webkit-background-clip:text !important; background-clip:text !important; color:transparent !important;
  margin:0 auto !important;
}
html body .hero h1 .v15-solid, html body .hero h1 .v15-outline { background:none !important; -webkit-text-fill-color:transparent !important; }
html body .hero h1 .v15-outline { -webkit-text-stroke:1px rgba(255,255,255,.55) !important; }
html body .hero-tagline { font-size:20px !important; font-weight:400 !important; line-height:28px !important;
  color:var(--w-text-muted) !important; max-width:620px !important; margin:22px auto 0 !important; text-align:center !important; }
html body .hero-actions { justify-content:center !important; margin-top:34px !important; }
html body h2, html body .section-head h2, html body .gallery-group .section-head h2,
html body .page-head h1 { font-size:48px !important; font-weight:700 !important; line-height:1.15 !important;
  letter-spacing:-.02em !important; text-align:center !important; }
html body .page-head { text-align:center !important; padding:120px 0 64px !important; }
html body .lede, html body .page-head .lede { font-size:20px !important; color:var(--w-text-muted) !important; text-align:center !important; }
html body .section { margin-top:96px !important; }
html body .section-head { text-align:center !important; margin-bottom:48px !important; }

/* ---------- ④ 液态玻璃卡片 / 按钮（采样：999px、radial、blur4/20、白10%边） ---------- */
html body .hero-actions .btn, html body .hero-actions .btn-primary, html body .hero-actions .btn-ghost,
html body .btn, html body .btn-primary, html body .btn-ghost {
  border-radius:999px !important; font-size:14px !important; font-weight:500 !important;
  padding:4px 16px !important;
  border:1px solid var(--w-line-10) !important;
  -webkit-backdrop-filter:blur(4px) !important; backdrop-filter:blur(4px) !important;
  transition:transform .26s ease-out,box-shadow .26s ease-out,filter .26s ease-out !important;
}
html body .btn-primary {
  color:var(--w-bg-base) !important;
  background:radial-gradient(107.5% 107.5% at 50% 215%,rgba(255,255,255,.24) 0%,rgba(255,255,255,0) 100%),var(--w-text-heading) !important;
  box-shadow:none !important;
}
html body .btn-ghost { color:var(--w-text-heading) !important; background:rgba(255,255,255,.04) !important; }
html body .btn:hover { filter:brightness(1.08) !important; transform:translateY(-2px) !important; }
html body .btn:active { transform:scale(.975) !important; }
html body .card, html body .column-card, html body .project-card, html body .glass-card {
  border-radius:20px !important;
  background:linear-gradient(180deg,rgba(138,148,200,.04),transparent 100%),rgba(20,11,38,.55) !important;
  border:1px solid var(--w-line-08) !important;
  -webkit-backdrop-filter:blur(20px) !important; backdrop-filter:blur(20px) !important;
  box-shadow:0 20px 60px rgba(0,0,0,.35) !important;
  transition:border-color .3s ease-out,box-shadow .3s ease-out,transform .3s ease-out !important;
}
html body .card:hover, html body .column-card:hover { border-color:rgba(198,190,218,.35) !important; transform:translateY(-4px) !important; }

/* ---------- ⑤ 背景四层（由底到顶：暗角→光晕→网格→光点）在 glass-fx.css 中 ---------- */
/* 这里只确保内容层永远在背景之上 */
html body main, html body header, html body footer, html body .site-footer { position:relative !important; z-index:5 !important; }

/* ---------- ⑥ 响应式（移动端保留原站结构，只弱化特效） ---------- */
@media(max-width:900px){
  html body .container { width:calc(100% - 48px) !important; }
  html body .hero { padding:120px 0 72px !important; }
  html body .hero h1 { font-size:clamp(44px,8vw,64px) !important; line-height:1.1 !important; }
  html body h2, html body .page-head h1 { font-size:36px !important; text-align:left !important; }
  html body .page-head { text-align:left !important; padding:80px 0 40px !important; }
  html body .site-nav { gap:14px !important; }
  html body .site-nav .nav-link { font-size:13px !important; }
}
@media(max-width:599px){
  html body .container { width:calc(100% - 40px) !important; }
  html body .hero { padding:88px 0 56px !important; }
  html body .hero h1 { font-size:clamp(40px,11vw,56px) !important; }
  html body .hero-tagline { font-size:17px !important; }
  html body .brand { width:100px !important; }
}
@media(prefers-reduced-motion:reduce){
  html body * { animation:none !important; transition:none !important; }
}

/* ---------- ⑦ 最终兜底：wope 胶囊按钮（压过历史 v18-v22 圆角层） ---------- */
html body a.btn:not(#__v20_none__), html body button.btn:not(#__v20_none__),
html body .btn-primary:not(#__v20_none__), html body .btn-ghost:not(#__v20_none__),
html body .nav-link-aside:not(#__v20_none__) {
  border-radius:999px !important;
}
html body .container, html body main.container, html body header .container {
  max-width:1248px !important;
}

/* ---------- ⑧ 修正：保留 KYO 实心 + 4926 描边双色层次（wope 渐变文字思路） ---------- */
html body .hero h1 .v15-solid {
  background:linear-gradient(180deg,var(--w-text-heading) 22.5%,rgba(255,255,255,.7) 100%) !important;
  -webkit-background-clip:text !important; background-clip:text !important;
  -webkit-text-fill-color:transparent !important; color:transparent !important;
}
html body .hero h1 .v15-outline {
  background:none !important;
  -webkit-text-fill-color:transparent !important; color:transparent !important;
  -webkit-text-stroke:1px rgba(255,255,255,.55) !important;
}
/* 区块标题居中（wope 全站居中），压过旧左对齐 */
html body .section-head, html body .section-head h2,
html body .section-head .section-link, html body .gallery-group .section-head {
  text-align:center !important;
}
html body .section-head { display:block !important; }
html body .section-head .section-link { display:block !important; margin:14px auto 0 !important; }

/* ---------- ⑨ 最终：双色标题（用同等 :not 特异性压过 v20 全局锁） ---------- */
html body .hero h1 span.v15-solid:not(#__v20_none__) {
  background:linear-gradient(180deg,var(--w-text-heading) 22.5%,rgba(255,255,255,.7) 100%) !important;
  -webkit-background-clip:text !important; background-clip:text !important;
  -webkit-text-fill-color:transparent !important; color:transparent !important;
}
html body .hero h1 span.v15-outline:not(#__v20_none__) {
  background:none !important;
  -webkit-text-fill-color:transparent !important; color:transparent !important;
  -webkit-text-stroke:1px rgba(255,255,255,.55) !important;
}

/* ============================================================
   【wope 移植层 · 最终校正】容器居中 / 4 按钮导航 / 网格与光路增强
   ============================================================ */

/* 1) 主容器 1248px 真居中（用 :not 技巧压过 v20 的 max-width 锁） */
html body .container:not(#__v20_none__),
html body main.container:not(#__v20_none__),
html body header .container:not(#__v20_none__) {
  width:1248px !important; max-width:calc(100% - 192px) !important;
  margin-left:auto !important; margin-right:auto !important;
  padding-left:0 !important; padding-right:0 !important;
}
/* 左右安全边距：1440 下 (1440-1248)/2 = 96px，与 wope 一致 */

/* 2) 顶部导航：磨砂玻璃底板 + 4 个主按钮居中
   [wope采样] blur(36px) + rgba(10,1,24,.72) 半透明磨砂底板
   [wope采样] hover 仅 opacity:1（非发光）
   原 9 项链接保留在「更多」下拉中，不删除任何一个。 */
html body .site-header { padding:18px 0 0 !important; }
html body .site-header .header-inner:not(#__v20_none__) {
  width:1248px !important; max-width:calc(100% - 192px) !important;
  height:64px !important; min-height:64px !important;
  margin:0 auto !important; padding:0 20px !important;
  border:1px solid var(--w-line-10) !important; border-radius:14px !important;
  background:rgba(10,1,24,.72) !important;
  -webkit-backdrop-filter:blur(36px) !important; backdrop-filter:blur(36px) !important;
  box-shadow:0 8px 32px rgba(0,0,0,.28) !important;
  display:flex !important; align-items:center !important; gap:0 !important;
}
html body .brand:not(#__v20_none__) {
  width:210px !important; height:40px !important; flex:none !important;
  background-image:url('../img/brand-mark.svg') !important;
  background-size:contain !important; background-repeat:no-repeat !important;
  animation:brandBreath 9s ease-in-out infinite alternate;
}
@keyframes brandBreath{from{opacity:.86}to{opacity:1}}
/* 4 个主按钮导航：首页 / 相册 / 专栏 / 小工具（其余靠下拉保留） */
html body .site-nav:not(#__v20_none__) {
  display:flex !important; align-items:center !important; justify-content:center !important;
  gap:38px !important; margin:0 auto !important; flex:1 1 auto !important;
}
html body .site-nav .nav-link:not(#__v20_none__) {
  font-size:16px !important; font-weight:400 !important;
  color:var(--w-text-heading) !important; opacity:.62 !important;          /* 默认低于 wope 的 1 */
  padding:6px 0 !important; background:none !important; border:0 !important;
  transition:opacity .25s ease-out !important;                /* hover 仅透明度，不发光 */
}
html body .site-nav .nav-link:hover:not(#__v20_none__) { opacity:1 !important; text-shadow:none !important; }
html body .site-nav .nav-link.is-active:not(#__v20_none__) { opacity:1 !important; }
/* 右侧「关于站长」作为第 4 个主按钮，胶囊 */
html body .site-nav-aside:not(#__v20_none__) { margin-left:0 !important; flex:none !important; }
html body .nav-link-aside:not(#__v20_none__) {
  font-size:14px !important; color:var(--w-text-heading) !important; opacity:1 !important;
  padding:9px 20px !important; border-radius:999px !important;
  background:rgba(255,255,255,.06) !important;
  border:1px solid var(--w-lavender-border) !important;
}

/* 3) 网格增强：从 opacity .38 提到 .72，线条色标按采样 #C7BADF/#9A80DF 加亮 */
html body .glass-grid svg { opacity:.72 !important; }
html body .glass-grid {
  -webkit-mask-image:linear-gradient(to bottom,transparent 0%,#000 22%,#000 88%,transparent 100%) !important;
  mask-image:linear-gradient(to bottom,transparent 0%,#000 22%,#000 88%,transparent 100%) !important;
}



/* ---------- 导航「更多」下拉（4 主按钮方案，所有原链接保留） ---------- */
.nav-more { position:relative; flex:none; }
.nav-more-btn {
  font-family:inherit; font-size:16px; font-weight:400; color:var(--w-text-heading); opacity:.62;
  background:none; border:0; padding:6px 0; cursor:pointer;
  transition:opacity .25s ease-out;
}
.nav-more-btn:hover, .nav-more.is-open .nav-more-btn { opacity:1; }
.nav-more-panel {
  position:absolute; top:calc(100% + 16px); right:0; min-width:170px;
  display:none; flex-direction:column; gap:2px; padding:10px;
  background:rgba(10,1,24,.9); border:1px solid var(--w-line-10);
  border-radius:14px; -webkit-backdrop-filter:blur(36px); backdrop-filter:blur(36px);
  box-shadow:0 16px 40px rgba(0,0,0,.4);
}
.nav-more.is-open .nav-more-panel { display:flex; }
.nav-more-panel .nav-link {
  font-size:14px !important; opacity:.72 !important; padding:9px 12px !important;
  border-radius:8px !important; text-align:left !important;
}
.nav-more-panel .nav-link:hover { opacity:1 !important; background:rgba(255,255,255,.06) !important; }
@media(max-width:900px){ .nav-more-panel { right:auto; left:0; } }

/* 移动端容器修正：盖掉 :not() 规则带来的 198px */
@media(max-width:900px){
  html body .container:not(#__v20_none__),
  html body main.container:not(#__v20_none__),
  html body header .container:not(#__v20_none__),
  html body .site-header .header-inner:not(#__v20_none__) {
    width:calc(100% - 48px) !important; max-width:calc(100% - 48px) !important;
    margin-left:auto !important; margin-right:auto !important;
  }
}
@media(max-width:599px){
  html body .container:not(#__v20_none__),
  html body main.container:not(#__v20_none__),
  html body header .container:not(#__v20_none__),
  html body .site-header .header-inner:not(#__v20_none__) {
    width:calc(100% - 40px) !important; max-width:calc(100% - 40px) !important;
  }
}

/* ============================================================
   【wope 移植层 · 去框校正】采样实测：
   Logo: bg transparent / border none / radius 0 / shadow none
   header: bg transparent / border none / backdrop none / radius 0
   navItem: bg transparent / border none / radius 0 / opacity .7（hover→1）
   因此拆除上一轮自加的边框、圆角框、阴影框、额外面板。
   ============================================================ */

/* 1) 顶栏：保留液态玻璃磨砂质感，但拆掉边框/圆角框/阴影框 */
html body .site-header .header-inner:not(#__v20_none__) {
  border:0 !important;
  border-radius:0 !important;
  box-shadow:none !important;
  background:rgba(10,1,24,.42) !important;
  -webkit-backdrop-filter:blur(18px) !important; backdrop-filter:blur(18px) !important;
}
/* 2) Logo：无外框、无背景块，直接悬浮 */
html body .brand:not(#__v20_none__) {
  border:0 !important; border-radius:0 !important; background-color:transparent !important;
  box-shadow:none !important; padding:0 !important;
  background-image:url('../img/brand-mark.svg') !important;
}
/* 3) 导航项：默认 opacity .7，hover 只提亮到 1（wope 采样，非发光） */
html body .site-nav .nav-link:not(#__v20_none__) {
  opacity:.7 !important; text-shadow:none !important;
  background:none !important; border:0 !important; border-radius:0 !important;
}
html body .site-nav .nav-link:hover:not(#__v20_none__) { opacity:1 !important; text-shadow:none !important; }
/* 关于站长：wope 右侧是普通胶囊按钮，保留胶囊但拆掉额外边框/阴影 */
html body .nav-link-aside:not(#__v20_none__) {
  border:0 !important; box-shadow:none !important; background:rgba(255,255,255,.06) !important;
}
/* 4) 撤销「更多」下拉面板（禁止新增面板），恢复 9 项原链接平铺；
      仍以 4 个视觉主按钮呈现：首页/专栏/相册 + 关于站长，其余低对比文字项。 */
.nav-more { display:contents !important; }
.nav-more-btn { display:none !important; }
.nav-more-panel { display:flex !important; position:static !important; flex-direction:row !important;
  gap:26px !important; padding:0 !important; background:none !important; border:0 !important;
  border-radius:0 !important; box-shadow:none !important; backdrop-filter:none !important; }
.nav-more-panel .nav-link { font-size:16px !important; opacity:.7 !important; padding:6px 0 !important; }
.nav-more-panel .nav-link:hover { opacity:1 !important; background:none !important; }
/* 5) 卡片：拆掉我加的 1px 边框、20px 圆角框、阴影框（wope 卡片 border none radius 0） */
html body .card:not(#__v20_none__), html body .column-card:not(#__v20_none__),
html body .project-card:not(#__v20_none__), html body .glass-card:not(#__v20_none__) {
  border:0 !important; border-radius:0 !important; box-shadow:none !important;
  background:linear-gradient(180deg,rgba(138,148,200,.04),transparent 100%) !important;
}
/* 6) 单点游走亮点保留（依附按钮边框，本身不是新增框） */

/* ===== 报表第十节：卡片薰衣草紫内辉光（放在最后压过去框规则的 shadow:none） ===== */
html body .card:not(#__v20_none__),
html body .column-card:not(#__v20_none__),
html body .project-card:not(#__v20_none__) {
  background:var(--w-card-surface) !important;
  border:1px solid var(--w-card-border) !important;
  border-radius:var(--w-radius-card) !important;
  box-shadow:var(--w-card-shadow) !important;
  -webkit-backdrop-filter:blur(var(--w-blur-card)) !important;
  backdrop-filter:blur(var(--w-blur-card)) !important;
}

/* ==========================================================================
   【wope 移植层 · 全页面类型覆盖】
   按研究包字阶规范补齐：文章页 / 正文 / 相册 / 评论区 / 页脚
   报表要求：章节标题 56/64（桌面）→36/44（≤1248）→28/36（≤670）；
   正文 16/24 #D2D0DD；卡片 16px+内辉光；区块 padding 64/124 两档。
   ========================================================================== */

/* ---- 文章页标题（研究包：文章标题同章节标题档，但需小于 hero）---- */
html body .article-head:not(#__v20_none__) {
  text-align:center !important;
  padding:var(--w-section-wide) 0 var(--w-section-tight) !important;
}
html body .article-head h1:not(#__v20_none__) {
  font-size:56px !important; line-height:64px !important; font-weight:700 !important;
  letter-spacing:var(--w-track-display) !important; text-align:center !important;
  background:var(--w-grad-text) !important;
  -webkit-background-clip:text !important; background-clip:text !important;
  color:transparent !important; -webkit-text-fill-color:transparent !important;
}
html body .article-head .eyebrow:not(#__v20_none__),
html body .eyebrow:not(#__v20_none__) {
  font-size:14px !important; letter-spacing:var(--w-track-eyebrow) !important;
  text-transform:uppercase !important; color:var(--w-lavender-glow) !important;
  font-weight:500 !important;
}
html body .article-head .lede:not(#__v20_none__) {
  font-size:18px !important; line-height:28px !important;
  color:var(--w-text-muted) !important; max-width:var(--w-narrow) !important;
  margin:20px auto 0 !important; text-align:center !important;
}

/* ---- 正文排版（研究包：正文 16/24、#D2D0DD、窄列 862px）---- */
html body .prose:not(#__v20_none__) {
  font-size:var(--w-fs-body) !important; line-height:26px !important;
  color:var(--w-text-body) !important; max-width:var(--w-narrow) !important;
  margin:0 auto !important; letter-spacing:var(--w-track) !important;
}
html body .prose p:not(#__v20_none__) {
  font-size:var(--w-fs-body) !important; line-height:26px !important;
  color:var(--w-text-body) !important; margin:0 0 20px !important;
}
html body .prose h2:not(#__v20_none__) {
  font-size:32px !important; line-height:40px !important; font-weight:700 !important;
  letter-spacing:var(--w-track-display) !important; color:var(--w-text-heading) !important;
  margin:48px 0 16px !important; text-align:left !important;
}
html body .prose h3:not(#__v20_none__) {
  font-size:24px !important; line-height:32px !important; font-weight:500 !important;
  color:var(--w-text-heading) !important; margin:32px 0 12px !important;
}
html body .prose a:not(#__v20_none__) {
  color:var(--w-lavender-glow) !important; text-decoration:none !important;
  border-bottom:1px solid var(--w-lavender-border) !important;
}
html body .prose blockquote:not(#__v20_none__) {
  border-left:2px solid var(--w-lavender-border) !important;
  padding-left:20px !important; color:var(--w-text-muted) !important; margin:24px 0 !important;
}
html body .prose img:not(#__v20_none__) {
  border-radius:var(--w-radius-card) !important; display:block; margin:24px auto !important;
}
html body .prose code:not(#__v20_none__) {
  background:var(--w-fill-white-05) !important; border:1px solid var(--w-line-08) !important;
  border-radius:6px !important; padding:2px 6px !important; font-size:14px !important;
}

/* ---- 区块节奏（研究包 64/124 两档）---- */
html body .section:not(#__v20_none__) { padding:var(--w-section-wide) 0 0 !important; margin-top:0 !important; }
html body .section-head:not(#__v20_none__) {
  text-align:center !important; padding:0 !important; margin:0 0 40px !important;
}
html body .section-head h2:not(#__v20_none__) {
  font-size:var(--w-fs-section) !important; line-height:var(--w-lh-section) !important;
  font-weight:700 !important; letter-spacing:var(--w-track-display) !important;
  background:var(--w-grad-text) !important;
  -webkit-background-clip:text !important; background-clip:text !important;
  color:transparent !important; -webkit-text-fill-color:transparent !important;
}
html body .section-head .section-link:not(#__v20_none__) {
  font-size:var(--w-fs-small) !important; color:var(--w-text-muted) !important;
  display:inline-block; margin-top:12px;
}

/* ---- 相册筛选：pill 化 ---- */
html body .gallery-filter .filter-btn:not(#__v20_none__) {
  border-radius:var(--w-radius-pill) !important;
  font-size:var(--w-fs-small) !important; padding:7px 18px !important;
  border:1px solid var(--w-line-08) !important; background:transparent !important;
  color:var(--w-text-muted) !important; transition:var(--w-hover) !important;
}
html body .gallery-filter .filter-btn.is-active:not(#__v20_none__),
html body .gallery-filter .filter-btn[aria-pressed="true"]:not(#__v20_none__) {
  color:var(--w-text-heading) !important;
  background:var(--w-btn-surface) !important;
  border-color:var(--w-line-10) !important;
}

/* ---- 评论区 ---- */
html body .comments:not(#__v20_none__) {
  max-width:var(--w-narrow) !important; margin:var(--w-section-wide) auto 0 !important;
  padding-top:var(--w-section-tight) !important;
  border-top:1px solid var(--w-line-04) !important;
}
html body .comments h2:not(#__v20_none__) {
  font-size:24px !important; line-height:32px !important; font-weight:500 !important;
  color:var(--w-text-heading) !important; text-align:left !important;
}
html body .comments input:not(#__v20_none__),
html body .comments textarea:not(#__v20_none__) {
  background:var(--w-fill-white-04) !important;
  border:1px solid var(--w-line-08) !important;
  border-radius:var(--w-radius-inner) !important;
  color:var(--w-text-body) !important; font-size:var(--w-fs-body) !important;
  padding:12px 16px !important;
}

/* ---- 页脚（研究包：桌面多列 + 渐变白大标题联系区）---- */
html body .site-footer:not(#__v20_none__) {
  margin-top:var(--w-section-wide) !important;
  padding:var(--w-section-tight) 0 40px !important;
  border-top:1px solid var(--w-line-04) !important;
  background:transparent !important;
}
html body .site-footer .footer-tagline:not(#__v20_none__) {
  font-size:32px !important; line-height:40px !important; font-weight:700 !important;
  letter-spacing:var(--w-track-display) !important;
  background:var(--w-grad-text-footer) !important;
  -webkit-background-clip:text !important; background-clip:text !important;
  color:transparent !important; -webkit-text-fill-color:transparent !important;
  max-width:var(--w-narrow) !important;
}
html body .site-footer .muted:not(#__v20_none__) {
  color:var(--w-text-muted) !important; font-size:var(--w-fs-small) !important;
}
html body .site-footer a:not(#__v20_none__) {
  color:var(--w-text-body) !important; transition:var(--w-hover) !important;
}
html body .site-footer a:hover:not(#__v20_none__) { color:var(--w-text-heading) !important; }

/* ---- 工具页/项目页/统计页的通用面板 ---- */
html body .tool-panel:not(#__v20_none__), html body .stat:not(#__v20_none__),
html body .dash-panel:not(#__v20_none__) {
  background:var(--w-card-surface) !important;
  border:1px solid var(--w-card-border) !important;
  border-radius:var(--w-radius-card) !important;
  box-shadow:var(--w-card-shadow) !important;
}

/* ---- 响应式：按研究包 1248/670 断点降档 ---- */
@media(max-width:1248px){
  html body .article-head h1:not(#__v20_none__){font-size:36px !important;line-height:44px !important;}
  html body .section-head h2:not(#__v20_none__){font-size:36px !important;line-height:44px !important;}
  html body .prose h2:not(#__v20_none__){font-size:28px !important;line-height:36px !important;}
}
@media(max-width:670px){
  html body .article-head h1:not(#__v20_none__){font-size:28px !important;line-height:36px !important;}
  html body .section-head h2:not(#__v20_none__){font-size:28px !important;line-height:36px !important;}
  html body .prose h2:not(#__v20_none__){font-size:24px !important;line-height:32px !important;}
  html body .site-footer .footer-tagline:not(#__v20_none__){font-size:24px !important;line-height:32px !important;}
  html body .article-head:not(#__v20_none__){padding:64px 0 40px !important;text-align:left !important;}
  html body .article-head h1:not(#__v20_none__){text-align:left !important;}
  html body .article-head .lede:not(#__v20_none__){text-align:left !important;}
  html body .section-head:not(#__v20_none__){text-align:left !important;}
  html body .section-head h2:not(#__v20_none__){text-align:left !important;}
}

/* ==========================================================================
   【wope 移植层 · 主页炫酷 / 文章页素 双模式】
   主页：保留氛围背景 + 大标题冲击；文章页：干净深色阅读窗口，可读性优先
   ========================================================================== */

/* ---------- 1) 导航：彻底去底板，直接贴在背景上 ---------- */
html body .site-header:not(#__v20_none__) { padding:14px 0 0 !important; background:transparent !important; }
html body .site-header .header-inner:not(#__v20_none__) {
  background:transparent !important;
  -webkit-backdrop-filter:none !important; backdrop-filter:none !important;
  border:0 !important; border-radius:0 !important; box-shadow:none !important;
  height:52px !important; min-height:52px !important;
}
/* 导航整体上移贴顶 */
html body .site-header .header-inner:not(#__v20_none__) { align-items:center !important; }

/* ---------- 2) Logo：纯图标，无文字无框 ---------- */
html body .brand:not(#__v20_none__) {
  width:44px !important; height:44px !important; flex:none !important;
  background-image:none !important;
  border:0 !important; border-radius:0 !important; box-shadow:none !important;
  font-size:0 !important; /* 若有残留文字则隐藏 */
}
html body .brand img:not(#__v20_none__) {
  width:44px !important; height:44px !important; display:block !important;
  filter:drop-shadow(0 0 10px rgba(198,190,218,.35));
  animation:wopeBrandBreath 8s ease-in-out infinite alternate;
}
@keyframes wopeBrandBreath{from{opacity:.82;filter:drop-shadow(0 0 8px rgba(198,190,218,.28))}
  to{opacity:1;filter:drop-shadow(0 0 16px rgba(198,190,218,.5))}}

/* ---------- 3) 主页 hero：KYO4926 更大更震撼 ---------- */
html body[data-page="index"] .hero:not(#__v20_none__) { padding:150px 0 90px !important; }
html body[data-page="index"] .hero h1:not(#__v20_none__) {
  font-size:clamp(96px,13vw,168px) !important;
  line-height:.92 !important; letter-spacing:-.05em !important;
  font-weight:700 !important;
}
html body[data-page="index"] .hero-tagline:not(#__v20_none__) {
  font-size:20px !important; line-height:30px !important; margin-top:26px !important;
  max-width:640px !important;
}

/* ---------- 4) 文章页：素。关闭氛围背景，专用阅读窗口 ---------- */
/* 4.1 背景层全部淡出（保留深色底与暗角，去掉网格/光点/光带） */
html body[data-page="article"] .glass-grid,
html body[data-page="article"] .glass-particles,
html body[data-page="article"] { background:#0C0B14 !important; }
html body[data-page="article"]::before { display:none !important; }
/* 4.2 阅读窗口：窄列 + 卡片式阅读区（但不加边框，只用浅底区分） */
html body[data-page="article"] .article-head:not(#__v20_none__) {
  max-width:862px !important; margin:0 auto !important;
  padding:88px 0 40px !important; text-align:left !important;
}
html body[data-page="article"] .article-head h1:not(#__v20_none__) {
  font-size:44px !important; line-height:1.25 !important;
  text-align:left !important; letter-spacing:-.02em !important;
  color:#F2F1F7 !important; -webkit-text-fill-color:#F2F1F7 !important;
  background:none !important;
}
html body[data-page="article"] .article-head .lede:not(#__v20_none__) {
  text-align:left !important; margin:18px 0 0 !important;
  font-size:18px !important; line-height:30px !important; color:var(--w-text-muted) !important;
}
html body[data-page="article"] .article-head .eyebrow:not(#__v20_none__) {
  text-align:left !important; color:#8B7FB8 !important;
}
html body[data-page="article"] .prose:not(#__v20_none__) {
  max-width:720px !important; margin:0 auto !important;
  font-size:17px !important; line-height:32px !important;
  color:#C9C5D6 !important;
}
html body[data-page="article"] .prose p:not(#__v20_none__) {
  font-size:17px !important; line-height:32px !important; margin:0 0 22px !important;
  color:#C9C5D6 !important;
}
html body[data-page="article"] .prose h2:not(#__v20_none__) {
  font-size:26px !important; line-height:36px !important; margin:44px 0 14px !important;
  color:#EDEBF5 !important; background:none !important; -webkit-text-fill-color:#EDEBF5 !important;
}
/* 4.3 文章页评论区/页脚也收敛，不抢阅读 */
html body[data-page="article"] .comments:not(#__v20_none__) { max-width:720px !important; }
html body[data-page="article"] .site-footer .footer-tagline:not(#__v20_none__) {
  font-size:22px !important; line-height:32px !important;
}

/* ---------- 5) 关于页（doc）：折中，弱化背景但保留一点氛围 ---------- */
html body[data-page="doc"] .glass-grid svg { opacity:.22 !important; }
html body[data-page="doc"] .glass-particles { opacity:.5 !important; }
html body[data-page="doc"] .prose.about-bio:not(#__v20_none__) {
  max-width:720px !important; margin:0 auto !important;
  font-size:17px !important; line-height:32px !important; color:#C9C5D6 !important;
}

/* ===== 按钮对比度修正：主按钮改实心浅底 + 深色字（wope CTA 同款视觉） ===== */
html body .btn-primary:not(#__v20_none__),
html body a.btn-primary:not(#__v20_none__) {
  background:linear-gradient(180deg,#FFFFFF 0%,#E6E1F2 100%) !important;
  color:#0C0B14 !important;
  border:1px solid rgba(255,255,255,.24) !important;
  box-shadow:0 6px 24px rgba(150,162,208,.28),inset 0 1px 0 rgba(255,255,255,.9) !important;
}
html body .btn-primary:hover:not(#__v20_none__) {
  filter:brightness(1.04) !important;
  box-shadow:0 10px 32px rgba(150,162,208,.4),inset 0 1px 0 rgba(255,255,255,.95) !important;
}
html body .btn-primary .ico, html body .btn-primary svg { color:#0C0B14 !important; stroke:#0C0B14 !important; }
/* 次按钮：白字 + 半透明玻璃，确保可读 */
html body .btn-ghost:not(#__v20_none__), html body a.btn:not(.btn-primary):not(#__v20_none__) {
  color:#F2F1F7 !important;
  background:rgba(255,255,255,.06) !important;
  border:1px solid rgba(255,255,255,.14) !important;
}
