/* =========================================================================
   PETS: DAS GROSSE BILD BEIM KLICK AUF EIN PET (05.10.2026)
   =========================================================================
   Werte aus `launcher/src/styles/pets.css` der Fassung 0.79.10
   (`.asg-pt-gross*`). Code: assets/js/features/pets/pet-figure.js
   ========================================================================= */

.pt__gross {
  position: fixed;
  inset: 0;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgb(0 0 0 / 62%);
  cursor: zoom-out;
  animation: pt-gross-ein 0.2s ease-out;
}

@keyframes pt-gross-ein {
  from {
    opacity: 0;
  }
}

.pt__grossKasten {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px;
  background: rgb(20 18 14 / 94%);
  border: 1px solid var(--gold);
  border-radius: 8px;
  box-shadow: 0 0 24px rgb(0 0 0 / 70%);
  cursor: default;
}

.pt__grossKnoepfe {
  display: flex;
  gap: 6px;
  justify-content: center;
}

.pt__grossKnopf {
  padding: 4px 12px;
  color: #e8dcc0;
  font: inherit;
  cursor: pointer;
  background: rgb(255 255 255 / 6%);
  border: 1px solid rgb(210 190 150 / 35%);
  border-radius: 4px;
}

.pt__grossKnopf.is-active {
  color: var(--gold);
  border-color: var(--gold);
}

.pt__grossBuehne {
  width: 340px;
  height: 340px;
}

@media (prefers-reduced-motion: reduce) {
  .pt__gross {
    animation: none;
  }
}

/* Das gemalte Pet-Bild unter einem Pet-Ei in der Gegenstands-Datenbank
   (`.asg-db-petbild` in `datenbank.css` des Launchers). Code: assets/js/features/database/db.js */
.db__petbild {
  display: flex;
  justify-content: center;
  margin: 10px 0 4px;
}

.db__petbild img {
  width: min(340px, 70%);
  border: 1px solid rgb(255 255 255 / 10%);
  border-radius: 8px;
}
