/* Only the phone presentation changes; original home-dino.css owns the hero. */
.home-iphone.home-example-open{overflow:hidden}
.home-example-dialog{width:480px;height:min(900px,calc(100dvh - 48px));max-width:calc(100% - 48px);max-height:calc(100% - 48px);padding:0;background:var(--canvas)}
.home-example-dialog[open]{display:flex;flex-direction:column;animation:none}
.home-example-header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 22px;background:white;border-bottom:1px solid var(--line);flex:none}
.home-example-header h2{font:800 22px/1.3 Jakarta,Arial,sans-serif;letter-spacing:-.025em}
.home-example-header p{font-size:13px;color:var(--muted);margin-top:4px;line-height:1.6}
.home-example-header .icon-button{flex:none}
.home-example-body{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:22px}
.home-example-footer{padding:14px 22px max(14px,env(safe-area-inset-bottom));background:white;border-top:1px solid var(--line);flex:none}
.home-example-footer .button{width:100%;min-height:52px}

/* Front-facing CSS frame: Pro Max body 78 x 163.4 mm, display 1320 x 2868. */
.home-dino.home-iphone .hero-phone{width:224px;max-width:calc(100% - 88px);height:auto;aspect-ratio:780 / 1634;right:75px;top:7px;padding:0;border:2px solid #83868f;border-radius:39px;overflow:visible;background:linear-gradient(100deg,#15161a 0%,#9598a0 2%,#35373d 4%,#15161a 7%,#2b2d33 94%,#b5b7bf 98%,#191a1e 100%);box-shadow:0 0 0 1px #090a0d,1px 1px 0 #d6d7dc inset,-1px -1px 0 #555962 inset,0 3px 6px #00000018;isolation:isolate}
.iphone-screen{position:absolute;inset:5px;border:3px solid #08090c;border-radius:33px;overflow:hidden;background:#edf4dd;pointer-events:none}
.iphone-status{position:absolute;top:6px;left:13px;right:12px;z-index:3;display:flex;align-items:center;justify-content:space-between;height:18px;font-size:9px;line-height:1;font-weight:800;color:#121814}
.iphone-status-icons{display:block;width:34px;height:12px}
.iphone-status-icons svg{display:block;width:100%;height:100%;fill:currentColor}
.iphone-island{position:absolute;z-index:4;top:7px;left:50%;transform:translateX(-50%);width:26%;height:15px;border-radius:15px;background:#07080b;box-shadow:0 0 0 1px #17191b}
.iphone-island>span{position:absolute;right:6px;top:5px;width:5px;height:5px;border-radius:50%;background:radial-gradient(circle at 40% 40%,#253e59,#0a0c15 70%)}
.iphone-invitation-window{position:absolute;top:27px;left:0;right:0;bottom:0;overflow:hidden}
.home-iphone [data-home-invitation="cover"]{position:absolute;inset:0;pointer-events:none}
.home-iphone [data-home-invitation="cover"] .d-invitation{width:390px;max-width:none;margin:0;border-radius:0;transform:scale(var(--phone-screen-scale,.58));transform-origin:top left}
.iphone-home-indicator{position:absolute;z-index:4;bottom:6px;left:34%;right:34%;height:3px;background:#151b16;border-radius:4px;opacity:.8}
.iphone-side{position:absolute;width:3px;border-radius:2px;background:linear-gradient(90deg,#111318,#a3a6af,#36383f);pointer-events:none}
.iphone-action{left:-3px;top:19%;height:18px}.iphone-volume-up{left:-3px;top:27%;height:31px}.iphone-volume-down{left:-3px;top:35%;height:31px}.iphone-power{right:-3px;top:27%;height:51px}.iphone-camera-control{right:-3px;top:59%;height:28px}
.iphone-example-target{position:absolute;inset:0;z-index:5;width:100%;height:100%;padding:0;border:0;border-radius:38px;background:transparent}
.home-iphone .iphone-example-target:focus-visible{outline:3px solid var(--yellow);outline-offset:6px}
@media(max-width:1150px){.home-dino.home-iphone .hero-phone{width:224px;max-width:calc(100% - 36px);right:24px;top:7px}}
@media(max-width:850px){.home-dino.home-iphone .hero-phone{width:198px;max-width:calc(100% - 20px);right:8px;top:16px;border-radius:33px}.iphone-screen{border-radius:27px}.iphone-example-target{border-radius:32px}.iphone-status{left:10px;right:9px;font-size:8px}.iphone-status-icons{width:29px}.iphone-island{height:13px}}
@media(max-width:600px){
  .home-dino.home-iphone .hero-scene{height:330px}
  .home-dino.home-iphone .hero-phone{width:142px;right:78px;top:4px;border-radius:25px}
  .iphone-screen{inset:3px;border-width:2px;border-radius:20px}
  .iphone-island{top:5px;height:10px}.iphone-island>span{width:3px;height:3px;top:3px;right:4px}
  .iphone-status{top:3px;left:8px;right:7px;height:13px;font-size:6px}.iphone-status-icons{width:22px;height:9px}
  .iphone-invitation-window{top:19px}.iphone-home-indicator{height:2px;bottom:4px}
  .iphone-example-target{border-radius:24px}
  .iphone-action{height:12px}.iphone-volume-up,.iphone-volume-down{height:21px}.iphone-power{height:34px}.iphone-camera-control{height:20px}
  .home-example-dialog{width:100%;height:100vh;height:100dvh;max-width:100%;max-height:100%;margin:0;border:0;border-radius:0}
  .home-example-header{padding:14px 18px}.home-example-header h2{font-size:20px}.home-example-body{padding:20px 18px}.home-example-footer{padding:12px 18px max(12px,env(safe-area-inset-bottom))}
}
@media(max-width:350px){
  .home-dino.home-iphone .hero-phone{right:53px}
  .home-iphone .home-invitation .d-invitation{padding-inline:18px;padding-top:66px}.home-iphone .home-invitation .d-invite-heading{padding-top:24px;max-width:230px}.home-iphone .home-invitation .d-invite-name{font-size:31px}.home-iphone .home-invitation .d-invite-frame{width:155px}.home-iphone .home-invitation .d-invite-egg{width:43px;left:4px}.home-iphone .home-invitation .d-invite-footprint{right:5px;width:33px}
}
