/* North Pole courier / storybook winter. All decoration lets pointer events through. */
.lab-festive-layer.festive-scene{position:fixed;inset:0;overflow:hidden;pointer-events:none;z-index:8;contain:layout paint;--festive-gold:#eacb8a;--festive-green:#23685b}
.festive-scene *{pointer-events:none;box-sizing:border-box}
.festive-halo{position:absolute;inset:0 0 auto;height:180px;background:radial-gradient(ellipse at 18% 0%,#edc58c20,transparent 55%),radial-gradient(ellipse at 85% 0%,#6bbba51c,transparent 55%)}
.festive-lights{position:absolute;inset:-7px 0 auto;height:27px;border-top:2px solid #386c59;display:flex;justify-content:space-around;align-items:flex-start;transform:rotate(-.25deg)}
.festive-bulb{position:relative;width:8px;height:13px;margin-top:11px;border-radius:45% 45% 55% 55%;background:var(--bulb,#edb965);box-shadow:0 0 6px 2px var(--bulb,#edb965);animation:festive-breathe 4.8s ease-in-out infinite alternate}
.festive-bulb:before{content:"";position:absolute;top:-11px;left:3px;width:2px;height:12px;background:#326152}
.bulb-1{--bulb:#d97166;animation-delay:-2s}.bulb-2{--bulb:#82b7a3;animation-delay:-3s}.bulb-3{--bulb:#e8d6a7;animation-delay:-1s}
.festive-postmark{position:absolute;bottom:12px;left:16px;display:flex;align-items:center;gap:8px;color:#32695b;font:10px/1.5 ui-monospace,monospace;letter-spacing:.12em;opacity:.82;text-shadow:0 1px #fff8}
.festive-postmark-star{font-size:18px;color:#bf8949}
.festive-tree{position:absolute;bottom:34px;left:8px;width:clamp(80px,9vw,126px);opacity:.86;filter:drop-shadow(0 5px 8px #264b4220)}
.festive-star{position:absolute;width:4px;height:4px;border-radius:50%;background:#d8b46f;box-shadow:0 0 8px #f5d79d;animation:festive-twinkle 7s ease-in-out infinite}
.festive-star:nth-child(3n){width:2px;height:9px;opacity:.6}.festive-star:nth-child(3n):after{content:"";position:absolute;width:9px;height:2px;top:3px;left:-3px;background:inherit}
.festive-flight{position:absolute;left:0;top:16%;width:clamp(290px,38vw,510px);animation:festive-delivery 48s linear infinite;animation-delay:-5s;will-change:transform}
.festive-craft{position:relative;animation:festive-sleigh-bob 3.6s ease-in-out infinite}
.festive-sleigh{position:relative;display:block;width:100%;filter:drop-shadow(0 5px 5px #33495c26)}
.festive-stardust{position:absolute;right:70%;top:70%;width:66%;height:28px;opacity:.75;background:radial-gradient(circle at 90% 45%,#e9c875 0 2px,transparent 3px),radial-gradient(circle at 75% 80%,#e9c875 0 1px,transparent 2px),radial-gradient(circle at 50% 30%,#d5d4c5 0 2px,transparent 3px),radial-gradient(circle at 30% 60%,#e9c875 0 1px,transparent 2px);animation:festive-trail 2s ease-in-out infinite alternate}
.festive-friend{position:absolute;right:20px;bottom:20px;width:clamp(94px,10vw,146px);animation:festive-peek 24s ease-in-out infinite;transform-origin:bottom center}
.festive-deer{display:block;width:100%;animation:festive-deer-bob 3.8s ease-in-out infinite}
.festive-nose-light{position:absolute;top:49%;left:49%;width:9%;aspect-ratio:1;border-radius:50%;background:#f9926d44;box-shadow:0 0 14px 7px #f9926d33;animation:festive-breathe 3.8s ease-in-out infinite alternate}
.festive-deer-star{position:absolute;top:24%;right:0;font-size:23px;font-style:normal;color:#d5ad65;animation:festive-twinkle 6s ease-in-out infinite}
.festive-parcel{position:absolute;top:-90px;width:26px;animation:festive-parcel-fall 27s linear infinite;opacity:.8}
.festive-parcel-art{display:block;width:100%;animation:festive-sway 5s ease-in-out infinite alternate}
.parcel-candy{width:18px;opacity:.75}
.festive-static-gift,.festive-static-candy{position:absolute;bottom:40px;left:150px;width:30px}.festive-static-candy{left:190px;width:22px}
/* Different delivery worlds; retain the visitor's selected site theme. */
body[data-community="oszip"] .festive-postmark{padding:5px 9px;border:1px solid #708e8b;background:#e9efe4e8;box-shadow:2px 2px #496466;font-weight:700;letter-spacing:.08em}
body[data-community="oszip"] .festive-bulb{border-radius:1px;width:7px;height:9px;box-shadow:0 0 7px var(--bulb)}
body[data-community="oszip"] .festive-stardust{background-size:28px 15px;image-rendering:pixelated;border-bottom:1px dashed #af995b55}
body[data-community="village"] .festive-postmark{font-family:inherit;font-size:11px;letter-spacing:.08em}
body[data-community="village"] .festive-lights{border-radius:0 0 50% 50%;height:29px}
body.lab-christmas .site-shell{outline-color:#809e8a}
body.lab-christmas[data-lab-theme="night"] .festive-postmark{color:#f4d7a3;text-shadow:0 1px #112838}
body.lab-christmas[data-lab-theme="night"][data-community="oszip"] .festive-postmark{background:#223c3be8;color:#f4d7a3}
@keyframes festive-delivery{0%{transform:translate(-115%,22px);opacity:0}2%{opacity:1}32%{transform:translate(calc(100vw + 12%),-24px);opacity:1}33%,100%{transform:translate(calc(100vw + 12%),-24px);opacity:0}}
@keyframes festive-sleigh-bob{50%{transform:translateY(-7px) rotate(-1deg)}}
@keyframes festive-deer-bob{50%{transform:translateY(-3px) rotate(1deg)}}
@keyframes festive-peek{0%,35%,100%{transform:translateY(12px) rotate(-3deg)}40%,80%{transform:translateY(0) rotate(1deg)}85%{transform:translateY(-8px) rotate(-2deg)}}
@keyframes festive-breathe{from{opacity:.62}to{opacity:1}}
@keyframes festive-twinkle{0%,100%{opacity:.18;transform:scale(.65)}50%{opacity:.85;transform:scale(1)}}
@keyframes festive-trail{to{opacity:.3;transform:translateX(-13px)}}
@keyframes festive-parcel-fall{to{transform:translate3d(22px,calc(100vh + 160px),0) rotate(18deg)}}
@keyframes festive-sway{from{transform:rotate(-9deg)}to{transform:rotate(12deg)}}
.festive-still *{animation:none!important}.festive-still .festive-flight{top:auto;bottom:18px;left:18px;width:210px;transform:none;opacity:1}.festive-still .festive-friend{width:95px;transform:none}.festive-still .festive-stardust{display:none}
@media(max-width:600px){.festive-flight{width:290px;top:12%;animation-duration:40s}.festive-friend{right:4px;bottom:20px;width:92px}.festive-tree{width:72px;left:2px;bottom:30px}.festive-postmark{bottom:5px;left:8px;font-size:8px}.festive-postmark span:last-child{max-width:205px}.festive-parcel{width:20px}.parcel-candy{width:15px}.festive-bulb{width:6px;height:10px}.festive-static-gift{left:90px}.festive-static-candy{left:125px}.festive-still .festive-flight{width:160px;bottom:48px}}
@media(prefers-reduced-motion:reduce){.lab-festive-layer.festive-scene{display:block}.festive-scene *{animation:none!important}.festive-scene .festive-stars,.festive-scene .festive-stardust{display:none}}
/* B.8.2 winter night: behind the site's panels, decoration remains click-through. */
body.lab-christmas{background:#0a1b32!important;background-image:radial-gradient(ellipse at 20% 0%,#294b6d,transparent 65%)!important}
.festive-night-sky{position:fixed;inset:0;z-index:-1;pointer-events:none;background:radial-gradient(ellipse at 78% 18%,#7297b83a,transparent 24%),radial-gradient(ellipse at 15% 55%,#2e6d733a,transparent 55%),linear-gradient(#08182f,#183e51);}
.festive-night-sky:after{content:"";position:absolute;right:9%;top:9%;width:60px;height:60px;border-radius:50%;background:#f8edcd;box-shadow:0 0 45px 10px #dce8e433,inset -12px -7px 0 #d3d9cd;opacity:.85}
.festive-weather{position:absolute;inset:0;width:100%;height:100%}
.festive-flight{top:0;left:0;animation:none!important;will-change:transform}.festive-craft{animation:none!important}.festive-friend{top:0;left:0;right:auto;bottom:auto;animation:none!important;will-change:transform}.festive-deer{animation:festive-deer-bob .65s ease-in-out infinite}
.festive-star{background:#e4edff;box-shadow:0 0 10px #e7eeff}.festive-postmark{color:#ffebc2;background:#14332fcc;padding:5px 9px;border-radius:12px;text-shadow:none}.festive-tree{opacity:.96}
.festive-still .festive-flight{top:auto;bottom:32px;left:22px;transform:none!important;width:210px}.festive-still .festive-friend{top:auto;left:auto;right:15px;bottom:25px;transform:none!important;width:100px}
.lab-effect-option{display:flex;flex-direction:column;gap:8px;min-width:0}.lab-intensity{display:flex;gap:8px;align-items:center;padding-left:4px;font-size:.82rem}.lab-intensity input{width:110px;max-width:42vw;accent-color:#47876d;min-height:28px}.lab-intensity output{min-width:3em;font-variant-numeric:tabular-nums}.lab-snow-help{font-size:.82rem;margin-top:12px}
@media(max-width:600px){.festive-night-sky:after{width:38px;height:38px}.festive-postmark{max-width:70vw;font-size:9px}.festive-tree{width:64px}.lab-intensity{flex-wrap:wrap}}
body.lab-christmas .festive-night-sky{z-index:0}body.lab-christmas>.site-shell,body.lab-christmas>.desktop{position:relative;z-index:1}
body.lab-christmas[data-community="village"] header>.brand{color:#f9edcf;text-shadow:0 1px 5px #071b2c}body.lab-christmas[data-community="village"] header>.brand small,body.lab-christmas[data-community="village"] header>.brand span{color:#d1e6e9}
/* Keep the final theme stylesheet from overriding intensity-row layout. */
.lab-effect-option .lab-intensity{display:grid;grid-template-columns:4em minmax(60px,1fr) 3em;gap:6px;align-items:center;padding:0;font-size:.78rem;min-height:30px;white-space:nowrap}
.lab-effect-option .lab-intensity input[type="range"]{appearance:auto;width:100%;max-width:none;min-width:0;height:28px;min-height:28px;padding:0;margin:0;border:0;box-shadow:none;background:transparent}
.lab-effect-option .lab-intensity output{min-width:0;text-align:right;white-space:nowrap}
