/* V22: sichtbaren Bildinhalt auf eine einheitliche transparente Fläche setzen. */

.inventory-v16-clothing-grid > button > span,
.inventory-v16-equipment-grid > button > span,
.inventory-v16-equipment-grid > button.wide > span {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
    background-image: none !important;
    pointer-events: none !important;
}

.inventory-v16-centered-slot-image {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    display: block !important;
    width: 78% !important;
    height: 78% !important;
    max-width: none !important;
    max-height: none !important;
    margin: 0 !important;
    object-fit: contain !important;
    object-position: center center !important;
    transform: translate(-50%, -50%) !important;
    transform-origin: center center !important;
    clip-path: none !important;
    mix-blend-mode: normal !important;
    filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .72)) !important;
}

.inventory-v16-equipment-grid > button.wide .inventory-v16-centered-slot-image {
    width: 42% !important;
    height: 78% !important;
}

.inventory-v16-clothing-grid > button:not(.filled) .inventory-v16-centered-slot-image,
.inventory-v16-equipment-grid > button:not(.filled) .inventory-v16-centered-slot-image {
    opacity: .28 !important;
    filter: grayscale(1) sepia(.15) contrast(.82) brightness(.72) !important;
}

.inventory-v16-clothing-grid > button.filled .inventory-v16-centered-slot-image,
.inventory-v16-equipment-grid > button.filled .inventory-v16-centered-slot-image {
    opacity: 1 !important;
}

.inventory-v16-clothing-grid > button > small,
.inventory-v16-clothing-grid > button > strong,
.inventory-v16-equipment-grid > button > small,
.inventory-v16-equipment-grid > button > strong,
.inventory-v16-equipment-grid > button > b {
    position: relative !important;
    z-index: 4 !important;
}
