/* ========== 全局变量定义（甜蜜风主色调） ========== */
:root {
  --main-pink: #ffb6c1;
  --accent-pink: #ff69b4;
  --hover-pink: #ff85a2;
  --soft-bg: rgba(255, 240, 245, 0.6);
}

/* ========== 页面背景 ========== */
body {
  background: url("https://i.hd-r.icu/e3a42227840b4a2dfb6563572eb3e8af.png") center left / cover no-repeat fixed;
  font-family: "微软雅黑", "宋体", Arial, sans-serif;
  cursor: url(https://files.cnblogs.com/files/wkfvawl/cursor.ico), auto;
}

/* ========== 主体容器 ========== */
#home {
  margin: 50px auto;
  width: 80%;
  min-width: 980px;
  background-color: var(--soft-bg);
  padding: 30px;
  box-shadow: 0 4px 10px rgba(255, 182, 193, 0.3);
  border-radius: 16px;
}

/* ========== 博客标题区域 ========== */
#blogTitle {
  height: 100px;
  background-color: rgba(255, 182, 193, 0.3);
  border-radius: 16px;
  clear: both;
}
#blogTitle h1 {
  font-size: 36px;
  color: var(--accent-pink);
  font-weight: bold;
  line-height: 1.8em;
  margin-top: 10px;
  font-family: "Comic Sans MS", cursive, sans-serif;
}
#blogTitle h2 {
  font-size: 17px;
  line-height: 1.8;
  color: var(--accent-pink);
  font-weight: bold;
  text-align: right;
  float: right;
}

/* ========== 导航栏 ========== */
#navigator {
  border-radius: 7px;
  background-color: rgba(255, 192, 203, 0.6);
}
#navList a:link,
#navList a:visited,
#navList a:active {
  color: white;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease-in-out;
}
#navList a:hover {
  color: var(--hover-pink);
}

/* ========== 文章标题 ========== */
.postTitle {
  border-left: 8px solid rgba(132, 112, 255, 0);
  margin: 10px 0 10px 10px;
  font-size: 20px;
  float: right;
  width: 100%;
  clear: both;
}
.postTitle a:link,
.postTitle a:visited,
.postTitle a:active {
  color: var(--accent-pink);
  transition: all 0.4s linear;
}
.postTitle a:hover {
  margin-left: 20px;
  color: var(--hover-pink);
  text-decoration: none;
}

/* ========== 文章内容区域 ========== */
.postCon {
  float: right;
  line-height: 1.5em;
  width: 100%;
  clear: both;
  padding: 10px 0;
}
.day {
  background: var(--soft-bg);
}

/* ========== 文章信息 ========== */
.postDesc {
  background: url(images/posted_time.png) no-repeat 0 1px;
  color: #757575;
  float: left;
  width: 100%;
  clear: both;
  text-align: left;
  font-size: 13px;
  padding-right: 20px;
  margin-top: 20px;
  line-height: 1.8;
  padding-bottom: 35px;
}

/* ========== 侧边栏和附加模块 ========== */
.newsItem, .catListEssay, .catListLink, .catListNoteBook, .catListTag,
.catListPostCategory, .catListPostArchive, .catListImageCategory,
.catListArticleArchive, .catListView, .catListFeedback, .mySearch,
.catListComment, .catListBlogRank, .catList, .catListArticleCategory,
#blog-calendar, #topics, .entrylist {
  background: var(--soft-bg);
  margin-bottom: 35px;
  word-wrap: break-word;
}
.catListTitle {
  background-color: rgba(255, 110, 180, 0.6);
}
.CalTitle,
.CalNextPrev,
.cnblogs_code,
.cnblogs_code div,
.cnblogs_code_toolbar,
#q {
  background: rgba(255, 255, 255, 0);
}

/* ========== 评论框 ========== */
#tbCommentBody {
  width: 100%;
  height: 200px;
  background: var(--soft-bg);
}

/* ========== 点赞组件 ========== */
#div_digg {
  padding: 5px;
  border-radius: 5px;
  position: fixed;
  left: 0;
  bottom: 80px;
  width: 80px;
  z-index: 100;
}
.diggit {
  background: url(https://images2017.cnblogs.com/blog/894443/201709/894443-20170920105433618-867225449.png) no-repeat;
  width: 60px;
  height: 60px;
}
#div_digg .diggnum {
  position: absolute;
  bottom: -20px;
  left: 6px;
  background: #d0d0d0;
  padding: 2px 0;
  display: block;
  color: #555;
  font-size: 12px;
  text-align: center;
  width: 60px;
  border-radius: 4px;
  font-weight: bold;
}
.buryit {
  display: none;
}

/* ========== 返回顶部按钮 ========== */
#back-to-top {
  background-color: var(--main-pink);
  bottom: 0;
  box-shadow: 0 0 6px #bdc3c7;
  color: white;
  padding: 10px;
  position: fixed;
  right: 50px;
  cursor: pointer;
  border-radius: 30px;
  transition: background-color 0.3s;
}
#back-to-top:hover {
  background-color: var(--hover-pink);
}

/* ========== 最小宽度限制 ========== */
#main {
  min-width: 640px;
}

.c_ad_block {
  display: none;
}