:root {
  --global-bg: transparent !important; 
  --card-bg: rgba(255, 255, 255, 0.8) !important; /* 首页卡片 */
  --sidebar-bg: rgba(255, 255, 255, 0.8) !important; /* 侧边栏 */
  --post-bg: rgba(255, 255, 255, 0.25) !important; /* 🔥 给文章页留 25% 的极弱白底，既保文字又透图 */
}

[data-theme="dark"] {
  --global-bg: transparent !important;
  --card-bg: rgba(30, 30, 30, 0.8) !important;
  --sidebar-bg: rgba(30, 30, 30, 0.8) !important;
  --post-bg: rgba(20, 20, 20, 0.5) !important; /* 夜间同样是半透明保护 */
}

#footer {
  background: transparent !important;
}
#footer::before {
  background: transparent !important;
}
[data-theme="dark"] #footer::before {
  background: transparent !important;
}
