@font-face { font-family: "Pretendard Variable"; font-weight: 45 920; font-display: block; src: url("/fonts/PretendardVariable.woff2") format("woff2"); }

:root {
  --ink: #111318; --body: #333d4b; --sub: #6b7684; --faint: #8b95a1;
  --line: #e5e8eb; --fill: #f2f4f6; --bg: #ffffff;
  --accent: #ff4f17; --accent-ink: #d9400f;
  --ok: #0a7d5a; --bad: #c92a2a;
  --r: 14px; --sab: env(safe-area-inset-bottom, 0px);
  --wrap: 1120px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  font-size: 16px; line-height: 1.6; letter-spacing: -0.01em;
  word-break: keep-all; overflow-wrap: break-word; text-wrap: pretty;
}
a { color: inherit; }
img, video { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* 머리 */
.top { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 24px; height: 64px; }
.logo { font-weight: 850; font-size: 20px; letter-spacing: -0.03em; text-decoration: none; white-space: nowrap; }
.logo em { font-style: normal; color: var(--accent); }
.top nav { display: flex; gap: 22px; margin-left: auto; align-items: center; }
.top nav a { text-decoration: none; color: var(--body); font-size: 15px; font-weight: 600; white-space: nowrap; }
.top nav a:hover { color: var(--ink); }
.top nav a.btn, .top nav a.btn:hover { color: #fff; }
/* 로그인한 손님의 남은 크레딧(콘솔 머리줄 알약과 같은 모양: 높이 34, 회색 바탕, 14/700) */
.top nav a.nav-pill { display: inline-flex; align-items: center; height: 34px; padding: 0 12px; border-radius: 999px; background: var(--fill); color: var(--ink); font-size: 14px; font-weight: 700; font-variant-numeric: tabular-nums; }

/* 버튼 */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px;
  border-radius: 12px; border: 1px solid var(--ink); background: var(--ink); color: #fff; font-weight: 700; font-size: 16px;
  text-decoration: none; cursor: pointer; white-space: nowrap; transition: transform .12s ease, opacity .12s ease; }
.btn:hover { opacity: .9; }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .45; cursor: default; }
.btn-line { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-line:hover { border-color: #c9cdd2; opacity: 1; }
.btn-sm { min-height: 40px; padding: 0 14px; font-size: 14px; border-radius: 10px; }
.btn-text { background: none; border: 0; color: var(--sub); font-weight: 600; cursor: pointer; padding: 8px 4px; min-height: 44px; }
.top .btn { min-height: 40px; padding: 0 16px; font-size: 14px; }

/* 첫 화면 */
.hero { padding: 96px 0 72px; text-align: center; }
.hero h1 { margin: 0; font-size: clamp(40px, 7.2vw, 92px); line-height: 1.08; font-weight: 850; letter-spacing: -0.045em; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .sub { margin: 26px auto 0; font-size: clamp(17px, 2vw, 21px); color: var(--sub); font-weight: 500; max-width: 640px; }
.hero .cta { margin-top: 36px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero .cta .btn { min-height: 56px; padding: 0 28px; font-size: 17px; border-radius: 14px; }
.hero .note { margin: 22px auto 0; font-size: 13px; color: var(--faint); max-width: 620px; }

/* 첫 화면 배경 영상 벽(서버 hero.videos, show hero.video). 꺼져 있으면 data-bg 가 없어 위의 흰 첫 화면 그대로 */
.hero[data-bg] { position: relative; overflow: hidden; background: #0b0c0f; min-height: min(78vh, 720px); display: flex; align-items: center; padding: 72px 0; }
.hero[data-bg] > .wrap { position: relative; z-index: 2; width: 100%; }
.hero-bg { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 1fr; }
.hero[data-bg="2"] .hero-bg, .hero[data-bg="4"] .hero-bg { grid-template-columns: repeat(2, 1fr); }
.hero[data-bg="8"] .hero-bg { grid-template-columns: repeat(4, 1fr); }
.hero-bg video { width: 100%; height: 100%; min-width: 0; min-height: 0; object-fit: cover; background: #0b0c0f; }
/* 덮는 어둡기: 전체는 --hero-dim, 글이 놓이는 가운데만 조금 더(가장자리 영상은 더 잘 보이게) */
.hero-bg::after { content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse 62% 70% at 50% 50%, rgba(11,12,15,.34), rgba(11,12,15,0) 100%),
    linear-gradient(rgba(11,12,15,var(--hero-dim, .62)), rgba(11,12,15,var(--hero-dim, .62))); }
.hero[data-bg] h1 { color: #fff; text-shadow: 0 2px 28px rgba(0,0,0,.4); }
.hero[data-bg] .sub { color: rgba(255,255,255,.88); }
.hero[data-bg] .note { color: rgba(255,255,255,.64); }
/* 첫 화면 단추 아래 '마음에 안 들면 100% 환불' 한 줄(2026-11-11): 방패 그림 + 굵은 한 줄(환불정책으로) + 작은 조건 한 줄 */
/* 2026-11-13 대표님 "hero섹션이 아니라 1초 값과 페이백 저쪽에 넣자": 가격표 아래 옅은 상자 한 칸 */
.guarantee { margin: 26px 0 0; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; width: fit-content; max-width: 100%; padding: 8px 22px 16px 18px;
  border-radius: 16px; background: var(--fill); font-size: 14px; color: var(--sub); }
.guarantee a { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; color: var(--ink); font-size: 17px; text-decoration: none; }
.guarantee a b { font-weight: 800; }
.guarantee a svg { color: var(--accent); flex: none; }
.guarantee a:hover b { text-decoration: underline; text-underline-offset: 3px; }
.hero[data-bg] .cta .btn { background: #fff; color: var(--ink); border-color: #fff; }
.hero[data-bg] .cta .btn-line { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.55); }
.hero[data-bg] .cta .btn-line:hover { border-color: #fff; }

/* 구역 */
section.block { padding: 72px 0; border-top: 1px solid var(--line); }
.block h2 { margin: 0; font-size: clamp(26px, 3.4vw, 38px); line-height: 1.25; font-weight: 800; letter-spacing: -0.035em; }
.block .lead { margin: 10px 0 0; color: var(--sub); font-size: 17px; }
.block-head { margin-bottom: 32px; }

/* 장르별 비교 영상 */
.sc h2 em { font-style: normal; color: var(--accent); }
.sc-refs { display: flex; align-items: center; gap: 14px; margin: 0 0 20px; }
.sc-ref { margin: 0; width: 240px; }
.sc-ref img, .sc-ref video { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 12px; background: var(--fill); }
.sc-ref figcaption { margin-top: 8px; font-size: 14px; color: var(--sub); font-weight: 600; }
.sc-plus { margin-bottom: 28px; font-size: 22px; font-weight: 700; color: var(--faint); }
.sc-make { background: var(--ink); color: #fff; border-color: var(--ink); min-height: 44px; padding: 0 18px; border-radius: 12px; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; position: relative; }
.sc-play { display: none; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 2; width: 64px; height: 64px;
  border-radius: 50%; border: 0; cursor: pointer; background: rgba(17,19,24,.72); color: #fff; align-items: center; justify-content: center; }
.sc-play svg { width: 28px; height: 28px; margin-left: 3px; }
.pair.blocked .sc-play { display: inline-flex; }
.clip { margin: 0; }
.clip .frame { position: relative; border-radius: 16px; overflow: hidden; background: #0b0c0f; aspect-ratio: 16 / 9; }
.clip video { width: 100%; height: 100%; object-fit: cover; }
.clip video::-webkit-media-controls { display: none !important; }
.clip figcaption { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 14px 2px 0; }
.clip .who { font-weight: 800; font-size: 18px; }
.clip.hf .who { font-weight: 600; color: var(--sub); }      /* 힉스필드 이름은 옅게, 힉스페이백만 진하게(대표님 11/11) */
.clip .cost { font-weight: 800; font-size: 18px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.clip .cost b { font-weight: 800; }
.clip.hf .cost { color: var(--sub); }
.clip.us figcaption { align-items: flex-start; }
.clip.us .cost { display: grid; justify-items: end; row-gap: 2px; color: var(--accent); }
.clip.us .cost s { font-size: 15px; font-weight: 600; color: var(--faint); }
.clip.us .cost small { font-size: 13px; font-weight: 600; color: var(--sub); }
/* 첫 화면 친구 초대 알림(2026-11-18 밤): 어두운 둥근 띠(r24) 안 왼쪽 제목(28/800, 비율만 강조색)과 한 줄, 오른쪽 흰 단추. 휴대폰은 위아래 + 단추 폭 가득 */
.refer { padding-top: 0; }
.refer-box { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 36px 40px; border-radius: 24px; background: #111318; color: #fff; }
.refer-box h2 { margin: 0; font-size: 28px; line-height: 1.3; font-weight: 800; letter-spacing: -0.03em; color: #fff; }
.refer-box h2 em { font-style: normal; color: var(--accent); }
.refer-box p { margin: 10px 0 0; font-size: 15px; color: rgba(255,255,255,.72); }
.refer-box .refer-go { flex: none; min-height: 50px; padding: 0 24px; background: #fff; color: #111318; }
.refer-box .refer-go:hover { background: #f2f4f6; color: #111318; }
@media (max-width: 880px) {
  .refer-box { flex-direction: column; align-items: stretch; gap: 20px; padding: 28px 22px; border-radius: 20px; }
  .refer-box h2 { font-size: 22px; }
  .refer-box .refer-go { width: 100%; }
}
/* 비교 영상 단추 줄 위 안내 한 줄(서버 showcase[].note) */
.sc-tip { margin: 14px 0 -8px; text-align: left; font-size: 13px; color: var(--sub); }      /* 단추가 왼쪽에 있어 왼쪽 맞춤(휴대폰은 단추가 폭 가득이라 가운데) */
@media (max-width: 880px) { .sc-tip { text-align: center; } }
.pair-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; color: var(--sub); font-size: 14px; flex-wrap: wrap; }
.pair-foot .meta { white-space: nowrap; }
.prompt-box { margin-top: 12px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 12px; color: var(--body); font-size: 14px; line-height: 1.65; overflow-wrap: anywhere; }
.sc-note { margin: 28px 0 0; color: var(--faint); font-size: 13px; }
.snd { position: absolute; right: 12px; bottom: 12px; width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(17,19,24,.62); color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.snd svg { width: 20px; height: 20px; }
.snd .w { display: none; }
.snd[aria-pressed="true"] .w { display: inline; }
.snd[aria-pressed="true"] .x { display: none; }

/* 설명 사진(실제 콘솔 화면·영상 장면). 주소 = 서버 문구 payback.img1~3, plans.img, models.img */
.ex-img { display: block; width: 100%; border-radius: 14px; border: 1px solid var(--line); background: var(--fill); }
.pb-steps { grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pb-steps li { flex-direction: column; gap: 14px; }
.pb-steps li .ex-img { aspect-ratio: 1 / 1; object-fit: cover; }      /* 움짤 = 휴대폰 콘솔 화면을 정사각으로 찍은 것(840x840) */
.ex-media { width: 100%; }
.ex-media video ~ img { display: none; }          /* 움짤이 있으면 사진은 감춘다(움짤 주소를 비우면 사진이 보임) */
.pb-steps li p { margin: 0; display: flex; gap: 12px; align-items: flex-start; }
.ex-wide { max-width: 720px; margin: 0 0 28px; }
.ex-frames { max-width: none; border: 0; }

/* 페이백 */
.payback-ex { margin: 0 0 10px; font-size: clamp(20px, 2.6vw, 26px); font-weight: 800; letter-spacing: -0.03em; color: var(--ink); }

footer.foot .links a.strong { font-weight: 800; color: var(--ink); }

/* 가격표 */
.tabs { display: flex; gap: 24px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.tabs button { background: none; border: 0; padding: 12px 0; min-height: 44px; font-weight: 600; font-size: 16px; color: var(--sub);
  border-bottom: 2px solid transparent; margin-bottom: -1px; cursor: pointer; }
.tabs button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--ink); }
table.price { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
table.price th, table.price td { text-align: right; padding: 18px 8px; border-bottom: 1px solid var(--line); font-size: 18px; }
table.price thead th { font-size: 14px; color: var(--sub); font-weight: 600; padding-top: 14px; padding-bottom: 14px; }
table.price th:first-child, table.price td:first-child { text-align: left; }
table.price tbody th { font-weight: 700; }
table.price thead th b { display: block; font-size: 16px; font-weight: 800; color: var(--ink); }
table.price thead th small { display: block; margin-top: 2px; font-size: 13px; font-weight: 600; color: var(--sub); }
table.price thead th.us b, table.price thead th.us small { color: var(--accent); }
table.price td.hf { color: var(--sub); }
table.price td.us { font-weight: 800; color: var(--accent); }
table.price td.us small { color: var(--accent); opacity: .8; }
table.price td.diff { color: var(--accent-ink); font-weight: 700; }
table.price td small, table.price tbody th small { display: block; margin-top: 2px; font-size: 12px; font-weight: 500; color: var(--faint); }
.small { margin-top: 14px; color: var(--faint); font-size: 13px; }

/* 에이전트 */
.steps { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 14px; }
.steps li { display: flex; gap: 14px; align-items: flex-start; font-size: 17px; color: var(--body); }
.steps b { flex: 0 0 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--ink); display: inline-flex; align-items: center;
  justify-content: center; font-size: 14px; color: var(--ink); margin-top: 1px; }
.agent-box { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.agent-box pre { margin: 0; padding: 20px; white-space: pre-wrap; font-family: inherit; font-size: 15px; line-height: 1.7; color: var(--body); max-height: 360px; overflow: auto; }
.agent-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px 12px 20px; border-top: 1px solid var(--line); background: #fafbfc; }
.agent-bar span { color: var(--sub); font-size: 14px; }

/* 구독: 힉스필드 가격 페이지 카드를 재서 만든 모양(대표님 11/11 "힉스필드처럼 좀 트렌디하게, 가운데꺼를 [추천]으로").
   카드 r32 p8, 머리 r24 p12/16/16, 이름 40/48 500, 추천 알약 h24 12/600, 값 36/40 500, 단추 h44 r12 흰색 14/600, 목록 14/20. 색 = 서버 plans[].tone */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: start; }
.plan { --tone: #fff; border-radius: 32px; padding: 8px; border: 1px solid var(--line); background: #fff; }
.plan-head { display: flex; flex-direction: column; min-height: 216px; border-radius: 24px; padding: 12px 16px 16px; background: var(--fill); }
.plan-name { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.plan h3 { margin: 0; font-size: 40px; line-height: 48px; font-weight: 500; letter-spacing: -1.2px; white-space: nowrap; }
.plan-name em { font-style: normal; display: inline-flex; align-items: center; height: 24px; padding: 0 8px; border-radius: 999px; font-size: 12px; line-height: 16px;
  font-weight: 600; white-space: nowrap; background: rgba(0,0,0,.15); color: #fff; box-shadow: inset 0 -2px 4px rgba(255,255,255,.1), inset 0 2px 4px rgba(255,255,255,.1); }
.plan-sub { margin: 4px 0 0; min-height: 16px; font-size: 14px; line-height: 16px; font-weight: 500; color: var(--sub); }
.plan-price { margin: 20px 0 12px; display: flex; align-items: baseline; gap: 6px; }
.plan-price b { font-size: 36px; line-height: 40px; font-weight: 500; letter-spacing: -1.2px; font-variant-numeric: tabular-nums; }
.plan-price span { font-size: 14px; line-height: 20px; font-weight: 500; color: var(--sub); }
.plan-cta { margin-top: auto; display: flex; align-items: center; justify-content: center; height: 44px; border-radius: 12px; background: var(--ink); color: #fff;
  font-size: 14px; line-height: 16px; font-weight: 600; text-decoration: none; box-shadow: 0 4px 16px rgba(0,0,0,.12); transition: transform .12s ease, opacity .12s ease; }
.plan-cta:hover { opacity: .92; }
.plan-cta:active { transform: translateY(1px); }
.plan-body { padding: 16px 16px 12px; font-size: 14px; line-height: 20px; }
.plan-main { margin: 0; }
.plan-main b { font-weight: 600; color: var(--tone); }
.plan-main span { color: var(--sub); }
.plan-tree { list-style: none; margin: 0 0 0 9px; padding: 0; }
.plan-tree li { position: relative; padding: 12px 0 0 22px; }
.plan-tree li::before { content: ""; position: absolute; left: 0; top: -2px; width: 12px; height: 24px; border-left: 1px solid currentColor; border-bottom: 1px solid currentColor;
  border-bottom-left-radius: 6px; opacity: .3; }
.plan-checks { list-style: none; margin: 18px 0 0; padding: 18px 0 0; border-top: 1px solid var(--line); display: grid; gap: 12px; }
.plan-checks li { display: flex; align-items: flex-start; gap: 10px; }
.plan-checks svg { flex: 0 0 20px; width: 20px; height: 20px; color: var(--tone); }
.plan-krw { margin: 16px 0 0; font-size: 12px; color: var(--faint); }
/* 흰 카드(theme.plans = classic)일 때 색 */
.plan.t-grey { --tone: var(--ink); }
.plan.t-lime { --tone: #5c7300; }
.plan.t-pink { --tone: #d21f84; }
/* 어두운 띠 + 빛나는 머리(theme.plans = dark, 기본) */
[data-style="dark"] { background: #0f1113; border-top: 0; color: #fff; }
[data-style="dark"] h2 { color: #fff; }
[data-style="dark"] .lead { color: rgba(255,255,255,.6); }
[data-style="dark"] .plan { border-color: rgba(255,255,255,.06); background: rgba(255,255,255,.02); }
[data-style="dark"] .plan-head { background: radial-gradient(120% 90% at 88% 0%, rgba(255,255,255,.2) 0%, rgba(255,255,255,0) 62%), linear-gradient(180deg, #2b2e33 0%, #1a1c1f 100%); }
[data-style="dark"] .plan-sub { color: rgba(255,255,255,.5); }
[data-style="dark"] .plan-price b { color: #fff; text-shadow: 0 1px 14px rgba(0,0,0,.28); }
[data-style="dark"] .plan-price span { color: rgba(255,255,255,.6); }
[data-style="dark"] .plan-cta { background: #fff; color: #1a1a1a; }
/* 흐르는 그라데이션(2026-11-25 대표님 "구독하기 버튼에는 그라데이션 되는 애니메이션 줘"): 단추 바탕 위로 카드 색 빛이 왼쪽에서 오른쪽으로 계속 지나간다.
   서버가 첫 달 할인이 붙은 단추에 data-flow 를 붙인다(show plans.cta_flow, 모든 단추 = plans.cta_flow_all). 움직임 줄이기 = 빛 없이 그대로 */
.plan-cta[data-flow] { --f0: var(--ink); --f1: #3d424b; --f2: #5a606b;
  background-image: linear-gradient(90deg, var(--f0) 0%, var(--f0) 16%, var(--f1) 36%, var(--f2) 50%, var(--f1) 64%, var(--f0) 84%, var(--f0) 100%); background-size: 200% 100%;
  animation: ctaFlow 2.6s linear infinite; }
[data-style="dark"] .plan-cta[data-flow] { --f0: #fff; --f1: #f0ff9e; --f2: #d1fe17; }
[data-style="dark"] .plan.t-pink .plan-cta[data-flow] { --f1: #ffd6ec; --f2: #ff9fd4; }
@keyframes ctaFlow { from { background-position: 200% 0; } to { background-position: 0 0; } }
@media (prefers-reduced-motion: reduce) { .plan-cta[data-flow] { background-image: none; } }
[data-style="dark"] .plan-main span, [data-style="dark"] .plan-tree { color: rgba(255,255,255,.5); }
[data-style="dark"] .plan-checks { border-top-color: rgba(255,255,255,.08); color: rgba(255,255,255,.86); }
[data-style="dark"] .plan-krw { color: rgba(255,255,255,.4); }
[data-style="dark"] .plan.t-grey { --tone: #fff; }
[data-style="dark"] .plan.t-lime { --tone: #d1fe17; }
[data-style="dark"] .plan.t-pink { --tone: #ff5fb4; }
[data-style="dark"] .t-lime .plan-head { background: radial-gradient(135% 105% at 30% -12%, #f4ff8a 0%, #d1fe17 26%, #93b30c 56%, #3b4807 100%);
  box-shadow: 0 0 46px rgba(209,254,23,.26); }
[data-style="dark"] .t-lime h3 { color: #131517; }
[data-style="dark"] .t-lime .plan-name em { background: #131517; color: #d1fe17; box-shadow: none; }   /* 연두 위에서는 추천 알약을 진하게(잘 읽히게) */
[data-style="dark"] .t-lime .plan-sub { color: rgba(19,21,23,.66); }
[data-style="dark"] .t-pink .plan-head { background: radial-gradient(135% 105% at 30% -12%, #ffc1e6 0%, #ff66bd 26%, #d42589 56%, #5b0e3b 100%);
  box-shadow: 0 0 46px rgba(255,95,180,.24); }
[data-style="dark"] .t-pink .plan-sub { color: rgba(255,255,255,.78); }

/* 모델 */
.models { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.models li { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.models li div { display: flex; flex-direction: column; }
.models b { font-size: 18px; }
.models span { color: var(--sub); font-size: 15px; }
.models em { font-style: normal; font-size: 13px; font-weight: 700; padding: 6px 12px; border-radius: 999px; background: var(--ink); color: #fff; white-space: nowrap; }
.models li.soon em { background: var(--fill); color: var(--sub); }

/* 질문 */
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 0; font-weight: 700; font-size: 17px; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--faint); font-weight: 500; }
.faq details[open] summary::after { content: "−"; }
.faq p { margin: 0 0 20px; color: var(--body); }

/* 바닥 */
footer.foot { border-top: 1px solid var(--line); padding: 40px 0 calc(48px + var(--sab)); color: var(--faint); font-size: 13px; }
footer.foot .links { display: flex; gap: 18px; flex-wrap: wrap; margin-bottom: 14px; }
footer.foot .links a, footer.foot .links button { color: var(--body); text-decoration: none; font-weight: 600; font-size: 14px; background: none; border: 0; padding: 0; cursor: pointer; }
footer.foot p { margin: 6px 0; }

/* 시트(문의 등) */
.sheet-bg { position: fixed; inset: 0; background: rgba(17,19,24,.45); z-index: 60; display: flex; align-items: center; justify-content: center; padding: 20px; }
.sheet { background: #fff; border-radius: 20px; width: 100%; max-width: 480px; max-height: calc(100dvh - 40px); overflow: auto; padding: 26px 24px calc(22px + var(--sab)); }
.sheet h3 { margin: 0 0 16px; font-size: 20px; font-weight: 800; }
.field { display: block; margin-bottom: 14px; }
.field > span { display: block; font-size: 14px; color: var(--sub); font-weight: 600; margin-bottom: 6px; }
.field input, .field textarea, .field select { width: 100%; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; font-size: 16px; background: #fff; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--ink); }
.row-btns { display: flex; gap: 10px; justify-content: flex-end; margin-top: 8px; }

/* 가운데 맞춤은 left 50% 대신 좌우 16px + 자동 여백(left 50% 면 글 폭이 화면 절반에서 꺾여 휴대폰에서 두 줄이 된다) */
/* 글자색 = 화면 바탕색(--bg). 바탕을 글자색 변수(--ink)로 칠하므로 글자는 늘 그 반대색이어야 한다: 흰색으로 못 박아 두면 어두운 화면(--ink 가 밝은 색)에서 밝은 바탕에 흰 글자가 된다
   (2026-11-20 손님 캡처 "흰색 글자가 배경에 묻혀", 11/23 에 어두운 화면마다 따로 고쳤고 11/24 에 여기서 뿌리를 고침). 얇은 테 빛 = 어두운 구역(첫 화면 영상 벽) 위에서도 알림 모양이 보이게 */
.toast { position: fixed; left: 16px; right: 16px; width: fit-content; max-width: min(480px, calc(100vw - 32px)); margin: 0 auto;
  bottom: calc(24px + var(--sab)); background: var(--ink); color: var(--bg, #fff); padding: 12px 18px;
  border-radius: 12px; font-size: 15px; z-index: 80; box-shadow: 0 6px 20px rgba(0,0,0,.18), 0 0 0 1px rgba(255,255,255,.12); }

/* 모바일 */
@media (max-width: 880px) {
  html, body { overflow-x: hidden; overflow-x: clip; max-width: 100vw; }   /* clip = 가로 스크롤만 막고 머리줄 sticky 는 살림(hidden 이면 body 가 스크롤 상자가 돼 머리줄이 같이 올라감) */
  .wrap { padding: 0 20px; }
  .top .wrap { height: 58px; gap: 12px; }
  .top nav { gap: 14px; }
  .top nav a.hide-m { display: none; }
  .hero { padding: 64px 0 52px; }
  .hero[data-bg] { min-height: min(86vh, var(--hero-mh, 680px)); padding: 56px 0; }   /* 2026-11-13 대표님 "모바일 hero 세로폭 조금만 더" */
  .guarantee { width: 100%; padding: 6px 16px 14px; }
  .hero[data-bg] .hero-bg { grid-template-columns: repeat(2, 1fr); }
  .hero-bg video.pc { display: none; }           /* 휴대폰은 앞의 몇 개만(받지도 않는다) */
  .hero .cta { flex-direction: column; align-items: stretch; }
  .hero .cta .btn { width: 100%; }
  section.block { padding: 56px 0; }
  .plans { grid-template-columns: 1fr; }
  .plan-head { min-height: 0; }
  .plan-price { margin-bottom: 16px; }
  .pair { grid-template-columns: 1fr; gap: 26px; }
  .pb-steps { grid-template-columns: 1fr; gap: 28px; }
  .sc-refs { gap: 10px; }
  .sc-ref { width: 150px; }
  .pair-foot .sc-make { width: 100%; }

  table.price th, table.price td { font-size: 16px; padding: 15px 4px; }
  .sheet-bg { align-items: flex-end; padding: 0; }
  .sheet { border-radius: 20px 20px 0 0; max-width: none; }
}
@media (max-width: 360px) {
  .wrap { padding: 0 16px; }
  .logo { font-size: 18px; }
  table.price th, table.price td { font-size: 15px; }
}
/* 움직임(대표님 11/10 "전체적으로 애니메이션"): 구역이 보일 때 차례로 올라옴(0.45초, 60ms씩, 처음 한 번), 첫 화면 글, 주 버튼 빛, 카드 살짝 뜸.
   서버 show.motion 을 끄거나 기기가 '움직임 줄이기'면 html.mo 가 안 붙어 전부 멈춘다. */
html.mo [data-rise] { opacity: 0; transform: translateY(22px); transition: opacity .45s ease, transform .45s cubic-bezier(.2, .7, .2, 1);
  transition-delay: calc(var(--i, 0) * 60ms); }
html.mo [data-rise].in { opacity: 1; transform: none; }
html.mo .hero h1, html.mo .hero .sub, html.mo .hero .cta, html.mo .hero .note { animation: heroUp .7s cubic-bezier(.2, .7, .2, 1) both; }
html.mo .hero .sub { animation-delay: .08s; }
html.mo .hero .cta { animation-delay: .16s; }
html.mo .hero .note { animation-delay: .24s; }
@keyframes heroUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
html.mo .hero h1 em { display: inline-block; animation: emPop .6s cubic-bezier(.3, 1.6, .5, 1) .45s both; }
@keyframes emPop { from { transform: scale(.82); } to { transform: none; } }
.btn.shine { position: relative; overflow: hidden; }
html.mo .btn.shine::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 35%, rgba(255,255,255,.26) 50%, transparent 65%);
  transform: translateX(-120%); animation: shine 3.4s ease-in-out 1s infinite; pointer-events: none; }
@keyframes shine { 0% { transform: translateX(-120%); } 45%, 100% { transform: translateX(120%); } }
html.mo .plan, html.mo .clip .frame, html.mo .pb-steps .ex-media { transition: transform .25s ease, box-shadow .25s ease; }
html.mo .plan.in:hover { transform: translateY(-4px); }
html.mo .clip .frame:hover { transform: translateY(-3px); }
html.mo .clip.us.in .cost b { animation: costPop .5s cubic-bezier(.3, 1.6, .5, 1) .5s both; display: inline-block; transform-origin: right center; }
@keyframes costPop { from { transform: scale(.7); opacity: 0; } to { transform: none; opacity: 1; } }
html.mo .clip.us .cost s { background: linear-gradient(currentColor, currentColor) no-repeat left 55% / 0 1.5px; text-decoration: none; transition: background-size .4s ease .25s; }
html.mo .clip.us.in .cost s { background-size: 100% 1.5px; }
.toast { animation: toastIn .28s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes toastIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }

/* ---- 요금제 비교(2026-11-11): 충전/구독 두 칸, 비교 표(값이 다른 행만), 모든 요금제 공통 목록. 메인홈 구독 구역과 콘솔 요금제 화면이 같이 쓴다 */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.plan-modes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.pm { border: 1px solid var(--line); border-radius: 20px; padding: 22px 22px 20px; background: #fff; }
.pm h3 { margin: 0; font-size: 22px; font-weight: 800; letter-spacing: -0.02em; }
.pm > p { margin: 4px 0 14px; color: var(--sub); font-size: 15px; }
.pm ul, .plan-common ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.pm li, .plan-common li { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; line-height: 22px; color: var(--body); }
.pm svg, .plan-common svg { flex: 0 0 20px; width: 20px; height: 20px; margin-top: 1px; color: #d1fe17; }
.plan-table { margin-top: 28px; }
.plan-table h3, .plan-common h3 { margin: 0 0 12px; font-size: 20px; font-weight: 800; letter-spacing: -0.02em; }
.plan-table table { width: 100%; border-collapse: collapse; font-size: 15px; font-variant-numeric: tabular-nums; }
.plan-table thead th { padding: 12px 10px; text-align: right; font-size: 16px; font-weight: 800; border-bottom: 2px solid var(--ink); white-space: nowrap; }
.plan-table thead th.rec { color: var(--accent); }
.plan-table tbody th { text-align: left; font-weight: 500; color: var(--body); padding: 12px 10px 12px 0; }
.plan-table td { text-align: right; padding: 12px 10px; font-weight: 700; white-space: nowrap; }
.plan-table tbody tr { border-bottom: 1px solid var(--line); }
.plan-table tr.pt-group th { padding: 22px 0 8px; font-size: 13px; font-weight: 700; color: var(--sub); border-bottom: 0; }
.plan-table tr.pt-group { border-bottom: 1px solid var(--line); }
.pt-yes svg { width: 20px; height: 20px; vertical-align: middle; }
.plan-common { margin-top: 28px; }
.plan-common ul { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 18px; }
[data-style="dark"] .plan-table, [data-style="dark"] .plan-common { color: #fff; }
[data-style="dark"] .plan-table thead th { border-bottom-color: rgba(255,255,255,.5); color: #fff; }
[data-style="dark"] .plan-table thead th.rec { color: #d1fe17; }
[data-style="dark"] .plan-table tbody th, [data-style="dark"] .plan-common li { color: rgba(255,255,255,.72); }
[data-style="dark"] .plan-table tbody tr, [data-style="dark"] .plan-table tr.pt-group { border-bottom-color: rgba(255,255,255,.1); }
[data-style="dark"] .plan-table tr.pt-group th { color: rgba(255,255,255,.5); }
[data-style="dark"] .plan-common svg { color: #d1fe17; }
@media (max-width: 880px) {
  .plan-modes { grid-template-columns: 1fr; }
  .plan-common ul { grid-template-columns: 1fr; }
  /* 휴대폰: 4칸 표 대신 행마다 이름 한 줄 + 요금제 세 값을 작은 이름표와 함께 한 줄 */
  .plan-table thead { display: none; }
  .plan-table table, .plan-table tbody { display: block; }
  .plan-table tbody tr { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px 8px; padding: 12px 0; }
  .plan-table tbody th { grid-column: 1 / -1; padding: 0 0 6px; }
  .plan-table td { padding: 0; text-align: left; white-space: normal; font-size: 15px; }
  .plan-table td::before { content: attr(data-plan-name); display: block; font-size: 12px; font-weight: 500; color: var(--faint); }
  .plan-table tr.pt-group { display: block; padding: 18px 0 6px; }
  .plan-table tr.pt-group th { padding: 0; }
  [data-style="dark"] .plan-table td::before { color: rgba(255,255,255,.45); }
}

/* ===== 2026-11-19 오후: 첫 화면 맨 아래 마지막 권유 구역 =====
   대표님 "'아직 고민되시나요?' 마음에 안 들면 100% 환불 가능해요. (첫 구독 결제 뒤 7일 안에 쓰지 않을 시) 월 9900원의 라이트 플랜도 … 마지막 cta섹션 + [지금 시작하기]":
   가운데 정렬 한 판(연한 바탕, 둥글기 28) = 큰 제목 → 방패 아이콘 + 굵은 환불 한 줄(누르면 환불정책) → 작은 조건 → 라이트 안내 → 큰 주 단추 */
.block.last { padding-top: 24px; }
.block.last .wrap { max-width: 920px; }
.block.last .wrap { text-align: center; padding: 56px 28px 60px; border-radius: 28px; background: var(--fill); }
.last h2 { margin: 0; font-size: 34px; line-height: 1.3; font-weight: 800; letter-spacing: -0.03em; word-break: keep-all; }
.last-main { margin: 22px 0 0; }
.last-main a { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; color: var(--ink); font-size: 21px; text-decoration: none; }
.last-main a b { font-weight: 800; word-break: keep-all; text-wrap: balance; }
.last-main a svg { flex: none; width: 22px; height: 22px; color: var(--accent); }
.last-main a:hover b { text-decoration: underline; text-underline-offset: 3px; }
.last-cond { margin: 2px 0 0; font-size: 14.5px; color: var(--sub); }
.last-lite { margin: 20px 0 0; font-size: 17px; line-height: 1.6; color: var(--body); word-break: keep-all; }
.last .last-cta { margin-top: 30px; min-height: 56px; padding: 0 38px; font-size: 17px; }
@media (max-width: 720px) {
  .block.last { padding-left: 16px; padding-right: 16px; }
  .block.last .wrap { padding: 40px 18px 44px; border-radius: 22px; }
  .last h2 { font-size: 26px; }
  .last-main a { font-size: 18px; gap: 6px; }
  .last-main a svg { width: 20px; height: 20px; }
  .last-lite { font-size: 15.5px; }
  .last .last-cta { width: 100%; padding: 0 20px; }
}
/* 2026-11-19 저녁 요금제 정리: ① 카드 위 특징 네 칸("세 요금제 다 동일한 줄은 사이트의 특성으로 녹이고") ② 카드 아래 추천 대상("라이트~헤비과금러")
   ③ 힉스필드 같은 요금제와 견주는 막대 구역("가장 큰 소구점인데 표가 너무 평범, 3줄로 되어있어서 비교가 잘 안됨"). 글 = 서버 copy plans.feats, plans.fit_label, plans[].fit, hfc.* */
.plan-feats { list-style: none; margin: 0 0 16px; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 10px; }
.plan-feats li { display: flex; align-items: center; gap: 12px; min-height: 72px; padding: 14px 16px; border-radius: 18px; background: var(--fill); }
.pf-i { flex: 0 0 40px; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; background: #fff; color: var(--accent); }
.pf-i svg { width: 22px; height: 22px; }
.plan-feats b { min-width: 0; font-size: 15px; line-height: 21px; font-weight: 700; word-break: keep-all; color: var(--ink); }
[data-style="dark"] .plan-feats li { background: rgba(255,255,255,.04); box-shadow: inset 0 0 0 1px rgba(255,255,255,.07); }
[data-style="dark"] .pf-i { background: rgba(209,254,23,.12); color: #d1fe17; }
[data-style="dark"] .plan-feats b { color: #fff; }

.plan-fit { display: flex; align-items: flex-start; gap: 10px; margin: 18px 0 0; padding: 16px 0 0; border-top: 1px solid var(--line); }
.plan-fit .pf-ic { flex: 0 0 20px; width: 20px; height: 20px; margin-top: 1px; color: var(--tone); }
.plan-fit span { display: block; font-size: 12.5px; line-height: 18px; font-weight: 600; color: var(--sub); }
.plan-fit p { margin: 2px 0 0; font-size: 15px; line-height: 22px; font-weight: 700; word-break: keep-all; color: var(--ink); }
[data-style="dark"] .plan-fit { border-top-color: rgba(255,255,255,.08); }
[data-style="dark"] .plan-fit span { color: rgba(255,255,255,.5); }
[data-style="dark"] .plan-fit p { color: #fff; }

.hfc { margin-top: 28px; padding: 28px 24px 24px; border-radius: 28px; background: #0f1113; color: #fff; }
[data-style="dark"] .hfc { background: rgba(255,255,255,.03); box-shadow: inset 0 0 0 1px rgba(255,255,255,.07); }
.hfc-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px 20px; flex-wrap: wrap; margin-bottom: 20px; }
.hfc-head h3 { margin: 0; font-size: clamp(22px, 2.3vw, 28px); line-height: 1.3; font-weight: 850; letter-spacing: -0.03em; word-break: keep-all; color: #fff; }
.hfc-head p { margin: 6px 0 0; font-size: 15px; line-height: 22px; color: rgba(255,255,255,.6); word-break: keep-all; }
.hfc-head em { font-style: normal; flex: none; display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border-radius: 999px;
  background: rgba(255,255,255,.08); color: rgba(255,255,255,.72); font-size: 13px; font-weight: 600; white-space: nowrap; }
.hfc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.hfc-card { --tone: #fff; padding: 20px 20px 18px; border-radius: 20px; background: rgba(255,255,255,.04); box-shadow: inset 0 0 0 1px rgba(255,255,255,.07); }
.hfc-card.t-lime { --tone: #d1fe17; }
.hfc-card.t-pink { --tone: #ff5fb4; }
.hfc-card h4 { margin: 0 0 16px; font-size: 18px; line-height: 24px; font-weight: 800; color: #fff; }
.hfc-row + .hfc-row { margin-top: 14px; }
.hfc-row p { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin: 0 0 7px; font-size: 14px; line-height: 20px; }
.hfc-row span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: rgba(255,255,255,.6); }
.hfc-row b { flex: none; font-weight: 700; font-variant-numeric: tabular-nums; color: rgba(255,255,255,.72); }
.hfc-row.us span { color: #fff; font-weight: 700; }
.hfc-row.us b { font-size: 17px; font-weight: 800; color: #fff; }
.hfc-bar { height: 12px; border-radius: 999px; background: rgba(255,255,255,.06); overflow: hidden; }
.hfc-bar i { display: block; width: var(--w); height: 100%; border-radius: 999px; background: rgba(255,255,255,.3); transform-origin: left center; }
.hfc-row.us .hfc-bar i { background: var(--tone); }
.hfc-plus { display: flex; align-items: center; gap: 8px; margin: 18px 0 0; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.08); }
.hfc-plus b { display: inline-flex; align-items: center; height: 32px; padding: 0 12px; border-radius: 999px; background: var(--tone); color: #131517;
  font-size: 16px; font-weight: 800; font-variant-numeric: tabular-nums; }
.hfc-plus span { font-size: 14px; font-weight: 600; color: rgba(255,255,255,.72); }
/* 구역이 보이는 순간 막대가 왼쪽에서 자란다(html.mo = 움직임 켬, 기기 '움직임 줄이기'면 붙지 않음) */
html.mo .hfc .hfc-bar i { transform: scaleX(0); transition: transform .9s cubic-bezier(.2, .8, .2, 1) calc(var(--i, 0) * .08s + .15s); }
html.mo .hfc .hfc-row.us .hfc-bar i { transition-delay: calc(var(--i, 0) * .08s + .4s); }
html.mo .hfc.in .hfc-bar i { transform: none; }
@media (max-width: 880px) {
  .plan-feats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-bottom: 12px; }
  .plan-feats li { flex-direction: column; align-items: flex-start; gap: 10px; min-height: 0; padding: 14px; border-radius: 16px; }
  .pf-i { flex-basis: 34px; width: 34px; height: 34px; border-radius: 10px; }
  .pf-i svg { width: 19px; height: 19px; }
  .plan-feats b { font-size: 14px; line-height: 20px; }
  .hfc { padding: 22px 16px 16px; border-radius: 22px; }
  .hfc-head { margin-bottom: 16px; }
  .hfc-head p { font-size: 14px; line-height: 20px; }
  .hfc-grid { grid-template-columns: 1fr; gap: 10px; }
  .hfc-card { position: relative; padding: 16px 16px 16px; border-radius: 18px; }
  .hfc-card h4 { margin-bottom: 14px; font-size: 17px; line-height: 32px; }
  /* 휴대폰: '+N초' 알약을 요금제 이름 줄 오른쪽으로 올려 카드마다 한 줄을 줄인다 */
  .hfc-plus { position: absolute; top: 16px; right: 16px; margin: 0; padding: 0; border: 0; flex-direction: row-reverse; }
  .hfc-plus span { font-size: 13px; }
  .hfc-card:has(.hfc-plus) h4 { padding-right: 132px; }
}
@media (max-width: 360px) {
  .hfc-plus span { display: none; }
  .hfc-card:has(.hfc-plus) h4 { padding-right: 84px; }
}

/* 마지막 권유 구역 색(2026-11-19 밤 대표님 "아직 고민되시나요? 이 부분은 힉스필드 이미지 깔로 배경색 만드셈"): 친구 추천 위 판과 같은 검은 판(#0b0b0c) + 라임(#d1fe17) 빛과 강조, 흰 글, 라임 단추에 검은 글 */
.block.last .wrap { color: #fff; background-color: #0b0b0c;
  background-image: radial-gradient(520px 300px at 50% -6%, rgba(209,254,23,.26), transparent 70%), radial-gradient(380px 240px at 96% 108%, rgba(209,254,23,.14), transparent 72%), radial-gradient(340px 220px at 2% 112%, rgba(255,79,23,.16), transparent 72%); }
.last h2 { color: #fff; }
.last-main a { color: #fff; }
.last-main a svg { color: #d1fe17; }
.last-cond { color: rgba(255,255,255,.62); }
.last-lite { color: rgba(255,255,255,.8); }
.last .last-cta { border-color: #d1fe17; background: #d1fe17; color: #0b0b0c; font-weight: 800; }
.last .last-cta:hover { opacity: 1; border-color: #e0ff5a; background: #e0ff5a; }

/* 2026-11-19 밤 대표님 "같은가격인데 영상은 25% 더 길게 이 부분을 저 위에다가 자연스럽게 추가": 견줌 막대를 요금제 카드 안으로(초 줄 아래, 추천 대상 위), 제목과 설명은 카드 바로 위 한 줄(상자 없이).
   글자색은 카드 바탕(밝은 판, 어두운 판)에 맞춘다. 막대는 카드가 나타날 때 왼쪽에서 자란다 */
.hfc.hfc-lead, [data-style="dark"] .hfc.hfc-lead { margin: 6px 0 18px; padding: 0; border-radius: 0; background: none; box-shadow: none; color: inherit; }
.hfc-lead .hfc-head { margin-bottom: 0; align-items: center; }
.hfc-lead .hfc-head h3 { color: inherit; font-size: clamp(20px, 2.1vw, 26px); }
.hfc-lead .hfc-head p { color: inherit; opacity: .64; }
.hfc-lead .hfc-head em { background: rgba(127,127,127,.18); color: inherit; }
.plan-hfc { margin: 18px 0 0; padding: 16px 0 0; border-top: 1px solid var(--line); }
.plan-hfc .hfc-row + .hfc-row { margin-top: 12px; }
.plan-hfc .hfc-row p { margin-bottom: 6px; font-size: 13.5px; }
.plan-hfc .hfc-row span { color: var(--sub); }
.plan-hfc .hfc-row b { color: var(--sub); }
.plan-hfc .hfc-row.us span { color: var(--ink); }
.plan-hfc .hfc-row.us b { font-size: 16px; color: var(--ink); }
.plan-hfc .hfc-bar { height: 10px; background: rgba(17,19,24,.07); }
.plan-hfc .hfc-bar i { background: rgba(17,19,24,.26); }
.plan-hfc .hfc-row.us .hfc-bar i { background: var(--tone); }
.plan-hfc .hfc-plus { position: static; flex-direction: row; margin: 14px 0 0; padding: 0; border: 0; }
.plan-hfc .hfc-plus b { height: 28px; background: var(--tone); color: #fff; }
.plan-hfc .hfc-plus span { display: inline; font-size: 13.5px; color: var(--sub); }
[data-style="dark"] .plan-hfc { border-top-color: rgba(255,255,255,.08); }
[data-style="dark"] .plan-hfc .hfc-row span, [data-style="dark"] .plan-hfc .hfc-row b, [data-style="dark"] .plan-hfc .hfc-plus span { color: rgba(255,255,255,.62); }
[data-style="dark"] .plan-hfc .hfc-row.us span, [data-style="dark"] .plan-hfc .hfc-row.us b { color: #fff; }
[data-style="dark"] .plan-hfc .hfc-bar { background: rgba(255,255,255,.07); }
[data-style="dark"] .plan-hfc .hfc-bar i { background: rgba(255,255,255,.3); }
[data-style="dark"] .plan-hfc .hfc-row.us .hfc-bar i { background: var(--tone); }
[data-style="dark"] .plan-hfc .hfc-plus b { color: #131517; }
html.mo .plan .plan-hfc .hfc-bar i { transform: scaleX(0); transition: transform .9s cubic-bezier(.2, .8, .2, 1) calc(var(--i, 0) * .08s + .3s); }
html.mo .plan .plan-hfc .hfc-row.us .hfc-bar i { transition-delay: calc(var(--i, 0) * .08s + .55s); }
html.mo .plan.in .plan-hfc .hfc-bar i { transform: none; }
@media (prefers-reduced-motion: reduce) { html.mo .plan .plan-hfc .hfc-bar i { transform: none; transition: none; } }

/* 2026-11-22 대표님 "힉스페이백 금액을 달러로 해버리자" + "첫달 30%할인"(힉스필드 Plus, Ultra 월 결제 표시 그대로):
   줄 그은 정가 + 첫 달 값 + '다음 달부터 월 $59' + 단추 안 할인 알약. 서버 pricing.intro, copy plans.intro_badge, plans.intro_after */
.plan-price { flex-wrap: wrap; }
/* 2026-12-04 대표님(드리미나 요금 화면) "금액 옆에 취소선 표시 제대로 해줘. 취소선 들어간 금액은 더 작게해줘 드리미나처럼":
   큰 첫 달 값 + '/월' + 그 뒤에 작게 줄 그은 정가(예전에는 정가가 앞에서 값과 같은 크기였다). 순서는 서버가 그린다(app._plans_html) */
.plan-price s { margin-left: 4px; font-size: 16px; line-height: 20px; font-weight: 500; letter-spacing: -.2px; font-variant-numeric: tabular-nums; color: var(--faint); text-decoration-thickness: 1.5px; }
.plan-after { margin: -6px 0 14px; font-size: 13px; line-height: 18px; font-weight: 500; color: var(--sub); }
.plan-cta .plan-off { font-style: normal; display: inline-flex; align-items: center; height: 22px; margin-left: 8px; padding: 0 8px; border-radius: 999px;
  background: #ff4f17; color: #fff; font-size: 12px; line-height: 16px; font-weight: 700; white-space: nowrap; }
[data-style="dark"] .plan-price s { color: rgba(255,255,255,.42); }
[data-style="dark"] .plan-after { color: rgba(255,255,255,.6); }
[data-style="dark"] .t-lime .plan-price s { color: rgba(19,21,23,.5); }
[data-style="dark"] .t-lime .plan-after { color: rgba(19,21,23,.72); }
[data-style="dark"] .t-pink .plan-price s { color: rgba(255,255,255,.55); }
[data-style="dark"] .t-pink .plan-after { color: rgba(255,255,255,.82); }
@media (max-width: 880px) { .plan-after { margin-bottom: 16px; } }
@media (max-width: 360px) { .plan-price b { font-size: 30px; } }
/* 요금제 카드가 넷(2026-11-24 대표님 "엄청 싼 플랜 하나 추가하자" = 라이트를 큰 카드 맨 앞에): 넓은 PC 는 네 칸(이름과 값 글자를 한 단계 작게), 그보다 좁으면 두 칸씩, 휴대폰은 예전처럼 한 줄씩.
   카드가 셋이면 위의 세 칸 규칙 그대로다(라이트를 다시 빼면 = plans[].cards false 예전 모양) */
.plans:has(> .plan:nth-child(4)) { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 1101px) {
  .plans:has(> .plan:nth-child(4)) .plan h3 { font-size: 30px; line-height: 40px; letter-spacing: -.8px; }
  .plans:has(> .plan:nth-child(4)) .plan-price b { font-size: 30px; line-height: 36px; }
  .plans:has(> .plan:nth-child(4)) .plan-price s { font-size: 15px; }
  /* 좁아진 카드에서 '힉스페이백 울트라 3000' 이 말줄임표로 잘리지 않게 견줌 줄 글자만 조금 작게 */
  .plans:has(> .plan:nth-child(4)) .plan-hfc .hfc-row p { font-size: 12.5px; gap: 6px; letter-spacing: -.3px; }
  .plans:has(> .plan:nth-child(4)) .plan-hfc .hfc-row.us b { font-size: 15px; }
}
@media (max-width: 1100px) { .plans:has(> .plan:nth-child(4)) { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } }
@media (max-width: 880px) { .plans:has(> .plan:nth-child(4)) { grid-template-columns: 1fr; } }

/* 2026-11-24 직원 피드백(대표님 전달) "흰색 글자가 배경에 묻혀 내용을 읽기 어렵습니다": 요금제 카드의 연두 머리(울트라 3000)에서 값과 '/월'이 흰 글자라 연두 위에 묻혔다(대비 2.0~2.3).
   이름(h3)과 추천 알약처럼 진한 글자로. 줄 그은 정가와 '다음 달부터' 줄도 조금 더 진하게.
   분홍 머리(울트라 6000)의 흰 글자는 그대로 두고(카드 모양은 예전 그대로), 값 글자처럼 옅은 그림자를 이름과 한 줄 설명에도 깔고 옅던 글자(설명, '/월', 줄 그은 정가)만 조금 진하게 */
[data-style="dark"] .t-lime .plan-price b { color: #131517; text-shadow: none; }
[data-style="dark"] .t-lime .plan-price span { color: #131517; }
[data-style="dark"] .t-lime .plan-price s { color: rgba(19,21,23,.62); }
[data-style="dark"] .t-lime .plan-after { color: #131517; }
[data-style="dark"] .t-pink h3, [data-style="dark"] .t-pink .plan-sub { text-shadow: 0 1px 12px rgba(91,14,59,.5); }
[data-style="dark"] .t-pink .plan-sub { color: rgba(255,255,255,.92); }
[data-style="dark"] .t-pink .plan-price span { color: rgba(255,255,255,.86); }
[data-style="dark"] .t-pink .plan-price s { color: rgba(255,255,255,.7); }

/* 요금제 카드의 [구독하기]를 누르면 그 단추가 그 자리에서 '진행 중…'(흐리게, 다시 못 누름) → 전용 결제 페이지(2026-11-25 대표님 "구독버튼 누르면 거기서 바로 [진행중...] 이렇게 뜨고 해야지") */
.plan-cta.is-busy { opacity: .5; pointer-events: none; }

/* 2026-11-26 대표님 "지금 울트라 3000 추천에 있는 색상 + 추천 이펙트를 플러스로 옮겨주고 기존울트라 3000은 다른 색상으로 칠해봐": 하늘(sky) 머리.
   연두(플러스, 추천)와 분홍(울트라 6000) 사이에서 둘과 겹치지 않는 파랑. 글자는 분홍 머리처럼 흰색 + 옅은 그림자. 색 = 서버 plans[].tone "sky" */
.plan.t-sky { --tone: #0b6bcb; }
[data-style="dark"] .plan.t-sky { --tone: #6cc4ff; }
[data-style="dark"] .t-sky .plan-head { background: radial-gradient(135% 105% at 30% -12%, #c5e8ff 0%, #2f9bff 26%, #1657c8 56%, #081a45 100%);
  box-shadow: 0 0 46px rgba(47,155,255,.26); }
[data-style="dark"] .t-sky h3, [data-style="dark"] .t-sky .plan-sub { text-shadow: 0 1px 12px rgba(8,26,69,.5); }
[data-style="dark"] .t-sky .plan-sub { color: rgba(255,255,255,.92); }
[data-style="dark"] .t-sky .plan-price span { color: rgba(255,255,255,.86); }
[data-style="dark"] .t-sky .plan-price s { color: rgba(255,255,255,.7); }
[data-style="dark"] .t-sky .plan-after { color: rgba(255,255,255,.82); }
[data-style="dark"] .plan.t-sky .plan-cta[data-flow] { --f1: #d9efff; --f2: #9bd3ff; }
.hfc-card.t-sky { --tone: #6cc4ff; }

/* 2026-11-26 대표님 "각 플랜별로 몇 크레딧 줄지도 띄워줘": 카드 몸 맨 위 '매달 2,571 크레딧'(동전 그림 + 굵은 글자, 요금제 색). 글 = copy plans.credit, 끄기 = show plans.credit */
.plan-credit { display: flex; align-items: center; gap: 7px; margin: 0 0 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line); font-size: 16px; line-height: 22px; color: var(--tone); }
.plan-credit svg { flex: 0 0 18px; width: 18px; height: 18px; }
.plan-credit b { font-weight: 700; letter-spacing: -.2px; word-break: keep-all; }
[data-style="dark"] .plan-credit { border-bottom-color: rgba(255,255,255,.08); }

/* 구독 중인 손님의 요금제 카드(2026-11-26 대표님 "어떤플랜 구독중인지에 따라 거기다 [구독중] 이렇게 해주고 업그레이드 다운그레이드 버튼 만들어줘"):
   지금 요금제 = 누를 수 없는 [구독중](체크 + 테두리 단추) + 카드 테두리가 요금제 색, 더 비싼 요금제 [업그레이드] = 여느 단추, 더 싼 요금제 [다운그레이드]와 [예약 취소] = 옅은 단추 */
.plan-cta.is-now { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px rgba(0,0,0,.3); cursor: default; }
.plan-cta.is-now:hover { opacity: 1; }
.plan-cta.is-now:active { transform: none; }
.plan-cta.is-now::before { content: ""; flex: 0 0 16px; width: 16px; height: 16px; margin-right: 6px; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat; }
.plan-cta.is-low { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px rgba(0,0,0,.22); }
.plan.is-mine { border-color: var(--tone); }
[data-style="dark"] .plan-cta.is-now { background: rgba(0,0,0,.3); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.6); }
[data-style="dark"] .plan-cta.is-low { background: rgba(255,255,255,.1); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.24); }
[data-style="dark"] .t-lime .plan-cta.is-now { background: rgba(19,21,23,.9); color: #d1fe17; box-shadow: none; }
[data-style="dark"] .t-lime .plan-cta.is-low { background: rgba(19,21,23,.14); color: #131517; box-shadow: inset 0 0 0 1px rgba(19,21,23,.45); }
[data-style="dark"] .plan.is-mine { border-color: var(--tone); box-shadow: 0 0 0 1px var(--tone); }

/* 맨 아래 사업자 정보(2026-11-25 새벽 대표님 "맨밑에 저거 콤마로만 되어있어서 이상한데 | 이런거 넣거나 다른곳 참고해서 좀 이쁘게 넣어"):
   줄마다 묶고(1 상호와 대표, 2 주소, 3 사업자등록번호와 통신판매업, 4 이메일) 한 줄 안 항목 사이는 가는 세로선. 좁은 폭에서 다음 줄로 넘어간 항목은 맨 앞 선이 줄 밖으로 나가 안 보인다 */
footer.foot .biz { display: grid; gap: 3px; margin: 8px 0 6px; line-height: 1.55; }
footer.foot .biz-row { overflow: hidden; }
footer.foot .biz-row p { display: flex; flex-wrap: wrap; margin: 0 0 0 -11px; }
footer.foot .biz-row span { padding: 0 10px 0 11px; background: linear-gradient(rgba(128,128,128,.5), rgba(128,128,128,.5)) 0 50% / 1px 10px no-repeat; overflow-wrap: anywhere; }
/* PC 머리줄에서만 숨기는 칸(2026-11-25): 왼쪽 줄의 마이페이지(오른쪽으로 옮김), 오른쪽 줄의 친구 초대. 휴대폰 메뉴창(mnav.js)이 이 링크들을 읽어 그리므로 링크는 두고 PC 에서만 숨긴다 */
@media (min-width: 881px) { .top nav a[data-pc-hide] { display: none; } }

/* PC 왼쪽 메뉴 [요금제]의 할인 꼬리표(2026-11-25 저녁: [요금제]를 오른쪽 단추에서 왼쪽 메뉴로 옮기며 꼬리표도 같이). 글 = 서버가 넣는 data-tag(copy offer.tag, 첫 달 할인 대상인 손님에게만).
   링크 글자는 그대로라 휴대폰 메뉴창의 칸 이름은 바뀌지 않는다. 모양 = 오른쪽 단추에 붙던 꼬리표(offer.css .on-tag)와 같다 */
@media (min-width: 881px) {
  .top nav.cnav a[data-tag] { position: relative; }
  .top nav.cnav a[data-tag]::after { content: attr(data-tag); position: absolute; left: 50%; bottom: -8px; padding: 1px 7px; border-radius: 6px; background: #ff1f8f; color: #fff;
    font-size: 10.5px; line-height: 1.5; font-weight: 900; font-style: italic; white-space: nowrap; transform: translateX(-50%) rotate(-3deg); box-shadow: 0 2px 6px rgba(255,31,143,.35); pointer-events: none; }
}

/* 전체 화면으로 볼 때(2026-11-26 밤 대표님 "전체화면 누르면 이상하게 커짐. 비율맞춰서"): 카드 안에서는 칸을 꽉 채워 자르지만(object-fit: cover),
   전체 화면에서는 자르지 않고 영상 비율 그대로 통째로 보여 준다. 두 줄로 나눈 까닭 = 한 줄에 묶으면 모르는 선택자 하나 때문에 줄 전체가 버려진다 */
video:fullscreen { width: 100% !important; height: 100% !important; max-width: none !important; max-height: none !important; aspect-ratio: auto !important; margin: 0 !important; border-radius: 0 !important; object-fit: contain !important; background: #000 !important; }
video:-webkit-full-screen { width: 100% !important; height: 100% !important; max-width: none !important; max-height: none !important; aspect-ratio: auto !important; margin: 0 !important; border-radius: 0 !important; object-fit: contain !important; background: #000 !important; }

/* ── 첫 화면 맨 위 입력 상자(2026-11-27 대표님 "메인홈 … 맨위에 아예 영상 바로 입력하는 프롬프트 나오는 페이지로 만들어줘. hero섹션을 다른 ai영상제작 사이트들 참고"):
   제목 → 한 줄 → 입력 상자(글 칸 + 아랫줄: 실사, 애니메이션 고르기와 [만들기]) → 예시 칸 줄. 상자 모양 = 만들기 화면의 입력창(app.css .composer, 힉스필드 실측)과 같은 결:
   어두운 판 + 흐림, 글 16px 줄 높이 24, 연두 주 단추(다른 AI 영상 사이트 14곳 실측: 상자 폭 660~852, 둥글기 12~28, 글 13~16px, 실행 단추는 오른쪽 아래, 예시 칸은 상자 12~16px 아래). 서버가 그린다(app._hero_prompt, 글 copy hero.prompt.*). 끄기 = show hero.prompt(끄면 이 묶음은 아무 데도 안 쓰인다).
   소개 페이지(/drama/intro)도 .hero 를 같이 쓰므로 여기 규칙은 [data-prompt] 와 .hp 로만 건다 */
/* 글 칸이 자라도(예시 대본, 긴 글) 제목이 위로 밀려 올라가지 않게: 가운데 맞춤 대신 위에서부터 놓고 아래로만 늘어난다 */
.hero[data-prompt][data-bg] { align-items: flex-start; padding-top: clamp(72px, 12.5vh, 116px); }
.hero[data-prompt] h1 { font-size: clamp(36px, 5.2vw, 68px); }
.hero[data-prompt] .sub { margin-top: 18px; font-size: clamp(16px, 1.6vw, 19px); word-break: keep-all; text-wrap: balance; }      /* 좁은 화면에서 꺾여도 한 낱말만 떨어지지 않게 */
.hp { --hp-go: #d1fe17; --hp-go-ink: #131517; position: relative; width: 100%; max-width: 760px; margin: 32px auto 0; padding: 16px; border: 1px solid rgba(255,255,255,.12); border-radius: 20px;
  text-align: left; color: #f7f7f8; background-color: rgba(19,21,23,.9); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 24px 70px rgba(0,0,0,.45);
  transition: border-color .15s ease, box-shadow .15s ease; }
.hp:focus-within { border-color: rgba(209,254,23,.55); box-shadow: 0 24px 70px rgba(0,0,0,.45), 0 0 0 4px rgba(209,254,23,.1); }
.hp textarea { display: block; width: 100%; height: 76px; min-height: 76px; max-height: 220px; resize: none; margin: 0; padding: 2px 4px; border: 0; outline: 0; background: transparent; color: #fff;
  font: inherit; font-size: 16px; line-height: 24px; font-weight: 400; letter-spacing: -0.01em; word-break: keep-all; overflow-wrap: anywhere; }
.hp textarea::placeholder { color: rgba(247,247,248,.45); }
.hp-row { display: flex; align-items: center; gap: 8px; margin-top: 12px; }
.hp-styles { display: inline-flex; gap: 4px; padding: 4px; border-radius: 12px; background: rgba(255,255,255,.06); }
.hp-style { min-height: 36px; padding: 0 14px; border: 0; border-radius: 9px; background: transparent; color: rgba(255,255,255,.72); font: inherit; font-size: 14px; font-weight: 700; white-space: nowrap; cursor: pointer; }
.hp-style[aria-pressed="true"] { background: #fff; color: #111318; }
.hp-go { flex: none; min-width: 108px; height: 44px; margin-left: auto; padding: 0 22px; border: 0; border-radius: 12px; color: var(--hp-go-ink); font: inherit; font-size: 16px; font-weight: 800; white-space: nowrap; cursor: pointer;
  background-color: var(--hp-go); background-image: radial-gradient(120% 140% at 50% 0%, rgba(255,255,255,.22) 0%, rgba(255,255,255,0) 70%); box-shadow: inset 0 -3px 0 rgba(0,0,0,.43);
  transition: transform .12s ease, filter .12s ease; }
.hp-go:hover { filter: brightness(1.06); }
.hp-go:active { transform: scale(.97); }
.hp-go[aria-busy="true"] { opacity: .6; cursor: default; }
.hp-err { margin: 10px 4px 0; font-size: 13.5px; line-height: 1.5; font-weight: 600; color: #ff8a65; }
.hp.nudge { animation: hpNudge .34s ease; }
@keyframes hpNudge { 20% { transform: translateX(-5px); } 50% { transform: translateX(5px); } 80% { transform: translateX(-3px); } }
.hp-ex { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; max-width: 760px; margin: 16px auto 0; }
.hp-ex > span { margin-right: 2px; font-size: 13.5px; font-weight: 600; color: var(--sub); }
.hp-chip { min-height: 36px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); font: inherit; font-size: 14px; font-weight: 600; white-space: nowrap; cursor: pointer;
  transition: border-color .15s ease, color .15s ease; }
.hp-chip:hover { border-color: var(--ink); }
.hp-chip[aria-pressed="true"] { border-color: var(--ink); font-weight: 700; }
.hero[data-bg] .hp-ex > span { color: rgba(255,255,255,.64); }
.hero[data-bg] .hp-chip { border-color: rgba(255,255,255,.24); background: rgba(19,21,23,.55); color: #fff; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.hero[data-bg] .hp-chip:hover { border-color: rgba(255,255,255,.6); }
.hero[data-bg] .hp-chip[aria-pressed="true"] { border-color: #d1fe17; color: #d1fe17; }
.hp-chip[hidden] { display: none; }               /* 예시 칸은 종류마다 한 묶음: 고른 종류의 묶음만 보인다(site.js group) */
/* 영상 벽 없는 검정 첫 화면(2026-11-27 대표님 "hero섹션 배경은 아예 저렇게 움짤 말고 그냥 검정색 배경 깔끔하게"): data-bg="0" = 바탕 #0b0c0f, 흰 글자(위 .hero[data-bg] 그대로).
   평평한 바탕 위에서 입력 상자가 묻히지 않게 상자 바탕만 한 단계 밝게(잡으면 연두 테는 그대로). 영상 위에서 쓰던 글자 그림자와 상자 큰 그림자는 평평한 바탕에서 얼룩처럼 보여 뺀다 */
.hero[data-bg="0"] h1 { text-shadow: none; }
.hero[data-bg="0"] .hp { background-color: #15171a; box-shadow: none; }
.hero[data-bg="0"] .hp:focus-within { box-shadow: 0 0 0 4px rgba(209,254,23,.1); }
.hero[data-bg="0"] .hp:not(:focus-within) { border-color: rgba(255,255,255,.14); }
html.mo .hero .hp { animation: heroUp .7s cubic-bezier(.2, .7, .2, 1) .16s both; }
html.mo .hero .hp.nudge { animation: hpNudge .34s ease; }
html.mo .hero .hp-ex { animation: heroUp .7s cubic-bezier(.2, .7, .2, 1) .24s both; }
@media (max-width: 880px) {
  /* 휴대폰 첫 화면 높이(2026-11-27 대표님 "모바일기준으로는 창이 너무길어서 좀 줄여주고"): 최소 높이 없이 내용만큼, 위 52(영상 끄기 단추 자리), 아래 28, 글 칸 72(세 줄) */
  .hero[data-prompt][data-bg] { min-height: var(--hp-mh, 0px); padding: var(--hp-mt, 52px) 0 28px; }      /* 2026-11-27 저녁 대표님 "모바일웹기준 hero페이지 좀만더 길이 늘려줘": 서버 값 hero.prompt_mobile_min_h(500, 0 = 내용만큼 426), prompt_mobile_top(64). 412 폭 hero 아래 끝 521 → 595. 남는 길이는 예시 칸 아래(배경 영상이 보인다) */
  .hero[data-prompt] h1 { font-size: clamp(28px, 8.8vw, 40px); }      /* 둘째 줄 '25% 저렴하게 만드세요.' = 글자 크기의 9.3배 폭(실측) → 412, 360, 320 폭에서 두 줄, 여유 9% 남짓 */
  .hero[data-prompt] .sub { margin-top: 14px; font-size: 16px; }
  .hp { margin-top: 20px; padding: 12px; border-radius: 24px; }
  .hp textarea { height: 72px; min-height: 72px; max-height: 32dvh; padding: 4px 6px; font-size: 16px; line-height: 24px; }
  .hp-row { gap: 6px; margin-top: 8px; }
  .hp-styles { gap: 6px; padding: 0; border-radius: 0; background: none; }
  .hp-style { min-height: 44px; padding: 0 15px; border-radius: 999px; background: rgba(255,255,255,.08); }
  .hp-go { min-width: 0; height: 44px; padding: 0 18px; border-radius: 999px; font-size: 15px; }
  .hp-ex { gap: 6px; margin-top: 14px; }
  .hp-ex > span { display: none; }
  .hp-chip { min-height: 44px; padding: 0 13px; }
}
@media (max-width: 360px) {
  .hp-style { padding: 0 12px; }
  .hp-go { padding: 0 15px; }
  .hp-chip { padding: 0 11px; font-size: 13.5px; }
}

/* ── 첫 화면 배경 = 드라마 한 편씩 연하게(2026-11-27 대표님 "여기 배경이 또 없으니까 심심하네... 좀 연하게 해서 드라마 1개씩 배경에 띄워주는거 가능한가? 우측상단에 영상 재생 끄기 < 이거 만들어주고"):
   검정 바탕(.hero[data-bg="0"]) 위에 한 편을 가득(cover), 그 위를 어둡게 덮고(전체 --hero-dim + 글이 놓이는 가운데는 조금 더) 영상이 글보다 앞서 보이지 않게. 처음엔 안 보이고 돌기 시작하면 서서히(.one-on).
   서버 = app._hero_one(설정 hero.one, 끄기 show hero.one), 동작 = site.js heroOne. .hero-one 과 .hero-one-btn 으로만 건다(소개 페이지 첫 화면에 닿지 않게) */
.hero-one { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; opacity: 0; transition: opacity var(--hero-fade, 900ms) ease; }
.hero.one-on .hero-one { opacity: 1; }
.hero-one video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 28%; opacity: 0; transition: opacity var(--hero-fade, 900ms) ease; background: transparent; }
.hero-one video.on { opacity: 1; }
.hero-one::after { content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse 58% 62% at 50% 46%, rgba(11,12,15,.42) 0%, rgba(11,12,15,.18) 55%, rgba(11,12,15,0) 80%), rgba(11,12,15,var(--hero-dim, .72)); }
.hero[data-bg="0"].one-on h1 { text-shadow: 0 2px 22px rgba(0,0,0,.5); }      /* 영상이 보이는 동안만 은은한 그림자(꺼진 검정에서는 없음) */
.hero[data-bg="0"].one-on .sub { text-shadow: 0 1px 14px rgba(0,0,0,.55); }
.hero-one-btn { position: absolute; top: 16px; right: 20px; z-index: 3; display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px 0 10px;
  border: 1px solid rgba(255,255,255,.16); border-radius: 999px; background: rgba(19,21,23,.6); color: rgba(255,255,255,.82); font: inherit; font-size: 13px; font-weight: 600; line-height: 1;
  white-space: nowrap; cursor: pointer; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: background-color .15s ease, border-color .15s ease; }
.hero-one-btn:hover { background: rgba(19,21,23,.78); border-color: rgba(255,255,255,.28); }
.hero-one-btn[hidden] { display: none; }
.hero-one-btn svg { flex: none; width: 13px; height: 13px; }
.hero-one-btn .i-play, .hero-one-btn[aria-pressed="false"] .i-pause { display: none; }
.hero-one-btn[aria-pressed="false"] .i-play { display: block; }
@media (max-width: 880px) {
  .hero-one-btn { top: 10px; right: 12px; }
  .hero-one-btn::before { content: ""; position: absolute; inset: -6px -4px; }      /* 누르는 칸 44px(보이는 높이는 32) */
}

/* ── 입력 상자 아랫줄의 옵션(2026-11-27 대표님 "여기에 모델선택/화질선택/상세옵션 설정도 들어가야할듯"): PC = [모델 ▾][품질 ▾][상세 옵션], 휴대폰 = [설정](아래 창).
   값과 잠금은 드라마 화면과 같다(site.js 아랫줄의 옵션 묶음). 메뉴와 창은 body 바로 아래에 fixed 로 뜬다 */
.hp-opts { display: flex; align-items: center; gap: 6px; min-width: 0; }
.hp-opt { display: inline-flex; align-items: center; gap: 4px; height: 36px; padding: 0 12px; border: 0; border-radius: 10px; background: rgba(255,255,255,.06); color: rgba(255,255,255,.86);
  font: inherit; font-size: 13.5px; font-weight: 600; white-space: nowrap; cursor: pointer; transition: background-color .15s ease; }
.hp-opt:hover:not(:disabled), .hp-opt[aria-expanded="true"] { background: rgba(255,255,255,.1); }
.hp-opt:disabled { cursor: default; }
.hp-opt[hidden] { display: none; }
.hp-opt .hp-caret { width: 14px; height: 14px; margin-right: -3px; opacity: .7; }
.hp-opt-set { display: none; }
.hp-menu, .hp-pop { position: fixed; z-index: 90; border: 1px solid rgba(255,255,255,.12); background: #1b1d21; color: #f2f2f3; text-align: left; box-shadow: 0 18px 44px rgba(0,0,0,.5); }
.hp-menu[hidden], .hp-pop[hidden], .hp-sheet-bg[hidden] { display: none; }
.hp-menu { min-width: 190px; max-width: calc(100vw - 16px); padding: 6px; border-radius: 12px; }
.hp-mi { display: flex; align-items: center; gap: 8px; width: 100%; min-height: 38px; padding: 0 10px; border: 0; border-radius: 8px; background: transparent; color: inherit;
  font: inherit; font-size: 14px; font-weight: 600; text-align: left; white-space: nowrap; cursor: pointer; }
.hp-mi:hover:not(:disabled), .hp-mi:focus-visible { background: rgba(255,255,255,.08); outline: none; }
.hp-mi:disabled { cursor: default; color: rgba(242,242,243,.5); }
.hp-mi[aria-checked="true"]:disabled { color: #f2f2f3; }
.hp-ck { flex: none; width: 16px; height: 16px; color: #d1fe17; visibility: hidden; }
.hp-mi[aria-checked="true"] .hp-ck { visibility: visible; }
.hp-mi em { margin-left: auto; padding-left: 14px; font-style: normal; font-size: 12px; font-weight: 600; color: #d1fe17; }
.hp-mnote { max-width: 250px; margin: 6px 6px 4px; font-size: 12.5px; line-height: 1.5; color: rgba(242,242,243,.62); white-space: normal; }
.hp-pop { width: 300px; max-width: calc(100vw - 16px); padding: 14px; border-radius: 14px; outline: none; }
.hp-g + .hp-g { margin-top: 16px; }
.hp-gl { display: block; margin-bottom: 8px; font-size: 13px; font-weight: 700; color: rgba(242,242,243,.7); }
.hp-seg { display: flex; flex-wrap: wrap; gap: 6px; }
.hp-seg button { flex: 1 1 0; min-width: 0; min-height: 42px; padding: 6px 8px; border: 1px solid rgba(255,255,255,.14); border-radius: 10px; background: transparent; color: #f2f2f3;
  font: inherit; font-size: 13.5px; font-weight: 600; line-height: 1.25; cursor: pointer; transition: border-color .15s ease, color .15s ease; }
.hp-seg button b { display: block; font-weight: inherit; white-space: nowrap; }
.hp-seg button em { display: block; margin-top: 2px; font-style: normal; font-size: 11px; font-weight: 600; color: rgba(242,242,243,.55); white-space: nowrap; }
.hp-seg button:hover:not(:disabled) { border-color: rgba(255,255,255,.34); }
.hp-seg button[aria-checked="true"] { border-color: #d1fe17; color: #d1fe17; background: rgba(209,254,23,.06); }
.hp-seg button[aria-checked="true"] em { color: rgba(209,254,23,.8); }
.hp-seg button:disabled { cursor: default; }
.hp-seg button:disabled:not([aria-checked="true"]) { opacity: .45; }
.hp-gnote { display: block; margin-top: 8px; font-size: 12.5px; line-height: 1.5; color: rgba(242,242,243,.62); }
/* 고르는 칸의 표시([추천], [릴스, 숏츠에 적합]) = 칸 안의 둘째 줄이 아니라 칸 위에 뜬 말풍선(2026-11-27 저녁 대표님 "설정눌렀을때 추천 < 이걸 말풍선식으로").
   드라마 화면 설정 창(drama.css .dr-seg-tag, 11/25)과 같은 모양: 연두 판 + 아래 꼬리, 칸의 오른쪽 위에 걸친다(왼쪽 위 이름표 글과 겹치지 않게 가운데보다 오른쪽). 고른 칸이든 아니든 같은 색.
   끄기 = show drama.set_tag_bubble false(드라마 화면과 같은 스위치): .tag-in 이 붙어 예전처럼 칸 안의 둘째 줄 */
.hp-seg:not(.tag-in) button { position: relative; }
.hp-seg:not(.tag-in) button em, .hp-seg:not(.tag-in) button[aria-checked="true"] em { position: absolute; left: 62%; bottom: calc(100% - 2px); z-index: 1; display: block; margin: 0; transform: translateX(-50%);
  padding: 3px 8px; border-radius: 8px; background: #d1fe17; color: #131517; font-size: 11px; line-height: 15px; font-weight: 800; white-space: nowrap; box-shadow: 0 4px 12px rgba(0,0,0,.4); pointer-events: none; }
.hp-seg:not(.tag-in) button em::after { content: ""; position: absolute; left: 50%; bottom: -3px; width: 8px; height: 8px; margin-left: -4px; border-radius: 0 0 2px 0; background: inherit; transform: rotate(45deg); }
.hp-seg:not(.tag-in) button:disabled:not([aria-checked="true"]) { opacity: 1; color: rgba(242,242,243,.45); border-color: rgba(255,255,255,.08); }      /* 잠긴 칸: 칸만 흐리게(말풍선까지 흐려지지 않게) */
.hp-sheet-bg { position: fixed; inset: 0; z-index: 95; display: flex; align-items: flex-end; background: rgba(6,7,8,.62); }
.hp-sheet { position: relative; width: 100%; max-height: 86dvh; overflow-y: auto; padding: 24px 16px calc(14px + var(--sab, env(safe-area-inset-bottom, 0px)));
  border-radius: 22px 22px 0 0; background: #131517; color: #f2f2f3; text-align: left; box-shadow: 0 -12px 40px rgba(0,0,0,.45); outline: none; }
.hp-sheet h3 { margin: 0 0 16px; font-size: 17px; line-height: 1.3; font-weight: 800; }
.hp-sheet-x { position: absolute; top: 12px; right: 8px; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 12px; background: transparent; color: rgba(255,255,255,.8); cursor: pointer; }
.hp-grip { position: absolute; top: 8px; left: 50%; width: 40px; height: 4px; margin-left: -20px; border-radius: 2px; background: rgba(255,255,255,.2); }
.hp-sheet .hp-seg button { min-height: 44px; }
@media (max-width: 880px) {
  .hp-opt { display: none; }
  .hp-opt-set { display: inline-flex; height: 44px; padding: 0 13px; border-radius: 999px; background: rgba(255,255,255,.08); font-size: 14px; }
  .hp-opt-set .hp-set-i { width: 17px; height: 17px; }
}
/* 좁은 휴대폰(360 이하, 실측: 360 폭에서 [설정 480p]까지 넣으면 여유 0, 320 폭은 40px 넘침): [설정]은 아이콘만(이름은 aria-label), 아랫줄 간격을 조금 줄인다 */
@media (max-width: 370px) {
  .hp-opt-set { justify-content: center; width: 44px; padding: 0; }
  .hp-opt-set span { display: none; }
}
@media (max-width: 360px) {
  .hp-row .hp-style { padding: 0 11px; }
  .hp-row .hp-go { padding: 0 14px; }
}
@media (max-width: 340px) {
  .hp-row, .hp-row .hp-styles { gap: 4px; }
}

/* ── 입력 상자 [레퍼런스](2026-11-27 낮 대표님 "[레퍼런스] 넣어서 참고사진,레퍼런스url 이거 넣을수있게해"): 아랫줄 [상세 옵션] 다음 칸(.hp-opt 와 같은 꼴),
   넣은 것이 있으면 '레퍼런스 2' + 연두 테. 누르면 PC = 단추 아래 작은 창(.hp-pop), 휴대폰 = 아래에서 올라오는 창(.hp-sheet), 휴대폰 단추 = 클립 아이콘 44(넣은 수는 아이콘 위 숫자).
   서버 = app._hero_ref(form data-ref, 끄기 show hero.prompt.ref), 동작 = site.js '레퍼런스' 묶음. .hp[data-ref] 규칙은 이 단추가 있을 때만 걸린다(없으면 예전 줄 그대로) */
.hp-ref .hp-clip, .hp-ref b { display: none; }
.hp-ref.has { box-shadow: inset 0 0 0 1px #d1fe17; color: #d1fe17; }
.hp-refpop { width: 340px; padding: 16px; }
.hp-pop-t { display: block; margin: 0 0 14px; font-size: 15px; line-height: 1.3; font-weight: 800; }
.hp-rf [hidden] { display: none; }
.hp-rf .hp-g + .hp-g { margin-top: 18px; }
.hp-rf-h { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.hp-rf-max { font-size: 12px; font-weight: 600; color: rgba(242,242,243,.5); }
.hp-rf-sub { margin: -2px 0 10px; font-size: 12.5px; line-height: 1.5; color: rgba(242,242,243,.62); word-break: keep-all; }
.hp-rf-list { display: flex; flex-direction: column; gap: 8px; }
.hp-rf-list:not(:empty) { margin-bottom: 8px; }
.hp-rf-it { display: flex; align-items: center; gap: 8px; }
.hp-rf-it img { flex: none; width: 44px; height: 44px; border-radius: 10px; object-fit: cover; background: #2a2d32; }
.hp-rf-name, .hp-rf-in { flex: 1 1 auto; min-width: 0; width: 100%; height: 44px; margin: 0; padding: 0 12px; border: 1px solid rgba(255,255,255,.14); border-radius: 10px; background: rgba(255,255,255,.04);
  color: #f7f7f8; font: inherit; font-size: 16px; font-weight: 500; outline: none; transition: border-color .15s ease; }
.hp-rf-name:focus, .hp-rf-in:focus { border-color: rgba(209,254,23,.7); }
.hp-rf-name::placeholder, .hp-rf-in::placeholder { color: rgba(247,247,248,.4); }
.hp-rf-in:disabled { opacity: .6; }
.hp-rf-x { flex: none; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 10px; background: transparent; color: rgba(255,255,255,.7); cursor: pointer; }
.hp-rf-x:hover { background: rgba(255,255,255,.08); color: #fff; }
.hp-rf-pick { display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; height: 44px; border: 1px dashed rgba(255,255,255,.24); border-radius: 10px; background: transparent;
  color: #f2f2f3; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; transition: border-color .15s ease; }
.hp-rf-pick:hover { border-color: rgba(255,255,255,.5); }
.hp-rf-file { display: flex; align-items: center; gap: 8px; margin-top: 8px; padding-left: 12px; border-radius: 10px; background: rgba(255,255,255,.06); font-size: 14px; font-weight: 600; }
.hp-rf-file span { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hp-rf-err { margin: 12px 0 0; font-size: 13px; line-height: 1.5; font-weight: 600; color: #ff8a65; }
.hp-rf-ok { display: block; width: 100%; height: 44px; margin-top: 16px; border: 0; border-radius: 12px; color: #131517; font: inherit; font-size: 15px; font-weight: 800; cursor: pointer;
  background-color: #d1fe17; background-image: radial-gradient(120% 140% at 50% 0%, rgba(255,255,255,.22) 0%, rgba(255,255,255,0) 70%); box-shadow: inset 0 -3px 0 rgba(0,0,0,.43); transition: filter .12s ease; }
.hp-rf-ok:hover:not(:disabled) { filter: brightness(1.06); }
.hp-rf-ok:disabled { opacity: .6; cursor: default; }
.hp-rf-entry { display: flex; align-items: center; gap: 8px; width: 100%; min-height: 44px; padding: 0 14px; border: 1px solid rgba(255,255,255,.14); border-radius: 10px; background: transparent;
  color: #f2f2f3; font: inherit; font-size: 14px; font-weight: 600; text-align: left; cursor: pointer; }
.hp-rf-entry .hp-clip { flex: none; width: 17px; height: 17px; }
.hp-rf-entry.has { border-color: #d1fe17; color: #d1fe17; }
@media (max-width: 880px) {
  .hp-opt.hp-ref { flex: none; display: inline-flex; position: relative; justify-content: center; width: 44px; height: 44px; padding: 0; border-radius: 999px; background: rgba(255,255,255,.08); }
  .hp-ref span { display: none; }
  .hp-ref .hp-clip { display: block; width: 18px; height: 18px; }
  .hp-ref.has b { position: absolute; top: 1px; right: 1px; display: grid; place-items: center; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 8px;
    background: #d1fe17; color: #131517; font-size: 11px; font-weight: 800; line-height: 1; }
}
/* 아랫줄 자리(실측, 단추는 모두 44 이상): [설정 480p] 글까지 두면 412 폭에서 24px 넘친다 → 450 이하는 [설정]을 아이콘만으로(필요한 폭 332, 412 = 346, 402 = 336).
   400 이하는 고르기와 [만들기] 안쪽을 360 폭 규칙(11, 14)으로(308), 380 이하는 칸 사이 4(300), 370 이하는 안쪽 10, 13(294, 361 = 295, 356 = 298).
   355 이하(320, 접는 폰 바깥 화면 344)는 아이콘만으로도 넘친다 → [설정]이 있으면 [레퍼런스]를 [설정] 창 맨 위 줄로(site.js refApi.entry). 그 폭은 예전 줄 그대로.
   [설정]이 없으면(옵션을 끈 곳) 그대로 아랫줄에 */
@media (max-width: 450px) {
  .hp[data-ref] .hp-opt-set { flex: none; justify-content: center; width: 44px; padding: 0; }
  .hp[data-ref] .hp-opt-set span { display: none; }
}
@media (min-width: 356px) and (max-width: 400px) {
  .hp[data-ref] .hp-row .hp-style { padding: 0 11px; }
  .hp[data-ref] .hp-row .hp-go { padding: 0 14px; }
}
@media (min-width: 356px) and (max-width: 380px) {
  .hp[data-ref] .hp-row, .hp[data-ref] .hp-row .hp-styles, .hp[data-ref] .hp-opts { gap: 4px; }
}
@media (min-width: 356px) and (max-width: 370px) {
  .hp[data-ref] .hp-row .hp-style { padding: 0 10px; }
  .hp[data-ref] .hp-row .hp-go { padding: 0 13px; }
}
@media (max-width: 355px) {
  .hp[data-ref][data-opt] .hp-opt.hp-ref { display: none; }
}

/* ===== 한 머리줄(2026-11-28 대표님 "메인홈 맨위에 [만들기] [드라마] [광고소재] [내 영상] [요금제] 이거 그대로 뜨게 해줘 … 그냥 다 똑같이 통일좀"):
   서버가 모든 손님 화면에 그리는 같은 머리줄(app._one_top, header#hd). 모양 = 광고소재 화면의 어두운 머리줄 그대로(바탕 rgba(15,17,19,.92), 아래 선 흰 8%,
   메뉴 15/600 흰 60%, 지금 화면과 올린 칸 = 흰 8% 판 r10 + 흰 글, [이벤트] = 연두 테 단추, 마이페이지 14/600 흰 60%). 화면마다 바탕이 밝든 어둡든 같은 모양이 되게
   id 로 묶어 다른 화면 규칙(app.css 의 body[data-page], offer.css, mnav.css)보다 앞선다. 높이 64(휴대폰 58) + 선 1, 폭 1120 + 옆 24(휴대폰 20) = 광고소재 화면과 같다 */
#hd { --ink: #f7f7f8; --body: rgba(255,255,255,.82); --sub: rgba(255,255,255,.6); --faint: rgba(255,255,255,.42); --line: rgba(255,255,255,.1); --fill: rgba(255,255,255,.06);
  background: #0f1113; border-bottom: 1px solid rgba(255,255,255,.08); color: #f7f7f8; }      /* 바탕은 비치지 않게(광고소재 화면의 92% 바탕이 어두운 화면 위에서 보이는 색 = #0f1113): 흰 화면에서도 같은 색 */
#hd .wrap { display: flex; flex-wrap: nowrap; align-items: center; gap: 16px; max-width: 1120px; height: 64px; min-height: 0; padding: 0 24px; }
#hd .logo { display: block; flex: none; height: auto; color: #f7f7f8; font-size: 20px; line-height: 1; }
#hd nav.cnav { display: flex; align-items: center; gap: 2px; margin-left: 12px; }
#hd nav.cnav a { padding: 8px 12px; border-radius: 10px; background: none; color: rgba(255,255,255,.6); font-size: 15px; font-weight: 600; }
#hd nav.cnav a:hover, #hd nav.cnav a.on { background: rgba(255,255,255,.08); color: #fff; }
#hd nav.top-right { display: flex; align-items: center; gap: 8px; margin-left: auto; }
#hd nav a.ref-link { padding: 8px 10px; border-radius: 10px; background: none; color: rgba(255,255,255,.6); font-size: 14px; font-weight: 600; }
#hd nav a.ref-link:hover { color: #fff; }
#hd nav a.acct-link.on { background: rgba(255,255,255,.08); color: #fff; }
#hd nav a.btn, #hd nav a.btn:hover { min-height: 40px; padding: 0 16px; border-color: #f7f7f8; background: #f7f7f8; color: #111318; font-size: 14px; }
#hd .on-offer { border-color: rgba(209,254,23,.55); background: rgba(209,254,23,.1); color: #d1fe17; box-shadow: 0 0 14px rgba(209,254,23,.18); }
#hd .on-price { border-color: rgba(255,255,255,.12); background: rgba(255,255,255,.05); color: #fff; }
#hd .m-menu-btn { border-color: rgba(255,255,255,.14); background: rgba(255,255,255,.06); color: #fff; }
#hd .m-menu-btn.on { border-color: #d1fe17; }
@media (max-width: 880px) {
  #hd .wrap { height: 58px; gap: 12px; padding: 0 20px; }
}
@media (max-width: 360px) {
  #hd .wrap { padding: 0 16px; }
  #hd .logo { font-size: 18px; }
}
