.tarot-picked-cards {
  --picked-gap: 0.34rem;
  display: flex;
  align-items: start;
  justify-content: safe center;
  gap: var(--picked-gap);
  width: min(100%, 36rem);
  min-width: 0;
  margin: 0.3rem auto 0.1rem;
  padding: 0.12rem 0.22rem 0.28rem;
  overflow-x: auto;
  list-style: none;
  overscroll-behavior-inline: contain;
  scrollbar-color: #caaa63 #26473c;
  scrollbar-width: thin;
}

.tarot-picked-cards > li {
  flex: 0 0 clamp(1.95rem, calc((100% - 9 * var(--picked-gap)) / 10), 2.25rem);
  min-width: 0;
}

.tarot-picked-art {
  position: relative;
  aspect-ratio: 300 / 510;
  overflow: hidden;
  border: 1px solid #d5ba79;
  border-radius: 0.25rem;
  background: #faf6ec;
  box-shadow: 0 1px 4px #11291d75;
}

.tarot-picked-cards .tarot-card-face {
  width: 100%;
  height: 100%;
  padding: 0.1rem;
  border: 0;
  border-radius: inherit;
  font-size: 0.6rem;
}

.tarot-picked-cards .tarot-card-face :is(.tarot-card-index, .tarot-card-subtitle) { display: none; }
.tarot-picked-cards .tarot-card-name { font-size: 0.85em; }

.tarot-picked-number {
  position: absolute;
  z-index: 1;
  inset: 1px 1px auto auto;
  min-width: 0.75rem;
  padding: 0 0.1rem;
  border-radius: 0.15rem;
  background: #243d32;
  color: #fff1cb;
  font-size: 0.56rem;
  font-variant-numeric: tabular-nums;
  font-weight: 750;
  line-height: 1.2;
  text-align: center;
}

.tarot-picked-position {
  display: block;
  margin-block-start: 0.13rem;
  color: #fff1cb;
  font-size: 0.65rem;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  line-height: 1.15;
  text-align: center;
}
