/* 全局鼠标指针 */
body {
  cursor: url('https://blog-static.cnblogs.com/files/blogs/853695/bitbug_favicon.ico'), auto; /* 替换为你的ICO链接 */
}

/* 链接鼠标指针 */
a, a:visited {
  cursor: url('https://blog-static.cnblogs.com/files/blogs/853695/bitbug_favicon.ico'), auto; /* 可选：单独设置链接指针 */
}
/* 二次元风格公告栏容器 */
#sidebar_news {
  /* 萌系渐变背景 */
  background: linear-gradient(135deg, #ffe6f2 0%, #e6f2ff 100%);
  /* 圆角与可爱边框 */
  border-radius: 16px;
  border: 2px solid #ffb3d9;
  /* 内边距与阴影 */
  padding: 20px 15px;
  box-shadow: 0 5px 15px rgba(255, 179, 217, 0.3);
  /* 相对定位用于装饰元素 */
  position: relative;
  overflow: hidden;
}

/* 角落装饰元素 */
#sidebar_news::before, #sidebar_news::after {
  content: "✧";
  position: absolute;
  color: #ff80b3;
  font-size: 20px;
}

#sidebar_news::before {
  top: 10px;
  left: 10px;
}

#sidebar_news::after {
  bottom: 10px;
  right: 10px;
}

/* 公告栏标题 */
#sidebar_news h3 {
  /* 二次元标题样式 */
  color: #d64980;
  font-size: 19px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 18px;
  padding: 8px 0;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 10px;
  /* 文字阴影 */
  text-shadow: 1px 1px 2px rgba(255, 179, 217, 0.5);
}

/* 公告内容区域 */
#sidebar_news .catListNews {
  font-size: 14px;
  line-height: 1.8;
  color: #5a3d5c;
}

/* 列表项样式（气泡框） */
#sidebar_news li {
  background: rgba(255, 255, 255, 0.85);
  border-radius: 12px;
  padding: 10px 12px;
  margin-bottom: 12px;
  position: relative;
  /* 左侧小三角装饰 */
}

#sidebar_news li::before {
  content: "";
  position: absolute;
  left: -6px;
  top: 15px;
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-right: 8px solid rgba(255, 255, 255, 0.85);
  border-bottom: 6px solid transparent;
}

/* 图标与链接样式 */

#sidebar_news a {
  color: #a64ca6;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s;
}


/* 悬停动画效果 */
#sidebar_news:hover {
  transform: translateY(-3px) rotate(0.5deg);
  box-shadow: 0 8px 20px rgba(255, 179, 217, 0.4);
  transition: all 0.3s ease;
}

/* 日历样式 */
#blogCalendar {
    background-color: transparent;
    border: none;
}

#blogCalendar td {
    border: none;
}

#blogCalendar .CalToday {
    background-color: #ffcceb;
    color: #d64980;
    border-radius: 50%;
}

/* 标签云 */


/* 评论区样式 */
#comment_form_container, .feedbackItem {
    background-color: #fff;
    border-radius: 15px;
    border: 1px solid #ffcceb;
    padding: 20px;
    margin-bottom: 20px;
}

.feedbackListSubtitle {
    color: #d64980;
    border-bottom: 1px dashed #ffcceb;
    padding-bottom: 10px;
    margin-bottom: 15px;
}



/* 分页样式 */
.pager {
    text-align: center;
    margin: 30px 0;
}

.pager a {
    margin: 0 5px;
    display: inline-block;
}

/* 移动端适配 */
@media (max-width: 768px) {
    #mainContent .forFlow {
        padding-right: 0;
    }
    
    #sideBar {
        padding-left: 0;
        margin-top: 30px;
    }
    
    .day {
        margin: 0 10px 20px;
    }
    
    #blogTitle h1 {
        font-size: 24px;
    }
}
/* 滚动条美化 */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #fef0f7;
}

::-webkit-scrollbar-thumb {
    background: #ffcceb;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #ff99cc;
}

/* 顶部公告条 */
#topAlert {
    background-color: #fff0f7;
    border: 1px solid #ffcceb;
    color: #a64ca6;
}

/* 文章内图片样式 */
.postCon img {
    border-radius: 8px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
    max-width: 100%;
    transition: all 0.3s;
}

.postCon img:hover {
    transform: scale(1.02);
}
