/* layouts/lp4-mv.css — 랜딩 «한 화면 = 한 서비스» 영상 판의 폰 보기 옷 (2026-11-15 · 손 lp4-mv.js — 구상은 그 파일 머리)
 *   ① 세로(폰 폭 769 이하 · 손이 판에 .is-mv 를 붙인다) = 판을 [화면 칸 | 큰 설명 | 재생 줄] 로 쌓는다. 화면 칸 = 장면 통(st)을 손이 옮기고 키운다(transform — 움직임은 여기 transition).
 *      장면 속 안내 판(pan · cap)은 숨긴다 — 그 글이 아래 «큰 설명»(.mv-cap) 으로 나온다.
 *   ② 가로로 크게(.p4-sv.is-mvl) = 판이 화면을 덮는다. 폰을 세로로 들고 있으면(.is-rot) 90° 돌려 그린다. 왼쪽 화면 · 오른쪽 설명 · 아래 재생 줄 · 오른쪽 위 ✕.
 *   글자: 설명 제목 21 · 본문 16(연령대가 높다 — 화면 속 글자가 아니라 이 설명을 읽는다). PC 에는 아무 규칙도 닿지 않는다(.is-mv · .is-mvl 은 폰에서만 붙는다) */
.mv-cap, .mv-peek, .mv-from, .mv-x, .mv-fulltx, .mv-zoom, .mv-chs { display: none; }

/* 11-15 셋째 판(사장님 «위에서 고르고 내려와 보는 구성이 불편») — 폰 구역 짜임: 이름 · 제목 · 한 줄 → 영상(화면 · 대목 탭 · 설명 · 재생 줄) → [체험하기].
   글 칸(.p4-sv__txt)을 풀어(display: contents) 그 안의 단추 줄을 영상 아래로 보내고, 대목 목록 · [전체 체험 영상 보기] 는 숨긴다(영상 밑 대목 탭 .mv-chs 가 맡는다) */
.p4-sv.is-mvon .p4-sv__txt { display: contents; }
.p4-sv.is-mvon .p4-sv__in { gap: 0; }
.p4-sv.is-mvon .p4-sv__k { justify-self: start; }
.p4-sv.is-mvon .p4-sv__chs, .p4-sv.is-mvon .p4-sv__full { display: none; }
.p4-sv.is-mvon .p4-sv__stage { order: 1; margin-top: 18px; }
.p4-sv.is-mvon .p4-sv__cta { order: 2; margin-top: 16px; }
.p4-sv.is-mvon .p4-sv__try { justify-content: center; height: 52px; border-radius: 13px; font-size: 16.5px; box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--c) 55%, #cbd5e1); background: #fff; }
.p4-sv.is-mvon:not(.is-mvl) .p4-sv__endbt [data-sv-peek] { display: none; }   /* 끝 덮개 — 세로 보기에서는 [체험하기] · [다시 보기] 만 */
/* 11-15 둘째 판 — 화면 칸을 폭 가득(구역 옆 여백 16 을 넘겨) · 더 높게(폭의 1.08배 · 화면 높이의 절반 남짓) */
.p4-sv.is-mvon .p4-sv__stage { margin-left: -16px; margin-right: -16px; }
.p4-sv.is-mvon .p4-sv__end, .p4-sv.is-mvon .p4-player.is-mv { border-radius: 0; }
.p4-sv .p4-player.is-mv { display: flex; flex-direction: column; aspect-ratio: auto; height: auto; max-height: none; --mv-sh: clamp(280px, min(108vw, 52vh), 470px); }
@supports (height: 1svh) { .p4-sv .p4-player.is-mv { --mv-sh: clamp(280px, min(108vw, 52svh), 470px); } }
.p4-player.is-mv .p4-pl-stage { position: relative; inset: auto; order: 1; flex: none; height: var(--mv-sh); overflow: hidden; }
/* 장면 통 = 1304×884 로 크게(장면 손 fit 이 배율 1 로 그린다 — 위 띠 · 아래 줄 몫 18.5% 포함) → 손(lp4-mv.js)은 줄이기만 해 글자가 흐려지지 않는다. will-change 는 두지 않는다(크롬이 옛 크기 그림을 늘려 흐려진다) */
.p4-player.is-mv [data-p4-live] { inset: auto; left: 0; top: 0; width: 1304px; height: 884px; transform-origin: 0 0; transition: transform .7s cubic-bezier(.3, .72, .2, 1); }
/* 요양원 대화 장면 — 폰에서는 대화 폭을 좁혀 그린다(620 → 440 · 글만 줄바꿈) → 폭을 다 담아도 글자 10px */
.p4-player.is-mv .dca4-in, .p4-player.is-mv .dca4-comp { width: 440px; }
.p4-player.is-mv .dca4-u { max-width: 380px; }
.p4-player.is-mv [data-d="pan"], .p4-player.is-mv [data-d="cap"] { opacity: 0 !important; visibility: hidden !important; }   /* 장면 속 안내 판 → 아래 큰 설명 */
.p4-player.is-mv .p4-pl-top, .p4-player.is-mv .p4-pl-cap, .p4-player.is-mv .p4-pl-peekmsg, .p4-player.is-mv .p4-pl-chap { display: none !important; }
.p4-player.is-mv .p4-pl-big { top: calc(var(--mv-sh) / 2); }
/* «화면을 누르면 크게 보여요» — 화면 칸 왼쪽 위 딱지(재생 중 화면 · 이 딱지를 누르면 가로로 크게) */
.p4-player.is-mv .mv-zoom { display: inline-flex; align-items: center; gap: 6px; position: absolute; left: 10px; top: 10px; z-index: 5; height: 32px; padding: 0 12px; border: 0; border-radius: 999px; background: rgba(11, 18, 32, .82); color: #fff;
	font: inherit; font-size: 13.5px; font-weight: 700; letter-spacing: -.02em; white-space: nowrap; box-shadow: 0 0 0 1px rgba(255, 255, 255, .22), 0 6px 16px -6px rgba(0, 0, 0, .6); cursor: pointer; -webkit-tap-highlight-color: transparent; }
.p4-player.is-mv .mv-zoom i { font-size: 13px; color: #ffd27a; }
.p4-player.is-mv:not(.is-hint) .mv-zoom { width: 34px; height: 34px; padding: 0; justify-content: center; }   /* 처음 몇 초만 글 · 그 뒤 돋보기만(화면을 덜 가리게) */
.p4-player.is-mv:not(.is-hint) .mv-zoom span { display: none; }
/* 대목 탭 — 화면 바로 밑 한 줄(대목 수만큼 같은 폭). 윗줄 = 그 대목이 흐른 만큼 참(손이 --f) · 누르면 그 대목부터 */
.p4-player.is-mv .mv-chs { order: 2; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); background: #0b1220; }
.mv-ch { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-width: 0; height: 62px; padding: 5px 4px 0; border: 0; background: none; color: rgba(255, 255, 255, .66);
	font: inherit; font-size: 14px; font-weight: 700; letter-spacing: -.03em; cursor: pointer; -webkit-tap-highlight-color: transparent; transition: color .25s, background .25s; }
.mv-ch + .mv-ch { box-shadow: -1px 0 0 rgba(255, 255, 255, .1); }
.mv-ch > i { position: absolute; left: 0; right: 0; top: 0; height: 4px; background: rgba(255, 255, 255, .14); overflow: hidden; }
.mv-ch > i::after { content: ''; position: absolute; inset: 0; background: var(--c); transform-origin: 0 50%; transform: scaleX(var(--f, 0)); transition: transform .2s linear; }
.mv-ch > b { flex: none; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 6px; background: rgba(255, 255, 255, .14); font-size: 12.5px; font-weight: 800; font-variant-numeric: tabular-nums; transition: background .25s; }
.mv-ch > span { max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mv-ch.is-on { color: #fff; font-weight: 800; background: color-mix(in srgb, var(--c) 20%, transparent); }
.mv-ch.is-on > b { background: var(--c); }
.mv-ch:focus-visible { outline: 2px solid #fff; outline-offset: -2px; }
.p4-player.is-mv .p4-pl-segs { visibility: hidden; }   /* 진행은 대목 탭 윗줄이 보여 준다(가로 보기에서는 아래에서 다시 켠다) */
/* 큰 설명 — 높이를 미리 잡아 둔다(단계가 바뀌어도 판이 출렁이지 않게) */
.p4-player.is-mv .mv-cap { order: 3; display: block; box-sizing: border-box; min-height: 190px; padding: 15px 18px 6px; text-align: left; color: #fff;
	background: linear-gradient(180deg, color-mix(in srgb, var(--c) 16%, #0b1220) 0%, #0b1220 100%); border-top: 1px solid rgba(255, 255, 255, .1); }
.mv-cap__k { display: flex; align-items: center; gap: 8px; min-height: 22px; font-size: 14px; font-weight: 800; letter-spacing: -.01em; color: color-mix(in srgb, var(--c) 50%, #fff); }
.mv-cap__k span { color: rgba(255, 255, 255, .78); font-variant-numeric: tabular-nums; }
.mv-cap__k span.is-no:not(:empty) { display: grid; place-items: center; min-width: 24px; height: 24px; padding: 0 6px; border-radius: 8px; background: var(--c); color: #fff; font-size: 14px; }
.mv-cap__t { display: block; margin-top: 5px; font-size: 21px; font-weight: 800; letter-spacing: -.03em; line-height: 1.3; word-break: keep-all; }
.mv-cap__x { margin: 6px 0 0; font-size: 16px; font-weight: 600; letter-spacing: -.015em; line-height: 1.55; color: rgba(255, 255, 255, .92); word-break: keep-all; }
.mv-cap__x b { color: #ffd27a; font-weight: 800; }
.mv-cap__a { display: inline-flex; align-items: center; gap: 7px; box-sizing: border-box; height: 36px; margin-top: 10px; padding: 0 13px; border-radius: 10px; font-size: 14.5px; font-weight: 800; color: #ffd27a;
	box-shadow: inset 0 0 0 1.5px rgba(255, 210, 122, .5); visibility: hidden; }
.mv-cap__a.is-on { visibility: visible; }
.mv-cap__a.is-wait { color: #c7d2fe; box-shadow: inset 0 0 0 1.5px rgba(199, 210, 254, .45); }
.mv-cap__a.is-wait i { animation: mvSpin 1s linear infinite; }
.mv-cap__a.is-ok { color: #86efac; box-shadow: inset 0 0 0 1.5px rgba(134, 239, 172, .5); }
.mv-cap.is-in .mv-cap__t, .mv-cap.is-in .mv-cap__x { animation: mvIn .35s ease both; }
@keyframes mvIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes mvSpin { to { transform: rotate(360deg); } }
/* 재생 줄 — 맛보기: [▶] [처음부터 보기] … [가로로 크게] / 처음부터 보는 중: [▶] 시간 ─진행 줄─ [가로로 크게] */
.p4-player.is-mv .p4-pl-bar { order: 4; position: static; height: 52px; gap: 8px; padding: 0 8px; background: #0b1220; }
.p4-player.is-mv[data-pl-peek] .mv-peek { display: block; flex: 1; min-width: 0; font-size: 0; }   /* 맛보기 줄의 빈 칸(단추를 양 끝으로) — 글은 두지 않는다 */
.p4-player.is-mv[data-pl-peek] .mv-from, .p4-player.is-mv [data-pl-full] { display: inline-flex !important; align-items: center; gap: 6px; flex: none; width: auto; height: 36px; padding: 0 11px; border: 0; border-radius: 10px;
	background: rgba(255, 255, 255, .12); color: #fff; font: inherit; font-size: 14.5px; font-weight: 700; letter-spacing: -.02em; white-space: nowrap; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.p4-player.is-mv[data-pl-peek] .mv-from i, .p4-player.is-mv [data-pl-full] i { font-size: 13px; }
.p4-player.is-mv [data-pl-full] { background: var(--c); }
.p4-player.is-mv .mv-fulltx { display: inline; }
.p4-player.is-mv .mv-from:focus-visible, .p4-player.is-mv [data-pl-full]:focus-visible, .mv-x:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

/* ── 가로로 크게 — 판이 화면을 덮는다 ── */
html.p4-mvl { overflow: hidden; }
html.p4-mvl .lp-nav, html.p4-mvl .apf, html.p4-mvl .p4-aix { display: none !important; }
.p4-sv.is-mvl .p4-sv__stage { container-type: normal; }   /* 판의 fixed 가 화면 기준이 되게(이 칸의 container-type 이 기준 틀을 만든다) */
.p4-sv.is-mvl .p4-player.is-mv, .p4-sv.is-mvl .p4-sv__end { position: fixed; left: 0; top: 0; z-index: 4000; display: block; width: 100vw; height: 100vh; height: 100dvh; margin: 0; border-radius: 0; box-shadow: none; }
.p4-sv.is-mvl .p4-sv__end { z-index: 4001; display: flex; }
.p4-sv.is-mvl .p4-sv__end[hidden] { display: none; }
.p4-sv.is-mvl.is-rot .p4-player.is-mv, .p4-sv.is-mvl.is-rot .p4-sv__end { width: 100vh; width: 100dvh; height: 100vw; transform-origin: 0 0; transform: translateX(100vw) rotate(90deg); }
.p4-sv.is-mvl .p4-player.is-mv { --mv-cw: clamp(206px, 31%, 290px); }
.p4-sv.is-mvl .p4-player.is-mv .p4-pl-stage { position: absolute; left: 0; top: 0; right: var(--mv-cw); bottom: 0; height: auto; }
.p4-sv.is-mvl .p4-player.is-mv .p4-pl-big { left: calc((100% - var(--mv-cw)) / 2); top: 50%; }
.p4-sv.is-mvl .p4-player.is-mv .mv-cap { position: absolute; right: 0; top: 0; bottom: 0; width: var(--mv-cw); min-height: 0; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 44px 16px 16px;
	background: linear-gradient(200deg, color-mix(in srgb, var(--c) 24%, #0b1220) 0%, #0b1220 70%); border-top: 0; border-left: 1px solid rgba(255, 255, 255, .12); }
.p4-sv.is-mvl .mv-cap__t { font-size: 20px; } .p4-sv.is-mvl .mv-cap__x { font-size: 15px; }
.p4-sv.is-mvl .p4-player.is-mv .p4-pl-bar { position: absolute; left: 0; right: var(--mv-cw); bottom: 0; height: 44px; background: linear-gradient(180deg, rgba(4, 10, 20, 0), rgba(4, 10, 20, .82)); }
.p4-sv.is-mvl .p4-player.is-mv [data-pl-full], .p4-sv.is-mvl .p4-player.is-mv .mv-zoom { display: none !important; }   /* 닫기는 ✕ */
.p4-sv.is-mvl .p4-sv__stage { margin-left: 0; margin-right: 0; }
.p4-sv.is-mvl .p4-player.is-mv .mv-chs { display: none; }
.p4-sv.is-mvl .p4-player.is-mv .p4-pl-segs { visibility: visible; }
.p4-sv.is-mvl .mv-x { display: grid; place-items: center; position: absolute; right: 10px; top: 8px; z-index: 6; width: 40px; height: 40px; border: 0; border-radius: 12px; background: rgba(255, 255, 255, .14); color: #fff; font-size: 18px; cursor: pointer; }

@media (prefers-reduced-motion: reduce) { .mv-ch > i::after { transition: none; } .p4-player.is-mv [data-p4-live] { transition: none; } .mv-cap.is-in .mv-cap__t, .mv-cap.is-in .mv-cap__x { animation: none; } }
