@font-face {
  font-family: "Aritaburi";
  src: url("https://fastly.jsdelivr.net/gh/projectnoonnu/noonfonts_one@1.0/Arita-buri-SemiBold.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --obsidian: #050302;
  --night: #100906;
  --temple: #1b1009;
  --ink: #1a1009;
  --ink-2: #2d1b10;
  --paper: #efe0c2;
  --paper-2: #fff0cf;
  --paper-3: #f7e6c6;
  --gold: #b8752b;
  --gold-2: #f1bd68;
  --candle: #ffd98a;
  --red: #9f321f;
  --ember: #c05a24;
  --jade: #326f62;
  --blue: #38445c;
  --line: #d9bd8d;
  --muted: #7f6547;
  --smoke: #b19a78;
  --shadow: 0 28px 70px rgba(12, 7, 3, 0.34);
  --font-ritual-title: "Aritaburi", "Song Myung", "KoPubWorld Batang", "Noto Serif KR", Georgia, serif;
  --font-name: "Song Myung", "KoPubWorld Batang", "Noto Serif KR", Georgia, serif;
  --font-title: "KoPubWorld Batang", "Song Myung", "Noto Serif KR", Georgia, serif;
  --font-body: "KoPubWorld Dotum", "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
  --font-dialogue: "KoPubWorld Batang", "Song Myung", "Noto Serif KR", Georgia, serif;
  --font-ui: "Pretendard", "KoPubWorld Dotum", "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
  --font-serif: var(--font-body);
  --display-font: var(--font-title);
  font-family: var(--font-body);
}

* {
  box-sizing: border-box;
}

html,
body,
#app {
  min-height: 100%;
  margin: 0;
}

html,
body {
  overflow-x: hidden;
}

body {
  background:
    radial-gradient(circle at 50% 0%, rgba(184, 117, 43, 0.2), transparent 34rem),
    linear-gradient(180deg, #050302, #120a06 52%, #050302);
  color: var(--ink);
}

.static-compliance-fallback {
  max-width: 720px;
  margin: 40px auto;
  border: 1px solid #ead8b7;
  border-radius: 16px;
  padding: 24px;
  color: #1f2937;
  background: #fffaf0;
  font-family: var(--font-body);
  line-height: 1.65;
}

.static-compliance-fallback h1 {
  margin: 0 0 14px;
  color: #1a1009;
  font-size: 1.5rem;
}

.static-compliance-fallback p {
  margin: 6px 0;
}

.static-compliance-fallback a {
  display: inline-block;
  margin-right: 12px;
  color: #8b3c19;
  font-weight: 800;
}

button,
input,
select {
  font: inherit;
  font-family: var(--font-ui);
}

button {
  cursor: pointer;
}

h1,
h2,
h3,
h4,
.landing-title,
.loading-title,
.hero-title,
.premium-hero h2,
.premium-toc-head b,
.premium-part-head h3,
.premium-chapter-body h4,
.story-chapter-hero h1,
.story-premium-generated-head h2,
.legal-hero h1,
.review-proof-title p,
.deep-report-head h2 {
  font-family: var(--font-title);
}

.oracle-bubble p,
.oracle-bubble strong,
.story-shaman-talk p,
.story-shaman-talk > div > strong,
.story-oracle-note,
.story-scroll-line {
  font-family: var(--font-dialogue);
}

.phone-shell {
  position: relative;
  width: 100%;
  max-width: 480px;
  min-height: 100dvh;
  margin: 0 auto;
  overflow-x: hidden;
  background:
    linear-gradient(180deg, rgba(27, 16, 9, 0.16), transparent 18rem),
    var(--paper);
  box-shadow: 0 0 0 1px rgba(241, 189, 104, 0.14), 0 34px 90px rgba(0, 0, 0, 0.42);
}

.landing {
  min-height: 100dvh;
  color: white;
  overflow-x: hidden;
  overflow-y: auto;
  background: var(--obsidian);
  isolation: isolate;
}

.landing-hero {
  position: relative;
  min-height: 100dvh;
  overflow: hidden;
  background: var(--obsidian);
}

.landing-video,
.landing-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 42%;
}

.landing-photo {
  filter: saturate(1.06) contrast(1.04) brightness(0.82);
  transform: scale(1.02);
}

.sky-canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  opacity: 0.2;
  mix-blend-mode: screen;
}

.landing .sky-canvas {
  display: none;
}

.landing-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to bottom, rgba(0, 0, 0, 0.02), transparent 38%, rgba(4, 2, 1, 0.34) 72%, rgba(5, 3, 2, 0.72)),
    radial-gradient(circle at 50% 78%, rgba(0, 0, 0, 0.42), transparent 42%);
  pointer-events: none;
}

.back-fab {
  position: fixed;
  top: calc(env(safe-area-inset-top, 0px) + 14px);
  left: max(14px, calc(50vw - 226px));
  z-index: 80;
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  color: var(--ink);
  background: var(--paper-2);
  box-shadow: 2px 2px 0 var(--ink);
  text-decoration: none;
}

.landing-content {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: 100dvh;
  flex-direction: column;
  justify-content: flex-end;
  padding: max(34px, env(safe-area-inset-top, 0px) + 24px) 22px max(30px, env(safe-area-inset-bottom, 0px) + 26px);
}

.landing-main {
  display: flex;
  flex: 0 0 auto;
  width: 100%;
  max-width: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  min-height: 0;
  margin: 0 auto 18px;
  text-align: center;
}

.brand-mark {
  display: inline-flex;
  width: auto;
  min-height: 26px;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  border: 1px solid rgba(255, 217, 138, 0.54);
  border-radius: 999px;
  padding: 0 11px;
  color: var(--candle);
  background: rgba(12, 7, 3, 0.34);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.32), inset 0 1px 0 rgba(255, 231, 177, 0.12);
  font-family: var(--font-serif);
  font-size: 0.78rem;
  line-height: 1;
  letter-spacing: 0.16em;
  backdrop-filter: blur(6px);
}

.brand-mark::before {
  content: "";
  display: inline-block;
  height: 1em;
  vertical-align: middle;
}

.brand-kicker {
  margin: 0 0 6px;
  color: rgba(255, 225, 158, 0.74);
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.75);
}

.landing-title {
  margin: 0;
  color: #fff0d0;
  font-family: var(--font-ritual-title);
  font-size: clamp(2.35rem, 11.4vw, 3.65rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.02;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.86), 0 0 34px rgba(184, 117, 43, 0.28);
}

.landing-title span {
  color: var(--candle);
}

.landing-copy {
  max-width: 19.4rem;
  margin: 10px auto 0;
  color: rgba(255, 239, 205, 0.88);
  font-family: var(--font-dialogue);
  font-size: 0.98rem;
  line-height: 1.68;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.82);
  word-break: keep-all;
}

.landing-bottom {
  position: relative;
  z-index: 2;
  margin-top: 0;
  padding-top: 0;
}

.primary-btn {
  display: inline-flex;
  width: 100%;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid rgba(255, 217, 138, 0.52);
  border-radius: 16px;
  color: #fff2d4;
  background:
    linear-gradient(135deg, rgba(191, 108, 32, 0.96), rgba(73, 34, 14, 0.98)),
    rgba(18, 9, 4, 0.86);
  box-shadow:
    0 18px 38px rgba(0, 0, 0, 0.46),
    0 0 24px rgba(184, 117, 43, 0.18),
    inset 0 1px 0 rgba(255, 241, 203, 0.16);
  font-weight: 820;
  backdrop-filter: blur(10px);
}

.primary-btn:active,
.result-cta:active {
  transform: translateY(1px) scale(0.99);
}

.landing-proof {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 10px;
  margin: 12px 0 0;
  color: rgba(255, 231, 190, 0.72);
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.35;
  text-align: center;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.82);
}

.landing-proof span {
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.landing-compliance {
  position: relative;
  z-index: 3;
  padding: 28px 18px max(30px, env(safe-area-inset-bottom, 0px) + 24px);
  color: rgba(255, 231, 190, 0.46);
  background:
    linear-gradient(180deg, #050302, #0e0907);
  text-align: center;
  word-break: keep-all;
}

.landing-compliance-inner {
  display: grid;
  gap: 5px;
  max-width: 360px;
  margin: 0 auto;
  font-size: 0.68rem;
  font-weight: 420;
  line-height: 1.34;
}

.landing-compliance-inner p {
  margin: 0;
}

.landing-compliance-inner p:not(:first-of-type) {
  color: rgba(255, 231, 190, 0.36);
  font-weight: 380;
  line-height: 1.3;
}

.landing-compliance-inner b {
  color: rgba(255, 239, 205, 0.68);
  font-weight: 850;
}

.landing-policy-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
  margin: 0 0 10px;
}

.landing-policy-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 225, 176, 0.58);
  font-size: 0.72rem;
  font-weight: 750;
  text-decoration: none;
}

.landing-policy-links a + a::before {
  content: "|";
  margin: 0 10px;
  color: rgba(255, 225, 176, 0.24);
}

.form-layer {
  position: fixed;
  inset: 0;
  z-index: 70;
  overflow-y: auto;
  background:
    radial-gradient(circle at 50% 8%, rgba(255, 217, 138, 0.16), transparent 20rem),
    rgba(5, 3, 2, 0.82);
  backdrop-filter: blur(14px);
}

.form-panel {
  display: flex;
  width: min(100vw, 480px);
  min-height: 100dvh;
  margin: 0 auto;
  flex-direction: column;
  padding: max(28px, env(safe-area-inset-top, 0px) + 18px) 20px max(28px, env(safe-area-inset-bottom, 0px) + 22px);
}

.form-topbar {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 38px;
  align-items: center;
  gap: 10px;
}

.form-back {
  position: relative;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(255, 217, 138, 0.28);
  border-radius: 999px;
  color: #fff0d0;
  background: rgba(12, 7, 3, 0.42);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.28);
  font-size: 0;
  line-height: 1;
  backdrop-filter: blur(8px);
}

.form-back::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 9px;
  height: 9px;
  border-bottom: 2px solid currentColor;
  border-left: 2px solid currentColor;
  transform: translate(-35%, -50%) rotate(45deg);
}

.form-stage {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: center;
  min-height: 0;
  padding: 18px 0 0;
}

.oracle-prompt {
  display: grid;
  justify-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.oracle-prompt.is-fresh {
  animation: oraclePop 0.36s cubic-bezier(0.18, 1.42, 0.36, 1) both;
}

.oracle-avatar {
  display: block;
  width: 104px;
  height: 104px;
  border: 1px solid rgba(255, 217, 138, 0.58);
  border-radius: 999px;
  object-fit: cover;
  object-position: 50% 18%;
  box-shadow: 0 0 0 4px rgba(9, 5, 3, 0.86), 0 0 32px rgba(255, 217, 138, 0.24);
}

.oracle-bubble {
  position: relative;
  width: 100%;
  border: 1px solid rgba(184, 117, 43, 0.28);
  border-radius: 18px;
  padding: 14px 16px;
  color: #f5e6cf;
  background:
    linear-gradient(135deg, rgba(38, 24, 14, 0.96), rgba(18, 11, 8, 0.96)),
    rgba(18, 10, 7, 0.94);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 217, 138, 0.08);
  transform-origin: 12px 18px;
}

.oracle-bubble::before {
  content: "";
  position: absolute;
  top: -7px;
  left: 50%;
  width: 12px;
  height: 12px;
  border-top: 1px solid rgba(184, 117, 43, 0.28);
  border-left: 1px solid rgba(184, 117, 43, 0.28);
  background: rgba(38, 24, 14, 0.96);
  transform: translateX(-50%) rotate(45deg);
}

.oracle-bubble p,
.oracle-bubble strong {
  position: relative;
  z-index: 1;
}

.oracle-bubble p {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 0.88rem;
  font-weight: 360;
  line-height: 1.65;
  text-align: center;
  word-break: keep-all;
}

.oracle-bubble strong {
  display: block;
  margin-top: 8px;
  color: var(--candle);
  font-family: var(--font-serif);
  font-size: 0.9rem;
  font-weight: 760;
  line-height: 1.55;
  text-align: center;
  word-break: keep-all;
}

@keyframes oraclePop {
  0% {
    opacity: 0;
    transform: translateY(8px) scale(0.94);
  }
  62% {
    opacity: 1;
    transform: translateY(-2px) scale(1.015);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes storyScrollCue {
  0%,
  100% {
    opacity: 0.38;
    transform: translateY(-4px) rotate(45deg);
  }
  50% {
    opacity: 1;
    transform: translateY(6px) rotate(45deg);
  }
}

.progress {
  grid-column: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.progress i {
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 240, 207, 0.2);
}

.progress i.active {
  background: linear-gradient(90deg, var(--ember), var(--candle));
  box-shadow: 0 0 16px rgba(255, 217, 138, 0.32);
}

.form-card {
  margin: 14px 0 0;
  border: 1px solid rgba(255, 217, 138, 0.28);
  border-radius: 18px;
  color: var(--ink);
  background:
    linear-gradient(rgba(255, 240, 207, 0.96), rgba(255, 240, 207, 0.96)),
    repeating-linear-gradient(0deg, transparent 0 23px, rgba(184, 117, 43, 0.055) 24px),
    var(--paper-2);
  box-shadow: var(--shadow);
  padding: 24px;
}

.form-card h2 {
  margin: 0 0 20px;
  font-size: 1.2rem;
  text-align: center;
}

.field {
  margin-bottom: 18px;
}

.field label,
.field-title {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 800;
}

.text-input,
.select-input {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(95, 56, 21, 0.18);
  border-radius: 12px;
  padding: 0 14px;
  color: var(--ink);
  background: #fff8e8;
  outline: none;
  text-align: center;
  font-size: 1.02rem;
  font-weight: 850;
}

.text-input:focus,
.select-input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(184, 117, 43, 0.18);
}

.segmented,
.time-row {
  display: flex;
  gap: 8px;
}

.date-row {
  display: grid;
  grid-template-columns: minmax(104px, 1.35fr) minmax(70px, 1fr) minmax(70px, 1fr);
  gap: 8px;
}

.date-row .select-input,
.time-row .select-input {
  width: auto;
  min-width: 0;
  flex: 1 1 0;
}

.segmented button {
  flex: 1;
  min-height: 46px;
  border: 1px solid rgba(95, 56, 21, 0.18);
  border-radius: 12px;
  color: var(--muted);
  background: #fff8e8;
  font-weight: 800;
}

.segmented button.selected {
  border-color: var(--night);
  color: #fff0d0;
  background: linear-gradient(135deg, var(--night), #37200f);
  box-shadow: inset 0 1px 0 rgba(255, 217, 138, 0.12);
}

.mbti-panel {
  margin-top: 20px;
}

.mbti-panel h3 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 1.25rem;
  line-height: 1.3;
  text-align: center;
}

.mbti-panel > p {
  margin: 8px 0 16px;
  color: #b49a78;
  font-size: 0.82rem;
  font-weight: 900;
  text-align: center;
}

.mbti-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.mbti-option {
  min-width: 0;
  min-height: 44px;
  border: 1px solid #dbc8ad;
  border-radius: 10px;
  color: #86745f;
  background:
    linear-gradient(rgba(255, 251, 244, 0.82), rgba(255, 251, 244, 0.82)),
    repeating-linear-gradient(90deg, transparent 0 23px, rgba(185, 131, 53, 0.06) 24px);
  font-size: 0.92rem;
  font-weight: 900;
}

.mbti-option.selected {
  border-color: #2b2118;
  color: #fff6e8;
  background: #2b2118;
  box-shadow: 0 8px 18px rgba(34, 27, 20, 0.18);
}

.mbti-unknown-row {
  margin-top: 14px;
}

.date-row .select-input:first-child {
  flex: 1.45 1 0;
  min-width: 0;
}

.picker-trigger {
  position: relative;
  display: flex;
  width: 100%;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(95, 56, 21, 0.16);
  border-radius: 14px;
  padding: 0 16px;
  color: var(--ink);
  background: #fff8e8;
  box-shadow: 0 8px 20px rgba(34, 20, 8, 0.07);
  font-size: 1rem;
  font-weight: 900;
  text-align: center;
}

.picker-trigger span {
  display: block;
  width: 100%;
  padding: 0 48px;
  text-align: center;
}

.picker-trigger b {
  position: absolute;
  right: 16px;
  color: var(--gold);
  font-size: 0.8rem;
}

.picker-trigger:disabled {
  color: rgba(43, 33, 24, 0.34);
  background: rgba(255, 255, 255, 0.62);
  box-shadow: none;
}

.picker-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(18, 14, 10, 0.5);
}

.picker-sheet {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 101;
  width: min(100%, 480px);
  max-height: 78dvh;
  margin: 0 auto;
  border-radius: 24px 24px 0 0;
  color: var(--ink);
  background:
    linear-gradient(rgba(255, 240, 207, 0.98), rgba(255, 240, 207, 0.98)),
    var(--paper-2);
  box-shadow: 0 -24px 70px rgba(8, 4, 2, 0.42);
  padding: 18px 18px 20px;
}

.picker-top {
  display: grid;
  grid-template-columns: 64px 1fr 64px;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}

.picker-top strong {
  grid-column: 2;
  justify-self: center;
  font-size: 1.05rem;
}

.picker-top button {
  border: 0;
  color: var(--ink);
  background: transparent;
  font-size: 0.92rem;
  font-weight: 900;
}

.picker-top button:last-child {
  justify-self: end;
}

.date-picker {
  grid-template-columns: 1.15fr 0.9fr 0.9fr;
}

.time-picker {
  grid-template-columns: 1.2fr 0.9fr;
}

.picker-columns {
  display: grid;
  gap: 12px;
}

.picker-column > span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-align: center;
}

.picker-wheel {
  max-height: 238px;
  overflow-y: auto;
  padding: 4px 0;
  scroll-snap-type: y proximity;
}

.picker-option {
  display: flex;
  width: 100%;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 12px;
  color: rgba(43, 33, 24, 0.48);
  background: transparent;
  font-size: 1rem;
  font-weight: 800;
  scroll-snap-align: center;
}

.picker-option.selected {
  color: #2b1819;
  background: #ffe0a1;
  font-size: 1.08rem;
  box-shadow: inset 0 0 0 1px rgba(184, 117, 43, 0.22);
}

.picker-selected-time {
  margin: 0 -18px 18px;
  padding: 18px;
  color: #351b1d;
  background: #f4f1ed;
  font-size: 1.6rem;
  font-weight: 900;
  text-align: center;
}

.picker-save {
  width: 100%;
  min-height: 48px;
  margin-top: 16px;
  border: 0;
  border-radius: 14px;
  color: #fff1d0;
  background: linear-gradient(135deg, var(--ember), #6f3218);
  font-weight: 900;
}

.check-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.78rem;
}

.free-consent-box {
  position: relative;
  margin: 18px 0 10px;
  padding: 14px 16px;
  border: 1px solid rgba(42, 27, 19, 0.14);
  border-radius: 14px;
  background: rgba(255, 248, 231, 0.95);
  box-shadow: 0 12px 24px rgba(31, 17, 8, 0.08);
}

.free-consent-box.has-error {
  margin-top: 48px;
}

.free-consent-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.free-consent-row {
  align-items: center;
  margin-top: 0;
  color: #17110d;
  font-weight: 800;
  line-height: 1.35;
}

.free-consent-row input {
  flex: 0 0 auto;
  width: 19px;
  height: 19px;
  margin: 0;
  accent-color: #1b130e;
}

.free-consent-detail {
  flex: 0 0 auto;
  border: 0;
  padding: 0;
  color: #17110d;
  background: transparent;
  font-size: 0.74rem;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.free-consent-tooltip {
  position: absolute;
  left: 16px;
  top: -42px;
  z-index: 2;
  width: max-content;
  max-width: calc(100% - 32px);
  margin: 0;
  padding: 10px 14px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #ff4c8a, #c9262d);
  font-size: 0.8rem;
  font-weight: 900;
  text-align: center;
  box-shadow: 0 10px 24px rgba(201, 38, 45, 0.32);
  transform-origin: 24px 100%;
  animation: consentPop 0.44s cubic-bezier(0.19, 1, 0.22, 1) both;
}

.free-consent-tooltip::after {
  content: "";
  position: absolute;
  left: 28px;
  bottom: -7px;
  width: 0;
  height: 0;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-top: 8px solid #d52b43;
}

@keyframes consentPop {
  0% {
    opacity: 0;
    transform: translateY(8px) scale(0.86);
  }
  62% {
    opacity: 1;
    transform: translateY(-2px) scale(1.04);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.free-consent-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 22px;
}

.free-consent-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.68);
  backdrop-filter: blur(7px);
}

.free-consent-modal-card {
  position: relative;
  z-index: 1;
  width: min(390px, 100%);
  max-height: min(74vh, 560px);
  overflow-y: auto;
  border: 1px solid rgba(218, 174, 105, 0.32);
  border-radius: 18px;
  padding: 24px 22px;
  color: #17110d;
  background: #fff8e7;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
}

.free-consent-modal-card h2 {
  margin: 0 32px 16px 0;
  color: #17110d;
  font-size: 1.16rem;
  font-weight: 900;
}

.free-consent-modal-card p {
  margin: 0 0 13px;
  color: #2a2019;
  font-size: 0.9rem;
  line-height: 1.72;
}

.free-consent-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(23, 17, 13, 0.16);
  border-radius: 999px;
  color: #17110d;
  background: rgba(255, 255, 255, 0.45);
  font-size: 1.2rem;
  line-height: 1;
}

.form-note {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.74rem;
  text-align: center;
}

.error {
  min-height: 20px;
  margin: 0 0 12px;
  color: var(--red);
  font-size: 0.82rem;
  font-weight: 800;
  text-align: center;
}

.result-page {
  min-height: 100dvh;
  background:
    linear-gradient(180deg, var(--night) 0, var(--temple) 520px, var(--paper) 520px),
    var(--paper);
}

.loading-screen {
  position: fixed;
  inset: 0;
  z-index: 100;
  overflow-y: auto;
  padding: 28px;
  color: var(--ink);
  background:
    radial-gradient(circle at 50% 10%, rgba(255, 217, 138, 0.2), transparent 20rem),
    linear-gradient(rgba(239, 224, 194, 0.94), rgba(239, 224, 194, 0.94)),
    repeating-linear-gradient(0deg, transparent 0 23px, rgba(184, 117, 43, 0.07) 24px),
    repeating-linear-gradient(90deg, transparent 0 23px, rgba(184, 117, 43, 0.07) 24px),
    var(--paper);
  transition: opacity 0.45s ease, visibility 0.45s ease;
}

.loading-screen::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(circle at 50% 42%, rgba(255, 246, 214, 0.98), rgba(255, 252, 246, 0.72) 34%, transparent 68%);
  transform: scale(0.72);
}

.loading-screen.bright-reveal::after {
  animation: resultFlash 1.1s ease forwards;
}

.loading-screen.hide {
  visibility: hidden;
  opacity: 0;
}

.loading-review-layer {
  position: fixed;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  overflow: hidden;
}

.loading-review-card {
  position: absolute;
  width: min(260px, calc(100vw - 32px));
  padding: 12px 14px;
  border: 1px solid rgba(201, 144, 58, 0.44);
  border-radius: 16px;
  color: #fff4d8;
  background:
    linear-gradient(135deg, rgba(45, 30, 18, 0.94), rgba(99, 44, 27, 0.86)),
    rgba(38, 24, 15, 0.94);
  box-shadow: 0 14px 32px rgba(43, 24, 11, 0.22), 0 0 0 1px rgba(255, 232, 166, 0.08) inset;
  transform: translate(-50%, -50%) scale(0.94);
  animation: loadingReviewPop 5.2s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.loading-review-card strong {
  display: block;
  margin-bottom: 5px;
  color: #ffd985;
  font-size: 0.76rem;
  line-height: 1.25;
}

.loading-review-card strong span {
  color: rgba(255, 244, 216, 0.72);
  font-weight: 700;
}

.loading-review-card p {
  margin: 0;
  color: rgba(255, 247, 226, 0.94);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.52;
  word-break: keep-all;
}

.loading-box {
  width: min(100%, 390px);
  min-height: calc(100dvh - 56px);
  margin: 0 auto;
  padding: 42px 0 24px;
  position: relative;
  z-index: 1;
}

.loading-kicker {
  margin: 0 0 20px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-align: center;
}

.loading-logo {
  margin-bottom: 18px;
  color: var(--temple);
  font-family: var(--font-serif);
  font-size: 4.8rem;
  font-weight: 900;
  line-height: 1;
  text-align: center;
}

.loading-title {
  margin: 0 0 48px;
  color: var(--gold);
  font-size: 0.86rem;
  letter-spacing: 0.18em;
  text-align: center;
}

.loading-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  color: var(--gold);
  font-size: 0.78rem;
}

.loading-row strong {
  color: #241b14;
  font-size: 1rem;
}

.loading-track {
  height: 3px;
  overflow: hidden;
  background: rgba(185, 131, 53, 0.16);
}

.loading-fill {
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--ember), var(--gold));
  transition: width 0.22s ease;
}

.loading-log {
  margin-top: 20px;
  color: rgba(43, 33, 24, 0.48);
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.55;
}

.loading-checklist {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.loading-checklist li {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 8px;
  align-items: center;
  color: rgba(43, 33, 24, 0.34);
  font-size: 0.84rem;
  font-weight: 700;
}

.loading-checklist i {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 1px solid rgba(170, 63, 37, 0.38);
}

.loading-checklist li.done {
  color: rgba(43, 33, 24, 0.38);
}

.loading-checklist li.done i {
  border: 0;
  background: transparent;
}

.loading-checklist li.done i::before {
  content: "??;
  color: #71d690;
  font-weight: 900;
}

.loading-checklist li.active {
  color: #241b14;
  font-weight: 900;
}

.loading-checklist li.active i {
  border-color: #aa3f25;
  border-top-color: transparent;
  animation: spin 0.8s linear infinite;
}

.inline-teaser-slot {
  margin: 22px 0 34px;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes loadingReviewPop {
  0% {
    opacity: 0;
    transform: translate(-50%, calc(-50% + 14px)) scale(0.9);
  }
  12% {
    opacity: 0.97;
    transform: translate(-50%, -50%) scale(1);
  }
  76% {
    opacity: 0.97;
    transform: translate(-50%, calc(-50% - 6px)) scale(1);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, calc(-50% - 18px)) scale(0.98);
  }
}

.result-reveal .result-hero {
  animation: heroBrightIn 0.95s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.result-reveal .section {
  animation: sectionRise 0.7s ease both;
}

.result-reveal .section:nth-of-type(2) {
  animation-delay: 0.08s;
}

.result-reveal .section:nth-of-type(3) {
  animation-delay: 0.14s;
}

@keyframes resultFlash {
  0% {
    opacity: 0;
    transform: scale(0.72);
  }
  46% {
    opacity: 1;
    transform: scale(1.1);
  }
  100% {
    opacity: 0;
    transform: scale(1.35);
  }
}

@keyframes heroBrightIn {
  from {
    filter: brightness(0.45) saturate(0.8);
    opacity: 0.2;
    transform: scale(1.025);
  }
  62% {
    filter: brightness(1.28) saturate(1.08);
    opacity: 1;
  }
  to {
    filter: brightness(1) saturate(1);
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes sectionRise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.result-hero {
  position: relative;
  min-height: 72dvh;
  overflow: hidden;
  color: #fff0d0;
  background: var(--night);
}

.result-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 62% 20%, rgba(255, 217, 138, 0.26), transparent 25%),
    linear-gradient(145deg, rgba(192, 90, 36, 0.18), transparent 36%),
    repeating-linear-gradient(115deg, rgba(255, 217, 138, 0.035), rgba(255, 217, 138, 0.035) 1px, transparent 1px, transparent 10px);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 72dvh;
  flex-direction: column;
  justify-content: center;
  padding: 74px 24px 42px;
}

.stamp {
  align-self: flex-start;
  border: 1px solid rgba(255, 217, 138, 0.58);
  padding: 11px 13px;
  color: var(--candle);
  font-family: var(--font-serif);
  font-size: 1.55rem;
  line-height: 1.08;
}

.hero-sub {
  margin: 28px 0 8px;
  color: rgba(255, 225, 176, 0.64);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
}

.hero-title {
  margin: 0;
  max-width: 390px;
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 11vw, 3.55rem);
  line-height: 1.1;
  word-break: keep-all;
}

.hero-desc {
  max-width: 22rem;
  margin: 18px 0 0;
  color: rgba(255, 239, 210, 0.76);
  font-size: 0.95rem;
  line-height: 1.75;
  word-break: keep-all;
}

.pill {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  margin-top: 20px;
  border: 1px solid rgba(255, 217, 138, 0.28);
  border-radius: 99px;
  padding: 8px 12px;
  color: #ffe2ad;
  background: rgba(0, 0, 0, 0.18);
  font-size: 0.78rem;
  font-weight: 800;
}

.section {
  width: 100%;
  padding: 28px 20px;
}

.profile-card,
.saju-card,
.analysis-card,
.cta-frame,
.review-card,
.menu-card,
.timeline-card,
.share-card,
.locked-card {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper-2);
  box-shadow: 0 16px 38px rgba(61, 34, 10, 0.11);
}

.profile-card {
  padding: 22px;
}

.combination-card {
  width: 100%;
  overflow: hidden;
  border: 1px dashed rgba(184, 117, 43, 0.46);
  border-radius: 8px;
  padding: 30px 14px 28px;
  background:
    linear-gradient(rgba(255, 240, 207, 0.88), rgba(255, 240, 207, 0.88)),
    repeating-linear-gradient(0deg, transparent 0 23px, rgba(184, 117, 43, 0.07) 24px),
    repeating-linear-gradient(90deg, transparent 0 23px, rgba(184, 117, 43, 0.07) 24px),
    var(--paper);
  text-align: center;
}

.combo-kicker,
.combo-sub,
.combo-caption {
  margin: 0;
  color: #b29471;
  font-size: 0.76rem;
  font-weight: 800;
}

.combo-item {
  display: grid;
  min-width: 0;
  justify-items: center;
  gap: 5px;
}

.combo-item-main {
  margin-top: 12px;
}

.combo-orb {
  display: inline-grid;
  width: 58px;
  height: 58px;
  place-items: center;
  align-content: center;
  border: 2px solid currentColor;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 8px 18px rgba(62, 46, 25, 0.08);
}

.combo-orb-main {
  width: 104px;
  height: 104px;
  box-shadow: 0 10px 24px rgba(62, 46, 25, 0.12);
}

.combo-orb-mbti {
  width: 92px;
  height: 92px;
  box-shadow: 0 12px 26px rgba(43, 33, 24, 0.18);
}

.combo-orb strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.08rem;
  line-height: 1;
}

.combo-orb-main strong {
  font-size: 2.15rem;
}

.combo-orb-mbti strong {
  font-family: var(--font-ui);
  font-size: 1.28rem;
}

.combo-orb small {
  display: block;
  margin-top: 3px;
  color: inherit;
  font-family: var(--font-serif);
  font-size: 0.7rem;
  line-height: 1;
}

.combo-item > span {
  color: #8b7d6b;
  font-size: 0.6rem;
  font-weight: 800;
  line-height: 1.25;
  word-break: keep-all;
}

.combo-plus {
  display: grid;
  min-width: 12px;
  height: 58px;
  align-items: center;
  justify-items: center;
  color: #b29471;
  font-size: 1rem;
  font-weight: 900;
}

.combo-plus-down {
  height: auto;
  margin: 8px 0 10px;
  font-size: 1.1rem;
}

.combo-factor-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 16px minmax(0, 1fr) 16px minmax(0, 1fr);
  align-items: start;
  gap: 7px;
  margin: 0 auto;
}

.combo-mbti-row {
  display: grid;
  justify-items: center;
  margin: 0 auto 18px;
}

.combo-plus-to-mbti {
  margin: 9px 0 10px;
}

.combo-orb.tone-red {
  color: #d3545d;
}

.combo-orb.tone-green {
  color: #2b9b6d;
}

.combo-orb.tone-gold {
  color: #b99050;
}

.combo-orb.tone-ink {
  color: #fff6e8;
  border-color: #2b2118;
  background: #2b2118;
}

.combination-card h2 {
  margin: 20px 0 22px;
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 1.55rem;
  line-height: 1.35;
  word-break: keep-all;
}

.combo-percent {
  margin: 8px 0;
  color: var(--red);
  font-family: var(--font-serif);
  font-size: 2.25rem;
  font-weight: 900;
  text-shadow: 0 8px 18px rgba(185, 52, 43, 0.12);
}

.combo-percent small {
  font-size: 0.95rem;
}

.combo-summary {
  margin: 18px 0 0;
  color: #6b5b49;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.65;
  word-break: keep-all;
}

.share-card {
  display: grid;
  gap: 14px;
  padding: 18px;
  background:
    linear-gradient(135deg, rgba(255, 250, 240, 0.98), rgba(255, 246, 232, 0.98)),
    var(--paper-2);
}

.share-card .section-label {
  margin-bottom: 6px;
}

.share-card h2 {
  margin: 0;
  color: var(--ink);
  font-size: 1.08rem;
  line-height: 1.35;
}

.share-card span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.5;
}

.share-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.share-actions button {
  min-height: 46px;
  border: 1px solid #d9bd92;
  border-radius: 10px;
  color: #2b2118;
  background: #fffaf0;
  font-size: 0.82rem;
  font-weight: 900;
}

.share-actions button:first-child {
  border-color: #fee500;
  color: rgba(0, 0, 0, 0.85);
  background: #fee500;
  box-shadow: 0 8px 18px rgba(254, 229, 0, 0.22);
}

.profile-head {
  display: flex;
  width: 100%;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
}

.profile-head > div:last-child {
  flex: 1;
  min-width: 0;
}

.profile-hanja {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 50%;
  color: var(--red);
  background: #f0e1cc;
  font-family: var(--font-serif);
  font-size: 1.65rem;
  font-weight: 900;
}

.profile-name {
  display: block;
  font-size: 1.08rem;
  font-weight: 900;
}

.profile-type {
  display: block;
  max-width: 100%;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.45;
  white-space: normal;
  word-break: break-all;
  overflow-wrap: anywhere;
}

.stats {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 10px;
  min-width: 0;
}

.stat {
  min-height: 58px;
  min-width: 0;
  border: 1px solid #eadbca;
  border-radius: 7px;
  padding: 10px;
  background: #fff;
}

.stat b {
  display: block;
  color: var(--ink);
  font-size: 0.82rem;
}

.stat span {
  color: var(--red);
  font-family: var(--font-serif);
  font-size: 1.22rem;
  font-weight: 900;
}

.saju-card {
  padding: 20px;
}

.section-label {
  margin: 0 0 10px;
  color: var(--red);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.saju-detail-card {
  padding: 0;
}

.pillar-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 14px 0;
}

.pillar-title-row .section-label {
  margin: 0;
  color: #b89055;
}

.pillar-title-row span {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 900;
}

.pillar-table-wrap {
  width: 100%;
  padding: 14px 12px 8px;
}

.pillar-table {
  width: 100%;
  border: 2px solid #1b1712;
  border-collapse: collapse;
  table-layout: fixed;
  background: #fffaf3;
}

.pillar-table th,
.pillar-table td {
  border: 1px solid #1b1712;
}

.pillar-table thead th {
  height: 36px;
  color: #6d5e4a;
  background: #fbf2e5;
  font-size: 0.74rem;
  font-weight: 900;
}

.pillar-table .corner-cell,
.pillar-table .row-head {
  width: 40px;
}

.pillar-table .row-head {
  background: #f7efe4;
  color: #8b806f;
  font-size: 0.68rem;
  font-weight: 900;
}

.pillar-table .row-head span {
  display: inline-block;
  line-height: 1.25;
  writing-mode: vertical-rl;
}

.pillar-table td {
  height: 132px;
  padding: 0;
  vertical-align: stretch;
}

.day-column {
  color: var(--red) !important;
  background: #fff8ee !important;
}

.pillar-cell-inner {
  display: flex;
  min-height: 132px;
  height: 100%;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  padding: 8px 4px;
  background: #fffaf3;
  text-align: center;
}

.pillar-symbol {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 2px;
  line-height: 1;
}

.pillar-kr {
  font-size: 1.52rem;
  font-weight: 900;
}

.pillar-hj {
  font-family: var(--font-serif);
  font-size: 0.96rem;
  font-weight: 900;
}

.pillar-element {
  color: rgba(21, 18, 15, 0.5);
  font-size: 0.62rem;
  font-weight: 900;
}

.pillar-ten {
  width: 72%;
  max-width: 64px;
  border-top: 1px dashed #e2d4bf;
  padding-top: 4px;
  color: #7a6752;
  font-size: 0.64rem;
  font-weight: 900;
  line-height: 1.25;
}

.pillar-hidden {
  display: block;
  max-width: 100%;
  color: #9a8b78;
  font-size: 0.55rem;
  font-weight: 800;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.sinsal-strip {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border-top: 1px solid #ecdcc5;
  padding: 10px 12px 14px;
  background: #fff7ea;
}

.sinsal-label {
  flex: 0 0 auto;
  color: #b89055;
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 2.1;
}

.sinsal-list {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-wrap: wrap;
  gap: 6px;
}

.sinsal-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: 1px solid #f1c7c7;
  border-radius: 3px;
  padding: 5px 7px;
  color: var(--red);
  background: #fff8f5;
  font-size: 0.68rem;
  font-weight: 900;
  line-height: 1.1;
}

.sinsal-badge b {
  color: #8b806f;
  font-size: 0.62rem;
}

.sinsal-badge small {
  color: #a98383;
  font-size: 0.58rem;
  font-weight: 800;
}

@media (max-width: 380px) {
  .section {
    padding-inline: 14px;
  }

  .pillar-table-wrap {
    padding-inline: 8px;
  }

  .pillar-table .corner-cell,
  .pillar-table .row-head {
    width: 34px;
  }

  .pillar-table td,
  .pillar-cell-inner {
    height: 118px;
    min-height: 118px;
  }

  .pillar-kr {
    font-size: 1.32rem;
  }

  .pillar-hj {
    font-size: 0.82rem;
  }

  .pillar-hidden {
    display: none;
  }

  .sinsal-strip {
    flex-direction: column;
    gap: 6px;
  }

  .analysis-card {
    padding: 14px;
  }

  .analysis-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .stage-grid,
  .year-grid {
    grid-template-columns: 1fr;
  }

  .month-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .star-group {
    grid-template-columns: 1fr;
  }
}

.eight-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.char-tile {
  display: grid;
  min-height: 86px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fffaf3;
}

.char-tile .kr {
  font-size: 0.86rem;
  font-weight: 900;
}

.char-tile .hj {
  font-family: var(--font-serif);
  font-size: 1.68rem;
  font-weight: 900;
}

.tile-wood {
  color: #2e7d4f;
}

.tile-fire {
  color: #b9342b;
}

.tile-earth {
  color: #8b693e;
}

.tile-metal {
  color: #627284;
}

.tile-water {
  color: #304e7a;
}

.tile-bg-wood {
  background: #2e7d4f;
}

.tile-bg-fire {
  background: #b9342b;
}

.tile-bg-earth {
  background: #8b693e;
}

.tile-bg-metal {
  background: #627284;
}

.tile-bg-water {
  background: #304e7a;
}

.detail-stack {
  display: grid;
  gap: 14px;
}

.analysis-card {
  padding: 18px;
}

.analysis-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.analysis-head .section-label {
  margin: 0;
}

.analysis-head span {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 900;
}

.element-list,
.ten-god-list,
.daewoon-list {
  display: grid;
  gap: 10px;
}

.meter-row {
  display: grid;
  gap: 7px;
  border: 1px solid #eadbca;
  border-radius: 7px;
  padding: 11px;
  background: #fff;
}

.meter-label {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.meter-label b {
  font-size: 0.95rem;
  font-weight: 900;
}

.meter-label small {
  margin-left: 3px;
  font-family: var(--font-serif);
  font-size: 0.74rem;
}

.meter-label span {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 900;
  line-height: 1.4;
  text-align: right;
}

.meter-track {
  height: 8px;
  overflow: hidden;
  border-radius: 99px;
  background: #efe3d2;
}

.meter-fill {
  display: block;
  width: calc(var(--value) * 1%);
  height: 100%;
  border-radius: inherit;
}

.meter-row p {
  margin: 0;
  color: #6c5d4b;
  font-size: 0.73rem;
  font-weight: 800;
  line-height: 1.45;
  word-break: keep-all;
}

.ten-god-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 34px;
  align-items: center;
  gap: 7px 12px;
  border: 1px solid #ead3b2;
  border-radius: 7px;
  padding: 12px;
  background: #fff;
}

.ten-god-row.is-active {
  border-color: #d4b06f;
  background: #fffaf3;
}

.ten-god-row b,
.life-card h3,
.stage-card b,
.daewoon-row b,
.year-card b {
  color: var(--ink);
  font-weight: 900;
}

.ten-god-row small,
.daewoon-row small,
.year-card small {
  color: var(--muted);
  font-family: var(--font-serif);
  font-size: 0.68rem;
}

.ten-god-row span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 900;
}

.ten-god-row strong {
  align-self: center;
  border-radius: 99px;
  padding: 5px 0;
  color: white;
  background: linear-gradient(135deg, #c84438, #9f2b24);
  box-shadow: 0 5px 12px rgba(185, 52, 43, 0.2);
  font-size: 0.82rem;
  text-align: center;
}

.ten-god-row p {
  grid-column: 1 / -1;
  margin: 0;
  color: #574b3d;
  font-size: 0.76rem;
  line-height: 1.55;
  word-break: keep-all;
}

.stage-grid,
.life-grid,
.year-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.stage-card,
.life-card,
.year-card {
  min-width: 0;
  border: 1px solid #eadbca;
  border-radius: 7px;
  padding: 12px;
  background: #fff;
}

.stage-card span,
.year-card span {
  display: block;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 900;
}

.stage-card b,
.year-card b {
  display: block;
  margin-top: 4px;
}

.stage-card i,
.year-card i {
  display: inline-block;
  margin-top: 5px;
  color: var(--red);
  font-family: var(--font-serif);
  font-size: 1.24rem;
  font-style: normal;
  font-weight: 900;
}

.stage-card p,
.year-card p {
  margin: 7px 0 0;
  color: #574b3d;
  font-size: 0.72rem;
  line-height: 1.5;
  word-break: keep-all;
}

.star-groups {
  display: grid;
  gap: 9px;
  margin-top: 12px;
}

.star-group {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 8px;
  align-items: start;
}

.star-group b {
  color: #b89055;
  font-size: 0.75rem;
  font-weight: 900;
  line-height: 2;
}

.star-group div {
  display: flex;
  min-width: 0;
  flex-wrap: wrap;
  gap: 6px;
}

.star-group span {
  border: 1px solid #f1c7c7;
  border-radius: 3px;
  padding: 5px 7px;
  color: var(--red);
  background: #fff8f5;
  font-size: 0.68rem;
  font-weight: 900;
}

.life-grid {
  grid-template-columns: 1fr;
}

.life-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.life-card h3 {
  margin: 0;
  font-size: 0.95rem;
}

.life-top strong {
  color: var(--red);
  font-family: var(--font-serif);
  font-size: 1.32rem;
}

.life-card p {
  margin: 8px 0 10px;
  color: #3f352c;
  font-size: 0.82rem;
  line-height: 1.6;
  word-break: keep-all;
}

.life-card dl {
  display: grid;
  gap: 7px;
  margin: 0;
}

.life-card dl div {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 8px;
}

.life-card dt {
  color: #b89055;
  font-size: 0.7rem;
  font-weight: 900;
}

.life-card dd {
  margin: 0;
  color: #625546;
  font-size: 0.74rem;
  line-height: 1.45;
  word-break: keep-all;
}

.daewoon-row {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  gap: 4px 10px;
  border: 1px solid #eadbca;
  border-radius: 7px;
  padding: 10px;
  background: #fff;
}

.daewoon-row.is-current {
  border-color: #d4a24d;
  background: #fff7e8;
}

.daewoon-row span {
  grid-row: span 3;
  color: var(--red);
  font-size: 0.72rem;
  font-weight: 900;
}

.daewoon-row em {
  color: var(--muted);
  font-size: 0.68rem;
  font-style: normal;
  font-weight: 900;
}

.daewoon-row p {
  margin: 0;
  color: #574b3d;
  font-size: 0.72rem;
  line-height: 1.45;
}

.month-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.month-chip {
  min-width: 0;
  border: 1px solid #eadbca;
  border-radius: 7px;
  padding: 9px 6px;
  background: #fff;
  text-align: center;
}

.month-chip b,
.month-chip span,
.month-chip small {
  display: block;
}

.month-chip b {
  color: var(--ink);
  font-size: 0.72rem;
}

.month-chip strong {
  display: block;
  margin-top: 2px;
  color: var(--red);
  font-family: var(--font-serif);
  font-size: 1.08rem;
}

.month-chip span {
  color: #574b3d;
  font-size: 0.68rem;
  font-weight: 900;
}

.month-chip small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.58rem;
  font-weight: 800;
}

.teaser-stack,
.blurred-stack,
.conversion-chart-stack {
  display: grid;
  gap: 14px;
}

.teaser-lock-card {
  border-radius: 10px;
  padding: 20px;
  background: #f2e7d3;
  box-shadow: 0 16px 34px rgba(65, 48, 25, 0.12);
  border-left: 3px solid #caa66a;
}

.teaser-lock-card p,
.teaser-lock-card strong,
.teaser-lock-card i {
  display: block;
}

.teaser-lock-card p {
  margin: 0 0 10px;
  color: #3b3025;
  font-size: 0.94rem;
  font-weight: 900;
  line-height: 1.7;
  word-break: keep-all;
}

.teaser-lock-card strong {
  border-top: 1px solid rgba(89, 67, 42, 0.2);
  padding-top: 12px;
  color: #695b4c;
  font-size: 0.8rem;
  font-weight: 800;
  line-height: 1.7;
  word-break: keep-all;
}

.teaser-lock-card i {
  margin-top: 12px;
  color: #9a8468;
  font-size: 0.76rem;
  font-style: normal;
  font-weight: 900;
}

.masked-word {
  display: inline-block;
  width: var(--mask-ch, 7ch);
  min-width: 64px;
  height: 1.32em;
  border-radius: 4px;
  color: transparent;
  background:
    repeating-linear-gradient(
      -45deg,
      #5d5144 0 7px,
      #766a5c 7px 14px
    );
  vertical-align: baseline;
  user-select: none;
}

.masked-word::selection,
.masked-line::selection {
  color: transparent;
  background: transparent;
}

.flow-mask,
.score-mask {
  display: inline-block;
  width: var(--mask-ch, 6ch);
  min-width: 44px;
  height: 1.1em;
  border-radius: 4px;
  color: transparent;
  background:
    repeating-linear-gradient(
      -45deg,
      #5d5144 0 7px,
      #766a5c 7px 14px
    );
  vertical-align: -0.12em;
  user-select: none;
}

.score-mask {
  width: 2.4ch;
  min-width: 28px;
  height: 1em;
  vertical-align: -0.08em;
}

.score-mask.is-small {
  width: 2.1ch;
  min-width: 24px;
}

.masked-word.premium-mask,
.flow-mask.premium-mask,
.score-mask.premium-mask {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  cursor: help;
  outline: none;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.premium-mask .mask-lock {
  position: relative;
  z-index: 1;
  color: #fff6e8;
  font-size: 0.62rem;
  line-height: 1;
  text-shadow: 0 1px 2px rgba(31, 24, 18, 0.65);
  user-select: none;
}

.score-mask.premium-mask .mask-lock {
  font-size: 0.54rem;
}

.score-mask.is-small.premium-mask .mask-lock {
  font-size: 0.5rem;
}

.premium-mask::before,
.premium-mask::after {
  position: absolute;
  left: 50%;
  z-index: 40;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.16s ease, transform 0.16s ease;
}

.premium-mask::before {
  content: "";
  bottom: calc(100% + 3px);
  width: 0;
  height: 0;
  border: 6px solid transparent;
  border-top-color: #2c231c;
  transform: translate(-50%, -2px);
}

.premium-mask::after {
  content: attr(data-tooltip);
  bottom: calc(100% + 14px);
  max-width: min(220px, calc(100vw - 40px));
  border: 1px solid rgba(222, 192, 148, 0.48);
  border-radius: 7px;
  padding: 8px 10px;
  color: #fff8ed;
  background: #2c231c;
  box-shadow: 0 10px 22px rgba(35, 26, 18, 0.22);
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1.25;
  text-align: center;
  white-space: nowrap;
  transform: translate(-50%, 2px);
}

.premium-mask:hover::before,
.premium-mask:hover::after,
.premium-mask:focus::before,
.premium-mask:focus::after,
.premium-mask.is-tooltip-open::before,
.premium-mask.is-tooltip-open::after {
  opacity: 1;
  transform: translate(-50%, 0);
}

.premium-mask::selection,
.premium-mask .mask-lock::selection {
  color: transparent;
  background: transparent;
}

.flow-mask::selection,
.score-mask::selection {
  color: transparent;
  background: transparent;
}

.blurred-insight {
  padding: 18px 4px 0;
}

.blurred-insight h2 {
  margin: 0 0 20px;
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 1.45rem;
  line-height: 1.35;
  word-break: keep-all;
}

.blurred-insight h2 strong,
.insight-lead b {
  color: #b57920;
}

.insight-lead {
  margin: 0 0 18px;
  color: #4d4034;
  font-size: 0.95rem;
  line-height: 1.9;
  word-break: keep-all;
}

.blur-zone {
  position: relative;
  min-height: 220px;
  border-radius: 10px;
  overflow: hidden;
  padding: 16px 0 76px;
  user-select: none;
}

.masked-line {
  display: block;
  width: var(--w);
  height: 13px;
  margin: 0 0 14px;
  border-radius: 999px;
  background:
    linear-gradient(90deg, rgba(114, 96, 75, 0.08), rgba(114, 96, 75, 0.2), rgba(114, 96, 75, 0.08)),
    #dfd1bc;
  filter: blur(4px);
}

.blur-zone::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(246, 240, 229, 0.35), rgba(246, 240, 229, 0.96) 72%);
}

.blur-lock {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 30px;
  z-index: 1;
  display: grid;
  place-items: center;
  gap: 6px;
  color: #8a765e;
  font-size: 0.78rem;
  font-weight: 900;
  text-align: center;
}

.conversion-card {
  overflow: hidden;
  border: 1px solid #ddc8a6;
  border-radius: 12px;
  background: #fffdf8;
  box-shadow: 0 16px 38px rgba(64, 45, 22, 0.12);
}

.conversion-pad {
  padding: 22px 22px 20px;
}

.conversion-pad > p {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 900;
}

.conversion-pad h2 {
  margin: 0 0 18px;
  color: var(--ink);
  font-size: 1.42rem;
  line-height: 1.3;
}

.wealth-svg {
  display: block;
  width: 100%;
  height: auto;
}

.wealth-chart-wrap {
  position: relative;
  overflow: visible;
  margin-top: 6px;
}

.wealth-lock-zone.premium-mask {
  position: absolute;
  top: 0;
  right: -2px;
  bottom: 0;
  width: 37%;
  z-index: 5;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  border-left: 0;
  border-radius: 0 8px 8px 0;
  padding-top: 31px;
  cursor: help;
  overflow: visible;
  background:
    linear-gradient(90deg, rgba(246, 240, 229, 0) 0, rgba(255, 253, 248, 0.42) 18%, rgba(255, 253, 248, 0.56) 100%),
    repeating-linear-gradient(45deg, rgba(68, 54, 39, 0.12) 0 8px, rgba(229, 207, 168, 0.18) 8px 16px),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.18) 0 7px, rgba(159, 120, 55, 0.08) 7px 14px);
  background-size: auto, 18px 18px, 16px 16px;
  backdrop-filter: blur(3.4px) saturate(0.9);
  -webkit-backdrop-filter: blur(3.4px) saturate(0.9);
  box-shadow:
    -18px 0 28px rgba(246, 240, 229, 0.62),
    inset 14px 0 24px rgba(255, 253, 248, 0.28);
  -webkit-mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0) 0, rgba(0, 0, 0, 0.52) 18px, #000 48px);
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0) 0, rgba(0, 0, 0, 0.52) 18px, #000 48px);
}

.wealth-lock-zone.premium-mask .mask-lock {
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  border: 1px solid rgba(255, 248, 230, 0.65);
  border-radius: 50%;
  color: #fff8ea;
  background: rgba(50, 39, 28, 0.82);
  box-shadow: 0 8px 18px rgba(50, 39, 28, 0.2);
}

.wealth-lock-zone.premium-mask::before {
  top: 40px;
  bottom: auto;
  border-top-color: transparent;
  border-bottom-color: #2c231c;
}

.wealth-lock-zone.premium-mask::after {
  top: 52px;
  bottom: auto;
  width: max-content;
  max-width: 150px;
  white-space: normal;
}

.fortune-map {
  position: relative;
  height: 280px;
}

.fortune-map svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.fortune-node {
  position: absolute;
  left: var(--x);
  top: var(--y);
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  transform: translate(-50%, -50%);
  border: 1px solid #bea36e;
  border-radius: 50%;
  color: #fff9ec;
  background: radial-gradient(circle at 35% 28%, #665642, #241d17 70%);
  box-shadow: 0 7px 18px rgba(32, 24, 18, 0.3);
  font-size: 0.9rem;
  font-weight: 900;
}

.fortune-node.is-active {
  width: 70px;
  height: 70px;
  box-shadow: 0 9px 22px rgba(76, 52, 24, 0.45);
}

.fortune-node.is-muted {
  color: rgba(74, 59, 42, 0.16);
  background: rgba(217, 207, 188, 0.36);
  box-shadow: none;
}

.map-summary {
  margin: 8px 0 0;
  color: #5b4f42;
  font-size: 0.82rem;
  line-height: 1.65;
  word-break: keep-all;
}

.locked-panel {
  padding: 20px;
  color: #fff6e9;
  background: #2b221b;
}

.locked-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding-bottom: 14px;
}

.locked-panel-head b {
  font-size: 1rem;
}

.locked-panel-head b span {
  display: inline-grid;
  width: 22px;
  height: 22px;
  place-items: center;
  margin-right: 8px;
  border-radius: 50%;
  background: #b89055;
}

.locked-panel-head i {
  color: rgba(255, 255, 255, 0.7);
  font-style: normal;
  font-size: 1.5rem;
}

.locked-panel ul,
.secret-offer ul {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.locked-panel li {
  color: #fff9eb;
  font-size: 0.88rem;
  font-weight: 900;
  line-height: 1.4;
}

.locked-panel li span {
  display: inline-grid;
  width: 22px;
  height: 22px;
  place-items: center;
  margin-right: 8px;
  border-radius: 50%;
  color: white;
  background: #b89055;
}

.deep-report-card,
.secret-offer,
.live-proof {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #d8c5aa;
  background: #fffaf3;
  box-shadow: 0 16px 40px rgba(49, 38, 25, 0.1);
}

.deep-report-card {
  padding: 24px 18px;
}

.deep-report-head {
  text-align: center;
}

.deep-report-head h2 {
  margin: 0 0 8px;
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 1.25rem;
}

.deep-report-head p {
  margin: 0 0 10px;
  color: #c19a62;
  font-size: 0.76rem;
  font-weight: 900;
}

.deep-report-head span {
  display: inline-block;
  border-radius: 3px;
  padding: 5px 9px;
  color: white;
  background: var(--red);
  font-size: 0.65rem;
  font-weight: 900;
}

.report-sections {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.report-section {
  overflow: hidden;
  border: 1px solid #e4d3bd;
  border-radius: 8px;
  background: white;
}

.report-section button {
  display: grid;
  width: 100%;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  gap: 3px 10px;
  align-items: center;
  border: 0;
  padding: 18px;
  background: transparent;
  text-align: left;
}

.report-section button span {
  grid-row: span 2;
  color: #cfb999;
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 900;
}

.report-section button b {
  color: var(--ink);
  font-size: 0.95rem;
}

.report-section button small {
  color: #b09778;
  font-size: 0.68rem;
  font-weight: 900;
}

.report-section button em {
  grid-row: span 2;
  color: #b39b7b;
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 900;
}

.report-lines {
  display: grid;
  gap: 9px;
  border-top: 1px solid #eadbca;
  padding: 14px 18px 18px;
}

.report-lines p {
  margin: 0;
  color: #7a6b58;
  font-size: 0.76rem;
  line-height: 1.55;
  word-break: keep-all;
}

.report-lines .is-free {
  color: #477d58;
}

.report-lines .is-locked {
  color: #b18a54;
}

.unlock-progress {
  margin-top: 18px;
  border: 1px solid #eadbca;
  border-radius: 8px;
  padding: 12px;
  background: white;
}

.unlock-progress div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: #7a6b58;
  font-size: 0.72rem;
  font-weight: 900;
}

.unlock-progress i {
  display: block;
  height: 6px;
  margin: 8px 0;
  overflow: hidden;
  border-radius: 99px;
  background: #e6d6c0;
}

.unlock-progress i span {
  display: block;
  width: calc(var(--value) * 1%);
  height: 100%;
  background: var(--red);
}

.unlock-progress p {
  margin: 0;
  color: #b09778;
  font-size: 0.68rem;
  font-weight: 800;
  text-align: center;
}

.secret-offer {
  border-top: 4px solid var(--red);
  padding: 24px 22px;
  color: #fff3de;
  background: #251b14;
  text-align: center;
}

.secret-offer > p {
  margin: 0 0 12px;
  color: #d2a35e;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.secret-offer h2 {
  margin: 0 0 18px;
  color: #fff2d8;
  font-size: 1.28rem;
  line-height: 1.45;
  word-break: keep-all;
}

.secret-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5px;
}

.secret-grid span {
  border: 1px solid rgba(211, 166, 96, 0.36);
  padding: 9px 6px;
  color: #f4d29d;
  font-size: 0.75rem;
  font-weight: 900;
}

.secret-offer > strong {
  display: block;
  margin: 18px 0;
  color: #d7a464;
  font-size: 0.86rem;
  line-height: 1.6;
}

.offer-price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 14px;
  font-size: 0.78rem;
}

.offer-price-row del {
  color: rgba(255, 255, 255, 0.42);
}

.offer-price-row b {
  color: white;
  font-size: 1rem;
}

.offer-price-row em {
  color: #d7a464;
  font-style: normal;
  font-weight: 900;
}

.gold-cta {
  margin-top: 18px;
  color: #20170f;
  background: linear-gradient(135deg, #e4be75, #c58e45);
}

.secret-offer li {
  color: rgba(255, 243, 222, 0.72);
  font-size: 0.72rem;
  font-weight: 900;
  text-align: left;
}

.live-proof {
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.live-head {
  border-radius: 7px;
  padding: 12px;
  color: white;
  background: #251b14;
}

.live-head b,
.live-head span {
  display: block;
}

.live-head b {
  font-size: 0.82rem;
}

.live-head i {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 6px;
  border-radius: 50%;
  background: #4cc36d;
}

.live-head span {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.66rem;
  font-weight: 900;
}

.purchase-feed {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.purchase-row {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 9px;
  align-items: center;
  border: 1px solid #e2d4bf;
  border-radius: 7px;
  padding: 9px;
  background: #fffdf8;
}

.purchase-row > span {
  display: grid;
  height: 36px;
  place-items: center;
  border-radius: 50%;
  color: #b09778;
  background: #f4ecdf;
  font-size: 0.62rem;
  font-weight: 900;
}

.purchase-row b,
.purchase-row small,
.purchase-row em {
  display: block;
}

.purchase-row b {
  color: #704420;
  font-size: 0.76rem;
}

.purchase-row small {
  color: #aa9a86;
  font-size: 0.62rem;
  font-weight: 900;
}

.purchase-row em {
  color: #43b86a;
  font-size: 0.68rem;
  font-style: normal;
  font-weight: 900;
}

.review-proof-title {
  margin-top: 42px;
  text-align: center;
}

.review-proof-title p {
  margin: 0 0 12px;
  color: #3b3025;
  font-family: var(--font-serif);
  font-size: 1rem;
  line-height: 1.65;
}

.review-proof-title p b {
  color: var(--red);
}

.review-proof-title span {
  display: inline-block;
  border-radius: 5px;
  padding: 9px 14px;
  color: white;
  background: var(--red);
  font-size: 0.78rem;
  font-weight: 900;
}

.article {
  color: #2a241f;
}

.article h2 {
  margin: 22px 0 14px;
  font-family: var(--font-serif);
  font-size: 1.45rem;
  line-height: 1.35;
  word-break: keep-all;
}

.article h2:first-child {
  margin-top: 0;
}

.article p {
  margin: 0 0 15px;
  color: #3f352c;
  font-size: 0.98rem;
  line-height: 1.9;
  word-break: keep-all;
}

.article strong {
  color: var(--red);
}

.focus-card {
  display: flex;
  min-height: 72px;
  align-items: center;
  margin-top: 26px;
  margin-bottom: 18px;
  border: 1px solid #dfc8a1;
  border-left: 4px solid #2e7d73;
  border-radius: 8px;
  padding: 14px 16px;
  background: linear-gradient(180deg, #fffbf3, #fff7ea);
  box-shadow: 0 10px 24px rgba(83, 59, 26, 0.08);
}

.focus-top {
  display: grid;
  width: 100%;
  grid-template-columns: max-content minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  min-height: 40px;
  margin-bottom: 0;
}

.focus-badge {
  display: inline-flex;
  min-width: 72px;
  height: 32px;
  align-items: center;
  justify-content: center;
  border-radius: 99px;
  padding: 0 12px;
  color: white;
  background: linear-gradient(135deg, #2f8f82, #1f635b);
  box-shadow: 0 6px 14px rgba(46, 125, 115, 0.18);
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.focus-copy {
  flex: 1;
  margin: 0;
  color: #4f4337;
  font-size: 0.86rem;
  line-height: 1.58;
  text-align: left;
  word-break: keep-all;
}

.article p.focus-copy-text {
  margin: 0;
}

.cta-frame {
  padding: 24px;
  text-align: center;
}

.cta-lead {
  margin: 0 0 10px;
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 900;
}

.cta-price {
  margin: 8px 0 16px;
  color: var(--red);
  font-family: var(--font-serif);
  font-size: 2.4rem;
  font-weight: 900;
}

.cta-old {
  color: var(--muted);
  text-decoration: line-through;
}

.result-cta {
  display: inline-flex;
  width: 100%;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 12px;
  color: #fff8ee;
  background: var(--ink);
  font-weight: 900;
}

.reviews {
  display: grid;
  gap: 12px;
}

.review-card {
  padding: 18px;
}

.review-stars {
  float: right;
  color: #dfa333;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
}

.review-card h3 {
  margin: 0 0 8px;
  max-width: 75%;
  color: var(--ink);
  font-size: 1.12rem;
  line-height: 1.4;
  word-break: keep-all;
}

.review-user {
  display: block;
  margin-bottom: 12px;
  color: #a3917b;
  font-size: 0.76rem;
  font-weight: 900;
}

.review-card p {
  margin: 0;
  clear: both;
  color: #3f352c;
  font-size: 0.92rem;
  line-height: 1.8;
  word-break: keep-all;
}

.review-meta {
  display: flex;
  justify-content: space-between;
  margin-top: 14px;
  color: #5f7a39;
  font-size: 0.76rem;
  font-weight: 900;
}

.menu-card {
  padding: 20px;
}

.timeline-card,
.locked-card {
  padding: 20px;
}

.timeline-list,
.locked-list {
  display: grid;
  gap: 10px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  border: 1px solid #ebddc9;
  border-radius: 7px;
  padding: 12px;
  background: #fff;
}

.timeline-age {
  color: var(--red);
  font-family: var(--font-serif);
  font-size: 1.08rem;
  font-weight: 900;
}

.timeline-copy b,
.locked-item b {
  display: block;
  margin-bottom: 4px;
  font-size: 0.9rem;
}

.timeline-copy span,
.locked-item span {
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.55;
}

.locked-item {
  position: relative;
  border: 1px solid #ebddc9;
  border-radius: 7px;
  padding: 13px 44px 13px 13px;
  background: #fff;
}

.locked-item::after {
  content: "?醫?";
  position: absolute;
  top: 12px;
  right: 12px;
  color: var(--red);
  font-size: 0.72rem;
  font-weight: 900;
}

.menu-list {
  display: grid;
  gap: 9px;
}

.menu-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid #ebddc9;
  border-radius: 7px;
  padding: 12px;
  background: #fff;
}

.menu-item b {
  font-size: 0.86rem;
}

.lock {
  color: var(--red);
  font-size: 0.76rem;
  font-weight: 900;
}

.premium-access-card,
.premium-report-card,
.premium-summary-card,
.premium-chart-card,
.shaman-media-card,
.premium-toc-card,
.premium-part-card,
.premium-detail-section,
.premium-flow-card,
.premium-table-card,
.premium-closing {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  border: 1px solid #deccb0;
  border-radius: 8px;
  background: var(--paper-2);
  box-shadow: 0 14px 34px rgba(64, 45, 22, 0.08);
}

.premium-access-card {
  display: grid;
  gap: 16px;
  padding: 20px;
}

.premium-access-card h2,
.premium-hero h2,
.purchase-sheet h2 {
  margin: 4px 0 8px;
  font-family: var(--font-serif);
  font-size: 1.55rem;
  line-height: 1.28;
  word-break: keep-all;
}

.premium-access-card span,
.premium-note,
.premium-warning,
.purchase-copy,
.purchase-message {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.7;
  word-break: keep-all;
}

.premium-warning,
.purchase-message {
  border-left: 4px solid var(--red);
  border-radius: 8px;
  padding: 12px 14px;
  color: #6e211b;
  background: rgba(185, 52, 43, 0.08);
  font-weight: 800;
}

.premium-access-actions,
.share-actions {
  display: grid;
  gap: 8px;
}

.soft-btn,
.ghost-btn,
.kakao-btn {
  display: inline-flex;
  width: 100%;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-weight: 900;
}

.kakao-btn {
  border: 0;
  color: #191600;
  background: #fee500;
}

.soft-btn {
  border: 0;
  color: #fff8ed;
  background: linear-gradient(135deg, var(--red), #8f2b25);
}

.ghost-btn {
  border: 1px solid #d8c7ac;
  color: var(--ink);
  background: #fffaf0;
}

button:disabled {
  cursor: wait;
  opacity: 0.62;
}

.premium-report-card {
  padding: 0;
  background:
    linear-gradient(rgba(255, 250, 240, 0.94), rgba(255, 250, 240, 0.94)),
    repeating-linear-gradient(0deg, transparent 0 23px, rgba(185, 131, 53, 0.06) 24px),
    repeating-linear-gradient(90deg, transparent 0 23px, rgba(185, 131, 53, 0.06) 24px),
    var(--paper-2);
}

.premium-hero {
  border-bottom: 1px solid #e2d4bf;
  padding: 26px 22px;
  background:
    linear-gradient(135deg, rgba(43, 33, 24, 0.96), rgba(29, 22, 16, 0.98)),
    var(--ink);
  color: #fff7e7;
}

.premium-hero span,
.premium-hero em {
  display: inline-flex;
  border: 1px solid rgba(226, 189, 112, 0.36);
  border-radius: 99px;
  padding: 7px 10px;
  color: var(--gold-2);
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 900;
}

.premium-hero p {
  margin: 0 0 16px;
  color: rgba(255, 247, 231, 0.78);
  font-size: 0.92rem;
  line-height: 1.75;
  word-break: keep-all;
}

.premium-summary-grid,
.premium-chart-grid,
.premium-flow-grid,
.premium-table-grid,
.premium-section-stack,
.premium-part-stack {
  display: grid;
  gap: 12px;
  padding: 16px;
}

.premium-summary-card {
  padding: 16px;
}

.premium-summary-card span,
.premium-chart-head span,
.premium-detail-section > div > span {
  display: block;
  margin-bottom: 6px;
  color: var(--gold);
  font-size: 0.74rem;
  font-weight: 900;
}

.premium-summary-card b,
.premium-chart-head b {
  display: block;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.35;
}

.premium-summary-card p {
  margin: 10px 0 0;
  color: #473b30;
  font-size: 0.88rem;
  line-height: 1.72;
  word-break: keep-all;
}

.shaman-media-card {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  margin: 16px;
  padding: 14px;
  background:
    linear-gradient(135deg, rgba(43, 33, 24, 0.96), rgba(31, 23, 18, 0.98)),
    #1f1712;
  color: #fff7e7;
}

.shaman-media-card.is-compact {
  margin: 14px 0 18px;
  grid-template-columns: 84px minmax(0, 1fr);
}

.shaman-media-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(226, 189, 112, 0.38);
  border-radius: 8px;
  aspect-ratio: 1;
  background:
    radial-gradient(circle at 50% 34%, rgba(226, 189, 112, 0.26), transparent 42%),
    #15120f;
}

.shaman-media-frame img,
.shaman-media-frame video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shaman-media-placeholder {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  color: var(--gold-2);
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 900;
}

.shaman-media-copy span,
.premium-toc-head span,
.premium-part-head span,
.premium-chapter-body > span {
  display: block;
  margin-bottom: 6px;
  color: var(--gold-2);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0;
}

.shaman-media-copy b {
  display: block;
  color: #fff7e7;
  font-family: var(--font-serif);
  font-size: 1.22rem;
  line-height: 1.25;
}

.shaman-media-copy p {
  margin: 8px 0 0;
  color: rgba(255, 247, 231, 0.82);
  font-size: 0.88rem;
  line-height: 1.72;
  word-break: keep-all;
}

.premium-toc-card {
  margin: 16px;
  padding: 18px;
  background: rgba(255, 252, 246, 0.84);
}

.premium-toc-head b {
  display: block;
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 1.34rem;
}

.premium-toc-head p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.65;
  word-break: keep-all;
}

.premium-toc-list {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}

.premium-toc-item {
  display: grid;
  gap: 4px;
  border: 1px solid #eadcc7;
  border-radius: 8px;
  padding: 12px;
  color: inherit;
  background: #fffaf0;
  text-decoration: none;
}

.premium-toc-item span {
  color: var(--red);
  font-size: 0.68rem;
  font-weight: 900;
}

.premium-toc-item b {
  font-size: 0.93rem;
  line-height: 1.35;
}

.premium-toc-item em {
  color: var(--muted);
  font-size: 0.72rem;
  font-style: normal;
  line-height: 1.5;
  word-break: keep-all;
}

.premium-part-card {
  padding: 0;
  background: rgba(255, 252, 246, 0.9);
}

.premium-part-head {
  border-bottom: 1px solid #e6d6bf;
  padding: 20px 18px 16px;
  background:
    linear-gradient(90deg, rgba(185, 52, 43, 0.08), transparent 62%),
    #fffaf0;
}

.premium-part-head h3 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 1.42rem;
  line-height: 1.3;
  word-break: keep-all;
}

.premium-chapter-stack {
  display: grid;
  gap: 0;
}

.premium-chapter {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  padding: 20px 18px;
  border-top: 1px solid rgba(226, 212, 191, 0.72);
}

.premium-chapter:first-child {
  border-top: 0;
}

.premium-chapter-index {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 999px;
  color: #fff8ed;
  background: var(--red);
  font-family: var(--font-serif);
  font-size: 0.86rem;
  font-weight: 900;
}

.premium-chapter-body h4 {
  margin: 0 0 12px;
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 1.36rem;
  line-height: 1.42;
  word-break: keep-all;
}

.premium-chapter-body blockquote {
  margin: 0 0 16px;
  border-left: 4px solid var(--gold);
  border-radius: 0 8px 8px 0;
  padding: 12px 14px;
  color: #6e211b;
  background: rgba(185, 132, 44, 0.1);
  font-size: 0.94rem;
  font-weight: 900;
  line-height: 1.75;
  word-break: keep-all;
}

.premium-chapter-body p {
  margin: 0 0 14px;
  color: #3f352c;
  font-size: 0.94rem;
  line-height: 1.92;
  word-break: keep-all;
}

.premium-chapter-points {
  display: grid;
  gap: 8px;
  margin: 16px 0;
  padding: 0;
  list-style: none;
}

.premium-chapter-points li {
  position: relative;
  border: 1px solid #eadcc7;
  border-radius: 8px;
  padding: 10px 12px 10px 34px;
  color: #42362b;
  background: #fffaf0;
  font-size: 0.84rem;
  font-weight: 800;
  line-height: 1.55;
  word-break: keep-all;
}

.premium-chapter-points li::before {
  content: "";
  position: absolute;
  top: 16px;
  left: 14px;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--red);
  box-shadow: 0 0 0 4px rgba(185, 52, 43, 0.12);
}

.premium-chapter-body > .premium-chart-card,
.premium-chapter-body > .premium-flow-card,
.premium-chapter-body > .premium-table-grid {
  margin: 18px 0;
}

.premium-table-grid.is-inline {
  padding: 0;
}

.premium-chapter-body > strong {
  display: block;
  margin-top: 16px;
  border-top: 1px solid #e2d4bf;
  padding-top: 14px;
  color: #8a2b24;
  font-size: 0.92rem;
  line-height: 1.7;
  word-break: keep-all;
}

.premium-chart-card,
.premium-flow-card,
.premium-table-card {
  border-color: rgba(255, 217, 138, 0.18);
  padding: 16px;
  color: #fff2d8;
  background:
    linear-gradient(135deg, rgba(35, 22, 12, 0.82), rgba(12, 8, 5, 0.92)),
    rgba(13, 8, 5, 0.9);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
}

.premium-chart-head {
  margin-bottom: 12px;
}

.premium-chart-card .premium-chart-head span,
.premium-flow-card .premium-chart-head span,
.premium-table-card .premium-chart-head span {
  color: #ffcf72;
}

.premium-chart-card .premium-chart-head b,
.premium-flow-card .premium-chart-head b,
.premium-table-card h3 {
  color: #fff2d8;
  font-family: var(--font-title);
}

.premium-radar,
.premium-wealth {
  display: block;
  width: 100%;
  height: auto;
}

.premium-wealth {
  border: 1px solid rgba(255, 217, 138, 0.12);
  border-radius: 12px;
  background:
    linear-gradient(rgba(255, 240, 207, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 240, 207, 0.04) 1px, transparent 1px),
    rgba(255, 240, 207, 0.035);
  background-size: 100% 34px, 64px 100%, auto;
  filter: drop-shadow(0 14px 18px rgba(0, 0, 0, 0.24));
}

.premium-radar text,
.premium-wealth text {
  fill: rgba(255, 235, 198, 0.68);
  font-size: 10px;
  font-weight: 800;
}

.premium-wealth .premium-wealth-value {
  fill: #fff0bf;
  font-size: 12px;
  font-weight: 900;
  paint-order: stroke;
  stroke: rgba(10, 7, 5, 0.88);
  stroke-linejoin: round;
  stroke-width: 4px;
}

.premium-bars {
  display: grid;
  gap: 12px;
}

.premium-bar-row {
  display: grid;
  grid-template-columns: minmax(92px, 1fr) minmax(90px, 1.2fr) 44px;
  align-items: center;
  gap: 10px;
}

.premium-bar-row b {
  display: block;
  color: #fff2d8;
  font-size: 0.86rem;
}

.premium-bar-row span {
  display: block;
  margin-top: 2px;
  color: rgba(255, 235, 198, 0.7);
  font-size: 0.68rem;
  line-height: 1.35;
}

.premium-bar-row i {
  height: 9px;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(255, 240, 207, 0.12);
}

.premium-bar-row em {
  display: block;
  width: calc(var(--value) * 1%);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--red), var(--gold));
}

.premium-bar-row strong {
  color: #ffd67e;
  font-size: 0.82rem;
  text-align: right;
}

.premium-column-bars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  align-items: end;
  min-height: 180px;
}

.premium-column {
  display: grid;
  height: 180px;
  align-content: end;
  justify-items: center;
  gap: 6px;
}

.premium-column i {
  display: block;
  width: 22px;
  height: calc(var(--value) * 1.25px);
  min-height: 28px;
  border-radius: 99px 99px 6px 6px;
  background: linear-gradient(180deg, var(--red), var(--gold));
}

.premium-column b {
  color: rgba(255, 235, 198, 0.72);
  font-size: 0.76rem;
  text-align: center;
}

.premium-column span {
  color: #ffd67e;
  font-size: 0.74rem;
  font-weight: 900;
}

.premium-detail-section {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 12px;
  padding: 18px;
}

.premium-section-number {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 999px;
  color: #fff8ed;
  background: var(--red);
  font-family: var(--font-serif);
  font-weight: 900;
}

.premium-detail-section h3 {
  margin: 0 0 12px;
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 1.35rem;
  line-height: 1.38;
  word-break: keep-all;
}

.premium-detail-section p {
  margin: 0 0 12px;
  color: #3f352c;
  font-size: 0.93rem;
  line-height: 1.9;
  word-break: keep-all;
}

.premium-detail-section strong {
  display: block;
  margin-top: 14px;
  border-top: 1px solid #e2d4bf;
  padding-top: 12px;
  color: #8a2b24;
  font-size: 0.9rem;
  line-height: 1.7;
  word-break: keep-all;
}

.premium-flow-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.premium-flow-item {
  border: 1px solid rgba(255, 217, 138, 0.14);
  border-radius: 11px;
  padding: 10px;
  background: rgba(255, 240, 207, 0.045);
}

.premium-flow-item span,
.premium-flow-item em {
  display: block;
  color: rgba(255, 235, 198, 0.72);
  font-size: 0.7rem;
  font-style: normal;
  line-height: 1.35;
}

.premium-flow-item b {
  display: block;
  margin: 4px 0;
  color: #fff0bf;
  font-family: var(--font-serif);
  font-size: 1.35rem;
}

.premium-flow-card.is-monthly .premium-flow-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.premium-flow-card.is-monthly .premium-flow-item {
  display: grid;
  gap: 8px;
  min-height: 150px;
}

.premium-flow-month-head {
  display: block;
}

.premium-flow-month-head b {
  margin: 0;
  color: #ffd67e;
  font-size: 1.55rem;
  line-height: 1;
  white-space: nowrap;
}

.premium-flow-heading {
  display: block;
  margin-top: -2px;
  color: #fff2d8;
  font-size: 0.84rem;
  font-weight: 900;
  line-height: 1.4;
  word-break: keep-all;
}

.premium-flow-card.is-monthly .premium-flow-item strong {
  display: block;
  color: #ef5a45;
  font-size: 1.18rem;
  line-height: 1;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.45);
}

.premium-table-card h3 {
  margin: 0 0 12px;
  color: #fff2d8;
  font-family: var(--font-serif);
  font-size: 1.12rem;
}

.premium-table-card table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.78rem;
}

.premium-table-card th,
.premium-table-card td {
  border-top: 1px solid rgba(255, 217, 138, 0.12);
  padding: 10px 8px;
  color: rgba(255, 235, 198, 0.84);
  line-height: 1.55;
  text-align: left;
  vertical-align: top;
  word-break: keep-all;
}

.premium-table-card th {
  width: 28%;
  color: #ffd67e;
  font-weight: 900;
}

.premium-closing {
  margin: 16px;
  padding: 18px;
  background: linear-gradient(135deg, #31261d, #1f1712);
  color: #fff7e7;
}

.premium-closing b {
  display: block;
  margin-bottom: 8px;
  color: var(--gold-2);
}

.premium-closing p {
  margin: 0;
  color: rgba(255, 247, 231, 0.82);
  font-size: 0.92rem;
  line-height: 1.78;
  word-break: keep-all;
}

.purchase-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: end center;
  padding: 18px;
}

.purchase-dim {
  position: absolute;
  inset: 0;
  background: rgba(12, 10, 8, 0.68);
  backdrop-filter: blur(8px);
}

.purchase-sheet {
  position: relative;
  z-index: 1;
  width: min(100%, 438px);
  max-height: min(92dvh, 860px);
  overflow: auto;
  border: 1px solid rgba(255, 217, 138, 0.28);
  border-radius: 22px 22px 0 0;
  padding: 24px 18px calc(24px + env(safe-area-inset-bottom));
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 217, 138, 0.13), transparent 36%),
    linear-gradient(180deg, rgba(28, 18, 12, 0.98), rgba(8, 5, 4, 0.98));
  box-shadow: 0 -18px 60px rgba(0, 0, 0, 0.52);
  color: #fff1d7;
}

.purchase-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid rgba(255, 217, 138, 0.28);
  border-radius: 999px;
  color: #ffe2ad;
  background: rgba(255, 217, 138, 0.06);
  font-size: 1.35rem;
  line-height: 1;
}

.purchase-steps {
  display: flex;
  justify-content: center;
  gap: 7px;
  margin-bottom: 18px;
}

.purchase-steps i {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: rgba(255, 217, 138, 0.24);
}

.purchase-steps i.active {
  width: 34px;
  background: var(--gold);
}

.purchase-sheet h2 {
  margin: 0 0 10px;
  color: #fff2d8;
  font-family: var(--font-serif);
  font-size: 1.72rem;
  line-height: 1.25;
  text-align: center;
}

.purchase-copy {
  margin: 0 0 16px;
  color: rgba(255, 235, 198, 0.72);
  font-size: 0.88rem;
  line-height: 1.65;
  word-break: keep-all;
}

.purchase-copy.is-warning {
  display: flex;
  align-items: center;
  gap: 7px;
  color: rgba(255, 235, 198, 0.78);
}

.purchase-copy.is-warning::before {
  content: "??;
  color: #ffd67e;
}

.purchase-order-card {
  display: grid;
  gap: 14px;
  margin: 14px 0;
  border: 1px solid rgba(255, 217, 138, 0.18);
  border-radius: 16px;
  padding: 16px;
  background: rgba(255, 240, 207, 0.045);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
}

.purchase-order-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.purchase-order-head b,
.purchase-order-card h3 {
  margin: 0;
  color: #fff2d8;
  font-size: 1rem;
  line-height: 1.3;
}

.purchase-order-head button {
  border: 0;
  border-radius: 999px;
  padding: 7px 11px;
  color: rgba(255, 235, 198, 0.82);
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.76rem;
  font-weight: 900;
}

.purchase-info-rows {
  display: grid;
}

.purchase-info-rows dl,
.purchase-price-lines dl,
.purchase-business-info dl {
  display: grid;
  grid-template-columns: minmax(92px, 0.75fr) minmax(0, 1fr);
  gap: 10px;
  margin: 0;
  border-top: 1px solid rgba(255, 217, 138, 0.1);
  padding: 12px 0 0;
}

.purchase-info-rows dl:first-child,
.purchase-price-lines dl:first-child {
  border-top: 0;
  padding-top: 0;
}

.purchase-info-rows dt,
.purchase-price-lines dt,
.purchase-business-info dt {
  color: rgba(255, 235, 198, 0.58);
  font-size: 0.84rem;
}

.purchase-info-rows dd,
.purchase-price-lines dd,
.purchase-business-info dd {
  margin: 0;
  color: #fff1d7;
  font-size: 0.9rem;
  font-weight: 800;
  text-align: right;
  word-break: keep-all;
}

.purchase-phone-field {
  display: grid;
  gap: 8px;
  margin: 14px 0;
}

.purchase-phone-field span {
  color: #fff2d8;
  font-size: 0.9rem;
  font-weight: 900;
}

.purchase-phone-field b {
  color: #ff5d4e;
}

.purchase-phone-field input {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid rgba(255, 217, 138, 0.18);
  border-radius: 13px;
  padding: 14px 15px;
  color: #fff2d8;
  background: rgba(255, 255, 255, 0.06);
  font-size: 1rem;
  outline: none;
}

.purchase-phone-field input:focus {
  border-color: rgba(255, 214, 126, 0.58);
  box-shadow: 0 0 0 3px rgba(255, 214, 126, 0.1);
}

.purchase-phone-field small,
.purchase-method-card p {
  color: rgba(255, 235, 198, 0.56);
  font-size: 0.78rem;
  line-height: 1.5;
}

.purchase-price-lines {
  display: grid;
  gap: 12px;
}

.purchase-price-lines del {
  color: rgba(255, 235, 198, 0.44);
}

.purchase-price-lines .is-coupon dt,
.purchase-price-lines .is-coupon dd {
  color: #ffde8d;
}

.purchase-price-lines .is-total {
  align-items: baseline;
}

.purchase-price-lines .is-total dt {
  color: #fff2d8;
  font-weight: 900;
}

.purchase-price-lines .is-total dd {
  color: #ffd67e;
  font-family: var(--font-serif);
  font-size: 1.52rem;
}

.purchase-coupon-note {
  display: flex;
  align-items: center;
  gap: 9px;
  border-radius: 13px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.06);
}

.purchase-coupon-note span {
  color: #ffd67e;
  font-size: 1.1rem;
}

.purchase-coupon-note p {
  margin: 0;
  color: rgba(255, 235, 198, 0.72);
  font-size: 0.86rem;
}

.purchase-coupon-field {
  display: grid;
  gap: 8px;
  margin-top: 2px;
}

.purchase-coupon-field > span {
  color: #fff2d8;
  font-size: 0.84rem;
  font-weight: 900;
}

.purchase-coupon-control {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 217, 138, 0.16);
  border-radius: 13px;
  padding: 2px;
  background: rgba(255, 255, 255, 0.055);
}

.purchase-coupon-field input {
  width: 100%;
  border: 0;
  border-radius: 11px;
  padding: 13px 14px;
  color: #fff2d8;
  background: transparent;
  font-size: 0.98rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  outline: none;
  text-transform: uppercase;
}

.purchase-coupon-control button {
  min-width: 68px;
  height: 42px;
  border: 0;
  border-radius: 10px;
  color: #201104;
  background: linear-gradient(135deg, #ffe08a, #c78327);
  font-weight: 900;
  cursor: pointer;
}

.purchase-coupon-control button:disabled {
  cursor: wait;
  opacity: 0.62;
}

.purchase-coupon-field input::placeholder {
  color: rgba(255, 235, 198, 0.42);
  font-size: 0.88rem;
  font-weight: 400;
  letter-spacing: 0;
}

.purchase-coupon-control:focus-within {
  border-color: rgba(255, 214, 126, 0.58);
  box-shadow: 0 0 0 3px rgba(255, 214, 126, 0.1);
}

.purchase-coupon-field small {
  color: rgba(255, 235, 198, 0.54);
  font-size: 0.74rem;
  line-height: 1.45;
}

.purchase-coupon-status.is-success {
  color: #ffe08a;
}

.purchase-coupon-status.is-error {
  color: #ff8a72;
}

.purchase-method-card {
  border-color: rgba(255, 255, 255, 0.9);
  padding: 26px 22px 22px;
  color: #1f2937;
  background: #ffffff;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.18);
}

.purchase-method-card h3 {
  color: #1f2937;
  font-size: 1.18rem;
}

.purchase-method-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
}

.purchase-method-option {
  position: relative;
  display: grid;
  min-height: 58px;
  place-items: center;
  border: 1px solid #dbe1e8;
  border-radius: 12px;
  padding: 10px 8px;
  color: #253041;
  background: #fff;
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 900;
  text-align: center;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.purchase-method-option.is-featured {
  grid-column: 1 / -1;
  min-height: 56px;
}

.purchase-method-option input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.purchase-method-option:has(input:checked) {
  border-color: #111827;
  background: #ffffff;
  box-shadow: 0 0 0 1px #111827 inset;
}

.purchase-method-option em {
  position: absolute;
  top: -10px;
  left: -1px;
  border-radius: 999px;
  padding: 4px 8px;
  color: #fff;
  background: #2b77ff;
  font-size: 0.64rem;
  font-style: normal;
  line-height: 1;
}

.pay-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: #253041;
  line-height: 1;
}

.pay-logo.naver {
  color: #03c75a;
  font-size: 1.02rem;
}

.pay-logo.naver i {
  display: inline-grid;
  width: 17px;
  height: 17px;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  background: #03c75a;
  font-size: 0.68rem;
  font-style: normal;
}

.pay-logo.kakao {
  gap: 5px;
  border-radius: 999px;
  padding: 4px 9px;
  color: #16120a;
  background: #fee500;
}

.pay-logo.kakao i {
  width: 13px;
  height: 10px;
  border-radius: 999px;
  background: #111;
}

.pay-logo.toss {
  color: #202632;
  font-weight: 800;
}

.pay-logo.toss i {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 68% 28%, #7aa8ff 0 24%, transparent 25%),
    linear-gradient(135deg, #2f6bff 0%, #1d4ed8 100%);
}

.pay-logo.payco {
  color: #ff3849;
  letter-spacing: 0.02em;
}

.pay-logo.samsung {
  color: #05070a;
  font-size: 0.72rem;
  letter-spacing: 0.01em;
}

.pay-logo.samsung span {
  margin-left: 2px;
  font-weight: 800;
  letter-spacing: 0;
}

.pay-logo.card,
.pay-logo.transfer {
  font-weight: 700;
}

.purchase-benefit-details {
  border-top: 1px solid #edf0f4;
  padding-top: 10px;
}

.purchase-benefit-details summary {
  position: relative;
  padding-right: 18px;
  color: #566174;
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 800;
  list-style: none;
}

.purchase-benefit-details summary::-webkit-details-marker {
  display: none;
}

.purchase-benefit-details summary::after {
  content: "??;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%) rotate(90deg);
  color: #566174;
  transition: transform 0.2s ease;
}

.purchase-business-info summary::after {
  content: "??;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%) rotate(0deg);
  color: #ffd67e;
  transition: transform 0.2s ease;
}

.purchase-benefit-details[open] summary::after {
  transform: translateY(-50%) rotate(-90deg);
}

.purchase-business-info[open] summary::after {
  transform: translateY(-50%) rotate(180deg);
}

.purchase-benefit-details p {
  margin: 8px 0 0;
  color: #6b7280;
  font-size: 0.76rem;
  line-height: 1.55;
}

.purchase-agreement-card {
  gap: 0;
  overflow: hidden;
  padding: 0;
}

.purchase-agreement-all {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px;
  color: #fff2d8;
  background: rgba(255, 255, 255, 0.05);
  font-weight: 900;
}

.purchase-agreement-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  border-top: 1px solid rgba(255, 217, 138, 0.1);
  padding: 13px 15px;
}

.purchase-agreement-item summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 13px 15px;
  list-style: none;
}

.purchase-agreement-item summary::-webkit-details-marker,
.purchase-business-info summary::-webkit-details-marker {
  display: none;
}

.purchase-agreement-item label {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 9px;
  color: rgba(255, 235, 198, 0.86);
  font-size: 0.86rem;
  font-weight: 800;
}

.purchase-agreement-item a {
  color: #ffd67e;
  font-size: 0.76rem;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

.purchase-agreement-card input {
  width: 22px;
  height: 22px;
  accent-color: #d9a64a;
}

.purchase-agreement-item summary b,
.purchase-business-info summary b {
  color: #ffd67e;
  font-size: 0.78rem;
}

.purchase-agreement-item p {
  margin: 0;
  border-top: 1px solid rgba(255, 217, 138, 0.08);
  padding: 12px 15px 15px 46px;
  color: rgba(255, 235, 198, 0.62);
  font-size: 0.78rem;
  line-height: 1.6;
}

.purchase-business-info {
  margin: 14px 0 16px;
  border-top: 1px solid rgba(255, 217, 138, 0.12);
  border-bottom: 1px solid rgba(255, 217, 138, 0.12);
}

.purchase-business-info summary {
  position: relative;
  display: flex;
  justify-content: space-between;
  padding-right: 18px;
  padding: 13px 0;
  color: rgba(255, 235, 198, 0.62);
  cursor: pointer;
  font-weight: 900;
  list-style: none;
}

.purchase-business-info dl {
  margin: 0 0 14px;
}

.purchase-pay-cta {
  position: static;
  z-index: 2;
  width: 100%;
  border: 1px solid rgba(255, 71, 105, 0.72);
  color: #1b1007;
  background: linear-gradient(135deg, #ffe090 0%, #d79a35 48%, #fff0b8 100%);
  box-shadow: 0 0 0 1px rgba(255, 183, 201, 0.25), 0 14px 30px rgba(190, 86, 34, 0.28);
  text-shadow: 0 1px 0 rgba(255, 246, 210, 0.48);
}

.purchase-ready-flow {
  display: grid;
  gap: 8px;
  margin: 14px 0;
}

.purchase-ready-flow span {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 217, 138, 0.14);
  border-radius: 12px;
  padding: 11px 12px;
  color: rgba(255, 235, 198, 0.82);
  background: rgba(255, 240, 207, 0.045);
  font-size: 0.88rem;
  font-weight: 900;
  line-height: 1.25;
  text-align: center;
}

.premium-pending-page {
  min-height: 100dvh;
  padding: max(28px, env(safe-area-inset-top)) 14px max(28px, env(safe-area-inset-bottom));
}

.premium-pending-card {
  display: grid;
  gap: 16px;
  border: 1px solid rgba(255, 217, 138, 0.24);
  border-radius: 24px;
  padding: 24px 18px;
  color: #fff1d7;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 217, 138, 0.16), transparent 34%),
    linear-gradient(180deg, rgba(32, 19, 12, 0.98), rgba(9, 5, 4, 0.98));
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.38);
}

.premium-pending-card h1 {
  margin: 0;
  color: #fff2d8;
  font-family: var(--font-serif);
  font-size: clamp(2rem, 8vw, 3.2rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.premium-pending-copy {
  margin: 0;
  color: rgba(255, 235, 198, 0.78);
  font-size: 0.96rem;
  line-height: 1.82;
  word-break: keep-all;
}

.premium-pending-copy b {
  color: #ffd67e;
}

.premium-pending-paid-at {
  margin: -4px 0 0;
  color: rgba(255, 235, 198, 0.52);
  font-size: 0.78rem;
  font-weight: 800;
}

.premium-pending-flow {
  margin: 2px 0;
}

.premium-pending-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid rgba(255, 217, 138, 0.16);
  border-radius: 15px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.045);
}

.premium-pending-status span {
  color: rgba(255, 235, 198, 0.58);
  font-size: 0.82rem;
  font-weight: 900;
}

.premium-pending-status b {
  color: #ffd67e;
  font-size: 0.94rem;
}

.premium-pending-refresh {
  min-height: 48px;
  border: 1px solid rgba(255, 217, 138, 0.25);
  border-radius: 13px;
  color: #ffe2ad;
  background: rgba(255, 217, 138, 0.07);
  font-weight: 900;
}

.purchase-gift-card {
  display: grid;
  gap: 12px;
  margin: 16px 0;
  border: 1px solid rgba(186, 129, 255, 0.48);
  border-radius: 20px;
  padding: 17px;
  color: #f5e7ff;
  background:
    radial-gradient(circle at 0% 0%, rgba(176, 86, 255, 0.22), transparent 16rem),
    linear-gradient(135deg, rgba(70, 34, 105, 0.92), rgba(36, 23, 55, 0.94));
  box-shadow: 0 18px 42px rgba(111, 50, 178, 0.22);
}

.purchase-gift-head {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #efd7ff;
  font-size: 1.02rem;
  font-weight: 900;
}

.purchase-gift-head span {
  display: inline-grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(135deg, #a855f7, #d946ef);
  box-shadow: 0 8px 22px rgba(168, 85, 247, 0.32);
}

.purchase-gift-card p {
  margin: 0;
  color: rgba(251, 238, 255, 0.88);
  font-size: 0.92rem;
  line-height: 1.62;
}

.purchase-gift-card strong {
  color: #ffd67e;
}

.purchase-gift-share {
  color: #e8c7ff !important;
  font-weight: 800;
}

.purchase-gift-code {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 12px;
  align-items: center;
  border: 1px solid rgba(232, 199, 255, 0.36);
  border-radius: 16px;
  padding: 13px;
  background: rgba(255, 255, 255, 0.075);
}

.purchase-gift-code span {
  grid-column: 1 / -1;
  color: rgba(251, 238, 255, 0.68);
  font-size: 0.76rem;
  font-weight: 800;
}

.purchase-gift-code strong {
  min-width: 0;
  color: #fff2d8;
  font-family: var(--font-serif);
  font-size: 1.24rem;
  letter-spacing: 0.08em;
  word-break: break-all;
}

.purchase-gift-code button {
  min-width: 76px;
  border: 1px solid rgba(232, 199, 255, 0.72);
  border-radius: 12px;
  padding: 10px 13px;
  color: #f5ddff;
  background: rgba(95, 45, 142, 0.7);
  font-weight: 900;
}

.purchase-gift-expiry {
  color: #ddb2ff !important;
  text-align: center;
  font-weight: 800;
}

.purchase-gift-card small {
  color: rgba(251, 238, 255, 0.62);
  text-align: center;
  font-size: 0.76rem;
}

.legal-page {
  min-height: 100dvh;
  padding: 18px;
  color: #1f2937;
  background: #f6f7f9;
}

.legal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}

.legal-head a {
  display: inline-grid;
  min-width: 76px;
  min-height: 34px;
  place-items: center;
  border: 1px solid #d7dde6;
  border-radius: 999px;
  color: #8a5b16;
  background: #fff;
  font-family: var(--font-serif);
  text-decoration: none;
}

.legal-head button {
  border: 1px solid #d7dde6;
  border-radius: 999px;
  padding: 8px 13px;
  color: #374151;
  background: #fff;
  font-weight: 900;
}

.legal-hero {
  border: 1px solid #e3e7ee;
  border-radius: 18px;
  padding: 22px 18px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(17, 24, 39, 0.06);
}

.legal-hero p {
  margin: 0 0 8px;
  color: #d45a42;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.legal-hero h1 {
  margin: 0 0 8px;
  color: #111827;
  font-family: var(--font-serif);
  font-size: 1.8rem;
}

.legal-hero span {
  color: #6b7280;
  font-size: 0.9rem;
  line-height: 1.55;
}

.legal-article {
  display: grid;
  gap: 13px;
  margin-top: 16px;
}

.legal-article section {
  border: 1px solid #e3e7ee;
  border-radius: 15px;
  padding: 16px;
  background: #fff;
}

.legal-article h2 {
  margin: 0 0 8px;
  color: #111827;
  font-size: 1rem;
}

.legal-article p {
  margin: 0;
  color: #374151;
  font-size: 0.88rem;
  line-height: 1.75;
  word-break: keep-all;
}

.purchase-price {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 16px 0;
  border: 1px solid #e2d4bf;
  border-radius: 12px;
  padding: 14px;
  background: #fff;
}

.purchase-price span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 900;
}

.purchase-price b {
  color: var(--red);
  font-family: var(--font-serif);
  font-size: 1.55rem;
}

.purchase-checks {
  display: grid;
  gap: 8px;
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
}

.purchase-checks li {
  position: relative;
  padding-left: 22px;
  color: #463a2f;
  font-size: 0.84rem;
  line-height: 1.5;
  word-break: keep-all;
}

.purchase-checks li::before {
  content: "??;
  position: absolute;
  left: 0;
  color: var(--red);
  font-weight: 900;
}

.purchase-toast-layer {
  position: fixed;
  inset: 0;
  z-index: 190;
  pointer-events: none;
}

.purchase-toast {
  position: fixed;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-height: 62px;
  border: 1px solid rgba(255, 214, 126, 0.82);
  border-radius: 13px;
  padding: 11px 13px;
  color: #fff2d8;
  background: rgba(22, 23, 31, 0.96);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.36), 0 0 0 1px rgba(0, 0, 0, 0.2) inset;
  opacity: 0;
  transform: translateY(-14px) scale(0.96);
  transition: opacity 0.28s ease, transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
}

.purchase-toast.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.purchase-toast i {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 999px;
  color: #64e88f;
  background: rgba(100, 232, 143, 0.14);
  font-style: normal;
  font-weight: 900;
}

.purchase-toast b {
  display: block;
  overflow: hidden;
  color: #fff2d8;
  font-size: 0.9rem;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.purchase-toast small {
  display: block;
  margin-top: 3px;
  color: rgba(255, 235, 198, 0.54);
  font-size: 0.74rem;
}

.purchase-sheet .kakao-btn,
.purchase-sheet .soft-btn,
.purchase-sheet .ghost-btn,
.purchase-sheet .result-cta {
  margin-top: 8px;
}

.sticky-cta {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 60;
  box-sizing: border-box;
  transform: translateY(110%);
  padding: 14px 16px calc(14px + env(safe-area-inset-bottom));
  background: linear-gradient(to top, var(--paper), rgba(246, 240, 229, 0.95) 70%, transparent);
  transition: transform 0.35s ease;
}

.sticky-cta.visible {
  transform: translateY(0);
}

.sticky-inner {
  width: min(100%, 448px);
  margin: 0 auto;
}

.story-page {
  min-height: 100dvh;
  padding-bottom: calc(92px + env(safe-area-inset-bottom));
  color: #f7e7c8;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 217, 138, 0.18), transparent 26rem),
    linear-gradient(180deg, #050302, #120905 44%, #080403);
}

.story-top {
  position: sticky;
  top: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 38px;
  align-items: center;
  gap: 10px;
  padding: calc(12px + env(safe-area-inset-top)) 14px 12px;
  background: linear-gradient(180deg, rgba(5, 3, 2, 0.96), rgba(5, 3, 2, 0.72));
  backdrop-filter: blur(12px);
}

.story-round-btn {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(255, 217, 138, 0.3);
  border-radius: 999px;
  color: #ffe2ad;
  background: rgba(12, 7, 3, 0.58);
  font-size: 1.1rem;
  font-weight: 900;
}

.story-round-btn:disabled {
  opacity: 0.34;
}

.story-progress-wrap {
  display: grid;
  gap: 6px;
}

.story-progress-wrap span {
  color: rgba(255, 225, 176, 0.72);
  font-size: 0.7rem;
  font-weight: 900;
  text-align: center;
}

.story-progress-wrap i {
  height: 4px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 240, 207, 0.16);
}

.story-progress-wrap em {
  display: block;
  width: calc(var(--value) * 1%);
  height: 100%;
  background: linear-gradient(90deg, var(--ember), var(--candle));
}

.story-chapter {
  padding: 20px 18px 28px;
}

.story-page.is-prologue .story-chapter {
  padding: 0 0 28px;
}

.story-page.is-prologue .story-video-card.is-letter-ritual {
  width: 100%;
  max-width: none;
  aspect-ratio: 3 / 5;
  margin: 0 0 8px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  line-height: 0;
  transform: none;
}

.story-page.is-prologue .story-video-card.is-letter-ritual video {
  width: calc(100% + 36px);
  height: calc(100% + 20px);
  margin-left: -18px;
  margin-top: -20px;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: 50% 0;
}

.story-page.is-prologue .story-video-card.is-letter-ritual ~ * {
  margin-right: 18px;
  margin-left: 18px;
}

.story-page.is-prologue .story-video-card.is-letter-ritual + .story-scroll-cue {
  margin-right: 0;
  margin-left: 0;
}

.story-scroll-cue {
  display: grid;
  height: 58px;
  place-items: center;
  margin: 4px 0 8vh;
}

.story-scroll-cue span {
  display: block;
  width: 18px;
  height: 18px;
  border-right: 2px solid rgba(255, 217, 138, 0.86);
  border-bottom: 2px solid rgba(255, 217, 138, 0.86);
  filter: drop-shadow(0 0 12px rgba(255, 217, 138, 0.36));
  transform: rotate(45deg);
  animation: storyScrollCue 1.45s ease-in-out infinite;
}

.story-chapter-hero {
  margin-bottom: 18px;
  border-bottom: 1px solid rgba(255, 217, 138, 0.16);
  padding: 22px 0 18px;
}

.story-chapter-hero p {
  margin: 0 0 8px;
  color: var(--candle);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.story-chapter-hero h1 {
  margin: 0;
  color: #fff0d0;
  font-family: var(--font-serif);
  font-size: clamp(2rem, 10vw, 3.2rem);
  line-height: 1.08;
  word-break: keep-all;
}

.story-chapter-hero span {
  display: block;
  margin-top: 10px;
  color: rgba(255, 231, 190, 0.68);
  font-size: 0.9rem;
}

.story-shaman-talk {
  display: grid;
  justify-items: center;
  gap: 18px;
  margin: 18px 0;
  animation: oraclePop 0.34s cubic-bezier(0.18, 1.42, 0.36, 1) both;
}

.story-shaman-talk img {
  width: 104px;
  height: 104px;
  border: 1px solid rgba(255, 217, 138, 0.56);
  border-radius: 999px;
  object-fit: cover;
  object-position: 50% 18%;
  box-shadow: 0 0 0 4px rgba(9, 5, 3, 0.86), 0 0 32px rgba(255, 217, 138, 0.24);
}

.story-shaman-talk > div {
  position: relative;
  width: 100%;
  border: 1px solid rgba(184, 117, 43, 0.28);
  border-radius: 18px;
  padding: 14px 16px;
  background: linear-gradient(135deg, rgba(38, 24, 14, 0.96), rgba(18, 11, 8, 0.96));
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 217, 138, 0.08);
}

.story-shaman-talk > div::before {
  content: "";
  position: absolute;
  top: -7px;
  left: 50%;
  width: 12px;
  height: 12px;
  border-top: 1px solid rgba(184, 117, 43, 0.28);
  border-left: 1px solid rgba(184, 117, 43, 0.28);
  background: rgba(38, 24, 14, 0.96);
  transform: translateX(-50%) rotate(45deg);
}

.story-shaman-talk p,
.story-shaman-talk > div > strong {
  position: relative;
  z-index: 1;
}

.story-shaman-talk p {
  margin: 0;
  color: #f5e6cf;
  font-family: var(--font-serif);
  font-size: 0.9rem;
  font-weight: 380;
  line-height: 1.92;
  text-align: center;
  word-break: keep-all;
}

.story-shaman-talk p strong,
.story-shaman-talk .name-call {
  color: #fff1ce;
  font-weight: 800;
}

.story-shaman-talk > div > strong {
  display: block;
  margin-top: 20px;
  color: var(--candle);
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.86;
  text-align: center;
  word-break: keep-all;
}

.story-shaman-talk p span,
.story-shaman-talk > div > strong span {
  display: block;
}

.story-media-placeholder,
.story-video-card,
.story-type-card,
.story-day-archetype,
.story-past-figure,
.story-pillar-board,
.story-explain-card,
.story-past-card,
.story-prose-card,
.story-paid-teaser,
.story-seal-offer,
.story-premium-welcome,
.story-premium-panel,
.story-premium-mini-card,
.story-metric-card,
.story-partner-card,
.story-marriage-card,
.story-month-grid article,
.story-daewoon-map,
.story-sinsal-grid article,
.story-action-list article,
.story-closing-scroll,
.story-locked-panel {
  border: 1px solid rgba(255, 217, 138, 0.18);
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(35, 22, 12, 0.82), rgba(12, 8, 5, 0.92)),
    rgba(13, 8, 5, 0.9);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
}

.story-media-placeholder {
  display: grid;
  min-height: 210px;
  place-items: center;
  gap: 8px;
  margin: 16px 0;
  padding: 22px;
  text-align: center;
}

.story-video-card {
  position: relative;
  overflow: hidden;
  gap: 0;
  margin: 16px 0 20px;
  padding: 0;
}

.story-video-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, transparent 52%, rgba(5, 3, 2, 0.84)),
    radial-gradient(circle at 50% 18%, rgba(255, 217, 138, 0.12), transparent 48%);
}

.story-video-card video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #080403;
}

.story-video-card.is-rice-ritual video {
  aspect-ratio: 3 / 5;
}

.story-video-card.is-rice-ritual {
  width: calc(100% + 36px);
  margin: 20px -18px 28px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.story-video-card.is-seal-ritual {
  width: calc(100% + 36px);
  margin: 22px -18px 28px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  padding: 0;
}

.story-video-card.is-seal-ritual video {
  aspect-ratio: 3 / 5;
}

.story-video-card.is-seal-ritual::after {
  content: none;
}

.story-video-card figcaption {
  position: absolute;
  right: 14px;
  bottom: 13px;
  left: 14px;
  z-index: 1;
  display: grid;
  gap: 4px;
  text-align: center;
}

.story-video-card figcaption span {
  color: #fff0d0;
  font-family: var(--font-serif);
  font-size: 1.18rem;
  font-weight: 900;
  line-height: 1.25;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.72);
}

.story-video-card figcaption p {
  margin: 0;
  color: rgba(255, 231, 190, 0.76);
  font-size: 0.9rem;
  line-height: 1.45;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.75);
}

.story-video-card.is-rice-ritual figcaption span {
  font-size: 1.36rem;
}

.story-video-card.is-rice-ritual figcaption p {
  color: rgba(255, 231, 190, 0.88);
  font-size: 1.02rem;
  font-weight: 700;
}

.story-scene-figure {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 217, 138, 0.18);
  border-radius: 16px;
  margin: 22px 0;
  padding: 0;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 217, 138, 0.12), transparent 42%),
    #080403;
  box-shadow: 0 20px 52px rgba(0, 0, 0, 0.34);
}

.story-scene-figure::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(5, 3, 2, 0.02) 36%, rgba(5, 3, 2, 0.82) 100%),
    radial-gradient(circle at 50% 18%, rgba(255, 217, 138, 0.12), transparent 46%);
}

.story-scene-figure img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 45%;
  background: rgba(255, 217, 138, 0.06);
}

.story-scene-figure figcaption {
  position: absolute;
  right: 16px;
  bottom: 15px;
  left: 16px;
  z-index: 1;
  display: grid;
  gap: 5px;
  text-align: center;
}

.story-scene-figure figcaption span {
  color: #fff0d0;
  font-family: var(--font-serif);
  font-size: 1.14rem;
  font-weight: 900;
  line-height: 1.26;
  text-shadow: 0 3px 16px rgba(0, 0, 0, 0.86);
  word-break: keep-all;
}

.story-scene-figure figcaption p {
  margin: 0;
  color: rgba(255, 231, 190, 0.82);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.45;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.88);
  word-break: keep-all;
}

.story-scene-figure.is-wide img {
  aspect-ratio: 16 / 10;
  object-position: 50% 42%;
}

.story-scene-figure.is-inset {
  width: min(82%, 330px);
  margin: 26px auto;
}

.story-scene-figure.is-inset img {
  aspect-ratio: 3 / 4;
}

.story-scene-figure.is-square {
  width: min(86%, 350px);
  margin: 24px auto;
}

.story-scene-figure.is-square img {
  aspect-ratio: 1;
}

.story-scene-figure.is-career-compass {
  width: 100%;
  margin: 22px 0;
}

.story-scene-figure.is-career-compass img {
  object-position: 54% 68%;
}

.story-scene-figure.is-career-compass figcaption {
  top: 15px;
  bottom: auto;
}

.story-scene-figure.is-portrait {
  margin: 0;
}

.story-scene-figure.is-portrait img {
  aspect-ratio: 3 / 4;
}

.story-scene-figure.is-health-aura img {
  object-position: 50% 18%;
}

.story-scene-figure.is-bleed {
  width: calc(100% + 36px);
  margin: 30px -18px;
  border-right: 0;
  border-left: 0;
  border-radius: 0;
}

.story-scene-figure.is-bleed img {
  aspect-ratio: 3 / 4;
}

.story-scene-figure.is-ritual {
  width: calc(100% + 36px);
  margin: 10vh -18px 14vh;
  border: 0;
  border-radius: 0;
  background: #080403;
  box-shadow: none;
}

.story-scene-figure.is-ritual img {
  aspect-ratio: 3 / 5;
  object-position: 50% 45%;
}

.story-partner-card .story-scene-figure {
  border-color: rgba(255, 217, 138, 0.12);
  box-shadow: none;
}

.story-media-icon {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border: 1px solid rgba(255, 217, 138, 0.34);
  border-radius: 999px;
  color: var(--candle);
  background: rgba(255, 217, 138, 0.08);
  font-size: 1.35rem;
}

.story-media-placeholder b,
.story-type-card h2,
.story-past-card h2,
.story-partner-card h2,
.story-marriage-card h2 {
  margin: 0;
  color: #fff0d0;
  font-family: var(--font-serif);
  line-height: 1.24;
  word-break: keep-all;
}

.story-media-placeholder p,
.story-type-card p,
.story-type-card em,
.story-explain-card p,
.story-past-card p,
.story-prose-card p,
.story-paid-teaser p,
.story-partner-card p,
.story-marriage-card p,
.story-lock-copy p {
  margin: 0;
  color: rgba(255, 235, 198, 0.76);
  font-size: 0.9rem;
  line-height: 1.8;
  word-break: keep-all;
}

.story-media-placeholder code {
  border: 1px solid rgba(255, 217, 138, 0.16);
  border-radius: 999px;
  padding: 5px 9px;
  color: rgba(255, 217, 138, 0.78);
  background: rgba(0, 0, 0, 0.22);
  font-size: 0.7rem;
}

.story-type-card,
.story-video-card,
.story-day-archetype,
.story-past-figure,
.story-past-banner,
.story-past-identity,
.story-past-card,
.story-prose-card,
.story-karma-card,
.story-past-now,
.story-paid-teaser,
.story-partner-card,
.story-marriage-card {
  display: grid;
  gap: 10px;
  margin: 16px 0;
  padding: 18px;
}

.story-past-figure {
  overflow: hidden;
  gap: 0;
  padding: 0;
}

.story-scroll-fade,
.story-past-reveal-step,
.story-prologue-reveal-step {
  opacity: 0;
  filter: blur(10px);
  transform: translateY(44px);
  transition:
    opacity 1.85s ease,
    transform 2.05s cubic-bezier(0.16, 1, 0.3, 1),
    filter 1.85s ease;
}

.story-scroll-fade.is-visible,
.story-past-reveal-step.is-visible,
.story-prologue-reveal-step.is-visible {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}

.story-prologue-reveal {
  display: grid;
  margin: 12vh 0 12vh;
}

.story-prologue-reveal-step {
  display: grid;
  min-height: 48vh;
  place-items: center;
  padding: 14vh 16px;
  text-align: center;
}

.story-prologue-reveal-step span {
  display: block;
  color: #fff1d2;
  font-family: var(--font-ritual-title);
  font-size: 1.62rem;
  font-weight: 880;
  letter-spacing: 0;
  line-height: 1.42;
  text-shadow: 0 0 26px rgba(255, 217, 138, 0.2), 0 4px 24px rgba(0, 0, 0, 0.72);
  word-break: keep-all;
}

.story-prologue-reveal-step.is-final {
  min-height: 56vh;
  padding-top: 12vh;
}

.story-prologue-reveal-step.is-final span:first-child {
  color: #ffd67e;
  font-size: 1.52rem;
}

.story-prologue-reveal-step.is-final span + span {
  margin-top: 12px;
  color: #fff1d2;
}

.story-letter-card {
  position: relative;
  width: calc(100% + 36px);
  margin: 4vh -18px 10vh;
  overflow: hidden;
  border-top: 1px solid rgba(255, 217, 138, 0.18);
  border-bottom: 1px solid rgba(255, 217, 138, 0.18);
  background: #080403;
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.36);
}

.story-letter-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.story-letter-name {
  position: absolute;
  top: 59.4%;
  left: 51.6%;
  display: flex;
  width: 10.6%;
  height: 25.6%;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.22em;
  color: #fbe7b3;
  font-family: var(--font-name);
  font-size: 1.48rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
  text-align: center;
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.9),
    0 0 12px rgba(255, 214, 126, 0.26);
  transform: translateX(-50%);
}

.story-letter-name.is-medium {
  font-size: 1.08rem;
  gap: 0.08em;
}

.story-letter-name.is-long {
  font-size: 0.92rem;
  gap: 0.04em;
}

.story-letter-name span {
  display: block;
  width: 100%;
  text-align: center;
}

.story-past-reveal {
  display: grid;
  margin: 20vh 0 16vh;
}

.story-past-reveal-step {
  display: grid;
  min-height: 54vh;
  place-items: center;
  padding: 18vh 18px;
  text-align: center;
}

.story-past-reveal-step span {
  display: block;
  color: #fff1d2;
  font-family: var(--font-ritual-title);
  font-size: 1.92rem;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.36;
  text-shadow: 0 0 26px rgba(255, 217, 138, 0.2), 0 4px 24px rgba(0, 0, 0, 0.7);
  word-break: keep-all;
}

.story-past-reveal-step.is-final {
  row-gap: 0.64rem;
  min-height: 70vh;
  padding-bottom: 28vh;
}

.story-past-reveal-step.is-final span {
  font-size: 1.96rem;
}

.story-past-reveal-step.is-final strong {
  display: block;
  max-width: 18ch;
  color: #ffd67e;
  font-family: var(--font-ritual-title);
  font-size: clamp(1.98rem, 4.2vw, 2.38rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.28;
  text-shadow: 0 0 34px rgba(255, 177, 74, 0.34), 0 5px 28px rgba(0, 0, 0, 0.86);
  word-break: keep-all;
}

.story-past-figure img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 28%;
  background: rgba(255, 217, 138, 0.08);
}

.story-past-figure figcaption {
  display: grid;
  gap: 4px;
  padding: 14px 16px 16px;
}

.story-past-figure figcaption span,
.story-past-figure figcaption em {
  color: rgba(255, 217, 138, 0.7);
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 800;
}

.story-past-figure figcaption b {
  color: #fff0d0;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  line-height: 1.25;
}

.story-past-banner {
  position: relative;
  overflow: hidden;
  justify-items: center;
  border-color: rgba(190, 48, 38, 0.22);
  padding: 18px 14px;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(63, 12, 10, 0.42), rgba(15, 10, 9, 0.92)),
    radial-gradient(circle at 50% 0%, rgba(255, 217, 138, 0.16), transparent 52%);
}

.story-past-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent, rgba(255, 217, 138, 0.08), transparent),
    repeating-linear-gradient(135deg, rgba(255, 217, 138, 0.035) 0 1px, transparent 1px 12px);
  opacity: 0.8;
}

.story-past-banner small,
.story-past-banner div {
  position: relative;
  z-index: 1;
}

.story-past-banner small {
  color: #ffdf8e;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 900;
  line-height: 1.25;
}

.story-past-banner div {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 7px;
}

.story-past-banner span {
  border: 1px solid rgba(255, 196, 77, 0.44);
  border-radius: 999px;
  padding: 5px 9px;
  color: #ffd66b;
  background: rgba(31, 18, 8, 0.72);
  font-size: 0.7rem;
  font-weight: 900;
}

.story-past-identity {
  justify-items: center;
  padding: 22px 18px;
  text-align: center;
}

.story-past-identity i {
  border-radius: 999px;
  padding: 7px 13px;
  color: #fff2d3;
  background: linear-gradient(180deg, #c23a32, #7f1f19);
  font-size: 0.76rem;
  font-style: normal;
  font-weight: 900;
  box-shadow: 0 10px 28px rgba(194, 58, 50, 0.22);
}

.story-past-identity > span {
  margin-top: 6px;
  color: rgba(255, 217, 138, 0.72);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.story-past-identity h2 {
  margin: 0;
  color: #fff0d0;
  font-family: var(--font-serif);
  font-size: clamp(1.7rem, 7vw, 2.4rem);
  line-height: 1.2;
  word-break: keep-all;
}

.story-type-card span,
.story-past-card span,
.story-partner-card span,
.story-marriage-card span {
  color: var(--candle);
  font-size: 0.74rem;
  font-weight: 900;
}

.story-type-card h2 {
  font-size: 2rem;
}

.story-day-archetype {
  justify-items: center;
  gap: 14px;
  border-color: rgba(255, 196, 77, 0.26);
  padding: 18px 16px 20px;
  text-align: center;
  background:
    radial-gradient(circle at 18% 22%, rgba(255, 217, 138, 0.13), transparent 34%),
    linear-gradient(135deg, rgba(37, 22, 12, 0.94), rgba(11, 7, 5, 0.96));
}

.story-day-archetype img {
  display: block;
  width: min(245px, 86%);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 217, 138, 0.28);
  border-radius: 22px;
  object-fit: cover;
  background: rgba(255, 217, 138, 0.06);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.28);
}

.story-day-archetype div {
  display: grid;
  min-width: 0;
  justify-items: center;
  gap: 8px;
}

.story-day-archetype span {
  color: #d7a94f;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.story-day-archetype h2 {
  margin: 0;
  color: #fff0d0;
  font-family: var(--font-serif);
  font-size: clamp(1.32rem, 5vw, 1.78rem);
  line-height: 1.22;
  word-break: keep-all;
}

.story-day-archetype p {
  max-width: 24rem;
  margin: 0;
  color: rgba(255, 235, 198, 0.72);
  font-size: 0.84rem;
  line-height: 1.72;
  word-break: keep-all;
}

.story-past-subtitle {
  color: rgba(255, 217, 138, 0.82) !important;
}

.story-past-traits {
  display: grid;
  gap: 8px;
  margin: 2px 0 6px;
}

.story-past-traits b {
  border: 1px solid rgba(255, 217, 138, 0.14);
  border-radius: 10px;
  padding: 9px 10px;
  color: #f8e8c7;
  background: rgba(255, 217, 138, 0.06);
  font-size: 0.82rem;
  line-height: 1.45;
}

.story-past-prose {
  display: grid;
  gap: 14px;
  margin: 18px 0;
}

.story-past-prose p {
  margin: 0;
  color: rgba(255, 235, 198, 0.86);
  font-size: 0.98rem;
  line-height: 1.78;
  text-align: left;
  word-break: keep-all;
}

.story-past-lead {
  border-top: 1px solid rgba(255, 217, 138, 0.14);
  border-bottom: 1px solid rgba(255, 217, 138, 0.14);
  padding: 18px 0;
}

.story-karma-line {
  position: relative;
  display: grid;
  gap: 18px;
  margin: 24px 0;
}

.story-karma-line::before {
  content: "";
  position: absolute;
  top: -18px;
  bottom: -18px;
  left: 50%;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(255, 217, 138, 0.22), transparent);
}

.story-karma-card {
  position: relative;
  z-index: 1;
  width: min(86%, 330px);
  margin: 0 auto 0 10px;
  border-color: rgba(255, 217, 138, 0.14);
  background:
    linear-gradient(145deg, rgba(31, 29, 43, 0.94), rgba(18, 17, 27, 0.96)),
    rgba(18, 17, 27, 0.96);
}

.story-karma-card:nth-child(even) {
  margin-right: 10px;
  margin-left: auto;
}

.story-karma-card.is-red {
  border-color: rgba(212, 64, 52, 0.22);
  background:
    linear-gradient(145deg, rgba(48, 12, 12, 0.94), rgba(16, 8, 9, 0.96)),
    rgba(16, 8, 9, 0.96);
}

.story-karma-card b {
  display: block;
  color: #ffcf72;
  font-size: 1.32rem;
  font-weight: 900;
  line-height: 1.28;
  margin-bottom: 8px;
}

.story-karma-card.is-red b {
  color: #ff796b;
}

.story-karma-card h3 {
  margin: 0 0 12px;
  color: #fff3d7;
  font-family: var(--font-serif);
  font-size: 1.18rem;
  line-height: 1.38;
  word-break: keep-all;
}

.story-karma-card p,
.story-past-now p,
.story-past-lesson p {
  margin: 0;
  color: rgba(255, 235, 198, 0.88);
  font-size: 1rem;
  line-height: 1.74;
  word-break: keep-all;
}

.story-past-now {
  border-color: rgba(255, 217, 138, 0.22);
  background:
    linear-gradient(145deg, rgba(34, 24, 14, 0.9), rgba(11, 8, 6, 0.96)),
    rgba(13, 8, 5, 0.9);
}

.story-past-now h3 {
  margin: 0;
  color: #fff0d0;
  font-family: var(--font-serif);
  font-size: 1.35rem;
  line-height: 1.3;
  text-align: center;
}

.story-past-lesson {
  display: grid;
  gap: 9px;
  border: 1px solid rgba(255, 196, 77, 0.62);
  border-radius: 14px;
  margin: 18px 0;
  padding: 16px;
  background:
    linear-gradient(145deg, rgba(255, 217, 138, 0.08), rgba(15, 10, 7, 0.94)),
    rgba(13, 8, 5, 0.9);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28), inset 0 -2px 0 rgba(255, 196, 77, 0.5);
}

.story-past-lesson b {
  color: #fff0d0;
  font-size: 1.12rem;
  font-weight: 900;
  text-align: center;
}

.story-type-card em {
  border-top: 1px solid rgba(255, 217, 138, 0.16);
  padding-top: 10px;
  font-style: normal;
  color: rgba(255, 217, 138, 0.82);
}

.story-pillar-board {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 16px 0;
  padding: 14px;
}

.story-pillar {
  display: grid;
  min-width: 0;
  gap: 8px;
}

.story-pillar.is-day {
  border-radius: 14px;
  outline: 1px solid rgba(255, 196, 77, 0.72);
  outline-offset: 5px;
}

.story-pillar-head {
  position: relative;
  display: flex;
  min-height: 24px;
  align-items: center;
  justify-content: center;
  gap: 5px;
  color: rgba(255, 231, 190, 0.72);
  text-align: center;
}

.story-pillar-head span {
  color: #ffe8b5;
  font-size: 0.82rem;
  font-weight: 900;
}

.story-pillar-head em {
  color: rgba(255, 231, 190, 0.5);
  font-size: 0.62rem;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.story-pillar-head b {
  position: absolute;
  right: 0;
  border: 1px solid rgba(255, 196, 77, 0.5);
  border-radius: 999px;
  padding: 2px 6px;
  color: #2b1608;
  background: linear-gradient(180deg, #ffe08d, #c58a2a);
  font-size: 0.56rem;
  line-height: 1;
}

.story-pillar-stack {
  display: grid;
  gap: 7px;
}

.story-pillar-tile {
  --tile-accent: #c58a2a;
  --tile-bg: rgba(197, 138, 42, 0.16);
  position: relative;
  display: grid;
  min-height: 112px;
  overflow: hidden;
  align-content: space-between;
  border: 1px solid color-mix(in srgb, var(--tile-accent) 62%, transparent);
  border-radius: 12px;
  padding: 10px;
  background:
    radial-gradient(circle at 70% 18%, color-mix(in srgb, var(--tile-accent) 24%, transparent), transparent 38%),
    linear-gradient(145deg, var(--tile-bg), rgba(8, 5, 3, 0.74));
  box-shadow: inset 0 1px 0 rgba(255, 245, 214, 0.08);
}

.story-pillar-tile.element-wood {
  --tile-accent: #19b873;
  --tile-bg: rgba(25, 184, 115, 0.18);
}

.story-pillar-tile.element-fire {
  --tile-accent: #d74735;
  --tile-bg: rgba(215, 71, 53, 0.18);
}

.story-pillar-tile.element-earth {
  --tile-accent: #c9972e;
  --tile-bg: rgba(201, 151, 46, 0.19);
}

.story-pillar-tile.element-metal {
  --tile-accent: #d9d2bd;
  --tile-bg: rgba(217, 210, 189, 0.13);
}

.story-pillar-tile.element-water {
  --tile-accent: #417fd8;
  --tile-bg: rgba(65, 127, 216, 0.18);
}

.story-pillar-tile-head {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.story-pillar-tile-head span,
.story-pillar-tile-head small {
  color: rgba(255, 241, 207, 0.82);
  font-size: 0.63rem;
  font-weight: 900;
}

.story-pillar-tile-head small {
  overflow: hidden;
  max-width: 58%;
  color: rgba(255, 241, 207, 0.62);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.story-pillar-tile b {
  color: #fff8e6;
  font-family: var(--font-serif);
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1;
  text-align: center;
  text-shadow: 0 8px 18px rgba(0, 0, 0, 0.24);
}

.story-pillar-tile em,
.story-pillar-tile i {
  color: rgba(255, 241, 207, 0.74);
  font-size: 0.66rem;
  font-style: normal;
  font-weight: 800;
  line-height: 1.2;
  text-align: right;
}

.story-pillar-tile i {
  color: rgba(255, 241, 207, 0.58);
}

.story-pillar p {
  margin: 0;
  color: rgba(255, 231, 190, 0.72);
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.35;
  text-align: center;
}

.story-pillar-tags {
  display: flex;
  min-height: 28px;
  align-items: center;
  justify-content: center;
}

.story-pillar-tags span {
  border: 1px solid rgba(255, 217, 138, 0.2);
  border-radius: 999px;
  padding: 5px 8px;
  color: rgba(255, 225, 176, 0.86);
  background: rgba(255, 217, 138, 0.07);
  font-size: 0.66rem;
  font-weight: 900;
  line-height: 1.15;
  text-align: center;
}

@media (min-width: 560px) {
  .story-pillar-board {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .story-pillar-tile {
    min-height: 120px;
  }
}

.story-explain-grid,
.story-current-grid {
  display: grid;
  gap: 10px;
  margin: 16px 0;
}

.story-current-profile {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  margin: 18px 0;
  padding: 16px;
  border: 1px solid rgba(255, 217, 138, 0.2);
  border-radius: 16px;
  background:
    linear-gradient(145deg, rgba(32, 18, 10, 0.92), rgba(11, 8, 6, 0.96)),
    rgba(11, 8, 6, 0.95);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.36);
}

.story-current-daymark {
  display: grid;
  width: 62px;
  height: 62px;
  place-items: center;
  border-radius: 10px;
  background: linear-gradient(145deg, rgba(255, 210, 122, 0.18), rgba(81, 39, 15, 0.42));
  color: #ffd67e;
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 900;
}

.story-current-profile span {
  color: rgba(255, 231, 190, 0.64);
  font-size: 0.74rem;
  font-weight: 900;
}

.story-current-profile h2 {
  margin: 4px 0 6px;
  color: #fff4dc;
  font-family: var(--font-serif);
  font-size: 1.55rem;
  letter-spacing: 0;
}

.story-current-profile p {
  margin: 0;
  color: rgba(255, 235, 198, 0.78);
  font-size: 0.88rem;
  line-height: 1.6;
  word-break: keep-all;
}

.story-current-grid.is-score-board {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.story-current-score {
  display: flex;
  min-height: 92px;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  padding: 14px;
  border: 1px solid rgba(255, 217, 138, 0.18);
  border-radius: 12px;
  background:
    linear-gradient(145deg, rgba(255, 245, 224, 0.055), rgba(255, 214, 126, 0.025)),
    rgba(18, 15, 18, 0.9);
}

.story-current-score.is-peak {
  border-color: rgba(255, 214, 126, 0.34);
  box-shadow: 0 14px 34px rgba(184, 119, 38, 0.12);
}

.story-current-score span {
  display: block;
  color: rgba(255, 235, 198, 0.74);
  font-size: 0.76rem;
  font-weight: 900;
}

.story-current-score b {
  display: block;
  margin-top: 16px;
  color: #ff5d4e;
  font-family: var(--font-serif);
  font-size: 1.8rem;
  line-height: 1;
}

.story-current-score em {
  flex: 0 0 auto;
  padding: 5px 7px;
  border-radius: 999px;
  background: rgba(255, 93, 78, 0.12);
  color: #ff9b8a;
  font-size: 0.66rem;
  font-style: normal;
  font-weight: 900;
  white-space: nowrap;
}

.story-current-score:not(.is-peak) b {
  color: #fff0d0;
}

.story-current-score:not(.is-peak) em {
  background: rgba(255, 214, 126, 0.11);
  color: #d8aa61;
}

.story-fact-bomb,
.story-current-reading,
.story-current-advice {
  margin: 18px 0;
  border-radius: 16px;
  word-break: keep-all;
}

.story-fact-bomb {
  padding: 22px 18px;
  border: 1px solid rgba(255, 93, 78, 0.28);
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 93, 78, 0.18), transparent 42%),
    linear-gradient(160deg, rgba(48, 9, 8, 0.92), rgba(10, 5, 5, 0.98));
  box-shadow: 0 20px 52px rgba(0, 0, 0, 0.45);
}

.story-fact-bomb span,
.story-current-advice > span,
.story-current-reading-head span {
  color: #ffcf72;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.story-fact-bomb h3 {
  margin: 8px 0 18px;
  color: #fff1d2;
  font-family: var(--font-serif);
  font-size: 1.45rem;
  line-height: 1.34;
  letter-spacing: 0;
}

.story-fact-bomb p,
.story-current-reading p,
.story-current-advice p {
  margin: 0;
  color: rgba(255, 235, 198, 0.88);
  font-size: 0.98rem;
  line-height: 1.78;
}

.story-fact-bomb p + p,
.story-current-reading p + p,
.story-current-advice p + p {
  margin-top: 13px;
}

.story-current-reading {
  padding: 18px;
  border: 1px solid rgba(255, 217, 138, 0.18);
  background:
    linear-gradient(145deg, rgba(28, 22, 15, 0.92), rgba(12, 9, 8, 0.97)),
    rgba(12, 9, 8, 0.96);
}

.story-current-reading.is-blue {
  border-color: rgba(84, 170, 191, 0.24);
  background:
    linear-gradient(145deg, rgba(15, 32, 39, 0.9), rgba(9, 11, 15, 0.97)),
    rgba(9, 11, 15, 0.96);
}

.story-current-reading.is-red {
  border-color: rgba(255, 93, 78, 0.22);
  background:
    linear-gradient(145deg, rgba(42, 12, 10, 0.88), rgba(11, 7, 7, 0.97)),
    rgba(11, 7, 7, 0.96);
}

.story-current-reading-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.story-current-reading-head h3 {
  margin: 5px 0 0;
  color: #fff2d8;
  font-family: var(--font-serif);
  font-size: 1.35rem;
  line-height: 1.35;
  letter-spacing: 0;
}

.story-current-advice {
  padding: 18px;
  border: 1px solid rgba(255, 214, 126, 0.42);
  background:
    linear-gradient(145deg, rgba(54, 37, 13, 0.9), rgba(13, 9, 6, 0.97)),
    rgba(13, 9, 6, 0.96);
}

.story-current-advice-blur {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  padding: 2px 0;
  user-select: none;
}

.story-current-advice-blur span {
  display: block;
  color: rgba(255, 235, 198, 0.7);
  filter: blur(5px);
  opacity: 0.58;
  pointer-events: none;
}

.story-current-advice-blur i {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid rgba(255, 232, 184, 0.46);
  border-radius: 999px;
  background: rgba(21, 15, 10, 0.76);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
  color: #fff2d8;
  font-style: normal;
  transform: translate(-50%, -50%);
}

.story-current-advice-blur::selection,
.story-current-advice-blur span::selection,
.story-current-advice-blur strong::selection,
.story-current-advice-blur .name-call::selection {
  color: transparent;
  background: transparent;
}

.story-current-secret {
  position: relative;
  display: grid;
  gap: 12px;
  margin: 38px 0;
  padding: 22px 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 214, 126, 0.32);
  border-left: 3px solid #d9a64a;
  border-radius: 16px;
  background:
    radial-gradient(circle at 88% 8%, rgba(255, 214, 126, 0.15), transparent 32%),
    linear-gradient(145deg, rgba(38, 27, 14, 0.96), rgba(13, 8, 5, 0.98));
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.story-current-secret::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.2;
  background-image:
    linear-gradient(135deg, rgba(255, 242, 209, 0.12) 0 9px, transparent 9px 18px);
}

.story-current-secret > * {
  position: relative;
  z-index: 1;
}

.story-current-lock {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(255, 232, 184, 0.46);
  border-radius: 999px;
  background: rgba(21, 15, 10, 0.76);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
}

.story-current-secret-kicker {
  margin: 0;
  color: #ffcf72;
  font-size: 0.72rem;
  font-weight: 900;
}

.story-current-secret h3 {
  margin: 0;
  color: #fff2d8;
  font-family: var(--font-serif);
  font-size: 1.44rem;
  line-height: 1.36;
  letter-spacing: 0;
  word-break: keep-all;
}

.story-current-secret p,
.story-current-secret strong {
  margin: 0;
  color: rgba(255, 235, 198, 0.88);
  font-size: 0.96rem;
  line-height: 1.78;
  word-break: keep-all;
}

.story-current-secret strong {
  display: block;
  border-top: 1px solid rgba(255, 217, 138, 0.18);
  padding-top: 12px;
  color: rgba(255, 207, 114, 0.92);
  font-weight: 900;
}

.story-secret-word {
  transform: translateY(0.18em);
}

.story-secret-blur {
  position: relative;
  display: grid;
  gap: 11px;
  margin: 6px 0;
  padding: 16px 14px;
  border-radius: 12px;
  background: rgba(255, 240, 207, 0.05);
  filter: blur(0.2px);
}

.story-secret-blur span {
  display: block;
  width: var(--w);
  height: 13px;
  border-radius: 999px;
  opacity: 0.52;
  background:
    linear-gradient(90deg, rgba(255, 234, 189, 0.1), rgba(255, 210, 122, 0.38), rgba(255, 234, 189, 0.1)),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.16) 0 5px, rgba(62, 49, 35, 0.16) 5px 10px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

.story-explain-card {
  padding: 14px;
}

.story-explain-card span {
  color: var(--candle);
  font-size: 0.74rem;
  font-weight: 900;
}

.story-explain-card b {
  display: block;
  margin: 5px 0 8px;
  color: #fff0d0;
}

.story-metric-card {
  display: grid;
  gap: 8px;
  padding: 15px;
}

.story-metric-card span {
  color: rgba(255, 231, 190, 0.66);
  font-size: 0.72rem;
  font-weight: 900;
}

.story-metric-card b {
  color: #fff0d0;
  font-size: 1.2rem;
}

.story-metric-card i {
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 240, 207, 0.12);
}

.story-metric-card em {
  display: block;
  width: calc(var(--value) * 1%);
  height: 100%;
  background: linear-gradient(90deg, var(--ember), var(--candle));
}

.story-metric-card strong {
  color: var(--candle);
  font-family: var(--font-serif);
  font-size: 1.35rem;
}

.story-premium-welcome {
  display: grid;
  gap: 12px;
  margin: 18px 0 22px;
  padding: 22px 18px;
  border-color: rgba(255, 214, 126, 0.38);
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 214, 126, 0.18), transparent 42%),
    linear-gradient(145deg, rgba(45, 28, 12, 0.94), rgba(10, 6, 4, 0.98));
}

.story-premium-welcome span,
.story-premium-head span,
.story-oracle-note b {
  color: #ffcf72;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.story-premium-welcome h2,
.story-premium-panel h3,
.story-premium-mini-card h3,
.story-daewoon-map h3,
.story-closing-scroll b {
  margin: 0;
  color: #fff2d8;
  font-family: var(--font-serif);
  font-size: 1.42rem;
  line-height: 1.34;
  letter-spacing: 0;
  word-break: keep-all;
}

.story-premium-welcome p,
.story-premium-panel p,
.story-premium-mini-card p,
.story-action-list p,
.story-deep-section p,
.story-closing-scroll p {
  margin: 0;
  color: rgba(255, 235, 198, 0.86);
  font-size: 0.95rem;
  line-height: 1.78;
  word-break: keep-all;
}

.story-premium-panel {
  display: grid;
  gap: 14px;
  margin: 18px 0;
  padding: 18px;
  background:
    radial-gradient(circle at 86% 0%, rgba(255, 214, 126, 0.1), transparent 34%),
    linear-gradient(145deg, rgba(28, 21, 15, 0.94), rgba(10, 7, 6, 0.98));
}

.story-premium-generated {
  display: grid;
  gap: 18px;
  border: 1px solid rgba(214, 156, 64, 0.36);
  border-radius: 20px;
  margin: 20px 0;
  padding: 22px 18px;
  background:
    radial-gradient(circle at 50% 0%, rgba(214, 156, 64, 0.13), transparent 42%),
    rgba(20, 10, 6, 0.88);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.32);
}

.story-premium-generated.is-closing {
  border-color: rgba(255, 210, 122, 0.5);
  background:
    linear-gradient(180deg, rgba(68, 38, 16, 0.74), rgba(18, 8, 5, 0.9));
}

.story-premium-generated.is-title-hidden .story-premium-generated-head > span,
.story-premium-generated.is-title-hidden .story-premium-generated-head > h2 {
  display: none;
}

.story-premium-generated-head {
  display: grid;
  gap: 10px;
}

.story-premium-generated-head span,
.story-generated-support-head span {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.story-premium-generated-head h2 {
  margin: 0;
  color: var(--ivory);
  font-family: var(--display-font);
  font-size: clamp(1.55rem, 7vw, 2.35rem);
  line-height: 1.24;
}

.story-premium-generated-head blockquote {
  border-left: 3px solid var(--red);
  margin: 4px 0 0;
  padding: 6px 0 6px 14px;
  color: #ffe4ba;
  font-size: 1.06rem;
  font-weight: 900;
  line-height: 1.7;
}

.story-premium-generated-body {
  display: grid;
  gap: 14px;
}

.story-premium-generated-body p,
.story-premium-generated-points li {
  margin: 0;
  color: rgba(255, 244, 219, 0.9);
  font-size: 1rem;
  line-height: 1.92;
  word-break: keep-all;
}

.story-premium-generated-points {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.story-premium-generated-points li {
  border: 1px solid rgba(214, 156, 64, 0.22);
  border-radius: 14px;
  padding: 12px 13px;
  background: rgba(255, 244, 220, 0.05);
}

.story-premium-generated-takeaway {
  border-top: 1px solid rgba(214, 156, 64, 0.22);
  padding-top: 16px;
  color: #ffdd91;
  font-size: 1.04rem;
  font-weight: 900;
  line-height: 1.75;
  word-break: keep-all;
}

.story-generated-support {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

.story-generated-support-head {
  display: grid;
  gap: 5px;
  padding: 0 4px;
}

.story-generated-support-head b {
  color: rgba(255, 244, 219, 0.86);
  font-size: 0.96rem;
}

.story-premium-head {
  display: grid;
  gap: 5px;
}

.story-bars {
  display: grid;
  gap: 11px;
}

.story-bar-row {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) 34px;
  align-items: center;
  gap: 10px;
}

.story-bar-row span {
  color: rgba(255, 235, 198, 0.72);
  font-size: 0.78rem;
  font-weight: 900;
}

.story-bar-row i {
  height: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 240, 207, 0.12);
}

.story-bar-row em {
  display: block;
  width: calc(var(--value) * 1%);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #b72b23, #d49a3f, #ffd67e);
}

.story-bar-row b {
  color: #ff5d4e;
  font-family: var(--font-serif);
  font-size: 1.08rem;
  text-align: right;
}

.story-career-mismatch {
  border-color: rgba(255, 93, 78, 0.2);
  background:
    radial-gradient(circle at 90% 0%, rgba(255, 93, 78, 0.11), transparent 34%),
    linear-gradient(145deg, rgba(35, 18, 14, 0.94), rgba(10, 7, 6, 0.98));
}

.story-career-mismatch > span {
  color: #ff8a70;
  font-size: 0.76rem;
  font-weight: 900;
}

.story-career-mismatch > div {
  display: grid;
  gap: 10px;
}

.story-career-mismatch article {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 5px 11px;
  border: 1px solid rgba(255, 217, 138, 0.12);
  border-radius: 12px;
  padding: 12px;
  background: rgba(255, 240, 207, 0.045);
}

.story-career-mismatch em {
  display: grid;
  grid-row: span 2;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 999px;
  color: #1b0d04;
  background: linear-gradient(180deg, #ffd67e, #b8752b);
  font-family: var(--font-serif);
  font-size: 0.9rem;
  font-style: normal;
  font-weight: 900;
}

.story-career-mismatch strong {
  color: #fff2d8;
  font-size: 1rem;
  line-height: 1.35;
}

.story-career-mismatch article p {
  color: rgba(255, 235, 198, 0.74);
  font-size: 0.86rem;
  line-height: 1.62;
}

.story-line-chart {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 217, 138, 0.12);
  border-radius: 12px;
  padding: 14px 12px 34px;
  background:
    linear-gradient(rgba(255, 240, 207, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 240, 207, 0.04) 1px, transparent 1px),
    rgba(255, 240, 207, 0.035);
  background-size: 100% 34px, 64px 100%, auto;
}

.story-line-chart svg {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 14px 18px rgba(0, 0, 0, 0.24));
}

.story-line-value {
  fill: #fff0bf;
  stroke: rgba(10, 7, 5, 0.88);
  stroke-width: 4px;
  paint-order: stroke;
  font-size: 12px;
  font-weight: 900;
  dominant-baseline: middle;
}

.story-line-labels {
  position: absolute;
  right: 12px;
  bottom: 10px;
  left: 12px;
  height: 18px;
}

.story-line-labels span {
  position: absolute;
  left: var(--x);
  color: rgba(255, 235, 198, 0.68);
  font-size: 0.66rem;
  font-weight: 900;
  white-space: nowrap;
  transform: translateX(-50%);
}

.story-insight-chart {
  border-color: rgba(255, 217, 138, 0.2);
}

.story-insight-grid {
  display: grid;
  gap: 10px;
}

.story-insight-chart.is-grid .story-insight-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.story-insight-item {
  display: grid;
  gap: 9px;
  min-width: 0;
  border: 1px solid rgba(255, 217, 138, 0.13);
  border-radius: 12px;
  padding: 13px;
  background:
    radial-gradient(circle at 92% 0%, rgba(255, 93, 78, 0.1), transparent 36%),
    rgba(255, 240, 207, 0.045);
}

.story-insight-item div {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.story-insight-item span {
  color: rgba(255, 235, 198, 0.78);
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1.35;
  word-break: keep-all;
}

.story-insight-item b {
  flex: 0 0 auto;
  color: #ff5d4e;
  font-family: var(--font-serif);
  font-size: 1.22rem;
  line-height: 1;
}

.story-insight-item i {
  display: block;
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 240, 207, 0.12);
}

.story-insight-item em {
  display: block;
  width: calc(var(--value) * 1%);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #b72b23, #d49a3f, #ffd67e);
}

.story-insight-item p {
  margin: 0;
  color: rgba(255, 235, 198, 0.72);
  font-size: 0.8rem;
  line-height: 1.55;
  word-break: keep-all;
}

.story-insight-chart.is-stack .story-insight-item {
  grid-template-columns: 1fr;
  gap: 8px;
  padding: 12px 13px;
}

.story-insight-chart.is-stack .story-insight-item div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.story-insight-chart.is-stack .story-insight-item i,
.story-insight-chart.is-stack .story-insight-item p {
  grid-column: auto;
}

.story-insight-chart.is-stack .story-insight-item p {
  font-size: 0.82rem;
  line-height: 1.48;
}

@media (max-width: 380px) {
  .story-insight-chart.is-grid .story-insight-grid {
    grid-template-columns: 1fr;
  }

  .story-insight-chart.is-stack .story-insight-item {
    grid-template-columns: 1fr;
  }

  .story-insight-chart.is-stack .story-insight-item i,
  .story-insight-chart.is-stack .story-insight-item p {
    grid-column: auto;
  }
}

.story-premium-card-grid {
  display: grid;
  gap: 12px;
  margin: 18px 0;
}

.story-premium-mini-card {
  display: grid;
  gap: 8px;
  padding: 16px;
}

.story-premium-mini-card span {
  color: #d49a3f;
  font-size: 0.72rem;
  font-weight: 900;
}

.story-premium-mini-card h3 {
  font-size: 1.12rem;
}

.story-deep-section {
  border-color: rgba(255, 217, 138, 0.2);
  background:
    radial-gradient(circle at 8% 0%, rgba(255, 214, 126, 0.1), transparent 34%),
    linear-gradient(145deg, rgba(28, 20, 13, 0.96), rgba(10, 7, 5, 0.98));
}

.story-deep-section.is-money {
  border-color: rgba(255, 93, 78, 0.22);
  background:
    radial-gradient(circle at 86% 0%, rgba(255, 93, 78, 0.12), transparent 34%),
    linear-gradient(145deg, rgba(34, 17, 10, 0.96), rgba(10, 6, 5, 0.98));
}

.story-deep-section.is-love {
  border-color: rgba(209, 72, 92, 0.24);
  background:
    radial-gradient(circle at 16% 0%, rgba(209, 72, 92, 0.13), transparent 36%),
    linear-gradient(145deg, rgba(31, 14, 18, 0.96), rgba(10, 6, 7, 0.98));
}

.story-deep-section > span,
.story-bullet-panel > span {
  color: #d49a3f;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.story-deep-section p + p {
  margin-top: 12px;
}

.story-bullet-panel ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.story-bullet-panel li {
  position: relative;
  border: 1px solid rgba(255, 217, 138, 0.12);
  border-radius: 11px;
  padding: 12px 12px 12px 42px;
  color: rgba(255, 235, 198, 0.84);
  background: rgba(255, 240, 207, 0.045);
  font-size: 0.9rem;
  line-height: 1.58;
  word-break: keep-all;
}

.story-bullet-panel li::before {
  content: "✓";
  position: absolute;
  top: 13px;
  left: 13px;
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border-radius: 999px;
  color: #170c05;
  background: linear-gradient(180deg, #ffd67e, #b8752b);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.22);
  font-size: 0.78rem;
  font-weight: 900;
}

.story-samjae-schedule {
  border-color: rgba(255, 93, 78, 0.24);
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 93, 78, 0.13), transparent 36%),
    linear-gradient(145deg, rgba(34, 17, 12, 0.95), rgba(10, 7, 6, 0.98));
}

.story-samjae-schedule > span {
  color: #ff8a70;
  font-size: 0.76rem;
  font-weight: 900;
}

.story-samjae-periods {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.story-samjae-periods article {
  border: 1px solid rgba(255, 217, 138, 0.13);
  border-radius: 12px;
  padding: 11px 8px;
  background: rgba(255, 240, 207, 0.045);
  text-align: center;
}

.story-samjae-periods article.is-active {
  border-color: rgba(255, 93, 78, 0.52);
  box-shadow: 0 0 0 1px rgba(255, 93, 78, 0.12), 0 14px 30px rgba(0, 0, 0, 0.24);
}

.story-samjae-periods span,
.story-samjae-periods b {
  display: block;
}

.story-samjae-periods span {
  color: rgba(255, 235, 198, 0.68);
  font-size: 0.72rem;
  font-weight: 900;
}

.story-samjae-periods b {
  margin-top: 5px;
  color: #fff2d8;
  font-family: var(--font-serif);
  font-size: 0.98rem;
}

.story-samjae-stages {
  display: grid;
  gap: 8px;
}

.story-samjae-stages > b {
  color: #ffd67e;
  font-size: 0.9rem;
}

.story-samjae-stages article {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) 52px;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(255, 217, 138, 0.12);
  border-radius: 12px;
  padding: 10px 12px;
  background: rgba(255, 240, 207, 0.045);
}

.story-samjae-stages article.is-active,
.story-samjae-stages article.is-window {
  border-color: rgba(255, 93, 78, 0.34);
  background:
    linear-gradient(90deg, rgba(255, 93, 78, 0.12), rgba(255, 240, 207, 0.05));
}

.story-samjae-stages em {
  color: #ff5d4e;
  font-family: var(--font-serif);
  font-size: 1.08rem;
  font-style: normal;
  font-weight: 900;
}

.story-samjae-stages strong {
  color: #fff2d8;
  font-size: 0.96rem;
}

.story-samjae-stages span {
  color: rgba(255, 235, 198, 0.7);
  font-size: 0.78rem;
  font-weight: 800;
  text-align: right;
}

.story-samjae-note {
  border-top: 1px solid rgba(255, 217, 138, 0.12);
  padding-top: 12px;
}

.story-data-table {
  overflow: hidden;
}

.story-data-table table {
  width: 100%;
  border-collapse: collapse;
}

.story-data-table th,
.story-data-table td {
  border-top: 1px solid rgba(255, 217, 138, 0.12);
  padding: 12px 0;
  vertical-align: top;
}

.story-data-table tr:first-child th,
.story-data-table tr:first-child td {
  border-top: 0;
}

.story-data-table th {
  width: 28%;
  padding-right: 12px;
  color: #ffd67e;
  font-size: 0.78rem;
  font-weight: 900;
  text-align: left;
  word-break: keep-all;
}

.story-data-table td {
  color: rgba(255, 235, 198, 0.82);
  font-size: 0.9rem;
  line-height: 1.62;
  word-break: keep-all;
}

.story-summary-box {
  border-color: rgba(255, 214, 126, 0.36);
  background:
    linear-gradient(145deg, rgba(49, 32, 11, 0.9), rgba(11, 7, 5, 0.98)),
    rgba(13, 8, 5, 0.96);
}

.story-summary-box > div {
  display: grid;
  gap: 9px;
}

.story-summary-box p {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  align-items: start;
  gap: 8px;
  margin: 0;
  color: rgba(255, 235, 198, 0.86);
  font-size: 0.9rem;
  line-height: 1.58;
}

.story-summary-box p b {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 999px;
  color: #1b0d04;
  background: linear-gradient(180deg, #ffd67e, #b8752b);
  font-family: var(--font-serif);
  font-size: 0.82rem;
}

.story-premium-card-grid.is-money .story-premium-mini-card {
  border-color: rgba(255, 93, 78, 0.2);
  background:
    radial-gradient(circle at 86% 12%, rgba(255, 93, 78, 0.11), transparent 36%),
    linear-gradient(145deg, rgba(31, 17, 11, 0.94), rgba(9, 6, 5, 0.98));
}

.story-premium-timeline {
  position: relative;
  gap: 0;
  padding: 4px 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.story-premium-timeline::before {
  content: "";
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 20px;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(255, 217, 138, 0.42), transparent);
}

.story-premium-timeline article {
  position: relative;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 12px;
  padding: 10px 0 10px;
}

.story-premium-timeline em {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 38px;
  align-items: center;
  border: 1px solid rgba(255, 217, 138, 0.2);
  border-radius: 999px;
  color: #ffd67e;
  background: #0d0805;
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 900;
  text-align: center;
}

.story-premium-timeline article > div {
  border: 1px solid rgba(255, 217, 138, 0.14);
  border-radius: 12px;
  padding: 12px;
  background: rgba(255, 240, 207, 0.045);
}

.story-premium-timeline article.is-active > div {
  border-color: rgba(255, 214, 126, 0.48);
  box-shadow: 0 0 0 1px rgba(255, 214, 126, 0.1), 0 16px 36px rgba(0, 0, 0, 0.25);
}

.story-premium-timeline b {
  display: block;
  color: #fff2d8;
  font-size: 1rem;
}

.story-premium-timeline span {
  display: block;
  margin-top: 6px;
  color: rgba(255, 235, 198, 0.74);
  font-size: 0.86rem;
  line-height: 1.6;
  word-break: keep-all;
}

.story-month-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
  margin: 18px 0;
}

.story-month-grid article {
  min-height: 116px;
  padding: 12px 8px;
  text-align: center;
}

.story-month-grid span,
.story-month-grid em,
.story-month-grid p {
  display: block;
}

.story-month-grid span {
  color: rgba(255, 235, 198, 0.74);
  font-size: 0.76rem;
  font-weight: 900;
}

.story-month-grid b {
  display: block;
  margin: 5px 0 3px;
  color: #ff5d4e;
  font-family: var(--font-serif);
  font-size: 1.68rem;
  line-height: 1;
}

.story-month-grid em {
  color: #fff2d8;
  font-size: 0.76rem;
  font-style: normal;
  font-weight: 900;
}

.story-month-grid p {
  margin: 4px 0 0;
  color: rgba(255, 235, 198, 0.58);
  font-size: 0.68rem;
  line-height: 1.35;
}

.story-month-grid article.is-good {
  border-color: rgba(255, 214, 126, 0.52);
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 214, 126, 0.16), transparent 44%),
    rgba(31, 21, 10, 0.9);
}

.story-month-grid article.is-caution b {
  color: #ffd67e;
}

.story-daewoon-map {
  display: grid;
  gap: 14px;
  margin: 18px 0;
  padding: 18px;
}

.story-daewoon-path {
  position: relative;
  min-height: 250px;
  border: 1px solid rgba(255, 217, 138, 0.12);
  border-radius: 14px;
  background:
    linear-gradient(rgba(255, 240, 207, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 240, 207, 0.035) 1px, transparent 1px),
    rgba(255, 240, 207, 0.035);
  background-size: 100% 50%, 33.333% 100%, auto;
}

.story-daewoon-path::before {
  content: none;
}

.story-daewoon-line {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.story-daewoon-line path {
  fill: none;
  stroke: rgba(255, 214, 126, 0.48);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.story-daewoon-path span {
  position: absolute;
  z-index: 1;
  left: calc(var(--x, 16) * 1%);
  top: calc(var(--y, 20) * 1%);
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 1px solid rgba(255, 214, 126, 0.44);
  border-radius: 999px;
  color: rgba(255, 235, 198, 0.74);
  background: radial-gradient(circle at 50% 32%, #4c3620, #17100a 70%);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
  font-size: 0.78rem;
  font-weight: 900;
  transform: translate(-50%, -50%);
}

.story-daewoon-path span:nth-of-type(1) { --x: 16; --y: 22; }
.story-daewoon-path span:nth-of-type(2) { --x: 50; --y: 22; }
.story-daewoon-path span:nth-of-type(3) { --x: 84; --y: 22; }
.story-daewoon-path span:nth-of-type(4) { --x: 50; --y: 50; }
.story-daewoon-path span:nth-of-type(5) { --x: 16; --y: 78; }
.story-daewoon-path span:nth-of-type(6) { --x: 50; --y: 78; }
.story-daewoon-path span:nth-of-type(7) { --x: 84; --y: 78; }

.story-daewoon-path span.is-active {
  color: #fff2d8;
  background: radial-gradient(circle at 50% 28%, #7b5a31, #1b120a 72%);
  box-shadow: 0 0 0 5px rgba(255, 214, 126, 0.08), 0 18px 40px rgba(0, 0, 0, 0.38);
}

.story-sinsal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0;
}

.story-sinsal-grid article {
  min-height: 116px;
  padding: 14px;
}

.story-sinsal-grid span {
  color: #d49a3f;
  font-size: 0.72rem;
  font-weight: 900;
}

.story-sinsal-grid b {
  display: block;
  margin: 10px 0 7px;
  color: #fff2d8;
  font-size: 1.14rem;
}

.story-sinsal-grid p {
  margin: 0;
  color: rgba(255, 235, 198, 0.7);
  font-size: 0.8rem;
}

.story-shensal-explain {
  display: grid;
  gap: 14px;
}

.story-shensal-explain-list {
  display: grid;
  gap: 12px;
}

.story-shensal-explain-list article {
  display: grid;
  gap: 10px;
  border: 1px solid rgba(255, 217, 138, 0.14);
  border-radius: 14px;
  padding: 14px;
  background:
    radial-gradient(circle at 92% 0%, rgba(255, 93, 78, 0.08), transparent 34%),
    rgba(255, 240, 207, 0.045);
}

.story-shensal-explain-list article > span {
  color: #d49a3f;
  font-size: 0.72rem;
  font-weight: 900;
}

.story-shensal-explain-list h4 {
  margin: 0;
  color: #fff0d0;
  font-family: var(--font-serif);
  font-size: 1.08rem;
  line-height: 1.35;
  word-break: keep-all;
}

.story-shensal-explain-list p {
  margin: 0;
  color: rgba(255, 235, 198, 0.84);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.62;
  word-break: keep-all;
}

.story-shensal-explain-list div {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  border-top: 1px solid rgba(255, 217, 138, 0.1);
  padding-top: 9px;
}

.story-shensal-explain-list b {
  color: #ffd67e;
  font-size: 0.76rem;
  line-height: 1.45;
}

.story-shensal-explain-list em {
  color: rgba(255, 235, 198, 0.72);
  font-size: 0.82rem;
  font-style: normal;
  line-height: 1.5;
  word-break: keep-all;
}

.story-action-list {
  display: grid;
  gap: 12px;
  margin: 18px 0;
}

.story-action-list article {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  column-gap: 12px;
  align-items: start;
  padding: 15px;
}

.story-action-list span {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 999px;
  color: #180d05;
  background: linear-gradient(180deg, #ffd67e, #b8752b);
  font-size: 0.76rem;
  font-weight: 900;
}

.story-action-list b {
  color: #fff2d8;
  font-size: 1.08rem;
}

.story-action-list p {
  grid-column: 2;
  margin-top: 6px;
  font-size: 0.88rem;
}

.story-closing-scroll {
  display: grid;
  gap: 14px;
  margin: 20px 0;
  padding: 22px 18px;
  border-color: rgba(255, 214, 126, 0.34);
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 214, 126, 0.14), transparent 38%),
    linear-gradient(145deg, rgba(34, 22, 10, 0.94), rgba(9, 6, 4, 0.98));
}

.story-closing-scroll span {
  color: #ffcf72;
  font-size: 0.74rem;
  font-weight: 900;
  text-align: center;
}

.story-closing-scroll b {
  border-top: 1px solid rgba(255, 217, 138, 0.16);
  padding-top: 14px;
  color: #ffd67e;
  font-size: 1.2rem;
  text-align: center;
}

.story-seal-reveal {
  display: grid;
  margin: 6vh 0 7vh;
}

.story-seal-reveal.is-before-video {
  margin: 4vh 0 2vh;
}

.story-seal-step {
  display: grid;
  min-height: 46vh;
  place-items: center;
  padding: 13vh 10px;
  text-align: center;
}

.story-seal-step span {
  max-width: 19rem;
  color: #fff1d2;
  font-family: var(--font-ritual-title);
  font-size: clamp(1.34rem, 4.9vw, 1.82rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.54;
  text-shadow: 0 0 26px rgba(255, 217, 138, 0.17), 0 4px 24px rgba(0, 0, 0, 0.72);
  word-break: keep-all;
}

.story-seal-step.is-gold span {
  color: #ffd67e;
}

.story-seal-offer {
  display: grid;
  gap: 14px;
  margin: 42px 0 44px;
  padding: 22px 18px;
  border-color: rgba(255, 214, 126, 0.42);
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 214, 126, 0.18), transparent 42%),
    linear-gradient(155deg, rgba(45, 26, 11, 0.96), rgba(12, 7, 5, 0.98));
  box-shadow: 0 26px 64px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 241, 207, 0.08);
  word-break: keep-all;
}

.story-seal-kicker {
  margin: 0;
  color: #ffcf72;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.story-seal-offer h3 {
  margin: 0;
  color: #fff2d8;
  font-family: var(--font-serif);
  font-size: 1.52rem;
  line-height: 1.34;
  letter-spacing: 0;
}

.story-seal-offer p {
  margin: 0;
  color: rgba(255, 235, 198, 0.88);
  font-size: 0.98rem;
  line-height: 1.78;
}

.story-seal-offer del {
  color: rgba(255, 235, 198, 0.44);
}

.story-seal-offer strong {
  color: #ff5d4e;
  font-size: 1.16em;
  font-weight: 900;
}

.story-seal-price {
  display: grid;
  justify-items: center;
  gap: 4px;
  border: 1px solid rgba(255, 214, 126, 0.2);
  border-radius: 14px;
  padding: 15px 12px;
  background: rgba(255, 240, 207, 0.045);
  text-align: center;
}

.story-seal-price del {
  color: rgba(255, 235, 198, 0.48);
  font-size: 0.92rem;
  font-weight: 800;
}

.story-seal-price strong {
  color: #ff5d4e;
  font-family: var(--font-serif);
  font-size: 2.15rem;
  font-weight: 900;
  line-height: 1.1;
}

.story-seal-price span {
  color: rgba(255, 214, 126, 0.74);
  font-size: 0.76rem;
  font-weight: 900;
}

.story-seal-countdown {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(255, 214, 126, 0.24);
  border-radius: 13px;
  padding: 12px 14px;
  background: rgba(7, 4, 3, 0.52);
}

.story-seal-countdown span {
  color: rgba(255, 235, 198, 0.76);
  font-size: 0.8rem;
  font-weight: 900;
}

.story-seal-countdown b {
  color: #ffcf72;
  font-family: var(--font-serif);
  font-size: 1.42rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

.story-seal-countdown b.is-expired {
  color: rgba(255, 235, 198, 0.48);
}

.story-seal-cta {
  width: 100%;
  border: 1px solid rgba(255, 217, 138, 0.4);
  color: #fff0d0;
  background: linear-gradient(135deg, var(--ember), #6f3218);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.32), 0 0 24px rgba(255, 140, 63, 0.12);
}

.story-offer-turn {
  display: grid;
  gap: 8px;
  margin: 34px 0 20px;
  text-align: center;
}

.story-offer-turn span {
  color: #fff2d8;
  font-family: var(--font-serif);
  font-size: 1.72rem;
  font-weight: 900;
  letter-spacing: 0;
}

.story-offer-turn p {
  margin: 0;
  color: rgba(255, 235, 198, 0.7);
  font-size: 0.92rem;
  line-height: 1.6;
}

.story-offer-panel {
  display: grid;
  gap: 14px;
  margin: 36px 0;
  border: 1px solid rgba(255, 217, 138, 0.22);
  border-radius: 16px;
  padding: 18px;
  background:
    radial-gradient(circle at 82% 0%, rgba(255, 214, 126, 0.13), transparent 34%),
    linear-gradient(150deg, rgba(26, 24, 35, 0.96), rgba(9, 8, 13, 0.98));
  box-shadow: 0 22px 58px rgba(0, 0, 0, 0.42);
  word-break: keep-all;
}

.story-offer-kicker {
  margin: 0;
  color: #ffd67e;
  font-size: 0.78rem;
  font-weight: 900;
  text-align: center;
}

.story-offer-panel h3 {
  margin: 0;
  color: #fff2d8;
  font-family: var(--font-serif);
  font-size: 1.42rem;
  line-height: 1.34;
  text-align: center;
  letter-spacing: 0;
}

.story-must-know {
  border-color: rgba(255, 214, 126, 0.7);
}

.story-must-list {
  display: grid;
  gap: 10px;
}

.story-must-list article {
  display: grid;
  grid-template-columns: 38px 1fr;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(255, 217, 138, 0.16);
  border-radius: 12px;
  padding: 12px;
  background: rgba(255, 240, 207, 0.04);
}

.story-must-list article > span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 12px;
  background: rgba(255, 214, 126, 0.1);
  font-size: 1.2rem;
}

.story-must-list b {
  display: block;
  color: #fff4dc;
  font-size: 0.98rem;
}

.story-must-list p {
  margin: 4px 0 0;
  color: rgba(255, 214, 126, 0.9);
  font-size: 0.84rem;
  line-height: 1.45;
}

.story-partner-teaser {
  position: relative;
  overflow: hidden;
  border-color: rgba(255, 45, 145, 0.78);
  padding: 0 18px 18px;
  background:
    radial-gradient(circle at 50% 22%, rgba(255, 48, 160, 0.28), transparent 34%),
    radial-gradient(circle at 50% 90%, rgba(255, 214, 126, 0.14), transparent 44%),
    linear-gradient(180deg, rgba(27, 16, 27, 0.98), rgba(8, 7, 11, 0.99));
  box-shadow:
    0 0 0 1px rgba(255, 45, 145, 0.2) inset,
    0 22px 70px rgba(255, 45, 145, 0.16),
    0 22px 58px rgba(0, 0, 0, 0.48);
}

.story-partner-ribbon {
  margin: 0 -18px 0;
  border-radius: 15px 15px 0 0;
  padding: 10px 12px;
  color: #fff6dd;
  background: linear-gradient(135deg, #e80b78, #f6339a);
  font-size: 0.78rem;
  font-weight: 900;
  text-align: center;
}

.story-partner-teaser h3 {
  margin-top: 2px;
  color: #ffeaf5;
  text-shadow: 0 0 22px rgba(255, 45, 145, 0.28);
}

.story-partner-teaser-copy {
  margin: 0 auto;
  max-width: 34rem;
  color: rgba(255, 238, 214, 0.74);
  font-size: 0.9rem;
  line-height: 1.7;
  text-align: center;
}

.story-partner-face-preview {
  position: relative;
  min-height: 322px;
  overflow: hidden;
  border: 1px solid rgba(255, 86, 170, 0.38);
  border-radius: 16px;
  background: #130d10;
  isolation: isolate;
}

.story-partner-face-preview img {
  position: absolute;
  inset: -14px;
  width: calc(100% + 28px);
  height: calc(100% + 28px);
  object-fit: cover;
  object-position: 50% 34%;
  filter: blur(5px) saturate(0.92) brightness(0.66) contrast(1.06);
  opacity: 0.76;
  transform: scale(1.03);
}

.story-partner-face-preview::before {
  content: "";
  position: absolute;
  z-index: 1;
  left: 50%;
  top: 52px;
  width: 154px;
  height: 196px;
  border-radius: 48% 48% 44% 44%;
  background:
    radial-gradient(circle at 50% 37%, rgba(255, 224, 194, 0.62) 0 28%, transparent 30%),
    radial-gradient(ellipse at 50% 58%, rgba(255, 211, 183, 0.48) 0 36%, transparent 38%),
    radial-gradient(ellipse at 50% 86%, rgba(19, 13, 10, 0.82) 0 42%, transparent 44%);
  filter: blur(8px);
  opacity: 0.58;
  transform: translateX(-50%);
}

.story-partner-teaser.is-wife .story-partner-face-preview::before {
  width: 168px;
  height: 212px;
  background:
    radial-gradient(ellipse at 50% 45%, rgba(255, 226, 200, 0.6) 0 26%, transparent 28%),
    radial-gradient(ellipse at 50% 45%, rgba(18, 12, 12, 0.88) 0 46%, transparent 49%),
    radial-gradient(ellipse at 50% 80%, rgba(18, 12, 12, 0.9) 0 34%, transparent 37%);
}

.story-partner-teaser.is-husband .story-partner-face-preview::before {
  width: 152px;
  height: 198px;
  background:
    radial-gradient(ellipse at 50% 42%, rgba(244, 207, 181, 0.58) 0 27%, transparent 29%),
    radial-gradient(ellipse at 50% 29%, rgba(18, 13, 12, 0.9) 0 42%, transparent 45%),
    radial-gradient(ellipse at 50% 84%, rgba(20, 16, 16, 0.92) 0 38%, transparent 41%);
}

.story-partner-face-preview::before,
.story-partner-teaser.is-wife .story-partner-face-preview::before,
.story-partner-teaser.is-husband .story-partner-face-preview::before {
  inset: 0;
  left: auto;
  top: auto;
  width: auto;
  height: auto;
  border-radius: 16px;
  background:
    radial-gradient(circle at 50% 31%, rgba(255, 230, 190, 0.12), transparent 29%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(0, 0, 0, 0.26));
  filter: none;
  opacity: 0.82;
  transform: none;
}

.story-partner-face-preview::after {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0;
  background:
    radial-gradient(circle at 50% 43%, transparent 0 24%, rgba(10, 8, 11, 0.12) 30%, rgba(10, 8, 11, 0.76) 72%),
    linear-gradient(180deg, rgba(7, 6, 8, 0.1), rgba(7, 6, 8, 0.88));
}

.story-partner-face-text {
  position: absolute;
  z-index: 3;
  left: 18px;
  right: 18px;
  bottom: 28px;
  display: grid;
  gap: 4px;
  justify-items: center;
  text-align: center;
}

.story-partner-face-text span {
  color: #ff9fcb;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.story-partner-face-text strong {
  color: #fff6e9;
  font-family: var(--font-serif);
  font-size: 1.54rem;
  line-height: 1.2;
  letter-spacing: 0;
  text-shadow: 0 3px 16px rgba(0, 0, 0, 0.8);
}

.story-partner-face-text b {
  color: #ff3d9c;
  font-size: 1.42rem;
  line-height: 1.18;
  text-shadow: 0 3px 16px rgba(0, 0, 0, 0.84);
}

.story-partner-face-cta {
  margin: 0;
  background: linear-gradient(135deg, #f20b83, #ff49a8);
  box-shadow: 0 14px 34px rgba(242, 11, 131, 0.28);
}

.story-partner-teaser small {
  display: block;
  color: rgba(255, 230, 205, 0.54);
  font-size: 0.72rem;
  line-height: 1.55;
  text-align: center;
}

.story-review-section {
  border-color: rgba(255, 231, 190, 0.16);
  background:
    radial-gradient(circle at 16% 0%, rgba(255, 93, 78, 0.1), transparent 34%),
    linear-gradient(150deg, rgba(22, 16, 14, 0.96), rgba(9, 8, 13, 0.98));
}

.story-review-list {
  display: grid;
  gap: 26px;
}

.story-review-card {
  display: grid;
  gap: 12px;
  border: 1px solid rgba(255, 217, 138, 0.18);
  border-radius: 14px;
  padding: 15px;
  background: rgba(255, 248, 235, 0.04);
}

.story-review-head {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: start;
  gap: 10px;
}

.story-review-head b {
  display: block;
  color: #fff2d8;
  font-size: 1.02rem;
  line-height: 1.42;
}

.story-review-head span {
  display: block;
  margin-top: 4px;
  color: rgba(255, 235, 198, 0.58);
  font-size: 0.76rem;
}

.story-review-head em {
  color: #ffd67e;
  font-size: 0.82rem;
  font-style: normal;
  line-height: 1.2;
  text-align: right;
  white-space: nowrap;
}

.story-review-head small {
  display: block;
  margin-top: 4px;
  color: rgba(255, 235, 198, 0.48);
  font-size: 0.68rem;
}

.story-review-card > i {
  justify-self: start;
  border-radius: 999px;
  padding: 5px 9px;
  color: #281b08;
  background: #ffd21f;
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 900;
}

.story-review-card > i.is-npay {
  color: #ffffff;
  background: #03c75a;
}

.story-review-card p {
  margin: 0;
  color: rgba(255, 235, 198, 0.84);
  font-size: 0.92rem;
  line-height: 1.72;
}

.story-review-card footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-top: 1px solid rgba(255, 217, 138, 0.12);
  padding-top: 12px;
}

.story-review-card footer span {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.story-review-card mark {
  border-radius: 999px;
  padding: 5px 8px;
  color: rgba(255, 124, 104, 0.98);
  background: rgba(255, 93, 78, 0.1);
  font-size: 0.68rem;
  font-weight: 900;
}

.story-review-card footer strong {
  border: 1px solid rgba(255, 217, 138, 0.16);
  border-radius: 999px;
  padding: 5px 8px;
  color: rgba(255, 235, 198, 0.72);
  font-size: 0.7rem;
  white-space: nowrap;
}

.story-price-compare {
  gap: 11px;
}

.story-price-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px;
  border-radius: 10px;
  padding: 13px;
  background: rgba(255, 240, 207, 0.04);
}

.story-price-row span {
  color: rgba(255, 235, 198, 0.8);
  font-weight: 800;
}

.story-price-row del {
  color: rgba(255, 235, 198, 0.5);
}

.story-price-row.is-active {
  border: 1px solid rgba(255, 214, 126, 0.48);
  background: rgba(255, 214, 126, 0.08);
}

.story-price-row.is-active span,
.story-price-row.is-active b {
  color: #ffd67e;
  font-weight: 900;
}

.story-price-current {
  display: grid;
  justify-items: end;
  gap: 3px;
  text-align: right;
}

.story-price-current del {
  color: rgba(255, 235, 198, 0.42);
  font-size: 0.76rem;
  font-weight: 800;
  text-decoration-thickness: 1px;
}

.story-price-current b {
  color: #ffd67e;
  font-size: 1.06rem;
  line-height: 1;
}

.story-price-compare > p {
  margin: 2px 0 0;
  color: rgba(255, 235, 198, 0.58);
  font-size: 0.8rem;
  line-height: 1.5;
  text-align: center;
}

.story-offer-faq {
  gap: 10px;
}

.story-offer-faq details {
  border: 1px solid rgba(255, 217, 138, 0.16);
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255, 240, 207, 0.04);
}

.story-offer-faq summary {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 14px;
  color: #fff0d0;
  cursor: pointer;
  font-weight: 900;
  list-style: none;
}

.story-offer-faq summary::-webkit-details-marker {
  display: none;
}

.story-offer-faq summary b {
  color: #ffd67e;
  transition: transform 0.2s ease;
}

.story-offer-faq details[open] summary b {
  transform: rotate(180deg);
}

.story-offer-faq details p {
  margin: 0;
  border-top: 1px solid rgba(255, 217, 138, 0.12);
  padding: 0 14px 14px;
  color: rgba(255, 235, 198, 0.76);
  font-size: 0.9rem;
  line-height: 1.7;
}

.story-final-offer-cta {
  margin: 18px 0 30px;
}

.story-paid-teaser {
  border-color: rgba(192, 90, 36, 0.42);
  background: linear-gradient(135deg, rgba(65, 25, 15, 0.9), rgba(18, 11, 8, 0.96));
}

.story-paid-teaser b,
.story-lock-copy span {
  color: var(--candle);
}

.story-wide-cta {
  width: 100%;
  margin-top: 10px;
}

.story-partner-card {
  grid-template-columns: 1fr;
  gap: 14px;
  border-color: rgba(255, 214, 126, 0.28);
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 214, 126, 0.12), transparent 38%),
    linear-gradient(135deg, rgba(38, 20, 14, 0.9), rgba(10, 6, 4, 0.96));
}

.story-partner-card > div {
  display: grid;
  gap: 9px;
}

.story-partner-card p b {
  color: #ffd67e;
}

.story-partner-portrait {
  position: relative;
  overflow: hidden;
  margin: 0;
  border: 1px solid rgba(255, 217, 138, 0.22);
  border-radius: 16px;
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 217, 138, 0.18), transparent 44%),
    #080403;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.34);
}

.story-partner-portrait::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(5, 3, 2, 0.02) 44%, rgba(5, 3, 2, 0.86) 100%),
    radial-gradient(circle at 50% 18%, rgba(255, 217, 138, 0.14), transparent 46%);
}

.story-partner-portrait img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: 50% 38%;
  background: rgba(255, 217, 138, 0.06);
}

.story-partner-portrait figcaption {
  position: absolute;
  right: 15px;
  bottom: 14px;
  left: 15px;
  z-index: 1;
  display: grid;
  gap: 5px;
  text-align: center;
}

.story-partner-portrait figcaption span,
.story-partner-portrait.is-pending span {
  color: #ffd67e;
  font-size: 0.92rem;
  font-weight: 900;
}

.story-partner-portrait figcaption p {
  margin: 0;
  color: rgba(255, 241, 215, 0.88);
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1.45;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.78);
}

.story-partner-portrait.is-pending {
  display: grid;
  min-height: 350px;
  place-items: center;
  padding: 28px 22px;
  text-align: center;
}

.story-partner-portrait.is-pending::after {
  opacity: 0.34;
}

.story-partner-portrait.is-pending > div {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 10px;
}

.story-partner-portrait.is-pending b {
  color: #fff0d0;
  font-family: var(--font-serif);
  font-size: 1.3rem;
}

.story-partner-portrait.is-pending p,
.story-partner-disclaimer {
  margin: 0;
  color: rgba(255, 235, 198, 0.68);
  font-size: 0.8rem;
  line-height: 1.65;
  word-break: keep-all;
}

.story-partner-disclaimer {
  display: block;
  border-left: 2px solid rgba(255, 214, 126, 0.44);
  padding-left: 10px;
}

.story-timing-row {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 8px;
  margin-top: 8px;
}

.story-timing-row b {
  color: var(--candle);
}

.story-timing-row em {
  color: rgba(255, 235, 198, 0.76);
  font-style: normal;
}

.story-marriage-card {
  gap: 13px;
  border-color: rgba(255, 214, 126, 0.28);
}

.story-marriage-past {
  border: 1px solid rgba(255, 217, 138, 0.14);
  border-radius: 12px;
  padding: 12px;
  background: rgba(255, 217, 138, 0.06);
}

.story-marriage-past b {
  display: block;
  margin-bottom: 4px;
  color: #ffd67e;
  font-size: 0.82rem;
}

.story-marriage-years {
  display: grid;
  gap: 9px;
}

.story-marriage-years article {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) 38px;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(255, 217, 138, 0.13);
  border-radius: 12px;
  padding: 11px 10px;
  background: rgba(255, 240, 207, 0.045);
}

.story-marriage-years article.is-best {
  border-color: rgba(255, 214, 126, 0.42);
  background:
    linear-gradient(135deg, rgba(197, 89, 45, 0.18), rgba(255, 217, 138, 0.07)),
    rgba(255, 240, 207, 0.045);
}

.story-marriage-years strong {
  color: #ffd67e;
  font-size: 0.78rem;
}

.story-marriage-years b {
  display: block;
  color: #fff1d7;
  font-size: 0.9rem;
  line-height: 1.35;
}

.story-marriage-years p {
  margin: 3px 0 0;
  color: rgba(255, 235, 198, 0.66);
  font-size: 0.76rem;
  line-height: 1.45;
}

.story-marriage-years em {
  color: #ff5d4e;
  font-family: var(--font-serif);
  font-size: 1.18rem;
  font-style: normal;
  font-weight: 900;
  text-align: right;
}

.story-locked-panel {
  display: grid;
  gap: 16px;
  padding: 16px;
}

.story-locked-panel .story-media-placeholder {
  margin: 0;
  filter: blur(0.4px);
  opacity: 0.76;
}

.story-lock-copy h2 {
  margin: 8px 0;
  color: #fff0d0;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  line-height: 1.3;
}

.story-bottom-nav {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 45;
  display: grid;
  grid-template-columns: 0.9fr 1.35fr;
  gap: 8px;
  width: min(100%, 480px);
  margin: 0 auto;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: linear-gradient(to top, rgba(5, 3, 2, 0.98), rgba(5, 3, 2, 0.72), transparent);
}

.story-nav-primary,
.story-nav-secondary {
  min-height: 48px;
  border-radius: 14px;
  font-weight: 900;
}

.story-nav-primary {
  border: 1px solid rgba(255, 217, 138, 0.42);
  color: #fff0d0;
  background: linear-gradient(135deg, var(--ember), #6f3218);
}

.story-nav-secondary {
  border: 1px solid rgba(255, 217, 138, 0.18);
  color: rgba(255, 231, 190, 0.82);
  background: rgba(255, 240, 207, 0.07);
}

.story-toc-layer {
  position: fixed;
  inset: 0;
  z-index: 100;
  overflow: hidden;
}

.story-toc-dim {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(0, 0, 0, 0.68);
  backdrop-filter: blur(8px);
}

.story-toc-sheet {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  max-height: calc(88dvh - env(safe-area-inset-top));
  width: min(100%, 480px);
  margin: 0 auto;
  border: 1px solid rgba(255, 217, 138, 0.24);
  border-radius: 22px 22px 0 0;
  background: linear-gradient(180deg, #1d1109, #080403);
  box-shadow: 0 -28px 70px rgba(0, 0, 0, 0.52);
  overflow: hidden;
}

.story-toc-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px;
  border-bottom: 1px solid rgba(255, 217, 138, 0.14);
  padding: 18px;
}

.story-toc-head span {
  color: var(--candle);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.story-toc-head b {
  color: #fff0d0;
  font-family: var(--font-serif);
  font-size: 1.35rem;
}

.story-toc-head button {
  grid-column: 2;
  grid-row: 1 / span 2;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 217, 138, 0.22);
  border-radius: 999px;
  color: #ffe2ad;
  background: transparent;
  font-size: 1.2rem;
}

.story-toc-list {
  display: grid;
  gap: 8px;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: 14px 16px calc(18px + env(safe-area-inset-bottom));
}

.story-toc-list button {
  position: relative;
  display: grid;
  gap: 4px;
  border: 1px solid rgba(255, 217, 138, 0.13);
  border-radius: 12px;
  padding: 12px;
  color: inherit;
  background: rgba(255, 240, 207, 0.05);
  text-align: left;
}

.story-toc-list button.is-locked {
  padding-bottom: 34px;
}

.story-toc-list button.active {
  border-color: rgba(255, 217, 138, 0.44);
  background: rgba(255, 217, 138, 0.09);
}

.story-toc-list em {
  color: var(--candle);
  font-size: 0.68rem;
  font-style: normal;
  font-weight: 900;
}

.story-toc-list strong {
  color: #fff0d0;
}

.story-toc-list span {
  color: rgba(255, 235, 198, 0.62);
  font-size: 0.76rem;
  line-height: 1.45;
}

.story-toc-list button.is-locked span {
  padding-right: 88px;
}

.story-toc-lock-badge {
  position: absolute;
  right: 10px;
  bottom: 9px;
  border: 1px solid rgba(255, 217, 138, 0.22);
  border-radius: 999px;
  padding: 4px 8px;
  color: rgba(255, 226, 173, 0.86);
  background: rgba(255, 217, 138, 0.08);
  font-size: 0.66rem;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.empty {
  display: grid;
  min-height: 100dvh;
  place-items: center;
  padding: 24px;
  background: var(--paper);
  text-align: center;
}

.empty a {
  color: var(--red);
  font-weight: 900;
}

.admin-shell {
  min-height: 100dvh;
  padding: 28px;
  color: #fff1d3;
  background:
    radial-gradient(circle at 16% 8%, rgba(190, 129, 42, 0.2), transparent 34%),
    radial-gradient(circle at 84% 10%, rgba(194, 55, 46, 0.16), transparent 32%),
    linear-gradient(180deg, #090503 0%, #130b07 46%, #050302 100%);
  font-family: var(--font-ui);
}

.admin-auth-shell {
  display: grid;
  place-items: center;
}

.admin-login-card {
  width: min(100%, 520px);
  border: 1px solid rgba(228, 174, 82, 0.32);
  border-radius: 24px;
  padding: 34px;
  background: linear-gradient(180deg, rgba(42, 27, 18, 0.92), rgba(16, 9, 6, 0.96));
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.48);
}

.admin-login-card span,
.admin-top span,
.admin-panel-head span,
.admin-detail-head span {
  color: #e0a846;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.admin-login-card h1,
.admin-top h1 {
  margin: 10px 0;
  color: #fff6dd;
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3.1rem);
}

.admin-login-card p,
.admin-top p,
.admin-panel-head p {
  margin: 0;
  color: rgba(255, 236, 200, 0.62);
  line-height: 1.65;
}

.admin-google-btn,
.admin-top-actions button,
.admin-filters button,
.admin-detail-head button,
.admin-table a,
.admin-table button {
  border: 1px solid rgba(232, 181, 89, 0.34);
  border-radius: 12px;
  color: #fff4d7;
  background: rgba(255, 216, 139, 0.1);
  font-weight: 900;
  cursor: pointer;
}

.admin-google-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  margin-top: 22px;
  padding: 15px 18px;
  background: #fff;
  color: #1c120c;
}

.admin-google-btn b {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  background: #4285f4;
}

.admin-env-note {
  display: grid;
  gap: 8px;
  margin-top: 24px;
  border-top: 1px solid rgba(255, 231, 190, 0.12);
  padding-top: 18px;
}

.admin-env-note strong {
  color: #ffd990;
}

.admin-env-note code {
  border: 1px solid rgba(255, 231, 190, 0.12);
  border-radius: 8px;
  padding: 7px 9px;
  color: rgba(255, 238, 205, 0.8);
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.78rem;
}

.admin-env-note small {
  color: rgba(255, 238, 205, 0.48);
  line-height: 1.5;
}

.admin-top {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  max-width: 1440px;
  margin: 0 auto 22px;
}

.admin-top-actions {
  display: flex;
  gap: 10px;
}

.admin-top-actions button,
.admin-filters button,
.admin-detail-head button {
  min-height: 42px;
  padding: 0 16px;
}

.admin-detail-actions {
  display: flex;
  gap: 8px;
}

.admin-table button.admin-danger,
.admin-detail-head button.admin-danger {
  border-color: rgba(216, 63, 52, 0.52);
  color: #ffd0cb;
  background: rgba(216, 63, 52, 0.16);
}

.admin-filters,
.admin-metrics,
.admin-cost-overview,
.admin-panel,
.admin-detail-panel {
  max-width: 1440px;
  margin-right: auto;
  margin-left: auto;
}

.admin-filters {
  display: grid;
  grid-template-columns: minmax(220px, 1.4fr) repeat(3, minmax(150px, 0.7fr)) auto;
  gap: 10px;
  margin-bottom: 18px;
  border: 1px solid rgba(228, 174, 82, 0.18);
  border-radius: 18px;
  padding: 14px;
  background: rgba(255, 244, 220, 0.055);
}

.admin-filters label {
  display: grid;
  gap: 6px;
}

.admin-filters span {
  color: rgba(255, 231, 190, 0.58);
  font-size: 0.72rem;
  font-weight: 800;
}

.admin-filters input,
.admin-filters select {
  width: 100%;
  min-height: 42px;
  border: 1px solid rgba(228, 174, 82, 0.18);
  border-radius: 12px;
  padding: 0 12px;
  color: #fff4d7;
  background: rgba(9, 5, 3, 0.7);
}

.admin-metrics {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.admin-metric-card,
.admin-cost-overview article,
.admin-panel,
.admin-detail-panel {
  border: 1px solid rgba(228, 174, 82, 0.2);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(43, 28, 19, 0.86), rgba(18, 10, 7, 0.9));
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.25);
}

.admin-metric-card {
  display: grid;
  gap: 8px;
  min-height: 132px;
  padding: 18px;
}

.admin-metric-card span,
.admin-cost-overview span {
  color: rgba(255, 231, 190, 0.56);
  font-size: 0.78rem;
  font-weight: 900;
}

.admin-metric-card strong,
.admin-cost-overview b {
  color: #fff6dd;
  font-size: clamp(1.5rem, 2.5vw, 2.1rem);
  letter-spacing: 0;
}

.admin-metric-card p,
.admin-cost-overview p {
  margin: 0;
  color: rgba(255, 236, 200, 0.56);
  font-size: 0.82rem;
  line-height: 1.5;
}

.admin-cost-overview {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 12px;
}

.admin-cost-overview article {
  display: grid;
  gap: 8px;
  padding: 18px;
}

.admin-panel,
.admin-detail-panel {
  margin-top: 18px;
  padding: 20px;
}

.admin-panel-head {
  display: grid;
  gap: 6px;
  margin-bottom: 16px;
}

.admin-panel-head h2,
.admin-detail-head h2,
.admin-detail-grid h3,
.admin-report-preview h3 {
  margin: 0;
  color: #fff4d7;
  font-family: var(--font-serif);
}

.admin-chart {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(42px, 1fr));
  gap: 8px;
  min-height: 230px;
  align-items: end;
  border-radius: 14px;
  padding: 16px 12px 12px;
  background: rgba(7, 4, 3, 0.5);
}

.admin-chart-day {
  display: grid;
  grid-template-rows: 1fr auto auto;
  gap: 5px;
  height: 190px;
  text-align: center;
}

.admin-chart-day i {
  align-self: end;
  width: 44%;
  height: var(--h);
  min-height: 4px;
  border-radius: 999px 999px 4px 4px;
}

.admin-chart-day .is-results {
  justify-self: end;
  background: linear-gradient(180deg, #f7c769, #a96c20);
}

.admin-chart-day .is-paid {
  justify-self: start;
  grid-row: 1;
  background: linear-gradient(180deg, #e94d42, #7b211a);
}

.admin-chart-day span,
.admin-chart-day b {
  color: rgba(255, 236, 200, 0.62);
  font-size: 0.72rem;
}

.admin-source-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 10px;
}

.admin-source-list article {
  display: grid;
  gap: 7px;
  border: 1px solid rgba(255, 231, 190, 0.1);
  border-radius: 14px;
  padding: 14px;
  background: rgba(255, 244, 220, 0.045);
}

.admin-source-list b,
.admin-source-list strong {
  color: #fff4d7;
}

.admin-source-list span,
.admin-source-list em {
  color: rgba(255, 236, 200, 0.58);
  font-size: 0.8rem;
  font-style: normal;
  line-height: 1.45;
}

.admin-table-wrap {
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  min-width: 1220px;
  border-collapse: collapse;
}

.admin-table th,
.admin-table td {
  border-bottom: 1px solid rgba(255, 231, 190, 0.1);
  padding: 13px 10px;
  text-align: left;
  vertical-align: top;
}

.admin-table th {
  color: rgba(255, 231, 190, 0.48);
  font-size: 0.72rem;
  font-weight: 900;
}

.admin-table td {
  color: rgba(255, 246, 221, 0.86);
  font-size: 0.84rem;
}

.admin-table td strong,
.admin-table td b {
  display: block;
  color: #fff6dd;
  margin-bottom: 4px;
}

.admin-table td span {
  display: block;
  color: rgba(255, 236, 200, 0.48);
  max-width: 240px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-table .is-paid {
  color: #61d394;
}

.admin-table .is-free {
  color: #e9b768;
}

.admin-table a,
.admin-table button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  margin-right: 6px;
  padding: 0 10px;
  text-decoration: none;
}

.admin-cost-badge {
  display: inline-flex;
  margin-top: 4px;
  border-radius: 999px;
  padding: 4px 8px;
  font-size: 0.68rem;
  font-style: normal;
  font-weight: 900;
}

.admin-cost-badge.is-exact {
  color: #d7ffd9;
  background: rgba(56, 163, 92, 0.18);
}

.admin-cost-badge.is-estimate {
  color: #fff0bd;
  background: rgba(220, 159, 54, 0.2);
}

.admin-cost-badge.is-warn {
  color: #ffd0cb;
  background: rgba(216, 63, 52, 0.22);
}

.admin-generation-status {
  display: grid;
  gap: 4px;
  min-width: 150px;
}

.admin-generation-status strong {
  width: fit-content;
  border-radius: 999px;
  padding: 4px 9px;
  color: #fff8df;
  background: rgba(255, 217, 144, 0.14);
  font-size: 0.74rem;
}

.admin-generation-status span,
.admin-generation-status small {
  display: block;
  max-width: 190px;
  color: rgba(255, 236, 200, 0.58);
  font-size: 0.72rem;
  line-height: 1.35;
}

.admin-generation-status em {
  display: block;
  max-width: 210px;
  color: #ffb5ad;
  font-size: 0.72rem;
  font-style: normal;
  line-height: 1.35;
  white-space: normal;
}

.admin-generation-status.is-generating strong {
  color: #d9ecff;
  background: rgba(87, 160, 255, 0.2);
}

.admin-generation-status.is-assets_pending strong,
.admin-generation-status.is-assets_generating strong {
  color: #f7e5ff;
  background: rgba(158, 98, 255, 0.22);
}

.admin-generation-status.is-completed strong,
.admin-generation-status.is-ready strong {
  color: #d7ffd9;
  background: rgba(56, 163, 92, 0.22);
}

.admin-generation-status.is-failed strong {
  color: #ffd0cb;
  background: rgba(216, 63, 52, 0.28);
}

.admin-generation-status.is-queued strong {
  color: #fff0bd;
  background: rgba(220, 159, 54, 0.22);
}

.admin-generation-status.is-free strong {
  color: rgba(255, 236, 200, 0.54);
  background: rgba(255, 244, 220, 0.08);
}

.admin-detail-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.admin-detail-head p {
  margin: 6px 0 0;
  color: rgba(255, 236, 200, 0.48);
}

.admin-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.admin-detail-grid article,
.admin-report-preview {
  border: 1px solid rgba(255, 231, 190, 0.1);
  border-radius: 14px;
  padding: 16px;
  background: rgba(255, 244, 220, 0.04);
}

.admin-detail-grid dl {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 8px 12px;
  margin: 14px 0 0;
}

.admin-detail-grid dt {
  color: rgba(255, 236, 200, 0.48);
  font-size: 0.82rem;
}

.admin-detail-grid dd {
  margin: 0;
  color: #fff4d7;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.admin-status-dl {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 8px 12px;
  margin: 14px 0 0;
}

.admin-status-dl dt {
  color: rgba(255, 236, 200, 0.48);
  font-size: 0.78rem;
}

.admin-status-dl dd {
  margin: 0;
  color: #fff4d7;
  font-size: 0.78rem;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.admin-error-box {
  border: 1px solid rgba(255, 98, 86, 0.26);
  color: #ffd0cb;
  background: rgba(120, 16, 10, 0.22);
}

.admin-cost-lines {
  display: grid;
  gap: 10px;
  margin: 14px 0;
  padding: 0;
  list-style: none;
}

.admin-cost-lines li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.admin-cost-lines small {
  display: block;
  color: rgba(255, 236, 200, 0.46);
  font-size: 0.72rem;
}

.admin-detail-total {
  display: block;
  border-top: 1px solid rgba(255, 231, 190, 0.12);
  padding-top: 12px;
  color: #ffd990;
}

.admin-detail-grid pre,
.admin-report-preview pre {
  max-height: 360px;
  overflow: auto;
  border-radius: 12px;
  margin: 12px 0 0;
  padding: 12px;
  color: rgba(255, 239, 207, 0.78);
  background: rgba(0, 0, 0, 0.28);
  font-size: 0.78rem;
  line-height: 1.55;
  white-space: pre-wrap;
}

.admin-report-preview {
  margin-top: 12px;
}

.admin-empty {
  color: rgba(255, 236, 200, 0.52);
}

.llm-map-page {
  padding-bottom: 56px;
}

.llm-map-hero {
  border-bottom: 1px solid rgba(255, 215, 142, 0.22);
  padding: 28px 16px 22px;
}

.llm-map-hero span {
  display: block;
  color: #f0b24a;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.llm-map-hero h1 {
  margin: 10px 0 12px;
  color: #fff3d2;
  font-size: 2rem;
  line-height: 1.16;
}

.llm-map-hero p {
  margin: 0;
  color: rgba(255, 240, 210, 0.72);
  font-size: 0.92rem;
  line-height: 1.75;
}

.llm-map-hero b,
.llm-map-page .story-premium-generated :is(h2, p, li, blockquote, .story-premium-generated-takeaway) {
  color: #ffdf83;
}

.llm-map-chapter {
  border-bottom: 10px solid rgba(0, 0, 0, 0.24);
  padding-bottom: 28px;
}

.llm-map-page .story-partner-card :is(h2, p),
.llm-map-page .story-marriage-card :is(h2, p) {
  color: #ffdf83;
}

@media (min-width: 700px) {
  body {
    background:
      linear-gradient(90deg, #0c0b0a, #201a14 45%, #0c0b0a);
  }
}

@media (max-width: 900px) {
  .admin-shell {
    padding: 18px 12px;
  }

  .admin-top {
    display: grid;
  }

  .admin-filters,
  .admin-metrics,
  .admin-cost-overview,
  .admin-detail-grid {
    grid-template-columns: 1fr;
  }

  .admin-chart {
    overflow-x: auto;
    grid-template-columns: repeat(14, 48px);
  }
}

/* Final font roles */
body,
.story-premium-generated-body p,
.story-premium-generated-points li,
.premium-chapter-body p,
.premium-chapter-points li,
.story-card p,
.story-toc-list span {
  font-family: var(--font-body);
}

button,
input,
select,
textarea,
.primary-btn,
.result-cta,
.story-nav-primary,
.story-nav-secondary,
.form-card,
.purchase-order,
.payment-method-card,
.admin-shell {
  font-family: var(--font-ui);
}

h1,
h2,
h3,
h4,
.landing-title,
.loading-title,
.hero-title,
.brand-mark,
.form-card h2,
.mbti-panel h3,
.deep-report-head h2,
.premium-hero h2,
.premium-toc-head b,
.premium-part-head h3,
.premium-chapter-body h4,
.premium-chart-head b,
.shaman-media-copy b,
.legal-hero h1,
.story-chapter-hero h1,
.story-premium-generated-head h2,
.story-prologue-reveal-step span,
.story-past-reveal-step span,
.story-past-reveal-step.is-final strong,
.story-seal-step span,
.story-toc-head b,
.story-lock-copy h2,
.llm-map-hero h1 {
  font-family: var(--font-title);
}

.story-page h1,
.story-page h2,
.story-page h3,
.story-page h4,
.story-card > b,
.story-card > strong,
.story-card header b,
.story-card header strong,
.story-type-card h2,
.story-type-card b,
.story-past-card h2,
.story-past-card b,
.story-partner-card h2,
.story-partner-card b,
.story-marriage-card h2,
.story-marriage-card b,
.story-generated-support-head b,
.story-generated-support-card b,
.story-premium-generated-card b,
.story-current-card b,
.story-current-reading-head b,
.story-current-reading-card b,
.story-metric-card b,
.story-table-card h3,
.story-flow-card h3,
.story-chart-card h3,
.story-insight-card h3,
.story-section-title,
.story-subtitle {
  font-family: var(--font-title);
}

.story-page p,
.story-page li,
.story-page td,
.story-page th,
.story-page figcaption,
.story-card p,
.story-card em,
.story-card small,
.story-type-card p,
.story-past-card p,
.story-partner-card p,
.story-marriage-card p,
.story-current-card p,
.story-current-reading-card p,
.story-generated-support-card p,
.story-premium-generated-card p,
.story-chapter-hero span,
.story-day-archetype p,
.story-explain-card p,
.story-pillar p,
.story-pillar-tile em,
.story-pillar-tile i {
  font-family: var(--font-body);
}

.oracle-bubble p,
.oracle-bubble strong,
.story-shaman-talk p,
.story-shaman-talk > div > strong,
.story-oracle-note,
.story-scroll-line {
  font-family: var(--font-dialogue);
}

.landing-title,
.story-prologue-reveal-step span,
.story-past-reveal-step span,
.story-past-reveal-step.is-final strong,
.story-seal-step span {
  font-family: var(--font-ritual-title);
}

.story-letter-name,
.story-letter-name span {
  font-family: var(--font-name);
}

.story-day-archetype h2,
.story-pillar-head b,
.story-pillar-tile b,
.story-explain-card b,
.story-card h2,
.story-card h3,
.story-card h4 {
  font-family: var(--font-title);
}

.story-day-archetype p,
.story-pillar p,
.story-pillar-tile em,
.story-pillar-tile i,
.story-explain-card p {
  font-family: var(--font-body);
}

.story-page h1,
.story-page h2,
.story-page h3,
.story-page h4,
.story-page h5,
.story-page h6,
.story-card > span,
.story-card > b,
.story-card > strong,
.story-card header span,
.story-card header b,
.story-card header strong,
.story-type-card span,
.story-type-card h2,
.story-type-card b,
.story-past-card span,
.story-past-card h2,
.story-past-card b,
.story-past-identity h2,
.story-past-traits b,
.story-karma-card b,
.story-past-now h3,
.story-past-lesson b,
.story-partner-card span,
.story-partner-card h2,
.story-partner-card b,
.story-marriage-card span,
.story-marriage-card h2,
.story-marriage-card b,
.story-current-profile span,
.story-current-profile h2,
.story-current-score span,
.story-current-score b,
.story-fact-bomb span,
.story-fact-bomb h3,
.story-current-advice > span,
.story-current-reading-head span,
.story-current-reading-head h3,
.story-current-secret-kicker,
.story-current-secret h3,
.story-explain-card span,
.story-explain-card b,
.story-metric-card span,
.story-metric-card b,
.story-premium-welcome span,
.story-premium-head span,
.story-premium-generated-head span,
.story-premium-generated-head h2,
.story-premium-generated-head blockquote,
.story-generated-support-head span,
.story-generated-support-head b,
.story-bar-row span,
.story-bar-row b,
.story-career-mismatch > span,
.story-career-mismatch strong,
.story-career-mismatch em,
.story-line-labels span,
.story-insight-item span,
.story-insight-item b,
.story-premium-mini-card span,
.story-premium-mini-card h3,
.story-deep-section > span,
.story-bullet-panel > span,
.story-premium-timeline b,
.story-month-grid span,
.story-month-grid b,
.story-month-grid em,
.story-sinsal-grid span,
.story-sinsal-grid b,
.story-shensal-explain-list article > span,
.story-shensal-explain-list h4,
.story-shensal-explain-list b,
.story-action-list span,
.story-action-list b,
.story-closing-scroll span,
.story-closing-scroll b,
.story-seal-kicker,
.story-seal-offer h3,
.premium-access-card h2,
.premium-hero h2,
.premium-summary-card span,
.premium-summary-card b,
.premium-chart-head span,
.premium-chart-head b,
.premium-toc-head span,
.premium-toc-head b,
.premium-part-head span,
.premium-part-head h3,
.premium-chapter-body > span,
.premium-chapter-body h4,
.premium-detail-section > div > span,
.premium-detail-section h3,
.premium-table-card h3,
.premium-flow-item b,
.premium-bar-row b,
.premium-bar-row span,
.premium-column b,
.premium-column span,
.premium-section-number {
  font-family: var(--font-title);
}

.story-page p,
.story-page li,
.story-page td,
.story-page th,
.story-page small,
.story-card p,
.story-card em,
.story-type-card p,
.story-type-card em,
.story-past-card p,
.story-past-prose p,
.story-past-now p,
.story-past-lesson p,
.story-partner-card p,
.story-marriage-card p,
.story-current-profile p,
.story-fact-bomb p,
.story-current-reading p,
.story-current-advice p,
.story-current-secret p,
.story-premium-generated-body p,
.story-premium-generated-points li,
.story-generated-support-card p,
.story-premium-generated-card p,
.story-career-mismatch article p,
.story-insight-item p,
.story-bullet-panel li,
.story-premium-timeline span,
.story-month-grid p,
.story-sinsal-grid p,
.story-shensal-explain-list p,
.story-shensal-explain-list em,
.story-action-list p,
.story-seal-offer p,
.premium-chapter-body p,
.premium-chapter-points li,
.premium-summary-card p,
.premium-detail-section p,
.premium-table-card th,
.premium-table-card td,
.premium-flow-item span,
.premium-flow-item em,
.premium-note,
.premium-warning {
  font-family: var(--font-body);
}

/* Report subtitle/font hierarchy guard
   Keep every card label, small heading, metric label, and premium block title in KoPub Batang. */
.story-page :is(h1, h2, h3, h4, h5, h6),
.story-card > :is(span, b, strong):first-child,
.story-card header :is(span, b, strong),
.story-section-title,
.story-subtitle,
.story-chapter-hero h1,
.story-type-card :is(span, h2, b),
.story-past-card :is(span, h2, b),
.story-past-identity h2,
.story-past-traits b,
.story-karma-card b,
.story-past-now h3,
.story-past-lesson b,
.story-partner-card :is(span, h2, b),
.story-marriage-card :is(span, h2, b),
.story-media-placeholder b,
.story-day-archetype h2,
.story-pillar-head :is(span, b),
.story-pillar-tile b,
.story-pillar-tile-head :is(span, small),
.story-pillar-tags span,
.story-explain-card :is(span, b),
.story-current-profile :is(span, h2),
.story-current-score :is(span, b, em),
.story-fact-bomb :is(span, h3),
.story-current-advice > span,
.story-current-reading-head :is(span, h3, b),
.story-current-secret-kicker,
.story-current-secret h3,
.story-metric-card :is(span, b, strong),
.story-premium-welcome :is(span, h2),
.story-premium-head span,
.story-premium-panel h3,
.story-premium-generated-head :is(span, h2, blockquote),
.story-premium-generated-takeaway,
.story-generated-support-head :is(span, b),
.story-generated-support-card b,
.story-premium-generated-card b,
.story-bar-row :is(span, b, strong),
.story-line-labels span,
.story-insight-item :is(span, b),
.story-career-mismatch > span,
.story-career-mismatch :is(strong, em),
.story-premium-mini-card :is(span, h3),
.story-deep-section > span,
.story-bullet-panel > span,
.story-samjae-schedule > span,
.story-samjae-periods :is(span, b),
.story-samjae-stages :is(span, b, strong, em),
.story-summary-box p b,
.story-premium-timeline b,
.story-month-grid :is(span, b, em),
.story-daewoon-map h3,
.story-daewoon-path span,
.story-sinsal-grid :is(span, b),
.story-shensal-explain-list article > span,
.story-shensal-explain-list :is(h4, b),
.story-action-list :is(span, b),
.story-closing-scroll :is(span, b),
.story-seal-kicker,
.story-seal-offer h3,
.story-seal-price :is(span, b, strong, del),
.story-seal-countdown :is(span, b),
.story-must-list article > span,
.story-must-list b,
.story-review-head :is(span, b, em, small),
.story-price-row span,
.story-price-current b,
.story-lock-copy :is(span, h2),
.story-partner-portrait figcaption span,
.story-partner-portrait.is-pending b,
.story-marriage-past b,
.story-marriage-years :is(strong, b, em),
.story-toc-head :is(span, b),
.story-toc-list :is(strong, b, em),
.premium-access-card h2,
.premium-hero h2,
.premium-summary-card :is(span, b),
.premium-chart-head :is(span, b),
.premium-toc-head :is(span, b),
.premium-toc-item :is(span, b, em),
.premium-part-head :is(span, h3),
.premium-chapter-index,
.premium-chapter-body > span,
.premium-chapter-body h4,
.premium-chapter-body > strong,
.premium-detail-section > div > span,
.premium-detail-section h3,
.premium-detail-section strong,
.premium-table-card h3,
.premium-table-card th,
.premium-flow-item b,
.premium-bar-row :is(b, span, strong),
.premium-column :is(b, span),
.premium-section-number,
.premium-closing b {
  font-family: var(--font-title) !important;
}

/* Body/sub copy stays KoPub Dotum even inside the same report cards. */
.story-page :is(p, li, td),
.story-page figcaption p,
.story-card p,
.story-card small,
.story-card p em,
.story-card li em,
.story-type-card p,
.story-past-card p,
.story-past-prose p,
.story-past-now p,
.story-past-lesson p,
.story-partner-card p,
.story-marriage-card p,
.story-current-profile p,
.story-fact-bomb p,
.story-current-reading p,
.story-current-advice p,
.story-current-secret p,
.story-premium-generated-body p,
.story-premium-generated-points li,
.story-generated-support-card p,
.story-premium-generated-card p,
.story-career-mismatch article p,
.story-insight-item p,
.story-bullet-panel li,
.story-premium-timeline span,
.story-month-grid p,
.story-sinsal-grid p,
.story-shensal-explain-list p,
.story-action-list p,
.story-seal-offer p,
.story-must-list p,
.story-review-card p,
.story-price-compare > p,
.story-partner-disclaimer,
.premium-chapter-body p,
.premium-chapter-points li,
.premium-summary-card p,
.premium-detail-section p,
.premium-table-card td,
.premium-flow-item :is(span, em),
.premium-note,
.premium-warning {
  font-family: var(--font-body) !important;
}

/* Preserve the special display fonts that should not become KoPub Batang. */
.landing-title,
.story-prologue-reveal-step span,
.story-past-reveal-step span,
.story-past-reveal-step.is-final strong,
.story-seal-step span {
  font-family: var(--font-ritual-title) !important;
}

.story-letter-name,
.story-letter-name span {
  font-family: var(--font-name) !important;
}
