:root{font-family:Microsoft YaHei,PingFang SC,system-ui,sans-serif;color:#735744;background:#f4d4c9;font-synthesis:none;font-weight:500;--green:#52836c;--muted:#997b66;--pink:#e58f91;--cream:#fff9e9}*{box-sizing:border-box}body,p,h1,h2{margin:0}svg{flex-shrink:0}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer;border:0;display:inline-flex;align-items:center;justify-content:center;gap:8px}button:disabled{cursor:default;opacity:.55}button:focus-visible,a:focus-visible{outline:3px solid #6d9b84;outline-offset:4px}button:not(:disabled){transition:transform .15s,background .15s,box-shadow .15s}button:not(:disabled):active{transform:translateY(3px) scale(.97)}small{font-size:12px}a{color:#648873}html,body,#root{width:100%;min-width:280px;height:100%;overflow:hidden}.app{position:relative;display:flex;align-items:center;justify-content:center;height:100dvh;padding:22px;gap:85px;background-color:#f2cec4;background-image:linear-gradient(90deg,#fff8e84d 50%,transparent 50%),linear-gradient(#fff8e84d 50%,transparent 50%);background-size:72px 72px}.app:before,.app:after{content:"✿";position:absolute;left:7%;top:10%;font-size:150px;color:#fff7e0;opacity:.65;transform:rotate(-12deg);pointer-events:none}.app:after{content:"✧";left:auto;top:auto;right:6%;bottom:7%;font-size:210px;color:#faf4cd;transform:rotate(10deg)}.desktop-note{position:relative;z-index:1;max-width:290px;font-size:30px;line-height:1.7;letter-spacing:2px;color:#a77762}.goose-portrait{display:block;width:170px;height:170px;margin-bottom:20px;transform:rotate(-7deg);filter:drop-shadow(0 8px 0 #ce9a7730)}.desktop-note strong{font-size:36px;color:#805840}.desktop-note p{font-size:16px;letter-spacing:1px;margin-top:24px}.desktop-note small{font-size:13px;letter-spacing:1px;color:#956f5a}.game-shell{width:460px;height:min(900px,calc(100dvh - 44px));min-height:590px;position:relative;z-index:1;isolation:isolate;display:flex;flex-direction:column;overflow:hidden;border:7px solid #fff9e9;border-radius:38px;background-color:#fff9e9;background-image:linear-gradient(90deg,#edbec02b 50%,transparent 50%),linear-gradient(#edbec02b 50%,transparent 50%);background-size:32px 32px;box-shadow:0 9px #d5a899,0 25px 65px #9d645b35}.header{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:13px 18px 12px;flex-shrink:0}.brand{display:flex;align-items:center;gap:9px}.brand-mark{width:51px;height:51px;background:#fbe8bd;border:2px solid #edcfa1;border-radius:19px 18px 22px 17px;box-shadow:0 3px #edcfab;transform:rotate(-7deg);flex-shrink:0}.brand-mark svg{width:50px;height:50px;margin:-3px 0 0 -1px}.brand h1{font-size:27px;line-height:1.15;letter-spacing:2px;font-weight:900;color:#6f5744;text-shadow:0 2px 0 #fff}.brand-edition{display:flex;align-items:center;gap:4px;width:max-content;font-size:11px;letter-spacing:1px;color:#ae7565;margin-top:5px;background:#ffe6d7;border-radius:7px;padding:2px 6px}.brand-edition svg{color:#df9490}.header-actions{display:flex;gap:7px}.icon-button{width:35px;height:36px;padding:0;flex-shrink:0;border:1.5px solid #e7d5b8;border-radius:13px;background:#fffdf4;color:#96806a;box-shadow:0 3px #e8d7bb}.icon-button:hover{background:#ffefdb}.header-actions .icon-button:last-child{background:#e7efda;color:#6d8b69;border-color:#cbd9b7;box-shadow:0 3px #d0dcbf}.level-strip{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 17px 9px;padding:10px 13px;border:1.5px solid #ecd6b6;border-radius:19px;background:#fffdf5;box-shadow:0 3px #eedfc5;flex-shrink:0;position:relative}.level-strip:before{content:"";position:absolute;top:-4px;left:30px;width:36px;height:8px;border-radius:2px;background:#ecd1a58c;transform:rotate(-5deg)}.eyebrow{font-size:12px;letter-spacing:1px;font-weight:650;color:#a37d65}.level-strip h2{display:flex;align-items:center;gap:7px;margin-top:4px;font-size:21px;font-weight:900;letter-spacing:.5px;color:#735740}.level-strip h2 svg{color:#e6b65b;width:17px;height:17px}.level-badge{display:flex;align-items:center;justify-content:center;gap:3px;padding:9px 10px;border-radius:14px;background:#fbe7df;color:#ad7866;font-size:12px;white-space:nowrap}.level-badge>svg{color:#da9290}.level-badge span{font-size:20px;color:#d17e7b;font-weight:900}.progress-track{height:9px;margin:0 22px 2px;border:2px solid #e9d8b9;border-radius:20px;background:#fffdf8;overflow:hidden;flex-shrink:0}.progress-track>div{height:100%;border-radius:20px;background:repeating-linear-gradient(110deg,#83b292 0,#83b292 8px,#a5cba7 8px,#a5cba7 16px);transition:width .3s}.playfield{position:relative;min-height:180px;flex:1;overflow:hidden;touch-action:none;background:radial-gradient(ellipse at 50% 52%,#fce8cfa6,transparent 70%)}.playfield canvas{display:block;touch-action:none;outline:0;position:relative;z-index:1}.scene-label{position:absolute;z-index:2;top:10px;left:20px;display:flex;align-items:center;gap:6px;font-size:13px;color:#9b775d;pointer-events:none;background:#fffdf0dc;padding:4px 9px 4px 6px;border:1px solid #f0ddc0;border-radius:20px}.tiny-flower{font-size:19px;line-height:1;color:#dc9892}.kitchen-doodles{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none}.kitchen-doodles svg{position:absolute}.doodle-bow{width:57px;height:43px;top:24px;right:23px;transform:rotate(15deg);opacity:.8}.doodle-flower{width:42px;height:42px;bottom:26px;left:31px;transform:rotate(-10deg);opacity:.75}.doodle-sparkle{width:38px;height:38px;bottom:39px;right:30px;opacity:.85}.food-icon{width:56px;height:56px;object-fit:contain;-webkit-user-select:none;user-select:none}.bag-panel{position:relative;flex-shrink:0;padding:11px 12px 12px;margin:0 16px;border:2px solid #eab7a4;border-radius:22px;background:#fffdf3;box-shadow:0 5px #ecd2b6,inset 0 3px #fff;transition:background .2s}.bag-panel:before,.bag-panel:after{content:"";position:absolute;top:21px;left:-5px;width:5px;height:20px;border-radius:4px;background:#eab7a4}.bag-panel:after{left:auto;right:-5px}.slots{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px}.slot{aspect-ratio:1;min-width:0;position:relative;display:flex;align-items:center;justify-content:center;border-radius:12px;border:1.5px dashed #e4c8a4;background:#fcf1d9;box-shadow:inset 0 2px 2px #dcb68915}.slot:nth-child(2n){background:#f5f0dc}.slot .food-icon{width:100%;height:100%;object-fit:contain;animation:pop-in .22s ease-out}.slot.occupied{background:#ffe6cc;border:1.5px solid #efc392}.slot-dot{width:7px;height:6px;background:#e7c99f;clip-path:polygon(50% 100%,0 43%,0 15%,25% 0,50% 18%,75% 0,100% 15%,100% 43%)}.bag-warning{background:#ffe3d9;border-color:#dc9281}.bag-warning .slot{border-color:#dba38b}.reserve{display:flex;align-items:center;gap:5px;margin-top:10px;padding-top:8px;border-top:1px dashed #e0c9a9}.reserve>span{font-size:13px;margin-right:auto}.reserve small{display:block;font-size:12px;color:#a18a6d;margin-top:2px}.reserve button{width:42px;height:38px;border-radius:11px;border:1px solid #d3dcb7;background:#edf1d8}.reserve .food-icon{width:44px;height:44px}.tools{display:flex;justify-content:space-around;gap:12px;padding:16px 25px max(18px,env(safe-area-inset-bottom));flex-shrink:0}.tools button{flex:1;min-width:0;display:flex;flex-direction:column;gap:8px;background:none;color:#8c6a52}.tools b{font-size:14px;font-weight:750}.tool-icon{position:relative;display:flex;align-items:center;justify-content:center;width:59px;height:51px;border-radius:19px;border:2px solid #fff7eb;box-shadow:0 4px 0 var(--tool-shadow),0 5px 0 2px #e5d3b5;transform:rotate(-4deg)}.tools button:nth-child(2) .tool-icon{transform:rotate(3deg)}.tools button:nth-child(3) .tool-icon{transform:rotate(-3deg)}.tool-icon svg{width:25px;height:25px;stroke-width:2.4;filter:drop-shadow(0 1px 0 #fff8)}.tool-icon i{position:absolute;top:-7px;right:-6px;display:flex;align-items:center;justify-content:center;min-width:22px;height:22px;border:1.5px solid #e7c7a0;border-radius:50%;background:#fffdf4;color:#896647;box-shadow:0 2px #e7c7a04d;font-size:12px;font-weight:800;font-style:normal}.lilac{background:#e5d9f1;color:#9271b1;--tool-shadow:#c6aed7}.yellow{background:#f9e3a5;color:#b8893f;--tool-shadow:#dfc17a}.peach{background:#f6c9b9;color:#bd7e64;--tool-shadow:#dda38f}.mint{background:#deebd0;color:#73946b;--tool-shadow:#b7cda3}.tools button:disabled{opacity:.64}.tools button:disabled .tool-icon{filter:saturate(.65)}.primary{width:100%;min-height:49px;padding:12px 20px;border:2px solid #ffe4ce;border-radius:19px;background:#df9290;box-shadow:0 5px #bc7475,0 6px 0 1px #e7cbb4;color:#fffdf3;font-size:17px;font-weight:850;letter-spacing:1px;text-shadow:0 1px 0 #bd7472}.primary:hover{background:#e99d99}.secondary{width:100%;min-height:46px;border:1.5px solid #cbd9b5;border-radius:16px;background:#eaf0d9;color:#6f8b66;font-size:14px;font-weight:650;box-shadow:0 3px #d3dfbd}.text-button{min-height:36px;background:none;color:#a2856b;font-size:13px}.welcome-note{position:absolute;bottom:9px;left:0;right:0;z-index:2;text-align:center;pointer-events:none}.welcome-note span{display:inline-block;padding:8px 13px;border:1.5px solid #e9c9a5;border-radius:16px;background:#fff6db;color:#af8350;font-size:13px;letter-spacing:1px;transform:rotate(-2deg);box-shadow:0 3px #e7d1b24d}.welcome-note p{font-size:12px;color:#9e856b;margin-top:10px}.start-panel{padding:8px 22px max(18px,env(safe-area-inset-bottom));flex-shrink:0}.level-choices{display:flex;gap:12px;margin-bottom:15px}.level-choices button{position:relative;flex:1;min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:5px;padding:12px 14px;border:1.5px solid #e7d3b3;border-radius:18px;background:#fff5df;color:#9b8268;box-shadow:0 3px #e7d4b6}.level-choices button.selected{background:#e9efd5;border-color:#b5c99f;color:#67825e;box-shadow:0 3px #bacc9e}.level-choices button.selected:after{content:"♥";position:absolute;right:12px;top:11px;color:#dd9691;font-size:13px}.level-choices span{display:flex;align-items:center;gap:4px;font-size:12px;font-weight:600}.level-choices b{font-size:16px;font-weight:800}.level-choices small{font-size:12px;color:#9a856d}.level-choices button:disabled{opacity:.63}.start-button{height:52px}.start-caption{text-align:center;font-size:12px;color:#a18a71;margin:14px 0 1px}.loading,.scene-error{position:absolute;top:0;right:0;bottom:0;left:0;z-index:3;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;background:#fff9e9f0;font-size:14px;color:#ad8570}.loading svg{width:36px;height:36px;color:#d69585}.scene-error{padding:30px;text-align:center}.scene-error p{font-size:14px;line-height:1.8}.scene-error button{max-width:180px}.toast{position:absolute;bottom:25px;left:50%;z-index:7;transform:translate(-50%);width:max-content;max-width:92%;padding:10px 14px;border:1.5px solid #f8e5cf;border-radius:16px;box-shadow:0 3px #5d44302b;background:#85664fef;color:#fffbee;font-size:14px;text-align:center;pointer-events:none;animation:pop-in .15s ease-out}.match-pop{position:absolute;left:0;right:0;top:32%;z-index:3;text-align:center;color:#dc8f80;text-shadow:0 2px #fff8e5,2px 0 #fff8e5,-2px 0 #fff8e5;font-size:27px;font-weight:900;pointer-events:none;animation:match .65s ease-out forwards}.flying-food{position:fixed;left:0;top:0;z-index:100;width:60px;height:60px;pointer-events:none}.modal-backdrop{position:absolute;top:0;right:0;bottom:0;left:0;z-index:20;display:flex;align-items:center;justify-content:center;padding:20px;background:#896b5b59;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.modal{position:relative;display:flex;flex-direction:column;align-items:center;gap:14px;width:100%;max-width:350px;max-height:96%;overflow:auto;padding:26px 23px 20px;border:3px solid #fffdf5;border-radius:30px;background:#fff7e5;box-shadow:0 6px #dfb897,0 20px 70px #694e422e;text-align:center;animation:pop-in .25s ease-out}.modal:before{content:"";position:absolute;left:24px;right:24px;top:8px;height:3px;background:radial-gradient(circle,#e8c6a2 1px,transparent 1.8px) 0 0/8px 3px}.modal h2{font-size:25px;font-weight:900;color:#805c43}.modal>p:not(.eyebrow){font-size:14px;line-height:1.9;color:#9b7c63}.modal .eyebrow{font-size:12px;margin-top:2px}.modal-symbol{display:flex;align-items:center;justify-content:center;width:66px;height:66px;border:2px solid #fffdf3;border-radius:23px;box-shadow:0 4px 0 var(--tool-shadow);transform:rotate(-7deg)}.modal-symbol svg{width:30px;height:30px}.modal .close{position:absolute;right:10px;top:10px;background:#fffdf4;box-shadow:none}.rules{display:flex;flex-direction:column;gap:13px;margin:8px 0 4px;text-align:left;font-size:14px;line-height:1.8;color:#95765e}.rules p{display:flex;gap:12px}.rules b{color:#cb9c79;font-size:12px}.rules span{flex:1}.credits{font-size:11px;text-decoration:none;color:#a28c72;line-height:1.2;margin-top:-3px}.win-chicken{display:flex;align-items:center;justify-content:center;width:106px;height:96px;border-radius:50%;border:2px dashed #e9ba8d;background:#ffedc4}.win-chicken .food-icon{width:125px;height:125px}.win-stars{display:flex;gap:20px;color:#dfab4f;margin:1px}.confetti{font-size:26px;letter-spacing:12px;color:#db9791}@keyframes pop-in{0%{opacity:0;scale:.9}to{opacity:1;scale:1}}@keyframes match{0%{opacity:0;transform:translateY(10px) scale(.8)}30%{opacity:1;transform:translateY(0) scale(1.05)}85%{opacity:1}to{opacity:0;transform:translateY(-28px)}}@keyframes wiggle{0%,to{transform:rotate(-8deg)}50%{transform:rotate(8deg)}}.wiggle{animation:wiggle .8s ease-in-out infinite}@media(min-width:1400px){.app{gap:100px}.desktop-note{margin-left:-220px}}@media(max-width:850px){.desktop-note{display:none}.app{gap:0}}@media(max-width:520px){.app{padding:0;background:#fff9e9}.app:before,.app:after{display:none}.game-shell{width:100%;height:100dvh;min-height:0;border:0;border-radius:0;box-shadow:none;padding-top:env(safe-area-inset-top)}.header{padding-top:13px}}@media(max-height:730px){.header{padding-top:9px;padding-bottom:10px}.brand-mark{width:44px;height:44px;border-radius:16px}.brand-mark svg{width:44px;height:44px}.brand h1{font-size:24px}.brand-edition{font-size:10px;margin-top:3px}.level-strip{padding-top:8px;padding-bottom:8px;margin-bottom:7px}.level-strip h2{font-size:19px}.level-badge{padding:8px}.tools{padding-top:12px;padding-bottom:max(12px,env(safe-area-inset-bottom))}.tool-icon{width:53px;height:45px;border-radius:17px}.bag-panel{padding-top:9px;padding-bottom:10px}.start-panel{padding-top:5px}.level-choices{margin-bottom:12px}.level-choices button{padding:10px 13px;gap:3px}.welcome-note p{margin-top:8px}.start-caption{margin-top:11px}.game-shell{min-height:0}.doodle-bow{width:46px;top:14px;right:20px}.doodle-flower{width:32px;height:32px;bottom:12px}.doodle-sparkle{width:28px;height:28px;bottom:17px}}@media(max-width:360px){.header{padding-left:13px;padding-right:13px}.header-actions{gap:5px}.icon-button{width:33px;height:34px}.level-strip{margin-left:14px;margin-right:14px;padding-left:11px;padding-right:11px}.level-strip h2{font-size:19px}.level-badge{font-size:11px}.slots{gap:3px}.bag-panel{margin-left:14px;margin-right:14px;padding-left:10px;padding-right:10px}}@media(max-height:650px){.header{padding-top:8px;padding-bottom:8px}.brand-mark{width:40px;height:40px}.brand-mark svg{width:40px;height:40px}.brand h1{font-size:23px}.brand-edition{font-size:10px}.level-strip{padding-top:7px;padding-bottom:7px;margin-bottom:6px}.level-strip .eyebrow{font-size:11px}.level-strip h2{font-size:18px}.level-badge{padding:7px;font-size:11px}.level-badge span{font-size:18px}.playfield{min-height:135px}.scene-label{top:7px;font-size:12px;padding:3px 7px}.tools{padding-top:11px;padding-bottom:max(10px,env(safe-area-inset-bottom))}.tools button{gap:7px}.tools b{font-size:12px}.tool-icon{width:49px;height:42px}.tool-icon svg{width:23px;height:23px}.start-panel{padding-left:18px;padding-right:18px;padding-bottom:max(12px,env(safe-area-inset-bottom))}.start-caption{font-size:11px}.welcome-note span{font-size:12px;padding:6px 9px}.welcome-note p{display:none}.level-choices small{font-size:11px}.level-choices button{padding:8px 11px}.doodle-bow{width:38px;height:30px;top:9px}.doodle-flower,.doodle-sparkle{display:none}.modal{padding:21px 19px 17px;gap:11px}.rules{font-size:13px;gap:9px}.modal-symbol{width:54px;height:54px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;transition-duration:.01ms!important}}
