/* Original files stay untouched. Registered SVG viewBoxes trim only blank canvas;
   other drawings show their complete source canvas with object-fit: contain. */
.custom-art-frame {
  position: absolute;
  inset: 0;
  background: #fff;
  visibility: hidden;
}
.has-custom-art > .custom-art-frame { visibility: visible; }
.custom-art-frame > .custom-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background: #fff;
}
.custom-art-frame > .custom-art-framed { overflow: hidden; }
.variant-art { border-color: #aa8dca; }
.variant-holo:has(.has-custom-art) .holo-layer {
  mix-blend-mode: multiply;
  opacity: .72;
}
.art-pending-label {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  padding: 3px 7px;
  color: #536348;
  background: #f1f0dfdd;
  border: 1px solid #77806455;
  font-size: clamp(6px, 3.5cqw, 11px);
  line-height: 1.4;
  white-space: nowrap;
}
.variant-fullart:has(.has-custom-art) { background: #fff; }
.variant-fullart .card-art.has-custom-art {
  position: relative;
  inset: auto;
  margin-inline: -10px;
  background: #fff;
}
.variant-fullart .custom-art-frame { inset: 0; }
.variant-fullart .has-custom-art + .card-bottom { background: #e6e8d3f2; }
.variant-fullart.rank-ain .has-custom-art + .card-bottom { background: #202a21f2; }
