/* ============================================
   SimpleMemory 禁用默认CSS - 完整自建样式
   ============================================ */

* { box-sizing: border-box; }
html, body, #home { margin: 0; padding: 0; }

body {
  background: #0d0d0d;
  color: #d0d0d0;
  font-family: "Microsoft YaHei","PingFang SC",sans-serif;
  font-size: 14px;
  line-height: 1.6;
}

#home {
  background: #0d0d0d;
  position: relative;
}

#home::before {
  content: '';
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: url('https://images.cnblogs.com/cnblogs_com/blogs/872870/galleries/2518382/o_260705131553_preview.jpg') center center / cover no-repeat;
  opacity: 0.06;
  z-index: 0;
  pointer-events: none;
}

/* ---- 头部 ---- */
#header {
  background: rgba(13,13,13,0.92);
  border-bottom: 1px solid rgba(232,192,138,0.06);
  padding: 16px 30px;
  height: auto;
  position: relative;
  z-index: 100;
}

#blogTitle h1 { margin: 0; }
#blogTitle h1 a {
  color: #e8c08a;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 1px;
  text-decoration: none;
}
#blogTitle h2 { display: none; }

#navigator {
  background: transparent;
  height: auto;
  margin-top: 10px;
}

#navList {
  list-style: none;
  margin: 0;
  padding: 0;
}

#navList li {
  display: inline-block;
  margin-right: 24px;
}

#navList a {
  color: #bbb;
  font-size: 13px;
  text-decoration: none;
  transition: color 0.3s ease;
}

#navList a:hover { color: #e8c08a; }

#blog_stats {
  color: #666;
  font-size: 12px;
  margin-top: 8px;
}

#blog_stats span { color: #888; }

/* ---- 两栏布局 ---- */
#main {
  max-width: 1200px;
  margin: 20px auto;
  padding: 0 20px;
  position: relative;
  z-index: 10;
}

#mainContent {
  float: left;
  width: calc(100% - 290px);
  background: #1c1c1e;
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: 10px;
  padding: 20px;
}

#sideBar {
  float: right;
  width: 270px;
}

#main::after {
  content: '';
  display: block;
  clear: both;
}

/* ---- 文章卡片（浅色） ---- */
.day {
  background: #eaeaea;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 8px;
  padding: 18px 20px;
  margin-bottom: 14px;
  transition: background 0.3s ease;
}

.day:hover { background: #f0f0f0; }

.dayTitle {
  color: #888;
  font-size: 12px;
  margin-bottom: 8px;
}

.dayTitle a { color: #888; text-decoration: none; }

.postTitle { margin: 0 0 10px; }

.postTitle a {
  color: #1a1a1c;
  font-size: 18px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.3s ease;
}

.postTitle a:hover { color: #b07030; }

.postCon { color: #555; font-size: 13px; line-height: 1.8; margin-top: 8px; }
.postCon a { color: #b07030; text-decoration: none; }
.c_b_p_desc { color: #666; }
.c_b_p_desc_readmore { color: #b07030; }

.postDesc {
  color: #888;
  font-size: 12px;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(0,0,0,0.06);
}

.postDesc a { color: #999; text-decoration: none; transition: color 0.3s ease; }
.postDesc a:hover { color: #b07030; }

/* ---- 分页 ---- */
.topicListFooter { text-align: center; margin-top: 24px; }

.pager a, .Pager a {
  display: inline-block;
  padding: 6px 14px;
  margin: 0 3px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 6px;
  color: #aaa;
  font-size: 13px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.pager a:hover {
  background: rgba(232,192,138,0.1);
  border-color: rgba(232,192,138,0.25);
  color: #e8c08a;
}

/* ---- 侧边栏（深暗色） ---- */
#sideBar .newsItem,
#sideBarMain > div,
#custom-sidebar > div {
  background: #141416;
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: 8px;
  padding: 14px;
  margin-bottom: 12px;
}

#sideBar h3 {
  color: #c8a870;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1px;
  margin: 0 0 10px;
  padding: 0 0 8px;
  border-bottom: 1px solid rgba(232,192,138,0.1);
}

#sideBar h3 a { color: #c8a870; text-decoration: none; }
#sideBar a { color: #aaa; text-decoration: none; font-size: 13px; line-height: 2; transition: color 0.25s ease; }
#sideBar a:hover { color: #e8c08a; }
#sideBar ul, #sideBar ol { list-style: none; padding: 0; margin: 0; }
#sideBar li { margin: 1px 0; }

#sidebar_shortcut,
#sidebar_imagecategory,
#sidebar_search,
#sidebar_scorerank,
#blogCalendar {
  display: none !important;
}

/* ---- 公告 ---- */
#blog-news {
  background: #141416;
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: 8px;
  padding: 14px;
  margin-bottom: 12px;
}

body.post-page #blog-news,
body.post-page #profile_block {
  display: none;
}

#profile_block {
  background: rgba(232,192,138,0.03);
  border-radius: 6px;
  padding: 10px;
  margin-top: 8px;
  color: #888;
  font-size: 12px;
  line-height: 2;
}

#profile_block a { color: #e8c08a; }

/* ---- 页脚渐变 ---- */
#footer {
  background: linear-gradient(to bottom, #1c1c1e, #0d0d0d);
  border-top: 1px solid rgba(255,255,255,0.04);
  color: #555;
  font-size: 12px;
  padding: 25px 20px;
  text-align: center;
  clear: both;
}

#footer a { color: #666; text-decoration: none; }
#footer a:hover { color: #e8c08a; }

/* ---- 文章详情页 ---- */
#topics {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
}

#topics .postTitle {
  text-align: center;
  font-size: 26px;
  margin-bottom: 10px;
  border: none;
}

#topics .postTitle a { color: #e8e0d8; font-size: 26px; text-decoration: none; }
#topics .postDesc { text-align: center; color: #555; font-size: 12px; margin-bottom: 30px; border: none; }

.post {
  background: rgba(28,28,30,0.5);
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: 10px;
  padding: 30px;
}

.postBody { color: #bbb; font-size: 15px; line-height: 1.9; }
.postBody h1, .postBody h2 { color: #e8e0d8; border-bottom: 1px solid rgba(232,192,138,0.2); padding-bottom: 8px; }
.postBody h3 { color: #c8a870; }
.postBody a { color: #e8c08a; text-decoration: none; }
.postBody code { background: rgba(232,192,138,0.08); color: #e8c08a; padding: 2px 8px; border-radius: 4px; font-size: 13px; }
.postBody pre { background: rgba(0,0,0,0.35); border: 1px solid rgba(255,255,255,0.04); border-radius: 8px; padding: 16px; }
.postBody blockquote { background: rgba(232,192,138,0.03); border-left: 2px solid rgba(232,192,138,0.3); padding: 14px 18px; color: #999; }

#blog-comments-placeholder { max-width: 900px; margin: 30px auto 0; padding: 0 20px; }
.feedbackItem { background: #141416; border: 1px solid rgba(255,255,255,0.04); border-radius: 8px; padding: 14px; margin-bottom: 10px; }
.feedbackCon, .blog_comment_body { color: #bbb; font-size: 14px; line-height: 1.8; }

#div_digg { background: #141416; border: 1px solid rgba(255,255,255,0.04); border-radius: 8px; padding: 10px; }
.diggit { background: rgba(232,192,138,0.1); border: 1px solid rgba(232,192,138,0.2); color: #e8c08a; }
.buryit { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08); color: #777; }

#sidebar_toptags ul li a {
  display: inline-block;
  padding: 3px 10px;
  margin: 3px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 12px;
  font-size: 12px;
  color: #999;
  text-decoration: none;
  transition: all 0.3s ease;
}

#sidebar_toptags ul li a:hover {
  background: rgba(232,192,138,0.08);
  border-color: rgba(232,192,138,0.2);
  color: #e8c08a;
}

input[type="text"], textarea, select {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(232,192,138,0.1);
  border-radius: 5px;
  color: #ddd;
  padding: 8px 12px;
  font-size: 13px;
  font-family: inherit;
}

input[type="button"], input[type="submit"] {
  background: rgba(232,192,138,0.12);
  border: 1px solid rgba(232,192,138,0.22);
  color: #e8c08a;
  padding: 8px 18px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 13px;
  transition: all 0.3s ease;
}

input[type="button"]:hover { background: rgba(232,192,138,0.22); }

#back-to-top {
  background: rgba(232,192,138,0.12);
  border: 1px solid rgba(232,192,138,0.25);
  color: #e8c08a;
  border-radius: 50%;
  width: 40px; height: 40px;
  line-height: 40px;
  text-align: center;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
}

#back-to-top:hover { background: rgba(232,192,138,0.22); }

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: rgba(10,10,10,0.5); }
::-webkit-scrollbar-thumb { background: rgba(232,192,138,0.2); border-radius: 3px; }

.fancybox-overlay, .fancybox-wrap, #cboxOverlay, #colorbox { display: none !important; }
.post img, .postBody img { cursor: default; }