/* --- Abschnitte: Formen, Beute, Herkunft ---------------------------------- */

.mo__abschnitt {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.mo__abschnittsmarke {
  margin: 0;
  color: rgb(214 176 106 / 78%);
  font-family: var(--font-body);
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.mo__formenliste {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin: 0;
  padding: 0;
  max-height: 168px;
  overflow-y: auto;
  list-style: none;
  scrollbar-width: thin;
  scrollbar-color: rgb(232 195 122 / 45%) transparent;
}

.mo__formknopf {
  display: flex;
  flex-direction: column;
  gap: 2px;
  width: 100%;
  padding: 4px 8px;
  overflow: hidden;
  color: rgb(238 228 208 / 88%);
  font: inherit;
  text-align: left;
  background: rgb(255 255 255 / 3%);
  border: 1px solid rgb(255 255 255 / 8%);
  border-radius: 6px;
  cursor: pointer;
  appearance: none;
}

.mo__formknopf:hover {
  background: rgb(255 255 255 / 7%);
}

.mo__formknopf.is-active,
.mo__formknopf:focus-visible {
  background: rgb(214 176 106 / 16%);
  border-color: rgb(214 176 106 / 45%);
  outline: none;
}

.mo__formname {
  overflow: hidden;
  font-size: 0.7rem;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.mo__formzeile {
  overflow: hidden;
  color: rgb(210 190 150 / 52%);
  font-size: 0.5625rem;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.mo__formkennung {
  font-family: ui-monospace, 'Cascadia Mono', Consolas, monospace;
}

/* Die Beutetabelle (`.asg-db-tabelle`). */
.mo__tabelle {
  width: 100%;
  border-collapse: collapse;
}

.mo__tabelle th {
  padding: 2px 10px 3px 0;
  border-bottom: 1px solid rgb(214 176 106 / 30%);
  color: rgb(210 190 150 / 62%);
  font-size: 0.5625rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-align: left;
  text-transform: uppercase;
}

.mo__tabelle td {
  padding: 2px 10px 2px 0;
  border-bottom: 1px solid rgb(255 255 255 / 5%);
  color: rgb(238 228 208 / 88%);
  font-size: 0.6875rem;
  vertical-align: middle;
}

.mo__tabelle th:last-child,
.mo__tabelle td:last-child {
  padding-right: 0;
}

.mo__tsName {
  width: 100%;
}

th.mo__tsZahl,
td.mo__tsZahl {
  text-align: right;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

td.mo__tsZahl {
  color: rgb(210 190 150 / 78%);
  font-size: 0.625rem;
}

/* Bild und Name in EINER Zelle; der Bilderrahmen steht auch ohne Bild. */
.mo__beutename {
  display: flex;
  gap: 6px;
  align-items: center;
  width: 100%;
  min-width: 0;
  padding: 0;
  color: inherit;
  font: inherit;
  text-align: left;
  background: none;
  border: 0;
  appearance: none;
  cursor: default;
}

.mo__beuteknopf {
  cursor: pointer;
}

.mo__beuteknopf:hover .mo__beutetext,
.mo__beuteknopf:focus-visible .mo__beutetext {
  color: var(--gold-bright);
  text-decoration: underline;
}

.mo__beuteknopf:focus-visible {
  outline: none;
}

/* Der Bilderrahmen (`.asg-db-bild-icon`, 28 Punkte, Pixel bleiben Pixel). */
.mo__beutebild {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  overflow: hidden;
  background: rgb(0 0 0 / 25%);
  border: 1px solid rgb(255 255 255 / 7%);
  border-radius: 5px;
}

.mo__beutebild img {
  width: 24px;
  height: 24px;
  image-rendering: pixelated;
}

.mo__beutetext {
  flex: 1;
  overflow: hidden;
  color: rgb(238 228 208 / 90%);
  font-size: 0.6875rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mo__fahne {
  display: inline-block;
  margin-right: 4px;
  padding: 0 5px;
  background: rgb(214 176 106 / 16%);
  border: 1px solid rgb(214 176 106 / 38%);
  border-radius: 4px;
  color: rgb(238 228 208 / 88%);
  font-size: 0.5rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}
