/* Vistoso 聖誕特效（2026）— 只在 <body class="xmas"> 時生效；拆除：刪掉頁面裡引入 xmas.css / xmas.js 的兩行即可 */
html.xmas-on{background:#6c0014;}
body.xmas{background:transparent !important;background-image:none !important;}
body.xmas::before{
  content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;
  background:#6c0014 url(xmas/bg-desktop.webp) center top / cover no-repeat;
}
@media (max-width:768px), (max-aspect-ratio:1/1){
  body.xmas::before{background-image:url(xmas/bg-mobile.webp);background-position:center top;}
}
/* 直接坐在紅底上的文字 */
body.xmas h1{color:#F6E7C1;text-shadow:0 1px 8px rgba(60,0,10,.45);}
body.xmas .sub{color:#FFF1DC;text-shadow:0 1px 6px rgba(60,0,10,.7),0 0 2px rgba(60,0,10,.6);}
body.xmas .kicker{background:#F6E7C1;color:#7A0016;}
body.xmas .kicker .dot{background:#7A0016;}
body.xmas .stat-chip:not(.active){background:rgba(255,251,243,.92);}
body.xmas .search-title{color:#F6E7C1;}
body.xmas .search-note{color:#F3D9C4;}
body.xmas .search-note a{color:#F6E7C1;text-decoration:underline;}
body.xmas .empty{color:#F3D9C4;border-color:rgba(246,231,193,.45);}
body.xmas .reset-chip{color:#F6E7C1;border-color:#F6E7C1;}
body.xmas .cat-section,body.xmas .line-links{position:relative;}
body.xmas .cat-body,body.xmas .line-link{box-shadow:0 8px 22px rgba(40,0,8,.28);}

/* 飄雪畫布 */
#xmasSnow{position:fixed;inset:0;width:100%;height:100%;pointer-events:none;z-index:50;}

/* 開關 */
#xmasToggle{
  position:fixed;right:14px;bottom:14px;z-index:60;border:1.5px solid #E3B866;background:rgba(255,251,243,.96);
  color:#7A0016;border-radius:999px;padding:8px 14px;font:700 13px/1 "Noto Sans TC",-apple-system,"PingFang TC",sans-serif;
  cursor:pointer;box-shadow:0 3px 10px rgba(0,0,0,.25);
}
#xmasToggle:hover{background:#fff;}
@media (prefers-reduced-motion:reduce){#xmasSnow{display:none;}}

/* 行事曆／庫存試算：直接坐在紅底上的標題與說明 */
body.xmas .agenda-title,body.xmas .step-h{color:#F6E7C1;text-shadow:0 1px 6px rgba(60,0,10,.5);}
body.xmas .step-sub,body.xmas .legend-item{color:#F3D9C4;}
body.xmas .step-n{background:#F6E7C1;color:#7A0016;}
body.xmas .step-sub b{color:#fff !important;}
