.listing-art {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #eceef0;
  color: var(--muted);
  font-size: 12px;
}

.listing-photo {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
}

.listing-art > span {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 12px;
  text-align: center;
}

.detail-main-image .listing-art {
  width: min(100%, 420px);
}

.detail-photo-dialog .listing-art {
  width: min(100%, 390px);
  margin-inline: auto;
}

.detail-thumbnails {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.detail-thumbnails button {
  height: 72px;
  padding: 2px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #eceef0;
}

.detail-thumbnails button[aria-pressed="true"] {
  border: 2px solid var(--gold-dark);
}

.detail-thumbnails img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.detail-description p {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}