.christmas-farm .cf-instruction{position:absolute;top:18%;left:9%;width:82%;font-size:clamp(17px,2.3vw,25px);pointer-events:none;background:none!important;color:#fffbed!important;text-shadow:0 2px 3px #292d22,0 0 7px #292d22}.cf-stage{position:absolute;inset:0}.cf-prop{display:block;width:100%;height:100%;background-repeat:no-repeat;pointer-events:none}.cf-snow-prop{background-image:url('assets/generated/christmas109/snow-props.webp');background-size:400% 200%}.cf-stocking-prop{background-image:url('assets/generated/christmas109/stocking-props.webp');background-size:400% 300%}.cf-sleigh-prop{background-image:url('assets/generated/christmas109/sleigh-props.webp');background-size:400% 200%}.cf-highlight{animation:cf-help 1.15s ease-in-out infinite;filter:drop-shadow(0 0 10px #ffef8e)!important;outline:4px solid #ffea80;outline-offset:3px}.cf-hint{position:absolute;z-index:9;bottom:2%;right:3%;min-height:44px;font-size:14px}.cf-count{position:absolute;z-index:3;bottom:3%;left:50%;transform:translateX(-50%);font-size:clamp(13px,1.8vw,18px);font-weight:800;color:#fffbea;text-shadow:0 2px 3px #312c1d,0 0 6px #312c1d;white-space:nowrap;pointer-events:none;background:none!important;margin:0}.cf-flying{position:fixed!important;width:70px!important;height:70px!important;min-width:0!important;min-height:0!important;transform:translate(-50%,-50%)!important;pointer-events:none!important;z-index:20;border:0!important;background:none!important;padding:0!important;filter:drop-shadow(0 5px 3px #393f3055)}.cf-dragging{opacity:.45}.cf-snow-field{position:absolute;left:7%;right:7%;top:29%;bottom:13%}.cf-friend-drop{position:absolute;left:7%;top:0;width:39%;height:100%;padding:0;border:0;background:none!important;box-shadow:none!important;touch-action:none;user-select:none}.cf-friend-drop:disabled{opacity:1}.cf-friend{position:relative;width:100%;height:100%;pointer-events:none;filter:drop-shadow(0 4px 2px #8ca5a340)}.cf-body{position:absolute;transform:translate(-50%,-50%);pointer-events:none}.cf-outline{opacity:.32;filter:brightness(.8);border:2px dashed #8bb6c9;border-radius:50%}.cf-stacked{animation:cf-settle .5s ease-out}.cf-decoration{position:absolute;pointer-events:none;transform:translate(-50%,-50%);z-index:3}.cf-decoration-face{left:50%;top:var(--head);width:32%;aspect-ratio:1}.cf-decoration-hat{left:50%;top:calc(var(--head) - 11%);width:48%;aspect-ratio:1;z-index:4}.cf-decoration-scarf{left:50%;top:var(--neck);width:54%;aspect-ratio:1;z-index:2}.cf-decoration-arms{left:50%;top:55%;width:115%;aspect-ratio:1;z-index:1}.cf-friend-alive .cf-decoration-arms{animation:cf-wave 2.4s ease-in-out infinite;transform-origin:50% 55%}.cf-friend-alive .cf-decoration-face{animation:cf-blink 5s ease-in-out infinite}.cf-roll-patch{position:absolute;left:55%;top:8%;width:40%;height:84%;border:3px dashed #9cbebd80;border-radius:35%;touch-action:none;user-select:none;background:radial-gradient(ellipse,#fcfff280,#d1e9ef22);overflow:hidden}.cf-roll-patch svg{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}.cf-roll-patch path{stroke:#a4c6cb99;stroke-width:3;fill:none;stroke-linecap:round}.cf-growing-ball{position:absolute;left:50%;top:50%;width:75%;aspect-ratio:1;transform:translate(-50%,-50%) scale(var(--grow,.25));pointer-events:none;filter:drop-shadow(0 3px 3px #7b9a9b55)}.cf-roll-hand{position:absolute;left:42%;top:50%;font-size:30px;pointer-events:none;animation:cf-rub 2s ease-in-out infinite}.cf-snow-tray{position:absolute;right:3%;top:8%;width:35%;height:85%;display:grid;grid-template-columns:repeat(2,minmax(44px,1fr));grid-auto-rows:minmax(44px,1fr);align-content:center;gap:8px;max-width:230px}.cf-snow-tray button{min-width:44px;min-height:44px;max-height:82px;display:flex;justify-content:center;align-items:center;padding:0;border:2px solid #e4c68e;border-radius:22%;background:#fff8df;box-shadow:0 3px 0 #967343;touch-action:none}.cf-snow-tray button>span{display:block;max-height:100%;max-width:100%}.cf-snow-tray button[aria-pressed=true],.cf-present[aria-pressed=true]{outline:4px solid #ffe895;outline-offset:3px}.cf-keep{position:absolute;left:12%;bottom:2%;font-size:14px;padding:8px 16px;min-height:44px}.cf-game-snow .cf-count{left:72%;bottom:2%;font-size:13px}.cf-game-snow:has(.cf-keep) .cf-count{left:73%;bottom:2%;font-size:12px}
.cf-stockings{position:absolute;left:10%;right:10%;top:31%;height:40%;display:flex;justify-content:space-evenly;gap:14px}.cf-stocking{position:relative;width:clamp(88px,22vh,170px);height:100%;min-width:60px;min-height:60px;padding:0;background:none!important;border:0!important;box-shadow:none!important;touch-action:none;transform-origin:50% 0;filter:drop-shadow(0 5px 3px #5c382c55)}.cf-stocking-full{scale:1.03 1.04}.cf-stocking .cf-shape{left:50%;top:57%;font-size:clamp(24px,7vh,42px)}.cf-shape{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);color:#fff9dc;text-shadow:0 2px 2px #533a24;line-height:1;pointer-events:none;font-size:32px}.cf-filled{position:absolute;left:50%;top:18%;transform:translateX(-50%);color:#ffe47b;font-size:clamp(12px,2vh,20px);text-shadow:0 1px 2px #46301d;letter-spacing:1px;pointer-events:none}.cf-present-tray{position:absolute;left:26%;right:26%;top:73%;height:19%;display:flex;justify-content:center;align-items:center;gap:18px}.cf-present{position:relative;flex:none;min-width:60px;min-height:60px;width:clamp(64px,17vh,110px);height:clamp(64px,17vh,110px);padding:0;background:none!important;border:0!important;box-shadow:none!important;touch-action:none;filter:drop-shadow(0 4px 2px #543b2966);z-index:4;animation:cf-present-ready 2.8s ease-in-out infinite}.cf-next-present{display:block;width:clamp(44px,12vh,75px);aspect-ratio:1;opacity:.65;pointer-events:none}.cf-next-two{opacity:.4}.cf-present-delivering{animation:cf-deliver .65s ease-in forwards!important}.cf-sway{animation:cf-sway .65s ease-in-out}.cf-game-stocking .cf-count{bottom:1%}
.cf-sleigh-map{position:absolute;left:8%;right:8%;top:29%;bottom:8%;touch-action:none;user-select:none}.cf-sleigh-map>svg{position:absolute;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none}.cf-roads path{stroke:#d8e8ed;stroke-width:10;fill:none;stroke-linecap:round;stroke-linejoin:round}.cf-roads{filter:drop-shadow(0 2px 2px #8ba4ab)}.cf-sleigh-trail{stroke:#9ab3c188;stroke-width:1;fill:none;stroke-dasharray:.4 2;stroke-linecap:round}.cf-road-hint{stroke:#ffdf75;stroke-width:3;stroke-dasharray:1 3;stroke-linecap:round;fill:none;filter:drop-shadow(0 0 4px #fff6a4);animation:cf-help 1.2s ease-in-out infinite}.cf-cottage{position:absolute;width:clamp(60px,17vh,110px);aspect-ratio:1;transform:translate(-50%,-50%);pointer-events:none;filter:drop-shadow(0 4px 3px #4d667466);z-index:1}.cf-animal{position:absolute;left:65%;top:48%;width:70%;aspect-ratio:1;pointer-events:none}.cf-sleigh{position:absolute;width:clamp(54px,15vh,90px);aspect-ratio:1;transform:translate(-50%,-50%);pointer-events:none;filter:drop-shadow(0 4px 2px #607d8a55);z-index:4;will-change:left,top}.cf-sleigh-turn{position:absolute;inset:0;rotate:var(--heading,0deg);transition:rotate .16s;pointer-events:none}.cf-carried-present{position:absolute;left:33%;top:70%;width:35%;aspect-ratio:1;pointer-events:none}.cf-empty{display:none}.cf-moving>.cf-sleigh-turn>.cf-prop{animation:cf-hooves .2s ease-in-out infinite}.cf-delivery-request{position:absolute;left:86%;top:20%;width:clamp(48px,13vh,76px);aspect-ratio:1;background:#fff8dc;border:3px solid #efd391;border-radius:25%;box-shadow:0 3px 0 #7e744b;z-index:3;pointer-events:none}.cf-game-sleigh .cf-instruction{left:9%;width:66%}.cf-delivery-burst{position:absolute;left:50%;top:35%;transform:translateX(-50%);font-size:32px;opacity:0;pointer-events:none;z-index:7}.cf-burst{animation:cf-burst .85s ease-out forwards}.cf-game-sleigh .cf-count{bottom:1%}.cf-result-art>img{object-fit:contain!important;border:0!important;border-radius:0!important}.cf-final-friends{display:flex;width:100%;height:100%;gap:12px;justify-content:center}.cf-final-friends>.cf-friend{width:75%;max-width:190px;height:90%}.cf-paused *{animation-play-state:paused!important}.cf-paused .xm-pause *{animation-play-state:running!important}
@keyframes cf-help{50%{box-shadow:0 0 0 5px #ffed8b88,0 0 22px #ffe28b}}@keyframes cf-settle{0%{scale:1.10 .85}60%{scale:.96 1.05}100%{scale:1}}@keyframes cf-wave{50%{rotate:5deg}}@keyframes cf-blink{0%,44%,48%,100%{scale:1}46%{scale:1 .3}}@keyframes cf-rub{50%{translate:30px -12px}}@keyframes cf-present-ready{50%{translate:0 -3px}}@keyframes cf-sway{25%{rotate:-7deg}75%{rotate:7deg}}@keyframes cf-deliver{80%{transform:translate(var(--drop-x),var(--drop-y)) scale(.65);opacity:1}100%{transform:translate(var(--drop-x),var(--drop-y)) scale(.15);opacity:0}}@keyframes cf-hooves{50%{translate:0 -2px}}@keyframes cf-burst{20%{opacity:1;translate:0 -12px}100%{opacity:0;translate:0 -60px;scale:1.3}}
@media(orientation:portrait){.christmas-farm .cf-instruction{top:14%;left:7%;width:86%;font-size:clamp(18px,4.7vw,25px)}.cf-snow-field{left:3%;right:3%;top:29%;bottom:17%}.cf-friend-drop{left:4%;width:45%;height:72%;top:6%}.cf-roll-patch{left:53%;width:44%;height:70%;top:9%}.cf-snow-tray{right:2%;width:44%;height:64%;top:12%;gap:8px}.cf-snow-tray button{max-height:76px}.cf-count{font-size:13px}.cf-game-snow .cf-count,.cf-game-snow:has(.cf-keep) .cf-count{left:50%;bottom:12%;font-size:13px}.cf-keep{left:50%;transform:translateX(-50%);bottom:3%;white-space:nowrap;font-size:14px}.cf-hint{bottom:3%}.cf-stockings{left:5%;right:5%;top:31%;height:35%;gap:8px}.cf-stocking{width:30%;max-width:150px}.cf-stocking .cf-shape{font-size:32px}.cf-present-tray{left:8%;right:8%;top:73%;height:17%;gap:14px}.cf-present{width:90px;height:90px}.cf-next-present{width:65px}.cf-game-stocking .cf-count{bottom:6%}.cf-sleigh-map{left:9%;right:9%;top:32%;bottom:13%}.cf-game-sleigh .cf-instruction{left:7%;width:86%}.cf-delivery-request{left:50%;top:26%;width:52px;transform:translate(-50%,-50%)}.cf-cottage{width:72px}.cf-sleigh{width:64px}.cf-game-sleigh .cf-count{bottom:5%}.cf-final-friends>.cf-friend{width:80%;height:100%}}
@media(max-height:420px) and (orientation:landscape){.cf-snow-field{top:30%;bottom:16%;left:14%;right:14%}.cf-friend-drop{left:6%;width:34%}.cf-snow-tray{width:31%;right:8%;grid-auto-rows:44px;gap:8px;align-content:center;top:0;height:100%}.cf-snow-tray button{height:44px;width:60px;justify-self:center}.cf-game-snow .cf-count{left:68%;bottom:2%;font-size:12px}.cf-keep{left:12%;font-size:13px}.cf-stockings{top:31%;height:38%;left:16%;right:16%}.cf-stocking{width:100px}.cf-present-tray{top:72%;height:20%}.cf-present{width:64px;height:64px}.cf-next-present{width:48px}.cf-sleigh-map{top:31%;bottom:9%;left:12%;right:12%}.cf-cottage{width:60px}.cf-sleigh{width:54px}.cf-delivery-request{top:22%;width:48px}.cf-game-sleigh .cf-count{bottom:1%}}
@media(prefers-reduced-motion:reduce){.christmas-farm *{animation:none!important;transition:none!important}.christmas-farm .cf-present-delivering{opacity:.2}}
.cf-snow-tray button>.cf-size-ball{width:calc(64px * var(--size));height:auto;max-height:none;aspect-ratio:1}@media(max-height:420px) and (orientation:landscape){.cf-snow-tray button>.cf-size-ball{width:calc(40px * var(--size))}}
.cf-final-friends>.cf-friend{width:60%;max-width:145px;height:90%}.cf-sleigh{width:clamp(76px,21vh,110px)}@media(orientation:portrait){.cf-sleigh{width:90px}.cf-final-friends>.cf-friend{height:90%;max-width:125px}}
.cf-stocking:before{content:"";position:absolute;left:45%;top:-34%;height:48%;width:3px;background:#d0a55d;border-radius:4px;z-index:-1;box-shadow:1px 0 1px #68431d55}.cf-roads path{stroke:#eef3e9;stroke-width:38px;vector-effect:non-scaling-stroke;stroke-linecap:round;stroke-linejoin:round}.cf-road-hint{vector-effect:non-scaling-stroke;stroke-width:5px;stroke-dasharray:3 8}.cf-sleigh-trail{vector-effect:non-scaling-stroke;stroke-width:2px;stroke-dasharray:2 8}
.cf-decoration-hat{top:calc(var(--head) - 29%)}.cf-decoration-scarf{top:calc(var(--head) + 33%);width:48%}.cf-decoration-face{z-index:5}
.cf-friend{container-type:size}.cf-decoration-hat{top:calc(var(--head) - 32cqw)}.cf-decoration-scarf{top:calc(var(--head) + 36cqw)}
.christmas-farm .cf-stage{touch-action:none}.christmas-farm button[data-cf-present],.christmas-farm button[data-cf-ball],.christmas-farm button[data-cf-decor]{touch-action:none!important}
.cf-friend-drop{container-type:size}.cf-friend-drop>.cf-friend{width:min(100%,67cqh);height:100%;margin-inline:auto}
.cf-friend-drop:has(.cf-body:nth-child(4))>.cf-friend{width:min(100%,48cqh)}
.cf-snow-tray button{container-type:size}.cf-snow-tray button>.cf-prop{width:min(100cqw,100cqh);height:min(100cqw,100cqh);flex:none}
