@font-face{font-family:Pixel;src:local('Silkscreen'),local('Pixelify Sans')}*{box-sizing:border-box}html,body{height:100%;margin:0;overflow:hidden}body{font-family:'Trebuchet MS',Arial,sans-serif;color:#344738;background:#344b38;overscroll-behavior:none;-webkit-tap-highlight-color:transparent}button,a{-webkit-touch-callout:none}button{font:inherit;color:inherit;cursor:pointer}button:focus-visible,a:focus-visible,canvas:focus-visible{outline:3px solid #e6ad3b;outline-offset:3px}button{touch-action:manipulation}button:disabled{opacity:.5;cursor:default}svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}canvas{image-rendering:pixelated}.topbar{height:76px;background:#fcfaee;display:flex;align-items:center;justify-content:space-between;padding:0 32px;border-bottom:3px solid #d5d9bb;position:relative;z-index:5}.brand{display:flex;gap:14px;align-items:center;color:#384c36;text-decoration:none}.brand>canvas{width:44px;height:44px}.brand strong{font-family:Pixel,'Courier New',monospace;font-size:23px;letter-spacing:-1px;font-weight:900;display:block}.brand-dot{color:#d39d37;font-size:19px;margin-left:10px}.brand small{display:block;font-size:9px;font-weight:700;letter-spacing:2.4px;margin-top:5px;color:#899077}.topbar-note{font-size:13px;font-style:italic;color:#8a927c;margin-left:-70px}.header-actions{display:flex;gap:13px;align-items:center}.icon-button{width:37px;height:37px;display:grid;place-items:center;background:transparent;border:1px solid #dce0cf;border-radius:50%}.icon-button:hover{background:#e8edd9}.icon-button svg{width:19px;height:19px}.saved{font-size:12px;color:#85917a;margin-right:10px;display:flex;gap:6px;align-items:center}.saved>span{width:5px;height:5px;background:#8ea777;border-radius:50%}#game{height:calc(100dvh - 76px);position:relative;overflow:hidden;background:#9fc775;isolation:isolate}#world{width:100%;height:100%;display:block;touch-action:none;outline:none!important}.vignette{position:absolute;inset:0;pointer-events:none;box-shadow:inset 0 0 130px 12px #29482a1d;z-index:1}.panel{background:#fcfaeefa;border:1px solid #faf9e5;box-shadow:0 3px 0 #465c3435,0 5px 16px #2e4a2412;border-radius:8px}.status-row{position:absolute;top:24px;left:28px;right:28px;display:flex;align-items:center;justify-content:space-between;pointer-events:none;z-index:2}.status-row>*{pointer-events:auto}.day-card{display:flex;gap:12px;align-items:center;padding:11px 16px;min-width:195px}.sun-icon{width:29px;height:29px;color:#d7a13a;stroke-width:1.5}.day-card strong{font-size:14px;display:block}.day-card span{font-size:11px;display:block;color:#8a9179;margin-top:4px}.location-label{font-size:10px;letter-spacing:2px;color:#f9fff0;text-shadow:0 1px 3px #38592766;font-weight:bold}.tiny-spark{color:#f4e3a8;font-size:15px;vertical-align:-1px;padding:0 10px}.money-card{display:flex;gap:9px;align-items:center;padding:13px 15px;border-color:#fff1b7;background:#fff9de;min-width:160px}.money-card canvas{width:23px;height:23px}.money-card strong{font-family:'Courier New',monospace;font-size:21px;font-weight:900}.money-card>span{font-size:11px;color:#96916b}.money-card>svg{width:16px;height:16px;margin-left:14px;color:#9a985d}.quest-card{position:absolute;z-index:2;top:108px;left:28px;width:232px;text-align:left;padding:19px 18px 0;border:none}.eyebrow{display:flex;gap:7px;align-items:center;font-size:9px;font-weight:bold;letter-spacing:1.8px;color:#99946e}.eyebrow svg{width:14px;height:14px;color:#afa36b}.quest-card>strong{display:block;font-size:19px;letter-spacing:-.4px;margin-top:12px}.quest-description{display:block;font-size:11px;line-height:1.5;color:#8b927c;margin:7px 0 20px}.quest-line{display:flex;align-items:center;gap:8px;font-size:11px;margin:15px 0}.quest-line b{margin-left:auto;font-size:10px;color:#919b80}.quest-check{width:12px;height:12px;border:1px solid #c9cdb5;border-radius:3px}.quest-check.done{background:#7d9d5a;border-color:#7d9d5a}.quest-check.done:after{content:'✓';color:white;font-size:9px;display:block;text-align:center}.quest-reward{display:flex;align-items:center;gap:6px;font-size:10px;margin:20px -18px 0;padding:13px 15px;background:#f1edd8;border-top:1px solid #e7e5cd;border-radius:0 0 8px 8px;color:#99906c}.quest-reward>span{margin-left:auto;color:#8f986e}.area-label{position:absolute;top:89px;left:50%;transform:translateX(-50%);font-family:'Courier New',monospace;font-size:11px;letter-spacing:1px;color:#f8ffe9;text-shadow:1px 1px #597b46;pointer-events:none;z-index:2;white-space:nowrap}#toast-region{position:absolute;top:105px;left:50%;transform:translateX(-50%);z-index:12;max-width:calc(100% - 32px);width:max-content}.toast{background:#fcfaee;color:#42513a;border-radius:8px;box-shadow:0 4px 0 #3c583645;padding:14px 20px;font-size:13px;animation:toast-in .25s ease-out;border-left:4px solid #e3b448;max-width:350px}.toast.out{opacity:0;transform:translateY(-8px);transition:.25s}.context-hint{position:absolute;bottom:140px;left:50%;transform:translateX(-50%);z-index:2;display:flex;align-items:center;gap:9px;background:#344d38d9;border:1px solid #ffffff20;border-radius:24px;padding:7px 15px 7px 8px;color:#fcf9e3;font-size:11px;white-space:nowrap;pointer-events:none;backdrop-filter:blur(4px)}.keycap{display:inline-grid;place-items:center;width:22px;height:22px;border-radius:4px;font-size:10px;font-weight:bold;border:1px solid #c5d3b95c;background:#ffffff18}.toolbar-wrap{position:absolute;bottom:27px;left:50%;transform:translateX(-50%);z-index:3;display:flex;flex-direction:column;align-items:center;gap:10px}.toolbar-caption{font-size:10px;letter-spacing:.5px;color:#fffce6;text-shadow:0 1px 2px #3a5e2e}.toolbar{display:flex;align-items:center;padding:7px;gap:5px;border:1px solid #fff9db;box-shadow:0 4px 0 #3d572d60,0 10px 24px #263e2922}.tool{position:relative;width:65px;height:64px;border:1px solid transparent;border-radius:5px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;background:transparent}.tool:hover{background:#e8ecd7}.tool.selected{background:#e6ecd4;border:1px solid #bbcaa0;box-shadow:inset 0 -2px 0 #b8c792}.tool canvas{width:29px;height:29px}.tool>span{font-size:9px;color:#7e896d}.tool kbd{position:absolute;left:5px;top:3px;font-size:8px;color:#a6ab95}.tool-count{position:absolute;right:3px;top:4px;font-size:9px;min-width:15px;text-align:center;color:#fff;background:#83996b;border-radius:4px;padding:1px 3px}.toolbar-divider{width:1px;height:43px;background:#dfe3ce;margin:0 5px}.seed-picker{border:none;background:none;display:flex;flex-direction:column;align-items:center;justify-content:center;position:relative;width:80px;height:58px;gap:6px}.seed-picker>span{font-size:9px;color:#7e896d}.seed-picker svg{position:absolute;right:0;top:20px;width:12px;height:12px;color:#9da689}.seed-picker canvas{width:24px;height:24px}.bottom-left{position:absolute;bottom:37px;left:28px;display:flex;align-items:center;gap:8px;color:#f4f9e8c2;font-size:10px;z-index:2}.control-keys{font-family:monospace;border:1px solid #e3ebd45c;border-radius:4px;padding:6px;font-size:10px}.bottom-left .keycap{margin-left:10px}.bottom-right{position:absolute;bottom:34px;right:32px;display:flex;gap:22px;z-index:3}.round-button{position:relative;display:flex;align-items:center;flex-direction:column;gap:8px;background:none;border:none;color:#f6f9e6;font-size:10px;text-shadow:0 1px 2px #3c5a2c}.round-button>svg{width:48px;height:48px;padding:12px;background:#fcfaee;border-radius:14px;border:1px solid #fff9e2;box-shadow:0 3px 0 #40593766;color:#637456;text-shadow:none}.round-button b{position:absolute;top:-4px;right:4px;border-radius:10px;background:#e6b847;color:#615322;min-width:18px;height:18px;display:grid;place-items:center;text-shadow:none;font-size:9px}.welcome-note{position:absolute;bottom:105px;left:28px;display:flex;align-items:center;gap:11px;background:#fcfaeef2;border-radius:7px;padding:8px 20px 8px 8px;box-shadow:0 3px 0 #3d572d33;z-index:2}.welcome-note canvas{width:35px;height:40px;background:#e0e7ca;border-radius:4px}.welcome-note strong{display:block;font-size:11px}.welcome-note div>span{font-size:10px;color:#91977e;display:block;margin-top:5px}.welcome-note button{border:0;background:none;color:#a5aa95;font-size:19px;position:absolute;top:0;right:3px}.joystick,#action-button,.mobile-quest{display:none}dialog{border:none;border-radius:18px;background:#fcfaee;width:520px;max-width:calc(100% - 24px);max-height:min(85dvh,780px);padding:26px;color:#3b4e39;box-shadow:0 15px 80px #173a3566;overscroll-behavior:contain}dialog::backdrop{background:#1d38276e;backdrop-filter:blur(3px)}.modal-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}.modal-header .eyebrow{font-size:9px}.modal-header h1{font-size:28px;letter-spacing:-1px;margin:8px 0 0}.close-button{width:36px;height:36px;flex-shrink:0;border:1px solid #dce0cd;border-radius:50%;background:#f2f2e3;font-size:24px;font-weight:normal;color:#879278}.modal-tabs{display:flex;gap:6px;padding:5px;background:#ecefdc;border-radius:9px;margin-bottom:18px}.modal-tabs button{flex:1;padding:10px;border:none;border-radius:6px;background:none;font-size:13px;font-weight:bold;color:#8b967b}.modal-tabs button.active{background:#fcfaee;color:#4a6342;box-shadow:0 2px 4px #445a2f13}.modal-intro{font-size:13px;color:#8a927c;line-height:1.6;margin:0 0 19px}.shop-row{display:flex;align-items:center;gap:13px;padding:16px 0;border-bottom:1px solid #e5e8d4}.shop-row:last-child{border-bottom:0}.shop-art{width:56px;height:56px;border-radius:10px;background:#eaf0d8;display:grid;place-items:center;flex-shrink:0}.shop-art canvas{width:38px;height:38px}.shop-details{flex:1}.shop-details strong{font-size:14px}.shop-details p{font-size:11px;color:#8a947d;line-height:1.5;margin:5px 0 0}.buy-button,.primary-button{display:flex;align-items:center;justify-content:center;gap:6px;border:1px solid #5f7c4c;background:#6c8c53;color:#fcfbe8;border-radius:7px;font-size:12px;font-weight:bold;padding:11px 13px;min-height:42px;white-space:nowrap}.buy-button:hover,.primary-button:hover{background:#587640}.buy-button canvas{width:13px;height:13px}.shop-balance{display:flex;align-items:center;gap:7px;background:#f3efd8;padding:12px;border-radius:7px;font-size:12px;margin:8px 0 16px;color:#8d865a}.shop-balance strong{color:#576847;margin-left:auto}.shop-balance canvas{width:17px;height:17px}.sell-total{display:flex;justify-content:space-between;font-size:14px;padding:18px 0}.primary-button{width:100%;font-size:14px;padding:14px}.empty-state{text-align:center;padding:28px 10px;font-size:14px;line-height:1.7;color:#8a947d}.friend-row{display:flex;gap:14px;align-items:center;padding:13px 0;border-bottom:1px solid #e5e8d4}.friend-row canvas{width:40px;height:40px}.friend-row strong{display:block;font-size:14px}.friend-row span{font-size:12px;color:#8a947d}.friend-row b{margin-left:auto;color:#cf8585;font-size:13px}.journal-task{display:flex;gap:12px;align-items:center;padding:17px 0;border-bottom:1px solid #e5e8d4;font-size:13px}.journal-task span:last-child{margin-left:auto;font-size:12px;color:#9a9f83}.journal-task .quest-check{flex-shrink:0;width:18px;height:18px}.journal-task .quest-check.done:after{font-size:13px}.help-grid{display:grid;grid-template-columns:38px 1fr;gap:17px 12px;align-items:center;margin-bottom:20px;font-size:13px;line-height:1.6}.help-grid>span{display:grid;place-items:center;width:36px;height:36px;border-radius:8px;background:#e9eed8;font-weight:bold;font-size:12px}.help-note{font-size:11px;line-height:1.7;color:#919880;border-top:1px solid #e1e6cf;padding-top:16px}.help-note button{border:0;background:none;padding:0;text-decoration:underline;color:#8b6858}.crop-choice{width:100%;border:1px solid #dde4cc;border-radius:10px;padding:14px;background:#f8f8e9;display:flex;gap:15px;align-items:center;margin:10px 0;text-align:left}.crop-choice.active{border:2px solid #86a466;background:#eaf0d8}.crop-choice canvas{width:40px;height:40px}.crop-choice strong{display:block;font-size:14px}.crop-choice small{display:block;color:#8c967b;font-size:12px;margin-top:5px}.crop-choice>b{margin-left:auto;font-size:13px}.quest-complete{padding:18px;background:#edf0d8;border-radius:10px;font-size:13px;line-height:1.7;margin-top:18px}.muted{color:#8f987f} @keyframes toast-in{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
@media(min-width:1500px){.quest-card{top:112px}.toolbar-wrap{bottom:38px}.bottom-right{bottom:45px}.bottom-left{bottom:45px}.context-hint{bottom:153px}.welcome-note{bottom:125px}}@media(max-width:1100px){.quest-card{width:208px;left:20px}.quest-card>strong{font-size:17px}.quest-line{font-size:10px}.welcome-note{display:none}.bottom-left{display:none}.bottom-right{gap:9px;right:20px}.round-button>span{display:none}.round-button>svg{width:42px;height:42px;padding:10px}.topbar-note{display:none}.status-row{left:20px;right:20px}.toolbar-wrap{bottom:23px}}
@media(max-width:700px){.topbar{height:64px;padding:0 16px;padding-top:env(safe-area-inset-top)}.brand{gap:9px}.brand>canvas{width:33px;height:33px}.brand strong{font-size:17px;letter-spacing:-.6px}.brand-dot{font-size:13px;margin-left:5px}.brand small{font-size:7px;letter-spacing:1.5px;margin-top:4px}.header-actions{gap:6px}.icon-button{width:31px;height:31px}.icon-button svg{width:16px;height:16px}.saved{display:none}#game{height:calc(100dvh - 64px)}.status-row{top:15px;left:14px;right:14px;gap:12px}.day-card{min-width:0;gap:9px;padding:9px 11px}.sun-icon{width:24px;height:24px}.day-card strong{font-size:12px}.day-card span{font-size:9px}.money-card{min-width:0;padding:10px 12px;gap:7px}.money-card strong{font-size:18px}.money-card canvas{width:20px;height:20px}.money-card>span{display:none}.money-card>svg{margin-left:3px;width:14px}.location-label,.quest-card,.area-label{display:none}.mobile-quest{position:absolute;display:block;top:77px;left:14px;z-index:2}.mobile-quest button{border:none;padding:9px 11px;font-size:10px;display:flex;gap:8px;align-items:center;background:#fcfaeee8}.mobile-quest span{color:#c8a342}.mobile-quest b{color:#94a07d;font-size:9px;margin-left:4px}.toolbar-wrap{bottom:calc(17px + env(safe-area-inset-bottom));gap:7px;width:calc(100% - 30px)}.toolbar-caption{font-size:9px}.toolbar{padding:5px;gap:3px;width:100%;justify-content:space-between;border-radius:10px}.tool{width:51px;height:58px;gap:3px;flex:1}.tool canvas{width:27px;height:27px}.tool>span{font-size:8px}.tool kbd{display:none}.toolbar-divider{margin:0 2px;height:39px}.seed-picker{width:66px;flex-shrink:0;height:52px;gap:5px}.seed-picker>span{font-size:8px}.seed-picker canvas{width:23px;height:23px}.seed-picker svg{width:10px;top:18px;right:1px}.tool-count{font-size:8px;right:2px;top:1px;min-width:13px}.context-hint{bottom:calc(212px + env(safe-area-inset-bottom));padding:8px 14px;font-size:10px;background:#344d38be;max-width:90%;overflow:hidden;text-overflow:ellipsis}.context-hint .keycap{display:none}.joystick{display:block;position:absolute;left:23px;bottom:calc(106px + env(safe-area-inset-bottom));width:96px;height:96px;border:1px solid #fbffe954;background:#faffdf21;border-radius:50%;z-index:4;touch-action:none;box-shadow:inset 0 0 0 8px #faffed08;backdrop-filter:blur(2px)}.joystick-cross{position:absolute;inset:20px}.joystick-cross:before,.joystick-cross:after{content:'';position:absolute;background:#fffbe72b;border-radius:2px}.joystick-cross:before{width:100%;height:3px;top:50%}.joystick-cross:after{height:100%;width:3px;left:50%}#joystick-knob{position:absolute;width:44px;height:44px;left:25px;top:25px;background:#fcfaeee3;border:3px solid #fffcea;box-shadow:0 3px 0 #3c593535;border-radius:50%;pointer-events:none}#action-button{position:absolute;right:26px;bottom:calc(112px + env(safe-area-inset-bottom));width:81px;height:81px;border-radius:50%;background:#fff5cb;border:4px solid #fff9e3;box-shadow:0 4px 0 #536d3f66,0 0 0 5px #fff4cf30;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:2px;z-index:4;color:#7a7545;touch-action:none}#action-button canvas{width:30px;height:30px}#action-button span{font-size:10px;font-weight:bold}.bottom-right{right:15px;top:80px;bottom:auto;flex-direction:column;gap:10px}.round-button{padding:0}.round-button>svg{width:38px;height:38px;border-radius:11px;padding:9px}.round-button b{right:-4px;top:-5px;font-size:8px;min-width:16px;height:16px}.welcome-note{display:none}#toast-region{top:129px;width:calc(100% - 36px);max-width:350px}.toast{font-size:12px;padding:12px 14px}dialog{padding:23px 20px;border-radius:17px;max-height:83dvh}.modal-header h1{font-size:25px}.shop-row{gap:10px;padding:13px 0}.shop-art{width:44px;height:48px}.shop-art canvas{width:32px;height:32px}.shop-details strong{font-size:13px}.shop-details p{font-size:10px}.buy-button{padding:10px;font-size:11px}.vignette{box-shadow:inset 0 -100px 100px -90px #26432666}}
@media(pointer:coarse) and (min-width:701px){.joystick{display:block;position:absolute;left:30px;bottom:90px;width:100px;height:100px;border:1px solid #ffffff66;border-radius:50%;background:#ffffff22;z-index:4;touch-action:none}#joystick-knob{position:absolute;width:42px;height:42px;left:28px;top:28px;border-radius:50%;background:#fcfaeecc}#action-button{display:flex;position:absolute;bottom:110px;right:45px;border:3px solid #fff9df;width:74px;height:74px;background:#fff3c9;border-radius:50%;align-items:center;justify-content:center;flex-direction:column;z-index:4;gap:3px;font-size:10px}.bottom-left{display:none}.welcome-note{display:none}}
@media(max-height:500px) and (min-width:701px){.topbar{height:48px}.brand strong{font-size:17px}.brand small{display:none}#game{height:calc(100dvh - 48px)}.quest-card,.location-label,.toolbar-caption{display:none}.status-row{top:10px}.day-card{padding:6px 12px}.money-card{padding:7px 12px}.area-label{top:26px}.toolbar-wrap{bottom:12px}.tool{height:48px;width:48px}.tool canvas{width:23px;height:23px}.seed-picker{height:45px}.context-hint{bottom:85px}.bottom-right{bottom:20px}.joystick{bottom:80px}#action-button{bottom:90px}}
@media(max-width:700px){.header-actions{gap:3px}.icon-button{width:40px;height:40px}.icon-button svg{width:18px;height:18px}.mobile-quest button{min-height:40px;font-size:11px}.bottom-right{gap:8px}.round-button>svg{width:42px;height:42px}.tool>span,.seed-picker>span{font-size:10px}.tool-count{font-size:9px}.toolbar-caption{font-size:10px}#action-button span{font-size:12px}.context-hint{font-size:11px}.shop-details strong{font-size:14px}.shop-details p{font-size:12px}.buy-button{min-height:44px;font-size:12px}.modal-intro,.help-grid{font-size:14px}.help-note{font-size:12px}.modal-tabs button{font-size:13px}.crop-choice{min-height:68px}}
@media(max-width:360px){.topbar{padding-left:12px;padding-right:10px}.brand{gap:7px}.brand>canvas{width:28px;height:28px}.brand strong{font-size:15px}.brand small{font-size:6px;letter-spacing:1.2px}.brand-dot{display:none}.icon-button{width:36px;height:38px}.day-card strong{font-size:11px}.day-card span{font-size:9px}.money-card{padding:10px}.tool>span,.seed-picker>span{font-size:9px}.shop-art{width:37px}.shop-details p{font-size:11px}.shop-details strong{font-size:13px}}
