/* 首页全屏 Banner */
.page-home #header {
  height: 100vh !important;
  min-height: 100vh !important;
}

/* banner 区域图片隐藏，用全局固定背景代替 */
#header > img,
#header > picture {
  display: none !important;
}

/* 标题绝对居中 */
.page-home #header-title {
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  margin: 0 !important;
  width: auto !important;
  max-width: 90%;
}

.page-home #header-title h1 {
  font-size: 3rem !important;
  letter-spacing: 4px;
  text-shadow: 0 3px 20px rgba(0, 0, 0, 0.6);
}

.page-home #header-title #subtitle-wrap {
  margin-top: 0.5rem;
}

.page-home #header-title #subtitle,
.page-home #header-title #subtitle span {
  font-size: 1.15rem !important;
  letter-spacing: 1px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}

/* 向下箭头 */
.page-home #header::after {
  content: '';
  position: absolute;
  bottom: 32px;
  left: 50%;
  width: 18px;
  height: 18px;
  border-right: 2.5px solid rgba(255, 255, 255, 0.75);
  border-bottom: 2.5px solid rgba(255, 255, 255, 0.75);
  transform: translateX(-50%) rotate(45deg);
  animation: scrollArrow 1.5s ease-in-out infinite;
  z-index: 3;
  pointer-events: none;
}

@keyframes scrollArrow {
  0%, 100% { bottom: 32px; opacity: 0.7; }
  50% { bottom: 24px; opacity: 1; }
}

/* ========================================
   隐藏/替换所有太极图标
   ======================================== */

/* 导航菜单太极图标 → 隐藏 */
.main-nav-icon {
  display: none !important;
}

/* 侧边栏菜单太极图标 → 隐藏 */
.sidebar-menu-icon {
  display: none !important;
}

/* 页脚太极分隔符 → 用竖线代替 */
.footer-info-sep {
  background: none !important;
  -webkit-mask: none !important;
  mask: none !important;
  width: auto !important;
  height: auto !important;
  animation: none !important;
}
.footer-info-sep::before {
  content: '|';
  margin: 0 6px;
}

/* 回到顶部按钮太极 → 箭头 */
.sidebar-top-taichi {
  display: none !important;
}
.sidebar-top .arrow-up {
  display: block !important;
}

/* 预加载太极图标 → 简洁 spinner */
.loading-taichi svg {
  display: none !important;
}
.loading-taichi::after {
  content: '';
  display: block;
  width: 40px;
  height: 40px;
  border: 3px solid rgba(255, 255, 255, 0.2);
  border-top-color: #10B981;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ========================================
   顶栏：去背景，菜单靠右
   ======================================== */

/* 导航条去掉背景和阴影 */
#header-nav {
  background: transparent !important;
  box-shadow: none !important;
}

/* 导航菜单靠右 */
#main-nav {
  justify-content: flex-end !important;
  width: 100%;
  padding-right: 20px;
}

/* 链接白色（在 banner 图上） */
.page-home #main-nav .main-nav-link {
  color: rgba(255, 255, 255, 0.9) !important;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.page-home #main-nav .main-nav-link-wrap:hover .main-nav-link {
  color: #fff !important;
}

/* 非首页悬浮时加毛玻璃背景 */
#header-nav:hover {
  background: rgba(255, 255, 255, 0.85) !important;
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
}

/* 首页悬浮保持透明 */
.page-home #header-nav:hover {
  background: rgba(0, 0, 0, 0.15) !important;
}

/* RSS 按钮也靠右，白色 */
.page-home #sub-nav .nav-icon {
  color: rgba(255, 255, 255, 0.8) !important;
}

/* ========================================
   全局背景固定 + 透明效果
   ======================================== */

/* 全局背景图固定 */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: url('/images/banner.webp') center / cover no-repeat;
  z-index: -1;
}

/* 主体容器透明 */
body,
#container,
#wrap,
#content {
  background: transparent !important;
}

/* ========================================
   文章卡片美化
   ======================================== */
.post-wrap {
  background: rgba(255, 255, 255, 0.78) !important;
  backdrop-filter: blur(14px) saturate(180%);
  -webkit-backdrop-filter: blur(14px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.45) !important;
  border-radius: 16px !important;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  padding: 0 !important;
  margin-bottom: 20px !important;
}

.post-wrap:hover {
  background: rgba(255, 255, 255, 0.92) !important;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.1), 0 4px 12px rgba(0, 0, 0, 0.05);
  transform: translateY(-5px);
  border-color: rgba(16, 185, 129, 0.3) !important;
}

/* 封面图 */
.post-cover {
  overflow: hidden;
  border-radius: 12px !important;
  margin: 12px !important;
}

.post-cover img {
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1) !important;
  border-radius: 12px !important;
}

.post-wrap:hover .post-cover img {
  transform: scale(1.05);
}

/* 文章信息区 */
.post-info {
  padding: 16px 20px 20px !important;
}

/* 置顶标签 */
.post-sticky {
  background: linear-gradient(135deg, #10B981, #34D399) !important;
  color: #fff !important;
  border-radius: 0 0 8px 0 !important;
  padding: 3px 12px !important;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1px;
  border: none !important;
}

/* 文章标题 */
.post-title {
  font-weight: 700 !important;
  font-size: 1.3rem !important;
  margin-bottom: 6px !important;
  line-height: 1.4;
  color: #111827 !important;
}

[data-theme="dark"] .post-title {
  color: #F1F5F9 !important;
}

[data-theme="dark"] .post-meta,
[data-theme="dark"] .post-meta span {
  color: #94A3B8 !important;
}

[data-theme="dark"] .post-article {
  color: #CBD5E1 !important;
}

/* 文章元信息 */
.post-meta {
  font-size: 0.82rem !important;
  color: #4B5563 !important;
  margin-bottom: 8px !important;
}

.post-meta span {
  margin-right: 12px;
  color: #4B5563 !important;
}

/* 文章摘要 */
.post-article {
  font-size: 0.92rem;
  line-height: 1.7;
  color: #1F2937 !important;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 阅读全文链接 */
.post-wrap .post-info a[href]:last-child {
  color: var(--red-1, #10B981) !important;
  font-weight: 500;
  font-size: 0.88rem;
}

/* 文章卡片内的标签/分类 */
.post-wrap .post-info .post-category,
.post-wrap .post-info .post-tag {
  background: rgba(16, 185, 129, 0.08);
  color: var(--red-1, #10B981) !important;
  border-radius: 6px;
  padding: 2px 8px;
  font-size: 0.78rem;
  transition: all 0.2s;
}

.post-wrap .post-info .post-category:hover,
.post-wrap .post-info .post-tag:hover {
  background: var(--red-1, #10B981);
  color: #fff !important;
}

/* 分页器美化 */
#page-nav {
  margin-top: 20px !important;
}

#page-nav .page-number {
  border-radius: 8px !important;
  transition: all 0.2s ease;
}

#page-nav .page-number.current {
  background: var(--red-1, #10B981) !important;
  border-color: var(--red-1, #10B981) !important;
}

/* 暗色模式卡片 */
[data-theme="dark"] .post-wrap {
  background: rgba(25, 25, 35, 0.78) !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
}

[data-theme="dark"] .post-wrap:hover {
  background: rgba(35, 35, 50, 0.92) !important;
  border-color: rgba(52, 211, 153, 0.3) !important;
}

[data-theme="dark"] .post-sticky {
  background: linear-gradient(135deg, #059669, #10B981) !important;
}

/* 侧边栏半透明 */
.sidebar-wrap,
.sidebar-wrapper,
.widget-wrap {
  background: rgba(255, 255, 255, 0.75) !important;
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 12px;
}

/* 分页器透明 */
#page-nav {
  background: transparent !important;
}

/* 文章详情页半透明 */
.article-wrap {
  background: rgba(255, 255, 255, 0.78) !important;
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 12px;
}

/* 页脚半透明 */
#footer {
  background: rgba(255, 255, 255, 0.6) !important;
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  border-top: 1px solid rgba(255, 255, 255, 0.3);
}

/* APlayer 播放器半透明 */
.aplayer {
  background: rgba(255, 255, 255, 0.75) !important;
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 12px;
}

/* 暗色模式 */
[data-theme="dark"] .post-wrap,
[data-theme="dark"] .sidebar-wrap,
[data-theme="dark"] .sidebar-wrapper,
[data-theme="dark"] .widget-wrap,
[data-theme="dark"] .article-wrap,
[data-theme="dark"] .aplayer {
  background: rgba(25, 25, 35, 0.75) !important;
  border-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] #footer {
  background: rgba(25, 25, 35, 0.6) !important;
  border-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .post-wrap:hover {
  background: rgba(35, 35, 50, 0.88) !important;
}

/* 滚动条透明轨道 */
::-webkit-scrollbar-track {
  background: transparent;
}

/* ========================================
   侧边栏资料卡菜单美化
   ======================================== */

/* 菜单项去掉方框边框，改为圆角卡片 */
.sidebar-menu-link-wrap {
  border: none !important;
  background: rgba(255, 255, 255, 0.5) !important;
  backdrop-filter: blur(8px);
  border-radius: 8px !important;
  margin-bottom: 6px !important;
  padding: 8px 16px !important;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.sidebar-menu-link-wrap:hover {
  background: rgba(16, 185, 129, 0.12) !important;
  transform: translateX(4px);
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.15);
}

.sidebar-menu-link {
  color: var(--red-1, #10B981) !important;
  font-weight: 500;
  font-size: 0.9rem;
}

.sidebar-menu-link-wrap:hover .sidebar-menu-link {
  color: var(--red-0, #059669) !important;
}

/* 资料卡整体美化 */
.sidebar-author {
  padding-bottom: 12px;
}

.sidebar-author img {
  border-radius: 50% !important;
  border: 3px solid var(--red-2, #34D399) !important;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
  transition: transform 0.5s ease;
}

.sidebar-author img:hover {
  transform: rotate(360deg);
}

.sidebar-author-name {
  font-weight: 700 !important;
  margin-top: 8px;
}

/* 统计数字美化 */
.sidebar-state {
  border-radius: 8px;
  overflow: hidden;
}

.sidebar-state-number {
  font-weight: 700;
  color: var(--red-1, #10B981) !important;
}

/* 社交图标美化 */
.sidebar-social-icon a {
  transition: all 0.3s ease;
}

.sidebar-social-icon a:hover {
  transform: translateY(-3px);
}

/* ========================================
   回到顶部按钮 → 银月狐狸图标
   ======================================== */

/* 隐藏默认箭头 */
.sidebar-top .arrow-up {
  display: none !important;
}

/* 用自定义图片替代 */
.sidebar-top {
  background: transparent !important;
  box-shadow: none !important;
  width: 50px !important;
  height: 50px !important;
  overflow: visible !important;
}

.sidebar-top::before {
  content: '';
  display: block;
  width: 50px;
  height: 50px;
  background: url('/img/fox-icon.webp') center / cover no-repeat;
  border-radius: 50%;
  cursor: pointer;
  transition: transform 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.sidebar-top:hover::before {
  transform: scale(1.15) translateY(-3px);
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
}

/* ========================================
   全站字体：霞鹜文楷
   ======================================== */
body,
.post-title,
.post-article,
.post-meta,
.sidebar-menu-link,
.sidebar-author-name,
.sidebar-description,
.widget-title,
#header-title h1,
#subtitle,
#subtitle span,
#footer-info,
.main-nav-link {
  font-family: 'LXGW WenKai Lite', 'LXGW WenKai Light', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
}

/* ========================================
   丰富配色 — 参考 GitHub Dark Colorblind
   ======================================== */

/* 卡片背景 */
.post-wrap {
  background: rgba(22, 27, 34, 0.82) !important;
  border-color: rgba(48, 54, 61, 0.6) !important;
}

.post-wrap:hover {
  background: rgba(30, 37, 46, 0.92) !important;
  border-color: rgba(16, 185, 129, 0.4) !important;
}

/* 文章标题 — 亮白 */
.post-title {
  color: #E6EDF3 !important;
}

/* 日期 — 青蓝色 */
.post-meta .icon-calendar,
.post-meta .icon-calendar + *,
.post-meta .icon-calendar-plus,
.post-meta .icon-calendar-plus + * {
  color: #58A6FF !important;
}

/* 字数 — 紫色 */
.post-meta .icon-pencil,
.post-meta .icon-pencil + * {
  color: #D2A8FF !important;
}

/* 阅读时间 — 橙色 */
.post-meta .icon-clock,
.post-meta .icon-clock + * {
  color: #FFA657 !important;
}

/* 分类 — 粉色 */
.post-meta .icon-folder,
.post-meta .icon-folder + * {
  color: #F778BA !important;
}

/* 默认元信息 */
.post-meta,
.post-meta span {
  color: #8B949E !important;
}

/* 摘要正文 — 浅灰白 */
.post-article {
  color: #C9D1D9 !important;
}

/* 标签 — 绿色药丸 */
.post-wrap .post-info .post-category {
  background: rgba(247, 120, 186, 0.12) !important;
  color: #F778BA !important;
}
.post-wrap .post-info .post-category:hover {
  background: #F778BA !important;
  color: #fff !important;
}

.post-wrap .post-info .post-tag {
  background: rgba(88, 166, 255, 0.12) !important;
  color: #58A6FF !important;
}
.post-wrap .post-info .post-tag:hover {
  background: #58A6FF !important;
  color: #fff !important;
}

/* 阅读全文 — 绿色 */
.post-wrap .post-info a[href]:last-child {
  color: #10B981 !important;
}

/* 置顶标签 — 渐变 */
.post-sticky {
  background: linear-gradient(135deg, #F778BA, #D2A8FF) !important;
}

/* ========================================
   侧边栏颜色
   ======================================== */
.sidebar-wrap,
.sidebar-wrapper,
.widget-wrap {
  background: rgba(22, 27, 34, 0.82) !important;
  border-color: rgba(48, 54, 61, 0.6) !important;
  color: #C9D1D9 !important;
}

/* 作者名 — 亮白 */
.sidebar-author-name {
  color: #E6EDF3 !important;
}

/* 描述 — 青蓝 */
.sidebar-description {
  color: #58A6FF !important;
}

/* 统计数字 — 各不同色 */
.sidebar-state-article .sidebar-state-number {
  color: #FFA657 !important;
}

.sidebar-state-category .sidebar-state-number {
  color: #F778BA !important;
}

.sidebar-state-tag .sidebar-state-number {
  color: #58A6FF !important;
}

/* 菜单链接 */
.sidebar-menu-link {
  color: #C9D1D9 !important;
}

.sidebar-menu-link-wrap {
  background: rgba(48, 54, 61, 0.5) !important;
  border-color: rgba(48, 54, 61, 0.6) !important;
}

.sidebar-menu-link-wrap:hover {
  background: rgba(16, 185, 129, 0.15) !important;
}

.sidebar-menu-link-wrap:hover .sidebar-menu-link {
  color: #10B981 !important;
}

/* 小部件标题 — 亮白 */
.widget-title {
  color: #E6EDF3 !important;
}

/* 分类链接 — 粉色 */
.widget .category-list-link {
  color: #F778BA !important;
}

.widget .category-list-link:hover {
  color: #ff9ed2 !important;
}

/* 标签链接 — 蓝色 */
.widget .tag-link {
  color: #58A6FF !important;
}

.widget .tag-link:hover {
  color: #79C0FF !important;
}

/* 标签云 — 紫色 */
.widget.tagcloud a {
  color: #D2A8FF !important;
}

.widget.tagcloud a:hover {
  color: #F0E0FF !important;
}

/* 最新文章链接 — 绿色 */
.widget ul a {
  color: #7EE787 !important;
}

.widget ul a:hover {
  color: #10B981 !important;
}

/* ========================================
   页脚
   ======================================== */
#footer {
  background: rgba(13, 17, 23, 0.85) !important;
  border-color: rgba(48, 54, 61, 0.6) !important;
  color: #8B949E !important;
}

#footer a {
  color: #58A6FF !important;
}

#footer a:hover {
  color: #79C0FF !important;
}

/* ========================================
   导航栏
   ======================================== */
.main-nav-link {
  color: rgba(230, 237, 243, 0.9) !important;
}

.main-nav-link-wrap:hover .main-nav-link {
  color: #10B981 !important;
}

/* ========================================
   播放器
   ======================================== */
.aplayer {
  background: rgba(22, 27, 34, 0.85) !important;
  border-color: rgba(48, 54, 61, 0.6) !important;
}

.aplayer .aplayer-info {
  color: #C9D1D9 !important;
}

.aplayer .aplayer-info .aplayer-music .aplayer-title {
  color: #E6EDF3 !important;
}

.aplayer .aplayer-info .aplayer-music .aplayer-author {
  color: #8B949E !important;
}

/* 歌单列表彩色 */
.aplayer .aplayer-list ol li {
  background: rgba(22, 27, 34, 0.9) !important;
  border-color: rgba(48, 54, 61, 0.4) !important;
}

.aplayer .aplayer-list ol li:hover {
  background: rgba(30, 37, 46, 0.95) !important;
}

.aplayer .aplayer-list ol li.aplayer-list-light {
  background: rgba(16, 185, 129, 0.12) !important;
}

/* 歌曲名 — 粉色 */
.aplayer .aplayer-list ol li .aplayer-list-title {
  color: #F778BA !important;
}

/* 歌手名 — 蓝色 */
.aplayer .aplayer-list ol li .aplayer-list-author {
  color: #58A6FF !important;
}

/* 当前播放歌曲名 — 绿色 */
.aplayer .aplayer-list ol li.aplayer-list-light .aplayer-list-title {
  color: #10B981 !important;
}

/* 当前播放歌手 — 紫色 */
.aplayer .aplayer-list ol li.aplayer-list-light .aplayer-list-author {
  color: #D2A8FF !important;
}

/* 序号 — 橙色 */
.aplayer .aplayer-list ol li .aplayer-list-index {
  color: #FFA657 !important;
}

/* 时长 — 灰色 */
.aplayer .aplayer-list ol li .aplayer-list-time {
  color: #8B949E !important;
}

/* 歌单滚动条 */
.aplayer .aplayer-list ol::-webkit-scrollbar-thumb {
  background: rgba(52, 211, 153, 0.4);
  border-radius: 4px;
}

/* 歌单头部 */
.aplayer .aplayer-list-header {
  background: rgba(22, 27, 34, 0.95) !important;
  color: #E6EDF3 !important;
}

/* ========================================
   文章详情页丰富配色
   ======================================== */

/* 文章整体容器 */
.article-inner {
  background: rgba(22, 27, 34, 0.82) !important;
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  border: 1px solid rgba(48, 54, 61, 0.6);
  border-radius: 12px;
}

/* 正文文字 */
.article-entry {
  color: #C9D1D9 !important;
}

.article-entry p,
.article-entry li,
.article-entry td,
.article-entry th {
  color: #C9D1D9 !important;
}

/* h2 — 蓝色 */
.article-entry h2 {
  color: #58A6FF !important;
  border-bottom: 2px solid rgba(88, 166, 255, 0.3) !important;
  padding-bottom: 6px;
}

/* h3 — 紫色 */
.article-entry h3 {
  color: #D2A8FF !important;
}

/* h4 — 橙色 */
.article-entry h4 {
  color: #FFA657 !important;
}

/* 链接 — 蓝色 */
.article-entry a {
  color: #58A6FF !important;
}

.article-entry a:hover {
  color: #79C0FF !important;
}

/* 加粗 — 粉色 */
.article-entry strong {
  color: #F778BA !important;
}

/* 行内代码 — 橙色 */
.article-entry code:not([class*="hljs"]):not([class*="highlight"]) {
  background: rgba(110, 118, 129, 0.2) !important;
  color: #FFA657 !important;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.9em;
}

/* 引用块 — 紫色 */
.article-entry blockquote {
  border-left: 4px solid #D2A8FF !important;
  background: rgba(210, 168, 255, 0.08) !important;
  color: #C9D1D9 !important;
  border-radius: 0 8px 8px 0;
  padding: 12px 16px;
}

.article-entry blockquote p {
  color: #C9D1D9 !important;
}

/* 列表符号 */
.article-entry ul li::marker {
  color: #10B981;
}

.article-entry ol li::marker {
  color: #FFA657;
}

/* 分隔线 */
.article-entry hr {
  border-color: rgba(48, 54, 61, 0.6) !important;
}

/* 文章标题 */
.article-inner .article-title {
  color: #E6EDF3 !important;
}

/* 文章元信息 */
.article-meta {
  color: #8B949E !important;
}

.article-date-link {
  color: #58A6FF !important;
}

.article-category-link {
  color: #F778BA !important;
}

.article-category-link:hover {
  color: #ff9ed2 !important;
}

.article-tag-list-link {
  color: #D2A8FF !important;
}

.article-tag-list-link:hover {
  color: #F0E0FF !important;
}

/* 文章页脚导航 */
.article-footer a {
  color: #58A6FF !important;
}

.article-footer a:hover {
  color: #79C0FF !important;
}

/* ========================================
   归档页配色
   ======================================== */
.archive-section-title { color: #58A6FF !important; }
.archive-item-link a { color: #C9D1D9 !important; }
.archive-item-link a:hover { color: #10B981 !important; }
.archive-item-date { color: #8B949E !important; }

/* 分类/标签页 */
.category-list-link { color: #F778BA !important; }
.category-list-link:hover { color: #ff9ed2 !important; }
.tag-link { color: #D2A8FF !important; }
.tag-link:hover { color: #F0E0FF !important; }

/* ========================================
   文章目录 TOC 彩色
   ======================================== */
#toc, .toc {
  background: rgba(22, 27, 34, 0.82) !important;
  backdrop-filter: blur(12px) saturate(180%);
  border: 1px solid rgba(48, 54, 61, 0.6);
  border-radius: 12px;
}

/* 目录标题 */
.toc-title {
  color: #E6EDF3 !important;
}

/* 一级目录 — 蓝色 */
.toc-list > .toc-item > a {
  color: #58A6FF !important;
}

/* 二级目录 — 紫色 */
.toc-list > .toc-item > .toc-child > .toc-item > a {
  color: #D2A8FF !important;
}

/* 三级目录 — 橙色 */
.toc-list > .toc-item > .toc-child > .toc-item > .toc-child > .toc-item > a {
  color: #FFA657 !important;
}

/* 通用目录链接 */
.toc-link {
  color: #C9D1D9 !important;
  transition: color 0.2s;
}

.toc-link:hover {
  color: #10B981 !important;
}

/* 当前激活 */
.toc-link.active,
.toc-item.active > a {
  color: #10B981 !important;
  border-left-color: #10B981 !important;
}

/* 目录序号 */
.toc-number {
  color: #F778BA !important;
}

/* 目录文字 */
.toc-text {
  color: inherit !important;
}

/* ========================================
   文章图文混排 — 朋友圈/日记风格
   ======================================== */

/* 图片基础样式 */
.article-entry .photo {
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin: 8px 0;
}

.article-entry .photo:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
}

/* 右浮动图片 */
.article-entry .float-right {
  float: right;
  margin: 4px 0 16px 24px;
  shape-margin: 12px;
}

/* 左浮动图片 */
.article-entry .float-left {
  float: left;
  margin: 4px 24px 16px 0;
  shape-margin: 12px;
}

/* 拍立得风格 */
.article-entry .polaroid {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 8px 8px 28px 8px;
  border-radius: 4px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.3);
  transform: rotate(-1.5deg);
  transition: transform 0.3s ease;
  display: inline-block;
}

.article-entry .polaroid:hover {
  transform: rotate(0deg) scale(1.03);
}

.article-entry .polaroid img {
  border-radius: 2px;
  display: block;
}

.article-entry .polaroid .caption {
  text-align: center;
  font-size: 0.8rem;
  color: #8B949E;
  margin-top: 6px;
  font-style: italic;
}

/* 拍立得 — 右倾斜 */
.article-entry .polaroid.tilt-right {
  transform: rotate(2deg);
}

.article-entry .polaroid.tilt-right:hover {
  transform: rotate(0deg) scale(1.03);
}

/* 并排图片容器 */
.article-entry .photo-row {
  display: flex;
  gap: 12px;
  margin: 16px 0;
  flex-wrap: wrap;
}

.article-entry .photo-row .polaroid {
  flex: 1;
  min-width: 140px;
}

.article-entry .photo-row .polaroid img {
  width: 100%;
  height: auto;
}

/* 清除浮动 */
.article-entry .clearfix::after {
  content: '';
  display: table;
  clear: both;
}

/* 时间线节点标记 */
.article-entry .year-tag {
  display: inline-block;
  background: linear-gradient(135deg, #58A6FF, #D2A8FF);
  color: #fff;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

/* 移动端 */
@media (max-width: 768px) {
  .page-home #header-title h1 {
    font-size: 2rem !important;
    letter-spacing: 2px;
  }
  .page-home #header-title #subtitle,
  .page-home #header-title #subtitle span {
    font-size: 0.95rem !important;
  }
}
