/* ============================================================
   Cheongwol — Result Page Styles
   Adapted from FateSeer structure; uses Cheongwol's ink/paper/gold palette.
   ============================================================ */

:root {
  --r-display: 'Noto Serif', 'Noto Serif KR', serif;
  --r-body:    'Noto Sans', sans-serif;
  --r-hanja:   'Noto Serif KR', 'Noto Serif', serif;

  --r-paper:   #fdfaf5;
  --r-paper-2: #f4ecdc;
  --r-card:    #ffffff;
  --r-card-2:  #fbf6ec;

  --r-ink:     #0f1d4a;
  --r-ink-2:   #1f2540;
  --r-ink-3:   #4a5377;
  --r-mute:    #6b7393;
  --r-faint:   #b0b4c7;
  --r-deep:    #060b22;

  --r-brass:   #b98a4a;
  --r-brass-2: #c8a26a;
  --r-brass-3: #e4c896;
  --r-brass-pale: #f4e7c4;

  --r-wood:  #5e8f66;  --r-wood-bg:  #e5eedf;
  --r-fire:  #c45a4c;  --r-fire-bg:  #f3dcd6;
  --r-earth: #c8a26a;  --r-earth-bg: #f3e5c7;
  --r-metal: #8e8779;  --r-metal-bg: #ede6d5;
  --r-water: #34547b;  --r-water-bg: #dde4ed;

  --r-line:        #dad0bb;
  --r-line-faint:  #ece3cc;

  --r-sh-1: 0 2px 6px rgba(15,29,74,.05), 0 1px 2px rgba(15,29,74,.03);
  --r-sh-2: 0 8px 22px rgba(15,29,74,.08), 0 2px 6px rgba(15,29,74,.04);
  --r-sh-3: 0 18px 44px rgba(15,29,74,.10), 0 6px 12px rgba(15,29,74,.05);
  --r-sh-bubble: 0 10px 24px rgba(15,29,74,.07);
}

/* ---------- Reset / wrapper ---------- */
#step-result { background: var(--r-paper); font-family: var(--r-body); color: var(--r-ink); }
#step-result * { box-sizing: border-box; }
#step-result .r-wrap { padding: 0 22px 24px; }

/* ---------- Small label / overline ---------- */
.r-overline {
  font-family: var(--r-body);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--r-brass);
}
.r-overline.center { text-align: center; display: block; }

/* ---------- HERO ---------- */
.r-hero {
  text-align: center;
  padding: 36px 22px 16px;
  background: var(--r-paper);
}
.r-hero__kicker { font-size: 11px; letter-spacing: 0.22em; font-weight: 800; color: var(--r-brass); margin-bottom: 14px; }
.r-hero__title {
  font-family: var(--r-display);
  font-weight: 800;
  font-size: 44px;
  line-height: 1.05;
  color: var(--r-ink);
  letter-spacing: -0.022em;
  margin: 0 0 12px;
}
.r-hero__title em { font-style: italic; font-weight: 500; color: var(--r-brass); }
.r-hero__sub {
  font-family: var(--r-display);
  font-style: italic;
  font-size: 17px;
  color: var(--r-ink-3);
  margin-top: 4px;
}
.r-hero__meta { font-size: 13px; color: var(--r-mute); margin-top: 10px; letter-spacing: 0.04em; }

/* ---------- Mascot scene with bubble ---------- */
.r-scene { display: flex; align-items: flex-start; gap: 12px; padding: 8px 22px; }
.r-scene__mascot { flex: 0 0 110px; }
.r-scene__mascot img { width: 100%; height: auto; filter: drop-shadow(0 6px 14px rgba(15,29,74,.12)); }
.r-scene__bubble { flex: 1; padding-top: 10px; }
.r-scene--reverse { flex-direction: row-reverse; }

.r-bubble {
  position: relative;
  background: var(--r-card);
  border-radius: 22px;
  padding: 16px 20px;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--r-ink-2);
  box-shadow: var(--r-sh-bubble);
  border: 1px solid var(--r-line-faint);
}
.r-bubble strong { color: var(--r-ink); font-weight: 800; }
.r-bubble em { color: var(--r-brass); font-style: italic; font-weight: 600; }
.r-bubble--tl::after {
  content: '';
  position: absolute;
  top: 18px; left: -7px;
  width: 14px; height: 14px;
  background: var(--r-card);
  transform: rotate(45deg);
  border-left: 1px solid var(--r-line-faint);
  border-bottom: 1px solid var(--r-line-faint);
}
.r-bubble--tr::after {
  content: '';
  position: absolute;
  top: 18px; right: -7px;
  width: 14px; height: 14px;
  background: var(--r-card);
  transform: rotate(45deg);
  border-right: 1px solid var(--r-line-faint);
  border-top: 1px solid var(--r-line-faint);
}

.r-mascot-portrait { display: block; margin: 0 auto; width: 180px; }
.r-mascot-portrait img { width: 100%; height: auto; filter: drop-shadow(0 8px 18px rgba(15,29,74,.12)); }

/* ---------- Saju Chart (Four Pillars table) ---------- */
.r-chart {
  margin: 8px 22px;
  background: var(--r-card);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--r-sh-1);
  border: 1px solid var(--r-line-faint);
}
.r-chart__head { padding: 18px 18px 8px; text-align: center; }
.r-chart__title { font-family: var(--r-display); font-size: 22px; font-weight: 800; color: var(--r-ink); margin: 8px 0 4px; }
.r-chart__sub   { font-size: 12px; color: var(--r-mute); }

.r-tbl {
  display: grid;
  grid-template-columns: 56px repeat(4, 1fr);
  font-size: 12px;
  border-top: 1px solid var(--r-line-faint);
}
.r-tbl > div {
  border-right: 1px solid var(--r-line-faint);
  border-bottom: 1px solid var(--r-line-faint);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 8px 4px;
  min-height: 38px;
  text-align: center;
}
.r-tbl > div:nth-child(5n+5) { border-right: none; }
.r-tbl__corner { background: var(--r-paper-2); }
.r-tbl__colhead {
  background: var(--r-paper-2);
  font-weight: 800; gap: 2px;
}
.r-tbl__colhead.is-day { background: var(--r-brass-pale); color: var(--r-brass); }
.r-tbl__colhead .en { font-size: 11px; font-weight: 800; letter-spacing: 0.05em; }
.r-tbl__colhead .hj { font-family: var(--r-hanja); font-size: 13px; color: var(--r-ink-3); }
.r-tbl__colhead.is-day .hj { color: var(--r-brass); }
.r-tbl__colhead .you { font-size: 9px; font-weight: 800; color: var(--r-brass); letter-spacing: 0.1em; margin-top: 2px; }

.r-tbl__rowhead {
  background: var(--r-paper);
  font-weight: 800; font-size: 9.5px; letter-spacing: 0.04em;
  text-transform: uppercase; color: var(--r-ink-3); gap: 1px;
  line-height: 1.2;
}
.r-tbl__rowhead .hj { font-family: var(--r-hanja); font-size: 10px; color: var(--r-mute); text-transform: none; letter-spacing: 0; }

.r-tbl__cell { background: var(--r-card); }
.r-tbl__cell.is-day { background: color-mix(in srgb, var(--r-brass) 8%, transparent); }

.r-tbl__stem, .r-tbl__branch {
  min-height: 68px; padding: 10px 4px;
}
.r-tbl__stem .ch { font-family: var(--r-hanja); font-size: 32px; font-weight: 800; line-height: 1; color: #fff; }
.r-tbl__stem .sub { font-size: 9.5px; color: rgba(255,255,255,0.7); margin-top: 4px; }
.r-tbl__stem.bg-wood  { background: #3a6b52; }
.r-tbl__stem.bg-fire  { background: #9e2a2b; }
.r-tbl__stem.bg-earth { background: #b07d45; }
.r-tbl__stem.bg-metal { background: #2c3a47; }
.r-tbl__stem.bg-water { background: #1e2d40; }

.r-tbl__branch .ch { font-family: var(--r-hanja); font-size: 32px; font-weight: 800; line-height: 1; }
.r-tbl__branch .sub { font-size: 9.5px; color: var(--r-mute); margin-top: 4px; }
.r-tbl__branch .ch.el-wood  { color: var(--r-wood); }
.r-tbl__branch .ch.el-fire  { color: var(--r-fire); }
.r-tbl__branch .ch.el-earth { color: var(--r-brass); }
.r-tbl__branch .ch.el-metal { color: var(--r-ink-3); }
.r-tbl__branch .ch.el-water { color: var(--r-water); }

.r-tg-badge {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 700;
  color: #fff;
  background: var(--bc, var(--r-mute));
  letter-spacing: 0.02em;
}
.r-tg-badge i { font-family: var(--r-hanja); font-style: normal; opacity: 0.7; font-size: 9px; margin-left: 4px; }
.r-tg-badge.self { background: var(--r-brass); }

.r-tbl__hidden { flex-direction: row; flex-wrap: wrap; gap: 3px; }
.r-hid-pip {
  background: var(--bc, var(--r-mute));
  color: #fff;
  font-family: var(--r-hanja);
  font-size: 11px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
}

.r-tbl__stars { flex-direction: row; flex-wrap: wrap; gap: 3px; }
.r-star-pip {
  background: var(--r-brass);
  color: #fff;
  font-size: 9.5px;
  font-weight: 700;
  padding: 2px 5px;
  border-radius: 3px;
}
.r-star-pip.shadow { background: var(--r-ink-3); }

/* ---------- Cards ---------- */
.r-card {
  background: var(--r-card);
  border-radius: 18px;
  padding: 22px 20px;
  box-shadow: var(--r-sh-1);
  border: 1px solid var(--r-line-faint);
  margin: 14px 22px;
}
.r-card--soft   { background: var(--r-card-2); }
.r-card--accent { background: var(--r-brass-pale); border-color: var(--r-brass-3); }
.r-card--ink    {
  background: linear-gradient(180deg, #0f1430 0%, #060b22 100%);
  color: var(--r-paper);
  border: none;
}
.r-card--ink .r-card__title { color: #fff; }
.r-card--ink .r-card__text  { color: rgba(253,250,245,0.82); }
.r-card--ink .r-card__label { color: var(--r-brass-3); }
.r-card--quote {
  background: var(--r-brass-pale);
  border-color: var(--r-brass-3);
  position: relative;
}
.r-card--quote::before {
  content: '"';
  position: absolute;
  top: 6px; left: 14px;
  font-family: var(--r-display);
  font-size: 64px; line-height: 1;
  color: var(--r-brass-2);
  font-style: italic;
}

.r-card__label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--r-brass);
  margin-bottom: 10px;
}
.r-card__title {
  font-family: var(--r-display);
  font-size: 21px;
  font-weight: 700;
  color: var(--r-ink);
  line-height: 1.25;
  margin-bottom: 10px;
}
.r-card__title em { color: var(--r-brass); font-style: italic; font-weight: 500; }
.r-card__text {
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--r-ink-2);
}
.r-card__text strong { color: var(--r-ink); font-weight: 800; }
.r-card__text em     { color: var(--r-brass); font-style: italic; font-weight: 600; }

/* ---------- Guardian / Shadow Stars list ---------- */
.r-stars-list { display: flex; flex-direction: column; gap: 12px; margin-top: 12px; }
.r-star-row {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 12px;
  align-items: start;
  padding: 14px;
  background: rgba(255,255,255,0.6);
  border-radius: 12px;
  border-left: 3px solid var(--r-brass);
}
.r-star-row.shadow { border-left-color: var(--r-ink-3); }
.r-star-row__hanja {
  font-family: var(--r-hanja);
  font-size: 32px;
  font-weight: 800;
  line-height: 1;
  color: var(--r-brass);
  text-align: center;
}
.r-star-row.shadow .r-star-row__hanja { color: var(--r-ink-3); }
.r-star-row__head { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.r-star-row__name { font-size: 14px; font-weight: 800; color: var(--r-ink); }
.r-star-row__rom  { font-size: 11px; color: var(--r-mute); font-style: italic; }
.r-star-row__pos  { font-size: 12px; color: var(--r-mute); margin-top: 4px; }
.r-star-row__mean { font-size: 13.5px; color: var(--r-ink-2); margin-top: 6px; line-height: 1.6; }

/* ---------- Ten Gods bars ---------- */
.r-tengods { display: flex; flex-direction: column; gap: 8px; margin: 12px 0 14px; }
.r-tengods__row {
  display: grid;
  grid-template-columns: 28px 1fr 1fr 30px;
  align-items: center;
  gap: 8px;
}
.r-tengods__row .hj {
  font-family: var(--r-hanja);
  font-size: 16px;
  color: var(--c);
  font-weight: 700;
  text-align: center;
}
.r-tengods__row .name { font-size: 13px; font-weight: 700; color: var(--r-ink); }
.r-tengods__row .of   { font-size: 10.5px; color: var(--r-mute); }
.r-tengods__bar { height: 6px; background: rgba(15,29,74,0.06); border-radius: 3px; overflow: hidden; }
.r-tengods__fill { height: 100%; background: var(--c); border-radius: 3px; transition: width 0.6s ease; }
.r-tengods__count { font-size: 12px; font-weight: 800; color: var(--r-ink); text-align: right; }
.r-tengods__insight {
  font-size: 14px;
  line-height: 1.7;
  color: var(--r-ink-2);
  padding: 14px;
  background: rgba(184,138,74,0.08);
  border-radius: 12px;
  border-left: 3px solid var(--r-brass);
}

/* ---------- Voids ---------- */
.r-voids { display: flex; gap: 8px; flex-wrap: wrap; margin: 8px 0 12px; }
.r-voids__pill {
  padding: 8px 14px;
  background: var(--r-paper-2);
  border-radius: 999px;
  font-family: var(--r-hanja);
  font-size: 14px;
  font-weight: 700;
  color: var(--r-ink-3);
  border: 1px dashed var(--r-line);
}

/* ---------- Identity / Day Master card ---------- */
.r-identity {
  margin: 16px 22px;
  padding: 32px 22px;
  background: linear-gradient(180deg, #0f1430 0%, #060b22 100%);
  color: #fff;
  border-radius: 22px;
  text-align: center;
  box-shadow: var(--r-sh-3);
}
.r-identity__overline { font-size: 11px; font-weight: 800; color: var(--r-brass-3); letter-spacing: 0.2em; }
.r-identity__char {
  font-family: var(--r-hanja);
  font-size: 96px;
  font-weight: 800;
  line-height: 1;
  color: var(--r-brass-3);
  margin: 14px 0 8px;
}
.r-identity__title { font-family: var(--r-display); font-size: 32px; font-weight: 700; line-height: 1.2; margin: 0; }
.r-identity__title em { color: var(--r-brass-3); font-style: italic; font-weight: 500; }
.r-identity__sub   { font-size: 13px; color: rgba(255,255,255,0.7); margin-top: 4px; letter-spacing: 0.08em; }
.r-identity__quote {
  font-family: var(--r-display);
  font-style: italic;
  font-size: 16px;
  line-height: 1.55;
  color: var(--r-brass-3);
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(228,200,150,0.25);
}

/* ---------- Three Truths ---------- */
.r-truth {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 14px;
  padding: 16px 22px;
  align-items: start;
}
.r-truth__num {
  font-family: var(--r-display);
  font-style: italic;
  font-size: 36px;
  font-weight: 700;
  color: var(--r-brass-2);
  line-height: 1;
}
.r-truth__title { font-family: var(--r-display); font-weight: 700; font-size: 17px; color: var(--r-ink); margin-bottom: 6px; line-height: 1.3; }
.r-truth__text  { font-size: 14px; line-height: 1.65; color: var(--r-ink-2); }

/* ---------- Chapter divider ---------- */
.r-chapter {
  text-align: center;
  padding: 36px 22px 16px;
}
.r-chapter__num {
  font-family: var(--r-display);
  font-style: italic;
  font-size: 14px;
  color: var(--r-brass);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.r-chapter__title { font-family: var(--r-display); font-size: 30px; font-weight: 800; color: var(--r-ink); line-height: 1.2; margin: 0; }
.r-chapter__sub   { font-family: var(--r-display); font-style: italic; font-size: 15px; color: var(--r-mute); margin: 8px auto 0; max-width: 280px; }
.r-chapter__rule {
  width: 48px; height: 1px;
  background: var(--r-brass-2);
  margin: 16px auto 0;
  position: relative;
}
.r-chapter__rule::before, .r-chapter__rule::after {
  content: ''; position: absolute; top: 50%;
  width: 4px; height: 4px; background: var(--r-brass-2);
  border-radius: 50%; transform: translateY(-50%);
}
.r-chapter__rule::before { left: -8px; } .r-chapter__rule::after { right: -8px; }

/* ---------- Five Elements bars ---------- */
.r-el-bars {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  align-items: end;
  padding: 24px 18px 18px;
  min-height: 200px;
}
.r-el-bar { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.r-el-bar__col {
  width: 100%; height: 140px;
  background: rgba(15,29,74,0.04);
  border-radius: 8px;
  display: flex; align-items: flex-end;
  overflow: hidden;
}
.r-el-bar__fill {
  width: 100%;
  background: var(--c);
  border-radius: 6px;
  transition: height 0.8s ease;
}
.r-el-bar__hj { font-family: var(--r-hanja); font-size: 18px; font-weight: 800; color: var(--c); }
.r-el-bar__name { font-size: 11px; font-weight: 700; color: var(--r-ink-3); }
.r-el-bar.fire  { --c: var(--r-fire); }
.r-el-bar.earth { --c: var(--r-brass); }
.r-el-bar.wood  { --c: var(--r-wood); }
.r-el-bar.metal { --c: var(--r-metal); }
.r-el-bar.water { --c: var(--r-water); }

/* ---------- Fortune meters ---------- */
.r-meter {
  display: grid;
  grid-template-columns: 28px 80px 1fr 34px;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
}
.r-meter__icon { text-align: center; font-size: 16px; }
.r-meter__lbl  { font-size: 13px; font-weight: 700; color: var(--r-ink); }
.r-meter__track { height: 8px; background: rgba(15,29,74,0.06); border-radius: 4px; overflow: hidden; }
.r-meter__fill {
  height: 100%; background: linear-gradient(90deg, var(--r-brass-2), var(--r-brass));
  border-radius: 4px; transition: width 0.8s ease;
}
.r-meter__num { font-size: 12px; font-weight: 800; color: var(--r-ink); text-align: right; }

/* ---------- Tags ---------- */
.r-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.r-tag {
  padding: 6px 12px;
  background: rgba(15,29,74,0.05);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  color: var(--r-ink-3);
}
.r-tag--brass { background: var(--r-brass-pale); color: var(--r-brass); border: 1px solid var(--r-brass-3); }

/* ---------- Social proof ---------- */
.r-rating { text-align: center; padding: 16px 22px 6px; }
.r-rating__stars { color: #fbbf24; font-size: 22px; letter-spacing: 4px; }
.r-rating__score { font-family: var(--r-display); font-size: 36px; font-weight: 800; color: var(--r-ink); margin: 4px 0; }
.r-rating__count { font-size: 12px; color: var(--r-mute); }

.r-testimonial {
  background: var(--r-card);
  border: 1px solid var(--r-line-faint);
  border-radius: 14px;
  padding: 16px 18px;
  margin: 10px 22px;
  box-shadow: var(--r-sh-1);
}
.r-testimonial__stars { color: #fbbf24; font-size: 12px; margin-bottom: 8px; }
.r-testimonial__quote { font-family: var(--r-display); font-style: italic; font-size: 15.5px; line-height: 1.55; color: var(--r-ink); margin: 0; }
.r-testimonial__author { font-size: 12px; color: var(--r-mute); margin-top: 8px; font-weight: 700; }

/* ---------- Curiosity hooks ---------- */
.r-wonder {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 14px 18px;
  background: var(--r-card);
  border-radius: 14px;
  margin: 10px 22px;
  border-left: 3px solid var(--r-brass-2);
  box-shadow: var(--r-sh-1);
}
.r-wonder__icon { font-size: 20px; flex-shrink: 0; }
.r-wonder__text { font-size: 14.5px; color: var(--r-ink-2); line-height: 1.4; }

/* ---------- Contents list (locked chapters) ---------- */
.r-contents { padding: 0 22px; display: flex; flex-direction: column; gap: 10px; }
.r-contents-item {
  display: grid;
  grid-template-columns: 38px 1fr 28px;
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
  background: var(--r-card);
  border-radius: 12px;
  border: 1px solid var(--r-line-faint);
  box-shadow: var(--r-sh-1);
}
.r-contents-item__num   { font-family: var(--r-display); font-style: italic; font-size: 20px; font-weight: 800; color: var(--r-brass); }
.r-contents-item__title { font-size: 14.5px; font-weight: 800; color: var(--r-ink); margin-bottom: 2px; }
.r-contents-item__desc  { font-size: 12.5px; color: var(--r-mute); line-height: 1.4; }
.r-contents-item__lock  { text-align: center; color: var(--r-brass); font-size: 16px; }

/* ---------- CTA / Paywall ---------- */
.r-cta {
  margin: 24px 22px;
  padding: 24px 20px;
  background: linear-gradient(180deg, #0f1430 0%, #060b22 100%);
  color: #fff;
  border-radius: 22px;
  text-align: center;
  box-shadow: var(--r-sh-3);
  border: 1px solid rgba(228,200,150,0.18);
}
.r-cta__badge {
  display: inline-block;
  padding: 6px 14px;
  background: var(--r-brass);
  color: #fff;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.16em;
  margin-bottom: 14px;
}
.r-countdown { margin: 6px 0 14px; }
.r-countdown__label { font-size: 10.5px; font-weight: 800; letter-spacing: 0.18em; color: var(--r-brass-3); margin-bottom: 8px; }
.r-countdown__digits { display: flex; align-items: center; justify-content: center; gap: 8px; }
.r-countdown__unit { background: rgba(255,255,255,0.08); border-radius: 10px; padding: 8px 10px; min-width: 56px; }
.r-countdown__num  { font-family: var(--r-display); font-weight: 800; font-size: 26px; line-height: 1; }
.r-countdown__lbl  { font-size: 9px; font-weight: 700; color: rgba(255,255,255,0.6); letter-spacing: 0.12em; margin-top: 4px; }
.r-countdown__sep  { font-family: var(--r-display); font-size: 22px; color: var(--r-brass-3); font-weight: 800; }

.r-cta__title { font-family: var(--r-display); font-size: 26px; font-weight: 800; line-height: 1.2; margin: 4px 0 4px; }
.r-cta__title em { color: var(--r-brass-3); font-style: italic; font-weight: 500; }
.r-cta__sub { font-size: 13px; color: rgba(255,255,255,0.7); margin-bottom: 18px; }

.r-price-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px;
  background: rgba(255,255,255,0.05);
  border-radius: 14px;
  margin-bottom: 16px;
}
.r-price-strike { font-size: 14px; text-decoration: line-through; color: rgba(255,255,255,0.5); }
.r-price-now { font-family: var(--r-display); font-size: 34px; font-weight: 800; color: #fff; line-height: 1; }
.r-discount { text-align: right; }
.r-discount__num { font-family: var(--r-display); font-size: 24px; font-weight: 800; color: var(--r-brass-3); line-height: 1; }
.r-discount__lbl { font-size: 9px; font-weight: 800; color: rgba(255,255,255,0.6); letter-spacing: 0.12em; margin-top: 2px; }

.r-cta__list { list-style: none; padding: 0; margin: 0 0 16px; text-align: left; }
.r-cta__list li { padding: 8px 0; font-size: 13.5px; color: rgba(255,255,255,0.85); border-bottom: 1px solid rgba(255,255,255,0.08); display: flex; align-items: center; gap: 10px; }
.r-cta__list li:last-child { border-bottom: none; }
.r-cta__list li::before { content: '✓'; color: var(--r-brass-3); font-weight: 800; }

.r-cta-pay { display: flex; flex-direction: column; gap: 10px; }
.r-pay-btn {
  width: 100%;
  padding: 16px;
  border-radius: 12px;
  border: none;
  font-weight: 800;
  font-size: 15px;
  font-family: inherit;
  cursor: pointer;
  letter-spacing: 0.02em;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  transition: transform 0.15s ease;
}
.r-pay-btn:active { transform: scale(0.985); }
.r-pay-btn--brass { background: var(--r-brass); color: #fff; }
.r-pay-btn--usdt  { background: #26a17b; color: #fff; }
.r-pay-note { font-size: 10.5px; color: rgba(255,255,255,0.5); margin-top: 4px; }

.r-assurance {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 11.5px;
  color: rgba(255,255,255,0.75);
  line-height: 1.7;
}
.r-urgency {
  margin-top: 14px;
  padding: 10px 14px;
  background: rgba(184,138,74,0.18);
  border-radius: 10px;
  font-size: 11.5px;
  color: var(--r-brass-3);
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.r-urgency strong { color: #fff; font-weight: 800; }
.r-urgency__pulse { width: 8px; height: 8px; background: #4ade80; border-radius: 50%; box-shadow: 0 0 8px #4ade80; animation: pulse 1.6s infinite ease-in-out; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }

/* ---------- Blurred chapter previews ---------- */
.r-locked-card { position: relative; overflow: hidden; }
.r-locked-card .r-card__text { filter: blur(3.5px); opacity: 0.55; pointer-events: none; user-select: none; }
.r-lock-overlay {
  position: absolute;
  inset: 0;
  display: flex; align-items: center; justify-content: center;
  gap: 10px;
  background: linear-gradient(180deg, rgba(255,255,255,0) 30%, rgba(251,246,236,0.92) 75%);
  pointer-events: none;
}
.r-lock-overlay .lk-icon { font-size: 22px; }
.r-lock-overlay .lk-txt  { font-weight: 800; font-size: 13px; color: var(--r-brass); letter-spacing: 0.12em; }

/* ---------- Letter ---------- */
.r-letter {
  background: var(--r-card-2);
  border: 1px solid var(--r-brass-3);
  border-radius: 18px;
  padding: 24px 22px;
  margin: 14px 22px;
  position: relative;
  box-shadow: var(--r-sh-2);
}
.r-letter__greeting { font-family: var(--r-display); font-style: italic; font-size: 19px; color: var(--r-ink); margin-bottom: 14px; }
.r-letter__body p { font-size: 14.5px; line-height: 1.85; color: var(--r-ink-2); margin: 0 0 14px; font-family: var(--r-display); }
.r-letter__body p strong { color: var(--r-ink); font-weight: 700; }
.r-letter__body p.locked { filter: blur(3.5px); opacity: 0.55; pointer-events: none; user-select: none; }
.r-letter__sign { margin-top: 16px; font-size: 13.5px; color: var(--r-ink-2); line-height: 1.6; font-family: var(--r-display); }
.r-letter__sign strong { color: var(--r-ink); font-weight: 800; font-size: 16px; }
.r-letter__sign em { color: var(--r-brass); font-style: italic; }

/* ---------- Daewoon (10-year luck cycles) ---------- */
.r-daewoon { padding: 0 22px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.r-dw {
  background: var(--r-card);
  border: 1px solid var(--r-line-faint);
  border-radius: 10px;
  padding: 10px 6px;
  text-align: center;
}
.r-dw__age { font-size: 11px; font-weight: 800; color: var(--r-mute); letter-spacing: 0.04em; }
.r-dw__stem, .r-dw__branch {
  font-family: var(--r-hanja);
  font-size: 24px;
  font-weight: 800;
  line-height: 1;
  margin: 6px 0;
}
.r-dw__yr { font-size: 9px; color: var(--r-mute); letter-spacing: 0.04em; }
.r-dw--now { background: var(--r-brass-pale); border-color: var(--r-brass-2); position: relative; }
.r-dw--now::after { content: 'NOW'; position: absolute; top: -8px; left: 50%; transform: translateX(-50%); background: var(--r-brass); color: #fff; font-size: 8px; font-weight: 800; letter-spacing: 0.1em; padding: 2px 6px; border-radius: 4px; }
.r-dw .el-wood  { color: var(--r-wood); }
.r-dw .el-fire  { color: var(--r-fire); }
.r-dw .el-earth { color: var(--r-brass); }
.r-dw .el-metal { color: var(--r-ink-3); }
.r-dw .el-water { color: var(--r-water); }
.r-locked-dw { filter: blur(3.5px); opacity: 0.5; pointer-events: none; user-select: none; }

/* ---------- Footer ---------- */
.r-footer {
  margin-top: 32px;
  padding: 40px 24px;
  background: #060b22;
  color: rgba(255,255,255,0.45);
  font-size: 11px;
  text-align: center;
  line-height: 1.8;
}
.r-footer strong { color: var(--r-brass-3); font-weight: 800; letter-spacing: 0.1em; font-family: var(--r-display); font-size: 13px; font-style: italic; }

/* ══════════════════════════════════════════════════════════════
   PDF Delivery Card
   ══════════════════════════════════════════════════════════════ */
.pdf-delivery-card {
  background: linear-gradient(135deg, #0d1a3a, #08122a);
  border: 1.5px solid #c8a26a55;
  border-radius: 18px;
  padding: 36px 28px 28px;
  text-align: center;
  max-width: 540px;
  margin: 0 auto;
}
.pdf-delivery-icon {
  font-size: 44px;
  margin-bottom: 12px;
}
.pdf-delivery-title {
  font-family: var(--r-display);
  font-size: 22px;
  color: #c8a26a;
  margin-bottom: 10px;
  line-height: 1.3;
}
.pdf-delivery-title em { font-style: italic; color: #e8c880; }
.pdf-delivery-sub {
  font-size: 14px;
  color: #9090b0;
  line-height: 1.6;
  margin-bottom: 24px;
}
.pdf-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}
.pdf-email-input {
  width: 100%;
  max-width: 360px;
  padding: 14px 18px;
  border-radius: 10px;
  border: 1.5px solid #2a3060;
  background: #0a1030;
  color: #e0d8c8;
  font-size: 15px;
  font-family: inherit;
  outline: none;
  transition: border-color .2s;
}
.pdf-email-input:focus { border-color: #c8a26a; }
.pdf-email-input::placeholder { color: #4a5070; }
.pdf-cta-btn {
  width: 100%;
  max-width: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.pdf-status {
  margin-top: 14px;
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.5;
}
.pdf-status--ok   { background: rgba(74,222,128,.12); color: #4ade80; border: 1px solid rgba(74,222,128,.3); }
.pdf-status--warn { background: rgba(251,191,36,.1);  color: #fbbf24; border: 1px solid rgba(251,191,36,.25); }
.pdf-status--err  { background: rgba(248,113,113,.1); color: #f87171; border: 1px solid rgba(248,113,113,.25); }
.pdf-delivery-note {
  margin-top: 16px;
  font-size: 11px;
  color: #4a5070;
  letter-spacing: .04em;
}
.pdf-spinner {
  display: inline-block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid rgba(200,162,106,.3);
  border-top-color: #c8a26a;
  animation: pdf-spin .7s linear infinite;
  vertical-align: middle;
}
@keyframes pdf-spin { to { transform: rotate(360deg); } }
