/* Spatial shop: one continuous room, physical objects, no document-page navigation. */
html,body{width:100%;height:100%;overflow:hidden;overscroll-behavior:none}body{background:#171c18}body:before{display:none}#app{width:100%;height:100%}.shop-room{position:relative;width:100vw;height:100svh;overflow:hidden;background:#17241e;isolation:isolate}.shop-viewport{position:absolute;inset:0;overflow-x:auto;overflow-y:hidden;scrollbar-width:none;touch-action:pan-x;overscroll-behavior-x:contain}.shop-viewport::-webkit-scrollbar{display:none}.shop-world{position:relative;width:max(100vw,150svh);height:100svh;background:url('./assets/shop.png?v=8') center/cover;isolation:isolate}.room-ambient{position:absolute;inset:0;background:linear-gradient(180deg,#09191726,transparent 28%,transparent 70%,#17120a44);pointer-events:none;transition:background .5s}#shop-live{position:absolute;inset:0;z-index:2}#shop-hud{position:absolute;inset:0;z-index:10;pointer-events:none}#shop-foreground{position:absolute;inset:0;z-index:8;pointer-events:none}#shop-hud button,#shop-foreground button{pointer-events:auto}button{touch-action:manipulation}.shop-room button{border-radius:2px}.shop-room button:focus-visible{outline:2px solid #ffe4a8;outline-offset:4px}.shop-room button:disabled{opacity:.42;filter:saturate(.35)}
.shop-room{user-select:none}
.shop-sign{position:absolute;top:15px;left:50%;transform:translateX(-50%);background:#2c3022e8;border:2px solid #a4864e;box-shadow:inset 0 0 0 3px #18271b,0 6px 16px #0005;padding:6px 23px;text-align:center;min-width:165px;color:#ead7ab}.shop-sign:before,.shop-sign:after{content:"";position:absolute;top:-22px;height:22px;width:1px;background:#c9ae6b}.shop-sign:before{left:20%}.shop-sign:after{right:20%}.shop-sign>span{display:block;font:29px/1.2 var(--display);letter-spacing:.14em}.shop-sign>small{font:9px/1.5 var(--serif);letter-spacing:.12em;color:#c8b888}.room-preferences{position:absolute;right:18px;top:17px;display:flex;gap:6px;pointer-events:auto}.room-pref{min-height:38px;width:39px;padding:5px;background:#19281fc9;color:#e5c998;border:1px solid #a38a5366;font-size:14px;box-shadow:0 2px 4px #0004}.keeper-purse{position:absolute;top:18px;left:20px;color:#f1dab0;padding:7px 13px;background:#10291ed4;border:1px solid #b0925066;border-radius:3px;box-shadow:0 4px 14px #0003}.keeper-purse>span{font:12px var(--serif);display:block}.keeper-purse strong{font:24px Georgia;margin-left:8px;color:#f6d991}.keeper-purse>small{display:block;font-size:10px;color:#c6c9ae;margin-top:4px}.room-day{position:absolute;top:97px;left:23px;padding:8px 9px 11px;background:#e2cf9ee6;border-top:4px solid #89663e;box-shadow:2px 4px 10px #0004;min-width:59px;text-align:center;color:#5d4b30;transform:rotate(-3deg)}.room-day small{font:10px var(--serif);display:block}.room-day strong{display:block;font:25px var(--display);margin-top:2px}.room-day>span{font:10px Georgia}
.room-customer{position:absolute;width:min(44svh,410px);height:min(44svh,410px);left:50%;top:5.5%;transform:translateX(-50%);pointer-events:none;z-index:2;animation:room-arrive .45s ease-out}.room-customer>.portrait{position:static;inset:auto;width:100%;height:100%}.room-customer.customer-leaving{animation:room-leave .55s ease-in forwards}.customer-speech{position:absolute;top:26%;left:24%;width:clamp(225px,23vw,310px);background:#e9dcc0ed;border:1px solid #fff0c9;color:#35432e;padding:14px 17px;z-index:4}.customer-speech:after{content:"";position:absolute;right:-18px;bottom:-1px;border-left:18px solid #e9dcc0ed;border-top:18px solid transparent}.customer-speech>div{display:flex;justify-content:space-between;gap:10px;font-size:10px;color:#82663d}.customer-speech small{font-size:9px}.customer-speech h1{font:21px/1.4 var(--display);margin:5px 0 8px;color:#4c4b2d}.customer-speech p{font:15px/1.85 var(--serif)}.customer-speech footer{font-size:10px;color:#827755;border-top:1px solid #9b895733;padding-top:7px;margin-top:10px}
.room-treasure{position:absolute;left:50%;bottom:22%;transform:translateX(-50%);width:clamp(225px,31svh,330px);height:clamp(225px,31svh,330px);padding:0;min-height:0;z-index:4;background:transparent!important;border:0;box-shadow:none!important;filter:drop-shadow(0 14px 7px #17231677)}.room-treasure:hover:not(:disabled){transform:translateX(-50%) translateY(-5px)}.room-treasure:active:not(:disabled){transform:translateX(-50%) scale(.97)}.room-item-art{position:relative;width:100%;height:100%;filter:none;z-index:2}.item-contact-shadow{position:absolute;left:15%;right:15%;bottom:9%;height:17px;border-radius:50%;background:#16241899;filter:blur(11px);z-index:0}.treasure-tag{position:absolute;left:50%;bottom:17%;transform:translateX(-50%) rotate(-2deg);min-width:220px;max-width:290px;min-height:60px;padding:8px 17px;background:#e4d3afef url('./assets/silk-weave.svg');color:#3f4b30;border:1px solid #f1dab0;box-shadow:2px 4px 7px #21160755;z-index:5;text-align:left}.treasure-tag:before{content:"";position:absolute;inset:6px auto 6px 7px;border-left:1px solid #ad956455}.treasure-tag>small{font:9px var(--sans);display:block;color:#8c7350}.treasure-tag>strong{display:block;font:23px/1.6 var(--display)}.treasure-tag>span{display:block;font-size:10px;color:#63704b}.treasure-tag>em{display:block;font-size:9px;color:#9c603e}.treasure-tag:hover:not(:disabled){transform:translateX(-50%) rotate(0);background-color:#f4e7c9}.treasure-tag:active:not(:disabled){transform:translateX(-50%) scale(.98)}.empty-counter{position:absolute;left:50%;bottom:24%;transform:translateX(-50%);width:200px;min-height:140px;background:#1533273d;border:1px dashed #dfc48b77;color:#f0d6a5;z-index:4;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:5px}.empty-counter .shop-prop-art{width:110px;height:90px}.empty-counter>span{font-size:12px}
.counter-tray{position:fixed;left:0;right:0;bottom:0;transform:none;display:flex;align-items:stretch;justify-content:center;justify-content:safe center;gap:5px;width:auto;max-width:none;padding:6px 8px;background:#16261dee;border:2px solid #0c1611;box-shadow:inset 0 0 0 1px #a4864e44,4px 4px 0 #070d0bb3;z-index:5;overflow-x:auto;overflow-y:hidden;scrollbar-width:none}.counter-tray::-webkit-scrollbar{display:none}.counter-tray>header{position:sticky;left:0;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:1px;padding-right:4px;border-right:2px solid #3c5747;color:#e6cf9b}.counter-tray>header>span{font:13px/1.1 var(--display)}.counter-tray>header>small{font:9px/1.1 Georgia;color:#b5bd93}.tray-slots{display:contents}.tray-slot{position:relative;flex:none;width:clamp(34px,3.6vw,46px);height:clamp(34px,3.6vw,46px);min-height:0;padding:2px;background:#0c1713;border:2px solid #5d8271;box-shadow:none!important;color:#6b8b7b;display:flex;align-items:center;justify-content:center;overflow:hidden}.tray-slot .slot-art{display:contents}.tray-slot .item-art{width:100%;height:100%;filter:none}.tray-slot.vacant{border-color:#3d6353;font:15px/1 var(--serif)}.tray-slot.chosen{border-color:#efcd86;background:#213729}.tray-slot:hover:not(:disabled){border-color:#dcbc78;background:#2a4632}.slot-mark,.slot-shelf{position:absolute;top:0;font:8px/1.4 var(--sans);font-style:normal;pointer-events:none;text-shadow:0 1px #000}.slot-mark{left:2px;color:#f4d88f}.slot-shelf{right:2px;color:#9fd7bd}.tray-tools{position:sticky;right:0;flex:none;display:flex;gap:4px;align-items:stretch;padding:0 2px 0 6px;margin-left:auto;background:#16261dee;border-left:2px solid #3c5747}.laid-instrument{position:relative;display:flex;align-items:center;justify-content:flex-end;flex-direction:column;min-width:84px;min-height:103px;padding:2px 7px 7px;background:transparent;border:0;color:#f0d7a6;box-shadow:none!important;text-shadow:0 1px 4px #111}.laid-instrument .instrument-art{width:46px;height:62px;filter:drop-shadow(4px 8px 3px #1e170b99);transition:transform .15s}.laid-instrument:nth-child(2) .instrument-art{transform:rotate(-20deg)}.laid-instrument:nth-child(3) .instrument-art{transform:rotate(17deg)}.laid-instrument>span{font:15px var(--display);margin-top:2px}.laid-instrument>small{font-size:9px;color:#e1d0a3;line-height:1.3}.laid-instrument:hover:not(:disabled){background:#d7c58b18;box-shadow:inset 0 -1px #d8bf80!important}.laid-instrument:hover:not(:disabled) .instrument-art{transform:translateY(-5px) rotate(0)}.laid-instrument.used:after{content:"✓";position:absolute;right:5px;top:20px;color:#c4dcad;font-size:13px}.tray-tools .laid-instrument{width:clamp(44px,4.4vw,58px);min-width:0;min-height:0;padding:1px 2px 2px;justify-content:center;gap:1px}
.tray-tools .laid-instrument .instrument-art{width:24px;height:31px;transform:none;filter:none}
.tray-tools .laid-instrument>span{font:11px/1.1 var(--display);margin-top:0}
.tray-tools .laid-instrument>small{font-size:7px;line-height:1.25;white-space:nowrap}
.tray-tools .laid-instrument:hover:not(:disabled){background:#d7c58b22}
.tray-tools .laid-instrument:hover:not(:disabled) .instrument-art{transform:translateY(-2px)}
.tray-tools .laid-instrument.used:after{top:11px;right:3px;font-size:11px}
.room-stamp{position:absolute;left:57%;bottom:25%;transform:rotate(-13deg);z-index:6;color:#e9b697;background:#783e2ec9;border:4px double #d09b75;font:34px var(--display);padding:6px 15px;letter-spacing:.1em;box-shadow:0 0 0 1px #4e281c;animation:room-stamp .2s ease-out}
.room-object{position:absolute;background:transparent;border:0;color:#eddbad;box-shadow:none!important;z-index:5;padding:0;min-height:46px;text-align:center;overflow:visible}.room-object:hover:not(:disabled){background:#b19d5821;box-shadow:inset 0 0 0 1px #e5c68b66!important}.object-gleam{position:absolute;inset:5px;border:1px solid transparent;box-shadow:none;pointer-events:none}.object-caption{position:absolute;left:50%;bottom:-15px;transform:translateX(-50%);white-space:nowrap;background:#2c2c1edb;color:#eed5a0;border:1px solid #c29f6677;padding:4px 11px;font:14px var(--display);text-shadow:0 1px #000;box-shadow:0 3px 6px #0004}.object-inventory{left:7%;top:22%;width:18%;height:34%}.object-market{left:78.8%;top:12%;width:8%;height:25%}.object-market .object-caption{font-size:13px}.object-display{left:85.6%;top:37%;width:13%;height:21%}.cabinet-count{position:absolute;right:5px;top:3px;background:#1e3123da;border:1px solid #b8a16b77;padding:2px 6px;font:11px Georgia;color:#e8cc8e}.shelf-treasures{position:absolute;inset:26% 0 0;display:flex;justify-content:center;align-items:center;gap:5px;pointer-events:none}.shelf-treasures .item-art{width:66px;height:66px;filter:drop-shadow(1px 5px 3px #0008)}.shop-prop-art{display:block;width:100%;height:100%;filter:drop-shadow(0 7px 5px #1d160c99)}.object-ledger{left:8.8%;bottom:19%;width:145px;height:115px;transform:rotate(-7deg)}.object-ledger .object-caption{bottom:0}.object-letters{left:22%;bottom:25%;width:106px;height:88px;transform:rotate(6deg)}.object-letters .object-caption{font-size:12px;bottom:-6px}.object-guide{left:2.1%;bottom:27%;width:83px;height:83px;transform:rotate(-9deg)}.object-guide .object-caption{font-size:12px;bottom:-5px}.object-workshop{left:9%;top:58%;width:138px;height:68px}.workshop-tools{display:flex;align-items:center;justify-content:center;transform:rotate(-12deg)}.workshop-tools .instrument-art{height:56px;width:46px}.object-workshop .object-caption{font-size:12px;bottom:-9px}.object-lamp{left:71.3%;top:34%;width:7.5%;height:15%;border-radius:50%}.object-lamp .object-caption{font-size:12px;bottom:-12px}.lantern-glow{position:absolute;inset:-15px;border-radius:50%;background:radial-gradient(ellipse,#f1ca6d66,transparent 70%);mix-blend-mode:screen;pointer-events:none;animation:lantern-breathe 4s ease-in-out infinite}.counter-bell{position:absolute;right:2.8%;bottom:11.5%;width:110px;height:115px;z-index:5;padding:0 3px;background:transparent;border:0;color:#ead39a;box-shadow:none!important}.counter-bell>.shop-prop-art{height:85px}.counter-bell>span{display:block;font:12px var(--display);text-shadow:0 2px 3px #000}.counter-bell:hover:not(:disabled){background:#ba9b5b14}.counter-bell:active:not(:disabled){transform:rotate(-4deg)}
.room-contract{position:absolute;right:12%;bottom:max(126px,11%);width:260px;background:#e3d1a9f5 url('./assets/silk-weave.svg');border:1px solid #f4dfb4;color:#41482f;padding:13px 17px 16px;box-shadow:3px 7px 12px #25180777;transform:rotate(3deg);pointer-events:auto}.room-contract:before{content:"";position:absolute;inset:7px;border:1px solid #ad976148;pointer-events:none}.contract-top{display:flex;align-items:baseline;justify-content:space-between;gap:12px;padding:0 0 8px}.contract-top>small{font:13px var(--display);color:#73613f}.contract-top>strong,.contract-amount{font:38px Georgia;color:#79552d}.contract-top em,.contract-amount em{font:13px var(--sans);margin-left:5px}.room-contract>small{font-size:11px;color:#7b6a47;display:block}.room-contract>p{font-size:12px;margin-block:8px}.contract-taste{border-top:1px solid #9d895a44;padding-top:9px;font-family:var(--display);color:#5c5a35}.contract-taste small{display:block;font:10px/1.7 var(--sans);color:#777556;margin-top:4px}.contract-actions{display:flex;align-items:stretch;gap:10px;margin-top:7px}.seal-action{min-height:43px;padding:9px 16px;color:#fff0cd;background:#925c3e;border:1px solid #d2a274;box-shadow:inset 0 0 0 2px #71492f,0 3px 0 #61452c;font:16px var(--display)}.seal-action:hover:not(:disabled){background:#ad7250;color:#fff3d4;box-shadow:inset 0 0 0 2px #8a5a37,0 3px 0 #61452c}.seal-action:active:not(:disabled){box-shadow:inset 0 3px 7px #59361f;transform:translateY(2px)}.ink-action{min-height:41px;padding:8px 12px;background:transparent;color:#566044;border:1px solid #9a895a66;font:14px var(--display);box-shadow:none}.ink-action:hover:not(:disabled){background:#fff1c766;border-color:#8d7346;color:#3e4e30;box-shadow:none}.contract-actions>.seal-action{flex:1}.contract-actions>.ink-action{flex:1;padding-inline:7px}.verify-paper{font-size:12px;min-height:32px;padding:4px 8px;margin-top:5px}.expose-paper{background:none;border:0;border-bottom:1px dashed #a36a45;color:#955e3d;font:12px var(--display);padding:8px 0 3px;min-height:36px;width:100%;box-shadow:none}.contract-warning{color:#985e42!important;font-size:10px!important;margin-top:7px}.room-contract .seal-action:disabled,.room-contract .ink-action:disabled{opacity:.45}.room-contract .ink-action:focus-visible{outline-color:#775530}
.camera-ways{position:absolute;inset:0;pointer-events:none}.camera-ways button{position:absolute;pointer-events:auto;min-height:56px;background:#263125d9;color:#f1d7a0;border:1px solid #bca16a77;box-shadow:0 3px 9px #0005;padding:3px 5px;font:29px var(--serif);width:48px}.camera-ways button>span{display:block;font:10px/1.3 var(--sans);white-space:normal}.camera-left{left:9px;top:46%}.camera-right{right:9px;top:46%}.camera-ways .camera-center{left:50%;top:91px;transform:translateX(-50%);width:83px;min-height:35px;font-size:16px;padding:3px 8px}.camera-center>span{display:inline!important;margin-left:5px;font-size:10px}.camera-center:active:not(:disabled){transform:translateX(-50%) translateY(1px)}body[data-pannable=false] .camera-ways{display:none}body[data-camera=counter] .camera-center{opacity:0;pointer-events:none}body[data-pan-edge=left] .camera-left,body[data-pan-edge=right] .camera-right{opacity:0;pointer-events:none}body[data-camera]:not([data-camera=counter]) .room-contract{opacity:0;pointer-events:none}body[data-camera]:not([data-camera=counter]) .counter-tray,body[data-camera]:not([data-camera=counter]) .customer-speech,body[data-camera]:not([data-camera=counter]) .room-customer{opacity:0;pointer-events:none}body[data-camera]:not([data-camera=counter]) .room-contract button{pointer-events:none}.shop-controls-hint{position:absolute;left:20px;bottom:13px;font-size:10px;color:#ddd0a8b0;text-shadow:0 1px 4px #000}.scene-onboarding{position:absolute;top:11.5%;left:50%;transform:translateX(-50%);max-width:460px;color:#eee0b9;background:#183026d6;border:1px solid #d7be8277;font:12px/1.9 var(--serif);padding:9px 14px;z-index:6;pointer-events:none}.scene-onboarding:empty{display:none}
.scene-tutorial{position:absolute;top:13.5%;left:50%;transform:translateX(-50%);width:min(460px,86vw);background:#183026e8;border:2px solid #d7be82aa;box-shadow:4px 4px 0 #0007;color:#f2e5bd;font:11px/1.6 var(--serif);padding:6px 11px;z-index:9;pointer-events:none}
.scene-tutorial header{display:flex;justify-content:space-between;align-items:center;gap:10px}
.scene-tutorial small{color:#e0bd7c;font:10px/1.4 var(--display);letter-spacing:.16em}
.scene-tutorial p{margin:3px 0 0}
.scene-tutorial .tut-skip,.tut-note .tut-skip{pointer-events:auto;background:#3a3222;color:#f0dcae;border:1px solid #c9a86f88;box-shadow:2px 2px 0 #0006;font:11px var(--serif);padding:4px 10px;min-height:28px}
.tut-note{background:#183026d9;border:1px solid #d7be8277;color:#f2e5bd;font:11px/1.8 var(--serif);padding:7px 10px;margin:6px 0}
.tut-note small{display:block;color:#e0bd7c;letter-spacing:.14em;font-size:9px;margin-bottom:3px}
body[data-tut=treasure] .room-treasure{outline:3px solid #f0d4a0;outline-offset:5px}
body[data-tut=price] .room-contract .seal-action:not([disabled]){outline:3px solid #f0d4a0;outline-offset:3px}
body[data-tut=tools] .inspection-tabs{outline:3px solid #f0d4a0;outline-offset:4px}
.opening-sign{position:absolute;left:50%;top:42%;transform:translate(-50%,-50%) rotate(-1deg);width:370px;max-width:calc(100vw - 36px);padding:28px 32px 30px;background:#21362ae8 url('./assets/silk-weave.svg');border:3px double #bd9f68;box-shadow:0 20px 60px #051e1da1,inset 0 0 0 6px #162a20;text-align:center;pointer-events:auto;color:#ecd6aa}.opening-sign:before,.opening-sign:after{content:"";position:absolute;top:-90px;height:90px;width:2px;background:#b6975c}.opening-sign:before{left:20%}.opening-sign:after{right:20%}.opening-sign>img{width:43px;height:43px}.opening-sign h1{font:68px/1.4 var(--display);letter-spacing:.08em;margin:8px 0}.opening-sign p{font:18px/1.8 var(--display);letter-spacing:.07em}.opening-sign>small{font:12px/1.9 var(--serif);color:#c5c8a9;display:block;margin:15px 0 23px}.opening-sign>div{display:flex;justify-content:center;gap:9px;flex-wrap:wrap}.opening-sign .ink-action{color:#d7c99f;border-color:#ad9a6666}.opening-sign .seal-action{min-width:145px}.shop-unopened .room-ambient{background:#071e1730}.shop-unopened .shop-sign{opacity:.8}.shop-unopened .keeper-purse{display:none}
body[data-screen=night] .room-ambient{background:radial-gradient(ellipse at 74% 44%,#d69b3e17 0,transparent 24%),linear-gradient(180deg,#041a29a3,#05252555 52%,#18190938)}body[data-screen=night] .object-ledger{filter:drop-shadow(0 0 7px #ebc27b66)}body[data-screen=night] .room-object{z-index:6}.closed-shop-note{position:absolute;left:50%;top:25%;transform:translateX(-50%);width:370px;color:#e9d7b3;text-align:center;text-shadow:0 3px 10px #00120f}.night-brush{font:64px/1 var(--display);color:#dfc28e}.closed-shop-note h1{font:34px var(--display);letter-spacing:.1em;margin:12px 0}.closed-shop-note p{font:14px/1.9 var(--serif);max-width:340px;margin:auto}.night-counter-book{position:absolute;left:44%;bottom:15%;transform:translateX(-50%) rotate(-7deg);width:310px;height:220px}.night-counter-book>.shop-prop-art{height:100%;width:100%}.night-book-label{position:absolute;left:32%;top:47%;padding:5px 10px;background:none;border:0;color:#5a5839;font:21px var(--display);box-shadow:none}.contract-night{width:285px;right:17%;bottom:15%;transform:rotate(3deg)}.night-accounts{display:grid;gap:9px;margin:12px 0}.night-accounts>span{display:flex;justify-content:space-between;gap:14px;font-size:11px;color:#706145}.night-accounts b{font:18px Georgia;color:#67502f}.night-grudge{margin:0 0 9px;padding:4px 7px;font:11px/1.4 var(--serif);color:#8a3626;border:2px solid #b5654a;background:#e9cfae;box-shadow:inset 0 0 0 1px #fff5e0aa}.keeper-purse>small.purse-grudge{color:#e8a58c}.contract-night .contract-actions{border-top:1px solid #9b895a55;padding-top:11px;flex-wrap:wrap}.contract-night .ink-action{white-space:nowrap}.contract-night .seal-action{font-size:14px}.license-scroll{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%) rotate(-1deg);width:570px;max-height:84svh;overflow:auto;background:#e4d2ae url('./assets/silk-weave.svg');padding:35px 36px 29px;border-block:10px solid #65502e;box-shadow:0 15px 40px #001d19a1;text-align:center;color:#39452e;z-index:7}.license-seal{display:block;border:3px double #a45d45;color:#a45d45;font:55px/1.3 var(--display);width:85px;margin:0 auto 17px;transform:rotate(-7deg)}.license-scroll>small{font:11px var(--serif);color:#8a7452}.license-scroll h1{font:31px/1.7 var(--display);margin:10px 0}.license-scroll>p{font:14px/1.9 var(--serif);color:#66704c}.license-scroll dl{display:flex;justify-content:space-between;gap:10px;border-block:1px solid #ad986066;padding:14px 0;margin:20px 0}.license-scroll dt{font-size:11px;color:#80704d}.license-scroll dd{font:23px Georgia;color:#795c32;margin:9px 0 0}.license-scroll>div{display:flex;justify-content:center;gap:12px}
.shop-closeup{position:fixed;inset:0;margin:auto;padding:0;max-height:91svh;width:min(900px,calc(100vw - 28px));max-width:none;border:2px solid #9f8050;border-radius:2px;background:#e0ceaa url('./assets/silk-weave.svg');color:#425137;box-shadow:0 24px 80px #001b19aa;overscroll-behavior:contain}.shop-closeup::backdrop{background:#061b1d88;backdrop-filter:blur(1.5px)}.shop-closeup .dialog-heading{position:sticky;top:0;z-index:10;background:#dbc69e;border-bottom:1px solid #a28a5b88;padding:14px 21px;display:flex;justify-content:space-between;align-items:center;gap:16px}.shop-closeup .dialog-heading h2{font:27px var(--display);color:#574c2e}.close-object{background:transparent;color:inherit;border:1px solid #8e774955;min-width:42px;min-height:42px;padding:4px;font:26px var(--serif);box-shadow:none}.shop-dialog-body{padding:22px 25px 27px}.shop-closeup .ink-action:focus-visible,.shop-closeup .seal-action:focus-visible{outline-color:#735532}.skin-cabinet,.skin-workshop{background:#4f3923;border:7px ridge #9b7749;color:#e5cfa2;width:min(960px,calc(100vw - 20px))}.skin-cabinet .dialog-heading,.skin-workshop .dialog-heading{background:#3a3221;border-bottom:3px ridge #9f7d4b;color:#e4c68e}.skin-cabinet .dialog-heading h2,.skin-workshop .dialog-heading h2{color:#edd5a3}.skin-cabinet .shop-dialog-body,.skin-workshop .shop-dialog-body{padding:20px}.cabinet-instruction{font:13px/1.9 var(--serif);color:#d9c9a1;margin:0 3px 18px}.cabinet-cubbies{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;background:#241f14;padding:6px;border:2px solid #b08a50}.cabinet-piece{position:relative;background:#3c3a26;border:5px ridge #7f6038;box-shadow:inset 0 5px 15px #131d1477;padding:12px;min-width:0}.cubby-display{height:140px;display:flex;align-items:center;justify-content:center;background:radial-gradient(ellipse,#6f6c4133,transparent 70%);position:relative;border-bottom:2px ridge #aa854a}.cubby-display .item-art{width:125px;height:125px}.on-display-mark{position:absolute;right:6px;top:3px;color:#ead398}.cabinet-piece h3{font:21px var(--display);margin-top:12px;color:#efdcad}.cabinet-piece>p,.cabinet-piece>small{font-size:11px;line-height:1.8;color:#c7c9a4}.cabinet-piece>small{display:block}.cabinet-piece .provenance{color:#e1b27f}.cubby-actions{display:flex;gap:6px;flex-wrap:wrap;margin-top:12px}.cubby-actions .ink-action{font-size:12px;min-height:39px;background:#243a28;color:#e8d4a5;border-color:#b69c5f66;padding:7px 9px}.cubby-outlook{border-top:1px solid #ad975b44;margin-top:10px;padding-top:8px}.cubby-outlook small{display:block;font-size:9px;line-height:1.8;color:#adb998}.empty-cabinet{grid-column:1/-1;text-align:center;min-height:210px;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#c5c19a;font-size:13px;gap:15px}.empty-cabinet>span{font:42px var(--serif);color:#ae945c}.workshop-interior>p{font-size:13px;line-height:1.9;color:#dbd3ae;margin-bottom:18px}.workshop-equipment{display:flex;align-items:center;gap:19px;padding:18px 5px;border-bottom:2px ridge #8a6c43}.workshop-equipment>.instrument-art,.workshop-equipment>.shop-prop-art{position:static;flex:none;width:82px;height:92px}.workshop-equipment>div{flex:1;min-width:0}.workshop-equipment h3{font:25px var(--display);color:#ecd4a0}.workshop-equipment p{font-size:12px;line-height:1.9;color:#c6cba8;margin-top:6px}.workshop-equipment .seal-action{min-width:100px}.skin-scroll{width:min(470px,calc(100vw - 28px));border-top:10px solid #765631;border-bottom:10px solid #765631}.wall-scroll h3{font:27px var(--display);color:#695636;text-align:center;margin-bottom:16px}.wall-scroll>p{font:14px/2 var(--serif);color:#636a48}.wall-scroll h4{font:17px var(--display);border-top:1px solid #9f895866;padding-top:16px;margin:17px 0 7px}.wall-scroll .market-row{font-size:15px;line-height:2.5;color:#4b5a3b}.wall-scroll .market-row strong{font:14px Georgia;color:#705a32}.letters-bundle>p{font:13px/1.9 var(--serif);color:#77704e}.letters-bundle .request-card{background:#ede0bf;color:#58633e;border-color:#a68b59;border-left-color:#ad674a;margin:16px 0;padding:17px}.letters-bundle .request-card>small,.letters-bundle .request-card p{color:#83734f}.letters-bundle .request-card h3{font-family:var(--display);font-size:24px}.letters-bundle .request-card h3 span{color:#986740}.skin-ledger{width:min(950px,calc(100vw - 28px));border:3px solid #816d43;box-shadow:inset 0 0 0 7px #c8b18a,0 25px 70px #001713aa}.account-folio{display:grid;grid-template-columns:1fr 1.5fr;gap:35px;background:linear-gradient(90deg,transparent 38%,#80693c22 39%,transparent 42%)}.account-folio>section:first-child{padding:14px 15px 20px 4px}.account-folio h3{font:30px var(--display);margin-bottom:20px}.account-folio p{font:15px/2.3 var(--serif);color:#706747}.account-folio p>strong{font:26px Georgia;color:#815d33}.account-folio .journal-list>div{font-size:12px;color:#576046;border-color:#a28d5e55}.account-folio .journal-list small{color:#8e7d58}.account-folio .journal-list b{font:15px Georgia;white-space:nowrap;color:#795e36}.guide-folio>p{font:14px/2 var(--serif);color:#596146;margin-bottom:18px;white-space:pre-wrap}.guide-folio>p:first-child{font:23px var(--display);color:#81653b}.settings-list{padding:0 4px}.settings-list>label{border-color:#a78f5d55;color:#53613e}.settings-list>p{color:#7c7955;font-size:12px}.price-folio{padding:6px}.held-item-summary{display:flex;gap:18px;align-items:center;margin-bottom:20px}.held-item-summary>.item-art{width:100px;height:100px}.held-item-summary h3{font:28px var(--display);color:#5c5b36}.held-item-summary p{font-size:12px;color:#857651;margin-top:7px}.price-folio>p{font:16px var(--display);color:#805f36;margin-bottom:17px}.price-folio .quote-lines{padding:0;gap:12px 22px}.price-folio .quote-lines p{color:#68704b;font-size:13px}.price-folio .quote-lines b{color:#775532;font:18px Georgia}.folio-actions{display:flex;gap:12px;justify-content:flex-end;margin-top:23px}.paper-message{font:16px/2 var(--serif);color:#596143;padding:10px 5px}.paper-message>div{display:flex;gap:12px;justify-content:flex-end;margin-top:25px}.shop-closeup .bargain-body>p{font:14px/1.9 var(--serif);color:#6a7050}.shop-closeup .bargain-person h3{font:25px var(--display);color:#5b5e3a}.shop-closeup .bargain-person p{color:#877449}.shop-closeup .bargain-options{gap:12px}.shop-closeup .bargain-option{background:#eee1bf;border:1px solid #9e8758;color:#74613b;display:flex;flex-direction:column;gap:14px;align-items:flex-start;padding:17px}.shop-closeup .bargain-option strong{font:26px Georgia;color:#76532e}
.skin-inspection{width:min(1180px,calc(100vw - 20px));background:transparent;border:0;box-shadow:none;max-height:97svh;overflow:auto}.skin-inspection .dialog-heading{background:#152b20d9;border:1px solid #b39c6877;color:#e4d4ac;margin:0 10px;padding:7px 15px;position:sticky;border-radius:4px;min-height:55px}.skin-inspection .dialog-heading h2{color:#e7d2a2;font-size:23px}.skin-inspection .inspection-layout{background:none;gap:16px;grid-template-columns:1.15fr 1fr;margin-top:10px;min-height:600px}.skin-inspection .inspection-bench{border:0;background:radial-gradient(ellipse,#102e20a3,transparent 72%);box-shadow:none;min-height:620px;overflow:visible}.skin-inspection .inspection-bench:before{display:none}.skin-inspection .inspection-title{border:0;padding-top:10px;color:#eee0bb;text-shadow:0 2px 4px #000}.skin-inspection .inspection-object{width:370px;height:370px;top:70px;left:0}.skin-inspection .detail-lens{width:320px;height:305px;right:6px;bottom:75px}.skin-inspection .inspection-notes{border:1px solid #f5ddb1;box-shadow:inset 6px 0 12px #7a5d2c33,5px 9px 20px #09271d66;border-radius:4px 12px 7px 4px;margin:3px 5px 10px 0;padding:23px;gap:16px}.skin-inspection .lens-controls{bottom:20px}.skin-inspection .lens-controls>.ink-action{color:#ead5a0;border-color:#c4aa6b99;background:#243827cc;min-width:42px;font-size:24px;padding:3px 6px}.skin-inspection .valuation-breakdown b{font-weight:400;color:#47573b}.skin-inspection .inspection-verdict .ink-action{font-size:11px;min-height:40px;padding:7px}.skin-inspection .inspection-verdict .chosen{background:#4f6340;color:#efdaa7}.skin-inspection .inspection-notes>.seal-action{margin-top:auto}.shop-closeup .appraisal-range strong{font:24px Georgia;color:#73532d}.skin-inspection .inspection-tabs{gap:7px}
#toast{bottom:11%;font-size:13px;background:#e8d9b4;color:#3b4b2d;z-index:100}.cash-float{top:35px;left:76px;font-size:29px;z-index:201}.grain{opacity:.025}
@keyframes room-arrive{from{opacity:0;translate:35px 0}to{opacity:1;translate:0 0}}@keyframes room-leave{from{opacity:1;translate:0 0}to{opacity:.12;translate:90px 0}}@keyframes room-stamp{from{opacity:0;scale:1.5}to{opacity:1;scale:1}}@keyframes lantern-breathe{50%{opacity:.65}}
@media(max-width:1000px){.room-contract{right:7%;bottom:9%;width:235px;padding:11px 14px}.room-customer{width:min(41svh,360px);height:min(41svh,360px)}.customer-speech{left:22%;width:245px}.customer-speech h1{font-size:19px}.customer-speech p{font-size:13px}.counter-bell{right:3.4%;width:91px}.object-ledger{width:125px;height:99px}.object-letters{width:94px;height:79px}.counter-tray{padding-inline:7px}.tray-slot{width:clamp(32px,4.2vw,44px);height:clamp(32px,4.2vw,44px)}.room-contract{bottom:max(112px,12%)}.treasure-tag{bottom:17%}.skin-inspection .inspection-layout{grid-template-columns:1fr 1fr;gap:10px}.skin-inspection .inspection-object{width:300px;height:300px}.skin-inspection .detail-lens{width:265px;height:252px}}
@media(max-width:900px){
 .shop-sign{min-width:105px;padding:6px 12px;top:11px}.shop-sign>span{font-size:22px;letter-spacing:.1em}.shop-sign>small{font-size:7px}.keeper-purse{top:12px;left:12px;padding:7px 9px}.keeper-purse>span{font-size:10px}.keeper-purse strong{font-size:22px;margin-left:5px}.keeper-purse>small{font-size:9px}.room-preferences{top:12px;right:12px;gap:4px}.room-pref{width:33px;min-height:36px;font-size:12px}.room-day{top:87px;left:15px;min-width:48px;padding:6px}.room-day strong{font-size:23px}.room-day small{font-size:9px}.room-customer{width:min(38svh,330px);height:min(38svh,330px);top:11%}.customer-speech{left:calc(50% - 155px);top:40%;width:245px;padding:12px 14px}.customer-speech:after{display:none}.customer-speech h1{font-size:19px}.customer-speech p{font-size:13px}.customer-speech footer{font-size:10px;margin-top:8px}.customer-speech>div{font-size:9px}.room-treasure{width:190px;height:190px;bottom:215px}.treasure-tag{min-width:210px;max-width:250px;bottom:177px;min-height:56px;padding:6px 14px}.treasure-tag>strong{font-size:23px;line-height:1.4}.treasure-tag>small{font-size:9px}.treasure-tag>span{font-size:10px}.counter-tray{left:8px;right:8px;width:auto;bottom:168px;padding:5px 8px;gap:4px}.tray-slot{width:38px;height:38px}.treasure-tag{bottom:240px}.room-treasure{bottom:266px;width:160px;height:160px}.empty-counter{bottom:300px}.tray-tools{gap:3px;padding-left:5px}.tray-tools .laid-instrument{width:46px;padding:1px}.tray-tools .laid-instrument .instrument-art{width:22px;height:28px}.tray-tools .laid-instrument>span{font-size:10px}.tray-tools .laid-instrument>small{font-size:7px;max-width:44px;overflow:hidden;text-overflow:clip}.room-contract{left:14px;right:14px;bottom:calc(10px + env(safe-area-inset-bottom));width:auto;max-width:450px;margin:auto;padding:9px 14px 12px;transform:rotate(0);box-shadow:0 5px 12px #21190788}.room-contract:before{inset:5px}.contract-top{padding-bottom:2px}.contract-top>strong{font-size:29px}.contract-top>small{font-size:12px}.contract-actions{margin-top:4px;gap:9px}.seal-action{font-size:15px;min-height:41px;padding:8px 13px}.ink-action{font-size:13px;min-height:40px;padding:7px 10px}.contract-taste{margin:3px 0 7px!important;font-size:13px!important;padding-top:6px}.contract-taste small{font-size:9px;line-height:1.6;margin-top:2px}.contract-warning{font-size:9px!important;margin-top:4px}.room-contract>small{font-size:9px}.contract-amount{font-size:28px;line-height:1.25;display:inline-block;margin-right:15px}.verify-paper{font-size:11px;min-height:31px;padding:4px 8px;margin-top:0}.room-contract>p{font-size:11px;line-height:1.6;margin-block:5px}.expose-paper{font-size:10px;min-height:28px;padding-top:5px}.camera-ways button{width:40px;min-height:54px;font-size:28px}.camera-left{left:5px;top:46%}.camera-right{right:5px;top:46%}.camera-ways button>span{font-size:9px}.camera-ways .camera-center{top:82px;min-height:32px;width:79px;font-size:15px}.shop-controls-hint{display:none}.scene-onboarding{display:none}.room-stamp{left:calc(50% + 55px);bottom:31%;font-size:28px}.empty-counter{bottom:225px;width:180px;min-height:120px}.closed-shop-note{top:23%;width:310px}.closed-shop-note h1{font-size:31px}.closed-shop-note p{font-size:13px;width:280px}.night-brush{font-size:52px}.night-counter-book{width:270px;height:205px;left:49%;bottom:195px}.contract-night{padding:10px 16px;bottom:calc(13px + env(safe-area-inset-bottom));max-width:370px;left:15px;right:15px;width:auto;transform:none}.night-accounts{gap:6px;margin-block:9px}.night-accounts>span{font-size:10px}.night-accounts b{font-size:17px}.contract-night .contract-actions{padding-top:7px;flex-wrap:wrap;gap:6px}.contract-night .ink-action{font-size:11px;min-height:34px;padding:6px 8px}.night-grudge{font-size:10px;padding:3px 6px}.night-book-label{font-size:20px}.opening-sign{top:39%;width:325px;padding:23px 25px 25px}.opening-sign h1{font-size:61px}.opening-sign p{font-size:17px}.opening-sign>small{font-size:11px;margin-block:12px 20px}.opening-sign>div{gap:8px}.opening-sign .seal-action{min-width:130px;font-size:15px}.license-scroll{width:calc(100vw - 35px);padding:26px 22px 23px;max-height:83svh;top:49%}.license-scroll h1{font-size:26px}.license-scroll>p{font-size:13px}.license-scroll dd{font-size:21px}.license-scroll dt{font-size:9px}.license-seal{font-size:48px;width:76px}.shop-closeup{max-height:92svh;width:calc(100vw - 20px)}.shop-closeup .dialog-heading{padding:12px 15px}.shop-closeup .dialog-heading h2{font-size:25px}.shop-dialog-body{padding:18px 17px 22px}.skin-cabinet,.skin-workshop{border-width:5px;width:calc(100vw - 16px)}.skin-cabinet .shop-dialog-body,.skin-workshop .shop-dialog-body{padding:12px}.cabinet-cubbies{grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;padding:3px}.cabinet-piece{border-width:3px;padding:9px}.cubby-display{height:114px}.cubby-display .item-art{width:105px;height:105px}.cabinet-piece h3{font-size:20px}.cabinet-piece>p,.cabinet-piece>small{font-size:10px}.cubby-actions{gap:5px}.cubby-actions .ink-action{font-size:11px;min-height:39px;padding:6px 7px}.cabinet-instruction{font-size:12px;margin-bottom:12px}.workshop-equipment{gap:10px;padding:15px 1px}.workshop-equipment>.instrument-art,.workshop-equipment>.shop-prop-art{width:55px;height:70px}.workshop-equipment h3{font-size:23px}.workshop-equipment p{font-size:11px}.workshop-equipment .seal-action{font-size:12px;min-width:72px;padding:8px}.account-folio{grid-template-columns:1fr;background:none;gap:12px}.account-folio>section:first-child{border-bottom:2px solid #a08a5a66;padding:0 0 14px}.account-folio h3{font-size:27px;margin-bottom:7px}.account-folio p{font-size:13px;line-height:2}.account-folio .journal-list>div{font-size:11px;gap:8px}.account-folio .journal-list b{font-size:13px}.guide-folio>p{font-size:13px}.guide-folio>p:first-child{font-size:21px}.held-item-summary{gap:10px}.held-item-summary>.item-art{width:75px;height:75px}.held-item-summary h3{font-size:25px}.held-item-summary p{font-size:11px}.price-folio .quote-lines{gap:10px 14px}.price-folio .quote-lines p{font-size:11px}.price-folio .quote-lines b{font-size:16px}.shop-closeup .bargain-person h3{font-size:22px}.shop-closeup .bargain-person p{font-size:10px}.shop-closeup .bargain-body>p{font-size:12px}.shop-closeup .bargain-options{gap:7px}.shop-closeup .bargain-option{padding:12px 9px;gap:11px;min-width:0}.shop-closeup .bargain-option strong{font-size:23px}.shop-closeup .bargain-option b{font-size:12px}.skin-inspection{width:calc(100vw - 8px);max-height:98svh}.skin-inspection .dialog-heading{margin:0 6px;min-height:51px;padding:6px 10px}.skin-inspection .dialog-heading h2{font-size:22px}.skin-inspection .inspection-layout{display:block;margin-top:0}.skin-inspection .inspection-bench{min-height:330px;margin:0 8px;padding:13px}.skin-inspection .inspection-title{padding:8px 0 0}.skin-inspection .inspection-title>strong{font-size:23px}.skin-inspection .inspection-object{width:235px;height:235px;top:45px;left:-1px}.skin-inspection .detail-lens{width:204px;height:195px;right:7px;bottom:50px}.skin-inspection .lens-controls{left:14px;bottom:7px;gap:9px}.skin-inspection .lens-controls>small{font-size:9px;color:#e1d7b6}.skin-inspection .lens-controls>.ink-action{font-size:20px;min-height:32px;min-width:35px}.skin-inspection .inspection-notes{margin:0 10px 12px;padding:18px 15px;gap:14px}.skin-inspection .inspection-tabs .instrument-art{width:22px;height:30px}.skin-inspection .inspection-tab{font-size:12px;padding:7px 6px;gap:5px}.skin-inspection .inspection-verdict{gap:7px;flex-wrap:wrap}.skin-inspection .inspection-verdict .ink-action{font-size:11px}.skin-inspection .valuation-breakdown>div{font-size:11px}.cash-float{left:60px;top:28px;font-size:25px}#toast{bottom:22%;font-size:12px;max-width:calc(100vw - 28px);padding:10px 14px}.scene-tutorial{top:13.5%;left:96px;right:10px;width:auto;transform:none;z-index:12;padding:7px 11px;font:11px/1.7 var(--serif)}.scene-tutorial .tut-skip{min-height:34px;padding:6px 11px}
}
@media(max-width:374px){.shop-sign{min-width:91px;padding:6px 9px;top:11px}.shop-sign>span{font-size:20px}.shop-sign>small{display:none}.keeper-purse{padding:5px 7px;left:9px}.keeper-purse>span{font-size:9px}.keeper-purse strong{font-size:20px}.keeper-purse>small{font-size:8px}.room-preferences{right:8px;gap:3px}.room-pref{width:28px;min-height:33px;font-size:11px}.customer-speech{width:222px;left:calc(50% - 135px);top:41%;padding:10px 12px}.customer-speech h1{font-size:18px}.customer-speech p{font-size:12px}.customer-speech footer{font-size:9px}.room-treasure{width:170px;height:170px;bottom:214px}.treasure-tag{min-width:200px;bottom:174px}.treasure-tag>strong{font-size:21px}.counter-tray{bottom:164px;padding:4px 5px}.tray-slot{width:38px;height:38px}.tray-tools{gap:2px;padding-left:4px}.tray-tools .laid-instrument{width:42px}.tray-tools .laid-instrument .instrument-art{width:20px;height:26px}.tray-tools .laid-instrument>span{font-size:9px}.room-contract{left:10px;right:10px;bottom:calc(9px + env(safe-area-inset-bottom));padding:8px 12px 11px}.contract-top>strong{font-size:27px}.contract-top>small{font-size:11px}.contract-actions .seal-action{font-size:14px}.contract-actions .ink-action{font-size:12px}.contract-taste{font-size:12px!important}.contract-taste small{font-size:8px}.camera-ways button{width:35px}.camera-ways button>span{font-size:8px}.opening-sign{padding:22px 18px;top:40%;width:290px}.opening-sign h1{font-size:55px}.opening-sign p{font-size:15px}.opening-sign>small{font-size:10px}.opening-sign .seal-action{min-width:120px}.opening-sign .ink-action{font-size:12px;padding-inline:9px}.cabinet-piece{padding:7px}.cabinet-piece h3{font-size:18px}.cubby-display{height:96px}.cubby-display .item-art{width:90px;height:90px}.cubby-actions .ink-action{font-size:10px;min-height:38px;padding:6px}.skin-inspection .inspection-object{width:210px;height:210px;top:61px}.skin-inspection .detail-lens{width:179px;height:172px;bottom:52px}.skin-inspection .inspection-tab{font-size:10px}.skin-inspection .inspection-tabs .instrument-art{width:19px;height:28px}.skin-inspection .inspection-notes{margin-inline:7px;padding:16px 13px}.shop-closeup .bargain-option{padding:11px 7px}.shop-closeup .bargain-option b{font-size:11px}.shop-closeup .bargain-option strong{font-size:21px}.workshop-equipment{gap:8px}.workshop-equipment>.instrument-art,.workshop-equipment>.shop-prop-art{width:47px;height:62px}.workshop-equipment .seal-action{min-width:64px;font-size:11px}.workshop-equipment h3{font-size:20px}}
html[lang=en] .shop-sign>span{font-size:22px;letter-spacing:0;font-family:var(--serif)}html[lang=en] .customer-speech h1{font-size:19px;font-family:var(--serif)}html[lang=en] .customer-speech p{font-size:13px;font-family:var(--sans)}html[lang=en] .treasure-tag>strong{font-size:20px;font-family:var(--serif)}html[lang=en] .object-caption{font:11px var(--sans)}html[lang=en] .opening-sign h1{font:55px/1.2 var(--serif);letter-spacing:0}html[lang=en] .opening-sign p{font:17px var(--serif);letter-spacing:0}html[lang=en] .laid-instrument>span{font:12px var(--sans)}html[lang=en] .license-scroll h1{font-size:27px;font-family:var(--serif)}html[lang=en] .seal-action{font:14px var(--sans)}html[lang=en] .ink-action{font:12px var(--sans)}
@media(max-width:900px){html[lang=en] .shop-sign>span{font-size:16px}html[lang=en] .shop-sign>small{font-size:6px}html[lang=en] .keeper-purse>small{font-size:8px}html[lang=en] .customer-speech h1{font-size:16px}html[lang=en] .customer-speech p{font-size:12px}html[lang=en] .customer-speech footer{font-size:9px}html[lang=en] .contract-taste small{font-size:9px}html[lang=en] .seal-action{font-size:12px}html[lang=en] .ink-action{font-size:11px}html[lang=en] .opening-sign h1{font-size:45px}html[lang=en] .laid-instrument>span{font-size:11px}html[lang=en] .laid-instrument>small{font-size:7px}html[lang=en] .treasure-tag>strong{font-size:18px}html[lang=en] .cabinet-piece h3{font:17px var(--serif)}html[lang=en] .cubby-actions .ink-action{font-size:10px}html[lang=en] .room-day>strong{font:19px var(--serif)}html[lang=en] .workshop-equipment h3{font:18px var(--serif)}html[lang=en] .shop-closeup .bargain-person h3{font:18px var(--serif)}html[lang=en] .skin-inspection .inspection-tab{font-size:10px}html[lang=en] .skin-inspection .inspection-verdict .ink-action{font-size:10px}}
@media(max-width:900px){.room-customer{width:min(38svh,330px);height:min(38svh,330px);top:11%}}
@media(prefers-reduced-motion:reduce){.room-customer.customer-leaving{opacity:.15;animation:none!important}}.reduce-motion .room-customer.customer-leaving{opacity:.15;animation:none!important}
@media(max-height:620px) and (min-width:761px){.room-customer{width:min(30svh,124px);height:min(30svh,124px);top:2%;left:52%}.customer-speech{left:132px;top:10px;width:195px;padding:7px 10px}.customer-speech h1{font-size:15px}.customer-speech p{font-size:11px;line-height:1.55}.customer-speech footer{font-size:9px;margin-top:5px}.customer-speech>div{font-size:8px}.room-treasure{width:118px;height:118px;left:399px;bottom:150px}.treasure-tag{left:340px;bottom:70px;transform:rotate(-2deg);min-width:0;width:200px;max-width:none;min-height:44px;padding:5px 12px}.treasure-tag>strong{font-size:19px}.treasure-tag>small,.treasure-tag>span{font-size:8px}.counter-tray{left:8px;right:8px;width:auto;bottom:8px}.tray-slot{width:clamp(30px,3.2vw,40px);height:clamp(30px,3.2vw,40px)}.tray-tools .laid-instrument{width:45px}.tray-tools .laid-instrument .instrument-art{width:20px;height:26px}.tray-tools .laid-instrument>span{font-size:9px}.tray-tools .laid-instrument>small{font-size:7px}.room-contract{left:auto;margin:0;right:10px;bottom:76px;width:230px;padding:8px 12px}.contract-top>strong{font-size:26px}.contract-taste small{font-size:9px}.shop-sign{display:none}.keeper-purse{top:10px}.room-day{top:100px;left:15px}.object-ledger{width:115px;height:86px}.object-inventory{top:10%;height:24%}.object-display{top:20%;height:13%}.counter-bell{left:466px;right:auto;bottom:150px;width:86px;height:90px}.counter-bell>.shop-prop-art{height:62px}.contract-night{padding:6px 10px 8px}.contract-night>small{font-size:9px}.night-accounts{gap:2px;margin:6px 0 7px}.night-accounts b{font-size:14px}.night-grudge{font-size:9px;line-height:1.35;padding:2px 6px;margin:0 0 5px}.contract-night .contract-actions{padding-top:5px;gap:5px}.contract-night .ink-action{min-height:28px;padding:4px 6px;font-size:11px;white-space:nowrap}.contract-night .seal-action{flex:1 0 100%;width:100%;min-height:34px;padding:7px 8px;font-size:12px;white-space:nowrap}}

/* short-viewport tutorial: dock the lesson clear of the counter paper, purse and speech card */
@media(max-height:620px) and (min-width:761px){.scene-tutorial{top:auto;bottom:150px;left:12px;right:auto;transform:none;width:min(320px,45vw);padding:7px 10px;font:11px/1.6 var(--serif)}}

/* street gossip: one seeded rumour per day, set apart from the fixed market notice */
.wall-scroll>p.market-rumor{margin:14px 0 0;padding:7px 11px;border-left:3px solid #a98d54cc;background:#e8dbbb88;font:13px/1.9 var(--serif);color:#5d5539}
.wall-scroll>p.market-rumor small{display:block;font:10px/1.6 var(--display);letter-spacing:.18em;color:#8a6f3d}
