/* ==========================================================================
   博客园自定义主题 · 第二版「纸感」
   参考：sunny11 的 SimpleMemory 皮肤布局（白底、左竖色条、窄边栏）
   用法：整段粘贴到 后台 → 设置 → 页面定制 CSS 代码
   前提：博客皮肤 Custom，勾选「禁用模板默认 CSS」
   ========================================================================== */

/* --------------------------------------------------------------------------
   ① 配置区
   -------------------------------------------------------------------------- */
:root {
  /* 背景图：白纸线稿，主色取图里的绿 */
  --cn-bg: url("https://images.cnblogs.com/cnblogs_com/blogs/877196/galleries/2531340/o_261105104541_BLACK_FILE_chn_02.jpg") right center / cover no-repeat fixed;
  --cn-bg-blur: 0px;
  --cn-veil: rgba(250, 250, 248, .55);   /* 背景上压一层暖白，压住画面反差 */

  --cn-accent: #2f7d32;        /* 主色：图里 FILE.02 的绿 */
  --cn-accent-2: #3f9c43;
  --cn-accent-soft: rgba(47, 125, 50, .10);

  --cn-ink: #1f2328;           /* 标题、正文 */
  --cn-text: #33383f;
  --cn-muted: #7b8087;         /* 摘要、meta */

  --cn-panel: transparent;                /* 主容器：透明，直接露背景 */
  --cn-panel-solid: #ffffff;
  --cn-side: transparent;                  /* 侧边栏卡片：透明 */
  --cn-line: #e9e7e2;          /* 分隔线 */
  --cn-line-strong: #dcd9d2;

  --cn-radius: 4px;            /* 纸感就别用大圆角 */
  --cn-width: 1160px;
  --cn-art: min(26vw, 440px);   /* 右侧插画占的宽度 */
  --cn-font: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", "Segoe UI", system-ui, sans-serif;
  --cn-serif: "Songti SC", "Noto Serif SC", Georgia, serif;
  --cn-mono: "JetBrains Mono", "Cascadia Code", Consolas, monospace;

  --cn-shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 8px 32px rgba(0, 0, 0, .06);
}

/* --------------------------------------------------------------------------
   ② 基础 + 背景
   -------------------------------------------------------------------------- */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--cn-font);
  font-size: 15px;
  line-height: 1.85;
  color: var(--cn-text);
  background: #fafaf8;
  -webkit-font-smoothing: antialiased;
}

/* 背景图是「左字右人」的版式，整张铺满会把画面里的字透到正文后面。
   所以只取右半部分做装饰层，左边缘用 mask 渐隐融进纸色。 */
/* 背景层：只取右侧一条，靠右对齐 = 把左边的 FILE.02 裁掉；
   透明度压到 .28，比正文浅得多，当水印用 */
body::before {
  content: "";
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: 45vw;
  z-index: -2;
  background: url("https://images.cnblogs.com/cnblogs_com/blogs/877196/galleries/2531340/o_261105104541_BLACK_FILE_chn_02.jpg") right center / auto 140% no-repeat;
  opacity: .26;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 28%);
  mask-image: linear-gradient(to right, transparent 0%, #000 28%);
}

/* 左边压一层纸色，保证正文区永远是干净的纸 */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to right,
    #fafaf8 0%, #fafaf8 42%, rgba(250, 250, 248, .55) 62%, rgba(250, 250, 248, .12) 85%, rgba(250, 250, 248, 0) 100%);
  pointer-events: none;
}

/* 手机端干脆不显示装饰，省得挤 */
@media (max-width: 900px) {
  body::before { display: none; }
  body::after { background: #fafaf8; }
}

a { color: var(--cn-accent); text-decoration: none; transition: color .18s; }
a:hover { color: var(--cn-accent-2); }

img { max-width: 100%; height: auto; }

h1, h2, h3, h4, h5, h6 { color: var(--cn-ink); font-weight: 600; line-height: 1.4; }

::selection { background: rgba(47, 125, 50, .18); }

::-webkit-scrollbar { width: 9px; height: 9px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #cfccc6; border-radius: 8px; border: 2px solid transparent; background-clip: content-box; }
::-webkit-scrollbar-thumb:hover { background: #b8b4ac; background-clip: content-box; }

.clear { clear: both; }

/* 全局导航条隐藏（禁用默认 CSS 后会散架） */
#top_nav { display: none !important; }

/* --------------------------------------------------------------------------
   ③ 外层容器
   -------------------------------------------------------------------------- */
#home {
  max-width: var(--cn-width);
  /* 往左靠：右边留给背景图 */
  margin: 40px 0 40px max(20px, 4vw);
  padding: 0 20px;
  background: none;
  border: none;
  box-shadow: none;
}

@media (max-width: 1360px) {
  #home { margin: 40px auto 32px; }
}



/* 主容器做成一张纸 */
#header, #navigator, #mainContent > .forFlow, #footer {
  background: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

/* --------------------------------------------------------------------------
   ④ 头部
   -------------------------------------------------------------------------- */
#header {
  padding: 0;
  border: none;
  box-shadow: none;
}

#blogTitle { padding-bottom: 26px; }

#blogTitle a#Header1_HeaderTitle {
  display: inline-block;
  font-size: 38px;
  font-weight: 700;
  letter-spacing: .5px;
  color: var(--cn-ink);
  line-height: 1.25;
}
#blogTitle a#Header1_HeaderTitle:hover { color: var(--cn-accent); }

#blogTitle h2 {
  margin: 12px 0 0;
  font-size: 14px;
  font-weight: 400;
  color: var(--cn-muted);
  letter-spacing: .3px;
}

#lnkBlogLogo { display: none; }

#blogTitle h1 { margin: 0; }

/* --------------------------------------------------------------------------
   ⑤ 导航（贴着头部下沿，一行纯文字）
   -------------------------------------------------------------------------- */
#header #navigator {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  margin: 26px 0 0;
  padding: 0;
  border-top: 1px solid var(--cn-line);
}

#header #navigator > #navList { flex: 0 1 auto; }

#navList {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

#navList li { margin: 0; }

#navList li a {
  display: inline-block;
  padding: 15px 16px;
  font-size: 14.5px;
  color: var(--cn-text);
  border-bottom: 2px solid transparent;
  transition: color .18s, border-color .18s;
}

#navList li a:hover,
#navList li a.active {
  color: var(--cn-accent);
  border-bottom-color: var(--cn-accent);
}

/* 统计行：靠右、灰色小字 */
.blogStats {
  margin: 0;
  padding: 6px 0 6px 16px;
  font-size: 12.5px;
  color: var(--cn-muted);
  margin-left: auto;
}
.blogStats a { color: var(--cn-muted); }

/* --------------------------------------------------------------------------
   ⑥ 主体布局
   -------------------------------------------------------------------------- */
#main {
  display: flex;
  flex-direction: row-reverse;   /* 侧边栏放左边 */
  align-items: flex-start;
  gap: 32px;
  padding: 0;
}

#mainContent { flex: 1 1 auto; min-width: 0; padding: 30px 0 10px; }

#sideBar {
  flex: 0 0 268px;
  width: 268px;
  padding: 30px 0 10px;
  position: sticky;
  top: 20px;
  align-self: flex-start;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
}

#sideBar::-webkit-scrollbar { width: 5px; }

/* --------------------------------------------------------------------------
   ⑦ 文章列表
   -------------------------------------------------------------------------- */
.forFlow { min-height: 120px; }

.day {
  position: relative;
  padding: 0 0 30px;
  margin-bottom: 30px;
  border-bottom: 1px solid var(--cn-line);
}

.day:last-of-type { border-bottom: none; }

/* 年月分组，弱化成小字 */
.dayTitle {
  margin-bottom: 14px;
  font-size: 12px;
  letter-spacing: 1px;
  color: var(--cn-muted);
}
.dayTitle a { color: var(--cn-muted); }
.dayTitle a:hover { color: var(--cn-accent); }

/* 文章标题 + 左侧竖条（SimpleMemory 的标志性元素） */
.postTitle {
  position: relative;
  margin: 0 0 12px;
  padding-left: 14px;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.55;
}

.postTitle::before {
  content: "";
  position: absolute;
  left: 0;
  top: .35em;
  bottom: .35em;
  width: 4px;
  border-radius: 2px;
  background: var(--cn-accent);
  opacity: .85;
  transition: opacity .2s, width .2s;
}

.day:hover .postTitle::before { opacity: 1; width: 5px; }

.postTitle a.postTitle2 { color: var(--cn-ink); }
.postTitle a.postTitle2:hover { color: var(--cn-accent); }

/* 摘要 */
.postCon { padding-left: 14px; color: var(--cn-muted); font-size: 14px; }
.c_b_p_desc { line-height: 1.9; }

.c_b_p_desc_readmore {
  color: var(--cn-accent) !important;
  border-bottom: 1px solid transparent;
}
.c_b_p_desc_readmore:hover { border-bottom-color: var(--cn-accent); }

/* meta 行 */
.postDesc {
  margin-top: 14px;
  padding-left: 14px;
  font-size: 12.5px;
  color: var(--cn-muted);
}
.postDesc a { color: var(--cn-muted); }
.postDesc .post-view-count,
.postDesc .post-comment-count,
.postDesc .post-digg-count { color: var(--cn-muted); }

.postSeparator { display: none; }

/* --------------------------------------------------------------------------
   ⑧ 文章详情
   -------------------------------------------------------------------------- */
.post { padding: 6px 0 20px; }

.post .postTitle {
  padding-left: 16px;
  margin-bottom: 24px;
  font-size: 28px;
  line-height: 1.4;
}

.postBody {
  font-size: 15.5px;
  line-height: 1.95;
  color: var(--cn-text);
}

.postBody p { margin: 1.1em 0; }

.postBody h1, .postBody h2, .postBody h3, .postBody h4 {
  margin: 1.9em 0 .8em;
  padding-left: 12px;
  border-left: 3px solid var(--cn-accent);
}
.postBody h1 { font-size: 25px; }
.postBody h2 { font-size: 22px; }
.postBody h3 { font-size: 18px; }
.postBody h4 { font-size: 16px; }

.postBody blockquote {
  margin: 1.4em 0;
  padding: 14px 20px;
  color: #4b5158;
  border-left: 3px solid var(--cn-accent);
  background: var(--cn-accent-soft);
}
.postBody blockquote p:first-child { margin-top: 0; }
.postBody blockquote p:last-child { margin-bottom: 0; }

.postBody hr { margin: 2.2em 0; border: none; border-top: 1px solid var(--cn-line); }

.postBody code {
  padding: 2px 6px;
  font-family: var(--cn-mono);
  font-size: 13px;
  color: #1f5c22;
  background: var(--cn-accent-soft);
  border-radius: 3px;
}

.postBody table {
  width: 100%;
  margin: 1.4em 0;
  border-collapse: collapse;
  font-size: 14px;
}
.postBody table th, .postBody table td { padding: 9px 13px; border: 1px solid var(--cn-line-strong); }
.postBody table th { background: #f6f5f2; color: var(--cn-ink); font-weight: 600; }

.postBody img {
  display: block;
  margin: 1.4em auto;
  border-radius: 3px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, .10);
}

.postBody a { border-bottom: 1px solid rgba(47, 125, 50, .35); }

/* --------------------------------------------------------------------------
   ⑨ 代码块
   -------------------------------------------------------------------------- */
.postBody pre,
.cnblogs-markdown pre {
  margin: 1.4em 0;
  padding: 18px 20px;
  overflow-x: auto;
  font-family: var(--cn-mono);
  font-size: 13px;
  line-height: 1.7;
  color: #e6e6e6;
  background: #26292e !important;
  border-radius: var(--cn-radius);
}

.postBody pre code { padding: 0; background: none; color: inherit; font-size: inherit; }

.hljs-comment, .hljs-quote { color: #8a9199; font-style: italic; }
.hljs-keyword, .hljs-selector-tag, .hljs-literal { color: #c678dd; }
.hljs-string, .hljs-doctag { color: #98c379; }
.hljs-number, .hljs-built_in { color: #d19a66; }
.hljs-title, .hljs-section, .hljs-name { color: #61afef; }
.hljs-attr, .hljs-attribute, .hljs-variable { color: #e5c07b; }

/* --------------------------------------------------------------------------
   ⑩ 侧边栏
   -------------------------------------------------------------------------- */
#sideBarMain > div {
  margin-bottom: 22px;
  background: none;
  border: none;
  border-radius: 0;
}

#sideBarMain .catListTitle {
  margin: 0;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--cn-ink);
  background: none;
  border-left: 3px solid var(--cn-accent);
  letter-spacing: .3px;
}

#sideBarMain .newsItem { padding-bottom: 4px; }

#blog-news.sidebar-news { padding: 14px; font-size: 13.5px; color: var(--cn-text); }
#sidebar_news_container { line-height: 1.8; }

#leftcontentcontainer, #sideBarMain > div:not(.newsItem) { padding-bottom: 10px; }

#sideBarMain ul { margin: 0; padding: 8px 6px; list-style: none; }
#sideBarMain ul li a {
  display: block;
  padding: 6px 10px;
  font-size: 13.5px;
  color: var(--cn-text);
  border-radius: 3px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: background .15s, color .15s;
}
#sideBarMain ul li a:hover { color: var(--cn-accent); background: var(--cn-accent-soft); }

/* 日历：不要 */
#blog-calendar { display: none !important; }
#blog-calendar table { width: 100%; border-collapse: collapse; }
#blog-calendar th, #blog-calendar td { padding: 4px 2px; text-align: center; color: var(--cn-muted); }
#blog-calendar td a { color: var(--cn-accent); font-weight: 600; }

/* 搜索框（SimpleMemory 有，博客园 Custom 皮肤没有，这里给侧边栏输入框兜个底） */
#sideBarMain input[type="text"] {
  width: calc(100% - 24px);
  margin: 12px;
  padding: 8px 12px;
  font-size: 13px;
  color: var(--cn-text);
  background: #fff;
  border: 1px solid var(--cn-line-strong);
  border-radius: var(--cn-radius);
}
#sideBarMain input[type="text"]:focus {
  outline: none;
  border-color: var(--cn-accent);
  box-shadow: 0 0 0 3px var(--cn-accent-soft);
}

/* --------------------------------------------------------------------------
   ⑪ 评论 / 分页
   -------------------------------------------------------------------------- */
.feedbackItem { padding: 14px 0; border-bottom: 1px solid var(--cn-line); }
.feedbackItem:last-child { border-bottom: none; }
.feedbackCon { font-size: 14px; color: var(--cn-text); }
.feedbackListSub .feedbackCon { color: var(--cn-muted); }

.comment_textarea, #tbCommentBody {
  width: 100%;
  padding: 12px 14px;
  font-family: var(--cn-font);
  font-size: 14px;
  color: var(--cn-text);
  background: #fff;
  border: 1px solid var(--cn-line-strong);
  border-radius: var(--cn-radius);
  resize: vertical;
}
.comment_textarea:focus, #tbCommentBody:focus {
  outline: none;
  border-color: var(--cn-accent);
  box-shadow: 0 0 0 3px var(--cn-accent-soft);
}

#btn_comment_submit, .comment_btn, input[type="button"], input[type="submit"] {
  padding: 8px 20px;
  font-family: var(--cn-font);
  font-size: 14px;
  color: #fff;
  background: var(--cn-accent);
  border: none;
  border-radius: var(--cn-radius);
  cursor: pointer;
  transition: background .18s;
}
#btn_comment_submit:hover, .comment_btn:hover,
input[type="button"]:hover, input[type="submit"]:hover { background: var(--cn-accent-2); }

.pager {
  margin: 10px 0 0;
  padding: 16px 0;
  text-align: center;
  border-top: 1px solid var(--cn-line);
}
.pager a, .pager span {
  display: inline-block;
  min-width: 32px;
  margin: 3px;
  padding: 5px 11px;
  font-size: 13px;
  color: var(--cn-text);
  border: 1px solid var(--cn-line-strong);
  border-radius: var(--cn-radius);
}
.pager a:hover { color: var(--cn-accent); border-color: var(--cn-accent); }
.pager span.current { color: #fff; background: var(--cn-accent); border-color: var(--cn-accent); }

/* --------------------------------------------------------------------------
   ⑫ 页脚
   -------------------------------------------------------------------------- */
#footer {
  margin-top: 0;
  padding: 22px 0 0;
  font-size: 12.5px;
  text-align: center;
  color: var(--cn-muted);
  border-top: 1px solid var(--cn-line);
}
#footer a { color: var(--cn-muted); }
#footer a:hover { color: var(--cn-accent); }
#footer img { display: inline-block; vertical-align: middle; height: 13px; }

/* --------------------------------------------------------------------------
   ⑬ 个人卡片（浅色版）
   -------------------------------------------------------------------------- */
.cn-profile { text-align: center; padding: 4px 0; }

.cn-profile .cn-avatar {
  width: 68px;
  height: 68px;
  margin: 0 auto 10px;
  padding: 2px;
  border-radius: 50%;
  background: var(--cn-accent);
}
.cn-profile .cn-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  background: #fff;
}

.cn-profile .cn-name { font-size: 16px; font-weight: 600; color: var(--cn-ink); }
.cn-profile .cn-bio { margin-top: 6px; font-size: 12.5px; line-height: 1.75; color: var(--cn-muted); }

.cn-profile .cn-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 5px;
  margin-top: 10px;
}
.cn-profile .cn-tags span {
  padding: 2px 9px;
  font-size: 11.5px;
  color: var(--cn-accent);
  background: var(--cn-accent-soft);
  border-radius: 2px;
}

.cn-profile .cn-stats {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--cn-line);
}
.cn-profile .cn-stats div { line-height: 1.3; }
.cn-profile .cn-stats b { display: block; font-size: 16px; color: var(--cn-ink); }
.cn-profile .cn-stats span { font-size: 11px; color: var(--cn-muted); }

.cn-profile .cn-links {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--cn-line);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
}
.cn-profile .cn-links a {
  padding: 3px 11px;
  font-size: 12px;
  color: var(--cn-text);
  border: 1px solid var(--cn-line-strong);
  border-radius: 2px;
  transition: all .18s;
}
.cn-profile .cn-links a:hover { color: #fff; background: var(--cn-accent); border-color: var(--cn-accent); }

/* 博客园自动追加的「昵称 / 园龄」 */
#blog-news { font-size: 13.5px; }

/* --------------------------------------------------------------------------
   ⑭ 响应式
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  #main { flex-direction: column; padding: 0 24px; }
  #sideBar {
    position: static;
    width: 100%;
    flex: 1 1 auto;
    max-height: none;
    overflow: visible;
    padding-top: 0;
  }
  #sideBarMain { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
  #sideBarMain > div { margin-bottom: 0; }
  #header { padding: 34px 24px 0; }
  #header #navigator { margin: 0 -24px; padding: 0 24px; }
  #footer { padding: 20px 24px; }
}

@media (max-width: 720px) {
  #home { padding: 20px 10px 30px; }
  #header { padding: 26px 18px 0; }
  #header #navigator { margin: 0 -18px; padding: 0 18px; }
  #blogTitle a#Header1_HeaderTitle { font-size: 26px; }
  #main { padding: 0 18px; }
  #mainContent { padding-top: 20px; }
  #navList li a { padding: 12px 10px; font-size: 14px; }
  .blogStats { width: 100%; margin-left: 0; padding: 0 0 10px; }
  .postTitle { font-size: 17px; }
  .post .postTitle { font-size: 22px; }
  .postBody { font-size: 15px; }
  #sideBarMain { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   ⑮ 动效 & 打印
   -------------------------------------------------------------------------- */
@keyframes cn-rise {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

#home { animation: cn-rise .45s ease both; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

@media print {
  body::before, body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to right,
    #fafaf8 0%, #fafaf8 42%, rgba(250, 250, 248, .55) 62%, rgba(250, 250, 248, .12) 85%, rgba(250, 250, 248, 0) 100%);
  pointer-events: none;
}
  #header, #navigator, #mainContent > .forFlow, #footer { background: none; border: none; box-shadow: none; backdrop-filter: none; }
  #navigator, #sideBar, #footer { display: none; }
}

/* --------------------------------------------------------------------------
   ⑯ 文章详情 · 尾部（分类/标签、四个按钮、作者卡、推荐、上一篇、评论）
      原版是博客园裸样式，跟这套纸感不搭，这里整体重做
   -------------------------------------------------------------------------- */
.post-meta-container {
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid var(--cn-line);
}

/* 分类 / 标签 / 免责声明 */
#BlogPostCategory, #EntryTag {
  font-size: 13px;
  color: var(--cn-muted);
  margin-bottom: 8px;
}
#BlogPostCategory a, #EntryTag a {
  color: var(--cn-accent);
  border-bottom: 1px dashed rgba(47, 125, 50, .40);
}
#BlogPostCategory a:hover, #EntryTag a:hover { border-bottom-style: solid; }

.post-meta-disclaimer {
  margin-top: 10px;
  font-size: 11.5px;
  line-height: 1.7;
  color: #a3a8ad;
}

/* 好文要顶 / 关注我 / 收藏该文 / 微信分享 */
#green_channel {
  display: flex !important;
  flex-wrap: wrap;
  gap: 8px;
  width: auto !important;
  max-width: none !important;
  margin: 22px 0 18px;
}
/* 博客园给这四个按钮写了 id 级样式，得用 !important 压过去 */
#blog_post_info #green_channel a,
#green_channel a#green_channel_digg,
#green_channel a#green_channel_follow,
#green_channel a#green_channel_favorite,
#green_channel a#green_channel_wechat {
  display: inline-block;
  margin: 0;
  padding: 6px 16px !important;
  font-size: 13px !important;
  line-height: 1.4 !important;
  color: var(--cn-accent) !important;
  background: var(--cn-accent-soft) !important;
  border: 1px solid rgba(47, 125, 50, .22) !important;
  border-radius: 2px !important;
  text-decoration: none !important;
  transition: all .18s;
}

#blog_post_info #green_channel a:hover,
#green_channel a#green_channel_digg:hover,
#green_channel a#green_channel_follow:hover,
#green_channel a#green_channel_favorite:hover,
#green_channel a#green_channel_wechat:hover {
  color: #fff !important;
  background: var(--cn-accent) !important;
  border-color: var(--cn-accent) !important;
}

/* 外面那圈虚线框也去掉 */
#green_channel {
  padding: 0 !important;
  border: none !important;
  background: none !important;
}

/* 作者卡 */
#author_profile {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 10px 0 10px 16px;
  background: none;
  border: none;
  border-left: 3px solid var(--cn-accent);
}
#author_profile_info { display: flex; align-items: center; gap: 12px; }

img.author_avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--cn-line-strong);
  object-fit: cover;
}

#author_profile_detail { font-size: 12.5px; color: var(--cn-muted); line-height: 1.7; }
#author_profile_detail > a:first-child { font-size: 14px; font-weight: 600; color: var(--cn-ink); }
#author_profile_follow { margin-left: auto; }
#author_profile_follow a {
  display: inline-block;
  padding: 4px 14px;
  font-size: 12.5px;
  color: #fff;
  background: var(--cn-accent);
  border-radius: 2px;
}
#author_profile_follow a:hover { color: #fff; background: var(--cn-accent-2); }

/* 推荐 / 反对 */
#div_digg { display: flex; gap: 10px; margin-top: 16px; }
#div_digg .diggit, #div_digg .buryit {
  width: 74px;
  padding: 8px 0;
  text-align: center;
  cursor: pointer;
  background: #fff;
  border: 1px solid var(--cn-line-strong);
  border-radius: 2px;
  transition: border-color .18s, background .18s;
}
#div_digg .diggit:hover { border-color: var(--cn-accent); background: var(--cn-accent-soft); }
#div_digg .diggnum { font-size: 16px; font-weight: 600; color: var(--cn-accent); }
#div_digg .burynum { font-size: 16px; font-weight: 600; color: var(--cn-muted); }
#div_digg .diggword { margin-top: 6px; font-size: 12px; color: var(--cn-muted); }

/* « 上一篇 */
#post_next_prev {
  margin-top: 18px;
  padding: 8px 0 8px 14px;
  font-size: 13px;
  color: var(--cn-muted);
  background: none;
  border: none;
  border-left: 2px solid var(--cn-line-strong);
}
#post_next_prev a { color: var(--cn-accent); }
.p_n_p_prefix { margin-right: 2px; }

/* 底部 meta 行 */
.post-meta-container + .postDesc { margin-top: 16px; }
.postDesc { padding-top: 14px; border-top: 1px dashed var(--cn-line); }

/* 评论区 */
#blog-comments-placeholder { margin-top: 26px; }
#comment_nav { margin: 16px 0; font-size: 12.5px; }
#comment_nav a { margin-left: 12px; color: var(--cn-muted); }
#comment_nav a:hover { color: var(--cn-accent); }
#comment_form_container {
  padding: 16px 0 0;
  background: none;
  border: none;
  border-top: 1px solid var(--cn-line);
}

/* --------------------------------------------------------------------------
   ⑰ 副标题：临时用 CSS 覆盖文字
   博客园那个原生输入框在当前环境点不进去（点不动、拿不到焦点），
   所以先用 CSS 顶上。两种改法：
   A. 想换文字 → 直接改下面 content: 里那句
   B. 想回正常流程 → 删掉这一段，去 后台→设置→基本设置→博客子标题 改
   -------------------------------------------------------------------------- */
#blogTitle h2 { font-size: 0 !important; }
#blogTitle h2::after {
  content: "银色的夜晚心中水面无波，琥珀色的微笑";
  font-size: 14px;
  font-weight: 400;
  color: var(--cn-muted);
  letter-spacing: .3px;
}

/* --------------------------------------------------------------------------
   ⑱ 兜底：博客园公共样式（blog-common.min.css）会给 .newsItem / 文章尾部
      塞浅灰底，这里统一压平，保证「完全露出背景」
   -------------------------------------------------------------------------- */
#sidebar_news,
#sidebar_news_container,
#blog-news,
.newsItem,
#sideBarMain > div,
#leftcontentcontainer,
#blog_post_info_block,
#blog_post_info {
  background: transparent !important;
  box-shadow: none !important;
}

#sideBarMain .catListTitle {
  background: transparent !important;
}

/* --------------------------------------------------------------------------
   ⑲ 桌宠（Live2D 看板娘）挪到右下
      它自身是 position:fixed; left:0; bottom:0，拖不动，只能改定位
   -------------------------------------------------------------------------- */
#live2d-widget,
#waifu {
  left: auto !important;
  right: 16px !important;
  bottom: 0 !important;
}

/* 右下角那个黄色的「看板娘」收起按钮，直接不要 */
#waifu-toggle {
  display: none !important;
}