/* jorge_inv — Kachel-Ansicht v1 (02.11., Betreiber): großes Bild, darunter die Symbole (♂/♀, Flüssigkeit,
   verpackt, Auftrag, gestohlen …), dann der Name, dann das Gewicht; die Anzahl „3×“ bleibt oben rechts.
   Überschreibt die Kachel-Regeln aus liste_v25.css (dort Bild 34 px, Symbole links gestapelt, Namen mitten
   im Wort umgebrochen). Bargeld/Coin-Zeilen bleiben unverändert. */

#inv-root .item-list.kacheln .item:not(.item-cash):not(.item-coin) {
  height: auto; min-height: 132px; padding: 10px 6px 10px 8px; gap: 0;
  display: grid; grid-template-columns: 1fr; grid-template-rows: auto auto auto 1fr;
  justify-items: center; align-items: start; text-align: center;
}

/* Bild groß, Symbole als eigene Zeile darunter (die Symbole stecken im selben Knoten wie das Bild) */
#inv-root .item-list.kacheln .item:not(.item-cash):not(.item-coin) .item-icon {
  position: static; width: 100%; height: auto; min-height: 72px;
  display: flex; flex-wrap: wrap; justify-content: center; align-content: flex-start; align-items: center; gap: 0 5px;
}
#inv-root .item-list.kacheln .item:not(.item-cash):not(.item-coin) .item-icon > img,
#inv-root .item-list.kacheln .item:not(.item-cash):not(.item-coin) .item-icon > .icon-ph {
  flex: 0 0 100%; width: 100% !important; height: 54px !important; max-height: 54px !important;
  object-fit: contain; margin-bottom: 4px; filter: drop-shadow(0 3px 6px rgba(0,0,0,.55));
}
#inv-root .item-list.kacheln .item:not(.item-cash):not(.item-coin) .item-icon > .icon-ph {
  display: grid; place-items: center; width: 54px !important; flex-basis: 54px; margin-left: calc(50% - 27px); margin-right: calc(50% - 27px);
}
#inv-root .item-list.kacheln .item:not(.item-cash):not(.item-coin) .item-icon .liq-drop,
#inv-root .item-list.kacheln .item:not(.item-cash):not(.item-coin) .item-icon .pack-box,
#inv-root .item-list.kacheln .item:not(.item-cash):not(.item-coin) .item-icon .job-lock,
#inv-root .item-list.kacheln .item:not(.item-cash):not(.item-coin) .item-icon .gender-badge {
  position: static !important; left: auto; top: auto; flex: none; width: 13px; height: 13px; display: grid; place-items: center;
}
#inv-root .item-list.kacheln .item:not(.item-cash):not(.item-coin) .item-icon .liq-drop svg,
#inv-root .item-list.kacheln .item:not(.item-cash):not(.item-coin) .item-icon .pack-box svg,
#inv-root .item-list.kacheln .item:not(.item-cash):not(.item-coin) .item-icon .job-lock svg,
#inv-root .item-list.kacheln .item:not(.item-cash):not(.item-coin) .item-icon .gender-badge svg { width: 12px; height: 12px; }
#inv-root .item-list.kacheln .item.item-stolen:not(.item-cash) .item-icon::after { position: static !important; flex: none; order: 9; }

/* Name: ganze Wörter, höchstens zwei Zeilen */
#inv-root .item-list.kacheln .item:not(.item-cash):not(.item-coin) .item-body { margin-top: 3px; width: 100%; align-self: start; }
#inv-root .item-list.kacheln .item:not(.item-cash):not(.item-coin) .item-name {
  font-size: 10.5px; line-height: 1.2; letter-spacing: -.005em; max-height: 26px;
  word-break: normal !important; overflow-wrap: normal !important; hyphens: manual;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; text-overflow: ellipsis;
}
#inv-root .item-list.kacheln .item:not(.item-cash):not(.item-coin) .item-weight {
  position: static; width: 100%; text-align: center; font-size: 9px; color: var(--text-mute); margin-top: 3px; align-self: start;
}
#inv-root .item-list.kacheln .item:not(.item-cash):not(.item-coin) .item-count { top: 4px; right: 4px; }
/* kein Rahmen ums Bild: das große Bild steht frei auf der Kachel */
#inv-root .item-list.kacheln .item:not(.item-cash):not(.item-coin) .item-icon { background: none !important; box-shadow: none !important; border: 0 !important; border-radius: 0; }
