/* 各版本首頁的原創森林場景，隨視窗固定呈現。 */
body.semester-forest-home {
  --semester-forest-image: url("../assets/storybook/forest-nanyi-v2.webp");
  isolation: isolate;
  background: #224c36;
}
body.semester-forest-home::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(180deg, #102e326b 0%, #123c3021 36%, #102e323d 100%),
    var(--semester-forest-image) center / cover no-repeat;
  filter: none;
  opacity: 1;
}
body.semester-forest-home.course-glass { background: #e6eeea; }
body.semester-forest-home.course-glass::before {
  background: linear-gradient(145deg, #e8f2edcc, #f4f7f3bf),
    var(--semester-forest-image) center / cover no-repeat;
}
body.semester-forest-home.course-high-contrast::before { display: none; }
@media (forced-colors: active), print {
  body.semester-forest-home::before { display: none; }
}
