/* 暗黑模式CSS变量 */
:root {
  --bg-color: #ffffff;
  --text-color: #37352f;
  --text-shade: #2f2f2f;
  --text-tint: #8b8b8b;
  --grey-1: #6b6b6b;
  --grey-2: #e9e9e7;
  --grey-3: #f7f6f3;
  --grey-4: #f1f1ef;
  --blue: #2383e2;
  --blue-light: #e8f4fd;
  --border-color: #e9e9e7;
  --shadow-color: rgba(0, 0, 0, .04);
  --white: #ffffff;
}

[data-theme="dark"] {
  --bg-color: #1a1a1a;
  --text-color: #e0e0e0;
  --text-shade: #ffffff;
  --text-tint: #a0a0a0;
  --grey-1: #808080;
  --grey-2: #2a2a2a;
  --grey-3: #1f1f1f;
  --grey-4: #252525;
  --blue: #4a9eff;
  --blue-light: #1a3a5c;
  --border-color: #2a2a2a;
  --shadow-color: rgba(0, 0, 0, .3);
  --white: #ffffff;
}

/* 应用CSS变量到现有样式 */
body {
  background-color: var(--bg-color);
  color: var(--text-color);
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* 文章内容样式更新 */
.post-content {
  position: relative;
  max-width: 100%;
}

@media (min-width: 1200px) {
  .post-content {
    margin-left: 0;
    margin-right: 0;
  }
}

/* 文章标题样式 */
.post-title {
  color: var(--text-shade);
  font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Segoe UI', 'Roboto', sans-serif;
  font-size: 2.25rem;
  margin: 0 0 24px 0;
  text-align: left;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

@media (max-width: 600px) {
  .post-title {
    font-size: 1.875rem;
  }
}

/* 文章信息样式 */
.post-info {
  color: var(--text-tint);
  font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Segoe UI', 'Roboto', sans-serif;
  font-size: 0.875rem;
  margin-bottom: 24px;
  text-align: left;
}

.post-info span {
  font-style: normal;
}

/* 文章段落样式 */
.post-content p {
  margin: 1.5em 0;
  text-align: left;
  text-indent: 0;
  line-height: 1.8;
  color: var(--text-color);
  font-size: 1.05em;
}

/* 前言部分样式 - 灰色字体，非斜体 */
.post-content p em {
  color: var(--text-tint);
  font-style: normal !important;
  font-size: 0.95em;
  line-height: 1.6;
}

/* 引用样式优化 - Notion风格黑白色系 */
.post-content blockquote {
  border-left: 3px solid var(--text-color);
  color: var(--text-color);
  margin: 2em 0;
  padding: 1.5em 2em;
  background-color: var(--grey-4);
  border-radius: 6px;
  font-style: normal;
  position: relative;
  line-height: 1.7;
  font-size: 1.05em;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.post-content blockquote p:last-child {
  margin-bottom: 0;
}

/* 引用标记 */
.post-content blockquote::before {
  content: """;
  font-size: 2.5rem;
  color: var(--text-tint);
  position: absolute;
  top: -0.2em;
  left: 0.2em;
  font-family: serif;
  line-height: 1;
  opacity: 0.3;
}

/* 引用内容 */
.post-content blockquote p {
  margin: 0.8em 0;
  position: relative;
  z-index: 1;
  padding-left: 1.2em;
}

/* 引用中的链接样式 */
.post-content blockquote a {
  color: var(--text-color);
  text-decoration: underline;
  text-decoration-color: var(--text-tint);
  text-underline-offset: 2px;
  transition: all 0.2s ease;
  font-weight: 500;
}

.post-content blockquote a:hover {
  color: var(--text-shade);
  text-decoration-color: var(--text-color);
  text-decoration-thickness: 2px;
  background-color: rgba(0, 0, 0, 0.05);
  padding: 1px 3px;
  border-radius: 3px;
  margin: -1px -3px;
}

/* 引用来源 */
.post-content blockquote div[style*="text-align: right"] {
  margin-top: 1.5em;
  font-size: 0.9em;
  color: var(--text-tint);
  font-style: normal;
  text-align: right;
  font-weight: 500;
  border-top: 1px solid var(--border-color);
  padding-top: 0.8em;
}

/* 修复引用中的 div 样式 */
.post-content blockquote div {
  margin: 0;
  padding: 0;
}

/* 文章内容中的链接样式 - 与整体设计一致 */
.post-content a {
  color: var(--text-color);
  text-decoration: underline;
  text-decoration-color: var(--text-tint);
  text-underline-offset: 2px;
  transition: all 0.2s ease;
  font-weight: 500;
}

.post-content a:hover {
  color: var(--text-shade);
  text-decoration-color: var(--text-color);
  text-decoration-thickness: 2px;
  background-color: var(--grey-4);
  padding: 2px 4px;
  border-radius: 3px;
  margin: -2px -4px;
}

.post-content a:visited {
  color: var(--text-tint);
}

.post-content a:focus {
  outline: 2px solid var(--text-color);
  outline-offset: 2px;
  border-radius: 3px;
}

/* 标题样式优化 */
.post-content h1, .post-content h2, .post-content h3, .post-content h4, .post-content h5, .post-content h6 {
  color: var(--text-shade);
  font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Segoe UI', 'Roboto', sans-serif;
  line-height: 1.3;
  margin-top: 2em;
  margin-bottom: 0.75em;
  font-weight: 600;
  letter-spacing: -0.01em;
  scroll-margin-top: 80px; /* 目录跳转时的偏移 */
}

.post-content h1 {
  font-size: 1.75rem;
  margin-top: 0;
  margin-bottom: 1em;
  font-weight: 700;
  border-bottom: 2px solid var(--border-color);
  padding-bottom: 0.5em;
}

.post-content h2 {
  font-size: 1.5rem;
  margin-top: 2em;
  margin-bottom: 0.75em;
  font-weight: 600;
  color: var(--text-shade);
}

.post-content h3 {
  font-size: 1.25rem;
  margin-top: 1.5em;
  margin-bottom: 0.5em;
  font-weight: 600;
  color: var(--text-shade);
}

.post-content h4, .post-content h5, .post-content h6 {
  font-size: 1.1rem;
  margin-top: 1.25em;
  margin-bottom: 0.5em;
  font-weight: 600;
  color: var(--text-shade);
}

/* 列表样式优化 */
.post-content ul, .post-content ol {
  padding-left: 1.5em;
  margin: 1.5em 0;
}

.post-content ul li, .post-content ol li {
  margin: 0.5em 0;
  line-height: 1.6;
}

/* 列表中的链接样式 */
.post-content ul a, .post-content ol a {
  color: var(--text-color);
  text-decoration: underline;
  text-decoration-color: var(--text-tint);
  text-underline-offset: 2px;
  transition: all 0.2s ease;
  font-weight: 500;
}

.post-content ul a:hover, .post-content ol a:hover {
  color: var(--text-shade);
  text-decoration-color: var(--text-color);
  text-decoration-thickness: 2px;
  background-color: var(--grey-4);
  padding: 1px 3px;
  border-radius: 3px;
  margin: -1px -3px;
}

/* 代码样式优化 */
.post-content code {
  background-color: var(--grey-4);
  padding: 0.2em 0.4em;
  border-radius: 3px;
  font-size: 0.9em;
  font-family: 'SF Mono', Monaco, 'Inconsolata', 'Roboto Mono', 'Source Code Pro', monospace;
  color: #e16259;
  border: 1px solid var(--border-color);
}

.post-content pre {
  background-color: var(--grey-4);
  padding: 1.5em;
  border-radius: 6px;
  overflow-x: auto;
  margin: 1.5em 0;
  border: 1px solid var(--border-color);
  font-size: 0.9em;
}

.post-content pre code {
  background: none;
  padding: 0;
  border: none;
  color: inherit;
}

/* 图片样式 */
.post-content img {
  margin: 1.5em auto;
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 2px 8px var(--shadow-color);
}

.post-content img + em {
  color: var(--text-tint);
  display: block;
  font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Segoe UI', 'Roboto', sans-serif;
  font-size: 0.875rem;
  font-style: normal;
  text-align: center;
  margin-top: 0.5em;
  margin-bottom: 1.5em;
}

/* 表格样式 */
.post-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5em 0;
  font-size: 0.9em;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 1px 3px var(--shadow-color);
}

.post-content th, .post-content td {
  padding: 0.75em 1em;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
  vertical-align: top;
}

.post-content th {
  background-color: var(--grey-4);
  font-weight: 600;
  color: var(--text-shade);
  font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Segoe UI', 'Roboto', sans-serif;
}

.post-content tr:hover {
  background-color: rgba(241, 241, 239, 0.5);
}

[data-theme="dark"] .post-content tr:hover {
  background-color: rgba(37, 37, 37, 0.5);
}

/* 水平分割线 */
.post-content hr {
  border: none;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border-color), transparent);
  margin: 3em 0;
}

.nav {
  background-color: var(--bg-color);
  border-bottom-color: var(--border-color);
  position: relative;
  z-index: 10;
}

.nav-title {
  color: var(--text-shade);
}

.nav a {
  color: var(--text-tint);
}

.nav a:hover {
  background-color: var(--grey-4);
}

.nav a.active {
  background-color: var(--text-color);
  color: var(--bg-color);
}

/* 暗黑模式切换按钮 - 黑白极简设计 */
.theme-toggle {
  position: fixed;
  left: 10px;
  top: 10px;
  z-index: 1001;
  background: var(--bg-color);
  border: 1px solid var(--text-color);
  border-radius: 16px;
  width: 40px;
  height: 20px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 2px;
  box-shadow: 0 1px 4px var(--shadow-color);
}

.theme-toggle:hover {
  border-color: var(--text-shade);
  box-shadow: 0 3px 8px var(--shadow-color);
  transform: translateY(-1px);
}

.theme-toggle:active {
  transform: translateY(0);
  box-shadow: 0 1px 3px var(--shadow-color);
}

.theme-toggle-slider {
  width: 14px;
  height: 14px;
  background: var(--text-color);
  border-radius: 50%;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  color: var(--bg-color);
  position: absolute;
  left: 2px;
  top: 2px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.theme-toggle-slider::before {
  content: "☀";
  color: var(--bg-color);
  font-size: 9px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  line-height: 1;
}

.theme-toggle[data-theme="dark"] {
  background: var(--bg-color);
  border-color: var(--text-color);
}

.theme-toggle[data-theme="dark"] .theme-toggle-slider {
  transform: translateX(20px);
  background: var(--text-color);
}

.theme-toggle[data-theme="dark"] .theme-toggle-slider::before {
  content: "☾";
  color: var(--bg-color);
  font-size: 9px;
}

/* 暗黑模式按钮响应式设计 */
@media (max-width: 768px) {
  .theme-toggle {
    left: 12px;
    top: 12px;
    width: 44px;
    height: 22px;
  }

  .theme-toggle-slider {
    width: 16px;
    height: 16px;
  }

  .theme-toggle-slider::before {
    font-size: 10px;
  }

  .theme-toggle[data-theme="dark"] .theme-toggle-slider {
    transform: translateX(22px);
  }
}

@media (max-width: 480px) {
  .theme-toggle {
    left: 10px;
    top: 10px;
    width: 40px;
    height: 20px;
  }

  .theme-toggle-slider {
    width: 14px;
    height: 14px;
  }

  .theme-toggle-slider::before {
    font-size: 9px;
  }

  .theme-toggle[data-theme="dark"] .theme-toggle-slider {
    transform: translateX(20px);
  }
}

/* Logo样式 */
.header {
  padding: 48px 0;
  text-align: center;
  position: relative;
}

.logo {
  width: 28px;
  height: 28px;
  margin: 0 auto 20px;
  position: relative;
  display: inline-block;
}

.logo svg {
  width: 100%;
  height: 100%;
  fill: var(--text-color);
  transition: fill 0.3s ease;
}

.logo:hover svg {
  fill: var(--blue);
  transform: scale(1.1);
}

.site-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-shade);
  margin: 20px 0 10px;
  letter-spacing: 1px;
  font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Segoe UI', 'Roboto', sans-serif;
}

.site-subtitle {
  font-size: 0.85rem;
  color: var(--text-tint);
  margin-bottom: 0;
  font-weight: 400;
  font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Segoe UI', 'Roboto', sans-serif;
}

/* 明亮模式显示深色logo */
.house-light {
  display: block;
}

.house-dark {
  display: none;
}

/* 暗黑模式显示白色logo */
[data-theme="dark"] .house-light {
  display: none;
}

[data-theme="dark"] .house-dark {
  display: block;
}

.logo-text {
  position: relative;
  font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Segoe UI', 'Roboto', sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-shade);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.logo-text-main {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-color);
  margin: 0 0 8px 0;
}

.logo-text-subtitle {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--text-tint);
  font-style: italic;
  margin: 0;
}

.logo-decoration {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 1px;
  background-color: var(--border-color);
}

.logo-decoration.left {
  left: -60px;
}

.logo-decoration.right {
  right: -60px;
}

.logo-decoration::before,
.logo-decoration::after {
  content: '';
  position: absolute;
  top: -2px;
  width: 1px;
  height: 5px;
  background-color: var(--border-color);
}

.logo-decoration::before {
  left: 0;
}

.logo-decoration::after {
  right: 0;
}

@media (max-width: 768px) {
  .logo-decoration {
    display: none;
  }
  
  .logo-text {
    font-size: 1.25rem;
  }
  
  .logo-text-main {
    font-size: 1.75rem;
  }
}

/* 首页样式 */
.home-header {
  padding: 48px 0 32px 0;
  text-align: center;
}

.logo-container {
  position: relative;
  display: inline-block;
  margin: 0 auto;
}

.logo-house {
  width: 60px !important;
  height: 60px !important;
  max-width: 60px !important;
  max-height: 60px !important;
  margin: 0 auto 24px;
  display: block;
}

.logo-house svg {
  width: 100% !important;
  height: 100% !important;
  max-width: 60px !important;
  max-height: 60px !important;
  transition: transform 0.3s ease;
}

.logo-house:hover svg {
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .home-header {
    padding: 40px 0 30px 0;
  }
  
  .logo-house {
    width: 48px !important;
    height: 48px !important;
    max-width: 48px !important;
    max-height: 48px !important;
    margin-bottom: 16px;
  }
  
  .logo-house svg {
    max-width: 48px !important;
    max-height: 48px !important;
  }
}

/* 确保在所有设备上都有正确的尺寸 */
@media (max-width: 480px) {
  .logo-house {
    width: 40px !important;
    height: 40px !important;
    max-width: 40px !important;
    max-height: 40px !important;
  }
  
  .logo-house svg {
    max-width: 40px !important;
    max-height: 40px !important;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .logo-house {
    width: 56px !important;
    height: 56px !important;
    max-width: 56px !important;
    max-height: 56px !important;
  }
  
  .logo-house svg {
    max-width: 56px !important;
    max-height: 56px !important;
  }
}

/* 文章列表样式更新 */
.posts {
  padding: 30px 0;
}

.post {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
  transition: all 0.2s ease;
}

.post:last-child {
  border-bottom: none;
}

.post:hover {
  transform: translateY(-2px);
}

.post-category {
  font-size: 0.75rem;
  color: var(--text-tint);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
  font-weight: 500;
}

.post-date {
  font-size: 0.85rem;
  color: var(--text-tint);
  margin-bottom: 10px;
  font-weight: 400;
}

.post-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text-shade);
  margin-bottom: 10px;
  line-height: 1.4;
  transition: all 0.2s ease;
}

.post-title a {
  color: inherit;
  text-decoration: none;
}

.post-title a:hover {
  color: var(--blue);
}

.post-excerpt {
  font-size: 0.95rem;
  color: var(--text-color);
  margin-bottom: 12px;
  line-height: 1.6;
}

.post-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.post-tag {
  background-color: var(--grey-4);
  color: var(--text-tint);
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
  text-decoration: none;
  transition: all 0.2s ease;
  font-weight: 500;
}

.post-tag:hover {
  background-color: var(--blue);
  color: white;
  transform: translateY(-1px);
}

.catalogue-item {
  border-bottom: 1px solid var(--border-color);
  color: var(--text-color);
  display: block;
  padding: 24px 0;
  transition: all 0.2s ease;
  text-decoration: none;
}

.catalogue-item:hover {
  background-color: var(--grey-4);
  border-radius: 6px;
  padding-left: 12px;
  padding-right: 12px;
  text-decoration: none;
}

.catalogue-item:last-child {
  border: 0;
}

.catalogue-pinned {
  color: var(--text-tint);
  font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Segoe UI', 'Roboto', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.catalogue-time {
  color: var(--text-tint);
  font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Segoe UI', 'Roboto', sans-serif;
  font-size: 0.875rem;
  margin-bottom: 8px;
}

.catalogue-title {
  color: var(--text-shade);
  display: block;
  font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Segoe UI', 'Roboto', sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 0 8px 0;
  line-height: 1.4;
  letter-spacing: -0.01em;
}

.catalogue-excerpt {
  color: var(--text-tint);
  font-size: 0.875rem;
  line-height: 1.5;
  margin-top: 8px;
}

.catalogue-tags {
  margin-top: 8px;
}

.tag {
  display: inline-block;
  background: var(--grey-4);
  color: var(--text-color);
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 0.75rem;
  margin-right: 4px;
  margin-top: 4px;
  transition: all 0.2s ease;
}

.tag:hover {
  background: var(--text-color);
  color: var(--bg-color);
}

.tag.active {
  background: var(--text-color);
  color: var(--bg-color);
}

/* 分页样式更新 */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin: 50px 0;
  padding: 30px 0;
  border-top: 1px solid var(--border-color);
  font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Segoe UI', 'Roboto', sans-serif;
}

.pagination a {
  color: var(--blue);
  text-decoration: none;
  margin: 0 15px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.2s ease;
  padding: 8px 16px;
  border-radius: 4px;
}

.pagination a:hover {
  background-color: var(--grey-4);
  text-decoration: none;
}

.pagination span {
  color: var(--text-tint);
  font-size: 0.9rem;
}

/* 强调文本样式 */
.post-content strong {
  font-weight: 600;
  color: var(--text-shade) !important;
}

/* 目录样式 */
.table-of-contents {
  position: fixed;
  top: 50%;
  left: 20px;
  transform: translateY(-50%);
  width: 220px;
  max-height: 70vh;
  overflow-y: auto;
  background: var(--bg-color);
  border: none;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  z-index: 100;
  font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Segoe UI', 'Roboto', sans-serif;
  font-size: 0.9rem;
  line-height: 1.4;
}

@media (max-width: 1199px) {
  .table-of-contents {
    display: none;
  }
}

.table-of-contents-title {
  font-weight: 600;
  color: var(--text-tint);
  margin-bottom: 1em;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0.6em 0;
  border-bottom: 1px solid var(--border-color);
}

.table-of-contents-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.table-of-contents-list li {
  margin: 0;
  list-style: none;
}

.table-of-contents-list li::before {
  display: none;
}

.table-of-contents-list a {
  color: var(--text-tint);
  text-decoration: none;
  display: block;
  padding: 0.5em 0.6em;
  border-radius: 4px;
  transition: all 0.15s ease;
  font-size: 0.85rem;
  border-left: 3px solid transparent;
  margin-bottom: 0.2em;
}

.table-of-contents-list a:hover {
  color: var(--text-color);
  background-color: var(--grey-4);
  padding-left: 0.8em;
}

.table-of-contents-list a.active {
  color: var(--text-color);
  font-weight: 600;
  background-color: var(--grey-4);
  border-left-color: var(--text-color);
  padding-left: 0.8em;
}

.table-of-contents-list ul {
  margin: 0;
  padding: 0;
  border-left: 1px solid var(--border-color);
  margin-left: 0.8em;
  margin-top: 0.3em;
}

.table-of-contents-list ul li {
  margin: 0;
}

.table-of-contents-list ul a {
  font-size: 0.8rem;
  color: var(--text-tint);
  padding: 0.4em 0.6em;
  margin-left: 0.3em;
  border-left: none;
}

.table-of-contents-list ul a:hover {
  color: var(--text-color);
  background-color: var(--grey-4);
  padding-left: 0.6em;
}

.table-of-contents-list ul a.active {
  color: var(--text-color);
  font-weight: 600;
  background-color: var(--grey-4);
  padding-left: 0.6em;
}

/* 移动端目录按钮 */
.toc-toggle {
  position: fixed;
  top: 80px;
  left: 20px;
  background: var(--bg-color);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 0.5em;
  cursor: pointer;
  z-index: 101;
  display: none;
  box-shadow: 0 2px 8px var(--shadow-color);
}

@media (max-width: 1199px) {
  .toc-toggle {
    display: block;
  }
}

.toc-toggle svg {
  width: 20px;
  height: 20px;
  fill: var(--text-color);
}

/* 移动端目录覆盖层 */
.toc-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 99;
  display: none;
}

.toc-overlay.active {
  display: block;
}

.toc-mobile {
  position: fixed;
  top: 0;
  left: -300px;
  width: 280px;
  height: 100vh;
  background: var(--bg-color);
  border-right: 1px solid var(--border-color);
  padding: 2em 1.5em;
  overflow-y: auto;
  z-index: 100;
  transition: left 0.3s ease;
}

.toc-mobile.active {
  left: 0;
}

.toc-close {
  position: absolute;
  top: 1em;
  right: 1em;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-tint);
}


/* 页面宽度调整 */
.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 文章底部模块样式 - 强制优先级 */
.post-footer {
  margin-top: 48px !important;
  padding-top: 24px !important;
  border-top: 1px solid var(--border-color) !important;
}

.post-navigation {
  display: flex !important;
  justify-content: space-between !important;
  gap: 24px !important;
  margin-bottom: 32px !important;
}

.nav-link {
  flex: 1 !important;
  padding: 16px 20px !important;
  background: var(--grey-4) !important;
  border: 1px solid var(--border-color) !important;
  border-radius: 8px !important;
  text-decoration: none !important;
  color: var(--text-color) !important;
  transition: all 0.2s ease !important;
  display: block !important;
}

.nav-link:hover {
  background: var(--grey-3) !important;
  border-color: var(--text-tint) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
}

.nav-direction {
  display: block !important;
  font-size: 0.75rem !important;
  color: var(--text-tint) !important;
  margin-bottom: 4px !important;
  font-weight: 500 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
}

.nav-title {
  display: block !important;
  font-weight: 600 !important;
  font-size: 0.9rem !important;
  line-height: 1.4 !important;
  color: var(--text-shade) !important;
}

.nav-link.next {
  text-align: right !important;
}

/* 强制覆盖所有可能的链接颜色 */
.post-footer a,
.post-footer .nav-link,
.post-footer .nav-link .nav-direction,
.post-footer .nav-link .nav-title {
  color: var(--text-color) !important;
  text-decoration: none !important;
}

.post-footer .nav-link .nav-direction {
  color: var(--text-tint) !important;
}

.post-footer .nav-link .nav-title {
  color: var(--text-shade) !important;
}

.post-footer .nav-link:hover {
  color: var(--text-color) !important;
}

.post-footer .nav-link:hover .nav-direction {
  color: var(--text-tint) !important;
}

.post-footer .nav-link:hover .nav-title {
  color: var(--text-shade) !important;
}

/* 回到顶部按钮 */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--bg-color);
  border: 2px solid var(--border-color);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--grey-4);
  border-color: var(--text-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.back-to-top svg {
  width: 20px;
  height: 20px;
  color: var(--text-color);
}

/* 移动端优化 */
@media (max-width: 768px) {
  .post-navigation {
    flex-direction: column !important;
    gap: 16px !important;
  }
  
  .nav-link {
    padding: 12px 16px !important;
  }
  
  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
  }
  
  .back-to-top svg {
    width: 18px;
    height: 18px;
  }
}

/* 导航栏样式优化 - 确保线上生效 */
.nav-container {
  margin: 0 auto;
  position: relative;
  text-align: left;
  padding: 24px 0;
  max-width: 95%;
  width: 100%;
  padding-left: 2.5%;
  padding-right: 2.5%;
}

@media (min-width: 768px) {
  .nav-container {
    max-width: 90%;
    padding-left: 5%;
    padding-right: 5%;
  }
}

@media (min-width: 1200px) {
  .nav-container {
    max-width: 85%;
    padding-left: 7.5%;
    padding-right: 7.5%;
  }
}

@media (min-width: 1400px) {
  .nav-container {
    max-width: 80%;
    padding-left: 10%;
    padding-right: 10%;
  }
}

@media (min-width: 1600px) {
  .nav-container {
    max-width: 75%;
    padding-left: 12.5%;
    padding-right: 12.5%;
  }
}

.nav-title {
  color: var(--text-shade);
  display: inline-block;
  margin: 0;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 8px 16px;
  border-radius: 6px;
  text-transform: uppercase;
  transition: all 0.2s ease-out;
  text-decoration: none;
}

.nav-title:hover {
  background-color: var(--grey-4);
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.nav ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  text-align: right;
  position: absolute;
  right: 2.5%;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  gap: 6px;
}

@media (min-width: 768px) {
  .nav ul {
    right: 5%;
    gap: 8px;
  }
}

@media (min-width: 1200px) {
  .nav ul {
    right: 7.5%;
    gap: 10px;
  }
}

@media (min-width: 1400px) {
  .nav ul {
    right: 10%;
    gap: 12px;
  }
}

@media (min-width: 1600px) {
  .nav ul {
    right: 12.5%;
    gap: 14px;
  }
}

.nav li {
  color: var(--text-tint);
  display: flex;
  align-items: center;
  transition: all 0.2s ease-out;
}

.nav li:hover {
  color: var(--text-color);
}

.nav a {
  color: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 8px 14px;
  border-radius: 6px;
  transition: all 0.3s ease;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  position: relative;
  display: inline-block;
}

.nav a:hover {
  background-color: var(--grey-4);
  color: var(--text-color);
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.nav a:active {
  transform: translateY(0);
}

/* 移动端优化 */
@media (max-width: 768px) {
  .nav-container {
    padding: 12px 16px;
  }

  .nav-title {
    font-size: 1.2rem;
    padding: 6px 12px;
  }

  .nav ul {
    gap: 3px;
  }

  .nav a {
    font-size: 0.85rem;
    padding: 6px 10px;
  }
}

@media (max-width: 480px) {
  .nav-container {
    padding: 10px 12px;
  }

  .nav-title {
    font-size: 1.1rem;
    padding: 5px 10px;
  }

  .nav ul {
    gap: 2px;
  }

  .nav a {
    font-size: 0.8rem;
    padding: 5px 8px;
  }
}

/* 目录样式 */
.table-of-contents {
  position: fixed;
  top: 50%;
  left: 20px;
  transform: translateY(-50%);
  width: 220px;
  max-height: 70vh;
  overflow-y: auto;
  background: var(--bg-color);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 4px 12px var(--shadow-color);
  z-index: 1000;
  font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Segoe UI', 'Roboto', sans-serif;
  font-size: 0.9rem;
  line-height: 1.4;
}

.table-of-contents-title {
  font-weight: 600;
  margin-bottom: 1em;
  font-size: 0.8rem;
  padding: 0.6em 0;
  color: var(--text-shade);
  border-bottom: 1px solid var(--border-color);
}

.table-of-contents-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.table-of-contents-list li {
  list-style: none;
  margin: 0;
  padding: 0;
}

.table-of-contents-list li::before {
  display: none;
}

.table-of-contents-list a {
  display: block;
  color: var(--text-tint);
  text-decoration: none;
  padding: 0.5em 0.6em;
  border-radius: 4px;
  border-left: 3px solid transparent;
  margin-bottom: 0.2em;
  transition: all 0.2s ease;
  font-size: 0.85rem;
}

.table-of-contents-list a:hover {
  color: var(--text-color);
  background-color: var(--grey-4);
  padding-left: 0.8em;
}

.table-of-contents-list a.active {
  color: var(--text-shade);
  background-color: var(--grey-4);
  font-weight: 600;
  padding-left: 0.8em;
  border-left-color: var(--text-color);
}

.table-of-contents-list ul {
  margin-left: 0.8em;
  margin-top: 0.3em;
}

.table-of-contents-list ul a {
  font-size: 0.8rem;
  padding: 0.4em 0.6em;
  margin-left: 0.3em;
}

.table-of-contents-list ul a:hover {
  padding-left: 0.6em;
}

.table-of-contents-list ul a.active {
  font-weight: 600;
  padding-left: 0.6em;
}

/* 移动端目录按钮 */
.toc-toggle {
  position: fixed;
  top: 30px;
  right: 30px;
  z-index: 1000;
  background: var(--bg-color);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 0.5rem;
  cursor: pointer;
  display: none;
  color: var(--text-color);
}

.toc-toggle svg {
  width: 20px;
  height: 20px;
}

/* 移动端目录覆盖层 */
.toc-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1002;
  display: none;
}

.toc-overlay.active {
  display: block;
}

/* 移动端目录 */
.toc-mobile {
  position: fixed;
  top: 0;
  left: -300px;
  width: 280px;
  height: 100%;
  background: var(--bg-color);
  border-right: 1px solid var(--border-color);
  z-index: 1003;
  transition: left 0.3s ease;
  overflow-y: auto;
  padding: 1rem;
}

.toc-mobile.active {
  left: 0;
}

.toc-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-tint);
}

/* 响应式设计 */
@media (max-width: 1200px) {
  .table-of-contents {
    display: none;
  }
  
  .toc-toggle {
    display: block;
  }
}

@media (min-width: 1200px) {
  .post-content {
    margin-left: 0;
    margin-right: 0;
  }
}

@media (min-width: 1200px) {
  .container {
    max-width: 1000px;
  }
}

.nav-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

main {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 页面底部版权信息 - 弱化设计 - 强制优先级 */
footer {
  max-width: 1000px !important;
  margin: 48px auto 0 auto !important;
  padding: 24px 20px 32px 20px !important;
  text-align: center !important;
  border-top: 1px solid var(--border-color, #e9e9e7) !important;
  display: block !important;
}

footer span {
  color: var(--text-tint, #8b8b8b) !important;
  font-size: 0.75rem !important;
  font-weight: 400 !important;
  letter-spacing: 0.02em !important;
  opacity: 0.7 !important;
  transition: opacity 0.2s ease !important;
  display: inline !important;
}

footer:hover span {
  opacity: 0.9 !important;
}

/* 强制覆盖所有可能的 footer 样式 */
body footer,
html footer,
main + footer {
  max-width: 1000px !important;
  margin: 48px auto 0 auto !important;
  padding: 24px 20px 32px 20px !important;
  text-align: center !important;
  border-top: 1px solid var(--border-color, #e9e9e7) !important;
  display: block !important;
}

body footer span,
html footer span,
main + footer span {
  color: var(--text-tint, #8b8b8b) !important;
  font-size: 0.75rem !important;
  font-weight: 400 !important;
  letter-spacing: 0.02em !important;
  opacity: 0.7 !important;
  transition: opacity 0.2s ease !important;
  display: inline !important;
}

/* 暗黑模式下的底部样式 */
@media (prefers-color-scheme: dark) {
  footer,
  body footer,
  html footer,
  main + footer {
    border-top-color: var(--border-color, #2f2f2f) !important;
  }
  
  footer span,
  body footer span,
  html footer span,
  main + footer span {
    color: var(--text-tint, #a0a0a0) !important;
  }
}

/* 终极强制覆盖 - 确保线上生效 */
html body footer {
  max-width: 1000px !important;
  margin: 48px auto 0 auto !important;
  padding: 24px 20px 32px 20px !important;
  text-align: center !important;
  border-top: 1px solid #e9e9e7 !important;
  display: block !important;
  font-family: 'Libre Baskerville', serif !important;
}

html body footer span {
  color: #8b8b8b !important;
  font-size: 0.75rem !important;
  font-weight: 400 !important;
  letter-spacing: 0.02em !important;
  opacity: 0.7 !important;
  transition: opacity 0.2s ease !important;
  display: inline !important;
}

html body footer:hover span {
  opacity: 0.9 !important;
}

/* 移动端优化 */
@media (max-width: 768px) {
  html body footer {
    padding: 20px 16px 28px 16px !important;
  }
}

/* 文章头部间距修复 - 确保线上生效 */
.notion-post .post-header {
  margin-top: 32px !important;
  padding: 64px 0 48px 0 !important;
  margin-bottom: 48px !important;
}

/* 强制覆盖文章头部间距 */
article.notion-post header.post-header {
  margin-top: 32px !important;
  padding: 64px 0 48px 0 !important;
  margin-bottom: 48px !important;
}

/* 移动端文章头部优化 */
@media (max-width: 768px) {
  .notion-post .post-header,
  article.notion-post header.post-header {
    margin-top: 24px !important;
    padding: 48px 0 32px 0 !important;
  }
}

@media (max-width: 480px) {
  .notion-post .post-header,
  article.notion-post header.post-header {
    margin-top: 20px !important;
    padding: 40px 0 28px 0 !important;
  }
}

/* 终极强制修复 - 文章头部间距问题 - 最高优先级 */
html body main article.notion-post header.post-header {
  margin-top: 32px !important;
  padding: 64px 0 48px 0 !important;
  margin-bottom: 48px !important;
  max-width: 600px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  position: relative !important;
}

/* 添加细灰色装饰线 */
html body main article.notion-post header.post-header::before {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  width: 60px !important;
  height: 2px !important;
  background: linear-gradient(90deg, transparent, #d9d9d7, transparent) !important;
  border-radius: 1px !important;
}

html body main article header.post-header {
  margin-top: 32px !important;
  padding: 64px 0 48px 0 !important;
  margin-bottom: 48px !important;
  max-width: 600px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  position: relative !important;
}

/* 为其他选择器添加装饰线 */
html body main article header.post-header::before {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  width: 60px !important;
  height: 2px !important;
  background: linear-gradient(90deg, transparent, #d9d9d7, transparent) !important;
  border-radius: 1px !important;
}

html body article.notion-post header.post-header {
  margin-top: 32px !important;
  padding: 64px 0 48px 0 !important;
  margin-bottom: 48px !important;
  max-width: 600px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  position: relative !important;
}

html body article header.post-header {
  margin-top: 32px !important;
  padding: 64px 0 48px 0 !important;
  margin-bottom: 48px !important;
  max-width: 600px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  position: relative !important;
}

/* 为剩余选择器添加装饰线 */
html body article.notion-post header.post-header::before,
html body article header.post-header::before {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  width: 60px !important;
  height: 2px !important;
  background: linear-gradient(90deg, transparent, #d9d9d7, transparent) !important;
  border-radius: 1px !important;
}

/* 移动端终极修复 */
@media (max-width: 768px) {
  html body main article.notion-post header.post-header,
  html body main article header.post-header,
  html body article.notion-post header.post-header,
  html body article header.post-header {
    margin-top: 24px !important;
    padding: 48px 0 32px 0 !important;
  }
}

@media (max-width: 480px) {
  html body main article.notion-post header.post-header,
  html body main article header.post-header,
  html body article.notion-post header.post-header,
  html body article header.post-header {
    margin-top: 20px !important;
    padding: 40px 0 28px 0 !important;
  }
}

/* 通用文章标题修复 - 确保所有文章都生效 */
.post-header,
header.post-header,
article .post-header,
article header.post-header {
  margin-top: 32px !important;
  padding: 64px 0 48px 0 !important;
  margin-bottom: 48px !important;
  max-width: 600px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  position: relative !important;
  text-align: center !important;
  border-bottom: 1px solid #e9e9e7 !important;
}

/* 通用装饰线 */
.post-header::before,
header.post-header::before,
article .post-header::before,
article header.post-header::before {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  width: 60px !important;
  height: 2px !important;
  background: linear-gradient(90deg, transparent, #d9d9d7, transparent) !important;
  border-radius: 1px !important;
}

/* 通用文章标题样式 */
.post-title,
h1.post-title,
article .post-title,
article h1.post-title {
  margin: 0 0 24px 0 !important;
  font-size: 2.5rem !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  color: #37352f !important;
  letter-spacing: -0.02em !important;
}

/* 通用文章元信息样式 */
.post-meta,
.post-info,
article .post-meta,
article .post-info {
  font-size: 14px !important;
  color: #787774 !important;
  margin-bottom: 16px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  text-align: center !important;
}

/* 修复日期和作者对齐问题 */
.post-meta time,
.post-info time,
article .post-meta time,
article .post-info time {
  display: inline !important;
  margin: 0 !important;
  padding: 0 !important;
}

.post-meta .post-author,
.post-info .post-author,
article .post-meta .post-author,
article .post-info .post-author {
  display: inline !important;
  margin: 0 !important;
  padding: 0 !important;
  margin-left: 8px !important;
}

/* 强制修复所有可能的元信息结构 */
.post-meta span,
.post-info span,
article .post-meta span,
article .post-info span {
  display: inline !important;
  margin: 0 !important;
  padding: 0 !important;
}

.post-meta br,
.post-info br,
article .post-meta br,
article .post-info br {
  display: none !important;
}

/* 通用标签样式 - 区别对待 */
/* 文章页面的标签居中 - 终极强制修复 */
.post-tags,
article .post-tags,
html body .post-tags,
html body article .post-tags,
.post-header .post-tags,
article .post-header .post-tags,
html body .post-header .post-tags,
html body article .post-header .post-tags {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  justify-content: center !important;
  margin-top: 12px !important;
  text-align: center !important;
}

/* 首页列表的标签居左 */
.catalogue-tags,
article .catalogue-tags {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  justify-content: flex-start !important;
  margin-top: 12px !important;
}

.post-tags .tag,
.catalogue-tags .tag,
article .post-tags .tag,
article .catalogue-tags .tag {
  background: #f1f1ef !important;
  color: #787774 !important;
  padding: 4px 8px !important;
  border-radius: 4px !important;
  font-size: 0.75rem !important;
  font-weight: 500 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  border: none !important;
  box-shadow: none !important;
  margin-top: 8px !important;
  margin-bottom: 0 !important;
}

/* 修复首页标签位置 - 移到文章标题下方 */
.catalogue-item .catalogue-tags {
  margin-top: 8px !important;
  margin-bottom: 0 !important;
  order: 3 !important;
}

.catalogue-item .catalogue-excerpt {
  order: 4 !important;
  margin-top: 12px !important;
}

/* 移除标签的红色边框和阴影 */
.catalogue-tags .tag,
.post-tags .tag {
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
  background: #f1f1ef !important;
  color: #787774 !important;
}

/* 翻页器组件样式修复 */
.pagination {
  border-top: 1px solid #e9e9e7 !important;
  font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Segoe UI', 'Roboto', sans-serif !important;
  padding: 32px 0 !important;
  position: relative !important;
  text-align: center !important;
  margin-top: 48px !important;
}

.pagination-container {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 16px !important;
  flex-wrap: wrap !important;
}

.pagination-btn {
  color: #787774 !important;
  font-size: 0.875rem !important;
  font-weight: 500 !important;
  padding: 8px 16px !important;
  border: 1px solid #e9e9e7 !important;
  border-radius: 6px !important;
  background-color: #ffffff !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
  display: inline-block !important;
  min-width: 80px !important;
  text-align: center !important;
}

.pagination-btn:hover {
  background-color: #f1f1ef !important;
  border-color: #787774 !important;
  color: #37352f !important;
  text-decoration: none !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
}

.pagination-btn:disabled {
  color: #c4c4c4 !important;
  background-color: #f9f9f9 !important;
  border-color: #e9e9e7 !important;
  cursor: not-allowed !important;
  transform: none !important;
  box-shadow: none !important;
}

.pagination-info {
  color: #787774 !important;
  font-size: 0.875rem !important;
  font-weight: 400 !important;
  margin: 0 16px !important;
}

/* 移动端优化 */
@media (max-width: 768px) {
  .pagination-container {
    gap: 12px !important;
  }
  
  .pagination-btn {
    padding: 6px 12px !important;
    font-size: 0.8rem !important;
    min-width: 70px !important;
  }
  
  .pagination-info {
    font-size: 0.8rem !important;
    margin: 0 8px !important;
  }
}

@media (max-width: 480px) {
  .pagination-container {
    gap: 8px !important;
  }
  
  .pagination-btn {
    padding: 5px 10px !important;
    font-size: 0.75rem !important;
    min-width: 60px !important;
  }
  
  .pagination-info {
    font-size: 0.75rem !important;
    margin: 0 4px !important;
  }
}
