/* HP12 (2026-11-21) 사본(미리보기) 전용. 메뉴 고정, 탭 전환 부드럽게, 프로그램 화면, 핫딜 가격, AI 프롬프트 */

/* ── 1) 탭을 눌러 다른 페이지로 갈 때: 흰 화면 없이 이어서 바뀌게(지원하는 브라우저만) ── */
@view-transition{navigation:auto}
::view-transition-old(root),::view-transition-new(root){animation-duration:.12s}
.site-head{view-transition-name:ddk-head}
::view-transition-group(ddk-head){animation:none}
::view-transition-old(ddk-head){display:none}
::view-transition-new(ddk-head){animation:none}
@media (prefers-reduced-motion:reduce){::view-transition-old(root),::view-transition-new(root){animation:none}}
/* 본문이 늦게 채워져도 아래쪽(푸터)이 튀어 오르지 않게 자리 확보 */
main#main{min-height:calc(100vh - 72px)}
.tx-list-card{min-height:60vh}

/* ── 2) 상단 메뉴: '더보기'는 모든 페이지에서 같은 내용(전자책, AI 프롬프트, 자주 묻는 질문) ── */
.site-head .nav-more{position:relative;flex:0 0 auto}
.site-head .nav-more-btn{border:0;background:transparent;color:inherit;font:inherit;cursor:pointer;padding:0;white-space:nowrap}
.site-head .nav-more-menu{position:absolute;top:calc(100% + 14px);right:0;min-width:11rem;display:flex;flex-direction:column;gap:2px;padding:8px;border:1px solid rgba(128,128,128,.35);border-radius:12px;background:#14161c;z-index:70}
.site-head .nav-more-menu[hidden]{display:none}
.site-head .nav-more-menu a{display:block;padding:9px 12px;border-radius:8px;white-space:nowrap}
html.hp1 .site-head .head-nav a[aria-current="page"]{color:#fff;font-weight:700}
html.hp1 .site-head .nav-more-btn[data-has-current]{color:#fff;font-weight:700}
/* 좁은 화면(햄버거 메뉴)에서는 '더보기' 단추 없이 세 메뉴를 다른 메뉴와 같은 줄로 보여 줌 */
html.hp1 .site-head .nav-more.is-inline,.site-head .nav-more.is-inline{display:contents!important}
html.hp1 .site-head .nav-more.is-inline .nav-more-btn,.site-head .nav-more.is-inline .nav-more-btn{display:none!important}
html.hp1 .site-head .nav-more.is-inline .nav-more-menu,html.hp1 .site-head .nav-more.is-inline .nav-more-menu[hidden],.site-head .nav-more.is-inline .nav-more-menu,.site-head .nav-more.is-inline .nav-more-menu[hidden]{display:contents!important}

/* ── 3) 프로그램 화면 ── */
.p12-jump{display:flex;flex-wrap:wrap;gap:8px;margin:18px 0 0}
.p12-jump a{padding:9px 14px;border:1px solid rgba(128,128,128,.4);border-radius:999px;font-size:14px;font-weight:700;color:inherit;text-decoration:none}
.p12-jump a:hover{border-color:currentColor}
.p12-sec{padding-top:8px;scroll-margin-top:90px}
.p12-sec > h2{margin:0 0 8px}
.p12-price{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px 12px;margin:10px 0 0;font-size:15px}
.p12-price b{font-size:22px}
.p12-price s{opacity:.6}
.p12-price em{font-style:normal;font-size:13px;padding:3px 8px;border-radius:999px;border:1px solid rgba(128,128,128,.45)}
.p12-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:20px 0 0}
.p12-card{display:flex;gap:16px;padding:16px;border:1px solid rgba(128,128,128,.35);border-radius:16px;scroll-margin-top:90px;min-width:0}
.p12-media{flex:none;width:132px}
.p12-media .box{position:relative;aspect-ratio:9/16;border-radius:12px;overflow:hidden;background:rgba(128,128,128,.14)}
.p12-media video{width:100%;height:100%;object-fit:cover;display:block;background:#000}
.p12-media .wait{position:absolute;inset:0;display:grid;place-items:center;text-align:center;padding:10px;border:1px dashed rgba(128,128,128,.55);border-radius:12px;font-size:13px;line-height:1.5;font-weight:700}
.p12-media .cap{display:block;margin-top:6px;font-size:12px;line-height:1.4;text-align:center;opacity:.8}
.p12-body{flex:1;min-width:0;display:flex;flex-direction:column;gap:8px}
.p12-body h3{margin:0;font-size:19px;line-height:1.35}
.p12-body p{margin:0;font-size:15px;line-height:1.6}
.p12-tag{align-self:flex-start;font-size:12px;font-weight:700;padding:3px 9px;border-radius:999px;border:1px solid rgba(128,128,128,.45)}
.p12-kw{font-size:13px;opacity:.8}
.p12-body .won{font-weight:700}
.p12-body .btn{align-self:flex-start;margin-top:auto}
.p12-bundle{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:18px 0 0}
.p12-bundle > div{padding:18px;border:1px solid rgba(128,128,128,.35);border-radius:16px}
.p12-bundle h3{margin:0 0 8px;font-size:17px}
.p12-bundle ul{margin:0;padding-left:20px}
.p12-bundle li{font-size:15px;line-height:1.7}
.p12-chips{display:flex;flex-wrap:wrap;gap:8px;list-style:none;padding:0!important;margin:0}
.p12-chips li{padding:6px 12px;border-radius:999px;border:1px solid rgba(128,128,128,.45);font-size:14px!important;line-height:1.4!important}
.p12-tblwrap{margin:18px 0 0}
.p12-tbl{width:100%;border-collapse:collapse;font-size:15px}
.p12-tbl th,.p12-tbl td{padding:12px 10px;border-bottom:1px solid rgba(128,128,128,.3);text-align:center;vertical-align:middle}
.p12-tbl thead th{font-size:13px;font-weight:700;line-height:1.4}
.p12-tbl tbody th{text-align:left;font-size:17px;white-space:nowrap}
.p12-tbl td b{display:block;font-size:16px;white-space:nowrap}
.p12-tbl td small{display:block;font-size:12px;opacity:.7;white-space:nowrap}
.p12-tbl td s{opacity:.6}
.p12-notes{margin:14px 0 0;padding-left:20px}
.p12-notes li{font-size:14px;line-height:1.7}
.p12-cta{display:flex;flex-wrap:wrap;gap:10px;margin:18px 0 0}
@media (max-width:900px){.p12-grid,.p12-bundle{grid-template-columns:1fr}}
@media (max-width:760px){
  .p12-tbl thead{display:none}
  .p12-tbl,.p12-tbl tbody,.p12-tbl tr,.p12-tbl th,.p12-tbl td{display:block;width:100%}
  .p12-tbl tr{border:1px solid rgba(128,128,128,.35);border-radius:14px;padding:8px 12px;margin:0 0 12px}
  .p12-tbl tbody th{border-bottom:1px solid rgba(128,128,128,.3);padding:8px 0}
  .p12-tbl td{display:flex;justify-content:space-between;align-items:center;gap:12px;text-align:right;padding:9px 0}
  .p12-tbl td:last-child{border-bottom:0}
  .p12-tbl td::before{content:attr(data-label);text-align:left;font-size:13px;opacity:.8}
}
@media (max-width:480px){.p12-card{gap:12px;padding:14px}.p12-media{width:104px}}

/* ── 4) 핫딜 가격: 정가(취소선) + 할인율 + 할인가 ── */
.dx-price{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 8px;margin:6px 0 0}
.dx-price .dx-orig{font-size:.86em;opacity:.6;text-decoration:line-through}
.dx-price .dx-pct{font-weight:800;color:#ff5a5f}
.dx-price .dx-sale{font-weight:800;font-size:1.08em}
.dx-price .dx-lbl{font-size:.8em;opacity:.7}
.dx-price-note{margin:8px 0 0;font-size:13px;line-height:1.6;opacity:.8}

/* ── 5) AI 프롬프트 ── */
.hp12-tools{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin:16px 0 0}
.hp12-tools input[type=search]{flex:1 1 220px;min-width:0;padding:11px 14px;border-radius:12px;border:1px solid rgba(128,128,128,.45);background:transparent;color:inherit;font:inherit;font-size:15px}
.hp12-cats{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0 0}
.hp12-cats button{appearance:none;background:none;color:inherit;font:inherit;font-size:13px;font-weight:700;padding:7px 12px;border-radius:999px;border:1px solid rgba(128,128,128,.45);cursor:pointer}
.hp12-cats button[aria-pressed="true"]{border-color:currentColor;background:rgba(128,128,128,.18)}
.hp12-count{margin:12px 0 0;font-size:14px;opacity:.8}
.hp11-item .tx em{font-style:normal;font-size:12px;opacity:.7}
.hp12-meta{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0 0;list-style:none;padding:0}
.hp12-meta li{font-size:13px;font-weight:700;padding:5px 10px;border-radius:999px;border:1px solid rgba(128,128,128,.45)}
.hp12-sample{white-space:pre-wrap;word-break:keep-all;margin:0;padding:14px 16px;border-radius:12px;background:rgba(128,128,128,.12);font-size:15px;line-height:1.7}
.hp11-code pre{max-height:none;overflow:visible}
.hp12-paid{list-style:none;margin:20px 0 0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.hp12-pcard{display:flex;flex-direction:column;gap:8px;padding:18px;border:1px solid rgba(128,128,128,.35);border-radius:16px;min-width:0}
.hp12-pcard h3{margin:0;font-size:17px;line-height:1.4}
.hp12-pcard p{margin:0;font-size:14px;line-height:1.6}
.hp12-pcard .cat{font-size:12px;font-weight:700;opacity:.75}
.hp12-pcard .won{font-size:18px;font-weight:800}
.hp12-pcard .pv{padding:10px 12px;border-radius:10px;background:rgba(128,128,128,.12);font-size:13px;line-height:1.6;white-space:pre-wrap}
.hp12-pcard .row{display:flex;flex-wrap:wrap;gap:8px;margin-top:auto;padding-top:6px}
.hp12-off{opacity:.6;cursor:not-allowed;pointer-events:none}
.hp12-lock{margin:12px 0 0;padding:14px 16px;border:1px dashed rgba(128,128,128,.6);border-radius:12px;font-size:14px;line-height:1.6}
.hp12-faq h3{margin:26px 0 10px;font-size:17px}
.hp12-faq h3:first-child{margin-top:8px}
@media (max-width:760px){.hp12-paid{grid-template-columns:1fr}}
.hp12-in{width:100%;border-collapse:collapse;margin:10px 0 0;font-size:15px}
.hp12-in th,.hp12-in td{padding:9px 10px;border-bottom:1px solid rgba(128,128,128,.3);text-align:left;vertical-align:top;line-height:1.6}
.hp12-in tbody th{white-space:nowrap;font-weight:700}
@media (max-width:560px){.hp12-in thead{display:none}.hp12-in,.hp12-in tbody,.hp12-in tr,.hp12-in th,.hp12-in td{display:block}.hp12-in tbody th{border-bottom:0;padding-bottom:0}}
.hp12-pv .hp12-h3{margin:18px 0 6px;font-size:16px}
.hp12-pv .hp12-h3:first-of-type{margin-top:0}
.hp12-bq{margin:6px 0;padding:10px 14px;border-left:3px solid rgba(128,128,128,.6);background:rgba(128,128,128,.1);border-radius:0 10px 10px 0;font-size:15px;line-height:1.7}
.hp12-pv pre{margin:8px 0 12px}

/* HP13 (2026-11-22) 목록이 늦게 채워질 때 카드가 커지며 아래가 밀리는 현상(레이아웃 이동) 줄이기: 목록 자리를 먼저 잡아 둔다 */
body[data-page="preview-tab"] .tx-list-card{min-height:70vh}
body[data-page="preview-tab"] .dx-grid{min-height:60vh}
body[data-page="dashboard"] .dash-panel.is-on{min-height:70vh}

/* HP13 실측값(1280폭): 나중에 채워지는 요소의 자리를 먼저 확보 */
body[data-page="preview-tab"] #dx-kakao{min-height:64px}
body[data-page="preview-tab"] #dx-cat{min-height:76px}
body[data-page="dashboard"] .dash-state[hidden]{display:block;visibility:hidden;min-height:45px}
body[data-page="dashboard"] .dash-state{min-height:45px}

/* HP13: 비회원 안내 띠 자리를 처음부터 확보. 로그인 회원(main.dash 에 dk-demo-on 없음)에게는 1초 뒤 자리도 접는다 */
body[data-page="dashboard"] .dk-demo-banner[hidden]{display:grid!important;visibility:hidden}
body[data-page="dashboard"] main.dash:not(.dk-demo-on) .dk-demo-banner[hidden]{animation:hp13-fold .01s 1.2s both}
@keyframes hp13-fold{to{display:none;height:0;margin:0;padding:0;border:0}}


/* HP14 */
html.hp1 body #prompt-tabs{padding-top:14px}
html.hp1 body .hp1-pd-hero{padding-bottom:18px}
html.hp1 body .hp11-panel > .sub{margin-left:0;margin-right:0;text-align:left;max-width:48rem}
.p12-media .box.box45{aspect-ratio:4/5}
@media (min-width:761px){.p12-media:has(.box45){width:176px}}
@media (max-width:760px){body[data-page="preview-tab"] #dx-cat{min-height:44px}}

/* HP15: 취소선 가격의 기준 설명 */
.dx-ref{display:block;flex-basis:100%;font-size:12px;line-height:1.4;color:#6b7280;margin-top:2px}
.dx-price{flex-wrap:wrap}
.dx-price-note{padding:0 18px}

/* WEB1 (2026-11-27) 글자 간격·문단 간격·카드 간격: 전 페이지 공통. 본문 행간 1.7, 문단 아래 1.1em, 카드 안 여백 넉넉히 */
html.hp1 body{line-height:1.7}
html.hp1 main p,html.hp1 main li,html.hp1 main dd,html.hp1 main figcaption,html.hp1 main td,html.hp1 main th{line-height:1.75}
html.hp1 main p{margin-bottom:1.1em}
html.hp1 main li+li{margin-top:.35em}
html.hp1 main h2{margin-top:0;margin-bottom:.7em;line-height:1.35}
html.hp1 main h3{line-height:1.4;margin-bottom:.6em}
html.hp1 main .sub,html.hp1 main .lede{margin-top:0;margin-bottom:1.3em;line-height:1.75}
html.hp1 main .band{padding-top:56px;padding-bottom:56px}
html.hp1 main .band.band-tight{padding-top:36px;padding-bottom:36px}
.demo{margin:28px 0 22px}
.demo figcaption{margin-top:14px;line-height:1.75}
.demo-community{margin:26px 0 30px}
.demo-community .sub{margin-top:12px}
/* 메이커 카드 줄: 카드·영상 사이를 넓게 */
.p12-grid{gap:36px 32px;margin-top:28px}
.p12-card{gap:26px;padding:26px;align-items:flex-start}
.p12-media{width:150px}
@media (min-width:761px){.p12-media:has(.box45){width:200px}}
.p12-body{gap:12px}
.p12-body h3{margin:0;line-height:1.4}
.p12-body p{line-height:1.75;margin:0}
.p12-price{margin-top:14px}
.p12-bundle{gap:24px;margin-top:24px}
.p12-bundle > div{padding:24px}
.p12-bundle li{line-height:1.8}
.p12-notes li{line-height:1.8}
@media (max-width:900px){.p12-grid{gap:24px}}
@media (max-width:480px){.p12-card{gap:16px;padding:18px}.p12-media{width:112px}}
/* WEB1 통합 가격표(/pricing/) 표 */
.pr-tbl{table-layout:auto}
.pr-tbl td,.pr-tbl th{line-height:1.7}
.pr-tbl td small{white-space:normal}
.pr-cmp td,.pr-cmp tbody th{text-align:left;vertical-align:top}
.pr-cmp tbody th small{display:block;font-size:12px;font-weight:500;opacity:.7;margin-top:4px}
.pr-cmp td b{white-space:normal}
.pr-us{background:rgba(255,230,0,.08)}
.p12-tbl td:not([data-label="월 가격"]) {white-space:normal}
@media (min-width:761px){#price-plan .pr-tbl td,#compare .pr-tbl td{padding:16px 14px}}