/* =========================================================
   博客美化方案：深海蓝 + 留白 + 圆角卡片
   配色：
     开屏深色 #0E2A66 | 主色 #2F6FD0 | 浅蓝点缀 #4B8BEA
     页面背景 #F3F7FD | 正文深色 #14264A
   ========================================================= */

/* ---------- 1. 全局配色与留白 ---------- */
:root {
  --global-bg: #F3F7FD;
  --font-color: #14264A;
  --text-highlight-color: #14264A;
  --card-bg: #FFFFFF;
  --sidebar-bg: #EAF2FC;
  --card-box-shadow: 0 4px 16px rgba(47, 111, 208, .06);
  --card-hover-box-shadow: 0 12px 28px rgba(47, 111, 208, .14);
  --text-secondary: #5B6B88;
  --text-muted: #8A98B3;
  --card-border: #DCE7F8;
  --hover-primary: #1F4FA8;
  --chip-bg: #EAF2FD;
}

body {
  background: var(--global-bg);
}

/* ---------- 2. 文章卡片：紧凑化 + 分类色条 + 悬停上浮 ---------- */
#recent-posts .recent-post-item {
  --cat-bar: #2F6FD0;
  --cat-bg: #E6F0FD;
  --cat-text: #1F4FA8;
  position: relative;
  display: block;
  height: auto;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid #DCE7F8;
  background: #FFFFFF;
  box-shadow: 0 4px 16px rgba(47, 111, 208, .08);
  margin-bottom: 16px;
  transition: transform .2s ease, box-shadow .2s ease;
}

#recent-posts .recent-post-item::before {
  content: '';
  position: absolute;
  top: 16px;
  bottom: 16px;
  left: 0;
  width: 3px;
  border-radius: 2px;
  background: var(--cat-bar);
  transition: width .2s ease;
}

#recent-posts .recent-post-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(47, 111, 208, .16);
}

#recent-posts .recent-post-item:hover::before {
  width: 4px;
}

/* 分类色条与胶囊按一级分类区分（子分类链接同样包含父路径） */
#recent-posts .recent-post-item:has(a[href*="/categories/%E7%AE%97%E6%B3%95/"]) {
  --cat-bar: #2F6FD0;
  --cat-bg: #E6F0FD;
  --cat-text: #1F4FA8;
}

#recent-posts .recent-post-item:has(a[href*="/categories/%E9%A1%B9%E7%9B%AE%E5%AE%9E%E6%88%98/"]) {
  --cat-bar: #0E8FB3;
  --cat-bg: #E3F4F8;
  --cat-text: #0E6F8C;
}

#recent-posts .recent-post-item:has(a[href*="/categories/%E5%90%8E%E7%AB%AF%E7%AD%91%E5%9F%BA/"]) {
  --cat-bar: #5B6FD8;
  --cat-bg: #ECEEFB;
  --cat-text: #3A49A6;
}

#recent-posts .recent-post-item:has(a[href*="/categories/%E5%8D%9A%E5%AE%A2%E5%BB%BA%E8%AE%BE/"]) {
  --cat-bar: #6B8BB8;
  --cat-bg: #EDF2F8;
  --cat-text: #4A6489;
}

/* 卡片内容：元信息行 / 标题 / 摘要 / 标签，四层纵向结构 */
#recent-posts .recent-post-item > .recent-post-info {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  width: 100%;
  padding: 18px 24px 16px 30px;
}

/* 元信息容器透明化：分类、日期、标签成为网格项 */
#recent-posts .article-meta-wrap {
  display: contents;
}

/* 第 1 层：一级分类 / 二级分类 · 日期 */
#recent-posts .article-meta-wrap .article-meta:not(.tags) {
  order: 1;
  display: inline-flex;
  align-items: center;
  gap: 0;
  margin: 0;
  font-size: 12px;
  line-height: 1.6;
}

#recent-posts .article-meta-wrap .article-meta:not(.tags) .article-meta__categories {
  display: inline;
  padding: 0;
  border-radius: 0;
  background: none;
  color: #8A98B3;
  font-size: 12px;
  line-height: inherit;
}

#recent-posts .article-meta-wrap .article-meta:not(.tags) .article-meta__categories:first-of-type {
  color: var(--cat-bar);
}

#recent-posts .article-meta-wrap .article-meta:not(.tags) .article-meta__categories:nth-of-type(2)::before {
  content: '\00a0/\00a0';
  color: #8A98B3;
}

#recent-posts .article-meta-wrap .post-meta-date {
  order: 2;
  margin: 0;
  color: #8A98B3;
  font-size: 12px;
  line-height: 1.6;
  white-space: nowrap;
}

#recent-posts .article-meta-wrap .post-meta-date::before {
  content: '\00a0·\00a0';
  color: #8A98B3;
}

#recent-posts .article-meta-wrap .post-meta-date .article-meta-label {
  display: none;
}

#recent-posts .article-meta-wrap .article-meta-separator,
#recent-posts .article-meta-wrap .article-meta-link,
#recent-posts .article-meta-wrap i {
  display: none;
}

/* 无分类时日期独占一行（防御性处理） */
#recent-posts .recent-post-item:not(:has(.article-meta__categories)) .post-meta-date {
  flex: 0 0 100%;
}

#recent-posts .recent-post-item:not(:has(.article-meta__categories)) .post-meta-date::before {
  content: '';
}

/* 第 2 层：标题 */
#recent-posts .recent-post-item .recent-post-info > .article-title {
  order: 3;
  flex: 0 0 100%;
  margin: 8px 0 0;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.45;
  color: #14264A;
}

#recent-posts .recent-post-item .recent-post-info > .article-title:hover {
  color: #2F6FD0;
}

/* 第 3 层：摘要，两行截断 */
#recent-posts .content {
  order: 4;
  flex: 0 0 100%;
  margin: 8px 0 0;
  overflow: hidden;
  font-size: 13px;
  line-height: 1.7;
  color: #5B6B88;
  -webkit-line-clamp: 2;
}

/* 第 4 层：弱化标签行，仅显示前三个 */
#recent-posts .article-meta.tags {
  position: static;
  order: 5;
  flex: 0 0 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 12px 0 0;
  font-size: 12px;
  line-height: 1.6;
}

#recent-posts .article-meta.tags .article-meta__tags {
  display: inline;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  color: #8A98B3;
  font-size: 12px;
  line-height: 1.6;
}

#recent-posts .article-meta.tags .article-meta__tags::before {
  content: '#';
}

#recent-posts .article-meta.tags .article-meta__tags:nth-of-type(n + 4) {
  display: none;
}

#recent-posts .article-meta.tags .article-meta__tags:hover {
  background: none;
  color: #5B6B88;
}

/* ---------- 3. 开屏：深蓝到亮蓝斜向渐变 + 圆环与符号装饰 ---------- */
#page-header.full_page {
  background:
    radial-gradient(circle at 84% 18%, rgba(255, 255, 255, .12) 0 56px, rgba(255, 255, 255, 0) 58px),
    radial-gradient(circle at 84% 18%, rgba(255, 255, 255, .07) 0 94px, rgba(255, 255, 255, 0) 96px),
    radial-gradient(circle at 10% 76%, rgba(255, 255, 255, .10) 0 72px, rgba(255, 255, 255, 0) 74px),
    radial-gradient(circle at 94% 84%, rgba(255, 255, 255, .07) 0 30px, rgba(255, 255, 255, 0) 32px),
    linear-gradient(135deg, #0E2A66 0%, #2F6FD0 58%, #4B8BEA 100%);
}

#site-title {
  letter-spacing: .08em;
}

/* 淡淡的 </> 与 { } 装饰符号 */
#site-info {
  z-index: 1;
}

#site-info::before,
#site-info::after {
  position: absolute;
  z-index: -1;
  color: rgba(255, 255, 255, .10);
  font-family: Consolas, Menlo, monospace;
  font-weight: 700;
  pointer-events: none;
}

#site-info::before {
  content: '</>';
  top: -74px;
  left: 12%;
  font-size: 118px;
  transform: rotate(-8deg);
}

#site-info::after {
  content: '{ }';
  right: 13%;
  bottom: -96px;
  font-size: 108px;
  transform: rotate(6deg);
}

/* 技术栈小胶囊 */
#site-subtitle::after {
  content: 'Java · Spring Boot · Redis · MySQL';
  display: block;
  width: max-content;
  margin: 18px auto 0;
  padding: 5px 18px;
  border: 1px solid rgba(255, 255, 255, .32);
  border-radius: 999px;
  background: rgba(255, 255, 255, .12);
  color: rgba(255, 255, 255, .92);
  font-size: .55em;
  letter-spacing: .08em;
  line-height: 1.8;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

/* ---------- 4. 导航栏：滚动后变半透明磨砂白 ---------- */
#page-header.nav-fixed #nav,
#page-header.nav-visible #nav,
#page-header.not-top-img #nav {
  background: rgba(255, 255, 255, .62);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  backdrop-filter: blur(18px) saturate(180%);
  box-shadow: 0 2px 14px rgba(20, 38, 74, .10);
}

#page-header.nav-fixed #nav a:hover,
#page-header.nav-fixed #nav span.site-page:hover,
#page-header.nav-fixed #nav #toggle-menu:hover {
  color: #2F6FD0;
}

/* ---------- 5. 侧边栏：头像浅蓝描边、按钮胶囊主色 ---------- */
.card-info .avatar-img {
  box-shadow: 0 0 0 3px #DCE9FB, 0 0 0 6px rgba(75, 139, 234, .28);
}

#card-info-btn {
  border-radius: 999px;
  background: #2F6FD0;
  color: #FFFFFF;
  box-shadow: 0 4px 10px rgba(47, 111, 208, .25);
}

#card-info-btn:hover {
  background: #4B8BEA;
  color: #FFFFFF;
}

/* ---------- 6. 文章页：标题区沿用开屏渐变、目录高亮、二级标题竖线 ---------- */
#page-header.post-bg {
  background: linear-gradient(135deg, #0E2A66 0%, #2F6FD0 60%, #4B8BEA 100%);
}

#aside-content .toc-link:hover {
  color: #2F6FD0;
}

#aside-content .toc-link.active {
  background: #2F6FD0;
  color: #FFFFFF;
}

#article-container h2 {
  padding-left: 14px;
  border-left: 4px solid #2F6FD0;
}

/* ---------- 7. 代码块：工具栏深蓝灰，与整体统一 ---------- */
:root {
  --hltools-bg: #22304E;
  --hltools-color: #B7C7E8;
}

[data-theme='dark'] {
  --hltools-bg: #22304E;
  --hltools-color: #B7C7E8;
}

/* ---------- 8. 页脚：深蓝纯色，与开屏首尾呼应 ---------- */
#footer {
  background: #0E2A66;
}

#footer a:hover {
  color: #7FB0F5;
}

/* ---------- 9. 小屏适配：装饰符号缩小 ---------- */
@media screen and (max-width: 768px) {
  #site-info::before {
    top: -48px;
    left: 5%;
    font-size: 64px;
  }

  #site-info::after {
    right: 7%;
    bottom: -62px;
    font-size: 58px;
  }
}

/* =========================================================
   v2：侧栏统一、标签云、分类树、分页、悬浮按钮、首页导航区
   ========================================================= */

/* ---------- 10. 侧栏卡片统一与图标配色 ---------- */
#aside-content .card-widget {
  border: 1px solid #DCE7F8;
  border-radius: 14px;
  background: #FFFFFF;
  box-shadow: 0 4px 16px rgba(47, 111, 208, .08);
}

#aside-content .card-widget .item-headline i {
  color: #2F6FD0;
}

/* 标签云：浅蓝小胶囊，统一字号 */
.card-tags .card-tag-cloud {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
}

.card-tags .card-tag-cloud a {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 999px;
  background: #EAF2FD;
  color: #2F6FD0 !important;
  font-size: 12px !important;
  line-height: 1.7;
}

.card-tags .card-tag-cloud a:hover {
  background: #2F6FD0;
  color: #FFFFFF !important;
}

/* 侧栏分类树：当前项高亮 */
.card-category-list-link {
  border-radius: 8px;
}

.card-category-list-link.current {
  background: #E6F0FD;
  color: #1F4FA8 !important;
}

/* ---------- 11. 分页：36px 圆形 ---------- */
#pagination .pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

#pagination .page-number,
#pagination .extend {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin: 0;
  padding: 0;
  border: 1px solid #DCE7F8;
  border-radius: 50%;
  background: #FFFFFF;
  color: #5B6B88;
  line-height: 1;
  transition: all .2s;
}

#pagination .page-number:hover,
#pagination .extend:hover {
  border-color: #2F6FD0;
  color: #2F6FD0;
}

#pagination .page-number.current {
  border-color: #2F6FD0;
  background: #2F6FD0;
  color: #FFFFFF;
}

#pagination .space {
  margin: 0 4px;
  color: #8A98B3;
}

/* ---------- 12. 右下角悬浮按钮：36px 圆形主色 ---------- */
#rightside > div > button {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #2F6FD0;
  color: #FFFFFF;
  box-shadow: 0 2px 8px rgba(47, 111, 208, .25);
  transition: background .2s;
}

#rightside > div > button:hover {
  background: #1F4FA8;
}

/* ---------- 13. 首页导航区（插入在文章列表上方） ---------- */
/* 主栏与侧栏顶部对齐 */
#content-inner.layout {
  align-items: flex-start;
}

/* 覆盖主题对 #nav 导航栏的样式（本文件晚于主题样式加载） */
#recent-posts > #nav {
  position: static;
  top: auto;
  z-index: auto;
  display: block;
  width: auto;
  height: auto;
  margin: 0 0 8px;
  padding: 0;
  opacity: 1;
  font-size: inherit;
  scroll-margin-top: 78px;
}

#recent-posts > #nav .nav-section-title {
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 500;
  color: #14264A;
}

#recent-posts > #nav .nav-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

#recent-posts > #nav .nav-card {
  position: relative;
  display: block;
  overflow: hidden;
  padding: 12px 14px 12px 18px;
  border: 1px solid #DCE7F8;
  border-radius: 14px;
  background: #FFFFFF;
  color: #14264A;
  box-shadow: 0 4px 16px rgba(47, 111, 208, .08);
  transition: transform .2s ease, box-shadow .2s ease;
}

#recent-posts > #nav .nav-card::before {
  content: '';
  position: absolute;
  top: 12px;
  bottom: 12px;
  left: 0;
  width: 3px;
  border-radius: 2px;
  background: var(--nav-bar, #2F6FD0);
  transition: width .2s ease;
}

#recent-posts > #nav .nav-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(47, 111, 208, .16);
  color: #14264A;
}

#recent-posts > #nav .nav-card:hover::before {
  width: 4px;
}

#recent-posts > #nav .nav-card-main {
  position: absolute;
  z-index: 1;
  inset: 0;
}

#recent-posts > #nav .nav-card-title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: #14264A;
}

#recent-posts > #nav .nav-card-title i {
  font-size: 13px;
  color: var(--nav-bar, #2F6FD0);
}

#recent-posts > #nav .nav-card-desc {
  margin: 2px 0 8px;
  font-size: 12px;
  color: #5B6B88;
}

#recent-posts > #nav .nav-card-chips,
.nav-cat-chips {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

#recent-posts > #nav .nav-chip,
.nav-cat-chips .nav-chip {
  display: inline-block;
  padding: 1px 10px;
  border-radius: 999px;
  background: var(--nav-chip-bg, #EAF2FD);
  color: var(--nav-chip-text, #1F4FA8);
  font-size: 11px;
  line-height: 1.8;
}

a.nav-chip:hover {
  opacity: .85;
  text-decoration: none;
}

/* 最新文章标题行 */
.nav-posts-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  width: 100%;
  margin: 20px 0 12px;
}

.nav-posts-head .nav-posts-title {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: #14264A;
}

.nav-posts-head .nav-posts-more {
  flex-shrink: 0;
  white-space: nowrap;
  font-size: 12px;
  color: #2F6FD0;
}

.nav-posts-head .nav-posts-more:hover {
  color: #1F4FA8;
}

/* ---------- 14. 分类页顶部子分类胶囊 ---------- */
.nav-cat-chips {
  flex-wrap: nowrap;
  overflow-x: auto;
  width: 100%;
  margin: 0 0 20px;
  padding: 14px 18px;
  border: 1px solid #DCE7F8;
  border-radius: 14px;
  background: #FFFFFF;
  box-shadow: 0 4px 16px rgba(47, 111, 208, .08);
}

.nav-cat-chips .nav-chip {
  background: #EAF2FD;
  color: #2F6FD0;
  font-size: 11px;
}

.nav-cat-chips .nav-chip.active {
  background: #2F6FD0;
  color: #FFFFFF;
}

/* 分类总览页（/categories/）的子分类胶囊 */
.category-lists .category-list {
  margin: 8px 0;
  padding-left: 0;
}

.category-lists .category-list-item {
  margin: 8px 0;
}

.category-lists .category-list-link {
  display: inline-block;
  margin-right: 6px;
  padding: 3px 14px;
  border-radius: 999px;
  background: #EAF2FD;
  color: #2F6FD0;
}

.category-lists .category-list-link:hover {
  color: #1F4FA8;
}

.category-lists .category-list-count {
  color: #8A98B3;
}

.category-lists .category-list-child {
  margin: 6px 0 0 10px;
  padding-left: 18px;
  border-left: 2px solid #EAF2FD;
}

.category-lists .category-list-child .category-list-link {
  padding: 2px 12px;
  background: #F3F7FD;
  color: #5B6B88;
  font-size: .9em;
}

/* ---------- 15. 小屏适配 ---------- */
@media screen and (max-width: 768px) {
  #recent-posts > #nav .nav-grid {
    grid-template-columns: 1fr;
  }

  .nav-cat-chips {
    flex-wrap: wrap;
    padding: 12px 14px;
  }

  .nav-posts-head {
    margin-top: 16px;
  }
}

/* =========================================================
   16. 暗色模式适配（沿用主题 data-theme 切换，不引入 JS）
   ========================================================= */
[data-theme='dark'] {
  --global-bg: #121212;
  --font-color: rgba(255, 255, 255, .86);
  --text-highlight-color: rgba(255, 255, 255, .92);
  --card-bg: #1B1B1F;
  --sidebar-bg: #1B1B1F;
  --card-box-shadow: 0 4px 16px rgba(0, 0, 0, .35);
  --card-hover-box-shadow: 0 12px 28px rgba(0, 0, 0, .45);
  --text-secondary: rgba(255, 255, 255, .62);
  --text-muted: rgba(255, 255, 255, .42);
  --card-border: #2A2E38;
  --hover-primary: #7BA8EE;
  --chip-bg: rgba(75, 139, 234, .16);
}

/* 文章卡片 */
[data-theme='dark'] #recent-posts .recent-post-item {
  border-color: #2A2E38;
  background: #1B1B1F;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .35);
}

[data-theme='dark'] #recent-posts .recent-post-item:hover {
  box-shadow: 0 10px 24px rgba(0, 0, 0, .5);
}

[data-theme='dark'] #recent-posts .article-meta-wrap .article-meta:not(.tags) .article-meta__categories:not(:first-of-type) {
  color: rgba(255, 255, 255, .42);
}

[data-theme='dark'] #recent-posts .article-meta-wrap .article-meta:not(.tags) .article-meta__categories:nth-of-type(2)::before,
[data-theme='dark'] #recent-posts .article-meta-wrap .post-meta-date,
[data-theme='dark'] #recent-posts .article-meta-wrap .post-meta-date::before {
  color: rgba(255, 255, 255, .42);
}

[data-theme='dark'] #recent-posts .recent-post-item .recent-post-info > .article-title {
  color: rgba(255, 255, 255, .92);
}

[data-theme='dark'] #recent-posts .recent-post-item .recent-post-info > .article-title:hover {
  color: #7BA8EE;
}

[data-theme='dark'] #recent-posts .content {
  color: rgba(255, 255, 255, .62);
}

[data-theme='dark'] #recent-posts .article-meta.tags .article-meta__tags {
  color: rgba(255, 255, 255, .42);
}

[data-theme='dark'] #recent-posts .article-meta.tags .article-meta__tags:hover {
  color: rgba(255, 255, 255, .62);
}

/* 首页导航区 */
[data-theme='dark'] #recent-posts > #nav .nav-section-title,
[data-theme='dark'] #recent-posts > #nav .nav-card-title {
  color: rgba(255, 255, 255, .92);
}

[data-theme='dark'] #recent-posts > #nav .nav-card {
  border-color: #2A2E38;
  background: #1B1B1F;
  color: rgba(255, 255, 255, .86);
  box-shadow: 0 4px 16px rgba(0, 0, 0, .35);
}

[data-theme='dark'] #recent-posts > #nav .nav-card:hover {
  box-shadow: 0 10px 24px rgba(0, 0, 0, .5);
  color: rgba(255, 255, 255, .86);
}

[data-theme='dark'] #recent-posts > #nav .nav-card-desc {
  color: rgba(255, 255, 255, .62);
}

[data-theme='dark'] #recent-posts > #nav .nav-chip {
  background: rgba(255, 255, 255, .08) !important;
  color: #9FBFF5 !important;
}

[data-theme='dark'] .nav-posts-head .nav-posts-title {
  color: rgba(255, 255, 255, .92);
}

[data-theme='dark'] .nav-posts-head .nav-posts-more {
  color: #7BA8EE;
}

[data-theme='dark'] .nav-posts-head .nav-posts-more:hover {
  color: #9FC0F7;
}

/* 分类页子分类胶囊栏 */
[data-theme='dark'] .nav-cat-chips {
  border-color: #2A2E38;
  background: #1B1B1F;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .35);
}

[data-theme='dark'] .nav-cat-chips .nav-chip {
  background: rgba(75, 139, 234, .16);
  color: #7BA8EE;
}

[data-theme='dark'] .nav-cat-chips .nav-chip.active {
  background: #2F6FD0;
  color: #FFFFFF;
}

/* 侧栏 */
[data-theme='dark'] #aside-content .card-widget {
  border-color: #2A2E38;
  background: #1B1B1F;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .35);
}

[data-theme='dark'] #aside-content .card-widget .item-headline i {
  color: #7BA8EE;
}

[data-theme='dark'] .card-info .avatar-img {
  box-shadow: 0 0 0 3px #2A2E38, 0 0 0 6px rgba(75, 139, 234, .35);
}

[data-theme='dark'] .card-category-list-link.current {
  background: rgba(47, 111, 208, .28);
  color: #7BA8EE !important;
}

[data-theme='dark'] .card-tags .card-tag-cloud a {
  background: rgba(75, 139, 234, .16);
  color: #7BA8EE !important;
}

[data-theme='dark'] .card-tags .card-tag-cloud a:hover {
  background: #2F6FD0;
  color: #FFFFFF !important;
}

/* 分页 */
[data-theme='dark'] #pagination .page-number,
[data-theme='dark'] #pagination .extend {
  border-color: #2A2E38;
  background: #1B1B1F;
  color: rgba(255, 255, 255, .62);
}

[data-theme='dark'] #pagination .page-number:hover,
[data-theme='dark'] #pagination .extend:hover {
  border-color: #7BA8EE;
  color: #7BA8EE;
}

[data-theme='dark'] #pagination .page-number.current {
  border-color: #2F6FD0;
  background: #2F6FD0;
  color: #FFFFFF;
}

[data-theme='dark'] #pagination .space {
  color: rgba(255, 255, 255, .42);
}

/* 右下悬浮按钮 */
[data-theme='dark'] #rightside > div > button:hover {
  background: #4B8BEA;
}

/* 滚动后的磨砂导航 */
[data-theme='dark'] #page-header.nav-fixed #nav,
[data-theme='dark'] #page-header.nav-visible #nav,
[data-theme='dark'] #page-header.not-top-img #nav {
  background: rgba(18, 18, 18, .62);
  box-shadow: 0 2px 14px rgba(0, 0, 0, .4);
}

[data-theme='dark'] #page-header.nav-fixed #nav a:hover,
[data-theme='dark'] #page-header.nav-fixed #nav span.site-page:hover,
[data-theme='dark'] #page-header.nav-fixed #nav #toggle-menu:hover {
  color: #7BA8EE;
}

/* 文章页目录与分类总览页 */
[data-theme='dark'] #aside-content .toc-link:hover {
  color: #7BA8EE;
}

[data-theme='dark'] .category-lists .category-list-link {
  background: rgba(75, 139, 234, .16);
  color: #7BA8EE;
}

[data-theme='dark'] .category-lists .category-list-link:hover {
  color: #9FC0F7;
}

[data-theme='dark'] .category-lists .category-list-count {
  color: rgba(255, 255, 255, .42);
}

[data-theme='dark'] .category-lists .category-list-child {
  border-left-color: #2A2E38;
}

[data-theme='dark'] .category-lists .category-list-child .category-list-link {
  background: rgba(255, 255, 255, .06);
  color: rgba(255, 255, 255, .62);
}
