/* ============================================================
   xh-festival.css  v3 "Winter Light" —— 小华网页节日皮肤
   设计取向（参考国外高端节日页做法）：
     整页只铺一层极淡的静奢实景底图（真实雪松虚化），加柔焦落雪。
     John 2026-11-21 反馈「切断没有整体感」→ 顶部金线/底部暖光/右上金雾/
     边缘星芒/中央蒙版全部删除：任何让上下或中间出现边界的装饰都不要。
   硬约束：
     · 所有选择器以 html.xh-fest-christmas 开头 → 无该 class 时本文件等于空文件
     · 全部 position:fixed + pointer-events:none，不参与布局、不挡点击
     · 去掉 __XH_FESTIVAL__ 即回原样，零残留
   ============================================================ */

/* ── 2. 静奢实景底图：全页均匀铺一层，不做任何挖空/蒙版/边框 ──
   上一版用 mask 把中央挖成纯白，导致「上下有图、中间白板」的割裂感（John 2026-11-21）。
   现在整页同一层极淡氛围，没有任何边界。 */
html.xh-fest-christmas #xh-fest-photo {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: url(/pa-uat/xh-festival-bg.webp) center / cover no-repeat;
  opacity: .32;
}


/* ── 3. 全页覆盖膜：盖在最上层，让顶栏/底栏的纯白面板也吃到同一层氛围，
      消除「白条—花纹—白条」的三明治断层。
      只改我这一层的透明度，不碰任何现有组件样式；pointer-events:none 不挡点击。 */
html.xh-fest-christmas #xh-fest-veil {
  position: fixed;
  inset: 0;
  z-index: 2147482000;
  pointer-events: none;
  background: url(/pa-uat/xh-festival-bg.webp) center / cover no-repeat;
  opacity: .13;
  mix-blend-mode: multiply;
}

/* ── 3. 柔焦落雪（模糊粒子；不是硬白圆点） ── */
html.xh-fest-christmas.xh-fest-snowfall #xh-fest-snowfall {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}
html.xh-fest-christmas.xh-fest-snowfall #xh-fest-snowfall i {
  position: absolute;
  top: -16px;
  display: block;
  border-radius: 50%;
  background: radial-gradient(circle,
    rgba(255, 255, 255, .98) 0%,
    rgba(255, 255, 255, .78) 42%,
    rgba(255, 255, 255, 0) 100%);
  filter: blur(.55px);
  animation: xhFestFall linear infinite;
}
@keyframes xhFestFall {
  0%   { transform: translate3d(0, -16px, 0); }
  100% { transform: translate3d(22px, 104vh, 0); }
}


/* ── 4. 顶栏/底栏背景透底（消除三明治断层）
      根因（2026-11-21 实测）：<header> 与 .input-area 都是实色 rgb(252,252,250)，
      中间透出雪松图 → 上下一白一花，必然两条边界。
      只改 background-color 的透明度，position/size/padding/内容一律不动；
      删掉本节即完全恢复原样。 */
html.xh-fest-christmas header {
  background-color: rgba(252, 252, 250, .72) !important;
}
html.xh-fest-christmas .input-area {
  background-color: rgba(252, 252, 250, .72) !important;
}

/* ── 尊重系统「减少动态效果」 ── */
@media (prefers-reduced-motion: reduce) {
  html.xh-fest-christmas.xh-fest-snowfall #xh-fest-snowfall { display: none; }
}
