
/* 文章整体添加不透明背景 */
#dream-single-post-main {
  background-color: #ffffff;
  border-radius: 0.5rem;
  padding: 1.5rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  margin: 1rem 0;
}

/* 文章内容区域 - 纯白背景 */
#dream-single-post-content {
  background-color: #ffffff;
  border-radius: 0.5rem;
  padding: 1rem;
  margin-top: 1rem;
}

/* 文章标题区域 */
#dream-single-post-main header {
  border-radius: 0.5rem;
  padding: 1rem;
  margin-bottom: 1rem;
}

/* 深色模式下的样式调整 - 使用DaisyUI主题选择器 */
[data-theme="forest"] #dream-single-post-main {
  background-color: #1a1a1a;
  color: #e5e7eb;
}

[data-theme="forest"] #dream-single-post-content {
  background-color: #1a1a1a;
  color: #e5e7eb;
}

[data-theme="forest"] #dream-single-post-main header {
  background-color: #1a1a1a;
  color: #e5e7eb;
}

/* 确保在浅色模式下文字颜色正确 */
[data-theme="emerald"] #dream-single-post-main,
[data-theme="emerald"] #dream-single-post-content,
[data-theme="emerald"] #dream-single-post-main header {
  color: #1f2937;
}

nav {
  text-shadow:
    0 1px 3px rgba(0, 0, 0, 0.9),
    0 0 8px rgba(0, 0, 0, 0.6),
    0 0 20px rgba(0, 0, 0, 0.3) !important;
}

nav ion-icon {
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.8));
}

#TableOfContents {
  background: rgba(255, 255, 255, 0.85) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
}

#TableOfContents a {
  color: #1f2937 !important;
}

[data-theme="forest"] #TableOfContents {
  background: rgba(30, 30, 30, 0.85) !important;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

[data-theme="forest"] #TableOfContents a {
  color: #e5e7eb !important;
}