.wallet-pill{display:inline-flex;align-items:center;gap:7px;background:#eee7ce;border:1px solid #d8cda7;color:#4c593d;border-radius:22px;padding:9px 14px;font-size:11px;white-space:nowrap}
.shop-dialog{width:min(1260px,96vw);height:min(850px,94dvh);max-width:96vw;max-height:94dvh;border:0;border-radius:23px;padding:0;background:#faf8f0;color:#304b40;overflow:hidden;box-shadow:0 24px 100px #14231b55}
.shop-dialog[open]{display:flex;flex-direction:column}.shop-dialog::backdrop{background:#173c3170;backdrop-filter:blur(8px)}
.shop-header{display:flex;align-items:center;gap:20px;padding:23px 28px;border-bottom:1px solid #d9dfd2}.shop-header>div{margin-right:auto}.shop-header small{font-size:8px;letter-spacing:2px;color:#85917a}.shop-header h2{font-size:29px;font-weight:400;margin:7px 0 0}.shop-header .icon-button{font-size:25px;background:#eff0e3;border-radius:50%;width:35px;height:35px}
.shop-sections{display:flex;gap:6px;padding:14px 26px 0}.shop-sections button{padding:10px 25px;border-radius:10px;background:#ecede2;font-size:12px;color:#63725c}.shop-sections button[aria-pressed=true]{background:#365545;color:#fff9ee}
.shop-tools{padding:14px 26px;display:flex;gap:14px;align-items:end;border-bottom:1px solid #d9dfd2}.shop-tools label{display:flex;flex-direction:column;gap:5px;font-size:9px;color:#6d7c65}.shop-tools input,.shop-tools select{background:#fffdf5;border:1px solid #d7ddcc;border-radius:8px;padding:9px;color:#3e5143;font:inherit;font-size:12px}.shop-tools label:nth-child(2){flex:1}.shop-tools .shop-owned{flex-direction:row;align-items:center;padding:10px 0;white-space:nowrap}.shop-tools small{font-size:10px;padding-bottom:11px;color:#829075}
.shop-layout{display:grid;grid-template-columns:minmax(0,1fr) 330px;min-height:0;flex:1}.shop-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;align-content:start;overflow:auto;padding:20px 24px}.shop-card{border:1px solid #dce0d2;background:#fffdf7;border-radius:13px;overflow:hidden;display:flex;flex-direction:column}.shop-card.selected{border-color:#78916a;box-shadow:0 0 0 1px #78916a}.shop-item-preview{text-align:left;width:100%;padding:0;display:flex;flex-direction:column;color:inherit;flex:1}.shop-art{display:flex;height:124px;background:linear-gradient(140deg,#e0e5d5,#eee6db);align-items:center;justify-content:center;width:100%}.shop-art svg{width:94px;height:94px}.shop-item-preview strong{font-size:12px;font-weight:500;margin:12px 12px 6px}.shop-item-preview small{font-size:10px;line-height:1.55;color:#829075;margin:0 12px 12px}.shop-card-bottom{display:flex;justify-content:space-between;align-items:center;padding:9px 11px;border-top:1px solid #edf0e4;font-size:9px;gap:5px}.shop-card-bottom button{background:#e5eadb;border-radius:6px;padding:7px 8px;color:#37543e;font-size:9px}.shop-card-bottom button:disabled{opacity:.65}.shop-inspector{border-left:1px solid #d9dfd2;background:#e5e8da;min-height:0;display:flex;flex-direction:column}.shop-model{position:relative;min-height:200px;flex:1;background:radial-gradient(ellipse,#c7cfc0,#a7b7a3);overflow:hidden}.shop-model canvas{display:block;width:100%;height:100%}.shop-home-art{display:grid;place-items:center;height:100%}.shop-home-art svg{width:75%;max-height:280px}.shop-detail{padding:19px 23px;background:#f2f2e6}.shop-detail>span{font-size:8px;letter-spacing:1.5px;text-transform:uppercase;color:#7f8a70}.shop-detail h3{font-weight:400;font-size:23px;margin:9px 0}.shop-detail p{font-size:11px;line-height:1.7;color:#79866e}.shop-detail>strong{font-size:12px}.shop-detail .primary-button{margin:17px 0 11px;width:100%}.shop-detail>small{display:block;font-size:9px;line-height:1.6;color:#8a947d}.shop-footer{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:13px 26px;border-top:1px solid #d9dfd2;min-height:47px;font-size:10px;color:#869178}.shop-footer p{margin:0;color:#3d5c43}.shop-empty{padding:20px;font-size:13px;grid-column:1/-1}
.shop-grid{grid-auto-rows:max-content}.shop-card{min-height:234px}.shop-item-preview{flex:none}.shop-art{flex:none}
.option-price{font-size:9px;font-style:normal;color:#638052;display:block;margin-top:7px}.shop-locked .option-price{color:#856a3d}.shop-locked .option-check{background:#d9cba3!important;color:#524727!important;opacity:1!important}.studio-count{max-width:290px;text-align:right}
.room-builder{padding-top:23px;margin-top:24px;border-top:1px solid #d9dfd2}.room-builder h3{font-size:22px;font-weight:400;margin:0 0 8px}.room-builder h4{font-size:12px;font-weight:500;margin:23px 0 10px}.room-builder .panel-note{padding:0;margin:8px 0 16px;font-size:11px;line-height:1.7}.room-design-label{display:flex;flex-direction:column;gap:7px;font-size:11px;margin-bottom:12px}.room-design-label select{width:100%;background:#fffdf6;border:1px solid #d4dcca;border-radius:8px;padding:10px;color:#375440;font:inherit}.home-tabs{display:flex;gap:6px;margin:24px 0 12px}.home-tabs button{flex:1;border-radius:9px;background:#e8ebde;padding:11px;color:#687c5e;font-size:11px}.home-tabs button[aria-pressed=true]{background:#496448;color:#fff8e8}.furniture-add{display:flex;align-items:center;gap:11px;text-align:left;width:100%;padding:12px 9px;border:1px solid #dce2d2;border-radius:11px;margin-bottom:9px;background:#fffdf5;color:#37533f}.furniture-add>span{font-size:24px;background:#e5ebd9;padding:8px;border-radius:9px}.furniture-add>div{flex:1}.furniture-add strong{font-size:12px;font-weight:500;display:block}.furniture-add small{display:block;font-size:9px;line-height:1.6;color:#89977c;margin-top:5px}.placed-item{display:flex;justify-content:space-between;align-items:center;width:100%;text-align:left;padding:11px;border:1px solid #dee2d5;border-radius:8px;background:#f8f8ee;color:#5e7155;font-size:11px;margin:5px 0}.placed-item span{font-size:9px}.placed-item.selected{background:#dfe8d4;border-color:#819b6a}.placement-fields{display:grid;grid-template-columns:repeat(2,1fr);gap:9px;margin:12px 0}.placement-fields label{font-size:9px;color:#7b8b6e;display:flex;flex-direction:column;gap:5px}.placement-fields input{width:100%;min-width:0;border:1px solid #d3dcc8;background:#fffdf4;border-radius:7px;padding:9px;font:inherit;font-size:12px;color:#3c5841}.placement-actions{display:flex;gap:6px;margin:10px 0}.placement-actions button,.pose-join button{background:#e5ebd9;border:1px solid #cbd7c1;border-radius:7px;padding:8px;font-size:10px;color:#45623e}.placement-actions button:last-child{margin-left:auto}.pose-join{border-top:1px solid #d8e1cc;padding-top:13px;margin-top:15px}.pose-join strong{font-size:12px}.pose-join p{font-size:10px;line-height:1.7;color:#819374}.pose-join button{display:block;width:100%;text-align:left;margin:7px 0}.room-editor-help{display:block;font-size:9px;line-height:1.8;color:#7f9173;margin-top:15px}.move-menu{max-height:320px;overflow-y:auto}.move-menu button:disabled{opacity:.45;cursor:not-allowed}.rail-nav{min-height:0;overflow-y:auto;scrollbar-width:thin}
@media(max-width:850px){.shop-layout{grid-template-columns:minmax(0,1fr) 240px}.shop-grid{grid-template-columns:repeat(2,minmax(0,1fr));padding:15px;gap:10px}.shop-tools{flex-wrap:wrap}.shop-tools label:nth-child(2){min-width:130px}.shop-inspector .shop-detail{padding:15px}.shop-header{padding:18px}.shop-sections{padding-left:18px}.shop-tools{padding:12px 18px}.wallet-pill{font-size:10px;padding:8px 10px}}
@media(max-width:600px){.shop-dialog{height:96dvh;width:98vw;max-height:96dvh;max-width:98vw;border-radius:15px}.shop-header h2{font-size:22px}.shop-header{gap:8px}.shop-layout{grid-template-columns:minmax(0,1fr) 170px}.shop-grid{grid-template-columns:1fr;padding:10px}.shop-art{height:100px}.shop-model{min-height:170px}.shop-detail h3{font-size:18px}.shop-detail p{font-size:10px}.shop-detail .primary-button{font-size:10px;padding:12px 9px}.shop-tools small{display:none}.shop-sections{padding:10px 12px 0}.shop-sections button{padding:9px 14px;font-size:10px}.shop-tools{padding:10px 12px;gap:7px}.shop-tools label{font-size:8px}.shop-tools label:nth-child(2){min-width:100px}.shop-footer{padding:10px 14px;font-size:8px}.top-right .connection{display:none}.studio-count{font-size:8px;max-width:140px}.shop-owned{font-size:9px!important}}

.shop-texture-thumb{height:108px;max-width:92%;object-fit:contain;border-radius:5px}.wardrobe-texture-thumb{height:125px;max-width:90%;object-fit:contain;border-radius:5px}
.shop-art .cosplay-art{height:118px;width:96px}.cosplay-series{font-size:10px;color:#657963;margin:5px 0 9px}.shop-detail .cosplay-hint{padding:10px 12px;border-radius:9px;background:#e5eadb;color:#53694d;font-size:10px;line-height:1.6}.wardrobe-category-tabs{display:flex;gap:6px;margin:0 0 17px}.wardrobe-category-tabs button{flex:1;padding:12px;border-radius:9px;color:#64785a;background:#edf0e3;font-size:12px}.wardrobe-category-tabs button[aria-pressed=true]{background:#395743;color:#fffaf0}.cosplay-active{padding:15px;border:1px solid #c4d1b7;border-radius:12px;background:#e7eddd;margin:12px 0 18px}.cosplay-active[hidden]{display:none}.cosplay-active>small{display:block;font-size:8px;letter-spacing:1px;color:#718163;line-height:1.6}.cosplay-active>strong{display:block;font-size:17px;font-weight:500;margin:7px 0}.cosplay-active p,.cosplay-empty p{font-size:11px;line-height:1.7;color:#6c7b5d}.cosplay-active .secondary-button{width:100%;margin:5px 0}.cosplay-empty{grid-column:1/-1;border:1px dashed #bccaac;padding:20px;border-radius:12px;background:#f1f3e9}.cosplay-empty strong{font-size:14px;font-weight:500}.cosplay-illustration .cosplay-art{height:155px;width:124px}#character-cosplay-notice{margin:8px 20px 12px}#character-cosplay-notice~[inert],.character-options [inert]{opacity:.45}.shop-sections{flex-wrap:wrap}

.cosplay-shop .shop-inspector{overflow-y:auto}.cosplay-shop .shop-model{min-height:340px;flex:none}.cosplay-shop .shop-detail{padding:15px 20px}.cosplay-shop .shop-detail h3{font-size:21px}.shop-preview-tools{position:absolute;top:10px;left:10px;right:10px;display:flex;justify-content:center;gap:3px;z-index:2}.shop-preview-tools button{font-size:9px;padding:7px 10px;border-radius:16px;background:#fffaf0dd;color:#506445}.shop-preview-tools button[aria-pressed=true]{background:#466044;color:#fffaf0}@media(max-width:600px){.cosplay-shop .shop-model{min-height:260px}.shop-preview-tools{flex-wrap:wrap;left:4px;right:4px;gap:2px}.shop-preview-tools button{padding:6px;font-size:8px}}

.cosplay-model-thumb{width:100%;height:100%;object-fit:contain;background:#e5e8e3}.cosplay-model-placeholder{text-align:center;color:#607463;font-size:25px;line-height:1.25}.cosplay-model-placeholder small{font-size:10px}.shop-detail .cosplay-credits{font-size:9px;line-height:1.8;padding-top:9px;border-top:1px solid #d7decd}.cosplay-credits a{color:#3a674c;text-decoration:underline;text-underline-offset:2px}

.shop-inspector>.shop-preview-tools{position:static;flex:none;padding:8px;margin:0;background:#e5e8da;border-bottom:1px solid #d3dccb;justify-content:center;flex-wrap:wrap}
