/* One supplied iPhone frame; resize only its width to preserve every ratio.
   Native frame: 1350 × 2760. Aperture: (72,69) 1206 × 2622.
   Unobscured capture area: (93,260) 1164 × 2292.184615.
   1164 / 2292.184615 = 780 / 1536. No source pixels are cropped. */
.iphone-mockup{
  position:relative;
  display:block;
  flex:none;
  width:var(--iphone-width,240px);
  max-width:100%;
  height:auto;
  aspect-ratio:1350 / 2760;
  isolation:isolate;
  filter:drop-shadow(0 13px 19px #26212c1c);
}
.iphone-mockup__aperture{
  position:absolute;
  left:5.3333333333%;
  top:2.5%;
  width:89.3333333333%;
  height:95%;
  background:#fff;
  -webkit-mask:url('/assets/frames/phone-aperture-mask.png') center / 100% 100% no-repeat;
  mask:url('/assets/frames/phone-aperture-mask.png') center / 100% 100% no-repeat;
  pointer-events:none;
  z-index:0;
}
.iphone-mockup__safe-area{
  position:absolute;
  left:6.8888888889%;
  top:9.4202898551%;
  width:86.2222222222%;
  height:83.0501672241%;
  z-index:1;
}
.iphone-mockup .iphone-mockup__screen{
  display:block;
  width:100%;
  height:100%;
  max-width:none;
  max-height:none;
  object-fit:contain;
  object-position:center;
  border:0;
  border-radius:0;
  box-shadow:none;
  filter:none;
  transform:none;
}
.iphone-mockup .iphone-mockup__frame{
  position:absolute;
  inset:0;
  display:block;
  width:100%;
  height:100%;
  max-width:none;
  max-height:none;
  pointer-events:none;
  object-fit:contain;
  border:0;
  border-radius:0;
  box-shadow:none;
  z-index:2;
}
