/* Oathbound armory: modern MOBA shop grammar, actual four-item catalogue. */
#shop.itemShop{width:min(1130px,96vw);height:min(686px,93vh);max-width:1130px;max-height:93vh;padding:0;overflow:hidden;border:1px solid #ac935f;background:#081b22;color:#e8dec4;box-shadow:0 18px 52px #0009;font-family:Arial,Helvetica,sans-serif}
#shop.itemShop::backdrop{background:#04101455}
.shopHeader{height:59px;display:flex;align-items:center;padding:0 22px 0 83px;border-bottom:1px solid #746442;background:#06171e;gap:25px}.shopTabs{display:flex;align-self:stretch;gap:28px}.shopTabs button{border:0;border-bottom:2px solid transparent;border-radius:0;background:none;color:#aebdb9;font-size:12px;font-weight:700;letter-spacing:.035em;padding:0 4px}.shopTabs button[aria-selected=true]{color:#e9e1c9;border-color:#76cbc4;background:linear-gradient(0deg,#1c555444,transparent 80%)}.shopTabs button:hover{color:#f6eccd}.shopMerchant{margin-left:auto;font-size:9px;letter-spacing:.07em;color:#bfba9c;padding-right:28px}#shop .shopHeader .close{top:13px;right:15px;padding:2px 7px;color:#c0ccbf;font-size:24px;border:0;background:none}
.shopBody{display:grid;grid-template-columns:65px minmax(0,1fr) 306px;height:calc(100% - 155px)}.quickItems{border-right:1px solid #506258;display:flex;flex-direction:column;align-items:center;padding-top:22px;background:#07161d}.quickLabel{font-size:7px;letter-spacing:.02em;color:#b5c3b9;margin-bottom:14px}#quickItems{display:flex;flex-direction:column;gap:18px}.smallItem{display:flex;flex-direction:column;align-items:center;border:0;background:none;padding:0;gap:5px;color:#e5cf8d;font-size:11px}.smallItem img{width:43px;height:43px;border:1px solid #897849;background:#122a30;object-fit:contain}.smallItem:hover img,.smallItem.selected img{border-color:#83dad0;box-shadow:0 2px 7px #0008}.quickSigil{margin-top:auto;margin-bottom:22px;opacity:.65}.quickSigil img{width:29px;height:34px}
.shopCatalog{padding:19px 22px;min-width:0;overflow-y:auto}.shopTools{display:flex;align-items:center;gap:14px;margin-bottom:23px}.shopSearch{display:flex;flex:1;align-items:center;min-width:0;border:1px solid #566355;background:#05151c;padding:0 9px;gap:8px}.shopSearch>span{color:#a9c8c7;font-size:23px}.shopSearch #itemSearch{width:100%;height:34px;background:none;border:0;padding:0;font-size:12px;color:#e6e3d5;min-width:0;margin:0}.shopSearch:focus-within{outline:1px solid #82cfc6;outline-offset:2px}.shopSearch input:focus-visible{outline:0}.shopSearch input::placeholder{color:#9db3b3}.shopSearch kbd{font:9px Arial;white-space:nowrap;color:#aebfae;background:none;border:0}.shopTools .affordable{display:flex;align-items:center;white-space:nowrap;font-size:10px;color:#c6cbb8;gap:6px;margin:0}.affordable input{width:13px;height:13px;margin:0;accent-color:#69beb5}
.shopSectionLabel{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:17px}.shopSectionLabel h3,.moreItems h3{font:700 11px Arial,sans-serif;color:#cad6cb;letter-spacing:.055em;margin:0}.shopSectionLabel>span{font-size:10px;color:#a5bbb8}#suggestedItems{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px;align-items:stretch}.recommendedItem{position:relative;display:flex;flex-direction:column;align-items:center;min-width:0;min-height:300px;padding:16px 10px 12px;border:1px solid #435e5f;background:linear-gradient(150deg,#12313a,#0a2028 70%);border-radius:0;color:#dbe4d8;text-align:center;cursor:pointer}.recommendedItem:hover{border-color:#89bcb3;background:#15353e}.recommendedItem.selected{border-color:#78d0c9;box-shadow:inset 0 -3px #78d0c9;background:linear-gradient(#173b43,#0a252e)}.recommendedName{font:700 13px/1.3 Arial,sans-serif;color:#e4e6d2;min-height:34px;display:flex;align-items:center;justify-content:center}.recommendedItem>img{width:78px;height:78px;object-fit:contain;border:1px solid #9b8858;background:#081820;margin:14px 0 11px}.itemCost{font-size:13px;color:#e3cd87;font-variant-numeric:tabular-nums}.recommendedItem .itemCategory{margin-top:9px;padding:4px 7px;background:#051920;color:#c7d5cb;font-size:9px;letter-spacing:.06em}.recommendRule{position:relative;width:100%;margin:18px 0 14px;color:#78bfb9;font-size:10px}.recommendRule:before,.recommendRule:after{content:'';position:absolute;top:50%;height:1px;background:#406767;width:38%;left:0}.recommendRule:after{left:auto;right:0}.recommendedItem>strong{font-size:11px;line-height:1.45;color:#e0dbc2}.recommendHint{font-size:11px;line-height:1.55;margin-top:7px;color:#b5c9c5}.recommendOwned{font-size:10px;color:#9fcbc2;margin-top:auto;padding-top:10px;min-height:13px}.moreItems{margin-top:27px}.moreItems h3{margin-bottom:14px}#commonItems{display:flex;gap:15px}.moreItems .smallItem img{height:40px;width:40px}.moreItems .smallItem span{font-size:10px}
#shop #shopItems{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:18px 0 0}.statFilters{display:flex;gap:5px;flex-wrap:wrap}.statFilters button{border:1px solid transparent;background:none;padding:7px 9px;font-size:11px;color:#afc6bf}.statFilters button[aria-pressed=true]{border-color:#678c82;color:#e6e0c5;background:#153239}.catalogItem{display:grid;grid-template-columns:57px minmax(0,1fr);gap:12px;align-items:center;text-align:left;border:1px solid #355052;background:#0b222a;padding:14px 11px;min-height:128px;color:#e5dfc5}.catalogItem:hover,.catalogItem.selected{border-color:#76c8c1;background:#15343c}.catalogItem>img{width:57px;height:57px;object-fit:contain;border:1px solid #9a8757;background:#081820}.catalogItem>span{display:flex;flex-direction:column;gap:8px;min-width:0}.catalogItem strong{font-size:13px;line-height:1.4}.catalogItem small{font-size:11px;line-height:1.5;color:#b9cfc8}.catalogItem b{font-size:12px;font-weight:400}.catalogItem .catalogOwned{grid-column:1/-1;font-size:10px;color:#91bdb6;min-height:12px}#shop #shopEmpty,#recommendationsComplete{font-size:13px;line-height:1.7;color:#c6d6cf;padding:24px 8px}
#shop #itemDetail{border-left:1px solid #536254;background:#06171f;display:flex;flex-direction:column;padding:0;text-align:left;overflow:auto}.itemDisplay{position:relative;display:flex;flex-direction:column;align-items:center;padding:22px 20px 15px;min-height:210px;background:radial-gradient(ellipse at 50% 70%,#23434a80,transparent 70%)}#detailCategory{align-self:flex-start;font-size:10px;letter-spacing:.09em;color:#b8c8bc}#shop #detailImage{width:104px;height:104px;background:#0b2027;border:1px solid #a08a54;object-fit:contain;margin:14px 0 10px}#detailCost{font-size:14px}.itemDisplay small{font-size:8px;letter-spacing:.08em;color:#b2bca7;margin-top:8px}.detailCopy{border-top:1px solid #3f524c;padding:17px 22px;flex:1}#shop #detailName{font:700 18px/1.3 Arial,sans-serif;margin:0 0 10px;color:#e9dfbe}#shop #detailPurpose{font-size:12px;line-height:1.6;color:#b5cbc7;margin:0 0 14px}#shop #detailGain{font-size:13px;color:#e3d69d}#shop #detailComparison{font-size:11px;line-height:1.6;color:#91d4c9;margin:11px 0}#detailOwned{font-size:10px;color:#bbc9bf;margin:0}#shop .itemRules{border-top:0;margin:10px 0 0;padding:0;font-size:10px;line-height:1.6;color:#b2c1b8}.detailPurchase{padding:0 20px 18px}#purchaseReason{min-height:16px;font-size:11px;color:#dac49f;margin:0 0 9px;line-height:1.5}#purchaseItem{width:100%;height:40px;background:#15373f;border:1px solid #b9a168;box-shadow:inset 0 0 0 2px #071921;color:#e5dba8;font-size:12px;font-weight:700;letter-spacing:.035em}#purchaseItem:hover:not(:disabled){background:#24585c;border-color:#87d7cf}#purchaseItem:disabled{opacity:1;background:#16282e;color:#9eb0a9;border-color:#54615a;cursor:not-allowed}
.shopFooter{display:flex;align-items:center;gap:22px;height:64px;padding:0 22px 0 83px;border-top:1px solid #685d40;background:#06161d}.shopEquipment{display:flex;gap:12px;align-items:center}#shopInventory{display:flex;gap:5px}#shopInventory .slot{width:34px;height:34px;min-width:0;padding:0;border:1px solid #6c7155;border-radius:0;background:#102830}#shopInventory button:hover{border-color:#80d8ca}#shopSlots{font-size:10px;color:#aebfb3;white-space:nowrap}.shopBalance{display:flex;align-items:baseline;gap:7px;color:#e6ce86;margin-left:4px}.shopBalance strong{font-size:18px;font-weight:700;font-variant-numeric:tabular-nums}.shopBalance>span{font-size:10px}.shopBalance>span:last-child{font-size:9px;color:#b4b69a}.shopKeys{display:flex;gap:16px;margin-left:auto;font-size:10px;color:#a9bbb4;white-space:nowrap}.shopKeys kbd{font-size:9px;background:none;border:0;color:#d3d7c7}#shop.itemShop #shopStatus{height:32px;min-height:0;border-top:1px solid #3c4e45;margin:0!important;padding:8px 22px!important;color:#becdc4;font-size:11px!important;line-height:16px;background:#0c232a}
@media(max-height:800px){#shop.itemShop{height:min(636px,94vh);max-height:94vh}.shopHeader{height:51px}.shopBody{height:calc(100% - 144px)}.shopCatalog{padding:15px 18px}.shopTools{margin-bottom:17px}.shopSectionLabel{margin-bottom:13px}.recommendedItem{min-height:279px;padding:12px 8px 10px}.recommendedItem>img{width:69px;height:69px;margin:10px 0}.recommendRule{margin:14px 0 10px}.moreItems{margin-top:18px}.moreItems h3{margin-bottom:11px}.itemDisplay{min-height:179px;padding-top:17px;padding-bottom:12px}#shop #detailImage{height:85px;width:85px;margin:10px 0}.detailCopy{padding:14px 20px}#shop #detailPurpose{margin-bottom:10px}.detailPurchase{padding-bottom:14px}.shopFooter{height:61px}}
@media(max-width:1080px){.shopBody{grid-template-columns:57px minmax(0,1fr) 266px}.shopHeader{padding-left:72px}.shopTabs{gap:23px}.shopMerchant{display:none}.shopCatalog{padding:15px}.shopTools{gap:8px}.shopSearch kbd{display:none}.shopSectionLabel>span{font-size:9px}.recommendedItem{padding-left:7px;padding-right:7px}.recommendedName{font-size:12px}.recommendHint{font-size:10px}.shopFooter{padding-left:72px;gap:15px}.shopKeys{gap:10px;font-size:9px}.shopKeys>span:first-child{display:none}.catalogItem{gap:8px;padding:12px 9px;grid-template-columns:46px 1fr}.catalogItem>img{width:46px;height:46px}.catalogItem strong{font-size:12px}.statFilters button{padding:6px 7px}}
/* Keep the equipment shortcut row, including its prices, above the fixed footer. */
#shop .shopSearch{margin:0}
#shop .recommendedItem{min-height:282px}
#shop .moreItems{margin-top:19px}
#shop .recommendHint{font-weight:400}
@media(max-height:800px){#shop .recommendedItem{min-height:262px}#shop .moreItems{margin-top:16px}}

/* Reforged equipment keeps the approved family artwork; tier is explicit. */
#shop [data-upgrade-item],#inventory [data-upgrade-item]{position:relative}
#shop [data-upgrade-item]::after,#inventory [data-upgrade-item]::after{content:"II";position:absolute;right:2px;top:2px;padding:2px 4px;background:#d8c184;color:#10252b;font:700 10px/1 Arial,sans-serif;pointer-events:none;border:1px solid #f4e5b3}
#shop [data-upgrade-item] img{border-color:#d8c184}
#detailRecipe{margin-top:13px;border-top:1px solid #3f524c;padding-top:11px}
#detailRecipe>span{font-size:9px;letter-spacing:.05em;color:#bdcfc9}
#detailRecipe button{position:relative;display:flex;align-items:center;gap:9px;margin-top:8px;padding:6px;width:100%;background:#102d35;border:1px solid #637d74;text-align:left;color:#e6dbb6;font-size:11px}
#detailRecipe button:hover{border-color:#91d4c9;background:#193b42}
#detailRecipe img{width:30px;height:30px;object-fit:contain}
#commonItems{flex-wrap:wrap;gap:11px}
#shop .itemDisplay{min-height:0;padding:14px 20px 10px}
#shop #detailImage{width:76px;height:76px;margin:9px 0}
#shop .detailCopy{padding-top:13px}
#shop #detailPurpose{margin-bottom:10px}

#shop .itemDisplay,#shop .detailPurchase{flex-shrink:0}
#shop .detailCopy{min-height:0;overflow:auto}
#shop .detailPurchase{padding-top:10px}

#sellItem{width:100%;min-height:32px;margin-top:8px;border:1px solid #8d7d56;background:#191e1e;color:#e5dba8;font-size:11px;font-weight:700}
#sellItem:hover:not(:disabled){background:#343125;border-color:#c7b37b}
#sellItem:disabled{color:#9eb0a9;border-color:#54615a;cursor:not-allowed}
#shopInventory [aria-pressed=true]{border-color:#87d7cf;outline:1px solid #87d7cf;outline-offset:2px}
