/* ============================================================
 * nexcaptcha-content.css —— NexCaptcha 品牌层 · 内容（设计系统 Signal）
 *
 * 由 site.php 的 extra_css 加载：skin.css → nexcaptcha.css（框架）→ 本文件 → nexcaptcha-parts.css。
 * 负责页面框架之内的一切：首页区域与栅格、轮播 / 专题、文章卡片、分类 / 标签 / 搜索页头、
 * 文章页（标题、正文排版、main.js 注入的代码块语言标与复制按钮、表格）、文末（最后更新、
 * 作者 / 标签 / 点赞、上一篇 / 下一篇、相关文章）、侧栏与各小工具、评论（comments.php +
 * comments.css）、归档 / 友链 / 全部标签页。
 * 页头、抽屉、搜索浮层、弹窗（灯箱 / 语言提示 / toast）、列表分页与“加载更多”、页脚、404
 * 由 nexcaptcha.css 负责，这里一条都不写。
 *
 * 约定
 * - 每条规则都以 body.site-nexcaptcha 开头：比 style.css / skin.css 的 `.dark …` 多一个类加一个
 *   元素，锁定深色与否都稳定覆盖；也压得住在 <body> 里才加载的 comments.css。其他站点没有
 *   这个 body 类，本文件对它们完全不生效。
 * - 颜色只用 skin.css 的 --nx-* 令牌。翡翠绿（--nx-accent）只表示“通过”：本文件唯一用到它的
 *   地方是代码块“已复制”的 1.2 秒瞬时状态。分类、标签、悬停、当前页、已点赞都是中性的白 / 灰，
 *   翡翠绿的名额留给页头 CTA 和组件层（nexcaptcha-parts.css）里的那一个状态指示。
 * - 深度靠明度阶梯（bg → bg-soft → surface → surface-2 → surface-3）和 1px 细线，不用投影；
 *   卡片悬停 = 升一级明度 + line-strong 描边。
 * - 数字（日期、浏览 / 评论 / 点赞计数）一律等宽字体 + tabular-nums；小标题是等宽大写微标签。
 * - 拉丁字母的负字距只写在 :not(:lang(zh)) 下；中文页零字距、行高更松（正文 17px / 1.9）。
 * - 只做颜色 / 边框过渡（.16s），不做滚动出场、视差、悬停放大；尊重 prefers-reduced-motion。
 * - 不碰脚本依赖的显示状态：.carousel-item(.active) 的 display、.hidden、992 以下隐藏的
 *   .sidebar_sticky、.comment-reply-link 作为点击目标本身（不给它加子元素样式）。
 * ============================================================ */

/* ---------- 0. 本文件的局部变量（--nxc-*，与 skin.css 的 --nx-* 令牌不重名） ---------- */
body.site-nexcaptcha{
  --nxc-gap:1rem;
  /* 官网 .bg-grid：64px 细网格，线色即 --nx-line */
  --nxc-grid:linear-gradient(to right,var(--nx-line) 1px,transparent 1px),linear-gradient(to bottom,var(--nx-line) 1px,transparent 1px);
  /* 官网 .rule-fade：两端淡出的细线 */
  --nxc-rule:linear-gradient(to right,transparent,var(--nx-line-strong) 18%,var(--nx-line-strong) 82%,transparent);
  /* 图上压字用的底色渐变（不是阴影） */
  --nxc-scrim:linear-gradient(to top,rgb(var(--nx-bg-rgb) / .94) 0,rgb(var(--nx-bg-rgb) / .62) 38%,rgb(var(--nx-bg-rgb) / 0) 74%);
  --nxc-ease:var(--nx-ease);
  --nxc-scroll-offset:calc(var(--nx-header-h) + 1.5rem);
}

/* ---------- 1. 首页区域与栅格 ---------- */
/* 页头本身不留下边距（nexcaptcha.css），内容区自己给上下呼吸。 */
body.site-nexcaptcha .index_area{padding:1.75rem 0 3.5rem;}
body.site-nexcaptcha .index_banner{margin-bottom:0;padding-top:1.75rem;}
/* 正文列与侧栏之间放宽到 24px；只作用于页面框架这一行，卡片里的 .row 不受影响。 */
@media (min-width:992px){
  body.site-nexcaptcha .index_area > .container > .row{--bs-gutter-x:1.5rem;}
}
/* 锚点跳转（评论数链接 → #post_comment_anchor、#comment-N）停在吸顶页头下面 */
body.site-nexcaptcha .post_comment,
body.site-nexcaptcha #comments .comment-list li{scroll-margin-top:var(--nxc-scroll-offset);}

/* ---------- 2. 首页轮播 / 专题（slide.php） ----------
 * .carousel-item 的 display / opacity 由 bootstrap.min.css + slide.js 的 .active 控制，这里不碰。 */
/* 轮播直接接在吸顶头部下面（首页不再有头图）。nexcaptcha.css 把 .header 的外边距清成了 0，
 * 这里补上与内页 .index_area 顶部一致的间距，免得轮播贴着头部胶囊。 */
body.site-nexcaptcha .index_banner{margin-top:1.75rem;}
@media (max-width:991.98px){
  body.site-nexcaptcha .index_banner{margin-top:1.25rem;}
}
body.site-nexcaptcha #banner,
body.site-nexcaptcha .index_banner .index_banner_center .zt_list,
body.site-nexcaptcha .index_banner .gglb{
  isolation:isolate;
  overflow:hidden;
  border:1px solid var(--nx-line);
  border-radius:var(--nx-radius-card);
  background:var(--nx-surface);
  transition:border-color .16s var(--nxc-ease);
}
body.site-nexcaptcha #banner:hover,
body.site-nexcaptcha .index_banner .index_banner_center a.zt_list:hover,
body.site-nexcaptcha .index_banner a.gglb:hover{border-color:var(--nx-line-strong);}
/* 悬停不放大图片（style.css 是 scale(1.1)）：Signal 只做颜色 / 边框过渡 */
body.site-nexcaptcha #banner .banlist img,
body.site-nexcaptcha .index_banner .index_banner_center .zt_list img,
body.site-nexcaptcha .index_banner .gglb img{transition:none;}
body.site-nexcaptcha #banner:hover .banlist img,
body.site-nexcaptcha .index_banner .index_banner_center .zt_list:hover img,
body.site-nexcaptcha .index_banner .gglb:hover img{transform:none;}
/* 图上压字：style.css 是 60% 的黑色渐变，换成页面底色的渐变，浅色封面上白字也清楚 */
body.site-nexcaptcha #banner .banlist::before,
body.site-nexcaptcha .index_banner .index_banner_center .zt_list::before,
body.site-nexcaptcha .index_banner .gglb::before{
  opacity:1;
  background:var(--nxc-scrim);
}
body.site-nexcaptcha #banner .banlist h2{
  padding:1.5rem 9rem 1.6rem 1.6rem;
  color:var(--nx-ink);
  font-size:clamp(1.125rem,.95rem + .6vw,1.5rem);
  font-weight:600;
  line-height:1.3;
  text-wrap:balance;
}
body.site-nexcaptcha:not(:lang(zh)) #banner .banlist h2{letter-spacing:-.02em;}
body.site-nexcaptcha:lang(zh) #banner .banlist h2{line-height:1.45;}
/* 角标（“精选”、分类名）→ 官网的等宽微标签胶囊。中性色：精选不是“通过”。 */
body.site-nexcaptcha #banner .banlist i,
body.site-nexcaptcha .index_banner .index_banner_center .zt_list b,
body.site-nexcaptcha .index_banner .gglb b{
  top:.875rem;
  left:.875rem;
  z-index:9;
  display:inline-flex;
  align-items:center;
  gap:.45rem;
  padding:.32rem .68rem;
  border:1px solid var(--nx-line-strong);
  border-radius:var(--nx-radius-pill);
  background:rgb(var(--nx-bg-rgb) / .62);
  color:var(--nx-ink-soft);
  font-family:var(--nx-font-mono);
  font-size:.6875rem;
  font-style:normal;
  font-weight:400;
  letter-spacing:.16em;
  line-height:1.1;
  text-transform:uppercase;
  -webkit-backdrop-filter:blur(8px);
  backdrop-filter:blur(8px);
}
body.site-nexcaptcha:lang(zh) #banner .banlist i,
body.site-nexcaptcha:lang(zh) .index_banner .index_banner_center .zt_list b,
body.site-nexcaptcha:lang(zh) .index_banner .gglb b{letter-spacing:.12em;}
body.site-nexcaptcha #banner .banlist i::before{
  content:"";
  flex:none;
  width:5px;
  height:5px;
  border-radius:50%;
  background:currentColor;
  opacity:.7;
}
body.site-nexcaptcha .index_banner .index_banner_center .zt_list h3{
  padding:.9rem 1rem;
  color:var(--nx-ink);
  font-size:.9375rem;
  font-weight:500;
  line-height:1.4;
}
body.site-nexcaptcha .index_banner .gglb .gg_txt{
  padding:1rem 1.15rem 1.1rem;
  background:none;
  color:var(--nx-ink);
}
body.site-nexcaptcha .index_banner .gglb .gg_txt h3{
  margin-bottom:.4rem;
  color:var(--nx-ink);
  font-size:.9375rem;
  font-weight:500;
  line-height:1.4;
}
body.site-nexcaptcha .index_banner .gglb .gg_txt p{
  display:flex;
  align-items:center;
  gap:.4rem;
  color:var(--nx-muted);
  font-family:var(--nx-font-mono);
  font-size:.75rem;
  font-variant-numeric:tabular-nums;
  line-height:1.4;
}
body.site-nexcaptcha .index_banner .gglb .gg_txt p i{margin:0;color:var(--nx-faint);}
/* 该分类下没有文章时，slide.php 输出的是一个只有文字的 div，不是链接 */
body.site-nexcaptcha .index_banner div.zt_list,
body.site-nexcaptcha .index_banner div.gglb{
  display:grid;
  place-items:center;
  padding:1rem;
  color:var(--nx-faint);
  font-size:.8125rem;
  text-align:center;
}
body.site-nexcaptcha .index_banner div.zt_list::before,
body.site-nexcaptcha .index_banner div.gglb::before{content:none;}
/* 后台没设置 midCenter / midRight（主题默认）时，slide.php 仍输出 col-lg-7 + 空的 col-lg-2，
   轮播右边留下 5/12 的空洞：这种情况下轮播占满整行、高度收一点。配了专题面板时布局不变。 */
@media (min-width:992px){
  body.site-nexcaptcha .index_banner .row:not(:has(.index_banner_center,.gglb)) > .col-lg-7{width:100%;}
  body.site-nexcaptcha .index_banner .row:not(:has(.index_banner_center,.gglb)) > .col-lg-2{display:none;}
  body.site-nexcaptcha .index_banner .row:not(:has(.index_banner_center,.gglb)) #banner .post-images{height:clamp(260px,24vw,340px);}
}
/* 指示器：中性的点，当前页是一段白色短条（不是翡翠绿：轮到哪一张不是“通过”） */
body.site-nexcaptcha #banner .carousel-indicators{right:1rem;bottom:.75rem;left:auto;margin:0;z-index:10;}
body.site-nexcaptcha #banner .carousel-indicators button{width:24px;height:44px;margin:0 1px;opacity:1;}
body.site-nexcaptcha #banner .carousel-indicators button::before{
  width:6px;
  height:6px;
  border-radius:var(--nx-radius-pill);
  background-color:rgb(var(--nx-ink-rgb) / .32);
  transition:background-color .16s var(--nxc-ease);
}
body.site-nexcaptcha #banner .carousel-indicators button:hover::before{background-color:rgb(var(--nx-ink-rgb) / .6);}
body.site-nexcaptcha #banner .carousel-indicators button.active::before{width:18px;background-color:var(--nx-ink);}
/* 左右按钮：style.css 只在悬停时显示；键盘聚焦到轮播里时也显示出来 */
body.site-nexcaptcha #banner .carousel-control-prev,
body.site-nexcaptcha #banner .carousel-control-next{width:4rem;z-index:10;transition:opacity .16s var(--nxc-ease);}
body.site-nexcaptcha #banner:focus-within .carousel-control-prev,
body.site-nexcaptcha #banner:focus-within .carousel-control-next{opacity:1;}
body.site-nexcaptcha #banner .carousel-control-prev i,
body.site-nexcaptcha #banner .carousel-control-next i{
  display:inline-grid;
  place-items:center;
  width:2.5rem;
  height:2.5rem;
  border:1px solid var(--nx-line-strong);
  border-radius:50%;
  background:rgb(var(--nx-bg-rgb) / .62);
  color:var(--nx-ink);
  font-size:.875rem;
  line-height:1;
  -webkit-backdrop-filter:blur(8px);
  backdrop-filter:blur(8px);
  transition:background-color .16s var(--nxc-ease),border-color .16s var(--nxc-ease);
}
body.site-nexcaptcha #banner .carousel-control-prev:hover i,
body.site-nexcaptcha #banner .carousel-control-next:hover i,
body.site-nexcaptcha #banner .carousel-control-prev i:hover,
body.site-nexcaptcha #banner .carousel-control-next i:hover{
  border-color:var(--nx-line-strong);
  background:var(--nx-surface-3);
  color:var(--nx-ink);
}

/* ---------- 3. 文章列表卡片（partials/post-loop.php；加载更多追加的是同一份标记） ---------- */
body.site-nexcaptcha .post_def,
body.site-nexcaptcha .post_gallery{
  position:relative;
  margin-bottom:.75rem;
  padding:1.125rem;
  background:var(--nx-surface);
  border:1px solid var(--nx-line);
  border-radius:var(--nx-radius-card);
  box-shadow:none;
  transition:background-color .16s var(--nxc-ease),border-color .16s var(--nxc-ease);
}
/* 悬停 = 升一级明度 + 更亮的细线；skin.css 这里原本是一个大投影，去掉。
   键盘在卡片里移动焦点时给同样的反馈。 */
body.site-nexcaptcha .post_def:not(.post_empty):focus-within,
body.site-nexcaptcha .post_gallery:focus-within{
  background:var(--nx-surface-2);
  border-color:var(--nx-line-strong);
}
@media (hover:hover){
  body.site-nexcaptcha .post_def:not(.post_empty):hover,
  body.site-nexcaptcha .post_gallery:hover{
    background:var(--nx-surface-2);
    border-color:var(--nx-line-strong);
    box-shadow:none;
  }
}
body.site-nexcaptcha .post_def:hover,
body.site-nexcaptcha .post_gallery:hover{box-shadow:none;}
body.site-nexcaptcha .post_def .post_def_left{
  position:relative;
  display:block;
  overflow:hidden;
  border-radius:var(--nx-radius-input);
  background:var(--nx-surface-2);
}
/* 缩略图的 1px 细边画在伪元素上，不占尺寸 */
body.site-nexcaptcha .post_def .post_def_left::after{
  content:"";
  position:absolute;
  inset:0;
  border:1px solid var(--nx-line);
  border-radius:inherit;
  pointer-events:none;
}
body.site-nexcaptcha .post_def .post_def_left img,
body.site-nexcaptcha .post_def img{
  display:block;
  width:100%;
  height:auto;
  aspect-ratio:10 / 7;
  object-fit:cover;
  border-radius:0;
  transition:none;
}
body.site-nexcaptcha .post_def:hover img{transform:none;}
body.site-nexcaptcha .post_def .post_def_right .post_def_title h2{
  margin:0 0 .5rem;
  font-size:1.125rem;
  font-weight:600;
  line-height:1.35;
  text-wrap:pretty;
}
body.site-nexcaptcha:not(:lang(zh)) .post_def .post_def_right .post_def_title h2{letter-spacing:-.015em;}
body.site-nexcaptcha:lang(zh) .post_def .post_def_right .post_def_title h2{font-size:1.0625rem;line-height:1.5;letter-spacing:0;}
/* 标题：墨色，悬停只提到纯白，不用翡翠绿 */
body.site-nexcaptcha .post_def .post_def_right .post_def_title h2 a{color:var(--nx-ink);transition:color .16s var(--nxc-ease);}
body.site-nexcaptcha .post_def .post_def_right .post_def_title h2 a:hover{color:var(--nx-link-hover);}
body.site-nexcaptcha .post_def .post_def_right .post_def_title p{
  margin:0 0 .875rem;
  color:var(--nx-muted);
  font-size:.875rem;
  font-weight:400;
  line-height:1.7;
}
body.site-nexcaptcha:lang(zh) .post_def .post_def_right .post_def_title p{font-size:.90625rem;line-height:1.85;}
/* 元信息：整行等宽、数字等宽，日期 / 浏览数不会因位数跳动 */
body.site-nexcaptcha .post_info{
  flex-wrap:wrap;
  gap:.5rem 1rem;
  color:var(--nx-faint);
  font-family:var(--nx-font-mono);
  font-size:.75rem;
  font-weight:400;
  font-variant-numeric:tabular-nums;
  line-height:1.4;
}
body.site-nexcaptcha .post_info .post_info_l{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:.4rem .9rem;
}
body.site-nexcaptcha .post_info .post_info_l span{
  display:inline-flex;
  align-items:center;
  gap:.35rem;
  margin:0;
  color:var(--nx-faint);
}
body.site-nexcaptcha .post_info .post_info_l span i{margin:0;color:var(--nx-faint);font-size:.8125rem;}
body.site-nexcaptcha .post_info .post_info_l .post_cats{gap:.3rem;}
body.site-nexcaptcha .post_info .post_info_l .post_cats > i{display:none;}
/* 分类 = 中性细线胶囊（官网 .chip 的形状，不用颜色区分） */
body.site-nexcaptcha .post_info .post_info_l .post_cats a{
  display:inline-flex;
  align-items:center;
  padding:.2rem .58rem;
  border:1px solid var(--nx-line-strong);
  border-radius:var(--nx-radius-pill);
  background:transparent;
  color:var(--nx-ink-soft);
  font-size:.6875rem;
  letter-spacing:.08em;
  line-height:1.3;
  text-transform:uppercase;
  transition:color .16s var(--nxc-ease),background-color .16s var(--nxc-ease);
}
body.site-nexcaptcha:lang(zh) .post_info .post_info_l .post_cats a{letter-spacing:.04em;}
body.site-nexcaptcha .post_info .post_info_l .post_cats a:hover{background:var(--nx-surface-3);color:var(--nx-ink);}
/* 标签 = 纯文字的 #tag */
body.site-nexcaptcha .post_info .post_info_r{display:flex;flex-wrap:wrap;gap:.25rem .75rem;}
body.site-nexcaptcha .post_info .post_info_r em{
  display:inline-flex;
  align-items:center;
  gap:.1rem;
  margin:0;
  color:var(--nx-faint);
  font-style:normal;
}
body.site-nexcaptcha .post_info .post_info_r em i{color:var(--nx-faint);opacity:.75;}
body.site-nexcaptcha .post_info .post_info_r em a{margin:0;color:var(--nx-muted);transition:color .16s var(--nxc-ease);}
body.site-nexcaptcha .post_info .post_info_r em a:hover{color:var(--nx-ink);}
body.site-nexcaptcha .post_def.post_empty{
  padding:3rem 1.25rem;
  color:var(--nx-muted);
  font-size:.9375rem;
  text-align:center;
}
/* 缩略图加载失败回退的 nopic.svg 是浅灰底：在深色卡片里反相成暗色占位 */
body.site-nexcaptcha img[src$="nopic.svg"]{filter:invert(1) brightness(.34);}
/* 旧版图文卡片（post_gallery / post_images），post-loop.php 目前不输出，保留同一套外观 */
body.site-nexcaptcha .post_gallery .post_gallery_head h2{font-size:1.125rem;font-weight:600;line-height:1.35;}
body.site-nexcaptcha .post_gallery .post_gallery_head h2 a,
body.site-nexcaptcha .post_images .post_images_foot h2 a{color:var(--nx-ink);}
body.site-nexcaptcha .post_gallery .post_gallery_head img{border-radius:var(--nx-radius-input);}
body.site-nexcaptcha .post_images{border:1px solid var(--nx-line);border-radius:var(--nx-radius-card);}
body.site-nexcaptcha .post_images::before{opacity:1;background:var(--nxc-scrim);}
body.site-nexcaptcha .post_images .post_images_foot p{color:var(--nx-ink-soft);}

/* ---------- 4. 分类 / 标签 / 搜索 / 作者页头（archive.php 的 .cat_info_top） ----------
 * 官网 PageHeader 的缩小版：一块面板、右上角一片渐隐网格、等宽微标签 + 标题 + 描述。
 * 微标签保持中性：这一屏的翡翠绿名额已经给了页头 CTA 和侧栏组件的状态指示。 */
body.site-nexcaptcha .cat_info_top{
  position:relative;
  isolation:isolate;
  overflow:hidden;
  margin-bottom:.75rem;
  padding:1.6rem 1.75rem 1.6rem;
  background:var(--nx-surface);
  border:1px solid var(--nx-line);
  border-radius:var(--nx-radius-panel);
  box-shadow:none;
}
body.site-nexcaptcha .cat_info_top::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:-1;
  pointer-events:none;
  opacity:.6;
  background-image:var(--nxc-grid);
  background-size:64px 64px;
  background-position:-1px -1px;
  -webkit-mask-image:radial-gradient(ellipse 70% 130% at 88% 0,#000 18%,transparent 72%);
  mask-image:radial-gradient(ellipse 70% 130% at 88% 0,#000 18%,transparent 72%);
}
/* 微标签是装饰（替代文本为空，读屏不念），放在容器上而不是 h1 里，免得混进标题的可访问名称 */
body.site-nexcaptcha .cat_info_top::before{
  content:"NexCaptcha Blog";
  content:"NexCaptcha Blog" / "";
  display:block;
  margin:0 0 .9rem;
  padding-left:.95rem;
  background:radial-gradient(circle 3px at 3px 50%,var(--nx-muted) 0 2.5px,transparent 3px) no-repeat;
  color:var(--nx-faint);
  font-family:var(--nx-font-mono);
  font-size:.6875rem;
  letter-spacing:.2em;
  line-height:1;
  text-transform:uppercase;
}
body.site-nexcaptcha:lang(zh) .cat_info_top::before{
  content:"NexCaptcha 博客";
  content:"NexCaptcha 博客" / "";
  letter-spacing:.12em;
}
body.site-nexcaptcha .cat_info_top h1,
body.site-nexcaptcha .cat_info_top h2{
  margin:0;
  padding:0;
  color:var(--nx-ink);
  font-size:clamp(1.5rem,1.2rem + 1vw,2rem);
  font-weight:600;
  line-height:1.2;
  text-wrap:balance;
}
body.site-nexcaptcha:not(:lang(zh)) .cat_info_top h1,
body.site-nexcaptcha:not(:lang(zh)) .cat_info_top h2{letter-spacing:-.028em;}
body.site-nexcaptcha:lang(zh) .cat_info_top h1,
body.site-nexcaptcha:lang(zh) .cat_info_top h2{font-size:clamp(1.375rem,1.15rem + .8vw,1.75rem);line-height:1.35;letter-spacing:0;}
body.site-nexcaptcha .cat_info_top h1::before,
body.site-nexcaptcha .cat_info_top h2::before{content:none;}
body.site-nexcaptcha .cat_info_top p{
  max-width:62ch;
  margin:.75rem 0 0;
  color:var(--nx-muted);
  font-size:.9375rem;
  font-weight:400;
  line-height:1.7;
}
body.site-nexcaptcha:lang(zh) .cat_info_top p{line-height:1.85;}
body.site-nexcaptcha .cat_info_top p:empty{display:none;}

/* ---------- 5. 文章页 / 独立页：标题面板 + 正文面板 ----------
 * 两块拼成一个 20px 圆角的大面板；标题区顶部一片渐隐网格（官网 PageHeader 的 bg-grid + mask-radial-fade）。 */
body.site-nexcaptcha .post_container_title{
  position:relative;
  isolation:isolate;
  overflow:hidden;
  padding:2.25rem 2.5rem 1.5rem;
  background:var(--nx-surface);
  border:1px solid var(--nx-line);
  border-bottom:1px solid var(--nx-line);
  border-radius:var(--nx-radius-panel) var(--nx-radius-panel) 0 0;
}
body.site-nexcaptcha .post_container_title::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:-1;
  pointer-events:none;
  opacity:.55;
  background-image:var(--nxc-grid);
  background-size:64px 64px;
  background-position:-1px -1px;
  -webkit-mask-image:radial-gradient(ellipse 72% 110% at 50% 0,#000 16%,transparent 74%);
  mask-image:radial-gradient(ellipse 72% 110% at 50% 0,#000 16%,transparent 74%);
}
body.site-nexcaptcha .post_container_title h1{
  margin:0;
  color:var(--nx-ink);
  font-size:clamp(1.625rem,1.2rem + 1.4vw,2.375rem);
  font-weight:600;
  line-height:1.15;
  text-wrap:balance;
}
body.site-nexcaptcha:not(:lang(zh)) .post_container_title h1{letter-spacing:-.03em;}
body.site-nexcaptcha:lang(zh) .post_container_title h1{
  font-size:clamp(1.5rem,1.15rem + 1.2vw,2.125rem);
  line-height:1.35;
  letter-spacing:0;
}
/* 中文标题只在标点 / 空格处换行；整段没有断点时 overflow-wrap:anywhere 兜底，不会撑破容器 */
@media (min-width:768px){
  body.site-nexcaptcha:lang(zh) .post_container_title h1,
  body.site-nexcaptcha:lang(zh) .cat_info_top h1{word-break:keep-all;overflow-wrap:anywhere;}
}
/* 日期 / 浏览 / 评论数：等宽数字 */
body.site-nexcaptcha .post_container_title p{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:.5rem 1.25rem;
  margin:1.1rem 0 0;
  color:var(--nx-faint);
  font-family:var(--nx-font-mono);
  font-size:.75rem;
  font-variant-numeric:tabular-nums;
  line-height:1.4;
}
body.site-nexcaptcha .post_container_title p span{
  display:inline-flex;
  align-items:center;
  gap:.4rem;
  margin:0;
  color:var(--nx-faint);
  font-weight:400;
}
body.site-nexcaptcha .post_container_title p i{margin:0;color:var(--nx-faint);font-size:.8125rem;}
body.site-nexcaptcha .post_container_title p a{
  display:inline-flex;
  align-items:center;
  gap:.4rem;
  color:var(--nx-muted);
  transition:color .16s var(--nxc-ease);
}
body.site-nexcaptcha .post_container_title p a span{color:inherit;}
body.site-nexcaptcha .post_container_title p a:hover{color:var(--nx-ink);}
/* 下边距放在正文面板上：768 以下 style.css 隐藏 .post_author，后面的上下篇仍隔开 */
body.site-nexcaptcha .post_container{
  margin-bottom:var(--nxc-gap);
  padding:2rem 2.5rem 2.25rem;
  background:var(--nx-surface);
  border:1px solid var(--nx-line);
  border-top:0;
  border-radius:0 0 var(--nx-radius-panel) var(--nx-radius-panel);
  box-shadow:none;
}

/* ---------- 6. 正文排版（article.wznrys，也用于独立页 / 友链 / 标签页） ---------- */
body.site-nexcaptcha .wznrys{
  color:var(--nx-ink-soft);
  font-size:1rem;
  line-height:1.8;
  text-align:left;
  overflow-wrap:break-word;
}
/* 中文正文：17px / 1.9、零字距 */
body.site-nexcaptcha:lang(zh) .wznrys{font-size:1.0625rem;line-height:1.9;letter-spacing:0;}
body.site-nexcaptcha .wznrys p{margin:0 0 1.25em;padding:0;line-height:inherit;text-wrap:pretty;}
body.site-nexcaptcha .wznrys > :last-child{margin-bottom:0;}
body.site-nexcaptcha .wznrys h1,
body.site-nexcaptcha .wznrys h2,
body.site-nexcaptcha .wznrys h3,
body.site-nexcaptcha .wznrys h4,
body.site-nexcaptcha .wznrys h5,
body.site-nexcaptcha .wznrys h6{
  margin:2rem 0 .75rem;
  padding:0;
  border:0;
  color:var(--nx-ink);
  font-weight:600;
  line-height:1.3;
  letter-spacing:0;
  text-align:left;
  text-wrap:balance;
  scroll-margin-top:var(--nxc-scroll-offset);
}
body.site-nexcaptcha:lang(zh) .wznrys :is(h1,h2,h3,h4,h5){line-height:1.45;}
body.site-nexcaptcha .wznrys > :is(h1,h2,h3,h4,h5,h6):first-child{margin-top:0;}
body.site-nexcaptcha .wznrys h1{font-size:1.75rem;}
/* h2：上方一根向右淡出的细线（不是下划线），给长文分节 */
body.site-nexcaptcha .wznrys h2{
  margin-top:2.75rem;
  padding-top:1.75rem;
  border:0;
  background:linear-gradient(to right,var(--nx-line-strong),var(--nx-line) 45%,transparent) top left / 100% 1px no-repeat;
  font-size:1.5rem;
}
body.site-nexcaptcha .wznrys > h2:first-child{padding-top:0;background:none;}
body.site-nexcaptcha .wznrys h3{padding-left:0;font-size:1.25rem;}
body.site-nexcaptcha .wznrys h4{padding-left:0;color:var(--nx-ink);font-size:1.0625rem;}
/* style.css / skin.css 给 h3 / h4 加的左侧色条：去掉 */
body.site-nexcaptcha .wznrys h3::before,
body.site-nexcaptcha .wznrys h4::before{content:none;}
body.site-nexcaptcha .wznrys h5{color:var(--nx-ink-soft);font-size:1rem;}
/* h6 = 等宽微标签 */
body.site-nexcaptcha .wznrys h6{
  margin-top:1.75rem;
  color:var(--nx-faint);
  font-family:var(--nx-font-mono);
  font-size:.75rem;
  font-weight:400;
  letter-spacing:.16em;
  text-transform:uppercase;
}
body.site-nexcaptcha:lang(zh) .wznrys h6{letter-spacing:.12em;}
body.site-nexcaptcha:not(:lang(zh)) .wznrys h1{letter-spacing:-.025em;}
body.site-nexcaptcha:not(:lang(zh)) .wznrys h2{letter-spacing:-.022em;}
body.site-nexcaptcha:not(:lang(zh)) .wznrys h3{letter-spacing:-.015em;}
body.site-nexcaptcha:not(:lang(zh)) .wznrys h4{letter-spacing:-.01em;}
body.site-nexcaptcha .wznrys :is(h1,h2,h3,h4,h5,h6) a{color:inherit;border:0;text-decoration:none;}
/* 正文链接：白字 + 天蓝色细下划线（skin.css 用的是 border-bottom，换成 text-decoration，
   换行时每一段都带下划线，也不再有 style.css 那 4px 的左右外边距） */
body.site-nexcaptcha .wznrys :is(p,ul,ol,td,th,blockquote,figcaption,dd,dt) a{
  margin:0;
  padding:0;
  border-bottom:0;
  color:var(--nx-ink);
  text-decoration:underline;
  text-decoration-color:var(--nx-link-underline);
  text-decoration-thickness:1px;
  text-underline-offset:.24em;
  transition:color .16s var(--nxc-ease),text-decoration-color .16s var(--nxc-ease);
}
body.site-nexcaptcha .wznrys :is(p,ul,ol,td,th,blockquote,figcaption,dd,dt) a:hover{
  color:var(--nx-link-hover);
  text-decoration-color:var(--nx-azure-soft);
}
body.site-nexcaptcha .wznrys a:has(> img){text-decoration:none;}
body.site-nexcaptcha .wznrys strong,
body.site-nexcaptcha .wznrys b{color:var(--nx-ink);font-weight:600;}
body.site-nexcaptcha .wznrys mark{
  padding:0 .15em;
  background:rgb(var(--nx-azure-rgb) / .2);
  color:var(--nx-ink);
  -webkit-box-decoration-break:clone;
  box-decoration-break:clone;
}
body.site-nexcaptcha .wznrys kbd{
  padding:.1em .45em;
  border:1px solid var(--nx-line-strong);
  border-bottom-width:2px;
  border-radius:6px;
  background:var(--nx-surface-2);
  color:var(--nx-ink);
  font-family:var(--nx-font-mono);
  font-size:.8125em;
}
/* 列表：style.css 把 ol 也设成了圆点，这里恢复成数字；序号等宽 */
body.site-nexcaptcha .wznrys ul,
body.site-nexcaptcha .wznrys ol{margin:0 0 1.25em;padding-left:1.4em;}
body.site-nexcaptcha .wznrys ul{list-style:disc;}
body.site-nexcaptcha .wznrys ol{list-style:decimal;}
body.site-nexcaptcha .wznrys ul ul{list-style:circle;}
body.site-nexcaptcha .wznrys li{margin:0 0 .5em;padding-left:.25em;line-height:inherit;}
body.site-nexcaptcha .wznrys li > :is(ul,ol){margin:.5em 0 0;}
body.site-nexcaptcha .wznrys li > p{margin-bottom:.5em;}
body.site-nexcaptcha .wznrys li::marker{color:var(--nx-faint);}
body.site-nexcaptcha .wznrys ol > li::marker{font-family:var(--nx-font-mono);font-size:.875em;font-variant-numeric:tabular-nums;}
body.site-nexcaptcha .wznrys dt{margin-top:.75em;color:var(--nx-ink);font-weight:600;}
body.site-nexcaptcha .wznrys dd{margin:0 0 .75em 1.25em;color:var(--nx-ink-soft);}
/* 引用：一根安静的细线，不加底色 */
body.site-nexcaptcha .wznrys blockquote,
body.site-nexcaptcha .comment-content blockquote{
  margin:1.75em 0;
  padding:.125em 0 .125em 1.25em;
  border:0;
  border-left:1px solid var(--nx-line-strong);
  border-radius:0;
  background:none;
  color:var(--nx-muted);
}
body.site-nexcaptcha .wznrys blockquote p,
body.site-nexcaptcha .comment-content blockquote p{
  margin:0 0 .75em;
  padding:0;
  color:inherit;
  font-size:inherit;
  font-style:normal;
  font-weight:400;
}
body.site-nexcaptcha .wznrys blockquote > :last-child,
body.site-nexcaptcha .comment-content blockquote > :last-child{margin-bottom:0;}
body.site-nexcaptcha .wznrys blockquote cite,
body.site-nexcaptcha .comment-content blockquote cite{
  display:block;
  margin-top:.6em;
  padding:0;
  color:var(--nx-faint);
  font-family:var(--nx-font-mono);
  font-size:.75rem;
  font-style:normal;
  letter-spacing:.04em;
  line-height:1.5;
}
/* 分隔线：官网 .rule-fade，两端淡出；去掉 style.css 的菱形 */
body.site-nexcaptcha .wznrys hr{
  height:1px;
  margin:2.5em 0;
  padding:0;
  overflow:visible;
  border:0;
  opacity:1;
  background:var(--nxc-rule);
}
body.site-nexcaptcha .wznrys hr::before,
body.site-nexcaptcha .wznrys hr::after{content:none;}
/* 图片：14px 圆角 + 1px 细边（outline 画在图片内侧，不改变尺寸） */
body.site-nexcaptcha .wznrys img:not(.emoji){
  max-width:100%;
  height:auto;
  border-radius:var(--nx-radius-card);
  outline:1px solid var(--nx-line);
  outline-offset:-1px;
}
body.site-nexcaptcha .wznrys :is(video,iframe){
  max-width:100%;
  border:1px solid var(--nx-line);
  border-radius:var(--nx-radius-card);
}
body.site-nexcaptcha .wznrys figure{margin:1.75em 0;}
body.site-nexcaptcha .wznrys .post-image{padding-bottom:0;margin-bottom:1.25em;}
body.site-nexcaptcha .wznrys figcaption,
body.site-nexcaptcha .wznrys .wp-caption p.wp-caption-text{
  margin:.75rem 0 0 !important;
  padding:0;
  color:var(--nx-faint);
  font-family:var(--nx-font-mono);
  font-size:.75rem;
  font-weight:400;
  letter-spacing:.02em;
  line-height:1.5;
  text-align:left;
}
body.site-nexcaptcha .wznrys details{
  margin:1.25em 0;
  padding:.8rem 1.1rem;
  border:1px solid var(--nx-line);
  border-radius:var(--nx-radius-card);
  background:var(--nx-bg-soft);
  transition:border-color .16s var(--nxc-ease);
}
body.site-nexcaptcha .wznrys details[open]{border-color:var(--nx-line-strong);}
body.site-nexcaptcha .wznrys summary{color:var(--nx-ink);font-weight:500;cursor:pointer;}
body.site-nexcaptcha .wznrys details[open] > summary{margin-bottom:.6em;}
body.site-nexcaptcha .wznrys details > :last-child{margin-bottom:0;}
/* 旧版 WordPress 区块里的搜索框 */
body.site-nexcaptcha .wznrys .wp-block-search .wp-block-search__inside-wrapper{padding:.5rem;background:var(--nx-bg-soft);border:1px solid var(--nx-line);border-radius:var(--nx-radius-card);}
body.site-nexcaptcha .wznrys .wp-block-search .wp-block-search__inside-wrapper .wp-block-search__input{background:transparent;color:var(--nx-ink);}
body.site-nexcaptcha .wznrys .wp-block-search .wp-block-search__inside-wrapper .wp-block-search__button{border-radius:var(--nx-radius-pill);background:var(--nx-ink);color:var(--nx-bg);}

/* ---------- 7. 代码 ---------- */
/* 行内代码：surface-2 小底块 + 细线，墨色字（不用青 / 绿，免得和链接、状态色混淆） */
body.site-nexcaptcha .wznrys :not(pre) > code,
body.site-nexcaptcha .comment-content :not(pre) > code{
  padding:.12em .4em;
  border:1px solid var(--nx-line);
  border-radius:6px;
  background:var(--nx-surface-2);
  color:var(--nx-ink);
  font-family:var(--nx-font-mono);
  font-size:.875em;
  overflow-wrap:break-word;
  -webkit-box-decoration-break:clone;
  box-decoration-break:clone;
}
/* 代码块：官网 CodeTabs 的样子——上方一条文件名栏（一个中性小圆点 + 语言名 + 复制按钮），
   代码区比文章面板低一级明度。main.js 给 pre 注入 .once-copy-btn、给 code 加 data-lang。 */
body.site-nexcaptcha .wznrys pre,
body.site-nexcaptcha .comment-content pre{
  position:relative;
  margin:1.75em 0;
  padding:2.25rem 0 0;
  overflow:hidden;
  background:var(--nx-bg-soft);
  border:1px solid var(--nx-line);
  border-radius:var(--nx-radius-input);
  box-shadow:none;
  color:var(--nx-ink-soft);
}
body.site-nexcaptcha .wznrys pre::before,
body.site-nexcaptcha .comment-content pre::before{
  height:2.25rem;
  background:var(--nx-surface);
  border-bottom:1px solid var(--nx-line);
}
/* 红黄绿三个窗口点 → 一个中性小圆点 */
body.site-nexcaptcha .wznrys pre::after,
body.site-nexcaptcha .comment-content pre::after{
  top:calc(1.125rem - 3.5px);
  left:1rem;
  width:7px;
  height:7px;
  border-radius:50%;
  background:rgb(var(--nx-ink-rgb) / .14);
  box-shadow:none;
}
body.site-nexcaptcha .wznrys pre code,
body.site-nexcaptcha .comment-content pre code{
  display:block;
  padding:1rem 1.25rem 1.1rem;
  overflow-x:auto;
  border:0;
  border-radius:0;
  background:none;
  color:var(--nx-ink-soft);
  font-family:var(--nx-font-mono);
  font-size:.8125rem;
  line-height:1.75;
  letter-spacing:0;
  -moz-tab-size:2;
  tab-size:2;
  /* style.css 让代码自动折行，窄屏上 JSON / 命令会断在结构中间、缩进错乱；保持原样，放不下时横向滚动 */
  white-space:pre;
  overflow-wrap:normal;
  word-break:normal;
  scrollbar-width:thin;
  scrollbar-color:var(--nx-surface-3) transparent;
}
/* 语言名：从 style.css 的居中挪到小圆点右边，等宽大写微标签 */
body.site-nexcaptcha .wznrys pre code[data-lang]::before,
body.site-nexcaptcha .comment-content pre code[data-lang]::before{
  top:0;
  left:1.875rem;
  max-width:calc(100% - 8rem);
  transform:none;
  color:var(--nx-faint);
  font-family:var(--nx-font-mono);
  font-size:.6875rem;
  font-weight:400;
  letter-spacing:.14em;
  line-height:2.25rem;
}
/* 复制按钮：幽灵胶囊，悬停提亮 */
body.site-nexcaptcha .wznrys pre .once-copy-btn,
body.site-nexcaptcha .comment-content pre .once-copy-btn{
  top:.375rem;
  right:.5rem;
  display:inline-flex;
  align-items:center;
  height:1.5rem;
  padding:0 .65rem;
  border:1px solid var(--nx-line);
  border-radius:var(--nx-radius-pill);
  background:transparent;
  -webkit-backdrop-filter:none;
  backdrop-filter:none;
  color:var(--nx-faint);
  font-family:var(--nx-font-mono);
  font-size:.6875rem;
  font-weight:400;
  letter-spacing:.06em;
  line-height:1;
  transition:color .16s var(--nxc-ease),border-color .16s var(--nxc-ease),background-color .16s var(--nxc-ease);
}
body.site-nexcaptcha .wznrys pre .once-copy-btn:hover,
body.site-nexcaptcha .comment-content pre .once-copy-btn:hover{
  border-color:var(--nx-line-strong);
  background:var(--nx-surface-2);
  color:var(--nx-ink-soft);
}
body.site-nexcaptcha .wznrys pre .once-copy-btn:active,
body.site-nexcaptcha .comment-content pre .once-copy-btn:active{transform:none;}
/* “已复制”：main.js 只把按钮文字换成“已复制”1.2 秒、不加类名。点击后按钮获得焦点
   （鼠标点击不触发 :focus-visible），用一段 1.2 秒的动画显示翡翠绿，结束后自动回到中性色，
   与文字复原同步。这是本文件唯一的翡翠绿：它确实表示“复制成功”。 */
@keyframes nxc-copied{
  0%,100%{
    border-color:var(--nx-line-accent);
    background-color:rgb(var(--nx-accent-rgb) / .08);
    color:var(--nx-accent);
  }
}
body.site-nexcaptcha .wznrys pre .once-copy-btn:focus:not(:focus-visible),
body.site-nexcaptcha .comment-content pre .once-copy-btn:focus:not(:focus-visible){animation:nxc-copied 1.2s linear;}
/* highlight.js 行号表 */
body.site-nexcaptcha .wznrys pre code table tr td.hljs-ln-numbers .hljs-ln-n,
body.site-nexcaptcha .comment-content pre code table tr td.hljs-ln-numbers .hljs-ln-n{color:var(--nx-faint);font-variant-numeric:tabular-nums;}
body.site-nexcaptcha .wznrys pre code table tr td.hljs-ln-code,
body.site-nexcaptcha .comment-content pre code table tr td.hljs-ln-code{border-left:1px solid var(--nx-line);}

/* ---------- 8. 表格（main.js 会给正文 / 评论里的表格加 Bootstrap 的 .table） ----------
 * 官网 CaptchaTypeTable：细线框、等宽大写表头压在一根更亮的细线上、行悬停升一级明度、不做斑马纹。
 * 每条都同时写 `table:not(pre table)` 和 `table.table > :not(caption) > * > *` 两种写法：
 * 后者是为了压过 style.css 的 `.dark .wznrys table.table > :not(caption) > * > *`。 */
body.site-nexcaptcha .wznrys table:not(pre table),
body.site-nexcaptcha .comment-content table:not(pre table){
  width:100%;
  margin:1.75em 0;
  border:1px solid var(--nx-line);
  border-collapse:separate;
  border-spacing:0;
  border-radius:var(--nx-radius-card);
  overflow:hidden;
  background:transparent;
  color:var(--nx-ink-soft);
  font-size:.875rem;
  font-variant-numeric:tabular-nums;
  line-height:1.6;
}
body.site-nexcaptcha .wznrys table.table,
body.site-nexcaptcha .comment-content table.table{
  --bs-table-bg:transparent;
  --bs-table-color:var(--nx-ink-soft);
  --bs-table-border-color:var(--nx-line);
  --bs-table-accent-bg:transparent;
  --bs-table-striped-bg:transparent;
  --bs-table-hover-bg:var(--nx-surface-2);
  --bs-table-hover-color:var(--nx-ink);
  color:var(--nx-ink-soft);
}
body.site-nexcaptcha .wznrys table:not(pre table) :is(th,td),
body.site-nexcaptcha .comment-content table:not(pre table) :is(th,td),
body.site-nexcaptcha .wznrys table.table > :not(caption) > * > *,
body.site-nexcaptcha .comment-content table.table > :not(caption) > * > *{
  padding:.75rem 1rem;
  border:0;
  border-bottom:1px solid var(--nx-line);
  background-color:transparent;
  box-shadow:none;
  color:inherit;
  text-align:left;
  vertical-align:top;
}
body.site-nexcaptcha .wznrys table:not(pre table) tbody tr:last-child > *,
body.site-nexcaptcha .comment-content table:not(pre table) tbody tr:last-child > *,
body.site-nexcaptcha .wznrys table.table > tbody > tr:last-child > *,
body.site-nexcaptcha .comment-content table.table > tbody > tr:last-child > *{border-bottom:0;}
body.site-nexcaptcha .wznrys table:not(pre table) thead th,
body.site-nexcaptcha .comment-content table:not(pre table) thead th,
body.site-nexcaptcha .wznrys table.table > thead > tr > th,
body.site-nexcaptcha .comment-content table.table > thead > tr > th{
  padding-top:.85rem;
  padding-bottom:.7rem;
  border-bottom:1px solid var(--nx-line-strong);
  background:none;
  color:var(--nx-faint);
  font-family:var(--nx-font-mono);
  font-size:.6875rem;
  font-weight:400;
  letter-spacing:.14em;
  line-height:1.4;
  text-transform:uppercase;
}
body.site-nexcaptcha:lang(zh) .wznrys table:not(pre table) thead th,
body.site-nexcaptcha:lang(zh) .wznrys table.table > thead > tr > th{font-size:.75rem;letter-spacing:.1em;}
body.site-nexcaptcha .wznrys table:not(pre table) tbody th{color:var(--nx-ink);font-weight:500;}
/* :nth-child(n) 只为把特异性抬过 style.css 的 `.dark .wznrys table tbody tr:nth-child(odd)` 斑马纹 */
body.site-nexcaptcha .wznrys table:not(pre table) tbody tr:nth-child(n),
body.site-nexcaptcha .comment-content table:not(pre table) tbody tr:nth-child(n){background:none;transition:background-color .16s var(--nxc-ease);}
body.site-nexcaptcha .wznrys table:not(pre table) tbody tr:nth-child(n):hover,
body.site-nexcaptcha .comment-content table:not(pre table) tbody tr:nth-child(n):hover{background:var(--nx-surface-2);}
body.site-nexcaptcha .wznrys table:not(pre table) tbody tr:nth-child(n):hover > *,
body.site-nexcaptcha .wznrys table.table > tbody > tr:hover > *{color:var(--nx-ink);}
body.site-nexcaptcha .wznrys table:not(pre table) caption{
  padding:.6rem 1rem;
  color:var(--nx-faint);
  font-family:var(--nx-font-mono);
  font-size:.75rem;
  caption-side:bottom;
}
/* 表格套表格（旧文章里的排版表格）：只换线色 */
body.site-nexcaptcha .wznrys table table,
body.site-nexcaptcha .wznrys table table tr,
body.site-nexcaptcha .wznrys table table tr td,
body.site-nexcaptcha .wznrys table table tr th{border-color:var(--nx-line);}
body.site-nexcaptcha .wznrys table table{background:transparent;color:inherit;}

/* ---------- 9. 文末：最后更新 / 作者 / 标签 / 点赞 ---------- */
/* “最后更新于 …”：等宽数字，上方一根两端淡出的细线 */
body.site-nexcaptcha .post_container > strong{
  display:flex;
  align-items:center;
  gap:.5rem;
  margin-top:2rem;
  padding-top:1.1rem;
  background:var(--nxc-rule) top left / 100% 1px no-repeat;
  color:var(--nx-faint);
  font-family:var(--nx-font-mono);
  font-size:.75rem;
  font-weight:400;
  font-variant-numeric:tabular-nums;
  letter-spacing:.02em;
  line-height:1.4;
}
body.site-nexcaptcha .post_container > strong::before{
  content:"\F292";
  font-family:"bootstrap-icons";
  font-size:.8125rem;
  line-height:1;
}
/* 作者条（style.css 在 768 以下整条隐藏，保持不变） */
body.site-nexcaptcha .post_author{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  gap:.875rem 1.25rem;
  margin:0 0 var(--nxc-gap);
  padding:1rem 1.25rem;
  background:var(--nx-surface);
  border:1px solid var(--nx-line);
  border-radius:var(--nx-radius-card);
  box-shadow:none;
}
body.site-nexcaptcha .post_author_l{gap:.65rem;color:var(--nx-ink);font-size:.875rem;font-weight:500;}
body.site-nexcaptcha .post_author_l a{color:var(--nx-ink);}
body.site-nexcaptcha .post_author_l a:hover{color:var(--nx-link-hover);}
body.site-nexcaptcha .post_author_l img{
  width:32px;
  height:32px;
  margin:0;
  border-radius:50%;
  outline:1px solid var(--nx-line-strong);
  outline-offset:2px;
}
body.site-nexcaptcha .post_author_r{flex-wrap:wrap;gap:.75rem;}
body.site-nexcaptcha .post_author_r .post_author_tag{display:flex;flex-wrap:wrap;gap:.375rem;}
/* 标签 / 分类：中性细线胶囊，悬停只提亮，不填色 */
body.site-nexcaptcha .post_author_r .post_author_tag em{
  display:inline-flex;
  align-items:center;
  gap:.15rem;
  margin:0;
  padding:.25rem .65rem;
  border:1px solid var(--nx-line);
  border-radius:var(--nx-radius-pill);
  background:transparent;
  color:var(--nx-muted);
  font-family:var(--nx-font-mono);
  font-size:.75rem;
  font-style:normal;
  line-height:1.3;
  transition:color .16s var(--nxc-ease),border-color .16s var(--nxc-ease),background-color .16s var(--nxc-ease);
}
body.site-nexcaptcha .post_author_r .post_author_tag em a{display:inline-flex;align-items:center;gap:.15rem;color:inherit;}
body.site-nexcaptcha .post_author_r .post_author_tag em i{margin:0;color:var(--nx-faint);}
body.site-nexcaptcha .post_author_r .post_author_tag em:hover{
  border-color:var(--nx-line-strong);
  background:var(--nx-surface-2);
  color:var(--nx-ink);
}
body.site-nexcaptcha .post_author_r .post_author_tag em:hover a{color:var(--nx-ink);}
/* 评论数 / 点赞：幽灵胶囊，计数等宽 */
body.site-nexcaptcha .post_author_icon{display:flex;gap:.5rem;margin:0;}
body.site-nexcaptcha .post_author_icon a{
  display:inline-flex;
  align-items:center;
  gap:.45rem;
  min-height:2rem;
  margin:0;
  padding:0 .85rem;
  border:1px solid var(--nx-line-strong);
  border-radius:var(--nx-radius-pill);
  background:transparent;
  color:var(--nx-ink-soft);
  font-family:var(--nx-font-mono);
  font-size:.75rem;
  font-variant-numeric:tabular-nums;
  line-height:1;
  transition:color .16s var(--nxc-ease),border-color .16s var(--nxc-ease),background-color .16s var(--nxc-ease);
}
body.site-nexcaptcha .post_author_icon a i{margin:0;color:var(--nx-faint);transition:color .16s var(--nxc-ease);}
body.site-nexcaptcha .post_author_icon a:hover{background:var(--nx-surface-2);color:var(--nx-ink);}
body.site-nexcaptcha .post_author_icon a:hover i{color:var(--nx-ink-soft);}
body.site-nexcaptcha .post_author_icon a.specsZan small{font-size:inherit;}
/* 已点赞：白底黑字的实心胶囊（Signal 的中性强调，不用翡翠绿） */
body.site-nexcaptcha .post_author_icon a.specsZan.done,
body.site-nexcaptcha .post_author_icon a.specsZan.done:hover{
  border-color:var(--nx-ink);
  background:var(--nx-ink);
  color:var(--nx-bg);
}
body.site-nexcaptcha .post_author_icon a.specsZan.done i{color:var(--nx-bg);}
body.site-nexcaptcha .post_author_icon a.specsZan.loading{opacity:.55;cursor:progress;}

/* ---------- 10. 上一篇 / 下一篇 ---------- */
body.site-nexcaptcha .next_prev_posts{display:flex;gap:.75rem;width:100%;margin:0 0 var(--nxc-gap);}
body.site-nexcaptcha .next_prev_posts .prev_next_box{position:relative;flex:1 1 0;min-width:0;width:auto;float:none;}
body.site-nexcaptcha .next_prev_posts .prev_next_box:not(:has(a)){display:none;}
body.site-nexcaptcha .next_prev_posts .prev_next_box a{
  position:relative;
  isolation:isolate;
  display:block;
  height:100%;
  min-height:6rem;
  padding:1.1rem 1.25rem 1.2rem;
  overflow:hidden;
  border:1px solid var(--nx-line);
  border-radius:var(--nx-radius-card);
  background-color:var(--nx-surface);
  background-position:center;
  background-size:cover;
  color:var(--nx-ink);
  transition:border-color .16s var(--nxc-ease);
}
/* 没有封面时的 nopic.svg 是浅灰底 + “暂无图片”：直接用卡片底色 */
body.site-nexcaptcha .next_prev_posts .prev_next_box a[style*="nopic.svg"]{background-image:none !important;}
/* 封面几乎盖满，只在远端透出一点：卡片首先是一块深色面板 */
body.site-nexcaptcha .next_prev_posts .prev_next_box a::after{
  z-index:0;
  background:linear-gradient(90deg,rgb(var(--nx-surface-rgb) / .97) 0,rgb(var(--nx-surface-rgb) / .97) 45%,rgb(var(--nx-surface-rgb) / .84) 100%);
  transition:opacity .16s var(--nxc-ease);
}
body.site-nexcaptcha .next_prev_posts .prev_next_box.nav_next a::after{
  background:linear-gradient(270deg,rgb(var(--nx-surface-rgb) / .97) 0,rgb(var(--nx-surface-rgb) / .97) 45%,rgb(var(--nx-surface-rgb) / .84) 100%);
}
body.site-nexcaptcha .next_prev_posts .prev_next_box a:hover,
body.site-nexcaptcha .next_prev_posts .prev_next_box a:focus-visible{border-color:var(--nx-line-strong);}
body.site-nexcaptcha .next_prev_posts .prev_next_box a:hover::after{opacity:.94;}
body.site-nexcaptcha .next_prev_posts .prev_next_box .prev_next_info small{
  display:inline-flex;
  align-items:center;
  gap:.45rem;
  color:var(--nx-faint);
  font-family:var(--nx-font-mono);
  font-size:.6875rem;
  letter-spacing:.16em;
  line-height:1.2;
  text-transform:uppercase;
}
body.site-nexcaptcha:lang(zh) .next_prev_posts .prev_next_box .prev_next_info small{font-size:.75rem;letter-spacing:.12em;}
body.site-nexcaptcha .next_prev_posts .prev_next_box.nav_previous .prev_next_info small::before{content:"\F12F";font-family:"bootstrap-icons";font-size:.8125rem;letter-spacing:0;}
body.site-nexcaptcha .next_prev_posts .prev_next_box.nav_next .prev_next_info small::after{content:"\F138";font-family:"bootstrap-icons";font-size:.8125rem;letter-spacing:0;}
body.site-nexcaptcha .next_prev_posts .prev_next_box .prev_next_info p{
  margin:.55rem 0 0;
  color:var(--nx-ink);
  font-size:.9375rem;
  font-weight:500;
  line-height:1.45;
  -webkit-line-clamp:2;
}
body.site-nexcaptcha:lang(zh) .next_prev_posts .prev_next_box .prev_next_info p{line-height:1.6;}

/* ---------- 11. 相关文章 ---------- */
/* 两列，每条前面是等宽的 01 / 02 … 序号（CSS 计数器，不改模板） */
body.site-nexcaptcha .post_related{
  --nxc-pad:1.25rem;
  counter-reset:nxc-related;
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  column-gap:1.75rem;
  margin-bottom:var(--nxc-gap);
  padding:1.1rem var(--nxc-pad) .75rem;
  background:var(--nx-surface);
  border:1px solid var(--nx-line);
  border-radius:var(--nx-radius-card);
  box-shadow:none;
}
body.site-nexcaptcha .post_related > .widget-title{grid-column:1 / -1;}
body.site-nexcaptcha .post_related_list{min-width:0;}
body.site-nexcaptcha .post_related_list a{
  counter-increment:nxc-related;
  position:relative;
  display:flex;
  align-items:baseline;
  gap:.75rem;
  margin:0;
  padding:.5rem 0;
  color:var(--nx-muted);
  font-size:.875rem;
  line-height:1.5;
  transition:color .16s var(--nxc-ease);
}
body.site-nexcaptcha:lang(zh) .post_related_list a{font-size:.90625rem;line-height:1.6;}
body.site-nexcaptcha .post_related_list a::before{
  content:counter(nxc-related,decimal-leading-zero);
  position:static;
  flex:none;
  width:auto;
  height:auto;
  border-radius:0;
  background:none;
  color:var(--nx-faint);
  font-family:var(--nx-font-mono);
  font-size:.6875rem;
  font-variant-numeric:tabular-nums;
  letter-spacing:.04em;
  transition:color .16s var(--nxc-ease);
}
body.site-nexcaptcha .post_related_list a:hover{color:var(--nx-ink);}
body.site-nexcaptcha .post_related_list a:hover::before{color:var(--nx-muted);}

/* ---------- 12. 侧栏（sidebar.php） ---------- */
/* 作者卡 + 六个小工具叠起来远高于一屏，粘住时下面的要读完大半篇文章才露出来：跟随页面滚动。
   992 以下 style.css 把整块隐藏，保持不变。 */
body.site-nexcaptcha .sidebar_sticky{position:static;top:auto;margin-bottom:0;}
body.site-nexcaptcha .widget{
  --nxc-pad:1.25rem;
  position:relative;
  overflow:hidden;
  margin-bottom:.75rem;
  padding:1.1rem var(--nxc-pad) 1.25rem;
  background:var(--nx-surface);
  border:1px solid var(--nx-line);
  border-radius:var(--nx-radius-card);
  box-shadow:none;
}
body.site-nexcaptcha .sidebar_sticky > .widget:last-child{margin-bottom:0;}
/* 小工具标题 → 等宽大写微标签（中性色：一屏里有好几个）+ 通栏细线 */
body.site-nexcaptcha .widget-title{
  position:relative;
  display:flex;
  align-items:center;
  gap:.6rem;
  margin:0 0 1.75rem;
  padding:0;
  color:var(--nx-faint);
  font-family:var(--nx-font-mono);
  font-size:.6875rem;
  font-weight:400;
  letter-spacing:.2em;
  line-height:1.2;
  text-transform:uppercase;
}
body.site-nexcaptcha:lang(zh) .widget-title{font-size:.75rem;letter-spacing:.12em;}
body.site-nexcaptcha .widget-title::before{
  content:"";
  position:static;
  flex:none;
  width:5px;
  height:5px;
  border-radius:50%;
  background:var(--nx-faint);
}
body.site-nexcaptcha .widget-title::after{
  content:"";
  position:absolute;
  left:calc(-1 * var(--nxc-pad,1.25rem));
  right:calc(-1 * var(--nxc-pad,1.25rem));
  bottom:-.875rem;
  width:auto;
  height:1px;
  background:var(--nx-line);
}
/* 作者卡：1px 渐变描边（官网 .ring-gradient），头像外一圈细线，下方是等宽数字的指标条 */
body.site-nexcaptcha .author_show_box{
  position:relative;
  overflow:hidden;
  margin-bottom:.75rem;
  background:var(--nx-surface);
  border:0;
  border-radius:var(--nx-radius-card);
  box-shadow:none;
}
body.site-nexcaptcha .author_show_box::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:10;
  padding:1px;
  border-radius:inherit;
  background:var(--nx-ring-gradient);
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);
  -webkit-mask-composite:xor;
  mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);
  mask-composite:exclude;
  pointer-events:none;
}
body.site-nexcaptcha .author_show_box .author_show_head{padding:1.5rem 1.25rem 0;}
body.site-nexcaptcha .author_show_box .author_show_head img{
  width:64px;
  height:64px;
  margin-bottom:.9rem;
  border-radius:50%;
  object-fit:cover;
  outline:1px solid var(--nx-line-strong);
  outline-offset:3px;
  background:var(--nx-surface-2);
}
body.site-nexcaptcha .author_show_box .author_show_head h3{
  margin:0;
  color:var(--nx-ink);
  font-size:1rem;
  font-weight:600;
  line-height:1.3;
}
body.site-nexcaptcha:not(:lang(zh)) .author_show_box .author_show_head h3{letter-spacing:-.01em;}
body.site-nexcaptcha .author_show_box .author_show_head p{margin:.5rem 0 0;color:var(--nx-muted);font-size:.8125rem;font-weight:400;line-height:1.6;}
body.site-nexcaptcha .author_show_box .author_show_info{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  margin:1.25rem 0 0;
  padding:0;
  border-top:1px solid var(--nx-line);
  color:var(--nx-ink);
  text-align:center;
}
/* 每格：<i> 图标 + <b> 标签 + 数字文本节点。数字放上面、标签放下面。 */
body.site-nexcaptcha .author_show_box .author_show_info span{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:.35rem;
  margin:0;
  padding:.85rem .5rem .95rem;
  color:var(--nx-ink);
  font-family:var(--nx-font-mono);
  font-size:1.0625rem;
  font-variant-numeric:tabular-nums;
  line-height:1.1;
}
body.site-nexcaptcha .author_show_box .author_show_info span + span{border-left:1px solid var(--nx-line);}
body.site-nexcaptcha .author_show_box .author_show_info span i{display:none;}
body.site-nexcaptcha .author_show_box .author_show_info span b{
  order:1;
  color:var(--nx-faint);
  font-size:.625rem;
  font-weight:400;
  letter-spacing:.18em;
  line-height:1;
  text-transform:uppercase;
}
body.site-nexcaptcha:lang(zh) .author_show_box .author_show_info span b{font-size:.6875rem;letter-spacing:.12em;}
/* 关掉“最近文章”时 sidebar.php 少关一个 div，所有小工具都落进作者卡里：摊平成卡内分节，不套第二层卡片 */
body.site-nexcaptcha .author_show_box > .widget{
  margin:0;
  border:0;
  border-top:1px solid var(--nx-line);
  border-radius:0;
  background:transparent;
}
body.site-nexcaptcha .sidebar_sticky > p,
body.site-nexcaptcha .author_show_box > p{
  margin:0 0 .75rem;
  padding:.9rem 1.1rem;
  border:1px solid var(--nx-line);
  border-radius:var(--nx-radius-card);
  color:var(--nx-faint);
  font-size:.8125rem;
}
body.site-nexcaptcha .author_show_box > p{margin:0;border:0;border-top:1px solid var(--nx-line);border-radius:0;}
/* 作者最近文章 / 热评 / 热门：64px 缩略图 + 两行标题 + 等宽计数 */
body.site-nexcaptcha .author_post{margin:0;padding:1rem 1.25rem .25rem;border-top:1px solid var(--nx-line);}
body.site-nexcaptcha .author_post li,
body.site-nexcaptcha .widget_hot_post .widget_hot_li{display:flex;align-items:center;gap:.75rem;margin:0 0 .875rem;}
body.site-nexcaptcha .author_post li img,
body.site-nexcaptcha .widget_hot_post .widget_hot_li img{
  flex:none;
  width:4rem;
  height:auto;
  aspect-ratio:10 / 7;
  margin:0;
  object-fit:cover;
  border-radius:var(--nx-radius-input);
  outline:1px solid var(--nx-line);
  outline-offset:-1px;
  background:var(--nx-surface-2);
}
body.site-nexcaptcha .author_post li .author_title,
body.site-nexcaptcha .widget_hot_post .widget_hot_li .hot_post_info{min-width:0;}
body.site-nexcaptcha .author_post li .author_title h4,
body.site-nexcaptcha .widget_hot_post .widget_hot_li .hot_post_info h4{
  margin:0 0 .25rem;
  font-size:.8125rem;
  font-weight:500;
  line-height:1.45;
  letter-spacing:0;
}
body.site-nexcaptcha:lang(zh) .author_post li .author_title h4,
body.site-nexcaptcha:lang(zh) .widget_hot_post .widget_hot_li .hot_post_info h4{line-height:1.55;}
body.site-nexcaptcha .author_post li .author_title h4 a,
body.site-nexcaptcha .widget_hot_post .widget_hot_li .hot_post_info h4 a{color:var(--nx-ink-soft);transition:color .16s var(--nxc-ease);}
/* 整行都是链接（.stretched-link），悬停整行时提亮标题 */
body.site-nexcaptcha .author_post li:hover .author_title h4 a,
body.site-nexcaptcha .widget_hot_post .widget_hot_li:hover .hot_post_info h4 a{color:var(--nx-ink);}
body.site-nexcaptcha .author_post li .author_title p,
body.site-nexcaptcha .widget_hot_post .widget_hot_li .hot_post_info p{
  margin:0;
  color:var(--nx-faint);
  font-family:var(--nx-font-mono);
  font-size:.6875rem;
  font-variant-numeric:tabular-nums;
  font-weight:400;
  line-height:1.4;
}
/* 第一条热门：16:9 大图 + 底色渐变压字 */
body.site-nexcaptcha .widget_hot_post .widget_hot_li:first-child{overflow:hidden;margin-bottom:1rem;border-radius:var(--nx-radius-input);}
body.site-nexcaptcha .widget_hot_post .widget_hot_li:first-child img{width:100%;aspect-ratio:16 / 9;}
body.site-nexcaptcha .widget_hot_post .widget_hot_li:first-child::before{
  opacity:1;
  border-radius:inherit;
  background:linear-gradient(to top,rgb(var(--nx-bg-rgb) / .95) 0,rgb(var(--nx-bg-rgb) / .72) 50%,rgb(var(--nx-bg-rgb) / .2) 100%);
}
body.site-nexcaptcha .widget_hot_post .widget_hot_li:first-child .hot_post_info{padding:.85rem 1rem;}
body.site-nexcaptcha .widget_hot_post .widget_hot_li:first-child .hot_post_info h4{margin-bottom:.3rem;font-size:.875rem;font-weight:600;}
body.site-nexcaptcha .widget_hot_post .widget_hot_li:first-child .hot_post_info h4 a{color:var(--nx-ink);}
body.site-nexcaptcha .widget_hot_post .widget_hot_li:first-child .hot_post_info p{color:var(--nx-muted);}
body.site-nexcaptcha .widget_hot_post .widget_hot_li:last-child{margin-bottom:0;}
/* 最近回复 */
body.site-nexcaptcha .widget_comment_ul li{
  display:flex;
  gap:.75rem;
  margin:0 0 .875rem;
  padding:0 0 .875rem;
  border-bottom:1px solid var(--nx-line);
}
body.site-nexcaptcha .widget_comment_ul li:last-child{margin:0;padding:0;border:0;}
body.site-nexcaptcha .widget_comment_ul li img{
  flex:none;
  width:1.75rem;
  height:1.75rem;
  margin:0;
  border-radius:50%;
  outline:1px solid var(--nx-line-strong);
  outline-offset:0;
  background:var(--nx-surface-2);
}
body.site-nexcaptcha .widget_comment_ul li .widget_comment_info{min-width:0;}
body.site-nexcaptcha .widget_comment_ul li .widget_comment_info a{
  color:var(--nx-ink-soft);
  font-size:.8125rem;
  line-height:1.55;
  transition:color .16s var(--nxc-ease);
}
body.site-nexcaptcha:lang(zh) .widget_comment_ul li .widget_comment_info a{line-height:1.65;}
body.site-nexcaptcha .widget_comment_ul li .widget_comment_info a:hover{color:var(--nx-ink);}
body.site-nexcaptcha .widget_comment_ul li .widget_comment_info span{
  display:flex;
  flex-wrap:wrap;
  gap:.1rem .6rem;
  margin-top:.35rem;
  color:var(--nx-faint);
  font-family:var(--nx-font-mono);
  font-size:.6875rem;
  font-variant-numeric:tabular-nums;
  font-weight:400;
}
body.site-nexcaptcha .widget_comment_ul li .widget_comment_info span em{margin:0;font-style:normal;}
/* 标签云：细线胶囊，悬停变成白色实心胶囊（不用翡翠绿） */
body.site-nexcaptcha .widget_hot_tags .tagcloud{display:flex;flex-wrap:wrap;gap:.4rem;}
body.site-nexcaptcha .widget_hot_tags .tagcloud a{
  position:relative;
  display:inline-flex;
  align-items:center;
  gap:.4rem;
  margin:0;
  padding:.3rem .72rem;
  border:1px solid var(--nx-line);
  border-radius:var(--nx-radius-pill);
  background:transparent;
  color:var(--nx-muted);
  font-size:.75rem !important;
  font-weight:400;
  line-height:1.35;
  transition:color .16s var(--nxc-ease),border-color .16s var(--nxc-ease),background-color .16s var(--nxc-ease);
}
body.site-nexcaptcha .widget_hot_tags .tagcloud a:hover{
  border-color:var(--nx-ink);
  background:var(--nx-ink);
  color:var(--nx-bg);
}
body.site-nexcaptcha .widget_hot_tags .tagcloud a.hot::before{
  top:-2px;
  right:-2px;
  width:8px;
  height:8px;
  border:2px solid var(--nx-surface);
  background:var(--nx-ink-soft);
}
/* 其它（登录 / RSS） */
body.site-nexcaptcha .widget_misc_ul li a{
  gap:.6rem;
  min-height:2.75rem;
  border-bottom:1px solid var(--nx-line);
  color:var(--nx-muted);
  font-size:.875rem;
  transition:color .16s var(--nxc-ease);
}
body.site-nexcaptcha .widget_misc_ul li:last-child a{border-bottom:0;}
body.site-nexcaptcha .widget_misc_ul li a i{margin:0 !important;color:var(--nx-faint);transition:color .16s var(--nxc-ease);}
body.site-nexcaptcha .widget_misc_ul li a:hover{color:var(--nx-ink);}
body.site-nexcaptcha .widget_misc_ul li a:hover i{color:var(--nx-ink-soft);}
/* 侧栏搜索（旧版小工具） */
body.site-nexcaptcha .widget_search #s{
  height:2.5rem;
  padding:0 4.75rem 0 .875rem;
  text-indent:0;
  border:1px solid var(--nx-line-strong);
  border-radius:var(--nx-radius-input);
  background:var(--nx-bg-soft);
  color:var(--nx-ink);
  font-size:.875rem;
  font-weight:400;
  transition:border-color .16s var(--nxc-ease);
}
body.site-nexcaptcha .widget_search #s::placeholder{color:var(--nx-faint);}
body.site-nexcaptcha .widget_search #s:focus{border-color:var(--nx-muted);outline:0;}
body.site-nexcaptcha .widget_search #searchsubmit{
  top:4px;
  right:4px;
  width:auto;
  height:calc(2.5rem - 8px);
  padding:0 .9rem;
  border:0;
  border-radius:var(--nx-radius-pill);
  background:var(--nx-surface-3);
  color:var(--nx-ink);
  font-size:.75rem;
  font-weight:500;
  transition:background-color .16s var(--nxc-ease),color .16s var(--nxc-ease);
}
body.site-nexcaptcha .widget_search #searchsubmit:hover{background:var(--nx-ink);color:var(--nx-bg);}
body.site-nexcaptcha .widget_text .textwidget p{color:var(--nx-muted);font-size:.8125rem;line-height:1.7;}

/* ---------- 13. 评论（comments.php；comments.css 在 <body> 里加载，靠 body 类前缀压住） ---------- */
body.site-nexcaptcha .post_comment{overflow:visible;border-radius:var(--nx-radius-panel);}
body.site-nexcaptcha #comments{
  margin-bottom:var(--nxc-gap);
  padding:1.75rem 2rem 2rem;
  background:var(--nx-surface);
  border:1px solid var(--nx-line);
  border-radius:var(--nx-radius-panel);
  color:var(--nx-ink-soft);
}
body.site-nexcaptcha #comments .comments-title{
  display:flex;
  align-items:baseline;
  gap:.15rem;
  margin:0 0 1.5rem;
  padding:0 0 1rem;
  border-bottom:1px solid var(--nx-line);
  color:var(--nx-ink);
  font-size:1.125rem;
  font-weight:600;
  line-height:1.3;
}
body.site-nexcaptcha:not(:lang(zh)) #comments .comments-title{letter-spacing:-.015em;}
body.site-nexcaptcha #comments .comments-title i{align-self:center;color:var(--nx-faint);font-size:1rem;}
body.site-nexcaptcha #comments .comments-title small{
  margin-left:.4rem;
  color:var(--nx-faint);
  font-family:var(--nx-font-mono);
  font-size:.75rem;
  font-weight:400;
  font-variant-numeric:tabular-nums;
  letter-spacing:.04em;
}
body.site-nexcaptcha #comments .no-comments{
  flex-direction:column;
  gap:.75rem;
  margin:0 0 1.5rem;
  padding:1.75rem 0;
  color:var(--nx-faint);
  font-size:.875rem;
}
body.site-nexcaptcha #comments .no-comments svg{opacity:.55;}
body.site-nexcaptcha #comments .comment-list{margin:0 0 1.75rem;padding:0;}
body.site-nexcaptcha #comments .comment-list li .comment-body{
  margin-bottom:1.25rem;
  padding-bottom:1.25rem;
  border-bottom:1px solid var(--nx-line);
}
body.site-nexcaptcha #comments .comment-list li .comment-body .comment-meta .comment-author img{
  width:40px;
  height:40px;
  border-radius:50%;
  outline:1px solid var(--nx-line-strong);
  outline-offset:0;
  background:var(--nx-surface-2);
}
body.site-nexcaptcha #comments .comment-list li .comment-body .comment-meta .comment-author .fn{
  top:1px;
  color:var(--nx-ink);
  font-size:.875rem;
  font-weight:500;
  letter-spacing:0;
  text-transform:none;
}
body.site-nexcaptcha #comments .comment-list li .comment-body .comment-meta .comment-author .fn a{color:var(--nx-ink);transition:color .16s var(--nxc-ease);}
body.site-nexcaptcha #comments .comment-list li .comment-body .comment-meta .comment-author .fn a:hover{color:var(--nx-link-hover);}
/* 等级徽标（「初识」「博主」…）：颜色是 functions.php 写在行内的（#999 / #ef6762），换成中性等宽微标签；
   博主本人的留言提亮一级 */
body.site-nexcaptcha #comments .comment-author .fn > span[style]{
  color:var(--nx-faint) !important;
  font-family:var(--nx-font-mono);
  font-weight:400;
  letter-spacing:.1em;
  text-transform:uppercase;
}
body.site-nexcaptcha #comments li.comment-by-author > .comment-body .comment-author .fn > span[style]{color:var(--nx-ink-soft) !important;}
body.site-nexcaptcha #comments .comment-list li .comment-body .comment-meta .comment-metadata{top:23px;}
body.site-nexcaptcha #comments .comment-list li .comment-body .comment-meta .comment-metadata,
body.site-nexcaptcha #comments .comment-list li .comment-body .comment-meta .comment-metadata a{
  color:var(--nx-faint);
  font-family:var(--nx-font-mono);
  font-size:.6875rem;
  font-weight:400;
  font-variant-numeric:tabular-nums;
}
body.site-nexcaptcha #comments .comment-list li .comment-body .comment-meta .comment-metadata a:hover{color:var(--nx-ink-soft);}
body.site-nexcaptcha #comments .comment-list li .comment-body .comment-meta .comment-awaiting-moderation{
  color:var(--nx-warn);
  font-family:var(--nx-font-mono);
  font-size:.6875rem;
}
body.site-nexcaptcha #comments .comment-list li .comment-body .comment-content{
  padding:0 0 0 56px;
  color:var(--nx-ink-soft);
  font-size:.9375rem;
  line-height:1.75;
}
body.site-nexcaptcha:lang(zh) #comments .comment-list li .comment-body .comment-content{line-height:1.85;}
body.site-nexcaptcha #comments .comment-list li .comment-body .comment-content p{line-height:inherit;}
body.site-nexcaptcha #comments .comment-list li .comment-body .comment-content a{
  color:var(--nx-ink);
  text-decoration:underline;
  text-decoration-color:var(--nx-link-underline);
  text-decoration-thickness:1px;
  text-underline-offset:.24em;
  transition:color .16s var(--nxc-ease),text-decoration-color .16s var(--nxc-ease);
}
body.site-nexcaptcha #comments .comment-list li .comment-body .comment-content a:hover{color:var(--nx-link-hover);text-decoration-color:var(--nx-azure-soft);}
/* 回复按钮：main.js 判断的是 e.target.classList，按钮本身必须是点击目标——只给按钮写样式，不加子元素 */
body.site-nexcaptcha #comments .comment-list li .comment-body .reply{top:6px;}
body.site-nexcaptcha #comments .comment-list li .comment-body .reply button.comment-reply-link{
  display:inline-flex;
  align-items:center;
  height:1.625rem;
  padding:0 .7rem;
  border:1px solid var(--nx-line);
  border-radius:var(--nx-radius-pill);
  background:transparent;
  color:var(--nx-muted);
  font-family:var(--nx-font-mono);
  font-size:.6875rem;
  font-weight:400;
  letter-spacing:.06em;
  line-height:1;
  cursor:pointer;
  transition:color .16s var(--nxc-ease),border-color .16s var(--nxc-ease),background-color .16s var(--nxc-ease);
}
body.site-nexcaptcha #comments .comment-list li .comment-body .reply button.comment-reply-link:hover{
  border-color:var(--nx-line-strong);
  background:var(--nx-surface-2);
  color:var(--nx-ink);
}
/* 楼中楼：左侧一根细线 */
body.site-nexcaptcha #comments .comment-list li ol.children{
  margin-left:1.25rem;
  padding-left:1.25rem;
  border-left:1px solid var(--nx-line);
}
/* 点“回复”后表单被移进这条评论里：给它一块升一级的面板 */
body.site-nexcaptcha #comments .comment-list .comment-respond{
  margin:.25rem 0 1.25rem;
  padding:1.1rem 1.25rem 1.25rem;
  border:1px solid var(--nx-line-strong);
  border-radius:var(--nx-radius-card);
  background:var(--nx-surface-2);
}
body.site-nexcaptcha #comments .comment-reply-title,
body.site-nexcaptcha #comments .layoutSingleColumn .comment-respond .comment-reply-title{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:.2rem;
  margin:0 0 1rem;
  color:var(--nx-ink);
  font-size:1rem;
  font-weight:600;
  line-height:1.3;
}
body.site-nexcaptcha #comments .comment-reply-title i{color:var(--nx-faint);}
body.site-nexcaptcha #comments .comment-reply-title small{margin-left:.5rem;font-size:.75rem;}
body.site-nexcaptcha #comments .comment-reply-title small a{color:var(--nx-muted);font-weight:400;}
body.site-nexcaptcha #comments .comment-reply-title small a:hover{color:var(--nx-ink);}
/* 表单：三个输入框一行（comments.css 用浮动，这里改成栅格），评论框与按钮通栏 */
body.site-nexcaptcha #comments form.comment-form{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:.625rem;
  width:100%;
}
body.site-nexcaptcha #comments form.comment-form > *{grid-column:1 / -1;}
body.site-nexcaptcha #comments form.comment-form > .comment-form-author,
body.site-nexcaptcha #comments form.comment-form > .comment-form-email,
body.site-nexcaptcha #comments form.comment-form > .comment-form-url{grid-column:auto;width:auto;float:none;margin:0;}
body.site-nexcaptcha #comments form.comment-form p{margin:0;}
body.site-nexcaptcha #comments form.comment-form p input,
body.site-nexcaptcha #comments form.comment-form .comment-form-comment textarea{
  display:block;
  width:100%;
  border:1px solid var(--nx-line-strong);
  border-radius:var(--nx-radius-input);
  background:var(--nx-bg-soft);
  color:var(--nx-ink);
  font-family:var(--nx-font-sans);
  font-size:.875rem;
  font-weight:400;
  box-shadow:none;
  transition:border-color .16s var(--nxc-ease),background-color .16s var(--nxc-ease);
}
body.site-nexcaptcha #comments form.comment-form p input{height:2.75rem;padding:0 .875rem 0 2.35rem;}
body.site-nexcaptcha #comments form.comment-form .comment-form-comment textarea{
  height:auto;
  min-height:8.5rem;
  padding:.8rem .95rem;
  line-height:1.7;
  resize:vertical;
}
body.site-nexcaptcha #comments form.comment-form p input::placeholder,
body.site-nexcaptcha #comments form.comment-form .comment-form-comment textarea::placeholder{color:var(--nx-faint);opacity:1;}
body.site-nexcaptcha #comments form.comment-form p input:focus,
body.site-nexcaptcha #comments form.comment-form .comment-form-comment textarea:focus{
  border-color:var(--nx-muted);
  background:var(--nx-surface);
  outline:0;
}
body.site-nexcaptcha #comments form.comment-form .comment-form-author::before,
body.site-nexcaptcha #comments form.comment-form .comment-form-email::before,
body.site-nexcaptcha #comments form.comment-form .comment-form-url::before{
  top:50%;
  left:.9rem;
  z-index:1;
  color:var(--nx-faint);
  font-size:.875rem;
  line-height:1;
  pointer-events:none;
  transform:translateY(-50%);
  transition:color .16s var(--nxc-ease);
}
body.site-nexcaptcha #comments form.comment-form p:focus-within::before{color:var(--nx-ink-soft);}
/* 提交：白色实心胶囊。整页唯一的翡翠绿实心按钮是页头 CTA。 */
body.site-nexcaptcha #comments form.comment-form .form-submit{display:flex;justify-content:flex-end;width:100%;margin:.25rem 0 0;}
body.site-nexcaptcha #comments form.comment-form .form-submit .submit{
  float:none;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:auto;
  min-width:8.5rem;
  height:2.625rem;
  padding:0 1.35rem;
  border:1px solid var(--nx-ink);
  border-radius:var(--nx-radius-pill);
  background:var(--nx-ink);
  color:var(--nx-bg);
  font-family:var(--nx-font-sans);
  font-size:.875rem;
  font-weight:600;
  line-height:1;
  cursor:pointer;
  transition:background-color .16s var(--nxc-ease),border-color .16s var(--nxc-ease);
}
body.site-nexcaptcha #comments form.comment-form .form-submit .submit:hover{
  border-color:var(--nx-link-hover);
  background:var(--nx-link-hover);
  color:var(--nx-bg);
}
body.site-nexcaptcha #comments form.comment-form .form-submit .submit:disabled{opacity:.55;cursor:progress;}
body.site-nexcaptcha #comments form.comment-form > p:not([class]){color:var(--nx-muted);font-size:.875rem;}
body.site-nexcaptcha #comments form.comment-form > p:not([class]) a{
  color:var(--nx-ink);
  text-decoration:underline;
  text-decoration-color:var(--nx-link-underline);
  text-underline-offset:.24em;
}
body.site-nexcaptcha #comments form.comment-form > p:not([class]) a:hover{color:var(--nx-link-hover);}
body.site-nexcaptcha #comments .comment-respond .must-log-in{color:var(--nx-muted);}
body.site-nexcaptcha #comments .comment-respond .must-log-in a{border-bottom-color:var(--nx-link-underline);color:var(--nx-ink);}
/* 评论分页：空的上一页 / 下一页链接带 .hidden（comments.php 的 prevClass / nextClass），
   这里的 display 一律避开 .hidden，并再兜一条 !important，保证它们始终隐藏 */
body.site-nexcaptcha #comments .navigation{margin:0 0 1.75rem;}
body.site-nexcaptcha #comments .nav-links{display:flex;flex-wrap:wrap;justify-content:center;gap:.375rem;text-align:center;}
body.site-nexcaptcha #comments .nav-links > :not(.hidden){
  display:inline-grid;
  place-items:center;
  min-width:2.25rem;
  height:2.25rem;
  padding:0 .7rem;
  border:1px solid var(--nx-line);
  border-radius:var(--nx-radius-pill);
  color:var(--nx-muted);
  font-family:var(--nx-font-mono);
  font-size:.75rem;
  font-variant-numeric:tabular-nums;
  text-decoration:none;
  transition:color .16s var(--nxc-ease),border-color .16s var(--nxc-ease),background-color .16s var(--nxc-ease);
}
body.site-nexcaptcha #comments .nav-links > a:not(.hidden):hover{border-color:var(--nx-line-strong);background:var(--nx-surface-2);color:var(--nx-ink);}
body.site-nexcaptcha #comments .nav-links > .current{
  border-color:var(--nx-ink);
  background:var(--nx-ink);
  color:var(--nx-bg);
  font-size:.75rem;
  text-decoration:none;
}
body.site-nexcaptcha #comments .hidden{display:none !important;}
/* 评论提交后的顶部提示条（comments.css 的 .butterBar） */
body.site-nexcaptcha .butterBar-message{
  background:var(--nx-surface-2);
  border-bottom:1px solid var(--nx-line-strong);
  color:var(--nx-ink);
  font-family:var(--nx-font-mono);
  font-size:.75rem;
  letter-spacing:.04em;
}

/* ---------- 14. 归档 / 友链 / 全部标签页 ---------- */
/* 放进正文容器里的小工具不再套第二层卡片 */
body.site-nexcaptcha .post_container .widget,
body.site-nexcaptcha .wznrys .widget{
  margin:0;
  padding:0;
  overflow:visible;
  background:none;
  border:0;
  border-radius:0;
}
/* 归档（page-archives.php）：每篇文章各自是一个 <ul><li>，li 里的 <p> 被解析器拆成
   “日期 p + .archive-title + 空 p”。竖线时间轴，节点是中性小圆点，悬停填白。 */
body.site-nexcaptcha .widget_recent_entries ul{margin:0 0 0 .3rem;padding:0;list-style:none;}
body.site-nexcaptcha .widget_recent_entries ul li,
body.site-nexcaptcha .widget_recent_entries ul li:last-child{
  position:relative;
  margin:0;
  padding:0 0 1.35rem 1.4rem;
  border-left:1px solid var(--nx-line);
}
body.site-nexcaptcha .widget_recent_entries ul:last-child li{padding-bottom:.25rem;}
body.site-nexcaptcha .widget_recent_entries ul li::before{content:none;}
body.site-nexcaptcha .widget_recent_entries ul li::after{
  left:-4px;
  top:.3rem;
  width:7px;
  height:7px;
  border:1px solid var(--nx-line-strong);
  border-radius:50%;
  background-color:var(--nx-surface);
  transition:background-color .16s var(--nxc-ease),border-color .16s var(--nxc-ease);
}
body.site-nexcaptcha .widget_recent_entries ul li:hover::after{border-color:var(--nx-ink);background-color:var(--nx-ink);}
body.site-nexcaptcha .widget_recent_entries ul li p{
  margin:0 0 .25rem;
  padding:0;
  color:var(--nx-faint);
  font-family:var(--nx-font-mono);
  font-size:.75rem;
  font-variant-numeric:tabular-nums;
  letter-spacing:.04em;
  line-height:1.4;
}
body.site-nexcaptcha .widget_recent_entries ul li p:empty{display:none;}
body.site-nexcaptcha .widget_recent_entries ul li a,
body.site-nexcaptcha .widget_recent_entries .archive-title a{
  display:block;
  margin:0;
  padding:0;
  border:0;
  color:var(--nx-ink-soft);
  font-size:.9375rem;
  font-weight:500;
  line-height:1.5;
  transition:color .16s var(--nxc-ease);
}
body.site-nexcaptcha:lang(zh) .widget_recent_entries ul li a,
body.site-nexcaptcha:lang(zh) .widget_recent_entries .archive-title a{line-height:1.65;}
body.site-nexcaptcha .widget_recent_entries ul li a:hover{color:var(--nx-ink);}
body.site-nexcaptcha .widget_recent_entries ul li span{color:var(--nx-faint);}
/* 友链（page-links.php）：小卡片网格，悬停升一级 */
body.site-nexcaptcha .links-page{margin-top:1rem;}
body.site-nexcaptcha .links-page li{margin:0;padding:0;list-style:none;}
body.site-nexcaptcha .links-page-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(13rem,1fr));
  gap:.625rem;
  margin:1rem 0 0;
  padding:0;
}
body.site-nexcaptcha .links-page-item,
body.site-nexcaptcha .wznrys .links-page-item{
  display:flex;
  flex-direction:column;
  gap:.25rem;
  height:100%;
  margin:0;
  padding:.9rem 1rem;
  border:1px solid var(--nx-line);
  border-radius:var(--nx-radius-card);
  background:var(--nx-surface-2);
  color:var(--nx-ink);
  text-decoration:none;
  box-shadow:none;
  transition:background-color .16s var(--nxc-ease),border-color .16s var(--nxc-ease);
}
body.site-nexcaptcha .links-page-item:hover,
body.site-nexcaptcha .wznrys .links-page-item:hover{
  border-color:var(--nx-line-strong);
  background:var(--nx-surface-3);
  color:var(--nx-ink);
}
body.site-nexcaptcha .links-page-name{margin:0;color:var(--nx-ink);font-size:.875rem;font-weight:600;line-height:1.4;}
body.site-nexcaptcha .links-page-desc{margin:0;color:var(--nx-faint);font-size:.75rem;line-height:1.5;}
/* 全部标签（page-tags.php）：与侧栏标签云同一种胶囊，字大一号，后面跟等宽的篇数 */
body.site-nexcaptcha .tags-page .tagcloud{gap:.45rem;}
body.site-nexcaptcha .tags-page .tagcloud a{padding:.35rem .85rem;font-size:.8125rem !important;}
body.site-nexcaptcha .tags-page .tagcloud a .tag-count{
  color:var(--nx-faint);
  font-family:var(--nx-font-mono);
  font-size:.6875rem;
  font-variant-numeric:tabular-nums;
  font-weight:400;
  transition:color .16s var(--nxc-ease);
}
body.site-nexcaptcha .tags-page .tagcloud a:hover .tag-count{color:inherit;opacity:.65;}

/* ---------- 15. 响应式 ---------- */
@media (min-width:1200px){
  body.site-nexcaptcha .post_container_title{padding:2.5rem 3rem 1.6rem;}
  body.site-nexcaptcha .post_container{padding:2.25rem 3rem 2.5rem;}
}
@media (max-width:991.98px){
  body.site-nexcaptcha .index_area{padding-top:1.25rem;padding-bottom:2.5rem;}
  body.site-nexcaptcha .index_banner{padding-top:1.25rem;}
  /* 992 以下只剩轮播：固定 400px 高在手机上占掉大半屏，改成 16:9 */
  body.site-nexcaptcha #banner .post-images{height:auto;aspect-ratio:16 / 9;}
}
@media (max-width:768px){
  /* style.css 在这个宽度隐藏的东西（日期、卡片标签、作者条），上面的 display:flex 会把它们
     重新显示出来，这里按原主题的手机布局再藏一次 */
  body.site-nexcaptcha .post_info .post_info_l .mobile_none,
  body.site-nexcaptcha .post_info .post_info_r,
  body.site-nexcaptcha .post_author{display:none;}
  body.site-nexcaptcha .post_def,
  body.site-nexcaptcha .post_gallery{margin-bottom:.625rem;padding:.75rem;}
  body.site-nexcaptcha .post_def .post_def_right .post_def_title h2{margin-bottom:.35rem;font-size:.9375rem;line-height:1.4;}
  body.site-nexcaptcha:lang(zh) .post_def .post_def_right .post_def_title h2{font-size:.9375rem;line-height:1.55;}
  body.site-nexcaptcha .post_info{font-size:.6875rem;}
  body.site-nexcaptcha .cat_info_top{padding:1.25rem 1.1rem;border-radius:var(--nx-radius-card);}
  body.site-nexcaptcha .post_container_title{padding:1.5rem 1.15rem 1.1rem;border-radius:var(--nx-radius-card) var(--nx-radius-card) 0 0;}
  body.site-nexcaptcha .post_container{padding:1.35rem 1.15rem 1.5rem;border-radius:0 0 var(--nx-radius-card) var(--nx-radius-card);}
  body.site-nexcaptcha .wznrys h2{margin-top:2.25rem;padding-top:1.35rem;font-size:1.3125rem;}
  body.site-nexcaptcha .wznrys h3{font-size:1.125rem;}
  /* 表格整块横向滚动；宽度跟内容走（最多占满），圆角边框贴着表格 */
  body.site-nexcaptcha .wznrys table:not(pre table),
  body.site-nexcaptcha .comment-content table:not(pre table){display:block;width:max-content;max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch;}
  body.site-nexcaptcha .next_prev_posts{flex-direction:column;gap:.625rem;}
  body.site-nexcaptcha .next_prev_posts .prev_next_box a{min-height:0;padding:1rem 1.1rem;}
  body.site-nexcaptcha .post_related{--nxc-pad:1.1rem;grid-template-columns:1fr;}
  body.site-nexcaptcha #comments{padding:1.25rem 1.1rem 1.4rem;border-radius:var(--nx-radius-card);}
  body.site-nexcaptcha .post_comment{border-radius:var(--nx-radius-card);}
  body.site-nexcaptcha #comments .comment-list li ol.children{margin-left:0;padding-left:.875rem;}
  body.site-nexcaptcha #comments .comment-list .comment-respond{padding:1rem .9rem 1.1rem;}
  body.site-nexcaptcha #comments form.comment-form{grid-template-columns:1fr;}
  body.site-nexcaptcha #comments form.comment-form .form-submit .submit{width:100%;}
  /* 轮播：标题贴底、左对齐，压在渐变最深的地方；底部给居中的指示器留位置 */
  body.site-nexcaptcha #banner .banlist h2{bottom:0;padding:1rem 1.1rem 2.6rem;font-size:1.0625rem;text-align:left;}
  body.site-nexcaptcha #banner .carousel-indicators{right:0;left:0;bottom:.125rem;justify-content:center;}
}

/* ---------- 16. 减少动态效果 ---------- */
@media (prefers-reduced-motion:reduce){
  body.site-nexcaptcha .index_banner *,
  body.site-nexcaptcha .index_banner *::before,
  body.site-nexcaptcha .index_banner *::after,
  body.site-nexcaptcha .index_area *,
  body.site-nexcaptcha .index_area *::before,
  body.site-nexcaptcha .index_area *::after{transition-duration:.01ms !important;}
  /* style.css 的悬停放大与抖动全部归零（上面已经关掉，这里在减少动态时再兜一层） */
  body.site-nexcaptcha .post_def:hover img,
  body.site-nexcaptcha #banner:hover .banlist img,
  body.site-nexcaptcha .index_banner .zt_list:hover img,
  body.site-nexcaptcha .index_banner .gglb:hover img,
  body.site-nexcaptcha .wznrys pre .once-copy-btn:active{transform:none !important;}
}

/* ---------- 17. 强制色彩模式 ---------- */
@media (forced-colors:active){
  /* 装饰性的网格与渐变描边在系统配色下只会变成噪点 */
  body.site-nexcaptcha .cat_info_top::after,
  body.site-nexcaptcha .post_container_title::before,
  body.site-nexcaptcha .author_show_box::before{display:none;}
  body.site-nexcaptcha .author_show_box{border:1px solid CanvasText;}
  /* 靠底色区分的状态（已点赞、标签悬停、当前页）改用描边 */
  body.site-nexcaptcha .post_author_icon a.specsZan.done,
  body.site-nexcaptcha #comments .nav-links > .current{outline:2px solid Highlight;outline-offset:1px;}
  body.site-nexcaptcha .widget_hot_tags .tagcloud a:hover{outline:1px solid Highlight;}
  body.site-nexcaptcha #comments form.comment-form .form-submit .submit{border:1px solid ButtonText;}
}
