.equipment-icon{display:block;width:42px;height:42px;flex:0 0 auto;background:url("assets/hero-equipment-passives.png") calc(var(--equipment-col) * 100% / 5) calc(var(--equipment-row) * 100% / 6)/600% 700% no-repeat;filter:drop-shadow(0 2px 3px #0009)}
.equipment-icon.adventurer-equipment-icon{background-image:url("assets/adventurer-equipment-atlas-v2.png");background-size:500% 210%;background-position:calc(var(--adventurer-col) * 25%) center}
.equipment-icon.adventurer-equipment-icon.equipment-slot-boots{background-position:calc(var(--adventurer-col) * 25%) center}
.hero-loadout-card .hero-gear-slot{position:absolute;z-index:2;display:grid;place-items:center;min-width:0;min-height:0;margin:0;padding:0;border:0;border-radius:0;background:#16211d;color:#fff0ae;cursor:pointer;box-sizing:border-box}
.hero-loadout-card .hero-gear-slot.empty{background:transparent}
.hero-loadout-card .hero-gear-slot.rarity-common{background:#364046}.hero-loadout-card .hero-gear-slot.rarity-uncommon{background:#1d5633}.hero-loadout-card .hero-gear-slot.rarity-rare{background:#214d83}.hero-loadout-card .hero-gear-slot.rarity-epic{background:#55316d}.hero-loadout-card .hero-gear-slot.rarity-legendary{background:#75501b}.hero-loadout-card .hero-gear-slot.rarity-mythic{background:#702535}
.hero-gear-slot.empty span{opacity:0}.hero-gear-slot:hover span,.hero-gear-slot:focus-visible span{opacity:1}
.hero-gear-slot:hover,.hero-gear-slot:focus-visible{outline:2px solid #f1c95c;outline-offset:1px;filter:brightness(1.15)}
.hero-loadout-card .gear-helmet{left:40.3%;top:7.7%;width:25.2%;height:16.8%}
.hero-loadout-card .gear-armor{left:40.3%;top:32.1%;width:25.2%;height:16.8%}
.hero-loadout-card .gear-gloves{left:71.8%;top:32.5%;width:22.5%;height:16.8%}
.hero-loadout-card .gear-pants{left:40.3%;top:57.2%;width:25.2%;height:15.6%}
.hero-loadout-card .gear-boots{left:40.3%;top:79.45%;width:25.2%;height:14.1%}
.hero-gear-slot .equipment-icon{width:85%;height:85%;max-width:56px;max-height:56px;aspect-ratio:1;object-fit:contain}
.gear-inventory-card .equipment-icon{width:56px;height:56px}.gear-inventory-card .weapon-combat-stats{color:#e3c779}
#inventoryGrid>.card[data-item-uid]{display:flex;flex-direction:column;gap:8px;min-height:245px}
#inventoryGrid>.card[data-item-uid] .card-visual{min-height:70px;align-items:center;gap:10px}
#inventoryGrid>.card[data-item-uid] .card-visual .weapon-icon{width:56px;height:56px;flex:0 0 56px;border:0;border-radius:0;background-color:transparent;box-shadow:none}
#inventoryGrid>.card[data-item-uid] .weapon-state{margin-top:auto;align-self:stretch}
#inventoryGrid>.card[data-item-uid] .actions{display:flex;justify-content:flex-end;gap:5px;margin-top:0}

/* Preserve the illustrated slot beneath every weapon rarity. */
.hero-loadout-card .hero-weapon-preview{border:0;box-shadow:none}
.hero-loadout-card .hero-weapon-preview.rarity-common{background:#364046}.hero-loadout-card .hero-weapon-preview.rarity-uncommon{background:#1d5633}.hero-loadout-card .hero-weapon-preview.rarity-rare{background:#214d83}.hero-loadout-card .hero-weapon-preview.rarity-epic{background:#55316d}.hero-loadout-card .hero-weapon-preview.rarity-legendary{background:#75501b}.hero-loadout-card .hero-weapon-preview.rarity-mythic{background:#702535}
.equipment-fragment-reward{display:block;width:96px;height:96px;margin:16px auto;background-image:url('assets/backpack-actions-v2.png');background-size:300% 100%;background-position:right center;background-repeat:no-repeat;filter:drop-shadow(0 0 12px #c59aff66)}
.main-weapon-picker .empty-slot-craft-button{display:block;margin:14px auto 0;padding:10px 20px;border:1px solid #e6c271;border-radius:7px;background:linear-gradient(#a36d2f,#5f391e);color:#fff2cd;font-weight:800;cursor:pointer}.main-weapon-picker .empty-slot-craft-button:hover{filter:brightness(1.12)}
