/* A hardware bezel around the complete, unaltered Android app screenshot. */
.device-phone {
  position: relative;
  isolation: isolate;
  box-sizing: border-box;
  width: min(var(--device-width, 250px), 250px, 100%);
  margin-inline: auto;
  padding: 6px;
  border: 1px solid #72767e;
  border-radius: 34px;
  background: linear-gradient(115deg, #b2b5bb 0%, #4a4d54 5%, #17191e 24%, #53575e 58%, #17191e 85%, #888c94 100%);
  box-shadow: 0 0 0 1px #030406, 0 1px 0 2px rgba(255,255,255,.07), 0 28px 55px rgba(0,0,0,.43), 0 5px 14px rgba(0,0,0,.35);
}
.device-phone::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 2px;
  border: 1px solid #050609;
  border-radius: 31px;
  background: #07090d;
  box-shadow: inset 0 1px 1px rgba(255,255,255,.11);
}
.device-phone::after {
  content: "";
  position: absolute;
  z-index: 2;
  top: 3px;
  left: calc(50% - 12px);
  width: 24px;
  height: 2px;
  border-radius: 2px;
  background: #111319;
  box-shadow: 0 1px 0 rgba(255,255,255,.12);
}
.device-button {
  position: absolute;
  right: -3px;
  width: 3px;
  border: 1px solid #62666e;
  border-left: 0;
  border-radius: 0 2px 2px 0;
  background: linear-gradient(90deg, #24272e, #797d85 55%, #30333a);
  box-shadow: 1px 0 2px rgba(0,0,0,.4);
}
.device-button.power { top: 18%; height: 7%; }
.device-button.volume { top: 29%; height: 12%; }
.device-display {
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
  border: 1px solid #12151b;
  border-radius: 26px;
  background: #fff;
}
.device-status {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
  height: 26px;
  padding: 1px 14px 0;
  color: #11141a;
  background: #fff;
  font-family: Arial, sans-serif;
  font-size: 8px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -.1px;
}
.device-camera {
  position: absolute;
  top: 8px;
  left: calc(50% - 4px);
  width: 8px;
  height: 8px;
  border: 1px solid #2b2e35;
  border-radius: 50%;
  background: radial-gradient(circle at 42% 40%, #34404f 0, #10141a 24%, #030405 45%, #12151b 100%);
  box-shadow: 0 0 0 1px rgba(0,0,0,.07);
}
.device-signals { display: flex; align-items: center; gap: 3px; }
.device-signals svg { display: block; width: 10px; height: 8px; }
.device-signals svg:last-child { width: 14px; }
.device-app {
  display: grid;
  aspect-ratio: 900 / 1908;
  min-width: 0;
  background: #fff;
  line-height: 0;
}
.device-app img {
  grid-area: 1 / 1;
  align-self: start;
  display: block;
  box-sizing: border-box;
  width: 100%;
  height: auto;
  max-width: none;
  max-height: none;
  margin: 0;
  border: 0;
  border-radius: 0;
  object-fit: contain;
  box-shadow: none;
}
.device-app img[hidden] { display: none; }
.device-home {
  display: grid;
  place-items: center;
  height: 24px;
  background: #fff;
}
.device-home::after {
  content: "";
  width: 30%;
  height: 3px;
  border-radius: 2px;
  background: #191c22;
}
@media (max-width: 680px) {
  .device-phone { width: min(var(--device-width, 214px), 214px, 100%); }
}
