.card-art {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  aspect-ratio: 1.604;
  container-type: inline-size;
  padding: 7% 7.6% 6.4%;
  overflow: hidden;
  text-align: left;
  color: #1d2022;
  border: 1px solid #fff9;
  border-radius: 19px;
  box-shadow: 0 11px 18px -10px #0009, inset 0 1px #fff6;
}
.card-art::after {
  content: '';
  position: absolute;
  inset: 1px;
  border: 1px solid #fff3;
  border-radius: inherit;
  pointer-events: none;
}
.card-art.platinum {
  background: url('/card-vector-silver.svg') center / 100% 100% no-repeat,
    radial-gradient(ellipse at 70% 42%, #fff6, transparent 78%),
    radial-gradient(ellipse at bottom left, #8a8d9a29, transparent 81%),
    linear-gradient(132deg, #ced0d5, #e1e1e3 41%, #dedee0 55%, #bdc1c9);
  border-color: #fffc;
}
.card-art.gold {
  color: #201707;
  background: url('/card-vector-gold.svg') center / 100% 100% no-repeat,
    radial-gradient(ellipse at 6% 0%, #ffe5bb6b, transparent 56%),
    linear-gradient(116deg, #ba8349 0%, #d1a06a 22%, #e8bc83 38%,
      #f4d8a2 47%, #ffebc3 50%, #e6b778 53%, #ba8349 61%,
      #9d6332 69%, #c48c4f 77%, #ddaf74 92%, #c18a4f);
  border-color: #f2d19a;
  box-shadow: 0 11px 18px -10px #573312a6, inset 0 1px #fff3d0cc;
}
.card-art.gold::after { border-color: #fff0cd55; }
.card-art.graphite {
  color: #f9f8f7;
  background: url('/card-vector-black.svg') center / 100% 100% no-repeat,
    radial-gradient(ellipse at top, #53535557, transparent 81%),
    linear-gradient(130deg, #1a1b1e, #17181b 51%, #111214 87%, #171719);
  border-color: #ebcca6e8;
  box-shadow: 0 0 21px #ebc08a1c, inset 0 1px #fff7e745;
}
.card-art.graphite::after { border-color: #f7dab230; }
.card-top, .card-bottom { display: flex; justify-content: space-between; gap: 6px; }
.card-top { align-items: flex-start; }
.card-bottom { align-items: flex-end; letter-spacing: .16em; font-size: clamp(7px, 4.8cqi, 17px); font-weight: 550; }
.card-brand {
  display: block;
  flex: none;
  width: min(40%, 116px);
  height: auto;
  aspect-ratio: 3;
}
.card-art.graphite .card-brand { filter: brightness(0) invert(1); }
.card-edition, .card-kind { font-size: clamp(5px, 3cqi, 11px); font-weight: 750; letter-spacing: .17em; }
.card-edition { padding-top: .25em; }
.card-context { display: block; margin-top: .45em; font-size: .58em; font-weight: 720; white-space: nowrap; }
