.card-face, .card-back {
  padding: 0;
  border: 1px solid #c9c2b0;
  border-radius: 6% / 4.3%;
  box-shadow: 0 1px 3px #081c1770;
  box-sizing: border-box;
  overflow: hidden;
}
.card-face { background: #fffdf7; }
.card-back {
  background: #8c2f1c url("../assets/card-back.svg") center/100% 100% no-repeat;
}
.card-ink, .card-inverted, .card-plot {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.card-ink { container-type: inline-size; color: #1b1b1b; }
.card-ink.suit-hearts, .card-ink.suit-diamonds { color: #c62828; }
.four-color .card-ink.suit-diamonds { color: #1565c0; }
.four-color .card-ink.suit-clubs { color: #2e7d32; }
.card-plot { width: 100%; height: 100%; fill: currentColor; }
.card-inverted { transform: rotate(180deg); }
.card-index {
  position: absolute;
  left: 5.3%;
  top: var(--index-top, 2px);
  display: inline-flex;
  gap: .14em;
  align-items: center;
  font: 600 var(--index-size, clamp(13px, 20cqi, 22px))/1 Georgia, "Times New Roman", serif;
  letter-spacing: -.045em;
  color: inherit;
}
.card-index svg { width: .62em; height: .66em; fill: currentColor; }
