/* iPhone 18 Pro device frame (2026-11-14).
   Proportions from the 17 Pro body the 18 Pro keeps: 71.9 x 150 mm, ~16% corner radius, thin even bezels,
   and the 18 Pro's smaller Dynamic Island (~13.5 mm wide, ~21% of the screen width).
   Usage: <div class="ip ip-silver"><div class="bz"><div class="sc"><div class="sb">..</div><img ..></div></div></div>
   Everything is sized in cqw so the frame scales with its width. */
.ip,.ip *{box-sizing:border-box}
.ip{position:relative;width:260px;aspect-ratio:71.9/150;container-type:inline-size;border-radius:16.4% / 7.86%;padding:1.15%;flex:none;
  background:linear-gradient(140deg,#f4f5f7 0%,#c9cdd2 12%,#8e949b 26%,#e3e6e9 44%,#9aa0a7 62%,#d5d9dd 80%,#f1f2f4 100%);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.75),inset 0 0 0 2px rgba(0,0,0,.16),
    0 2px 4px rgba(11,27,43,.10),0 30px 60px -18px rgba(11,27,43,.45),0 10px 24px rgba(11,27,43,.14)}
.ip.ip-black{background:linear-gradient(140deg,#5d6066 0%,#2a2c30 14%,#121315 30%,#3b3e43 48%,#16171a 66%,#33363a 84%,#55585e 100%);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.22),inset 0 0 0 2px rgba(0,0,0,.5),0 30px 60px -18px rgba(11,27,43,.5),0 10px 24px rgba(11,27,43,.18)}
.ip.ip-glacier{background:linear-gradient(140deg,#f3f7fa 0%,#c7d6e0 14%,#93a9b8 28%,#e1eaf0 46%,#9fb4c2 64%,#d3e0e8 82%,#f2f6f9 100%)}
/* side buttons */
.ip i{position:absolute;width:1.3cqw;border-radius:.8cqw;background:linear-gradient(90deg,#7d838a,#d9dde1 45%,#8a9097)}
.ip.ip-black i{background:linear-gradient(90deg,#1c1d20,#55585e 45%,#26282b)}
.ip .b1{left:-1cqw;top:17.5%;height:5.4%}          /* action button */
.ip .b2{left:-1cqw;top:26%;height:9.6%}            /* volume up */
.ip .b3{left:-1cqw;top:37.6%;height:9.6%}          /* volume down */
.ip .b4{right:-1cqw;top:28%;height:14.5%}          /* side button */
.ip .b5{right:-.8cqw;top:58%;height:8.5%;width:1cqw} /* camera control */
/* black bezel + screen */
.ip .bz{height:100%;border-radius:15.3cqw;background:#050506;padding:2.15cqw}
.ip .sc{position:relative;height:100%;border-radius:13.2cqw;overflow:hidden;background:#fff;display:flex;flex-direction:column;isolation:isolate}
.ip .sc:before{content:'';position:absolute;z-index:5;left:50%;top:2.5cqw;width:21cqw;height:6.4cqw;margin-left:-10.5cqw;border-radius:4cqw;background:#000;
  box-shadow:inset 0 0 0 .3cqw #0c0d0f}                           /* smaller Dynamic Island */
.ip .sc:after{content:'';position:absolute;z-index:6;inset:0;pointer-events:none;border-radius:inherit;
  background:linear-gradient(115deg,rgba(255,255,255,.16) 0%,rgba(255,255,255,0) 28%,rgba(255,255,255,0) 72%,rgba(255,255,255,.05) 100%)} /* glass */
.ip .sb{flex:none;height:12.6cqw;display:flex;align-items:center;justify-content:space-between;padding:1.6cqw 8.6cqw 0 10cqw;
  font:600 4.3cqw/1 -apple-system,'SF Pro Text','Helvetica Neue',sans-serif;color:#0b1b2b;letter-spacing:-.01em;background:#fff}
.ip .sb em{font-style:normal;display:flex;gap:1.3cqw;align-items:center}
.ip .sb svg{height:3.3cqw;width:auto;fill:#0b1b2b;display:block}
.ip .sc>img{flex:none;width:100%;height:auto;display:block}  /* full width, never cropped at the sides */
.ip .hi{position:absolute;z-index:7;left:50%;bottom:2.1cqw;width:35cqw;height:1.35cqw;margin-left:-17.5cqw;border-radius:1cqw;background:#0b1b2b;opacity:.9}
.ip.dark-ui .sb{background:#0b1a26;color:#fff}.ip.dark-ui .sb svg{fill:#fff}.ip.dark-ui .hi{background:#fff}
