/* Deck/collection card height follows its width, never the viewport height.
   The 2:3 art window matches all evolution frames and must not be stretched
   by a fixed-height grid row. Combat HUD cards and pack reveals are untouched. */
#journeyDeck .deck-slots,
#journeyDeck .collection-grid {
  align-items: start;
}

#journeyDeck .card-tile {
  height: auto;
  min-height: 0;
  max-height: none;
  grid-template-rows: auto 22px 9px 10px 5px 9px;
  align-content: start;
}

#journeyDeck .card-tile > .card-art-window {
  box-sizing: border-box;
  width: 100%;
  height: auto;
  min-height: 0;
  max-height: none;
  aspect-ratio: 2 / 3;
  align-self: start;
  margin-bottom: 3px;
}

#journeyDeck .card-art-composite .card-frame-art {
  object-fit: contain;
}
