/* 用户提供的团花云纹，提取为单色线稿，只做低透明度点缀 */
:root {
  --ornament: url("../img/ornament-cloud-line.png");
}

/* 首页：左侧留白的一整块团花，不重复、不铺满 */
.fold-page .fold { position: relative; }
.fold-page .fold::before {
  display: none;
  content: "";
  position: absolute;
  left: -7vw;
  top: 4vh;
  width: min(46vw, 640px);
  aspect-ratio: 1;
  background: var(--ornament) center / contain no-repeat;
  opacity: .055;
  -webkit-mask-image: radial-gradient(ellipse at 42% 45%, #000 0%, #000 38%, transparent 74%);
  mask-image: radial-gradient(ellipse at 42% 45%, #000 0%, #000 38%, transparent 74%);
  pointer-events: none;
  z-index: 0;
}
.fold-page .fold__copy,
.fold-page .fold__stage { position: relative; z-index: 1; }

/* 页脚：右下角的一枚团花，作为收尾 */
.site-footer::after {
  content: "";
  position: absolute;
  right: 5vw;
  bottom: 2.2rem;
  width: 210px;
  aspect-ratio: 1;
  background: var(--ornament) center / contain no-repeat;
  opacity: .11;
  -webkit-mask-image: radial-gradient(circle, #000 0%, #000 48%, transparent 74%);
  mask-image: radial-gradient(circle, #000 0%, #000 48%, transparent 74%);
  pointer-events: none;
}

/* 七站页：右下角，压在空白而不是画心 */
.gd-station::before {
  content: "";
  position: absolute;
  right: 2.2rem;
  bottom: 4.6rem;
  width: 150px;
  aspect-ratio: 1;
  background: var(--ornament) center / contain no-repeat;
  opacity: .09;
  -webkit-mask-image: radial-gradient(circle, #000 0%, #000 48%, transparent 74%);
  mask-image: radial-gradient(circle, #000 0%, #000 48%, transparent 74%);
  pointer-events: none;
}

/* 404：一枚团花做“空”的提示 */
body[data-page="404"] main::after {
  content: "";
  position: fixed;
  right: 5vw;
  bottom: 6vh;
  width: min(300px, 36vw);
  aspect-ratio: 1;
  background: var(--ornament) center / contain no-repeat;
  opacity: .14;
  pointer-events: none;
}

@media (max-width: 720px) {
  .fold-page .fold::before {
  display: none; width: 300px; left: -130px; top: 8vh; opacity: .055; }
  .site-footer::after { width: 120px; right: 1.2rem; bottom: 1rem; opacity: .10; }
  .gd-station::before { display: none; }
  body[data-page="404"] main::after { width: 200px; opacity: .11; }
}
