*{box-sizing:border-box}html,body{margin:0;width:100%;height:100%;overflow:hidden}body{display:grid;place-items:center;background:#83c6e4;font:16px 'Microsoft YaHei','PingFang SC',sans-serif;color:#623714}button,input,select{font:inherit}button{cursor:pointer;border:2px solid #a56125;border-radius:12px;color:#713c14;background:linear-gradient(#fffbd7,#ffe2a0);box-shadow:inset 0 2px #fff8e3,0 2px #814f24;padding:8px 14px;font-weight:700;transition:filter .12s,transform .12s}button:hover:not(:disabled){filter:brightness(1.08);transform:translateY(-1px)}button:active:not(:disabled){transform:translateY(1px);box-shadow:inset 0 2px #c99449}button:disabled{cursor:default;opacity:.48}button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #22b7dd;outline-offset:3px}input,select{border:2px solid #ce9e5e;border-radius:9px;padding:8px;background:#fffdf0;color:#623714}input[type=checkbox]{accent-color:#6aa827;width:18px;height:18px}input[type=number]{width:62px}h1,h2,h3,p{margin:0}h2{font-size:25px}h3{font-size:17px}small{font-size:12px}button.selected,button[aria-pressed=true],button[aria-selected=true]{background:linear-gradient(#d9f28f,#a9d65a);border-color:#5f8727;color:#3c6217;box-shadow:inset 0 2px #eeffbb,0 2px #3f611d}[hidden]{display:none!important}.primary{background:linear-gradient(#c6e96c,#85bf32);border-color:#4c841f;color:#274b0a;box-shadow:inset 0 2px #e7ffac,0 3px #4b7222}.subtle{background:linear-gradient(#fffde9,#ffe0a3)}.wide{width:100%}.danger{color:#b53828;background:#ffe6bd}.close{width:34px;height:34px;flex:none;padding:0;font:700 27px/28px Arial;color:#fff9c7;border-color:#954c20;background:linear-gradient(#ffb24e,#e76e2c);text-shadow:0 1px #914018;box-shadow:inset 0 1px #ffe396,0 2px #864421;border-radius:50%}.art{display:inline-block;flex:none;width:64px;height:64px;background-image:url('/park/park-tools.png?v=20261101b');background-size:400% 400%;background-repeat:no-repeat;pointer-events:none}.art-0{background-position:0 0}.art-1{background-position:33.3333% 0}.art-2{background-position:66.6667% 0}.art-3{background-position:100% 0}.art-4{background-position:0 33.3333%}.art-5{background-position:33.3333% 33.3333%}.art-6{background-position:66.6667% 33.3333%}.art-7{background-position:100% 33.3333%}.art-8{background-position:0 66.6667%}.art-9{background-position:33.3333% 66.6667%}.art-10{background-position:66.6667% 66.6667%}.art-11{background-position:100% 66.6667%}.art-12{background-position:0 100%}.art-13{background-position:33.3333% 100%}.art-14{background-position:66.6667% 100%}.art-15{background-position:100% 100%}
#game-shell{position:relative;overflow:hidden;width:min(1280px,calc(100vw - 24px),calc((100vh - 24px)*1.6));aspect-ratio:8/5;box-sizing:content-box;border:4px solid #7f542f;border-radius:22px;box-shadow:0 8px 0 #3a765f42,0 16px 45px #265e7366;background:#96d633}#game-stage{width:1280px;height:800px;position:absolute;left:0;top:0;transform-origin:0 0;overflow:hidden;isolation:isolate}#park-world{position:absolute;inset:0;width:1280px;height:800px;touch-action:none}.player-panel{position:absolute;left:20px;top:17px;width:292px;height:107px;display:flex;align-items:center;gap:6px;padding:8px 12px 8px 5px;background:linear-gradient(#ffec9f,#edba60);border:4px solid #a9672d;border-radius:27px;box-shadow:inset 0 3px #fff9ce,0 4px #6a50294d;z-index:2}.avatar-button{width:80px;height:80px;border-radius:50%;padding:0;background:radial-gradient(#f6ffa1,#a7cb48);border:3px solid #9a5e25;box-shadow:inset 0 2px #fffcb9,0 2px #c88d3e}.avatar-button .art{width:74px;height:74px}.player-info{min-width:0;flex:1}.player-info h1{font-size:16px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;max-width:178px;margin-bottom:4px;text-shadow:0 1px #fff4be}.level-row{display:flex;align-items:center;gap:5px;font-size:11px;position:relative}.level-row b{color:#487920}.xp-track{height:12px;width:105px;border:2px solid #8f6c31;border-radius:8px;overflow:hidden;background:#947b45}.xp-track i{height:100%;display:block;background:linear-gradient(#dbf684,#80c12b);width:0}.level-row small{font-size:10px;position:absolute;right:4px;top:0;color:#fffbe0;text-shadow:0 1px #58451f}.coin-row{display:flex;align-items:center;gap:5px;font-size:11px;height:35px}.coin-row .art{width:31px;height:31px}.coin-row strong{font-size:18px;color:#964309}.garden-sign{position:absolute;top:12px;left:534px;width:212px;text-align:center;background:linear-gradient(#eec079,#b97c3c);border:4px solid #875025;border-radius:16px 16px 26px 26px;box-shadow:inset 0 3px #ffe9b0,0 4px #54783166;padding:8px 20px 10px;transform:rotate(-1deg);z-index:2}.garden-sign strong{display:block;font-size:34px;color:#fff7cf;text-shadow:2px 2px #7e4625,-1px -1px #7e4625;font-weight:900;letter-spacing:3px}.garden-sign span{display:block;font-size:12px;color:#6b3b18;letter-spacing:4px}.top-actions{position:absolute;right:20px;top:22px;display:flex;gap:8px;z-index:2}.top-actions button{padding:6px 10px;font-size:12px}.place-sign{position:absolute;padding:5px 17px;background:#fff1bb;border:3px solid #9b632f;border-radius:12px;box-shadow:0 2px #744b2955;color:#734218;font-weight:800;font-size:15px;pointer-events:none}.home-sign{left:177px;top:275px;transform:rotate(-3deg)}.market-sign{left:977px;top:324px;transform:rotate(2deg)}.side-dock{position:absolute;right:18px;top:420px;display:flex;flex-direction:column;gap:13px;z-index:4}.side-dock button{position:relative;width:86px;height:86px;padding:0;border-radius:22px;background:linear-gradient(#fff2ba,#f3c56f);border-width:3px}.side-dock .art{width:72px;height:68px;display:block;margin:-5px auto 0}.side-dock b{font-size:13px;display:block;background:#ffe9a9;border:1px solid #ac783f;border-radius:9px;position:absolute;bottom:-8px;left:2px;right:2px;padding:2px 0}.count-badge{position:absolute;right:-5px;top:-7px;padding:2px 6px;border-radius:15px;background:#ed733b;color:white;border:2px solid #fff2b7;font-size:12px}.farm-summary{position:absolute;left:20px;bottom:24px;display:flex;flex-direction:column;gap:4px;background:#fff3bfeb;border:3px solid #a26b31;border-radius:16px;padding:10px 15px;min-width:174px;font-size:13px;z-index:3}.farm-summary b{color:#428025}.farm-summary small{color:#7c7b37;font-size:10px}#save-state i{display:inline-block;width:6px;height:6px;background:#5ca231;border-radius:50%;margin-right:5px}#save-state.busy{color:#aa682b}.tool-dock{position:absolute;left:337px;bottom:16px;height:88px;display:flex;align-items:center;gap:10px;padding:6px 15px;background:linear-gradient(#ffe9ac,#deaa58);border:4px solid #99602c;border-radius:30px;box-shadow:inset 0 3px #fff8d1,0 4px #73512755;z-index:5}.tools{display:flex;gap:9px}.tools button,.bag-button{position:relative;width:66px;height:66px;padding:0;border-radius:17px;border:2px solid #c18738;background:linear-gradient(#fff7d3,#f2d18b)}.tools .art,.bag-button .art{width:59px;height:54px;margin-top:-5px}.tools b,.bag-button b{display:block;position:absolute;bottom:1px;left:0;right:0;font-size:12px}.tool-dock .bag-button{margin-left:6px;background:linear-gradient(#ffdc91,#f3b759)}.harvest-all{font-size:13px;width:57px;line-height:1.5;padding:5px 0;background:linear-gradient(#e9f7b5,#acd65d);border-color:#6d982f}.tool-dock button.selected{outline:3px solid #fff9b1;outline-offset:1px}.pocket-panel,.plot-panel{position:absolute;border:4px solid #a36b2e;border-radius:20px;background:linear-gradient(#fff8db,#ffe8ad);box-shadow:inset 0 2px #fff,0 6px 15px #244f3d40;z-index:8}.pocket-panel{left:345px;bottom:113px;width:575px;padding:12px 14px}.mini-heading,.side-title{display:flex;align-items:center;gap:8px;margin-bottom:10px}.mini-heading button:not(.close){font-size:12px;padding:4px 8px;margin-left:auto}.mini-heading .close{width:26px;height:26px;font-size:22px}.mini-heading small,.side-title small{margin-left:auto;white-space:nowrap}.plot-panel{left:815px;top:397px;width:294px;padding:17px 16px 14px}.plot-panel>.close{position:absolute;right:9px;top:8px;width:28px;height:28px;font-size:24px}.plot-panel>small{display:block;color:#a47a3d;font-size:11px;margin-bottom:4px}.plot-panel h2{font-size:18px;margin:0 22px 12px 0}.plot-meta{display:flex;justify-content:space-between;font-size:12px;color:#8d6b36;margin:10px 0}.plot-actions{display:flex;gap:8px;margin-top:10px}.plot-actions button{flex:1;font-size:13px;padding:7px 6px}.care-tags{display:flex;gap:9px;font-size:10px;margin-top:10px;color:#a08042}.care-tags .done{color:#518b28}.growth-track{height:10px;background:#d7b77c;border:1px solid #bf9959;border-radius:6px;overflow:hidden}.growth-track i{display:block;height:100%;background:linear-gradient(#cae66b,#7cb032)}.crop-summary{display:flex;align-items:center;gap:10px;margin-bottom:9px}.crop-summary strong,.crop-summary small{display:block}.crop-summary small{color:#8b743c;font-size:11px;margin-top:4px}#seed-pocket{display:flex;gap:8px}.pocket-item{width:78px;height:88px;padding:3px;position:relative}.pocket-item canvas{width:50px;height:50px}.pocket-item b{position:absolute;right:4px;top:0;font-size:12px;color:#8e5d22}.pocket-item span{display:block;font-size:11px;margin-top:1px}.plot-seeds{display:grid;grid-template-columns:1fr 1fr;gap:7px}.seed-option{padding:4px;display:flex;align-items:center;font-size:11px;gap:4px;text-align:left}.seed-option strong,.seed-option small{display:block;font-size:10px}.seed-option small{font-weight:400;margin-top:2px}.seed-option canvas{width:34px;height:34px}
.welcome-overlay,.asset-loading,#window-shade{position:absolute;inset:0;background:#28694b42;display:grid;place-items:center;z-index:15}.welcome-card{background:linear-gradient(#fff9d9,#ffe4a0);border:6px solid #a86c30;outline:2px solid #fff1b4;border-radius:30px;width:400px;padding:25px;text-align:center;box-shadow:0 9px 0 #6f4c274d}.welcome-card>.art{width:114px;height:114px}.welcome-card h2{font-size:25px;margin:0 0 22px}.welcome-card button{padding:12px 30px;font-size:18px}.asset-loading{z-index:100;background:#c5e888;display:flex;flex-direction:column;justify-content:center;gap:20px;color:#527527}.asset-loading .art{width:110px;height:110px}.asset-loading b{font-size:20px}#window-shade{z-index:29;background:#22422966;backdrop-filter:blur(2px)}.game-window{position:absolute;inset:0;margin:auto;padding:0;border:5px solid #9a602a;border-radius:26px;background:linear-gradient(#fff9dc,#ffe4ad);color:#663b17;box-shadow:inset 0 0 0 3px #fff3bd,0 10px 0 #4b422744,0 15px 45px #172f3955;max-height:none;max-width:none;overflow:hidden;z-index:30}.game-window:not([open]){display:none}.window-heading{height:72px;display:flex;align-items:center;gap:12px;padding:8px 18px;background:linear-gradient(#edb768,#c8873b);border-bottom:3px solid #ae712d;box-shadow:inset 0 3px #ffdfa2}.window-heading>.art{height:50px;width:50px}.window-heading h2{color:#fffbd7;font-size:26px;text-shadow:2px 2px #9a5924}.window-heading>.close{margin-left:auto}.shop-dialog{width:866px;height:600px}.shop-tabs{display:flex;justify-content:center;gap:12px;padding:13px 0}.shop-tabs button{min-width:140px;padding:8px}.shop-content{height:386px;overflow:auto;padding:7px 22px 16px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-content:start;gap:12px;scrollbar-color:#c39146 #ffeac3}.shop-item{position:relative;text-align:center;border:2px solid #deb979;background:linear-gradient(#fffdf0,#ffeec6);border-radius:16px;padding:12px;min-height:174px}.shop-item>canvas{height:64px;width:64px}.shop-item h3{font-size:15px;margin:3px 0 4px}.shop-item.locked{filter:saturate(.45)}.item-stock{position:absolute;right:8px;top:7px;font-size:10px;color:#967337}.item-meta{font-size:11px;color:#94743c;min-height:17px}.shop-purchase{display:flex;justify-content:center;gap:7px;margin-top:8px}.shop-purchase button{font-size:12px;padding:6px 8px;flex:1}.shop-purchase input{font-size:12px;padding:5px 4px;width:50px}.shop-item>.wide{font-size:12px;padding:6px;margin-top:8px}.shop-footer{height:55px;border-top:2px solid #e8c58a;display:flex;justify-content:flex-end;align-items:center;gap:8px;padding:4px 25px;font-size:14px;background:#ffebb5}.shop-footer .art{width:38px;height:38px}.shop-footer strong{font-size:20px;color:#a75a13}.shop-empty{grid-column:1/-1;text-align:center;padding:110px 0;color:#9c7b40}.supply-icon .art{width:64px;height:64px}.studio{width:1160px;height:680px}.studio-top-actions{display:flex;align-items:center;gap:14px;margin-left:auto;font-size:12px;color:#fff4c9}.studio-top-actions .primary{font-size:14px;padding:8px 20px}.studio-body{display:grid;grid-template-columns:190px 1fr 230px;height:598px}.character-library{padding:16px 12px;background:#ffedbd;border-right:2px solid #e0b97b;display:flex;flex-direction:column;gap:10px;overflow:hidden}.character-library h3{font-size:15px}.character-library .side-title{gap:3px;margin:0}.character-library .side-title small{font-size:10px}.character-library button.wide,.new-character{font-size:12px;padding:8px}.character-library #default-character{margin-top:auto}#character-list{overflow:auto;display:flex;flex-direction:column;gap:8px;min-height:0;padding:3px 2px}.character-card{display:flex;gap:7px;align-items:center;text-align:left;padding:7px 4px;min-height:60px}.character-card img{width:44px;height:44px;object-fit:contain;image-rendering:pixelated}.character-card span{min-width:0;overflow:hidden}.character-card strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}.character-card small{font-size:10px;display:block;margin-top:4px;color:#997242}.character-workspace{padding:16px 18px;min-width:0}.character-name-row{display:flex;gap:9px;margin-bottom:12px;align-items:center}.character-name-row input{width:180px;min-width:0;flex:1;font-size:14px}.mode-tabs{display:flex;gap:6px}.mode-tabs button{font-size:12px;padding:8px 10px}.draw-bar{display:flex;align-items:center;gap:5px;height:38px;margin-bottom:11px}.draw-bar button{font-size:11px;padding:5px 7px;border-radius:8px}.draw-bar label{font-size:10px;white-space:nowrap}.draw-bar select{font-size:11px;padding:4px 1px;width:57px}.paint-stage{display:grid;place-items:center;height:300px;background:#efd9a5;border:2px solid #dbb576;border-radius:15px;box-shadow:inset 0 3px 10px #9c752222}.paint-canvas-wrap{position:relative;width:256px;height:256px;border:1px solid #a98546;background:repeating-conic-gradient(#fff8de 0% 25%,#eddbb1 0% 50%) 50% / 16px 16px;box-shadow:0 4px 12px #8d682d33;box-sizing:content-box}#paint-canvas{width:256px;height:256px;image-rendering:pixelated;display:block;cursor:crosshair;touch-action:none}#pixel-grid{position:absolute;inset:0;pointer-events:none;background-image:linear-gradient(to right,#89663422 1px,transparent 1px),linear-gradient(to bottom,#89663422 1px,transparent 1px);background-size:4px 4px}.palette-row{display:flex;align-items:center;gap:9px;margin:12px 0;font-size:11px}#color-palette{display:flex;gap:4px}#color-palette button{width:22px;height:22px;border:2px solid #b88d51;border-radius:50%;padding:0;box-shadow:none}#color-palette button.selected{outline:2px solid #66452d;outline-offset:2px}#paint-color{width:32px;height:27px;padding:1px;border:1px solid #b18849}.palette-row label{display:flex;gap:2px;align-items:center}.palette-row input[type=checkbox]{width:14px;height:14px}.import-row{display:flex;align-items:center;gap:7px}.import-row button{font-size:11px;padding:7px 8px}.import-row>span{margin-left:auto;color:#9b7c46;font-size:11px}.studio-error{font-size:12px;color:#b73729;margin-top:12px;min-height:18px}.character-preview{border-left:2px solid #e0b97b;background:#fff0c6;padding:18px 15px;display:flex;flex-direction:column;gap:12px}.character-preview h3{text-align:center;font-size:16px}.preview-scene{border:3px solid #ad813c;border-radius:20px;overflow:hidden;width:194px;height:194px;background:#9ed951}.preview-scene canvas{width:188px;height:188px;display:block}.preview-directions{display:flex;justify-content:center;gap:8px}.preview-directions button{width:35px;height:31px;padding:0;font-size:20px;border-radius:9px}.character-preview>.wide{font-size:13px}.preview-note{text-align:center;color:#987437;font-size:11px;margin-top:-4px}.character-preview #equip-character{margin-top:auto}.character-preview .danger{font-size:12px;padding:6px}.animation-help{font-size:12px;margin:8px 0 16px;color:#937244}.animation-controls{display:flex;justify-content:space-between;align-items:center;font-size:12px;margin-bottom:12px}.animation-controls select{font-size:12px;padding:6px}.animation-controls button{font-size:12px}.animation-frames{height:338px;background:#f4dfaf;border:2px solid #d9b779;border-radius:14px;overflow:auto;display:grid;grid-template-columns:repeat(4,1fr);gap:10px;padding:12px;align-content:start}.frames-empty{grid-column:1/-1;padding-top:110px;text-align:center;white-space:pre-line;color:#a17c3e;font-size:13px;line-height:2}.animation-frame{background:#fff8dd;border:1px solid #d5b57e;border-radius:10px;padding:6px;text-align:center}.animation-frame small{display:block;text-align:left;color:#a0814d;font-size:10px}.animation-frame img{width:64px;height:64px;object-fit:contain;image-rendering:pixelated}.frame-actions{display:flex;gap:4px;justify-content:center}.frame-actions button{font-size:12px;padding:1px 4px;border-radius:5px}.animation-footer{display:flex;align-items:center;flex-wrap:wrap;justify-content:space-between;gap:10px;font-size:11px;margin-top:12px}.animation-footer label{display:flex;align-items:center;gap:5px}.animation-footer input{width:100px;padding:0;accent-color:#7fab36}.animation-footer button{font-size:10px;padding:5px}.animation-footer span{color:#98733d}
.account-dialog{width:440px;height:auto;bottom:auto;top:130px}.account-dialog .window-heading{height:65px}.account-dialog .window-heading h2{font-size:23px}.account-dialog form,#account-signed-in{padding:20px 28px}.account-tabs{display:flex;gap:10px;margin-bottom:18px}.account-tabs button{flex:1;font-size:14px}#account-form>label{display:flex;flex-direction:column;gap:6px;margin:12px 0;font-size:13px}#account-form input{width:100%}#account-form .check-label{flex-direction:row;align-items:center;gap:6px}#account-form input[type=checkbox]{width:18px}#registration-note{font-size:12px;color:#9d7339;margin-bottom:14px}#account-message{font-size:13px;color:#a23e25;padding:0 28px 18px;white-space:pre-line}#account-message:empty{padding:0}#account-name{text-align:center;font-size:20px;margin:12px 0 28px}.confirm-dialog{width:410px;height:auto;top:290px;bottom:auto;padding:28px}.confirm-dialog p{line-height:1.8;margin-bottom:24px}.confirm-dialog>div{display:flex;justify-content:flex-end;gap:12px}.park-notice{position:absolute;bottom:122px;left:50%;transform:translateX(-50%);max-width:650px;display:flex;align-items:center;gap:14px;background:#fff5cbed;border:3px solid #b58a3d;border-radius:16px;box-shadow:0 4px 12px #23442755;padding:10px 14px;font-size:13px;z-index:95}.park-notice.error{border-color:#cb7544;background:#fff0d4}.park-notice button{font-size:12px;padding:4px 9px}.park-notice #dismiss-notice{font-size:21px;border:0;box-shadow:none;background:none;padding:0 4px}.shop-content::-webkit-scrollbar,#character-list::-webkit-scrollbar,.animation-frames::-webkit-scrollbar{width:8px}.shop-content::-webkit-scrollbar-thumb,#character-list::-webkit-scrollbar-thumb,.animation-frames::-webkit-scrollbar-thumb{background:#cea15d;border-radius:8px}@media(prefers-reduced-motion:reduce){*{transition:none!important}}

#color-palette button,#color-palette button.selected{background-image:none}
/* Dynamic ingredient lists stay inside the desktop game frame. */
#seed-pocket{overflow-x:auto;max-width:100%;padding-bottom:5px}.pocket-item{flex:0 0 78px}.pocket-item span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.plot-seeds{max-height:230px;overflow:auto}.seed-option strong{overflow-wrap:anywhere}
