/* ════════════════════════════════════════════════════════════════════
   LUMINA AVATAR STUDIO — Design System
   컨셉: "빛(Lumen)" — 따뜻한 앰버 광원 + 오로라 그라데이션, 웜 화이트 캔버스
   벤치마크: Typecast 모바일 웹/앱 IA · 실사 이미지 중심으로 재설계
════════════════════════════════════════════════════════════════════ */

/* 셀프호스트 서브셋(한글 완성형 전체+라틴+기호) — 외부 CDN 의존 제거, FOUT 방지 */
@font-face {
  font-family: "Pretendard Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 45 920;
  src: url("../assets/fonts/PretendardVariable-subset.woff2") format("woff2-variations");
}

:root {
  /* Palette */
  --ink:        #101223;
  --ink-2:      #3E4257;
  --muted:      #7A7F93;
  --line:       #EBE8E1;
  --bg:         #FBFAF7;
  --surface:    #FFFFFF;
  --surface-2:  #F5F3EE;
  --lumen:      #FF8A3C;
  --lumen-deep: #F0691E;
  --lumen-soft: #FFF3E8;
  --aurora: linear-gradient(120deg, #FFC24B 0%, #FF8A3C 48%, #E8557F 100%);
  --glow: 0 10px 34px -10px rgba(255, 138, 60, .55);

  /* Shape & depth */
  --r-sm: 12px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 28px;
  --shadow-sm: 0 1px 2px rgba(16,18,35,.05), 0 4px 14px -6px rgba(16,18,35,.08);
  --shadow-md: 0 2px 6px rgba(16,18,35,.05), 0 16px 40px -18px rgba(16,18,35,.18);

  --header-h: 68px;
  --maxw: 1200px;
  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, "Segoe UI", "Malgun Gothic", sans-serif;
}

/* ── Reset ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
/* 어떤 클래스의 display 규칙도 [hidden]을 이기지 못하도록 보장 (JS로 .hidden 토글하는 모든 요소 공통) */
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  letter-spacing: -0.01em;
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul, li { list-style: none; }
input, textarea { font: inherit; color: inherit; }

.ic { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.pc-only { display: initial; }

.grad-text {
  background: var(--aurora);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ════════════════════════════════════════════════════════
   공지 바
════════════════════════════════════════════════════════ */
.notice-bar {
  display: flex; align-items: center;
  background: var(--ink); color: #F4F2EC;
  font-size: 14px;
}
.notice-bar__body {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 11px 16px; color: inherit; font-weight: 500;
}
.notice-bar__body .ic { width: 14px; height: 14px; opacity: .7; }
.notice-bar__badge {
  font-size: 11px; font-weight: 800; letter-spacing: .08em;
  background: var(--aurora); color: #fff;
  padding: 2px 8px; border-radius: 99px;
}
.notice-bar__close { padding: 11px 16px; opacity: .65; transition: opacity .2s; }
.notice-bar__close:hover { opacity: 1; }
.notice-bar.is-hidden { display: none; }

/* ════════════════════════════════════════════════════════
   헤더 & GNB
════════════════════════════════════════════════════════ */
.header {
  position: sticky; top: 0; z-index: 60;
  display: flex; align-items: center; gap: 28px;
  height: var(--header-h); padding: 0 clamp(16px, 4vw, 40px);
  background: rgba(251, 250, 247, .86);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.logo { display: flex; align-items: center; gap: 9px; }
.logo__mark { width: 30px; height: 30px; }
.logo__mark svg { width: 100%; height: 100%; }
.logo__type {
  font-size: 24px; font-weight: 800; letter-spacing: -0.045em; color: var(--ink);
}
.logo__type em { font-style: normal; color: var(--lumen); }

.gnb { display: flex; gap: 4px; margin-inline: auto; }
.gnb__item {
  padding: 9px 15px; border-radius: 99px;
  font-size: 15px; font-weight: 600; color: var(--ink-2);
  transition: background .2s, color .2s;
}
.gnb__item:hover { background: var(--surface-2); color: var(--ink); }
.gnb__item.is-active { background: var(--lumen-soft); color: var(--lumen-deep); }

.header__actions { display: flex; align-items: center; gap: 12px; }
.credit-pill {
  font-size: 13.5px; color: var(--ink-2);
  border: 1px solid var(--line); background: var(--surface);
  padding: 7px 14px; border-radius: 99px; white-space: nowrap;
}
.credit-pill b { color: var(--lumen-deep); }
.auth-chip[hidden] { display: none; }
.auth-chip {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--line); background: var(--surface);
  border-radius: 99px; padding: 4px 6px 4px 4px;
}
.auth-chip img { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; }
.auth-chip span { font-size: 13.5px; font-weight: 700; color: var(--ink); max-width: 110px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.auth-chip button {
  font-size: 12px; color: var(--muted); background: none; border: 0; cursor: pointer;
  padding: 2px 6px; border-radius: 6px;
}
.auth-chip button:hover { background: var(--surface-2); color: var(--ink-2); }
.auth-sheet__desc { font-size: 14px; color: var(--ink-2); margin-bottom: 18px; line-height: 1.5; }
.auth-sheet__gbtn { display: flex; justify-content: center; min-height: 44px; margin-bottom: 14px; }
.auth-sheet__fallback {
  font-size: 13px; color: var(--muted); text-align: center; line-height: 1.6;
  background: var(--surface-2); border-radius: var(--r-sm); padding: 16px; margin-bottom: 14px;
}
.auth-sheet__fallback code { background: var(--surface); padding: 1px 6px; border-radius: 4px; }
.auth-sheet__policy { font-size: 12px; color: var(--muted); text-align: center; }
.auth-sheet__policy a { color: var(--ink-2); text-decoration: underline; }
.hamburger { display: inline-flex; padding: 8px; border-radius: 10px; }
.hamburger:hover { background: var(--surface-2); }
.hamburger .ic { width: 24px; height: 24px; }

/* ════════════════════════════════════════════════════════
   버튼 & 칩 & 공용
════════════════════════════════════════════════════════ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 700; border-radius: 99px; white-space: nowrap;
  transition: transform .15s, box-shadow .2s, background .2s, color .2s, border-color .2s;
}
.btn:active { transform: scale(.97); }
.btn--xs { font-size: 12.5px; padding: 5px 12px; }
.btn--sm { font-size: 14px;  padding: 9px 18px; }
.btn--lg { font-size: 16px;  padding: 14px 28px; }
.btn--xl { font-size: 17px;  padding: 17px 32px; border-radius: var(--r-md); }
.btn--full { width: 100%; }
.btn--primary { background: var(--aurora); color: #fff; box-shadow: var(--glow); }
.btn--primary:hover { filter: brightness(1.05); box-shadow: 0 14px 40px -10px rgba(255,138,60,.7); }
.btn--primary small { font-weight: 500; opacity: .85; }
.btn--ghost { background: var(--surface); border: 1.5px solid var(--line); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink-2); }
.btn--outline { border: 1.5px solid var(--line); color: var(--ink-2); background: var(--surface); }
.btn--outline:hover { border-color: var(--lumen); color: var(--lumen-deep); }
.btn--plan { background: var(--plan, var(--ink)); color: #fff; margin-top: auto; }
.btn--plan:hover { filter: brightness(1.08); }

.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 13px;
  border: 1.5px solid var(--line); background: var(--surface); color: var(--ink-2);
  transition: border-color .2s, color .2s, background .2s;
}
.icon-btn:hover { border-color: var(--lumen); color: var(--lumen-deep); }
.icon-btn--flat { border: 0; background: transparent; width: 38px; height: 38px; }
.icon-btn--flat:hover { background: var(--surface-2); }
.icon-btn--dark { background: rgba(16,18,35,.55); border: 0; color: #fff; backdrop-filter: blur(6px); }
.icon-btn--dark:hover { background: rgba(16,18,35,.75); color: #fff; }
.icon-btn.is-on { background: var(--lumen-soft); border-color: var(--lumen); color: var(--lumen-deep); }
.icon-btn.is-on .ic { fill: currentColor; }

.chip {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 14px; font-weight: 600;
  padding: 8px 16px; border-radius: 99px;
}
.chip--outline { border: 1.5px solid var(--line); background: var(--surface); color: var(--ink-2); transition: all .2s; }
button.chip--outline:hover { border-color: var(--lumen); color: var(--lumen-deep); }
.chip--outline.is-active { border-color: var(--lumen); background: var(--lumen-soft); color: var(--lumen-deep); }
.chip--soft { background: var(--lumen-soft); color: var(--lumen-deep); font-size: 13px; }
.tone-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.tone-chips .chip { font-size: 13px; padding: 7px 13px; cursor: pointer; }

.badge {
  display: inline-block; font-size: 11.5px; font-weight: 800;
  padding: 2.5px 9px; border-radius: 99px; vertical-align: 2px;
}
.badge--new { background: #E8F1FF; color: #2B6FE3; }

/* ════════════════════════════════════════════════════════
   스크린 전환
════════════════════════════════════════════════════════ */
.screen { display: none; max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(16px, 4vw, 40px) 96px; }
.screen.is-active { display: block; animation: screenIn .35s ease both; }
@keyframes screenIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.screen__head { text-align: center; padding: clamp(40px, 7vw, 72px) 0 36px; }
.screen__head h1 { font-size: clamp(27px, 4.5vw, 44px); font-weight: 800; letter-spacing: -0.035em; line-height: 1.25; }
.screen__head p { margin-top: 14px; color: var(--muted); font-size: clamp(15px, 1.8vw, 17px); }
.screen__head .btn { margin-top: 26px; }
.screen__head--left { text-align: left; padding-bottom: 24px; }

/* ════════════════════════════════════════════════════════
   HOME · 히어로
════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 64px);
  align-items: center; padding: clamp(48px, 8vw, 96px) 0 clamp(40px, 6vw, 72px);
}
.hero__glow {
  position: absolute; inset: -40% -20% auto; height: 130%;
  background:
    radial-gradient(42% 55% at 72% 42%, rgba(255,194,75,.28), transparent 70%),
    radial-gradient(36% 48% at 30% 30%, rgba(232,85,127,.14), transparent 70%);
  filter: blur(10px); pointer-events: none; z-index: -1;
}

/* 상단 메인배너 시네마틱 배경 영상 — 뷰포트 풀블리드(.section--tint와 동일한 -100vw 트릭) */
.hero__bg {
  position: absolute; inset: 0 -100vw; z-index: -3;
  overflow: hidden;
  background: var(--bg) url("../assets/img/hero-whale-poster.jpg") 66% 36%/cover no-repeat;
}
.hero__bgvideo {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 66% 36%;
  opacity: .94;
}
.hero__scrim {
  position: absolute; inset: 0;
  background:
    /* 좌측(카피 영역)만 또렷이 가리고, 중앙~우측은 고래가 은은히 비치도록 빠르게 투명해짐 */
    linear-gradient(100deg,
      rgba(251,250,247,.94) 0%, rgba(251,250,247,.8) 22%,
      rgba(251,250,247,.42) 38%, rgba(251,250,247,.12) 54%,
      rgba(251,250,247,.1) 68%, rgba(251,250,247,.3) 84%,
      rgba(251,250,247,.58) 100%),
    /* 상/하단 페이드 — 헤더·다음 섹션과 자연스럽게 이어짐 */
    linear-gradient(180deg, var(--bg) 0%, transparent 16%, transparent 82%, var(--bg) 100%),
    /* 루미나 브랜드 앰버 톤 워시 — 벚꽃빛 원본 영상과 자연스럽게 어우러지도록 조율 */
    radial-gradient(65% 75% at 72% 32%, rgba(255,194,75,.2), transparent 70%);
}
@media (max-width: 860px) {
  .hero__bgvideo { object-position: 66% 40%; opacity: .8; }
  .hero__scrim {
    background:
      linear-gradient(180deg,
        rgba(251,250,247,.9) 0%, rgba(251,250,247,.68) 30%,
        rgba(251,250,247,.32) 52%, rgba(251,250,247,.86) 100%),
      radial-gradient(70% 50% at 70% 20%, rgba(255,194,75,.2), transparent 70%);
  }
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 800; letter-spacing: .14em; color: var(--lumen-deep);
}
.eyebrow__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--aurora); box-shadow: 0 0 12px rgba(255,138,60,.8); }
.hero__title { margin-top: 18px; font-size: clamp(32px, 5vw, 56px); font-weight: 800; letter-spacing: -0.04em; line-height: 1.18; }
.hero__sub { margin-top: 20px; font-size: clamp(15px, 1.8vw, 17.5px); color: var(--ink-2); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__proof { display: flex; gap: 28px; margin-top: 40px; }
.hero__proof li { font-size: 13.5px; color: var(--muted); }
.hero__proof b { display: block; font-size: 22px; font-weight: 800; color: var(--ink); letter-spacing: -0.02em; }

.hero__visual { position: relative; }
.hero__card {
  position: relative; border-radius: var(--r-xl); overflow: hidden;
  box-shadow: var(--shadow-md), 0 30px 80px -30px rgba(255,138,60,.35);
  transform: rotate(1.2deg);
}
.hero__card img { width: 100%; height: clamp(380px, 46vw, 540px); object-fit: cover; object-position: 50% 22%; }
.hero__live {
  position: absolute; top: 16px; left: 16px;
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(16,18,35,.6); color: #fff; backdrop-filter: blur(8px);
  font-size: 12px; font-weight: 700; letter-spacing: .06em;
  padding: 7px 13px; border-radius: 99px;
}
.hero__live .dot { width: 7px; height: 7px; border-radius: 50%; background: #FF5A5A; animation: pulse 1.6s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }
.hero__caption {
  position: absolute; inset: auto 14px 14px;
  display: flex; align-items: center; gap: 14px;
  background: rgba(255,255,255,.82); backdrop-filter: blur(12px);
  border-radius: var(--r-md); padding: 13px 16px;
}
.hero__caption p { font-size: 13.5px; font-weight: 600; color: var(--ink); }
.wave { display: flex; align-items: center; gap: 2.5px; height: 26px; flex: none; }
.wave i { width: 3px; border-radius: 2px; background: var(--lumen); animation: wave 1.1s ease-in-out infinite; }
.wave i:nth-child(odd)  { height: 60%; }
.wave i:nth-child(even) { height: 100%; }
.wave i:nth-child(3n)   { height: 35%; animation-delay: .15s; }
.wave i:nth-child(4n)   { animation-delay: .3s; }
.wave i:nth-child(5n)   { animation-delay: .45s; }
@keyframes wave { 0%,100% { transform: scaleY(.5); } 50% { transform: scaleY(1); } }

.hero__chip {
  position: absolute; display: inline-flex; align-items: center; gap: 8px;
  background: var(--surface); border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  font-size: 13px; font-weight: 700; color: var(--ink-2);
  padding: 10px 16px; border-radius: 99px;
}
.hero__chip .ic { color: var(--lumen-deep); }
.hero__chip--a { top: 8%; left: -26px; animation: floaty 5s ease-in-out infinite; }
.hero__chip--b { bottom: 20%; right: -18px; animation: floaty 5s ease-in-out 1.2s infinite; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* ── 홈 섹션 공통 ── */
.section { padding: clamp(44px, 7vw, 84px) 0; }
.section--tint { position: relative; }
.section--tint::before {
  content: ""; position: absolute; inset: 0 -100vw;
  background: var(--surface-2); z-index: -1;
}
.section__head { text-align: center; max-width: 620px; margin: 0 auto 44px; }
.section__head h2 { font-size: clamp(24px, 3.4vw, 34px); font-weight: 800; letter-spacing: -0.03em; }
.section__head p { margin-top: 12px; color: var(--muted); font-size: 15.5px; }
.section__cta { display: flex; justify-content: center; margin-top: 8px; }

/* 3-STEP 카드 */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: 40px; }
.step-card {
  position: relative; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 22px; box-shadow: var(--shadow-sm);
  transition: transform .25s, box-shadow .25s;
}
.step-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.step-card__no {
  position: absolute; top: -14px; left: 20px;
  width: 34px; height: 34px; display: grid; place-items: center;
  background: var(--aurora); color: #fff;
  font-weight: 800; font-size: 15px; border-radius: 12px;
  box-shadow: var(--glow);
}
.step-card__media {
  position: relative; height: 190px; border-radius: var(--r-md);
  overflow: hidden; background: var(--surface-2); margin-bottom: 18px;
}
.step-card__media img { width: 100%; height: 100%; object-fit: cover; }
.step-card__plus {
  position: absolute; right: 12px; bottom: 12px;
  width: 42px; height: 42px; display: grid; place-items: center;
  background: var(--lumen); color: #fff;
  font-size: 24px; font-weight: 700; border-radius: 14px;
  box-shadow: var(--glow);
}
.step-card__media--script { padding: 18px; display: flex; flex-direction: column; justify-content: space-between; }
.step-card__media--script p { font-size: 13.5px; color: var(--ink-2); line-height: 1.7; }
.step-card__media--script .chip { align-self: flex-start; }
.step-card__play {
  position: absolute; inset: 0; margin: auto;
  width: 56px; height: 56px; display: grid; place-items: center;
  background: rgba(255,255,255,.92); color: var(--lumen-deep);
  border-radius: 50%; box-shadow: var(--shadow-md);
}
.step-card__play .ic { width: 24px; height: 24px; fill: currentColor; stroke: none; }
.step-card h3 { font-size: 17.5px; font-weight: 800; letter-spacing: -0.02em; }
.step-card p { margin-top: 7px; font-size: 14px; color: var(--muted); }

/* 활용 시나리오 */
.usecase-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.usecase {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform .25s, box-shadow .25s;
}
.usecase:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.usecase img { height: 150px; width: 100%; object-fit: cover; }
.usecase h3 { font-size: 16px; font-weight: 800; padding: 16px 18px 0; }
.usecase p { font-size: 13.5px; color: var(--muted); padding: 5px 18px 18px; }

/* ════════════════════════════════════════════════════════
   STUDIO · 아바타 생성 3단계
════════════════════════════════════════════════════════ */
.panel {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); box-shadow: var(--shadow-sm);
  padding: clamp(20px, 3vw, 30px); margin-bottom: 26px;
}
.panel__title { font-size: clamp(17px, 2.2vw, 20px); font-weight: 700; letter-spacing: -0.02em; margin-bottom: 20px; }
.panel__title b { color: var(--lumen-deep); margin-right: 4px; }

.avatar-strip {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(148px, 1fr);
  gap: 14px; overflow-x: auto; padding: 14px 2px 6px;
  scroll-snap-type: x proximity;
  scrollbar-width: thin; scrollbar-color: var(--line) transparent;
}
.avatar-strip .avatar-tile { scroll-snap-align: start; }
.avatar-tile {
  position: relative; aspect-ratio: 3.1/4; border-radius: var(--r-md);
  overflow: hidden; border: 2.5px solid transparent;
  background: var(--surface-2); transition: transform .2s, border-color .2s, box-shadow .2s;
}
.avatar-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.avatar-tile img { width: 100%; height: 100%; object-fit: cover; }
.avatar-tile.is-selected { border-color: var(--lumen); box-shadow: var(--glow); }
.avatar-tile__check {
  position: absolute; top: 9px; right: 9px;
  width: 26px; height: 26px; display: grid; place-items: center;
  background: var(--lumen); color: #fff; border-radius: 50%;
  opacity: 0; transform: scale(.6); transition: all .2s;
}
.avatar-tile.is-selected .avatar-tile__check { opacity: 1; transform: none; }
.avatar-tile__name {
  position: absolute; inset: auto 0 0;
  padding: 26px 10px 9px; font-size: 12.5px; font-weight: 700; color: #fff;
  background: linear-gradient(transparent, rgba(16,18,35,.72));
  text-align: left;
}
.avatar-tile--upload {
  display: grid; place-items: center; align-content: center; gap: 12px;
  border: 2px dashed #D8D4CA; background: var(--surface);
}
.avatar-tile--upload:hover { border-color: var(--lumen); }
.avatar-tile__plus {
  width: 52px; height: 52px; display: grid; place-items: center;
  background: var(--aurora); color: #fff; font-size: 28px; font-weight: 600;
  border-radius: 16px; box-shadow: var(--glow);
}
.avatar-tile__hint { font-size: 13px; font-weight: 700; color: var(--ink-2); text-align: center; line-height: 1.45; }
.avatar-tile__hint small { font-weight: 500; color: var(--muted); }

.sample-row { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; }
.sample-row__label { font-size: 14px; color: var(--muted); margin-right: 2px; }

.script-box {
  position: relative; border: 1.5px solid var(--line); border-radius: var(--r-md);
  background: var(--bg); transition: border-color .2s, box-shadow .2s;
}
.script-box:focus-within { border-color: var(--lumen); box-shadow: 0 0 0 4px rgba(255,138,60,.12); }
.script-box__top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 14px 0;
}
.script-box__lang { font-size: 12.5px; color: var(--muted); }
.voice-chip {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--surface); border: 1px solid var(--line);
  padding: 6px 12px 6px 6px; border-radius: 99px;
  font-size: 14px; font-weight: 700;
  box-shadow: var(--shadow-sm); transition: border-color .2s;
}
.voice-chip:hover { border-color: var(--lumen); }
.voice-chip img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; }
.voice-chip .ic { width: 14px; height: 14px; color: var(--muted); }
.voice-chip--sm { font-size: 13px; }
.voice-chip--sm img { width: 24px; height: 24px; }
.script-box textarea {
  width: 100%; border: 0; outline: 0; background: transparent; resize: vertical;
  padding: 14px 16px 12px; font-size: 15.5px; line-height: 1.75; color: var(--ink);
}
.script-box__foot {
  display: flex; align-items: center; justify-content: space-between;
  padding: 9px 14px; border-top: 1px solid var(--line);
}
.script-box__count { font-size: 12.5px; color: var(--muted); }
.script-box__count b { color: var(--ink-2); }

.generate-row { display: flex; gap: 12px; align-items: stretch; }
.generate-row .icon-btn { width: 58px; height: auto; border-radius: var(--r-md); }

.render-stage {
  position: relative; margin-top: 22px;
  background: #0D0F1C; border-radius: var(--r-lg);
  overflow: hidden; display: grid; place-items: center;
  min-height: 180px; transition: min-height .35s ease;
}
.render-stage[data-state="idle"] { padding: 28px 20px; }
.render-stage[data-state="progress"], .render-stage[data-state="done"] { aspect-ratio: 16/7.6; }
.render-stage__idle { text-align: center; color: #6A6F86; display: grid; gap: 12px; justify-items: center; }
.render-stage__idle .ic { width: 44px; height: 44px; }
.render-stage__idle p { font-size: 14.5px; }
.render-stage__progress { display: none; width: min(420px, 78%); text-align: center; }
.render-stage__bar { height: 6px; background: rgba(255,255,255,.14); border-radius: 99px; overflow: hidden; }
.render-stage__bar i { display: block; height: 100%; width: 0; background: var(--aurora); border-radius: 99px; transition: width .3s; }
.render-stage__progress p { margin-top: 14px; color: #B9BDCE; font-size: 14px; }
.render-stage__result { display: none; position: absolute; inset: 0; }
.render-stage__result img {
  height: 100%; margin: 0 auto; object-fit: cover; aspect-ratio: 1/1.05;
  animation: fadeIn .6s ease both;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.render-stage__wm {
  position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%);
  color: rgba(255,255,255,.75); font-size: 12px; font-weight: 700; letter-spacing: .04em;
}
.render-stage__dl { position: absolute; right: 16px; bottom: 16px; }
.render-stage[data-state="progress"] .render-stage__idle { display: none; }
.render-stage[data-state="progress"] .render-stage__progress { display: block; }
.render-stage[data-state="done"] .render-stage__idle { display: none; }
.render-stage[data-state="done"] .render-stage__result { display: block; }

/* ════════════════════════════════════════════════════════
   LIBRARY · 검색/카테고리/필터/목록
════════════════════════════════════════════════════════ */
.search-row { display: flex; gap: 12px; }
.search {
  flex: 1; display: flex; align-items: center; gap: 12px;
  border: 1.5px solid var(--line); border-radius: var(--r-md);
  background: var(--surface); padding: 0 18px; height: 54px;
  transition: border-color .2s, box-shadow .2s;
}
.search:focus-within { border-color: var(--lumen); box-shadow: 0 0 0 4px rgba(255,138,60,.12); }
.search .ic { color: var(--muted); }
.search input { flex: 1; border: 0; outline: 0; background: transparent; font-size: 15.5px; }
.search input::placeholder { color: var(--muted); }
.search-row .icon-btn { width: 54px; height: 54px; border-radius: var(--r-md); }

.cat-row {
  display: flex; gap: 6px; margin-top: 20px;
  overflow-x: auto; padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  scrollbar-width: none;
}
.cat-row::-webkit-scrollbar { display: none; }
.cat {
  display: grid; justify-items: center; gap: 8px; flex: none;
  min-width: 88px; padding: 12px 14px 10px;
  border-radius: var(--r-sm); font-size: 13.5px; font-weight: 600; color: var(--ink-2);
  position: relative; transition: background .2s, color .2s;
}
.cat .ic { width: 24px; height: 24px; }
.cat:hover { background: var(--surface-2); }
.cat.is-active { color: var(--lumen-deep); }
.cat.is-active::after {
  content: ""; position: absolute; left: 18%; right: 18%; bottom: -11px;
  height: 3px; border-radius: 3px; background: var(--aurora);
}

.filter-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.filter {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1.5px solid var(--line); background: var(--surface);
  font-size: 14px; font-weight: 600; color: var(--ink-2);
  padding: 9px 16px; border-radius: var(--r-sm);
  transition: border-color .2s;
}
.filter:hover { border-color: var(--ink-2); }
.filter .ic { width: 14px; height: 14px; color: var(--muted); }

.list-count { margin: 26px 0 14px; font-size: 16.5px; font-weight: 700; }
.list-count b { color: var(--muted); font-weight: 600; }

.promo-card {
  width: 100%; display: flex; align-items: center; gap: 16px;
  border: 1.6px dashed #D8D4CA; border-radius: var(--r-md);
  background: var(--surface); padding: 16px 20px; text-align: left;
  transition: border-color .2s, background .2s;
}
.promo-card:hover { border-color: var(--lumen); background: var(--lumen-soft); }
.promo-card__icon {
  width: 46px; height: 46px; display: grid; place-items: center; flex: none;
  background: var(--surface-2); border-radius: 13px; color: var(--ink-2);
}
.promo-card__text b { display: block; font-size: 15.5px; }
.promo-card__text small { color: var(--muted); font-size: 13.5px; }
.promo-card__arrow { margin-left: auto; color: var(--muted); }

.voice-list { margin-top: 8px; }
.voice-row {
  display: flex; align-items: center; gap: 16px;
  padding: 14px 10px; border-radius: var(--r-md);
  transition: background .2s;
}
.voice-row:hover { background: var(--surface); box-shadow: var(--shadow-sm); }
.voice-row + .voice-row { border-top: 1px solid var(--line); }
.voice-row:hover + .voice-row, .voice-row:has(+ .voice-row:hover) { border-color: transparent; }
.voice-row__face { width: 64px; height: 64px; border-radius: 18px; object-fit: cover; flex: none; }
.voice-row__meta { flex: 1; min-width: 0; }
.voice-row__name { font-size: 16.5px; font-weight: 800; letter-spacing: -0.01em; }
.voice-row__tags { margin-top: 3px; font-size: 13.5px; color: var(--muted); }
.voice-row__lang { margin-left: 8px; padding-left: 10px; border-left: 1px solid var(--line); }
.voice-row__actions { display: flex; align-items: center; gap: 8px; }
.voice-row__actions .icon-btn { width: 44px; height: 44px; border-radius: 12px; }
.voice-row.is-playing { background: var(--lumen-soft); }
.voice-row.is-playing .voice-row__name { color: var(--lumen-deep); }

.mini-player {
  position: sticky; bottom: 18px; z-index: 40;
  transform: translateY(140%); opacity: 0; pointer-events: none;
  transition: transform .35s cubic-bezier(.2,.8,.25,1), opacity .3s;
  display: flex; align-items: center; gap: 18px;
  margin-top: 22px; padding: 14px 20px;
  background: rgba(16,18,35,.92); color: #EDEBE4;
  border-radius: var(--r-lg); backdrop-filter: blur(10px);
  box-shadow: 0 18px 50px -18px rgba(16,18,35,.6);
}
.mini-player.is-visible { transform: none; opacity: 1; pointer-events: auto; }
.mini-player__hint { flex: 1; font-size: 13.5px; line-height: 1.5; color: #C9CCDA; }
.mini-player__play {
  width: 52px; height: 52px; display: grid; place-items: center;
  background: var(--aurora); color: #fff; border-radius: 50%;
  box-shadow: var(--glow); transition: transform .15s;
}
.mini-player__play:active { transform: scale(.94); }
.mini-player__play .ic { width: 22px; height: 22px; fill: currentColor; stroke: none; }
.mini-player__play .ic-pause { display: none; stroke: currentColor; fill: none; }
.mini-player__play.is-playing .ic-play { display: none; }
.mini-player__play.is-playing .ic-pause { display: block; }
.mini-player__random {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid rgba(255,255,255,.25); border-radius: 99px;
  font-size: 13.5px; font-weight: 600; color: #EDEBE4;
  padding: 10px 16px; transition: background .2s;
}
.mini-player__random:hover { background: rgba(255,255,255,.1); }

/* ════════════════════════════════════════════════════════
   EDITOR · 툴바/스크립트/트랜스포트
════════════════════════════════════════════════════════ */
.editor-shell {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); box-shadow: var(--shadow-sm); overflow: hidden;
}
.editor-toolbar {
  display: flex; align-items: stretch; gap: 0;
  padding: 14px clamp(14px, 2vw, 24px);
  border-bottom: 1px solid var(--line);
  overflow-x: auto; scrollbar-width: none;
  background: var(--bg);
}
.editor-toolbar::-webkit-scrollbar { display: none; }
.tool { display: grid; align-content: space-between; gap: 8px; padding: 0 18px; flex: none; }
.tool + .tool { border-left: 1px solid var(--line); }
.tool:first-child { padding-left: 4px; }
.tool__label { font-size: 12.5px; font-weight: 600; color: var(--muted); white-space: nowrap; }
.tool__select {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1.5px solid var(--line); background: var(--surface);
  border-radius: 10px; padding: 7px 13px;
  font-size: 14px; font-weight: 700; transition: border-color .2s;
}
.tool__select:hover { border-color: var(--lumen); }
.tool__select .ic { width: 13px; height: 13px; color: var(--muted); }
.tool__group { display: flex; align-items: center; gap: 6px; }
.tool__value { font-size: 14px; font-weight: 700; padding: 7px 4px; }

.switch {
  position: relative; width: 52px; height: 30px;
  border-radius: 99px; background: #D9D6CD; transition: background .25s;
}
.switch i {
  position: absolute; top: 3px; left: 3px; width: 24px; height: 24px;
  background: #fff; border-radius: 50%;
  box-shadow: 0 2px 6px rgba(16,18,35,.25); transition: transform .25s;
}
.switch[aria-checked="true"] { background: var(--lumen); }
.switch[aria-checked="true"] i { transform: translateX(22px); }

.editor-body { padding: clamp(20px, 3vw, 32px); min-height: 340px; }
.editor-line { display: grid; gap: 10px; padding: 14px 0; }
.editor-line + .editor-line { border-top: 1px dashed var(--line); }
.editor-line .voice-chip { justify-self: start; }
.editor-line__text {
  font-size: 16px; line-height: 1.85; color: var(--ink);
  outline: 0; border-radius: 10px; padding: 6px 8px;
  transition: background .2s, box-shadow .2s;
}
.editor-line__text:focus { background: var(--lumen-soft); box-shadow: 0 0 0 3px rgba(255,138,60,.16); }
.pause-mark {
  display: inline-block; background: var(--lumen-soft); color: var(--lumen-deep);
  font-size: 12px; font-weight: 800;
  border: 1px solid rgba(240,105,30,.3); border-radius: 7px;
  padding: 1px 7px; margin: 0 4px; vertical-align: 1px;
}
.editor-suggest { margin-top: 34px; }
.editor-suggest p { font-size: 14.5px; color: var(--muted); margin-bottom: 12px; }
.editor-suggest__chips { display: flex; flex-wrap: wrap; gap: 10px; }

.transport {
  display: flex; align-items: center; gap: 18px;
  padding: 14px clamp(16px, 2.5vw, 26px);
  border-top: 1px solid var(--line); background: var(--bg);
}
.transport__time { font-size: 14px; font-weight: 600; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.transport__ctrl { display: flex; align-items: center; gap: 10px; margin-inline: auto; }
.transport__play {
  width: 54px; height: 54px; display: grid; place-items: center;
  background: var(--aurora); color: #fff; border-radius: 50%;
  box-shadow: var(--glow); transition: transform .15s;
}
.transport__play:active { transform: scale(.94); }
.transport__play .ic { width: 22px; height: 22px; fill: currentColor; stroke: none; }
.transport__play .ic-pause { display: none; stroke: currentColor; fill: none; }
.transport__play.is-playing .ic-play { display: none; }
.transport__play.is-playing .ic-pause { display: block; }

/* ════════════════════════════════════════════════════════
   CLONING
════════════════════════════════════════════════════════ */
.clone-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-xl); box-shadow: var(--shadow-md);
  padding: clamp(28px, 5vw, 56px); text-align: center;
  position: relative; overflow: hidden;
}
.clone-card::before {
  content: ""; position: absolute; inset: -60% -30% auto;
  height: 120%; pointer-events: none;
  background: radial-gradient(40% 50% at 50% 50%, rgba(255,194,75,.16), transparent 70%);
}
.clone-flow {
  display: flex; align-items: center; justify-content: center; gap: clamp(14px, 3vw, 28px);
  flex-wrap: wrap;
}
.clone-flow__arrow { width: 26px; height: 26px; color: var(--muted); flex: none; }
.clone-pill {
  display: flex; align-items: center; gap: 14px;
  border: 1.5px solid var(--line); background: var(--bg);
  border-radius: 99px; padding: 10px 14px 10px 10px;
  min-width: min(300px, 78vw);
}
.clone-pill img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.clone-pill span { flex: 1; text-align: left; font-size: 17px; font-weight: 800; }
.clone-pill__play {
  width: 46px; height: 46px; display: grid; place-items: center; flex: none;
  background: var(--ink); color: #fff; border-radius: 50%;
  transition: transform .15s;
}
.clone-pill__play:active { transform: scale(.92); }
.clone-pill__play .ic { width: 18px; height: 18px; fill: currentColor; stroke: none; }
.clone-pill__play--grad { background: var(--aurora); box-shadow: var(--glow); }
.clone-pill--ai { border: 2px solid transparent; background:
  linear-gradient(var(--surface), var(--surface)) padding-box,
  var(--aurora) border-box;
  box-shadow: 0 12px 36px -14px rgba(232,85,127,.4);
}
.clone-pill--ai img { outline: 2px solid #E8557F; outline-offset: 2px; }
.clone-card__caption { margin: 34px 0 16px; color: var(--muted); font-size: 14.5px; position: relative; }
.clone-card__chips { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; position: relative; }

.clone-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 28px; }
.clone-step {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 26px; box-shadow: var(--shadow-sm);
}
.clone-step b {
  font-size: 13px; font-weight: 800; letter-spacing: .1em;
  background: var(--aurora);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.clone-step h3 { margin-top: 10px; font-size: 18px; font-weight: 800; }
.clone-step p { margin-top: 8px; font-size: 14px; color: var(--muted); }

/* ════════════════════════════════════════════════════════
   PRICING · 세그먼트 & 플랜
════════════════════════════════════════════════════════ */
.seg {
  display: flex; background: #EFEDE6; border-radius: 99px; padding: 6px;
  max-width: 640px; margin: 0 auto 40px;
}
.seg__item {
  flex: 1; text-align: center; padding: 13px 10px;
  font-size: 15.5px; font-weight: 700; color: var(--ink-2);
  border-radius: 99px; transition: all .25s;
}
.seg__item.is-active { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-sm); }

.plan-stage { max-width: 640px; margin: 0 auto; }
@media (min-width: 1024px) {
  .plan-stage { max-width: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: stretch; }
  .plan-stage .plan { display: flex; min-height: 520px; }
  .plan-stage .plan[data-plan="pro"] { transform: scale(1.03); box-shadow: 0 24px 60px -20px rgba(124,92,252,.35); }
  .seg { display: none; }
}
.plan {
  display: none; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-xl); box-shadow: var(--shadow-md);
  padding: clamp(26px, 4vw, 44px); min-height: 460px; position: relative;
}
.plan.is-active { display: flex; animation: screenIn .3s ease both; }
.plan__flag {
  position: absolute; top: 24px; right: 24px;
  background: var(--plan); color: #fff;
  font-size: 12px; font-weight: 800; letter-spacing: .04em;
  padding: 5px 13px; border-radius: 99px;
}
.plan__name { font-size: clamp(28px, 4vw, 38px); font-weight: 800; letter-spacing: -0.03em; color: var(--plan); }
.plan__for { margin-top: 8px; color: var(--muted); font-size: 15.5px; }
.plan__section { margin: 34px 0 6px; font-size: 17px; font-weight: 800; }
.plan__list { margin-bottom: 36px; }
.plan__list li {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 0; font-size: 15.5px; color: var(--ink-2);
}
.plan__list li::before {
  content: "✓"; font-weight: 800; color: var(--plan);
  width: 22px; height: 22px; border-radius: 50%;
  display: grid; place-items: center; font-size: 12px;
  background: color-mix(in srgb, var(--plan) 12%, white);
  flex: none;
}
.plan-legal { text-align: center; margin-top: 26px; font-size: 13.5px; color: var(--muted); }
.plan-legal i { font-style: normal; margin: 0 10px; color: var(--line); }

/* ════════════════════════════════════════════════════════
   FOOTER
════════════════════════════════════════════════════════ */
.footer {
  border-top: 1px solid var(--line); background: var(--surface);
  padding: 56px clamp(16px, 4vw, 40px) 90px;
  display: grid; grid-template-columns: 1.2fr 2fr; gap: 40px;
  max-width: 100%;
}
.footer__brand p { margin-top: 10px; color: var(--muted); font-size: 14px; }
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer__cols h4 { font-size: 12.5px; font-weight: 800; letter-spacing: .1em; color: var(--muted); margin-bottom: 14px; }
.footer__cols a { display: block; font-size: 14.5px; color: var(--ink-2); padding: 5px 0; }
.footer__cols a:hover { color: var(--lumen-deep); }
.footer__legal { grid-column: 1 / -1; font-size: 13px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 22px; }

/* ════════════════════════════════════════════════════════
   DRAWER (햄버거 메뉴)
════════════════════════════════════════════════════════ */
.scrim {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(16,18,35,.45); backdrop-filter: blur(2px);
  opacity: 0; transition: opacity .25s;
}
.scrim.is-open { opacity: 1; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 100;
  width: min(400px, 92vw);
  background: var(--surface);
  display: flex; flex-direction: column;
  transform: translateX(105%); transition: transform .3s cubic-bezier(.2,.8,.25,1);
  box-shadow: -20px 0 60px rgba(16,18,35,.18);
}
.drawer.is-open { transform: none; }
.drawer__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 20px; border-bottom: 1px solid var(--line);
}
.drawer__nav { flex: 1; overflow-y: auto; padding: 14px 16px 20px; }
.drawer__nav a {
  display: flex; align-items: center; gap: 14px;
  padding: 13px 14px; border-radius: var(--r-sm);
  font-size: 15.5px; font-weight: 600; color: var(--ink-2);
  transition: background .2s, color .2s;
}
.drawer__nav a:hover { background: var(--surface-2); color: var(--ink); }
.drawer__nav a .ic { width: 21px; height: 21px; }
.drawer__home { position: relative; }
.drawer__home.is-active {
  background: var(--lumen-soft) !important; color: var(--lumen-deep) !important;
}
.drawer__home.is-active::before {
  content: ""; position: absolute; left: 0; top: 10px; bottom: 10px;
  width: 3.5px; border-radius: 3px; background: var(--lumen);
}
.drawer__label {
  margin: 22px 14px 6px; font-size: 11.5px; font-weight: 800;
  letter-spacing: .12em; color: var(--muted);
}
.drawer__more { margin-top: 18px; border-top: 1px solid var(--line); padding-top: 10px; }
.drawer__more summary {
  display: flex; align-items: center; gap: 14px; cursor: pointer;
  padding: 13px 14px; border-radius: var(--r-sm);
  font-size: 15.5px; font-weight: 600; color: var(--ink-2);
  list-style: none;
}
.drawer__more summary::-webkit-details-marker { display: none; }
.drawer__more summary:hover { background: var(--surface-2); }
.drawer__more a { padding-left: 49px !important; font-weight: 500 !important; }
.drawer__auth {
  margin: 14px 16px calc(14px + env(safe-area-inset-bottom));
  border-color: var(--lumen); color: var(--lumen-deep);
}
.drawer__auth i { font-style: normal; opacity: .5; margin: 0 6px; }

/* ════════════════════════════════════════════════════════
   모바일 탭바 (벤치마크: 탐색 · + · 프로젝트)
════════════════════════════════════════════════════════ */
.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
  display: none; align-items: center; justify-content: space-around;
  height: calc(66px + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom);
  background: rgba(255,255,255,.94); backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
}
.tabbar__item {
  display: grid; justify-items: center; gap: 4px;
  font-size: 11.5px; font-weight: 700; color: var(--muted);
  min-width: 84px;
}
.tabbar__item .ic { width: 23px; height: 23px; }
.tabbar__item.is-active { color: var(--ink); }
.tabbar__fab {
  width: 58px; height: 58px; margin-top: -26px;
  display: grid; place-items: center;
  background: var(--aurora); color: #fff;
  font-size: 30px; font-weight: 600; border-radius: 50%;
  box-shadow: var(--glow);
}

/* ════════════════════════════════════════════════════════
   반응형
════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .gnb { display: none; }
  .steps, .clone-steps { grid-template-columns: 1fr 1fr; }
  .usecase-grid { grid-template-columns: 1fr 1fr; }
  .hero { grid-template-columns: 1fr; }
  .hero__visual { max-width: 560px; margin: 0 auto; width: 100%; }
  .hero__chip--a { left: 6px; }
  .hero__chip--b { right: 6px; }
}

@media (max-width: 640px) {
  .pc-only { display: none; }
  body { font-size: 16px; }
  .notice-bar__body { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; padding: 12px 8px 12px 16px; }
  .notice-bar__body .ic { display: none; }
  .notice-bar__badge { margin-right: 8px; }
  .hero__card img { height: clamp(300px, 88vw, 420px); }
  .hero__caption p { font-size: 12.5px; }
  .avatar-strip { grid-auto-columns: 43%; }
  .tool__label { font-size: 13px; }
  .editor-toolbar { display: none; }
  .editor-quickbar { display: flex; }
  .editor-body { padding-bottom: 90px; }
  .transport { position: sticky; bottom: calc(66px + env(safe-area-inset-bottom)); background: var(--surface); z-index: 30; }
  .credit-pill { display: none; }
  .header { gap: 12px; }
  .steps, .clone-steps { grid-template-columns: 1fr; }
  .usecase-grid { grid-template-columns: 1fr; }
  .hero__proof { gap: 18px; }
  .hero__cta .btn { flex: 1; justify-content: center; }
  .screen { padding-bottom: 130px; }
  .tabbar { display: flex; }
  .mini-player { bottom: calc(76px + env(safe-area-inset-bottom)); flex-wrap: wrap; }
  .mini-player__hint { min-width: 130px; }
  .voice-row__actions .btn { display: none; } /* 모바일에선 탭=미리듣기, 상세로 진입 */
  .footer { grid-template-columns: 1fr; padding-bottom: 130px; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .render-stage { aspect-ratio: 4/4.4; }
  .transport { flex-wrap: wrap; }
  .transport .btn { order: 3; width: 100%; justify-content: center; margin-top: 6px; }
  .editor-toolbar .tool { padding: 0 12px; }
}

/* 접근성: 모션 최소화 */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .hero__bgvideo { display: none; } /* .hero__bg의 포스터 이미지가 대신 정적으로 보임 */
}

/* ════════════════════════════════════════════════════════
   V2 신규 컴포넌트
════════════════════════════════════════════════════════ */

/* 스크롤 어포던스 페이드 (M7) */
.scroll-fade { position: relative; }
.scroll-fade::after {
  content: ""; position: absolute; top: 0; right: 0; bottom: 0; width: 48px;
  background: linear-gradient(90deg, transparent, var(--bg));
  pointer-events: none;
}
.editor-toolbar.scroll-fade::after { background: linear-gradient(90deg, transparent, var(--bg)); }
.avatar-strip.scroll-fade::after { background: linear-gradient(90deg, transparent, var(--surface)); }

/* 히어로 노트 */
.hero__note { margin-top: 14px; font-size: 13.5px; color: var(--muted); }
.hero__note b { color: var(--lumen-deep); }

/* 스튜디오 스텝 인디케이터 */
.studio-progress {
  position: sticky; top: calc(var(--header-h) + 10px); z-index: 30;
  display: flex; gap: 8px; justify-content: center;
  margin: 0 auto 22px; padding: 6px; width: fit-content; max-width: 100%;
  background: rgba(255,255,255,.9); backdrop-filter: blur(10px);
  border: 1px solid var(--line); border-radius: 99px; box-shadow: var(--shadow-sm);
}
.studio-progress button {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13.5px; font-weight: 700; color: var(--muted);
  padding: 8px 16px; border-radius: 99px; transition: all .2s; white-space: nowrap;
}
.studio-progress button i {
  font-style: normal; width: 20px; height: 20px; display: grid; place-items: center;
  border-radius: 50%; background: var(--surface-2); font-size: 11.5px;
}
.studio-progress button.is-active { background: var(--lumen-soft); color: var(--lumen-deep); }
.studio-progress button.is-active i { background: var(--aurora); color: #fff; }
.studio-progress button.is-done i { background: #22B573; color: #fff; }

/* 결과 액션바 */
.result-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 16px; }

/* 바텀시트 시스템 */
.sheet-scrim {
  position: fixed; inset: 0; z-index: 110;
  background: rgba(16,18,35,.45); backdrop-filter: blur(2px);
  opacity: 0; transition: opacity .25s;
}
.sheet-scrim.is-open { opacity: 1; }
.sheet {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 120;
  background: var(--surface); border-radius: 24px 24px 0 0;
  padding: 10px 20px calc(24px + env(safe-area-inset-bottom));
  max-height: 82vh; overflow-y: auto;
  transform: translateY(105%); transition: transform .32s cubic-bezier(.2,.8,.25,1);
  box-shadow: 0 -18px 50px rgba(16,18,35,.22);
}
.sheet.is-open { transform: none; }
.sheet__handle { width: 44px; height: 5px; border-radius: 5px; background: var(--line); margin: 6px auto 16px; }
.sheet__title { font-size: 18px; font-weight: 800; margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.sheet__title output { margin-left: auto; color: var(--lumen-deep); font-size: 16px; }
.sheet__group { margin-bottom: 18px; }
.sheet__group h4 { font-size: 13px; font-weight: 700; color: var(--muted); margin-bottom: 10px; }
.sheet__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.sheet__scale { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); margin-top: 8px; }
.sheet input[type="range"] {
  width: 100%; accent-color: var(--lumen); height: 34px;
}
.sheet .btn--full { margin-top: 8px; }
@media (min-width: 641px) {
  .sheet { left: 50%; right: auto; bottom: 50%; transform: translate(-50%, 60%) scale(.96); opacity: 0;
    width: min(480px, 92vw); border-radius: 24px; transition: transform .28s, opacity .25s; pointer-events: none; }
  .sheet.is-open { transform: translate(-50%, 50%); opacity: 1; pointer-events: auto; }
  .sheet__handle { display: none; }
}

/* 캐릭터 상세 시트 */
.voice-sheet__head { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.voice-sheet__head img { width: 72px; height: 72px; border-radius: 20px; object-fit: cover; }
.voice-sheet__head h3 { font-size: 20px; font-weight: 800; }
.voice-sheet__head p { font-size: 13.5px; color: var(--muted); margin-top: 3px; }
.voice-sheet__head .icon-btn { margin-left: auto; }
.voice-sheet__samples li {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 0; font-size: 14.5px; color: var(--ink-2);
  border-top: 1px solid var(--line);
}
.voice-sheet__samples .icon-btn { width: 40px; height: 40px; flex: none; }

/* 감정 그리드 */
.emotion-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.emotion-grid button {
  display: grid; justify-items: center; gap: 6px;
  padding: 16px 8px; border-radius: var(--r-md);
  border: 1.5px solid var(--line); font-size: 26px;
  transition: all .2s;
}
.emotion-grid button span { font-size: 13px; font-weight: 700; color: var(--ink-2); }
.emotion-grid button.is-active { border-color: var(--lumen); background: var(--lumen-soft); }
.emotion-grid button.is-active span { color: var(--lumen-deep); }

/* 에디터 모바일 퀵바 */
.editor-quickbar {
  display: none; position: fixed; left: 0; right: 0;
  bottom: calc(66px + env(safe-area-inset-bottom)); z-index: 50;
  background: var(--surface); border-top: 1px solid var(--line);
  padding: 8px 6px; justify-content: space-around; align-items: center;
  box-shadow: 0 -8px 24px rgba(16,18,35,.07);
}
.editor-quickbar > button {
  display: grid; justify-items: center; gap: 3px;
  min-width: 56px; padding: 6px 4px; border-radius: 10px;
}
.editor-quickbar > button:active { background: var(--surface-2); }
.editor-quickbar > button b { font-size: 14.5px; font-weight: 800; color: var(--ink); min-height: 20px; display: grid; place-items: center; }
.editor-quickbar > button span { font-size: 11px; color: var(--muted); font-weight: 600; white-space: nowrap; }
.editor-quickbar__play {
  width: 48px; height: 48px; display: grid !important; place-items: center;
  background: var(--aurora); color: #fff; border-radius: 50% !important;
  box-shadow: var(--glow);
}
.editor-quickbar__play .ic { width: 20px; height: 20px; fill: currentColor; stroke: none; }
.editor-quickbar__play .ic-pause { display: none; stroke: currentColor; fill: none; }
.editor-quickbar__play.is-playing .ic-play { display: none; }
.editor-quickbar__play.is-playing .ic-pause { display: block; }

/* 클로닝 위저드 */
.clone-wizard {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-xl); box-shadow: var(--shadow-md);
  padding: clamp(22px, 4vw, 40px); margin-bottom: 28px;
}
.clone-wizard__steps { display: flex; gap: 8px; justify-content: center; margin-bottom: 26px; }
.clone-wizard__steps li {
  font-size: 13px; font-weight: 700; color: var(--muted);
  padding: 7px 15px; border-radius: 99px; background: var(--surface-2);
}
.clone-wizard__steps li.is-active { background: var(--lumen-soft); color: var(--lumen-deep); }
.clone-wizard__steps li.is-done { background: #E7F6EF; color: #1B9E67; }
.clone-wizard__prompt { text-align: center; font-size: 14.5px; color: var(--ink-2); }
.clone-wizard__prompt b { color: var(--lumen-deep); }
.clone-wizard__script {
  margin: 16px auto; max-width: 560px;
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 18px 20px; font-size: 15.5px; line-height: 1.8; color: var(--ink);
}
.clone-wizard__wave { display: block; width: min(560px, 100%); height: 72px; margin: 0 auto; border-radius: 12px; background: var(--bg); }
.clone-wizard__rec { display: flex; align-items: center; justify-content: center; gap: 18px; margin: 18px 0 6px; flex-wrap: wrap; }
.clone-wizard__timer { font-size: 20px; font-weight: 800; font-variant-numeric: tabular-nums; color: var(--ink); min-width: 64px; text-align: right; }
.rec-btn {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--surface); border: 2px solid #E0574F;
  display: grid; place-items: center; transition: all .2s;
}
.rec-btn i { width: 24px; height: 24px; border-radius: 50%; background: #E0574F; transition: all .25s; }
.rec-btn.is-recording { box-shadow: 0 0 0 8px rgba(224,87,79,.15); }
.rec-btn.is-recording i { border-radius: 6px; width: 20px; height: 20px; }
.clone-verify {
  display: block; text-align: center; font-size: 13px; font-weight: 600;
  max-width: 560px; margin: 10px auto 0; padding: 9px 14px; border-radius: var(--r-md);
  background: var(--surface-2); color: var(--ink-2);
}
.clone-verify.is-pass { background: #E7F6EF; color: #1B9E67; }
.clone-verify.is-fail { background: #FDECEA; color: #C0392B; }
.clone-verify.is-warn { background: #FFF4E0; color: #A96A00; }
.consent {
  display: flex; align-items: flex-start; gap: 10px; justify-content: center;
  font-size: 13px; color: var(--muted); margin: 14px auto 0; max-width: 560px;
}
.consent--rights { color: #A96A00; }
.consent input { width: 17px; height: 17px; accent-color: var(--lumen); margin-top: 1px; flex: none; }
.consent a { text-decoration: underline; }
.clone-wizard__actions { display: flex; gap: 10px; justify-content: center; margin-top: 20px; }
.clone-wizard__actions--center { flex-wrap: wrap; }
.clone-wizard__fallback { text-align: center; font-size: 12.5px; color: var(--muted); margin-top: 14px; }
.linklike { color: var(--lumen-deep); text-decoration: underline; cursor: pointer; font: inherit; }
.clone-wizard__training { max-width: 480px; margin: 20px auto; text-align: center; }
.clone-wizard__training .render-stage__bar { background: var(--surface-2); }
.clone-wizard__training p { margin-top: 14px; color: var(--ink-2); font-size: 14.5px; }
.clone-wizard__tip { font-size: 13px !important; color: var(--muted) !important; margin-top: 10px !important; }
.clone-wizard__done { text-align: center; font-size: 17px; margin-bottom: 20px; }
.clone-flow--result { margin-bottom: 6px; }
#recPreview { width: min(320px, 100%); }

/* 프로젝트 화면 */
.project-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; }
.project-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; box-shadow: var(--shadow-sm); text-align: left;
  transition: transform .2s, box-shadow .2s;
}
.project-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.project-card__thumb { position: relative; aspect-ratio: 16/10; background: #0D0F1C; }
.project-card__thumb img { width: 100%; height: 100%; object-fit: cover; opacity: .92; }
.project-card__badge {
  position: absolute; top: 10px; left: 10px;
  font-size: 11px; font-weight: 800; color: #fff;
  background: rgba(16,18,35,.6); backdrop-filter: blur(6px);
  padding: 4px 10px; border-radius: 99px;
}
.project-card__body { padding: 14px 16px 16px; }
.project-card__body h3 { font-size: 15px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.project-card__body p { font-size: 12.5px; color: var(--muted); margin-top: 4px; }
.project-empty {
  display: grid; justify-items: center; gap: 14px;
  padding: 60px 20px; text-align: center; color: var(--muted); font-size: 15px;
}
.project-empty .ic { width: 44px; height: 44px; }
.project-empty[hidden] { display: none; }

/* 요금제 결제 주기 토글 */
.billing-toggle { display: flex; justify-content: center; gap: 8px; margin-bottom: 18px; }
.billing-toggle button {
  font-size: 14px; font-weight: 700; color: var(--muted);
  border: 1.5px solid var(--line); border-radius: 99px; padding: 9px 18px;
  transition: all .2s;
}
.billing-toggle button em { font-style: normal; font-size: 11.5px; color: #1B9E67; font-weight: 800; }
.billing-toggle button.is-active { border-color: var(--lumen); background: var(--lumen-soft); color: var(--lumen-deep); }

/* 토스트 */
.toast {
  position: fixed; left: 50%; bottom: calc(90px + env(safe-area-inset-bottom)); z-index: 200;
  transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  background: rgba(16,18,35,.92); color: #F4F2EC;
  font-size: 14px; font-weight: 600;
  padding: 12px 22px; border-radius: 99px;
  transition: all .3s; max-width: 88vw; text-align: center;
  backdrop-filter: blur(8px);
}
.toast.is-visible { transform: translate(-50%, 0); opacity: 1; }

/* 우선순위 보정: 모바일 퀵바 표시 (기본 display:none 뒤에 와야 함) */
@media (max-width: 640px) {
  .editor-quickbar { display: flex; }
}

/* 실음성 재생 상태 */
.icon-btn.is-loading, .mini-player__play.is-loading, .transport__play.is-loading, .editor-quickbar__play.is-loading { opacity: .55; animation: pulse 1s infinite; }
.icon-btn--play.is-playing { background: var(--lumen-soft); border-color: var(--lumen); color: var(--lumen-deep); }

/* 클론 대본 체험 */
.clone-tryout { max-width: 560px; margin: 26px auto 6px; text-align: left; }
.clone-tryout h4 { font-size: 15px; font-weight: 800; margin-bottom: 10px; }
.clone-tryout textarea {
  width: 100%; border: 1.5px solid var(--line); border-radius: var(--r-md);
  background: var(--bg); padding: 13px 15px; font-size: 14.5px; line-height: 1.7;
  resize: vertical; outline: 0; transition: border-color .2s, box-shadow .2s;
}
.clone-tryout textarea:focus { border-color: var(--lumen); box-shadow: 0 0 0 4px rgba(255,138,60,.12); }
.clone-tryout__row { display: flex; align-items: center; gap: 12px; margin-top: 10px; flex-wrap: wrap; }
.clone-tryout__note { font-size: 12px; color: var(--muted); flex: 1; min-width: 200px; }
.badge--clone { background: var(--lumen-soft); color: var(--lumen-deep); }

/* ════════════════════════════════════════════════════════════════════
   V3 · AI 랩 (허브 + 캐릭터 보이스 + 통번역 + 더빙 + 강의)
════════════════════════════════════════════════════════════════════ */
.gnb__item--new { position: relative; }
.gnb__item--new::after {
  content: ""; position: absolute; top: 8px; right: 4px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--aurora);
}

/* ── 허브 카드 ── */
.lab-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 18px; max-width: var(--maxw); margin: 0 auto; padding: 0 20px 60px;
}
.lab-card {
  text-align: left; background: var(--surface); border: 1.5px solid var(--line);
  border-radius: var(--r-lg); padding: 26px 24px; cursor: pointer;
  transition: transform .2s, box-shadow .2s, border-color .2s;
  display: flex; flex-direction: column; gap: 10px;
}
.lab-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--lumen); }
.lab-card__emoji { font-size: 34px; line-height: 1; }
.lab-card h3 { font-size: 17.5px; font-weight: 800; letter-spacing: -0.02em; }
.lab-card p { font-size: 13.5px; color: var(--muted); line-height: 1.55; flex: 1; }
.lab-card__cta { font-size: 13.5px; font-weight: 800; color: var(--lumen-deep); }

/* ── 캐릭터 보이스 스튜디오 ── */
.cv-layout {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
  max-width: var(--maxw); margin: 0 auto; padding: 0 20px 60px;
}
@media (max-width: 860px) { .cv-layout { grid-template-columns: 1fr; } }
.cv-field { margin-bottom: 18px; }
.cv-field > label { display: block; font-size: 13px; font-weight: 700; color: var(--muted); margin-bottom: 8px; }
.cv-field > label small { font-weight: 500; }
.cv-field input[type="text"], .cv-field textarea {
  width: 100%; border: 1.5px solid var(--line); border-radius: var(--r-sm);
  padding: 11px 14px; font: inherit; font-size: 14.5px; background: var(--surface);
  resize: vertical;
}
.cv-field input:focus, .cv-field textarea:focus { outline: none; border-color: var(--lumen); }
.cv-field input[type="file"] { font-size: 13px; color: var(--muted); }
.cv-seg { display: inline-flex; border: 1.5px solid var(--line); border-radius: 99px; overflow: hidden; }
.cv-seg button {
  padding: 8px 18px; font-size: 13.5px; font-weight: 700; color: var(--muted);
  background: transparent; border: 0; cursor: pointer;
}
.cv-seg button.is-active { background: var(--lumen-soft); color: var(--lumen-deep); }
.cv-suggest { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 9px; }
.cv-suggest .chip { font-size: 12.5px; padding: 6px 12px; cursor: pointer; }
.cv-result__empty { text-align: center; padding: 44px 0 30px; color: var(--muted); font-size: 14.5px; line-height: 1.6; }
.cv-result__empty span { display: block; font-size: 40px; margin-bottom: 12px; }
.cv-card {
  display: flex; gap: 16px; align-items: center;
  background: var(--surface-2); border-radius: var(--r-md); padding: 16px; margin-bottom: 18px;
}
.cv-card img { width: 76px; height: 76px; border-radius: 50%; object-fit: cover; }
.cv-card__meta h3 { font-size: 18px; font-weight: 800; }
.cv-card__meta p { font-size: 13px; color: var(--ink-2); margin-top: 3px; }
.cv-card__why { font-size: 12px !important; color: var(--muted) !important; line-height: 1.5; }
.cv-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.cv-saved { margin-top: 24px; border-top: 1px solid var(--line); padding-top: 16px; }
.cv-saved__label { font-size: 12.5px; font-weight: 800; letter-spacing: .08em; color: var(--muted); margin-bottom: 10px; }
.cv-saved ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.cv-saved li { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: var(--r-sm); background: var(--surface-2); }
.cv-saved li img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; }
.cv-saved li > div { flex: 1; min-width: 0; }
.cv-saved li b { display: block; font-size: 14px; }
.cv-saved li span { font-size: 12px; color: var(--muted); }
.cv-saved__empty { font-size: 13px; color: var(--muted); background: none !important; }

/* ── 실시간 통번역 ── */
.tr-wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 20px 60px; display: flex; flex-direction: column; gap: 16px; }
.tr-langbar { display: flex; align-items: end; gap: 14px; flex-wrap: wrap; }
.tr-langsel { display: flex; flex-direction: column; gap: 6px; }
.tr-langsel label { font-size: 12px; font-weight: 700; color: var(--muted); }
.tr-langsel select {
  border: 1.5px solid var(--line); border-radius: var(--r-sm); padding: 10px 12px;
  font: inherit; font-size: 14.5px; font-weight: 700; background: var(--surface); min-width: 130px;
}
.tr-swap { align-self: end; margin-bottom: 2px; }
.tr-mic { margin-left: auto; }
.btn--danger { background: #E5484D !important; color: #fff !important; box-shadow: 0 10px 30px -12px rgba(229,72,77,.6); }
.tr-sttnote { font-size: 13px; color: var(--muted); padding: 0 4px; }
.tr-panes { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 780px) { .tr-panes { grid-template-columns: 1fr; } }
.tr-pane { display: flex; flex-direction: column; min-height: 260px; }
.tr-live { color: #E5484D; font-size: 11px; font-weight: 800; letter-spacing: .08em; animation: trBlink 1.2s infinite; }
@keyframes trBlink { 50% { opacity: .3; } }
.tr-feed { flex: 1; overflow-y: auto; max-height: 320px; display: flex; flex-direction: column; gap: 8px; }
/* 아바타 보이스 샘플 재생 표시 */
.avatar-tile__spk {
  position: absolute; left: 8px; top: 8px; width: 24px; height: 24px;
  display: grid; place-items: center; border-radius: 50%;
  background: rgba(16,18,35,.55); backdrop-filter: blur(2px);
  opacity: 0; transition: opacity .15s ease; pointer-events: none;
}
.avatar-tile__spk svg { width: 14px; height: 14px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.avatar-tile:hover .avatar-tile__spk { opacity: 1; }
.avatar-tile.is-playing .avatar-tile__spk { opacity: 1; background: var(--lumen); }
.avatar-tile.is-playing .avatar-tile__spk svg { animation: spkPulse .8s infinite; }
@keyframes spkPulse { 50% { opacity: .4; } }

/* 아바타 국적 필터 */
.av-filter { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 12px; }
.av-filter__chip {
  border: 1.5px solid var(--line); background: var(--surface); color: var(--muted);
  border-radius: 999px; padding: 6px 14px; font: inherit; font-size: 13px; font-weight: 700;
  cursor: pointer; transition: all .15s ease;
}
.av-filter__chip:hover { border-color: var(--lumen); color: var(--ink); }
.av-filter__chip.is-on { background: var(--lumen); border-color: transparent; color: #fff; }

.tr-msg { background: var(--surface-2); border-radius: 12px; padding: 10px 14px; font-size: 15px; line-height: 1.55; animation: trMsgIn .18s ease; }
@keyframes trMsgIn { from { opacity: 0; transform: translateY(4px); } }
#trVoiceLive.is-on { background: var(--lumen); color: #fff; border-color: transparent; }
#trVoiceLive.is-on::before { content: "● "; color: #fff; animation: trBlink 1.2s infinite; }
.tr-interim { min-height: 22px; font-size: 14px; color: var(--muted); font-style: italic; padding: 6px 4px 0; }
.tr-textmode { display: flex; gap: 8px; margin-top: 10px; }
.tr-textmode textarea {
  flex: 1; border: 1.5px solid var(--line); border-radius: var(--r-sm);
  padding: 10px 12px; font: inherit; font-size: 14px; resize: none;
}
.tr-textmode textarea:focus { outline: none; border-color: var(--lumen); }
.tr-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.tr-fullcap[hidden] { display: none; }
.tr-fullcap {
  position: fixed; inset: 0; z-index: 200; background: rgba(12, 13, 26, .96);
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  gap: 22px; padding: 40px; text-align: center;
}
.tr-fullcap__src { font-size: clamp(16px, 2.4vw, 24px); color: rgba(255,255,255,.55); max-width: 900px; }
.tr-fullcap__dst { font-size: clamp(26px, 4.5vw, 52px); font-weight: 800; color: #fff; line-height: 1.35; max-width: 1000px; }
.tr-fullcap__close { position: absolute; top: 24px; right: 24px; color: #fff !important; border-color: rgba(255,255,255,.4) !important; }

/* ── 더빙 스튜디오 ── */
.db-wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 20px 60px; display: flex; flex-direction: column; gap: 16px; }
.db-drop {
  border: 2px dashed var(--line); border-radius: var(--r-md); padding: 40px 20px;
  text-align: center; color: var(--muted); font-size: 14.5px; line-height: 1.6;
  display: flex; flex-direction: column; gap: 14px; align-items: center;
}
.db-drop small { font-size: 12.5px; }
#dbPlayer { width: 100%; max-height: 420px; border-radius: var(--r-md); background: #000; }
.db-note { margin-top: 10px; font-size: 12px; color: var(--muted); }
.db-segbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 14px; }
.db-segbar select, .db-voicebar select {
  border: 1.5px solid var(--line); border-radius: var(--r-sm); padding: 9px 12px;
  font: inherit; font-size: 13.5px; font-weight: 700; background: var(--surface);
}
.db-seglist { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.db-seg { background: var(--surface-2); border-radius: var(--r-sm); padding: 12px 14px; }
.db-seg__head { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--ink-2); margin-bottom: 8px; }
.db-seg__head b { color: var(--lumen-deep); }
.db-seg__head input {
  width: 76px; border: 1.5px solid var(--line); border-radius: 8px; padding: 6px 8px;
  font: inherit; font-size: 13.5px; font-weight: 700; text-align: right;
}
.db-seg__head [data-del], .db-seg__head [data-test], .db-seg__head [data-jump] { margin-left: auto; }
.db-seg__head [data-test], .db-seg__head [data-jump] { margin-left: 0; }
.db-seg__head input + button { margin-left: auto !important; }
.db-seg textarea {
  width: 100%; border: 1.5px solid var(--line); border-radius: 8px; padding: 9px 11px;
  font: inherit; font-size: 14px; resize: vertical; background: var(--surface);
}
.db-seg textarea:focus { outline: none; border-color: var(--lumen); }
.db-empty { font-size: 13.5px; color: var(--muted); text-align: center; padding: 18px 0; }
.db-voicebar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 16px; }
.db-voicebar > label:first-child { font-size: 13px; font-weight: 700; color: var(--muted); }
.db-mix { font-size: 13px; color: var(--ink-2); display: inline-flex; gap: 7px; align-items: center; }
.db-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.db-progress { margin-top: 16px; }
.db-progress p { margin-top: 8px; font-size: 13px; color: var(--muted); }

/* ── 강의 영상 스튜디오 ── */
.lc-wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 20px 60px; display: flex; flex-direction: column; gap: 16px; }
.lc-hint { font-size: 12.5px; font-weight: 500; color: var(--muted); }
.lc-avatars { display: flex; gap: 12px; overflow-x: auto; padding: 4px 2px 8px; }
.lc-avatar {
  flex: 0 0 auto; width: 104px; border: 2px solid transparent; border-radius: var(--r-md);
  background: var(--surface-2); padding: 8px 8px 10px; cursor: pointer; text-align: center;
  font-size: 12.5px; font-weight: 700; color: var(--ink-2);
  display: flex; flex-direction: column; gap: 7px; align-items: center;
}
.lc-avatar img { width: 84px; height: 100px; border-radius: 10px; object-fit: cover; }
.lc-avatar.is-selected { border-color: var(--lumen); background: var(--lumen-soft); }
.lc-avatar--upload span:first-child {
  width: 84px; height: 100px; border-radius: 10px; border: 2px dashed var(--line);
  display: grid; place-items: center; font-size: 30px; color: var(--muted);
}
.lc-meta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 12px; }
.lc-meta input[type="text"] {
  flex: 1 1 280px; border: 1.5px solid var(--line); border-radius: var(--r-sm);
  padding: 11px 14px; font: inherit; font-size: 14.5px;
}
.lc-meta input:focus { outline: none; border-color: var(--lumen); }
.lc-meta select {
  border: 1.5px solid var(--line); border-radius: var(--r-sm); padding: 10px 12px;
  font: inherit; font-size: 13.5px; font-weight: 700; background: var(--surface);
}
.lc-meta .tone-chips { margin-bottom: 0; }
#lcScript {
  width: 100%; border: 1.5px solid var(--line); border-radius: var(--r-sm);
  padding: 14px 16px; font: inherit; font-size: 15px; line-height: 1.7; resize: vertical;
}
#lcScript:focus { outline: none; border-color: var(--lumen); }
.lc-count { margin-top: 8px; font-size: 12.5px; color: var(--muted); text-align: right; }
.lc-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.lc-eta { margin-top: 4px !important; font-size: 12px !important; font-weight: 600; color: var(--lumen-deep) !important; }
#lcCancel { border-color: #E5484D !important; color: #E5484D !important; }
#lcCancel:hover { background: rgba(229,72,77,.08); }
#lcCancel:disabled { opacity: .55; cursor: default; }
.lc-stage { border-radius: var(--r-md); overflow: hidden; box-shadow: var(--shadow-md); }
.lc-stage canvas { width: 100%; display: block; }
#lcResult { width: 100%; border-radius: var(--r-md); background: #000; margin-top: 6px; }

/* 고품질 립싱크 토글 */
.lc-lipsync { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 700; color: var(--ink-2); cursor: pointer; }
.lc-lipsync input:disabled + * { opacity: .6; }
.lc-lipsync__state { font-size: 11.5px; font-weight: 800; color: var(--muted); background: var(--surface-2); border-radius: 99px; padding: 3px 9px; }
.lc-lipsync__state.is-on { color: #1B9E67; background: #E7F6EE; }

/* 모션 프롬프트 */
.lc-motion { margin-top: 14px; }
.lc-motion > label { display: block; font-size: 13px; font-weight: 700; color: var(--muted); margin-bottom: 8px; }
.lc-motion input[type="text"] {
  width: 100%; border: 1.5px solid var(--line); border-radius: var(--r-sm);
  padding: 11px 14px; font: inherit; font-size: 14.5px;
}
.lc-motion input:focus { outline: none; border-color: var(--lumen); }
.lc-motion .cv-suggest { margin-top: 9px; }
