/* 删除全屏欢迎首页 */
#page-header.full_page {
  display: none !important;
}


/* ========== 1.美化滚动条 ========== */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: rgba(73, 177, 245, 0.15);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background: #49B1F5;
  border-radius: 10px;
}

[data-theme="dark"]::-webkit-scrollbar-thumb {
  background: #258cdb;
}

/* ========== 2.文章正文样式调整 ========== */
#article-container {
  font-size: 16px;
  line-height: 1.85;
}

/* ========== 3.侧边卡片圆角+悬浮阴影 ========== */
#aside-content .card-widget {
  border-radius: 14px;
  transition: 0.3s;
}

#aside-content .card-widget:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

[data-theme="dark"] #aside-content .card-widget:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

/* ========== 4.链接颜色，亮/暗模式分别设置 ========== */
:root {
  --butterfly-link-color: #2563eb;
}

[data-theme="dark"] {
  --butterfly-link-color: #60a5fa;
}

/* ========== 5.首页文章卡片hover上浮动画 ========== */
#recent-posts>.recent-post-item {
  transition: all 0.3s ease;
  border-radius: 12px;
}

#recent-posts>.recent-post-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.07);
}

/* ========== 6.选中文字颜色 ========== */
::selection {
  background: #49B1F5;
  color: #fff;
}