:root{color:#f7f2dc;background:#233e35;font-family:"PingFang SC","Microsoft YaHei",system-ui,sans-serif;--yellow:#f7d973;--green:#314f3d;--cream:#faf2d6}*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at 40% 0,#54794f88,transparent 65%),#233e35;min-width:320px}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;color:inherit;cursor:pointer;touch-action:manipulation}button:disabled{cursor:not-allowed}button:focus-visible,a:focus-visible{outline:3px solid var(--yellow);outline-offset:3px}a{color:inherit;text-decoration:none}[hidden]{display:none!important}.site-nav{max-width:1280px;margin:auto;display:flex;align-items:center;justify-content:space-between;padding:23px 24px;font-size:11px;color:#bdceae}.brand{display:flex;align-items:center;gap:10px;font-weight:700;color:#eee8cf}.brand>span{display:grid;place-items:center;width:31px;height:31px;border-radius:8px;font:22px serif;background:#e7d79e;color:#426043}.brand small{font-weight:400;border-left:1px solid #acc18b45;padding-left:14px;margin-left:5px;color:#acc39e}main{max-width:1240px;margin:auto;padding:0 20px}.game-shell{border:1px solid #c8d4a54d;border-radius:18px;overflow:hidden;box-shadow:0 24px 80px #10241f66;background:#2c493b}.game-heading{height:58px;padding:0 22px;display:flex;justify-content:space-between;align-items:center}.game-heading>div{display:flex;gap:14px;align-items:center}.series{border:1px solid #d3c78c7c;color:#efdb92;border-radius:4px;padding:5px 7px;font:11px Georgia;letter-spacing:1px}.game-heading b{font-size:16px;letter-spacing:3px}.game-subtitle{font-size:10px;color:#b3c5a3;border-left:1px solid #c0cfa534;padding-left:14px}.tools button{background:transparent;border:0;color:#d1dcbd;padding:8px 0;font-size:11px}.toolbar{display:flex;align-items:stretch;padding:10px 16px;gap:12px;border-top:1px solid #a3bb7c40;background:linear-gradient(90deg,#f0e7c2,#e1dbb2);color:#435d39;user-select:none}.sun-counter{width:94px;display:flex;align-items:center;justify-content:center;gap:8px;flex-shrink:0}.sun-counter>span{font-size:32px;color:#dca82c;text-shadow:0 1px #fff}.sun-counter b{font:bold 25px Georgia;display:block;color:#806c2d}.sun-counter small{font-size:8px;display:block;margin-top:4px;color:#92956c}.seed-bank{display:flex;gap:8px;flex:1;min-width:0;overflow-x:auto;scrollbar-width:thin;scrollbar-color:#a6ae78 transparent}.seed{position:relative;flex:1;min-width:74px;max-width:110px;border:1px solid #a5b780;border-radius:8px;background:linear-gradient(#fff9dc,#e9edc4);color:#4e633e;padding:3px 4px 6px;overflow:hidden;display:flex;align-items:center;flex-direction:column;box-shadow:0 2px 0 #96a369}.seed.selected{border:2px solid #b88c27;padding:2px 3px 5px;box-shadow:0 0 0 2px #f0cf70}.seed:disabled{filter:grayscale(.5);opacity:.55}.seed canvas{width:43px;height:43px;position:relative;z-index:1}.seed b{font-size:9px;position:relative;z-index:1}.seed small{font:bold 11px Georgia;margin-top:3px;z-index:1}.seed .key{position:absolute;top:4px;left:5px;font:8px system-ui;color:#a6ac8d}.seed .cooldown{position:absolute;inset:0;background:#4b625678;transform-origin:bottom;pointer-events:none}.seed .lock{position:absolute;inset:0;background:#e3ddc4d9;display:grid;place-items:center;font-size:10px;z-index:3;color:#8c9572}.shovel{width:60px;flex-shrink:0;background:#cbd5ad;border:1px solid #a8b789;border-radius:8px;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#536f44}.shovel b{font-size:27px}.shovel span{font-size:9px;margin-top:7px}.shovel[aria-pressed=true]{background:#f4ca68;border-color:#b58b32}.play-tools{display:flex;flex-direction:column;gap:6px;justify-content:center}.play-tools button{width:34px;height:31px;background:#a2b589;border:1px solid #8ba373;color:#f9f2d5;border-radius:6px;font-size:12px}.stage{position:relative;background:#9eb775;isolation:isolate;aspect-ratio:5/3}.stage>canvas{display:block;width:100%;height:100%;touch-action:none;object-fit:contain}.status-bar{position:absolute;left:16%;right:5%;top:7px;display:flex;justify-content:space-between;font-size:10px;color:#f5f1d1;pointer-events:none;text-shadow:0 1px 3px #294e2c}.status-bar span{border:1px solid #d8e1b02b;background:#24412e70;border-radius:20px;padding:5px 11px}.screen{position:absolute;inset:0;z-index:5}.home-screen{background:linear-gradient(90deg,#1f3f33f2,#254834d9 48%,#31553dbd);display:flex;align-items:center;overflow:hidden}.home-copy{padding:5%;position:relative;z-index:2;width:60%}.eyebrow{font-size:10px;letter-spacing:3px;color:#e3d296;margin:0 0 18px}.home-copy h1{font:bold clamp(43px,5vw,68px)/1.2 "Songti SC",serif;letter-spacing:3px;margin:0;color:#fff7d7}.home-copy h1 span{color:#f4d576;display:block}.english{font:9px Georgia;color:#c7d2a8;letter-spacing:1px;margin:19px 0 25px}.intro{font-size:12px;line-height:2;color:#d5e0bf}.home-art{width:58%;position:absolute;right:-7%;bottom:0;opacity:.85;transform:rotate(-4deg);border-radius:30px;box-shadow:0 10px 80px #102d2966}.level-select{display:flex;gap:8px;margin:24px 0 20px}.level-option{width:88px;border:1px solid #a9bd8b55;background:#4e704a99;border-radius:7px;padding:9px 6px;color:#e0e8c7;text-align:center}.level-option.selected{background:#e7d79e;color:#48603c;border-color:#f5e6ad}.level-option:disabled{opacity:.4}.level-option b{font-size:10px;display:block}.level-option span{font:10px Georgia;letter-spacing:2px;margin-top:6px;display:block;color:#efc65b}.level-option.selected span{color:#ad8a2d}.primary,.secondary{border-radius:7px;min-height:43px;padding:12px 24px;font:600 12px system-ui;border:0}.primary{background:linear-gradient(120deg,#ffdf80,#e1bb55);color:#526039;box-shadow:0 4px 0 #c09b39}.primary>span{margin-left:35px}.primary:hover{filter:brightness(1.07)}.secondary{background:#506d4b;color:#f1edcd;border:1px solid #c7d3a966}.save-note{font-size:9px;color:#a7bf94;margin:16px 0 0;letter-spacing:.5px}.shade{background:#183b2bbd;backdrop-filter:blur(6px);display:grid;place-items:center;padding:20px;overflow:auto}.panel{border:1px solid #ffefb8;border-radius:14px;padding:29px;width:min(800px,96%);background:linear-gradient(145deg,#fff4d7,#e5e8c4);color:#425d3e;max-height:100%;overflow:auto;box-shadow:0 15px 40px #12312066}.panel .eyebrow{color:#a09152;font-size:9px;margin-bottom:10px}.panel h2{font:bold 28px "Songti SC",serif;letter-spacing:2px;margin:0}.panel p{font-size:11px;line-height:1.9;color:#798463}.compact{max-width:390px;text-align:center}.compact button{width:100%;margin-top:12px}.text-button{background:none;border:0;font-size:10px;padding:11px;color:#728565}.guide-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;margin:23px 0}.guide-steps b{font:24px Georgia;color:#b2ad72}.guide-steps h3{font-size:13px;margin:9px 0}.guide-steps p{font-size:10px;margin:0}.guide>button{margin-top:12px}.stars{font-size:40px;letter-spacing:8px;color:#d3ab43;margin:22px 0;text-shadow:0 2px #fff}.result-stats{border-block:1px solid #b7c19c66;padding:13px;font-size:12px;margin-bottom:15px}.game-footer{display:flex;justify-content:space-between;gap:15px;padding:14px 20px;font-size:10px;min-height:44px;color:#c1d0a4}.game-footer>span:last-child{font-size:9px;color:#879f76;flex-shrink:0}.features{display:grid;grid-template-columns:repeat(3,1fr);gap:35px;padding:34px 12px 36px}.features article{display:flex;gap:15px}.features article>span{font-size:28px;color:#c7ce91}.features h2{font-size:12px;margin:2px 0 10px;color:#e7e8cc}.features p{font-size:10px;line-height:1.8;margin:0;color:#a1b895}footer{max-width:1200px;margin:auto;border-top:1px solid #9bb57e33;padding:20px 20px 25px;color:#829b79;font-size:9px;line-height:2}footer a{margin-left:14px;color:#bdc994}#toast{position:fixed;bottom:22px;left:50%;transform:translateX(-50%);background:#fff1bd;color:#536d3c;border:1px solid #ffdc78;border-radius:9px;padding:12px 22px;max-width:92%;font-size:12px;z-index:100;pointer-events:none;opacity:0;transition:opacity .2s;box-shadow:0 10px 24px #1c382c55}#toast.show{opacity:1}.game-shell:fullscreen,.game-shell.expanded{width:100vw;height:100dvh;display:flex;flex-direction:column;border:0;border-radius:0;background:#233e35}.game-shell:fullscreen .stage,.game-shell.expanded .stage{flex:1;min-height:0;aspect-ratio:auto}.game-shell:fullscreen canvas#game,.game-shell.expanded canvas#game{width:100%;height:100%;object-fit:contain}.expanded{position:fixed;inset:0;z-index:99}.game-shell:fullscreen .game-heading,.expanded .game-heading{flex-shrink:0}@media(max-width:800px){.game-heading{padding:0 15px}.game-subtitle{display:none}.toolbar{padding:8px;gap:7px}.sun-counter{width:64px;gap:4px}.sun-counter>span{font-size:25px}.sun-counter b{font-size:20px}.sun-counter small{font-size:7px}.seed-bank{gap:5px}.seed{min-width:61px}.seed canvas{width:34px;height:34px}.seed b{font-size:8px}.shovel{width:44px}.play-tools button{width:29px;height:28px}.home-copy{padding:4% 5%}.home-copy h1{font-size:45px}.home-copy .eyebrow{font-size:8px;margin-bottom:12px}.english{font-size:8px;margin:13px 0}.intro{font-size:10px}.level-select{margin:15px 0;gap:6px}.level-option{width:73px;padding:7px 4px}.level-option b{font-size:8px}.primary{min-height:37px;padding:10px 18px;font-size:10px}.save-note{font-size:8px;margin-top:12px}.guide-steps{gap:15px}.panel{padding:23px}.panel h2{font-size:23px}.features{gap:20px}.status-bar{font-size:8px;top:4px}.status-bar span{padding:4px 8px}.game-footer{font-size:8px;padding:11px 13px;min-height:36px}.game-footer>span:last-child{font-size:8px}}@media(max-width:540px){.site-nav{padding:15px;font-size:9px}.brand{gap:7px}.brand>span{width:26px;height:26px;font-size:20px}.brand small{font-size:8px;padding-left:10px;margin:0}main{padding:0 8px}.game-shell{border-radius:11px}.game-heading{height:45px;padding:0 11px}.game-heading b{font-size:13px;letter-spacing:1px}.game-heading>div{gap:9px}.series{font-size:9px;padding:4px 5px}.tools button{font-size:8px}.toolbar{gap:5px;flex-wrap:wrap;padding:7px 8px}.sun-counter{width:54px}.sun-counter>span{font-size:23px}.sun-counter b{font-size:18px}.sun-counter small{display:none}.seed-bank{order:4;width:100%;flex-basis:100%;padding-bottom:3px;gap:5px}.seed{min-width:47px;max-width:none;padding:2px 2px 5px}.seed.selected{padding:1px 1px 4px}.seed canvas{width:32px;height:32px}.seed b{font-size:7px}.seed small{font-size:10px;margin-top:2px}.seed .key{display:none}.seed .lock{font-size:8px}.shovel{margin-left:auto;width:63px;flex-direction:row;gap:5px;height:29px}.shovel b{font-size:21px}.shovel span{font-size:8px;margin:0}.play-tools{flex-direction:row;gap:5px}.play-tools button{height:29px}.stage{min-height:218px}.home-screen{min-height:340px;position:relative;margin-top:-100%;aspect-ratio:auto}.stage:has(.home-screen:not([hidden])){aspect-ratio:auto;min-height:340px}.stage:has(.home-screen:not([hidden]))>canvas{position:absolute;inset:0;height:100%}.home-screen:not([hidden]){margin:0;height:340px}.home-copy{width:75%;padding:25px}.home-copy h1{font-size:39px}.home-copy .eyebrow{font-size:7px;letter-spacing:2px;margin-bottom:10px}.english{font-size:6px;margin:10px 0 16px}.intro{font-size:9px;line-height:1.9}.home-art{width:80%;right:-34%;bottom:10px;opacity:.38}.level-select{margin:17px 0 14px}.level-option{width:70px}.save-note{font-size:7px}.status-bar{font-size:6px;left:15%;right:4%;top:2px}.status-bar span{padding:3px 6px}.game-footer{padding:10px;font-size:8px}.game-footer>span:last-child{display:none}.shade{padding:8px}.panel{padding:16px;max-height:100%;border-radius:10px}.panel h2{font-size:18px;letter-spacing:1px}.panel .eyebrow{font-size:7px;letter-spacing:2px;margin-bottom:7px}.panel p{font-size:9px;line-height:1.6;margin:10px 0}.compact button{min-height:30px;padding:8px 14px;font-size:9px;margin-top:7px}.guide-steps{grid-template-columns:1fr;gap:10px;margin:13px 0}.guide-steps>div{display:grid;grid-template-columns:25px 1fr;gap:0 8px}.guide-steps b{font-size:19px;grid-row:span 2}.guide-steps h3{font-size:11px;margin:0 0 5px}.guide-steps p{font-size:8px;margin:0}.stars{font-size:27px;margin:11px 0}.result-stats{font-size:9px;margin:8px 0;padding:8px}.features{grid-template-columns:1fr;gap:19px;padding:25px 12px}.features article>span{font-size:23px}.features h2{font-size:11px;margin-bottom:6px}.features p{font-size:9px}.features article{gap:13px}footer{font-size:8px;padding:15px}#toast{font-size:10px;padding:10px 15px;bottom:12px}.guide{max-height:95%;overflow:auto}}@media(max-height:520px) and (orientation:landscape){.site-nav,.features,footer{display:none}main{padding:0}.game-shell{border-radius:0;border:0}.game-heading{height:32px}.game-heading b{font-size:11px}.tools button{font-size:9px}.toolbar{padding:4px 12px;height:62px}.seed canvas{width:26px;height:26px}.seed b{font-size:7px}.seed small{font-size:9px}.seed{min-width:54px;max-width:90px;padding:2px}.seed-bank{gap:7px}.sun-counter b{font-size:22px}.play-tools{flex-direction:row}.play-tools button{height:30px;align-self:center}.shovel{width:40px}.shovel b{font-size:20px}.shovel span{font-size:7px;margin-top:1px}.stage{height:calc(100dvh - 123px);aspect-ratio:auto;min-height:0}.stage>canvas{object-fit:contain}.game-footer{height:29px;padding:7px 16px;min-height:0}.home-copy h1{font-size:38px}.home-copy{padding:16px 6%;width:60%}.home-copy .intro{font-size:9px;line-height:1.6}.home-copy .eyebrow{margin-bottom:8px}.english{margin:9px 0;font-size:7px}.level-select{margin:12px 0}.level-option{padding:5px}.home-art{width:48%;right:0}.panel{padding:15px}.panel h2{font-size:22px}.panel p{font-size:10px}.compact button{margin-top:7px;padding:8px 18px;min-height:31px}.guide-steps{margin:15px 0}.stars{font-size:30px;margin:12px 0}.result-stats{padding:9px;margin:9px 0}.stage:has(.home-screen:not([hidden])){height:calc(100dvh - 61px)}}
.seed.unaffordable{filter:saturate(.35);opacity:.62}.seed.selected.unaffordable{opacity:.85}
@media(min-width:541px) and (min-height:521px){.game-shell{max-width:min(100%,calc((100dvh - 300px)*1.6667));min-width:min(650px,100%);margin:auto}.stage{height:auto;min-height:0;aspect-ratio:5/3}.toolbar{padding:8px;gap:7px}.sun-counter{width:64px;gap:4px}.sun-counter>span{font-size:25px}.sun-counter b{font-size:20px}.seed{min-width:56px}.seed canvas{width:34px;height:34px}.seed b{font-size:8px}.seed-bank{gap:5px}.shovel{width:44px}.play-tools button{width:29px;height:28px}.stage>canvas{object-fit:contain}.home-copy h1{font-size:clamp(40px,4.5vw,60px)}.home-copy .eyebrow{margin-bottom:12px}.home-copy .english{margin:14px 0}.home-copy .level-select{margin:18px 0 14px}.home-art{width:48%;right:0;bottom:-12%}}

.stage{background:#314f45}.game-shell:fullscreen,.game-shell.expanded{max-width:none;min-width:0}
