/* All app examples use the same phone proportions as the 390 × 844 originals.
   Keep the caption outside the device, including for shorter app sections. */
.measure-phone, .mini-phone, .phone-card {
  margin-inline: auto;
  width: min(100%, 214px);
  height: auto;
  min-width: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.measure-phone { width: min(100%, 206px); }

.measure-phone img, .mini-phone img, .phone-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 390 / 844;
  object-fit: contain;
  object-position: center top;
  border: 4px solid #292929;
  border-radius: clamp(16px, 2vw, 25px);
  background: #fff;
  box-shadow: 0 8px 18px rgb(24 24 24 / 8%);
}

.mini-caption, .phone-cap {
  padding: 9px 2px 0;
  background: transparent;
}

@media (max-width: 760px) {
  .measure-phone, .mini-phone, .phone-card { width: min(100%, 214px); }
  .mini-phone { width: min(calc((100% - 6px) / 2), 214px); }
  .measure-phone img, .mini-phone img, .phone-card img { border-width: 3px; }
}
