/* --- Die gefensterte Trefferliste (`Trefferliste.tsx`) --------------------- */

/*
  Die Liste ist der Roller, und der Zeilentakt ist FEST verdrahtet: 40 Punkte
  Knopf plus 4 Luft, zusammen 44. Nur mit festem Takt lässt sich aus der
  Rollposition rechnen, welche Zeilen sichtbar sind. Wer hier Höhen ändert,
  zieht `ZEILE` in `monster.js` mit, sonst rollt die Liste an sich vorbei.
*/
.mo__treffer {
  flex: 1 1 auto;
  min-height: 0;
  margin: 0;
  padding: 0;
  overflow-y: auto;
  list-style: none;
  scrollbar-width: thin;
  scrollbar-color: rgb(232 195 122 / 45%) transparent;
}

.mo__zeileFest {
  box-sizing: border-box;
  position: relative;
  height: 44px;
  padding-bottom: 4px;
}

.mo__abstand {
  display: block;
}

.mo__trefferknopf {
  display: flex;
  gap: 8px;
  align-items: center;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  padding: 5px 9px 5px 6px;
  overflow: hidden;
  text-align: left;
  cursor: pointer;
  background: rgb(255 255 255 / 3%);
  border: 1px solid rgb(255 255 255 / 8%);
  border-radius: 7px;
  color: rgb(238 228 208 / 88%);
  font: inherit;
}

.mo__trefferknopf:hover {
  background: rgb(255 255 255 / 7%);
}

.mo__trefferknopf.is-active {
  background: rgb(214 176 106 / 16%);
  border-color: rgb(214 176 106 / 45%);
}

.mo__trefferTexte {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.mo__trefferName {
  overflow: hidden;
  font-size: 0.75rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Die Zeile muss EINE Zeile bleiben: Der Takt ist fest. */
.mo__trefferZeile {
  overflow: hidden;
  color: rgb(210 190 150 / 52%);
  font-size: 0.5625rem;
  white-space: nowrap;
  text-overflow: ellipsis;
}

/* Das Abzeichen hinter dem Namen (MVP, Miniboss, Hauptform). */
.mo__marke {
  margin-left: 6px;
  padding: 1px 5px;
  color: var(--gold);
  font-size: 0.5rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  vertical-align: middle;
  background: rgb(214 176 106 / 12%);
  border: 1px solid rgb(214 176 106 / 32%);
  border-radius: 5px;
}

/* "Greift von selbst an", Renés A vom 19.09.2026. */
.mo__marke--agg {
  border-color: rgb(220 120 100 / 50%);
  color: rgb(230 150 130);
  background: rgb(220 120 100 / 10%);
}

/* Die Anzahl weiterer Formen, dezenter und ohne Versalien: Sie steht oft. */
.mo__formenmarke {
  margin-left: 6px;
  padding: 1px 4px;
  color: rgb(210 190 150 / 72%);
  font-size: 0.5rem;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  vertical-align: middle;
  background: rgb(255 255 255 / 6%);
  border: 1px solid rgb(255 255 255 / 12%);
  border-radius: 5px;
}

/* "gefunden über Event Poring", in Gold: die Antwort auf die Frage des Nutzers. */
.mo__ueber {
  margin-left: 6px;
  color: rgb(214 176 106 / 82%);
}
