/* 뜬픽 디자인 시스템 — components/bundle.css
   tokens.css 다음에 로드한다. 클래스 접두사 np-. 색·여백·모서리는 tokens 변수만 쓴다.
   영상 요소는 1080×1920 캔버스(.np-frame) 안에서 px 좌표 그대로 놓고, 미리보기는 .np-stage 가 축소해서 보여 준다. */

/* ---------- 영상 캔버스 ---------- */
.np-stage { position: relative; width: 216px; height: 384px; overflow: hidden; border-radius: var(--radius-md); flex: none; }
.np-stage--lg { width: 270px; height: 480px; }
.np-frame { position: absolute; left: 0; top: 0; width: 1080px; height: 1920px; transform: scale(.2); transform-origin: 0 0; background: var(--cap-scene); overflow: hidden; }
.np-stage--lg .np-frame { transform: scale(.25); }
.np-product { position: absolute; left: 340px; top: 1280px; width: 400px; height: 360px; border-radius: 40px; background: color-mix(in srgb, var(--cap-ink) 16%, transparent); }
.np-product::after { content: ""; position: absolute; left: 120px; top: 90px; width: 160px; height: 160px; border-radius: 999px; background: color-mix(in srgb, var(--cap-ink) 22%, transparent); }
.np-el { position: absolute; margin: 0; white-space: pre-line; }
.np-el .np-t, .np-el .np-line1, .np-el .np-line2 { display: inline; }
.np-hooktitle .np-line1, .np-hooktitle .np-line2, .np-thumb .np-l1, .np-thumb .np-l2, .np-thumb .np-l3 { position: absolute; display: block; margin: 0; white-space: pre-line; }
.np-window { position: absolute; }
.np-row { display: flex; flex-wrap: wrap; gap: var(--space-4); align-items: flex-start; padding: var(--space-4); background: var(--surface); color: var(--ink); font-family: var(--font-suit); }
.np-figure { display: flex; flex-direction: column; gap: var(--space-2); margin: 0; }
.np-figure figcaption { font-family: var(--font-suit); font-size: 12px; line-height: 18px; font-weight: 600; color: var(--ink-muted); max-width: 270px; }
.np-off { position: absolute; inset: 0; display: grid; place-items: center; }
.np-off-tag { position: absolute; left: 12px; top: 12px; z-index: 2; padding: var(--space-1) var(--space-2); border-radius: var(--radius-sm); background: var(--surface-raised); color: var(--ink); font-family: var(--font-suit); font-size: 12px; line-height: 16px; font-weight: 800; border: 1px solid var(--ink-muted); }
.np-stage--muted .np-frame > .np-el { opacity: .25; }

/* ---------- 안전 영역 ---------- */
.np-safe-band { position: absolute; background: color-mix(in srgb, var(--cap-stroke) 55%, transparent); }
.np-safe-band::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(135deg, transparent 0 24px, color-mix(in srgb, var(--cap-ink) 18%, transparent) 24px 32px); }
.np-safe-band--top { left: 0; top: 0; width: 1080px; height: var(--sz-top); }
.np-safe-band--bottom { left: 0; bottom: 0; width: 1080px; height: var(--sz-bottom); }
.np-safe-band--left { left: 0; top: var(--sz-top); bottom: var(--sz-bottom); width: var(--sz-left); }
.np-safe-band--right { right: 0; top: var(--sz-top); bottom: var(--sz-bottom); width: var(--sz-right); }
.np-safe-box { position: absolute; border: 6px dashed var(--cap-highlight); box-sizing: border-box; }

/* ---------- 움직임 프리셋 (이름 + ms 만) ---------- */
@keyframes np-fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes np-pop-in { from { opacity: 0; transform: scale(.9); } to { opacity: 1; transform: scale(1); } }
.np-motion--fade-in { animation-name: np-fade-in; animation-fill-mode: both; }
.np-motion--pop-in { animation-name: np-pop-in; animation-fill-mode: both; transform-origin: 50% 50%; }
@media (prefers-reduced-motion: reduce) { .np-motion--fade-in, .np-motion--pop-in { animation: none; } }

/* ---------- 소개 페이지(자체 도메인) ---------- */
.np-page { width: 100%; max-width: 390px; margin: 0 auto; background: var(--surface); color: var(--ink); font-family: var(--font-suit); word-break: keep-all; overflow-wrap: break-word; }
.np-page * { box-sizing: border-box; }
.np-strip { margin: 0; padding: var(--space-2) var(--space-4); background: var(--brand); color: var(--on-brand); }
.np-strip strong { font-weight: 800; }
.np-profile { display: flex; gap: var(--space-3); align-items: center; padding: var(--space-6) var(--space-4) var(--space-4); }
.np-avatar { flex: none; width: 56px; height: 56px; border-radius: var(--radius-pill); background: var(--brand); color: var(--on-brand); display: grid; place-items: center; font-weight: 900; font-size: 15px; }
.np-profile p { margin: 0; }
.np-profile .np-intro { color: var(--ink-muted); }
.np-search { padding: 0 var(--space-4) var(--space-4); }
.np-search label { display: block; margin-bottom: var(--space-2); color: var(--ink); }
.np-search input { width: 100%; padding: var(--space-3); border: 2px solid var(--ink-muted); border-radius: var(--radius-md); background: var(--surface-raised); color: var(--ink); font: inherit; font-size: 15px; line-height: 22px; }
.np-search input::placeholder { color: var(--ink-muted); opacity: 1; }
.np-page :focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.np-section { padding: var(--space-4); border-top: 1px solid var(--line); }
.np-section > h2 { margin: 0 0 var(--space-3); }
.np-chips { display: flex; flex-wrap: wrap; gap: var(--space-2); margin: 0; padding: 0; list-style: none; }
.np-chip { display: inline-block; padding: var(--space-1) var(--space-3); border: 1px solid var(--ink-muted); border-radius: var(--radius-pill); background: var(--surface-raised); color: var(--ink); text-decoration: none; }
button.np-chip { font: inherit; cursor: pointer; }
.np-chip[aria-current="true"] { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }
.np-card[hidden], .np-empty[hidden] { display: none; }
.np-empty { margin: 0 0 var(--space-2); color: var(--ink-muted); }
.np-cards { display: flex; flex-direction: column; gap: var(--space-2); margin: 0; padding: 0; list-style: none; }
.np-card__link { display: grid; grid-template-columns: 72px 1fr; gap: var(--space-3); color: inherit; text-decoration: none; min-height: 44px; border-radius: var(--radius-sm); }
.np-card { padding: var(--space-3); background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-md); }
.np-card__img { position: relative; width: 72px; height: 72px; border-radius: var(--radius-sm); background: var(--line); overflow: hidden; }
.np-card__img::after { content: ""; position: absolute; left: 22px; top: 22px; width: 28px; height: 28px; border-radius: var(--radius-pill); background: var(--surface); }
.np-card__body { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.np-card__title { margin: 0; color: var(--ink); }
.np-card__no { color: var(--brand); margin-right: var(--space-1); }
.np-card__desc { margin: 0; color: var(--ink-muted); }
.np-card__go { align-self: flex-end; color: var(--brand); }
.np-card:has(.np-card__replay) { padding-bottom: var(--space-1); }
.np-card__replay { color: var(--brand); text-decoration: underline; text-underline-offset: 2px; display: flex; align-items: center; min-height: 44px; width: fit-content; margin-top: var(--space-1); margin-left: calc(72px + var(--space-3)); }
.np-row-cards { display: flex; gap: var(--space-2); overflow-x: auto; margin: 0; padding: 0; list-style: none; }
.np-card--compact .np-card__link { grid-template-columns: 1fr; }
.np-card--compact { width: 136px; flex: none; }
.np-card--compact .np-card__img { width: 100%; height: 96px; }
.np-card--compact .np-card__img::after { left: 50%; top: 50%; transform: translate(-50%, -50%); }
.np-trust ul { margin: 0; padding-left: 1.1em; }
.np-trust li + li { margin-top: var(--space-1); }
.np-footer { margin: 0; padding: var(--space-4) var(--space-4) var(--space-8); color: var(--ink-muted); border-top: 1px solid var(--line); }
.np-footer a { color: var(--brand); }
.np-demo { padding: var(--space-4); background: var(--surface); }
.np-phone { max-width: 390px; border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; }

/* ---------- 네이버 블로그 글(BlogPost) — 휴대폰 폭 글 화면, 이미지는 1080×1080 캔버스를 358px 로 축소 ---------- */
.np-blog { width: 390px; box-sizing: border-box; padding: var(--space-6) var(--space-4); background: var(--surface-raised); color: var(--ink); font-family: var(--font-suit); word-break: keep-all; overflow-wrap: anywhere; border: 1px solid var(--line); border-radius: var(--radius-md); }
.np-blog p { margin: 0 0 var(--space-2); white-space: pre-line; }
.np-blog .np-blog-title { margin-bottom: var(--space-6); font-size: 20px; line-height: 28px; font-weight: 800; }
.np-blog .np-blog-gap { margin-top: var(--space-6); }
.np-blog .np-blog-url { color: var(--brand); }
.np-blogimg { position: relative; width: 358px; height: 358px; margin: var(--space-4) 0; overflow: hidden; }
.np-blogframe { position: absolute; left: 0; top: 0; width: 1080px; height: 1080px; transform: scale(.33148); transform-origin: 0 0; background: var(--cap-scene); overflow: hidden; }
.np-blogframe .np-product { top: 240px; }
.np-blog-safe { position: absolute; border: 6px dashed var(--cap-highlight); box-sizing: border-box; }
.np-blogvideo { display: grid; place-items: center; width: 358px; height: 201px; margin: var(--space-4) 0; background: var(--cap-stroke); color: var(--cap-ink); font-size: 12px; line-height: 18px; font-weight: 600; border-radius: var(--radius-sm); }

/* ---- 아래는 caption-styles.json 과 같은 원본에서 생성된 값 (손으로 고치지 말 것) ---- */
/* 외곽선: caption-styles.json 의 stroke.width 는 바깥으로 보이는 두께. CSS text-stroke 는 가운데 기준이라 2배 + paint-order. */
.np-caption--s1 .np-t { color: var(--cap-stroke); background: var(--cap-ink); padding: 16px 32px; border-radius: 20px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.np-caption--s2 .np-t { color: var(--cap-ink); text-shadow: 0px 4px 8px color-mix(in srgb, var(--cap-stroke) 50%, transparent); }
.np-caption--s6 .np-t { color: var(--cap-ink); -webkit-text-stroke: 20px var(--cap-stroke); paint-order: stroke fill; }
.np-caption--s7 .np-t { color: var(--cap-ink); background: color-mix(in srgb, var(--cap-stroke) 60%, transparent); padding: 14px 28px; border-radius: 12px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.np-caption--opener .np-t { color: var(--cap-ink); -webkit-text-stroke: 28px var(--cap-stroke); paint-order: stroke fill; }
.np-caption--opener { left: 192px; top: 898px; width: 696px; text-align: center; }
.np-caption--y1 { left: 192px; top: 490px; width: 696px; text-align: center; }
.np-caption--y1.np-caption--with-h1 { top: 570px; }
.np-caption--y2 { left: 192px; top: 905px; width: 696px; text-align: center; }
.np-caption--y3 { left: 192px; top: 1072px; width: 696px; text-align: center; }
.np-caption--l3 { left: 192px; top: 880px; width: 696px; text-align: center; }
.np-priceline--p1 .np-t { color: color-mix(in srgb, var(--cap-ink) 90%, transparent); text-shadow: 0px 4px 8px color-mix(in srgb, var(--cap-stroke) 50%, transparent); }
.np-priceline--p1 { left: 192px; top: 560px; width: 696px; text-align: center; }
.np-adlabel--b1 .np-t { color: var(--cap-ink); -webkit-text-stroke: 6px var(--cap-stroke); paint-order: stroke fill; text-shadow: 0px 4px 8px color-mix(in srgb, var(--cap-stroke) 50%, transparent); }
.np-adlabel--b1 { left: 600px; top: 300px; width: 288px; text-align: right; }
.np-adlabel--b2 .np-t { color: var(--cap-ink); -webkit-text-stroke: 6px var(--cap-stroke); paint-order: stroke fill; text-shadow: 0px 4px 8px color-mix(in srgb, var(--cap-stroke) 50%, transparent); }
.np-adlabel--b2 { left: 192px; top: 300px; width: 288px; text-align: left; }
.np-adlabel--b3 .np-t { color: var(--cap-ink); -webkit-text-stroke: 6px var(--cap-stroke); paint-order: stroke fill; text-shadow: 0px 4px 8px color-mix(in srgb, var(--cap-stroke) 50%, transparent); }
.np-adlabel--b3 { left: 600px; top: 300px; width: 288px; text-align: right; }
.np-disclosure--f2 .np-t { color: var(--cap-ink); -webkit-text-stroke: 6px var(--cap-stroke); paint-order: stroke fill; text-shadow: 0px 4px 8px color-mix(in srgb, var(--cap-stroke) 50%, transparent); }
.np-disclosure--f2 { left: 120px; top: 1188px; width: 768px; text-align: center; }
.np-productnumber--p3 .np-t { color: var(--cap-highlight); -webkit-text-stroke: 16px var(--cap-stroke); paint-order: stroke fill; }
.np-productnumber--p3 { left: 192px; top: 720px; width: 696px; text-align: center; }
.np-watermark--l2 .np-t { color: color-mix(in srgb, var(--cap-ink) 50%, transparent); }
.np-watermark--l2 { left: 192px; top: 300px; width: 300px; text-align: left; }
.np-hooktitle--h1 .np-line1 { color: var(--cap-highlight); -webkit-text-stroke: 16px var(--cap-stroke); paint-order: stroke fill; }
.np-hooktitle--h1 .np-line1 { left: 192px; top: 360px; width: 696px; text-align: center; }
.np-hooktitle--h1 .np-line2 { color: var(--cap-ink); -webkit-text-stroke: 16px var(--cap-stroke); paint-order: stroke fill; }
.np-hooktitle--h1 .np-line2 { left: 192px; top: 456px; width: 696px; text-align: center; }
.np-caption .np-hl { color: var(--cap-highlight); }
.np-thumb--naver_clip::after { content: ""; position: absolute; inset: 0; background: #15202B; opacity: 0.15; }
.np-thumb--naver_clip .np-l1 { font-family: "Pretendard", "SUIT", sans-serif; font-weight: 800; font-size: 124px; line-height: 1.16; letter-spacing: -0.04em; color: #FFFFFF; -webkit-text-stroke: 20px #000000; paint-order: stroke fill; text-shadow: 0px 8px 14px #000000; left: 48px; top: 250px; width: 984px; text-align: center; z-index: 1; }
.np-thumb--naver_clip .np-hl { color: #FFD400; }
.np-thumb--t1 { background: var(--cap-scene); }
.np-thumb--t1 .np-l1 { color: var(--cap-highlight); -webkit-text-stroke: 16px var(--cap-stroke); paint-order: stroke fill; text-shadow: 0px 4px 8px color-mix(in srgb, var(--cap-stroke) 50%, transparent); }
.np-thumb--t1 .np-l1 { left: 192px; top: 420px; width: 696px; text-align: center; }
.np-thumb--t1 .np-l2 { color: var(--cap-ink); -webkit-text-stroke: 16px var(--cap-stroke); paint-order: stroke fill; text-shadow: 0px 4px 8px color-mix(in srgb, var(--cap-stroke) 50%, transparent); }
.np-thumb--t1 .np-l2 { left: 192px; top: 540px; width: 696px; text-align: center; }
.np-thumb--t2 { background: var(--cap-scene); }
.np-thumb--t2 .np-l1 { color: var(--cap-ink); -webkit-text-stroke: 16px var(--cap-stroke); paint-order: stroke fill; }
.np-thumb--t2 .np-l1 { left: 192px; top: 360px; width: 696px; text-align: center; }
.np-thumb--t2 .np-l2 { color: var(--cap-highlight); -webkit-text-stroke: 16px var(--cap-stroke); paint-order: stroke fill; }
.np-thumb--t2 .np-l2 { left: 192px; top: 480px; width: 696px; text-align: center; }
.np-thumb--t2 .np-l3 { color: var(--cap-ink); -webkit-text-stroke: 16px var(--cap-stroke); paint-order: stroke fill; }
.np-thumb--t2 .np-l3 { left: 192px; top: 640px; width: 696px; text-align: center; }
.np-thumb--t3 { background: var(--cap-scene); }
.np-thumb--t3 .np-l1 { color: var(--cap-ink); -webkit-text-stroke: 16px var(--cap-stroke); paint-order: stroke fill; text-shadow: 0px 4px 8px color-mix(in srgb, var(--cap-stroke) 50%, transparent); }
.np-thumb--t3 .np-l1 { left: 192px; top: 300px; width: 696px; text-align: center; }
.np-thumb--t3 .np-l2 { color: var(--cap-ink); -webkit-text-stroke: 16px var(--cap-stroke); paint-order: stroke fill; text-shadow: 0px 4px 8px color-mix(in srgb, var(--cap-stroke) 50%, transparent); }
.np-thumb--t3 .np-l2 { left: 192px; top: 420px; width: 696px; text-align: center; }
.np-thumb--t5 { background: var(--cap-brand); }
.np-thumb--t5 .np-l1 { color: var(--cap-highlight); }
.np-thumb--t5 .np-l1 { left: 192px; top: 300px; width: 696px; text-align: center; }
.np-thumb--t5 .np-l2 { color: var(--cap-ink); }
.np-thumb--t5 .np-l2 { left: 192px; top: 420px; width: 696px; text-align: center; }
.np-thumb--t5 .np-window { left: 90px; top: 620px; width: 900px; height: 900px; border-radius: 20px; background: var(--cap-scene); }
.np-thumb--t6 { background: var(--cap-scene); }
.np-thumb--t6 .np-l1 { color: var(--cap-stroke); background: var(--cap-highlight); padding: 24px 40px; border-radius: 12px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.np-thumb--t6 .np-l1 { left: 192px; top: 360px; width: 696px; text-align: center; }
.np-thumb--t7 { background: var(--cap-stroke); }
.np-thumb--t7 .np-l1 { color: var(--cap-ink); }
.np-thumb--t7 .np-l1 { left: 192px; top: 320px; width: 696px; text-align: center; }
.np-thumb--t7 .np-l2 { color: var(--cap-highlight); }
.np-thumb--t7 .np-l2 { left: 192px; top: 440px; width: 696px; text-align: center; }
.np-thumb--t7 .np-window { left: 0px; top: 1000px; width: 1080px; height: 920px; border-radius: 0px; background: var(--cap-scene); }
.np-blogimg--hero .np-blog-adlabel .np-t { color: var(--cap-ink); -webkit-text-stroke: 6px var(--cap-stroke); paint-order: stroke fill; text-shadow: 0px 4px 8px color-mix(in srgb, var(--cap-stroke) 50%, transparent); }
.np-blogimg--hero .np-blog-adlabel { left: 600px; top: 300px; width: 288px; text-align: right; }
.np-blogimg--hero .np-blog-productnumber .np-t { color: var(--cap-highlight); -webkit-text-stroke: 16px var(--cap-stroke); paint-order: stroke fill; }
.np-blogimg--hero .np-blog-productnumber { left: 192px; top: 740px; width: 696px; text-align: center; }
.np-blogimg--product .np-blog-productnumber .np-t { color: var(--cap-highlight); -webkit-text-stroke: 16px var(--cap-stroke); paint-order: stroke fill; }
.np-blogimg--product .np-blog-productnumber { left: 192px; top: 680px; width: 696px; text-align: center; }
.np-blogimg--product .np-blog-nameline .np-t { color: color-mix(in srgb, var(--cap-ink) 90%, transparent); text-shadow: 0px 4px 8px color-mix(in srgb, var(--cap-stroke) 50%, transparent); }
.np-blogimg--product .np-blog-nameline { left: 192px; top: 780px; width: 696px; text-align: center; }
.np-blogimg .np-blog-safe { left: 135px; top: 236px; width: 810px; height: 608px; }
.np-safe--youtube { --sz-top: 288px; --sz-bottom: 672px; --sz-left: 48px; --sz-right: 192px; }
.np-safe--instagram { --sz-top: 269px; --sz-bottom: 672px; --sz-left: 65px; --sz-right: 65px; }
.np-safe--facebook { --sz-top: 269px; --sz-bottom: 672px; --sz-left: 65px; --sz-right: 65px; }
.np-safe--tiktok { --sz-top: 240px; --sz-bottom: 660px; --sz-left: 120px; --sz-right: 120px; }
.np-platform--tiktok .np-caption--y2, .np-platform--tiktok .np-caption--y3, .np-platform--tiktok .np-caption--l3, .np-platform--tiktok .np-caption--opener { left: 120px; width: 660px; text-align: center; }
.np-platform--tiktok .np-caption--y2.np-caption--s1 .np-t, .np-platform--tiktok .np-caption--y3.np-caption--s1 .np-t, .np-platform--tiktok .np-caption--l3.np-caption--s1 .np-t, .np-platform--tiktok .np-caption--y2.np-caption--s7 .np-t, .np-platform--tiktok .np-caption--y3.np-caption--s7 .np-t, .np-platform--tiktok .np-caption--l3.np-caption--s7 .np-t { padding-left: 21px; padding-right: 21px; }
.np-safe--tiktok .np-safe-band--column { left: 780px; top: 840px; width: 300px; height: 1080px; }
.np-safe--naver_clip { --sz-top: 170px; --sz-bottom: 570px; --sz-left: 48px; --sz-right: 36px; }
.np-safe--naver_clip .np-safe-band--column { left: 894px; top: 1053px; width: 186px; height: 867px; }
.np-safe-box { left: 120px; top: 288px; width: 768px; height: 960px; }
.np-motion--none { animation-duration: 0ms; }
.np-motion--fade-in { animation-duration: 200ms; }
.np-motion--pop-in { animation-duration: 160ms; }
