/* Shared pipe-separated book facts: year | GR | pepper heat | ★ rating [| date].
   Used by medium book cards and series book cards (overview, author, detail rail). */

.ds-book-facts,
.ser-overview-book-facts,
.series-book-facts,
.ds-book-detail .bd-series-facts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  color: var(--color-text-secondary);
  font-size: var(--type-micro-size);
  line-height: var(--type-micro-line);
  white-space: nowrap;
}

.ds-book-fact-sep,
.ser-overview-book-fact-sep,
.series-book-fact-sep,
.ds-book-detail .bd-series-fact-sep {
  flex: 0 0 auto;
  margin: 0 8px;
  color: var(--color-icon-muted);
}

.ds-book-fact-rating,
.ds-book-fact-heat,
.ser-overview-book-facts .ser-overview-book-rating,
.ser-overview-book-facts .ser-overview-book-heat,
.series-book-facts .series-book-rating,
.series-book-facts .series-book-heat,
.ds-book-detail .bd-series-facts .bd-series-rating,
.ds-book-detail .bd-series-facts .bd-series-heat {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: inherit;
  white-space: nowrap;
}

.ds-book-fact-rating svg,
.ds-book-fact-heat svg,
.ser-overview-book-facts .ser-overview-book-rating svg,
.ser-overview-book-facts .ser-overview-book-heat svg,
.series-book-facts .series-book-rating svg,
.series-book-facts .series-book-heat svg,
.ds-book-detail .bd-series-facts .bd-series-rating svg,
.ds-book-detail .bd-series-facts .bd-series-heat svg {
  width: 12px;
  height: 12px;
  flex: 0 0 auto;
  color: inherit;
  fill: currentColor;
}

/* Medium catalog card: same row, pinned under copy.
   Book cards only: no year; separators half of the shared 8 px. */
.medium-card .card-meta.ds-book-facts {
  margin-top: 12px;
  height: auto;
  flex-shrink: 0;
  overflow: hidden;
}

.medium-card .card-meta.ds-book-facts .ds-book-fact-sep {
  margin: 0 4px;
}

.medium-card.section-compact .card-copy > .card-meta.ds-book-facts {
  margin-top: auto;
  padding-top: 12px;
}

.medium-card .card-meta.ds-book-facts .ds-book-fact-date,
.medium-card .card-meta.ds-book-facts time {
  color: inherit;
  font-size: inherit;
  line-height: inherit;
  margin-left: 0;
}
