/* v0.8.3 · Shop + Farm polish */
.shop-v083{width:min(980px,94vw)!important;max-height:90vh!important;overflow:hidden!important;display:grid!important;grid-template-rows:auto auto auto minmax(0,1fr) auto;gap:10px;padding:14px!important}.shop-v083[hidden]{display:none!important}.shop-v083 .shop-head{margin:0}.shop-v083 .shop-wallet-row{display:flex;align-items:center;justify-content:space-between;gap:12px}.shop-toolbar{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:end}.shop-query{display:flex;gap:7px;align-items:center}.shop-query input,.shop-query select{height:38px;border:2px solid #8a5a3a;border-radius:10px;background:#fff8ea;color:#4b271b;padding:0 10px;font:700 12px system-ui;outline:none}.shop-query input{width:190px}.shop-query input:focus,.shop-query select:focus{border-color:#ef6396;box-shadow:0 0 0 3px #ef639626}.shop-content-layout{min-height:0;display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:12px}.shop-list-pane{min-height:0;display:grid;grid-template-rows:minmax(0,1fr) auto;gap:7px}.shop-v083 .shop-grid{min-height:0;max-height:none!important;overflow:auto;padding:2px 4px 6px 2px;display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));align-content:start;gap:8px}.shop-v083 .shop-card{display:grid!important;grid-template-columns:68px minmax(0,1fr)!important;grid-template-rows:auto auto!important;gap:7px 9px!important;align-items:center;padding:8px!important;min-height:92px;border:2px solid #bd8a60!important;border-radius:13px!important;cursor:pointer;transition:transform .1s ease,border-color .1s ease,box-shadow .1s ease}.shop-v083 .shop-card:hover{transform:translateY(-1px);border-color:#8d5a3a!important}.shop-v083 .shop-card.is-selected{border-color:#ef6396!important;box-shadow:0 0 0 3px #ef639622!important}.shop-v083 .shop-card.fashion-equipped{border-color:#7da640!important}.shop-v083 .shop-card .shop-thumb{grid-row:1/3}.shop-v083 .shop-card .shop-thumb span{display:none}.shop-v083 .shop-card .fashion-item-copy{align-self:end}.shop-v083 .shop-card .fashion-item-copy>strong{display:block;font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.shop-v083 .shop-card .fashion-item-copy>small{display:block;font-size:10px}.shop-v083 .shop-card .web-price{font-size:12px;margin-top:2px}.shop-v083 .shop-card .source-price{display:none!important}.shop-v083 .shop-card>button{display:none!important}.shop-card-status{align-self:start;display:flex;gap:4px;flex-wrap:wrap}.shop-badge{display:inline-flex;align-items:center;min-height:18px;padding:2px 6px;border-radius:999px;background:#ead2ad;color:#603b27;font:900 9px system-ui}.shop-badge.owned{background:#d8edb7;color:#35521d}.shop-badge.equipped{background:#ef6396;color:#fff}.shop-badge.locked{background:#dfd4c6;color:#785c49}.shop-detail{min-width:0;border:2px solid #bd8a60;border-radius:15px;background:#fff4de;padding:10px;display:flex;flex-direction:column;gap:9px;overflow:auto}.shop-detail-preview{height:188px;display:grid;place-items:center;border-radius:12px;background:linear-gradient(#cfe8b8,#f7e5b8);border:2px solid #d6af7e;overflow:hidden}.shop-detail-preview canvas{width:180px;height:180px;image-rendering:pixelated}.shop-detail-copy h3{margin:0 0 3px;font-size:16px}.shop-detail-copy p{margin:5px 0;color:#6b4a35;font-size:11px;line-height:1.4}.shop-detail-meta{display:flex;gap:5px;flex-wrap:wrap;margin:6px 0}.shop-detail-price{font-size:17px;font-weight:950;color:#8a4a1f}.shop-detail-actions{display:grid;gap:7px;margin-top:auto}.shop-detail-actions button{border:2px solid #743728;border-radius:10px;padding:9px 10px;background:#ef6396;color:#fff;font-weight:900;cursor:pointer}.shop-detail-actions button.secondary{background:#fff0d5;color:#542c1e}.shop-detail-actions button:disabled{opacity:.48;cursor:not-allowed}.shop-note{margin:0!important;font-size:10px!important}.fashion-empty{min-height:120px;display:grid;place-items:center}.shop-filters{display:flex;gap:5px;flex-wrap:wrap;position:static!important;padding:0!important}.shop-filters button{border:2px solid #8a5a3a;border-radius:999px;background:#f7d8ab;color:#5c321f;padding:5px 9px;font-size:10px;font-weight:900;cursor:pointer}.shop-filters button.active{background:#ef6396;color:#fff;border-color:#7a3428}.shop-filter-count{opacity:.72;margin-left:2px}
.farm-quick-dock{display:grid!important;gap:4px!important}.farm-quick-dock[hidden]{display:none!important}.farm-quick-summary{display:flex;align-items:center;justify-content:center;gap:7px;color:#fff5d8;font:800 9px system-ui;white-space:nowrap}.farm-ready-pill{padding:2px 6px;border-radius:999px;background:#315d36;color:#eaffd9}.farm-ready-pill.ready{background:#ef6396;color:#fff}.farm-seed-chip[data-empty="1"]{opacity:.55}.farm-seed-chip .farm-seed-time{opacity:.72}.farm-dialog-grid{display:grid;gap:7px;margin-top:10px;width:100%}.farm-dialog-card{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:center;padding:8px 9px;border:1px solid #b98d62;border-radius:10px;background:#fff4df;color:#553321}.farm-dialog-card strong{font-size:12px}.farm-dialog-card small{display:block;margin-top:2px;color:#775945;font-size:10px}.farm-dialog-actions{display:flex;gap:4px;flex-wrap:wrap;justify-content:flex-end}.farm-dialog-actions button{padding:6px 8px!important;font-size:10px!important}.farm-dialog-value{font-weight:900;color:#8a4a1f}.farm-dialog-empty{padding:10px;border-radius:9px;background:#f0dfc3;color:#795e49;text-align:center;font-size:11px}.farm-plot-ready{animation:farmReadyPulse 1s ease-in-out infinite alternate}@keyframes farmReadyPulse{from{opacity:.7}to{opacity:1}}
@media(max-width:760px){.shop-v083{inset:1.5%!important;width:auto!important;max-height:97%!important;padding:9px!important;gap:7px}.shop-toolbar{grid-template-columns:1fr}.shop-query{width:100%}.shop-query input{min-width:0;width:100%;flex:1}.shop-content-layout{grid-template-columns:1fr;grid-template-rows:minmax(0,1fr) auto}.shop-v083 .shop-grid{grid-template-columns:1fr;max-height:45vh!important}.shop-detail{max-height:29vh;display:grid;grid-template-columns:92px minmax(0,1fr);grid-template-rows:auto auto;padding:7px}.shop-detail-preview{width:92px;height:92px;grid-row:1/3}.shop-detail-preview canvas{width:92px;height:92px}.shop-detail-actions{grid-column:2;display:flex;gap:5px}.shop-detail-actions button{flex:1;padding:7px 6px;font-size:10px}.shop-note{display:none}.shop-wallet-row{align-items:flex-start!important}.farm-quick-summary{font-size:8px}.farm-dialog-card{grid-template-columns:1fr}.farm-dialog-actions{justify-content:stretch}.farm-dialog-actions button{flex:1}}

.shop-pager{display:flex;align-items:center;justify-content:center;gap:7px;min-height:32px}.shop-pager button{border:2px solid #8a5a3a;border-radius:9px;background:#fff0d5;color:#542c1e;padding:5px 10px;font-weight:900;cursor:pointer}.shop-pager button:disabled{opacity:.42;cursor:not-allowed}.shop-pager span{font:900 11px system-ui;color:#65402b}.shop-currency-luong{color:#a3429e!important}.shop-currency-locked{color:#7b6a61!important}.shop-source-lock{font-weight:900;color:#7b6a61}.shop-wallet-currencies{display:flex;gap:10px;flex-wrap:wrap}.shop-wallet-currencies b:nth-child(2){color:#f0a8eb}
