:root{--paper:#f6f5ed;--ink:#30483c;--muted:#788478;--green:#d8e99c;--line:#dce0d2;--coral:#e9a386;--blue:#78bdca;font-family:"Avenir Next","Trebuchet MS","PingFang SC","Microsoft YaHei",sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none}*{box-sizing:border-box}body{margin:0;background-image:radial-gradient(#526e4715 .65px,transparent .65px);background-size:7px 7px;min-height:100vh}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;color:inherit;cursor:pointer;touch-action:manipulation}button{border:0}button:disabled{cursor:default;opacity:.42}button:focus-visible,a:focus-visible{outline:3px solid #4b94a3;outline-offset:4px}button:not(:disabled):active{transform:translateY(2px)}svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.sprite{position:absolute;width:0;height:0;overflow:hidden}.site-header{height:112px;max-width:1264px;margin:auto;display:flex;align-items:center;justify-content:space-between;padding:0 48px}.brand{display:flex;align-items:center;gap:12px;text-decoration:none;color:var(--ink);font-size:23px;font-weight:800;letter-spacing:2px}.brand small{display:block;font-size:9px;letter-spacing:4px;margin-top:3px;font-weight:600}.brand-mark{position:relative;width:43px;height:51px;display:grid;place-items:center;transform:rotate(-10deg)}.brand-mark svg{width:42px;height:49px;fill:#8fcbd2;stroke-width:1.4}.brand-mark i{position:absolute;width:17px;height:9px;border-radius:100% 0 100% 0;background:#98b66d;right:-4px;top:12px;transform:rotate(-12deg);border:1.6px solid var(--ink)}nav{display:flex;align-items:center;gap:12px}.header-note{font-size:12px;letter-spacing:1px;color:var(--muted);margin-right:18px}.icon-button{width:42px;height:42px;display:inline-grid;place-items:center;border:1px solid #dce0d3;border-radius:50%;background:#fffdf36b;transition:background .2s}.icon-button:hover{background:#e8edda}.help-button{font-size:19px;font-family:Georgia,serif;font-weight:700}.map-button{display:flex;align-items:center;gap:9px;border:1px solid #b6c0aa;background:#fffdf3;padding:11px 18px;border-radius:30px;font-size:13px;font-weight:600;letter-spacing:.5px}.map-button svg{width:17px;height:17px}.layout{max-width:1100px;margin:22px auto 0;display:grid;grid-template-columns:310px minmax(0,580px);justify-content:space-between;gap:70px;padding:0 30px}.garden-notes{padding-top:37px}.season{font-size:11px;letter-spacing:1.6px;display:flex;align-items:center;gap:9px;color:#658069}.season>span{width:6px;height:6px;background:#89a26b;border-radius:50%}h1{position:relative;font-size:43px;line-height:1.55;letter-spacing:1px;font-weight:700;margin:20px 0 19px;white-space:nowrap}h1>span{position:relative;z-index:0}h1>span:after{content:"";position:absolute;bottom:3px;left:0;right:-6px;height:14px;background:#dce9b0;z-index:-1;transform:rotate(-3deg);border-radius:30%}.title-leaf{position:absolute;width:38px;height:38px;right:-7px;top:2px;transform:rotate(8deg);color:#86a56d;stroke-width:1.2}.intro{font-size:14px;line-height:2;color:#778273;letter-spacing:.5px;margin:0}.chapter-card{margin-top:37px;padding:23px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.chapter-heading{display:flex;align-items:center;justify-content:space-between;font-size:12px;letter-spacing:.3px;font-weight:600}.chapter-heading>span:last-child{font-size:10px;color:#96a08e;letter-spacing:2px}.chapter-progress{display:flex;align-items:center;justify-content:space-between;margin:18px 1px 15px;position:relative}.chapter-progress:before{content:"";height:1px;background:#d9dece;position:absolute;left:10px;right:10px;top:50%}.progress-dot{position:relative;z-index:1;width:28px;height:28px;border-radius:50%;display:grid;place-items:center;font-size:10px;background:var(--paper);border:1px solid #d5dccb;color:#9ba48f}.progress-dot.current{background:var(--ink);border-color:var(--ink);color:#fff;outline:3px solid var(--paper);box-shadow:0 0 0 4px #ccd5be}.progress-dot.complete{background:#dce9ad;color:#52734b;border-color:#bbc995}.chapter-card>p{font-size:11px;color:#8c9785;line-height:1.6;margin:0}.field-note{position:relative;background:#eeefdf;border:1px solid #e0e3ce;transform:rotate(-2deg);padding:25px 22px 18px;margin-top:37px;border-radius:3px 6px 12px 4px;box-shadow:3px 5px 0 #dde0ce50}.note-pin{position:absolute;top:-8px;left:43%;width:48px;height:17px;background:#e4cfa7a3;transform:rotate(6deg)}.note-title{display:flex;align-items:center;gap:7px;font-size:12px;font-weight:600}.note-title svg{width:17px;height:17px}.note-title>span{margin-left:auto;font-family:Georgia,serif;font-size:17px;font-style:italic;color:#9aa182}.field-note p{font-size:12px;line-height:1.95;color:#77826a;min-height:46px;margin:14px 0}.note-sketch{display:flex;align-items:center;justify-content:space-around;font-size:10px;padding-top:12px;border-top:1px dashed #d1d7bd;color:#8a9478}.note-sketch b{font-size:15px;font-weight:400;color:#acb394}.collection{display:flex;align-items:center;gap:9px;font-size:12px;margin:32px 0 0;flex-wrap:wrap;color:#7e8e75}.collection svg{width:18px;height:18px;color:#819d68}.collection strong{margin-left:auto;font-size:11px;font-weight:500;letter-spacing:1px}.collection-caption{flex-basis:100%;padding-left:27px;color:#a0a793;font-size:10px}.play-area{min-width:0;max-width:580px}.level-bar{display:flex;align-items:center;justify-content:space-between;margin:0 3px 16px;height:31px}.level-bar>div{display:flex;align-items:center;gap:11px}.level-number{font-size:11px;background:#e8ebdc;border-radius:6px;padding:5px 7px;letter-spacing:1px}.level-bar h2{font-size:15px;font-weight:600;margin:0;letter-spacing:1px}.phase-badge{display:flex;align-items:center;gap:6px;font-size:10px;color:#859478}.phase-badge i{width:5px;height:5px;background:#9daf83;border-radius:50%}.phase-badge.running i{background:#6ab1c2;animation:blink 1s infinite}@keyframes blink{50%{opacity:.2}}.board-wrap{position:relative;border:2px solid #43584a;border-radius:22px;overflow:hidden;background:#f2f4e5;box-shadow:5px 6px 0 #dfe3d3;aspect-ratio:6/7;isolation:isolate}.board-wrap canvas{display:block;width:100%;height:100%}.board-controls{position:absolute;inset:0;pointer-events:none}.ramp-control{pointer-events:auto;position:absolute;transform:translate(-50%,-50%)!important;height:8%;min-height:44px;background:transparent;border-radius:12px;touch-action:none}.ramp-control:focus-visible{outline:3px dashed #587b7a;outline-offset:0;background:#c3e4de20}.ramp-control:disabled{cursor:default}.board-hud{position:absolute;left:22px;right:22px;top:17px;display:flex;justify-content:space-between;pointer-events:none}.water-goal{background:#fffdf0d9;border:1px solid #d0d9c4;border-radius:20px;display:flex;align-items:center;gap:7px;padding:7px 11px;color:#6c9393;font-size:11px}.water-goal svg{width:15px;height:15px;fill:#91c9cf;stroke:#557f82}.water-goal strong{font-size:12px;font-weight:600;color:#3b696a}.water-goal>span>span{color:#97a69a;font-size:9px}.water-track{width:46px;height:4px;background:#dce9dd;border-radius:8px;overflow:hidden;margin-left:3px}.water-track>span{height:100%;display:block;background:#77b8c3;width:0;transition:width .15s}.seed-hud{display:flex;gap:7px;align-items:center;padding:0 3px}.seed-hud svg{width:20px;height:20px;fill:#e6e8cf;stroke:#a8b18b;stroke-width:1.2;transition:transform .4s,fill .4s}.seed-hud svg.lit{fill:#ebc76e;stroke:#96763b;transform:scale(1.12)}.board-index{position:absolute;bottom:12px;left:20px;font-size:7px;letter-spacing:2px;color:#8e9d7e;pointer-events:none}.board-toast{position:absolute;bottom:25px;left:50%;transform:translate(-50%,10px);border:1px solid #d0d6bf;background:#fffdf2ee;color:#526748;font-size:12px;line-height:1.6;text-align:center;padding:11px 18px;border-radius:12px;box-shadow:0 4px 16px #52674416;width:max-content;max-width:87%;opacity:0;transition:opacity .22s,transform .22s;pointer-events:none}.board-toast.visible{opacity:1;transform:translate(-50%,0)}.action-bar{display:flex;gap:10px;margin-top:20px}.secondary{display:flex;align-items:center;justify-content:center;gap:8px;border:1px solid #cbd2c1;border-radius:12px;background:#fafaf0;height:51px;font-size:12px;transition:background .2s}.secondary:hover{background:#edf0df}.reset-button{width:53px;flex-shrink:0}.reset-button svg{width:18px;height:18px}.hint-button{padding:0 19px}.hint-button svg{width:17px;height:17px}.rain-button{height:51px;display:flex;align-items:center;justify-content:center;gap:9px;font-size:14px;font-weight:600;letter-spacing:1px;background:var(--green);border:1.5px solid #48613f;border-radius:12px;box-shadow:0 3px 0 #8b9f64;flex:1;transition:background .2s}.rain-button:hover{background:#cce48c}.rain-button>svg{width:18px;height:18px}.rain-button>.arrow{width:18px;height:18px;margin-left:auto}.rain-button>.arrow:first-child{margin-left:0}#rain{padding:0 20px}#rain>svg:first-child{margin-right:auto}#rain.running{background:#d9e8e7;box-shadow:0 3px 0 #8fa6a0}.play-caption{display:flex;align-items:center;justify-content:space-between;gap:6px;margin-top:16px;font-size:10px;color:#909b87}.play-caption button{background:none;padding:4px 0 4px 9px;font-size:10px;white-space:nowrap;color:#718069}.play-caption button>span{margin-left:4px}.page-footer{max-width:1160px;margin:49px auto 0;padding:23px 30px 28px;border-top:1px solid #e2e5d8;display:flex;justify-content:space-between;font-size:10px;letter-spacing:1px;color:#9aa28f}.page-footer i{font-style:normal;color:#a5b88b;padding:0 12px}dialog{border:1.5px solid #53644f;border-radius:24px;background:#f8f7ed;color:var(--ink);padding:30px;width:min(540px,calc(100% - 32px));box-shadow:6px 7px 0 #5f74513a;max-height:calc(100dvh - 36px);overflow:auto}dialog::backdrop{background:#283f3266;backdrop-filter:blur(5px)}dialog[open]{animation:appear .2s ease-out}@keyframes appear{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}.modal-heading{display:flex;justify-content:space-between;align-items:center;gap:20px}.eyebrow{font-size:8px;letter-spacing:2px;color:#8c9b78;font-weight:600}.modal-heading h2{font-size:25px;margin:8px 0 0}.modal-heading .icon-button{flex-shrink:0}.modal-intro{font-size:12px;line-height:1.7;color:#89967b;margin:16px 0 23px}.map-chapters{display:flex;gap:6px;border-bottom:1px solid #dce1cf;margin-bottom:22px}.map-chapters button{flex:1;padding:12px 4px;background:transparent;font-size:12px;color:#8a977b;border-bottom:3px solid transparent}.map-chapters button.active{color:#425d40;border-bottom-color:#8ea967;font-weight:600}.map-levels{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.level-tile{position:relative;display:flex;align-items:center;flex-direction:column;gap:10px;border:1px solid #d3dac4;border-radius:15px;background:#f1f3e5;padding:18px 6px 12px;min-height:123px}.level-tile.current{background:#e5edcd;border-color:#93aa72;box-shadow:inset 0 0 0 1px #93aa72}.level-tile>strong{font-size:22px;font-family:Georgia,serif;font-weight:400;color:#648157}.level-tile>span{font-size:10px}.tile-stars{display:flex;gap:3px}.tile-stars svg{width:12px;height:12px;fill:#e4e6cf;stroke:#bac2a6}.tile-stars svg.lit{fill:#e6c465;stroke:#ae914d}.level-tile .locked{font-size:17px}.map-footer{font-size:11px;color:#8d9b7d;text-align:center;margin:23px 0 0}.help-steps{margin:25px 0;display:flex;flex-direction:column;gap:23px}.help-steps article{display:flex;gap:16px}.help-steps b{font-family:Georgia,serif;font-size:18px;font-style:italic;color:#96aa7e;padding-top:2px}.help-steps h3{margin:0 0 7px;font-size:14px}.help-steps p{margin:0;line-height:1.9;font-size:12px;color:#7b8a70}.help-extra{border-top:1px dashed #d6ddc9;padding-top:18px;font-size:11px;color:#89957d;line-height:1.9;margin-bottom:23px}.full-width{width:100%}#result-dialog{text-align:center;padding:33px 32px 30px}.result-close{position:absolute;right:15px;top:15px}.result-art{height:130px;display:flex;align-items:center;justify-content:center}.result-art>svg{width:130px;height:130px;stroke-width:2}.result-art .bloom{transform-origin:65px 70px;animation:sway 2s ease-in-out infinite alternate}@keyframes sway{to{transform:rotate(5deg)}}#result-dialog h2{font-size:29px;margin:12px 0}.result-stars{display:flex;justify-content:center;gap:10px;margin:16px 0}.result-stars svg{width:29px;height:29px;fill:#e5e7d4;stroke:#b3bea1}.result-stars svg.lit{fill:#edc665;stroke:#9a7b3d}.result-stars svg:nth-child(2){transform:translateY(-5px);width:34px;height:34px}#result-copy{font-size:13px;color:#819171;line-height:1.8;margin:15px 0}.result-stats{display:flex;justify-content:center;gap:43px;border-top:1px solid #e0e5d4;border-bottom:1px solid #e0e5d4;padding:18px 0;margin:22px 0 25px}.result-stats span{display:flex;flex-direction:column;gap:4px;font-size:10px;color:#95a087}.result-stats strong{font-size:27px;font-family:Georgia,serif;font-weight:400;color:#59764f}.result-actions{display:flex;gap:12px}.result-actions>.secondary{flex:1}.result-actions>.rain-button{flex:1.6;font-size:12px;padding:0 12px}.noscript{position:fixed;inset:30%;background:var(--paper);padding:30px;border:2px solid var(--ink)}
@media(min-width:1500px){.layout{margin-top:40px}.site-header{height:125px}}
@media(max-width:1000px){.layout{grid-template-columns:260px minmax(0,530px);gap:35px;max-width:940px}.site-header{padding:0 30px;height:96px}.garden-notes{padding-top:28px}h1{font-size:36px}.title-leaf{right:2px;width:30px}.chapter-card{margin-top:28px}.field-note{margin-top:30px;padding:23px 18px 17px}.header-note{display:none}.page-footer{margin-top:35px}.collection{margin-top:25px}}
@media(max-width:720px){.site-header{height:77px;padding:0 20px}.brand{font-size:18px;gap:8px;letter-spacing:1px}.brand small{font-size:7px;letter-spacing:3px}.brand-mark{width:33px;height:42px}.brand-mark svg{width:33px;height:40px}.brand-mark i{width:13px;height:8px;right:-1px}.icon-button{width:36px;height:36px}.icon-button svg{width:18px;height:18px}nav{gap:8px}.help-button{display:inline-grid;font-size:16px}.map-button{padding:9px 12px;font-size:11px;gap:6px}.map-button svg{width:15px;height:15px}.layout{display:block;margin:0 auto;max-width:520px;padding:0 18px}.garden-notes{display:none}.level-bar{margin:4px 2px 11px;height:27px}.level-bar h2{font-size:13px}.level-number{font-size:10px}.phase-badge{font-size:9px}.board-wrap{border-radius:18px;box-shadow:3px 4px 0 #dfe3d3}.board-hud{left:14px;right:14px;top:12px}.water-goal{padding:5px 8px;gap:5px}.water-goal svg{width:12px;height:12px}.water-track{width:29px}.seed-hud{gap:5px}.seed-hud svg{width:17px;height:17px}.action-bar{margin-top:16px;gap:8px}.secondary,.rain-button{height:48px;border-radius:11px}.reset-button{width:45px}.hint-button{padding:0 13px;font-size:11px;gap:5px}.hint-button svg{width:15px;height:15px}.rain-button{font-size:13px}#rain{padding:0 15px}.play-caption{font-size:9px;margin-top:13px}.play-caption button{font-size:9px}.page-footer{margin:25px 18px 0;padding:17px 0 calc(19px + env(safe-area-inset-bottom));font-size:8px;letter-spacing:.2px}.page-footer i{padding:0 5px}.board-toast{font-size:11px;padding:9px 13px;bottom:19px}.board-index{font-size:6px;bottom:9px;left:13px}dialog{padding:24px}.modal-heading h2{font-size:22px}.map-levels{gap:8px}.level-tile{min-height:110px;padding-top:16px}.map-chapters button{font-size:11px}.result-actions{gap:8px}#result-dialog{padding:26px 23px}.result-art{height:115px}.result-art>svg{width:115px;height:115px}}
@media(max-width:380px){.site-header{padding:0 14px;height:68px}.layout{padding:0 12px}.map-button span{display:none}.map-button{width:35px;height:35px;justify-content:center;padding:0}.play-caption{font-size:8px}.play-caption button{font-size:8px}.page-footer{font-size:7px}.level-bar{margin-top:0}.board-hud{left:10px;right:10px;top:10px}}
@media(max-height:1000px) and (min-width:721px){.site-header{height:82px}.layout{margin-top:5px;grid-template-columns:285px minmax(0,460px);max-width:950px;gap:75px}.garden-notes{padding-top:17px}h1{font-size:39px;margin-top:14px}.chapter-card{margin-top:23px;padding:17px 0}.field-note{margin-top:26px;padding-top:22px}.collection{margin-top:26px}.page-footer{margin-top:27px;padding-top:18px;padding-bottom:20px}.level-bar{margin-bottom:12px}.action-bar{margin-top:16px}.play-caption{margin-top:12px}}
@media(max-height:520px) and (orientation:landscape){.site-header{height:60px;max-width:660px}.layout{max-width:440px}.garden-notes{display:none}.play-area{width:100%}.board-wrap{aspect-ratio:6/7}.page-footer{max-width:650px;margin:20px auto}.layout{display:block}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}
