/* =========================
   🌌 全局背景
========================= */
body {
  background-image: url("../../images/bg.gif");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

/* =========================
   目录+内容区：半透明背景+圆角
========================= */
.md-main__inner {
  background: rgba(255, 255, 255, 0.60);
  border-radius: 12px;
}
[data-md-color-scheme="slate"] .md-main__inner {
  background: rgba(30, 30, 30, 0.60);
  border-radius: 12px;
}


/* =========================
   毛玻璃：只放在正文内容区
========================= */
.md-content {
  position: relative;
  z-index: 0;
}

.md-content::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.18);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border-radius: 12px;
  z-index: -1;
  pointer-events: none;
}
[data-md-color-scheme="slate"] .md-content::before {
  background: rgba(30, 30, 30, 0.18);
}

/* =========================
   📏 可选：内容宽度优化
========================= */

.md-grid {
  max-width: 88%;
}

/* nav link 本身不再制造块感 */
.md-nav__link {
  background: transparent !important;
  box-shadow: none !important;
}

