/* Snowpost's winter frame sits outside the interactive surfaces. */
.hfx-field,.hfx-edge,.hfx-scene,.hfx-garland,.hfx-dialog-sparks,.hfx-dialog-sparks * {pointer-events:none!important;user-select:none}
.hfx-field {position:fixed;inset:0;width:100%;height:100%;max-width:none;z-index:6;display:block}
.hfx-edge {position:fixed;bottom:0;z-index:2;width:min(170px,max(4vw,calc((100vw - 1344px)/2)));aspect-ratio:1/1.35;overflow:hidden}
.hfx-edge::before {content:'';position:absolute;inset:0;background-position:bottom;background-repeat:no-repeat;background-size:auto 97%}
.hfx-edge.hfx-west {left:0}
.hfx-edge.hfx-west::before {background-image:url('assets/decor-firs.svg');background-position:12% 100%}
.hfx-edge.hfx-east {right:0}
.hfx-edge.hfx-east::before {background-image:url('assets/decor-snowman.svg');background-position:54% 100%}
.hfx-garland {position:absolute;z-index:2;inset:0 0 auto;overflow:hidden;height:26px;contain:layout paint}
.hfx-garland svg {display:block;width:100%;height:100%;overflow:visible}
.hfx-bulb {animation:hfx-warmth var(--bulb-period,4s) ease-in-out var(--bulb-phase,0s) infinite;transform-box:fill-box;transform-origin:center}
.hfx-cord {fill:none;stroke:#42604d;stroke-width:1.25;stroke-linecap:round;vector-effect:non-scaling-stroke}
.hfx-lamp .hfx-halo {opacity:.11}.hfx-lamp .hfx-glass {stroke:#4f44363a;stroke-width:.75}
.hfx-scene {position:relative;width:100%;height:clamp(95px,12vw,165px);margin-top:0;overflow:hidden;isolation:isolate;background:linear-gradient(to top,#dfede5 0 9%,transparent 9.5%)}
.hfx-scene::before,.hfx-scene::after {content:'';position:absolute;bottom:0;background-repeat:no-repeat;background-size:auto 100%;height:100%;width:min(43%,490px)}
.hfx-scene::before {left:0;background-image:url('assets/decor-firs.svg');background-position:0 100%}
.hfx-scene::after {right:0;background-image:url('assets/decor-snowman.svg');background-position:100% 100%}
.hfx-bank {position:absolute;inset:auto 0 0;width:100%;height:34%;display:block}
.hfx-scene>.hfx-garland {top:0;height:23px;z-index:-1;opacity:.9}
.hfx-dialog-sparks {position:absolute;z-index:8;inset:0;overflow:hidden;border-radius:inherit}
.hfx-dialog-sparks i {position:absolute;display:block;left:var(--x);top:var(--y);width:var(--size);height:var(--size);background:var(--tint);mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath id='a' d='M16 16V2m-4 4 4 4 4-4'/%3E%3Cuse href='%23a' transform='rotate(60 16 16)'/%3E%3Cuse href='%23a' transform='rotate(120 16 16)'/%3E%3Cuse href='%23a' transform='rotate(180 16 16)'/%3E%3Cuse href='%23a' transform='rotate(240 16 16)'/%3E%3Cuse href='%23a' transform='rotate(300 16 16)'/%3E%3C/svg%3E") center/contain no-repeat;animation:hfx-dialog-flake var(--life) ease-out both}
@keyframes hfx-dialog-flake {0%{opacity:0;transform:translate(-50%,-50%) rotate(0) scale(.6)}14%{opacity:1}100%{opacity:0;transform:translate(calc(-50% + var(--dx)),calc(-50% + var(--dy))) rotate(var(--spin)) scale(.58)}}
@keyframes hfx-warmth {0%,100%{opacity:.72}48%{opacity:1}72%{opacity:.84}}
.hfx-still .hfx-bulb,.motion-off .hfx-bulb {animation:none}
.hfx-still .hfx-field,.hfx-still .hfx-dialog-sparks,.motion-off .hfx-field,.motion-off .hfx-dialog-sparks {display:none}
html:has(dialog[open]) .hfx-edge {opacity:.45}
@media(max-width:850px){.hfx-edge{width:max(18px,3.6vw);height:60px}.hfx-edge.hfx-west::before{background-position:22% 100%}.hfx-edge.hfx-east::before{background-position:53% 100%}}
@media(max-width:650px){.hfx-scene{height:95px}.hfx-edge{width:max(11px,env(safe-area-inset-left));height:34px;opacity:.7}.hfx-edge.hfx-east{width:max(11px,env(safe-area-inset-right))}.hfx-scene>.hfx-garland{height:14px}}
@media(prefers-reduced-motion:reduce){:root:not(.festive-motion-on) :is(.hfx-bulb,.hfx-dialog-sparks i){animation:none}:root:not(.festive-motion-on) :is(.hfx-field,.hfx-dialog-sparks){display:none}}
@media print{.hfx-field,.hfx-edge,.hfx-scene,.hfx-garland,.hfx-dialog-sparks{display:none!important}}
.hfx-strand-idle .hfx-bulb{animation-play-state:paused}
.hfx-ready .hero .snowflakes{display:none}

.hfx-at-bank .hfx-edge {visibility:hidden}
