/* Game HUD, scenic world and oversized collectible props. */
html{background:#1b3429}.app{max-width:540px;background:#e8efce}body.game-mode .app{padding:0;min-height:100dvh}body.game-mode header,body.game-mode nav{display:none}body.game-mode main{padding:0;animation:none}.game-world.scene{height:max(760px,100dvh);max-height:1100px;margin:0;overflow:hidden;background:#6eab40 url('./assets/pasture-hd.webp') 50% 50%/cover;isolation:isolate}.game-world.scene:before{display:block;content:"";position:absolute;inset:0;width:auto;height:auto;border-radius:0;transform:none;background:linear-gradient(#a1d8e02b 0%,transparent 22%,transparent 57%,#3f67257a 76%,#1d3d2bea 100%);z-index:0}.game-world.scene:after{display:block;content:"";position:absolute;inset:0;width:auto;height:auto;border-radius:0;transform:none;background:radial-gradient(ellipse at 50% 36%,#ffffe22b,transparent 65%);pointer-events:none;z-index:1}.world-fx{position:absolute;inset:0;width:100%;height:100%;z-index:3;pointer-events:none}.game-hud{position:absolute;top:max(20px,env(safe-area-inset-top));left:18px;right:18px;display:flex;gap:9px;align-items:center;z-index:8}.currency{position:relative;display:flex;align-items:center;gap:5px;flex:1;min-width:0;height:32px;padding:0 5px 0 29px;background:#325940db;border:2px solid #d3dca4;border-radius:9px;box-shadow:0 3px #2847377a,inset 0 2px #ffffff1a;color:#fff6cf;font-size:13px}.currency small{font-size:8px;opacity:.85}.currency i{font-style:normal;background:#c0d980;color:#456233;border-radius:4px;margin-left:auto;font-size:13px;line-height:17px;width:17px}.gold-token,.jade-token{position:absolute;left:-5px;top:-5px;display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:linear-gradient(135deg,#fff1a5,#f2b32a);border:3px solid #ffe7a0;box-shadow:0 3px #a6741d;font-size:23px;color:#c18415;text-shadow:0 1px white}.jade-token{background:linear-gradient(135deg,#a9f4bb,#2aab7e);border-color:#a8e8b6;box-shadow:0 3px #287959;color:#fff}.game-wallet{height:36px;border:2px solid #f7e7ab;border-radius:10px;padding:0 10px;background:linear-gradient(#809c4b,#496e38);color:#fff9d3;font-size:11px;font-weight:800;box-shadow:0 3px #35542c}.world-heading{position:absolute;z-index:2;top:11%;left:0;width:100%;text-align:center;pointer-events:none}.world-heading p{font-size:10px;letter-spacing:3px;color:#315f43;margin:0 0 7px;text-shadow:0 1px 5px #fff}.world-heading h1{font-size:50px;line-height:1.1;margin:0;font-weight:1000;letter-spacing:3px;color:#fff4c8;-webkit-text-stroke:1px #658345;text-shadow:0 4px 0 #58773b,0 7px 0 #395d2e,0 9px 12px #28442e40;transform:rotate(-3deg)}.world-heading>span{display:inline-block;margin-top:15px;font-size:10px;letter-spacing:4px;color:#365a33;background:#fff7ccae;border-radius:20px;padding:5px 13px}.prop{display:block;background-image:url('./assets/game-props.png');background-repeat:no-repeat;background-size:300% 200%;width:80px;height:80px;filter:drop-shadow(0 6px 3px #1f402a55);transition:transform .2s}.prop-chest{background-position:0 0}.prop-shop{background-position:50% 0}.prop-magic{background-position:100% 0}.prop-map{background-position:0 100%}.prop-gift{background-position:50% 100%}.prop-friends{background-position:100% 100%}.corner-guide,.floating-gift{position:absolute;z-index:5;background:none;display:flex;flex-direction:column;align-items:center;padding:0;color:#fffce6;text-shadow:0 2px #37562a,1px 0 #37562a,-1px 0 #37562a;font-size:12px;font-weight:800}.corner-guide{top:25%;left:12px;transform:rotate(-7deg)}.floating-gift{top:29%;right:12px;transform:rotate(7deg)}.corner-guide .prop,.floating-gift .prop{width:66px;height:66px}.floating-gift b{position:absolute;right:3px;top:1px;width:17px;height:17px;border-radius:50%;background:#e87048;border:2px solid #fff1c6;color:white;font-size:11px;animation:gift-pulse 2.5s infinite}.sheep-stage{position:absolute;top:35%;height:34%;left:0;width:100%;z-index:4}.game-world .hero-button{height:100%;width:65%;max-width:330px;bottom:0;z-index:4}.game-world .hero-button img{filter:drop-shadow(0 15px 8px #24432244)}.ground-shadow{position:absolute;left:25%;width:50%;height:13%;bottom:-1%;background:#42622e58;filter:blur(7px);border-radius:50%;animation:shadow-breathe 4.8s infinite}.game-world .speech{left:28%;top:-34px;font-size:10px;padding:8px 11px;background:#fffbe5;border-color:#d2dca6;transform:rotate(-5deg);z-index:7}.name-plaque{position:absolute;bottom:-27px;left:50%;transform:translateX(-50%);white-space:nowrap;background:#36522dbb;border:1px solid #bbd07a;border-radius:20px;padding:6px 16px;font-size:11px;color:#fff4c7;box-shadow:0 2px #243b29}.name-plaque span{color:#ead77a;font-size:10px;margin:0 5px}.feed-zone{position:absolute;top:74%;left:0;width:100%;display:flex;align-items:center;justify-content:center;z-index:5}.game-feed{position:relative;padding:10px 24px 10px 45px;border-radius:15px;border:2px solid #ffe8ad;background:linear-gradient(#f7d579,#db9c3f);box-shadow:0 5px #986526,0 7px 12px #203d2a55,inset 0 2px #fff9d7;color:#6b461d;font-weight:900;font-size:15px;transform:rotate(-2deg)}.game-feed>span{position:absolute;left:12px;top:7px;font-size:28px;color:#628d2b;text-shadow:0 1px #fff8d5}.game-feed small{display:block;font-size:8px;font-weight:500;letter-spacing:2px;margin-top:2px}.game-friends{position:absolute;right:15px;top:-20px;background:none;color:#fff1c9;font-size:9px;text-shadow:0 2px #27462b}.game-friends .prop{width:55px;height:55px}.game-dock{position:absolute;z-index:6;bottom:8%;left:25px;right:25px;display:flex;justify-content:space-around;align-items:flex-end}.game-dock:before{content:"";position:absolute;z-index:-1;bottom:-10px;left:-6px;right:-6px;height:40px;background:linear-gradient(#a38248,#70532d);border:2px solid #d3b476;border-radius:45% 45% 12px 12px;box-shadow:0 5px #483d25}.game-dock>a,.game-dock>button{display:flex;flex-direction:column;align-items:center;background:none;color:#fff5cd;font-size:15px;font-weight:900;text-shadow:0 2px #433823,1px 0 #433823,-1px 0 #433823}.game-dock .prop{width:87px;height:87px}.game-dock>a:nth-child(2){transform:translateY(-8px)}.game-dock>a:nth-child(2) .prop{width:97px;height:97px}.game-dock>a:hover .prop,.game-dock>button:hover .prop{transform:translateY(-7px) rotate(-3deg)}.game-toolbar{position:absolute;bottom:2.6%;left:22px;right:22px;display:flex;justify-content:space-around;z-index:6}.game-toolbar button{background:none;color:#e5efbe;font-size:10px;padding:8px}.game-preview{position:absolute;bottom:5px;left:0;width:100%;text-align:center;font-size:8px;color:#ccdcac80;z-index:6}.game-world .particle{top:49%}body.game-mode #toast{bottom:21%;background:#28462de8;border:1px solid #c2d58c;color:#fff4c5}body.game-mode .ambience{display:none}.app:not(:has(.game-world)) header{background:linear-gradient(#deedbe,#b7d48a)}body:not(.game-mode) .app{background:linear-gradient(#e9f0d6,#cedfae)}@keyframes gift-pulse{0%,75%,100%{scale:1}85%{scale:1.2}92%{scale:1}}@keyframes shadow-breathe{0%,100%{scale:1;opacity:.6}50%{scale:.94;opacity:.45}}@media(max-height:740px){.game-world.scene{height:740px}.world-heading h1{font-size:44px}.game-dock .prop{height:74px;width:74px}.game-dock>a:nth-child(2) .prop{height:84px;width:84px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}
/* Leave clear hit areas between the companion, feeding action and prop dock. */
.sheep-stage{top:34%;height:31%}.feed-zone{top:72%}.game-feed{padding:7px 21px 7px 43px;font-size:14px}.game-dock .prop{width:74px;height:74px}.game-dock>a:nth-child(2) .prop{width:84px;height:84px}.game-friends{top:-18px}.game-world .speech{top:-24px}.game-wallet:hover{filter:brightness(1.1)}body:not(.game-mode) .app{background:linear-gradient(#edfad3cf,#dcdfb6f5),url('./assets/pasture-hd.webp') center/cover fixed}body:not(.game-mode) .page-heading h1{color:#476736;text-shadow:0 2px #fff6c7}body:not(.game-mode) .empty{background:linear-gradient(#fffae6,#e6dcb3);border:3px solid #b2985d;box-shadow:0 5px #776339,inset 0 0 0 3px #fff7d4}.merge-slots{position:relative;min-height:130px}.merge-slots:after{content:"";position:absolute;width:120px;height:120px;left:50%;top:50%;translate:-50% -50%;border:2px solid #ae88d4;border-radius:50%;box-shadow:0 0 25px #bb8bef70,inset 0 0 25px #bb8bef40;pointer-events:none;opacity:.5}.merge-slots span{background:#f9f1deae;z-index:1}.merge-slots.casting:after{animation:magic-circle 1.6s ease-out}.merge-slots.casting span{animation:merge-hover 1.6s ease}.magic-preview{display:block;margin:18px auto 0;border:2px solid #e8d5ff;background:linear-gradient(#aa8bcf,#745593);color:#fff2d8;padding:12px 25px;border-radius:12px;box-shadow:0 4px #503866;font-weight:700}.magic-status{min-height:22px}@keyframes magic-circle{0%{scale:.5;opacity:.2;rotate:0deg}60%{scale:1.7;opacity:1;rotate:180deg;box-shadow:0 0 60px #d2a5ff,inset 0 0 40px #e3d1ff}100%{scale:1;opacity:.5;rotate:360deg}}@keyframes merge-hover{0%,100%{translate:0 0}50%{translate:0 -15px;filter:drop-shadow(0 0 14px #c892ff)}}@media(max-height:740px){.game-dock .prop{width:67px;height:67px}.game-dock>a:nth-child(2) .prop{width:77px;height:77px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}
@media(max-width:360px){.feed-zone{top:70%}.game-feed{font-size:12px;padding:7px 15px 7px 36px}.game-feed>span{left:8px}.game-dock{left:16px;right:16px}.game-friends{right:5px}.game-hud{left:12px;right:12px;gap:6px}.game-wallet{padding:0 7px;font-size:10px}.currency{padding-left:26px;gap:3px}.currency small{font-size:7px}.world-heading h1{font-size:44px}}
