:root{--accent:#829679;--accent-dark:#4c6349;--paper:#f6f5f0;--ink:#3c453b;--muted:#7b8178;--line:#dedfd4;--serif:Georgia,'Songti SC','SimSun',serif;font-family:'Microsoft YaHei','PingFang SC',system-ui,sans-serif;color:var(--ink);font-size:16px}*{box-sizing:border-box}body{margin:0;background:var(--paper)}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer;color:inherit;border:0;background:none}button:focus-visible,a:focus-visible{outline:3px solid #b78953;outline-offset:3px}button:disabled{opacity:.35;cursor:not-allowed}button:hover:not(:disabled){filter:brightness(.97)}.app-shell{max-width:1600px;min-height:100vh;margin:auto;display:grid;grid-template-columns:226px 1fr}.sidebar{border-right:1px solid var(--line);padding:32px 20px;display:flex;flex-direction:column;gap:24px;background:#f0f1e9}.brand{display:flex;align-items:center;gap:11px;text-decoration:none;color:#40513f;font-family:var(--serif);font-weight:bold;font-size:22px}.brand small{display:block;font-family:system-ui;font-size:9px;letter-spacing:1.8px;margin-top:5px;font-weight:500}.brand-mark{font-family:serif;border:1px solid #7f9278;border-radius:13px;font-size:40px;line-height:46px;width:44px;text-align:center}.sidebar-heading{display:flex;align-items:center;justify-content:space-between;font-size:13px;color:var(--muted);margin-top:16px}.sidebar-heading span{font-size:12px}#chapters{display:grid;gap:9px}.chapter-btn{display:flex;align-items:center;gap:13px;text-align:left;width:100%;padding:15px 12px;border-radius:9px;color:#72796e}.chapter-btn.active{background:#e0e5d6;color:#40553c}.chapter-btn .chapter-icon{font-family:var(--serif);font-size:25px;width:30px;text-align:center}.chapter-btn b{display:block;font-size:15px;font-weight:500}.chapter-btn small{display:block;font-size:11px;margin-top:5px;color:#808779}.chapter-btn em{margin-left:auto;font-size:12px;font-style:normal}.map-link{font-size:13px;text-align:left;color:#71816a;border-top:1px solid var(--line);padding-top:20px}.side-bottom{margin-top:auto;padding-top:20px}.mini-illustration{height:58px;font-size:60px;color:#b7bea8;line-height:58px}.side-bottom>b{font-size:12px;font-weight:500}.side-bottom p{font-size:11px;color:#828978}.overall{margin-top:25px;display:flex;justify-content:space-between;font-size:11px;color:#747c6b}.progress-track{height:5px;background:#e4e6db;border-radius:10px;overflow:hidden}.progress-track i{display:block;height:100%;background:var(--accent);transition:width .35s;width:0;border-radius:10px}.side-bottom .progress-track{margin:10px 0}.side-bottom>button{font-size:12px;color:#747b6c;margin-top:15px}main{padding:0 36px 20px;min-width:0}.topbar{height:78px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;font-size:13px}.breadcrumb{color:#7f877b}.breadcrumb span{margin:0 14px;color:#bdc2b8}.breadcrumb b{font-weight:400;color:#596451}.top-actions{display:flex;align-items:center;gap:16px}.top-actions>span{font-size:12px;color:#7b8e70}.icon-button{width:36px;height:36px;border:1px solid var(--line);border-radius:50%;font-size:22px}#mobileMap{display:none}.game-heading{display:flex;justify-content:space-between;align-items:center;padding:27px 0 22px}.eyebrow{font-size:11px;letter-spacing:2px;color:#7d8976;display:flex;align-items:center;gap:10px}.small-separator{width:4px;height:4px;background:#b1baaa;border-radius:50%}h1{font-family:var(--serif);font-size:32px;letter-spacing:2px;margin:10px 0 9px;font-weight:500}.game-heading p{color:#83877e;font-size:13px;margin:0}.collection-button{font-size:13px;border:1px solid var(--line);border-radius:25px;padding:10px 16px;background:#fafbf5}.collection-button span{padding-left:14px;color:#8f9f83}.game-grid{display:grid;grid-template-columns:minmax(350px,600px) minmax(240px,270px);gap:25px;align-items:start}.play-area{border:1px solid #d9dbce;border-radius:14px;overflow:hidden;background:#eef0e6;box-shadow:0 7px 24px #56604407}.scene-toolbar{height:53px;display:flex;align-items:center;justify-content:space-between;padding:0 13px;background:#f8f8f2}.modes{display:flex;background:#e9ece1;border-radius:20px;padding:3px}.modes button{font-size:12px;padding:7px 14px;border-radius:18px;color:#849078}.modes .active{background:#fffefa;box-shadow:0 1px 4px #6f7f6812;color:#4b6245}.quiet{font-size:12px;color:#71806a}.quiet[aria-pressed=true]{color:#41573e;text-decoration:underline}.scene-wrap{position:relative;overflow:hidden;aspect-ratio:600/620;isolation:isolate;touch-action:none;background:#e4dfcf;user-select:none}.scene-wrap.zoomed{touch-action:none}#stage{position:absolute;inset:0;transform-origin:50% 50%;will-change:transform}#scenery,#scenery>svg,#objects,#confetti{position:absolute;inset:0;width:100%;height:100%}#scenery{pointer-events:none}#objects{pointer-events:none}.object{position:absolute;width:13%;height:13%;padding:0;transform:translate(-50%,-50%);pointer-events:auto;touch-action:none;filter:drop-shadow(0 3px 1px #5a4c3d22);border-radius:20px;transition:filter .2s}.object .object-icon{width:85%;height:85%;display:block;margin:0 auto}.object:focus-visible,.object.hinted{outline:3px dashed #fff7a4;outline-offset:0;background:#fff7a444;filter:drop-shadow(0 0 6px #ffe4a2)}.object:hover{filter:drop-shadow(0 3px 2px #5a4c3d44)}.object.blocked{cursor:help}.object .object-label{display:none;position:absolute;top:83%;left:50%;transform:translateX(-50%);white-space:nowrap;padding:2px 5px;background:#fffbedf2;border-radius:4px;color:#504b43;font-size:11px;border:1px solid #c8bca5;z-index:2}.show-labels .object-label,.object:focus-visible .object-label,.object:hover .object-label{display:block}.scene-caption{position:absolute;bottom:9px;left:12px;right:12px;display:flex;align-items:center;gap:12px;pointer-events:none;color:#655e50;font-size:10px;letter-spacing:.5px}.scene-caption>span:first-child{border:1px solid #a79c8580;border-radius:15px;padding:3px 8px;background:#fffbed80;font-size:10px}.zoom{position:absolute;bottom:35px;right:11px;background:#fffbeddf;border:1px solid #ddd3c2;border-radius:20px;display:flex;box-shadow:0 2px 9px #5e574a14}.zoom button{font-size:16px;width:31px;height:30px}.zoom #zoomReset{font-size:10px;width:40px}.bottom-controls{display:flex;justify-content:space-around;padding:11px 5px;background:#f8f8f2}.bottom-controls button{font-size:12px;padding:7px 8px;white-space:nowrap}.bottom-controls button span{font-size:19px;vertical-align:-1px;margin-right:3px;color:#7c8c70}.task-panel{padding:10px 0}.task-heading{display:flex;align-items:center;justify-content:space-between}.task-heading .eyebrow{font-size:9px;letter-spacing:1.5px}h2{font-family:var(--serif);font-weight:500;font-size:23px;margin:8px 0 0}.tag{padding:5px 9px;font-size:11px;background:#e9eddf;border-radius:14px;color:#819173}.task-help{color:#909589;line-height:1.8;font-size:12px;margin:16px 0}.orders{display:grid;gap:12px}.order{position:relative;display:grid;grid-template-columns:57px 1fr;gap:12px;align-items:center;background:#fdfdf7;border:1px solid #dbdfcf;border-radius:11px;padding:13px;overflow:hidden;min-height:96px}.order-icon{width:55px;height:55px;background:#edf0e5;border-radius:50%;padding:6px}.order .object-icon{width:100%;height:100%}.order-name{font-size:15px;display:flex;align-items:center;justify-content:space-between}.order-name span{font-size:11px;color:#8a9680}.order .progress-track{margin:10px 0 7px;height:4px}.order small{font-size:10px;color:#8b9581;line-height:1.5;display:block}.order.complete{opacity:.65;text-align:center;display:block;padding:30px 10px;color:#839675}.upcoming{margin:15px 0 20px;display:flex;flex-wrap:wrap;gap:7px;align-items:center;font-size:11px;color:#909a85}.upcoming>span:not(:first-child){border:1px dashed #d4dbc8;border-radius:20px;padding:5px 9px}.tray-section{padding:18px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.tray-title{display:flex;justify-content:space-between;font-size:13px}.tray-title>b{font-weight:500}.tray-title>span{color:#8a9482;font-size:11px}.tray{display:grid;grid-template-columns:repeat(7,1fr);gap:4px;margin-top:14px}.tray-slot{aspect-ratio:1;background:#eeeee4;border:1px dashed #cfd2c2;border-radius:7px;min-width:0;padding:1px;display:flex;align-items:center;justify-content:center;color:#c0c6b5}.tray-slot.filled{background:#fafaf2;border-style:solid}.tray-slot .object-icon{width:100%;height:100%}.tray-section p{font-size:11px;color:#939a8b;margin:10px 0 0}.level-progress{margin-top:22px}.level-progress>div:first-child{font-size:12px;display:flex;justify-content:space-between;margin-bottom:12px}.level-progress b{font-weight:500}.level-progress span{color:#9ba18f}.scene-note{border-left:2px solid #b9c5ad;margin-top:27px;padding:0 12px}.scene-note>span{font-size:11px;color:#8d9b81}.scene-note p{font-size:12px;color:#7f8876;line-height:1.8;margin:7px 0 0}footer{text-align:center;font-size:10px;color:#a4a99b;margin:23px 0 0;letter-spacing:1px}#toast{position:fixed;bottom:28px;left:50%;transform:translate(-50%,20px);background:#40503feb;color:#fff;padding:12px 22px;border-radius:25px;font-size:14px;pointer-events:none;opacity:0;transition:.2s;z-index:100;max-width:90vw;width:max-content}#toast.visible{opacity:1;transform:translate(-50%,0)}dialog{border:1px solid #d8dfce;background:#fbfcf5;color:var(--ink);border-radius:20px;padding:35px;width:min(900px,94vw);max-height:90dvh;box-shadow:0 25px 90px #18271633}dialog::backdrop{background:#35413780;backdrop-filter:blur(5px)}.dialog-close{position:absolute;top:12px;right:14px;width:36px;height:36px;font-size:26px;color:#8b9680}.dialog-intro{font-size:14px;color:#87917e;line-height:1.8;margin-bottom:25px}.map-chapter{margin:25px 0 12px;font-size:15px;font-weight:500}.level-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:10px}.level-card{border:1px solid #dde1d1;border-radius:10px;padding:0 0 10px;overflow:hidden;background:#fffef9;text-align:left;min-width:0}.level-card.current{border:2px solid #8f9f7e}.level-thumb{height:94px;overflow:hidden;position:relative;background:#f1f0e4}.level-thumb>svg{width:100%;height:100%;object-fit:cover}.level-thumb .object-icon{position:absolute;width:46%;height:54%;left:27%;top:27%;filter:drop-shadow(0 3px 2px #64574240)}.level-card>span{display:block;font-size:12px;margin:9px 8px 0}.level-card small{display:flex;justify-content:space-between;margin:7px 8px 0;font-size:10px;color:#8f987f}.stars{color:#c5aa66;font-family:Georgia;letter-spacing:3px}.catalog-tabs{display:flex;gap:8px;margin:20px 0;flex-wrap:wrap}.catalog-tabs button{background:#e9eddf;padding:8px 12px;font-size:13px;border-radius:15px}.catalog-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.catalog-item{border:1px solid #e0e4d5;border-radius:10px;padding:15px 8px;text-align:center;background:#fffef9}.catalog-item .object-icon{width:65px;height:65px}.catalog-item b{display:block;font-size:14px;margin:8px 0 5px;font-weight:500}.catalog-item small{font-size:11px;color:#8a9580}.primary,.secondary{border-radius:23px;font-size:14px;padding:13px 25px;margin:8px 5px 0 0}.primary{background:#778e6e;color:white}.secondary{background:#e9edde;color:#697a5e}.win{text-align:center;padding:20px 5px}.win>.stars{font-size:45px;margin-bottom:24px}.win h2{font-size:30px}.win p{color:#87927d;line-height:1.9;font-size:14px}.win-art{height:115px;margin:12px auto;width:115px;background:#edf0e3;border-radius:50%;padding:20px}.win-art .object-icon{width:100%;height:100%}.guide-list{padding-left:22px;color:#6e7e61;line-height:2.1;font-size:15px}.confirm{padding:10px 0}.confirm p{font-size:14px;line-height:1.9;color:#829176}#confetti{pointer-events:none;overflow:hidden}#confetti i{position:absolute;width:7px;height:11px;border-radius:2px;animation:fall 1.3s ease-in forwards;top:0}@keyframes fall{to{transform:translateY(600px) rotate(400deg);opacity:0}}.drag-ghost{position:fixed;pointer-events:none;width:70px;height:74px;z-index:999;filter:drop-shadow(0 8px 5px #3c352755);transform:translate(-50%,-50%)}.drag-ghost svg{width:100%;height:100%}.order.drop-hover{outline:3px solid #a8bb8b;outline-offset:-3px}.object.drag-source{opacity:.3}.inspect-note{padding:12px;background:#eef1e6;font-size:13px;border-radius:9px;line-height:1.8}.tip-number{color:#a3ae94;font-family:Georgia;font-style:italic;margin-right:6px}
@media(min-width:1400px){main{padding:0 50px 20px}.game-grid{grid-template-columns:minmax(350px,600px) minmax(270px,1fr);gap:35px}.task-panel{padding:15px 10px}.task-help{font-size:13px}.order{min-height:106px}.game-heading{padding:32px 0}}
@media(max-width:1150px){.app-shell{grid-template-columns:185px 1fr}.sidebar{padding:27px 14px}.brand{font-size:18px;gap:7px}.brand-mark{width:36px;font-size:34px}.brand small{font-size:8px}main{padding:0 22px 15px}.game-grid{grid-template-columns:minmax(300px,1fr) 230px;gap:18px}.order{padding:10px;gap:7px;grid-template-columns:43px 1fr}.order-icon{width:43px;height:43px}.order-name{font-size:14px}h2{font-size:20px}.scene-note{margin-top:18px}.side-bottom>b{font-size:11px}}
@media(max-width:900px){.app-shell{display:block}.sidebar{display:none}.topbar{height:57px}#mobileMap{display:block}.breadcrumb{margin-right:auto;margin-left:12px}.game-heading{padding:20px 0}.game-grid{grid-template-columns:minmax(300px,1fr) 240px}.game-heading h1{font-size:28px}main{max-width:850px;margin:auto}.task-panel{padding-top:4px}}
@media(max-width:650px){:root{font-size:16px}main{padding:0 12px 15px}.topbar{height:52px;border:0}.top-actions{gap:9px}.top-actions>span{font-size:10px}.breadcrumb{font-size:12px}.breadcrumb>span{margin:0 7px}.icon-button{height:32px;width:32px;font-size:20px}.game-heading{padding:10px 2px 15px}.game-heading h1{font-size:25px;margin:7px 0;letter-spacing:1px}.game-heading p{font-size:11px;line-height:1.6;max-width:255px}.eyebrow{font-size:10px;letter-spacing:1px}.collection-button{font-size:11px;padding:8px 9px;white-space:nowrap}.collection-button span{display:none}.game-grid{display:flex;flex-direction:column;gap:10px}.play-area{width:100%;order:2}.task-panel{display:contents}.task-heading,.task-help,.upcoming,.scene-note{display:none}.orders{order:1;width:100%;grid-template-columns:1fr 1fr;gap:8px}.order{min-height:75px;padding:9px;grid-template-columns:39px 1fr;gap:6px;border-radius:10px}.order-icon{width:39px;height:39px;padding:3px}.order-name{font-size:13px}.order-name span{font-size:11px}.order small{font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:130px}.order .progress-track{margin:7px 0 5px}.order.complete{padding:24px 5px}.scene-toolbar{height:44px;padding:0 8px}.modes button{font-size:11px;padding:6px 11px}.quiet{font-size:11px}.scene-caption{font-size:9px;bottom:6px;left:8px;gap:6px}.scene-caption>span:first-child{font-size:8px;padding:2px 6px}.zoom{bottom:24px;right:7px}.zoom button{width:30px;height:30px}.bottom-controls{padding:7px 2px}.bottom-controls button{font-size:11px;padding:7px 5px;min-height:40px}.bottom-controls button span{font-size:18px;margin-right:1px}.tray-section{order:3;width:100%;padding:10px 7px 12px;border:1px solid #dde1d2;border-radius:10px;background:#f9faf3}.tray-title{font-size:12px;padding:0 2px}.tray{margin:8px 0 0;gap:6px}.tray-slot{max-height:48px}.tray-section p{font-size:10px;margin-top:7px}.level-progress{order:4;width:100%;margin-top:1px;padding:3px 5px}.level-progress>div:first-child{font-size:11px;margin-bottom:8px}.level-progress .progress-track{height:4px}footer{font-size:8px;margin:15px 0 0;letter-spacing:.5px}.object .object-label{font-size:9px;letter-spacing:0;padding:2px 3px}.level-grid{grid-template-columns:repeat(3,1fr);gap:8px}.level-thumb{height:86px}.level-card>span{font-size:11px}.level-card small{font-size:9px}.map-chapter{margin-top:22px}.catalog-grid{grid-template-columns:repeat(2,1fr)}dialog{padding:29px 18px 23px;width:94vw;border-radius:15px}.dialog-intro{font-size:12px}.catalog-item b{font-size:13px}.guide-list{font-size:13px;padding-left:18px}.win h2{font-size:25px}.win>.stars{font-size:36px}#toast{font-size:12px;padding:11px 17px;bottom:20px}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}
