a, a:hover,.menu li a:hover,.menu li.on a,.menu li .subnav a:hover:after,.menu li .subnav a.on,.menu li.subcate:hover a,.menu li.subcate:hover .subnav a:hover,.menu li.subcate:hover .subnav a.on,.menu li.subcate:hover .subnav a.on:after,.sch-m input,.sch-m button:after,.schfixed input,.schclose,.schform input,.schform button:after,.post h2 a:hover,.post h2 .istop:before,.post .user a:hover,.post .date a:hover,.post .cate a:hover,.post .views a:hover,.post .cmtnum a:hover,.post .readmore:hover,.post .readmore:hover:after,.post .tags a:hover,.pages a:hover,a.backlist:hover,.cmtsfoot .reply:hover,.cmtsfoot .reply:hover:before,.cmtsubmit button:hover,.cmtsubmit button:hover:before,.sidebox dd a:hover,#divTags ul li a:hover,#divCalendar td a,#divCalendar #today,#divContorPanel .cp-login a:hover,#divContorPanel .cp-vrs a:hover,#divContorPanel .cp-login a:hover:before,#divContorPanel .cp-vrs a:hover:before,.footer a:hover,.goback:hover,.goback:hover:after,.relateinfo h3 a:hover { color:#1B1420; }@media screen and (max-width:1080px){.menu ul li.subcate.slidedown > a:after {color:#1B1420}}.menu li:before,.schfixed button,.pagebar .now-page,.cmtpagebar .now-page,.pagebar a:hover,.cmtpagebar a:hover,a.backtotop {background:#1B1420}.menuico span {background-color:#1B1420}.menu li .subnav,.schfixed {border-top-color:#1B1420}.menu li.subcate .subnav a {color:#333}.menu li .subnav:before,.sch-m input,.schfixed:before,.schform input,.single h1:after,.single h2:after,.single h3:after,.single h4:after,.single h5:after,.single h6:after,.contitle h1,.contitle h2 {border-bottom-color:#1B1420}.post .readmore:hover,.post .tags a:hover,.pagebar .now-page,.cmtpagebar .now-page,.pagebar a:hover,.cmtpagebar a:hover,a.backlist:hover,.cmtsubmit button:hover,#divTags ul li a:hover,#divCalendar td a,#divContorPanel .cp-login a:hover,#divContorPanel .cp-vrs a:hover,.goback:hover {border-color:#1B1420}.wrapper { background:#F4EEE3; }<style>
/* ========== 墨金夜色 · 个人博客主题 ========== */
:root{
  --ink:      #1B1420;  /* 主色：侧栏/标题/品牌 */
  --paper:    #F4EEE3;  /* 背景：宣纸米白 */
  --gold:     #C9A45C;  /* 强调金：链接/标签/装饰线 */
  --cinnabar: #B4452F;  /* 朱砂：重点点缀、悬停 */
  --text:     #2B2622;  /* 正文 */
  --muted:    #8A8078;  /* 次要文字 */
  --line:     #E5DCCB;  /* 分隔线 */
  --card:     #FFFFFF;  /* 卡片底 */
  --radius:   14px;
}

/* —— 基础 —— */
body{
  background: var(--paper);
  color: var(--text);
  font-family: -apple-system, "PingFang SC", "Microsoft YaHei", "Noto Serif SC", serif;
  line-height: 1.85;
  letter-spacing: .02em;
}

/* 标题：衬线 + 底部一道短金线，形成固定记忆点 */
h1,h2,h3{
  color: var(--ink);
  font-family: "Noto Serif SC", "Songti SC", Georgia, serif;
  letter-spacing: .04em;
}
h2{ position: relative; padding-bottom: .4em; }
h2::after{
  content:"";
  position:absolute; left:0; bottom:0;
  width:48px; height:3px;
  background: linear-gradient(90deg, var(--gold), transparent);
  border-radius:2px;
}

/* —— 链接：默认淡金，悬停朱砂 + 下划线滑动 —— */
a{
  color: var(--gold);
  text-decoration: none;
  background-image: linear-gradient(var(--cinnabar), var(--cinnabar));
  background-size: 0% 1.5px;
  background-repeat: no-repeat;
  background-position: 0 100%;
  transition: background-size .3s ease, color .3s ease;
}
a:hover{
  color: var(--cinnabar);
  background-size: 100% 1.5px;
}

/* —— 卡片/文章容器：米白纸感 + 柔阴影 —— */
.post, .card, article{
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 30px;
  box-shadow: 0 6px 20px rgba(27,20,32,.07);
  transition: transform .3s ease, box-shadow .3s ease;
}
.post:hover, .card:hover, article:hover{
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(27,20,32,.12);
}

/* —— 引用块：左侧朱砂细条 —— */
blockquote{
  margin: 1.5em 0;
  padding: 12px 20px;
  border-left: 3px solid var(--gold);
  background: rgba(201,164,92,.08);
  color: var(--muted);
  border-radius: 0 var(--radius) var(--radius) 0;
}

/* —— 行内代码 / 代码块 —— */
code{
  background: rgba(27,20,32,.06);
  color: var(--cinnabar);
  padding: 2px 6px;
  border-radius: 5px;
  font-size: .9em;
}
pre{
  background: var(--ink);
  color: #EDE6D6;
  padding: 18px;
  border-radius: var(--radius);
  overflow-x: auto;
}
pre code{ background: transparent; color: inherit; }

/* —— 图片：统一圆角 + 轻阴影 —— */
img{
  border-radius: var(--radius);
  box-shadow: 0 4px 14px rgba(27,20,32,.12);
}

/* —— 按钮 / 标签：墨底金字，悬停反色 —— */
button, .btn, .tag{
  background: var(--ink);
  color: var(--gold);
  border: 1px solid var(--ink);
  border-radius: 999px;
  padding: 8px 18px;
  transition: all .3s ease;
}
button:hover, .btn:hover, .tag:hover{
  background: var(--gold);
  color: var(--ink);
}

/* —— 文字选中色（访问者划词时看到的颜色，小细节最显用心）—— */
::selection{
  background: var(--gold);
  color: var(--ink);
}

/* —— 滚动条：跟主题统一 —— */
::-webkit-scrollbar{ width: 10px; }
::-webkit-scrollbar-track{ background: var(--paper); }
::-webkit-scrollbar-thumb{ background: var(--gold); border-radius: 8px; }
::-webkit-scrollbar-thumb:hover{ background: var(--cinnabar); }
</style>