/* cathi-festival — 节日氛围装饰层（不改动任何主题，仅叠加在页面之上） */
html[data-festival] .FestivalDecor {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 20;
  overflow: hidden;
}
.FestivalDecor .wash {
  position: absolute;
  inset: 0;
}

/* 月亮（中秋） */
.FestivalDecor .moon {
  position: absolute;
  top: 60px;
  right: 22px;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: radial-gradient(circle at 38% 36%, #fffef6 0%, #fdf2c0 46%, #f3d784 100%);
  box-shadow: 0 0 26px 8px rgba(255, 224, 150, .5), inset -7px -7px 14px rgba(170, 140, 80, .28);
}
[data-theme^="dark"] .FestivalDecor .moon {
  box-shadow: 0 0 40px 14px rgba(255, 224, 150, .38), inset -9px -9px 18px rgba(150, 120, 70, .32);
}

/* 灯笼 */
.FestivalDecor .lantern {
  position: absolute;
  top: 54px;
  width: 34px;
  transform-origin: top center;
  animation: fest-sway 4.2s ease-in-out infinite;
}
.FestivalDecor .lantern .cap {
  width: 18px;
  height: 6px;
  margin: 0 auto;
  border-radius: 2px;
  background: linear-gradient(#e8b84b, #caa133);
}
.FestivalDecor .lantern .body {
  position: relative;
  width: 34px;
  height: 42px;
  margin: 0 auto;
  border-radius: 14px / 16px;
  background: radial-gradient(circle at 50% 34%, #ff6f62 0%, #d8392c 72%);
  box-shadow: inset 0 0 8px rgba(0, 0, 0, .25), 0 0 12px rgba(216, 57, 44, .4);
}
.FestivalDecor .lantern .body::before,
.FestivalDecor .lantern .body::after {
  content: "";
  position: absolute;
  left: 7px;
  right: 7px;
  height: 1px;
  background: rgba(255, 222, 150, .55);
}
.FestivalDecor .lantern .body::before { top: 14px; }
.FestivalDecor .lantern .body::after { top: 28px; }
.FestivalDecor .lantern .tassel {
  width: 2px;
  height: 14px;
  margin: 0 auto;
  background: #e8b84b;
}
@keyframes fest-sway {
  0%, 100% { transform: rotate(-6deg); }
  50% { transform: rotate(6deg); }
}

/* 节日角标 */
.FestivalDecor .badge {
  position: fixed;
  left: 16px;
  bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  background: rgba(255, 250, 235, .92);
  color: #9a5b1e;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .14);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
[data-theme^="dark"] .FestivalDecor .badge {
  background: rgba(58, 44, 24, .86);
  color: #f6d9a0;
}
.FestivalDecor .badge .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fff, #f3d784);
  box-shadow: 0 0 6px rgba(255, 224, 150, .7);
}

@media (max-width: 768px) {
  .FestivalDecor .moon { width: 54px; height: 54px; top: 54px; right: 12px; }
  .FestivalDecor .lantern { top: 48px; }
  .FestivalDecor .badge { left: 10px; bottom: 10px; padding: 5px 10px; font-size: 12px; }
}
