/* The same compact cards in shop, owned, targets and profile inventory. */
.source-items,.target-items,.inventory-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px!important}.inventory-grid .inventory-entry{min-width:0}.source-items>.item,.target-items>.item,.inventory-entry>.item{width:100%;position:relative;border-radius:5px}.numbered-pages{display:flex!important;justify-content:center;align-items:center;flex-wrap:wrap;gap:5px;width:100%;margin:16px 0 3px;overflow:visible;order:initial;flex:none}.numbered-pages button{flex:none;min-width:32px;min-height:34px;padding:6px 9px;font-size:12px;border-radius:6px;background:#202127;color:#b9bbc2;border:1px solid #35373f;line-height:1.3}.numbered-pages button.selected{background:#ffdf00;color:#151515;border-color:#ffdf00}.numbered-pages button:disabled{opacity:.35}.numbered-pages span{font-size:12px;color:#8c8e95}.inventory-grid{scroll-margin-top:85px}.source-items .item[aria-pressed=true]:after,.target-items .item[aria-pressed=true]:after{left:4px!important;right:auto!important;top:4px!important;width:17px!important;height:17px!important;font-size:10px!important;line-height:17px!important}.picker-description{margin-bottom:9px}.picker-body .source-items,.picker-body .target-items{max-height:none;overflow:visible}
@media(max-width:650px){.source-items,.target-items,.inventory-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:4px!important}.picker-body:has(.source-items),.picker-body:has(.target-items){padding:9px 6px 12px}.picker-body:has(.source-items) .inventory-switch{margin-bottom:10px}.picker-body:has(.source-items) .inventory-switch button{font-size:12px;min-height:33px;padding:5px 8px}.source-items>.item,.target-items>.item,.inventory-entry>.item{height:110px!important;min-height:110px!important;padding:5px;overflow:hidden;border-radius:5px}.source-items>.item img,.target-items>.item img,.inventory-entry>.item img{height:48px!important;margin:14px 0 0;width:100%;object-fit:contain}.source-items>.item small,.target-items>.item small,.inventory-entry>.item small{font-size:6px!important;line-height:1.3;margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block}.source-items>.item b,.target-items>.item b,.inventory-entry>.item b{font-size:8px!important;font-weight:600;line-height:1.25;min-height:2.5em;margin:2px 0 0;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.source-items>.item strong,.target-items>.item strong,.inventory-entry>.item strong{position:absolute;right:4px;top:5px;font-size:8px!important;color:#ffdf00;padding:0;line-height:1.2;max-width:calc(100% - 25px)}.source-items>.item em,.target-items>.item em,.inventory-entry>.item em{font-size:6px;top:18px;bottom:auto;right:4px}.inventory-actions{gap:4px;margin-top:4px}.inventory-actions button{font-size:9px;min-height:30px;padding:6px 3px}.inventory-actions .icon{display:none}.picker-description{font-size:9px}.picker-description>span:last-child{font-size:8px}.numbered-pages{gap:4px}.numbered-pages button{min-width:27px;min-height:31px;padding:5px 7px;font-size:11px}.target-items:empty{display:block}}
@media(max-width:350px){.source-items>.item,.target-items>.item,.inventory-entry>.item{min-height:104px!important;height:104px!important}.source-items>.item img,.target-items>.item img,.inventory-entry>.item img{height:43px!important}.source-items>.item b,.target-items>.item b,.inventory-entry>.item b{font-size:7px!important}}
