:root{font-family:Microsoft YaHei,PingFang SC,system-ui,sans-serif;color:#493f37;background:#eee8dc;font-synthesis:none;--cream:#fff6e7;--orange:#ed7c5e;--green:#65896e;--line:#ebdfcb;--muted:#978675}*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at top,#fff9ee,#e9e3d7);min-height:100dvh}button,input,select{font:inherit}button{border:0;cursor:pointer;transition:transform .15s,background .15s;color:inherit;background:none;touch-action:manipulation}button:active{transform:translateY(1px) scale(.985)}button:disabled{opacity:.45;cursor:default}button:focus-visible,select:focus-visible{outline:3px solid #63896e;outline-offset:3px}#app{max-width:460px;min-height:100dvh;margin:0 auto;background:var(--cream);position:relative;box-shadow:0 8px 70px #7b60421a;padding-top:env(safe-area-inset-top);padding-bottom:calc(82px + env(safe-area-inset-bottom))}.icon{width:22px;height:22px;flex-shrink:0;vertical-align:middle}header{display:flex;align-items:center;gap:10px;padding:18px 22px 13px}header small{display:block;font-size:10px;letter-spacing:3px;color:#a58c70}h1{font-size:23px;font-weight:850;letter-spacing:1px;margin:2px 0 0}h2{font-size:21px;line-height:1.4;margin:8px 0 10px}h3{font-size:16px;margin:7px 0}p{font-size:14px;line-height:1.7;margin:8px 0 14px;color:#8a7765}.brandmark{height:44px;width:44px;border-radius:14px;background:#e6ead7;display:flex;justify-content:center;align-items:center;color:#6e8567}.brandmark svg{width:29px;height:29px}.icon-button{width:44px;height:44px;display:flex;justify-content:center;align-items:center;border-radius:14px;background:#f3eadb;flex-shrink:0}header>.icon-button{margin-left:auto}.statusbar{display:flex;align-items:center;justify-content:space-between;margin:0 18px 10px;padding:9px 11px;background:#fffaf1;border:1px solid #ebdfcb;border-radius:13px;gap:6px}.statusbar>div{display:flex;align-items:center;gap:5px;font-size:12px}.statusbar .cash{color:#86622f;font-size:22px}.cash .icon{fill:#f4cd76;stroke:#b29050}.statusbar strong{font-weight:750}.marketline{margin:0 21px 11px;display:flex;align-items:center;gap:6px;font-size:11px;color:#7a8a6d}.marketline .icon{width:16px}.marketline .badge{margin-left:auto}.badge{display:inline-block;padding:3px 8px;border-radius:7px;background:#f0e6d4;font-size:11px;color:#93816c;white-space:nowrap}.badge.green{color:#66815d;background:#e5ead7}.shopstage{position:relative;height:290px;margin:0 14px;overflow:hidden;border-radius:16px;background:#ead2ad;box-shadow:0 3px #c6a779;isolation:isolate}#shop-canvas{width:100%;height:100%;display:block}.shop-sign{position:absolute;top:30px;left:50%;transform:translate(-50%);background:#fff2d9e8;padding:5px 16px;border:2px solid #a77b51;border-radius:5px;font-size:11px;letter-spacing:1px;color:#715c45;white-space:nowrap;box-shadow:0 2px 4px #5b4a3330}.customer{position:absolute;left:43%;bottom:20px;width:100px;height:190px;animation:enter .35s ease-out}.customer>svg{height:100%;width:100%;filter:drop-shadow(0 3px 2px #76573420)}.speech{position:absolute;left:16px;top:81px;width:143px;background:#fff9edef;padding:10px 12px;border-radius:12px 12px 2px;font-size:12px;line-height:1.6;box-shadow:0 2px 5px #6047291a}.scene-idle{position:absolute;top:50%;width:100%;text-align:center;color:#fff9eb;font-size:20px;text-shadow:0 1px 4px #5b4835}.scene-actions{position:absolute;bottom:11px;left:11px;right:11px;display:flex;justify-content:space-between}.scene-button{display:flex;align-items:center;gap:4px;background:#fff6e7ed;border:1px solid #c8ad89;padding:7px 9px;border-radius:8px;color:#785f49;font-size:12px;box-shadow:0 2px 4px #544b3225}.scene-button svg{width:17px;height:17px}.new-furniture{position:absolute;right:12px;top:85px;background:#e4ecd7ec;font-size:10px;color:#5f7756;padding:5px;border-radius:6px}.counter-card{margin:17px 18px 9px;background:#fffdf6;border:1px solid var(--line);border-radius:15px;padding:17px 17px 11px;box-shadow:0 4px #efdfc61a}.card-top{display:flex;justify-content:space-between;gap:8px;align-items:center}.eyebrow{font-size:10px;letter-spacing:1px;color:#a48765}.actions-left{font-size:11px;color:#8a9b72;background:#eef1e1;padding:3px 7px;border-radius:6px}.counter-card h2{font-size:19px;margin:10px 0 6px}.counter-card p{font-size:12px;min-height:38px;margin:0 0 13px}.primary,.secondary,.soft,.ad-button{min-height:44px;border-radius:11px;padding:11px 14px;font-size:14px;display:inline-flex;align-items:center;justify-content:center;gap:6px}.primary{background:var(--orange);color:#fffaf1;box-shadow:0 3px #cc634a;font-weight:700}.primary:hover{background:#e87151}.primary .icon{width:19px;margin-left:auto}.wide{width:100%;margin:6px 0}.secondary{background:#fff9ee;border:1px solid #dcc9af;color:#7b6653}.soft{background:#ede9d6;color:#7a8063}.text-button{min-height:40px;font-size:13px;color:#a88b76}.rentline{display:flex;align-items:center;justify-content:center;gap:4px;color:#ab9680;font-size:10px;margin-top:14px}.rentline .icon{width:13px;height:13px}.day-tools{display:flex;gap:9px;margin:12px 18px}.day-tools>button{flex:1;font-size:11px;min-height:38px;padding:8px}.day-tools .icon{width:16px;height:16px}nav{position:fixed;bottom:0;width:min(100%,460px);z-index:10;display:flex;background:#fffaf0;border-top:1px solid #e5d8c4;padding:10px 10px calc(10px + env(safe-area-inset-bottom));box-shadow:0 -3px 20px #8e755f0a}nav button{flex:1;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:5px;min-height:43px;color:#ac9882;font-size:10px}nav button.active{color:#df795a}nav button.active:after{content:"";height:3px;width:15px;background:#df795a;border-radius:5px;position:absolute;bottom:5px}nav .icon{height:21px;width:21px}.sheet-backdrop{position:fixed;inset:0;z-index:20;background:#3e332862;display:flex;align-items:flex-end;justify-content:center;backdrop-filter:blur(2px)}.sheet{width:min(100%,460px);max-height:94dvh;background:var(--cream);border-radius:23px 23px 0 0;display:flex;flex-direction:column;box-shadow:0 -8px 35px #493f3735;animation:slide .2s ease-out;padding-bottom:env(safe-area-inset-bottom)}.sheet-header{display:flex;align-items:center;justify-content:space-between;padding:15px 20px 12px;border-bottom:1px solid #eddfc9;flex-shrink:0}.sheet-header h2{font-size:17px;margin:0}.sheet-header .icon-button{height:34px;width:34px;border-radius:10px}.sheet-header .icon{width:18px}.sheet-body{padding:15px 20px 24px;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin}.sheet-body>h2{text-align:center}.sheet-body>p:not(.fine){line-height:1.7}.item-picture{position:relative;height:210px;background:radial-gradient(ellipse at center,#efe5cc,#fcf4e5 70%);border-radius:15px;display:flex;justify-content:center;align-items:center;margin:8px 0 13px}.item-picture>svg{width:205px;height:205px}.rare-stamp{position:absolute;bottom:11px;right:10px;padding:5px 9px;border:1px solid #dec485;border-radius:20px;background:#fff2c7;color:#b18f42;font-size:11px}.rare-stamp .icon{height:15px;width:15px;margin-right:3px}.item-meta{display:flex;gap:5px;margin:10px 0}.value-row{display:flex;justify-content:space-between;align-items:center;padding:14px 0;border-top:1px solid #e9dcc7;border-bottom:1px solid #e9dcc7;gap:8px;font-size:13px}.value-row strong{font-size:18px;color:#7a6954}.fine{font-size:11px!important;color:#a28d78!important;line-height:1.6!important}.clue{display:flex;align-items:center;gap:10px;background:#e9eedb;color:#6b7c59;border:1px solid #d9dfc6;border-radius:11px;padding:12px;font-size:12px;line-height:1.8;margin:13px 0}.clue .icon{height:23px;width:23px}.clue b{font-weight:600}.quote{display:flex;justify-content:space-between;align-items:center;background:#f7e5c4;border-radius:12px;padding:15px;margin:15px 0 8px}.quote>span{font-size:13px;color:#94734f}.quote>strong{font-size:30px;color:#8b633b}.quote small{font-size:12px}.small-row{display:flex;justify-content:space-between;gap:8px;font-size:11px;color:#9b8873;margin:9px 0 15px}.button-row{display:flex;gap:9px;margin:8px 0}.button-row>button{flex:1;min-width:0}.npc-line{display:flex;align-items:center;gap:11px;border-bottom:1px solid #eadbc5;padding:0 0 9px}.npc-line svg{width:38px;height:65px}.npc-line p{font-size:12px;margin:4px 0}.npc-line strong{font-size:14px}.profit-row{display:flex;justify-content:space-between;font-size:13px;margin:14px 0}.positive{color:#5a926b!important}.negative{color:#c56e57!important}.select-row{font-size:12px;color:#a58c73;display:flex;justify-content:space-between;align-items:center;margin:13px 0;gap:6px}select{max-width:75%;border:1px solid #dfcdb6;background:#fff8eb;padding:9px;border-radius:8px;color:#7f6953;font-size:12px}.section-intro h2{font-size:21px}.section-intro p{font-size:13px}.filters{display:flex;gap:6px;justify-content:space-between;margin:17px 0}.filters button{padding:7px 9px;border-radius:7px;font-size:12px;background:#f2e9d7;color:#9b876f}.filters .chosen{color:#fff;background:#889b76}.inventory-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:17px}.item-card{display:flex;flex-direction:column;align-items:center;border:1px solid #e4d7be;border-radius:12px;background:#fff9ed;padding:8px;min-width:0;text-align:center}.item-card>svg{width:100%;height:118px}.item-card strong{font-size:13px;margin:3px}.item-card span{font-size:10px;color:#a18b73;margin:3px;line-height:1.5}.item-card small{font-size:10px;color:#809570;margin:3px}.item-card.displayed{border-color:#7f9e7d}.item-card.undiscovered{opacity:.55}.empty-slot{height:165px;border:1px dashed #dfd3bd;border-radius:12px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;color:#c4b59e;font-size:11px}.empty-slot svg{height:29px;width:29px}.workbench-list>div{display:flex;gap:7px;font-size:12px;color:#938269;padding:12px 0;border-bottom:1px solid #e9dac2}.processing{background:#e6ebd9;padding:15px;border-radius:11px;font-size:13px;color:#789063;text-align:center;margin:15px 0}.processing .icon{margin-right:7px}.clean-area{position:relative;height:260px;background:#f1e7d3;border-radius:16px;touch-action:none;overflow:hidden}.clean-area>svg{position:absolute;inset:0;margin:auto;width:250px;height:250px}.clean-area canvas{position:absolute;width:100%;height:100%;inset:0;touch-action:none}.clean-progress{margin:16px 0;font-size:13px;color:#8b9b75}.clean-progress progress{display:block;width:100%;margin-top:8px;accent-color:#8b9b75}.appraisal-result{text-align:center;background:#f2ead4;padding:15px;border-radius:13px;margin:18px 0;color:#a4874e}.appraisal-result>.icon{width:30px;height:30px}.appraisal-result p{font-size:12px;margin-bottom:0}.repair-parts{display:flex;align-items:center;justify-content:center;gap:20px;margin:20px}.part,.part-slot{width:105px;height:85px;border-radius:12px;border:1px dashed #b6bb96;font-size:12px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:8px;background:#edf0df;color:#80926e}.part-slot{background:#f7efdc;border-color:#ccbaa0}.upgrade-card{display:flex;align-items:center;gap:9px;margin:10px 0;background:#fffaf0;border:1px solid #e9ddc7;border-radius:13px;padding:13px 10px}.upgrade-card>div:nth-child(2){flex:1;min-width:0}.upgrade-icon{width:40px;height:40px;background:#e8ecd9;display:flex;justify-content:center;align-items:center;border-radius:11px;color:#7c8c69}.upgrade-card h3{font-size:13px;margin:0 0 5px}.upgrade-card p{font-size:10px;margin:0}.upgrade-card button{font-size:10px;min-height:38px;padding:8px}.order-card{padding:15px;background:#fffaf0;border:1px solid #e9d9c0;border-radius:13px;margin:12px 0}.order-card p{font-size:13px}.summary-hero,.feedback{text-align:center;padding:15px 0}.summary-hero>svg,.feedback>svg{width:52px;height:52px;color:#8b9e77;margin:7px auto 15px;display:block}.summary-hero>span,.feedback>span{font-size:13px;color:#a78964}.summary-hero h2{font-size:43px;margin:13px 0 0}.feedback h2{font-size:31px;color:#8d6b3f;margin:20px 0}.summary-rows{padding:12px 16px;background:#fff9ec;border:1px solid #ebdec5;border-radius:12px;margin:12px 0}.summary-rows>div,.ledger>div{display:flex;justify-content:space-between;font-size:12px;padding:9px 0;gap:10px;border-bottom:1px solid #eee0cb}.summary-rows>div:last-child,.ledger>div:last-child{border-bottom:0}.ledger>div span{flex:1}details{font-size:12px;color:#9b8167;padding:13px 0}.ad-button{font-size:11px;color:#889573;background:#eff0df;border:1px dashed #c8ccac;margin-top:10px}.ad-button .icon{width:17px;height:17px}.ad-preview{height:160px;background:#e8ecd8;border-radius:15px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:15px;color:#879874;margin-bottom:20px}.ad-preview .icon{width:50px;height:50px}.toast{position:fixed;bottom:90px;left:50%;transform:translate(-50%);z-index:40;background:#574b3e;color:#fff9ee;padding:13px 16px;border-radius:12px;width:min(90%,390px);box-shadow:0 5px 20px #493f3730;font-size:13px;line-height:1.6;display:flex;gap:13px;align-items:center}.toast button{font-size:11px;color:#f6dcb5;white-space:nowrap}.save-warning{position:fixed;top:10px;z-index:45;background:#ae5f4c;color:#fff;padding:12px;max-width:440px;font-size:12px;border-radius:10px}.boot{padding:40px;text-align:center;color:#a18b72}.reduced-motion *{animation:none!important;transition:none!important}@keyframes enter{0%{transform:translate(45px);opacity:0}to{transform:translate(0);opacity:1}}@keyframes slide{0%{transform:translateY(40px);opacity:.4}to{transform:translateY(0);opacity:1}}@media(min-width:650px){body{padding:28px 0}#app{border-radius:22px;overflow:hidden;min-height:max(850px,calc(100dvh - 56px))}nav{border-radius:0 0 22px 22px;bottom:28px}.sheet{border-radius:22px;max-height:88dvh;margin-bottom:30px}.sheet-backdrop{align-items:center}.shopstage{height:300px}}@media(max-height:730px)and (max-width:649px){header{padding-top:10px;padding-bottom:8px}h1{font-size:21px}.shopstage{height:220px}.customer{height:162px;bottom:17px}.speech{top:66px;width:131px;padding:8px;font-size:10px}.shop-sign{top:22px}.counter-card{margin-top:12px;padding:12px}.counter-card h2{font-size:17px}.counter-card p{min-height:30px;font-size:11px;margin-bottom:7px}.counter-card .primary{min-height:42px}.rentline{margin-top:10px}.day-tools{margin-top:9px}.marketline{margin-bottom:8px}.sheet{max-height:96dvh}}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}.npc-portrait{display:block;position:relative;overflow:hidden;width:100%;height:100%;isolation:isolate;flex-shrink:0}.npc-portrait>img{position:absolute;top:0;left:calc(var(--pose)*-100%);width:300%;height:100%;max-width:none;pointer-events:none}.customer{left:57%;width:120px;height:240px;bottom:18px;filter:drop-shadow(0 4px 3px #6347212b)}.speech{top:75px;width:170px;padding:11px 12px;font-size:11px;line-height:1.7}.speech>strong{font-size:13px;display:inline-block;color:#66594d}.speech>small{display:block;color:#aa8b6e;font-size:9px;margin:1px 0 5px}.speech>p{font-size:11px;line-height:1.7;margin:0;color:#826d57}.npc-line{min-height:125px;align-items:center;gap:14px}.npc-line>.npc-portrait{width:62px;height:124px}.npc-line>div{flex:1;min-width:0}.npc-line p{font-size:12px;line-height:1.8;margin:5px 0}.npc-title{display:block;font-size:10px;color:#a28b73;margin:3px 0}@media(max-height:730px)and (max-width:649px){.customer{left:61%;width:91px;height:182px;bottom:12px}.speech{top:58px;width:156px;padding:8px 10px}.speech>p{font-size:10px}.speech>small{font-size:9px;margin-bottom:2px}}@media(max-width:375px){.speech{width:148px}.customer{left:60%}}.neighbor-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.neighbor-card{min-width:0;padding:10px 10px 14px;background:#fffaf0;border:1px solid #e6d8c2;border-radius:14px;text-align:center}.neighbor-card>.npc-portrait{width:85px;height:170px;margin:0 auto}.neighbor-card h3{font-size:15px;margin:8px 0 3px;color:#66594d}.neighbor-card small,.neighbor-card span{font-size:10px;color:#a48b70}.neighbor-card p{font-size:11px;line-height:1.8;margin:8px 0;color:#8b775f}
