/* =========================================================================
   DIE SCHWEBENDEN KÄSTEN DES PET-KATALOGS (05.10.2026)
   =========================================================================
   `.pt__tipp`     Herkunft an Ei und Futter, anfassbar (Händler, Karten)
   `.pt__arttipp`  was das Pet ist, an der ganzen Zeile, nur zum Ansehen
   Werte aus `launcher/src/styles/pets.css` (`.asg-pt-tipp*`,
   `.asg-pt-arttipp`). Die Breite 272 und die Höhe stehen auch in
   pets-tips.js, dort entscheiden sie über das Umklappen am Rand.
   ========================================================================= */

.pt__tipp,
.pt__arttipp {
  position: absolute;
  z-index: 5;
  display: flex;
  flex-direction: column;
  gap: 3px;
  width: 272px;
  box-sizing: border-box;
  padding: 7px 8px;
  background: rgb(0 0 0 / 92%);
  border: 1px solid rgb(255 255 255 / 12%);
  border-radius: 7px;
  text-shadow: none;
}

.pt__tipp {
  max-height: 300px;
  overflow-y: auto;
}

/* Nur zum Ansehen: Er fängt den Zeiger nicht ab, nichts flackert. */
.pt__arttipp {
  pointer-events: none;
}

.pt__tippkopf {
  display: flex;
  gap: 6px;
  align-items: center;
  min-width: 0;
}

.pt__tipptitel {
  flex: 1;
  overflow: hidden;
  color: rgb(255 214 0);
  font-size: 0.74rem;
  font-weight: 600;
  white-space: nowrap;
  text-overflow: ellipsis;
}

/* Der Name im Kopf ist ein Sprung in die Gegenstands-Datenbank. */
.pt__tippknopf {
  padding: 0;
  font: inherit;
  font-size: 0.74rem;
  font-weight: 600;
  text-align: left;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
  background: none;
  border: 0;
}

.pt__tippknopf:hover {
  color: var(--gold-bright);
}

.pt__tippmarke {
  color: rgb(210 190 150 / 62%);
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.pt__tippsatz {
  display: flex;
  gap: 6px;
  align-items: baseline;
  min-width: 0;
  color: rgb(238 228 208 / 90%);
  font-size: 0.66rem;
}

.pt__tippliste {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pt__tippzeile {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0 6px;
  padding: 2px 0;
  border-top: 1px solid rgb(255 255 255 / 6%);
}

.pt__tippzeile:first-child {
  border-top: 0;
}

.pt__tippname {
  overflow: hidden;
  color: rgb(238 228 208 / 90%);
  font-size: 0.66rem;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.pt__tippzahl {
  flex: none;
  color: rgb(214 176 106 / 92%);
  font-size: 0.6rem;
  font-variant-numeric: tabular-nums;
}

.pt__tipport {
  grid-column: 1 / -1;
  overflow: hidden;
  font-size: 0.6rem;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.pt__tippverweis {
  max-width: 100%;
  overflow: hidden;
  padding: 0;
  color: var(--gold);
  font: inherit;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
  cursor: pointer;
  background: transparent;
  border: 0;
  border-bottom: 1px dotted rgb(214 176 106 / 45%);
}

.pt__tippverweis:hover {
  border-bottom-color: var(--gold);
}

.pt__tippwerte {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin: 0;
}

.pt__tippwert {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr);
  gap: 6px;
  align-items: center;
}

.pt__tippwert > dt {
  color: rgb(210 190 150 / 62%);
  font-size: 0.6rem;
}

.pt__tippwert > dd {
  margin: 0;
  overflow: hidden;
  color: rgb(238 228 208 / 90%);
  font-size: 0.66rem;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.pt__tippwert--bild {
  min-height: 24px;
}

.pt__tippsache {
  display: flex;
  gap: 6px;
  align-items: center;
  min-width: 0;
  overflow: hidden;
}

/* Die Marke im Satz bricht nicht um ("Zähmen mit"), der Wert daneben schon. */
.pt__tippsatz > .pt__tippmarke {
  flex: none;
  white-space: nowrap;
}
