/* Galaxy Ultra style phone frame: squared corners, thin even bezel, titanium rim,
   centre punch-hole camera and the two side buttons. Drawn in CSS, no image needed. */
.phone { position: relative; z-index: 1; width: 280px; padding: 3px; border: 0; border-radius: 24px;
  background: linear-gradient(145deg, #c9cbd1 0%, #6c7078 18%, #3b3e45 50%, #7a7e86 82%, #b9bcc2 100%);
  box-shadow: 0 44px 70px -30px rgba(6, 16, 46, 0.65), 0 8px 22px -12px rgba(6, 16, 46, 0.5); }
.phone::before { content: ""; position: absolute; right: -3px; top: 17%; width: 3px; height: 22%; border-radius: 0 3px 3px 0;
  background: linear-gradient(180deg, #8d9199 0 56%, transparent 56% 66%, #8d9199 66% 100%); }
.phone::after { content: ""; position: absolute; z-index: 3; top: 15px; left: 50%; width: 9px; height: 9px; margin-left: -4.5px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #25324d 0 18%, #05070c 55%); box-shadow: 0 0 0 1.5px #05070c; }
.phone-screen { position: relative; overflow: hidden; border: 5px solid #05070c; border-radius: 21px; background: #fff; }
/* status bar */
.phone-screen::before { content: "9:41"; display: flex; align-items: center; height: 29px; padding: 0 16px; font: 700 11px/1 var(--font, Inter, system-ui, sans-serif); letter-spacing: 0.02em; color: #0f172a; background: #fff; }
.phone-screen::after { content: ""; position: absolute; top: 9px; right: 14px; width: 44px; height: 11px; background: #0f172a;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 44 11'%3E%3Cpath d='M0 8h2v3H0zM3.5 6h2v5h-2zM7 3.500h2V11H7zM10.500 1h2v10h-2zM16 4.500a8.500 8.500 0 0 1 12 0L22 11zM31 1.500h10a1 1 0 0 1 1 1v6a1 1 0 0 1-1 1H31a1 1 0 0 1-1-1v-6a1 1 0 0 1 1-1zM42.500 4h1.500v3h-1.500z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 44 11'%3E%3Cpath d='M0 8h2v3H0zM3.5 6h2v5h-2zM7 3.500h2V11H7zM10.500 1h2v10h-2zM16 4.500a8.500 8.500 0 0 1 12 0L22 11zM31 1.500h10a1 1 0 0 1 1 1v6a1 1 0 0 1-1 1H31a1 1 0 0 1-1-1v-6a1 1 0 0 1 1-1zM42.500 4h1.500v3h-1.500z'/%3E%3C/svg%3E") center / contain no-repeat; }
.phone-screen img { display: block; width: 100%; height: auto; aspect-ratio: 412 / 881; object-fit: cover; object-position: top; }

/* the live Hira Cloud preview is drawn in HTML: keep it the same tall shape */
.phone-screen.is-live { display: flex; flex-direction: column; aspect-ratio: 412 / 915; }
.phone-screen.is-live::before { flex: none; color: #fff; background: #1e3a8a; }
.phone-screen.is-live::after { background: #fff; }
.phone-screen.is-live .ph-nav { margin-top: auto; }

@media (max-width: 520px) {
  .phone { border-radius: 17px; padding: 2px; }
  .phone-screen { border-width: 3px; border-radius: 15px; }
  .hero-phones .phone::after { top: 9px; width: 6px; height: 6px; margin-left: -3px; }
  .hero-phones .phone-screen::before { height: 19px; padding: 0 9px; font-size: 8px; }
  .hero-phones .phone-screen::after { top: 6px; right: 8px; width: 30px; height: 7px; }
}
@media (max-width: 980px) {
  .shots .phone::after { top: 10px; width: 7px; height: 7px; margin-left: -3.5px; }
  .shots .phone-screen::before { height: 21px; padding: 0 10px; font-size: 9px; }
  .shots .phone-screen::after { top: 6px; right: 9px; width: 32px; height: 8px; }
}
