:root {
  --bg: #000;
  --surface: #0c0b10;
  --surface-2: #131118;
  --line: #2a2340;
  --line-soft: #1c1828;
  --text: #f4f2fa;
  --muted: #9a93b0;
  --dim: #8a84a3; /* 2026-11-24 대비 4.5:1 이상으로 밝힘 (작은 글씨 가독성) */
  --accent: #8b5cf6;
  --accent-2: #6d28d9;
  --gold: #e9c46a;
  --pink: #f472b6;
  --red: #ef4444;
  --radius: 16px;
  --w: 480px;
  --font: "Pretendard", "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body { background: var(--bg); color: var(--text); font-family: var(--font); line-height: 1.5; word-break: keep-all; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
img { max-width: 100%; display: block; }

.app { max-width: var(--w); margin: 0 auto; min-height: 100vh; background: var(--bg); position: relative; }

/* ---------- header ---------- */
.header { position: sticky; top: 0; z-index: 50; background: rgba(8,6,14,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header-row { height: 56px; display: flex; align-items: center; justify-content: space-between; padding: 0 20px; }
.logo { display: flex; align-items: center; gap: 10px; color: #F3EBDA; }
.logo-mark { width: 30px; height: 30px; border-radius: 4px; background: #C2453A; display: grid; place-items: center; font-family: "Noto Serif KR", "Batang", serif; font-weight: 700; font-size: 18px; line-height: 1; color: #F3EBDA; box-shadow: inset 0 0 0 2px #C2453A, inset 0 0 0 3px #F3EBDA; }
.logo-text { font-family: "Gowun Batang", "Batang", serif; font-weight: 700; font-size: 21px; letter-spacing: 3px; }
.header-link { font-size: 14px; color: var(--muted); }
.tabs { display: flex; gap: 4px; overflow-x: auto; padding: 0 12px; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { flex: none; padding: 12px 10px; font-size: 14px; color: var(--muted); border-bottom: 2px solid transparent; white-space: nowrap; }
.tab.active { color: var(--gold); border-bottom-color: var(--accent); }

/* ---------- hero carousel ---------- */
.hero { padding: 20px 0 8px; overflow: hidden; }
.hero-track { display: flex; gap: 12px; padding: 0 36px; transition: transform .5s ease; }
.hero-slide { flex: 0 0 calc(100% - 72px + 0px); width: calc(var(--w) - 72px); max-width: calc(100vw - 72px); height: 310px; border-radius: 18px; position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; padding: 28px; }
.hero-slide .chip { align-self: flex-start; }
.hero-slide h2 { font-size: 30px; line-height: 1.25; font-weight: 800; margin: 10px 0 10px; white-space: pre-line; text-shadow: 0 2px 12px rgba(0,0,0,.4); }
.hero-slide p { font-size: 14px; color: rgba(255,255,255,.82); white-space: pre-line; }
.dots { display: flex; justify-content: center; gap: 6px; padding: 16px 0 8px; }
.dot { width: 6px; height: 6px; border-radius: 3px; background: #444; transition: all .3s; }
.dot.active { width: 32px; background: var(--accent); }

/* decorative bokeh over gradients (이미지 대체) */
.art { position: absolute; inset: 0; z-index: 0; }
.art::before, .art::after { content: ""; position: absolute; inset: 0; }
.art::before { background-image:
  radial-gradient(circle at 18% 30%, rgba(255,255,255,.55) 0 2px, transparent 3px),
  radial-gradient(circle at 72% 22%, rgba(255,255,255,.45) 0 3px, transparent 4px),
  radial-gradient(circle at 84% 64%, rgba(255,230,255,.5) 0 2px, transparent 3px),
  radial-gradient(circle at 40% 70%, rgba(255,255,255,.35) 0 4px, transparent 5px),
  radial-gradient(circle at 60% 48%, rgba(255,255,255,.3) 0 2px, transparent 3px),
  radial-gradient(circle at 28% 84%, rgba(255,240,200,.4) 0 3px, transparent 4px),
  radial-gradient(circle at 75% 35%, rgba(255,255,255,.18) 0 26px, transparent 27px); }
.art::after { background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,.72) 100%); }
.art .emoji { position: absolute; right: 22px; top: 22px; font-size: 54px; opacity: .9; filter: drop-shadow(0 6px 18px rgba(0,0,0,.4)); }
.hero-slide > *:not(.art), .card > *:not(.art) { position: relative; z-index: 1; }

/* ---------- chips / badges ---------- */
.chip { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: rgba(20,16,30,.75); color: #fff; }
.chip.accent { background: var(--accent-2); }
.badge { font-size: 11px; font-weight: 800; padding: 3px 9px; border-radius: 999px; color: #fff; }
.badge.new { background: var(--red); }
.badge.hot { background: #7c3aed; }
.badge-row { display: flex; gap: 6px; }

/* ---------- sections ---------- */
.section { padding: 56px 20px; }
.section + .divider { height: 1px; margin: 0 20px; background: linear-gradient(90deg, transparent, #4a3a1a, transparent); }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 3px; color: var(--accent); }
.eyebrow.pink { color: var(--pink); letter-spacing: 2px; }
.eyebrow.gold { color: var(--gold); }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 20px; }
.sec-title { font-size: 25px; font-weight: 800; line-height: 1.3; margin-top: 6px; white-space: pre-line; }
.sec-title.center, .center { text-align: center; }
.sec-sub { font-size: 14px; color: var(--dim); margin-top: 10px; }
.more { font-size: 13px; color: var(--dim); }

/* horizontal cards */
.hscroll { display: flex; gap: 12px; overflow-x: auto; margin: 0 -20px; padding: 0 20px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.hscroll::-webkit-scrollbar { display: none; }
.card { flex: 0 0 200px; height: 300px; border-radius: 16px; position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; padding: 14px; scroll-snap-align: start; }
.card .eb { font-size: 11px; color: rgba(255,255,255,.75); }
.card h3 { font-size: 15px; font-weight: 800; margin: 3px 0; line-height: 1.35; white-space: pre-line; }
.card p { font-size: 11.5px; color: rgba(255,255,255,.7); white-space: pre-line; }
.card .art .emoji { font-size: 40px; top: 50px; right: 18px; }

/* reviews */
.big-count { font-size: 40px; font-weight: 800; text-align: center; line-height: 1.2; margin-top: 14px; }
.big-count .gold { color: var(--gold); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 32px; }
.review { background: var(--surface); border: 1px solid var(--line-soft); border-radius: 16px; padding: 22px 20px; display: flex; flex-direction: column; justify-content: space-between; gap: 18px; }
.stars { color: #f5b942; letter-spacing: 4px; font-size: 15px; }
.review q { font-size: 14.5px; line-height: 1.7; }
.review-foot { display: flex; justify-content: space-between; align-items: center; gap: 6px; border-top: 1px solid var(--line-soft); padding-top: 14px; font-size: 13px; font-weight: 700; color: var(--muted); }
.tag { font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.sample-note { font-size: 12px; color: var(--dim); text-align: center; margin-top: 10px; }

/* ---------- home reviews (paged) ---------- */
.rv-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 14px; }
.rv-sub { font-size: 14px; color: var(--muted); margin-top: 6px; }
.rv-stats { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--muted); }
.rv-stats b { font-size: 22px; font-weight: 800; color: #fff; margin-right: 5px; }
.rv-stats .rv-avg { color: #d9a35c; }
.rv-star { color: #d9a35c; font-size: 17px; margin-right: 4px; }
.rv-sep { width: 1px; height: 16px; background: #3a3633; }
.rv-grid { display: grid; grid-template-columns: 1fr; gap: 14px; margin-top: 22px; }
.rv-card { background: linear-gradient(135deg, #26231f, #1c1a18); border: 1px solid #3a3633; border-radius: 16px; padding: 20px; }
.rv-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.rv-stars { color: #d9a35c; letter-spacing: 3px; font-size: 13px; }
.rv-stars .off { color: #4a4540; }
.rv-tag { font-size: 11.5px; font-weight: 700; padding: 3px 8px; border: 1px solid; border-radius: 6px; white-space: nowrap; }
.rv-text { font-size: 15px; line-height: 1.7; color: #ece7e1; margin: 14px 0 16px; }
.rv-foot { display: flex; align-items: center; gap: 8px; border-top: 1px solid #3a3633; padding-top: 14px; font-size: 13px; }
.rv-foot b { color: #ece7e1; }
.rv-ava { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: #5b5550; flex: none; }
.rv-ava.f { background: #9a5a72; }
.rv-ava.m { background: #3f5f8f; }
.rv-date { color: #8f8981; font-size: 11.5px; }
.rv-pager { display: flex; justify-content: center; align-items: center; gap: 22px; margin-top: 26px; font-size: 14px; color: var(--muted); letter-spacing: 1px; }
.rv-pager b { color: #fff; }
.rv-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid #3a3633; background: #1c1a18; font-size: 22px; line-height: 1; color: #ece7e1; display: grid; place-items: center; }
.rv-btn:disabled { opacity: .35; cursor: default; }
.rv-note { font-size: 13px; line-height: 1.7; color: var(--muted); text-align: center; margin-top: 22px; }

/* trust */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 36px; }
.trust { background: var(--surface); border: 1px solid var(--line-soft); border-radius: 16px; padding: 22px 8px; text-align: center; }
.trust .ic { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 14px; font-size: 24px; }
.trust h4 { font-size: 14px; font-weight: 800; line-height: 1.4; }
.trust p { font-size: 12px; color: var(--dim); margin-top: 10px; line-height: 1.6; }

/* compare */
.compare { margin-top: 32px; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: #0a0812; }
.compare-row { display: grid; grid-template-columns: 1fr 1.2fr 1.2fr; align-items: center; text-align: center; border-top: 1px solid var(--line-soft); padding: 18px 6px; font-size: 13px; }
.compare-row:first-child { border-top: 0; background: #1a1230; color: var(--muted); font-weight: 700; padding: 16px 6px; }
.compare-row .k { font-weight: 700; }
.compare-row .no { color: var(--dim); font-size: 12px; }
.compare-row .no::before { content: "✕"; display: block; color: #f43f5e; font-size: 20px; font-weight: 800; margin-bottom: 4px; }
.compare-row .yes { font-weight: 700; color: #ddd6fe; font-size: 12.5px; }
.compare-row .yes::before { content: "✓"; display: grid; place-items: center; width: 20px; height: 20px; margin: 0 auto 6px; border-radius: 5px; background: #22c55e; color: #fff; font-size: 13px; }
.compare-foot { text-align: center; color: var(--dim); font-size: 14px; margin-top: 28px; }
.compare-foot b { color: #fff; }
.compare-foot small { display: block; font-size: 12px; margin-top: 6px; }

/* lineup grid */
.lineup { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 40px; }
.lcard { border: 1px solid; border-radius: 16px; padding: 22px 16px 18px; background: #0b0a0f; display: flex; flex-direction: column; position: relative; min-height: 420px; }
.lcard .ic { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; font-size: 22px; margin-bottom: 26px; }
.lcard .badge { position: absolute; top: 16px; right: 14px; }
.lcard h4 { font-size: 15px; font-weight: 800; line-height: 1.4; }
.lcard .d { font-size: 12px; color: var(--dim); margin-top: 12px; line-height: 1.6; flex: 1; white-space: pre-line; }
.lcard .price-box { border-top: 1px solid var(--line-soft); padding-top: 14px; margin-top: 18px; display: flex; justify-content: space-between; align-items: flex-end; gap: 4px; }
.lcard .from { font-size: 11px; color: var(--dim); }
.lcard .p { font-size: 18px; font-weight: 800; line-height: 1.3; }
.lcard .b { font-size: 11px; color: var(--dim); margin-top: 6px; }
.lcard .b b { color: #ccc; display: block; }
.lcard .go { writing-mode: vertical-rl; border: 1px solid; border-radius: 999px; padding: 12px 8px; font-size: 12px; font-weight: 700; letter-spacing: 2px; }

/* faq */
.faq { margin-top: 36px; display: flex; flex-direction: column; gap: 12px; }
.faq-item { border: 1px solid var(--line); border-radius: 14px; background: var(--surface); overflow: hidden; }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 22px 22px; font-weight: 700; font-size: 15px; text-align: left; }
.faq-q .pm { width: 24px; height: 24px; border-radius: 50%; background: #2a2833; display: grid; place-items: center; font-size: 15px; color: #aaa; flex: none; transition: transform .2s; }
.faq-item.open .pm { transform: rotate(45deg); }
.faq-a { display: none; padding: 0 22px 22px; font-size: 14px; color: var(--muted); line-height: 1.7; }
.faq-item.open .faq-a { display: block; }

/* cta */
.cta-box { margin: 40px 20px 80px; border-radius: 18px; padding: 56px 24px; text-align: center; background: radial-gradient(circle at 50% 0%, #4c1d95, #2a0f55 60%, #1a0a35); border: 1px solid #4c2a8a; }
.cta-box h3 { font-size: 26px; font-weight: 800; }
.cta-box p { color: #c4b5fd; font-size: 14px; margin: 10px 0 28px; }
.btn-white { display: inline-block; background: #fff; color: #5b21b6; font-weight: 800; padding: 13px 28px; border-radius: 999px; }

/* footer */
.footer { border-top: 1px solid var(--line); background: #0a0812; padding: 36px 20px 120px; font-size: 12px; color: var(--dim); line-height: 1.9; }
.footer nav { display: flex; gap: 20px; margin-bottom: 14px; color: var(--muted); font-size: 13px; }

/* ---------- products page ---------- */
.page-head { padding: 36px 20px 8px; background: var(--surface-2); }
.page-head h1 { font-size: 26px; font-weight: 800; margin-top: 4px; }
.pills { display: flex; gap: 8px; overflow-x: auto; padding: 22px 20px 26px; background: var(--surface-2); scrollbar-width: none; }
.pills::-webkit-scrollbar { display: none; }
.pill { flex: none; padding: 7px 15px; border-radius: 999px; border: 1px solid #3a3648; background: #1c1a24; font-size: 14px; font-weight: 600; color: #bbb; }
.pill.active { background: var(--accent-2); border-color: var(--accent-2); color: #fff; }
.plist { padding: 0 20px 40px; background: var(--surface-2); display: flex; flex-direction: column; gap: 16px; }
.pcard { height: 330px; border-radius: 18px; position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; padding: 22px 20px; }
.pcard .eb { font-size: 14px; color: rgba(255,255,255,.8); margin-top: 10px; }
.pcard h3 { font-size: 24px; font-weight: 800; margin: 2px 0 8px; }
.pcard p { font-size: 13.5px; color: rgba(255,255,255,.7); }
.pcard > *:not(.art) { position: relative; z-index: 1; }

/* ---------- product detail ---------- */
.d-hero { height: 420px; position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; padding: 28px 22px; }
.d-hero > *:not(.art) { position: relative; z-index: 1; }
.d-hero .eb { font-size: 15px; color: rgba(255,255,255,.85); margin-top: 12px; }
.d-hero h1 { font-size: 30px; font-weight: 800; line-height: 1.3; margin: 4px 0 10px; }
.d-hero p { font-size: 14.5px; color: rgba(255,255,255,.78); white-space: pre-line; }
.d-hero .art .emoji { font-size: 80px; top: 70px; right: 30px; }
.box { background: var(--surface); border: 1px solid var(--line-soft); border-radius: 16px; padding: 22px; margin-top: 24px; }
.checklist li { list-style: none; padding: 10px 0 10px 30px; position: relative; font-size: 15px; border-top: 1px solid var(--line-soft); }
.checklist li:first-child { border-top: 0; }
.checklist li::before { content: "✓"; position: absolute; left: 0; top: 10px; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 800; color: #000; background: var(--c, var(--accent)); }
.items { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 24px; }
.item { background: var(--surface); border: 1px solid var(--line-soft); border-radius: 14px; padding: 18px 16px; }
.item .n { font-size: 12px; font-weight: 800; color: var(--c, var(--accent)); }
.item h4 { font-size: 15px; margin: 6px 0 4px; }
.item p { font-size: 12.5px; color: var(--dim); }
.preview { position: relative; margin-top: 24px; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: var(--surface); padding: 22px; }
.preview .blur { filter: blur(5px); user-select: none; font-size: 14px; color: var(--muted); line-height: 1.9; }
.preview .lock { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; font-weight: 700; background: linear-gradient(180deg, rgba(12,11,16,0) 0%, rgba(12,11,16,.9) 60%); padding-top: 60px; }
.notice { font-size: 12.5px; color: #fbbf24; background: rgba(251,191,36,.08); border: 1px solid rgba(251,191,36,.25); border-radius: 12px; padding: 12px 14px; margin-top: 20px; }
.plan-mini { display: flex; flex-direction: column; gap: 10px; margin-top: 24px; }
.plan-mini .row { display: flex; justify-content: space-between; align-items: center; background: var(--surface); border: 1px solid var(--line-soft); border-radius: 14px; padding: 16px 18px; }
.plan-mini .row b { font-size: 15px; }
.plan-mini .row s { color: var(--dim); font-size: 12px; margin-right: 6px; }
.plan-mini .row .pr { font-weight: 800; font-size: 17px; }

/* sticky bottom bar */
.sticky { position: fixed; bottom: 0; left: 50%; transform: translateX(-50%); width: 100%; max-width: var(--w); padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,.9) 30%); z-index: 60; }
.btn-main { display: block; width: 100%; text-align: center; padding: 17px; border-radius: 14px; font-weight: 800; font-size: 16px; color: #fff; background: linear-gradient(90deg, var(--accent-2), var(--accent)); box-shadow: 0 8px 24px rgba(109,40,217,.35); }
.btn-main[disabled] { opacity: .45; cursor: not-allowed; box-shadow: none; }

/* ---------- form ---------- */
.stepper { display: flex; gap: 6px; padding: 20px 20px 0; }
.stepper span { flex: 1; height: 4px; border-radius: 2px; background: #2a2833; }
.stepper span.on { background: var(--accent); }
.form { padding: 24px 20px 140px; }
.form h2 { font-size: 22px; font-weight: 800; line-height: 1.4; }
.form .sub { font-size: 14px; color: var(--dim); margin-top: 6px; }
.fgroup { margin-top: 26px; }
.fgroup > label, .flabel { display: block; font-size: 14px; font-weight: 700; margin-bottom: 10px; }
.flabel .opt { color: var(--dim); font-weight: 500; font-size: 12px; margin-left: 4px; }
.input, select.input { width: 100%; background: var(--surface); border: 1px solid #2e2a3c; border-radius: 12px; padding: 15px 14px; color: var(--text); font: inherit; font-size: 15px; outline: none; appearance: none; }
.input:focus { border-color: var(--accent); }
select.input { background-image: linear-gradient(45deg, transparent 50%, #888 50%), linear-gradient(135deg, #888 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 32px; }
.row3 { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 8px; }
.seg { display: flex; gap: 8px; }
.seg button { flex: 1; padding: 14px; border-radius: 12px; border: 1px solid #2e2a3c; background: var(--surface); font-weight: 700; color: var(--muted); }
.seg button.on { border-color: var(--accent); color: #fff; background: rgba(139,92,246,.15); }
.check { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); margin-top: 10px; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--accent); }
.help { font-size: 12px; color: var(--dim); margin-top: 8px; }
.err { font-size: 12.5px; color: #f87171; margin-top: 8px; display: none; }
.fgroup.invalid .err { display: block; }
.fgroup.invalid .input { border-color: #f87171; }
.subhead { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line-soft); font-size: 17px; font-weight: 800; }

/* ---------- plans ---------- */
.plans { display: flex; flex-direction: column; gap: 14px; margin-top: 24px; }
.plan { text-align: left; width: 100%; border: 2px solid #2a2638; border-radius: 16px; background: var(--surface); padding: 20px; position: relative; }
.plan.on { border-color: var(--accent); background: rgba(139,92,246,.08); }
.plan .top { display: flex; justify-content: space-between; align-items: center; }
.plan .nm { font-size: 17px; font-weight: 800; display: flex; align-items: center; gap: 8px; }
.plan .radio { width: 22px; height: 22px; border-radius: 50%; border: 2px solid #555; flex: none; }
.plan.on .radio { border: 6px solid var(--accent); }
.plan .prices { margin-top: 12px; display: flex; align-items: baseline; gap: 8px; }
.plan .pct { color: #f43f5e; font-weight: 800; font-size: 16px; }
.plan .pr { font-size: 24px; font-weight: 800; }
.plan s { color: var(--dim); font-size: 13px; }
.plan ul { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line-soft); }
.plan li { list-style: none; font-size: 13.5px; color: var(--muted); padding: 3px 0 3px 20px; position: relative; }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 800; }
.summary { margin-top: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 20px; font-size: 14px; }
.summary .r { display: flex; justify-content: space-between; padding: 6px 0; color: var(--muted); }
.summary .r.total { border-top: 1px solid var(--line-soft); margin-top: 8px; padding-top: 14px; color: #fff; font-weight: 800; font-size: 17px; }
.agree { margin-top: 20px; }
.toast { position: fixed; left: 50%; bottom: 110px; transform: translateX(-50%) translateY(20px); opacity: 0; background: #1f1b2e; border: 1px solid var(--accent); color: #fff; padding: 14px 20px; border-radius: 12px; font-size: 14px; z-index: 100; transition: all .3s; width: max-content; max-width: calc(100% - 40px); text-align: center; }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------- result ---------- */
.test-banner { background: #3b2a06; color: #fbbf24; font-size: 12.5px; text-align: center; padding: 8px 12px; }
.r-hero { padding: 44px 22px 36px; position: relative; }
.r-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.15), rgba(0,0,0,.7)); }
.r-hero > * { position: relative; z-index: 1; }
.r-hero .paid { display: inline-block; font-size: 12.5px; font-weight: 700; background: rgba(34,197,94,.2); color: #86efac; border: 1px solid rgba(34,197,94,.4); border-radius: 999px; padding: 4px 12px; }
.r-hero h1 { font-size: 26px; line-height: 1.35; font-weight: 800; margin: 16px 0 8px; }
.r-hero p { font-size: 13.5px; color: rgba(255,255,255,.75); }
.chart-title { font-size: 14px; font-weight: 800; margin-bottom: 14px; color: var(--muted); }
.chart { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; text-align: center; }
.chart .col { display: flex; flex-direction: column; gap: 6px; border-radius: 12px; padding: 6px 0; }
.chart .col.me { background: rgba(139,92,246,.1); outline: 1px solid rgba(139,92,246,.35); }
.chart .ch { font-size: 12px; color: var(--dim); }
.chart .god { font-size: 11.5px; color: var(--muted); }
.chart .ko { font-size: 12px; color: var(--dim); }
.pc { margin: 0 6px; border-radius: 10px; padding: 8px 0 6px; background: color-mix(in srgb, var(--e) 14%, #0c0b10); border: 1px solid color-mix(in srgb, var(--e) 45%, transparent); }
.pc b { display: block; font-size: 26px; line-height: 1.1; color: var(--e); font-family: "Noto Serif KR", serif; }
.pc small { font-size: 11px; color: var(--muted); }
.pc.empty { --e: #555; }
.el-row { display: grid; grid-template-columns: 56px 1fr 22px; align-items: center; gap: 10px; padding: 5px 0; font-size: 13px; }
.el-bar { height: 10px; border-radius: 5px; background: #1e1b28; overflow: hidden; }
.el-bar i { display: block; height: 100%; border-radius: 5px; }
.el-c { text-align: right; color: var(--muted); }
.rt { font-size: 14.5px; line-height: 1.85; color: #ddd8ea; margin-top: 12px; }
.rt b { color: #fff; }
.rsec { margin-top: 40px; }
.rnum { font-size: 13px; font-weight: 800; letter-spacing: 1px; }
.rsec h3 { font-size: 20px; font-weight: 800; margin-top: 4px; line-height: 1.4; }
.mt { margin-top: 14px; border: 1px solid var(--line-soft); border-radius: 14px; overflow: hidden; }
.mr { display: grid; grid-template-columns: 56px 1fr auto; align-items: center; gap: 10px; padding: 11px 14px; border-top: 1px solid var(--line-soft); font-size: 13.5px; background: var(--surface); }
.mr:first-child { border-top: 0; }
.mm { font-weight: 800; }
.mg { color: var(--muted); font-size: 12.5px; }
.mk { font-size: 12px; font-weight: 800; border: 1px solid; border-radius: 999px; padding: 2px 10px; }
.fld { background: var(--surface); border: 1px solid var(--line-soft); border-radius: 12px; padding: 14px 16px; margin-top: 10px; }
.fld b { font-size: 14px; }
.fld p { font-size: 13.5px; color: var(--muted); margin-top: 4px; line-height: 1.7; }
.score { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 16px 20px; font-weight: 700; }
.score b { font-size: 34px; }
.upsell { margin-top: 36px; text-align: center; border: 1px dashed var(--line); border-radius: 14px; padding: 20px; font-weight: 700; font-size: 14px; }
.upsell small { display: block; color: var(--dim); font-weight: 500; margin-top: 6px; }

/* ---------- v2: 16 products ---------- */
.badge.adult { background: #7f1d1d; color: #fca5a5; border: 1px solid #b91c1c; }
.btn-ghost { display: inline-block; border: 1px solid var(--line); border-radius: 999px; padding: 11px 22px; font-size: 14px; font-weight: 700; color: #c4b5fd; }
.pprice { margin-top: 12px; font-size: 14px; } .pprice s { color: rgba(255,255,255,.5); font-size: 12px; } .pprice b { font-size: 17px; }

.d-hero { height: 340px; }
.d-hero .back { position: absolute; top: 14px; left: 14px; z-index: 2; background: rgba(0,0,0,.55); color: rgba(255,255,255,.7); font-size: 13px; padding: 6px 12px; border-radius: 999px; }
.d-hero h1 { font-size: 27px; margin-top: 12px; }
.d-hero .rating { margin-top: 10px; font-size: 13px; color: rgba(255,255,255,.65); }
.d-hero .rating .stars { font-size: 13px; letter-spacing: 1px; }
.stat { background: linear-gradient(180deg, #15131c, #0e0d13); border: 1px solid #2a2638; border-radius: 16px; padding: 18px; text-align: center; }
.stat b { display: block; font-size: 24px; font-weight: 800; }
.stat span { font-size: 12.5px; color: var(--dim); }
.stat.main { padding: 26px; } .stat.main b { font-size: 46px; color: #a78bfa; line-height: 1.1; } .stat.main span { color: #fff; font-weight: 700; font-size: 14px; }
.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
.quote { display: flex; gap: 12px; margin-top: 10px; background: #0e0d13; border: 1px solid #2a2638; border-radius: 16px; padding: 18px; font-size: 14px; line-height: 1.6; }
.quote small { display: block; color: var(--dim); font-size: 12px; margin-top: 4px; font-weight: 500; }
.hook { text-align: center; padding: 64px 20px 40px; }
.hook h2 { font-size: 28px; font-weight: 800; line-height: 1.35; }
.bubbles { display: flex; flex-direction: column; gap: 12px; margin-top: 18px; }
.bubble { display: flex; gap: 10px; align-items: flex-start; max-width: 88%; }
.bubble.r { align-self: flex-end; flex-direction: row-reverse; }
.bubble span { width: 36px; height: 36px; border-radius: 50%; background: #1c1a24; display: grid; place-items: center; flex: none; }
.bubble p { background: #1c1a24; border-radius: 16px; padding: 12px 14px; font-size: 14px; line-height: 1.55; color: #ddd; }
.bubble.r p { background: #2a1f45; }
.answer { display: flex; gap: 12px; margin-top: 26px; background: rgba(139,92,246,.1); border: 1px solid rgba(139,92,246,.35); border-radius: 16px; padding: 18px; }
.seal { width: 40px; height: 40px; border-radius: 10px; background: linear-gradient(135deg, #7c3aed, #a855f7); display: grid; place-items: center; font-weight: 800; flex: none; font-size: 18px; }
.answer p { font-size: 14.5px; line-height: 1.7; }
.statement { text-align: center; padding: 72px 20px; background: radial-gradient(circle at 50% 50%, rgba(124,58,237,.18), transparent 70%); }
.statement h2 { font-size: 32px; font-weight: 800; line-height: 1.35; }
.statement p { color: var(--dim); margin-top: 14px; font-size: 14px; }
.alist { margin-top: 22px; display: flex; flex-direction: column; gap: 10px; }
.aitem { display: flex; gap: 14px; align-items: center; background: var(--surface); border: 1px solid var(--line-soft); border-radius: 14px; padding: 15px 16px; }
.aitem span { font-size: 22px; } .aitem p { font-size: 14.5px; }
.pv { margin-top: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.pv-line { font-size: 14px; line-height: 1.6; padding-bottom: 10px; border-bottom: 1px solid var(--line-soft); }
.pv-line.dim { color: var(--dim); filter: blur(.4px); border: 0; }
.pv .btn-main { margin-top: 6px; }
.rlist { margin-top: 22px; display: flex; flex-direction: column; gap: 12px; }
.ritem { background: var(--surface); border: 1px solid var(--line-soft); border-radius: 14px; padding: 18px; }
.rhead { display: flex; gap: 8px; align-items: center; font-size: 13px; color: var(--dim); }
.rhead b { color: #fff; } .rhead .stars { margin-left: auto; font-size: 12px; letter-spacing: 1px; }
.ritem p { margin-top: 10px; font-size: 14.5px; line-height: 1.65; }
.offer { margin: 24px 20px; border-radius: 20px; padding: 30px 22px; background: radial-gradient(circle at 50% 0%, #2e1065, #0b0716 70%); border: 1px solid #4c2a8a; text-align: center; }
.offer-tag { display: inline-block; font-size: 12.5px; font-weight: 800; color: #fdba74; background: rgba(234,88,12,.15); border: 1px solid rgba(234,88,12,.4); border-radius: 999px; padding: 4px 12px; }
.offer h3 { font-size: 22px; font-weight: 800; margin-top: 14px; }
.offer ul { text-align: left; margin: 18px 0; display: flex; flex-direction: column; gap: 8px; }
.offer li { list-style: none; font-size: 14px; padding-left: 24px; position: relative; }
.offer li::before { content: "✓"; position: absolute; left: 0; color: #a78bfa; font-weight: 800; }
.offer-price s { display: block; color: var(--dim); font-size: 14px; }
.offer-price b { display: block; font-size: 38px; font-weight: 800; line-height: 1.2; }
.offer-price span { display: inline-block; margin-top: 6px; font-size: 13px; color: #fca5a5; font-weight: 700; }
.offer-timer { margin: 16px 0; font-size: 13px; color: var(--muted); } .offer-timer b { color: #fff; font-size: 18px; margin-left: 6px; font-variant-numeric: tabular-nums; }
.offer-foot { font-size: 12px; color: var(--dim); margin-top: 12px; }
.sticky-row { display: flex; gap: 12px; align-items: center; background: rgba(4,2,10,.97); border-top: 1px solid var(--line); padding-top: 12px; }
.sticky-row .btn-main { flex: 1; border-radius: 999px; }
.st-timer { flex: none; display: flex; flex-direction: column; line-height: 1.2; }
.st-timer small { font-size: 10.5px; color: var(--dim); } .st-timer b { font-size: 18px; color: #a78bfa; font-variant-numeric: tabular-nums; }

.prev { font-size: 14px; color: var(--dim); }
.fbox { background: var(--surface); border: 1px solid var(--line-soft); border-radius: 16px; padding: 4px 18px 22px; margin-top: 20px; }
.ftitle { font-size: 16px; font-weight: 800; margin-top: 20px; }
.ftitle .opt { font-size: 12px; color: var(--dim); font-weight: 500; }
.fbox .fgroup { margin-top: 18px; }
.fbox .input { background: #08070c; }
.row2 { display: grid; grid-template-columns: 1fr 96px; gap: 8px; }
input[type="date"].input { color-scheme: dark; }
.adultbox { background: rgba(127,29,29,.2); border: 1px solid #7f1d1d; border-radius: 12px; padding: 12px 14px; margin-top: 20px; }
.adultbox .check { margin: 0; color: #fca5a5; }

.plans { gap: 18px; }
.plan { border: 1px solid rgba(91,33,182,.3); background: rgba(13,8,23,.6); border-radius: 18px; padding: 22px 20px 16px; }
.plan.pop { border-color: rgba(124,58,237,.7); background: rgba(88,28,135,.22); }
.plan.on { border: 2px solid var(--accent); box-shadow: 0 0 0 4px rgba(139,92,246,.15); }
.plan-badge { position: absolute; top: -12px; left: 18px; background: linear-gradient(90deg,#6d28d9,#8b5cf6); color: #fff; font-size: 12px; font-weight: 800; padding: 3px 12px; border-radius: 999px; }
.plan-top { display: flex; justify-content: space-between; gap: 12px; }
.plan .nm { font-size: 18px; font-weight: 800; }
.plan.pop .nm { color: #c4b5fd; }
.pd { font-size: 12.5px; color: var(--dim); margin-top: 4px; }
.plan-price { text-align: right; flex: none; }
.plan-price .off { display: inline-block; font-size: 11px; font-weight: 800; color: #fca5a5; background: rgba(127,29,29,.5); border-radius: 6px; padding: 2px 7px; }
.plan-price s { display: block; font-size: 12px; color: #4e4868; margin-top: 4px; }
.plan-price b { display: block; font-size: 21px; font-weight: 800; }
.ptags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.ptags span { font-size: 11.5px; padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,.05); color: #9ca3af; border: 1px solid rgba(255,255,255,.08); }
.plan.pop .ptags span { background: rgba(139,92,246,.2); color: #c4b5fd; border-color: rgba(139,92,246,.3); }
.psel { text-align: right; font-size: 13px; color: var(--dim); margin-top: 14px; }
.plan.on .psel { color: #c4b5fd; font-weight: 700; }

.tarot-guide { font-size: 14px; color: var(--muted); margin: 14px 0; display: flex; justify-content: space-between; gap: 8px; }
.tarot-count { color: #c4b5fd; font-weight: 800; flex: none; }
.tarot-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }
.tcard { aspect-ratio: 2/3; border-radius: 8px; background: linear-gradient(160deg, #2e1065, #4c1d95); border: 1px solid #6d28d9; color: #c4b5fd; display: grid; place-items: center; font-size: 13px; transition: transform .15s; position: relative; }
.tcard:hover { transform: translateY(-3px); }
.tcard.on { background: linear-gradient(160deg, #fef3c7, #fbbf24); border-color: #f59e0b; color: #000; font-size: 20px; }
.tcard em { position: absolute; top: 3px; left: 0; right: 0; font-size: 9px; font-style: normal; font-weight: 800; color: #78350f; }

.daeun { display: grid; grid-template-columns: repeat(8, 1fr); gap: 4px; margin-top: 14px; direction: rtl; }
.du { direction: ltr; text-align: center; background: var(--surface); border: 1px solid var(--line-soft); border-radius: 10px; padding: 8px 0; display: flex; flex-direction: column; gap: 2px; }
.du b { font-size: 18px; line-height: 1.15; font-family: "Noto Serif KR", serif; }
.du small { font-size: 10px; color: var(--dim); }
.du.on { border-color: var(--accent); background: rgba(139,92,246,.15); }
.subh { font-size: 14px; color: var(--muted); margin-top: 18px; }
.qbox { margin-top: 12px; background: #15121f; border-left: 3px solid var(--c, var(--accent)); border-radius: 8px; padding: 12px 14px; font-size: 14px; color: #ddd; }
.soon { margin-top: 12px; border: 1px dashed var(--line); border-radius: 14px; padding: 18px; text-align: center; color: var(--muted); font-size: 14px; }
.soon small { color: var(--dim); }
.tspread { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; }
.tres { display: flex; gap: 14px; align-items: center; background: var(--surface); border: 1px solid var(--line-soft); border-radius: 14px; padding: 12px; }
.tface { width: 56px; height: 84px; flex: none; border-radius: 8px; background: linear-gradient(160deg, #fef3c7, #fbbf24); color: #000; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
.tface span { font-size: 26px; } .tface small { font-size: 10px; font-weight: 800; color: #78350f; }
.tface.rev { transform: rotate(180deg); }
.tres em { font-style: normal; font-size: 11.5px; font-weight: 800; color: var(--c, var(--accent)); }
.tres b { display: block; font-size: 15px; margin: 2px 0; }
.tres p { font-size: 13px; color: var(--muted); }

/* ---------- 자미두수 명반 (ziwei.js) ---------- */
.zw-chart { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: minmax(104px, auto); gap: 3px; margin-top: 14px; background: var(--line-soft); border: 1px solid var(--line); border-radius: 12px; padding: 3px; }
.zw-cell { background: var(--surface); border-radius: 8px; padding: 5px 4px 4px; display: flex; flex-direction: column; min-width: 0; position: relative; }
.zw-cell.ming { background: color-mix(in srgb, var(--gold) 9%, var(--surface)); outline: 1px solid rgba(233,196,106,.55); }
.zw-cell.cur { box-shadow: inset 0 0 0 1px rgba(139,92,246,.8); }
.zw-major { display: flex; flex-wrap: wrap; gap: 1px 4px; }
.zw-major .zm { font-size: 13px; font-weight: 800; color: var(--gold); white-space: nowrap; }
.zw-major .zm.empty { color: var(--dim); font-weight: 500; font-size: 11px; }
.zw-minor { display: flex; flex-wrap: wrap; gap: 0 4px; margin-top: 2px; flex: 1; align-content: flex-start; }
.zw-minor .zn { font-size: 10.5px; color: var(--muted); white-space: nowrap; line-height: 1.45; }
.zw-minor .zn.good { color: #c4b5fd; }
.zw-cell i { display: inline-block; font-style: normal; font-size: 9.5px; font-weight: 800; color: #000; border-radius: 3px; padding: 0 2px; margin-left: 1px; line-height: 1.35; vertical-align: 1px; }
.zw-foot { display: flex; justify-content: space-between; align-items: baseline; gap: 2px; margin-top: 4px; border-top: 1px solid var(--line-soft); padding-top: 3px; font-size: 10px; color: var(--dim); }
.zw-name { font-size: 11.5px; font-weight: 800; color: var(--text); white-space: nowrap; }
.zw-cell.ming .zw-name { color: var(--gold); }
.zw-name em { font-style: normal; font-size: 9.5px; color: var(--pink); margin-left: 2px; }
.zw-center { background: radial-gradient(circle at 50% 30%, #1a1526, var(--surface) 70%); border-radius: 8px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 3px; font-size: 12px; color: var(--muted); padding: 8px; }
.zw-title { font-family: "Noto Serif KR", serif; color: var(--gold); font-size: 15px; letter-spacing: 1px; margin-bottom: 2px; }
.zw-center div:first-of-type { color: var(--text); font-weight: 700; }
.zw-bu { font-size: 16px; font-weight: 800; color: var(--text); }
.zw-bu small { font-size: 11px; color: var(--dim); font-weight: 500; }
.zw-legend { margin-top: 4px; font-size: 10.5px; color: var(--dim); }
.zw-legend i { margin: 0 1px; }
.zw-note { font-size: 12px; color: var(--dim); line-height: 1.6; margin-top: 10px; }
.zw-dae { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 12px; }
.zd { background: var(--surface); border: 1px solid var(--line-soft); border-radius: 10px; padding: 8px 6px; text-align: center; display: flex; flex-direction: column; gap: 2px; }
.zd b { font-size: 14px; } .zd small { font-size: 11px; color: var(--dim); }
.zd.on { border-color: var(--gold); background: color-mix(in srgb, var(--gold) 10%, var(--surface)); }
.zd.on b { color: var(--gold); }

@media (max-width: 400px) {
  .lineup { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .big-count { font-size: 32px; }
  .hero-slide h2 { font-size: 26px; }
}

/* =========================================================
   2026-11-23 벤치마킹 반영 (홈·상세·단계 입력·미리보기·결제·결과)
   ========================================================= */
/* 홈 */
.intro { padding: 30px 20px 4px; }
.intro h1 { font-family: "Gowun Batang", serif; font-size: 26px; letter-spacing: 4px; color: #F3EBDA; }
.intro p { font-size: 14.5px; color: var(--muted); margin-top: 8px; line-height: 1.6; }
.best-wrap { padding-top: 26px; padding-bottom: 20px; }
.best { flex: 0 0 168px; height: 220px; border-radius: 16px; position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; padding: 14px; scroll-snap-align: start; }
.best > *:not(.art) { position: relative; z-index: 1; }
.best .art .emoji { font-size: 34px; top: 40px; right: 14px; }
.best-no { position: absolute !important; top: 12px; left: 12px; font-size: 11px; font-weight: 900; letter-spacing: .5px; background: var(--gold); color: #1a1406; border-radius: 6px; padding: 3px 7px; }
.best-b small { font-size: 11px; color: rgba(255,255,255,.75); }
.best-b h3 { font-size: 17px; font-weight: 800; line-height: 1.35; margin-top: 4px; }
.resume-wrap { padding-top: 6px; padding-bottom: 20px; }
.resume { display: flex; flex-direction: column; gap: 4px; border: 1px solid color-mix(in srgb, var(--c) 55%, transparent); background: color-mix(in srgb, var(--c) 10%, var(--surface)); border-radius: 16px; padding: 16px 18px; }
.resume small { font-size: 11.5px; font-weight: 800; color: var(--c); letter-spacing: 1px; }
.resume b { font-size: 15.5px; } .resume span { font-size: 13px; color: var(--muted); } .resume em { font-style: normal; font-size: 13px; font-weight: 800; color: var(--c); margin-top: 6px; }
.cat-sec { padding-top: 36px; padding-bottom: 12px; }
.cat-sec .sec-title { font-size: 21px; }
.lrows { display: flex; flex-direction: column; }
.lrow { display: flex; gap: 14px; padding: 16px 0; border-top: 1px solid var(--line-soft); }
.lrow:first-child { border-top: 0; }
.lr-ic { width: 54px; height: 54px; flex: none; border-radius: 14px; border: 1px solid; display: grid; place-items: center; font-size: 24px; }
.lr-top { display: flex; gap: 6px; align-items: center; } .lr-top small { font-size: 11.5px; color: var(--dim); }
.lrow b { display: block; font-size: 15.5px; margin-top: 3px; } .lrow p { font-size: 13px; color: var(--muted); margin-top: 3px; line-height: 1.55; }
.lr-price { margin-top: 6px; font-size: 13px; } .lr-price s { color: var(--dim); font-size: 11.5px; } .lr-price b { display: inline; font-size: 14px; margin: 0; }
.free-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 20px; }
.free-grid a, .free-grid button { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px 6px; display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; }
.free-grid span { font-family: "Noto Serif KR", serif; font-size: 26px; color: var(--gold); line-height: 1.1; }
.free-grid b { font-size: 13.5px; } .free-grid small { font-size: 11px; color: var(--dim); }
.free-grid.sm { margin: 18px 0 4px; } .free-grid button.on { border-color: var(--accent); background: rgba(139,92,246,.12); }
.kakao { display: flex; gap: 14px; align-items: center; background: #FEE500; color: #191919; border-radius: 16px; padding: 16px 18px; }
.kakao b { display: block; font-size: 15px; } .kakao small { font-size: 12.5px; color: #3c3a2a; } .kk-ic { font-size: 26px; }
/* 상세 */
.d-hero { height: auto; min-height: 400px; padding-bottom: 24px; }
.d-hero .eb { font-size: 13px; font-weight: 700; color: rgba(255,255,255,.8); margin-top: 70px; }
.d-hero h1 { font-size: 28px; line-height: 1.3; margin: 8px 0 10px; }
.d-hero > .btn-main { margin-top: 18px; }
.pv-toc { list-style: none; margin-top: 18px; display: flex; flex-direction: column; gap: 10px; }
.pv-toc > li { background: var(--surface); border: 1px solid var(--line-soft); border-radius: 14px; padding: 14px 16px; }
.pt-h { display: flex; gap: 10px; align-items: baseline; } .pt-h b { color: var(--c, var(--accent)); font-size: 13px; flex: none; } .pt-h span { font-size: 15px; font-weight: 700; line-height: 1.4; flex: 1; }
.pt-h em { font-style: normal; font-size: 10.5px; font-weight: 800; color: #c4b5fd; border: 1px solid #6d28d9; border-radius: 6px; padding: 1px 6px; flex: none; }
.pv-toc ul { margin: 8px 0 0 26px; } .pv-toc ul li { list-style: none; font-size: 13px; color: var(--muted); padding: 2px 0; } .pv-toc ul li::before { content: "· "; color: var(--dim); }
/* 단계 입력 */
.step-top { display: flex; justify-content: space-between; align-items: center; font-size: 12.5px; }
.step-prod { color: var(--dim); }
.step-card { margin-top: 14px; }
.step-card h2 { font-size: 23px; font-weight: 800; }
.step-card .seg { margin-bottom: 10px; }
.ymd { display: grid; grid-template-columns: 1.6fr auto 1fr auto 1fr auto; gap: 6px; align-items: center; }
.ymd.hm { grid-template-columns: 1fr auto 1fr auto; }
.ymd .input { text-align: center; font-size: 17px; font-weight: 700; padding: 14px 6px; }
.ymd span { font-size: 14px; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips button { padding: 10px 14px; border-radius: 999px; border: 1px solid #2e2a3c; background: var(--surface); font-size: 14px; color: var(--muted); font-weight: 600; }
.chips button.on { border-color: var(--accent); color: #fff; background: rgba(139,92,246,.18); }
.count { text-align: right; font-size: 12px; color: var(--dim); margin-top: 6px; }
.qmark { width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--line); color: var(--muted); font-size: 12px; margin-left: 8px; vertical-align: middle; }
#yajabox .check { display: inline-flex; }
.fold .seg button { line-height: 1.35; } .fold .seg small { font-size: 11px; font-weight: 500; color: var(--dim); }
.hm-note { color: #93c5fd; }
.step-nav { display: flex; gap: 10px; }
.step-nav .btn-main { flex: 1; }
.btn-sub { flex: none; padding: 0 18px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); color: var(--muted); font-weight: 700; min-height: 54px; }
/* 결제하기 */
.header .prev { font-size: 26px; color: var(--muted); width: 20px; }
.hd-title { font-size: 17px; }
.checkout { padding-top: 8px; }
.co-h { font-size: 16px; font-weight: 800; margin-top: 30px; display: flex; align-items: center; gap: 8px; }
.co-h em { font-style: normal; font-size: 11px; font-weight: 800; color: #fff; background: var(--pink); border-radius: 6px; padding: 2px 7px; }
.checkout .plans { margin-top: 14px; }
.plan .nm small { font-size: 12px; color: var(--dim); font-weight: 600; margin-left: 4px; }
.bundle { width: 100%; text-align: left; display: flex; gap: 12px; align-items: center; margin-top: 12px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); padding: 14px; }
.bundle.on { border: 2px solid var(--pink); background: rgba(244,114,182,.08); }
.bd-ic { width: 44px; height: 44px; flex: none; border-radius: 12px; display: grid; place-items: center; font-size: 22px; }
.bundle b { font-size: 14.5px; } .bundle small { display: block; font-size: 12px; color: var(--dim); margin-top: 2px; line-height: 1.45; }
.bd-pr { margin-left: auto; text-align: right; flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.bd-pr s { font-size: 11px; color: var(--dim); } .bd-pr b { font-size: 15px; }
.bd-pr .radio, .bundle .radio { width: 20px; height: 20px; border-radius: 5px; border: 2px solid #555; margin-top: 4px; }
.bundle.on .radio { background: var(--pink); border-color: var(--pink); }
.paygrid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.pay { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); padding: 14px 12px; font-size: 14px; font-weight: 700; }
.pay.on { border: 2px solid var(--accent); background: rgba(139,92,246,.12); }
.pm-mark { min-width: 44px; text-align: center; font-size: 10.5px; font-weight: 900; border-radius: 6px; padding: 4px 6px; }
.coupon { margin-top: 18px; border: 1px solid var(--line-soft); border-radius: 12px; padding: 12px 14px; background: var(--surface); }
.coupon summary { font-size: 14px; color: var(--muted); cursor: pointer; }
.cp-row { display: flex; gap: 8px; margin-top: 12px; } .cp-row .btn-sub { min-height: 48px; }
.co-agree .ag { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.ag-more { font-size: 12px; color: var(--dim); text-decoration: underline; flex: none; margin-top: 10px; }
.ag-text { font-size: 12px; color: var(--dim); background: var(--surface); border-radius: 10px; padding: 10px 12px; margin-top: 6px; line-height: 1.6; }
.co-note { font-size: 13px; color: var(--muted); text-align: center; margin-top: 20px; }
.refund { margin-top: 16px; display: flex; flex-direction: column; gap: 2px; font-size: 12px; color: var(--dim); border-top: 1px solid var(--line-soft); padding-top: 14px; }
.refund b { color: var(--muted); margin-bottom: 2px; }
/* 결과 공통 */
.rtoc { margin-top: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; }
.rtoc-h { font-weight: 800; font-size: 15px; margin-bottom: 8px; } .rtoc-h small { color: var(--dim); font-weight: 500; margin-left: 6px; }
.rtoc a { display: flex; gap: 10px; padding: 7px 0; font-size: 14px; border-top: 1px solid var(--line-soft); } .rtoc a:first-of-type { border-top: 0; }
.rtoc a b { color: var(--c, var(--accent)); font-size: 12.5px; flex: none; padding-top: 1px; } .rtoc a span { color: #ddd8ea; }
.rsec { scroll-margin-top: 70px; }
.rsum { margin-top: 14px; display: flex; gap: 10px; align-items: baseline; background: color-mix(in srgb, var(--c, var(--accent)) 12%, var(--surface)); border: 1px solid color-mix(in srgb, var(--c, var(--accent)) 40%, transparent); border-radius: 12px; padding: 12px 14px; font-size: 14.5px; font-weight: 700; line-height: 1.5; }
.rsum span, .rbasis span, .racts > span { flex: none; font-size: 11px; font-weight: 800; color: #000; background: var(--c, var(--accent)); border-radius: 5px; padding: 2px 6px; }
.rbasis { margin-top: 14px; display: flex; gap: 10px; align-items: baseline; font-size: 12.5px; color: var(--muted); border: 1px dashed var(--line); border-radius: 10px; padding: 10px 12px; line-height: 1.6; }
.rbasis span { background: #3a3350; color: #ddd; }
.racts { margin-top: 14px; } .racts .checklist { margin-top: 6px; } .racts .checklist li { font-size: 14px; }
.checklist.avoid li::before { content: "✕"; background: #f87171; }
.mn { display: block; font-size: 11.5px; color: var(--dim); margin-top: 1px; }
.viz svg { display: block; } .viz .chart-title small { font-weight: 500; color: var(--dim); margin-left: 6px; font-size: 11.5px; }
.viz-cap { font-size: 12px; color: var(--dim); margin-top: 6px; }
.mate-chips { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mate-chips span { background: #15121f; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; font-size: 13.5px; font-weight: 700; line-height: 1.4; }
.mate-chips em { display: block; font-style: normal; font-size: 11px; font-weight: 600; color: var(--dim); margin-bottom: 2px; }
.plan3 .fld b { color: var(--c, var(--accent)); }
.tts { margin-top: 14px; border: 1px solid rgba(255,255,255,.35); border-radius: 999px; padding: 6px 14px; font-size: 13px; font-weight: 700; background: rgba(0,0,0,.3); }
.bundle-go { display: block; margin-top: 36px; border: 1px solid var(--pink); border-radius: 14px; padding: 16px; font-size: 14.5px; text-align: center; background: rgba(244,114,182,.08); }
.rv-ask { margin-top: 30px; text-align: center; border: 1px solid var(--line); border-radius: 16px; padding: 22px 18px; background: var(--surface); }
.rv-ask b { font-size: 16px; } .rv-ask-stars { font-size: 30px; letter-spacing: 6px; color: #4a4540; margin: 8px 0; } .rv-ask p { font-size: 12.5px; color: var(--dim); line-height: 1.6; }
.rel { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
.rel a { display: flex; gap: 10px; align-items: center; border: 1px solid color-mix(in srgb, var(--c) 45%, transparent); border-radius: 14px; padding: 12px; background: var(--surface); }
.rel span { font-size: 24px; } .rel small { display: block; font-size: 10.5px; color: var(--dim); } .rel b { font-size: 13.5px; line-height: 1.35; }
.resend { display: block; margin: 22px auto 0; }
.term { border-bottom: 1px dotted #a78bfa; cursor: help; position: relative; }
.term-pop { position: absolute; left: 0; top: 130%; z-index: 30; width: 230px; background: #1f1b2e; border: 1px solid var(--accent); border-radius: 10px; padding: 10px 12px; font-size: 12.5px; font-weight: 400; color: #ddd; line-height: 1.55; box-shadow: 0 8px 24px rgba(0,0,0,.5); }
.term-pop b { display: block; color: #fff; margin-bottom: 3px; }
.notice.info { color: #93c5fd; background: rgba(96,165,250,.08); border-color: rgba(96,165,250,.3); }
/* 결제 전 미리보기 */
.pv-hero { padding: 40px 22px 30px; position: relative; }
.pv-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.25), rgba(0,0,0,.8)); }
.pv-hero > * { position: relative; z-index: 1; }
.pv-hero .eb { font-size: 12.5px; font-weight: 700; color: rgba(255,255,255,.8); }
.pv-hero h1 { font-size: 23px; line-height: 1.4; font-weight: 800; margin: 10px 0; }
.pv-hero p { font-size: 13.5px; color: rgba(255,255,255,.78); margin-bottom: 18px; }
.pv-s { padding-top: 24px; }
.pv-q { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; }
.pv-q small { font-size: 12px; color: var(--dim); } .pv-q p { font-size: 15px; margin-top: 4px; line-height: 1.6; }
.pv-q a { display: inline-block; font-size: 12.5px; color: var(--c, var(--accent)); margin-top: 8px; }
.pv-tags { display: inline-block; font-size: 12px; color: var(--muted); background: #1c1a24; border-radius: 6px; padding: 3px 8px; margin-top: 8px; }
.pv-h { font-size: 20px; font-weight: 800; margin-top: 40px; line-height: 1.4; }
.pv-sub { font-size: 13.5px; color: var(--muted); margin-top: 6px; }
.pv-two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.pv-two > div { background: var(--surface); border: 1px solid var(--line-soft); border-radius: 14px; padding: 14px; }
.pv-two small { font-size: 11.5px; font-weight: 800; color: var(--c, var(--accent)); } .pv-two p { font-size: 13px; line-height: 1.65; color: #ddd8ea; margin-top: 6px; }
.pv-lock { margin-top: 22px; border: 1px solid var(--line); border-radius: 18px; padding: 20px; background: radial-gradient(circle at 50% 0%, #241a3d, var(--surface) 70%); }
.lk-h { font-weight: 800; font-size: 15px; }
.lk-score { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; } .lk-score span { color: var(--muted); font-size: 14px; } .lk-score b { font-size: 40px; font-weight: 900; color: var(--c, var(--accent)); }
.lk-row { display: flex; justify-content: space-between; font-size: 14px; color: var(--muted); padding: 10px 0; border-top: 1px solid var(--line-soft); }
.blur { filter: blur(5px); user-select: none; }
.lk-open { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 6px 0 12px; }
.lk-open > div { background: #0f0d16; border: 1px solid var(--line-soft); border-radius: 12px; padding: 12px; display: flex; flex-direction: column; gap: 3px; }
.lk-open small { font-size: 11px; color: var(--dim); } .lk-open b { font-size: 14px; line-height: 1.45; } .lk-open span { font-size: 12px; color: var(--muted); }
.lk-blur { font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.pv-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.pv-badges span { font-size: 11.5px; font-weight: 700; color: #86efac; background: rgba(34,197,94,.1); border: 1px solid rgba(34,197,94,.35); border-radius: 999px; padding: 4px 10px; }
.pv-rv-head { display: flex; gap: 10px; align-items: baseline; margin-top: 10px; } .pv-rv-head b { color: #f5b942; font-size: 20px; } .pv-rv-head span { color: var(--dim); font-size: 13px; }
.pvw .checklist { margin-top: 12px; }
.pv-cmp { margin-top: 14px; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.pc-row { display: grid; grid-template-columns: 74px repeat(var(--n, 3), 1fr); font-size: 12.5px; border-top: 1px solid var(--line-soft); }
.pc-row:first-child { border-top: 0; }
.pc-row > span { padding: 10px 6px; text-align: center; color: #ddd8ea; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; line-height: 1.4; }
.pc-row > span:first-child { color: var(--dim); background: #0f0d16; }
.pc-row.h > span { font-weight: 800; background: #1a1230; } .pc-row.h em { font-style: normal; font-size: 10px; color: #fff; background: var(--accent-2); border-radius: 5px; padding: 0 5px; }
.pc-row s { color: var(--dim); font-size: 11px; } .pc-row b { font-size: 13.5px; }
.pc-go { font-size: 12px; font-weight: 800; color: var(--c, var(--accent)); border: 1px solid; border-radius: 999px; padding: 4px 12px; }
.pvw .offer { margin: 30px 0 0; }
/* 무료 조회 결과 */
.free-res .fr-main { display: flex; gap: 14px; align-items: flex-start; }
.fr-main > span { font-family: "Noto Serif KR", serif; font-size: 34px; color: var(--gold); }
.fr-main b { font-size: 16px; } .fr-main p { font-size: 14px; color: var(--muted); line-height: 1.7; margin-top: 4px; }
.fr-all { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; } .fr-all span { font-size: 12px; color: var(--dim); border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px; } .fr-all span.on { color: var(--gold); border-color: var(--gold); }
@media (max-width: 400px) { .pv-two, .lk-open { grid-template-columns: 1fr; } .pc-row { grid-template-columns: 60px repeat(var(--n, 3), 1fr); } }
/* 자미두수 명반 v2 (청월당식 표시) */
.zw-chart { grid-auto-rows: minmax(116px, auto); }
.zw-cell.ming { background: color-mix(in srgb, var(--gold) 26%, var(--surface)); outline: 1px solid rgba(233,196,106,.75); }
.zw-cell.cur { box-shadow: inset 0 0 0 2px rgba(139,92,246,.9), 0 0 10px rgba(139,92,246,.45); }
.zw-head { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 1px solid var(--line-soft); padding-bottom: 2px; margin-bottom: 3px; }
.zw-head .zw-name { font-size: 13px; } .zw-head .zw-gz { font-size: 10px; color: var(--dim); }
.zw-major .zm { font-size: 12px; }
.zw-minor .zn { font-size: 10px; }
.zw-cell u { text-decoration: none; font-size: 9px; font-weight: 800; border-radius: 3px; padding: 0 2px; margin-left: 1px; vertical-align: 1px; }
u.b5 { background: #f5b942; color: #1a1406; } u.b4 { background: #a3e635; color: #0f1a05; } u.b3 { background: #3a3350; color: #ddd; } u.b2 { background: #2a2638; color: #9a93b0; } u.b1, u.b0 { background: #3b1d24; color: #f87171; }
.zw-foot { justify-content: space-between; }
.zw-bu { font-size: 12px; font-weight: 800; color: #1a1406; background: var(--gold); border-radius: 999px; padding: 2px 10px; }
.zw-bu small { color: #3a2e12; }
.zw-nm { font-size: 17px; color: var(--text); margin-top: 2px; }
.zw-hua4 { display: flex; flex-direction: column; gap: 1px; font-size: 11.5px; color: var(--muted); text-align: left; margin-top: 2px; }
.zw-hua4 i { font-style: normal; font-size: 9.5px; font-weight: 800; color: #000; border-radius: 3px; padding: 0 3px; margin-right: 4px; }
.zw-hua4 b { color: var(--text); }
.zw-meta { font-size: 10px; color: var(--dim); line-height: 1.4; margin-top: 3px; }
.zw-basic { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 14px; }
.zw-basic > div { background: var(--surface); border: 1px solid var(--line-soft); border-radius: 12px; padding: 10px; text-align: center; display: flex; flex-direction: column; gap: 2px; }
.zw-basic small { font-size: 11px; color: var(--dim); } .zw-basic b { font-size: 13.5px; color: var(--gold); line-height: 1.4; } .zw-basic span { font-size: 11px; color: var(--muted); }
.zw-hua { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.zh { border: 1px solid color-mix(in srgb, var(--h) 50%, transparent); background: color-mix(in srgb, var(--h) 8%, var(--surface)); border-radius: 12px; padding: 12px; }
.zh small { font-size: 11px; font-weight: 800; color: var(--h); } .zh b { display: block; font-size: 15px; margin-top: 4px; } .zh b span { font-size: 12px; color: var(--muted); font-weight: 600; } .zh p { font-size: 12.5px; color: var(--muted); line-height: 1.6; margin-top: 4px; }
.zw-cross { margin-top: 16px; border: 1px solid var(--gold); border-radius: 14px; padding: 14px 16px; background: color-mix(in srgb, var(--gold) 7%, var(--surface)); }
.zw-cross > b { font-size: 14.5px; color: var(--gold); } .zw-cross p { font-size: 13.5px; color: #ddd8ea; line-height: 1.7; margin-top: 8px; }
.zw-cross em { font-style: normal; font-size: 11px; font-weight: 800; border-radius: 5px; padding: 1px 6px; margin-right: 6px; } .zw-cross em.ok { background: #34d399; color: #000; } .zw-cross em.ng { background: #f87171; color: #000; }
.zw-btab { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; margin-top: 10px; }
.zw-btab div { display: flex; align-items: center; gap: 8px; background: var(--surface); border: 1px solid var(--line-soft); border-radius: 10px; padding: 8px 10px; font-size: 13px; }
.zw-btab b { color: var(--gold); min-width: 34px; } .zw-btab span { color: var(--dim); font-size: 12px; flex: 1; } .zw-btab u { text-decoration: none; font-size: 12px; font-weight: 800; border-radius: 5px; padding: 1px 7px; }
.hscroll { scroll-padding: 0 20px; }

/* 2026-11-23 검증 루프: 후기 'N번 구매' 배지, 카테고리 섹션 앵커, 정책 문서 */
.rv-buy { flex: none; font-size: 11px; color: #d9b36a; border: 1px solid #d9b36a55; background: #d9b36a14; border-radius: 999px; padding: 1px 7px; white-space: nowrap; }
.rv-foot .rv-date { margin-left: auto; }
.cat-sec { scroll-margin-top: 104px; }
.policy h1 { font-size: 24px; margin: 6px 0 18px; }
.policy section { border-top: 1px solid var(--line); padding: 14px 0; }
.policy h3 { font-size: 15px; margin: 0 0 6px; color: var(--gold); }
.policy p { margin: 0; font-size: 14px; line-height: 1.7; color: #d8d2cb; }
.policy-nav { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
.policy-nav a { font-size: 13px; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); }
.policy-nav a.on { color: var(--gold); border-color: var(--accent); }
/* 토스 결제위젯 영역 (payMode: toss, 2026-11-24) */
.toss-widget { background: #fff; border-radius: 14px; overflow: hidden; margin-bottom: 10px; }

/* ---------- 2026-11-24 런칭 점검: 사업자 정보 푸터·판매자 정보·청약철회 고지·성인 확인 ---------- */
.footer .ft-biz p { display: flex; flex-wrap: wrap; column-gap: 12px; margin: 0; }
.footer .ft-biz a { color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }
.footer .ft-check { border: 1px solid var(--line); border-radius: 6px; padding: 0 8px; text-decoration: none !important; font-size: 12px; }
.footer .ft-privacy { color: var(--text); font-weight: 800; }
.footer .ft-copy { margin-top: 10px; }
.seller { margin-top: 16px; display: flex; flex-direction: column; gap: 2px; font-size: 12px; color: var(--dim); border-top: 1px solid var(--line-soft); padding-top: 14px; line-height: 1.7; }
.seller b { color: var(--muted); margin-bottom: 2px; }
.seller a { text-decoration: underline; }
.withdraw { margin-top: 16px; border: 1px solid #5b4a1e; background: #17130a; border-radius: 12px; padding: 12px 14px; }
.withdraw b { font-size: 13px; color: var(--gold); }
.withdraw p { font-size: 13px; line-height: 1.7; color: #ddd8ea; margin-top: 6px; }
.withdraw a { display: inline-block; margin-top: 6px; font-size: 12px; color: var(--muted); text-decoration: underline; }
.resume-del { display: block; margin: 8px auto 0; font-size: 13px; color: var(--muted); text-decoration: underline; padding: 6px 10px; }
html.gate-open, html.gate-open body { overflow: hidden; }
.adult-gate { position: fixed; inset: 0; z-index: 200; background: rgba(0,0,0,.92); display: flex; align-items: center; justify-content: center; padding: 20px; }
.adult-gate .ag-box { width: 100%; max-width: 400px; background: var(--surface-2); border: 1px solid #b91c1c; border-radius: 18px; padding: 28px 22px; text-align: center; }
.adult-gate .ag-19 { width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 50%; border: 4px solid #dc2626; color: #fff; font-size: 26px; font-weight: 900; line-height: 56px; }
.adult-gate h2 { font-size: 20px; margin-bottom: 10px; }
.adult-gate p { font-size: 14.5px; line-height: 1.7; color: #ddd8ea; }
.adult-gate .ag-sm { font-size: 13px; color: var(--muted); margin-top: 8px; }
.adult-gate .btn-main { display: block; width: 100%; margin-top: 20px; }
.adult-gate .btn-ghost { display: block; margin-top: 10px; }
.notfound { text-align: center; padding: 80px 20px; }
.notfound h1 { font-size: 26px; margin: 12px 0; }
.notfound p { color: var(--muted); margin-bottom: 24px; }.policy-date { font-size: 13px; color: var(--muted); margin: -10px 0 12px; }
