/* V25: Nur aktive Kleidung wie Ausrüstung aufbauen. Leere Platzhalter bleiben V24. */

/* Aktive Kleidungsbilder verwenden denselben freien Bildbereich wie Ausrüstung. */
.inventory-v16-clothing-grid > button.filled > span {
    position: absolute !important;
    top: 4px !important;
    right: 4px !important;
    bottom: 30px !important;
    left: 4px !important;
    width: auto !important;
    height: auto !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
    display: grid !important;
    place-items: center !important;
    pointer-events: none !important;
}

.inventory-v16-clothing-grid > button.filled .inventory-v16-centered-slot-image {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    width: 112% !important;
    height: 112% !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;
    opacity: 1 !important;
    mix-blend-mode: normal !important;
    filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .72)) !important;
}

/* Slotname oben mittig, Kleidungsname unten mittig – auch bei aktiven Slots. */
.inventory-v16-clothing-grid > button.filled > small {
    position: absolute !important;
    top: 7px !important;
    right: 6px !important;
    bottom: auto !important;
    left: 6px !important;
    z-index: 6 !important;
    display: block !important;
    overflow: hidden !important;
    color: #9f8654 !important;
    font-size: 10px !important;
    line-height: 10px !important;
    text-align: center !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}

.inventory-v16-clothing-grid > button.filled > strong {
    position: absolute !important;
    top: auto !important;
    right: 6px !important;
    bottom: 5px !important;
    left: 6px !important;
    z-index: 6 !important;
    display: block !important;
    overflow: hidden !important;
    color: #eee9e1 !important;
    font-size: 8px !important;
    line-height: 10px !important;
    text-align: center !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}

/* Aktive und ausgegraute Kleidungsmotive verwenden dieselbe Bildfläche. */
.inventory-v16-clothing-grid > button.filled > span {
    top: 20px !important;
    right: 3px !important;
    bottom: 20px !important;
    left: 3px !important;
}
.inventory-v16-clothing-grid > button.filled .inventory-v16-centered-slot-image {
    width: 118% !important;
    height: 118% !important;
}
