/* 드라마 소개 페이지(/drama/intro, 2026-11-22). 틀과 색은 첫 화면(site.css)을 그대로 쓴다.
   대표님 "hero섹션부터 드라마랑 핵심문구", "프롬프트 안나오게": 첫 화면 = 드라마 영상이 화면 가득 + 가운데 아래 글, 프롬프트 글은 어디에도 없다(영상, 사진, 모양만) */

/* 첫 화면: PC = 세로 드라마 영상을 나란히, 휴대폰 = 한 편이 화면 가득. 아래쪽을 어둡게 덮고 글과 단추는 가운데 아래 */
.hero.dlp-hero[data-bg] { min-height: min(90vh, 1000px); align-items: flex-end; padding: 0 0 64px; }
.hero.dlp-hero[data-bg] .hero-bg { grid-template-columns: repeat(var(--dlp-cols, 4), 1fr); }
.dlp-hero .hero-bg video.m { display: none; }
.dlp-hero .hero-bg::after { background: linear-gradient(to top, rgba(11,11,12,.95) 0%, rgba(11,11,12,.76) 28%, rgba(11,11,12,.22) 60%, rgba(11,11,12,.34) 100%); }
.dlp-hero h1 { font-size: clamp(34px, 5.4vw, 74px); line-height: 1.14; text-shadow: 0 2px 30px rgba(0,0,0,.6); }
.dlp-hero .sub { margin-top: 18px; text-shadow: 0 1px 14px rgba(0,0,0,.5); }
.dlp-hero .cta { margin-top: 30px; }

/* 여러분은 대본만 짜세요: 세 칸(어두운 그림 칸 + 이름 + 한 줄). 그림 칸에는 글이 없다 */
.dlp-works { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.dlp-works li { min-width: 0; }
.dlp-works h3 { margin: 18px 0 0; font-size: 22px; line-height: 1.35; font-weight: 800; letter-spacing: -.03em; }
.dlp-works p { margin: 6px 0 0; font-size: 16px; color: var(--sub); }
.dlp-vis { display: flex; align-items: center; justify-content: center; height: 230px; border-radius: 20px; background: #0f1113; color: #f7f7f8; overflow: hidden; }
/* 1) 컷마다 알아서: 번호와 흐린 막대만(써지는 모양), 글자는 없다 */
.v-cuts { flex-direction: column; gap: 12px; padding: 0 28px; }
.v-cuts span { display: grid; grid-template-columns: 30px minmax(0, 1fr); column-gap: 12px; align-items: center; width: 100%; padding: 10px 14px; border-radius: 14px; background: rgba(255,255,255,.06); }
.v-cuts i { grid-row: 1 / span 2; display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; background: #d1fe17; color: #131517; font-style: normal;
  font-size: 13.5px; font-weight: 800; }
/* 1) 컷마다 알아서(2026-11-22 오후 대표님 "1번 프롬프트 알아서 작성 < 여기도 아예 저렇게 가리지말고 대강적으로"): 대강의 영어 프롬프트 두 줄, 왼쪽부터 써지듯 */
.v-cuts em { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-style: normal; font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 11.5px; line-height: 1.5; color: rgba(255,255,255,.72); letter-spacing: 0; }
/* 카드마다 움직임(2026-11-22 저녁 대표님 "여기 여러분은 대본만 짜세요 부분도 애니메이션 각각 넣어주고"): 카드가 보이면 시작해 7.2초마다 되풀이.
   1 = 컷 줄이 차례로 연두 테두리로 켜지며 프롬프트가 써지고(번호 톡) 잠깐 머문 뒤 지워짐, 2 = 사진 셋이 가운데 겹친 데서 펼쳐지며 흐림 → 선명,
   3 = 0% 에서 25% 까지 세고(drama_lp.js) 숫자에 연두 빛, 옆 화살표가 아래로 까딱. 움직임 줄이기면 html.mo 가 없어 다 멈춘 채 보인다 */
html.mo .dlp-works li .v-cuts em { clip-path: inset(0 100% 0 0); }
html.mo .dlp-works li.in .v-cuts em { animation: dlpWType 7.2s infinite; }
html.mo .dlp-works li.in .v-cuts span { animation: dlpWRow 7.2s infinite; }
html.mo .dlp-works li.in .v-cuts i { animation: dlpWNo 7.2s infinite; }
html.mo .dlp-works li.in .v-cuts span:nth-child(2), html.mo .dlp-works li.in .v-cuts span:nth-child(2) em, html.mo .dlp-works li.in .v-cuts span:nth-child(2) i { animation-delay: 1.15s; }
html.mo .dlp-works li.in .v-cuts span:nth-child(3), html.mo .dlp-works li.in .v-cuts span:nth-child(3) em, html.mo .dlp-works li.in .v-cuts span:nth-child(3) i { animation-delay: 2.3s; }
@keyframes dlpWType {
  0% { clip-path: inset(0 100% 0 0); opacity: 1; animation-timing-function: steps(28, end); }
  14% { clip-path: inset(0 0 0 0); opacity: 1; }
  80% { clip-path: inset(0 0 0 0); opacity: 1; }
  90% { clip-path: inset(0 0 0 0); opacity: 0; }
  100% { clip-path: inset(0 100% 0 0); opacity: 0; }
}
@keyframes dlpWRow {
  0%, 15% { background: rgba(209,254,23,.1); box-shadow: inset 0 0 0 1px rgba(209,254,23,.5); }
  24%, 100% { background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(209,254,23,0); }
}
@keyframes dlpWNo { 0% { transform: scale(.55); } 5% { transform: scale(1.18); } 10%, 100% { transform: scale(1); } }
/* 2) 사진: 인물과 장소 사진 세 장을 살짝 겹쳐 */
.v-pics { gap: 0; }
.v-pics img { width: 31%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 14px; box-shadow: 0 0 0 3px #0f1113, 0 14px 30px rgba(0,0,0,.45); }
.v-pics img:nth-child(1) { transform: rotate(-5deg) translateX(8%); }
.v-pics img:nth-child(2) { position: relative; z-index: 1; width: 34%; }
.v-pics img:nth-child(3) { transform: rotate(5deg) translateX(-8%); }
/* 3) 25% */
.v-price { gap: 4px; }
.v-price strong { font-size: 92px; line-height: 1; font-weight: 900; letter-spacing: -.05em; color: #d1fe17; font-variant-numeric: tabular-nums; min-width: 3.2ch; text-align: right; }
.v-price .v-down { flex: none; color: #d1fe17; }
html.mo .dlp-works li.in .v-price strong { animation: dlpWGlow 2.6s ease-in-out infinite; }
html.mo .dlp-works li.in .v-price .v-down { animation: dlpWDown 1.3s ease-in-out infinite; }
@keyframes dlpWGlow { 0%, 100% { text-shadow: 0 0 0 rgba(209,254,23,0); } 50% { text-shadow: 0 0 30px rgba(209,254,23,.55); } }
@keyframes dlpWDown { 0%, 100% { transform: translateY(-5px); } 50% { transform: translateY(7px); } }
/* 2) 사진 움직임: 가운데 겹친 데서 양옆으로 펼쳐지며 선명해지고, 머문 뒤 다시 모인다 */
html.mo .dlp-works li.in .v-pics img:nth-child(1) { animation: dlpWPicL 7.2s cubic-bezier(.2,.8,.2,1) infinite; }
html.mo .dlp-works li.in .v-pics img:nth-child(2) { animation: dlpWPicC 7.2s cubic-bezier(.2,.8,.2,1) infinite; }
html.mo .dlp-works li.in .v-pics img:nth-child(3) { animation: dlpWPicR 7.2s cubic-bezier(.2,.8,.2,1) infinite; }
@keyframes dlpWPicL { 0% { transform: rotate(0deg) translateX(75%) scale(.86); filter: blur(8px) brightness(.55); opacity: 0; } 8% { opacity: 1; }
  30%, 84% { transform: rotate(-5deg) translateX(8%) scale(1); filter: none; opacity: 1; } 100% { transform: rotate(0deg) translateX(75%) scale(.86); filter: blur(8px) brightness(.55); opacity: 0; } }
@keyframes dlpWPicR { 0% { transform: rotate(0deg) translateX(-75%) scale(.86); filter: blur(8px) brightness(.55); opacity: 0; } 8% { opacity: 1; }
  30%, 84% { transform: rotate(5deg) translateX(-8%) scale(1); filter: none; opacity: 1; } 100% { transform: rotate(0deg) translateX(-75%) scale(.86); filter: blur(8px) brightness(.55); opacity: 0; } }
@keyframes dlpWPicC { 0% { transform: scale(.9); filter: blur(10px) brightness(.55); opacity: 0; } 6% { opacity: 1; }
  24%, 86% { transform: scale(1); filter: none; opacity: 1; } 100% { transform: scale(.9); filter: blur(10px) brightness(.55); opacity: 0; } }

/* 구역 제목은 가운데(2026-11-22 오후 대표님 "주제를 가운데정렬해줘 누가 왼쪽정렬하래") */
.dlp .block-head { text-align: center; }
.dlp .block-head h2 { text-wrap: balance; }

/* 장르 예시: 카드마다 작은 한 줄 + 굵은 장르 이름(가운데) + 세로 영상(보일 때만 돈다, site.js ex-loop). PC = 카드 넷이 한 줄, 영상 윗선은 카드끼리 맞춘다 */
.dlp-seen-grid { display: grid; grid-template-columns: repeat(var(--n, 2), minmax(0, 1fr)); gap: 28px 20px; }
.dlp-seen-g { display: flex; flex-direction: column; min-width: 0; text-align: center; }
.dlp-seen-g small { display: block; font-size: 15px; font-weight: 600; color: var(--sub); text-wrap: balance; }
.dlp-seen-g h3 { margin: 4px 0 14px; font-size: 24px; line-height: 1.3; font-weight: 800; letter-spacing: -.03em; }
.dlp-seen-v { display: grid; grid-template-columns: repeat(var(--v, 2), minmax(0, 1fr)); gap: 10px; margin-top: auto; }
.dlp-clip { margin: 0; aspect-ratio: 9 / 16; border-radius: 16px; overflow: hidden; background: #0f1113; }
.dlp-clip video { width: 100%; height: 100%; object-fit: cover; }

/* 애니메이션 구역(11/23 밤): 제목 없는 세로 영상 줄. PC = 한 줄에 넷까지, 휴대폰 = 두 칸씩 아래로(옆으로 넘기지 않는다) + 가운데 단추 */
.dlp-strip { display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: 20px; max-width: calc(var(--n, 4) * 270px); margin: 0 auto; }
.dlp-anime .dlp-anime-go { display: flex; width: fit-content; margin: 30px auto 0; }
@media (max-width: 760px) { .dlp-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .dlp-anime .dlp-anime-go { margin-top: 22px; } }

/* 조회수: 작은 릴스 타일 셋에 숫자만(2026-11-22 대표님 "우리꺼 줄이고 조회수만 간결하게, 채널이름 띄우게하지말고"). 계정 화면은 설정에 주소를 넣었을 때만 */
.dlp .block-head .lead:empty { display: none; }
.dlp-views h2 { text-wrap: balance; }
.dlp-br-m { display: none; }
.dlp-views-box { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; max-width: 600px; margin: 0 auto; }
.dlp-views-note { max-width: 600px; margin: 20px auto 0; text-align: center; font-size: 17px; line-height: 1.6; color: var(--sub); word-break: keep-all; }
.dlp-views-note:empty { display: none; }
.dlp-views-shot { width: 100%; border: 1px solid var(--line); border-radius: 18px; }
.dlp-view-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.dlp-view { margin: 0; border-radius: 14px; overflow: hidden; background: #0f1113; }
.dlp-view img { display: block; width: 100%; aspect-ratio: 466 / 725; object-fit: cover; }
.dlp-view figcaption { padding: 10px 12px 12px; color: #d1fe17; font-size: 21px; line-height: 1.1; font-weight: 900; letter-spacing: -.03em; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* 돈: 다른 커뮤니티에 올라온 수익 화면 + 큰 숫자, 무엇의 숫자인지, 출처(캡처가 없으면 구역이 숨는다). 두 줄 설명 목록은 기본 숨김(show drama.lp.money.list) */
.dlp-money-list { list-style: none; margin: 0 0 22px; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.dlp-money-list h3 { margin: 0; font-size: 22px; font-weight: 800; letter-spacing: -.03em; }
.dlp-money-list p { margin: 6px 0 0; font-size: 16px; color: var(--sub); }
.dlp-money-shots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.dlp-shot { margin: 0; min-width: 0; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: #fff; box-shadow: 0 12px 30px rgba(15,23,42,.06); }
.dlp-shot img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: #0f1113; }
.dlp-shot figcaption { display: grid; gap: 3px; padding: 14px 16px 16px; }
.dlp-shot strong { font-size: 23px; line-height: 1.25; font-weight: 900; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.dlp-shot span { font-size: 15px; line-height: 1.45; color: var(--sub); }
.dlp-shot small { margin-top: 5px; font-size: 12.5px; line-height: 1.4; color: var(--faint); }

/* 후기: 손님 글 카드(네 장부터 두 줄, 넘치면 옆으로 넘김. 휴대폰도 같은 두 줄 옆 넘김) */
.dlp-seen h2 { text-wrap: balance; }
.dlp-rv-list { display: grid; grid-auto-flow: column; grid-template-rows: repeat(var(--rows, 1), auto); grid-auto-columns: calc((100% - 32px) / 3); gap: 16px; overflow-x: auto;
  scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.dlp-rv-list::-webkit-scrollbar { display: none; }
.dlp-rv { display: flex; flex-direction: column; gap: 14px; margin: 0; min-width: 0; padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: #fff; scroll-snap-align: start; }
.dlp-rv blockquote { margin: 0; font-size: 15.5px; line-height: 1.6; color: var(--ink); }
.dlp-rv figcaption { display: flex; align-items: baseline; gap: 8px; margin-top: auto; }
.dlp-rv strong { font-size: 14px; font-weight: 700; }
.dlp-rv span { font-size: 13px; color: var(--sub); }

/* 예전 방식(흐리게, 취소선) → 지금(어두운 강조 상자) */
.dlp-vs { display: grid; grid-template-columns: minmax(0, 1fr) 40px minmax(0, 1.15fr); gap: 16px; align-items: stretch; }
.dlp-vs .old > span, .dlp-vs .now > span { display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border-radius: 999px; font-size: 13px; font-weight: 700; }
.dlp-vs .old { display: flex; flex-direction: column; align-items: flex-start; padding: 30px 28px; border-radius: 18px; background: var(--fill); }
.dlp-vs .old > span { background: #fff; color: var(--sub); }
.dlp-vs .old ol { flex: 1; list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-direction: column; justify-content: space-around; gap: 12px; font-size: 19px; font-weight: 600;
  color: var(--faint); text-decoration: line-through; }
.dlp-vs .arw { align-self: center; }
.dlp-vs .arw { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: #fff; }
.dlp-vs .now { padding: 30px 26px; border-radius: 18px; background: #0f1113; color: #fff; box-shadow: 0 18px 44px rgba(15,23,42,.22); }
.dlp-vs .now > span { background: #d1fe17; color: #131517; }
.dlp-vs .now strong { display: block; margin: 14px 0 20px; font-size: clamp(22px, 2.6vw, 30px); line-height: 1.3; font-weight: 800; letter-spacing: -.03em; }
.dlp-vs .now .btn { border-color: #fff; background: #fff; color: var(--ink); min-height: 52px; }

/* 순서: 번호 동그라미를 선으로 잇는다 */
.dlp-flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.dlp-flow li { position: relative; min-width: 0; }
.dlp-flow li::before { content: ""; position: absolute; left: 36px; right: -28px; top: 18px; height: 1.5px; background: var(--line); }
.dlp-flow li:last-child::before { display: none; }
.dlp-flow i { position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border: 1.5px solid var(--ink); border-radius: 50%; background: #fff;
  font-style: normal; font-size: 15px; font-weight: 800; }
.dlp-flow strong { display: block; margin-top: 16px; font-size: 19px; font-weight: 800; letter-spacing: -.02em; }
.dlp-flow p { margin: 6px 0 0; font-size: 15.5px; color: var(--sub); }

/* 무료 단추(첫 화면, 지금 칸, 무료 구역, 마지막 띠): 빛이 번지는 테두리 + 지나가는 빛 띠 + 화살표 까딱
   (2026-11-22 오후 대표님 "무료로 10초뽑기도 애니메이션 넣어줘"). 흰 단추 = 흰 빛과 연두 띠, 연두 단추 = 연두 빛과 흰 띠 */
.dlp-go { position: relative; overflow: hidden; gap: 8px; --glow: 255,255,255; --sweep: 209,254,23; }
.dlp-go .go-arw { flex: none; }
.dlp .last .dlp-go, .dlp-free .dlp-go, .dlp-cheap .dlp-go { --glow: 209,254,23; --sweep: 255,255,255; }
/* 25% 싸게 구역(11/22 저녁): 무료 구역과 같은 어두운 칸, 제목의 25% 만 연두 + 보일 때 빛 */
.dlp-cheap-box h2 em { font-style: normal; color: #d1fe17; }
html.mo .dlp-cheap-box.in h2 em { animation: dlpWGlow 2.6s ease-in-out infinite; }
html.mo .dlp .dlp-go { animation: dlpGlow 1.8s ease-out infinite; }
html.mo .dlp .dlp-go .go-arw { animation: dlpNudge 1.1s ease-in-out infinite; }
html.mo .dlp .dlp-go::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(var(--sweep), .7) 50%, transparent 70%);
  transform: translateX(-130%); animation: dlpSweep 2.6s ease-in-out .6s infinite; pointer-events: none; }
@keyframes dlpGlow { 0% { box-shadow: 0 0 0 0 rgba(var(--glow), .55); } 70%, 100% { box-shadow: 0 0 0 14px rgba(var(--glow), 0); } }
@keyframes dlpNudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(4px); } }
@keyframes dlpSweep { 0% { transform: translateX(-130%); } 50%, 100% { transform: translateX(130%); } }

/* 지금 칸의 움직이는 화면: 대본이 쳐지고(연두 말풍선) → 인물과 장소 사진 → 컷마다 프롬프트(막대가 써지고 체크). 칸 높이는 처음부터 다 된 모양 그대로(쳐지는 글은 위에 겹친다) */
.dlp-demo { display: grid; gap: 12px; margin: 0 0 22px; padding: 14px; border-radius: 16px; background: #1a1c1f; font-size: 13.5px; }
.dm-u { display: flex; justify-content: flex-end; }
.dm-u p { position: relative; margin: 0; max-width: 88%; padding: 10px 13px; border-radius: 14px 14px 4px 14px; background: #d1fe17; color: #131517; line-height: 1.55;
  font-weight: 600; white-space: pre-line; text-align: left; }
.dm-typed { position: absolute; left: 13px; top: 10px; right: 13px; white-space: pre-line; }
.dlp-demo:not(.run) .dm-typed { display: none; }
.dlp-demo.run .dm-full { visibility: hidden; }
.dlp-demo.run.s-type .dm-typed::after { content: ""; display: inline-block; width: 2px; height: 1.05em; margin-left: 2px; vertical-align: -2px; background: #131517; animation: dmCaret .8s steps(1) infinite; }
@keyframes dmCaret { 50% { opacity: 0; } }
.dm-b { display: grid; gap: 8px; }
.dm-b small { font-size: 12px; font-weight: 700; color: rgba(255,255,255,.56); }
.dm-pics { display: flex; gap: 8px; }
.dm-pics img { width: 58px; height: 77px; object-fit: cover; border-radius: 10px; background: #2a2d31; }
.dm-cuts { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.dm-cuts li { display: grid; grid-template-columns: 22px minmax(0, 1fr) 18px; column-gap: 10px; row-gap: 5px; align-items: center; padding: 8px 10px; border-radius: 10px; background: rgba(255,255,255,.06); }
.dm-cuts i { grid-row: 1 / span 2; display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 50%; background: #d1fe17; color: #131517;
  font-style: normal; font-size: 11.5px; font-weight: 800; }
.dm-pt { grid-column: 2; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 11px; line-height: 1.5; color: rgba(255,255,255,.74); text-align: left; }
.dm-cuts em { grid-column: 3; grid-row: 1 / span 2; display: inline-flex; color: #d1fe17; }
.dlp-demo.run .dm-b, .dlp-demo.run .dm-u p { transition: opacity .35s; }
.dlp-demo.run.s-out .dm-b, .dlp-demo.run.s-out .dm-u p { opacity: 0; }
.dlp-demo.run:not(.s-bot) .dm-b { opacity: .55; }
.dlp-demo.run .dm-pics img { opacity: .28; filter: blur(7px) brightness(.55); transform: scale(.94);
  transition: opacity .45s, filter .7s, transform .45s cubic-bezier(.34, 1.56, .64, 1); transition-delay: calc(var(--k) * .25s); }
.dlp-demo.run.s-pics .dm-pics img { opacity: 1; filter: none; transform: none; }
.dlp-demo.run .dm-pt { clip-path: inset(0 100% 0 0); transition: clip-path 1.1s steps(28, end); transition-delay: calc(var(--k) * .55s); }
.dlp-demo.run .dm-cuts em { opacity: 0; transform: scale(.6); transition: opacity .25s, transform .3s cubic-bezier(.34, 1.56, .64, 1); transition-delay: calc(var(--k) * .55s + 1.1s); }
.dlp-demo.run.s-cuts .dm-pt { clip-path: inset(0 0 0 0); }
.dlp-demo.run.s-cuts .dm-cuts em { opacity: 1; transform: none; }

/* 무료 구역: 어두운 칸 가운데에 10초 고리(무료 초만큼 한 바퀴) + 제목 + 한 줄 + 연두 단추 */
.dlp-free .wrap, .dlp-cheap .wrap { max-width: 920px; }
.dlp-free-box { position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 48px 28px 52px; border-radius: 28px;
  background: #0f1113; color: #fff; }
.dlp-free-box::before { content: ""; position: absolute; left: 50%; top: -60%; width: 120%; height: 130%; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(209,254,23,.16), transparent);
  pointer-events: none; }
.dlp-free-box > * { position: relative; }
.dlp-free-box h2 { color: #fff; text-wrap: balance; }
.dlp-free-box .lead { margin: 12px 0 0; color: rgba(255,255,255,.74); }
.dlp-free-box .btn { margin-top: 28px; min-height: 56px; padding: 0 34px; font-size: 17px; border-color: #d1fe17; background: #d1fe17; color: #131517; }
.dlp-ring { width: 104px; height: 104px; margin-bottom: 22px; }
.dlp-ring svg { display: block; width: 100%; height: 100%; transform: rotate(-90deg); }
.dlp-ring circle { fill: none; stroke-width: 7; }
.dlp-ring .bg { stroke: rgba(255,255,255,.12); }
.dlp-ring .fg { stroke: #d1fe17; stroke-linecap: round; stroke-dasharray: 283; stroke-dashoffset: 0; }
html.mo .dlp-ring .fg { animation: dlpRing var(--sec, 10s) linear infinite; }
@keyframes dlpRing { from { stroke-dashoffset: 283; } to { stroke-dashoffset: 0; } }
.dlp-ring b { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #d1fe17; font-size: 32px; font-weight: 900; letter-spacing: -.03em;
  font-variant-numeric: tabular-nums; }
.dlp-ring b small { margin: 6px 0 0 1px; font-size: 15px; font-weight: 800; }

@media (max-width: 880px) {
  .hero.dlp-hero[data-bg] { min-height: calc(100svh - 58px); padding: 0 0 36px; }
  .hero.dlp-hero[data-bg] .hero-bg { grid-template-columns: minmax(0, 1fr); }
  .dlp-hero .hero-bg video.m { display: block; }
  .dlp-hero .hero-bg::after { background: linear-gradient(to top, rgba(11,11,12,.94) 0%, rgba(11,11,12,.68) 32%, rgba(11,11,12,.1) 62%, rgba(11,11,12,.3) 100%); }
  .dlp-hero h1 { font-size: clamp(27px, 8.2vw, 44px); }
  .dlp-works { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .dlp-works h3 { margin-top: 16px; font-size: 20px; }
  .dlp-vis { height: 210px; }
  .v-price strong { font-size: 84px; }
  .dlp-seen-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .dlp-seen-g h3 { font-size: 22px; }
  /* 카드마다 영상 하나면 두 칸씩(넷 = 2 x 2) */
  .dlp-seen-grid.solo { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 10px; }
  .dlp-seen-grid.solo small { display: flex; align-items: flex-end; justify-content: center; min-height: 2.9em; font-size: 13px; line-height: 1.45; }          /* 한 줄 글도 두 줄 칸 바닥에 앉혀 줄마다 장르 이름 높이를 맞춘다 */
  .dlp-seen-grid.solo h3 { margin: 3px 0 10px; font-size: 18px; }
  .dlp-br-m { display: inline; }
  .dlp-view-grid { gap: 8px; }
  /* 2026-11-24 밤 대표님 "폰버전 메인홈 조회수 잘린거 고쳐놔": 세 칸이 좁아 '조회 125.6만'의 끝 글자가 잘렸다 → 글자 크기를 화면 폭에 맞춰 줄이고 옆 여백을 줄인다 */
  .dlp-view figcaption { padding: 8px 6px 10px; font-size: calc(clamp(10px, 3.2vw, 16px) * var(--fit, 1)); text-align: center; }      /* --fit = 그래도 넘치면 스크립트가 줄이는 비율(휴대폰의 글자 크게 보기) */
  .dlp-money-list { grid-template-columns: minmax(0, 1fr); }
  /* 수익 화면은 옆으로 넘겨 본다(세로로 쌓으면 구역이 길어진다) */
  .dlp-money-shots { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: min(78vw, 300px); gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory;
    padding-bottom: 8px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .dlp-money-shots::-webkit-scrollbar { display: none; }
  .dlp-shot { scroll-snap-align: start; box-shadow: none; }
  .dlp-shot strong { font-size: 21px; }
  .dlp-rv-list { grid-auto-columns: min(82vw, 340px); gap: 10px; }
  .dlp-rv { padding: 18px; }
  .dlp-vs { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .dlp-vs .arw { justify-self: center; transform: rotate(90deg); }
  .dlp-vs .now .btn { width: 100%; }
  .dlp-free-box { padding: 36px 18px 40px; border-radius: 22px; }
  .dlp-free-box .btn { width: 100%; padding: 0 20px; }
  .dlp-ring { width: 92px; height: 92px; margin-bottom: 18px; }
  .dlp-flow { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .dlp-flow li { display: grid; grid-template-columns: 36px minmax(0, 1fr); column-gap: 14px; padding-bottom: 26px; }
  .dlp-flow li:last-child { padding-bottom: 0; }
  .dlp-flow li::before { left: 17px; right: auto; top: 36px; bottom: 0; width: 1.5px; height: auto; }
  .dlp-flow i { grid-row: 1 / span 2; }
  .dlp-flow strong { margin-top: 5px; font-size: 18px; }
  .dlp-flow p { grid-column: 2; margin-top: 4px; }
}

/* ===== 2026-11-22 밤 모바일 피드백(PC 는 그대로) ===== */
.dlp-seen-g small .m { display: none; }
.dlp-cmp, .dlp .last .last-bg { display: none; }
@media (max-width: 880px) {
  /* 장르 카드 위 한 줄(대표님 "아예 한줄로 짤벡 맞춰주면 돼"): 휴대폰 글(mhook)만, 넷 모두 같은 크기로 한 줄(글자 크기는 drama_lp.js 가 맞춤) */
  .dlp-seen-g small .pc { display: none; }
  .dlp-seen-g small .m { display: inline; }
  .dlp-seen-grid.solo small { display: block; min-height: 0; white-space: nowrap; overflow: hidden; font-size: var(--hook-fs, 13px); line-height: 1.5; }
  /* 수익 화면 = 위아래로 쌓기(대표님 "가로배치x 세로배치", 휴대폰은 옆으로 넘기는 줄 금지 = DESIGN.md §2) */
  .dlp-money-shots { grid-template-columns: minmax(0, 1fr); grid-auto-flow: row; grid-auto-columns: auto; gap: 16px; overflow: visible; scroll-snap-type: none; padding-bottom: 0; }
  .dlp-shot { scroll-snap-align: none; }
  .dlp-rv-list { grid-auto-flow: row; grid-template-rows: none; grid-template-columns: minmax(0, 1fr); grid-auto-columns: auto; overflow: visible; }
  /* 조회수 숫자 강조: 들어올 때 0 에서 세고(drama_lp.js) 연두 빛이 숨쉬듯 */
  .dlp-view figcaption { position: relative; }
  html.mo .dlp-view.in figcaption { animation: dlpViewGlow 2.2s ease-in-out infinite; }
  /* 25% 구역 비교 표 */
  .dlp-cmp { display: block; width: 100%; margin-top: 22px; text-align: left; }
  .dlp-cmp-t { margin: 0 0 10px; font-size: 14px; font-weight: 800; color: #fff; text-align: center; }
  .dlp-cmp table { width: 100%; border-collapse: separate; border-spacing: 0; overflow: hidden; border: 1px solid rgba(255,255,255,.1); border-radius: 14px; font-variant-numeric: tabular-nums; }
  .dlp-cmp th, .dlp-cmp td { padding: 11px 10px; border-bottom: 1px solid rgba(255,255,255,.07); font-size: 14px; text-align: center; color: rgba(255,255,255,.72); }
  .dlp-cmp tr:last-child th, .dlp-cmp tr:last-child td { border-bottom: 0; }
  .dlp-cmp thead th { font-size: 12.5px; font-weight: 700; color: rgba(255,255,255,.55); background: rgba(255,255,255,.04); }
  .dlp-cmp thead th:last-child { color: #d1fe17; }
  .dlp-cmp tbody th { text-align: left; }
  .dlp-cmp tbody th b { display: block; font-size: 14px; font-weight: 800; color: #fff; }
  .dlp-cmp tbody th small { font-size: 12px; color: rgba(255,255,255,.5); }
  .dlp-cmp td:last-child { background: rgba(209,254,23,.06); }
  .dlp-cmp td b { display: block; font-size: 16px; font-weight: 900; color: #d1fe17; }
  .dlp-cmp td em { font-style: normal; font-size: 11.5px; font-weight: 800; color: #d1fe17; }
  .dlp-cmp-n { margin: 8px 0 0; font-size: 12px; color: rgba(255,255,255,.45); text-align: center; }
  /* 마지막 띠 배경 영상(대표님 "더이상 미루지 마세요 부분에는, 배경으로 ai영상 하나 재생해줘") */
  .dlp .last .wrap { position: relative; overflow: hidden; isolation: isolate; }
  .dlp .last .last-bg { display: block; position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; filter: brightness(.42) saturate(1.05); }
  .dlp .last .wrap::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11,11,12,.25), rgba(11,11,12,.7)); pointer-events: none; }
}
@keyframes dlpViewGlow { 0%, 100% { text-shadow: 0 0 0 rgba(209,254,23,0); transform: scale(1); } 50% { text-shadow: 0 0 16px rgba(209,254,23,.75); transform: scale(1.04); } }

/* ===== 2026-11-23 PC: 25% 구역 힉스필드 비교 표(대표님 "구체적으로 힉스필드랑 비교하라고") + 마지막 띠 뒤 영상(대표님 "맨마지막에는 영상 뒤에 보이게"). 휴대폰은 위 그대로 ===== */
.dlp-cmp .pc, .dlp .last .last-wall { display: none; }
@media (min-width: 881px) {
  .dlp-cmp { display: block; max-width: 760px; margin: 30px auto 6px; text-align: left; }
  .dlp-cmp-t { margin: 0 0 12px; font-size: 15px; font-weight: 800; color: #fff; text-align: center; }
  .dlp-cmp table { width: 100%; table-layout: fixed; border-collapse: separate; border-spacing: 0; overflow: hidden; border: 1px solid rgba(255,255,255,.1); border-radius: 16px; font-variant-numeric: tabular-nums; }
  .dlp-cmp th, .dlp-cmp td { padding: 16px 20px; border-bottom: 1px solid rgba(255,255,255,.07); vertical-align: middle; font-size: 18px; font-weight: 700; color: rgba(255,255,255,.72); text-align: left; }
  .dlp-cmp tr:last-child th, .dlp-cmp tr:last-child td { border-bottom: 0; }
  .dlp-cmp thead th { padding-top: 12px; padding-bottom: 12px; font-size: 13px; color: rgba(255,255,255,.55); background: rgba(255,255,255,.04); }
  .dlp-cmp thead th:first-child { width: 28%; }
  .dlp-cmp thead th:nth-child(3) { color: #d1fe17; }
  .dlp-cmp th.pc, .dlp-cmp td.pc { display: table-cell; }
  .dlp-cmp tbody th b { display: block; font-size: 17px; font-weight: 800; color: #fff; }
  .dlp-cmp tbody th > small { display: none; }
  .dlp-cmp .cmp-same { display: block; margin-top: 3px; font-size: 12.5px; font-weight: 600; color: rgba(255,255,255,.5); }
  .dlp-cmp .cmp-hf { display: block; margin-bottom: 2px; font-size: 12px; font-weight: 700; color: rgba(255,255,255,.45); }
  .dlp-cmp td:nth-child(3) { background: rgba(209,254,23,.06); }
  .dlp-cmp td b { font-size: 22px; font-weight: 900; color: #d1fe17; }
  .dlp-cmp td em { margin-left: 8px; font-style: normal; font-size: 12.5px; font-weight: 800; color: #d1fe17; vertical-align: 3px; }
  .dlp-cmp .cmp-bar { display: block; width: var(--w); height: 6px; margin-top: 8px; border-radius: 3px; background: rgba(255,255,255,.3); transform-origin: left center; }
  .dlp-cmp .cmp-bar.us { background: linear-gradient(90deg, #a6d40f, #d1fe17); box-shadow: 0 0 12px rgba(209,254,23,.35); }
  .dlp-cmp .cmp-diff { font-size: 17px; font-weight: 900; color: #fff; }
  .dlp-cmp-n { margin: 10px 0 0; font-size: 12.5px; color: rgba(255,255,255,.45); text-align: center; }
  html.mo .dlp-cheap-box .cmp-bar { transform: scaleX(0); transition: transform 1s cubic-bezier(.2,.8,.2,1) .25s; }
  html.mo .dlp-cheap-box .cmp-bar.us { transition-delay: .55s; }
  html.mo .dlp-cheap-box.in .cmp-bar { transform: scaleX(1); }
  /* 마지막 띠: 세로 드라마 영상 다섯 편을 나란히 깔고 글 뒤는 가운데가 더 어둡게 */
  .dlp .last .wrap { position: relative; overflow: hidden; isolation: isolate; }
  .dlp .last .last-wall { display: grid; grid-template-columns: repeat(var(--n, 5), minmax(0, 1fr)); position: absolute; inset: 0; z-index: -1; }
  .dlp .last .last-wall video { display: block; width: 100%; height: 100%; object-fit: cover; filter: brightness(.6) saturate(1.05); }
  .dlp .last .wrap::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background: radial-gradient(ellipse 58% 80% at 50% 50%, rgba(11,11,12,.74) 0%, rgba(11,11,12,.5) 62%, rgba(11,11,12,.28) 100%); }
}

/* 가입 안내 창(시작 단추 A/B 의 '가입 창 먼저' 쪽, 2026-11-24 대표님 "무료 1분 만들기 누르면 그때 회원가입 창 뜨는거 50%로 하고, 지금꺼랑 50대50으로 테스트"):
   드라마 화면의 가입 안내 창(drama.css .dr-join)과 같은 값. 어두운 창(#131517, r24), 가운데 정렬, 연두 영화 아이콘 → 안내 한 줄(20px/800) → [무료로 시작하기][로그인] 두 칸.
   휴대폰 = 아래에서 올라오는 창 + 손잡이, 단추는 위아래로. 특별 오퍼 띠(70)보다 위 */
.dlp-join-bg { z-index: 80; background: rgba(0,0,0,.62); }
.sheet.dlp-join { position: relative; max-width: 420px; padding: 30px 24px calc(24px + var(--sab)); background: #131517; color: #f7f7f8; color-scheme: dark; text-align: center;
  border: 1px solid rgba(255,255,255,.08); border-radius: 24px; box-shadow: 0 24px 80px rgba(0,0,0,.55); outline: none; }
.dlp-join-grip { display: none; }
.dlp-join-x { position: absolute; top: 10px; right: 10px; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 0; border-radius: 12px;
  background: none; color: rgba(255,255,255,.56); cursor: pointer; }
.dlp-join-x:hover { background: rgba(255,255,255,.06); color: #fff; }
.dlp-join-ic { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; margin: 4px 0 16px; border-radius: 16px; background: rgba(209,254,23,.12); color: #d1fe17; }
.sheet.dlp-join h3 { margin: 0 8px; font-size: 20px; line-height: 1.45; font-weight: 800; letter-spacing: -.02em; color: #fff; word-break: keep-all; white-space: pre-line; text-wrap: balance; }
.dlp-join-acts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 22px; }
.dlp-join-acts .dlp-join-btn:only-child { grid-column: 1 / -1; }
.dlp-join-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 18px; border: 1px solid rgba(255,255,255,.18); border-radius: 12px; background: transparent; color: #f7f7f8;
  font: inherit; font-size: 15px; font-weight: 700; text-decoration: none; cursor: pointer; white-space: nowrap; }
.dlp-join-btn:hover { border-color: rgba(255,255,255,.36); }
.dlp-join-btn.fill { border-color: #d1fe17; background: #d1fe17; color: #131517; font-weight: 800; }
.dlp-join-btn:focus-visible, .dlp-join-x:focus-visible { outline: 2px solid #d1fe17; outline-offset: 2px; }
@media (max-width: 880px) {
  .sheet.dlp-join { max-width: none; padding-top: 14px; border-bottom: 0; border-radius: 24px 24px 0 0; }
  .dlp-join-grip { display: block; width: 40px; height: 4px; margin: 0 auto 18px; border-radius: 2px; background: rgba(255,255,255,.2); }
  .dlp-join-x { top: 6px; right: 6px; }
  .dlp-join-acts { grid-template-columns: minmax(0, 1fr); }
}
