/* The last card shows its full face. The others share the remaining width. */
.stage .hand.product-hand {
  --card-width:min(43vw,68svh);
  width:min(91vw,calc(var(--card-width)*2.35));
  display:grid;
  grid-template-columns:repeat(var(--gaps),minmax(0,1fr)) var(--card-width);
  align-items:end;
  justify-content:center;
  bottom:4.5svh;
  padding:0;
  overflow:visible;
  pointer-events:none;
}
.stage .product-hand[hidden] {display:none}
.stage .product-hand .feature {
  width:var(--card-width);
  aspect-ratio:1.56;
  margin:0;
}
.stage .product-hand .feature.show .face {transform:translateY(-1.4svh) rotate(0) scale(1.025)}
.stage .product-hand .scene {object-fit:contain;padding:0}
.stage.both-open .product-hand {width:61vw;--card-width:min(31vw,60svh)}
@media(max-width:600px) {
  .stage .hand.product-hand,.stage.both-open .product-hand {
    --card-width:min(64vw,66svh);
    width:92vw;
    bottom:8svh;
  }
}

/* A narrow clear lip overlaps the inserted photo on both faces. */
.unit:not(.person) .front::before,.product-print::after {
  content:"";
  position:absolute;
  z-index:1;
  inset:11% 0 22%;
  pointer-events:none;
  background:linear-gradient(90deg,#fcffffa6,#d9e7e733 1.5px,transparent 3px calc(100% - 3px),#52636340 calc(100% - 1.6px),#fff8);
  box-shadow:inset 0 1px 1px #36494440,inset 0 -1px 0 #f5ffff94;
}
.unit.english .product-print .back-art {
  height:67%;
  object-fit:cover;
  mask-image:none;
}

/* The personal tag is a small maple board with the drawing printed into its grain. */
.unit.person {--w:min(12vw,15.5svh,148px);right:2vw}
.person .badge-turn .badge,.person .personal-print,.person .badge-toggle {
  border-radius:calc(var(--w)*.085);
}
.person .badge.front,.person .personal-print {
  background:#e6c9a1 url("maple-grain.webp") center/cover;
  border:1px solid #ac89637a;
  box-shadow:inset 0 1px 1px #fff4dcbe,inset 1px 0 1px #ffefd28c,inset 0 -2px 1px #956d4380;
}
.person .badge .portrait {
  z-index:0;
  inset:0;
  width:100%;
  height:100%;
  mix-blend-mode:multiply;
  filter:brightness(1.09);
}
.person .personal-print {background-position:50% 65%;background-size:120%}
@media(max-width:780px) {
  .unit.person {right:1.5vw;--w:min(14vw,16svh)}
}

@media(min-width:781px) {
  .stage {--w:min(24vw,26svh,324px)}
}

/* Download controls share the printed insert and turn as part of its face. */
.unit .badge.reverse .product-print img.back-art {
  z-index:0;
  height:52%;
  object-fit:contain;
}
.product-print .platforms button {background:#ffffff36}
.product-print .platforms button:is(:hover,:focus-visible) {background:#ffffffa8}
