/* 온맘 · 화면
   IMAGO 디자인 시스템(하나의 공장, 갈아끼우는 포인트색) 위에 이 서비스의 포인트색 하트(#F5455C)를 얹는다 */

:root {
  --pt: #F5455C; --pt-press: #E0324A; --pt-tint: #FFEDF0; --pt-tint2: #FFF6F7; --pt-ink: #D92B45; --pt-blush: #FFB3BE;
  --bg: #F5F6F8; --surface: #FFFFFF; --ink: #191F28; --ink2: #4E5968; --ink3: #8B95A1; --ink4: #B0B8C1;
  --line: #F2F4F6; --line2: #E5E8EB; --fill: #F2F4F6; --fill2: #E8EBEE;
  --ok: #1FA765; --warn: #F08A24; --err: #F04452;
  --r-card: 20px; --r-btn: 14px; --r-sm: 12px; --r-xs: 8px;
  --sh-card: 0 4px 20px rgba(0, 0, 0, 0.031); --sh-float: 0 12px 30px rgba(0, 0, 0, 0.078); --sh-pop: 0 18px 50px rgba(17, 17, 21, 0.16);
  --ease: cubic-bezier(0.16, 1, 0.3, 1); --ease-tab: cubic-bezier(0.4, 0, 0.2, 1);
  --font: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, system-ui, 'Apple SD Gothic Neo', 'Noto Sans KR', 'Malgun Gothic', sans-serif;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --plus: linear-gradient(100deg, #FF8A9A 0%, #F5455C 48%, #C9284A 100%);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: #fff; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; word-break: keep-all; overflow-wrap: anywhere; letter-spacing: -0.01em; }
button, input, textarea, select { font: inherit; color: inherit; letter-spacing: inherit; }
button { cursor: pointer; -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ico { flex: none; display: block; }
:focus-visible { outline: 2px solid var(--pt); outline-offset: 2px; }
::selection { background: rgba(245, 69, 92, 0.18); }

/* ── 버튼 ── */
.btn { appearance: none; border: 0; display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 56px; padding: 0 20px; border-radius: var(--r-btn); font-size: 17px; font-weight: 600; letter-spacing: -0.02em; white-space: nowrap; transition: background 0.14s, transform 0.14s var(--ease), opacity 0.14s; user-select: none; -webkit-user-select: none; }
.btn:active { transform: scale(0.98); }
.btn-pt { background: var(--pt); color: #fff; }
.btn-pt:hover { background: var(--pt-press); }
.btn-pt.off, .btn-pt.off:hover { background: var(--fill2); color: var(--ink4); }
.btn-gray { background: var(--fill); color: var(--ink2); }
.btn-gray:hover { background: var(--fill2); }
.btn-tint { background: var(--pt-tint); color: var(--pt-ink); }
.btn-tint:hover { background: #FFE3DA; }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: #000; }
.btn-white { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line2); }
.btn-white:hover { background: #FAFAFB; }
.btn-sm { height: 40px; padding: 0 14px; font-size: 14.5px; border-radius: 12px; }
.btn-md { height: 48px; padding: 0 18px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-plus { background: var(--plus); color: #fff; }
.btn-plus:hover { filter: brightness(0.97); }
.link-btn { appearance: none; border: 0; background: none; padding: 8px 4px; color: var(--ink3); font-size: 14.5px; font-weight: 500; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(139, 149, 161, 0.45); }
.link-btn:hover { color: var(--ink2); }
.icon-btn { appearance: none; border: 0; background: transparent; width: 44px; height: 44px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; color: var(--ink); }
.icon-btn:hover { background: rgba(0, 0, 0, 0.04); }

.badge-plus { display: inline-flex; align-items: center; height: 20px; padding: 0 7px; border-radius: 999px; background: var(--plus); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: 0; line-height: 1; flex: none; }
.badge { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 999px; background: var(--fill); color: var(--ink2); font-size: 12px; font-weight: 600; letter-spacing: 0; white-space: nowrap; }
.badge.pt { background: var(--pt-tint); color: var(--pt-ink); }
.badge.ok { background: #E6F7EE; color: #12844D; }
.badge.dim { background: #F2F4F6; color: var(--ink3); }

/* ── 칩 · 고르기 ── */
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { appearance: none; border: 1px solid var(--line2); background: #fff; height: 38px; padding: 0 14px; border-radius: 999px; font-size: 14.5px; font-weight: 500; color: var(--ink2); display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; transition: border-color 0.14s, background 0.14s, color 0.14s; }
.chip:hover { border-color: #D1D6DB; }
.chip.on { border-color: var(--ink); background: var(--ink); color: #fff; }
.chip.on .badge-plus { box-shadow: 0 0 0 1.5px var(--ink); }
.seg { display: flex; gap: 4px; padding: 4px; background: var(--fill); border-radius: 14px; }
.seg button { appearance: none; border: 0; flex: 1; height: 40px; border-radius: 10px; background: transparent; color: var(--ink2); font-size: 14.5px; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; gap: 6px; white-space: nowrap; padding: 0 8px; }
.seg button.on { background: #fff; color: var(--ink); box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08); }

/* ── 입력 ── */
.field { width: 100%; appearance: none; border: 0; border-bottom: 2px solid var(--line2); background: transparent; padding: 10px 0 12px; font-size: 24px; font-weight: 600; letter-spacing: -0.02em; outline: none; border-radius: 0; transition: border-color 0.2s; }
.field:focus { border-color: var(--pt); }
.field::placeholder { color: #C9CED4; }
.area { width: 100%; appearance: none; border: 1.5px solid var(--line2); border-radius: 16px; background: #fff; padding: 16px; font-size: 17px; line-height: 1.6; outline: none; resize: none; transition: border-color 0.2s; }
.area:focus { border-color: var(--pt); }
.area::placeholder { color: #B6BCC3; }
.input { width: 100%; height: 52px; appearance: none; border: 1.5px solid var(--line2); border-radius: 14px; background: #fff; padding: 0 14px; font-size: 16px; outline: none; transition: border-color 0.2s; }
.input:focus { border-color: var(--pt); }
.counter { font-size: 13px; color: var(--ink4); font-variant-numeric: tabular-nums; }

.switch { appearance: none; border: 0; width: 52px; height: 32px; border-radius: 999px; background: #D7DBE0; position: relative; flex: none; transition: background 0.2s; padding: 0; }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 26px; height: 26px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.16); transition: transform 0.25s var(--ease); }
.switch.on { background: var(--pt); }
.switch.on::after { transform: translateX(20px); }

/* ── 카드 · 목록 ── */
.card { background: #fff; border-radius: var(--r-card); box-shadow: var(--sh-card); }
.card-pad { padding: 20px; }
.card-t { margin: 0 0 4px; font-size: 17px; font-weight: 700; letter-spacing: -0.02em; }
.card-s { margin: 0; font-size: 14px; color: var(--ink3); line-height: 1.5; }
.row { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 10px 0; }
.row + .row { border-top: 1px solid var(--line); }
.row-main { flex: 1; min-width: 0; }
.row-t { font-size: 16px; font-weight: 600; letter-spacing: -0.02em; }
.row-s { font-size: 13.5px; color: var(--ink3); margin-top: 2px; line-height: 1.45; }
.row-btn { appearance: none; border: 0; background: transparent; width: 100%; text-align: left; display: flex; align-items: center; gap: 12px; min-height: 60px; padding: 12px 0; color: var(--ink); }
.row-btn + .row-btn { border-top: 1px solid var(--line); }
.row-btn .chev { color: var(--ink4); }
.sec-t { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 28px 4px 12px; }
.sec-t h3 { margin: 0; font-size: 18px; font-weight: 700; letter-spacing: -0.02em; }
.sec-t span { font-size: 14px; color: var(--ink3); }

/* ── 시트 · 팝업 · 가림막 ── */
.sheet-host { position: fixed; inset: 0; z-index: 80; display: flex; align-items: flex-end; justify-content: center; }
.sheet-dim { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.42); animation: fadeIn 0.22s ease both; }
.sheet { position: relative; width: 100%; max-height: min(88dvh, 860px); background: #fff; border-radius: 24px 24px 0 0; display: flex; flex-direction: column; animation: sheetUp 0.42s var(--ease) both; box-shadow: var(--sh-pop); }
.sheet.closing { animation: sheetDown 0.22s ease-in both; }
.sheet-dim.closing { animation: fadeOut 0.22s ease-in both; }
.sheet-grab { width: 36px; height: 4px; border-radius: 4px; background: #E1E4E8; margin: 10px auto 0; flex: none; }
.sheet-head { padding: 22px 24px 4px; flex: none; }
.sheet-t { margin: 0; font-size: 20px; font-weight: 700; letter-spacing: -0.03em; line-height: 1.38; white-space: pre-line; }
.sheet-s { margin: 8px 0 0; font-size: 15px; line-height: 1.6; color: var(--ink2); white-space: pre-line; }
.sheet-body { padding: 12px 24px 8px; overflow-y: auto; overscroll-behavior: contain; flex: 1; min-height: 0; }
.sheet-foot { flex: none; display: flex; gap: 8px; padding: 12px 20px calc(16px + var(--safe-b)); background: #fff; border-radius: 0 0 24px 24px; }
.sheet-foot .btn { flex: 1; min-width: 0; }
.sheet-foot.col { flex-direction: column; }
.sheet-foot.col .btn { flex: none; width: 100%; }
.sheet-close { position: absolute; top: 14px; right: 14px; }
@media (min-width: 640px) {
  .sheet-host { align-items: center; padding: 24px; }
  .sheet { max-width: 440px; border-radius: 24px; animation-name: popIn; }
  .sheet.wide { max-width: 560px; }
  .sheet.xwide { max-width: 760px; }
  .sheet.closing { animation-name: popOut; }
  .sheet-grab { display: none; }
  .sheet-foot { padding-bottom: 20px; }
}
.veil { position: fixed; inset: 0; z-index: 120; background: rgba(0, 0, 0, 0.38); display: flex; align-items: center; justify-content: center; animation: fadeIn 0.18s ease both; touch-action: none; }
.veil-pill { display: flex; align-items: center; gap: 12px; padding: 16px 22px 16px 18px; background: #fff; border-radius: 999px; box-shadow: var(--sh-pop); font-size: 15.5px; font-weight: 600; letter-spacing: -0.02em; max-width: calc(100vw - 48px); }
.spin { width: 24px; height: 24px; border-radius: 50%; border: 3px solid var(--pt-tint); border-top-color: var(--pt); animation: spin 0.8s linear infinite; flex: none; }
.spin.lg { width: 32px; height: 32px; border-width: 3.5px; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeOut { from { opacity: 1; } to { opacity: 0; } }
@keyframes sheetUp { from { transform: translateY(100%); } to { transform: none; } }
@keyframes sheetDown { from { transform: none; } to { transform: translateY(100%); } }
@keyframes popIn { from { opacity: 0; transform: translateY(14px) scale(0.98); } to { opacity: 1; transform: none; } }
@keyframes popOut { from { opacity: 1; transform: none; } to { opacity: 0; transform: translateY(8px) scale(0.98); } }
@keyframes riseIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

.tip-list { margin: 4px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.tip-list li { display: flex; gap: 10px; font-size: 14.5px; line-height: 1.55; color: var(--ink2); }
.tip-list li .ico { color: var(--pt); margin-top: 2px; }
.copybox { margin-top: 12px; padding: 14px; border-radius: 14px; background: var(--fill); font-size: 14px; line-height: 1.6; white-space: pre-wrap; user-select: all; -webkit-user-select: all; word-break: break-all; }

/* ── 앱 화면 틀 ── */
.app { min-height: 100dvh; background: var(--bg); }
.app.white { background: #fff; }
.topbar { position: sticky; top: 0; z-index: 30; height: 56px; display: flex; align-items: center; gap: 4px; padding: 0 8px; background: rgba(245, 246, 248, 0.92); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px); }
.app.white .topbar { background: rgba(255, 255, 255, 0.94); }
.topbar-t { flex: 1; min-width: 0; font-size: 17px; font-weight: 700; letter-spacing: -0.02em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 0 4px; }
.topbar-r { display: flex; align-items: center; gap: 4px; }
.page-in { width: 100%; max-width: 560px; margin: 0 auto; padding: 8px 20px calc(120px + var(--safe-b)); }
.bottom-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 12px 20px calc(14px + var(--safe-b)); background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #fff 22%); pointer-events: none; }
.app:not(.white) .bottom-bar { background: linear-gradient(180deg, rgba(245, 246, 248, 0) 0%, var(--bg) 22%); }
.bottom-in { max-width: 520px; margin: 0 auto; display: flex; gap: 8px; pointer-events: auto; }
.bottom-in .btn { flex: 1; min-width: 0; }
.bottom-in .btn.narrow { flex: 0 0 auto; padding: 0 18px; }
.bottom-note { max-width: 520px; margin: 0 auto 10px; text-align: center; font-size: 13px; color: var(--ink3); pointer-events: auto; }

/* 한 화면 한 질문 */
.flow { min-height: 100dvh; background: #fff; }
.flow-top { position: sticky; top: 0; z-index: 30; height: 56px; display: flex; align-items: center; padding: 0 8px; background: rgba(255, 255, 255, 0.95); }
.flow-bar { flex: 1; height: 4px; border-radius: 4px; background: var(--fill); margin: 0 12px 0 4px; overflow: hidden; }
.flow-bar i { display: block; height: 100%; background: var(--pt); border-radius: 4px; transition: width 0.4s var(--ease); }
.flow-step { font-size: 13px; color: var(--ink3); font-weight: 600; min-width: 34px; text-align: right; padding-right: 8px; font-variant-numeric: tabular-nums; }
.q { width: 100%; max-width: 520px; margin: 0 auto; padding: 20px 24px calc(130px + var(--safe-b)); animation: riseIn 0.42s var(--ease) both; }
.q-eye { margin: 0 0 8px; font-size: 15px; font-weight: 600; color: var(--pt-ink); }
.q-t { margin: 0; font-size: 26px; line-height: 1.38; font-weight: 700; letter-spacing: -0.035em; white-space: pre-line; }
.q-s { margin: 10px 0 0; font-size: 15.5px; line-height: 1.6; color: var(--ink2); }
.q-body { margin-top: 32px; }
.opts { display: flex; flex-direction: column; gap: 10px; }
.opt { appearance: none; width: 100%; text-align: left; border: 1.5px solid var(--line2); background: #fff; border-radius: 18px; min-height: 64px; padding: 14px 18px; display: flex; align-items: center; gap: 14px; transition: border-color 0.14s, background 0.14s, transform 0.14s var(--ease); }
.opt:hover { border-color: #CDD2D8; }
.opt:active { transform: scale(0.99); }
.opt.on { border-color: var(--pt); background: var(--pt-tint2); }
.opt-ico { width: 40px; height: 40px; border-radius: 12px; background: var(--fill); color: var(--ink2); display: flex; align-items: center; justify-content: center; flex: none; }
.opt.on .opt-ico { background: var(--pt-tint); color: var(--pt); }
.opt-main { flex: 1; min-width: 0; }
.opt-t { display: block; font-size: 17px; font-weight: 600; letter-spacing: -0.02em; }
.opt-s { display: block; margin-top: 2px; font-size: 14px; color: var(--ink3); }
.opt-check { color: var(--pt); opacity: 0; transition: opacity 0.14s; }
.opt.on .opt-check { opacity: 1; }
.grid-opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.grid-opts .opt { min-height: 60px; justify-content: center; text-align: center; padding: 12px; }
.grid-opts .opt .opt-t { font-size: 16.5px; }
.quiet { display: flex; justify-content: center; margin-top: 18px; }

/* ── 첫 화면(사이트) ── */
.site { --s-ink: #111115; --s-ink2: #5C5C63; --s-ink3: #8C8C93; --s-btn: #242428; --s-line: #E4E4E5; --s-warm: #F7F6F3;
  --s-gutter: 60px; --s-max: 1240px; --s-r-xl: 35px; background: #fff; color: var(--s-ink); overflow-x: clip; }
@media (max-width: 1100px) { .site { --s-gutter: 32px; } }
@media (max-width: 640px) { .site { --s-gutter: 20px; --s-r-xl: 24px; } }
.s-acc { color: var(--pt); }
.s-btn { appearance: none; display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 52px; padding: 0 26px; border-radius: 999px; background: var(--s-btn); color: #fff; font-weight: 600; font-size: 17px; letter-spacing: -0.01em; border: 1px solid var(--s-btn); white-space: nowrap; transition: background 0.15s, transform 0.15s; }
.s-btn:hover { background: #000; }
.s-btn:active { transform: scale(0.98); }
.s-btn.line { background: transparent; color: var(--s-ink); }
.s-btn.line:hover { background: rgba(0, 0, 0, 0.04); }
.s-btn.sm { height: 40px; padding: 0 16px; font-size: 15px; font-weight: 600; }
.s-btn.pt { background: var(--pt); border-color: var(--pt); }
.s-btn.pt:hover { background: var(--pt-press); border-color: var(--pt-press); }

.s-gnav { position: sticky; top: 0; z-index: 50; height: 64px; display: flex; align-items: center; gap: 12px; padding: 0 max(var(--s-gutter), calc(50% - 620px)); background: rgba(255, 255, 255, 0.94); backdrop-filter: saturate(180%) blur(16px); -webkit-backdrop-filter: saturate(180%) blur(16px); border-bottom: 1px solid transparent; transition: border-color 0.3s; }
.s-gnav.scrolled { border-bottom-color: rgba(0, 0, 0, 0.06); }
.s-logo { appearance: none; border: 0; background: none; padding: 0; display: inline-flex; align-items: center; gap: 8px; font-size: 19px; font-weight: 800; letter-spacing: -0.04em; color: var(--s-ink); white-space: nowrap; }
.s-logo .s-mark { width: 26px; height: 26px; border-radius: 7px; display: block; flex: none; }
.s-foot .s-logo .s-mark { width: 28px; height: 28px; border-radius: 8px; }
.s-gnav-nav { flex: 1; display: flex; justify-content: center; gap: 4px; }
.s-ng-link { appearance: none; border: 0; background: transparent; height: 38px; padding: 0 12px; border-radius: 999px; font-size: 16px; color: var(--s-ink); white-space: nowrap; }
.s-ng-link:hover { background: rgba(0, 0, 0, 0.05); }
.s-gnav-r { display: flex; align-items: center; gap: 8px; }
.s-globe { appearance: none; border: 0; background: transparent; height: 38px; padding: 0 10px; border-radius: 999px; display: inline-flex; align-items: center; gap: 6px; font-size: 15px; color: var(--s-ink); position: relative; }
.s-globe:hover { background: rgba(0, 0, 0, 0.05); }
.s-langpop { position: absolute; top: calc(100% + 8px); right: 0; min-width: 160px; background: #fff; border: 1px solid rgba(0, 0, 0, 0.06); border-radius: 16px; box-shadow: var(--sh-pop); padding: 6px; z-index: 60; animation: popIn 0.22s var(--ease) both; }
.s-langpop.up { top: auto; bottom: calc(100% + 8px); left: 0; right: auto; }
.s-langpop button { appearance: none; border: 0; background: transparent; width: 100%; height: 42px; border-radius: 10px; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 0 12px; font-size: 15px; color: var(--s-ink); }
.s-langpop button:hover { background: rgba(0, 0, 0, 0.04); }
.s-langpop button .ico { color: var(--pt); }
@media (max-width: 900px) { .s-gnav-nav { display: none; } .s-gnav { justify-content: space-between; } .s-gnav-r { margin-left: auto; } .hide-m { display: none !important; } }

.v3-sec { padding: 112px var(--s-gutter); }
.v3-in { max-width: var(--s-max); margin: 0 auto; }
.v3-eye { margin: 0 0 12px; font-size: 18px; line-height: 1.5; font-weight: 650; color: var(--pt-ink); letter-spacing: -0.01em; }
.v3-h { margin: 0; font-size: 44px; line-height: 1.41; font-weight: 650; letter-spacing: -0.022em; color: var(--s-ink); text-wrap: balance; }
.v3-h span { display: block; }
.v3-p { margin: 0; font-size: 19px; line-height: 1.68; color: #1E1E22; letter-spacing: -0.01em; }
.v3-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 540px); gap: 20px 56px; align-items: end; margin-bottom: 56px; }
.v3-head-r { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; padding-bottom: 6px; }
.v3-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.v3-center { text-align: center; }
.v3-center .v3-p { margin: 18px auto 0; max-width: 680px; }
.v3-center .v3-btns { justify-content: center; margin-top: 28px; }
@media (max-width: 900px) {
  .v3-sec { padding: 80px var(--s-gutter); }
  .v3-head { grid-template-columns: minmax(0, 1fr); gap: 16px; align-items: start; margin-bottom: 36px; }
  .v3-eye { font-size: 15px; margin-bottom: 8px; }
  .v3-p { font-size: 17px; }
}

.v3-hero { padding: 72px var(--s-gutter) 0; }
.v3-hero-row { max-width: var(--s-max); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 525px); gap: 24px 56px; align-items: end; }
.v3-hero h1 { margin: 0; font-size: 58px; line-height: 1.3; font-weight: 650; letter-spacing: -0.025em; }
.v3-hero .v3-eye { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.v3-hero .v3-eye i { width: 8px; height: 8px; border-radius: 50%; background: var(--pt); flex: none; }
.v3-hero h1 span { display: block; }
.v3-hero-r { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; padding-bottom: 12px; }
.v3-hero-r .v3-p { color: #111; }
.v3-hero-note { font-size: 14px; color: var(--s-ink3); margin-top: -12px; }
.v3-proof { margin: 0; display: flex; align-items: flex-start; gap: 8px; font-size: 15.5px; line-height: 1.5; font-weight: 500; color: #2E2E34; }
.v3-proof .ico { color: var(--pt); flex: none; margin-top: 2px; }
.v3-stage { max-width: var(--s-max); margin: 52px auto 0; position: relative; border-radius: var(--s-r-xl); overflow: hidden; border: 0.5px solid var(--s-line); background: linear-gradient(118deg, #FFD9CC 0%, #FDE3EF 34%, #E9DEFF 68%, #DDEBFF 100%); aspect-ratio: 1240 / 640; min-height: 520px; }
.v3-stage::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, 0.6) 1.2px, transparent 1.3px); background-size: 14px 14px; -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 40%, #000 70%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0%, #000 40%, #000 70%, transparent 100%); opacity: 0.6; }
.v3-win { position: absolute; left: 25%; right: 5%; top: 10%; bottom: -5%; background: #fff; border-radius: 18px; box-shadow: 0 30px 80px rgba(120, 50, 40, 0.16); display: flex; flex-direction: column; overflow: hidden; }
.v3-win-bar { flex: none; height: 44px; display: flex; align-items: center; gap: 14px; padding: 0 16px; border-bottom: 1px solid #F0F0F2; }
.v3-win-dots { display: flex; gap: 6px; }
.v3-win-dots i { width: 10px; height: 10px; border-radius: 50%; background: #E3E3E7; display: block; }
.v3-win-url { flex: 1; max-width: 360px; height: 28px; border-radius: 999px; background: #F4F4F6; color: #8C8C93; font-size: 12.5px; display: flex; align-items: center; justify-content: center; white-space: nowrap; overflow: hidden; padding: 0 12px; }
.v3-win-body { flex: 1; min-height: 0; padding: 18px 22px 18px calc(9% + 22px); display: flex; flex-direction: column; gap: 14px; }
.v3-win-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.v3-win-top > div > b { display: block; font-size: 19px; letter-spacing: -0.02em; }
.v3-win-top > div > span { display: block; font-size: 13px; color: var(--s-ink3); margin-top: 2px; }
.v3-win-save { flex: none; height: 34px; padding: 0 14px; border-radius: 999px; background: var(--pt); color: #fff; font-size: 13px; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.v3-win-paper { flex: 1; min-height: 0; display: flex; align-items: flex-start; justify-content: center; }
.v3-win-paper canvas { max-width: 100%; max-height: 100%; width: auto; height: auto; border-radius: 6px; box-shadow: 0 6px 24px rgba(40, 30, 80, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.04); }
.v3-hero-phone { position: absolute; left: 5%; bottom: -12%; width: min(290px, 25%); }
.s-phone { width: 100%; aspect-ratio: 9 / 18.5; border-radius: 40px; border: 8px solid #1B1B22; background: #fff; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 30px 70px rgba(80, 30, 30, 0.26); text-align: left; }
.s-phone-top { height: 30px; flex: none; display: flex; justify-content: center; align-items: flex-end; }
.s-phone-top i { width: 34%; height: 18px; border-radius: 999px; background: #1B1B22; display: block; }
.s-phone-body { flex: 1; padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 10px; min-height: 0; }
.ph-eye { font-size: 11px; font-weight: 600; color: var(--pt-ink); }
.ph-t { font-size: 17px; font-weight: 700; line-height: 1.35; letter-spacing: -0.03em; }
.ph-chips { display: flex; gap: 5px; flex-wrap: wrap; }
.ph-chips span { height: 24px; padding: 0 9px; border-radius: 999px; border: 1px solid var(--line2); font-size: 10.5px; color: var(--ink2); display: inline-flex; align-items: center; }
.ph-area { flex: 1; border: 1.5px solid var(--pt); border-radius: 12px; padding: 10px; font-family: 'Gaegu', var(--font); font-size: 15px; line-height: 1.45; color: #4459AE; min-height: 0; overflow: hidden; }
.ph-area i { display: inline-block; width: 1.5px; height: 15px; background: var(--pt); vertical-align: -2px; margin-left: 1px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.ph-btn { height: 40px; border-radius: 11px; background: var(--pt); color: #fff; font-size: 13.5px; font-weight: 600; display: flex; align-items: center; justify-content: center; flex: none; }
.v3-facts { max-width: var(--s-max); margin: 28px auto 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.v3-fact { display: flex; gap: 12px; align-items: center; padding: 16px 18px; border-radius: 18px; background: var(--s-warm); }
.v3-fact .ico { color: var(--pt); }
.v3-fact b { display: block; font-size: 15.5px; letter-spacing: -0.01em; }
.v3-fact span { display: block; font-size: 13.5px; color: var(--s-ink2); line-height: 1.4; }
@media (max-width: 1100px) { .v3-win { left: 30%; } .v3-hero-phone { width: min(260px, 29%); } }
@media (max-width: 900px) {
  .v3-hero { padding-top: 40px; }
  .v3-hero-row { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .v3-hero-r { gap: 20px; padding-top: 0; }
  .v3-stage { aspect-ratio: auto; min-height: 0; height: 600px; margin-top: 32px; }
  .v3-win { left: 6%; right: -36%; top: 6%; bottom: 34%; }
  .v3-win-body { padding-left: 18px; }
  .v3-hero-phone { left: 50%; transform: translateX(-50%); bottom: -30px; width: 240px; }
  .v3-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .v3-stage { height: 540px; }
  .v3-win { left: 4%; right: 4%; top: 4.5%; bottom: 44%; border-radius: 14px; }
  .v3-win-bar { height: 34px; }
  .v3-win-url { height: 22px; font-size: 11px; }
  .v3-win-body { padding: 10px 12px; gap: 8px; }
  .v3-win-top b { font-size: 15px; }
  .v3-win-save { display: none; }
  .v3-hero-phone { width: 176px; bottom: -84px; }
  .s-phone { border-width: 6px; border-radius: 30px; }
  .v3-fact { padding: 14px; gap: 10px; }
  .v3-fact span { font-size: 12.5px; }
}

.occ-chips { max-width: 920px; margin: 30px auto 0; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.occ-chip { appearance: none; border: 0; height: 46px; padding: 0 20px; border-radius: 999px; background: var(--s-warm); color: var(--s-ink); font-size: 16px; font-weight: 600; letter-spacing: -0.02em; white-space: nowrap; transition: background 0.15s, transform 0.15s; }
.occ-chip:hover { background: #EFEDE8; }
.occ-chip:active { transform: scale(0.98); }
@media (max-width: 640px) { .occ-chip { height: 40px; padding: 0 15px; font-size: 14.5px; } }
.v3-dots { height: 38px; margin: 0 var(--s-gutter); background-image: radial-gradient(#D9D9DE 1.3px, transparent 1.4px); background-size: 12px 12px; background-position: center; background-repeat: repeat-x; opacity: 0.9; }
.v3-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.v3-step { padding: 28px 26px 30px; border-radius: 24px; background: var(--s-warm); display: flex; flex-direction: column; gap: 10px; min-height: 230px; }
.v3-step-n { font-size: 15px; font-weight: 700; color: var(--pt); font-variant-numeric: tabular-nums; }
.v3-step b { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; margin-top: auto; }
.v3-step p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--s-ink2); }
@media (max-width: 900px) { .v3-steps { grid-template-columns: minmax(0, 1fr); } .v3-step { min-height: 0; } .v3-step b { margin-top: 18px; } }

.v3-chap { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 40px 64px; align-items: center; }
.v3-chap.flip .v3-chap-t { order: 2; }
.v3-chap-t .v3-p { margin-top: 18px; }
.v3-chap-list { margin: 26px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.v3-chap-list li { display: flex; gap: 10px; align-items: center; font-size: 16.5px; color: #26262B; }
.v3-chap-list li .ico { color: var(--pt); }
.v3-panel { position: relative; border-radius: var(--s-r-xl); padding: 36px; min-height: 440px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.v3-panel::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, 0.55) 1.2px, transparent 1.3px); background-size: 14px 14px; opacity: 0.7; pointer-events: none; }
.v3-panel > * { position: relative; }
.v3-panel.p1 { background: linear-gradient(140deg, #EDE7FF 0%, #FFE6EE 100%); flex-direction: column; gap: 18px; }
.v3-panel.p2 { background: linear-gradient(140deg, #FFE9DF 0%, #FFF4D9 100%); }
.v3-panel.p3 { background: linear-gradient(140deg, #DFF3EA 0%, #E3EEFF 100%); }
.v3-panel.p4 { background: linear-gradient(140deg, #E5E9FF 0%, #F6E6FF 100%); }
.v3-panel canvas { width: 100%; max-width: 560px; height: auto; border-radius: 8px; box-shadow: 0 16px 40px rgba(40, 30, 80, 0.14); }
.v3-swatches { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.v3-swatch { appearance: none; border: 2px solid #fff; width: 34px; height: 34px; border-radius: 50%; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); padding: 0; transition: transform 0.15s var(--ease); }
.v3-swatch.on { box-shadow: 0 0 0 2px var(--s-ink); transform: scale(1.08); }
.v3-try { font-size: 13.5px; color: var(--s-ink2); display: flex; align-items: center; gap: 12px; flex-wrap: wrap; justify-content: center; }
.v3-mini-seg { display: inline-flex; gap: 3px; padding: 3px; border-radius: 999px; background: rgba(255, 255, 255, 0.7); }
.v3-mini-seg button { appearance: none; border: 0; height: 30px; padding: 0 12px; border-radius: 999px; background: transparent; font-size: 13px; font-weight: 600; color: var(--s-ink2); }
.v3-mini-seg button.on { background: #fff; color: var(--s-ink); box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08); }
@media (max-width: 900px) { .v3-chap { grid-template-columns: minmax(0, 1fr); gap: 28px; } .v3-chap.flip .v3-chap-t { order: 0; } .v3-panel { padding: 22px; min-height: 0; } }

.mock { width: 100%; max-width: 380px; background: #fff; border-radius: 22px; box-shadow: 0 20px 50px rgba(60, 40, 30, 0.12); padding: 20px; font-size: 14px; }
.mock-t { font-size: 16px; font-weight: 700; letter-spacing: -0.02em; }
.mock-s { font-size: 13px; color: var(--ink3); margin-top: 2px; }
.mock-bar { height: 8px; border-radius: 8px; background: var(--fill); margin: 14px 0 6px; overflow: hidden; }
.mock-bar i { display: block; height: 100%; width: 75%; border-radius: 8px; background: var(--pt); }
.mock-row { display: flex; align-items: center; gap: 10px; padding: 9px 0; }
.mock-row + .mock-row { border-top: 1px solid var(--line); }
.mock-av { width: 30px; height: 30px; border-radius: 50%; background: var(--fill); color: var(--ink2); font-size: 12.5px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex: none; }
.mock-av.on { background: var(--pt-tint); color: var(--pt-ink); }
.mock-row b { flex: 1; font-size: 14.5px; font-weight: 600; }
.mock-btn { margin-top: 12px; height: 42px; border-radius: 12px; background: var(--pt); color: #fff; font-weight: 600; font-size: 14px; display: flex; align-items: center; justify-content: center; gap: 6px; }
.mock-chat { background: #B6CCE0; border-radius: 16px; padding: 12px; display: flex; flex-direction: column; gap: 6px; }
.mock-bubble { align-self: flex-start; max-width: 92%; background: #fff; border-radius: 4px 14px 14px 14px; padding: 7px 11px; font-size: 13px; line-height: 1.45; }
.mock-bubble b { display: block; font-size: 11.5px; color: #4E5968; font-weight: 600; margin-bottom: 1px; }
.mock-arrow { display: flex; justify-content: center; color: var(--ink4); margin: 8px 0; }
.mock-note { display: flex; gap: 8px; align-items: flex-start; padding: 8px 0; font-size: 13.5px; }
.mock-note .ico { color: var(--pt); margin-top: 1px; }
.mock-note b { font-weight: 600; margin-right: 4px; }
.mock-seal { text-align: center; padding: 10px 6px 4px; }
.mock-seal .mock-big { font-size: 22px; font-weight: 700; letter-spacing: -0.03em; line-height: 1.35; margin: 10px 0 6px; }
.mock-seal .lock { width: 52px; height: 52px; border-radius: 18px; background: var(--pt-tint); color: var(--pt); margin: 0 auto; display: flex; align-items: center; justify-content: center; }
.mock-letter { margin-top: 14px; display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 14px; background: var(--fill); font-size: 13.5px; font-weight: 600; text-align: left; }
.mock-letter .ico { color: var(--pt); }

/* 요금 */
.p3-free { display: grid; grid-template-columns: 240px minmax(0, 1fr) auto; gap: 24px; align-items: center; background: #fff; border-radius: 20px; padding: 28px; border: 1px solid rgba(0, 0, 0, 0.07); }
.p3-free-name b { display: flex; align-items: center; gap: 8px; font-size: 24px; font-weight: 600; letter-spacing: -0.02em; }
.p3-free-name b .ico { color: #31A552; }
.p3-free-name span { display: block; margin-top: 6px; font-size: 15px; color: rgba(0, 0, 0, 0.45); line-height: 1.5; }
.p3-free-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px 20px; }
.p3-free-list > p { grid-column: 1 / -1; margin: 0 0 2px; font-size: 16px; font-weight: 600; }
.p3-check { display: flex; gap: 9px; align-items: flex-start; font-size: 15px; line-height: 1.5; color: rgba(0, 0, 0, 0.85); }
.p3-check .ico { flex: none; margin-top: 2px; color: var(--pt); }
.p3-free-r { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.p3-free-r > b { font-size: 26px; font-weight: 600; letter-spacing: -0.02em; }
.p3-plans { margin-top: 16px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.p3-plan { position: relative; background: #fff; border-radius: 20px; padding: 26px 24px 24px; border: 1px solid rgba(0, 0, 0, 0.07); display: flex; flex-direction: column; gap: 6px; }
.p3-plan.rec { border-color: rgba(245, 69, 92, 0.5); box-shadow: 0 10px 32px rgba(245, 69, 92, 0.1); }
.p3-plan-name { display: flex; align-items: center; gap: 8px; font-size: 18px; font-weight: 700; letter-spacing: -0.02em; }
.p3-plan-s { font-size: 14px; color: rgba(0, 0, 0, 0.45); }
.p3-price { margin-top: 14px; font-size: 30px; font-weight: 700; letter-spacing: -0.03em; }
.p3-price em { font-style: normal; font-size: 15px; font-weight: 500; color: rgba(0, 0, 0, 0.5); margin-left: 2px; }
.p3-save { position: absolute; top: 22px; right: 20px; }
.p3-plus { margin-top: 16px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 24px; background: #fff; border-radius: 20px; padding: 28px; border: 1px solid rgba(0, 0, 0, 0.07); align-items: start; }
.p3-plus-h { display: flex; flex-direction: column; gap: 8px; }
.p3-plus-h b { display: flex; align-items: center; gap: 8px; font-size: 24px; font-weight: 600; letter-spacing: -0.02em; }
.p3-plus-h span { font-size: 15px; color: rgba(0, 0, 0, 0.5); }
.p3-plus-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px 20px; }
.p3-table { margin-top: 16px; background: #fff; border-radius: 20px; border: 1px solid rgba(0, 0, 0, 0.07); overflow: hidden; }
.p3-row { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr); border-bottom: 1px solid rgba(0, 0, 0, 0.06); }
.p3-row:last-child { border-bottom: 0; }
.p3-row > div { padding: 14px 18px; display: flex; align-items: center; min-height: 54px; font-size: 15px; color: rgba(0, 0, 0, 0.82); }
.p3-row > div + div { border-left: 1px solid rgba(0, 0, 0, 0.06); justify-content: center; text-align: center; }
.p3-row.h > div { font-weight: 700; font-size: 16px; background: #FBFBFC; }
.p3-row .ico.yes { color: var(--pt); }
.p3-note { margin: 14px 0 0; text-align: right; font-size: 14px; color: rgba(0, 0, 0, 0.45); }
.p3-wrap { background: linear-gradient(180deg, #FFF3EE 0%, #FFF9F6 60%, #fff 100%); }
/* 상품 카드: 이용 기간 한 줄 + 바로 사기 */
.p3-plan-d { margin: 2px 0 18px; font-size: 13.5px; line-height: 1.5; color: rgba(0, 0, 0, 0.55); }
.p3-plan .p3-buy { margin-top: auto; width: 100%; }
.p3-plus-on { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.p3-plus-on > span { font-size: 14.5px; font-weight: 600; color: var(--pt-ink); }
/* 요금 아래 결제 안내(세금 · 갱신 없음 · 배송 없음 · 판매자 · 환불) */
.p3-fine { margin-top: 16px; padding: 18px 22px 12px; background: rgba(255, 255, 255, 0.7); border: 1px solid rgba(0, 0, 0, 0.06); border-radius: 16px; }
.p3-fine ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.p3-fine li { position: relative; padding-left: 14px; font-size: 13.5px; line-height: 1.6; color: rgba(0, 0, 0, 0.6); word-break: keep-all; }
.p3-fine li::before { content: ''; position: absolute; left: 2px; top: 0.72em; width: 4px; height: 4px; border-radius: 50%; background: rgba(0, 0, 0, 0.3); }
.p3-fine .link-btn { margin: 6px 0 0 6px; padding: 6px 4px; font-size: 13.5px; }
.plus-fine { margin: 2px 0 4px; font-size: 12.5px; line-height: 1.55; color: var(--ink3); word-break: keep-all; }
.plus-fine .link-btn { padding: 0 2px; font-size: 12.5px; }
.opt:disabled { cursor: default; }
.opt.dim { opacity: 0.55; }
@media (max-width: 1000px) {
  .p3-free, .p3-plus { grid-template-columns: minmax(0, 1fr); }
  .p3-free-r { align-items: flex-start; }
  .p3-plans { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) { .p3-free-list, .p3-plus-list { grid-template-columns: minmax(0, 1fr); } .p3-row > div { padding: 12px 12px; font-size: 14px; } }

.v3-faq { max-width: 880px; margin: 0 auto; }
.v3-faq details { border-top: 1px solid var(--s-line); scroll-margin-top: 88px; }
.v3-faq details:last-child { border-bottom: 1px solid var(--s-line); }
.v3-faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 24px 4px; font-size: 19px; font-weight: 650; letter-spacing: -0.01em; }
.v3-faq summary::-webkit-details-marker { display: none; }
.v3-faq summary .ico { flex: none; transition: transform 0.2s; color: var(--s-ink3); }
.v3-faq details[open] summary .ico { transform: rotate(45deg); }
.v3-faq details p { margin: 0; padding: 0 4px 24px; font-size: 17px; line-height: 1.7; color: var(--s-ink2); }
.v3-end { padding: 120px var(--s-gutter); text-align: center; background: var(--s-warm); }
.v3-end .v3-p { margin: 16px auto 0; color: var(--s-ink2); }
.v3-end .v3-btns { justify-content: center; margin-top: 28px; }

.s-foot { background: #fff; border-top: 1px solid rgba(0, 0, 0, 0.06); color: var(--s-ink2); font-size: 13px; line-height: 1.7; padding: 60px max(var(--s-gutter), calc((100% - var(--s-max)) / 2)) 52px; }
.s-foot-top { display: grid; grid-template-columns: 240px 1fr; gap: 40px; }
.s-foot-brand { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.s-foot-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 20px; }
.s-foot-col { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.s-foot-col p { margin: 0 0 4px; font-size: 14px; font-weight: 600; color: var(--s-ink); }
.s-foot-col button, .s-foot-col span, .s-foot-col a { appearance: none; border: 0; background: none; padding: 0; font-size: 14.5px; color: #3B3B41; text-align: left; }
.s-foot-col button:hover, .s-foot-col a:hover { color: var(--s-ink); text-decoration: underline; text-underline-offset: 3px; }
.s-foot-biz { margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(0, 0, 0, 0.08); color: #8C8C93; font-size: 12.5px; line-height: 1.8; }
.s-foot-proto { margin-top: 10px; color: #A3A3AA; }
.s-foot .s-globe { background: rgba(0, 0, 0, 0.05); border-radius: 12px; height: 40px; padding: 0 14px; font-weight: 600; }
@media (max-width: 900px) { .s-foot-top { grid-template-columns: 1fr; gap: 28px; } }
@media (max-width: 560px) { .s-foot { padding-top: 44px; } .s-foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.rv-h { opacity: 0; }

/* ── 내 롤링페이퍼 ── */
.my-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin: 18px 4px 18px; }
.my-head h1 { margin: 0; font-size: 26px; font-weight: 700; letter-spacing: -0.035em; }
.my-list { display: flex; flex-direction: column; gap: 12px; }
.my-item { appearance: none; border: 0; width: 100%; text-align: left; background: #fff; border-radius: var(--r-card); box-shadow: var(--sh-card); padding: 14px; display: flex; gap: 14px; align-items: center; transition: transform 0.14s var(--ease); }
.my-item:active { transform: scale(0.99); }
.my-thumb { width: 112px; flex: none; border-radius: 10px; overflow: hidden; background: var(--fill); aspect-ratio: 297 / 210; }
.my-thumb.port { aspect-ratio: 210 / 297; width: 80px; }
.my-thumb canvas { width: 100%; height: 100%; display: block; }
.my-main { flex: 1; min-width: 0; }
.my-t { font-size: 17px; font-weight: 700; letter-spacing: -0.02em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.my-s { font-size: 13.5px; color: var(--ink3); margin-top: 4px; }
.my-badges { display: flex; gap: 6px; margin-top: 8px; flex-wrap: wrap; }
.plus-card { margin-top: 20px; border-radius: var(--r-card); padding: 18px 20px; display: flex; align-items: center; gap: 14px; background: linear-gradient(110deg, #FFF0EA 0%, #FFE9F1 100%); }
.plus-card b { display: block; font-size: 16px; letter-spacing: -0.02em; }
.plus-card span { display: block; font-size: 13.5px; color: var(--ink2); margin-top: 2px; }
.empty { text-align: center; padding: 56px 20px 40px; }
.empty b { display: block; font-size: 19px; font-weight: 700; letter-spacing: -0.03em; }
.empty span { display: block; margin-top: 8px; font-size: 15px; color: var(--ink3); }

/* ── 방(만든 사람) ── */
.room-hero { padding: 16px; }
.room-paper { position: relative; border-radius: 12px; overflow: hidden; background: var(--fill); cursor: pointer; }
.room-paper canvas { display: block; width: 100%; height: auto; }
.room-paper-tag { position: absolute; right: 10px; bottom: 10px; height: 30px; padding: 0 12px; border-radius: 999px; background: rgba(25, 31, 40, 0.78); color: #fff; font-size: 12.5px; font-weight: 600; display: inline-flex; align-items: center; gap: 5px; backdrop-filter: blur(6px); }
.room-count { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; padding: 18px 4px 4px; }
.room-count b { font-size: 24px; font-weight: 700; letter-spacing: -0.035em; }
.room-count span { display: block; margin-top: 4px; font-size: 14px; color: var(--ink3); }
.acts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 12px; }
.act { appearance: none; border: 0; background: #fff; border-radius: 16px; box-shadow: var(--sh-card); min-height: 78px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; font-size: 13.5px; font-weight: 600; color: var(--ink); transition: transform 0.14s var(--ease); padding: 8px 4px; }
.act:active { transform: scale(0.97); }
.act .ico { color: var(--pt); }
.link-line { display: flex; align-items: center; gap: 10px; margin-top: 12px; padding: 12px 12px 12px 14px; border-radius: 14px; background: var(--fill); }
.link-line span { flex: 1; min-width: 0; font-size: 14px; color: var(--ink2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.av { width: 40px; height: 40px; border-radius: 50%; background: var(--pt-tint); color: var(--pt-ink); font-size: 15px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex: none; letter-spacing: -0.02em; }
.av.gray { background: var(--fill); color: var(--ink3); }
.note-row { appearance: none; border: 0; background: transparent; width: 100%; text-align: left; display: flex; gap: 12px; align-items: flex-start; padding: 14px 0; color: var(--ink); }
.note-row + .note-row { border-top: 1px solid var(--line); }
.note-row-main { flex: 1; min-width: 0; }
.note-row-top { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.note-row-top b { font-size: 15.5px; font-weight: 700; letter-spacing: -0.02em; }
.note-row-text { margin-top: 4px; font-size: 14.5px; line-height: 1.55; color: var(--ink2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; white-space: pre-line; }
.note-row-text.masked { color: var(--ink4); }
.note-row.hidden .note-row-text, .note-row.hidden b { opacity: 0.5; }
.note-thumb { width: 52px; height: 52px; border-radius: 10px; object-fit: cover; flex: none; background: var(--fill); }
.note-thumb.draw { object-fit: contain; background: #FAFAFB; }
.name-chips { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 12px; }
.name-chip { height: 32px; padding: 0 12px; border-radius: 999px; background: var(--fill); font-size: 14px; font-weight: 600; color: var(--ink2); display: inline-flex; align-items: center; }
.name-chip.done { background: var(--pt-tint); color: var(--pt-ink); }
.progress { height: 8px; border-radius: 8px; background: var(--fill); overflow: hidden; margin-top: 12px; }
.progress i { display: block; height: 100%; border-radius: 8px; background: var(--pt); transition: width 0.5s var(--ease); }
.note-full { font-family: 'Gaegu', var(--font); font-size: 21px; line-height: 1.5; color: #333D4B; white-space: pre-wrap; padding: 18px; border-radius: 16px; background: var(--fill); }
.note-full-sign { margin-top: 8px; font-weight: 700; text-align: right; }
.note-full img { max-width: 220px; max-height: 220px; border-radius: 8px; margin: 0 auto 12px; }
@media (min-width: 1024px) {
  .room-grid { max-width: 1080px; margin: 0 auto; padding: 8px 32px 120px; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 0 32px; align-items: start; }
  .room-grid > .col-l { position: sticky; top: 64px; }
  .room-grid .page-in { padding: 0; max-width: none; }
}

/* ── 쓰기(친구) ── */
.w-cover { text-align: center; }
.w-cover-paper { margin: 8px auto 26px; max-width: 420px; border-radius: 10px; overflow: hidden; box-shadow: 0 18px 44px rgba(40, 30, 80, 0.14); transform: rotate(-1.2deg); }
.w-cover-paper canvas { display: block; width: 100%; height: auto; }
.w-cover .q-t { font-size: 28px; }
.w-who { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.w-who .opt { min-height: 58px; padding: 12px 16px; }
.w-who .opt.done { opacity: 0.45; }
.starters { display: flex; gap: 6px; overflow-x: auto; padding: 2px 0 10px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.starters::-webkit-scrollbar { display: none; }
.starters .chip { height: 34px; font-size: 13.5px; flex: none; }
.w-photo-prev { margin-top: 18px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.w-photo-prev img { max-width: 240px; max-height: 260px; border-radius: 8px; box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12); background: #fff; }
.w-photo-prev.draw img { box-shadow: none; border: 1px solid var(--line2); }
.w-card { margin-top: 8px; border-radius: 22px; padding: 26px 22px 22px; text-align: center; position: relative; }
.w-card img { max-width: 200px; max-height: 200px; margin: 0 auto 16px; border-radius: 4px; }
.w-card img.photo { border: 6px solid #fff; box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12); transform: rotate(-1.5deg); }
.w-card-text { font-family: 'Gaegu', var(--font); font-size: 22px; line-height: 1.45; white-space: pre-wrap; }
.w-card-sign { margin-top: 10px; font-family: 'Gaegu', var(--font); font-weight: 700; font-size: 20px; }
.toggle-row { display: flex; align-items: center; gap: 14px; margin-top: 20px; padding: 16px 18px; border-radius: 18px; background: var(--fill); text-align: left; }
.toggle-row b { display: block; font-size: 16px; letter-spacing: -0.02em; }
.toggle-row span { display: block; font-size: 13.5px; color: var(--ink3); margin-top: 2px; line-height: 1.45; }

/* 그림판 */
.draw-wrap { position: relative; border-radius: 18px; background: #FAFAFB; box-shadow: inset 0 0 0 1px var(--line2); overflow: hidden; touch-action: none; }
.draw-wrap canvas { display: block; width: 100%; height: auto; touch-action: none; cursor: crosshair; }
.draw-tools { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 12px; }
.pens { display: flex; gap: 8px; }
.pen { appearance: none; width: 34px; height: 34px; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 0 0 1px var(--line2); padding: 0; }
.pen.on { box-shadow: 0 0 0 2px var(--ink); }
.widths { display: flex; gap: 4px; }
.widths button { appearance: none; border: 0; width: 36px; height: 36px; border-radius: 10px; background: transparent; display: flex; align-items: center; justify-content: center; }
.widths button.on { background: var(--fill); }
.widths i { display: block; border-radius: 50%; background: var(--ink); }

/* ── 꾸미기 · 인쇄 ── */
.studio { min-height: 100dvh; background: #EEF0F3; display: flex; flex-direction: column; }
.studio .topbar { background: rgba(238, 240, 243, 0.92); }
.studio-main { flex: 1; display: flex; flex-direction: column; min-height: 0; }
.st-stage { padding: 4px 16px 0; display: flex; flex-direction: column; align-items: center; }
.st-faces { display: flex; gap: 6px; margin: 4px 0 12px; overflow-x: auto; max-width: 100%; scrollbar-width: none; }
.st-faces::-webkit-scrollbar { display: none; }
.st-face { appearance: none; border: 0; height: 34px; padding: 0 14px; border-radius: 999px; background: rgba(255, 255, 255, 0.6); color: var(--ink2); font-size: 13.5px; font-weight: 600; white-space: nowrap; flex: none; }
.st-face.on { background: var(--ink); color: #fff; }
/* 꾸미기 위: 보기(인쇄 · 세로)와 면 · 장 고르기. 한 줄에 안 들어가면 둘째 줄로 */
.st-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 10px; width: 100%; margin: 4px 0 12px; }
.st-seg { flex: none; padding: 3px; gap: 3px; border-radius: 12px; background: rgba(25, 31, 40, 0.07); }
.st-seg button { flex: none; height: 36px; padding: 0 13px; border-radius: 9px; font-size: 14px; gap: 5px; }
.st-top .st-faces { margin: 0; flex: 0 0 auto; max-width: 100%; }
.st-pager { display: flex; align-items: center; gap: 4px; flex: none; }
.st-pager span { min-width: 52px; text-align: center; font-size: 14px; font-weight: 600; color: var(--ink2); font-variant-numeric: tabular-nums; }
.st-pg { appearance: none; border: 0; width: 36px; height: 36px; padding: 0; border-radius: 999px; background: rgba(255, 255, 255, 0.7); color: var(--ink); display: inline-flex; align-items: center; justify-content: center; }
.st-pg:disabled { opacity: 0.35; }
.st-play { display: flex; justify-content: center; margin-top: 10px; }
.st-canvas { position: relative; width: 100%; display: flex; justify-content: center; }
.st-canvas canvas { display: block; border-radius: 4px; box-shadow: 0 10px 30px rgba(30, 30, 60, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.03); background: #fff; touch-action: manipulation; cursor: pointer; }
.st-canvas canvas.dragging { cursor: grabbing; }
.st-skel { border-radius: 4px; background: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 30px rgba(30, 30, 60, 0.08); }
.st-status { margin: 12px 0 0; font-size: 13.5px; color: var(--ink2); text-align: center; line-height: 1.5; font-variant-numeric: tabular-nums; }
.st-warn { margin: 10px auto 0; max-width: 560px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: center; padding: 10px 14px; border-radius: 14px; background: #FFF4E5; color: #9A5A0B; font-size: 13.5px; font-weight: 600; }
.st-warn .btn { height: 32px; padding: 0 12px; font-size: 13px; border-radius: 10px; }
.st-plus { margin: 10px auto 0; display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink2); }
.st-hint { margin: 8px 0 0; font-size: 12.5px; color: var(--ink3); text-align: center; }
.st-panel { background: #fff; border-radius: 24px 24px 0 0; margin-top: 16px; box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.04); padding-bottom: calc(110px + var(--safe-b)); flex: 1; }
.st-tabs { display: flex; gap: 0; overflow-x: auto; padding: 10px 8px 0; scrollbar-width: none; border-bottom: 1px solid var(--line); position: sticky; top: 56px; background: #fff; z-index: 5; border-radius: 24px 24px 0 0; }
.st-tabs::-webkit-scrollbar { display: none; }
.st-tab { appearance: none; border: 0; background: transparent; height: 46px; padding: 0 7px; font-size: 14.5px; font-weight: 600; color: var(--ink3); white-space: nowrap; position: relative; flex: 1 0 auto; }
.st-tab.on { color: var(--ink); }
.st-tab.on::after { content: ""; position: absolute; left: 7px; right: 7px; bottom: -1px; height: 2.5px; border-radius: 2px; background: var(--ink); }
.st-body { padding: 18px 20px 8px; max-width: 640px; margin: 0 auto; }
.st-group + .st-group { margin-top: 22px; }
.st-label { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; font-size: 14px; font-weight: 600; color: var(--ink2); }
.st-label small { font-weight: 500; color: var(--ink3); font-size: 13px; }
.swatch-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.swatch { appearance: none; border: 0; background: transparent; padding: 0; display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: var(--ink2); }
.swatch-c { position: relative; width: 100%; aspect-ratio: 1.42; border-radius: 12px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06); overflow: hidden; display: flex; align-items: center; justify-content: center; transition: box-shadow 0.14s; }
.swatch-c i { width: 46%; height: 30%; border-radius: 999px; display: block; }
.swatch-c b { position: absolute; left: 10%; top: 18%; width: 30%; height: 10%; border-radius: 4px; }
.swatch.on .swatch-c { box-shadow: 0 0 0 2.5px var(--ink); }
.swatch .badge-plus { position: absolute; top: 5px; right: 5px; }
.font-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.font-opt { appearance: none; border: 1.5px solid var(--line2); background: #fff; border-radius: 16px; padding: 12px 14px; text-align: left; display: flex; flex-direction: column; gap: 4px; position: relative; min-height: 78px; }
.font-opt.on { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.font-opt > span:not(.badge-plus) { font-size: 12.5px; color: var(--ink3); font-weight: 600; }
.font-opt b { font-size: 24px; font-weight: 400; line-height: 1.25; color: var(--ink); overflow: hidden; white-space: nowrap; }
.font-opt .badge-plus { position: absolute; top: 10px; right: 10px; }
.shape-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.shape-opt { appearance: none; border: 1.5px solid var(--line2); background: #fff; border-radius: 16px; padding: 14px; text-align: left; }
.shape-opt.on { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.shape-opt b { display: block; font-size: 16px; letter-spacing: -0.02em; }
.shape-opt > span { display: block; font-size: 13px; color: var(--ink3); margin-top: 2px; }
.shape-pic { height: 64px; border-radius: 10px; margin-bottom: 10px; position: relative; overflow: hidden; background: #ECE8FA; }
.shape-pic i { position: absolute; display: block; border-radius: 4px; }
.set-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; }
.set-opt { appearance: none; border: 1.5px solid var(--line2); background: #fff; border-radius: 14px; padding: 8px 4px 8px; display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 12px; font-weight: 600; color: var(--ink2); position: relative; }
.set-opt.on { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); color: var(--ink); }
.set-opt img { width: 38px; height: 38px; object-fit: contain; }
.set-opt .badge-plus { position: absolute; top: -7px; right: -4px; }
.st-row { display: flex; align-items: center; gap: 12px; padding: 14px 0; }
.st-row + .st-row { border-top: 1px solid var(--line); }
.st-row-main { flex: 1; min-width: 0; }
.st-row-main b { display: flex; align-items: center; gap: 6px; font-size: 15.5px; letter-spacing: -0.02em; }
.st-row-main > span { display: block; font-size: 13px; color: var(--ink3); margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hero-ph { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex: none; background: var(--fill); }
.sticker-tray { display: grid; grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); gap: 8px; }
.sticker-tray button { appearance: none; border: 0; background: var(--fill); border-radius: 14px; aspect-ratio: 1; display: flex; align-items: center; justify-content: center; padding: 8px; }
.sticker-tray button:hover { background: var(--fill2); }
.sticker-tray img { width: 100%; height: 100%; object-fit: contain; }
.st-toolbar { position: absolute; left: 0; right: 0; margin: 0 auto; width: max-content; max-width: calc(100% - 16px); overflow-x: auto; scrollbar-width: none; bottom: 12px; display: flex; gap: 4px; padding: 6px; border-radius: 16px; background: rgba(25, 31, 40, 0.92); box-shadow: var(--sh-pop); z-index: 6; animation: popIn 0.2s var(--ease) both; }
.st-toolbar button { appearance: none; border: 0; background: transparent; color: #fff; height: 38px; padding: 0 10px; flex: none; border-radius: 10px; font-size: 13.5px; font-weight: 600; white-space: nowrap; display: inline-flex; align-items: center; gap: 4px; }
.st-toolbar button:hover { background: rgba(255, 255, 255, 0.12); }
.color-row { display: flex; gap: 8px; flex-wrap: wrap; }
.color-dot { appearance: none; width: 36px; height: 36px; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 0 0 1px var(--line2); padding: 0; }
.color-dot.on { box-shadow: 0 0 0 2.5px var(--ink); }
.range { width: 100%; accent-color: var(--pt); }
@media (min-width: 1024px) {
  .studio-main { flex-direction: row; align-items: stretch; }
  .st-stage { flex: 1; padding: 12px 28px 40px; justify-content: flex-start; }
  .st-panel { width: 400px; flex: none; margin: 0; border-radius: 0; box-shadow: -1px 0 0 rgba(0, 0, 0, 0.05); padding-bottom: 120px; height: calc(100dvh - 56px); overflow-y: auto; position: sticky; top: 56px; }
  .st-tabs { top: 0; border-radius: 0; }
  .studio .bottom-bar { left: auto; width: 400px; background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #fff 22%); }
}

/* ── 받는 분 화면 ── */
.view { min-height: 100dvh; background: #fff; }
.view-sealed { min-height: calc(100dvh - 56px); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 24px 28px 140px; }
.view-lock { width: 72px; height: 72px; border-radius: 24px; background: var(--pt-tint); color: var(--pt); display: flex; align-items: center; justify-content: center; }
.view-sealed h1 { margin: 22px 0 0; font-size: 30px; line-height: 1.35; font-weight: 700; letter-spacing: -0.04em; white-space: pre-line; }
.view-sealed p { margin: 12px 0 0; font-size: 16px; color: var(--ink2); }
.view-left { margin-top: 22px; height: 40px; padding: 0 16px; border-radius: 999px; background: var(--fill); font-size: 15px; font-weight: 700; display: inline-flex; align-items: center; font-variant-numeric: tabular-nums; }
.view-in { max-width: 920px; margin: 0 auto; padding: 8px 20px calc(130px + var(--safe-b)); }
.view-head { text-align: center; padding: 18px 0 22px; }
.view-head p { margin: 0; font-size: 15px; color: var(--pt-ink); font-weight: 600; }
.view-head h1 { margin: 8px 0 0; font-size: clamp(26px, 4vw, 36px); font-weight: 700; letter-spacing: -0.04em; line-height: 1.3; }
.view-faces { display: flex; flex-direction: column; gap: 18px; }
.view-face canvas { display: block; width: 100%; height: auto; border-radius: 8px; box-shadow: 0 14px 40px rgba(30, 30, 60, 0.12); }
.view-face span { display: block; margin-top: 8px; text-align: center; font-size: 13px; color: var(--ink3); }
.letters { margin-top: 26px; }
.letter { appearance: none; border: 0; width: 100%; display: flex; align-items: center; gap: 12px; padding: 16px; border-radius: 18px; background: var(--pt-tint2); text-align: left; color: var(--ink); }
.letter + .letter { margin-top: 8px; }
.letter .ico { color: var(--pt); }
.letter b { flex: 1; font-size: 15.5px; letter-spacing: -0.02em; }
.slides { position: fixed; inset: 0; z-index: 90; background: #14161B; color: #fff; display: flex; flex-direction: column; animation: fadeIn 0.25s ease both; }
.slides-top { height: 56px; display: flex; align-items: center; justify-content: space-between; padding: 0 8px 0 20px; font-size: 14px; color: rgba(255, 255, 255, 0.6); font-variant-numeric: tabular-nums; }
.slides-top .icon-btn { color: #fff; }
.slides-top .icon-btn:hover { background: rgba(255, 255, 255, 0.08); }
.slide { flex: 1; display: flex; align-items: center; justify-content: center; padding: 20px 28px; min-height: 0; }
.slide-card { width: 100%; max-width: 560px; max-height: 100%; overflow-y: auto; border-radius: 26px; padding: 34px 28px 30px; text-align: center; color: #333D4B; animation: riseIn 0.4s var(--ease) both; }
.slide-card img { max-width: 70%; max-height: 38vh; margin: 0 auto 18px; border-radius: 4px; }
.slide-card img.photo { border: 8px solid #fff; box-shadow: 0 10px 26px rgba(0, 0, 0, 0.15); }
.slide-text { font-family: 'Gaegu', var(--font); font-size: clamp(22px, 5vw, 30px); line-height: 1.5; white-space: pre-wrap; }
.slide-sign { margin-top: 14px; font-family: 'Gaegu', var(--font); font-weight: 700; font-size: clamp(20px, 4.4vw, 26px); }
.slides-nav { display: flex; gap: 10px; padding: 12px 20px calc(18px + var(--safe-b)); max-width: 560px; width: 100%; margin: 0 auto; }
.slides-nav .btn { flex: 1; }
.slides-nav .btn-gray { background: rgba(255, 255, 255, 0.1); color: #fff; }
.slides-nav .btn-gray:hover { background: rgba(255, 255, 255, 0.16); }

/* 달력(일요일 시작) */
.cal-head { display: flex; align-items: center; justify-content: space-between; margin: 4px 0 10px; }
.cal-head b { font-size: 17px; letter-spacing: -0.02em; }
.cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 2px; text-align: center; }
.cal-wd { font-size: 12.5px; color: var(--ink3); font-weight: 600; padding: 6px 0; }
.cal-wd.sun { color: var(--err); }
.cal-d { appearance: none; border: 0; background: transparent; aspect-ratio: 1; max-height: 46px; border-radius: 50%; font-size: 15px; font-weight: 500; color: var(--ink); display: flex; align-items: center; justify-content: center; font-variant-numeric: tabular-nums; margin: 0 auto; width: 100%; max-width: 46px; }
.cal-d:hover { background: var(--fill); }
.cal-d.sun { color: var(--err); }
.cal-d.dis { color: #D1D6DB; pointer-events: none; }
.cal-d.today { box-shadow: inset 0 0 0 1.5px var(--line2); }
.cal-d.on { background: var(--pt); color: #fff; font-weight: 700; }

/* 가져오기 미리 보기 */
.imp-list { margin-top: 6px; }
.imp-row { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-top: 1px solid var(--line); }
.imp-row:first-child { border-top: 0; }
.imp-check { appearance: none; border: 0; width: 24px; height: 24px; border-radius: 8px; background: var(--fill2); color: #fff; display: flex; align-items: center; justify-content: center; flex: none; margin-top: 1px; padding: 0; }
.imp-check.on { background: var(--pt); }
.imp-row b { font-size: 15px; letter-spacing: -0.02em; }
.imp-row p { margin: 2px 0 0; font-size: 14px; color: var(--ink2); line-height: 1.5; white-space: pre-line; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.imp-row small { display: block; margin-top: 2px; color: var(--warn); font-size: 12.5px; font-weight: 600; }

.loading-page { min-height: 70dvh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; color: var(--ink3); font-size: 14.5px; text-align: center; padding: 24px; }
.ro-note { margin: 0 0 12px; padding: 12px 14px; border-radius: 14px; background: #FFF4E5; color: #9A5A0B; font-size: 13.5px; line-height: 1.5; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

/* ---------- 색 고르기 (IMAGO 프레임 만들기 방식) ---------- */
.cf { display: block; }
.cf-hex-row { display: flex; align-items: center; gap: 8px; }
.cf-chip { width: 44px; height: 44px; flex: none; border-radius: 12px; box-shadow: inset 0 0 0 1px rgba(0,0,0,.06); }
.cf-chip.light { box-shadow: inset 0 0 0 1px var(--line2); }
.cf-hex { flex: 1; min-width: 0; height: 44px; font-family: ui-monospace, 'SF Mono', Menlo, monospace; letter-spacing: .04em; text-transform: uppercase; }
.cf-wheel { position: relative; flex: none; display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 14px; border-radius: 12px; background: var(--fill, #F2F4F6); color: var(--ink2); font-size: 14.5px; font-weight: 600; cursor: pointer; overflow: hidden; }
.cf-wheel input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; border: 0; padding: 0; }
.cf-note { display: flex; align-items: flex-start; gap: 6px; margin: 10px 0 0; color: var(--ink3); font-size: 12.5px; line-height: 1.5; white-space: pre-line; }
.cf-note .badge-plus { flex: none; margin: 1px 0 0; }
.cf-ex { margin-top: 12px; }
.cf-ex-lab { display: inline-flex; align-items: center; gap: 5px; color: var(--ink3); font-size: 12.5px; font-weight: 600; margin-bottom: 8px; }
.cf-row { display: flex; gap: 8px; flex-wrap: wrap; }
.cf-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(34px, 1fr)); gap: 8px; margin-top: 12px; }
.cf-sw { appearance: none; aspect-ratio: 1; width: 100%; min-width: 34px; max-width: 44px; border-radius: 50%; border: 0; padding: 0; box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); cursor: pointer; transition: transform .12s ease; }
.cf-row .cf-sw { width: 34px; }
.cf-sw.light { box-shadow: inset 0 0 0 1px var(--line2); }
.cf-sw.on { box-shadow: 0 0 0 2.5px #fff, 0 0 0 4.5px var(--ink); }
.cf-sw:active { transform: scale(.92); }

/* ---------- 하단 말씀 ---------- */
.verse-opt { appearance: none; position: relative; display: flex; flex-direction: column; gap: 6px; width: 100%; text-align: left; padding: 16px 48px 16px 18px; margin: 0 0 10px; border: 0; border-radius: 16px; background: var(--fill, #F2F4F6); cursor: pointer; }
.verse-opt.on { background: var(--pt-tint2); box-shadow: inset 0 0 0 1.5px var(--pt, #F5455C); }
.verse-t { font-family: 'Gowun Batang', serif; font-size: 15px; line-height: 1.6; color: var(--ink); word-break: keep-all; }
.verse-c { font-size: 13px; color: var(--ink3); font-weight: 600; }
.verse-ck { position: absolute; right: 16px; top: 16px; color: var(--pt, #F5455C); }
.quiet-links { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 4px 0 6px; }
.sheet-note { margin: 8px 0 0; color: var(--ink4, #A0A7B1); font-size: 12px; line-height: 1.5; }

/* ---------- 푸터 말씀 (IMAGO와 같은 자리) ---------- */
.s-foot .s-verse { max-width: 46ch; margin: 28px auto 0; color: #6E6E73; font-size: 13px; text-align: center; line-height: 1.7; word-break: keep-all; }
.s-foot .s-verse b { display: block; font-weight: 600; color: #6E6E73; }

/* ---------- 프레임 탭 ---------- */
.frame-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 1024px) { .frame-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.frame-opt { appearance: none; display: flex; flex-direction: column; gap: 8px; padding: 8px; border: 0; border-radius: 16px; background: var(--fill); cursor: pointer; text-align: left; box-shadow: inset 0 0 0 1.5px transparent; transition: box-shadow .15s ease; }
.frame-opt.on { background: #fff; box-shadow: inset 0 0 0 2px var(--ink); }
.frame-pic { position: relative; display: block; aspect-ratio: 1.414; border-radius: 10px; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(0,0,0,.05); }
.frame-pic i { position: absolute; border-radius: 3px; box-shadow: 0 2px 5px rgba(20,20,40,.14); }
.frame-pic b { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 30px; font-weight: 400; }
.frame-n { padding: 0 4px 2px; font-size: 14.5px; font-weight: 600; color: var(--ink); }
.frame-hint { margin: 14px 2px 0; color: var(--ink3); font-size: 13px; line-height: 1.6; white-space: pre-line; }

/* ---------- 색 탭 ---------- */
.cp-row { display: grid; grid-template-columns: repeat(var(--n, 5), minmax(auto, 1fr)); gap: 6px; margin-bottom: 16px; }
.cp-opt { appearance: none; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 10px 6px 9px; border: 0; border-radius: 14px; background: var(--fill); color: var(--ink2); font-size: 13px; font-weight: 600; cursor: pointer; white-space: nowrap; }
.cp-opt.on { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.cp-sw { width: 28px; height: 28px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: var(--ink4); box-shadow: inset 0 0 0 1px rgba(0,0,0,.1); }
.cp-sw.light { box-shadow: inset 0 0 0 1px var(--line2); }
.pat-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: 8px; }
.pat-opt { appearance: none; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 8px 6px 10px; border: 0; border-radius: 14px; background: var(--fill); color: var(--ink2); font-size: 13px; font-weight: 600; cursor: pointer; }
.pat-opt.on { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.pat-pic { width: 100%; aspect-ratio: 1.3; border-radius: 9px; box-shadow: inset 0 0 0 1px rgba(0,0,0,.06); }
.mix-opt { appearance: none; display: flex; align-items: center; gap: 10px; width: 100%; height: 48px; padding: 0 14px; margin-bottom: 12px; border: 0; border-radius: 14px; background: var(--fill); color: var(--ink2); font-size: 14.5px; font-weight: 600; cursor: pointer; }
.mix-opt.on { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.mix-sw { display: inline-flex; }
.mix-sw i { width: 18px; height: 18px; border-radius: 50%; margin-right: -5px; box-shadow: 0 0 0 2px #fff, inset 0 0 0 1px rgba(0,0,0,.08); }

/* ---------- 내 사진 스티커 ---------- */
.sticker-tray .mine-add { flex-direction: column; gap: 4px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--line2); color: var(--ink2); font-size: 11.5px; font-weight: 600; line-height: 1.25; text-align: center; padding: 6px; }
.sticker-tray .mine-add:hover { background: var(--fill); }
.mine-preview { display: flex; align-items: center; justify-content: center; height: 240px; margin-bottom: 18px; border-radius: 18px; background-color: #F4F5F7; background-image: linear-gradient(45deg, #E9EBEE 25%, transparent 25%), linear-gradient(-45deg, #E9EBEE 25%, transparent 25%), linear-gradient(45deg, transparent 75%, #E9EBEE 75%), linear-gradient(-45deg, transparent 75%, #E9EBEE 75%); background-size: 20px 20px; background-position: 0 0, 0 10px, 10px -10px, -10px 0; }
.mine-preview img { max-width: 78%; max-height: 210px; object-fit: contain; }
.quiet-line { margin: 10px 2px 0; color: var(--ink3); font-size: 13px; line-height: 1.5; }

/* ---------- 첫 화면: 꾸미기 장 ---------- */
.dc-mock .mock-t { font-size: 14px; margin-bottom: 10px; }
.dc-frames { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.dc-fr { display: flex; flex-direction: column; gap: 6px; font-size: 12.5px; font-weight: 600; color: var(--ink2); }
.dc-fr i { display: block; aspect-ratio: 1.414; border-radius: 9px; box-shadow: inset 0 0 0 1px rgba(0,0,0,.06); }
.dc-chips { display: grid; grid-template-columns: repeat(5, minmax(auto, 1fr)); gap: 6px; }
.dc-chip { display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 8px 6px 7px; border-radius: 12px; background: var(--fill); font-size: 12px; font-weight: 600; color: var(--ink2); white-space: nowrap; }
.dc-chip.on { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.dc-chip i { width: 22px; height: 22px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); }
.dc-hex { display: flex; align-items: center; gap: 10px; margin-top: 10px; height: 42px; padding: 0 6px 0 8px; border-radius: 12px; background: var(--fill); font-size: 14px; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.dc-hex i { width: 26px; height: 26px; border-radius: 8px; background: #2C55D4; }
.dc-hex span { margin-left: auto; height: 30px; padding: 0 12px; display: inline-flex; align-items: center; border-radius: 9px; background: #fff; font-size: 12.5px; color: var(--ink2); }
.dc-stk { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.dc-stk span { aspect-ratio: 1; display: flex; align-items: center; justify-content: center; border-radius: 12px; background: var(--fill); }
.dc-stk img { width: 62%; height: 62%; object-fit: contain; }
.dc-stk .dc-add { flex-direction: column; gap: 3px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--line2); font-size: 11px; font-weight: 600; color: var(--ink2); text-align: center; line-height: 1.25; padding: 4px; }

/* ---------- 약관 · 개인정보처리방침 ---------- */
.legal-in { max-width: 760px; margin: 0 auto; padding: 8px 20px 96px; color: var(--ink2); font-size: 15px; line-height: 1.75; word-break: keep-all; }
.legal-in h1 { margin: 12px 0 4px; font-size: 28px; letter-spacing: -0.03em; color: var(--ink); }
.legal-meta { margin: 0 0 28px; color: var(--ink3); font-size: 13.5px; }
.legal-in h2 { margin: 30px 0 8px; font-size: 17px; color: var(--ink); letter-spacing: -0.02em; }
.legal-in p { margin: 0 0 10px; }
.legal-in ul { margin: 0 0 12px; padding-left: 20px; }
.legal-in li { margin: 0 0 6px; }
.legal-cta { margin: 28px 0 8px; }
.legal-links { margin: 28px 0 0 !important; color: var(--ink4); font-size: 13.5px; }
.legal-links .link-btn { padding: 4px 2px; font-size: 13.5px; }
.legal-biz { margin-top: 18px !important; padding-top: 20px; border-top: 1px solid var(--line); color: var(--ink3); font-size: 13px; line-height: 1.7; }
.agree-line { margin: 22px 0 0; max-width: 320px; text-align: center; color: var(--ink3); font-size: 12.5px; line-height: 1.6; }
.agree-line a { color: var(--ink2); text-decoration: underline; text-underline-offset: 2px; }
.acct-card { margin-top: 16px; }
.btn-kakao { background: #FEE500; color: #191919; }
.btn-kakao:hover { background: #F4DC00; }
.pay-body { min-height: 280px; }

/* ── 보내기 · QR · 캘린더 · 답장 · 예시 문장 · 임시 저장 ── */
.share-msg { display: block; width: 100%; margin-top: 12px; min-height: 132px; padding: 14px 16px; border: 0; border-radius: 16px; background: var(--fill); font-size: 15px; line-height: 1.6; color: var(--ink); resize: vertical; outline: none; transition: box-shadow 0.14s, background 0.14s; }
.share-msg:focus { box-shadow: inset 0 0 0 1.5px var(--pt); background: #fff; }
.share-msg-foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; min-height: 20px; margin: 8px 2px 0; font-size: 13px; color: var(--ink3); }
.tgt-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px 4px; margin-top: 16px; }
.tgt { appearance: none; border: 0; background: transparent; display: flex; flex-direction: column; align-items: center; gap: 7px; padding: 8px 2px 6px; border-radius: 16px; color: var(--ink2); min-width: 0; transition: background 0.14s, transform 0.14s var(--ease); }
.tgt:hover { background: var(--fill); }
.tgt:active { transform: scale(0.96); }
.tgt-ico { width: 52px; height: 52px; border-radius: 50%; background: var(--fill); color: var(--ink); display: flex; align-items: center; justify-content: center; }
.tgt:hover .tgt-ico { background: #fff; }
.tgt-l { max-width: 100%; font-size: 12.5px; font-weight: 600; letter-spacing: -0.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tgt.kakao .tgt-ico, .tgt.kakao:hover .tgt-ico { background: #FEE500; color: #191919; }
.tgt.sms .tgt-ico, .tgt.sms:hover .tgt-ico { background: #E6F7EE; color: #12844D; }
.tgt.wa .tgt-ico, .tgt.wa:hover .tgt-ico { background: #25D366; color: #fff; }
.tgt.tg .tgt-ico, .tgt.tg:hover .tgt-ico { background: #2AABEE; color: #fff; }
.tgt.line .tgt-ico, .tgt.line:hover .tgt-ico { background: #06C755; color: #fff; }
.link-acts { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.link-acts.grid { display: grid; grid-template-columns: 1fr 1fr; }
.link-acts.grid .full { grid-column: 1 / -1; }
.link-acts.grid .btn { min-width: 0; }

.qr-card { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 22px 18px 18px; border-radius: 22px; background: var(--pt-tint2); }
.qr-img { width: 216px; height: 216px; border-radius: 18px; overflow: hidden; background: #fff; box-shadow: 0 8px 24px rgba(245, 69, 92, 0.1); }
.qr-img canvas { display: block; width: 100%; height: 100%; image-rendering: pixelated; }
.qr-card b { margin-top: 14px; font-size: 16px; letter-spacing: -0.02em; }
.qr-card span { margin-top: 4px; max-width: 100%; font-size: 12.5px; color: var(--ink3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.qr-acts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.qr-acts .btn { min-width: 0; }
.qr-full { position: fixed; inset: 0; z-index: 140; background: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 24px; text-align: center; cursor: pointer; animation: fadeIn 0.2s ease both; }
.qr-full-eye { margin: 0; font-size: 18px; font-weight: 600; color: var(--ink2); }
.qr-full h2 { margin: 6px 0 22px; font-size: 30px; line-height: 1.3; font-weight: 800; letter-spacing: -0.04em; }
.qr-full-img canvas { display: block; image-rendering: pixelated; }
.qr-full-due { margin-top: 18px; display: inline-flex; align-items: center; height: 34px; padding: 0 14px; border-radius: 999px; background: var(--pt-tint); color: var(--pt-ink); font-size: 15px; font-weight: 700; }
.qr-full-hint { margin: 16px 0 0; font-size: 13px; color: var(--ink3); }

.reply-card { border-radius: 20px; padding: 18px 20px; background: linear-gradient(180deg, #FFF6F7 0%, #FFFFFF 100%); box-shadow: inset 0 0 0 1.5px rgba(245, 69, 92, 0.16); text-align: left; }
.reply-eye { display: flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 700; color: var(--pt-ink); }
.reply-text { margin-top: 8px; font-family: 'Gaegu', var(--font); font-size: 21px; line-height: 1.45; color: var(--ink); white-space: pre-wrap; }
.reply-at { margin-top: 8px; font-size: 12.5px; color: var(--ink3); }
.view-reply { margin-top: 26px; }
.reply-cta { display: flex; align-items: center; gap: 14px; text-align: left; box-shadow: inset 0 0 0 1.5px var(--line2); }
.reply-cta .opt-ico { background: var(--pt-tint); color: var(--pt-ink); }
.reply-cta b { display: block; font-size: 16px; letter-spacing: -0.02em; }
.reply-cta div > span { display: block; margin-top: 2px; font-size: 13.5px; color: var(--ink3); line-height: 1.45; }
.view-make { appearance: none; border: 0; width: 100%; margin-top: 12px; display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-radius: 18px; background: var(--fill); text-align: left; color: var(--ink); transition: background 0.14s; }
.view-make:hover { background: var(--fill2); }
.view-make b { display: block; font-size: 15px; letter-spacing: -0.02em; }
.view-make span span { display: block; margin-top: 2px; font-size: 13px; color: var(--ink3); }
@media (max-width: 420px) { .reply-cta { flex-wrap: wrap; } .reply-cta .btn { width: 100%; } }

.idea-btn { display: inline-flex; align-items: center; gap: 4px; padding: 0; font-size: 13.5px; font-weight: 600; color: var(--pt-ink); text-decoration: none; }
.idea-btn:hover { color: var(--pt-press); }
.idea-list { display: flex; flex-direction: column; gap: 8px; }
.idea { appearance: none; border: 0; width: 100%; text-align: left; display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px; border-radius: 16px; background: var(--fill); font-size: 15px; line-height: 1.55; color: var(--ink); transition: background 0.14s, transform 0.14s var(--ease); }
.idea:hover { background: var(--fill2); }
.idea:active { transform: scale(0.99); }
.idea > span:first-child { flex: 1; min-width: 0; }
.idea-use { flex: none; margin-top: 1px; height: 26px; padding: 0 10px; border-radius: 999px; background: #fff; color: var(--pt-ink); font-size: 12.5px; font-weight: 700; display: inline-flex; align-items: center; }
.autosave { margin: 6px 2px 0; font-size: 12.5px; color: var(--ink3); }
.draft-card { margin-top: 20px; text-align: left; box-shadow: inset 0 0 0 1.5px var(--line2); }
.draft-text { font-family: 'Gaegu', var(--font); font-size: 19px; line-height: 1.45; color: var(--ink2); white-space: pre-wrap; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.w-done { display: flex; flex-direction: column; align-items: center; text-align: center; padding-top: 16px; }
.w-done-ico { width: 84px; height: 84px; border-radius: 50%; background: var(--pt); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 12px 30px rgba(245, 69, 92, 0.28); animation: popIn 0.5s var(--ease) both; }
.w-done .q-t { margin-top: 22px; }
.w-done-list { width: 100%; margin-top: 28px; padding: 2px 16px; text-align: left; box-shadow: inset 0 0 0 1.5px var(--line2); }
.imp-tools { display: flex; gap: 8px; margin-bottom: 10px; }
.imp-top { display: flex; align-items: center; gap: 6px; }
.imp-top .badge { height: 20px; font-size: 11.5px; padding: 0 7px; }
.imp-row small + small { margin-top: 0; }

/* ── 받기 시트(인스타 세로 · 영상 · 인쇄) ── */
.out-opts .opt { min-height: 72px; }
.out-opts .opt-s { line-height: 1.45; }
.opt-go { color: var(--ink4); flex: none; }
.opt.off { opacity: 0.45; cursor: default; }
.opt.off:active { transform: none; }
.out-note { margin: 14px 2px 0; font-size: 13.5px; line-height: 1.6; color: var(--ink3); }
.out-strip { display: flex; gap: 10px; overflow-x: auto; padding: 4px 2px 10px; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
.out-strip img { flex: none; width: 104px; height: auto; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 12px; box-shadow: 0 6px 18px rgba(30, 30, 60, 0.14); scroll-snap-align: start; background: var(--fill); }
.out-strip.wide img { width: 200px; aspect-ratio: auto; border-radius: 8px; }
.out-strip.feed img { width: 132px; aspect-ratio: 3 / 4; }

/* 운영 숫자(대표만) */
.kp { max-width: 640px; margin: 0 auto; padding-bottom: 48px; }
.kp .seg { margin: 4px 0 12px; }
.kp-card { margin-top: 12px; }
.kp-card h3 { margin: 0 0 14px; font-size: 17px; font-weight: 700; letter-spacing: -0.02em; }
.kp-hero { padding: 22px 20px 20px; }
.kp-label { margin: 0; font-size: 16px; font-weight: 700; letter-spacing: -0.02em; }
.kp-sub { margin: 2px 0 0; font-size: 13px; color: var(--ink3); }
.kp-big { margin: 10px 0 0; font-size: 46px; line-height: 1.08; font-weight: 800; letter-spacing: -0.03em; color: var(--pt); font-variant-numeric: tabular-nums; }
.kp-note { margin: 6px 0 0; font-size: 14px; color: var(--ink2); }
.kp-funnel { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.kp-step { background: var(--fill); border-radius: var(--r-sm); padding: 12px 12px 13px; min-width: 0; }
.kp-step span { display: block; font-size: 12.5px; color: var(--ink3); white-space: nowrap; }
.kp-step b { display: inline-block; margin-top: 4px; font-size: 22px; font-weight: 800; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.kp-step em { margin-left: 5px; font-style: normal; font-size: 12.5px; font-weight: 700; color: var(--pt); }
.kp-src { display: flex; flex-direction: column; gap: 9px; margin-top: 16px; }
.kp-src-row { display: grid; grid-template-columns: 88px minmax(0, 1fr) 56px; align-items: center; gap: 10px; font-size: 14px; }
.kp-bar { height: 8px; border-radius: 4px; background: var(--fill); overflow: hidden; }
.kp-bar i { display: block; height: 100%; min-width: 0; border-radius: 4px; background: var(--pt); }
.kp-src-row .num { text-align: right; color: var(--ink2); font-variant-numeric: tabular-nums; }
.kp-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 13px 0; border-top: 1px solid var(--line); }
.kp-card h3 + .kp-row { border-top: 0; padding-top: 0; }
.kp-row-main { display: flex; flex-direction: column; min-width: 0; }
.kp-tag { font-size: 12px; font-weight: 700; color: var(--pt-ink); margin-bottom: 2px; }
.kp-row .t { font-size: 15px; font-weight: 600; letter-spacing: -0.01em; }
.kp-row .s { margin-top: 2px; font-size: 12.5px; color: var(--ink3); line-height: 1.45; word-break: keep-all; }
.kp-row .v { flex: none; font-size: 20px; font-weight: 800; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.kp-foot { margin: 12px 0 0; padding-top: 12px; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink3); line-height: 1.5; word-break: keep-all; }
.kp-table { width: 100%; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; }
.kp-table th { padding: 0 0 8px; text-align: right; font-size: 12.5px; font-weight: 600; color: var(--ink3); white-space: nowrap; }
.kp-table td { padding: 9px 0; text-align: right; border-top: 1px solid var(--line); }
.kp-table th:first-child, .kp-table td:first-child { text-align: left; }
.kp-since { margin: 18px 0 0; font-size: 13px; color: var(--ink3); text-align: center; }
.kp-verse { max-width: 46ch; margin: 22px auto 0; color: #6E6E73; font-size: 13px; text-align: center; line-height: 1.7; word-break: keep-all; }
.kp-verse b { display: block; font-weight: 600; }
.out-video { display: flex; justify-content: center; padding: 4px 0 6px; }
.out-video video { width: 168px; aspect-ratio: 9 / 16; border-radius: 16px; background: var(--fill); box-shadow: 0 10px 28px rgba(30, 30, 60, 0.16); object-fit: cover; }

/* ── 받는 분: 도착 화면 ── */
.view.reveal { position: relative; display: flex; flex-direction: column; background: linear-gradient(180deg, #FFF6F7 0%, #FFFFFF 62%); }
.reveal-in { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 40px 28px calc(140px + var(--safe-b)); }
.reveal-card { transform: rotate(-3deg); border-radius: 14px; overflow: hidden; box-shadow: 0 22px 50px rgba(40, 30, 80, 0.18), 0 2px 6px rgba(40, 30, 80, 0.08); animation: revealFloat 4.6s ease-in-out infinite, popIn 0.7s var(--ease) both; }
.reveal-card canvas { display: block; }
.reveal-eye { margin: 34px 0 0; font-size: 15.5px; font-weight: 600; color: var(--pt-ink); animation: riseIn 0.6s var(--ease) 0.12s both; }
.reveal-t { margin: 10px 0 0; font-size: clamp(28px, 7.4vw, 36px); line-height: 1.32; font-weight: 700; letter-spacing: -0.045em; white-space: pre-line; animation: riseIn 0.6s var(--ease) 0.2s both; }
.reveal-s { margin: 12px 0 0; font-size: 15.5px; color: var(--ink2); animation: riseIn 0.6s var(--ease) 0.28s both; }
@keyframes revealFloat { 0%, 100% { transform: rotate(-3deg) translateY(0); } 50% { transform: rotate(-2.2deg) translateY(-7px); } }

/* ── 받는 분: 하나씩 채워지는 재생 ── */
.reel-stage { position: fixed; inset: 0; z-index: 70; display: flex; align-items: center; justify-content: center; animation: fadeIn 0.35s ease both; }
.reel-stage.out { animation: fadeOut 0.5s ease both; }
.reel-canvas { display: block; height: 100dvh; width: auto; max-width: 100vw; aspect-ratio: 9 / 16; object-fit: contain; }
.reel-top { position: absolute; z-index: 2; left: 0; right: 0; top: 0; padding: calc(10px + env(safe-area-inset-top, 0px)) 12px 0 16px; display: flex; align-items: center; gap: 12px; pointer-events: none; }
.reel-bar { flex: 1; height: 3px; border-radius: 3px; background: rgba(25, 31, 40, 0.14); overflow: hidden; }
.reel-bar i { display: block; height: 100%; background: rgba(25, 31, 40, 0.62); transform: scaleX(0); transform-origin: left center; }
.reel-skip { pointer-events: auto; appearance: none; border: 0; height: 36px; padding: 0 14px; border-radius: 999px; background: rgba(255, 255, 255, 0.82); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: var(--ink); font-size: 14px; font-weight: 600; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08); }
.reel-skip:active { transform: scale(0.97); }

/* ── 받는 분: 다 본 화면 ── */
.view-arrive .view-in { animation: riseIn 0.6s var(--ease) both; }
.view-tabs { display: flex; justify-content: center; margin: -6px 0 20px; }
.view-tabs .seg { width: 100%; max-width: 360px; }
.story-pages { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.story-page canvas { display: block; border-radius: 14px; box-shadow: 0 14px 40px rgba(30, 30, 60, 0.12); }
@media (prefers-reduced-motion: reduce) {
  .reveal-card, .reveal-eye, .reveal-t, .reveal-s, .view-arrive .view-in, .reel-stage, .reel-stage.out { animation: none; }
}

/* ── 랜딩: 인스타 세로판 ── */
.v3-panel.p5 { background: linear-gradient(150deg, #FFE7EF 0%, #EDE7FF 55%, #E2EEFF 100%); min-height: 560px; }
.ig-wrap { width: 100%; display: flex; justify-content: center; }
.s-phone.ig-phone { width: 248px; aspect-ratio: auto; border-width: 9px; border-radius: 42px; background: #1B1B22; padding: 0; box-shadow: 0 34px 80px rgba(60, 30, 90, 0.28); }
.ig-screen { position: relative; width: 100%; aspect-ratio: 9 / 16; border-radius: 33px; overflow: hidden; background: #F4F1EC; }
.ig-screen canvas { display: block; width: 100%; height: 100%; }
.ig-bars { position: absolute; z-index: 1; left: 12px; right: 12px; top: 10px; display: flex; gap: 4px; }
.ig-bars i { flex: 1; height: 2.5px; border-radius: 2px; background: rgba(255, 255, 255, 0.75); box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.06); }
@media (max-width: 720px) { .v3-panel.p5 { min-height: 0; padding: 30px 20px; } .s-phone.ig-phone { width: 220px; } }

/* IMAGO 첫 화면(h3) 기준 - 글자 단계 · 폰 버튼 · 아래 고정 버튼 (2026-11-14) */
@media (max-width: 1100px) { .v3-hero h1 { font-size: 48px; } .v3-h { font-size: 38px; } }
@media (max-width: 767px) {
  .v3-hero h1 { font-size: 34px; line-height: 1.32; letter-spacing: -0.03em; }
  .v3-h { font-size: 28px; line-height: 1.38; }
  .v3-hero { padding-top: 36px; }
  .v3-hero .v3-eye { margin-bottom: 12px; }
  .v3-hero-r { gap: 20px; }
  .v3-btns { flex-direction: column; align-items: stretch; width: 100%; }
  .v3-btns .s-btn { height: 56px; width: 100%; }
  .v3-proof { font-size: 14.5px; }
  .v3-faq summary { font-size: 17px; padding: 20px 2px; }
  .v3-faq details p { font-size: 16px; }
  .v3-end { padding: 88px var(--s-gutter); }
}
@media (max-width: 520px) { .v3-facts { grid-template-columns: minmax(0, 1fr); } }
.v3-mbar { display: none; }
@media (max-width: 767px) {
  .v3-mbar { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; padding: 12px 20px calc(18px + env(safe-area-inset-bottom, 0px)); background: linear-gradient(rgba(255, 255, 255, 0), #fff 32%); opacity: 0; visibility: hidden; transform: translateY(10px); pointer-events: none; transition: opacity 0.25s, transform 0.25s, visibility linear 0.25s; }
  .v3-mbar.on { opacity: 1; visibility: visible; transform: none; pointer-events: auto; transition: opacity 0.25s, transform 0.25s, visibility; }
  .v3-mbar .s-btn { width: 100%; height: 56px; }
}
@media (prefers-reduced-motion: reduce) { .v3-mbar, .v3-mbar.on { transition: none; transform: none; } .v3-faq summary .ico { transition: none; } }

/* ── 구독(토스 자동결제) · 로그인 ── */
.kv { margin: 0; display: flex; flex-direction: column; border-radius: 16px; background: var(--fill); padding: 4px 16px; }
.kv-row { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line2); }
.kv-row:first-child { border-top: 0; }
.kv-row dt { flex: none; margin: 0; font-size: 14px; color: var(--ink3); }
.kv-row dd { margin: 0; min-width: 0; text-align: right; font-size: 15px; font-weight: 600; color: var(--ink); letter-spacing: -0.01em; overflow-wrap: anywhere; }
.kv.sm { background: transparent; padding: 0; margin-top: 10px; }
.kv.sm .kv-row { padding: 10px 0; }
.kv.sm .kv-row dd { font-size: 14.5px; }
.agree-box { appearance: none; margin-top: 18px; width: 100%; display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px; border: 1.5px solid var(--line2); border-radius: 16px; background: #fff; text-align: left; font-size: 14.5px; font-weight: 600; line-height: 1.5; color: var(--ink2); transition: border-color 0.14s, background 0.14s; }
.agree-box.on { border-color: var(--pt); background: var(--pt-tint2); color: var(--ink); }
.agree-tick { flex: none; width: 24px; height: 24px; margin-top: -1px; border-radius: 999px; border: 1.5px solid var(--ink4); display: flex; align-items: center; justify-content: center; color: transparent; transition: background 0.14s, border-color 0.14s, color 0.14s; }
.agree-box.on .agree-tick { background: var(--pt); border-color: var(--pt); color: #fff; }
.sub-links { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 4px 12px; }
.sub-links .link-btn { padding: 4px 0; font-size: 13.5px; }
.sub-card { margin-top: 16px; }
.sub-card-h { display: flex; align-items: center; gap: 8px; }
.sub-card-h b { font-size: 17px; letter-spacing: -0.02em; }
.sub-card-h .badge { margin-left: auto; }
.badge.warn { background: #FFF1E3; color: #C45F0B; }
.sub-msg { margin: 10px 0 0; padding: 10px 12px; border-radius: 12px; background: #FFF6EE; color: #9A4A07; font-size: 13.5px; line-height: 1.5; }
.sub-acts { display: flex; gap: 8px; margin-top: 14px; }
.sub-acts .btn { flex: 1; }
.sub-foot { margin-top: 6px; }
.sub-foot .link-btn { padding: 6px 0; font-size: 13.5px; }
.acct-acts { margin-top: 12px; display: flex; align-items: center; flex-wrap: wrap; gap: 6px 14px; }
.acct-acts .link-btn { padding: 4px 0; font-size: 14px; }
/* ── 로그인: Google · Apple 버튼(app-pay.js A.AuthBtn) ──
   두 회사 가이드 그대로. 둘은 같은 크기(최대 375×48, Apple 웹 버튼의 가장 넓은 크기)이고 좁은 화면에서는 같이 준다.
   Google: 밝은 테마. 흰 바탕, 안쪽 1px #747775, 글자 #1F1F1F, Google Sans Medium(OFL, fonts/ 에 둠).
     48 높이에서는 Google 의 40 높이 규격을 1.2배: G 24, 사이 12, 글자 16.8/24. 버튼이 줄면 같은 비율로 준다(cqw).
   Apple: Apple 이 웹용으로 주는 공식 버튼 이미지 그대로. 위에 아무것도 얹지 않는다. 이미지가 없을 때는 검은 바탕에 대체 글자 */
@font-face { font-family: "Google Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/google-sans-latin-500.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
.auth-stack { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.auth-stack.left { align-items: flex-start; }
.auth-btn { appearance: none; border: 0; flex: none; display: flex; align-items: center; justify-content: center; width: 100%; max-width: 375px; aspect-ratio: 375 / 48; padding: 0; border-radius: 999px; container-type: inline-size; transition: transform 0.12s, box-shadow 0.12s; -webkit-user-select: none; user-select: none; }
.auth-btn:active { transform: scale(0.98); }
.auth-btn:focus-visible { outline: 3px solid var(--pt); outline-offset: 3px; }
.auth-btn img { -webkit-user-drag: none; }
.auth-apple { background: #000; color: #fff; overflow: hidden; font-size: 15px; font-weight: 600; }
.auth-apple img { display: block; width: 100%; height: 100%; }
.auth-google { background: #fff; color: #1F1F1F; box-shadow: inset 0 0 0 1px #747775; font-family: "Google Sans", var(--font); font-weight: 500; letter-spacing: 0; }
.auth-google img { flex: none; width: 24px; height: auto; }
.auth-google span { margin-left: 12px; font-size: 16.8px; line-height: 24px; white-space: nowrap; }
@supports (container-type: inline-size) {
  .auth-google img { width: 6.4cqw; }
  .auth-google span { margin-left: 3.2cqw; font-size: 4.48cqw; line-height: 6.4cqw; }
}
@media (hover: hover) {
  .auth-google:hover { box-shadow: inset 0 0 0 1px #747775, 0 1px 2px rgba(60, 64, 67, 0.3), 0 2px 6px 2px rgba(60, 64, 67, 0.15); }
  .auth-apple:hover { box-shadow: 0 6px 16px -8px rgba(0, 0, 0, 0.55); }
}
.auth-foot { align-items: center; }
.auth-foot .link-btn { padding: 6px 4px 0; }
.auth-note { margin: 4px auto 0; max-width: 375px; text-align: center; color: var(--ink3); font-size: 12.5px; line-height: 1.6; }
.auth-note.left { margin: 12px 0 0; text-align: left; }
.auth-note a { color: var(--ink2); text-decoration: underline; text-underline-offset: 2px; }
.auth-top { padding-top: 6px; }
.auth-or { display: flex; align-items: center; gap: 12px; margin: 22px 0 16px; color: var(--ink3); font-size: 13px; font-weight: 600; }
.auth-or::before, .auth-or::after { content: ""; flex: 1; height: 1px; background: var(--line2); }
.acct-card .card-s { white-space: pre-line; }
.acct-auth { margin-top: 16px; }
.acct-who { display: flex; align-items: center; gap: 12px; }
.acct-tx { min-width: 0; }
.acct-tx .card-s { overflow-wrap: anywhere; }
.notmine-acts { width: 100%; max-width: 375px; display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 12px; }
.notmine-acts .btn { margin-top: 4px; }
/* 카톡 · 인스타 같은 앱 안 브라우저: 로그인 대신 휴대폰 브라우저로 넘기는 칸 */
.inapp-box { width: 100%; max-width: 375px; margin: 0 auto; display: flex; flex-direction: column; gap: 6px; padding: 16px; border-radius: 16px; background: var(--fill); text-align: left; }
.inapp-box b { font-size: 15.5px; line-height: 1.45; color: var(--ink); letter-spacing: -0.02em; }
.inapp-box p { margin: 0 0 8px; font-size: 14px; line-height: 1.55; color: var(--ink2); white-space: pre-line; }
.inapp-box .btn { height: 48px; font-size: 16px; }
/* 위 막대: 로그인 · 동그란 내 얼굴 · 내 계정 칸 */
.s-login { appearance: none; border: 0; background: transparent; height: 40px; padding: 0 14px; border-radius: 999px; font-size: 15px; font-weight: 600; color: var(--s-ink); white-space: nowrap; }
.s-login:hover { background: rgba(0, 0, 0, 0.05); }
.s-avbtn { appearance: none; border: 0; background: transparent; padding: 3px; border-radius: 999px; display: flex; }
.s-avbtn:hover { background: rgba(0, 0, 0, 0.05); }
.avatar { flex: none; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; overflow: hidden; background: var(--pt-tint); color: var(--pt-ink); font-weight: 700; letter-spacing: -0.02em; line-height: 1; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.s-acctpop { min-width: 264px; max-width: calc(100vw - 32px); }
.s-acct-head { display: flex; align-items: center; gap: 10px; padding: 10px 10px 12px; margin-bottom: 4px; border-bottom: 1px solid var(--line); }
.s-acct-head > div { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.s-acct-head > div > b { font-size: 14.5px; color: var(--s-ink); letter-spacing: -0.02em; }
.s-acct-head > div > span { font-size: 13px; color: var(--ink3); overflow-wrap: anywhere; }
.s-acctpop button .ico { color: var(--ink4); }

