/* The photograph is unmodified. These shared coordinates crop its 505 × 707
   hardware bounds from the 1600 × 900 source and align the live glass to it. */
#ar-technology .duo-phone {
  --duo-photo: url("duo-reference-hardware.jpg") 48.94977% 49.22280% / 316.83168% 127.29844% no-repeat;
  aspect-ratio: 505 / 707;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

#ar-technology .duo-phone::before,
#ar-technology .duo-phone::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--duo-photo);
  pointer-events: none;
}
#ar-technology .duo-phone::before {
  -webkit-mask: url("duo-frame-outline.svg") center / 100% 100% no-repeat;
  mask: url("duo-frame-outline.svg") center / 100% 100% no-repeat;
}
#ar-technology .duo-phone::after {
  /* Show the actual glass and lens of the top-right punch-hole above the live display. */
  z-index: 4;
  clip-path: ellipse(3.43% 2.44% at 87.03% 9.34%);
}

#ar-technology .duo-display {
  inset: 2.62% 3.42% 2.16% 4.81%;
  border: 0;
  border-radius: 1.65% 13.9% 13.9% 1.65% / 1.15% 9.55% 9.55% 1.15%;
  background: #080808;
  /* Seal the photographic glass edge beneath the live screen at fractional device scales. */
  box-shadow: 0 0 0 1.5px #090909;
}
#ar-technology .duo-display::before {
  content: "";
  position: absolute;
  inset: 0;
  width: auto;
  height: auto;
  z-index: 1;
  border: 0;
  border-radius: 0;
  background: url("duo-lock-controls.svg") center / 100% 100% no-repeat;
  box-shadow: none;
  pointer-events: none;
}
#ar-technology .duo-wallpaper { z-index: 0; }
/* Keep the established lock screen date, time and brand wallpaper styles. */
#ar-technology .duo-clock { z-index: 1; pointer-events: none; }
#ar-technology .duo-home-bar {
  z-index: 1;
  left: 32%;
  bottom: 1.1%;
  width: 36%;
  height: .83%;
}
#ar-technology .duo-glare, #ar-technology .privacy-shade { z-index: 2; }
#ar-technology .duo-divider { z-index: 3; }
