/* pause — 보내기 전에, 잠깐. */
:root {
  --bg: #FBFAFF;
  --ink: #1C1830; --ink-2: #48435E; --muted: #8C87A3; --faint: #B9B5CC;
  --line: rgba(28, 24, 48, .08); --line-2: rgba(28, 24, 48, .14);
  --card: rgba(255, 255, 255, .8); --card-solid: #fff;
  --violet: #5B4BDB; --violet-2: #7A6CF2; --violet-soft: #EEEBFF; --violet-ink: #3A2DA8;
  --amber: #FF9A3C; --amber-soft: #FFF1E1; --amber-ink: #B45A0A;
  --mint: #16A473; --mint-soft: #E1F6EC; --mint-ink: #0B6E4B;
  --rose: #E5484D; --rose-soft: #FDECEC; --rose-ink: #B3262B;
  --sky: #2F86E6; --sky-soft: #E4F0FD;
  --r-xl: 32px; --r-lg: 24px; --r-md: 18px; --r-sm: 12px;
  --shadow: 0 1px 2px rgba(28, 24, 48, .04), 0 18px 40px -18px rgba(46, 32, 120, .22);
  --shadow-lg: 0 2px 6px rgba(28, 24, 48, .05), 0 40px 80px -30px rgba(46, 32, 120, .35);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0E0C18; --ink: #F3F1FA; --ink-2: #C9C5DA; --muted: #8F8AA8; --faint: #5C5873;
    --line: rgba(255, 255, 255, .08); --line-2: rgba(255, 255, 255, .14);
    --card: rgba(29, 26, 44, .78); --card-solid: #1B1829;
    --violet: #8A7DFF; --violet-2: #A69CFF; --violet-soft: #25204A; --violet-ink: #C9C2FF;
    --amber: #FFAE5E; --amber-soft: #3A2716; --amber-ink: #FFC894;
    --mint: #35C98F; --mint-soft: #123325; --mint-ink: #8BE3BD;
    --rose: #FF6B70; --rose-soft: #3A1719; --rose-ink: #FFB0B3;
    --sky: #5AA5F5; --sky-soft: #152A42;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 18px 40px -18px rgba(0, 0, 0, .6);
    --shadow-lg: 0 2px 6px rgba(0, 0, 0, .3), 0 40px 80px -30px rgba(0, 0, 0, .7);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { background: var(--bg); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; color: var(--ink); background: transparent;
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  font-size: 16px; line-height: 1.6; letter-spacing: -0.011em; word-break: keep-all; overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased; min-height: 100vh; overflow-x: hidden;
}
.sky { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.sky i { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; animation: drift 22s var(--ease) infinite alternate; }
.sky i:nth-child(1) { width: 52vw; height: 52vw; left: -14vw; top: -18vw; background: #D9D2FF; }
.sky i:nth-child(2) { width: 44vw; height: 44vw; right: -12vw; top: 18vh; background: #FFE0C2; animation-delay: -6s; }
.sky i:nth-child(3) { width: 38vw; height: 38vw; left: 22vw; bottom: -20vw; background: #CFEFE3; opacity: .35; animation-delay: -12s; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .sky i { opacity: .16; } }
@keyframes drift { to { transform: translate3d(3vw, 4vh, 0) scale(1.08); } }

a { color: inherit; }
button { font: inherit; color: inherit; }
.ic { width: 1.25em; height: 1.25em; flex: none; }
.wrap { width: min(1120px, 100% - 32px); margin: 0 auto; }

/* ---------- 상단 ---------- */
.top { position: sticky; top: 0; z-index: 30; backdrop-filter: saturate(1.4) blur(18px); -webkit-backdrop-filter: saturate(1.4) blur(18px);
  background: color-mix(in srgb, var(--bg) 70%, transparent); border-bottom: 1px solid transparent; transition: border-color .3s; }
.top.scrolled { border-bottom-color: var(--line); }
.top .wrap { display: flex; align-items: center; gap: 16px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 20px; letter-spacing: -0.04em; }
.top nav { margin-left: auto; display: flex; gap: 4px; align-items: center; }
.top nav a { text-decoration: none; font-size: 14px; font-weight: 600; color: var(--ink-2); padding: 8px 12px; border-radius: 999px; transition: background .2s, color .2s; }
.top nav a:hover { background: var(--violet-soft); color: var(--violet-ink); }
.top nav a.cta { background: var(--ink); color: var(--bg); }
.top nav a.cta:hover { background: var(--violet); color: #fff; }
@media (max-width: 640px) { .top nav a:not(.cta) { display: none; } }

/* ---------- 버튼 ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; cursor: pointer; text-decoration: none;
  font-weight: 700; font-size: 16px; padding: 14px 22px; border-radius: 999px; transition: transform .2s var(--spring), background .2s, box-shadow .2s; }
.btn:active { transform: scale(.97); }
.btn.primary { background: var(--violet); color: #fff; box-shadow: 0 10px 24px -10px color-mix(in srgb, var(--violet) 70%, transparent); }
.btn.primary:hover { background: var(--violet-ink); }
.btn.ghost { background: var(--card); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn.ghost:hover { box-shadow: inset 0 0 0 1px var(--violet); color: var(--violet-ink); }
.btn.dark { background: var(--ink); color: var(--bg); }
.btn.sm { font-size: 14px; padding: 9px 14px; }
.btn .ic { width: 18px; height: 18px; }

/* ---------- 히어로 ---------- */
.hero { padding: 56px 0 40px; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; gap: 36px; } .hero { padding-top: 28px; } }
.kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--violet-ink);
  background: var(--violet-soft); padding: 6px 12px 6px 8px; border-radius: 999px; }
.kicker .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--violet); box-shadow: 0 0 0 4px color-mix(in srgb, var(--violet) 25%, transparent); animation: ping 2.4s infinite; }
@keyframes ping { 50% { box-shadow: 0 0 0 7px transparent; } }
.hero h1 { font-size: clamp(52px, 7.4vw, 88px); line-height: 1.02; letter-spacing: -0.055em; margin: 20px 0 20px; font-weight: 850; }
.hero h1 .soft { color: var(--violet); }
.hero p.lead { font-size: clamp(17px, 2vw, 19px); color: var(--ink-2); max-width: 34em; margin: 0 0 28px; }
.hero .ctas { display: flex; gap: 10px; flex-wrap: wrap; }
.hero .note { margin-top: 22px; display: flex; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.hero .note span { display: inline-flex; align-items: center; gap: 6px; }
.hero .note .ic { width: 16px; height: 16px; color: var(--mint); }

/* 두 사람 = 일시정지, 그 위로 떠 있는 대화 */
.vis { position: relative; width: 100%; max-width: 520px; aspect-ratio: 1 / 1.02; margin: 0 auto; }
.vis .halo { position: absolute; inset: 6% 4% 2%; border-radius: 50%;
  background: radial-gradient(circle at 42% 38%, rgba(122, 108, 242, .30), rgba(255, 154, 60, .16) 52%, rgba(255, 255, 255, 0) 71%); }
.vis .figs { position: absolute; left: 53%; bottom: 0; width: 40%; overflow: visible; }
.vis .f1, .vis .f2 { transform-box: fill-box; transform-origin: 50% 100%; animation: breathe 4.2s var(--ease) infinite; }
.vis .f2 { animation-delay: -1.4s; }
@keyframes breathe { 50% { transform: translateY(-5px); } }
.fcard { position: absolute; background: var(--card); -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4);
  border: 1px solid var(--line); border-radius: 22px; padding: 14px 16px; box-shadow: var(--shadow); animation: float 7s ease-in-out infinite; font-size: 14px; }
.fcard b { font-size: 15px; letter-spacing: -0.03em; }
.fcard p { margin: 6px 0 0; color: var(--ink-2); font-size: 13.5px; line-height: 1.5; }
.fcard .fc-top { display: flex; align-items: center; gap: 8px; }
.fcard .pm { width: 34px; height: 34px; border-radius: 11px; background: var(--amber-soft); display: grid; place-items: center; }
.fcard.c1 { top: 2%; left: 0; width: 64%; }
.fcard.c2 { top: 26%; right: 0; width: 56%; animation-delay: -2.3s; }
.fcard.c2 .fo { display: flex; align-items: center; gap: 8px; margin-top: 7px; padding: 8px 10px; border-radius: 12px; background: var(--card-solid); border: 1px solid var(--line); font-weight: 700; font-size: 13px; }
.fcard.c2 .fo .ic { width: 16px; height: 16px; color: var(--violet); }
.fcard.c2 .fo.on { border-color: var(--violet); background: var(--violet-soft); color: var(--violet-ink); }
.fcard.c3 { top: 58%; left: 0; width: 46%; display: flex; gap: 10px; align-items: center; animation-delay: -4.6s; }
.fcard.c3 .av { width: 36px; height: 36px; border-radius: 12px; background: var(--amber-soft); color: var(--amber-ink); display: grid; place-items: center; font-weight: 850; flex: none; }
.fcard.c3 b { display: block; font-size: 14px; } .fcard.c3 small { color: var(--muted); font-size: 12px; }
@keyframes float { 50% { transform: translateY(-10px); } }
@media (max-width: 560px) {
  .vis { aspect-ratio: 1 / 1.14; }
  .fcard.c1 { top: 0; } .fcard.c2 { top: 23%; } .fcard.c3 { top: 49%; }
  .vis .figs { left: 60%; width: 34%; }
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .vis .halo { opacity: .45; } }
@media (max-width: 560px) { .fcard { padding: 11px 12px; border-radius: 18px; } .fcard b { font-size: 13px; } .fcard p, .fcard.c2 .fo { font-size: 12px; } .fcard.c3 { width: 54%; } .fcard.c2 { width: 64%; } .fcard.c1 { width: 74%; } }

/* 숫자 띠 */
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 12px; }
@media (max-width: 720px) { .facts { grid-template-columns: 1fr; } }
.fact { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px 22px; backdrop-filter: blur(12px); }
.fact b { display: block; font-size: 40px; line-height: 1; letter-spacing: -0.05em; font-weight: 850; }
.fact span { display: block; margin-top: 8px; color: var(--ink-2); font-size: 15px; }
.fact small { display: block; margin-top: 6px; color: var(--muted); font-size: 12px; }
.fact:nth-child(1) b { color: var(--violet); } .fact:nth-child(2) b { color: var(--amber-ink); } .fact:nth-child(3) b { color: var(--rose); }

/* ---------- 섹션 ---------- */
section.s { padding: 88px 0; }
@media (max-width: 720px) { section.s { padding: 64px 0; } }
.eyebrow { font-size: 13px; font-weight: 800; letter-spacing: .02em; color: var(--violet); text-transform: uppercase; }
h2 { font-size: clamp(30px, 4.6vw, 48px); line-height: 1.12; letter-spacing: -0.045em; margin: 10px 0 14px; font-weight: 820; }
.sub { color: var(--ink-2); font-size: 17px; max-width: 40em; margin: 0; }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* 유형 카드 */
.types { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 36px; }
@media (max-width: 900px) { .types { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .types { grid-template-columns: 1fr; } }
.type { position: relative; display: block; text-decoration: none; color: inherit; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; overflow: hidden;
  transition: transform .35s var(--spring), box-shadow .35s; cursor: pointer; text-align: left; }
.type:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.type .badge { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; }
.type .badge .ic { width: 24px; height: 24px; }
.type .n { position: absolute; right: 20px; top: 18px; font-size: 13px; color: var(--muted); font-weight: 700; }
.type h3 { margin: 16px 0 6px; font-size: 20px; letter-spacing: -0.03em; }
.type p { margin: 0; color: var(--ink-2); font-size: 14.5px; }
.type .ex { margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--line-2); font-size: 13px; color: var(--muted); }
.type .bar { position: absolute; left: 0; bottom: 0; height: 4px; width: var(--w); border-radius: 0 4px 0 0; }
.c-violet .badge { background: var(--violet-soft); color: var(--violet); } .c-violet .bar { background: var(--violet); }
.c-amber .badge { background: var(--amber-soft); color: var(--amber-ink); } .c-amber .bar { background: var(--amber); }
.c-rose .badge { background: var(--rose-soft); color: var(--rose); } .c-rose .bar { background: var(--rose); }
.c-mint .badge { background: var(--mint-soft); color: var(--mint); } .c-mint .bar { background: var(--mint); }
.c-sky .badge { background: var(--sky-soft); color: var(--sky); } .c-sky .bar { background: var(--sky); }
.c-ink .badge { background: var(--line); color: var(--ink); } .c-ink .bar { background: var(--ink); }

/* 흐름 */
.flow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 36px; counter-reset: st; }
@media (max-width: 900px) { .flow { grid-template-columns: 1fr; } }
.step { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 26px; position: relative; overflow: hidden; }
.step::before { counter-increment: st; content: "0" counter(st); font-size: 13px; font-weight: 800; color: var(--muted); }
.step h3 { font-size: 24px; letter-spacing: -0.04em; margin: 8px 0 8px; }
.step p { margin: 0 0 18px; color: var(--ink-2); font-size: 15px; }
.mini { background: var(--bg); border: 1px solid var(--line); border-radius: 20px; padding: 14px; font-size: 14px; }
.mini .q { font-weight: 800; font-size: 17px; margin-bottom: 10px; }
.mini .opt { display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: var(--card-solid); border-radius: 14px; margin-top: 6px; border: 1px solid var(--line); font-weight: 600; }
.mini .opt .ic { color: var(--violet); }
.mini.who { display: flex; gap: 8px; }
.mini.who div { flex: 1; text-align: center; padding: 12px 6px; background: var(--card-solid); border-radius: 14px; border: 1px solid var(--line); font-weight: 700; font-size: 13px; }
.mini.who .x { opacity: .45; text-decoration: line-through; }
.mini.who .ic { display: block; margin: 0 auto 6px; width: 26px; height: 26px; color: var(--violet); }
.mini.who .x .ic { color: var(--muted); }
.mini.lock { display: flex; gap: 10px; align-items: center; }
.mini.lock .ic { width: 30px; height: 30px; color: var(--mint); }
.mini code { font-family: inherit; font-weight: 800; }
.quote { margin-top: 20px; padding: 18px 20px; border-radius: var(--r-md); background: var(--violet-soft); color: var(--violet-ink); font-size: 15px; }
.quote b { font-weight: 800; }

/* 모델 */
.model { display: grid; grid-template-columns: 1.25fr .75fr; gap: 16px; margin-top: 36px; align-items: start; }
@media (max-width: 900px) { .model { grid-template-columns: 1fr; } }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 24px; backdrop-filter: blur(12px); }
.panel h4 { margin: 0 0 4px; font-size: 17px; letter-spacing: -0.02em; }
.panel .cap { color: var(--muted); font-size: 13px; margin: 0 0 16px; }
.dots { display: grid; gap: 5px; }
.dots .row { display: grid; grid-template-columns: 170px 1fr; align-items: center; gap: 10px; font-size: 12px; color: var(--ink-2); }
.dots .row .lab { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dots .row .lab b { color: var(--muted); font-weight: 700; margin-right: 6px; }
.dots .cells { display: grid; grid-template-columns: repeat(20, minmax(0, 13px)); gap: 5px; }
.dots .cells i { aspect-ratio: 1; border-radius: 50%; background: var(--line-2); transform: scale(0); transition: transform .5s var(--spring); }
.dots.in .cells i { transform: scale(1); }
.dots .cells i.d0 { background: var(--violet); } .dots .cells i.d1 { background: var(--violet-2); opacity: .75; }
.dots .cells i.d4 { background: var(--amber); } .dots .cells i.miss { background: transparent; box-shadow: inset 0 0 0 1.5px var(--faint); }
@media (max-width: 560px) { .dots .row { grid-template-columns: 92px 1fr; } .dots .row .lab span { display: none; } }
.legend { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 14px; font-size: 12px; color: var(--muted); }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.stats { display: grid; gap: 12px; }
.stat { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px 20px; }
.stat b { display: block; font-size: 34px; letter-spacing: -0.05em; line-height: 1.05; font-weight: 850; }
.stat span { display: block; font-size: 14px; color: var(--ink-2); margin-top: 6px; }
.stat small { display: block; font-size: 12px; color: var(--muted); margin-top: 4px; }
.honest { margin-top: 16px; font-size: 13px; color: var(--muted); border-left: 3px solid var(--line-2); padding-left: 12px; }

/* 체험 고르기 */
.scen { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; margin-top: 30px; }
.scard { text-align: left; border: 1px solid var(--line); background: var(--card); border-radius: var(--r-lg); padding: 22px; cursor: pointer; text-decoration: none; display: flex; flex-direction: column; gap: 10px;
  transition: transform .35s var(--spring), box-shadow .35s, border-color .3s; }
.scard:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--violet) 40%, transparent); }
.scard .tag { align-self: flex-start; font-size: 12px; font-weight: 800; padding: 4px 10px; border-radius: 999px; background: var(--violet-soft); color: var(--violet-ink); }
.scard.s-normal .tag { background: var(--mint-soft); color: var(--mint-ink); }
.scard h3 { margin: 0; font-size: 19px; letter-spacing: -0.03em; }
.scard p { margin: 0; font-size: 14px; color: var(--ink-2); }
.scard .court { font-size: 12px; color: var(--muted); margin-top: auto; }
.scard .go { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; font-size: 14px; color: var(--violet); }

/* ---------- 휴대폰 ---------- */
.phone { position: relative; width: min(390px, 100%); height: 800px; max-height: calc(100vh - 110px); min-height: 640px; margin: 0 auto; border-radius: 52px; padding: 12px;
  background: linear-gradient(145deg, #2A2540, #121020); box-shadow: var(--shadow-lg), inset 0 0 0 2px rgba(255, 255, 255, .06); }
.phone .screen { position: relative; height: 100%; border-radius: 42px; overflow: hidden; background: var(--p-bg); isolation: isolate; }
.phone .notch { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: 110px; height: 30px; border-radius: 20px; background: #0B0A12; z-index: 20; }
.phone.bare { width: 100%; height: auto; max-height: none; min-height: 100vh; border-radius: 0; padding: 0; background: none; box-shadow: none; }
.phone.bare .screen { border-radius: 0; min-height: 100vh; }
.phone.bare .notch { display: none; }

/* 본인 화면 — 쉬운 말, 큰 글자 */
.p { --p-bg: #F7F5FF; font-size: 19px; line-height: 1.5; color: var(--ink); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .p { --p-bg: #13111F; } }
.p .scroll { position: absolute; inset: 0; overflow-y: auto; padding: 54px 18px 110px; scrollbar-width: none; }
.phone.bare .p .scroll { padding-top: 20px; }
.p .scroll::-webkit-scrollbar { display: none; }
.p .hi { display: flex; align-items: center; justify-content: space-between; margin: 6px 4px 14px; }
.p .hi .who { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; letter-spacing: -0.03em; }
.p .hi .date { font-size: 14px; color: var(--muted); font-weight: 600; }
.status { border-radius: 28px; padding: 22px 22px 20px; color: #fff; position: relative; overflow: hidden; transition: background .6s var(--ease); }
.status.ok { background: linear-gradient(135deg, #6A5AE8, #8B7EF7); }
.status.watch { background: linear-gradient(135deg, #F08A2E, #FFB266); }
.status.alert { background: linear-gradient(135deg, #E0663A, #F59A5B); }
.status .face { width: 54px; height: 54px; border-radius: 18px; background: rgba(255, 255, 255, .2); display: grid; place-items: center; margin-bottom: 14px; }
.status .face .ic { width: 30px; height: 30px; }
.status h3 { margin: 0; font-size: 26px; line-height: 1.25; letter-spacing: -0.04em; }
.status p { margin: 6px 0 0; font-size: 16px; opacity: .92; }
.status::after { content: ""; position: absolute; right: -40px; top: -40px; width: 160px; height: 160px; border-radius: 50%; background: rgba(255, 255, 255, .12); }
.money { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 12px 0 18px; }
.money div { background: var(--card-solid); border-radius: 22px; padding: 14px 16px; border: 1px solid var(--line); }
.money small { display: flex; align-items: center; gap: 6px; font-size: 14px; color: var(--muted); font-weight: 700; }
.money small .ic { width: 18px; height: 18px; }
.money b { display: block; font-size: 22px; letter-spacing: -0.04em; margin-top: 2px; }
.money .in small .ic { color: var(--mint); } .money .out small .ic { color: var(--amber-ink); }
.p h4 { font-size: 16px; color: var(--muted); margin: 18px 6px 8px; font-weight: 800; letter-spacing: -0.01em; }
.feed { display: flex; flex-direction: column; gap: 8px; }
.tx { display: flex; align-items: center; gap: 12px; background: var(--card-solid); border-radius: 20px; padding: 12px 14px; border: 1px solid var(--line); transition: border-color .3s, box-shadow .3s; }
.tx.new { animation: txin .55s var(--spring) both; }
@keyframes txin { from { opacity: 0; transform: translateY(-10px) scale(.98); } }
.tx .b { width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; flex: none; }
.tx .b .ic { width: 22px; height: 22px; }
.tx.in .b { background: var(--mint-soft); color: var(--mint); }
.tx.out .b { background: var(--violet-soft); color: var(--violet); }
.tx.fix .b { background: var(--line); color: var(--ink-2); }
.tx.warn .b { background: var(--amber-soft); color: var(--amber-ink); }
.tx .t { flex: 1; min-width: 0; }
.tx .t div { font-weight: 700; font-size: 17px; letter-spacing: -0.02em; line-height: 1.3; }
.tx .t small { display: block; color: var(--muted); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tx .a { font-weight: 800; font-size: 17px; letter-spacing: -0.03em; white-space: nowrap; }
.tx.in .a { color: var(--mint); }
.tx.flag { border-color: var(--amber); box-shadow: 0 0 0 3px color-mix(in srgb, var(--amber) 22%, transparent); }
.day-sep { font-size: 13px; font-weight: 800; color: var(--muted); margin: 10px 6px 0; }

.dock { position: absolute; left: 12px; right: 12px; bottom: 14px; display: flex; gap: 8px; z-index: 5; padding: 8px; border-radius: 26px;
  background: color-mix(in srgb, var(--card-solid) 86%, transparent); backdrop-filter: blur(16px); border: 1px solid var(--line); box-shadow: var(--shadow); }
.dock button { flex: 1; border: 0; background: transparent; border-radius: 18px; padding: 8px 4px; display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 12px; font-weight: 700; color: var(--muted); cursor: pointer; }
.dock button .ic { width: 24px; height: 24px; }
.dock button.on { color: var(--violet); background: var(--violet-soft); }

/* 알림 시트 */
.sheet { position: absolute; inset: 0; z-index: 10; display: flex; flex-direction: column; justify-content: flex-end; background: rgba(20, 16, 36, .35); animation: fade .3s ease both; }
@keyframes fade { from { opacity: 0; } }
.sheet .card { background: var(--p-bg); border-radius: 34px 34px 0 0; padding: 12px 20px 26px; animation: up .55s var(--spring) both; max-height: 92%; overflow-y: auto; }
@keyframes up { from { transform: translateY(100%); } }
.sheet.keep, .sheet.keep .card { animation: none; }
.sheet.keep .card > :not(.grab) { animation: swapin .38s var(--ease) both; }
@keyframes swapin { from { opacity: 0; transform: translateY(10px); } }
.sheet .grab { width: 44px; height: 5px; border-radius: 9px; background: var(--line-2); margin: 0 auto 16px; }
.stop { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.stop .mk { width: 58px; height: 58px; border-radius: 20px; background: var(--amber-soft); display: grid; place-items: center; }
.stop h3 { margin: 0; font-size: 26px; letter-spacing: -0.04em; line-height: 1.2; }
.why { background: var(--card-solid); border-radius: 22px; padding: 16px; border: 1px solid var(--line); }
.why b { display: block; font-size: 19px; letter-spacing: -0.03em; margin-bottom: 6px; }
.why p { margin: 0; font-size: 17px; color: var(--ink-2); }
.why p + p { margin-top: 4px; }

/* 대화 */
.chat { display: flex; flex-direction: column; gap: 14px; }
.ask { font-size: 27px; line-height: 1.3; font-weight: 800; letter-spacing: -0.045em; margin: 6px 0 4px; }
.read { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; border: 0; background: var(--violet-soft); color: var(--violet-ink); border-radius: 999px; padding: 8px 14px; font-weight: 800; font-size: 15px; cursor: pointer; }
.read.on { background: var(--violet); color: #fff; }
.read .ic { width: 20px; height: 20px; }
.opts { display: flex; flex-direction: column; gap: 10px; }
.opt { display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; border: 2px solid var(--line); background: var(--card-solid); border-radius: 22px; padding: 16px 16px; min-height: 72px;
  font-size: 20px; font-weight: 800; letter-spacing: -0.03em; cursor: pointer; transition: transform .2s var(--spring), border-color .2s, background .2s; }
.opt:hover { border-color: var(--violet); }
.opt:active { transform: scale(.98); }
.opt .b { width: 46px; height: 46px; border-radius: 15px; display: grid; place-items: center; background: var(--violet-soft); color: var(--violet); flex: none; }
.opt .b .ic { width: 26px; height: 26px; }
.opt.amber .b { background: var(--amber-soft); color: var(--amber-ink); }
.opt.rose .b { background: var(--rose-soft); color: var(--rose); }
.opt.mint .b { background: var(--mint-soft); color: var(--mint); }
.opt.picked { border-color: var(--violet); background: var(--violet-soft); }
.talk { align-self: center; display: inline-flex; align-items: center; gap: 8px; border: 0; background: none; color: var(--muted); font-weight: 700; font-size: 16px; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; padding: 6px; }
.talkbox { display: flex; gap: 8px; }
.talkbox input { flex: 1; min-width: 0; border: 2px solid var(--line-2); border-radius: 18px; padding: 14px; font: inherit; font-size: 18px; background: var(--card-solid); color: var(--ink); }
.talkbox button { border: 0; border-radius: 18px; width: 56px; background: var(--violet); color: #fff; display: grid; place-items: center; cursor: pointer; }
.talkbox button.mic { background: var(--violet-soft); color: var(--violet); }
.talkbox button.mic.on { background: var(--rose); color: #fff; animation: ping 1.4s infinite; }
.heard { font-size: 16px; color: var(--ink-2); background: var(--card-solid); border: 1px dashed var(--line-2); border-radius: 16px; padding: 12px 14px; }
.pbar { display: flex; gap: 6px; margin-bottom: 6px; }
.pbar i { flex: 1; height: 5px; border-radius: 5px; background: var(--line-2); }
.pbar i.on { background: var(--violet); }
.end { text-align: center; padding: 8px 4px; }
.end .big { width: 88px; height: 88px; margin: 6px auto 14px; border-radius: 30px; display: grid; place-items: center; }
.end .big .ic { width: 46px; height: 46px; }
.end.ok .big { background: var(--mint-soft); color: var(--mint); }
.end.check .big { background: var(--violet-soft); color: var(--violet); }
.end.help .big { background: var(--rose-soft); color: var(--rose); }
.end h3 { font-size: 27px; letter-spacing: -0.045em; line-height: 1.25; margin: 0 0 8px; }
.end p { margin: 0 0 16px; color: var(--ink-2); font-size: 18px; }
.helpline { display: flex; align-items: center; gap: 12px; text-decoration: none; background: var(--card-solid); border: 1px solid var(--line); border-radius: 18px; padding: 12px 14px; text-align: left; margin-top: 8px; }
.helpline .ic { width: 22px; height: 22px; color: var(--rose); }
.helpline b { display: block; font-size: 18px; letter-spacing: -0.02em; }
.helpline small { color: var(--muted); font-size: 14px; }
.p .big-btn { width: 100%; justify-content: center; font-size: 19px; padding: 18px; border-radius: 22px; margin-top: 8px; }
.p .mute { display: flex; align-items: center; gap: 10px; font-size: 16px; color: var(--ink-2); margin: 8px 0; justify-content: center; }
.p .mute input { width: 22px; height: 22px; accent-color: var(--violet); }
.preview { background: var(--card-solid); border-radius: 22px; border: 1px solid var(--line); padding: 16px; text-align: left; font-size: 16px; }
.preview .h { font-weight: 800; font-size: 17px; margin-bottom: 6px; }
.preview ul { margin: 8px 0 0; padding-left: 18px; color: var(--ink-2); }
.preview .no { margin-top: 10px; font-size: 14px; color: var(--muted); display: flex; gap: 6px; align-items: flex-start; }
.preview .no .ic { color: var(--mint); width: 18px; height: 18px; margin-top: 2px; }

/* 받는 사람 휴대폰 */
.p.guardian { --p-bg: #FFF8F0; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .p.guardian { --p-bg: #1C150F; } }
.msg { background: var(--card-solid); border-radius: 24px; padding: 18px; border: 1px solid var(--line); box-shadow: var(--shadow); animation: txin .6s var(--spring) both; }
.msg .from { display: flex; align-items: center; gap: 10px; font-weight: 800; }
.msg .from .av { width: 38px; height: 38px; border-radius: 13px; background: var(--violet-soft); display: grid; place-items: center; }
.msg h3 { margin: 12px 0 6px; font-size: 22px; letter-spacing: -0.04em; }
.msg p { margin: 0; color: var(--ink-2); font-size: 16px; }
.msg .ans { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 6px; }
.msg .ans span { font-size: 14px; font-weight: 700; padding: 6px 10px; border-radius: 999px; background: var(--amber-soft); color: var(--amber-ink); }
.guide { margin-top: 14px; display: flex; flex-direction: column; gap: 8px; }
.guide div { background: var(--card-solid); border-radius: 18px; padding: 14px 16px; border: 1px solid var(--line); font-size: 16px; }
.guide div b { display: block; font-size: 17px; margin-bottom: 2px; }
.guide div small { color: var(--muted); font-size: 13px; }

/* ---------- 체험 무대 ---------- */
.stage { display: grid; grid-template-columns: 1fr minmax(320px, 400px) 1fr; gap: 28px; align-items: start; padding: 20px 0 60px; }
@media (max-width: 1100px) { .stage { grid-template-columns: minmax(300px, 400px) 1fr; } .stage .left { display: none; } }
@media (max-width: 760px) { .stage { grid-template-columns: 1fr; padding-top: 8px; } .stage .right { display: none; } }
.side { position: sticky; top: 84px; display: flex; flex-direction: column; gap: 12px; }
.side .panel { padding: 20px; }
.clock { display: flex; align-items: center; gap: 12px; }
.clock .d { font-size: 30px; font-weight: 850; letter-spacing: -0.05em; }
.clock .ctl { margin-left: auto; display: flex; gap: 6px; }
.iconbtn { width: 44px; height: 44px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--card-solid); display: grid; place-items: center; cursor: pointer; color: var(--ink); }
.iconbtn:hover { border-color: var(--violet); color: var(--violet); }
.iconbtn.on { background: var(--violet); color: #fff; border-color: var(--violet); }
.track { height: 6px; border-radius: 6px; background: var(--line); margin-top: 14px; overflow: hidden; }
.track i { display: block; height: 100%; width: 0; background: var(--violet); border-radius: 6px; transition: width .4s var(--ease); }
.gauge { position: relative; height: 120px; margin-top: 8px; }
.gauge svg { width: 100%; height: 100%; overflow: visible; }
.gauge .num { position: absolute; left: 0; top: 0; font-size: 34px; font-weight: 850; letter-spacing: -0.05em; }
.gauge .num small { font-size: 13px; font-weight: 700; color: var(--muted); letter-spacing: 0; margin-left: 6px; }
.sig { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
.sig .row { display: grid; grid-template-columns: 1fr 72px; align-items: center; gap: 10px; font-size: 13px; color: var(--ink-2); }
.sig .row .v { height: 8px; border-radius: 8px; background: var(--line); overflow: hidden; }
.sig .row .v i { display: block; height: 100%; background: var(--amber); border-radius: 8px; transition: width .5s var(--ease); }
.case { font-size: 14px; color: var(--ink-2); }
.case .court { font-size: 12px; color: var(--muted); margin-top: 8px; }
.case a { color: var(--violet); font-weight: 700; text-decoration: none; }
.story { font-size: 15px; color: var(--ink-2); margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { font-size: 12px; font-weight: 800; padding: 5px 10px; border-radius: 999px; background: var(--violet-soft); color: var(--violet-ink); border: 0; cursor: pointer; text-decoration: none; }
.chip.on { background: var(--violet); color: #fff; }
.mobilebar { display: none; }
@media (max-width: 760px) {
  .mobilebar { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; }
  .mobilebar .d { font-weight: 850; font-size: 20px; letter-spacing: -0.04em; }
  .mobilebar small { display: block; font-size: 12px; font-weight: 700; color: var(--muted); max-width: 230px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .mobilebar .ctl { margin-left: auto; display: flex; gap: 6px; }
  .stage .phone { max-height: calc(100vh - 150px); min-height: 560px; }
}

/* 문서 페이지 */
.doc { padding: 40px 0 80px; }
.doc h1 { font-size: clamp(32px, 5vw, 52px); letter-spacing: -0.05em; line-height: 1.1; margin: 12px 0 10px; }
.table { width: 100%; border-collapse: separate; border-spacing: 0; margin-top: 24px; font-size: 14px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.table th, .table td { padding: 12px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.table th { font-size: 12px; color: var(--muted); font-weight: 800; background: var(--card-solid); }
.table tr:last-child td { border-bottom: 0; }
.table td .t { display: inline-block; font-size: 11px; font-weight: 800; padding: 2px 7px; border-radius: 999px; background: var(--violet-soft); color: var(--violet-ink); margin: 0 3px 3px 0; }
.table td small { color: var(--muted); }
@media (max-width: 720px) { .table .hide-sm { display: none; } }

/* 파일 올리기 */
.drop { border: 2px dashed var(--line-2); border-radius: 26px; padding: 26px 18px; text-align: center; background: var(--card-solid); cursor: pointer; transition: border-color .2s, background .2s; }
.drop:hover, .drop.over { border-color: var(--violet); background: var(--violet-soft); }
.drop .ic { width: 40px; height: 40px; color: var(--violet); }
.drop b { display: block; font-size: 20px; margin-top: 8px; }
.drop small { display: block; color: var(--muted); font-size: 14px; margin-top: 4px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-top: 10px; }
.field input, .field select { border: 2px solid var(--line-2); border-radius: 16px; padding: 14px; font: inherit; font-size: 18px; background: var(--card-solid); color: var(--ink); }
.tp { display: flex; align-items: center; gap: 12px; background: var(--card-solid); border: 1px solid var(--line); border-radius: 20px; padding: 14px; }
.tp .av { width: 46px; height: 46px; border-radius: 16px; display: grid; place-items: center; background: var(--amber-soft); color: var(--amber-ink); font-weight: 850; font-size: 18px; }
.tp div { flex: 1; } .tp b { display: block; font-size: 19px; } .tp small { color: var(--muted); font-size: 14px; }
.tp button { border: 0; background: none; color: var(--muted); cursor: pointer; }
.rec { background: var(--card-solid); border: 1px solid var(--line); border-radius: 20px; padding: 16px; }
.rec .when { font-size: 13px; color: var(--muted); font-weight: 700; }
.rec b { display: block; font-size: 18px; margin: 4px 0; letter-spacing: -0.02em; }
.rec p { margin: 0; font-size: 15px; color: var(--ink-2); }
.rec .ans { margin-top: 8px; display: flex; gap: 6px; flex-wrap: wrap; }
.rec .ans span { font-size: 13px; font-weight: 700; padding: 4px 9px; border-radius: 999px; background: var(--line); }
.empty { text-align: center; color: var(--muted); padding: 30px 10px; font-size: 17px; }
.toast { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%); background: var(--ink); color: var(--bg); padding: 12px 18px; border-radius: 999px; font-weight: 700; font-size: 14px; z-index: 99; animation: up .4s var(--spring) both; }

footer.foot { padding: 40px 0 56px; color: var(--muted); font-size: 13px; }
footer.foot .wrap { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; border-top: 1px solid var(--line); padding-top: 24px; }
footer.foot a { color: var(--ink-2); text-decoration: none; font-weight: 700; }
footer.foot .by { margin-left: auto; }

@media print {
  .top, .dock, footer, .noprint, .sky { display: none !important; }
  body { background: #fff; color: #000; }
  .phone, .phone .screen, .p .scroll { position: static !important; height: auto !important; max-height: none !important; overflow: visible !important; box-shadow: none; background: #fff; padding: 0; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } .reveal { opacity: 1; transform: none; } }
