@font-face{font-family:Sheep Buttons;src:url(./lilita-one-latin-87r-Z-Re.woff2)format("woff2");font-style:normal;font-weight:400;font-display:swap}:root{color:#202b48;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;--sage:#7be557;--moss:#188519;--sand:#fffef3;--oat:#ffe5a4;--clay:#e8a544;--ochre:#ffc62e;--ink:#202b48;--timber:#995719;--blue:#328eff;--blue-shadow:#174cab;--blue-button:radial-gradient(ellipse at 18% 10%, #ffffff85 0 5%, transparent 6%), linear-gradient(#65d5ff 0%, #369cff 45%, #2264eb 100%);--green-button:radial-gradient(ellipse at 18% 10%, #ffffff85 0 5%, transparent 6%), linear-gradient(#b0fc48 0%, #6aeb2b 42%, #34cf1c 100%);--wood-grain:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='190' height='64' viewBox='0 0 190 64'%3E%3Cg fill='none' stroke='%2355617d' stroke-width='1.3' opacity='.12'%3E%3Cpath d='M-10 12q40-8 92-2t120-5M-10 35q61 8 99 0t108 4M-10 58q50-8 81-2t133-5M134 15q-20 0-16 7t24 1q8-8-8-8Z'/%3E%3C/g%3E%3C/svg%3E");background:#fffef3;font-family:Trebuchet MS,Arial,sans-serif}*{box-sizing:border-box}body{overscroll-behavior:none;min-width:280px;height:100svh;margin:0;overflow:hidden}body.playing{overscroll-behavior:none;overflow:hidden}body:before{content:"";pointer-events:none;z-index:100;opacity:.025;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.7' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath filter='url(%23n)' opacity='.65' d='M0 0h180v180H0z'/%3E%3C/svg%3E");display:none;position:fixed;top:0;bottom:0;left:0;right:0}button{font:inherit;color:inherit;-webkit-tap-highlight-color:transparent;cursor:pointer}button:disabled{cursor:default}button,svg{-webkit-user-select:none;user-select:none}button:focus-visible{outline:3px solid var(--ochre);outline-offset:4px}button:disabled:focus{outline:none}svg{display:block}.icon{flex-shrink:0;width:24px;height:24px}.landscape{z-index:0;object-fit:cover;background:#b2ec58;width:100%;height:100%;position:absolute;top:0;bottom:0;left:0;right:0}.round-button{background:var(--blue-button) #328eff;width:44px;height:44px;box-shadow:0 4px 0 var(--blue-shadow), inset 0 2px 0 #c8efff, inset 0 -3px 0 #2167d9;color:#fff;border:2.5px solid #203b72;border-radius:15px;flex-shrink:0;place-items:center;padding:8px;transition:transform .14s,box-shadow .14s;display:grid}.round-button:hover:enabled{background-color:#328eff;transform:translateY(-1px)}.round-button:active:enabled{box-shadow:0 1px 0 var(--blue-shadow), inset 0 2px 0 #c8efff;transform:translateY(3px)}.round-button:disabled{opacity:.5;transform:none}.primary-button{color:#173b22;background:var(--green-button) #65e72a;text-shadow:0 1px #dcffc488;border:3px solid #267d21;border-radius:28px;justify-content:center;align-items:center;gap:10px;min-height:54px;padding:12px 24px;font-size:17px;font-weight:900;transition:transform .14s,box-shadow .14s;display:flex;position:relative;box-shadow:0 5px #187619,inset 0 2px #deffc0,inset 0 -3px #2cb81b}.primary-button:before,.primary-button:after,.secondary-button:before,.secondary-button:after{content:none;background:var(--oat);border:1px solid var(--ink);pointer-events:none;border-radius:50%;width:4px;height:4px;position:absolute;top:calc(50% - 2px);left:8px;box-shadow:0 1px #fffef377}.primary-button:after,.secondary-button:after{left:auto;right:8px}.primary-button:hover:enabled{background-color:#65e72a;transform:translateY(-1px)}.primary-button:active:enabled{transform:translateY(4px);box-shadow:0 1px #187619,inset 0 2px #deffc0}.primary-button:disabled{color:#5c6c7e;text-shadow:none;opacity:1;background:linear-gradient(#e0e7ec,#b7c3d0);border-color:#8292a3;box-shadow:0 3px #8192a3}.text-button{color:#2853a3;background:linear-gradient(#f7fcff,#d8f1ff);border:2px solid #6895cb;border-radius:13px;justify-content:center;align-items:center;gap:5px;min-height:30px;padding:5px 10px;font-size:12px;font-weight:700;transition:transform .3s,background-color .3s;display:inline-flex;box-shadow:0 2px #5b8ac2}.text-button:hover:enabled{background-color:#d8f1ff;transform:translateY(-1px)}.text-button:active:enabled{box-shadow:none;transform:translateY(2px)}.text-button:disabled{opacity:.5}.text-button .icon{width:17px;height:17px}.sr-only{clip-path:inset(50%);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.game-backdrop{z-index:0;filter:blur(16px);pointer-events:none;opacity:.8;position:fixed;top:-24px;bottom:-24px;left:-24px;right:-24px;transform:scale(1.06)}.game-backdrop:after{content:"";background:#47bfff18;position:absolute;top:0;bottom:0;left:0;right:0}.game-viewport{z-index:1;width:100%;height:var(--play-area-height,100svh);contain:layout;place-items:center;padding:4px;display:grid;position:relative;overflow:hidden}.game-dialog{bottom:var(--banner-reserve,0px)}.stage-fit{flex-shrink:0;position:relative}.game-stage{width:432px;height:768px;transform:scale(var(--scale,1));transform-origin:0 0;isolation:isolate;border-radius:24px;position:absolute;top:0;left:0;overflow:hidden;box-shadow:0 0 0 3px #244470,0 18px 50px #1b4c7b55}.stage-scenery{pointer-events:none;z-index:-1;position:absolute;top:0;bottom:0;left:0;right:0}.stage-scenery:after{content:"";background:linear-gradient(#fff0 65%,#82ef2820);position:absolute;top:0;bottom:0;left:0;right:0}.site-header{z-index:5;justify-content:space-between;align-items:center;height:44px;display:flex;position:absolute;top:20px;left:20px;right:20px}.header-actions{align-items:center;gap:8px;display:flex}.brand-emblem{background:linear-gradient(#fffef8,#ffe6a5);border:2.5px solid #a56b23;border-radius:15px;width:44px;height:44px;box-shadow:0 4px #995719}.brand-emblem .sheep-head{width:40px;height:40px;margin:0}.game-logo-art{object-fit:contain;pointer-events:none;width:100%;height:100%;display:block}.home-logo{width:322px;height:188px;position:absolute;top:72px;left:55px}.home-showcase{width:432px;height:266px;position:absolute;top:263px;left:0}.showcase-scenery{width:100%;height:100%;position:absolute;top:0;bottom:0;left:0;right:0}.hero-mascot{transform-origin:bottom;animation:4.5s ease-in-out infinite mascot-breathe;position:absolute}.mascot-art{object-fit:contain;width:100%;height:100%;display:block}.mascot-main{z-index:3;width:194px;height:224px;top:9px;left:119px}.mascot-left{z-index:2;width:130px;height:145px;animation-delay:-1.7s;top:72px;left:26px;transform:rotate(-10deg)}.mascot-right{z-index:2;width:130px;height:145px;animation-delay:-3s;top:72px;right:20px;transform:rotate(10deg)}@keyframes mascot-breathe{0%,to{translate:0}50%{translate:0 -5px}}.hero-sun,.hero-cloud{display:none}.hero-cloud:before,.hero-cloud:after{content:"";background:inherit;border-radius:50%;width:31px;height:31px;position:absolute;bottom:4px;left:12px}.hero-cloud:after{width:24px;height:24px;left:39px}.cloud-left{top:23px;left:25px}.cloud-right{top:65px;right:17px;scale:.7}.home-actions{flex-direction:column;gap:10px;width:300px;display:flex;position:absolute;top:540px;left:66px}.home-actions button{letter-spacing:.02em;width:100%;height:64px;min-height:64px;font-size:24px}.home-actions .select-button{height:56px;min-height:56px;padding:0;font-size:20px}.home-modes{gap:10px;display:flex}.home-actions .home-modes button{letter-spacing:0;white-space:nowrap;flex:1;gap:5px;width:auto;height:48px;min-height:48px;padding:0;font-size:16px}.home-modes .icon{width:19px;height:19px}.home-stage .primary-button,.home-stage .secondary-button,.home-stage .round-button,.home-stage .shop-entry,.home-stage .energy-badge,.home-stage .brand-emblem{box-shadow:none;background:0 0;border:14px solid #0000;border-image:url(./button-blue-C7NR4cY_.webp) 82 fill/14px;padding:0}.home-stage .primary-button{color:#fff;text-shadow:0 2px #236124,1px 0 #236124,-1px 0 #236124;border-width:18px;border-image-source:url(./button-green-BlGfDBZR.webp);border-image-width:18px;font-weight:900}.home-stage .primary-button:hover:enabled,.home-stage .secondary-button:hover:enabled,.home-stage .round-button:hover:enabled,.home-stage .shop-entry:hover:enabled,.home-stage .energy-badge:hover:enabled{filter:brightness(1.05);background:0 0}.home-stage .primary-button:active:enabled,.home-stage .secondary-button:active:enabled,.home-stage .round-button:active:enabled,.home-stage .shop-entry:active:enabled,.home-stage .energy-badge:active:enabled{box-shadow:none;filter:brightness(.98);background:0 0;transform:translateY(3px)}.home-stage .secondary-button{color:#fff;text-shadow:0 2px #2057a5,1px 0 #2057a5,-1px 0 #2057a5;font-weight:900}.home-stage .home-modes button{border-width:12px;border-image-width:12px}.home-stage .round-button{border-width:10px;border-image-width:10px}.home-stage .shop-entry{border-width:10px;border-image-width:10px;gap:2px;font-size:10px}.home-stage .brand-emblem,.home-stage .energy-badge{border-width:9px;border-image-source:url(./button-cream-nHB52LyG.webp);border-image-width:9px}.home-stage .brand-emblem .sheep-head{width:40px;height:40px;margin:-7px}.home-stage .energy-badge{height:38px}.home-stage .energy-badge>span{font-size:10px}.home-stage .home-actions .home-illustrated-button{background-color:#0000;background-image:var(--home-control-art);background-position:50%;background-repeat:no-repeat;background-size:var(--home-control-size,100% 145%);box-shadow:none;color:#fffef5;text-shadow:0 2px #102e5e;border:0;border-image:;border-radius:28px;gap:0;padding:0 18px 2px 64px}.home-stage .home-actions .home-play-button{--home-control-art:url(./play-iP-LqhZ1.webp)}.home-stage .home-actions .home-levels-button{--home-control-art:url(./levels-BxrMw3aY.webp);--home-control-size:100% 150%;padding-left:72px}.home-stage .home-actions .home-daily-button{--home-control-art:url(./daily-fdTatM5i.webp)}.home-stage .home-actions .home-endless-button{--home-control-art:url(./endless-B9Ba4UtG.webp)}.home-stage .home-actions .home-button-label{letter-spacing:.4px;text-transform:uppercase;white-space:nowrap;-webkit-text-stroke:1.4px #102e5e;paint-order:stroke fill;font-family:Sheep Buttons,Arial Rounded MT Bold,sans-serif;font-size:32px;font-weight:400;line-height:1.05;display:block;position:relative}.home-stage .home-actions .home-levels-button .home-button-label{letter-spacing:.2px;font-size:26px}.home-stage .home-actions .home-modes .home-illustrated-button{--home-control-size:100% auto;flex-basis:0;min-width:0;padding:0 12px 1px 40px}.home-stage .home-actions .home-modes .home-button-label{letter-spacing:0;font-size:18px}.home-stage .home-actions .home-illustrated-button:hover:enabled{background:transparent var(--home-control-art) center / var(--home-control-size,100% 145%) no-repeat;filter:brightness(1.04)}.home-stage .home-actions .home-illustrated-button:active:enabled{background:transparent var(--home-control-art) center / var(--home-control-size,100% 145%) no-repeat;filter:brightness(.98);transform:translateY(3px)}.home-stage .home-settings-button,.home-stage .home-settings-button:hover:enabled,.home-stage .home-settings-button:active:enabled{box-shadow:none;background:url(./settings-vV0qz9z_.webp) 50%/125% 125% no-repeat;border:0;border-image:;border-radius:14px;padding:0}.home-settings-art{pointer-events:none;width:100%;height:100%;display:block}.sound-button,.sound-button:hover:enabled,.sound-button:active:enabled{color:#fff;background-color:#328eff}.rotate-notice{display:none}@media (pointer:coarse) and (orientation:portrait){.round-button{position:relative}.round-button:before{content:"";width:max(100%, var(--hit-size,44px));height:max(100%, var(--hit-size,44px));border-radius:50%;position:absolute;top:50%;left:50%;translate:-50% -50%}.site-header .header-actions{gap:max(8px, calc(var(--hit-size,44px) - 40px))}}@media (pointer:coarse) and (orientation:landscape){.rotate-notice{width:calc((100vw - var(--scene-width)) / 2 - 20px);text-align:center;color:var(--ink);pointer-events:none;flex-direction:column;align-items:center;gap:12px;font-size:16px;font-weight:700;display:flex;position:fixed;top:50%;left:10px;translate:0 -50%}.rotate-notice .icon{width:30px;height:30px}}.energy-badge{border:2px solid var(--ink);width:148px;min-height:36px;color:var(--ink);background:linear-gradient(#fff,#fff1c7);border-color:#c58c27;border-radius:17px;justify-content:center;align-items:center;gap:6px;padding:4px 8px;display:flex;position:absolute;top:3px;left:50%;translate:-50%;box-shadow:0 3px #ac701d,inset 0 2px #fff}.energy-badge .icon{width:23px;height:23px}.energy-badge b{white-space:nowrap;font-size:16px}.energy-badge>span{font-variant-numeric:tabular-nums;color:var(--timber);font-size:11px}.energy-watch{gap:7px;padding-inline-start:12px;padding-inline-end:12px;font-size:17px}.energy-reward-amount{color:#215721;white-space:nowrap;background:#fff8cc;border-radius:12px;align-items:center;gap:3px;padding:2px 7px;font-size:18px;display:inline-flex}.energy-reward-amount .icon{width:20px;height:20px}.energy-video-note{color:#55617d;margin:8px 0 0;font-size:12px}.home-stage .home-modes [data-action=endless] .icon path{stroke:#fff}.compact-logo{width:216px;height:104px;position:absolute;top:4px;left:108px}.levels-intro{text-align:center;width:378px;position:absolute;top:112px;left:27px}.levels-intro h1{letter-spacing:.05em;border:2.5px solid var(--ink);background:linear-gradient(#fff5cf,#ffd77b);border-color:#9c621a;border-radius:22px;margin:0;padding:8px 29px 10px;font-size:27px;line-height:1.25;display:inline-block;box-shadow:0 4px #a96a1a,inset 0 2px #fff}.levels-intro h1:focus{outline:none}.map-progress{background:var(--sand);border:2px solid var(--timber);box-shadow:0 2px 0 var(--timber);border-radius:12px 15px 11px 13px;align-items:center;gap:3px;padding:5px 7px;font-size:12px;font-weight:700;display:inline-flex;position:absolute;top:13px;right:0}.map-progress .icon{width:14px;height:14px;color:var(--moss)}.level-map{border:5px solid var(--clay);touch-action:pan-y;background:#a8ef52;border-color:#ffd15a;border-radius:27px 22px 26px 23px;width:378px;height:334px;position:absolute;top:172px;left:27px;overflow:hidden;box-shadow:0 0 0 2px #945719,0 5px #aa721b,inset 0 0 0 2px #fff4ad}.map-flock{transition:transform .3s;animation:.3s both map-arrive;position:absolute;top:0;bottom:0;left:0;right:0}.is-swiping .map-flock{transition:none;animation:none}@keyframes map-arrive{0%{opacity:.4;translate:var(--enter,0) 0}to{opacity:1;translate:0}}.map-navigation{justify-content:space-between;align-items:center;display:flex;position:absolute;top:520px;left:43px;right:43px}.map-navigation .round-button{border-radius:15px 18px 14px 17px;width:44px;height:40px}.map-page-info{flex-direction:column;align-items:center;gap:3px;display:flex}.map-page-info strong{font-size:14px}.map-page-number{color:#55617d;font-variant-numeric:tabular-nums;font-size:11px}.map-terrain,.map-route{pointer-events:none;width:100%;height:100%;position:absolute;top:0;bottom:0;left:0;right:0}.map-route{fill:none;stroke:var(--oat);stroke-width:17px;stroke-linecap:round}.map-route .route-stitches{stroke:#e8a544;stroke-width:2px;stroke-dasharray:3 13}.route-wide{display:none}.level-marker{background:0 0;border:none;flex-direction:column;align-items:center;width:142px;height:134px;padding:0 0 4px;transition:transform .35s;display:flex;position:absolute}.slot-0{top:9px;left:16px}.slot-1{top:9px;right:16px}.slot-2{top:173px;left:16px}.slot-3{top:173px;right:16px}.marker-art{width:100%;transition:filter .35s,transform .35s;display:block;position:relative}.landmark-art{width:100%;height:auto}.marker-flag{color:#173b22;border:2px solid var(--ink);z-index:1;background:linear-gradient(#84ed35,#39b921);border-color:#277b1c;border-radius:50%;place-items:center;width:30px;height:30px;font-size:13px;font-weight:700;display:grid;position:absolute;top:1px;left:4px;transform:rotate(-5deg);box-shadow:0 3px #28731a}.marker-name{border:2.5px solid var(--ink);color:#513319;background:linear-gradient(#fff8da,#ffe3a2);border-color:#9c621a;border-radius:16px;width:127px;margin-top:-4px;padding:6px 8px;font-size:12px;font-weight:700;box-shadow:0 4px #a96a1a,inset 0 2px #fff}.marker-status{border:2px solid var(--ink);background:var(--blue-button) #328eff;color:#fff;z-index:2;border-color:#203b72;border-radius:11px 13px 10px 12px;place-items:center;width:30px;height:30px;display:grid;position:absolute;top:5px;right:3px;box-shadow:0 3px #174cab,inset 0 2px #c8efff}.marker-status .icon{width:21px;height:21px}.marker-status.marker-continue{color:#634113;background:linear-gradient(#ffe660,#ffb735);border-color:#a66711;box-shadow:0 3px #aa701d}.level-marker:hover{transform:translateY(-3px)}.level-marker:active{transform:translateY(1px)}.level-marker:focus-visible{outline-offset:4px;border-radius:20px;outline:3px dashed #ffdc43}.level-marker.is-selected .marker-art{filter:drop-shadow(0 0 5px #ffdc43);transform:translateY(-3px)}.level-marker.is-selected .marker-name{color:#173b22;background-color:#65e72a;background:var(--green-button) #65e72a;border-color:#267d21;box-shadow:0 4px #187619,0 0 0 3px #ffdd45}.level-marker.is-locked .marker-art{filter:none;opacity:1}.level-marker.is-locked .landmark-art{filter:grayscale();opacity:.55}.level-marker.is-locked .marker-flag{color:#67685c;background-color:#b7b9a8;border-color:#7e806e;box-shadow:0 3px #7e806e}.level-marker.is-locked .marker-name,.level-marker.is-locked.is-selected .marker-name{color:#57677b;background:linear-gradient(#e0e7ec,#becbd7);border-color:#8896a9;box-shadow:0 4px #8795a7,inset 0 2px #f3f6fa}.level-marker.is-locked.is-selected .marker-name{outline:2px solid var(--ochre);outline-offset:2px}.level-marker .marker-lock{color:#5a6b80;background:linear-gradient(#eef2f6,#bbc7d4);border:3px solid #8193a9;border-radius:20px;width:62px;height:62px;top:50%;left:50%;right:auto;translate:-50% -50%;box-shadow:0 5px #8193a9,inset 0 2px #fff}.level-marker .marker-lock .icon{stroke-width:2.4px;width:42px;height:42px}.level-marker.is-complete .marker-status{color:#176324;background:linear-gradient(#b9ff69,#6adb3b);border-color:#238530;box-shadow:0 3px #297a1d}.level-play-button:disabled{color:#57677b;opacity:1;background:linear-gradient(#e0e7ec,#becbd7);border-color:#8896a9;box-shadow:0 3px #8795a7}.level-details{border:4px solid var(--clay);background:linear-gradient(#fff,#fff8e6);border-color:#ffd15a;border-radius:24px;width:372px;height:162px;padding:7px 15px;position:absolute;top:580px;left:30px;box-shadow:0 0 0 2px #945719,0 5px #aa721b,inset 0 0 0 2px #fff4ad}.detail-heading{align-items:center;gap:7px;height:29px;display:flex}.detail-heading>.sheep-head{flex-shrink:0;width:30px;height:30px}.detail-heading h2{letter-spacing:.02em;margin:0;font-size:17px}.detail-number{color:#55617d;margin-left:auto;font-size:11px}.map-goals{border-top:1.5px dashed var(--clay);border-bottom:1.5px dashed var(--clay);justify-content:space-around;align-items:center;gap:2px;height:51px;margin-top:3px;display:flex}.map-goal{flex-direction:column;align-items:center;gap:1px;font-size:10px;display:flex}.map-goal .sheep-head{width:25px;height:25px}.map-goal strong{color:var(--moss);font-variant-numeric:tabular-nums;font-size:16px}.map-goal strong small{color:#55617d;margin-left:3px;font-size:10px;font-weight:400}.single-goal .map-goal{flex-direction:row;gap:12px}.single-goal .sheep-head{width:34px;height:34px}.single-goal strong{font-size:24px}.level-save-note{text-align:center;color:#55617d;margin:0;font-size:9px;line-height:1.5;position:absolute;top:90px;left:16px;right:16px}.level-entry-actions{align-items:center;gap:11px;display:flex;position:absolute;bottom:10px;left:24px;right:24px}.level-play-button{flex:1;min-height:40px;padding:6px 17px;font-size:15px}.level-play-button .icon{width:19px;height:19px}.level-replay-button{width:44px;height:44px}.level-marker .marker-painted{width:36px;height:36px;box-shadow:none;background:0 0;border:0;border-radius:0;top:2px;right:0}.level-marker.is-complete .marker-painted{box-shadow:none;background:0 0;border:0}.level-status-image{object-fit:contain;width:100%;height:100%;display:block}.level-details{height:154px;padding:10px 18px;top:584px}.level-details .map-goals{border:0;justify-content:center;gap:10px;height:76px;margin:0}.level-details .map-goal{flex-direction:row;gap:5px;min-width:0}.level-details .map-goal .sheep-head{width:38px;height:38px}.level-details .map-goal strong{font-size:23px}.level-details .single-goal{gap:0}.level-details .single-goal .sheep-head{width:49px;height:49px}.level-details .single-goal .map-goal{gap:13px}.level-details .single-goal strong{font-size:30px}.level-details .map-goals:has(.map-goal:nth-child(4)) .map-goal{flex-direction:column;gap:0;width:48px}.level-details .map-goals:has(.map-goal:nth-child(4)) .sheep-head{width:34px;height:34px}.level-entry-actions{bottom:13px;left:24px;right:24px}.level-play-button{min-height:44px;position:relative}.unlock-video-badge{color:#203b72;background:#fff3b0;border:2px solid #203b72;border-radius:7px;place-items:center;width:26px;height:22px;display:grid;position:absolute;top:50%;right:12px;transform:translateY(-50%)}.unlock-video-badge .icon{width:17px;height:17px}.difficulty-badge{color:#55617d;white-space:nowrap;font-size:10px}.difficulty-badge b{color:var(--moss);font-size:15px}.difficulty-badge small{margin-left:2px;font-size:9px}.challenge-intro{top:110px}.challenge-date{color:var(--ink);margin-top:12px;font-size:13px;display:block}.challenge-illustration{border:4px solid var(--clay);width:372px;height:270px;box-shadow:0 0 0 2px var(--ink), 0 5px 0 var(--timber);border-radius:30px 25px 28px 26px;position:absolute;top:200px;left:30px;overflow:hidden}.challenge-mascot{width:190px;height:219px;position:absolute;top:27px;left:128px}.side-mascot{width:132px;height:154px;top:94px;left:43px;rotate:-9deg}.challenge-sun{background:var(--sand);border:2.5px solid var(--ink);width:58px;height:58px;box-shadow:0 3px 0 var(--timber);border-radius:50%;padding:9px;position:absolute;top:19px;left:43px;rotate:-10deg}.challenge-sun .icon{width:100%;height:100%}.wood-panel{border:4px solid var(--clay);background:linear-gradient(#fff,#fff8e6);border-color:#ffd15a;border-radius:24px;box-shadow:0 0 0 2px #945719,0 5px #aa721b,inset 0 0 0 2px #fff4ad}.challenge-summary{width:372px;height:119px;padding:9px 16px;position:absolute;top:490px;left:30px}.challenge-summary-heading{justify-content:space-between;align-items:center;font-size:13px;display:flex}.challenge-goals{justify-content:center;align-items:center;gap:19px;height:46px;display:flex}.challenge-goals>div{color:var(--moss);align-items:center;gap:3px;font-size:15px;display:flex}.challenge-goals .sheep-head{width:33px;height:33px}.challenge-best{border-top:1px dashed var(--clay);justify-content:center;align-items:center;gap:5px;padding-top:5px;font-size:11px;display:flex}.challenge-best .icon{width:14px;height:14px;color:var(--ochre)}.challenge-best b{color:var(--moss);font-size:14px}.challenge-best small{color:#55617d;margin-left:6px}.challenge-actions{flex-direction:column;align-items:stretch;gap:13px;width:272px;display:flex;position:absolute;top:632px;left:80px}.challenge-actions .primary-button{min-height:47px;padding:9px 15px;font-size:18px}.challenge-actions .secondary-button{min-height:40px;padding:7px 15px;font-size:14px}.challenge-note{color:#55617d;text-align:center;font-size:10px}.records-panel{overscroll-behavior:contain;touch-action:pan-y;scrollbar-width:thin;scrollbar-color:var(--clay) transparent;width:372px;height:408px;padding:6px 13px;position:absolute;top:207px;left:30px;overflow-y:auto}.records-panel ol{margin:0;padding:0;list-style:none}.record-row{border-bottom:1.5px dashed var(--clay);align-items:center;gap:11px;padding:10px 1px;display:flex}.record-row:last-child{border-bottom:none}.latest-record{background:#80eb872b;border-radius:12px}.record-rank{background:var(--oat);border:2px solid var(--timber);border-radius:50%;flex-shrink:0;place-items:center;width:26px;height:26px;font-size:12px;display:grid}.record-row:first-child .record-rank{background:#ffdc43}.record-body{flex:1;min-width:0}.record-heading{justify-content:space-between;align-items:baseline;gap:8px;display:flex}.record-heading strong{color:var(--moss);font-size:18px}.record-heading strong small{margin-left:3px;font-size:9px}.record-heading>span{color:#55617d;font-size:10px}.record-counts{justify-content:space-between;margin-top:2px;display:flex}.record-counts>span{align-items:center;gap:2px;font-size:10px;display:flex}.record-counts .sheep-head{width:22px;height:22px}.record-body time{color:#55617d;text-align:right;font-size:9px;display:block}.empty-records{flex-direction:column;justify-content:center;align-items:center;gap:13px;height:100%;display:flex}.empty-records .mascot-art{width:167px;height:190px}.empty-records strong{font-size:20px}.empty-records span{color:#55617d;font-size:12px}.records-actions{top:644px}.records-actions .text-button{justify-content:center;min-height:35px;font-size:13px}.mode-result-score{color:var(--moss);justify-content:center;align-items:baseline;gap:6px;display:flex}.mode-result-score .icon{width:20px;height:20px;color:var(--ochre)}.mode-result-score strong{font-size:32px}.mode-result-score small{font-size:12px}.result-counts{justify-content:space-between;gap:7px;margin:12px 0 0;display:flex}.result-counts>span{flex-direction:column;align-items:center;gap:2px;font-size:13px;display:flex}.result-counts .sheep-head{width:35px;height:35px}.result-note{color:#55617d;margin:10px 0;font-size:11px}.play-status{text-align:center;background:var(--sand) var(--wood-grain);border:2px solid var(--timber);width:286px;box-shadow:0 3px 0 var(--timber);pointer-events:none;z-index:10;border-radius:12px;padding:6px 10px;font-size:11px;font-weight:700;position:absolute;top:204px;left:73px}.play-status:empty{display:none}.game-stats{grid-template-columns:repeat(3,minmax(0,1fr)) 44px;align-items:center;gap:8px;width:332px;height:33px;display:grid;position:absolute;top:650px;left:50px}.game-stats>span{color:#55617d;background:#ffffffd9;border:1.5px solid #ddb14b;border-radius:10px;justify-content:center;align-items:center;gap:4px;min-width:0;height:30px;padding:0 3px;font-size:13px;display:inline-flex}.game-stats>span .icon{object-fit:contain;flex-shrink:0;width:28px;height:28px}.game-stats b{color:var(--ink);font-variant-numeric:tabular-nums;font-size:14px}.hint-button{border-radius:13px 16px 12px 14px;justify-self:end;width:40px;height:34px;padding:5px;position:relative}.hint-button .icon{width:22px;height:22px}.hint-button [hidden],.hint-dialog [hidden]{display:none!important}.hint-video-icon{color:#49301c;border:1.5px solid var(--ink);pointer-events:none;background:#ffc62e;border-color:#765123;border-radius:5px;place-items:center;width:17px;height:15px;display:grid;position:absolute;bottom:-2px;right:-4px}.hint-video-icon .icon{width:10px;height:10px}.hint-button.hint-ready{background-color:#65e72a;background:var(--green-button) #65e72a;border-color:#267d21;box-shadow:0 4px #187619,inset 0 2px #deffc0}.hint-timer{border:1.5px solid var(--ink);color:#fff;font-variant-numeric:tabular-nums;pointer-events:none;background:#a84ff5;border-color:#6924af;border-radius:8px;min-width:27px;padding:1px 4px;font-size:10px;font-weight:700;position:absolute;top:-9px;right:-3px}.game-header{grid-template-columns:88px 1fr 88px;align-items:center;height:44px;display:grid;position:absolute;top:12px;left:26px;right:26px}.game-header>.round-button{justify-self:start}.level-heading{text-align:center;border:2.5px solid var(--ink);background:linear-gradient(#fff,#fff2ca);border-color:#c78c2b;border-radius:18px;flex-direction:column;justify-self:center;gap:2px;width:198px;min-width:0;padding:5px 10px 7px;display:flex;box-shadow:0 4px #a66c1c}.level-kicker{color:#188519;font-size:11px}.level-title{letter-spacing:.015em;white-space:nowrap;font-size:16px}.game-header .header-actions{gap:6px}@media (pointer:coarse) and (orientation:portrait){.game-header .header-actions{gap:max(6px, calc(var(--hit-size,44px) - 40px))}}.game-header .header-actions .round-button{width:40px;height:40px;padding:7px}.game-header .header-actions .icon{width:20px;height:20px}.goals-panel{border:2.5px solid var(--ink);background:linear-gradient(#fff,#fff9e3);border-color:#bb7a20;border-radius:18px;width:340px;height:48px;padding:3px 12px 8px;position:absolute;top:64px;left:46px;box-shadow:0 4px #a66c1c,inset 0 0 0 2px #ffe59b}.goals-panel:before,.goals-panel:after{content:"";border:1px solid var(--timber);background:var(--oat);border-radius:50%;width:5px;height:5px;position:absolute;top:22px;left:5px}.goals-panel:after{left:auto;right:5px}.goal-list{justify-content:center;align-items:center;gap:9px;height:39px;display:flex}.goal{align-items:center;gap:7px;display:flex}.goal .sheep-head{width:40px;height:40px}.goal>span{align-items:baseline;gap:8px;display:flex}.goal strong{color:var(--moss);font-variant-numeric:tabular-nums;font-size:23px}.goal small{color:#55617d;font-size:12px}.goal-done strong .icon{width:23px;height:23px}.goal-progress{background:#d7edb5;border-radius:10px;height:4px;position:absolute;bottom:3px;left:16px;right:16px;overflow:hidden}.goal-progress span{background:linear-gradient(90deg,#8cf334,#2ec928);height:100%;transition:width .3s;display:block}.many-goals{padding-left:6px;padding-right:6px}.many-goals .goal-list{justify-content:space-between;gap:3px}.many-goals .goal{gap:2px}.many-goals .sheep-head{width:33px;height:33px}.many-goals .goal strong{font-size:18px}.few-goals .goal-list{justify-content:center;gap:20px}.few-goals .goal{justify-content:center;gap:5px;min-width:70px}.arena{width:372px;height:537px;position:absolute;top:102px;left:30px}.gate{z-index:4;pointer-events:none;width:100%;height:82px;position:absolute;top:14px;left:0;overflow:hidden}.wolf-art{pointer-events:none;width:100%;height:auto;display:block;position:absolute;top:-26px;left:0}.gate-happy{animation:.55s happy}@keyframes happy{0%,to{transform:translateY(0)}35%{transform:translateY(-2px)}65%{transform:translateY(-1px)}}.board-frame{background:#b86b1f var(--wood-grain);border:8px solid #f4b43b;border-radius:16px;width:372px;height:465px;position:absolute;top:72px;left:0;box-shadow:0 5px #905217,inset 0 0 0 2px #7a461a,0 10px 16px #29763022}.board{background:conic-gradient(#a76828 25%, #96571d 0 50%, #a76828 0 75%, #96571d 0);touch-action:none;-webkit-user-select:none;user-select:none;background-size:25% 20%;border-radius:4px;width:332px;height:415px;position:absolute;top:12px;left:12px;overflow:hidden;box-shadow:inset 0 0 0 1px #743f17}.sheep-layer,.board-effects{pointer-events:none;position:absolute;top:0;bottom:0;left:0;right:0}.sheep-block{cursor:grab;touch-action:none;pointer-events:auto;z-index:2;background:0 0;border:none;border-radius:9px;height:10%;margin:0;padding:1px;transition:left .18s,top .2s cubic-bezier(.33,.1,.4,1),filter .15s;position:absolute}.sheep-block .sheep-art{pointer-events:none;width:100%;height:100%}.platform-loading{color:#203b72;background:#c2ed68;place-items:center;font-size:22px;font-weight:900;display:grid;position:fixed;top:0;bottom:0;left:0;right:0}.sheep-block:hover{filter:brightness(1.07)}.sheep-block.selected{filter:drop-shadow(0 0 3px #ffdc43);z-index:5}.sheep-block.selected:before{content:"";border:2px solid #ffdc43;border-radius:8px;position:absolute;top:0;bottom:0;left:1px;right:1px}.sheep-block:focus-visible{outline-offset:-1px;outline-width:2px}.sheep-block.is-dragging{cursor:grabbing;z-index:6;filter:drop-shadow(0 4px 3px #202b4855)brightness(1.08);transition:none}.sheep-block.instant{transition:none}.sheep-block.is-clearing{pointer-events:none;animation:.3s forwards sheep-clear}@keyframes sheep-clear{0%{filter:brightness();transform:scale(1)}35%{filter:brightness(1.45);transform:scale(1.08)}to{opacity:0;transform:scale(.4)}}.is-busy .sheep-block{cursor:wait}.drop-guide{opacity:0;pointer-events:none;z-index:1;background:#fffef333;border-left:1px solid #ffdc4377;border-right:1px solid #ffdc4377;height:100%;position:absolute;top:0}.drop-guide.visible{opacity:1}.danger-line{opacity:0;border-top:2px dashed #ff7848;width:100%;transition:opacity .3s;position:absolute;top:10%;left:0}.danger-line span{color:#a53424;background:#fffef3bb;border-radius:0 0 7px;width:max-content;padding:3px 6px;font-size:10px;display:block}.is-danger .danger-line{opacity:1}.next-row{background:#202b48;border-radius:8px;width:332px;height:7px;position:absolute;bottom:8px;left:12px;overflow:hidden}.next-row i{background:#ff8642;border:1px solid #202b48;border-radius:4px;height:5px;display:block;position:absolute;top:1px}.fence-post{z-index:4;background:repeating-linear-gradient(0deg,#f3b943 0 9px,#be7b1f 10px 12px);border:2px solid #925019;border-radius:6px;width:15px;height:37px;display:block;position:absolute}.post-a{top:8%;left:-14px}.post-b{top:8%;right:-14px}.post-c{top:74%;left:-14px}.post-d{top:74%;right:-14px}.tutorial{text-align:center;color:var(--sand);pointer-events:none;z-index:1;background:linear-gradient(#fff,#fff6da);border-color:#edc75c;position:absolute;top:54px;left:22px;right:22px;box-shadow:0 4px #b17625,0 0 0 1.5px #88571b}.tutorial[hidden]{display:none}.tutorial-title{font-size:19px;font-weight:700}.tutorial p{opacity:.85;margin:12px 0;font-size:13px;line-height:1.8}.tutorial-line{border-left:2px dashed #ffdc4388;width:0;height:145px;margin:19px auto 0;display:block}.tutorial-line:after{content:"";border-bottom:2px solid #ffdc43;border-right:2px solid #ffdc43;width:8px;height:8px;display:block;position:relative;top:137px;left:-5px;transform:rotate(45deg)}.tutorial-sheep{z-index:5;animation:1.6s ease-in-out infinite sheep-hint}.tutorial-sheep:after{content:"";border-top:3px solid #ffdc43;border-right:3px solid #ffdc43;width:16px;height:8px;position:absolute;top:46%;right:-13px;transform:skew(32deg)}@keyframes sheep-hint{0%,to{filter:drop-shadow(0 0 2px #ffdc43)}50%{filter:drop-shadow(0 0 7px #ffdc43)brightness(1.12)}}.row-flash{background:#ffdc4388;border-top:2px solid #fffef3;border-bottom:2px solid #fffef3;width:100%;height:10%;animation:.5s ease-out forwards row-clear;position:absolute;left:0}@keyframes row-clear{0%{opacity:1;transform:scaleX(.4)}45%{opacity:.8;transform:scaleX(1)}to{opacity:0;transform:scaleY(.1)}}.board-effects{z-index:8}.combo-message{text-align:center;color:#ffdc43;text-shadow:0 2px #55617d,2px 0 #55617d,-2px 0 #55617d,0 -2px #55617d;pointer-events:none;z-index:7;opacity:0;width:100%;font-size:27px;font-weight:900;position:absolute;top:190px}.combo-message.combo-visible{animation:.95s forwards combo}@keyframes combo{0%{opacity:0;transform:translateY(12px)scale(.7)}25%{opacity:1;transform:translateY(0)scale(1.05)}70%{opacity:1;transform:scale(1)}to{opacity:0;transform:translateY(-15px)}}.tool-bar{justify-content:space-between;gap:14px;width:332px;display:flex;position:absolute;top:696px;left:50px}.tool-button{border:2.5px solid var(--ink);background:var(--blue-button) #328eff;width:100px;height:62px;box-shadow:0 4px 0 var(--blue-shadow), inset 0 2px 0 #c8efff;color:#fff;text-shadow:0 1px 1px #173f93;border-color:#203b72;border-radius:17px;flex-direction:column;align-items:center;gap:1px;padding:4px;font-size:11px;font-weight:700;transition:background-color .3s,transform .3s;display:flex;position:relative}.tool-button:hover:enabled{background-color:#328eff;transform:translateY(-2px)}.tool-button:active:enabled{box-shadow:0 1px 0 var(--blue-shadow);transform:translateY(3px)}.tool-picture .icon{width:32px;height:32px;color:var(--ink)}.tool-picture .tool-image{object-fit:contain;filter:drop-shadow(0 2px 1px #202b4833);width:40px;height:40px;margin-top:-3px;margin-bottom:-3px}.tool-button b{color:#244b21;border:2px solid var(--ink);min-width:22px;height:22px;text-shadow:none;background:linear-gradient(#b1ff51,#65d82a);border-color:#2b8622;border-radius:12px;place-items:center;padding:0 4px;font-size:11px;display:grid;position:absolute;top:-7px;right:-4px;box-shadow:0 2px #26731d}.tool-button b.charge-video{color:#403113;background:linear-gradient(#fff08a,#ffc52b);border-color:#986423;width:25px;height:25px;padding:3px;box-shadow:0 2px #a36a20}.charge-video .icon{width:13px;height:13px}.tool-button.active-tool{background-color:#65e72a;background:var(--green-button) #65e72a;border-color:#267d21;box-shadow:0 4px #187619,0 0 0 3px #ffdb42}.tool-button:disabled{opacity:.65;box-shadow:0 3px #174cab}.flight-layer{pointer-events:none;z-index:20;position:absolute;top:0;bottom:0;left:0;right:0}.flying-sheep{filter:drop-shadow(0 8px 4px #fffef366);pointer-events:none;width:34px;height:34px;display:block;position:absolute}.flying-sheep .sheep-head{width:100%;height:100%}.game-dialog{width:min(380px, var(--dialog-width,calc(var(--scene-width,100vw) - 24px)));max-width:none;max-height:var(--dialog-height,calc(var(--scene-height,100svh) - 32px));transform:scale(var(--dialog-scale,1));color:var(--ink);border:7px solid var(--clay);scrollbar-width:thin;scrollbar-color:#f1bf4a #fff9e9;background:linear-gradient(#fff,#fff9e9);border-color:#ffcf55;border-radius:28px;margin:auto;padding:0;overflow:auto;box-shadow:0 0 0 2.5px #93571b,0 8px #b27a22,inset 0 0 0 2px #fff1a7,0 20px 60px #19385855}.game-dialog::backdrop{-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#193c7c88}.reward-video-dialog,.sdk-wait-dialog{z-index:100;position:fixed;top:0;bottom:0;left:0;right:0}.modal-content{text-align:center;padding:28px;position:relative}.modal-content:before,.modal-content:after{content:"";border:1.5px solid var(--timber);background:var(--oat);border-radius:50%;width:6px;height:6px;position:absolute;top:10px;left:10px}.modal-content:after{left:auto;right:10px}.modal-content>.eyebrow{justify-content:center;margin-bottom:10px;font-size:11px}.modal-content h2{color:#284b8d;text-shadow:0 2px #fff;margin:6px 0 16px;font-size:25px;font-weight:900;line-height:1.4}.modal-copy{color:#55617d;margin-bottom:22px;font-size:13px;line-height:1.8}.modal-content>.primary-button{width:100%;margin:18px 0 12px;font-size:17px}.game-dialog .primary-button:hover:enabled,.game-dialog .text-button:hover:enabled{transform:none}.secondary-button{background:var(--blue-button) #328eff;color:#fff;width:100%;min-height:46px;box-shadow:0 4px 0 var(--blue-shadow), inset 0 2px 0 #c8efff, inset 0 -2px 0 #2167d9;text-shadow:0 1px 1px #173f93;border:2.5px solid #203b72;border-radius:21px;justify-content:center;align-items:center;gap:8px;padding:10px 24px;font-size:13px;font-weight:700;transition:transform .14s,box-shadow .14s;display:flex;position:relative}.secondary-button:hover:enabled{background-color:#328eff;transform:translateY(-1px)}.secondary-button:active:enabled{box-shadow:0 1px 0 var(--blue-shadow), inset 0 2px 0 #c8efff;transform:translateY(3px)}.secondary-button .icon{width:22px;height:22px}.modal-secondary-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0 auto;display:grid}.modal-secondary-actions .secondary-button{white-space:nowrap;gap:6px;min-width:0;min-height:40px;padding:7px 8px;font-size:14px}.modal-secondary-actions .secondary-button:hover:enabled{transform:none}.modal-secondary-actions .icon{flex-shrink:0;width:18px;height:18px}.modal-secondary-actions>:only-child{grid-column:1/-1;justify-self:center;width:calc(50% - 5px)}.modal-home{margin-top:15px}.modal-character{justify-content:center;align-items:flex-end;height:72px;margin:0 auto 16px;display:flex}.modal-character .sheep-head{width:72px;height:72px}.celebration .sheep-head:first-child,.celebration .sheep-head:last-child{width:56px;height:56px;transform:rotate(-12deg)}.celebration .sheep-head:last-child{transform:rotate(12deg)}.modal-symbol{border:2.5px solid var(--ink);background:var(--blue-button) #328eff;color:#fff;border-color:#203b72;border-radius:20px;place-items:center;width:66px;height:66px;margin:0 auto 20px;display:grid;box-shadow:0 4px #174cab,inset 0 2px #c8efff}.modal-symbol .icon{width:29px;height:29px}.end-stats{justify-content:center;gap:0;margin:24px 0;display:flex}.end-stats>span{color:#55617d;border-right:2px dashed var(--clay);flex-direction:column;align-items:center;gap:8px;padding:0 16px;font-size:10px;display:flex}.end-stats>span:last-child{border:none}.end-stats strong{color:var(--moss);font-variant-numeric:tabular-nums;font-size:24px}.audio-dialog{width:min(352px, var(--dialog-width,calc(var(--scene-width,100vw) - 24px)))}.audio-dialog .modal-content{padding:23px}.audio-dialog .modal-symbol{width:48px;height:48px;margin-bottom:12px}.audio-dialog h2{font-size:23px}.audio-settings{gap:20px;margin-top:24px;display:grid}.audio-row{border:2px solid var(--clay);background:linear-gradient(#f6fcff,#def3ff);border-color:#81c5f2;border-radius:17px 20px 16px 19px;padding:12px;box-shadow:inset 0 2px #fff}.audio-row-heading{justify-content:space-between;align-items:center;display:flex}.audio-row-heading>span{align-items:center;gap:8px;font-size:15px;font-weight:700;display:flex}.audio-switch{border:2px solid var(--timber);background:linear-gradient(#d0d9e4,#a1b1c5);border-color:#7187a5;border-radius:16px;width:54px;height:30px;padding:0;transition:background-color .2s;position:relative;box-shadow:inset 0 2px 3px #2b497933}.audio-switch[aria-checked=true]{background:linear-gradient(#a3f447,#4aca2a)}.switch-knob{border:1.5px solid var(--ink);background:#fff;border-color:#7187a5;border-radius:50%;width:22px;height:22px;margin:2px;transition:translate .2s;display:block;box-shadow:0 2px #58709544}.audio-switch[aria-checked=true] .switch-knob{translate:24px}.audio-volume{align-items:center;gap:10px;margin-top:14px;display:flex}.audio-volume input{-webkit-appearance:none;appearance:none;border:1px solid var(--timber);background:linear-gradient(to right, #3798fa var(--volume), #c3ddec var(--volume));cursor:pointer;border-color:#619bd0;border-radius:6px;width:100%;height:8px;margin:8px 0}.audio-volume input::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;border:2px solid var(--timber);background:#fff;border-color:#3484ca;border-radius:50%;width:19px;height:19px;box-shadow:0 2px #2870b455}.audio-volume input::-moz-range-thumb{border:2px solid var(--timber);background:#fff;border-color:#3484ca;border-radius:50%;width:16px;height:16px}.audio-volume input:focus-visible{outline:2px solid var(--ochre);outline-offset:5px}.audio-volume output{text-align:right;font-variant-numeric:tabular-nums;min-width:35px;font-size:11px}.toast{bottom:calc(25px + env(safe-area-inset-bottom));z-index:101;width:max-content;max-width:calc(var(--scene-width,100vw) - 24px);color:#fff;border:2.5px solid var(--ink);pointer-events:none;opacity:0;text-align:center;background:linear-gradient(#449dff,#2068d9);border-color:#203b72;border-radius:16px 19px 15px 18px;padding:12px 19px;font-size:12px;line-height:1.6;transition:opacity .3s,transform .3s;position:fixed;left:50%;transform:translate(-50%,12px);box-shadow:0 4px #174cab}.toast.visible{opacity:1;transform:translate(-50%)}@media (max-height:620px){.audio-dialog .modal-content{padding:12px}.audio-dialog .modal-symbol{width:30px;height:30px;margin-bottom:6px}.audio-dialog .modal-symbol .icon{width:19px;height:19px}.audio-dialog h2{margin:6px 0;font-size:18px}.audio-settings{gap:10px;margin-top:12px}.audio-row{padding:8px}.audio-row-heading>span{gap:5px;font-size:12px}.audio-row-heading .icon{width:16px;height:16px}.audio-switch{width:40px;height:24px}.switch-knob{width:16px;height:16px}.audio-switch[aria-checked=true] .switch-knob{translate:16px}.audio-volume{gap:6px;margin-top:8px}.audio-volume output{min-width:27px;font-size:10px}.audio-dialog .primary-button{min-height:38px;margin:13px 0 3px;padding:8px}.modal-content{padding:12px}.modal-character{height:32px;margin-bottom:4px}.modal-character .sheep-head{width:32px;height:32px}.celebration .sheep-head:first-child,.celebration .sheep-head:last-child{width:28px;height:28px}.modal-symbol{width:32px;height:32px;margin-bottom:4px}.modal-symbol .icon{width:20px;height:20px}.modal-content>.eyebrow{margin:6px 0;font-size:10px}.modal-content h2{margin:5px 0 10px;font-size:16px}.modal-content>.primary-button{white-space:nowrap;gap:6px;min-height:38px;margin:10px 0;padding:7px 9px;font-size:13px}.modal-content>.secondary-button{white-space:nowrap;gap:6px;min-height:34px;margin-top:9px;padding:6px 8px;font-size:12px}.modal-content>.primary-button .icon,.modal-content>.secondary-button .icon{width:16px;height:16px}.modal-home{min-height:26px;margin-top:10px;font-size:10px}.end-stats{margin:12px 0}.end-stats>span{gap:4px;padding:0 7px;font-size:9px}.end-stats strong{font-size:18px}}@media (max-height:480px){.win-dialog .modal-character,.lose-dialog .modal-character{display:none}.mode-result-score strong{font-size:20px}.mode-result-score .icon{width:15px;height:15px}.result-counts{gap:4px;margin-top:6px}.result-counts .sheep-head{width:22px;height:22px}.result-counts>span{font-size:10px}.result-note{margin:5px 0;font-size:9px}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:0s!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}.rules-dialog .modal-content{padding:20px}.rules-dialog .guide-heading{justify-content:space-between;align-items:center;gap:8px;display:flex}.rules-dialog h2{margin:0;font-size:22px}.guide-page{color:var(--timber);font-variant-numeric:tabular-nums;white-space:nowrap;font-size:14px}.guide-title{color:var(--moss);margin:18px 0 12px;font-size:26px}.guide-illustration{border:2px solid var(--clay);background:linear-gradient(#f5fcff,#d9f1ff);border-color:#79bbef;border-radius:17px 20px 16px 19px;padding:12px}.guide-board{border:2px solid var(--timber);background-color:#a96c2c;background-image:linear-gradient(90deg,#87551e77 1px,#0000 1px),linear-gradient(#87551e77 1px,#0000 1px);background-size:12.5% 50%;border-color:#a1681e;border-radius:10px;height:126px;position:relative;overflow:hidden}.guide-sheep{align-items:center;height:50%;display:flex;position:absolute}.guide-sheep .sheep-art{width:100%;height:100%}.guide-ghost{border:2px dashed var(--sand);background:#fffef333;border-radius:10px;width:25%;height:38%;position:absolute;top:6%;left:25%}.guide-slide{width:35%;color:var(--ink);position:absolute;top:12%;left:13%}.guide-slide .icon{width:100%;height:25px;filter:drop-shadow(0 1px 0 var(--sand))}.guide-row-label{color:#fff;text-shadow:0 1px 2px #6c4418;width:100%;font-size:20px;font-weight:700;position:absolute;top:8%;left:0}.guide-clear-line{border:3px solid var(--ochre);pointer-events:none;border-radius:8px;height:45%;position:absolute;bottom:2%;left:0;right:0}.guide-danger{z-index:1;text-align:center;color:#e36725;background:#fffef3ee;border-top:3px dashed #e36725;font-size:16px;font-weight:700;position:absolute;top:0;left:0;right:0}.guide-up{color:var(--ink);position:absolute;top:25%;left:38%;rotate:-90deg}.guide-up .icon{width:45px;height:45px;filter:drop-shadow(0 1px 0 var(--sand))}.guide-count{justify-content:center;align-items:center;gap:8px;height:80px;display:flex}.guide-count>.sheep-art{width:58%;height:70px}.guide-count>.icon{flex-shrink:0;width:22px}.guide-count>span{white-space:nowrap;flex-direction:column;align-items:center;gap:2px;font-size:18px;display:flex}.guide-count .sheep-head{width:48px;height:48px}.guide-copy{color:var(--ink);text-align:left;margin:16px 0 6px;font-size:18px;line-height:1.7}.guide-tools{border-top:1px dashed var(--clay);text-align:left;flex-direction:column;gap:7px;margin-top:12px;padding-top:12px;display:flex}.guide-tools>span{align-items:center;gap:8px;font-size:16px;display:flex}.guide-tools .icon{width:23px;height:23px}.energy-hearts{justify-content:center;align-items:center;gap:8px;margin:18px 0 10px;display:flex}.energy-hearts .icon{width:34px;height:34px}.energy-hearts>span{opacity:.25}.energy-hearts>.is-full{opacity:1}.tool-image{object-fit:contain}.shop-entry{z-index:5;background:var(--blue-button) #328eff;border:2.5px solid var(--ink);color:#fff;text-shadow:0 1px 1px #173f93;border-color:#203b72;border-radius:16px;flex-direction:column;justify-content:center;align-items:center;gap:4px;width:53px;height:67px;padding:7px 3px;font-size:12px;font-weight:700;display:flex;position:absolute;top:83px;left:23px;box-shadow:0 4px #174cab,inset 0 2px #c8efff}.shop-entry:before{content:"";border-left:2px solid var(--timber);border-right:2px solid var(--timber);height:8px;display:none;position:absolute;top:-9px;left:7px;right:7px}.shop-entry .icon{width:29px;height:29px}.shop-entry:active{transform:translateY(3px);box-shadow:0 1px #174cab}.home-stage .shop-entry{background:linear-gradient(#59caff,#288cff 55%,#2263e5);border:2.5px solid #203b72;border-radius:16px;padding:7px 3px;top:230px;left:24px;box-shadow:0 4px #174cab,inset 0 2px #88daff}.home-stage .shop-entry:hover:enabled{background:linear-gradient(#59caff,#288cff 55%,#2263e5)}.home-stage .shop-entry:active:enabled{background:linear-gradient(#59caff,#288cff 55%,#2263e5);box-shadow:0 1px #174cab,inset 0 2px #88daff}.tool-received-dialog{width:min(286px, var(--dialog-width,calc(var(--scene-width,100vw) - 24px)))}.tool-received-dialog .modal-content{padding:18px 22px}.tool-received-dialog h2{margin:0 0 8px;font-size:23px}.tool-received-picture .tool-image{object-fit:contain;filter:drop-shadow(0 3px 2px #284b8d22);width:76px;height:76px}.tool-received-amount{margin:8px 0;font-size:21px;font-weight:900}.tool-received-amount strong{color:#208329}.tool-received-dialog .primary-button{min-height:44px;margin:12px 0 0}.tool-video-dialog .modal-content{padding:16px 20px}.tool-video-dialog h2{margin:0 0 8px}.tool-video-dialog [hidden]{display:none!important}@media (max-height:480px){.tool-video-dialog .modal-content{padding:8px 12px}.tool-video-dialog h2{margin-bottom:5px;font-size:19px}.tool-video-dialog .reward-video-stage{height:100px;margin-top:6px}.tool-video-dialog .reward-video-status{min-height:18px;margin:6px 0;font-size:13px}.tool-video-dialog .reward-selected{margin-bottom:6px;font-size:14px}.tool-video-dialog .shop-done{min-height:34px;padding:5px;font-size:14px}.tool-video-dialog .primary-button{min-height:34px;margin:6px 0;padding:5px;font-size:14px}.tool-received-dialog .modal-content{padding:12px 16px}.tool-received-dialog h2{font-size:20px}.tool-received-picture .tool-image{width:58px;height:58px}.tool-received-amount{margin:5px 0;font-size:19px}}.game-header-left{align-items:center;gap:6px;display:flex}.game-header-left .round-button{width:40px;height:40px;padding:7px}.game-header-left .icon{width:21px;height:21px}.shop-dialog .modal-content{padding:17px 20px 16px}.shop-dialog .modal-symbol{width:41px;height:41px;margin-bottom:4px}.shop-dialog h2{margin:3px 0 6px}.shop-intro{color:#55617d;margin:0 0 14px;font-size:14px}.shop-items{flex-direction:column;gap:10px;display:flex}.shop-item{border:2px solid var(--clay);text-align:left;background:linear-gradient(#f7fcff,#ddf1ff);border-color:#79bbef;border-radius:18px;grid-template-columns:60px 1fr 32px;align-items:center;gap:9px;width:100%;min-height:78px;padding:7px 12px 7px 7px;display:grid;position:relative;box-shadow:0 3px #79ace1,inset 0 2px #fff}.shop-item .tool-image{filter:drop-shadow(0 2px 1px #202b4833);width:60px;height:60px}.shop-item:hover:enabled{background-color:#ddf1ff;border-color:#348bd4}.shop-item-copy{flex-direction:column;gap:3px;min-width:0;display:flex}.shop-item-copy strong{font-size:18px}.shop-item-copy small{white-space:nowrap;font-size:12px}.shop-item-copy>span{color:#55617d;font-size:12px}.shop-amount{color:var(--moss);font-size:20px;font-weight:700}.shop-notice{color:#55617d;min-height:21px;margin:10px 0 0;font-size:13px;line-height:1.5}.shop-dialog .modal-content>.primary-button{gap:8px;margin:13px 0 11px}.reward-amount{color:#ffdc43;border:1px solid #ffe5a488;border-radius:7px;padding:2px 6px}.shop-dialog .shop-done{width:50%;min-height:36px;margin:0 auto 6px;padding:6px 10px}.reward-video-stage{width:100%;height:min(310px, calc(var(--scene-height,100svh) * .4));border:3px solid var(--timber);background:#b2ec58;border-color:#cb9a32;border-radius:19px;margin-top:12px;overflow:hidden}.reward-video-stage video{object-fit:contain;background:#b2ec58;width:100%;height:100%;display:block}.reward-provider-wait{place-content:center;gap:15px;height:100%;font-size:16px;display:grid}.reward-provider-wait .icon{width:70px;height:70px;margin:auto}.reward-video-status{font-variant-numeric:tabular-nums;min-height:23px;margin:12px 0;font-size:16px}.reward-selected{justify-content:center;align-items:center;gap:9px;margin-bottom:15px;font-size:16px;display:flex}.reward-selected .tool-image{width:36px;height:36px}.hint-duration{border:2px solid var(--clay);background:linear-gradient(#f4fcff,#d8f4ff);border-color:#83c5f0;border-radius:18px 21px 17px 20px;flex-direction:column;align-items:center;gap:5px;margin:18px 0;padding:15px;display:flex}.hint-duration strong{color:var(--moss);font-variant-numeric:tabular-nums;font-size:46px;line-height:1.1}.hint-duration small{margin-left:3px;font-size:23px}.hint-duration>span{font-size:18px;font-weight:700}.hint-copy{margin:12px 0;font-size:17px;line-height:1.5}.hint-dialog .shop-notice{min-height:25px}.hint-dialog .shop-done{width:46%;margin:12px auto 0}.hint-dialog .modal-home{margin-top:14px}@media (max-height:560px){.hint-dialog:not(.reward-video-dialog) .modal-content{padding:14px 18px}.hint-dialog:not(.reward-video-dialog) .modal-symbol{width:42px;height:42px;margin-bottom:8px}.hint-dialog:not(.reward-video-dialog) .modal-symbol .icon{width:28px;height:28px}.hint-duration{gap:3px;margin:10px 0;padding:9px}.hint-duration strong{font-size:30px}.hint-duration small{font-size:17px}.hint-duration>span{font-size:15px}.hint-copy{margin:8px 0;font-size:14px}.hint-dialog .shop-notice{min-height:18px;margin:7px 0;font-size:11px}.hint-dialog .shop-done{margin-top:8px}.hint-dialog .modal-home{margin-top:9px}}.shop-dialog [hidden]{display:none!important}@media (max-height:600px){.shop-dialog .modal-content{padding:10px 16px}.shop-dialog .modal-symbol{display:none}.shop-dialog h2{font-size:21px}.shop-intro{margin-bottom:9px;font-size:13px}.shop-items{gap:7px}.shop-item{grid-template-columns:48px 1fr 30px;gap:7px;min-height:65px;padding:6px 10px 6px 5px}.shop-item .tool-image{width:48px;height:48px}.shop-item-copy{gap:2px}.shop-item-copy strong{font-size:16px}.shop-item-copy small,.shop-item-copy>span{font-size:11px}.shop-notice{margin-top:9px;font-size:12px}.shop-dialog .modal-content>.primary-button{min-height:40px;margin:9px 0;padding:8px;font-size:15px}.shop-dialog .shop-done{min-height:30px;margin-bottom:7px;padding:5px}.reward-video-stage{margin-top:7px}.reward-video-status{margin:7px 0;font-size:14px}.reward-selected{margin-bottom:10px;font-size:14px}}@media (max-height:430px){.shop-dialog .modal-content{padding:7px 12px}.shop-dialog h2{margin:0 0 3px;font-size:18px}.shop-intro{margin-bottom:6px;font-size:12px;display:none}.shop-items{gap:5px}.shop-item{border-radius:13px;grid-template-columns:35px 1fr 26px;gap:6px;min-height:45px;padding:3px 8px 3px 5px}.shop-item .tool-image{width:35px;height:35px}.shop-item-copy strong{font-size:14px}.shop-item-copy small{display:none}.shop-item-copy>span{font-size:11px}.shop-amount{font-size:17px}.shop-notice{min-height:16px;margin:6px 0 0;font-size:11px}.shop-dialog .modal-content>.primary-button{min-height:34px;margin:6px 0;padding:5px;font-size:14px}.shop-dialog .shop-done{min-height:28px;margin-bottom:5px;font-size:12px}.shop-dialog .modal-home{min-height:26px;padding:3px 8px;font-size:11px}.shop-dialog .shop-notice{line-height:1.2}.shop-dialog .modal-home{width:max-content;margin:3px auto 0;display:flex}.reward-video-stage{height:120px}.reward-video-status{min-height:18px;margin:6px 0;font-size:13px}.reward-selected{margin-bottom:8px}.reward-selected .tool-image{width:28px;height:28px}}.energy-total{color:var(--moss);font-size:26px}.energy-copy{margin:14px 0 10px;font-size:17px;line-height:1.8}.energy-recovery{color:var(--moss);font-variant-numeric:tabular-nums;margin:10px 0;font-size:18px;font-weight:700}.energy-tip{color:var(--timber);margin:8px 0 0;font-size:14px}@media (max-height:620px){.modal-secondary-actions{gap:8px}.modal-secondary-actions .secondary-button{gap:4px;min-height:34px;padding:6px;font-size:13px}.modal-secondary-actions .icon{width:16px;height:16px}.rules-dialog .modal-content{padding:14px}.rules-dialog h2{font-size:20px}.guide-title{margin:12px 0 9px;font-size:23px}.guide-illustration{padding:8px}.guide-board{height:94px}.guide-copy{margin-top:12px;font-size:17px;line-height:1.6}.guide-count{height:64px}.guide-count>.sheep-art{height:56px}.guide-count .sheep-head{width:38px;height:38px}.guide-tools{gap:5px;margin-top:8px;padding-top:8px}.guide-tools>span{font-size:15px}.guide-tools .icon{width:20px;height:20px}.rules-dialog .modal-content>.primary-button{min-height:40px;font-size:15px}.energy-hearts{gap:5px;margin:12px 0 8px}.energy-hearts .icon{width:26px;height:26px}.energy-total{font-size:22px}.energy-copy{margin:10px 0 7px;font-size:15px}.energy-recovery{font-size:16px}.energy-tip{font-size:13px}}@media (max-height:480px){.modal-secondary-actions .secondary-button{gap:3px;padding:5px;font-size:12px}.modal-secondary-actions .icon{width:14px;height:14px}.win-dialog .modal-secondary-actions .icon{display:none}.rules-dialog .modal-content{padding:8px}.rules-dialog h2{font-size:17px}.guide-page{font-size:12px}.guide-title{margin:6px 0;font-size:20px}.guide-illustration{padding:4px}.guide-board{height:66px}.guide-row-label{font-size:15px}.guide-danger{font-size:13px}.guide-copy{margin:9px 0 0;font-size:14px;line-height:1.4}.guide-count{gap:4px;height:32px}.guide-count>.sheep-art{height:32px}.guide-count>.icon{width:14px}.guide-count .sheep-head{width:24px;height:24px}.guide-count>span{font-size:14px}.guide-tools{gap:3px;margin-top:4px;padding-top:4px}.guide-tools>span{font-size:14px}.guide-tools .icon{width:16px;height:16px}.rules-dialog .modal-content>.primary-button{min-height:34px;margin:8px 0}.rules-dialog .modal-secondary-actions .icon,.energy-dialog .energy-symbol,.energy-empty-dialog .energy-symbol{display:none}.energy-hearts{gap:4px;margin-top:10px}.energy-hearts .icon{width:22px;height:22px}.hint-dialog:not(.reward-video-dialog) .modal-content{padding:8px 12px}.hint-dialog:not(.reward-video-dialog) .modal-symbol{display:none}.hint-dialog .hint-duration{margin:7px 0;padding:6px}.hint-dialog .hint-duration strong{font-size:28px}.hint-dialog .hint-duration>span{font-size:13px}.hint-dialog .hint-copy{margin:6px 0;font-size:13px;line-height:1.4}.hint-dialog .shop-notice{min-height:15px;margin:5px 0;font-size:10px;line-height:1.3}.hint-dialog .shop-done{margin-top:5px}.hint-dialog .modal-home{min-height:26px;margin-top:7px;padding:3px 8px;font-size:10px}.hint-dialog.reward-video-dialog .modal-content{padding:8px 12px}.hint-dialog.reward-video-dialog .reward-video-stage{height:100px;margin-top:6px}.hint-dialog.reward-video-dialog .reward-selected{gap:6px;margin-bottom:6px;font-size:12px}.hint-dialog.reward-video-dialog .reward-selected .icon{width:22px;height:22px}}.shop-item{grid-template-columns:60px minmax(0,1fr) 63px}.shop-watch{flex-direction:column;align-items:center;gap:4px;display:flex}.video-badge{border:2px solid var(--ink);background:var(--green-button) #65e72a;color:#244b21;border-color:#267d21;border-radius:10px;justify-content:center;align-items:center;gap:4px;width:63px;min-height:40px;display:flex;box-shadow:0 3px #187619,inset 0 2px #deffc0}.video-badge .icon{width:19px;height:19px}.video-badge b{font-size:19px}.shop-watch>small{color:var(--moss);font-size:11px;font-weight:700}.shop-item:disabled{opacity:.55}.shop-dialog .shop-done{margin-top:12px}.settings-dialog .reset-entry{margin-top:3px}.reset-copy{margin:14px 0;font-size:16px;line-height:1.55}.tutorial{color:var(--ink);text-align:left;z-index:8;background:linear-gradient(#fff,#fff6da);border:2px solid #edc75c;border-radius:17px;grid-template-columns:1fr auto;gap:7px;padding:12px 14px;display:grid;top:37px;left:18px;right:18px;box-shadow:0 4px #b17625,0 0 0 1.5px #88571b}.tutorial-counter{color:var(--moss);grid-column:1/-1;font-size:12px;font-weight:700}.tutorial-title{grid-column:1/-1;font-size:20px;line-height:1.25}.tutorial-copy{align-self:center;font-size:15px;line-height:1.5}.tutorial button{pointer-events:auto;border:1.5px solid var(--timber);background:var(--blue-button) #328eff;color:#fff;border-color:#203b72;border-radius:8px;padding:7px 8px;font-size:13px;font-weight:700;box-shadow:0 2px #174cab}.tutorial-swipe{z-index:9;color:var(--sand);text-shadow:1px 2px 0 var(--ink);pointer-events:none;gap:8px;font-size:30px;animation:1.8s ease-in-out infinite tutorial-swipe;display:flex;position:absolute;top:80%;left:44%}.tutorial-swipe[hidden]{display:none}.tutorial-swipe img{object-fit:contain;transform-origin:50% 85%;width:48px;height:66px;transform:rotate(-18deg)}.tutorial-swipe b{align-self:center}.tutorial-goals{outline-offset:4px;outline:3px solid #ffdc43}@keyframes tutorial-swipe{0%,15%{opacity:1;transform:translate(-8px)}65%,85%{opacity:1;transform:translate(29px)}to{opacity:0;transform:translate(29px)}}@media (prefers-reduced-motion:reduce){.tutorial-swipe{animation:none}}@media (max-height:480px){.energy-dialog:not(.reward-video-dialog) .modal-content,.energy-empty-dialog:not(.reward-video-dialog) .modal-content{padding:8px 10px}.energy-dialog:not(.reward-video-dialog) h2,.energy-empty-dialog:not(.reward-video-dialog) h2{margin:5px 0 8px;font-size:16px}.energy-dialog .energy-total,.energy-empty-dialog .energy-total{margin:8px 0;font-size:21px}.energy-dialog .energy-copy,.energy-empty-dialog .energy-copy{margin:8px 0;font-size:12px;line-height:1.4}.energy-dialog .energy-recovery,.energy-empty-dialog .energy-recovery{margin:6px 0;font-size:12px}.energy-dialog .energy-watch,.energy-empty-dialog .energy-watch{gap:4px;min-height:36px;padding:6px;font-size:12px}.energy-watch>.icon{display:none}.energy-watch .energy-reward-amount{padding:2px 4px;font-size:14px}.energy-watch .energy-reward-amount .icon{width:14px;height:14px}.energy-video-note{margin:4px 0 0;font-size:10px;line-height:1.3}.energy-dialog .shop-notice,.energy-empty-dialog .shop-notice{min-height:0;margin:5px 0;font-size:10px;line-height:1.3}.energy-dialog .modal-secondary-actions,.energy-empty-dialog .modal-secondary-actions{margin-top:6px}.energy-dialog .modal-home,.energy-empty-dialog .modal-home{min-height:26px;margin-top:6px}.energy-dialog .energy-tip,.energy-empty-dialog .energy-tip{display:none}}@media (max-height:600px){.shop-item{grid-template-columns:48px minmax(0,1fr) 55px}.video-badge{width:55px;min-height:35px}.shop-dialog .shop-done{margin-top:9px}}@media (max-height:430px){.shop-item{grid-template-columns:35px minmax(0,1fr) 48px}.video-badge{gap:2px;width:48px;min-height:27px}.video-badge b{font-size:15px}.video-badge .icon{width:15px;height:15px}.shop-watch{gap:2px}.shop-watch>small{font-size:9px}.shop-dialog .shop-done{margin-top:7px}}@media (max-height:480px){.settings-dialog .modal-symbol,.reset-dialog .modal-symbol{display:none}.settings-dialog .audio-settings{gap:9px;margin-top:10px}.settings-dialog .modal-content{padding:10px}.settings-dialog .primary-button{margin:10px 0}.settings-dialog .reset-entry{width:75%;font-size:11px}.reset-dialog .modal-content{padding:12px}.reset-dialog h2{font-size:20px}.reset-copy{margin:10px 0;font-size:13px;line-height:1.4}}
