/* ME Studio SaaS: 기존 ui.css 토큰과 부품 위에 공개 페이지와 고객 화면만 더한다. */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: var(--fs); line-height: 1.55; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; }
a { color: var(--accent-text); }
h1, h2, h3, p { margin: 0; }
img, video { max-width: 100%; display: block; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ---------- 공개 페이지 공통 ---------- */
.site { background: var(--surface); }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.site-nav { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--surface) 92%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.site-nav .wrap { display: flex; align-items: center; gap: 12px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 700; letter-spacing: -.01em; color: var(--text); text-decoration: none; }
.site-links { display: flex; gap: 4px; margin-left: 20px; }
.site-links a { padding: 6px 12px; color: var(--muted); font-weight: 500; text-decoration: none; border-radius: var(--r); }
.site-links a:hover { color: var(--text); background: var(--surface-2); }
.site-nav .spacer { flex: 1; }
.hero { padding: 72px 0 64px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.eyebrow { display: inline-block; font-size: var(--fs-sm); font-weight: 600; color: var(--accent-text); margin-bottom: 14px; }
.hero h1 { font-size: 48px; line-height: 1.18; letter-spacing: -.03em; font-weight: 750; }
.hero .lead { margin-top: 18px; font-size: 18px; line-height: 1.6; color: var(--muted); max-width: 520px; }
.hero-cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 28px; }
.hero-note { margin-top: 14px; font-size: var(--fs-sm); color: var(--muted); }
.demo { background: var(--bg); border: 1px solid var(--border); border-radius: 16px; padding: 20px; box-shadow: var(--shadow-lg); }
.demo-label { font-size: var(--fs-xs); color: var(--muted); margin-bottom: 10px; }
.demo-input { display: flex; align-items: center; gap: 8px; background: var(--surface); border: 1px solid var(--border-strong); border-radius: var(--r); padding: 10px 12px; font-size: var(--fs-sm); color: var(--muted); }
.demo-steps { display: grid; gap: 8px; margin: 14px 0; }
.demo-step { display: flex; gap: 10px; align-items: center; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); padding: 10px 12px; font-size: var(--fs-sm); color: var(--text-2); }
.demo-step .num { width: 22px; height: 22px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-text); display: grid; place-items: center; font-size: 12px; font-weight: 700; flex: none; }
.demo-phone { width: 148px; aspect-ratio: 9 / 16; margin: 0 auto; background: #0b0d12; border-radius: 16px; padding: 14px 10px; color: #fff; display: flex; flex-direction: column; gap: 8px; font-weight: 700; font-size: 12px; text-align: center; }
.demo-phone .t2 { color: #ffd600; }
.demo-phone .pic { flex: 1; border-radius: 6px; background: linear-gradient(135deg, #312e81, #4f46e5 60%, #7c3aed); }
.demo-phone .cap { font-size: 13px; }
.section { padding: 64px 0; border-top: 1px solid var(--border); }
.section.alt { background: var(--bg); }
.section-h { max-width: 640px; margin-bottom: 32px; }
.section-h h2 { font-size: 30px; line-height: 1.25; letter-spacing: -.02em; font-weight: 720; }
.section-h p { margin-top: 10px; color: var(--muted); font-size: var(--fs-md); }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.step { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 22px; }
.step b { display: block; font-size: var(--fs-md); margin: 12px 0 4px; }
.step p { color: var(--muted); font-size: var(--fs-sm); }
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.split-col { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 24px; }
.split-col .tick-list li { display: block; }
.split-col h3 { font-size: var(--fs-lg); font-weight: 700; margin-bottom: 12px; }
.tick-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.tick-list li { display: flex; gap: 10px; font-size: var(--fs-sm); color: var(--text-2); align-items: flex-start; }
.tick-list .ico { color: var(--success); width: 16px; height: 16px; margin-top: 3px; }
.tick-list b { color: var(--text); font-weight: 600; }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 340px)); gap: 16px; justify-content: center; align-items: stretch; }
.plan { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 26px; display: flex; flex-direction: column; gap: 16px; position: relative; }
.plan.featured { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), var(--shadow-md); }
.plan.current { border-color: var(--success); }
.plan-tag { position: absolute; top: -11px; left: 20px; background: var(--accent); color: #fff; font-size: 12px; font-weight: 600; padding: 2px 10px; border-radius: var(--r-full); }
.plan h3 { font-size: var(--fs-lg); font-weight: 700; }
.plan-sub { color: var(--muted); font-size: var(--fs-sm); margin-top: 2px; }
.plan-price { font-size: 32px; font-weight: 750; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.plan-price small { font-size: var(--fs); font-weight: 500; color: var(--muted); letter-spacing: 0; margin-left: 4px; }
.plan .btn { margin-top: auto; }
.faq { display: grid; gap: 10px; max-width: 760px; }
.notice { max-width: 760px; background: var(--warn-soft); color: var(--warn-text); border-radius: var(--r-lg); padding: 16px 20px; font-size: var(--fs-sm); }
.site-foot { border-top: 1px solid var(--border); padding: 28px 0; color: var(--muted); font-size: var(--fs-sm); }
.site-foot .wrap { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.site-foot a { color: var(--muted); }
.prose { max-width: 760px; margin: 0 auto; padding: 40px 24px 72px; }
.prose h1 { font-size: 28px; font-weight: 720; margin-bottom: 8px; }
.prose h2 { font-size: var(--fs-lg); font-weight: 700; margin: 26px 0 8px; }
.prose p, .prose li { color: var(--text-2); }

/* ---------- 로그인과 가입 ---------- */
.auth { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.auth-side { background: #111827; color: #e5e7eb; padding: 48px; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; }
.auth-side .brand { color: #fff; }
.auth-side h2 { font-size: 30px; line-height: 1.3; letter-spacing: -.02em; color: #fff; font-weight: 720; }
.auth-side ul { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 12px; color: #cbd5e1; font-size: var(--fs-md); }
.auth-side li { display: flex; gap: 10px; }
.auth-side li .ico { color: #a5b4fc; margin-top: 3px; }
.auth-main { display: grid; place-items: center; padding: 40px 24px; background: var(--surface); }
.auth-card { width: 100%; max-width: 400px; display: flex; flex-direction: column; gap: 18px; }
.auth-card h1 { font-size: 26px; font-weight: 720; letter-spacing: -.02em; }
.auth-card .sub { color: var(--muted); margin-top: 4px; }
.auth-links { font-size: var(--fs-sm); color: var(--muted); display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.auth-mobile-brand { display: none; }

/* ---------- 고객 화면 ---------- */
.quota-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 16px; }
.quota-card { padding: 18px 20px; display: flex; flex-direction: column; gap: 8px; }
.quota-num { font-size: var(--fs-3xl); font-weight: 720; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.quota-num small { font-size: var(--fs); color: var(--muted); font-weight: 500; letter-spacing: 0; }
.meter { height: 6px; border-radius: var(--r-full); background: var(--surface-3); overflow: hidden; }
.meter > i { display: block; height: 100%; background: var(--accent); border-radius: inherit; transition: width .3s; }
.actions-row { display: flex; gap: 10px; flex-wrap: wrap; }
.job-thumb { width: 44px; height: 60px; border-radius: 6px; object-fit: cover; background: var(--surface-3); flex: none; }
.results { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 300px)); gap: 16px; }
.result-card { padding: 12px; display: flex; flex-direction: column; gap: 10px; }
.result-card video { width: 100%; border-radius: var(--r); background: #000; max-height: 520px; }
.beat { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.beat:last-child { border-bottom: 0; }
.beat-time { font-size: var(--fs-xs); color: var(--muted); width: 54px; flex: none; font-variant-numeric: tabular-nums; }
.beat-kind { font-size: var(--fs-xs); font-weight: 600; color: var(--accent-text); }
.beat-kind.src { color: var(--warn-text); }
.progress-big { display: flex; flex-direction: column; gap: 10px; padding: 20px 24px; }
.form-card { max-width: 720px; }
.form-stack { display: flex; flex-direction: column; gap: 18px; }
.radio-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(190px, 100%), 1fr)); gap: 8px; }
.radio-card { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border: 1px solid var(--border-strong); border-radius: var(--r); cursor: pointer; font-size: var(--fs-sm); }
.radio-card:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.rights-box { border: 1px solid var(--border-strong); border-radius: var(--r); padding: 12px 14px; background: var(--surface-2); }
.toolbar { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; padding: 12px 20px; border-bottom: 1px solid var(--border); }
.toolbar .input { max-width: 300px; }
.input-inline { max-width: 130px; min-height: 32px; padding: 4px 8px; }
.err-text { color: var(--danger-text); }
.mono-sm { font-family: var(--mono); font-size: var(--fs-xs); word-break: break-all; color: var(--muted); }
td .btn + .btn { margin-left: 4px; }

@media (max-width: 900px) {
  .hero { padding: 40px 0 44px; }
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero h1 { font-size: 34px; }
  .hero .lead { font-size: var(--fs-md); }
  .steps, .split { grid-template-columns: 1fr; }
  .section { padding: 44px 0; }
  .section-h h2 { font-size: 24px; }
  .site-links { display: none; }
  .wrap { padding: 0 16px; }
  .auth { grid-template-columns: 1fr; }
  .auth-side { display: none; }
  .auth-mobile-brand { display: flex; }
  .auth-main { align-items: start; padding: 28px 16px; }
}

/* ---------- 시작 화면, 목소리, 미리보기 ---------- */
.radio-card.tall { align-items: flex-start; padding: 12px 14px; }
.radio-card b { display: block; font-weight: 650; color: var(--text); }
.radio-card small { display: block; color: var(--muted); font-size: var(--fs-xs); line-height: 1.4; margin-top: 2px; }
.radio-card input { margin-top: 2px; accent-color: var(--accent); flex: none; }
.input-row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.input-row .input { flex: 1 1 220px; }
.opt { color: var(--muted); font-weight: 500; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-btn { border: 1px solid var(--border-strong); background: var(--surface); color: var(--text-2); border-radius: var(--r-full); padding: 6px 12px; font-size: var(--fs-sm); cursor: pointer; }
.chip-btn:hover { border-color: var(--accent); color: var(--accent-text); }
/* ---------- 롱폼 주제 화면 (create.js, 2026-11-05): 주제 칸 + 예시 칩 + AI와 주제 다듬기 대화. 카테고리 고르기는 없앴다 ---------- */
.topic-input { min-height: 84px; resize: vertical; font-size: var(--fs-md); line-height: 1.5; padding-top: 10px; padding-bottom: 10px; }
.topic-examples { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 10px; min-width: 0; }
.topic-examples-label { font-size: var(--fs-sm); color: var(--muted); margin-right: 2px; }
.topic-examples .chip-btn { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tchat { border: 1px solid var(--border-strong); border-radius: var(--r-lg); background: var(--surface-2); min-width: 0; overflow: hidden; }
.tchat-head { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-bottom: 1px solid var(--border); background: var(--surface); }
.tchat-ico { width: 34px; height: 34px; border-radius: 10px; background: var(--accent-soft); color: var(--accent-text); display: grid; place-items: center; flex: none; }
.tchat-ico .ico { width: 18px; height: 18px; }
.tchat-title { flex: 1; min-width: 0; }
.tchat-title b { display: block; font-size: var(--fs-md); font-weight: 650; color: var(--text); }
.tchat-title small { display: block; color: var(--muted); font-size: var(--fs-xs); line-height: 1.4; }
.tchat-count { flex: none; font-size: var(--fs-xs); font-weight: 650; color: var(--text-2); background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--r-full); padding: 3px 9px; font-variant-numeric: tabular-nums; }
.tchat-log { display: flex; flex-direction: column; gap: 10px; padding: 14px; max-height: 420px; overflow-y: auto; }
.tchat-log:empty { display: none; }
.tchat-msg { max-width: 88%; padding: 10px 12px; border-radius: var(--r-lg); font-size: var(--fs-sm); line-height: 1.55; overflow-wrap: anywhere; word-break: keep-all; white-space: pre-wrap; }
.tchat-msg.me { align-self: flex-end; background: var(--accent); color: #fff; border-bottom-right-radius: 4px; }
.tchat-msg.ai { align-self: flex-start; background: var(--surface); color: var(--text); border: 1px solid var(--border); border-bottom-left-radius: 4px; }
.tchat-msg.wait { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); }
.tchat-msg.err { align-self: stretch; max-width: none; background: var(--surface); color: var(--danger-text); border: 1px dashed var(--border-strong); }
.tchat-final { margin: 0 14px 14px; padding: 12px 14px; border: 1px solid var(--accent); border-radius: var(--r-lg); background: var(--surface); display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.tchat-final-label { font-size: var(--fs-xs); font-weight: 650; color: var(--accent-text); }
.tchat-final-topic { font-size: var(--fs-md); font-weight: 700; color: var(--text); overflow-wrap: anywhere; }
.tchat-final-angle { font-size: var(--fs-sm); color: var(--text-2); line-height: 1.5; overflow-wrap: anywhere; }
.tchat-titles { display: flex; flex-direction: column; gap: 6px; }
.tchat-title-opt { display: flex; align-items: flex-start; gap: 8px; padding: 8px 10px; border: 1px solid var(--border); border-radius: var(--r); cursor: pointer; font-size: var(--fs-sm); color: var(--text); min-width: 0; overflow-wrap: anywhere; }
.tchat-title-opt input { margin-top: 3px; accent-color: var(--accent); flex: none; }
.tchat-title-opt:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.tchat-warn { font-size: var(--fs-sm); color: var(--text-2); }
.tchat-input { display: flex; gap: 8px; align-items: flex-end; padding: 12px 14px; border-top: 1px solid var(--border); background: var(--surface); }
.tchat-input .input { flex: 1 1 auto; min-width: 0; min-height: 40px; max-height: 140px; resize: none; line-height: 1.45; }
.tchat-input .btn { flex: none; }
.tchat-foot { display: flex; align-items: center; gap: 10px; padding: 0 14px 12px; background: var(--surface); font-size: var(--fs-xs); color: var(--muted); }
.tchat-foot .link-btn { margin-left: auto; }
.link-btn { padding: 0; border: 0; background: none; color: var(--muted); font-size: var(--fs-sm); text-decoration: underline; cursor: pointer; }
.link-btn:hover { color: var(--text); }
.topic-foot { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.topic-foot .btn { flex: 0 1 auto; }
@media (max-width: 479px) { .topic-foot .btn { flex: 1 1 100%; } .tchat-msg { max-width: 94%; } }
.profile-box { border: 1px solid var(--border); background: var(--surface-2); border-radius: var(--r); padding: 12px 14px; font-size: var(--fs-sm); }
.profile-box ul { margin: 6px 0 0; padding-left: 18px; color: var(--text-2); }
.voice-chosen { flex: 1 1 200px; color: var(--muted); font-size: var(--fs-sm); }
.tabs-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; max-width: 720px; }
.tab-big { display: flex; gap: 12px; align-items: center; padding: 14px 16px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); color: inherit; text-decoration: none; }
.tab-big > .ico { width: 38px; height: 38px; padding: 9px; border-radius: 10px; background: var(--accent-soft); color: var(--accent-text); }
.tab-big b { display: block; font-size: var(--fs-md); }
.tab-big small { display: block; color: var(--muted); font-size: var(--fs-xs); }
.tab-big[aria-selected="true"] { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.area-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.area-card { display: flex; gap: 14px; align-items: center; padding: 20px; color: inherit; text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.area-card:hover { border-color: var(--accent); box-shadow: var(--shadow-md); }
.area-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.area-body b { font-size: var(--fs-lg); }
.area-body small { color: var(--muted); font-size: var(--fs-sm); }
.quota-line { font-size: var(--fs-sm); font-weight: 600; color: var(--text-2); margin-top: 6px; }
.meter { display: block; }
.plan-strip { display: flex; align-items: center; gap: 12px; padding: 14px 20px; flex-wrap: wrap; }
.plan-strip .btn { margin-left: auto; }
.voice-filters { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: 8px; }
.voice-filters .input-inline { max-width: 130px; }
.voice-list { max-height: 340px; overflow-y: auto; border: 1px solid var(--border); border-radius: var(--r); margin-top: 8px; }
.voice-row { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-bottom: 1px solid var(--border); }
.voice-row:last-child { border-bottom: 0; }
.voice-row.selected { background: var(--accent-soft); }
.segmented [aria-selected="true"] { background: var(--surface); color: var(--text); box-shadow: var(--shadow-xs); }
.review-grid { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 16px; align-items: start; }
.review-grid .results { grid-template-columns: 1fr; }
.result-card.wide video { max-height: none; aspect-ratio: 16 / 9; }
.beat-edit { display: flex; flex-direction: column; gap: 4px; padding: 10px 0; border-bottom: 1px solid var(--border); }
.beat-edit:last-child { border-bottom: 0; }
.approve-bar { position: sticky; bottom: 12px; box-shadow: var(--shadow-lg); z-index: 5; }
.approve-bar .card-body { display: flex; justify-content: space-between; gap: 14px; align-items: center; flex-wrap: wrap; }
.approve-text { flex: 1 1 260px; }
@media (max-width: 1023.98px) { .approve-bar { bottom: calc(var(--tabbar-h) + 8px); } }
@media (max-width: 760px) {
  .review-grid, .tabs-row, .area-grid { grid-template-columns: 1fr; }
  .approve-bar { position: static; }
  .approve-bar .actions-row .btn { flex: 1 1 auto; }
  .voice-filters .input-inline { flex: 1 1 40%; max-width: none; }
}
.pay-card { max-width: 720px; }
.pay-note { white-space: pre-line; font-weight: 600; color: var(--text); background: var(--surface-2); border-radius: var(--r); padding: 12px 14px; margin: 0; }

/* ---------- 휴대폰: 표를 카드처럼 (머리글은 data-label 로 복사됨) ---------- */
@media (max-width: 760px) {
  .table-wrap table.table, .table-wrap table.table tbody, .table-wrap table.table tr, .table-wrap table.table td { display: block; width: 100%; }
  .table-wrap table.table thead { display: none; }
  .table-wrap table.table tr { border: 1px solid var(--border); border-radius: var(--r); padding: 8px 12px; margin: 10px 12px; background: var(--surface); }
  .table-wrap table.table td { border: 0; padding: 4px 0; text-align: left; }
  .table-wrap table.table td.num { text-align: left; }
  .table-wrap table.table td[data-label]::before { content: attr(data-label); display: block; font-size: var(--fs-xs); color: var(--muted); font-weight: 600; margin-bottom: 1px; }
  .table-wrap table.table td:empty { display: none; }
  .table-wrap table.table td .hstack { flex-wrap: wrap; }
  .table-wrap table.table td .input-inline { max-width: none; flex: 1 1 100%; }
}
/* ---------- 신고 창구, 랜딩 보강 ---------- */
.report-form { max-width: 640px; margin-top: 16px; }
.report-form textarea.input { min-height: 160px; resize: vertical; }
.trust { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.trust .step p { margin-top: 6px; }
.examples { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.example { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.example .demo-phone { width: 132px; }
.example .demo-wide { aspect-ratio: 16 / 9; border-radius: 10px; background: linear-gradient(135deg, #0f172a, #155e75 60%, #0e7490); color: #fff; font-weight: 700; font-size: 12px; display: grid; place-items: center; padding: 10px; text-align: center; }
.example b { font-size: var(--fs-md); }
.example p { color: var(--muted); font-size: var(--fs-sm); }
.site-foot .biz { width: 100%; font-size: var(--fs-xs); color: var(--muted); line-height: 1.6; }
@media (max-width: 900px) { .trust, .examples { grid-template-columns: 1fr; } }

/* ---------- 원본 파일 올리기 (create.js sourceField / wireSource). 링크 탭이 기본, 파일은 두 번째 탭 ---------- */
.src-switch { display: flex; max-width: 100%; }
.src-switch button { flex: 1 1 0; min-width: 0; text-align: center; white-space: nowrap; }
.drop-zone { margin-top: 10px; border: 1.5px dashed var(--border-strong); border-radius: var(--r-lg); background: var(--surface-2); padding: 18px 16px; cursor: pointer; transition: border-color .15s, background .15s; min-width: 0; }
.drop-zone:hover, .drop-zone.over { border-color: var(--accent); background: var(--accent-soft); }
.drop-zone:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.up-idle { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; color: var(--text-2); }
.up-idle .ico { width: 26px; height: 26px; color: var(--accent-text); margin-bottom: 4px; }
.up-idle b { font-size: var(--fs-sm); font-weight: 650; color: var(--text); word-break: keep-all; }
.up-idle small { font-size: var(--fs-xs); color: var(--muted); }
.up-busy, .up-done { display: flex; flex-direction: column; gap: 8px; cursor: default; }
.up-row { display: flex; align-items: center; gap: 10px; min-width: 0; }
.up-row .btn { flex: none; margin-left: auto; }
.up-name { flex: 1 1 0; min-width: 0; font-size: var(--fs-sm); font-weight: 650; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.up-ok { flex: none; color: var(--success); width: 18px; height: 18px; }
.up-busy small, .up-done small { font-size: var(--fs-xs); font-variant-numeric: tabular-nums; }

/* ---------- 썸네일 (결과 화면, thumbnails.js, 2026-11-05) : 이 블록은 썸네일 전용이다 ---------- */
.thumb-card .card-head { align-items: flex-start; }
.thumb-body { display: flex; flex-direction: column; gap: 12px; }
.thumb-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 16px; }
.thumb-item { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.thumb-item img { width: 100%; max-width: 100%; border-radius: var(--r); background: #000; object-fit: cover; }
.thumb-item.wide img { aspect-ratio: 16 / 9; }
.thumb-item.tall img { aspect-ratio: 9 / 16; width: auto; max-height: 440px; margin: 0 auto; }
.thumb-meta { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; min-width: 0; }
.thumb-item .input { width: 100%; }
.thumb-item .actions-row .btn { flex: 1 1 auto; justify-content: center; }
@media (max-width: 760px) { .thumb-grid { grid-template-columns: 1fr; } .thumb-item.tall img { max-height: 360px; } }

/* ---------- 공개 페이지 개편 (11/15): 가운데 히어로, 실제 화면 판, 기능 섹션, 요금제 4칸, 바닥글 4열 ---------- */
.btn-outline { background: var(--surface); border: 1px solid var(--accent); color: var(--accent-text); box-shadow: none; }
.btn-outline:hover { background: var(--accent-soft); color: var(--accent-text); }
.text-link { color: var(--accent-text); font-weight: 600; text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.text-link::after { content: " \2192"; }
.section-h.center { margin-left: auto; margin-right: auto; text-align: center; }
.center-link { text-align: center; margin-top: 24px; }

/* 상단 메뉴 펼침 */
.nav-drop { position: relative; }
.nav-drop > summary { list-style: none; cursor: pointer; padding: 6px 12px; color: var(--muted); font-weight: 500; border-radius: var(--r); }
.nav-drop > summary::-webkit-details-marker { display: none; }
.nav-drop > summary::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-3px) rotate(45deg); }
.nav-drop > summary:hover, .nav-drop[open] > summary { color: var(--text); background: var(--surface-2); }
.nav-drop-menu { position: absolute; top: calc(100% + 6px); left: 0; min-width: 180px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); padding: 6px; display: grid; }
.nav-drop-menu a { padding: 8px 12px; }

/* 히어로 */
.hero-center { text-align: center; padding: 88px 0 56px; }
.hero-pre { font-size: 30px; font-weight: 700; color: var(--muted); letter-spacing: -.02em; }
.hero-center h1 { font-size: 64px; line-height: 1.15; letter-spacing: -.035em; font-weight: 800; margin-top: 8px; word-break: keep-all; }
.hero-benefits { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 8px; font-size: 19px; color: var(--muted); }
.hero-benefits b { color: var(--accent); font-weight: 700; }
.hero-center .hero-cta { justify-content: center; margin-top: 36px; }
.hero-center .hero-cta .btn { min-width: 150px; }
.hero-center .hero-note { margin-top: 16px; }

/* 실제 작업 화면 판 */
.demo-band { padding: 0 0 72px; }
.demo-panel { background: linear-gradient(160deg, var(--accent-soft), color-mix(in srgb, var(--accent) 22%, var(--surface))); border-radius: 24px; padding: 48px 48px 0; overflow: hidden; }
.demo-frame { max-width: 960px; margin: 0 auto; background: var(--surface); border-radius: 12px 12px 0 0; box-shadow: var(--shadow-lg); overflow: hidden; border: 1px solid var(--border); border-bottom: 0; }
.demo-bar { display: flex; gap: 6px; padding: 10px 12px; background: var(--surface-2); border-bottom: 1px solid var(--border); }
.demo-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--border-strong); }
.demo-video { width: 100%; height: auto; aspect-ratio: 1280 / 760; background: var(--surface); }

/* 기능 1 (가운데), 기능 2 (왼쪽 그림, 오른쪽 글) */
.feature-center { text-align: center; }
.feature-center h2, .feature-side h2, .slogan-band h2, .final-cta h2 { font-size: 36px; line-height: 1.25; letter-spacing: -.025em; font-weight: 780; word-break: keep-all; }
.feature-center p { margin-top: 14px; font-size: 18px; color: var(--muted); }
.feature-cta { display: flex; gap: 16px; align-items: center; justify-content: center; flex-wrap: wrap; margin-top: 28px; }
.feature-cta.left { justify-content: flex-start; }
.feature-side-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.feature-side p { margin-top: 12px; font-size: 17px; color: var(--muted); }
.feature-side .feature-quote { margin: 0 0 8px; font-size: 20px; font-weight: 700; color: var(--accent); }
.feature-pic { display: flex; gap: 16px; justify-content: center; background: var(--bg); border-radius: 20px; padding: 32px; }
.feature-pic img { width: 42%; max-width: 200px; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 12px; box-shadow: var(--shadow-md); }

/* 슬로건 띠 */
.slogan-band { text-align: center; padding: 64px 0; background: var(--accent-soft); }
.slogan-band p { margin-top: 12px; font-size: 18px; color: var(--text-2); }

/* 기능 카드 3x2, 쓰임새 2x2 */
.fcards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.fcard { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 24px; }
.fcard b { display: block; font-size: var(--fs-lg); margin: 14px 0 6px; }
.fcard p { color: var(--muted); font-size: var(--fs); }
.ucards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.ucard { display: flex; gap: 18px; align-items: center; background: var(--bg); border-radius: var(--r-lg); padding: 18px; }
.ucard img { width: 84px; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 8px; flex: none; }
.ucard b { display: block; font-size: var(--fs-lg); margin-bottom: 6px; }
.ucard p { color: var(--muted); font-size: var(--fs); }

/* 데이터 보호 어두운 띠 */
.dark-band { background: #111827; color: #e5e7eb; padding: 72px 0; }
.dark-band .section-h h2 { color: #fff; }
.dark-band .section-h p { color: #9ca3af; }
.promises { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.promise { border: 1px solid #374151; border-radius: var(--r-lg); padding: 22px; background: #1f2937; }
.promise b { display: block; color: #fff; font-size: var(--fs-md); margin-bottom: 8px; }
.promise p { color: #9ca3af; font-size: var(--fs-sm); }
.promise a { color: #c7d2fe; }

.faq { margin: 0 auto; }
.final-cta { text-align: center; padding: 72px 0; border-top: 1px solid var(--border); }
.final-cta .btn { margin-top: 24px; }

/* 요금제 4칸 */
.price-head { text-align: center; padding: 64px 0 24px; }
.price-head h1 { font-size: 44px; line-height: 1.2; letter-spacing: -.03em; font-weight: 800; word-break: keep-all; }
.price-head p { margin-top: 12px; color: var(--muted); font-size: 17px; }
.seg-toggle { display: inline-flex; margin-top: 24px; background: var(--surface-2); border-radius: var(--r-full); padding: 4px; }
.seg-toggle span { padding: 8px 18px; border-radius: var(--r-full); font-weight: 600; font-size: var(--fs-sm); color: var(--muted); }
.seg-toggle .on { background: var(--surface); color: var(--text); box-shadow: var(--shadow-sm); }
.price-body { padding: 24px 0 64px; }
.pgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 16px; align-items: stretch; padding-top: 14px; }
.pgrid[data-count="1"], .pgrid[data-count="2"] { grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 340px)); justify-content: center; }
.pcol { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 24px 22px; display: flex; flex-direction: column; gap: 14px; position: relative; min-width: 0; }
.pcol.featured { border-color: var(--accent); background: color-mix(in srgb, var(--accent-soft) 70%, var(--surface)); box-shadow: 0 0 0 1px var(--accent), var(--shadow-md); }
.pcol.dark { border-color: #374151; }
.pcol-band { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); white-space: nowrap; background: var(--accent); color: #fff; font-size: 12px; font-weight: 700; padding: 3px 12px; border-radius: var(--r-full); }
.pcol.dark .pcol-band { background: #111827; }
.pcol.dark .btn-primary { background: #111827; border-color: #111827; }
.pcol h3 { font-size: var(--fs-lg); font-weight: 700; }
.pcol .plan-price { font-size: 30px; }
.pcol-day { color: var(--muted); font-size: var(--fs-sm); margin-top: 2px; }
.pcol-buy { display: grid; gap: 8px; }
.pcol-bank { font-size: var(--fs-sm); color: var(--muted); text-align: center; }
.pcol-h { font-size: var(--fs-sm); font-weight: 700; color: var(--text); border-top: 1px solid var(--border); padding-top: 14px; }
.pcol .tick-list li.no { color: var(--faint); }
.pcol .tick-list li.no .ico { color: var(--faint); }
.pgrid.compact .pcol { gap: 12px; }
.pay-box { margin-top: 40px; background: var(--bg); border: 1px solid var(--border); border-radius: 16px; padding: 28px; }
.pay-box h2 { font-size: 22px; font-weight: 750; }
.pay-lead { margin-top: 8px; color: var(--muted); }
.pay-ways { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 18px; }
.pay-way { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 20px; }
.pay-way b { display: flex; gap: 8px; align-items: center; font-size: var(--fs-md); }
.pay-num { width: 24px; height: 24px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font-size: 13px; flex: none; }
.pay-way ol { margin: 12px 0 0; padding-left: 20px; color: var(--text-2); font-size: var(--fs-sm); display: grid; gap: 4px; }
.fine-print { margin: 28px 0 0; padding-left: 18px; color: var(--muted); font-size: var(--fs-sm); display: grid; gap: 4px; }
.pill-band { margin-top: 40px; text-align: center; }
.pill-band h2 { font-size: 20px; font-weight: 750; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 14px; }
.pills span { border: 1px solid var(--border-strong); border-radius: var(--r-full); padding: 7px 14px; font-size: var(--fs-sm); background: var(--surface); }

/* 바닥글 4열 + 사업자 정보 2줄 */
.site-foot { padding: 40px 0 32px; background: var(--bg); }
.site-foot .wrap { display: block; }
.foot-top { display: flex; gap: 40px; justify-content: space-between; flex-wrap: wrap; }
.foot-cols { display: grid; grid-template-columns: repeat(4, minmax(110px, auto)); gap: 24px 40px; }
.foot-cols h4 { margin: 0 0 10px; font-size: var(--fs-sm); color: var(--text); font-weight: 700; }
.foot-cols a { display: block; padding: 3px 0; text-decoration: none; overflow-wrap: anywhere; }
.foot-cols a:hover { color: var(--text); text-decoration: underline; }
.site-foot .biz { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--border); font-size: var(--fs-xs); color: var(--muted); display: grid; gap: 4px; }
.site-foot .biz p { display: flex; flex-wrap: wrap; gap: 2px 14px; }
.site-foot .biz span { overflow-wrap: anywhere; }

@media (max-width: 900px) {
  .hero-center { padding: 48px 0 40px; }
  .hero-pre { font-size: 20px; }
  .hero-center h1 { font-size: 40px; }
  .hero-benefits { font-size: 16px; margin-top: 24px; }
  .nav-try { display: none; }
  .demo-band { padding-bottom: 44px; }
  .demo-panel { padding: 20px 14px 0; border-radius: 16px; }
  .feature-center h2, .feature-side h2, .slogan-band h2, .final-cta h2 { font-size: 26px; }
  .feature-center p, .feature-side p, .slogan-band p { font-size: 16px; }
  .feature-center p br { display: none; }
  .feature-side-grid { grid-template-columns: 1fr; gap: 28px; }
  .feature-pic { padding: 20px; }
  .fcards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ucards, .pay-ways { grid-template-columns: 1fr; }
  .promises { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dark-band, .slogan-band, .final-cta { padding: 48px 0; }
  .price-head { padding: 40px 0 16px; }
  .price-head h1 { font-size: 30px; }
  .foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; }
  .auth { min-height: 0; }
}
@media (max-width: 560px) {
  .hero-center h1 { font-size: 32px; }
  .hero-center .hero-cta .btn { flex: 1 1 100%; }
  .fcards, .promises { grid-template-columns: 1fr; }
  .site-nav .btn-ghost { padding-left: 8px; padding-right: 8px; }
  .pay-box { padding: 20px 16px; }
}

/* 2026-11-15 마무리: 히어로 완성 쇼츠 3장, 기간 토글(30일/1년), 무료 체험 한 줄, 입금 4단계 */
.shorts-stage { display: flex; justify-content: center; align-items: flex-end; gap: clamp(12px, 3vw, 36px); padding: 44px 24px 40px; }
.short-card { margin: 0; display: grid; gap: 10px; justify-items: center; flex: 0 1 auto; }
.short-card img { display: block; width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 18px; border: 6px solid #0b0d12; background: #0b0d12; box-shadow: var(--shadow-lg); }
.short-card.main { width: clamp(150px, 24vw, 250px); }
.short-card.side { width: clamp(110px, 18vw, 200px); opacity: .96; }
.short-card figcaption { font-size: var(--fs-sm); font-weight: 700; color: var(--accent-text); background: var(--surface); border-radius: var(--r-full); padding: 4px 12px; box-shadow: var(--shadow-sm); }
.flow-steps { list-style: none; margin: 18px auto 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; color: var(--text-2); font-size: var(--fs-sm); font-weight: 600; }
.flow-steps li { display: flex; align-items: center; gap: 8px; }
.flow-steps b { width: 22px; height: 22px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-text); display: grid; place-items: center; font-size: 12px; }
.period-wrap { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 8px 12px; margin: 20px 0 8px; }
.period-wrap .seg-toggle { margin-top: 0; }
.seg-toggle button { appearance: none; border: 0; background: transparent; cursor: pointer; font: inherit; padding: 8px 22px; border-radius: var(--r-full); font-weight: 600; font-size: var(--fs-sm); color: var(--muted); }
.seg-toggle button.on { background: var(--surface); color: var(--text); box-shadow: var(--shadow-sm); }
.seg-toggle button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.save-tag { font-size: var(--fs-xs); font-weight: 700; color: var(--accent-text); background: var(--accent-soft); border-radius: var(--r-full); padding: 4px 10px; }
.free-line { margin: 22px 0 0; display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 8px 14px; font-weight: 600; color: var(--text-2); text-align: center; }
.pay-steps { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.pay-steps li { display: flex; gap: 10px; align-items: flex-start; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 14px; font-size: var(--fs-sm); color: var(--text-2); }
@media (max-width: 900px) {
  .shorts-stage { padding: 28px 8px 28px; gap: 10px; }
  .short-card img { border-width: 4px; border-radius: 12px; }
  .short-card figcaption { font-size: 11px; padding: 3px 8px; }
  .pay-steps { grid-template-columns: 1fr; }
}

/* 2026-11-24 (owner: 홈페이지를 눈에 띄게, 사람 얼굴과 배경이 보이는 템플릿 예시): 히어로 쇼츠 5장 + 템플릿 15가지 흐르는 줄 */
.short-card.far { width: clamp(90px, 14vw, 160px); opacity: .9; }
.shorts-stage .short-card:nth-child(1) { transform: rotate(-5deg) translateY(10px); }
.shorts-stage .short-card:nth-child(2) { transform: rotate(-2.5deg); }
.shorts-stage .short-card:nth-child(4) { transform: rotate(2.5deg); }
.shorts-stage .short-card:nth-child(5) { transform: rotate(5deg) translateY(10px); }
.shorts-stage .short-card img { transition: transform .25s ease; }
.shorts-stage .short-card:hover img { transform: translateY(-6px) scale(1.02); }
.demo-panel.shorts-stage { background: radial-gradient(120% 90% at 50% 0%, #eef0ff 0%, #e4e2ff 55%, #d9d5ff 100%); }
.tpl-gallery { padding-bottom: 56px; }
.tpl-strip { overflow: hidden; padding: 8px 0 18px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.tpl-track { display: flex; gap: 18px; width: max-content; animation: tpl-run 70s linear infinite; }
.tpl-strip:hover .tpl-track { animation-play-state: paused; }
.tpl-item { margin: 0; width: 168px; flex: none; display: grid; gap: 8px; justify-items: center; }
.tpl-item img { display: block; width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 14px; border: 4px solid #0b0d12; background: #0b0d12; box-shadow: var(--shadow-md); }
.tpl-item figcaption { font-size: var(--fs-sm); font-weight: 700; color: var(--text-2); }
@keyframes tpl-run { from { transform: translateX(0); } to { transform: translateX(calc(-50% - 9px)); } }
@media (prefers-reduced-motion: reduce) { .tpl-track { animation: none; } .tpl-strip { overflow-x: auto; } .shorts-stage .short-card { transform: none !important; } }
@media (max-width: 900px) {
  .short-card.far { display: none; }
  .shorts-stage .short-card { transform: none !important; }
  .tpl-item { width: 128px; }
}

/* 2026-11-24 NVIDIA Inception 회원 배지 (공식 파일, 색과 비율 그대로, 우리 로고보다 크지 않게) */
.inception-line { margin-top: 18px; display: flex; align-items: center; justify-content: center; gap: 12px; font-size: var(--fs-sm); color: var(--muted); }
.hero:not(.hero-center) .inception-line { justify-content: flex-start; }
.inception-badge { display: block; height: 36px; width: auto; flex: none; }
.foot-brand { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.inception-badge.foot { height: 30px; }
@media (max-width: 600px) { .inception-line { flex-direction: column; gap: 8px; } }
.site-foot .nv-legal { width: 100%; margin-top: 10px; font-size: var(--fs-xs); color: var(--muted); line-height: 1.5; }

/* 2026-11-24 내 PC 앱 연결 목록 */
.desk-list { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 8px; }
.desk-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; border: 1px solid var(--border); border-radius: var(--r); }
.desk-row .badge { display: inline-block; margin-left: 6px; padding: 2px 8px; border-radius: 999px; background: var(--primary); color: #fff; font-size: var(--fs-xs); }

/* 2026-11-24 자동 랭킹 후보 */
.auto-list { list-style: none; margin: 12px 0; padding: 0; display: grid; gap: 8px; }
.auto-list li { display: flex; gap: 12px; align-items: center; }
.auto-list img { width: 120px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 8px; flex: none; }
