/* --- Die Stufenangabe, ganz unten ----------------------------------------- */

.mo__stufe {
  display: flex;
  gap: 10px;
  align-items: center;
  min-height: 42px;
  padding: 6px 9px;
  background: rgb(255 255 255 / 3%);
  border: 1px solid rgb(255 255 255 / 8%);
  border-radius: 7px;
}

.mo__stufenfeld {
  display: flex;
  flex: 0 0 auto;
  gap: 6px;
  align-items: center;
  color: rgb(238 228 208 / 88%);
  font-size: 0.6875rem;
}

.mo__stufeneingabe {
  width: 66px;
  padding: 4px 6px;
  background: rgb(0 0 0 / 28%);
  border: 1px solid rgb(255 255 255 / 12%);
  border-radius: 6px;
  color: rgb(238 228 208 / 92%);
  font: inherit;
  font-size: 0.75rem;
  font-variant-numeric: tabular-nums;
}

.mo__stufeneingabe:focus {
  border-color: rgb(214 176 106 / 55%);
  outline: none;
}

/* --- Der Kartenkasten am Monster (`Kartentipp.tsx`, `.asg-mo-tipp`) ------- */

/*
  Schwarzer Kasten, harter Rand, Minikarte oben, Name in Gold, Liste darunter:
  die Machart der Verliestafel der Weltkarte, die René als Vorbild genannt hat.
  JEDE ZAHL HIER STEHT AUCH IN `monster.js` (TIPP_*): Die CSS malt, die Zahlen
  entscheiden, ob er umklappt.
*/
.mo__tipp {
  position: absolute;
  z-index: 30;
  display: flex;
  flex-direction: column;
  width: 224px;
  padding: 0;
  overflow: hidden;
  background: rgb(0 0 0 / 88%);
  border: 1px solid rgb(0 0 0);
  transition: opacity 220ms ease;
}

/* Angeheftet: Der goldene Rand sagt, dass Escape ihn wieder loswird. */
.mo__tipp--fest {
  border-color: rgb(255 214 0 / 70%);
}

/* Beim Rollen links wird er blass und lässt Klicks durch (500 ms). */
.mo__tipp--ausgefadet {
  opacity: 0;
  pointer-events: none;
  transition: opacity 500ms ease;
}

.mo__tippvorschau {
  position: relative;
  width: 100%;
  height: 110px;
  background: rgb(8 13 8);
}

.mo__tippvorschau img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  user-select: none;
}

.mo__tipptitel {
  display: block;
  padding: 5px 6px 0;
  overflow: hidden;
  color: var(--gold);
  font-size: 0.72rem;
  line-height: 17px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.mo__tippspanne {
  display: block;
  padding: 0 6px 4px;
  overflow: hidden;
  color: rgb(255 255 255 / 72%);
  font-size: 0.66rem;
  line-height: 15px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

/* Zehn Zeilen zu 19 plus 5 Polsterung, danach rollt die Liste. */
.mo__tippliste {
  margin: 0;
  padding: 0 6px 5px;
  max-height: 195px;
  overflow-y: auto;
  list-style: none;
  scrollbar-width: thin;
  scrollbar-color: rgb(232 195 122 / 45%) transparent;
}

.mo__tippliste > li {
  height: 19px;
  overflow: hidden;
}

.mo__tippleer {
  height: 38px;
  overflow: hidden;
  color: rgb(255 255 255 / 62%);
  font-size: 0.6rem;
  line-height: 1.35;
}

.mo__tippknopf {
  display: flex;
  gap: 6px;
  align-items: baseline;
  justify-content: space-between;
  width: 100%;
  height: 19px;
  padding: 0;
  color: inherit;
  font: inherit;
  text-align: left;
  background: none;
  border: 0;
  cursor: pointer;
  appearance: none;
}

.mo__tippknopf:hover,
.mo__tippknopf.is-active,
.mo__tippknopf:focus-visible {
  background: rgb(255 214 0 / 16%);
  outline: none;
}

.mo__tippname {
  min-width: 0;
  overflow: hidden;
  color: rgb(255 255 255);
  font-size: 0.64rem;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.mo__tippkuerzel {
  margin-left: 5px;
  color: rgb(255 255 255 / 42%);
  font-size: 0.56rem;
}

.mo__tippzahl {
  flex: none;
  color: rgb(214 176 106 / 92%);
  font-size: 0.6rem;
  font-variant-numeric: tabular-nums;
}
