/* ===== 首屏「点一下撑满全屏」 ===== */
/* 只有首页会挂 #se-frame，其它页面这些选择器都不命中 */

/* 会撑开的框：所有裁切都发生在这里，nav 在外面不会被裁到 */
#se-frame {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  cursor: pointer;
  clip-path: inset(21% 29% 21% 29% round 24px);
}

#se-frame.se-expanded {
  cursor: default;
}

/* 框外的底色：夜色 */
#page-header {
  position: relative;
  background: #06070b !important;
  background-image: none !important;
}

/* 未展开时露出来的那一圈：冷色暗场，避免死黑 */
#page-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(
      115% 85% at 50% 44%,
      rgba(30, 40, 62, 0.7) 0%,
      rgba(14, 18, 28, 0.45) 34%,
      rgba(6, 8, 13, 0.9) 66%,
      #04050a 100%
    );
}

/* 极淡噪点，去掉纯色的塑料感 */
#page-header::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.16;
  mix-blend-mode: normal;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='0.22'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

#hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 50%;
  z-index: 0;
  pointer-events: none;
  /* 一开始就显示：先出 poster 首帧，视频解码好再无缝接上，避免首屏黑一下 */
  opacity: 1;
  transition: opacity 0.3s ease;
  will-change: transform;
  transform-origin: center;
}

#hero-video.ready {
  opacity: 1;
}

/* 撑开后压暗用的渐变，随进度淡入 */
#se-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.78),
    rgba(0, 0, 0, 0.1) 45%,
    rgba(0, 0, 0, 0.38)
  );
}

/* nav / 标题 / 副标题 / 滚动提示 在框之上 */
#page-header > #nav,
#page-header > #site-info,
#page-header > #scroll-down,
#page-header > .banner-inner {
  position: relative;
  z-index: 2;
}

/* 方块刚打开时给个呼吸提示 */
#se-hint {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 1.6rem;
  z-index: 3;
  text-align: center;
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.55);
  pointer-events: none;
  transition: opacity 0.3s ease;
}

#se-hint.hide {
  opacity: 0 !important;
  animation: none;
}

@keyframes sehint {
  0%,
  100% {
    opacity: 0.45;
  }
  50% {
    opacity: 0.85;
  }
}

#se-hint {
  animation: sehint 2.4s ease-in-out infinite;
}

/* 打字光标 */
#subtitle::after {
  content: "|";
  margin-left: 2px;
  animation: subblink 1s steps(1) infinite;
}

@keyframes subblink {
  50% {
    opacity: 0;
  }
}

#site-info {
  will-change: opacity, transform;
}

@media (prefers-reduced-motion: reduce) {
  #se-frame {
    clip-path: inset(0 0 0 0 round 0) !important;
  }
  #hero-video {
    transform: none !important;
  }
}

/* 进站锁：没点开之前，整页不许滚 */
html.se-locked,
html.se-locked body {
  overflow: hidden !important;
  height: 100% !important;
  touch-action: none;
}

/* ===== 导航栏右侧的「日间 / 夜间」按钮 ===== */
.nav-darkmode {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 34px;
  width: 34px;
  margin-left: 8px;
  border-radius: 50%;
  font-size: 0.9rem;
  color: var(--font-color, #4c4948);
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.nav-darkmode:hover {
  color: #e08aa6;
  background-color: rgba(160, 160, 160, 0.14);
  transform: rotate(18deg);
}

.nav-darkmode i {
  pointer-events: none;
}

/* ===== 首帧占位 =====
   #se-frame 是 scroll-expand.js 动态建的，脚本跑起来之前那块是小黑洞。
   这里先用一张 fixed 的海报把它垫住，JS 建好真框后立刻移除。 */
#se-plate {
  display: none;
}

html:has(#page-header.full_page) #se-plate {
  display: block;
  position: fixed;
  left: 29vw;
  top: 21vh;
  width: 42vw;
  height: 58vh;
  border-radius: 24px;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
  background: #05060a;
}

/* 海报要和视频用同一套取景：视频铺满整个 header（1280×800）再被裁成卡片，
   所以这里也让 img 铺满视口、按 header 原点偏移，再由 #se-plate 的圆角裁切。 */
#se-plate img {
  position: absolute;
  left: -29vw;
  top: -21vh;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  object-position: 62% 50%;
  transform: scale(1.35);
  transform-origin: center;
}

/* ===== 首页：背景钉住不动 =====
   首屏那一层（视频/海报）直接改成 fixed 的背景板：
   滚动时它一动不动，只有内容在它上面滑过去；背景再按滚动量逐渐虚化。
   这样才是「背景不动、只变虚」，而不是「背景先滚走」。 */
html:has(#page-header.full_page) #page-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 0;
}

html:has(#page-header.full_page) {
  background: #070910;
}

html:has(#page-header.full_page) body {
  background: transparent;
}

/* 正文整体下移一屏，滑过固定的背景 */
html:has(#page-header.full_page) #content-inner {
  position: relative;
  z-index: 1;
  margin-top: 100vh;
}

/* 往下滚之后，首屏的标题/箭头/提示淡出，别压在内容上 */
html:has(#page-header.full_page) #page-header > #nav,
html:has(#page-header.full_page) #page-header > #site-info,
html:has(#page-header.full_page) #page-header > #scroll-down,
html:has(#page-header.full_page) #se-hint {
  transition: opacity 0.45s ease;
}

html.se-scrolled #page-header > #site-info,
html.se-scrolled #page-header > #scroll-down,
html.se-scrolled #se-hint {
  opacity: 0;
  pointer-events: none;
}

/* ===== 导航条 =====
   首屏那层是固定的背景板，导航条留在里面会被正文压住。
   JS 把它移到 body 下，这里钉在视口顶部：下滑收起、上滑滑出。 */
html:has(#page-header.full_page) #nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition: transform 0.34s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.34s ease,
    background-color 0.34s ease;
}

html:has(#page-header.full_page) #nav.nav-hide {
  transform: translateY(-104%);
  opacity: 0;
  pointer-events: none;
}

/* 离开首屏后给导航条一层深色磨砂底，压在卡片上也看得清 */
html.se-scrolled:has(#page-header.full_page) #nav {
  background: rgba(8, 10, 15, 0.5);
  backdrop-filter: blur(14px) saturate(1.1);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
}

/* ===== 页脚 =====
   主题把页脚刷成一块亮蓝（#footer 的 $light-blue），和夜色页面不搭。
   改成一层略微透明的磨砂白，透出后面的背景。 */
#footer {
  background-color: rgba(255, 255, 255, 0.58) !important;
  backdrop-filter: blur(16px) saturate(1.15);
  -webkit-backdrop-filter: blur(16px) saturate(1.15);
  border-top: 1px solid rgba(255, 255, 255, 0.3);
}

#footer,
#footer * {
  color: #454852 !important;
}

#footer a:hover,
#footer a:hover * {
  color: #1f2228 !important;
}

html[data-theme="dark"] #footer {
  background-color: rgba(14, 16, 22, 0.56) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

html[data-theme="dark"] #footer,
html[data-theme="dark"] #footer * {
  color: #c2c4cc !important;
}

html[data-theme="dark"] #footer a:hover,
html[data-theme="dark"] #footer a:hover * {
  color: #ffffff !important;
}

/* ===== 首页卡片：磨砂玻璃 =====
   背景是固定的一张夜景，卡片却是一块块实心白，割裂感很重。
   这里把卡片改成半透明的白纱 + 背景模糊，让底下的画面透上来。 */
html:has(#page-header.full_page) #recent-posts .recent-post-item,
html:has(#page-header.full_page) .card-widget,
html:has(#page-header.full_page) .post {
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.72) !important;
  backdrop-filter: blur(18px) saturate(1.1);
  -webkit-backdrop-filter: blur(18px) saturate(1.1);
  border: 1px solid rgba(255, 255, 255, 0.32);
  box-shadow: 0 8px 28px rgba(6, 10, 18, 0.18);
}

html[data-theme="dark"]:has(#page-header.full_page) #recent-posts .recent-post-item,
html[data-theme="dark"]:has(#page-header.full_page) .card-widget,
html[data-theme="dark"]:has(#page-header.full_page) .post {
  background: rgba(20, 23, 31, 0.62) !important;
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}

/* ---------- 侧边栏：分类/标签/归档 合并成一张三行卡 ---------- */
.card-nav-merge .nm-list { display: flex; flex-direction: column; }
.card-nav-merge .nm-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 8px;
  border-radius: 10px;
  color: var(--font-color, #4c4948);
  text-decoration: none;
  transition: background-color .18s ease, transform .18s ease;
}
.card-nav-merge .nm-row + .nm-row { border-top: 1px solid rgba(128, 128, 128, .12); }
.card-nav-merge .nm-row:hover { background: rgba(128, 128, 128, .1); transform: translateX(2px); }
.card-nav-merge .nm-icon { width: 16px; text-align: center; opacity: .68; }
.card-nav-merge .nm-label { flex: 1 1 auto; font-size: 14.5px; }
.card-nav-merge .nm-count {
  font-size: 12px;
  opacity: .5;
  font-variant-numeric: tabular-nums;
}
html[data-theme="dark"] .card-nav-merge .nm-row { color: rgba(240, 243, 248, .88); }
html[data-theme="dark"] .card-nav-merge .nm-row + .nm-row { border-top-color: rgba(255, 255, 255, .08); }
html[data-theme="dark"] .card-nav-merge .nm-row:hover { background: rgba(255, 255, 255, .08); }

/* 侧边栏「博客」标题：站酷快乐体，只裁了“博客”两个字的子集体（948 B） */
@font-face {
  font-family: 'BokeCute';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/boke-zcool-kuaile.woff2') format('woff2');
}
.card-nav-merge .item-headline span { font-family: 'BokeCute', inherit; font-size: 17px; letter-spacing: .04em; }

/* ---- swup：整块内容淡出/淡入 ---- */
#body-wrap {
  transition: opacity 0.34s ease;
}
html.is-animating #body-wrap {
  opacity: 0;
}

/* ---- swup：导航条全站固定（JS 已把它搬到 body 下） ---- */
html.swup-enabled body > #nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  transition: transform 0.34s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.34s ease,
    background-color 0.34s ease;
}
html.swup-enabled body > #nav.nav-hide {
  transform: translateY(-104%);
  opacity: 0;
  pointer-events: none;
}
html.swup-enabled.se-scrolled body > #nav {
  background: rgba(8, 10, 15, 0.5);
  backdrop-filter: blur(14px) saturate(1.1);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
}

/* ---- swup：顶部加载进度条 ---- */
#swup-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 60;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease;
}
#swup-progress.is-on {
  opacity: 1;
}
#swup-progress > i {
  display: block;
  height: 100%;
  width: var(--p, 0%);
  border-radius: 0 2px 2px 0;
  background: linear-gradient(90deg, #e586a6, #7fb0ff);
  box-shadow: 0 0 8px rgba(229, 134, 166, 0.55);
  transition: width 0.2s ease;
}
#swup-progress.is-done > i {
  transition: width 0.18s ease;
}

/* ---- swup：过渡期间不要露出白底（否则像闪光弹） ---- */
html.is-animating,
html.is-changing {
  background: #06070b;
}
html.is-animating body,
html.is-changing body {
  background: transparent !important;
}

/* ---- swup：换页遮罩（先压暗再揭开，杜绝白屏闪烁） ---- */
#swup-veil {
  position: fixed;
  inset: 0;
  z-index: 55;
  pointer-events: none;
  opacity: 0;
  background: #06070b;
  transition: opacity 0.5s ease;
}
#swup-veil.is-on {
  opacity: 1;
  transition: opacity 0.18s ease;
}

/* ---- 全站背景：铺主页那一帧，内容页不再有白纸衬托 ---- */
html {
  background: #06080d;
}
body {
  background: transparent !important;
}
#site-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: #06080d url("/img/site-bg.jpg") center / cover no-repeat;
}
#site-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(6, 8, 13, 0.62) 0%,
    rgba(6, 8, 13, 0.38) 42%,
    rgba(6, 8, 13, 0.66) 100%
  );
}

/* 内容页：卡片改成玻璃片，浮在背景上 */
html:not(:has(#page-header.full_page)) #recent-posts .recent-post-item,
html:not(:has(#page-header.full_page)) .card-widget,
html:not(:has(#page-header.full_page)) #content-inner > #page,
html:not(:has(#page-header.full_page)) #archive,
html:not(:has(#page-header.full_page)) #post {
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.7) !important;
  backdrop-filter: blur(18px) saturate(1.1);
  -webkit-backdrop-filter: blur(18px) saturate(1.1);
  border: 1px solid rgba(255, 255, 255, 0.34);
  box-shadow: 0 12px 34px rgba(4, 6, 12, 0.18);
}

html[data-theme="dark"]:not(:has(#page-header.full_page)) #recent-posts .recent-post-item,
html[data-theme="dark"]:not(:has(#page-header.full_page)) .card-widget,
html[data-theme="dark"]:not(:has(#page-header.full_page)) #post {
  background: rgba(20, 23, 31, 0.72) !important;
  border-color: rgba(255, 255, 255, 0.08);
}

/* 顶部 banner 直接透明，让全站底图透上来，不留下那块深色方框 */
html:not(:has(#page-header.full_page)) #page-header,
html:not(:has(#page-header.full_page)) #page-header.post-bg {
  background: transparent !important;
}
html:not(:has(#page-header.full_page)) #page-header::before,
html:not(:has(#page-header.full_page)) #page-header.post-bg::before {
  background: transparent !important;
}

/* 文章页头部：强制透明，别用主题的浅蓝底 */
html:not(:has(#page-header.full_page)) #page-header.post-bg,
html:not(:has(#page-header.full_page)) #page-header {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
html:not(:has(#page-header.full_page)) #page-header.post-bg::before,
html:not(:has(#page-header.full_page)) #page-header.post-bg::after {
  display: none !important;
}

/* 换页时内容淡入淡出，背景（#site-bg）保持不动 */
#body-wrap {
  will-change: opacity;
}

/* ---- 首页卡片：标签做成小药丸，跟在分类后面 ---- */
#recent-posts .recent-post-info .article-meta.tags .fas.fa-tag {
  display: none;
}
#recent-posts .recent-post-info .article-meta.tags a.article-meta__tags {
  display: inline-block;
  margin: 0 3px 0 0;
  padding: 1px 8px;
  border-radius: 999px;
  background: rgba(120, 140, 200, 0.16);
  color: #5a6b93;
  font-size: 0.86em;
  line-height: 1.7;
}
html[data-theme="dark"] #recent-posts .recent-post-info .article-meta.tags a.article-meta__tags {
  background: rgba(150, 170, 230, 0.16);
  color: #a9b6d6;
}

/* ---- 首页卡片：标签挪到右下角 ---- */
#recent-posts .recent-post-info {
  position: relative;
}
#recent-posts .recent-post-info .content {
  margin-bottom: 26px;
}
.card-tags-bottom {
  position: absolute;
  right: 16px;
  bottom: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
  max-width: 60%;
}
.card-tags-bottom a.article-meta__tags {
  display: inline-block;
  padding: 1px 9px;
  border-radius: 999px;
  background: rgba(120, 140, 200, 0.16);
  color: #5a6b93;
  font-size: 12px;
  line-height: 1.8;
  transition: background-color 0.2s ease;
}
.card-tags-bottom a.article-meta__tags:hover {
  background: rgba(120, 140, 200, 0.3);
}
html[data-theme="dark"] .card-tags-bottom a.article-meta__tags {
  background: rgba(150, 170, 230, 0.16);
  color: #a9b6d6;
}

/* ---- 卡片标签：照参考站的样子，改成右下角的 #纯文字 ---- */
#recent-posts .recent-post-info .content {
  margin-bottom: 30px;
}
.card-tags-bottom {
  position: absolute;
  right: 18px;
  bottom: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
  max-width: 62%;
  font-size: 12.5px;
  line-height: 1.6;
  letter-spacing: 0.01em;
}
.card-tags-bottom a.article-meta__tags {
  padding: 0;
  border-radius: 0;
  background: none;
  color: rgba(78, 88, 112, 0.62);
  font-size: inherit;
}
.card-tags-bottom a.article-meta__tags:hover {
  background: none;
  color: #5a6b93;
  text-decoration: underline;
}
html[data-theme="dark"] .card-tags-bottom a.article-meta__tags {
  background: none;
  color: rgba(196, 205, 226, 0.55);
}
html[data-theme="dark"] .card-tags-bottom a.article-meta__tags:hover {
  color: #c9d4ec;
}

/* ---- 卡片标签改成"页脚一行"（照 fqzlr 的 moment-card__footer 结构） ---- */
#recent-posts .recent-post-info .content {
  margin-bottom: 0;
}
.card-tags-bottom {
  position: static;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
  margin-top: 14px;
  max-width: none;
  font-size: 12.5px;
  line-height: 1.6;
}

/* 卡片标签 hover 不要下划线，只轻微加深 */
.card-tags-bottom a.article-meta__tags:hover,
.card-tags-bottom a.article-meta__tags:focus {
  text-decoration: none;
  color: #6b7ba6;
}
html[data-theme="dark"] .card-tags-bottom a.article-meta__tags:hover {
  color: #b9c6e4;
}

/* ---- 全站字体：正文用霞鹜文楷 Screen，标题保持黑体 ---- */
body {
  font-family: 'LXGW WenKai Screen', -apple-system, BlinkMacSystemFont, 'Segoe UI',
    'PingFang SC', 'Microsoft YaHei', sans-serif;
}

#site-title,
#site-subtitle,
#nav,
#page-header #site-title,
#recent-posts .article-title,
.recent-post-info .article-title,
.post-title,
.card-widget .item-headline,
.card-nav-merge .item-headline,
#aside-content .card-info .author-info__name,
.post-content h1,
.post-content h2,
.post-content h3,
.post-content h4,
.post-content h5,
h1, h2, h3, h4, h5, h6 {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC',
    'Microsoft YaHei', sans-serif;
}

/* ---- 右栏小卡：此刻 / 一言 ---- */
.aw-card {
  position: relative;
}
.aw-card .item-headline {
  display: flex;
  align-items: center;
  gap: 8px;
}
.aw-card .item-headline span {
  flex: 1;
}
.aw-refresh {
  padding: 2px 10px;
  border: 1px solid rgba(120, 140, 200, 0.28);
  border-radius: 999px;
  background: transparent;
  color: rgba(78, 88, 112, 0.62);
  font-size: 11.5px;
  line-height: 1.7;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.aw-refresh:hover {
  background: rgba(120, 140, 200, 0.16);
  color: #5a6b93;
}
.aw-now {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  padding: 4px 2px 2px;
}
.aw-hi {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #33383f;
}
.aw-sub {
  margin-top: 2px;
  font-size: 12.5px;
  color: rgba(78, 88, 112, 0.66);
}
.aw-time {
  margin-top: 8px;
  font-size: 12px;
  color: rgba(78, 88, 112, 0.5);
}
.aw-time b {
  font-size: 15px;
  font-weight: 600;
  color: #3c4354;
  margin-right: 4px;
}
.aw-weather {
  text-align: right;
}
.aw-temp {
  font-size: 26px;
  font-weight: 600;
  line-height: 1.1;
  color: #3c4354;
}
.aw-desc {
  margin-top: 4px;
  font-size: 11.5px;
  color: rgba(78, 88, 112, 0.6);
  white-space: nowrap;
}
.aw-sentence {
  margin: 2px 0 8px;
  padding: 0;
  border: none;
  font-size: 14px;
  line-height: 1.95;
  color: #3c4354;
  text-indent: 0;
}
.aw-from {
  font-size: 12px;
  text-align: right;
  color: rgba(78, 88, 112, 0.55);
}
html[data-theme="dark"] .aw-hi,
html[data-theme="dark"] .aw-temp,
html[data-theme="dark"] .aw-time b,
html[data-theme="dark"] .aw-sentence {
  color: #dfe4ee;
}
html[data-theme="dark"] .aw-sub,
html[data-theme="dark"] .aw-desc,
html[data-theme="dark"] .aw-time,
html[data-theme="dark"] .aw-from {
  color: rgba(196, 205, 226, 0.6);
}

/* 此刻卡：两列顶部对齐，右边天气别被压到时间上 */
.aw-now {
  align-items: flex-start;
}
.aw-greet {
  min-width: 0;
}
.aw-weather {
  min-width: 88px;
  text-align: right;
  padding-top: 2px;
}
.aw-sub {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 一言：去掉主题引用块的底色与左侧竖线 */
.aw-sentence,
.aw-sentence::before,
.aw-sentence::after {
  background: none !important;
  border: none !important;
  content: none !important;
}
.aw-sentence {
  padding: 0 !important;
  text-align: left;
}

/* 竖版封面：卡片是横的，默认居中会把人脸裁掉，往上挪 */
#recent-posts .post_cover img.post-bg {
  object-position: center 12%;
}

/* ===== 字体分层（2026-12-04）=====
   正文：霞鹜文楷 Screen
   标题/导航/按钮/正文内小节标题：Zen Maru Gothic（圆体）
   代码：JetBrains Mono
*/
:root {
  --font-body: 'LXGW WenKai Screen', 'LXGW WenKai', -apple-system, 'Segoe UI', 'Microsoft YaHei', sans-serif;
  --font-round: 'Zen Maru Gothic', 'LXGW WenKai Screen', -apple-system, 'Segoe UI', 'Microsoft YaHei', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

body,
#article-container p,
#article-container li,
#article-container blockquote,
#article-container table {
  font-family: var(--font-body);
}

/* 站名、首屏标题、导航、按钮 */
#site-title,
#site-subtitle,
#nav,
#nav a,
.nav-button,
#pagination .page-number,
#card-toc,
#card-toc a,
#card-toc .toc-link,
.article-title,
.post-title,
#post-info .post-title,
.card-widget .item-headline,
#aside-content .card-info .author-info__name,
#aside-content .card-info .author-info__description,
#aside-content .card-info-data .headline {
  font-family: var(--font-round);
  letter-spacing: 0.01em;
}

/* 正文内的小节标题 */
#article-container h1,
#article-container h2,
#article-container h3,
#article-container h4,
#article-container h5,
#article-container h6 {
  font-family: var(--font-round);
  letter-spacing: 0.01em;
}

/* 代码 */
#article-container code,
#article-container kbd,
#article-container pre,
#article-container pre code,
#article-container .highlight,
#article-container .highlight *,
figure.highlight,
figure.highlight * {
  font-family: var(--font-mono) !important;
}
