:root{font-family:Microsoft YaHei,PingFang SC,system-ui,sans-serif;color:#494b39;font-synthesis:none;background:#a1b5aa;--paper:#f2e6c6;--dark:#4d5641;--line:#6c7155;--green:#667b52;--red:#b76f52;--serif:"Noto Serif SC","Songti SC",SimSun,Georgia,serif}*{box-sizing:border-box}body{margin:0;overflow:hidden;min-width:320px}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:8px;color:inherit;transition:background .15s,transform .15s;border:0}button:disabled{cursor:not-allowed;opacity:.52}button:focus-visible,a:focus-visible,[role=button]:focus-visible{outline:3px solid #f8dd76;outline-offset:3px}button:not(:disabled):active{transform:translateY(2px)}a{color:inherit}svg{vertical-align:middle;flex-shrink:0}h1,h2,h3,p{margin:0}h1,h2{font-family:var(--serif)}p{line-height:1.9}#game-shell{width:100vw;height:100dvh;position:relative;overflow:hidden}#map{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;touch-action:none;-webkit-user-select:none;user-select:none;cursor:grab;background:#9db7b7}#map.dragging{cursor:grabbing}.vignette{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;box-shadow:inset 0 0 110px #324f3320}#hud{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none}#hud>*{pointer-events:auto}.top-controls{position:absolute;top:22px;left:24px;right:24px;display:flex;justify-content:space-between;align-items:flex-start;gap:20px;pointer-events:none!important}.top-left,.top-right{display:flex;gap:12px;align-items:flex-start;pointer-events:auto}.square-button{width:52px;height:52px;background:#f3e9ce;border:3px solid #575e46;border-radius:15px;box-shadow:0 4px #464b3630,inset 0 0 0 2px #fff6dc;color:#4e5740}.square-button:hover{background:#fff4d8}.square-button svg{width:25px;height:25px}.menu-button{width:61px;height:61px}.menu-button svg{width:29px;height:29px}.commission{background:#f0e4bfef;border:2px solid #7a7d5a;border-radius:8px;padding:10px 18px;min-width:225px;box-shadow:2px 4px #53604325}.commission>span{font-size:11px;color:#7b7d58;letter-spacing:1px}.commission>b{display:block;font-size:17px;margin:4px 0 8px}.progress-track{height:5px;border-radius:4px;background:#c8c9a2;overflow:hidden}.progress-track i{display:block;height:100%;background:#7b9860;transition:width .3s}.zoom-controls{position:absolute;right:25px;top:118px;display:flex;flex-direction:column;align-items:center;gap:8px}.zoom-controls>span{font-size:10px;font-weight:700;background:#f0e8ce;border:1px solid #7c825e;border-radius:5px;padding:3px 7px}.zoom-controls .square-button{width:45px;height:45px;border-radius:12px;border-width:2px}.zoom-controls .square-button:last-child{margin-top:10px}.inventory{position:absolute;bottom:18px;left:50%;transform:translate(-50%);width:min(1020px,calc(100% - 48px));padding:10px 15px 13px;background:#e8ddbbef;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);border:3px solid #666c4e;border-radius:15px;box-shadow:0 6px #414c3933,inset 0 0 0 2px #fcf1ce}.inventory-title{display:flex;justify-content:space-between;align-items:center;color:#747a55;margin:0 4px 8px;font-size:11px;gap:15px}.inventory-title>span:first-child{display:flex;align-items:center;gap:7px;font-weight:700;font-size:12px}.inventory-title svg{width:16px;height:16px}.inventory-title small{font-size:10px}.inventory-title .tool-token{display:flex;align-items:center;gap:5px;font-size:10px;margin-left:auto}.inventory-body{display:flex;align-items:center;gap:16px}.item-list{display:flex;gap:9px;flex:1;min-width:0;overflow-x:auto;padding:2px 2px 4px;scrollbar-width:thin;scrollbar-color:#92986a #ddd5b1}.item-card{flex:1;min-width:72px;max-width:100px;height:93px;position:relative;flex-direction:column;gap:2px;background:#f6ebc9;border:2px solid #8b8c68;border-radius:9px;box-shadow:0 3px #8d8e6433;padding:6px 7px}.item-card>svg{height:38px;width:38px}.item-card>span{font-size:10px;white-space:nowrap;color:#6b7350}.item-card>b{font:15px Georgia,serif;color:#454f36;line-height:1.2}.item-card em{font-style:normal;color:#9a9972;font-size:12px}.item-card.selected{border-color:#bf8951;background:#fbefc3;box-shadow:0 0 0 2px #c3a16766}.item-card.done{background:#d9e4bd;border-color:#8caa6d}.item-card.done>i{position:absolute;right:4px;top:3px;background:#7a9661;color:#faf0c9;border-radius:50%;font-style:normal;font-size:9px;width:15px;height:15px}.inventory-actions{display:flex;flex-direction:column;gap:9px;min-width:134px}.primary,.paper-button{min-height:44px;border:2px solid #67754e;border-radius:8px;font-size:13px;font-weight:700;padding:11px 19px;box-shadow:0 3px #435b3430}.primary{background:#657b53;color:#fff1ce;border-color:#485d3c}.primary:hover:not(:disabled){background:#788b60}.paper-button{background:#f2e6c6;color:#5d6949}.paper-button:hover{background:#fff0ca}.inventory-actions .primary,.inventory-actions .paper-button{font-size:12px;min-height:41px;padding:8px 13px}.text{background:none;padding:8px 0;text-decoration:underline;text-underline-offset:4px;font-size:12px;color:#71795a}.tiny{font-size:11px;padding:8px 11px;min-height:36px;border:1px solid #959d72;background:#f3e8c4;border-radius:6px}.inside-banner{position:absolute;top:115px;left:26px;display:flex;gap:14px;align-items:center;padding:10px 13px;background:#e9dfbdef;border:2px solid #7e8960;border-radius:10px;max-width:calc(100% - 110px)}.inside-banner strong{display:block;font-size:14px}.inside-banner span{display:block;font-size:11px;color:#7b835f;margin-top:5px}.inside-banner .paper-button{font-size:12px;padding:8px 12px}.collectible,.door-hit,.container,.cat-interaction{cursor:pointer}.collectible:focus-visible,.door-hit:focus-visible,.container:focus-visible,.cat-interaction:focus-visible{outline:none;filter:drop-shadow(0 0 6px #fff9b6)}.collectible:hover{filter:drop-shadow(0 0 3px #fff7c4)}.door-hit:hover rect:not([fill=transparent]){fill:#fff3cd;stroke:#bc9958}.container:hover{filter:drop-shadow(0 0 4px #f2e4b6)}.door-hit:focus-visible{filter:drop-shadow(0 0 5px #fff7a2)}.hit-area{stroke:transparent}.collectible:focus-visible .hit-area{stroke:#f6e89a;stroke-width:3}.tutorial-card{position:absolute;left:26px;bottom:182px;width:280px;background:#f3e7c7ef;border:2px solid #93946c;border-radius:11px;padding:17px;box-shadow:3px 5px #6e78512b}.tutorial-card>span{font-size:10px;letter-spacing:1px;color:#96936c}.tutorial-card>b{font:18px var(--serif);display:block;margin:9px 0;color:#596547}.tutorial-card p{font-size:12px;color:#7a805d;line-height:1.85}.tutorial-card button{margin-top:12px}.home-scrim{position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(90deg,#3d523ad9,#3d523a44 50%,transparent);pointer-events:none!important}.welcome{position:absolute;left:max(6vw,35px);top:50%;transform:translateY(-50%) rotate(-.6deg);width:420px;padding:36px 38px 28px;background:#f0e3bdee;border:3px solid #67704c;border-radius:7px;box-shadow:8px 10px #384b344d,inset 0 0 0 6px #e3d4ac}.welcome:before{content:"";position:absolute;width:94px;height:24px;background:#d5bc7fae;top:-12px;left:160px;transform:rotate(-7deg);border:1px solid #c6aa6a}.eyebrow{font-size:9px;color:#92916c;letter-spacing:2px;font-weight:700}.home-stamp{position:absolute;right:26px;top:58px;transform:rotate(12deg);border:2px solid #8b9567;border-radius:50%;width:56px;height:56px;display:grid;place-items:center}.welcome h1{font-size:42px;line-height:1.4;color:#455c3c;letter-spacing:3px;margin:26px 0 17px}.welcome h1 span{display:block;font-size:21px;letter-spacing:7px;color:#8c8e64;margin-top:2px}.home-tagline{font-size:14px;color:#7a7f57;line-height:1.95}.home-ticket{margin:24px 0 21px;padding:16px 0;border-top:1px dashed #b4af80;border-bottom:1px dashed #b4af80}.home-ticket>span{font-size:10px;color:#a29363;letter-spacing:2px}.home-ticket>strong{display:block;font:22px var(--serif);margin:6px 0}.home-ticket p{font-size:10px;color:#90916b}.welcome>.primary{width:100%;min-height:51px;font-size:15px}.home-links{display:flex;justify-content:space-between;gap:15px;margin-top:12px}.home-footnote{font-size:11px;color:#8b8d65;line-height:1.85;margin-top:22px}.completion-badge{display:block;font-size:11px;color:#687950;margin-top:16px}.home-corner{position:absolute;top:25px;right:28px;display:flex;align-items:center;gap:18px}.home-corner a{font-size:12px;color:#f5e9be;text-shadow:1px 1px #384e32}.modal-backdrop{position:absolute;top:0;right:0;bottom:0;left:0;background:#33493688;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);z-index:10;display:grid;place-items:center;padding:20px}.modal{position:relative;max-height:88dvh;overflow:auto;width:min(570px,100%);border:3px solid #69744f;border-radius:13px;background:#f2e6c6;padding:34px;box-shadow:6px 8px #283f2b38;scrollbar-width:thin}.modal-close{position:absolute;right:12px;top:12px;width:35px;height:35px;border-radius:50%;border:1px solid #a0a577;background:#e4dab7;min-height:35px}.modal h2{font-size:28px;line-height:1.55;margin:12px 0 15px;color:#4d6241}.modal p{font-size:13px;color:#7b825e}.modal h3{font:19px var(--serif);margin:24px 0 12px}.menu-grid{display:flex;flex-wrap:wrap;gap:12px;margin-top:23px}.menu-grid>button{flex:1 1 40%}.setting{display:flex;align-items:center;justify-content:space-between;gap:18px;border-bottom:1px dashed #beb68a;padding:20px 0}.setting b{font-size:14px;color:#596948}.setting p{font-size:11px;margin-top:5px}.setting button{white-space:nowrap;font-size:12px;padding:10px 14px}.design-link{display:block;margin-top:22px;font-size:12px;color:#748355}.guide{margin:14px 0 20px;padding-left:20px}.guide li{font-size:13px;color:#757e56;line-height:1.9;margin:13px 0;padding-left:5px}.guide b{display:block;color:#516845;font-size:15px}.fine-print{font-size:11px!important;color:#92946c!important;line-height:1.9}.item-large{text-align:center;margin:8px 0 18px}.modal:has(.item-large){text-align:center;width:410px}.modal blockquote{font-size:15px;color:#798157;line-height:1.9;padding:18px;margin:20px 0;background:#e6ddba;border:1px dashed #b3b58b;border-radius:8px}.modal:has(.item-large) .primary{margin-top:18px}.all-found{background:#d6e2b4;border:1px solid #9aaf78;border-radius:8px;padding:17px;font-size:15px;margin-top:20px}.result-stamp{display:inline-block;border:3px double #a47550;color:#a47550;padding:10px 19px;font:22px var(--serif);transform:rotate(-7deg);margin:25px 0 13px}.result-stats{display:flex;justify-content:space-between;gap:15px;margin:25px 0;padding:21px 0;border-top:1px dashed #b5b287;border-bottom:1px dashed #b5b287}.result-stats b{display:block;font:22px Georgia,var(--serif);color:#697f4f}.result-stats span{font-size:10px;color:#9a9970;display:block;margin-top:8px}.delivered-banner{position:absolute;top:115px;left:26px;background:#eee2b8;border:2px solid #88925c;border-radius:8px;padding:10px 15px;font-size:13px;display:flex;align-items:center;gap:12px}.minimap{position:absolute;right:88px;top:95px;width:260px;padding:13px;background:#f0e4bfee;border:2px solid #7c875d;border-radius:10px;box-shadow:3px 4px #384f3330}.minimap header{display:flex;justify-content:space-between;align-items:center;margin-bottom:9px;font-size:13px}.icon-button{width:28px;height:28px;border-radius:50%;background:#e0d9b5}.minimap>svg{width:100%;border:1px solid #8a9c77;border-radius:5px;cursor:crosshair;aspect-ratio:34/24}.minimap p{font-size:10px;color:#92956c;margin:8px 0}.district-links{display:flex;gap:5px;flex-wrap:wrap}.district-links .tiny{font-size:10px;padding:6px 9px}.hint-ring{animation:hint-pulse 1.5s ease-in-out infinite}.fountain-water{animation:water-flow 3s ease-in-out infinite}.windmill-blades{transform-origin:0 -166px;animation:windmill 90s linear infinite}#toast{position:absolute;left:50%;bottom:175px;transform:translate(-50%,12px);opacity:0;pointer-events:none;padding:13px 20px;max-width:min(610px,90vw);border:2px solid #e3d59e;border-radius:11px;background:#53694bee;color:#fff0ca;font-size:13px;line-height:1.8;z-index:25;transition:opacity .2s,transform .2s;box-shadow:0 4px 15px #344a3433}#toast.show{opacity:1;transform:translate(-50%)}#save-error:empty{display:none}#save-error{position:absolute;top:0;left:0;right:0;text-align:center;background:#f2d99f;color:#795e3f;font-size:12px;padding:9px;z-index:50;pointer-events:none}@keyframes hint-pulse{50%{opacity:.5}}@keyframes water-flow{50%{opacity:.65}}@keyframes windmill{to{transform:rotate(360deg)}}[data-motion=off] *,[data-motion=off] *:before{animation:none!important;transition:none!important}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}[data-page=home] #map{pointer-events:none}@media(max-width:1000px){.inventory{width:calc(100% - 30px);bottom:12px;padding:9px 11px 10px}.item-card{min-width:65px;height:86px}.item-card>svg{width:34px;height:34px}.item-list{gap:7px}.inventory-body{gap:10px}.inventory-actions{min-width:110px}.inventory-actions .primary,.inventory-actions .paper-button{font-size:11px;padding:8px}.tutorial-card{bottom:165px;width:250px}.top-controls{left:17px;right:17px;top:16px}.zoom-controls{right:17px}.inside-banner{left:17px}.welcome{left:6vw;width:390px;padding:28px 30px}.welcome h1{font-size:37px}.welcome:before{left:145px}.minimap{right:75px}}@media(max-width:650px){.top-controls{top:12px;left:10px;right:10px;gap:8px}.top-left,.top-right{gap:7px}.square-button{width:42px;height:44px;border-width:2px;border-radius:12px}.square-button svg{width:22px;height:22px}.menu-button{width:47px;height:49px}.commission{min-width:0;padding:7px 10px;min-width:151px;border-radius:7px}.commission>span{font-size:8px;letter-spacing:.3px}.commission>b{font-size:14px;margin:3px 0 6px}.progress-track{height:4px}.top-right .square-button{width:38px}.top-controls .top-left{flex:1}.zoom-controls{right:11px;top:94px;gap:5px}.zoom-controls .square-button{width:40px;height:42px}.zoom-controls .square-button:last-child{margin-top:5px}.zoom-controls>span{font-size:9px}.inventory{bottom:max(8px,env(safe-area-inset-bottom));left:9px;right:9px;transform:none;width:auto;border-width:2px;border-radius:11px;padding:8px}.inventory-title{gap:5px;margin:0 2px 7px;font-size:10px}.inventory-title>span:first-child{font-size:10px;gap:4px}.inventory-title>small{font-size:8px}.inventory-title .tool-token{font-size:8px}.inventory-title .tool-token>svg{width:17px;height:17px}.inventory-body{flex-direction:column;align-items:stretch;gap:7px}.item-list{flex:none;gap:7px;overflow-x:auto;padding:2px 2px 5px}.item-card{min-width:61px;max-width:61px;height:80px;padding:5px;border-radius:7px}.item-card>svg{width:33px;height:33px}.item-card>span{font-size:9px}.item-card>b{font-size:14px}.item-card em{font-size:10px}.inventory-actions{flex-direction:row;gap:8px;min-width:0}.inventory-actions>button{flex:1;min-height:40px;font-size:11px!important}.inventory-actions svg{width:17px;height:17px}.tutorial-card{left:13px;bottom:202px;width:235px;padding:13px;border-radius:9px}.tutorial-card>b{font-size:16px;margin:6px 0}.tutorial-card p{font-size:11px}.tutorial-card button{margin-top:9px;min-height:36px}.tutorial-card>span{font-size:9px}.inside-banner{top:91px;left:11px;max-width:calc(100% - 70px);padding:8px;gap:8px;flex-wrap:wrap}.inside-banner .paper-button{min-height:40px;font-size:11px;padding:8px}.inside-banner strong{font-size:12px}.inside-banner span{font-size:9px;line-height:1.6;max-width:150px;margin-top:3px}.minimap{right:62px;top:88px;width:min(245px,calc(100% - 80px));padding:11px}.minimap header{font-size:12px}.minimap .tiny{min-height:37px}.minimap>p{font-size:9px}.delivered-banner{left:12px;right:65px;top:91px;flex-wrap:wrap;padding:9px;font-size:11px;gap:8px}.home-scrim{background:#3d523a55}.welcome{left:50%;top:50%;transform:translate(-50%,-48%) rotate(-.5deg);width:calc(100% - 42px);max-width:390px;padding:28px 27px 24px}.welcome h1{font-size:36px;margin:24px 0 14px;letter-spacing:2px}.welcome h1>span{font-size:19px;letter-spacing:6px}.home-stamp{right:22px;top:53px;width:46px;height:46px}.home-stamp svg{width:31px;height:31px}.eyebrow{font-size:8px;letter-spacing:1px}.home-tagline{font-size:13px}.home-ticket{margin:17px 0;padding:13px 0}.home-ticket>strong{font-size:20px}.home-ticket>p{font-size:9px}.home-footnote{font-size:10px;margin-top:14px}.welcome>.primary{font-size:13px;min-height:48px}.home-links .text{font-size:10px}.welcome:before{left:calc(50% - 47px)}.home-corner{top:12px;right:15px;gap:12px}.home-corner .paper-button{min-height:38px;font-size:11px;padding:7px 12px}.home-corner a{font-size:10px}.modal-backdrop{padding:12px}.modal{padding:27px 23px;border-width:2px;max-height:88dvh;border-radius:11px}.modal h2{font-size:25px;padding-right:13px}.modal p{font-size:12px}.modal blockquote{font-size:14px;padding:15px}.modal-close{width:33px;height:33px;right:10px;top:10px}.setting p{font-size:10px;max-width:165px}.setting b{font-size:13px}.setting button{padding:9px 12px;font-size:11px}.guide{padding-left:18px}.guide li{font-size:12px;margin:11px 0}.guide b{font-size:14px}.menu-grid{gap:9px}.menu-grid .paper-button,.menu-grid .primary{font-size:12px;padding:10px;min-height:45px}.result-stats{gap:9px}.result-stats b{font-size:19px}.result-stats span{font-size:9px}.fine-print{font-size:10px!important}.result-stamp{font-size:20px;margin:16px 0 8px}#toast{bottom:200px;font-size:12px;padding:11px 15px;max-width:90vw;width:max-content}.item-large{margin-top:12px}.item-large svg{width:85px;height:85px}}@media(max-height:600px)and (min-width:651px){.top-controls{top:9px}.commission{padding:6px 14px}.zoom-controls{top:80px;gap:4px;right:15px}.zoom-controls .square-button{width:37px;height:37px}.inventory{bottom:8px;width:calc(100% - 150px);left:50%;padding:7px 10px}.inventory-title{margin-bottom:3px}.item-card{height:67px;min-width:58px}.item-card>svg{height:26px;width:26px}.item-card>span{font-size:8px}.item-card>b{font-size:11px}.inventory-actions .primary,.inventory-actions .paper-button{min-height:31px;font-size:10px}.inventory-actions{gap:6px;min-width:95px}.tutorial-card{left:13px;bottom:129px;width:230px;padding:11px}.tutorial-card p{font-size:10px}.tutorial-card>b{font-size:14px}.tutorial-card>span{font-size:8px}.tutorial-card button{margin-top:6px}.inside-banner{top:85px;padding:7px}.welcome{top:50%;width:430px;padding:21px 27px}.welcome h1{font-size:30px;margin:14px 0 8px}.welcome h1 span{font-size:16px}.home-tagline{font-size:11px}.home-ticket{margin:11px 0;padding:9px 0}.home-ticket strong{font-size:17px}.home-ticket p{font-size:9px}.home-footnote{display:none}.welcome>.primary{min-height:40px;font-size:12px}.home-links{margin-top:5px}.home-stamp{top:41px}.modal{max-height:92dvh;padding:23px 30px}#toast{bottom:132px}.minimap{top:75px;width:210px}.minimap>svg{max-height:115px}.minimap p{display:none}}@media(max-width:360px){.top-right{gap:5px}.top-right .square-button{width:33px}.commission{min-width:135px;padding:7px}.commission>span{font-size:7px}.commission>b{font-size:13px}.menu-button{width:42px}.welcome{padding:24px;width:calc(100% - 30px)}.welcome h1{font-size:32px}.home-stamp{width:41px;height:41px;right:17px}.inventory-title>small{display:none}}
