/* =========================================================
   전통명리연구소 — Meta DA Landing
   Palette: 먹(ink) / 한지(hanji) / 오방색(obangsaek)
   ========================================================= */

:root {
  /* Oh-bang-saek (five traditional Korean colors) */
  --ink: #1a1613;            /* 먹 — black */
  --ink-soft: #2b2520;
  --hanji: #f3ece0;          /* 한지 — paper */
  --hanji-warm: #ebe0cc;
  --hanji-deep: #d9c9ac;
  --cinnabar: #c1272d;       /* 적 — red, seal */
  --cinnabar-deep: #901a1f;
  --ochre: #c89b4a;          /* 황 — yellow/gold */
  --ochre-light: #d9b678;
  --jade: #2f5d50;           /* 청 — blue/green */
  --white: #fafaf7;          /* 백 */

  --accent-gold: #b7893c;
  --seal-red: #b5272d;

  /* Type — Pretendard (modern commercial KR) + Noto Serif KR for display accents */
  --font-sans: 'Pretendard Variable', 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
  --font-display: 'Noto Serif KR', 'Pretendard Variable', serif;
  --font-serif: 'Noto Serif KR', 'Pretendard Variable', serif;
  --font-myeongjo: 'Pretendard Variable', 'Pretendard', -apple-system, system-ui, sans-serif;
  --font-brush: 'Noto Serif KR', serif;
  --font-hand: 'Nanum Pen Script', 'Noto Serif KR', cursive;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

html, body {
  margin: 0; padding: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: #2a241e;
  -webkit-font-smoothing: antialiased;
  overscroll-behavior: none;
}

body {
  /* Outside the mobile frame on desktop */
  min-height: 100vh;
  display: flex;
  justify-content: center;
  background:
    radial-gradient(1200px 600px at 20% 10%, #3a2f25 0%, transparent 60%),
    radial-gradient(900px 500px at 80% 90%, #1c1815 0%, transparent 55%),
    #161310;
}

#root { width: 100%; }

.page {
  width: 100%;
  max-width: 460px;
  min-height: 100vh;
  margin: 0 auto;
  background: var(--hanji);
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 80px rgba(0,0,0,.6);
}
.page.page-dark {
  background:
    radial-gradient(600px 400px at 50% -10%, rgba(184,39,45,.2) 0%, transparent 60%),
    linear-gradient(180deg, #0b0906 0%, #1a1613 55%, #211a14 100%);
  color: var(--hanji);
  font-size: 16px;
}
.page.page-image {
  background: #f3ead6;
  color: var(--ink);
  font-size: 16px;
}

.intro-page {
  width: 100%;
  height: 100vh;
  max-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: #f3ead6;
  padding: 24px 12px 20px;
  box-sizing: border-box;
  overflow: hidden;
}
.intro-page img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
}

/* ===== Reviews page (video bg + mystic overlay) ===== */
.page.page-video {
  background: #000;
  color: var(--hanji);
  font-size: 16px;
}
.reviews-page {
  position: relative;
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
  background: #000;
}
.reviews-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  filter: brightness(.55) saturate(.85);
}
.reviews-overlay {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 80px 24px 40px;
  background: linear-gradient(180deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,.25) 45%, rgba(0,0,0,.55) 100%);
}

.reviews-header { text-align: center; margin-bottom: 32px; }
.reviews-main-title {
  font-family: var(--font-myeongjo);
  font-weight: 500;
  font-size: 15px;
  color: rgba(255,255,255,.82);
  letter-spacing: .08em;
  text-shadow: 0 2px 12px rgba(0,0,0,.8);
}
.reviews-divider-line {
  width: 44px;
  height: 1px;
  background: rgba(217,182,120,.55);
  margin: 0 auto 12px;
}
.reviews-gold-label {
  font-family: var(--font-myeongjo);
  font-weight: 700;
  font-size: 18px;
  color: #d9b678;
  letter-spacing: .25em;
  margin-bottom: 10px;
  text-shadow: 0 2px 10px rgba(0,0,0,.7);
}
.reviews-subtitle {
  font-family: var(--font-myeongjo);
  font-size: 11px;
  color: rgba(255,255,255,.55);
  line-height: 1.65;
  letter-spacing: .04em;
  margin-bottom: 32px;
}

.reviews-stage {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44vh;
  padding: 0 4px;
}
.review-float {
  width: 100%;
  max-width: 400px;
  text-align: left;
  animation: reviewFade .9s ease;
}
@keyframes reviewFade {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
.review-float-name {
  font-family: var(--font-myeongjo);
  font-weight: 700;
  font-size: 15px;
  color: #fff;
  letter-spacing: .04em;
  text-shadow: 0 2px 10px rgba(0,0,0,.75);
  margin-bottom: 8px;
}
.review-float-divider {
  height: 1px;
  background: rgba(255,255,255,.25);
  margin-bottom: 12px;
}
.review-float-text {
  font-family: var(--font-myeongjo);
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255,255,255,.92);
  white-space: pre-line;
  word-break: keep-all;
  text-shadow: 0 2px 8px rgba(0,0,0,.75);
}

.reviews-indicator {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin: 18px 0 12px;
}
.reviews-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,.25);
  transition: all .3s ease;
}
.reviews-dot.active {
  background: #d9b678;
  width: 18px;
  border-radius: 3px;
}

.reviews-next {
  margin-top: 8px;
  max-width: 360px;
  align-self: center;
  width: 100%;
}

/* ===== How-to-use (final CTA) ===== */
.howto {
  max-width: 360px;
  margin: 32px auto 0;
  text-align: left;
}
.howto-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 18px;
}
.howto-title-line {
  flex: 0 0 28px;
  height: 1px;
  background: rgba(217,182,120,.45);
}
.howto-title-text {
  font-family: var(--font-myeongjo);
  font-size: 13px;
  font-weight: 700;
  color: #d9b678;
  letter-spacing: .22em;
}
.howto-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.howto-steps li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(217,182,120,.18);
  border-radius: 6px;
}
.howto-num {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--cinnabar);
  color: #fff;
  font-family: var(--font-myeongjo);
  font-weight: 700;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}
.howto-text {
  font-family: var(--font-myeongjo);
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255,255,255,.82);
  word-break: keep-all;
}

/* Hanji paper texture */
.hanji-bg {
  background-color: var(--hanji);
  background-image:
    radial-gradient(circle at 15% 20%, rgba(120,80,30,.05) 0%, transparent 40%),
    radial-gradient(circle at 85% 60%, rgba(80,40,20,.04) 0%, transparent 45%),
    radial-gradient(circle at 50% 90%, rgba(150,100,40,.04) 0%, transparent 40%);
  position: relative;
}
.hanji-bg::before {
  content:"";
  position:absolute; inset:0;
  background-image:
    repeating-linear-gradient(0deg, rgba(100,60,20,.018) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(90deg, rgba(100,60,20,.015) 0 1px, transparent 1px 4px);
  pointer-events: none;
}

.ink-bg {
  background: linear-gradient(180deg, #0f0d0b 0%, #1a1613 50%, #0f0d0b 100%);
  color: var(--hanji);
  position: relative;
}
.ink-bg::before {
  content:"";
  position:absolute; inset:0;
  background:
    radial-gradient(circle at 30% 20%, rgba(255,220,160,.04), transparent 50%),
    radial-gradient(circle at 70% 80%, rgba(184,39,45,.05), transparent 55%);
  pointer-events: none;
}

/* ===== Type ===== */
.myeongjo { font-family: var(--font-myeongjo); }
.serif { font-family: var(--font-serif); }
.brush { font-family: var(--font-brush); }

.hanja-mark {
  font-family: var(--font-myeongjo);
  letter-spacing: .1em;
}

/* ===== Common ===== */
.seal {
  display:inline-flex;
  align-items:center; justify-content:center;
  width: 54px; height: 54px;
  background: var(--seal-red);
  color: #f8ecd0;
  font-family: var(--font-myeongjo);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0;
  line-height: 1.1;
  text-align:center;
  border-radius: 4px;
  box-shadow: inset 0 0 0 2px #f8ecd0, inset 0 0 0 3px var(--seal-red);
  transform: rotate(-6deg);
}

.divider-orn {
  display:flex; align-items:center; justify-content:center;
  gap: 10px;
  color: var(--ochre);
  font-size: 12px;
  margin: 18px 0;
}
.divider-orn::before, .divider-orn::after {
  content:""; height:1px; flex:1;
  background: linear-gradient(90deg, transparent, var(--ochre) 50%, transparent);
  max-width: 60px;
}

/* Emphasis — underline brush accent */
.em-red {
  color: var(--cinnabar);
  font-weight: 800;
  position: relative;
}
.em-underline {
  background-image: linear-gradient(transparent 65%, rgba(193,39,45,.25) 65%, rgba(193,39,45,.25) 95%, transparent 95%);
}

/* ===== Buttons ===== */
.btn {
  display:inline-flex; align-items:center; justify-content:center;
  gap: 8px;
  padding: 16px 20px;
  border-radius: 12px;
  font-family: var(--font-myeongjo);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: .02em;
  border: none;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
  text-decoration: none;
}
.btn-primary {
  background: var(--ink);
  color: var(--hanji);
  box-shadow: 0 4px 0 #0a0806;
}
.btn-primary:active { transform: translateY(2px); box-shadow: 0 2px 0 #0a0806; }

.btn-cinnabar {
  background: var(--cinnabar);
  color: #fff8ea;
  box-shadow: 0 4px 0 var(--cinnabar-deep);
}
.btn-cinnabar:active { transform: translateY(2px); box-shadow: 0 2px 0 var(--cinnabar-deep); }

.btn-gold {
  background: linear-gradient(180deg, #d9b678 0%, #b7893c 100%);
  color: #2a1f10;
  box-shadow: 0 4px 0 #7a5a22;
}

.btn-block { width: 100%; }

/* ===== Section frame ===== */
.sec { padding: 48px 24px; position: relative; }
.sec-tight { padding: 32px 24px; }
.sec-h { font-family: var(--font-myeongjo); font-weight: 800; font-size: 28px; line-height: 1.35; letter-spacing: -.01em; text-wrap: pretty; }
.sec-h-big { font-size: 34px; line-height: 1.3; }
.sec-sub { font-family: var(--font-sans); font-size: 14px; color: rgba(0,0,0,.6); line-height: 1.6; margin-top: 10px; }
.ink-bg .sec-sub, .offer-sec .sec-sub { color: rgba(255,255,255,.6); }

/* Eyebrow */
.eyebrow {
  display:inline-flex; align-items:center; gap:8px;
  font-family: var(--font-myeongjo);
  font-size: 12px; letter-spacing: .28em; color: var(--accent-gold);
  text-transform: uppercase;
  font-weight: 700;
}
.eyebrow::before {
  content:""; width:18px; height:1px; background: var(--accent-gold);
}

/* Hanja watermark */
.hanja-watermark {
  position:absolute; inset:auto;
  font-family: var(--font-myeongjo);
  font-weight: 900;
  color: rgba(193,39,45,.04);
  font-size: 240px;
  line-height: 1;
  letter-spacing: .05em;
  pointer-events:none;
  user-select:none;
  z-index: 0;
}
.ink-bg .hanja-watermark { color: rgba(255,255,255,.025); }

/* Sticky CTA */
.sticky-cta {
  position: fixed;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 100%; max-width: 460px;
  background: linear-gradient(180deg, rgba(26,22,19,0) 0%, rgba(26,22,19,.95) 30%, var(--ink) 100%);
  padding: 18px 16px 20px;
  z-index: 90;
  backdrop-filter: blur(8px);
}

.sticky-cta-inner {
  display:flex; align-items:center; gap: 12px;
}
.sticky-price {
  flex:1; color: var(--hanji);
  display:flex; flex-direction:column; gap:2px;
}
.sticky-price .was { color: rgba(255,255,255,.5); text-decoration: line-through; font-size: 12px; }
.sticky-price .now { font-family: var(--font-myeongjo); font-weight: 800; font-size: 20px; }
.sticky-price .now em { color: var(--cinnabar); font-style: normal; margin-right: 6px; font-weight: 900; }

/* Scroll top spacer for sticky cta */
.has-sticky { padding-bottom: 100px; }

/* Utilities */
.row { display:flex; gap: 10px; }
.col { display:flex; flex-direction: column; gap: 10px; }
.center { text-align:center; }

/* Animations */
@keyframes fade-up { from { opacity:0; transform: translateY(12px); } to { opacity:1; transform: none; } }
@keyframes pulse-soft { 0%,100% { box-shadow: 0 0 0 0 rgba(193,39,45,.5); } 50% { box-shadow: 0 0 0 14px rgba(193,39,45,0); } }
@keyframes shimmer { 0% { background-position: -200% 0; } 100% { background-position: 200% 0; } }

.fade-up { animation: fade-up .6s ease both; }
.pulse { animation: pulse-soft 2s ease-in-out infinite; }

/* ===== Hero ===== */
.hero-wrap {
  background-image: url('assets/first_page_bg.png');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  background-color: #e8dec4;
  min-height: 100vh;
}
.hero {
  position: relative;
  padding: 110px 24px 32px;
  overflow: hidden;
  color: var(--ink);
  background: transparent;
}
.hero::before {
  content: none;
}

.hero-top {
  display:flex; align-items:center; justify-content:space-between;
  margin-bottom: 36px;
}
.brand {
  display:flex; align-items:center; gap: 10px;
}
.brand-logo {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--hanji);
  color: var(--ink);
  display:flex; align-items:center; justify-content:center;
  font-family: var(--font-myeongjo);
  font-weight: 900; font-size: 14px;
}
.brand-name {
  font-family: var(--font-myeongjo);
  font-size: 14px; font-weight: 700;
  letter-spacing: .02em;
}
.brand-est { font-size: 10px; color: rgba(0,0,0,.5); letter-spacing: .2em; }
.hero .brand-name { color: var(--ink); }
.hero .brand-logo { background: var(--ink); color: var(--hanji); }

.hero-badge {
  display:inline-flex; align-items:center; gap: 6px;
  padding: 6px 10px;
  border: 1px solid rgba(193,39,45,.35);
  border-radius: 2px;
  font-size: 11px; letter-spacing: .08em;
  color: var(--cinnabar);
  font-family: var(--font-myeongjo);
  white-space: nowrap;
  flex-shrink: 0;
  background: rgba(255,255,255,.45);
}
.brand-name { white-space: nowrap; }
.hero-badge-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--cinnabar);
  animation: pulse-soft 2s ease-in-out infinite;
}

.hero-h {
  font-family: var(--font-myeongjo);
  font-weight: 800;
  font-size: 40px;
  line-height: 1.22;
  letter-spacing: -.02em;
  margin: 0 0 18px;
  white-space: pre-line;
}
.hero-h .brush {
  font-family: var(--font-brush);
  color: var(--cinnabar);
  font-size: 1.1em;
  font-weight: 400;
}
.hero-h .strike-red {
  color: #ff6b6b;
  text-decoration: line-through;
  text-decoration-color: rgba(255,107,107,.6);
  font-weight: 700;
}

.hero-sub {
  color: rgba(0,0,0,.72);
  font-size: 15px; line-height: 1.7;
  white-space: pre-line;
}
.hero-h { color: var(--ink); }

.hero-trust {
  display:flex; gap: 14px; align-items:center;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(0,0,0,.15);
  font-size: 12px;
}
.hero-trust-item {
  display:flex; align-items:center; gap: 6px;
  color: rgba(0,0,0,.62);
}
.hero-trust-item b { color: var(--cinnabar); font-family: var(--font-myeongjo); font-weight: 700; }

/* ===== Input: Birth ===== */
.form-card {
  background: var(--hanji);
  color: var(--ink);
  margin: 0 16px;
  border-radius: 14px;
  padding: 28px 22px 24px;
  position: relative;
  transform: translateY(-30px);
  box-shadow: 0 20px 60px rgba(0,0,0,.5), inset 0 0 0 1px rgba(193,39,45,.15);
}
.form-card::before {
  content:""; position:absolute; top:-6px; left:-6px; right:-6px; bottom:-6px;
  border: 1px solid rgba(184,39,45,.35);
  pointer-events:none;
  border-radius: 18px;
}
.form-header {
  display:flex; align-items:center; justify-content: space-between;
  margin-bottom: 18px;
}
.step-indicator {
  display:flex; align-items:center; gap: 6px;
  font-family: var(--font-myeongjo);
  font-size: 11px; letter-spacing: .12em;
  color: var(--cinnabar); font-weight: 700;
  white-space: nowrap;
}
.step-dots { display:flex; gap:4px; }
.step-dot {
  width: 18px; height: 2px; background: rgba(0,0,0,.15);
}
.step-dot.active { background: var(--cinnabar); }
.step-dot.done { background: var(--ink); }

.form-title {
  font-family: var(--font-myeongjo);
  font-weight: 800;
  font-size: 22px;
  line-height: 1.4;
  margin: 0 0 6px;
}
.form-desc { font-size: 13px; color: rgba(0,0,0,.6); margin-bottom: 18px; line-height: 1.6; }

.field-row { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
.field-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.field {
  display:flex; flex-direction: column;
  gap: 6px;
}
.field label {
  font-family: var(--font-myeongjo);
  font-size: 11px; font-weight: 700;
  color: rgba(0,0,0,.55);
  letter-spacing: .1em;
}
.field input, .field select {
  width: 100%;
  padding: 13px 12px;
  border: 1px solid rgba(0,0,0,.15);
  background: #fff;
  font-family: var(--font-myeongjo);
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  border-radius: 10px;
  -webkit-appearance: none;
  appearance: none;
}
.field input:focus, .field select:focus {
  outline: none;
  border-color: var(--cinnabar);
  box-shadow: 0 0 0 3px rgba(193,39,45,.1);
}

.toggle-row {
  display:grid; grid-template-columns: 1fr 1fr;
  gap: 8px; margin-bottom: 16px;
}
.toggle {
  padding: 12px;
  border: 1px solid rgba(0,0,0,.12);
  background: #fff;
  text-align:center;
  cursor:pointer;
  font-family: var(--font-myeongjo);
  font-weight: 600;
  font-size: 14px;
  border-radius: 10px;
  transition: all .15s;
}
.toggle.active {
  background: var(--ink); color: var(--hanji);
  border-color: var(--ink);
}

.form-note {
  display:flex; align-items:flex-start; gap: 8px;
  margin-top: 14px;
  padding: 10px 12px;
  background: rgba(193,39,45,.06);
  font-size: 12px;
  color: var(--ink-soft);
  line-height: 1.6;
  border-left: 2px solid var(--cinnabar);
}

/* ===== Card draw (오행 카드) ===== */
.card-draw-intro {
  text-align: center;
  padding-bottom: 16px;
}
.cards-wrap {
  position: relative;
  padding: 30px 0 16px;
  min-height: 240px;
}
.deck {
  position: relative;
  width: 100%;
  height: 220px;
  display: block;
}
.ohcard {
  position: absolute;
  width: 110px; height: 158px;
  top: 30px;
  left: 50%;
  margin-left: -55px;
  border-radius: 4px;
  cursor: pointer;
  transition: transform .5s cubic-bezier(.2,.8,.2,1), opacity .3s;
  will-change: transform;
}
.ohcard-inner {
  position: absolute; inset: 0;
}

.ohcard-face {
  position: absolute; inset: 0;
  border-radius: 4px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  padding: 10px 8px;
  box-shadow: 0 8px 20px rgba(0,0,0,.35), 0 0 0 1px rgba(193,39,45,.3), inset 0 0 0 2px rgba(255,220,160,.25);
  transition: opacity .5s ease, transform .5s cubic-bezier(.2,.8,.2,1);
  backface-visibility: visible;
}
.ohcard .ohcard-back { opacity: 1; transform: none; z-index: 2; display: flex; }
.ohcard .ohcard-front { opacity: 0; transform: scale(.85); z-index: 1; display: none; }
.ohcard.flipped .ohcard-back { display: none !important; }
.ohcard.flipped .ohcard-front { display: flex !important; opacity: 1 !important; transform: none !important; z-index: 2 !important; }
.ohcard-inner-unused {
  position:absolute; inset:0;
  transition: transform .7s cubic-bezier(.2,.8,.2,1);
}
.ohcard.flipped .ohcard-inner-unused { transform: none; }

.ohcard-face-legacy-removed { display: none; }
.ohcard-back {
  background:
    radial-gradient(circle at 50% 50%, #2a1713 0%, #1a0e0b 100%);
  color: #d9b678;
}
.ohcard-back .cb-seal {
  font-family: var(--font-myeongjo);
  font-size: 34px;
  color: #c1272d;
  font-weight: 900;
  text-shadow: 0 0 20px rgba(193,39,45,.3);
}
.ohcard-back .cb-sub {
  font-family: var(--font-myeongjo);
  font-size: 9px;
  letter-spacing: .3em;
  margin-top: 8px;
  opacity: .6;
}
.ohcard-back .cb-decor {
  position:absolute; inset:10px;
  border: 1px solid rgba(193,39,45,.4);
  border-radius: 2px;
  pointer-events: none;
}
.ohcard-back .cb-decor::after {
  content:""; position:absolute; inset: 4px;
  border: 1px dashed rgba(255,220,160,.15);
  border-radius: 2px;
}

.ohcard-front {
  background: var(--hanji);
  color: var(--ink);
}
.ohcard-front .cf-hanja {
  font-family: var(--font-myeongjo);
  font-size: 46px; font-weight: 900;
  line-height: 1;
}
.ohcard-front .cf-label {
  font-family: var(--font-myeongjo);
  font-size: 12px; font-weight: 700;
  margin-top: 8px;
  letter-spacing: .05em;
  white-space: nowrap;
}
.ohcard-front .cf-keyword {
  font-size: 11px;
  color: var(--cinnabar);
  margin-top: 4px;
  font-family: var(--font-myeongjo);
  white-space: nowrap;
}

/* Water: blue, Fire: red, Wood: green, Metal: white/gold, Earth: ochre */
.ohcard-front.e-water { background: linear-gradient(180deg,#d6e4ec, #b8cdd9); }
.ohcard-front.e-water .cf-hanja { color: #204a6b; }
.ohcard-front.e-fire { background: linear-gradient(180deg,#f5d5c6,#e8a890); }
.ohcard-front.e-fire .cf-hanja { color: #8b1a1a; }
.ohcard-front.e-wood { background: linear-gradient(180deg,#d9e4cc,#b2c79f); }
.ohcard-front.e-wood .cf-hanja { color: #3d5a28; }
.ohcard-front.e-metal { background: linear-gradient(180deg,#f1ead7,#dccfa6); }
.ohcard-front.e-metal .cf-hanja { color: #7a5a22; }
.ohcard-front.e-earth { background: linear-gradient(180deg,#e9d5a3,#caa770); }
.ohcard-front.e-earth .cf-hanja { color: #5b3e16; }

.draw-meta {
  display:flex; justify-content:space-between; align-items:center;
  padding: 12px 4px 0;
  font-family: var(--font-myeongjo);
  font-size: 13px;
  color: rgba(0,0,0,.55);
  white-space: nowrap;
}
.draw-meta b { color: var(--cinnabar); }

.instruction-chip {
  display:inline-flex; align-items:center; gap:6px;
  background: var(--ink); color: var(--hanji);
  padding: 8px 14px;
  border-radius: 2px;
  font-family: var(--font-myeongjo);
  font-size: 13px;
  font-weight: 600;
  margin-top: 14px;
  white-space: nowrap;
}
.instruction-chip .blink { width: 6px; height: 6px; border-radius: 50%; background: var(--cinnabar); animation: pulse-soft 1.2s infinite; }

/* ===== Preview reveal ===== */
.reveal {
  background: linear-gradient(180deg, #f7efe0, #ecddc0);
  padding: 32px 24px;
  position:relative;
  overflow:hidden;
}
.reveal::before {
  content: "命";
  position: absolute;
  right: -40px; top: -30px;
  font-family: var(--font-myeongjo);
  font-size: 260px;
  color: rgba(193,39,45,.07);
  font-weight: 900;
  pointer-events:none;
}
.scroll-paper {
  background: #fdf8ec;
  padding: 28px 22px;
  position: relative;
  box-shadow:
    0 2px 0 rgba(0,0,0,.04),
    0 20px 40px rgba(0,0,0,.08),
    inset 0 0 0 1px rgba(184,39,45,.15);
}
.scroll-paper::before, .scroll-paper::after {
  content:"";
  position:absolute; left: 0; right: 0;
  height: 6px;
  background: repeating-linear-gradient(90deg, #2d1d12 0 4px, #4a3122 4px 8px);
}
.scroll-paper::before { top: -6px; }
.scroll-paper::after { bottom: -6px; }

.scroll-header {
  display:flex; align-items:center; gap: 10px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(0,0,0,.08);
  margin-bottom: 16px;
}
.scroll-header .stamp {
  width: 44px; height: 44px;
  background: var(--cinnabar);
  color: #f8ecd0;
  display:flex; align-items:center; justify-content:center;
  font-family: var(--font-myeongjo);
  font-weight: 900;
  font-size: 11px;
  letter-spacing: 0;
  line-height: 1.15;
  border-radius: 2px;
  transform: rotate(-4deg);
  text-align: center;
  box-shadow: inset 0 0 0 2px rgba(248,236,208,.5);
  flex-shrink: 0;
}
.scroll-title {
  font-family: var(--font-myeongjo);
  font-weight: 800;
  font-size: 18px;
  line-height: 1.3;
}
.scroll-title small { display:block; font-size: 11px; color: rgba(0,0,0,.5); margin-top:4px; letter-spacing: .12em; font-weight: 500; }

.char-traits {
  display:flex; flex-direction:column; gap: 10px;
}
.char-traits li {
  display:flex; align-items:flex-start; gap: 10px;
  padding: 12px 0;
  border-bottom: 1px dashed rgba(0,0,0,.1);
  font-family: var(--font-myeongjo);
  font-size: 15px;
  line-height: 1.6;
  font-weight: 500;
}
.char-traits li:last-child { border-bottom: none; }
.char-traits .bullet {
  width: 22px; height: 22px; flex-shrink: 0;
  background: var(--ink); color: var(--hanji);
  display:flex; align-items:center; justify-content:center;
  font-family: var(--font-myeongjo);
  font-weight: 700; font-size: 11px;
  border-radius: 50%;
}

.keyword-2026 {
  margin-top: 20px;
  padding: 18px;
  background: linear-gradient(135deg, #1a1613 0%, #2a1f1a 100%);
  color: var(--hanji);
  text-align:center;
  position:relative;
  overflow:hidden;
}
.keyword-2026 .kw-eyebrow {
  font-family: var(--font-myeongjo);
  font-size: 11px;
  letter-spacing: .3em;
  color: var(--ochre-light);
  margin-bottom: 8px;
}
.keyword-2026 .kw-word {
  font-family: var(--font-myeongjo);
  font-size: 32px; font-weight: 900;
  color: var(--cinnabar);
  letter-spacing: .05em;
  line-height: 1.1;
}
.keyword-2026 .kw-word-hanja {
  font-family: var(--font-myeongjo);
  font-size: 56px; font-weight: 900;
  color: rgba(255,220,160,.9);
  letter-spacing: .1em;
  line-height: 1;
  margin-bottom: 6px;
}
.keyword-2026 .kw-desc {
  font-size: 13px; color: rgba(255,255,255,.65);
  line-height: 1.7;
  margin-top: 10px;
}

.blur-gate {
  position:relative;
  margin-top: 20px;
  overflow: hidden;
}
.blur-gate::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 55%;
  background: linear-gradient(180deg, rgba(253,248,236,0) 0%, rgba(253,248,236,.85) 55%, #fdf8ec 100%);
  pointer-events: none;
}
.blur-gate .blurred {
  filter: blur(6px);
  opacity: .7;
  pointer-events: none;
  user-select: none;
}
.blur-gate .gate-overlay {
  position:absolute; inset: 0;
  display:flex; flex-direction:column;
  align-items:center; justify-content:center;
  background: linear-gradient(180deg, rgba(253,248,236,0) 0%, rgba(253,248,236,.9) 40%, #fdf8ec 100%);
  padding: 20px;
}
.lock-label {
  display:inline-flex; align-items:center; gap:6px;
  background: var(--ink); color: var(--hanji);
  padding: 6px 12px;
  font-family: var(--font-myeongjo);
  font-size: 11px;
  letter-spacing: .15em;
  margin-bottom: 10px;
}
.gate-overlay p {
  font-family: var(--font-myeongjo);
  font-size: 14px;
  text-align:center;
  color: rgba(0,0,0,.7);
  line-height: 1.6;
  margin: 0 0 14px;
  font-weight: 500;
}

.locked-list { margin-top: 16px; }
.locked-list li {
  display:flex; align-items:center; gap: 10px;
  padding: 8px 0;
  font-size: 13px;
  color: rgba(0,0,0,.6);
  font-family: var(--font-myeongjo);
}
.locked-list .lock-ic { display: none; }
.locked-list li::before { content: "·"; color: var(--cinnabar); margin-right: 8px; font-weight: 700; }

/* ===== Unlimited Q&A section ===== */
.unlimited-qa {
  padding: 56px 20px 64px;
  background: var(--hanji);
  color: var(--ink);
  position: relative;
  overflow: hidden;
}
.unlimited-qa::before {
  content: "問";
  position: absolute;
  font-family: var(--font-myeongjo);
  font-size: 280px;
  font-weight: 900;
  color: rgba(193,39,45,.04);
  top: -40px; right: -30px;
  pointer-events: none;
  line-height: 1;
}
.uqa-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-myeongjo);
  font-size: 11px; letter-spacing: .15em;
  color: var(--cinnabar);
  font-weight: 700;
  margin-bottom: 14px;
  white-space: nowrap;
  max-width: 100%;
}
.uqa-bar { width: 24px; height: 2px; background: var(--cinnabar); }
.uqa-title {
  font-family: var(--font-myeongjo);
  font-size: 26px; font-weight: 800;
  line-height: 1.4;
  color: var(--ink);
  margin: 0 0 14px;
  letter-spacing: -.01em;
}
.uqa-title .cin { color: var(--cinnabar); }
.uqa-sub {
  font-size: 13.5px; line-height: 1.75;
  color: rgba(0,0,0,.7);
  margin: 0 0 28px;
}
.uqa-sub b { color: var(--ink); font-weight: 700; }

.uqa-compare {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-bottom: 32px;
}
.uqa-card {
  border-radius: 4px;
  padding: 18px 16px 16px;
  position: relative;
}
.uqa-tag {
  display: inline-block;
  font-family: var(--font-myeongjo);
  font-size: 10px; letter-spacing: .15em;
  font-weight: 700;
  padding: 4px 10px;
  margin-bottom: 14px;
  white-space: nowrap;
}

/* AI side */
.uqa-ai {
  background: #2a2a30;
  color: #c8c8d0;
  border: 1px solid rgba(255,255,255,.05);
}
.uqa-ai .uqa-tag {
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.5);
}
.uqa-screen { font-family: ui-monospace, "SF Mono", monospace; font-size: 12px; }
.uqa-q {
  background: rgba(255,255,255,.06);
  padding: 10px 12px;
  border-radius: 12px 12px 12px 2px;
  margin-bottom: 12px;
  font-size: 12.5px;
  color: #e0e0e6;
  display: inline-block;
  max-width: 92%;
}
.uqa-loading {
  display: flex; gap: 4px; margin: 8px 0 12px;
  padding-left: 4px;
}
.uqa-loading .lbar {
  width: 6px; height: 6px; background: #5a5a65; border-radius: 50%;
  animation: uqa-bounce 1.2s infinite ease-in-out;
}
.uqa-loading .lbar:nth-child(2) { animation-delay: .15s; }
.uqa-loading .lbar:nth-child(3) { animation-delay: .3s; }
@keyframes uqa-bounce {
  0%, 80%, 100% { transform: translateY(0); opacity: .5; }
  40% { transform: translateY(-4px); opacity: 1; }
}
.uqa-template {
  background: rgba(0,0,0,.3);
  border-left: 2px solid #5a5a65;
  padding: 10px 12px;
  border-radius: 2px;
  margin-bottom: 12px;
}
.uqa-template .tlabel {
  font-size: 9px; letter-spacing: .15em;
  color: #888;
  margin-bottom: 6px;
  font-weight: 700;
}
.uqa-template .tline {
  font-size: 11.5px; line-height: 1.55;
  color: #b0b0b8;
  font-family: var(--font-myeongjo);
}
.uqa-blocked {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px;
  background: rgba(193,39,45,.1);
  border: 1px solid rgba(193,39,45,.25);
  border-radius: 2px;
}
.uqa-blocked .bx {
  font-size: 18px;
  color: #c1272d;
  font-weight: 800;
  line-height: 1;
  font-family: var(--font-myeongjo);
}
.uqa-blocked .bt {
  font-size: 12.5px; font-weight: 800;
  color: #ffacae;
  font-family: var(--font-myeongjo);
  white-space: nowrap;
}
.uqa-blocked .bs {
  font-size: 11px; color: rgba(255,172,174,.65);
  margin-top: 2px;
  white-space: nowrap;
  font-family: var(--font-myeongjo);
}

/* Human/letter side */
.uqa-human {
  background: linear-gradient(180deg, #f4ead0 0%, #ecdfba 100%);
  border: 1px solid rgba(193,39,45,.15);
  box-shadow:
    0 1px 0 rgba(255,255,255,.6) inset,
    0 8px 24px rgba(60,40,20,.12);
  position: relative;
}
.uqa-human::before {
  content: "";
  position: absolute; inset: 4px;
  border: 1px solid rgba(193,39,45,.18);
  border-radius: 2px;
  pointer-events: none;
}
.uqa-human .uqa-tag {
  background: var(--ink);
  color: var(--ochre-light);
}
.uqa-letter {
  font-family: var(--font-myeongjo);
  position: relative;
  padding: 4px 6px 8px;
}
.uqa-letter-head {
  display: flex; justify-content: space-between; align-items: baseline;
  padding-bottom: 10px;
  border-bottom: 1px dashed rgba(60,40,20,.25);
  margin-bottom: 12px;
}
.lh-from {
  font-size: 14px; font-weight: 800;
  color: var(--ink);
  letter-spacing: .08em;
}
.lh-date {
  font-size: 10px; letter-spacing: .12em;
  color: rgba(60,40,20,.55);
}
.lb-q {
  font-size: 12.5px;
  color: rgba(60,40,20,.7);
  padding: 6px 0;
  font-style: italic;
}
.lb-divider {
  width: 28px; height: 1px;
  background: var(--cinnabar);
  margin: 4px 0 10px;
}
.lb-text {
  font-size: 13px; line-height: 1.85;
  color: var(--ink);
  margin-bottom: 14px;
}
.lb-text b { color: var(--cinnabar); font-weight: 800; }
.lb-followup {
  display: flex; gap: 8px; align-items: flex-start;
  font-size: 11.5px;
  color: rgba(60,40,20,.7);
  padding: 4px 0 4px 8px;
  font-style: italic;
}
.lb-followup .fu-arrow {
  color: var(--cinnabar);
  font-weight: 700;
  flex-shrink: 0;
}
.lb-followup.faded { color: rgba(60,40,20,.45); }

.lb-saju {
  margin: 14px 0 10px;
  padding: 10px 12px;
  background: rgba(193,39,45,.04);
  border-left: 2px solid var(--cinnabar);
  border-radius: 0 4px 4px 0;
}
.lbs-title {
  font-family: var(--font-myeongjo);
  font-size: 11px; font-weight: 800;
  letter-spacing: .15em;
  color: var(--cinnabar);
  margin-bottom: 6px;
  text-transform: uppercase;
}
.lbs-text {
  font-size: 12px; line-height: 1.75;
  color: var(--ink);
  font-family: var(--font-myeongjo);
}
.lbs-em {
  display: inline-block;
  margin-top: 4px;
  color: var(--cinnabar);
  font-weight: 700;
  font-style: italic;
}
.lb-month {
  display: flex; gap: 10px;
  margin-top: 8px;
  font-size: 12px; line-height: 1.65;
  font-family: var(--font-myeongjo);
}
.lbm-tag {
  flex-shrink: 0;
  display: inline-block;
  background: var(--ink);
  color: var(--ochre-light);
  font-size: 10.5px; font-weight: 800;
  padding: 3px 8px;
  height: fit-content;
  border-radius: 2px;
  letter-spacing: .05em;
}
.lbm-warn { color: var(--cinnabar); }

.uqa-seal {
  position: absolute;
  bottom: 10px; right: 10px;
  width: 38px; height: 38px;
  background: var(--cinnabar);
  color: var(--hanji);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-myeongjo);
  font-size: 22px; font-weight: 900;
  border-radius: 2px;
  box-shadow: 0 2px 6px rgba(193,39,45,.4);
  transform: rotate(-6deg);
}

/* Bullets */
.uqa-bullets {
  display: flex; flex-direction: column;
  gap: 14px;
  margin-bottom: 24px;
}
.uqa-bullet {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 14px 16px;
  background: rgba(193,39,45,.04);
  border-left: 3px solid var(--cinnabar);
  border-radius: 0 2px 2px 0;
}
.ub-num {
  font-family: var(--font-myeongjo);
  font-size: 22px; font-weight: 900;
  color: var(--cinnabar);
  line-height: 1;
  flex-shrink: 0;
  width: 28px;
  text-align: center;
}
.ub-text { display: flex; flex-direction: column; gap: 3px; flex: 1; }
.ub-text b {
  font-family: var(--font-myeongjo);
  font-size: 14.5px;
  color: var(--ink);
  font-weight: 800;
  line-height: 1.3;
}
.ub-text span {
  font-size: 12px;
  color: rgba(0,0,0,.6);
  line-height: 1.4;
}

.uqa-foot {
  text-align: center;
  font-family: var(--font-myeongjo);
  font-size: 12px;
  color: rgba(0,0,0,.6);
  padding-top: 4px;
}
.uqa-foot b { color: var(--cinnabar); font-weight: 800; }
.uqa-foot-mark { color: var(--cinnabar); margin-right: 4px; }

/* Comparison: AI vs 연구진 */
.compare {
  padding: 48px 24px;
  background: #1a1613;
  color: var(--hanji);
  position: relative;
  overflow: hidden;
}
.compare::before {
  content: "人";
  position: absolute;
  left: -20px; bottom: -40px;
  font-family: var(--font-myeongjo);
  font-size: 240px;
  color: rgba(255,220,160,.04);
  font-weight: 900;
}
.compare-table {
  margin-top: 26px;
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(255,220,160,.15);
  border: 1px solid rgba(255,220,160,.15);
}
.compare-col {
  background: #1a1613;
  padding: 18px 14px;
  display:flex; flex-direction:column;
}
.compare-col.right { background: linear-gradient(180deg, #2a1813 0%, #1a1613 100%); }
.compare-col-head {
  font-family: var(--font-myeongjo);
  font-size: 13px;
  font-weight: 700;
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px dashed rgba(255,220,160,.2);
  display:flex; flex-direction: column; gap: 4px;
}
.compare-col-head .tag {
  font-size: 10px; letter-spacing: .2em; color: rgba(255,220,160,.5);
  font-weight: 500;
}
.compare-col-head .name { font-size: 16px; font-weight: 800; color: var(--hanji); }
.compare-col.right .compare-col-head .name { color: var(--ochre-light); }

.compare-row {
  display:flex; align-items:flex-start; gap: 8px;
  padding: 9px 0;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255,255,255,.75);
  font-family: var(--font-myeongjo);
}
.compare-row .ic { width: 14px; flex-shrink: 0; font-weight: 800; }
.compare-col:not(.right) .compare-row .ic { color: #7a6a58; }
.compare-col.right .compare-row .ic { color: var(--ochre-light); }
.compare-col.right .compare-row b { color: var(--hanji); font-weight: 700; }

/* ===== Researchers ===== */
.researchers {
  padding: 48px 24px;
  background: var(--hanji);
  position:relative;
}
.researcher-list {
  display:flex; flex-direction:column; gap: 14px;
  margin-top: 24px;
}
.researcher {
  display:flex; gap: 14px;
  padding: 14px;
  background: #fff;
  border: 1px solid rgba(0,0,0,.06);
  position: relative;
}
.researcher::before {
  content:""; position:absolute; top:0; left:0; width: 3px; height: 100%;
  background: var(--cinnabar);
}
.researcher-avatar {
  width: 60px; height: 60px; flex-shrink: 0;
  background: linear-gradient(180deg, #3b2e22, #1a1613);
  color: var(--ochre-light);
  display:flex; align-items:center; justify-content:center;
  font-family: var(--font-myeongjo);
  font-weight: 800; font-size: 22px;
  border-radius: 50%;
}
.researcher-info { flex:1; min-width: 0; }
.researcher-name {
  font-family: var(--font-myeongjo);
  font-weight: 800; font-size: 15px;
}
.researcher-name .suf { color: rgba(0,0,0,.5); font-weight: 500; }
.researcher-title {
  font-size: 11px; color: var(--cinnabar);
  margin-top: 2px; letter-spacing: .1em;
  font-family: var(--font-myeongjo);
  font-weight: 700;
}
.researcher-desc {
  font-size: 12px; color: rgba(0,0,0,.6);
  margin-top: 6px; line-height: 1.6;
}

/* ===== Reviews ===== */
.reviews-sec {
  padding: 48px 24px;
  background: linear-gradient(180deg, var(--hanji-warm), var(--hanji));
}
.reviews-header {
  display:flex; justify-content: space-between; align-items:flex-end;
  gap: 12px; margin-bottom: 22px;
}
.reviews-score {
  display:flex; flex-direction:column; gap: 4px;
}
.reviews-score .score {
  font-family: var(--font-myeongjo);
  font-weight: 900;
  font-size: 36px;
  color: var(--cinnabar);
  line-height: 1;
}
.reviews-score .score em { font-size: 20px; color: rgba(0,0,0,.5); font-style:normal; font-weight: 500; }
.reviews-score .stars { color: #f0a020; letter-spacing: 3px; font-size: 16px; }
.reviews-score .count { font-size: 11px; color: rgba(0,0,0,.5); letter-spacing: .1em; font-family: var(--font-myeongjo); }

.review-list { display:flex; flex-direction: column; gap: 12px; }
.review {
  background: #fff;
  padding: 16px;
  border: 1px solid rgba(0,0,0,.06);
  position:relative;
}
.review-top {
  display:flex; justify-content: space-between; align-items:center;
  margin-bottom: 8px;
  font-size: 11px;
}
.review-stars { color: #f0a020; letter-spacing: 2px; font-size: 13px; }
.review-name { color: rgba(0,0,0,.55); font-family: var(--font-myeongjo); font-weight: 600; }
.review-date { color: rgba(0,0,0,.4); font-size: 11px; }
.review-body {
  font-size: 13.5px; line-height: 1.65;
  color: rgba(0,0,0,.82);
  font-family: var(--font-myeongjo);
}
.review-tag {
  display:inline-block;
  margin-top: 8px;
  padding: 3px 8px;
  background: rgba(193,39,45,.08);
  color: var(--cinnabar);
  font-size: 11px;
  font-family: var(--font-myeongjo);
  font-weight: 600;
  border-radius: 2px;
}

/* ===== Offer / urgency ===== */
.offer-sec {
  padding: 48px 24px;
  background:
    radial-gradient(800px 500px at 50% 0%, rgba(184,39,45,.15) 0%, transparent 60%),
    linear-gradient(180deg, #120f0c, #1a1613);
  color: var(--hanji);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.limit-meter {
  margin: 22px auto 0;
  max-width: 320px;
  background: rgba(255,255,255,.05);
  padding: 14px 16px;
  border: 1px solid rgba(255,220,160,.15);
  text-align:left;
}
.limit-meter-row {
  display:flex; justify-content:space-between; align-items:center;
  font-size: 12px;
  font-family: var(--font-myeongjo);
}
.limit-meter-row b { color: var(--cinnabar); font-weight: 800; font-size: 14px; }
.limit-bar {
  margin-top: 10px;
  height: 6px;
  background: rgba(255,255,255,.08);
  position: relative;
}
.limit-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--cinnabar), #ff6b6b);
}

.timer-wrap {
  margin: 26px auto 0;
  max-width: 320px;
}
.timer-label {
  font-family: var(--font-myeongjo);
  font-size: 12px;
  letter-spacing: .2em;
  color: var(--ochre-light);
  margin-bottom: 10px;
}
.timer {
  display:flex; justify-content: center; gap: 6px;
}
.timer-cell {
  flex:1;
  background: #0a0806;
  border: 1px solid rgba(255,220,160,.2);
  padding: 12px 4px;
  display:flex; flex-direction:column; align-items:center;
  border-radius: 2px;
}
.timer-cell .num {
  font-family: var(--font-myeongjo);
  font-weight: 900;
  font-size: 26px;
  color: var(--cinnabar);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.timer-cell .unit {
  font-size: 10px; color: rgba(255,255,255,.5);
  margin-top: 4px;
  letter-spacing: .1em;
  font-family: var(--font-myeongjo);
}
.timer-sep { color: var(--cinnabar); font-size: 22px; font-weight: 800; align-self: center; }

.price-box {
  margin: 28px auto 0;
  max-width: 340px;
  padding: 22px 18px;
  background: var(--hanji);
  color: var(--ink);
  position: relative;
}
.price-box::before {
  content:""; position:absolute; inset: -5px;
  border: 1px solid rgba(255,220,160,.3);
  pointer-events:none;
}
.price-was {
  color: rgba(0,0,0,.4);
  font-size: 14px;
  text-decoration: line-through;
  font-family: var(--font-myeongjo);
}
.price-now {
  display:flex; justify-content: center; align-items: baseline;
  gap: 6px;
  margin-top: 4px;
}
.price-pct {
  font-family: var(--font-myeongjo);
  font-weight: 900;
  font-size: 28px;
  color: var(--cinnabar);
}
.price-amount {
  font-family: var(--font-myeongjo);
  font-weight: 900;
  font-size: 38px;
  color: var(--ink);
  letter-spacing: -.02em;
}
.price-unit { font-size: 18px; color: var(--ink-soft); }

.guarantee-row {
  display:grid; grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
  margin-top: 28px;
  padding: 0 4px;
}
.guarantee-item {
  padding: 14px 8px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,220,160,.12);
  text-align: center;
  font-family: var(--font-myeongjo);
}
.guarantee-item .g-ic { font-size: 22px; color: var(--ochre-light); }
.guarantee-item .g-title {
  font-size: 12px; font-weight: 700;
  margin-top: 6px;
  color: var(--hanji);
  line-height: 1.3;
}
.guarantee-item .g-sub { font-size: 10px; color: rgba(255,255,255,.5); margin-top: 2px; }

/* ===== FAQ ===== */
.faq-sec { padding: 48px 24px; background: var(--hanji); }
.faq-item {
  border-bottom: 1px solid rgba(0,0,0,.08);
  padding: 16px 0;
  cursor: pointer;
}
.faq-q {
  display:flex; justify-content:space-between; align-items:flex-start;
  gap: 12px;
  font-family: var(--font-myeongjo);
  font-weight: 700;
  font-size: 15px;
  line-height: 1.5;
}
.faq-q .q-mark {
  color: var(--cinnabar);
  font-weight: 900;
  flex-shrink: 0;
}
.faq-toggle {
  width: 20px; height: 20px;
  flex-shrink: 0;
  background: var(--ink);
  color: var(--hanji);
  display:flex; align-items:center; justify-content:center;
  font-size: 14px;
  font-weight: 800;
  transition: transform .2s;
}
.faq-item.open .faq-toggle { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease, margin-top .3s;
  font-size: 13.5px;
  line-height: 1.7;
  color: rgba(0,0,0,.65);
  font-family: var(--font-myeongjo);
  padding-left: 18px;
}
.faq-item.open .faq-a { max-height: 300px; margin-top: 10px; }

/* ===== Footer ===== */
.footer-sec {
  padding: 36px 24px 120px;
  background: #0a0806;
  color: rgba(255,255,255,.4);
  font-size: 11px;
  line-height: 1.8;
  font-family: var(--font-sans);
}
.footer-sec h5 {
  font-family: var(--font-myeongjo);
  color: rgba(255,220,160,.7);
  font-size: 13px;
  margin: 0 0 10px;
  letter-spacing: .1em;
}
.footer-sec p { margin: 0 0 6px; }

/* ===== Tweaks panel ===== */
.tweaks-panel {
  position: fixed;
  top: 16px; right: 16px;
  z-index: 999;
  width: 300px;
  background: #fff;
  border: 1px solid rgba(0,0,0,.1);
  border-radius: 6px;
  box-shadow: 0 20px 60px rgba(0,0,0,.25);
  font-family: -apple-system, system-ui, sans-serif;
  font-size: 13px;
  color: #222;
  max-height: 80vh;
  overflow: auto;
}
.tweaks-header {
  display:flex; justify-content:space-between; align-items:center;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(0,0,0,.08);
  background: #fafaf7;
  border-radius: 6px 6px 0 0;
}
.tweaks-header h4 { margin: 0; font-size: 13px; font-weight: 700; letter-spacing: .1em; }
.tweaks-body { padding: 14px; display:flex; flex-direction:column; gap: 14px; }
.tweak-field { display:flex; flex-direction: column; gap: 6px; }
.tweak-field label { font-size: 11px; font-weight: 600; color: #555; letter-spacing: .05em; }
.tweak-field input[type=text], .tweak-field input[type=number], .tweak-field textarea, .tweak-field select {
  width: 100%; padding: 8px; border: 1px solid rgba(0,0,0,.12); border-radius: 4px;
  font: inherit; background: #fff;
}
.tweak-field textarea { resize: vertical; min-height: 60px; }
.tweak-theme-row { display:grid; grid-template-columns: 1fr 1fr 1fr; gap: 6px; }
.tweak-theme {
  padding: 8px 4px;
  text-align: center;
  border: 1px solid rgba(0,0,0,.1);
  cursor: pointer;
  font-size: 11px;
  border-radius: 4px;
  background: #fff;
}
.tweak-theme.active { border-color: #222; background: #222; color: #fff; }
.tweak-toggle {
  display:flex; justify-content:space-between; align-items:center;
  padding: 6px 0;
}
.tweak-toggle input { width: auto; }

/* Theme: Dark-Mystic */
.theme-mystic .hanji-bg { background: linear-gradient(180deg,#0a0614 0%, #140a1e 100%); color:#e6d7ff; }
.theme-mystic .hanji-bg::before { opacity: 0; }
.theme-mystic .page { background: #0a0614; color: #e6d7ff; }
.theme-mystic .form-card { background: #140a1e; color: #e6d7ff; }
.theme-mystic .form-card::before { border-color: rgba(214,166,82,.4); }
.theme-mystic .field input, .theme-mystic .field select {
  background: #1d1128; color: #fff; border-color: rgba(214,166,82,.2);
}
.theme-mystic .sec-h, .theme-mystic .form-title { color: #e6d7ff; }
.theme-mystic .sec-sub, .theme-mystic .form-desc { color: rgba(230,215,255,.65); }
.theme-mystic .toggle { background: #1d1128; color: #e6d7ff; border-color: rgba(255,255,255,.1); }
.theme-mystic .toggle.active { background: linear-gradient(135deg,#d4a554,#8b5e1f); color: #1a0f26; border:none; }
.theme-mystic .reveal { background: linear-gradient(180deg,#0e0818 0%, #180c26 100%); color: #e6d7ff; }
.theme-mystic .scroll-paper { background: rgba(255,255,255,.04); color: #e6d7ff; box-shadow: 0 20px 40px rgba(0,0,0,.4), inset 0 0 0 1px rgba(214,166,82,.3); }
.theme-mystic .char-traits li { color: #e6d7ff; border-color: rgba(255,255,255,.08); }
.theme-mystic .char-traits .bullet { background: linear-gradient(135deg,#d4a554,#8b5e1f); color:#1a0f26; }
.theme-mystic .scroll-title, .theme-mystic .scroll-title small { color: #e6d7ff; }
.theme-mystic .reviews-sec, .theme-mystic .researchers, .theme-mystic .faq-sec { background: #0a0614; color: #e6d7ff; }
.theme-mystic .review, .theme-mystic .researcher { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.08); color:#e6d7ff; }
.theme-mystic .review-body, .theme-mystic .researcher-desc { color: rgba(230,215,255,.8); }
.theme-mystic .reviews-score .score { color: #d4a554; }
.theme-mystic .faq-q { color: #e6d7ff; }
.theme-mystic .faq-a { color: rgba(230,215,255,.7); }
.theme-mystic .faq-item { border-color: rgba(255,255,255,.08); }
.theme-mystic .btn-primary { background: linear-gradient(135deg,#d4a554,#8b5e1f); color:#1a0f26; box-shadow: 0 4px 0 #3a2510; }
.theme-mystic .gate-overlay { background: linear-gradient(180deg, rgba(14,8,24,0) 0%, rgba(14,8,24,.9) 40%, #0e0818 100%); }
.theme-mystic .gate-overlay p { color: rgba(230,215,255,.85); }
.theme-mystic .locked-list li { color: rgba(230,215,255,.6); }
.theme-mystic .lock-label { background: linear-gradient(135deg,#d4a554,#8b5e1f); color:#1a0f26; }
.theme-mystic .em-red { color: #ff9c4a; }
.theme-mystic .researcher-name .suf { color: rgba(255,255,255,.45); }
.theme-mystic .researcher-title { color: #d4a554; }

/* Theme: Minimal Premium */
.theme-minimal { --cinnabar:#c6442f; --ochre: #8b7545; }
.theme-minimal .page { background: #fcfaf6; }
.theme-minimal .hanji-bg { background: #fcfaf6; }
.theme-minimal .hanji-bg::before { opacity: .3; }
.theme-minimal .hero {
  background: #1c1a17;
  color: #fcfaf6;
}
.theme-minimal .hero::before { color: rgba(198,68,47,.08); }
.theme-minimal .form-card { background:#fff; box-shadow: 0 20px 60px rgba(0,0,0,.1); }
.theme-minimal .form-card::before { border-color: rgba(0,0,0,.08); }
.theme-minimal .reveal { background: #f5f1ea; }
.theme-minimal .scroll-paper { background:#fff; box-shadow: 0 8px 30px rgba(0,0,0,.06), inset 0 0 0 1px rgba(0,0,0,.06); }
.theme-minimal .scroll-paper::before, .theme-minimal .scroll-paper::after { display:none; }
.theme-minimal .hero-h .brush { font-family: var(--font-myeongjo); color: #ff9c4a; font-size: 1em; font-weight: 800; font-style: italic; }

/* =========================================================
   Typography polish — tuned for Pretendard
   ========================================================= */
html, body {
  font-feature-settings: 'ss06', 'ss07', 'tnum';
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
.page { font-size: 15px; letter-spacing: -0.01em; }

/* Trim letter-spacing on Pretendard — the old Nanum tracking looks loose */
.hero-h,
.sec-h,
.sec-h-big,
.form-title,
.uqa-title,
.scroll-title {
  letter-spacing: -0.025em;
  font-feature-settings: 'ss06', 'ss07';
  word-break: keep-all;
}

/* Eyebrow tags — tighter uppercase spacing, Pretendard-friendly */
.eyebrow {
  letter-spacing: 0.18em;
  font-size: 11px;
  font-weight: 600;
}

/* Display accent — Noto Serif KR retained for hanja/stamp accents */
.hanja-mark,
.hanja-watermark,
.stamp,
.seal,
.brand-logo,
.cb-seal,
.cf-hanja,
.uqa-seal,
.kw-word-hanja,
.hero-h .brush {
  font-family: var(--font-display);
}

/* Fluid headline sizes for mobile */
.hero-h { font-size: clamp(28px, 8.4vw, 40px); line-height: 1.22; font-weight: 800; }
.form-title { font-size: clamp(20px, 6.2vw, 26px); line-height: 1.35; font-weight: 800; }
.sec-h { font-size: clamp(22px, 6.8vw, 28px); line-height: 1.3; font-weight: 800; }
.sec-h-big { font-size: clamp(26px, 8.2vw, 34px); line-height: 1.25; font-weight: 800; }
.uqa-title { font-size: clamp(22px, 6.6vw, 26px); line-height: 1.4; font-weight: 800; }
.hero-sub, .form-desc, .sec-sub { font-size: clamp(13px, 3.8vw, 15px); line-height: 1.65; }

/* =========================================================
   Mobile UX — tap targets, iOS zoom prevention, safe areas
   ========================================================= */

/* Prevent iOS from zooming in on focused inputs (needs ≥16px) */
.field input,
.field select,
textarea,
input[type="number"] {
  font-size: 16px !important;
}

/* Comfortable tap targets (Apple HIG: 44×44; Material: 48×48) */
.btn { min-height: 52px; padding: 15px 20px; font-size: 16px; font-weight: 700; letter-spacing: -0.01em; }
.toggle { min-height: 52px; display: flex; align-items: center; justify-content: center; font-weight: 600; }
.faq-item { -webkit-tap-highlight-color: transparent; }
.faq-q { min-height: 52px; }

/* Sticky CTA — respect iOS home indicator + safer height */
.sticky-cta {
  padding: 14px 16px calc(14px + env(safe-area-inset-bottom));
}
.sticky-cta .btn { min-height: 48px; padding: 12px 20px; }
.has-sticky { padding-bottom: calc(110px + env(safe-area-inset-bottom)); }

/* Ink-bg section paddings a touch tighter on small screens */
@media (max-width: 420px) {
  .sec { padding: 40px 20px; }
  .hero { padding: 110px 20px 32px; }
  .form-card { margin: 0 14px; padding: 22px 18px 24px; }
  .hero-top { margin-bottom: 28px; }
  .hero-trust { gap: 6px; flex-wrap: wrap; }
  .reveal { padding: 28px 20px; }

  /* Card fan — tighter spread on narrow viewports */
  .cards-wrap { overflow: visible; }

  /* Compare columns — allow wrap on very small widths */
  .compare-table { gap: 10px; }
}

@media (max-width: 360px) {
  .page { font-size: 14px; }
  .sec, .hero, .reveal { padding-left: 16px; padding-right: 16px; }
  .form-card { margin: 0 10px; padding: 18px 14px 20px; }
  .field-row { gap: 6px; }
  .field input, .field select { padding: 12px 10px; }
  .hero-badge { font-size: 10px; padding: 5px 8px; }
  .brand-name { font-size: 13px; }
}

/* Touch-device hover suppression */
@media (hover: none) {
  .btn:hover, .toggle:hover, .faq-item:hover { filter: none; }
}

/* Respect user motion preferences */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .pulse { animation: none !important; }
}

/* Prevent text scaling on iOS landscape */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

/* =========================================================
   Photography — real photos for trust & tangibility
   ========================================================= */

/* --- Hero portrait (도해 원장) --- */
.hero-portrait {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  position: relative;
  z-index: 2;
}
.hero-portrait-frame {
  position: relative;
  padding: 6px;
  background: linear-gradient(180deg, rgba(217,182,120,.35), rgba(217,182,120,.12));
  border: 1px solid rgba(217,182,120,.3);
  border-radius: 4px;
}
.hero-portrait-frame::before,
.hero-portrait-frame::after {
  content: '';
  position: absolute;
  width: 14px; height: 14px;
  border: 1px solid var(--ochre-light);
  opacity: 0.6;
}
.hero-portrait-frame::before { top: -4px; left: -4px; border-right: 0; border-bottom: 0; }
.hero-portrait-frame::after  { bottom: -4px; right: -4px; border-left: 0; border-top: 0; }
.hero-portrait-frame img {
  display: block;
  width: 200px;
  height: 230px;
  object-fit: cover;
  object-position: 42% 22%;
  border-radius: 2px;
  background: radial-gradient(ellipse at bottom, rgba(184,39,45,.2) 0%, transparent 70%);
  filter: drop-shadow(0 16px 28px rgba(0,0,0,.5));
}

/* Researchers photo (swapped to clean portrait) needs different crop */
.researcher-photo-avatar img { object-position: center 22%; }
.hero-portrait-caption { text-align: center; }
.hero-portrait-caption .hp-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0;
  color: var(--ink);
}
.hero-portrait-caption .hp-name span {
  color: var(--cinnabar);
  font-weight: 500;
  margin: 0 2px;
}
.hero-portrait-caption .hp-role {
  font-size: 11.5px;
  color: rgba(0,0,0,.62);
  letter-spacing: 0.04em;
  margin-top: 5px;
  font-weight: 500;
}

/* --- UQA proof photo (연구위원 친필 풀이 증거) --- */
.uqa-proof-photo {
  margin: 20px 0 28px;
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 14px 32px rgba(0,0,0,.18), inset 0 0 0 1px rgba(0,0,0,.08);
  background: var(--hanji-warm);
}
.uqa-proof-photo img {
  width: 100%;
  display: block;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center 35%;
}
.uqa-proof-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 18px 16px 14px;
  background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,.55) 40%, rgba(0,0,0,.85) 100%);
  color: #fff;
  font-size: 12.5px;
  letter-spacing: -0.005em;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 7px;
}
.uqa-proof-caption > span {
  color: var(--cinnabar);
  font-size: 10px;
  line-height: 1;
}

/* --- Researcher photo avatar (first researcher uses real photo) --- */
.researcher-photo-avatar {
  padding: 0 !important;
  overflow: hidden !important;
  background: var(--hanji-warm) !important;
  border: 2px solid var(--ink) !important;
  box-shadow: 0 4px 12px rgba(0,0,0,.15) !important;
}
.researcher-photo-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}

/* --- Offer: Product cover (제품표지) --- */
.product-visual {
  margin: 18px 0 12px;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px 18px;
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
  border: 1px solid rgba(217,182,120,.2);
  border-radius: 4px;
  position: relative;
}
.product-visual::before {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(217,182,120,.08);
  pointer-events: none;
  border-radius: 2px;
}
.product-cover {
  width: 110px;
  height: auto;
  flex-shrink: 0;
  box-shadow:
    0 18px 34px rgba(0,0,0,.55),
    0 2px 6px rgba(0,0,0,.3),
    inset 0 0 0 1px rgba(255,255,255,.04);
  border-radius: 2px;
  transform: perspective(700px) rotateY(-10deg);
  transform-origin: right center;
}
.product-visual-text { flex: 1; color: var(--hanji); min-width: 0; }
.product-visual-text .pv-eyebrow {
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--ochre-light);
  font-weight: 600;
  margin-bottom: 6px;
}
.product-visual-text .pv-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  color: var(--hanji);
  letter-spacing: -0.015em;
  line-height: 1.2;
}
.product-visual-text .pv-sub {
  font-size: 12px;
  color: rgba(255,220,160,.75);
  margin-top: 5px;
  letter-spacing: 0.01em;
}
.product-visual-text .pv-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 12px;
}
.product-visual-text .pv-tags span {
  display: inline-flex;
  padding: 4px 8px;
  font-size: 10px;
  background: rgba(193,39,45,.15);
  color: #f5d5b8;
  border: 1px solid rgba(193,39,45,.3);
  border-radius: 2px;
  letter-spacing: -0.005em;
  white-space: nowrap;
}

/* --- Offer: Report grid (실제 50p 내용) --- */
.report-preview {
  margin: 20px 0 8px;
  background: var(--hanji-warm);
  border-radius: 4px;
  padding: 8px 8px 0;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.06), 0 8px 20px rgba(0,0,0,.25);
}
.report-preview img {
  width: 100%;
  display: block;
  border-radius: 2px;
}
.report-preview-cap {
  padding: 14px 8px 14px;
  color: rgba(0,0,0,.75);
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: center;
}
.report-preview-cap b { font-size: 13.5px; font-weight: 700; color: var(--ink); letter-spacing: -0.01em; }
.report-preview-cap span { font-size: 11.5px; color: rgba(0,0,0,.55); line-height: 1.5; }

/* --- Offer: Scarcity visual (수량 한정 이미지) --- */
.scarcity-visual {
  margin: 14px 0 18px;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 14px 30px rgba(0,0,0,.4);
}
.scarcity-visual img {
  width: 100%;
  display: block;
}

/* Narrow-screen adjustments for photo blocks */
@media (max-width: 380px) {
  .hero-portrait-frame img { width: 160px; height: 190px; }
  .product-visual { flex-direction: column; gap: 14px; padding: 18px 14px; text-align: center; }
  .product-cover { width: 130px; transform: none; }
  .product-visual-text .pv-tags { justify-content: center; }
}

@keyframes skeleton-pulse {
  0%, 100% { opacity: .7; }
  50% { opacity: 1; }
}

@keyframes fade-in-page {
  from { opacity: 0; transform: translateY(4px); }
  to   { opacity: 1; transform: translateY(0); }
}

.fade-in-page {
  animation: fade-in-page 150ms ease-out;
}

/* =========================================================
   Input page (step='input') — Hero-less dark frame for the
   birth form. Matches Hero's tonality so the funnel feels
   continuous, with the hanji form card floating inside.
   ========================================================= */
.input-page {
  min-height: 100vh;
  color: var(--hanji);
  background:
    radial-gradient(600px 400px at 50% -10%, rgba(184,39,45,.22) 0%, transparent 60%),
    linear-gradient(180deg, #0b0906 0%, #1a1613 55%, #211a14 100%);
  padding: 28px 0 56px;
}
.input-page-top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 24px;
  margin-bottom: 28px;
}
.input-page-intro {
  padding: 0 24px;
  text-align: center;
  margin-bottom: 24px;
}
.input-page-eyebrow {
  display: inline-block;
  font-family: var(--font-myeongjo);
  font-size: 11px;
  letter-spacing: .2em;
  color: var(--cinnabar);
  font-weight: 700;
  padding: 6px 12px;
  border: 1px solid rgba(196,30,58,.35);
  border-radius: 2px;
  margin-bottom: 14px;
}
.input-page-title {
  font-family: var(--font-myeongjo);
  font-size: 26px;
  font-weight: 900;
  line-height: 1.4;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
  color: var(--hanji);
  word-break: keep-all;
}
.input-page-title-accent {
  color: #d9b678;
}
.input-page-sub {
  font-family: var(--font-myeongjo);
  font-size: 13px;
  line-height: 1.75;
  color: rgba(255,255,255,.6);
  margin: 0;
  word-break: keep-all;
}
.input-page .form-card {
  transform: none;
  margin-top: 8px;
}
.input-page .form-header {
  justify-content: center;
  margin-bottom: 14px;
}

/* =========================================================
   Dialogue flow — conversational birth-info collection
   (도해 원장 제자와 대화하며 정보 입력)
   ========================================================= */
.dialogue-flow {
  padding: 0 18px 40px;
}
.dialogue-chat {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 22px;
  min-height: 200px;
}
.dlg-row {
  display: flex;
  gap: 10px;
  max-width: 100%;
}
.dlg-row-master { align-self: flex-start; max-width: 92%; }
.dlg-row-user   { align-self: flex-end; justify-content: flex-end; max-width: 82%; }
.dlg-avatar {
  flex: 0 0 auto;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #d9b678 0%, #8b5e1f 100%);
  color: #2a1f10;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-myeongjo);
  font-size: 19px; font-weight: 900;
  letter-spacing: -0.02em;
  box-shadow: 0 2px 6px rgba(0,0,0,.25);
}
.dlg-msg-col {
  display: flex; flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.dlg-name {
  font-family: var(--font-myeongjo);
  font-size: 10px;
  color: rgba(255,220,160,.45);
  font-weight: 600;
  letter-spacing: .08em;
  padding-left: 4px;
}
.dlg-bubble {
  padding: 11px 14px;
  border-radius: 16px;
  font-family: var(--font-myeongjo);
  font-size: 14.5px;
  line-height: 1.6;
  white-space: pre-wrap;
  word-break: keep-all;
  letter-spacing: -0.005em;
}
.dlg-bubble-master {
  background: var(--hanji);
  color: var(--ink);
  border-bottom-left-radius: 4px;
  box-shadow: 0 3px 10px rgba(0,0,0,.18);
}
.dlg-bubble-user {
  background: linear-gradient(135deg, #c41e3a, #8b1523);
  color: #fff8ea;
  border-bottom-right-radius: 4px;
  font-weight: 600;
  box-shadow: 0 3px 10px rgba(196,30,58,.25);
}

.dialogue-input {
  padding: 14px;
  background: rgba(255,253,245,.05);
  border: 1px solid rgba(255,220,160,.2);
  border-radius: 14px;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.dlg-text-input,
.dlg-triple-select select,
.dlg-single-select,
.dlg-toggle {
  width: 100%;
  padding: 14px 12px;
  border: 1px solid rgba(255,220,160,.22);
  background: rgba(255,253,245,.08);
  color: var(--hanji);
  font-family: var(--font-myeongjo);
  font-size: 16px;
  font-weight: 600;
  border-radius: 10px;
  -webkit-appearance: none;
  appearance: none;
  box-sizing: border-box;
}
.dlg-text-input::placeholder { color: rgba(255,220,160,.4); font-weight: 400; }
.dlg-text-input:focus,
.dlg-triple-select select:focus,
.dlg-single-select:focus {
  outline: none;
  border-color: var(--cinnabar);
  box-shadow: 0 0 0 3px rgba(196,30,58,.22);
}
.dlg-triple-select {
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px;
}
.dlg-triple-select select,
.dlg-single-select {
  text-align: center;
  padding: 14px 8px;
  color-scheme: dark;
}
.dlg-toggle-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
}
.dlg-toggle {
  text-align: center;
  cursor: pointer;
  transition: all .15s;
}
.dlg-toggle.active {
  background: var(--cinnabar);
  color: #fff8ea;
  border-color: var(--cinnabar);
  box-shadow: 0 3px 10px rgba(196,30,58,.3);
}


/* =========================================================
   Scarcity sticky bar — shown on 'offer' step after scroll
   ========================================================= */
.scarcity-sticky {
  position: fixed;
  bottom: 0;
  left: 50%;
  width: 100%;
  max-width: 460px;
  padding: 12px 12px calc(12px + env(safe-area-inset-bottom, 0px));
  background: #fff;
  border-top: 1px solid rgba(0,0,0,.08);
  box-shadow: 0 -8px 24px rgba(0,0,0,.14);
  z-index: 60;
  transform: translate(-50%, 110%);
  transition: transform .35s cubic-bezier(.2,.8,.2,1);
}
.scarcity-sticky.show {
  transform: translate(-50%, 0);
}

.sticky-btn-wrap {
  position: relative;
  flex: 1 1 auto;
  display: flex;
}
.sticky-discount-pill {
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--cinnabar);
  color: #fff;
  font-family: var(--font-myeongjo);
  font-size: 12px;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 6px 16px rgba(196,30,58,.35);
  animation: bounce-pill 1.6s ease-in-out infinite;
  letter-spacing: -0.005em;
}
.sticky-discount-pill::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -6px;
  border: 6px solid transparent;
  border-top-color: var(--cinnabar);
  border-bottom: 0;
  filter: drop-shadow(0 2px 2px rgba(196,30,58,.25));
}
@keyframes bounce-pill {
  0%, 100% { transform: translate(-50%, 0); }
  50%      { transform: translate(-50%, -5px); }
}

.scarcity-sticky-inner {
  display: flex;
  align-items: stretch;
  gap: 10px;
}

.sticky-heart {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid rgba(0,0,0,.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(0,0,0,.55);
  cursor: pointer;
  padding: 0;
  transition: color .2s ease, border-color .2s ease;
}
.sticky-heart.liked { color: var(--cinnabar); border-color: var(--cinnabar); }

.scarcity-sticky .btn.sticky-main-btn {
  flex: 1 1 auto;
  padding: 14px 20px;
  font-size: 15px;
  font-weight: 800;
  white-space: nowrap;
  border-radius: 10px;
  min-height: 48px;
}

/* =========================================================
   Live viewers banner — floating pill at top-center,
   visible across every step (social-proof urgency)
   ========================================================= */
@keyframes lvb-breathe {
  0%, 100% { opacity: .7; box-shadow: 0 6px 16px rgba(0,0,0,.24); }
  50%      { opacity: .92; box-shadow: 0 10px 26px rgba(0,0,0,.38); }
}
@keyframes lvb-dot-blink {
  0%, 55%, 100% { opacity: 1; box-shadow: 0 0 10px rgba(70,201,126,.9); }
  60%, 75%      { opacity: .25; box-shadow: 0 0 0 rgba(70,201,126,0); }
}
@keyframes lvb-count-pop {
  0%   { transform: translateY(-3px); opacity: .4; }
  100% { transform: translateY(0);    opacity: 1; }
}

.live-viewers-banner {
  position: fixed;
  top: calc(72px + env(safe-area-inset-top, 0px));
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  background: rgba(0,0,0,.48);
  -webkit-backdrop-filter: blur(10px) saturate(1.2);
  backdrop-filter: blur(10px) saturate(1.2);
  color: var(--hanji);
  font-family: var(--font-myeongjo);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: -0.005em;
  border-radius: 100px;
  border: 1px solid rgba(255,220,160,.14);
  box-shadow: 0 6px 18px rgba(0,0,0,.28);
  z-index: 80;
  white-space: nowrap;
  animation: lvb-breathe 3.2s ease-in-out infinite;
}
.live-viewers-banner b {
  color: #d9b678;
  font-weight: 800;
  display: inline-block;
}
.lvb-count {
  animation: lvb-count-pop .45s ease-out;
}
.lvb-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #46c97e;
  box-shadow: 0 0 10px rgba(70,201,126,.9);
  animation: lvb-dot-blink 2.4s ease-in-out infinite;
}



@media (max-width: 360px) {
  .input-page-title { font-size: 22px; }
  .input-page-sub { font-size: 12px; }
}
