.v12-shop-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.v12-card{background:linear-gradient(150deg,#fff,#e4f3ff);border:1px solid #c5dfee;border-radius:17px;padding:13px;text-align:center;display:flex;flex-direction:column;gap:7px}.v12-preview{font-size:48px;min-height:65px;display:grid;place-items:center;background:#ffffff9c;border-radius:12px}.v12-card small{color:#54748a}.v12-card button,.v12-actions button{border:0;border-radius:11px;background:#398ab7;color:#fff;padding:9px;font-weight:800}.v12-card button:disabled{opacity:.45;cursor:not-allowed}.v12-tabs{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:12px}.v12-tabs button{border:0;border-radius:10px;background:#dcebf6;padding:9px;color:#315a75;font-weight:700}.v12-tabs button.active{background:#398ab7;color:#fff}.v12-actions{display:flex;gap:6px;flex-wrap:wrap}.v12-actions button{font-size:12px;flex:1}.v12-storage{background:#fff5d7;border-radius:13px;padding:9px;margin-bottom:10px;color:#70562c}.v12-note{font-size:12px;color:#597b92}@media(max-width:450px){.v12-shop-grid{grid-template-columns:1fr}}@media(prefers-reduced-motion:no-preference){.v12-preview{transition:transform .2s}.v12-card:hover .v12-preview{transform:scale(1.08)}}#modalhost .overlay.warehouse-overlay{position:fixed;inset:0;display:flex;align-items:flex-end;justify-content:center;padding:0 max(8px,env(safe-area-inset-right)) max(8px,env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-left));background:none;backdrop-filter:none;animation:none}.warehouse-panel{position:relative;width:min(960px,100%);padding:6px 8px;border:2px solid #f7e6c5;border-radius:18px;background:linear-gradient(155deg,#fff8e8,#e1f3ff);box-shadow:0 6px 28px #0e294d66}.warehouse-header{display:flex;gap:6px;align-items:center}.warehouse-panel .v12-tabs{flex:1;flex-wrap:nowrap;overflow-x:auto;scrollbar-width:thin;margin:0;padding:2px}.warehouse-panel .v12-tabs button{flex:none;min-height:44px;padding:6px 9px;white-space:nowrap}.warehouse-close,.warehouse-items button{border:1px solid #b8d6e7;border-radius:12px;color:#294c69;background:#fafeff}.warehouse-close{flex:none;width:44px;height:44px;font-size:24px}.warehouse-items{display:flex;align-items:center;gap:6px;min-height:60px;overflow-x:auto;scrollbar-width:thin;padding:4px 2px}.warehouse-items p{margin:0 8px;font-size:14px}.warehouse-items button{flex:none;display:grid;place-items:center;width:52px;height:52px;font-size:30px;cursor:grab;touch-action:pan-x;user-select:none}.warehouse-items button[aria-expanded=true]{border-color:#2c7099;background:#e4f4ff}.warehouse-panel button:focus-visible{outline:2px solid #225d80;outline-offset:-3px}.warehouse-menu{position:absolute;bottom:calc(100% + 8px);left:50%;transform:translate(-50%);display:flex;align-items:center;gap:8px;width:max-content;max-width:100%;padding:6px 8px 6px 12px;border:1px solid #c5dfee;border-radius:12px;background:#fffaf0;box-shadow:0 5px 20px #0e294d55}.warehouse-name{font-size:14px;font-weight:700}.warehouse-sell{min-height:44px;padding:6px 10px;border:0;border-radius:9px;background:#26678f;color:#fff;font-weight:700}.warehouse-sell:disabled{background:#dde8ef;color:#315a75}.warehouse-ghost{position:fixed;z-index:1;transform:translate(-50%,-50%);pointer-events:none;font-size:38px;line-height:1;filter:drop-shadow(0 3px 6px #16334c88)}.warehouse-menu[hidden],.warehouse-ghost[hidden]{display:none}#scene:has(.warehouse-overlay) .meadow-edit-bar,#scene:has(.warehouse-overlay) .meadow-selection{display:none}@media(max-width:520px){.warehouse-panel .v12-tabs{gap:4px}.warehouse-panel .v12-tabs button{padding-inline:7px;font-size:13px}.warehouse-panel .v12-tab-icon{display:none}}
