/* 휴대폰 속 앱 화면(네이버 클립·인스타 릴스·틱톡) — 예전 홈페이지 styles.css에서 가져옴 (2026-10-28). 실제 휴대폰 크기(402px)로 만들고 site.js가 줄여요 */
.app { position: absolute; left: 0; top: 0; width: 402px; height: 874px; transform-origin: 0 0; overflow: hidden; font-family: -apple-system, "Apple SD Gothic Neo", "Pretendard", sans-serif; letter-spacing: -0.01em; line-height: 1.35; }
.app svg { width: 28px; height: 28px; display: block; }
.app > video { position: absolute; left: 0; right: 0; top: 0; bottom: 0; width: 100%; height: 100%; object-fit: cover; background: #000; }
/* 상태 표시줄 */
.sb { position: relative; z-index: 5; height: 56px; display: flex; justify-content: space-between; align-items: center; padding: 4px 34px 0 50px; color: #000; font-size: 17px; }
.sb.light { color: #fff; }
.sb b { font-weight: 600; letter-spacing: 0; }
.sb-i { display: flex; align-items: flex-end; gap: 2px; height: 12px; }
.sb-i i { width: 3.4px; background: currentColor; border-radius: 1px; }
.sb-i i:nth-child(1) { height: 4px; } .sb-i i:nth-child(2) { height: 6px; } .sb-i i:nth-child(3) { height: 8.5px; } .sb-i i:nth-child(4) { height: 11px; }
.sb-i u { width: 25px; height: 12px; margin-left: 8px; border: 1.3px solid currentColor; border-radius: 4px; opacity: .9; position: relative; }
.sb-i u::after { content: ""; position: absolute; inset: 1.5px 5px 1.5px 1.5px; background: currentColor; border-radius: 1.5px; }
/* 오른쪽 세로 버튼 (공통) */
.rail { position: absolute; right: 8px; z-index: 4; display: flex; flex-direction: column; align-items: center; gap: 20px; color: #fff; }
.rail > span { display: flex; flex-direction: column; align-items: center; gap: 4px; filter: drop-shadow(0 1px 2px rgba(0,0,0,.35)); }
.rail svg { width: 34px; height: 34px; }
.rail small { font-size: 12px; font-weight: 600; }
.app .who { display: flex; align-items: center; gap: 9px; font-size: 15px; font-weight: 700; }
.app .who img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; }
.app .cap { margin-top: 9px; font-size: 14.5px; line-height: 1.45; }
.app .snd-line { margin-top: 9px; display: flex; align-items: center; gap: 6px; font-size: 13.5px; }
.app .snd-line svg { width: 15px; height: 15px; }
.app.clip::before, .app.yt::before, .app.tt::before { content: ""; position: absolute; inset: auto 0 0; height: 46%; background: linear-gradient(rgba(0,0,0,0), rgba(0,0,0,.6)); z-index: 2; pointer-events: none; }
.app.clip::after, .app.yt::after, .app.tt::after { content: ""; position: absolute; inset: 0 0 auto; height: 130px; background: linear-gradient(rgba(0,0,0,.4), rgba(0,0,0,0)); z-index: 2; pointer-events: none; }

/* 인스타 릴스 (서비스 카드) */
.app.reels { background: #000; color: #fff; }
.app.reels::after { content: ""; position: absolute; inset: 0 0 auto; height: 140px; background: linear-gradient(rgba(0,0,0,.45), rgba(0,0,0,0)); z-index: 2; pointer-events: none; }
.rl-top { position: relative; z-index: 5; display: flex; justify-content: space-between; align-items: center; padding: 2px 18px 0; }
.rl-top b { font-size: 24px; font-weight: 800; }
.rl-top svg { width: 30px; height: 30px; }
.rl-rail { top: 230px; gap: 26px; right: 14px; }
.rl-rail svg { width: 32px; height: 32px; }
.svc-media .app { left: 0; top: 0; }
.app.reels.full > video { object-fit: cover; height: calc(100% - 80px); }
.app.reels.full::before { content: ""; position: absolute; inset: auto 0 80px; height: 45%; background: linear-gradient(rgba(0,0,0,0), rgba(0,0,0,.6)); z-index: 2; pointer-events: none; }
.app.reels.full .rl-rail { top: auto; bottom: 110px; gap: 22px; }
.rl-snd img { width: 30px; height: 30px; border-radius: 7px; border: 2px solid #fff; object-fit: cover; }
.rl-info { position: absolute; z-index: 4; left: 16px; right: 70px; bottom: 100px; color: #fff; }
.rl-info .who em { font-style: normal; font-size: 13px; font-weight: 700; padding: 5px 12px; border-radius: 8px; border: 1.3px solid rgba(255,255,255,.85); margin-left: 4px; }
.ig-tab.dark { background: #000; border-top-color: #1c1c1c; color: #fff; z-index: 5; }
.ig-tab .me.tw { background-image: url("img/tw-front.jpg"); }
.screen.white { background: #fff; }
.sb-over { position: absolute; z-index: 25; left: 0; right: 0; top: 0; height: 12.5cqw; padding: 1cqw 8.5cqw 0 11cqw; font-size: 3.9cqw; background: #fff; color: #000; }
.sb-over .sb-i { height: 2.8cqw; gap: .4cqw; } .sb-over .sb-i i { width: .8cqw; } .sb-over .sb-i u { width: 5.8cqw; height: 2.8cqw; margin-left: 1.6cqw; border-width: .3cqw; }
.sb-over .sb-i i:nth-child(1) { height: 1cqw; } .sb-over .sb-i i:nth-child(2) { height: 1.5cqw; } .sb-over .sb-i i:nth-child(3) { height: 2cqw; } .sb-over .sb-i i:nth-child(4) { height: 2.6cqw; }

/* 네이버 클립 */
.app.clip { background: #000; color: #fff; }
.clip-top { position: relative; z-index: 5; display: flex; align-items: center; gap: 6px; padding: 4px 14px 0 10px; }
.clip-top b { font-size: 21px; font-weight: 800; }
.clip-top .r { margin-left: auto; display: flex; gap: 14px; }
.clip-top svg { width: 26px; height: 26px; }
.app.clip .rail { bottom: 210px; }
.clip-info { position: absolute; z-index: 4; left: 16px; right: 70px; bottom: 34px; }
.clip-info .who em { font-style: normal; font-size: 13px; font-weight: 700; padding: 5px 12px; border-radius: 99px; border: 1.3px solid rgba(255,255,255,.85); margin-left: 4px; }
.clip-info .cap span { color: #CFE9DA; }
.prod { margin-top: 12px; display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 12px; background: rgba(255,255,255,.95); color: #111; width: 300px; }
.prod img { width: 44px; height: 44px; border-radius: 8px; object-fit: cover; object-position: top; }
.prod span { font-size: 12px; color: #777; line-height: 1.3; }
.prod b { display: block; font-size: 14px; color: #111; }
.prod em { margin-left: auto; font-style: normal; font-size: 13px; font-weight: 800; color: #fff; background: #03C75A; padding: 7px 10px; border-radius: 8px; }
.clip-bar { position: absolute; z-index: 4; left: 0; right: 0; bottom: 16px; height: 3px; background: rgba(255,255,255,.25); }
.clip-bar i { display: block; height: 100%; width: 0; background: #fff; animation: bar 38.5s linear infinite; }
@keyframes bar { to { width: 100%; } }

/* 유튜브 쇼츠 */
.app.yt { background: #000; color: #fff; }
.app.yt > video { height: calc(100% - 66px); }
.yt-top { position: relative; z-index: 5; display: flex; justify-content: flex-end; padding: 2px 14px 0; }
.yt-top .r { display: flex; gap: 20px; }
.yt-rail { bottom: 96px; gap: 18px; }
.yt-rail .snd img { width: 36px; height: 36px; border-radius: 8px; border: 2px solid #fff; object-fit: cover; }
.yt-info { position: absolute; z-index: 4; left: 14px; right: 70px; bottom: 92px; }
.yt-info .who em { font-style: normal; font-size: 13px; font-weight: 700; background: #fff; color: #0F0F0F; padding: 6px 13px; border-radius: 99px; margin-left: 4px; }
.yt-bar { position: absolute; z-index: 4; left: 0; right: 0; bottom: 66px; height: 2px; background: rgba(255,255,255,.3); }
.yt-bar i { display: block; height: 100%; width: 0; background: #FF0033; animation: bar 15s linear infinite; }
.yt-tab { position: absolute; z-index: 5; left: 0; right: 0; bottom: 0; height: 66px; background: #0F0F0F; display: grid; grid-template-columns: repeat(5, 1fr); align-items: start; padding-top: 6px; }
.yt-tab span { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 10px; color: #F1F1F1; }
.yt-tab svg { width: 24px; height: 24px; }
.yt-tab img { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; }
.yt-tab .plus { width: 40px; height: 40px; margin: 0 auto; border-radius: 50%; background: #272727; font-size: 28px; line-height: 38px; justify-content: center; }

/* 틱톡 */
.app.tt { background: #000; color: #fff; }
.app.tt > video { height: calc(100% - 74px); }
.tt-top { position: relative; z-index: 5; display: flex; align-items: center; justify-content: space-between; padding: 0 16px; height: 44px; }
.tt-top svg { width: 26px; height: 26px; }
.tt-top .tabs { display: flex; gap: 22px; font-size: 17px; font-weight: 600; color: rgba(255,255,255,.7); }
.tt-top .tabs .on { color: #fff; font-weight: 800; position: relative; }
.tt-top .tabs .on::after { content: ""; position: absolute; left: 50%; bottom: -8px; width: 26px; height: 2.6px; margin-left: -13px; border-radius: 2px; background: #fff; }
.tt-rail { bottom: 104px; gap: 16px; right: 10px; }
.tt-rail svg { width: 36px; height: 36px; }
.tt-rail .av { position: relative; margin-bottom: 8px; }
.tt-rail .av img { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid #fff; object-fit: cover; }
.tt-rail .av i { position: absolute; left: 50%; bottom: -10px; width: 22px; height: 22px; margin-left: -11px; border-radius: 50%; background: #FE2C55; color: #fff; font-style: normal; font-size: 17px; font-weight: 700; line-height: 21px; text-align: center; }
.tt-rail .disc img { width: 44px; height: 44px; border-radius: 50%; border: 9px solid #222; object-fit: cover; animation: spin 5s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.tt-info { position: absolute; z-index: 4; left: 14px; right: 76px; bottom: 92px; }
.tt-info .who { font-size: 16px; }
.tt-tab { position: absolute; z-index: 5; left: 0; right: 0; bottom: 0; height: 74px; background: #000; border-top: 1px solid #1d1d1d; display: grid; grid-template-columns: repeat(5, 1fr); align-items: start; padding-top: 8px; }
.tt-tab span { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 10.5px; color: rgba(255,255,255,.6); }
.tt-tab span.on { color: #fff; font-weight: 700; }
.tt-tab svg { width: 25px; height: 25px; }
.tt-tab .plus { justify-content: center; padding-top: 3px; }
.tt-tab .plus b { width: 46px; height: 30px; border-radius: 8px; background: #fff; color: #000; font-size: 22px; line-height: 29px; text-align: center; box-shadow: -3px 0 0 #25F4EE, 3px 0 0 #FE2C55; }

.ig-tab { position: absolute; left: 0; right: 0; bottom: 0; height: 80px; background: #fff; border-top: 1px solid #efefef; display: grid; grid-template-columns: repeat(5, 1fr); justify-items: center; padding-top: 12px; }
.ig-tab svg { width: 27px; height: 27px; }
.ig-tab .me { width: 27px; height: 27px; border-radius: 50%; background: url("img/achim-hero.jpg") center/cover; }
@media (prefers-reduced-motion: reduce) { .clip-bar i, .yt-bar i, .tt-rail .disc img { animation: none; } }
.screen > .app > video { width: 100%; height: 100%; }

/* 인스타그램 게시물 (카드뉴스 넘기기) */
.c-track { display: flex; height: 100%; transition: transform .6s var(--ease); }
.c-track > img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; object-position: top; }
/* 인스타그램 */
.app.ig { background: #fff; color: #000; }
.ig-top { display: flex; align-items: center; justify-content: space-between; height: 50px; padding: 0 16px; }
.ig-word { font-family: "Grand Hotel", cursive; font-size: 33px; line-height: 1; margin-top: 4px; }
.ig-top .r { display: flex; gap: 20px; }
.ig-top svg { width: 27px; height: 27px; }
.ig-head { display: flex; align-items: center; gap: 10px; height: 56px; padding: 0 12px; }
.ig-head .ring { width: 38px; height: 38px; border-radius: 50%; padding: 2.5px; background: conic-gradient(from 200deg, #FEDA75, #FA7E1E, #D62976, #962FBF, #4F5BD5, #FEDA75); }
.ig-head .ring img { width: 100%; height: 100%; border-radius: 50%; border: 2px solid #fff; object-fit: cover; }
.ig-head p { font-size: 14px; line-height: 1.2; }
.ig-head b { font-weight: 700; }
.ig-head small { display: block; font-size: 12px; color: #222; }
.ig-head svg { margin-left: auto; width: 22px; height: 22px; }
.ig-media { position: relative; width: 402px; height: 502.5px; background: #f2f2f2; overflow: visible; }
.ig-media .c-track { height: 502.5px; overflow: hidden; }
.ig-media .c-track { overflow: visible; }
.ig-media { clip-path: inset(0 0 -110px 0); }
.c-count { position: absolute; top: 12px; right: 12px; font-size: 12px; font-weight: 600; color: #fff; background: rgba(0,0,0,.6); padding: 4px 9px; border-radius: 99px; }
.ig-act { position: absolute; left: 0; right: 0; top: 546.5px; height: 48px; display: flex; align-items: center; gap: 16px; padding: 0 14px; }
.ig-act svg { width: 26px; height: 26px; }
.ig-act .save { margin-left: auto; }
.c-dots { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: flex; gap: 4px; }
.c-dots i { width: 6px; height: 6px; border-radius: 50%; background: #C7C7C7; transition: background .3s; }
.c-dots i.on { background: #0095F6; }
.ig-cta { position: relative; display: flex; justify-content: space-between; align-items: center; margin-top: 0; height: 44px; margin-bottom: 48px; padding: 0 14px; font-size: 14px; font-weight: 600; color: #fff; background: #0095F6; }
.ig-cta span { font-size: 22px; font-weight: 400; }
.ig-cap { padding: 8px 14px 0; font-size: 14px; line-height: 1.45; }
.ig-cap b { font-weight: 700; margin-right: 4px; }
.ig-cap span { color: #737373; }
.ig-time { padding: 6px 14px 0; font-size: 12px; color: #737373; }
.app .c-track { transition: transform .9s cubic-bezier(.65, 0, .35, 1); }
@media (prefers-reduced-motion: reduce) { .app .c-track { transition: none; } }
