/* 릴스 · 스토리 폰을 iPhone 18 Pro 실물 비율로 (10-26 사용자: "실제 아이폰 18프로 기준으로 스테이터스바랑 넣어서 실제 목업처럼").
   화면 402 × 874 pt(2622 × 1206 px @3x, 애플 사양) · 몸체 71.9 mm 폭 → 폭 440u, 테두리 19u, 화면 모서리 55u.
   Dynamic Island 는 18 Pro 에서 좁아졌다는 유출값(약 13.5 mm ≈ 84 pt)을 쓴다 — 공식 치수는 공개되지 않았다.
   몸체 단위는 .phone 폭 기준 cqw(1u = 100/440 cqw), 화면 안은 .scr 폭 기준 cqw(1pt = 100/402 cqw). 구조는 js/iphone.js 가 끼운다 */
.tv.mean .phone.ip18{container-type:inline-size;aspect-ratio:440/912;padding:0;border-radius:0;background:none;box-shadow:none;overflow:visible}
.ip18 .ip-frame{position:absolute;inset:0;border-radius:16.82cqw;
  background:linear-gradient(140deg,#5a5a60 0%,#2a2a2e 22%,#1f1f22 50%,#3b3b40 78%,#17171a 100%);
  box-shadow:0 0 0 .25cqw #0a0a0b,0 6cqw 12cqw rgba(0,0,0,.45),0 1.5cqw 3cqw rgba(0,0,0,.35)}
.ip18 .ip-frame::before{content:"";position:absolute;inset:1.59cqw;border-radius:15.23cqw;background:#050506;
  box-shadow:inset 0 0 0 .3cqw rgba(255,255,255,.06)}                     /* 검은 테두리(베젤) */
.ip18 .ip-frame b{position:absolute;width:.9cqw;border-radius:.4cqw;background:linear-gradient(90deg,#1a1a1d,#4a4a50 60%,#26262a)}
.ip18 .ip-frame .act{left:-.75cqw;top:41cqw;height:7.5cqw}               /* 동작 버튼 */
.ip18 .ip-frame .vup{left:-.75cqw;top:56cqw;height:14cqw}
.ip18 .ip-frame .vdn{left:-.75cqw;top:73cqw;height:14cqw}
.ip18 .ip-frame .pwr{right:-.75cqw;top:62cqw;height:22cqw}               /* 측면 버튼 */
.ip18 .ip-frame .cam{right:-.45cqw;top:128cqw;height:15cqw;width:.6cqw}  /* 카메라 컨트롤 */
.tv.mean .ip18 .scr{position:absolute;inset:4.318cqw;width:auto;height:auto;aspect-ratio:auto;border-radius:12.5cqw;background:#000;container-type:inline-size;overflow:hidden}

/* 상태바 54pt · Dynamic Island */
.ip-sb{position:absolute;inset:0 0 auto;height:13.43cqw;z-index:9;color:#fff;font:600 4.23cqw/1 -apple-system,"SF Pro Text","Pretendard Variable",sans-serif;letter-spacing:-.01em;pointer-events:none}
.ip-sb .t{position:absolute;left:0;width:39.5cqw;top:5.2cqw;text-align:center;font-variant-numeric:tabular-nums}
.ip-sb .r{position:absolute;right:0;width:39.5cqw;top:5.55cqw;display:flex;justify-content:center;align-items:center;gap:1.5cqw}
.ip-sb .r svg{display:block;height:3cqw;width:auto;fill:#fff}
.ip-sb .island{position:absolute;left:50%;top:2.74cqw;width:20.9cqw;height:8.96cqw;margin-left:-10.45cqw;border-radius:5cqw;background:#000;box-shadow:inset 0 0 0 .25cqw #111214}
.ip-sb .island::after{content:"";position:absolute;right:2.6cqw;top:50%;width:3.6cqw;height:3.6cqw;margin-top:-1.8cqw;border-radius:50%;background:radial-gradient(circle at 35% 35%,#2b3550 0,#10131c 45%,#050507 70%)}   /* 전면 카메라 렌즈: 검은 바탕에서도 섬이 보이게 */
/* 홈 인디케이터 */
.ip-home{position:absolute;left:50%;bottom:2cqw;width:34.6cqw;height:1.25cqw;margin-left:-17.3cqw;border-radius:1cqw;background:#fff;z-index:9;pointer-events:none}

/* 영상 칸: 상태바 아래 9:16(402 × 715pt) */
.tv.mean .ip18 .scr .ph,.ip18 .igr{inset:auto 0;top:13.43cqw;height:177.86cqw}
.ip18.story .scr .ph{border-radius:2.5cqw;overflow:hidden}
.ip18 .scr .bar{top:calc(13.43cqw + 177.86cqw - 2px);bottom:auto}
.ip18 .scr .pl{top:calc(13.43cqw + 88.93cqw)}
.ip18 .igr .top{top:3cqw}

/* 인스타 아래 탭바(릴스 화면): 홈 · 릴스 · 메시지 · 검색 · 프로필 */
.ip-tab{position:absolute;inset:auto 0 0;top:191.29cqw;display:flex;justify-content:space-around;align-items:flex-start;padding:2.4cqw 3cqw 0;z-index:8;pointer-events:none}
.ip-tab svg{width:6.6cqw;height:6.6cqw;fill:none;stroke:#fff;stroke-width:1.9;stroke-linejoin:round;stroke-linecap:round}
.ip-tab svg .f{fill:#fff;stroke:none}
.ip-tab i{display:grid;place-items:center;width:6.8cqw;height:6.8cqw;border-radius:50%;border:1.5px solid #fff;background:#141210;overflow:hidden}
.ip-tab i img{width:80%}

@media (max-width:900px){
  .tv.mean .phone.ip18{border-radius:0;padding:0}
  .tv.mean .ip18 .scr{border-radius:12.5cqw}
}
