/* PSD holiday layer (2026-12). Everything is scoped to html.psd-hol, which the inline head check only sets
   from Dec 1 through Jan 1 (America/Los_Angeles). On any other day this file styles nothing.
   Source: drafts/psd-holiday/assets/, copied in by scripts/psd_holiday.py. Never hand-edit the built copy. */

/* 1. gift banner: hidden unless html.psd-hol-gift (Dec 1 to Dec 31, the real claim window on /gift) */
.psd-hol-banner{display:none}
html.psd-hol-gift .psd-hol-banner{display:block;background:var(--red,#d6151f);color:#fff;text-align:center;
  font:700 14px/1.35 var(--font-b,"Plus Jakarta Sans",sans-serif);padding:9px 16px;text-decoration:none;
  position:relative;z-index:51}
html.psd-hol-gift .psd-hol-banner:hover .psd-hol-cta{text-decoration:underline}
.psd-hol-banner .psd-hol-nw{white-space:nowrap}
.psd-hol-banner .psd-hol-cta{white-space:nowrap;text-decoration:underline;text-underline-offset:3px;margin-left:6px}
@media (max-width:640px){
  html.psd-hol-gift .psd-hol-banner{font-size:13px;padding:8px 12px}
  .psd-hol-banner .psd-hol-long{display:none}
}

/* 2. light string: hangs from the bottom edge of the floating nav card, never takes clicks */
html.psd-hol .nav-card{position:relative}
.psd-lights{position:absolute;left:30px;right:30px;top:calc(100% - 11px);height:22px;pointer-events:none;z-index:1}
.psd-lights svg{display:block;width:100%;height:22px;overflow:visible}
.psd-lights .w{fill:none;stroke:#2c3a2a;stroke-width:1.4;stroke-linecap:round}
.psd-lights .cap{fill:#3b4a3a}
.psd-lights .b{transform-box:fill-box;transform-origin:50% 0;animation:psdTw 2.6s ease-in-out infinite}
.psd-lights .r{fill:#ff3b3b;filter:drop-shadow(0 0 3px rgba(255,59,59,.75))}
.psd-lights .g{fill:#2fd06f;filter:drop-shadow(0 0 3px rgba(47,208,111,.75))}
.psd-lights .y{fill:#ffc93c;filter:drop-shadow(0 0 3px rgba(255,201,60,.8))}
.psd-lights .u{fill:#3fa2ff;filter:drop-shadow(0 0 3px rgba(63,162,255,.75))}
.psd-lights .hl{fill:#fff;opacity:.55}
@keyframes psdTw{0%,100%{opacity:1}45%{opacity:.38;filter:none}60%{opacity:.95}}
@media (prefers-reduced-motion:reduce){.psd-lights .b{animation:none}}
/* not on the quote checkout step (step 5, card on file): keep that screen calm */
body:has(.pane[data-pane="5"].on) .psd-lights,
body:has(.pane[data-pane="5"].on) .psd-hol-banner{display:none!important}

/* 3a. drawn hat: an svg over the untouched logo image */
.psd-hat-wrap{position:relative;display:inline-block;flex:none;line-height:0}
.psd-hat{position:absolute;left:22%;top:-33%;width:58%;height:auto;pointer-events:none;
  transform:rotate(6deg);transform-origin:45% 85%;overflow:visible}
/* 3b. image hat: the logo file is swapped for logo-santa (taller canvas, the badge stays where it was) */
.psd-hat-img{object-fit:contain}
