/* A piece's crop of its colour's photograph: enlarged, shifted to its own
   spot and mirrored in place, so no two pieces on the rail match.
   The variables come from cutOf in catalog.js. Linked from the shop and
   from checkout, which both draw the same face. */
.face {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.face img {
  position: absolute;
  left: calc((1 - var(--zoom, 1)) * var(--ox, .5) * 100%);
  top: calc((1 - var(--zoom, 1)) * var(--oy, .5) * 100%);
  width: calc(var(--zoom, 1) * 100%);
  height: calc(var(--zoom, 1) * 100%);
  object-fit: cover;
  transform: scale(var(--fx, 1), var(--fy, 1));
  -webkit-user-drag: none;
}
.face.leg-face img {
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: none;
}
