/* --- Der Doppelkasten am Gegenstand (`Beutetipp.tsx`, grosse Fassung) ---- */

.mo__itemtipp {
  position: absolute;
  z-index: 30;
  display: flex;
  flex-direction: column;
  width: 288px;
  overflow: hidden;
  background: rgb(0 0 0 / 90%);
  border: 1px solid rgb(0 0 0);
  transition: opacity 220ms ease;
}

.mo__itemkopf {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 7px 8px;
}

.mo__itemzeile {
  display: flex;
  gap: 7px;
  align-items: center;
  height: 28px;
  min-width: 0;
}

.mo__itemname {
  min-width: 0;
  padding: 0;
  overflow: hidden;
  color: var(--gold);
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: inherit;
  white-space: nowrap;
  text-align: left;
  text-overflow: ellipsis;
  background: none;
  border: 0;
  cursor: pointer;
  appearance: none;
}

.mo__itemname:hover,
.mo__itemname:focus-visible {
  color: var(--gold-bright);
  text-decoration: underline;
  outline: none;
}

/* Bild links, Werte und Beschreibung rechts, 150 hoch, rollt innen. */
.mo__itemhaupt {
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 9px;
  height: 150px;
}

/* Das Original in 24 Punkten, auf 72 gezogen, hart gerastert (Renés
   Entscheidung 23.09.2026 für die Einzelansicht, hier dieselbe). */
.mo__itembild {
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.mo__itembild img {
  width: 72px;
  height: 72px;
  box-sizing: border-box;
  padding: 6px;
  image-rendering: pixelated;
  background: rgb(0 0 0 / 25%);
  border: 1px solid rgb(255 255 255 / 7%);
  border-radius: 5px;
}

.mo__itemwerte {
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: 150px;
  padding-left: 9px;
  padding-right: 4px;
  overflow-y: auto;
  border-left: 1px solid rgb(255 255 255 / 12%);
  scrollbar-width: thin;
  scrollbar-color: rgb(232 195 122 / 45%) transparent;
}

.mo__wertzeile {
  display: flex;
  flex: none;
  gap: 6px;
  align-items: baseline;
  justify-content: space-between;
  height: 12px;
  overflow: hidden;
}

.mo__wertname {
  min-width: 0;
  overflow: hidden;
  color: rgb(255 255 255 / 60%);
  font-size: 0.58rem;
  line-height: 12px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.mo__wertzahl {
  flex: none;
  color: rgb(214 176 106 / 92%);
  font-size: 0.58rem;
  font-variant-numeric: tabular-nums;
  line-height: 12px;
  white-space: nowrap;
}

.mo__wirkzeile {
  flex: none;
  height: 12px;
  overflow: hidden;
  color: rgb(255 255 255 / 74%);
  font-size: 0.56rem;
  line-height: 12px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.mo__werteleer {
  flex: none;
  color: rgb(255 255 255 / 55%);
  font-size: 0.58rem;
  line-height: 13px;
}

.mo__itembeschreibung {
  flex: none;
  margin-top: 4px;
  color: rgb(255 255 255 / 74%);
  font-size: 0.6rem;
  line-height: 15px;
  white-space: pre-line;
}

.mo__itemart {
  height: 14px;
  overflow: hidden;
  color: rgb(255 255 255 / 60%);
  font-size: 0.6rem;
  line-height: 14px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.mo__itempreis {
  height: 14px;
  overflow: hidden;
  color: rgb(214 176 106 / 92%);
  font-size: 0.6rem;
  font-variant-numeric: tabular-nums;
  line-height: 14px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

/* Kasten 2: wer wirft es. Die Linie ist die Naht. */
.mo__itemdropper {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 6px 8px;
  background: rgb(255 255 255 / 4%);
  border-top: 1px solid rgb(255 255 255 / 12%);
}

.mo__itemmarke {
  height: 13px;
  color: rgb(210 190 150 / 62%);
  font-size: 0.5rem;
  letter-spacing: 0.1em;
  line-height: 13px;
  text-transform: uppercase;
}

.mo__dropperliste {
  margin: 0;
  padding: 0;
  list-style: none;
}

.mo__dropperliste > li {
  height: 19px;
  overflow: hidden;
}

.mo__dropperleer {
  color: rgb(255 255 255 / 62%);
  font-size: 0.6rem;
  line-height: 19px;
}

.mo__dropperzeile {
  display: flex;
  gap: 6px;
  align-items: baseline;
  width: 100%;
  height: 19px;
  padding: 0;
  color: inherit;
  font: inherit;
  text-align: left;
  background: none;
  border: 0;
  appearance: none;
}

.mo__dropperknopf {
  cursor: pointer;
}

.mo__dropperknopf:hover,
.mo__dropperknopf:focus-visible {
  background: rgb(255 214 0 / 16%);
  outline: none;
}

.mo__droppername {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  color: rgb(255 255 255);
  font-size: 0.64rem;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.mo__droppermarke {
  margin-left: 5px;
  color: rgb(214 176 106 / 92%);
  font-size: 0.5rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.mo__dropperstufe {
  flex: none;
  color: rgb(255 255 255 / 45%);
  font-size: 0.56rem;
  font-variant-numeric: tabular-nums;
}

.mo__dropperzahl {
  flex: none;
  min-width: 46px;
  color: rgb(214 176 106 / 92%);
  font-size: 0.6rem;
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.mo__itemfuss {
  height: 13px;
  overflow: hidden;
  color: rgb(255 255 255 / 55%);
  font-size: 0.56rem;
  line-height: 13px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

/* --- Der Rückweg in der Gegenstands-Einzelansicht ------------------------- */

/* Ein Monstername in der Beuteliste, der in die Monster-Datenbank führt.
   Sieht aus wie Text, verhält sich wie ein Verweis (`.asg-db-verweis`). */
.db__verweis {
  padding: 0;
  color: inherit;
  font: inherit;
  text-align: left;
  background: none;
  border: 0;
  cursor: pointer;
}

.db__verweis:hover,
.db__verweis:focus-visible {
  color: var(--gold);
  text-decoration: underline;
  outline: none;
}

.db__beuteStufe {
  flex: 0 0 auto;
  color: var(--ink-dim);
  font-size: 0.72rem;
  white-space: nowrap;
}
