.hljs {
  display: block;
  overflow-x: auto;
  padding: 0.5em;
  color: #333;
  background: #f8f8f8;
}
.hljs-comment,
.hljs-quote {
  color: #998;
  font-style: italic;
}
.hljs-keyword,
.hljs-selector-tag,
.hljs-subst {
  color: #333;
  font-weight: bold;
}
.hljs-number,
.hljs-literal,
.hljs-variable,
.hljs-template-variable,
.hljs-tag .hljs-attr {
  color: #008080;
}
.hljs-string,
.hljs-doctag {
  color: #d14;
}
.hljs-title,
.hljs-section,
.hljs-selector-id {
  color: #900;
  font-weight: bold;
}
.hljs-subst {
  font-weight: normal;
}
.hljs-type,
.hljs-class .hljs-title {
  color: #458;
  font-weight: bold;
}
.hljs-tag,
.hljs-name,
.hljs-attribute {
  color: #000080;
  font-weight: normal;
}
.hljs-regexp,
.hljs-link {
  color: #009926;
}
.hljs-symbol,
.hljs-bullet {
  color: #990073;
}
.hljs-built_in,
.hljs-builtin-name {
  color: #0086b3;
}
.hljs-meta {
  color: #999;
  font-weight: bold;
}
.hljs-deletion {
  background: #fdd;
}
.hljs-addition {
  background: #dfd;
}
.hljs-emphasis {
  font-style: italic;
}
.hljs-strong {
  font-weight: bold;
}
body {
  background-image: url('../media/images/geometry2.png');
}
#top {
  max-width: 1440px;
  margin-top: 3rem;
}
article .article-meta a {
  color: #ffffff;
}
.sidebar .sidebar-title {
  margin-bottom: 24px;
}
.sidebar ul {
  padding-left: 0px;
}
.sidebar li {
  margin-bottom: 16px;
}
.sidebar a.badge {
  background-image: none;
  margin: 4px;
  color: #ffffff;
}
.info-container {
  text-align: center;
}
.info-container .avatar {
  width: 120px;
  height: 120px;
  border-top-left-radius: 185px 160px;
  border-top-right-radius: 200px 195px;
  border-bottom-right-radius: 160px 195px;
  border-bottom-left-radius: 185px 190px;
  margin-bottom: 24px;
}
.social-container {
  margin-top: 24px;
}
.social-container a {
  background-image: none;
  margin: 4px;
}
.tags-container a {
  margin: 8px;
  background-image: none;
  color: #ffffff;
}
.readmore-link {
  background-image: none;
}
h1 {
  font-size: 3.5rem;
}
article .article-title,
h2 {
  font-size: 2.5rem;
}
nav ul.inline li a {
  display: block;
}

      .paper {
        background: #f8f9fa;
      }
    
      .navbar {
        background: #f8f9fa;
      }
    
      /* --- 🍎 Apple Pro 全局动态与精致排版 --- */

/* 1. 导航栏：精致小字体、无边框、毛玻璃 */
.navbar, .navbar.border {
    border: none !important;
    max-width: 960px !important;
    margin: 0 auto !important;
    background: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px);
    border-radius: 0 0 16px 16px !important;
    padding: 0 20px !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.02) !important;
}

/* 2. 标题字体过大修复 */
.nav-brand h3 a {
    font-size: 18px !important; /* 调小字体 */
    font-weight: 700 !important;
    letter-spacing: -0.5px;
    color: #1d1d1f !important;
}

/* 3. 菜单项：胶囊按钮动态效果 */
.navbar .menu {
    font-size: 14px !important;
    color: #424245 !important;
    font-weight: 500 !important;
    padding: 6px 14px !important;
    border-radius: 20px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1); /* 苹果味回弹 */
}

/* 悬停时：背景变灰 + 文字变蓝 + 微微上浮 */
.navbar .menu:hover {
    background: rgba(0,0,0,0.05) !important;
    color: #0071e3 !important;
    transform: scale(1.05);
}

/* 4. 去除所有下划线 */
a, .menu {
    background-image: none !important;
    text-decoration: none !important;
    border: none !important;
}

/* 5. 侧边栏文章列表动态 */
.article-item {
    padding: 10px 0 !important;
    border-bottom: 1px solid rgba(0,0,0,0.03);
    transition: all 0.3s ease;
}
.article-item a {
    color: #1d1d1f !important;
    display: block;
    transition: transform 0.3s;
}
/* 悬停时：整行右移，文字变蓝 */
.article-item:hover a {
    color: #0071e3 !important;
    transform: translateX(5px); /* 动态右滑 */
}

/* 6. 社交图标动态 */
.social-container a i {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.social-container a:hover i {
    transform: translateY(-5px) scale(1.2); /* Q弹跳起 */
    color: #0071e3 !important;
}

/* 7. 头像旋转动态 */
.avatar {
    transition: transform 0.6s ease;
}
.avatar:hover {
    transform: rotate(10deg) scale(1.05);
}

/* 隐藏侧边栏多余部分 */
.sidebar .paper:nth-child(3), .sidebar .paper:nth-child(4) { display: none !important; }
    