/* ========== Premium Single Post Styles ========== */

/* 基础布局 */
.single-post-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 48px;
  margin: 40px 0;
  align-items: start;
}

.single-post-main {
  min-width: 0;
}

.single-article {
  background: linear-gradient(180deg, #ffffff 0%, #fafbfc 100%);
  border-radius: 20px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.04);
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.04);
}

/* 面包屑导航 */
.breadcrumb {
  padding: 20px 0;
  font-size: 14px;
  color: #6b7280;
  background: transparent;
}

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 8px;
  align-items: center;
}

.breadcrumb-list li {
  display: flex;
  align-items: center;
}

.breadcrumb-list li + li::before {
  content: "›";
  color: #d1d5db;
  margin: 0 8px;
  font-size: 16px;
}

.breadcrumb-list a {
  color: #6b7280;
  text-decoration: none;
  transition: all 0.2s ease;
  font-weight: 500;
  padding: 4px 8px;
  border-radius: 6px;
}

.breadcrumb-list a:hover {
  color: #c49a6c;
  background: rgba(196, 154, 108, 0.08);
}

.breadcrumb-list span {
  color: #1f2937;
  font-weight: 600;
  padding: 4px 8px;
}

/* 文章头部 */
.article-header {
  padding: 40px 40px 32px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  margin-bottom: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.9) 0%, rgba(250,251,252,0.8) 100%);
}

.featured-image-wrapper {
  margin: -40px -40px 32px;
  overflow: hidden;
  position: relative;
}

.featured-image-wrapper::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(to top, rgba(255,255,255,0.3), transparent);
  pointer-events: none;
}

.featured-image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.single-article:hover .featured-image-wrapper img {
  transform: scale(1.02);
}

.article-meta-top {
  margin-bottom: 20px;
}

.article-category a {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(135deg, #c49a6c 0%, #a67c52 100%);
  color: #fff;
  padding: 6px 16px;
  border-radius: 24px;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  box-shadow: 0 2px 8px rgba(196, 154, 108, 0.3);
  transition: all 0.3s ease;
}

.article-category a:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(196, 154, 108, 0.4);
}

.article-title {
  font-size: 36px;
  font-weight: 800;
  color: #111827;
  margin: 20px 0 24px;
  line-height: 1.25;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, #111827 0%, #374151 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 14px;
  color: #6b7280;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.meta-author {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: #374151;
}

.author-avatar img {
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.meta-date, .meta-updated, .meta-reading-time {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: rgba(0, 0, 0, 0.03);
  border-radius: 20px;
  transition: background 0.2s ease;
}

.meta-date:hover, .meta-updated:hover, .meta-reading-time:hover {
  background: rgba(0, 0, 0, 0.06);
}

/* 文章内容 */
.article-content {
  font-size: 18px;
  line-height: 1.85;
  color: #374151;
  padding: 40px;
}

.article-content h2 {
  font-size: 26px;
  font-weight: 700;
  color: #1f2937;
  margin: 40px 0 20px;
  padding-top: 32px;
  border-top: 2px solid rgba(196, 154, 108, 0.2);
  letter-spacing: -0.3px;
  position: relative;
}

.article-content h2::before {
  content: '';
  position: absolute;
  left: 0;
  top: 32px;
  width: 4px;
  height: 28px;
  background: linear-gradient(180deg, #c49a6c 0%, #a67c52 100%);
  border-radius: 2px;
}

.article-content h3 {
  font-size: 22px;
  font-weight: 600;
  color: #2d3748;
  margin: 32px 0 16px;
  letter-spacing: -0.2px;
}

.article-content p {
  margin: 20px 0;
  text-align: justify;
}

.article-content ul, .article-content ol {
  margin: 24px 0;
  padding-left: 28px;
}

.article-content li {
  margin: 12px 0;
  position: relative;
  padding-left: 8px;
}

.article-content ul li::marker {
  color: #c49a6c;
}

.article-content a {
  color: #c49a6c;
  text-decoration: none;
  border-bottom: 2px solid rgba(196, 154, 108, 0.3);
  transition: all 0.2s ease;
  font-weight: 500;
}

.article-content a:hover {
  color: #a67c52;
  border-bottom-color: #c49a6c;
  background: rgba(196, 154, 108, 0.08);
}

.article-content img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 28px 0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.article-content img:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.article-content blockquote {
  border-left: 4px solid #c49a6c;
  margin: 32px 0;
  padding: 24px 32px;
  background: linear-gradient(135deg, rgba(196, 154, 108, 0.08) 0%, rgba(196, 154, 108, 0.04) 100%);
  font-style: italic;
  color: #4b5563;
  border-radius: 0 12px 12px 0;
  font-size: 17px;
  line-height: 1.7;
}

/* 标签 */
.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 24px 40px;
  background: linear-gradient(135deg, rgba(249, 250, 251, 0.8) 0%, rgba(243, 244, 246, 0.6) 100%);
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.article-tags > span {
  font-weight: 700;
  color: #6b7280;
  margin-right: 8px;
  display: flex;
  align-items: center;
}

.tag-link {
  background: #fff;
  color: #6b7280;
  padding: 8px 18px;
  border-radius: 24px;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}

.tag-link:hover {
  background: linear-gradient(135deg, #c49a6c 0%, #a67c52 100%);
  color: #fff;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(196, 154, 108, 0.3);
}

/* 社交分享 */
.social-share {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 24px 40px;
  background: linear-gradient(135deg, rgba(249, 250, 251, 0.9) 0%, rgba(243, 244, 246, 0.7) 100%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.share-title {
  font-weight: 700;
  color: #374151;
  margin-right: 8px;
  font-size: 14px;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 18px;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  border: 2px solid transparent;
}

.share-btn:hover {
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.share-btn.facebook {
  background: linear-gradient(135deg, #1877f2 0%, #0d5bca 100%);
  color: #fff;
}

.share-btn.twitter {
  background: linear-gradient(135deg, #1da1f2 0%, #0c85d0 100%);
  color: #fff;
}

.share-btn.linkedin {
  background: linear-gradient(135deg, #0a66c2 0%, #074d92 100%);
  color: #fff;
}

.share-btn.email {
  background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%);
  color: #fff;
}

/* 作者信息框 */
.author-box {
  display: flex;
  gap: 24px;
  padding: 32px 40px;
  background: linear-gradient(135deg, rgba(249, 250, 251, 0.9) 0%, rgba(243, 244, 246, 0.7) 100%);
  border-radius: 0;
  margin: 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  transition: background 0.3s ease;
}

.author-box:hover {
  background: linear-gradient(135deg, rgba(249, 250, 251, 1) 0%, rgba(243, 244, 246, 0.9) 100%);
}

.author-box-avatar img {
  border-radius: 50%;
  border: 3px solid #fff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.author-box-info h4 {
  margin: 4px 0 12px;
  color: #1f2937;
  font-size: 18px;
  font-weight: 700;
}

.author-box-info p {
  margin: 0;
  color: #6b7280;
  font-size: 15px;
  line-height: 1.7;
}

/* 文章导航 */
.post-navigation {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 0;
  padding: 32px 40px;
  background: linear-gradient(135deg, rgba(249, 250, 251, 0.8) 0%, rgba(243, 244, 246, 0.6) 100%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.post-navigation a {
  display: block;
  padding: 20px;
  background: #fff;
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.post-navigation a:hover {
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  transform: translateY(-4px);
  border-color: rgba(196, 154, 108, 0.3);
}

.nav-label {
  font-size: 11px;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
  display: block;
  margin-bottom: 6px;
}

.nav-title {
  font-weight: 600;
  color: #1f2937;
  font-size: 15px;
  line-height: 1.4;
  display: block;
}

/* 相关文章 */
.related-posts {
  margin: 48px 0 0;
  padding: 40px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(249, 250, 251, 0.7) 100%);
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.related-title {
  font-size: 22px;
  font-weight: 800;
  color: #1f2937;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid rgba(196, 154, 108, 0.2);
  display: flex;
  align-items: center;
  gap: 8px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.related-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.related-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
  border-color: rgba(196, 154, 108, 0.3);
}

.related-card a {
  display: block;
  text-decoration: none;
  color: inherit;
}

.related-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.related-card:hover img {
  transform: scale(1.08);
}

.related-card h4 {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  margin: 0;
  padding: 16px;
  color: #1f2937;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 侧边栏 */
.single-sidebar {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.sidebar-widget {
  background: linear-gradient(135deg, #ffffff 0%, #fafbfc 100%);
  padding: 28px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
}

.sidebar-widget:hover {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
}

.sidebar-widget h4 {
  margin: 0 0 18px;
  font-size: 17px;
  font-weight: 800;
  color: #1f2937;
  letter-spacing: -0.3px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.sidebar-widget p {
  color: #6b7280;
  font-size: 14px;
  margin-bottom: 20px;
  line-height: 1.6;
}

.sidebar-widget .btn {
  display: block;
  width: 100%;
  text-align: center;
  padding: 14px 24px;
  background: linear-gradient(135deg, #c49a6c 0%, #a67c52 100%);
  color: #fff;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(196, 154, 108, 0.3);
  border: none;
  font-size: 15px;
}

.sidebar-widget .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(196, 154, 108, 0.4);
}

.category-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.category-list li {
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  transition: background 0.2s ease;
}

.category-list li:last-child {
  border-bottom: none;
}

.category-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  color: #4b5563;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s ease;
}

.category-list a:hover {
  color: #c49a6c;
  padding-left: 8px;
}

.category-list span {
  background: rgba(0, 0, 0, 0.04);
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
  color: #6b7280;
}

.popular-posts {
  list-style: none;
  margin: 0;
  padding: 0;
}

.popular-posts li {
  padding: 12px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  transition: all 0.2s ease;
}

.popular-posts li:last-child {
  border-bottom: none;
}

.popular-posts a {
  color: #4b5563;
  text-decoration: none;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 500;
  transition: all 0.2s ease;
  display: block;
}

.popular-posts a:hover {
  color: #c49a6c;
  padding-left: 8px;
}

/* 响应式设计 */
@media (max-width: 1024px) {
  .single-post-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .single-sidebar {
    position: static;
  }
  
  .related-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .article-header {
    padding: 24px 20px 20px;
  }
  
  .article-content {
    padding: 24px 20px;
  }
  
  .article-title {
    font-size: 26px;
  }
  
  .article-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  
  .post-navigation {
    grid-template-columns: 1fr;
    padding: 24px 20px;
  }
  
  .related-grid {
    grid-template-columns: 1fr;
  }
  
  .related-posts,
  .article-tags,
  .social-share,
  .author-box {
    padding-left: 20px;
    padding-right: 20px;
  }
  
  .featured-image-wrapper {
    margin: -24px -20px 20px;
  }
}

/* 动画效果 */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.single-article > * {
  animation: fadeInUp 0.5s ease forwards;
}

.single-article .article-header {
  animation-delay: 0s;
}

.single-article .article-content {
  animation-delay: 0.1s;
}

.single-article .article-tags {
  animation-delay: 0.2s;
}

.single-article .social-share {
  animation-delay: 0.3s;
}

.single-article .author-box {
  animation-delay: 0.4s;
}

.single-article .post-navigation {
  animation-delay: 0.5s;
}

/* ========== Additional Premium Enhancements ========== */

/* 页面整体背景 */
.page-wrapper {
  background: linear-gradient(180deg, #f9fafb 0%, #f3f4f6 100%);
  min-height: 100vh;
}

/* 容器优化 */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* 卡片悬浮效果增强 */
.single-article {
  position: relative;
  overflow: hidden;
}

.single-article::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #c49a6c 0%, #a67c52 50%, #c49a6c 100%);
  background-size: 200% 100%;
  animation: shimmer 3s ease-in-out infinite;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.single-article:hover::before {
  opacity: 1;
}

@keyframes shimmer {
  0%, 100% { background-position: 200% 0; }
  50% { background-position: -200% 0; }
}

/* 标题装饰 */
.article-title {
  position: relative;
  padding-bottom: 20px;
}

.article-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #c49a6c 0%, transparent 100%);
  border-radius: 2px;
}

/* 内容区域段落优化 */
.article-content > p:first-of-type {
  font-size: 20px;
  font-weight: 500;
  color: #4b5563;
  line-height: 1.9;
  padding: 20px 0;
  border-bottom: 1px dashed rgba(0, 0, 0, 0.1);
  margin-bottom: 32px;
}

/* H2 标题编号装饰 */
.article-content h2 {
  counter-increment: heading-counter;
}

.article-content h2::after {
  content: ' 0' counter(heading-counter);
  font-size: 14px;
  font-weight: 700;
  color: #c49a6c;
  opacity: 0.6;
}

/* 代码块样式 */
.article-content pre {
  background: #1f2937;
  color: #f9fafb;
  padding: 20px 24px;
  border-radius: 12px;
  overflow-x: auto;
  font-family: 'Monaco', 'Consolas', monospace;
  font-size: 14px;
  line-height: 1.7;
  margin: 28px 0;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* 表格样式 */
.article-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 28px 0;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.article-content th {
  background: linear-gradient(135deg, #c49a6c 0%, #a67c52 100%);
  color: #fff;
  padding: 14px 18px;
  text-align: left;
  font-weight: 700;
  font-size: 14px;
}

.article-content td {
  padding: 14px 18px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  color: #4b5563;
}

.article-content tr:last-child td {
  border-bottom: none;
}

.article-content tr:hover {
  background: rgba(196, 154, 108, 0.04);
}

/* 重点文字高亮 */
.article-content strong {
  color: #1f2937;
  font-weight: 700;
  padding: 2px 6px;
  background: rgba(196, 154, 108, 0.1);
  border-radius: 4px;
}

/* 侧边栏小工具标题图标 */
.sidebar-widget h4::before {
  font-size: 18px;
}

/* 订阅框渐变背景 */
.sidebar-widget:first-child {
  background: linear-gradient(135deg, rgba(196, 154, 108, 0.08) 0%, rgba(166, 124, 82, 0.04) 100%);
  border: 1px solid rgba(196, 154, 108, 0.2);
}

/* 分类列表悬停效果 */
.category-list li {
  position: relative;
  padding-left: 4px;
  transition: all 0.2s ease;
}

.category-list li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: #c49a6c;
  opacity: 0;
  transition: all 0.2s ease;
}

.category-list li:hover::before {
  opacity: 1;
  left: -8px;
}

/* 相关文章卡片渐变边框 */
.related-card {
  position: relative;
  background: #fff;
}

.related-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 12px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(196, 154, 108, 0.3), transparent);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* 面包屑当前页高亮 */
.breadcrumb-list li:last-child span {
  background: rgba(196, 154, 108, 0.1);
  padding: 4px 12px;
  border-radius: 6px;
  color: #c49a6c;
}

/* 社交分享按钮计数 */
.social-share {
  position: relative;
}

.share-btn::after {
  content: attr(aria-label);
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
}

.share-btn:hover::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* 作者框链接 */
.author-box-info a {
  color: #c49a6c;
  text-decoration: none;
  font-weight: 600;
}

.author-box-info a:hover {
  text-decoration: underline;
}

/* 文章导航箭头 */
.nav-previous a::before {
  content: '← ';
  color: #c49a6c;
  font-weight: 700;
}

.nav-next a::after {
  content: ' →';
  color: #c49a6c;
  font-weight: 700;
}

/* 空状态提示 */
.related-posts:empty,
.author-box:empty {
  display: none;
}

/* 打印样式 */
@media print {
  .single-sidebar,
  .social-share,
  .post-navigation,
  .related-posts {
    display: none !important;
  }
  
  .single-post-layout {
    display: block;
  }
  
  .article-content {
    font-size: 14px;
    line-height: 1.6;
  }
}

/* 深色模式支持 */
@media (prefers-color-scheme: dark) {
  .page-wrapper {
    background: linear-gradient(180deg, #111827 0%, #1f2937 100%);
  }
  
  .single-article {
    background: linear-gradient(180deg, #1f2937 0%, #111827 100%);
    border-color: rgba(255, 255, 255, 0.1);
  }
  
  .article-title {
    color: #f9fafb;
  }
  
  .article-content {
    color: #d1d5db;
  }
  
  .article-content h2,
  .article-content h3 {
    color: #f9fafb;
  }
}

/* 加载动画 */
@keyframes skeleton-loading {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s infinite;
  border-radius: 8px;
}

/* 焦点样式 - 无障碍 */
a:focus-visible,
button:focus-visible {
  outline: 2px solid #c49a6c;
  outline-offset: 2px;
  border-radius: 4px;
}

/* 平滑滚动 */
html {
  scroll-behavior: smooth;
}

/* 选中文案高亮 */
::selection {
  background: rgba(196, 154, 108, 0.3);
  color: #1f2937;
}

::-moz-selection {
  background: rgba(196, 154, 108, 0.3);
  color: #1f2937;
}
