:root {
  --bg: #f5f1e8;
  --paper: #fffdf8;
  --ink: #27251f;
  --muted: #69645b;
  --line: #ded6c8;
  --accent: #183f38;
  --accent-soft: #e3eee9;
  --research: #8b5d18;
  --research-soft: #fff0ce;
  --held: #6f5967;
  --held-soft: #eee8ec;
  --danger: #9e2e2e;
  --shadow: 0 16px 45px rgba(50, 43, 30, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  min-height: 100vh;
  margin: 0;
  display: flex;
  flex-direction: column;
  color: var(--ink);
  background: radial-gradient(circle at top left, #fbf7ed 0, var(--bg) 48%, #eee8da 100%);
  font-family: "Pretendard", "Noto Sans KR", "Malgun Gothic", sans-serif;
  line-height: 1.65;
}
button, input, textarea { font: inherit; }
button { cursor: pointer; }

.topbar {
  min-height: 64px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 28px;
  background: rgba(255, 253, 248, 0.92);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
}
.brand { font-size: 1.2rem; font-weight: 800; letter-spacing: -0.04em; }
.beta-mark { color: var(--muted); font-size: 0.9rem; }
.page-shell { flex: 1 0 auto; width: min(1040px, calc(100% - 28px)); margin: 0 auto 80px; }
.hero { padding: 72px 10px 38px; }
.eyebrow { color: var(--accent); font-weight: 800; margin: 0 0 10px; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3, h4, h5, h6 { word-break: keep-all; overflow-wrap: break-word; }
h1 { font-size: clamp(2rem, 5vw, 3.8rem); line-height: 1.13; letter-spacing: -0.055em; max-width: 820px; margin-bottom: 20px; }
h2 { margin: 8px 0 0; font-size: clamp(1.35rem, 3vw, 2rem); letter-spacing: -0.035em; }
h3 { letter-spacing: -0.025em; }
.hero > p:last-child { max-width: 760px; color: var(--muted); font-size: 1.05rem; }

.panel {
  background: rgba(255, 253, 248, 0.97);
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: clamp(22px, 4vw, 38px);
  margin-bottom: 22px;
  box-shadow: var(--shadow);
}
.section-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; margin-bottom: 26px; }
.section-heading > p { color: var(--muted); max-width: 430px; text-align: right; }
.status-badge { display: inline-flex; padding: 5px 10px; border-radius: 999px; font-size: 0.78rem; font-weight: 800; }
.status-badge.confirmed { background: var(--accent-soft); color: var(--accent); }
.status-badge.research { background: var(--research-soft); color: var(--research); }
.status-badge.held { background: var(--held-soft); color: var(--held); }

.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
label > span, legend { display: block; font-weight: 750; margin-bottom: 8px; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
input[type="date"], input[type="time"], input[data-birth-date-input], textarea {
  width: 100%;
  border: 1px solid #cfc6b6;
  border-radius: 14px;
  background: white;
  padding: 13px 14px;
  color: var(--ink);
}
textarea { resize: vertical; }
input:focus, textarea:focus { outline: 3px solid rgba(24, 63, 56, 0.15); border-color: var(--accent); }
.choice { display: inline-flex; align-items: center; gap: 7px; margin: 5px 16px 5px 0; font-weight: 500; }
.field-note { font-size: 0.86rem; color: var(--muted); margin: 8px 0 0; }
.boundary-box, .notice-box { margin-top: 24px; padding: 18px; border-radius: 16px; background: #f7f2e8; border: 1px solid var(--line); }
.notice-box strong { display: block; margin-bottom: 6px; }
.notice-box p { margin-bottom: 0; color: var(--muted); }
.primary-button { border: 0; border-radius: 15px; padding: 15px 22px; color: white; background: linear-gradient(135deg, #6b35a6, #4a237c); box-shadow: 0 10px 24px rgba(76, 35, 126, 0.22); font-weight: 800; margin-top: 24px; min-width: 200px; }
.primary-button:hover { filter: brightness(1.08); }
.form-error { color: var(--danger); margin: 12px 0 0; min-height: 1.5em; font-weight: 700; }
.loading { display: flex; align-items: center; gap: 14px; }
.loading p { margin: 0; }
.spinner { width: 26px; height: 26px; border: 3px solid var(--line); border-top-color: var(--accent); border-radius: 50%; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.pillar-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.pillar-card { border: 1px solid var(--line); border-radius: 18px; padding: 18px 12px; text-align: center; background: white; }
.pillar-card .location { color: var(--muted); font-size: 0.82rem; }
.pillar-card strong { display: block; font-size: 1.7rem; margin: 6px 0 2px; }
.pillar-card small { color: var(--muted); }
.result-summary { margin: 22px 0 0; padding: 16px 18px; background: var(--accent-soft); border-radius: 16px; }

.timeline { display: grid; gap: 14px; }
.timeline-card { border: 1px solid var(--line); border-radius: 20px; padding: 20px; background: white; }
.timeline-card.current { border-color: var(--accent); box-shadow: inset 4px 0 0 var(--accent); }
.timeline-head { display: flex; justify-content: space-between; gap: 14px; align-items: center; }
.year-label { font-size: 1.25rem; font-weight: 850; }
.cycle-label { color: var(--muted); font-size: 0.9rem; }
.topic-chips { display: flex; flex-wrap: wrap; gap: 7px; margin: 14px 0; }
.topic-chip { padding: 6px 10px; border-radius: 999px; background: #f3eee4; font-size: 0.85rem; }
.timeline-note { color: var(--muted); margin: 0; }
.pressure-note { margin-top: 14px; padding: 13px 14px; border-radius: 14px; background: var(--research-soft); border: 1px solid #efd392; }
.pressure-note strong { color: var(--research); }
.pressure-note p { margin: 4px 0 0; }
.daewoon-note { font-size: 0.86rem; color: var(--muted); margin-top: 10px; }

.role-summary { padding: 20px; border: 1px solid var(--line); border-radius: 18px; background: white; }
.role-theme-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px; margin-top: 15px; }
.role-theme { padding: 16px; border-radius: 16px; background: #f6f1e7; }
.role-theme h3 { margin-bottom: 8px; }
.role-theme ul { margin: 0; padding-left: 20px; }
.occupation-box { margin-top: 16px; padding: 16px; border-radius: 16px; background: var(--accent-soft); }
.occupation-box ul { columns: 2; padding-left: 20px; }
.held-message { padding: 18px; background: var(--held-soft); border-radius: 16px; }
.disclosure ul { margin-bottom: 0; }

.survey-panel fieldset, .survey-panel > form > label { display: block; padding: 18px 0; border-bottom: 1px solid var(--line); }
.survey-questions { display: grid; gap: 0; }
.score-row { padding: 18px 0; border-bottom: 1px solid var(--line); }
.score-row p { font-weight: 750; margin-bottom: 9px; }
.score-options { display: flex; flex-wrap: wrap; gap: 8px; }
.score-options label { padding: 7px 10px; border: 1px solid var(--line); border-radius: 12px; background: white; }
.checkbox-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.checkbox-grid label { padding: 7px 10px; border: 1px solid var(--line); border-radius: 12px; }
.survey-message { margin-top: 13px; font-weight: 750; }
.export-links { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 20px; }
.export-links a { color: var(--accent); font-weight: 750; }

@media (max-width: 720px) {
  .topbar { padding: 0 16px; }
  .beta-mark { font-size: 0.74rem; }
  .hero { padding-top: 48px; }
  .form-grid { grid-template-columns: 1fr; }
  .section-heading { display: block; }
  .section-heading > p { text-align: left; margin-top: 10px; }
  .pillar-grid { grid-template-columns: repeat(2, 1fr); }
  .timeline-head { align-items: flex-start; flex-direction: column; }
  .occupation-box ul { columns: 1; }
}

/* V4.28: HTML hidden must override component display rules. */
[hidden] { display: none !important; }

.status-badge.current { background: #dceee9; color: #104e43; }
.current-focus { border-color: #b6d4cd; }
.current-title { margin-bottom: 20px; }
.current-title > span { color: var(--accent); font-weight: 850; }
.current-title h3 { font-size: 1.55rem; margin: 8px 0 0; }
.detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.detail-section { padding: 18px; border: 1px solid var(--line); border-radius: 18px; background: white; }
.detail-section h4 { margin: 0 0 8px; font-size: 1rem; }
.detail-section p { margin: 0; line-height: 1.72; color: #514b42; }
.coverage-summary { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-bottom: 20px; }
.coverage-summary > div { padding: 16px; border-radius: 16px; background: #f6f1e7; }
.coverage-summary strong, .coverage-summary span { display: block; }
.coverage-summary span { color: var(--muted); margin-top: 5px; }
.lifetime-bands { display: grid; gap: 12px; }
.life-band { border: 1px solid var(--line); border-radius: 20px; background: white; overflow: clip; }
.life-band > summary { list-style: none; cursor: pointer; padding: 20px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.life-band > summary::-webkit-details-marker { display: none; }
.life-band > summary > div { display: grid; gap: 5px; }
.life-band > summary strong { font-size: 1.12rem; }
.life-band > summary small { color: var(--muted); }
.age-label { color: var(--accent); font-weight: 900; }
.band-state { flex: 0 0 auto; font-size: 0.8rem; font-weight: 850; border-radius: 999px; padding: 7px 10px; }
.band-state.ready { color: var(--accent); background: var(--accent-soft); }
.band-state.locked { color: var(--held); background: var(--held-soft); }
.life-band[open] > summary { border-bottom: 1px solid var(--line); background: #fbf8f1; }
.band-body { padding: 22px; }
.band-body > h3 { font-size: 1.4rem; margin-bottom: 18px; }
.life-band.locked { opacity: 0.86; }
.locked-box { padding: 18px; border-radius: 16px; background: var(--held-soft); border: 1px solid #ded7d0; }
.locked-box p { margin-bottom: 8px; }
.year-details, .evidence-details { margin-top: 16px; border: 1px solid var(--line); border-radius: 16px; background: #faf7f0; }
.year-details > summary, .evidence-details > summary { cursor: pointer; padding: 14px 16px; font-weight: 850; }
.annual-list { display: grid; gap: 10px; padding: 0 14px 14px; }
.annual-item { padding: 16px; border-radius: 14px; background: white; border: 1px solid var(--line); }
.annual-item h5 { margin: 10px 0 6px; font-size: 1rem; }
.annual-item p { color: var(--muted); line-height: 1.65; margin-bottom: 8px; }
.annual-item small { color: var(--muted); }
.annual-head { display: flex; justify-content: space-between; gap: 12px; }
.annual-head span { color: var(--muted); }
.evidence-details pre { white-space: pre-wrap; word-break: break-word; font-size: 0.78rem; line-height: 1.5; margin: 0; padding: 0 16px 16px; }

@media (max-width: 720px) {
  .detail-grid, .coverage-summary { grid-template-columns: 1fr; }
  .life-band > summary { align-items: flex-start; }
  .annual-head { flex-direction: column; }
}

/* V4.30: easy-reading career, money and relationship story cards. */
.story-heading {
  padding: 20px;
  border-radius: 18px;
  background: linear-gradient(135deg, #eef6f2, #fbf6e9);
  border: 1px solid #cddfd8;
  margin-bottom: 16px;
}
.story-heading > span { color: var(--accent); font-size: 0.82rem; font-weight: 850; }
.story-heading h3 { margin: 8px 0 8px; font-size: clamp(1.3rem, 3vw, 1.75rem); line-height: 1.32; }
.story-heading p { margin: 0; color: #4f4a42; line-height: 1.7; }
.current-story { background: linear-gradient(135deg, #e7f4ef, #fff8e7); }
.story-opening {
  margin: 0 0 18px;
  padding: 0 4px;
  font-size: 1.03rem;
  line-height: 1.82;
  color: #4e483f;
}
.fortune-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.fortune-section { position: relative; padding: 19px; border: 1px solid var(--line); border-radius: 18px; background: white; overflow: hidden; }
.fortune-section::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 4px; background: #c6d9d3; }
.fortune-section.money::before { background: #d3b165; }
.fortune-section.relationship::before { background: #bca7ce; }
.fortune-section.pressure::before { background: #cc8a75; }
.fortune-section.opportunity::before { background: #7ea889; }
.fortune-section h4 { margin: 0 0 10px; font-size: 1.02rem; }
.fortune-section p { margin: 0; line-height: 1.76; color: #4f4941; }
.fortune-section.opportunity { grid-column: 1 / -1; background: #f3f7ef; }
.immersive-fortune-grid { margin: 0 0 18px; }
.immersive-fortune-grid .fortune-section h4 { color: #3f4f49; }
.immersive-fortune-grid .fortune-section p { font-size: .97rem; }
.year-details-note { margin: 0; padding: 0 16px 14px; color: var(--muted); font-size: 0.88rem; line-height: 1.55; }
.annual-item { padding: 20px; }
.annual-head > div { display: grid; gap: 5px; }
.annual-head strong { font-size: 1.08rem; }
.annual-head small { color: var(--muted); }
.transition-chip { align-self: flex-start; padding: 6px 9px; border-radius: 999px; background: #f5e6bd; color: #7b5715 !important; font-size: 0.78rem; font-weight: 850; }
.annual-item h5 { font-size: 1.15rem; margin: 16px 0 7px; }
.annual-one-line { margin: 0 0 14px !important; color: #39352f !important; font-weight: 650; }
.annual-fortune-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.annual-fortune-grid section { padding: 14px; border-radius: 14px; background: #f8f5ef; }
.annual-fortune-grid h6 { margin: 0 0 7px; font-size: 0.9rem; }
.annual-fortune-grid p { margin: 0; line-height: 1.65; color: #565047; }
.annual-tip { margin-top: 12px; padding: 14px 16px; border-radius: 14px; background: var(--accent-soft); }
.annual-tip strong { display: block; margin-bottom: 5px; color: var(--accent); }
.annual-tip p { margin: 0; color: #3f4d47; }
.annual-evidence { margin-top: 10px; }
.annual-evidence > summary { cursor: pointer; color: var(--muted); font-size: 0.82rem; }
.annual-evidence p { margin: 7px 0 0; color: var(--muted); font-size: 0.8rem; }
.evidence-list { padding: 0 16px 16px; display: grid; gap: 8px; }
.evidence-list > div { display: grid; grid-template-columns: 145px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid #e5ded2; }
.evidence-list strong { font-size: 0.88rem; }
.evidence-list span { color: var(--muted); line-height: 1.55; }
.evidence-list p { margin: 5px 0 0; color: var(--muted); line-height: 1.65; }
.role-summary > .story-heading { margin-bottom: 14px; }
.role-theme { background: #f8f4ea; border: 1px solid var(--line); }
.role-theme > p { color: #514b42; line-height: 1.65; }
.field-chip-grid { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.field-chip-grid span { padding: 8px 11px; border-radius: 999px; background: white; border: 1px solid #c8d9d3; font-size: 0.88rem; }
.pressure-note small { display: block; margin-top: 7px; color: #7b633b; }

@media (max-width: 720px) {
  .fortune-grid, .annual-fortune-grid { grid-template-columns: 1fr; }
  .fortune-section.opportunity { grid-column: auto; }
  .evidence-list > div { grid-template-columns: 1fr; gap: 4px; }
}


.inline-feedback { margin-top: 16px; padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: #fffdf8; }
.inline-feedback > strong { display: inline-block; margin-bottom: 4px; color: var(--ink); }
.inline-feedback > p { margin: 0 0 10px; color: var(--muted); }
.inline-feedback-options { display: flex; flex-wrap: wrap; gap: 8px; }
.inline-feedback-options button { border: 1px solid var(--line); background: #fff; color: var(--ink); border-radius: 999px; padding: 8px 12px; cursor: pointer; font: inherit; }
.inline-feedback-options button:hover, .inline-feedback-options button.selected { border-color: var(--accent); background: var(--accent-soft); }
.inline-feedback-status { display: block; min-height: 1.25em; margin-top: 8px; color: var(--accent); }

/* V4.39: varied fortune chapters and story-first annual cards. */
.fortune-chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.fortune-chip-row span { padding: 7px 11px; border: 1px solid #c9d9d3; border-radius: 999px; background: rgba(255,255,255,0.78); color: var(--accent); font-size: 0.84rem; font-weight: 800; }
.fortune-chapter-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; margin-top: 16px; }
.fortune-chapter { position: relative; padding: 20px; border: 1px solid var(--line); border-radius: 19px; background: #fff; overflow: hidden; }
.fortune-chapter::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: #7aa494; }
.fortune-tone-1::before { background: #d0a758; }
.fortune-tone-2::before { background: #a992bd; }
.fortune-tone-3::before { background: #c67f6c; }
.fortune-tone-4::before { background: #7e9bb6; }
.fortune-label { display: inline-block; margin-bottom: 9px; color: var(--accent); font-size: 0.82rem; font-weight: 900; }
.fortune-chapter h4 { margin: 0 0 10px; font-size: 1.08rem; line-height: 1.45; }
.fortune-chapter p { margin: 0; color: #514b42; line-height: 1.78; }
.annual-story-opening { margin: 8px 0 16px !important; color: #48423a !important; line-height: 1.75 !important; }
.annual-focus-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.annual-focus-grid section { padding: 15px; border-radius: 15px; background: #f8f5ef; }
.annual-focus-grid span { display: block; margin-bottom: 7px; color: var(--accent); font-size: 0.78rem; font-weight: 850; }
.annual-focus-grid h6 { margin: 0 0 8px; font-size: 0.95rem; line-height: 1.45; }
.annual-focus-grid p { margin: 0; color: #575047; line-height: 1.65; }
#display-name + .field-note { display: block; margin-top: 7px; }

@media (max-width: 820px) {
  .fortune-chapter-grid, .annual-focus-grid { grid-template-columns: 1fr; }
}

/* V4.39: explain why fortunes change and distinguish core/supporting themes. */
input[type="text"] {
  width: 100%;
  border: 1px solid #cfc6b6;
  border-radius: 14px;
  background: white;
  padding: 13px 14px;
  color: var(--ink);
}

.flow-guide-panel { border-color: #c9dcd6; }
.flow-layer-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.flow-layer-grid article { position: relative; padding: 20px; border: 1px solid var(--line); border-radius: 18px; background: #fbf8f1; }
.flow-layer-grid article > span { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--accent); color: white; font-weight: 900; margin-bottom: 12px; }
.flow-layer-grid strong { display: block; margin-bottom: 8px; }
.flow-layer-grid p { margin: 0; color: var(--muted); line-height: 1.68; }
.flow-guide-note { margin: 16px 0 0; padding: 16px 18px; border-radius: 16px; background: var(--accent-soft); line-height: 1.72; }

.fortune-chip-row span.core { background: var(--accent); color: white; border-color: var(--accent); }
.fortune-chip-row span.supporting { background: white; }
.fortune-label-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 9px; }
.core-badge, .support-badge { font-size: 0.72rem; font-weight: 850; border-radius: 999px; padding: 4px 8px; }
.core-badge { background: var(--accent); color: white; }
.support-badge { background: #f1ece2; color: var(--muted); }
.fortune-chapter.core-fortune { border-width: 2px; border-color: #8eb7ac; background: #f9fcfb; }

.flow-reason-box { margin: 16px 0; border: 1px solid #cbded8; border-radius: 18px; background: #f7fbf9; overflow: hidden; }
.flow-reason-details > summary { cursor: pointer; padding: 16px 18px; font-size: 1rem; font-weight: 850; color: #3f554e; }
.flow-reason-details[open] > summary { border-bottom: 1px solid #dbe6e2; background: #f1f8f5; }
.flow-reason-body { padding: 16px 18px 18px; }
.flow-reason-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.flow-reason-grid > div { padding: 14px; border-radius: 14px; background: white; border: 1px solid #dbe6e2; }
.flow-reason-grid strong { display: block; margin-bottom: 6px; color: var(--accent); }
.flow-reason-grid p { margin: 0; color: #555047; line-height: 1.65; }
.flow-change-chips { margin-top: 12px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.flow-change-chips > div { padding: 12px 14px; border-radius: 14px; background: #f5f0e6; }
.flow-change-chips strong, .flow-change-chips span { display: block; }
.flow-change-chips span { margin-top: 5px; color: var(--muted); }

.phase-story { margin: 16px 0; padding: 18px; border: 1px solid var(--line); border-radius: 18px; background: #fffdf8; }
.phase-title span { color: var(--accent); font-size: 0.8rem; font-weight: 850; }
.phase-title h4 { margin: 5px 0 14px; }
.phase-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.phase-grid article { padding: 15px; border-radius: 15px; background: #f7f2e8; }
.phase-grid article > span { display: inline-block; color: var(--accent); font-weight: 900; margin-right: 7px; }
.phase-grid article > strong { font-size: 0.86rem; }
.phase-grid p { margin: 8px 0 0; color: var(--muted); line-height: 1.65; }

.phase-chip { align-self: flex-start; border-radius: 999px; padding: 6px 9px; background: #f2ede4; color: var(--muted); font-size: 0.76rem; font-weight: 800; }
.annual-why { margin: 10px 0 13px; padding: 13px 14px; border-radius: 14px; background: #eef6f2; border-left: 4px solid var(--accent); }
.annual-why strong { display: block; margin-bottom: 4px; }
.annual-why p { margin: 0; color: #555047; }
.annual-focus-grid section.core { border: 2px solid #91b8ae; background: #f8fcfa; }
.annual-focus-grid section > div { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.annual-focus-grid section b { font-size: 0.7rem; border-radius: 999px; padding: 3px 7px; background: var(--accent); color: white; }

@media (max-width: 720px) {
  .flow-layer-grid, .flow-reason-grid, .flow-change-chips, .phase-grid { grid-template-columns: 1fr; }
}


/* V4.41 public beta shell. */
.brand a { color: inherit; text-decoration: none; }
.service-nav { display: flex; align-items: center; justify-content: center; gap: 8px; flex: 1; margin: 0 20px; }
.service-nav-link { color: var(--muted); text-decoration: none; font-size: 0.9rem; font-weight: 800; padding: 8px 12px; border-radius: 999px; white-space: nowrap; }
.service-nav-link:hover, .service-nav-link:focus-visible { background: #f1ece2; color: var(--ink); }
.service-nav-link.active { background: var(--accent); color: #fff; }
.public-footer { width: min(1040px, calc(100% - 28px)); margin: -40px auto 48px; color: var(--muted); text-align: center; font-size: 0.88rem; }
.public-footer p { margin: 0; }
@media (max-width: 820px) {
  .topbar { position: static; flex-wrap: wrap; gap: 8px; padding-top: 10px; padding-bottom: 10px; }
  .service-nav { order: 3; flex-basis: 100%; margin: 0; justify-content: flex-start; overflow-x: auto; }
  .beta-mark { margin-left: auto; }
}

/* V4.43: free result boundary and lifetime-map conversion preview. */
.free-current {
  border: 2px solid #8fb8ac;
  box-shadow: 0 18px 44px rgba(24, 63, 56, 0.09);
}
.free-current > summary {
  background: linear-gradient(135deg, #f4fbf8 0%, #fff9ed 100%);
}
.free-current > summary .band-state.ready {
  background: #183f38;
  color: #fff;
}
.roadmap-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin: 36px 0 16px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}
.roadmap-heading > div > span {
  color: #6b35a6;
  font-size: 0.82rem;
  font-weight: 900;
}
.roadmap-heading h3 {
  margin: 7px 0 0;
  font-size: clamp(1.2rem, 2.4vw, 1.65rem);
}
.roadmap-heading > p {
  max-width: 360px;
  margin: 0;
  color: var(--muted);
  text-align: right;
}
.lifetime-roadmap {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.life-band-preview {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 92px;
  padding: 16px 17px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: #fff;
}
.life-band-preview.current {
  border-color: #8fb8ac;
  background: #f2faf7;
  box-shadow: inset 4px 0 0 #183f38;
}
.life-band-preview.paid-preview {
  position: relative;
  background: linear-gradient(135deg, #fffdf9 0%, #f8f4fb 100%);
}
.life-band-preview.paid-preview::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(90deg, transparent 48%, rgba(255,255,255,0.24));
}
.band-preview-copy {
  display: grid;
  gap: 4px;
}
.band-preview-copy strong {
  line-height: 1.45;
}
.preview-access {
  flex: 0 0 auto;
  border-radius: 999px;
  padding: 6px 9px;
  font-size: 0.75rem;
  font-weight: 900;
}
.preview-access.free {
  color: #fff;
  background: #183f38;
}
.preview-access.locked {
  color: #5b2e91;
  background: #eee5f7;
}
.preview-access.locked::before {
  content: "🔒 ";
  font-size: 0.72rem;
}
.role-free-preview {
  position: relative;
  overflow: hidden;
}
.role-preview-lock {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-top: 16px;
  padding: 16px;
  border: 1px dashed #b69dce;
  border-radius: 16px;
  background: linear-gradient(135deg, #faf7fd, #f3edf8);
}
.role-preview-lock > span {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: #fff;
}
.role-preview-lock strong,
.role-preview-lock p {
  display: block;
  margin: 0;
}
.role-preview-lock p {
  margin-top: 4px;
  color: var(--muted);
}
.lifetime-product-panel {
  border: 0;
  color: #fff;
  background:
    radial-gradient(circle at 88% 12%, rgba(255,255,255,0.16), transparent 26%),
    linear-gradient(135deg, #24143f 0%, #4c247d 58%, #6b35a6 100%);
  box-shadow: 0 24px 60px rgba(54, 27, 91, 0.24);
}
.product-preview-head {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: start;
  gap: 28px;
}
.product-preview-head h2 {
  margin: 12px 0 10px;
  color: #fff;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
}
.product-preview-head p {
  max-width: 720px;
  margin: 0;
  color: rgba(255,255,255,0.82);
  font-size: 1.02rem;
  line-height: 1.76;
}
.product-preview-head p strong {
  color: #fff1b6;
}
.product-badge {
  display: inline-flex;
  border: 1px solid rgba(255,255,255,0.26);
  border-radius: 999px;
  padding: 6px 10px;
  color: #fff2c3;
  background: rgba(255,255,255,0.1);
  font-size: 0.78rem;
  font-weight: 900;
}
.product-count {
  display: grid;
  place-items: center;
  min-width: 126px;
  min-height: 126px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 28px;
  background: rgba(255,255,255,0.1);
  text-align: center;
}
.product-count strong {
  font-size: 2.7rem;
  line-height: 1;
}
.product-count span {
  margin-top: -10px;
  color: rgba(255,255,255,0.7);
  font-size: 0.8rem;
}
.locked-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}
.locked-feature-grid article {
  min-height: 154px;
  padding: 18px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 18px;
  background: rgba(255,255,255,0.08);
}
.locked-feature-grid article > span {
  display: inline-block;
  margin-bottom: 15px;
  color: #d9c3f0;
  font-size: 0.78rem;
  font-weight: 900;
}
.locked-feature-grid strong {
  display: block;
  color: #fff;
}
.locked-feature-grid p {
  margin: 7px 0 0;
  color: rgba(255,255,255,0.67);
  line-height: 1.6;
}
.product-action-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 28px;
  padding: 18px;
  border-radius: 18px;
  background: rgba(8, 4, 18, 0.24);
}
.product-action-row > div {
  display: grid;
  gap: 3px;
}
.product-action-row > div span {
  color: rgba(255,255,255,0.62);
  font-size: 0.78rem;
}
.product-action-row > div strong {
  color: #fff;
}
.product-cta {
  border: 0;
  border-radius: 14px;
  padding: 15px 22px;
  color: #3c1d62;
  background: #fff;
  font-weight: 900;
  box-shadow: 0 10px 28px rgba(0,0,0,0.16);
}
.product-cta:hover {
  transform: translateY(-1px);
}
.product-safety-note {
  margin: 13px 2px 0;
  color: rgba(255,255,255,0.58);
  font-size: 0.8rem;
}
.payment-preview-dialog {
  width: min(520px, calc(100% - 32px));
  border: 0;
  border-radius: 26px;
  padding: 30px;
  color: #27251f;
  background: #fffaf5;
  box-shadow: 0 32px 90px rgba(24, 12, 43, 0.35);
}
.payment-preview-dialog::backdrop {
  background: rgba(25, 14, 40, 0.55);
  backdrop-filter: blur(5px);
}
.payment-preview-dialog .product-badge {
  color: #5b2e91;
  border-color: #dccbea;
  background: #f3ecf9;
}
.payment-preview-dialog h2 {
  margin: 14px 0 10px;
}
.payment-preview-dialog > p {
  color: var(--muted);
}
.dialog-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  color: #5b2e91;
  background: #f1e9f7;
  font-size: 1.35rem;
}
.dialog-check-list {
  display: grid;
  gap: 8px;
  margin: 20px 0;
}
.dialog-check-list span {
  padding: 11px 13px;
  border-radius: 12px;
  background: #f7f2fa;
}
.secondary-button {
  width: 100%;
  border: 0;
  border-radius: 14px;
  padding: 13px 18px;
  color: #fff;
  background: #5b2e91;
  font-weight: 850;
}

@media (max-width: 820px) {
  .roadmap-heading,
  .product-action-row {
    align-items: stretch;
    flex-direction: column;
  }
  .roadmap-heading {
    display: block;
  }
  .roadmap-heading > p {
    margin-top: 10px;
    max-width: none;
    text-align: left;
  }
  .lifetime-roadmap,
  .locked-feature-grid {
    grid-template-columns: 1fr;
  }
  .product-preview-head {
    grid-template-columns: 1fr;
  }
  .product-count {
    grid-template-columns: auto 1fr;
    place-items: center start;
    gap: 10px;
    min-width: 0;
    min-height: auto;
    padding: 16px 18px;
  }
  .product-count strong {
    font-size: 2rem;
  }
  .product-count span {
    margin: 0;
  }
  .product-action-row {
    display: grid;
  }
  .product-cta {
    width: 100%;
  }
}

@media (max-width: 520px) {
  .life-band-preview {
    align-items: flex-start;
    min-height: 0;
  }
  .preview-access {
    font-size: 0;
    padding: 7px;
  }
  .preview-access.free::after {
    content: "공개";
    font-size: 0.7rem;
  }
  .preview-access.locked::before {
    content: "🔒";
    font-size: 0.8rem;
  }
  .locked-feature-grid article {
    min-height: 0;
  }
  .payment-preview-dialog {
    padding: 26px 20px 20px;
  }
}


/* V4.43 R6: 일반 사용자가 결과를 처음부터 이해하도록 결론→배경→전개→정리 순서로 안내합니다. */
.date-format-hint { display: block; margin-top: 7px; color: var(--muted); font-size: 0.84rem; font-weight: 500; }
.result-story-opening { border-color: #b9d7cf; background: linear-gradient(160deg, #fffdfa 0%, #f4faf7 100%); }
.story-opening-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; margin-bottom: 20px; }
.story-opening-head > p { color: var(--muted); margin: 0; }
.story-opening-main { padding: clamp(20px, 4vw, 30px); border-radius: 22px; background: linear-gradient(135deg, #e8f4ef, #fff4df); border: 1px solid #c9ddd6; }
.story-opening-kicker { margin: 0 0 8px; color: var(--accent); font-weight: 900; font-size: 0.82rem; }
.story-opening-main h3 { margin: 0 0 10px; font-size: clamp(1.55rem, 4vw, 2.25rem); line-height: 1.3; }
.story-opening-main > p:last-child { margin: 0; color: #4f4941; line-height: 1.75; }
.story-opening-context { margin-top: 14px; padding: 18px 20px; border-radius: 18px; background: white; border: 1px solid var(--line); }
.story-opening-context > span { display: block; color: var(--accent); font-size: 0.82rem; font-weight: 900; margin-bottom: 7px; }
.story-opening-context > strong { display: block; font-size: 1.16rem; line-height: 1.45; }
.story-opening-context > p { margin: 8px 0 0; color: var(--muted); line-height: 1.7; }
.story-reading-path { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 16px; }
.story-reading-path article { padding: 16px; border-radius: 17px; background: #fbf8f1; border: 1px solid var(--line); }
.story-reading-path article > span { display: inline-grid; place-items: center; width: 30px; height: 30px; margin-bottom: 10px; border-radius: 50%; background: var(--accent); color: white; font-weight: 900; }
.story-reading-path strong { display: block; margin-bottom: 7px; line-height: 1.45; }
.story-reading-path p { margin: 0; color: var(--muted); font-size: 0.9rem; line-height: 1.62; }
.natal-details { margin-top: 18px; border: 1px solid var(--line); border-radius: 18px; background: #fffdf8; overflow: hidden; }
.natal-details > summary { cursor: pointer; padding: 16px 18px; font-weight: 850; color: var(--accent); }
.natal-details[open] > summary { border-bottom: 1px solid var(--line); background: #f7f2e8; }
.natal-details-body { padding: 20px; }
.section-heading.compact { margin-bottom: 18px; }
.section-heading.compact h3 { margin: 7px 0 0; }

@media (max-width: 900px) {
  .story-reading-path { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .story-opening-head { display: block; }
  .story-opening-head > p { margin-top: 8px; }
  .story-reading-path { grid-template-columns: 1fr; }
  .natal-details-body { padding: 16px; }
}

/* V4.43 R7: fast-scan opening for general users. */
.story-scan-label { display: flex; align-items: center; gap: 10px; margin: 2px 0 14px; }
.story-scan-label span { padding: 7px 11px; border-radius: 999px; background: #5f2da8; color: #fff; font-size: 0.78rem; font-weight: 900; }
.story-scan-label strong { font-size: 0.95rem; color: #332d3d; }
.story-keyword-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 12px; }
.story-keyword-row span { padding: 8px 11px; border-radius: 999px; font-size: 0.86rem; font-weight: 900; border: 1px solid transparent; }
.story-keyword-row .keyword-tone-0 { color: #5f2da8; background: #f0e8ff; border-color: #d9c6fa; }
.story-keyword-row .keyword-tone-1 { color: #0d6659; background: #e2f4ef; border-color: #bee1d8; }
.story-keyword-row .keyword-tone-2 { color: #9a5a00; background: #fff0cf; border-color: #f0d59b; }
.story-keyword-row .keyword-tone-3 { color: #a3415e; background: #fde8ef; border-color: #efc5d2; }
.story-scroll-cue { margin: 13px 0 0; padding: 12px 14px; border-radius: 14px; background: #f3edf9; color: #5d5268; font-size: 0.9rem; text-align: center; }
.story-scroll-cue strong { color: #5f2da8; }
.result-story-opening .story-opening-main > p:last-child,
.result-story-opening .story-opening-context > p { font-size: 0.98rem; line-height: 1.58; }
.result-story-opening .story-reading-path { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.result-story-opening .story-reading-path article { text-align: center; padding: 13px 10px; }
.result-story-opening .story-reading-path article > span { margin-bottom: 7px; }
.result-story-opening .story-reading-path strong { margin-bottom: 3px; color: #312b39; }
.result-story-opening .story-reading-path p { font-size: 0.82rem; line-height: 1.35; }
@media (max-width: 720px) {
  .story-scan-label { margin-top: 0; }
  .result-story-opening .story-opening-main { padding: 18px; }
  .result-story-opening .story-opening-main h3 { font-size: 1.55rem; }
  .result-story-opening .story-reading-path { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .result-story-opening .story-reading-path article { padding: 11px 5px; }
  .result-story-opening .story-reading-path article > span { width: 26px; height: 26px; font-size: 0.82rem; }
  .result-story-opening .story-reading-path p { font-size: 0.72rem; }
  .story-scroll-cue { font-size: 0.82rem; }
}


/* V4.43 R8: six-scene story prologue built only from calculated Lifetime result data. */
.result-story-opening {
  --story-purple: #5f2da8;
  --story-purple-dark: #3d176f;
  --story-mint: #dff3ed;
  --story-peach: #ffe1c6;
  --story-rose: #f7d9e4;
  --story-cream: #fff9ee;
  border-color: #d7c8e7;
  background: linear-gradient(155deg, #fffdf9 0%, #f7f1fb 52%, #f1faf6 100%);
  overflow: hidden;
}
.story-opening-meta { display: grid; justify-items: end; gap: 8px; }
.story-opening-meta > p { margin: 0; }
.story-opening-meta #reference-date { color: var(--muted); font-size: 0.88rem; }
.story-page-count {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  min-width: 64px;
  padding: 8px 13px;
  border-radius: 999px;
  color: white;
  background: linear-gradient(135deg, var(--story-purple), var(--story-purple-dark));
  box-shadow: 0 8px 20px rgba(95, 45, 168, 0.22);
  font-weight: 800;
}
.story-page-count strong { font-size: 1.08rem; }
.story-page-count span { margin-left: 3px; font-size: 0.82rem; opacity: 0.78; }

.story-scene-stage {
  position: relative;
  min-height: 430px;
  border: 1px solid rgba(95, 45, 168, 0.16);
  border-radius: 25px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 18px 42px rgba(70, 39, 98, 0.1);
  overflow: hidden;
  outline: none;
  touch-action: pan-y;
}
.story-scene-stage:focus-visible {
  box-shadow: 0 0 0 4px rgba(95, 45, 168, 0.18), 0 18px 42px rgba(70, 39, 98, 0.1);
}
.story-scene {
  min-height: 430px;
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.15fr);
  align-items: stretch;
  animation: storySceneIn 360ms ease-out both;
}
.story-scene[hidden] { display: none; }
.story-scene-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 5vw, 52px);
}
.story-scene-copy h3 {
  margin: 7px 0 13px;
  font-size: clamp(1.55rem, 3.5vw, 2.45rem);
  line-height: 1.32;
  color: #33213f;
}
.story-scene-copy > p:last-child {
  margin: 0;
  color: #514959;
  font-size: 1rem;
  line-height: 1.68;
}
.story-scene-kicker {
  margin: 0;
  color: var(--story-purple);
  font-weight: 900;
  font-size: 0.84rem;
  letter-spacing: 0.02em;
}
.story-scene-copy .story-scan-label { margin-bottom: 10px; }
.story-scene-copy .story-scan-label span {
  background: linear-gradient(135deg, var(--story-purple), var(--story-purple-dark));
}
.story-scene-copy .story-keyword-row { margin: 4px 0 15px; }

.story-visual {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  background: linear-gradient(155deg, var(--story-peach), #f6d6df 56%, #efe4ff);
  isolation: isolate;
}
.story-visual::after {
  content: "";
  position: absolute;
  inset: auto 9% 7% 9%;
  height: 12%;
  border-radius: 50%;
  background: rgba(61, 23, 111, 0.09);
  filter: blur(14px);
  z-index: -1;
}
.story-sun {
  position: absolute;
  top: 15%;
  right: 14%;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #fff5a8;
  box-shadow: 0 0 0 12px rgba(255, 245, 168, 0.22);
  animation: storyFloat 4.8s ease-in-out infinite;
}
.story-hill {
  position: absolute;
  left: -12%;
  width: 124%;
  border-radius: 50% 50% 0 0;
}
.story-hill-back { bottom: 18%; height: 29%; background: rgba(255, 255, 255, 0.62); transform: rotate(-3deg); }
.story-hill-front { bottom: -6%; height: 35%; background: #f8efe9; transform: rotate(4deg); }
.story-door {
  position: absolute;
  left: 50%;
  top: 48%;
  width: 86px;
  height: 126px;
  border: 8px solid var(--story-purple);
  border-bottom-width: 10px;
  border-radius: 43px 43px 5px 5px;
  background: linear-gradient(180deg, var(--story-purple-dark), #7a46b9);
  transform: translate(-50%, -50%);
  box-shadow: 0 16px 30px rgba(61, 23, 111, 0.22);
}
.story-door::before {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 31px 31px 2px 2px;
  border: 2px solid rgba(255, 255, 255, 0.68);
}
.story-door i {
  position: absolute;
  left: 18px;
  top: 49%;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #fff4b4;
  box-shadow: 0 0 0 5px rgba(255, 244, 180, 0.16);
}
.story-path {
  position: absolute;
  left: 50%;
  bottom: -4%;
  width: 116px;
  height: 45%;
  background: linear-gradient(180deg, rgba(255,255,255,0.82), rgba(255,255,255,0.08));
  clip-path: polygon(42% 0, 58% 0, 100% 100%, 0 100%);
  transform: translateX(-50%);
}

.story-visual-ripple { background: linear-gradient(150deg, #e9dcff, #dff3ed 58%, #fff5d6); }
.story-ripple {
  position: absolute;
  left: 50%;
  top: 50%;
  border: 2px solid rgba(95, 45, 168, 0.25);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: storyPulse 4.2s ease-in-out infinite;
}
.story-ripple-one { width: 92px; height: 92px; }
.story-ripple-two { width: 176px; height: 176px; animation-delay: -1.2s; }
.story-ripple-three { width: 270px; height: 270px; animation-delay: -2.1s; }
.story-ripple-core {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 66px;
  height: 66px;
  border-radius: 22px;
  background: linear-gradient(135deg, var(--story-purple), #8b5bd0);
  transform: translate(-50%, -50%) rotate(12deg);
  box-shadow: 0 14px 28px rgba(95, 45, 168, 0.28);
}
.story-ripple-core::after {
  content: "";
  position: absolute;
  inset: 21px;
  border-radius: 50%;
  background: #fff5b7;
}
.story-ripple-card {
  position: absolute;
  width: 82px;
  height: 52px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 12px 26px rgba(61, 23, 111, 0.12);
  animation: storyFloat 5s ease-in-out infinite;
}
.story-ripple-card::before, .story-ripple-card::after {
  content: "";
  position: absolute;
  left: 14px;
  height: 6px;
  border-radius: 999px;
}
.story-ripple-card::before { top: 15px; width: 42px; background: #8f6bbc; }
.story-ripple-card::after { top: 29px; width: 28px; background: #d7c5ec; }
.story-ripple-card-one { left: 14%; top: 22%; }
.story-ripple-card-two { right: 12%; bottom: 21%; animation-delay: -2s; }

.story-visual-bridge { background: linear-gradient(155deg, #ffe5cd, #fff4dc 48%, #dff3ed); }
.story-bridge-orb {
  position: absolute;
  top: 14%;
  right: 14%;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #f9d784;
  box-shadow: 0 0 0 17px rgba(249, 215, 132, 0.21);
}
.story-bridge-arch {
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: 19%;
  height: 48%;
  border: 18px solid var(--story-purple);
  border-bottom: 0;
  border-radius: 180px 180px 0 0;
  opacity: 0.92;
}
.story-bridge-line {
  position: absolute;
  left: 18%;
  right: 18%;
  bottom: 19%;
  height: 9px;
  border-radius: 999px;
  background: #fffdf8;
  box-shadow: 0 7px 0 rgba(95, 45, 168, 0.16);
}
.story-bridge-step {
  position: absolute;
  bottom: 21%;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: #fff6b1;
  border: 4px solid var(--story-purple-dark);
}
.story-bridge-step-one { left: 25%; }
.story-bridge-step-two { left: calc(50% - 8px); }
.story-bridge-step-three { right: 25%; }

.story-visual-timeline { background: linear-gradient(145deg, #e1f2ed, #f6edff 53%, #ffe7cd); }
.story-timeline-line {
  position: absolute;
  left: 22%;
  right: 22%;
  top: 50%;
  height: 9px;
  border-radius: 999px;
  background: linear-gradient(90deg, #2f786b, var(--story-purple), #c06382);
}
.story-timeline-node {
  position: absolute;
  top: 50%;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #fffdf8;
  border: 8px solid var(--story-purple);
  transform: translate(-50%, -50%);
  box-shadow: 0 13px 24px rgba(60, 31, 87, 0.16);
}
.story-timeline-node::after {
  content: "";
  position: absolute;
  inset: 11px;
  border-radius: 50%;
  background: #ffe99b;
}
.story-timeline-node-one { left: 22%; border-color: #2f786b; }
.story-timeline-node-two { left: 50%; }
.story-timeline-node-three { left: 78%; border-color: #c06382; }

.story-flow-list { display: grid; gap: 10px; }
.story-flow-list > div {
  position: relative;
  padding: 15px 17px 15px 86px;
  border: 1px solid #e2d6ed;
  border-radius: 17px;
  background: rgba(255,255,255,0.83);
}
.story-flow-list > div::after {
  content: "↓";
  position: absolute;
  left: 35px;
  bottom: -20px;
  color: #a88abb;
  font-weight: 900;
  z-index: 2;
}
.story-flow-list > div:last-child::after { display: none; }
.story-flow-list span {
  position: absolute;
  left: 14px;
  top: 14px;
  min-width: 59px;
  padding: 5px 7px;
  border-radius: 999px;
  background: #efe5fb;
  color: var(--story-purple);
  font-size: 0.75rem;
  font-weight: 900;
  text-align: center;
}
.story-flow-list strong { display: block; line-height: 1.48; color: #3d3145; }

.story-visual-compass { background: linear-gradient(145deg, #f4e7ff, #ffe4d3 51%, #e4f3ee); }
.story-compass-ring {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 220px;
  height: 220px;
  border: 3px solid rgba(95, 45, 168, 0.58);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: inset 0 0 0 18px rgba(255,255,255,0.4), 0 18px 34px rgba(62,30,91,0.14);
}
.story-compass-ring::before, .story-compass-ring::after {
  content: "";
  position: absolute;
  background: rgba(95,45,168,0.24);
}
.story-compass-ring::before { left: 50%; top: 8%; bottom: 8%; width: 1px; }
.story-compass-ring::after { top: 50%; left: 8%; right: 8%; height: 1px; }
.story-compass-needle {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 34px;
  height: 142px;
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
  background: linear-gradient(180deg, var(--story-purple) 0 50%, #dc7895 50% 100%);
  transform: translate(-50%, -50%) rotate(24deg);
  filter: drop-shadow(0 9px 10px rgba(61,23,111,0.2));
}
.story-compass-center {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 24px;
  height: 24px;
  border: 6px solid #fffdf8;
  border-radius: 50%;
  background: var(--story-purple-dark);
  transform: translate(-50%, -50%);
}
.story-compass-word {
  position: absolute;
  left: 50%;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.82);
  font-size: 0.76rem;
  font-weight: 900;
  transform: translateX(-50%);
}
.story-compass-word-top { top: 10%; color: #116657; }
.story-compass-word-bottom { bottom: 10%; color: #a3415e; }
.story-choice-grid { display: grid; gap: 12px; }
.story-choice-card {
  padding: 18px;
  border: 1px solid;
  border-radius: 18px;
}
.story-choice-card span {
  display: inline-flex;
  margin-bottom: 9px;
  padding: 5px 9px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 900;
}
.story-choice-card p { margin: 0; color: #49414d; line-height: 1.62; }
.story-choice-grab { border-color: #badfd5; background: #edf9f5; }
.story-choice-grab span { color: #116657; background: #d1eee6; }
.story-choice-watch { border-color: #efc6d1; background: #fff2f5; }
.story-choice-watch span { color: #a3415e; background: #f8dce4; }

.story-visual-pages { background: linear-gradient(145deg, #e4f3ee, #f4e9ff 49%, #ffe4c9); }
.story-page {
  position: absolute;
  left: 50%;
  top: 48%;
  width: 174px;
  height: 218px;
  border-radius: 18px;
  background: #fffdf8;
  box-shadow: 0 20px 38px rgba(61,23,111,0.16);
}
.story-page::before, .story-page::after {
  content: "";
  position: absolute;
  left: 25px;
  right: 25px;
  height: 8px;
  border-radius: 999px;
  background: #d9c7ea;
  box-shadow: 0 26px 0 #eadff4, 0 52px 0 #eadff4, 0 78px 0 #eadff4;
}
.story-page::before { top: 38px; }
.story-page::after { top: 152px; right: 62px; box-shadow: none; background: #bee1d8; }
.story-page-back { transform: translate(-63%, -48%) rotate(-10deg); background: #f2e8fb; }
.story-page-middle { transform: translate(-48%, -50%) rotate(5deg); background: #e8f6f1; }
.story-page-front { transform: translate(-50%, -52%); }
.story-page-arrow {
  position: absolute;
  left: 50%;
  bottom: 8%;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  color: white;
  background: var(--story-purple);
  transform: translateX(-50%);
  box-shadow: 0 11px 22px rgba(95,45,168,0.25);
  animation: storyFloat 3s ease-in-out infinite;
}
.story-detail-button {
  align-self: flex-start;
  margin-top: 18px;
  border: 0;
  border-radius: 14px;
  padding: 13px 18px;
  color: white;
  background: linear-gradient(135deg, var(--story-purple), var(--story-purple-dark));
  box-shadow: 0 10px 22px rgba(95,45,168,0.23);
  font-weight: 900;
}
.story-detail-button:hover { filter: brightness(1.06); }
.story-detail-button:focus-visible,
.story-nav-button:focus-visible,
.story-progress-dots button:focus-visible {
  outline: 3px solid rgba(95,45,168,0.28);
  outline-offset: 3px;
}

.story-controls {
  display: grid;
  grid-template-columns: minmax(100px, auto) 1fr minmax(122px, auto);
  align-items: center;
  gap: 14px;
  margin-top: 16px;
}
.story-nav-button {
  min-height: 44px;
  border: 1px solid #d7c8e7;
  border-radius: 999px;
  padding: 10px 15px;
  color: var(--story-purple-dark);
  background: #fff;
  font-weight: 850;
}
.story-next-button {
  border-color: transparent;
  color: white;
  background: linear-gradient(135deg, var(--story-purple), var(--story-purple-dark));
  box-shadow: 0 9px 20px rgba(95,45,168,0.2);
}
.story-nav-button:disabled { cursor: default; opacity: 0.36; box-shadow: none; }
.story-progress-dots { display: flex; justify-content: center; gap: 8px; }
.story-progress-dots button {
  width: 9px;
  height: 9px;
  border: 0;
  border-radius: 999px;
  padding: 0;
  background: #d7cce0;
  transition: width 180ms ease, background 180ms ease;
}
.story-progress-dots button[aria-current="true"] { width: 30px; background: var(--story-purple); }
.story-swipe-hint {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.8rem;
  text-align: center;
}

@keyframes storySceneIn {
  from { opacity: 0; transform: translateX(18px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes storyFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@keyframes storyPulse {
  0%, 100% { opacity: 0.48; transform: translate(-50%, -50%) scale(0.96); }
  50% { opacity: 0.9; transform: translate(-50%, -50%) scale(1.04); }
}

@media (max-width: 760px) {
  .result-story-opening { padding: 18px 14px 20px; border-radius: 22px; }
  .story-opening-head { display: grid; grid-template-columns: 1fr auto; gap: 10px; margin-bottom: 14px; }
  .story-opening-head h2 { font-size: 1.25rem; line-height: 1.35; }
  .story-opening-meta { align-self: start; }
  .story-opening-meta #reference-date { grid-row: 2; grid-column: 1 / -1; font-size: 0.72rem; }
  .story-page-count { min-width: 58px; padding: 7px 11px; }
  .story-scene-stage { min-height: 0; border-radius: 20px; }
  .story-scene {
    min-height: 0;
    grid-template-columns: 1fr;
    grid-template-rows: 185px auto;
  }
  .story-visual { min-height: 185px; }
  .story-scene-copy { min-height: 285px; justify-content: flex-start; padding: 20px 18px 22px; }
  .story-scene-copy h3 { font-size: 1.45rem; margin: 5px 0 11px; }
  .story-scene-copy > p:last-child { font-size: 0.94rem; line-height: 1.58; }
  .story-scene-copy .story-scan-label { gap: 7px; margin-bottom: 8px; }
  .story-scene-copy .story-scan-label span { padding: 6px 9px; font-size: 0.72rem; }
  .story-scene-copy .story-scan-label strong { font-size: 0.82rem; }
  .story-scene-copy .story-keyword-row { gap: 6px; margin: 2px 0 11px; }
  .story-scene-copy .story-keyword-row span { padding: 6px 8px; font-size: 0.75rem; }
  .story-sun { width: 38px; height: 38px; }
  .story-door { width: 58px; height: 86px; border-width: 6px; border-bottom-width: 8px; }
  .story-door i { left: 11px; width: 8px; height: 8px; }
  .story-ripple-one { width: 68px; height: 68px; }
  .story-ripple-two { width: 124px; height: 124px; }
  .story-ripple-three { width: 182px; height: 182px; }
  .story-ripple-core { width: 48px; height: 48px; border-radius: 15px; }
  .story-ripple-core::after { inset: 15px; }
  .story-ripple-card { width: 60px; height: 39px; border-radius: 10px; }
  .story-ripple-card::before { top: 11px; left: 10px; width: 30px; height: 5px; }
  .story-ripple-card::after { top: 23px; left: 10px; width: 20px; height: 5px; }
  .story-bridge-arch { border-width: 12px; }
  .story-bridge-step { width: 13px; height: 13px; border-width: 3px; }
  .story-timeline-node { width: 39px; height: 39px; border-width: 6px; }
  .story-timeline-node::after { inset: 8px; }
  .story-flow-list { gap: 8px; }
  .story-flow-list > div { padding: 12px 12px 12px 75px; }
  .story-flow-list > div::after { bottom: -17px; }
  .story-flow-list span { left: 10px; top: 11px; min-width: 56px; font-size: 0.7rem; }
  .story-flow-list strong { font-size: 0.87rem; }
  .story-compass-ring { width: 142px; height: 142px; }
  .story-compass-needle { width: 24px; height: 94px; }
  .story-compass-center { width: 19px; height: 19px; border-width: 5px; }
  .story-compass-word { font-size: 0.66rem; }
  .story-choice-grid { gap: 8px; }
  .story-choice-card { padding: 13px; }
  .story-choice-card p { font-size: 0.86rem; line-height: 1.5; }
  .story-page { width: 108px; height: 135px; border-radius: 12px; }
  .story-page::before { left: 17px; right: 17px; top: 26px; height: 5px; box-shadow: 0 17px 0 #eadff4, 0 34px 0 #eadff4, 0 51px 0 #eadff4; }
  .story-page::after { top: 99px; left: 17px; right: 42px; height: 5px; }
  .story-page-arrow { width: 38px; height: 38px; bottom: 5%; }
  .story-controls { grid-template-columns: 74px 1fr 104px; gap: 7px; }
  .story-nav-button { min-height: 42px; padding: 8px 9px; font-size: 0.78rem; }
  .story-progress-dots { gap: 5px; }
  .story-progress-dots button { width: 7px; height: 7px; }
  .story-progress-dots button[aria-current="true"] { width: 20px; }
  .story-swipe-hint { font-size: 0.72rem; }
  .result-story-opening .natal-details { margin-top: 15px; }
}

@media (max-width: 390px) {
  .story-opening-head h2 { font-size: 1.15rem; }
  .story-scene-copy { min-height: 300px; padding-inline: 15px; }
  .story-scene-copy h3 { font-size: 1.32rem; }
  .story-controls { grid-template-columns: 68px 1fr 98px; }
  .story-nav-button { padding-inline: 7px; font-size: 0.74rem; }
}

@media (prefers-reduced-motion: reduce) {
  .story-scene,
  .story-sun,
  .story-ripple,
  .story-ripple-card,
  .story-page-arrow {
    animation: none !important;
  }
  .story-progress-dots button { transition: none; }
}


/* V4.43 R9 candidate: original guide character + lightweight animated six-scene story. */
.story-character-r9 {
  --r9-ink: #18244b;
  --r9-accent: #c59245;
  --r9-accent-soft: #f4e5c8;
  --r9-surface: #fffdf8;
  --r9-shadow: 0 22px 58px rgba(42, 38, 69, 0.14);
  max-width: 980px;
  margin-inline: auto;
  padding: clamp(18px, 3vw, 30px);
  border-color: #e2d6c4;
  background: linear-gradient(155deg, #fffefb 0%, #fbf6ed 52%, #f3f1f8 100%);
}
.story-character-r9[data-story-tone="gold"] { --r9-accent: #b77d26; --r9-accent-soft: #f7e7c5; }
.story-character-r9[data-story-tone="rose"] { --r9-accent: #b96576; --r9-accent-soft: #f7dfe4; }
.story-character-r9[data-story-tone="mint"] { --r9-accent: #4f8278; --r9-accent-soft: #dceee9; }
.story-character-r9[data-story-tone="indigo"] { --r9-accent: #6670a8; --r9-accent-soft: #e3e5f3; }
.story-r9-head { margin-bottom: 16px; }
.story-r9-head h2 { color: var(--r9-ink); letter-spacing: -0.035em; }
.story-character-r9 .story-page-count {
  color: var(--r9-ink);
  border: 1px solid rgba(198, 158, 95, 0.38);
  background: rgba(255,255,255,0.78);
  box-shadow: 0 8px 22px rgba(57,47,74,0.08);
}
.story-r9-stage {
  min-height: 590px;
  border: 1px solid rgba(200, 168, 119, 0.48);
  border-radius: 28px;
  background: #fff;
  box-shadow: var(--r9-shadow);
  overflow: hidden;
}
.story-character-r9 .story-r9-scene {
  min-height: 590px;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(330px, 0.98fr);
  background: linear-gradient(132deg, #fffdf7 0%, #f8f1e8 51%, #eef0f8 100%);
  animation: storyR9SceneIn 360ms cubic-bezier(.2,.7,.2,1) both;
}
.story-character-r9 .story-r9-scene[hidden] { display: none; }
.story-r9-art {
  position: relative;
  grid-column: 2;
  min-height: 590px;
  overflow: hidden;
  background: #222c56;
  isolation: isolate;
}
.story-r9-art::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(90deg, rgba(25,31,64,0.18), transparent 42%), url("./assets/r91/career.svg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center top;
  transform: scale(1.015);
  animation: storyR9GuideFloat 7s ease-in-out infinite;
  z-index: 0;
}
.story-r9-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 58%, rgba(17, 25, 55, 0.28));
  pointer-events: none;
}
.story-r9-copy {
  grid-column: 1;
  grid-row: 1;
  min-height: 590px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: clamp(30px, 5vw, 60px);
  color: #34313a;
  background: linear-gradient(90deg, rgba(255,253,248,1) 0%, rgba(255,253,248,.97) 80%, rgba(255,253,248,.64) 100%);
  z-index: 2;
}
.story-character-r9 .story-scan-label span {
  color: #fff;
  background: var(--r9-ink);
}
.story-character-r9 .story-scan-label strong { color: #716a71; }
.story-character-r9 .story-scene-kicker {
  margin: 20px 0 8px;
  color: var(--r9-accent);
  font-family: Georgia, "Noto Serif KR", serif;
  font-size: 1.2rem;
  font-weight: 800;
}
.story-r9-lead {
  margin: 0;
  color: var(--r9-ink);
  font-family: Georgia, "Noto Serif KR", serif;
  font-size: clamp(2rem, 4.2vw, 3.2rem);
  line-height: 1.16;
  letter-spacing: -0.055em;
}
.story-r9-support {
  max-width: 390px;
  margin: 18px 0 22px;
  color: #5e5963;
  font-size: 1rem;
  line-height: 1.72;
}
.story-r9-result-label {
  display: inline-flex;
  margin: 0 0 10px;
  padding: 7px 12px;
  border: 1px solid color-mix(in srgb, var(--r9-accent) 58%, white);
  border-radius: 999px;
  color: #79551e;
  background: color-mix(in srgb, var(--r9-accent-soft) 72%, white);
  font-size: .83rem;
  font-weight: 900;
}
.story-r9-result-title {
  max-width: 440px;
  margin: 0;
  color: #74501d;
  font-family: Georgia, "Noto Serif KR", serif;
  font-size: clamp(1.55rem, 3vw, 2.25rem);
  line-height: 1.28;
  letter-spacing: -0.04em;
}
.story-character-r9 .story-keyword-row { gap: 7px; margin: 15px 0 10px; }
.story-character-r9 .story-keyword-row span {
  padding: 7px 10px;
  color: var(--r9-ink);
  border-color: rgba(68, 80, 126, 0.18);
  background: rgba(236, 238, 248, 0.82);
  font-size: .78rem;
}
.story-r9-result-copy { max-width: 430px; margin: 0; color: #5a5560; line-height: 1.65; }
.story-r9-guide-line {
  display: inline-flex;
  gap: 8px;
  align-items: flex-start;
  max-width: 440px;
  margin: 22px 0 0;
  padding: 13px 15px;
  border: 1px solid rgba(189, 162, 117, 0.32);
  border-radius: 16px 16px 16px 5px;
  color: #4f4852;
  background: rgba(255,255,255,.86);
  box-shadow: 0 10px 24px rgba(50,43,68,.08);
  font-size: .9rem;
  line-height: 1.55;
}
.story-r9-guide-line span { color: var(--r9-accent); }
.story-r9-moon {
  position: absolute;
  left: 8%;
  top: 8%;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: rgba(255,248,219,.8);
  box-shadow: 0 0 45px rgba(255,239,181,.55);
  animation: storyR9MoonGlow 5s ease-in-out infinite;
}
.story-r9-light {
  position: absolute;
  width: 290px;
  height: 104px;
  border: 3px solid rgba(255,232,177,.72);
  border-left-color: transparent;
  border-right-color: transparent;
  border-radius: 50%;
  filter: drop-shadow(0 0 8px rgba(255,230,166,.48));
  animation: storyR9Orbit 8s linear infinite;
}
.story-r9-light-one { right: -40px; bottom: 15%; transform: rotate(-12deg); }
.story-r9-light-two { right: -95px; bottom: 8%; width: 370px; animation-duration: 11s; animation-direction: reverse; }
.story-r9-petal {
  position: absolute;
  width: 12px;
  height: 8px;
  border-radius: 70% 10% 70% 10%;
  background: #fff3f4;
  box-shadow: 0 0 8px rgba(255,255,255,.8);
  animation: storyR9Petal 7s linear infinite;
}
.story-r9-petal-one { left: 18%; top: -5%; }
.story-r9-petal-two { left: 48%; top: -12%; animation-delay: -2.4s; }
.story-r9-petal-three { right: 14%; top: -8%; animation-delay: -4.8s; }
.story-r9-scene:not(.story-r9-scene-hero) .story-r9-art::before {
  inset: auto 7% 6% auto;
  width: 46%;
  height: 62%;
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 46% 46% 24px 24px;
  background-image: url("./assets/r91/people.svg");
  background-size: cover;
  background-position: center 22%;
  box-shadow: 0 24px 48px rgba(26,31,60,.22);
  z-index: 3;
}
.story-r9-scene:not(.story-r9-scene-hero) .story-r9-art::after {
  background: linear-gradient(135deg, rgba(23,30,65,.04), rgba(23,30,65,.26));
}
.story-r9-art-ripple { background: linear-gradient(145deg, #e7e0f4, #cedee8 58%, #f8ead6); }
.story-r9-ripple {
  position: absolute;
  left: 34%;
  top: 48%;
  border: 2px solid rgba(99,113,161,.45);
  border-radius: 50%;
  transform: translate(-50%,-50%);
  animation: storyR9Ripple 4.6s ease-out infinite;
}
.story-r9-ripple-one { width: 86px; height: 86px; }
.story-r9-ripple-two { width: 174px; height: 174px; animation-delay: -1.5s; }
.story-r9-ripple-three { width: 264px; height: 264px; animation-delay: -3s; }
.story-r9-orb { position:absolute; left:34%; top:48%; width:44px; height:44px; border-radius:50%; background:#fff9dd; box-shadow:0 0 34px rgba(255,236,155,.7); transform:translate(-50%,-50%); }
.story-r9-art-road { background: linear-gradient(150deg, #f7e9d0, #dbe7e7 48%, #b9c8d9); }
.story-r9-sun { position:absolute; left:20%; top:15%; width:68px; height:68px; border-radius:50%; background:#fff1c6; box-shadow:0 0 38px rgba(255,229,154,.7); }
.story-r9-mountain { position:absolute; left:-5%; right:22%; bottom:18%; height:44%; clip-path:polygon(0 100%,18% 43%,32% 72%,48% 24%,66% 68%,80% 38%,100% 100%); }
.story-r9-mountain-back { background:rgba(91,117,137,.32); transform:translateY(-22px); }
.story-r9-mountain-front { background:rgba(55,79,103,.48); }
.story-r9-road { position:absolute; left:18%; bottom:-12%; width:42%; height:72%; border:24px solid rgba(255,251,235,.86); border-left-color:transparent; border-top-color:transparent; border-radius:50%; transform:rotate(12deg); }
.story-r9-art-timeline { background: linear-gradient(145deg, #dcece8, #e8e2f3 53%, #f5dfc6); }
.story-r9-time-line { position:absolute; left:11%; right:12%; top:52%; height:5px; border-radius:999px; background:linear-gradient(90deg,#548b80,#6974ad,#bd785b); box-shadow:0 0 18px rgba(106,116,173,.28); }
.story-r9-time-node { position:absolute; top:52%; width:42px; height:42px; border:7px solid #fff; border-radius:50%; transform:translate(-50%,-50%); box-shadow:0 12px 22px rgba(40,48,72,.18); }
.story-r9-time-node-one { left:18%; background:#548b80; }
.story-r9-time-node-two { left:45%; background:#6974ad; animation:storyR9Node 3s ease-in-out infinite; }
.story-r9-time-node-three { left:70%; background:#bd785b; }
.story-r9-art-compass { background: linear-gradient(145deg, #eee5f4, #f4e0d2 54%, #dbece8); }
.story-r9-compass-ring { position:absolute; left:34%; top:50%; width:190px; height:190px; border:2px solid rgba(71,78,123,.38); border-radius:50%; transform:translate(-50%,-50%); box-shadow:inset 0 0 0 20px rgba(255,255,255,.28),0 22px 40px rgba(61,51,83,.14); }
.story-r9-compass-needle { position:absolute; left:34%; top:50%; width:34px; height:142px; clip-path:polygon(50% 0,100% 50%,50% 100%,0 50%); background:linear-gradient(180deg,#5b659e 0 50%,#bd6d75 50%); transform:translate(-50%,-50%) rotate(24deg); animation:storyR9Compass 5s ease-in-out infinite; }
.story-r9-compass-center { position:absolute; left:34%; top:50%; width:24px; height:24px; border:6px solid #fff; border-radius:50%; background:#39416f; transform:translate(-50%,-50%); }
.story-r9-art-pages { background: linear-gradient(145deg, #dcebe7, #ece5f4 51%, #f6e2c9); }
.story-r9-page { position:absolute; left:32%; top:47%; width:155px; height:205px; border-radius:18px; background:#fffdf8; box-shadow:0 22px 42px rgba(44,43,67,.17); }
.story-r9-page::before { content:""; position:absolute; left:24px; right:24px; top:38px; height:7px; border-radius:999px; background:#d7cce5; box-shadow:0 25px 0 #e9e2ef,0 50px 0 #e9e2ef,0 75px 0 #e9e2ef; }
.story-r9-page-back { transform:translate(-58%,-48%) rotate(-9deg); background:#ece5f4; }
.story-r9-page-front { transform:translate(-45%,-52%) rotate(3deg); }
.story-r9-down { position:absolute; left:32%; bottom:9%; display:grid; place-items:center; width:46px; height:46px; border-radius:50%; color:#fff; background:#39416f; transform:translateX(-50%); box-shadow:0 11px 24px rgba(57,65,111,.25); animation:storyR9Down 2.6s ease-in-out infinite; }
.story-character-r9 .story-r9-scene:not(.story-r9-scene-hero) .story-r9-copy h3 { margin:8px 0 16px; color:var(--r9-ink); font-size:clamp(1.75rem,3.4vw,2.55rem); line-height:1.28; }
.story-character-r9 .story-r9-scene:not(.story-r9-scene-hero) .story-r9-copy > p:not(.story-scene-kicker):not(.story-r9-guide-line) { max-width:480px; margin:0; color:#56515b; font-size:1rem; line-height:1.7; }
.story-r9-flow-list { width:100%; max-width:500px; }
.story-r9-flow-list > div { border-color:rgba(105,116,173,.2); background:rgba(255,255,255,.78); }
.story-r9-flow-list span { color:var(--r9-ink); background:var(--r9-accent-soft); }
.story-character-r9 .story-choice-grid { width:100%; max-width:500px; }
.story-character-r9 .story-choice-card { border-radius:17px; box-shadow:0 10px 24px rgba(50,45,65,.06); }
.story-character-r9 .story-detail-button { background:var(--r9-ink); box-shadow:0 10px 24px rgba(24,36,75,.2); }
.story-r9-controls { margin-top:20px; }
.story-character-r9 .story-nav-button { border-color:rgba(67,76,117,.22); color:var(--r9-ink); background:#fff; }
.story-character-r9 .story-next-button { color:#fff; border-color:transparent; background:var(--r9-ink); box-shadow:0 10px 23px rgba(24,36,75,.19); }
.story-character-r9 .story-progress-dots button { background:#ddd7ce; }
.story-character-r9 .story-progress-dots button[aria-current="true"] { background:var(--r9-ink); }
.story-character-r9 .natal-details { margin-top:18px; }

@keyframes storyR9SceneIn { from { opacity:0; transform:translateX(18px) scale(.995); } to { opacity:1; transform:none; } }
@keyframes storyR9GuideFloat { 0%,100% { transform:scale(1.015) translateY(0); } 50% { transform:scale(1.025) translateY(-7px); } }
@keyframes storyR9MoonGlow { 0%,100% { opacity:.72; transform:scale(.96); } 50% { opacity:1; transform:scale(1.04); } }
@keyframes storyR9Orbit { from { transform:rotate(-12deg); } to { transform:rotate(348deg); } }
@keyframes storyR9Petal { 0% { transform:translate3d(0,-20px,0) rotate(0); opacity:0; } 12% { opacity:.9; } 100% { transform:translate3d(90px,650px,0) rotate(540deg); opacity:0; } }
@keyframes storyR9Ripple { 0% { opacity:.68; transform:translate(-50%,-50%) scale(.48); } 100% { opacity:0; transform:translate(-50%,-50%) scale(1.12); } }
@keyframes storyR9Node { 0%,100% { box-shadow:0 12px 22px rgba(40,48,72,.18); } 50% { box-shadow:0 0 0 12px rgba(105,116,173,.12),0 12px 22px rgba(40,48,72,.18); } }
@keyframes storyR9Compass { 0%,100% { transform:translate(-50%,-50%) rotate(18deg); } 50% { transform:translate(-50%,-50%) rotate(34deg); } }
@keyframes storyR9Down { 0%,100% { transform:translate(-50%,0); } 50% { transform:translate(-50%,7px); } }

@media (max-width: 760px) {
  .story-character-r9 { padding:14px 10px 18px; border-radius:20px; }
  .story-r9-head { padding:0 4px; }
  .story-r9-head h2 { font-size:1.17rem; }
  .story-character-r9 .story-page-count { min-width:56px; padding:6px 10px; }
  .story-r9-stage { min-height:0; border-radius:24px; }
  .story-character-r9 .story-r9-scene { min-height:0; grid-template-columns:1fr; grid-template-rows:clamp(238px,64vw,330px) auto; }
  .story-r9-art { grid-column:1; grid-row:1; min-height:0; }
  .story-r9-art::before { background-position:center 15%; animation-duration:8s; }
  .story-r9-copy { grid-column:1; grid-row:2; min-height:0; justify-content:flex-start; padding:23px 20px 25px; background:#fffdf8; }
  .story-character-r9 .story-scene-kicker { margin-top:14px; font-size:1rem; }
  .story-r9-lead { font-size:clamp(1.85rem,8.3vw,2.4rem); }
  .story-r9-support { margin:13px 0 18px; font-size:.91rem; line-height:1.6; }
  .story-r9-result-label { margin-bottom:8px; padding:6px 10px; font-size:.76rem; }
  .story-r9-result-title { font-size:clamp(1.45rem,6.7vw,1.9rem); }
  .story-r9-result-copy { font-size:.9rem; line-height:1.57; }
  .story-r9-guide-line { margin-top:16px; padding:11px 12px; font-size:.82rem; }
  .story-r9-moon { width:56px; height:56px; }
  .story-r9-light { width:220px; height:78px; }
  .story-r9-scene:not(.story-r9-scene-hero) .story-r9-art::before { right:5%; bottom:4%; width:45%; height:70%; }
  .story-r9-ripple-one { width:58px; height:58px; }
  .story-r9-ripple-two { width:116px; height:116px; }
  .story-r9-ripple-three { width:178px; height:178px; }
  .story-r9-orb { width:34px; height:34px; }
  .story-r9-sun { width:50px; height:50px; }
  .story-r9-compass-ring { width:132px; height:132px; }
  .story-r9-compass-needle { width:24px; height:94px; }
  .story-r9-compass-center { width:18px; height:18px; border-width:4px; }
  .story-r9-page { width:105px; height:138px; }
  .story-r9-page::before { left:17px; right:17px; top:26px; height:5px; box-shadow:0 17px 0 #e9e2ef,0 34px 0 #e9e2ef,0 51px 0 #e9e2ef; }
  .story-r9-down { width:37px; height:37px; }
  .story-character-r9 .story-r9-scene:not(.story-r9-scene-hero) .story-r9-copy h3 { font-size:1.5rem; }
  .story-character-r9 .story-r9-scene:not(.story-r9-scene-hero) .story-r9-copy > p:not(.story-scene-kicker):not(.story-r9-guide-line) { font-size:.9rem; line-height:1.58; }
  .story-r9-controls { grid-template-columns:52px 1fr minmax(106px,auto); gap:7px; margin-top:13px; }
  .story-r9-controls .story-nav-button { min-width:0; padding-inline:10px; }
  .story-r9-controls .story-prev-button { font-size:0; }
  .story-r9-controls .story-prev-button span:first-child { font-size:1rem; }
  .story-r9-controls .story-next-button { font-size:.78rem; }
  .story-character-r9 .story-swipe-hint { margin-top:8px; }
}

@media (max-width: 390px) {
  .story-character-r9 .story-r9-scene { grid-template-rows:230px auto; }
  .story-r9-copy { padding:20px 16px 22px; }
  .story-r9-lead { font-size:1.8rem; }
  .story-r9-result-title { font-size:1.42rem; }
  .story-character-r9 .story-keyword-row { margin-top:12px; }
}

@media (prefers-reduced-motion: reduce) {
  .story-character-r9 .story-r9-scene,
  .story-character-r9 .story-r9-art::before,
  .story-r9-moon,
  .story-r9-light,
  .story-r9-petal,
  .story-r9-ripple,
  .story-r9-time-node,
  .story-r9-compass-needle,
  .story-r9-down { animation:none !important; }
}


/* R9 story navigation keeps each new scene clear of the fixed site header. */
#result,
.story-character-r9 .story-r9-stage,
.story-character-r9 + .current-focus,
.current-focus { scroll-margin-top: 88px; }
@media (max-width: 760px) {
  #result,
  .story-character-r9 .story-r9-stage,
  .story-character-r9 + .current-focus,
  .current-focus { scroll-margin-top: 76px; }
  .story-character-r9 .story-r9-support { margin-bottom: 15px; }
}

/* V4.43 R9.1: distinct scene artwork, staged reveal, and story-first focus. */
.story-character-r91 .story-r9-scene:not(.story-r9-scene-hero) .story-r9-art::before {
  inset: 0;
  width: auto;
  height: auto;
  border: 0;
  border-radius: 0;
  background-repeat: no-repeat;
  background-size: cover;
  box-shadow: none;
  transform: scale(1.035);
  transform-origin: 50% 50%;
  z-index: 0;
}
.story-character-r91 .story-r9-scene-feeling .story-r9-art::before {
  background-image: url("./assets/r91/career.svg");
  background-position: center 30%;
}
.story-character-r91 .story-r9-scene-band .story-r9-art::before {
  background-image: url("./assets/r91/timing.svg");
  background-position: center 28%;
}
.story-character-r91 .story-r9-scene-flow .story-r9-art::before {
  background-image: url("./assets/r91/work.svg");
  background-position: center 30%;
}
.story-character-r91 .story-r9-scene-choice .story-r9-art::before {
  background-image: url("./assets/r91/year.svg");
  background-position: center 24%;
}
.story-character-r91 .story-r9-scene-detail .story-r9-art::before {
  background-image: url("./assets/r91/people.svg");
  background-position: center 25%;
}
.story-character-r91 .story-r9-scene:not(.story-r9-scene-hero) .story-r9-art::after {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(24,36,75,.28) 0%, rgba(24,36,75,.05) 26%, transparent 48%),
    linear-gradient(180deg, transparent 58%, rgba(20,28,55,.5) 100%);
}
.story-character-r91 .story-r9-scene-choice .story-r9-art::after {
  background:
    linear-gradient(90deg, rgba(33,35,58,.18), transparent 35%),
    linear-gradient(180deg, transparent 38%, rgba(24,29,49,.87) 100%);
}
.story-character-r91 .story-r9-art > span { z-index: 2; }
.story-character-r91 .story-r9-scene.is-active .story-r9-art::before {
  animation: storyR91ArtReveal 620ms cubic-bezier(.2,.72,.2,1) both, storyR91ArtBreathe 9s 620ms ease-in-out infinite;
}
.story-character-r91 .story-r9-scene.is-active .story-r9-copy > * {
  animation: storyR91CopyReveal 460ms cubic-bezier(.2,.72,.2,1) both;
}
.story-character-r91 .story-r9-scene.is-active .story-r9-copy > *:nth-child(1) { animation-delay: 90ms; }
.story-character-r91 .story-r9-scene.is-active .story-r9-copy > *:nth-child(2) { animation-delay: 150ms; }
.story-character-r91 .story-r9-scene.is-active .story-r9-copy > *:nth-child(3) { animation-delay: 210ms; }
.story-character-r91 .story-r9-scene.is-active .story-r9-copy > *:nth-child(4) { animation-delay: 270ms; }
.story-character-r91 .story-r9-scene.is-active .story-r9-copy > *:nth-child(5) { animation-delay: 330ms; }
.story-character-r91 .story-r9-scene.is-active .story-r9-copy > *:nth-child(6) { animation-delay: 390ms; }
.story-character-r91 .story-r9-scene.is-active .story-r9-copy > *:nth-child(7) { animation-delay: 450ms; }
.story-character-r91 .story-r9-art-ripple .story-r9-ripple { border-color: rgba(255,241,188,.52); }
.story-character-r91 .story-r9-art-ripple .story-r9-orb { background:#fff4b7; box-shadow:0 0 46px rgba(255,228,136,.8); }
.story-character-r91 .story-r9-art-road .story-r9-sun,
.story-character-r91 .story-r9-art-road .story-r9-mountain,
.story-character-r91 .story-r9-art-road .story-r9-road { opacity:.15; }
.story-character-r91 .story-r9-art-timeline .story-r9-time-line,
.story-character-r91 .story-r9-art-timeline .story-r9-time-node { filter:drop-shadow(0 4px 10px rgba(20,28,55,.34)); }
.story-character-r91 .story-r9-art-compass .story-r9-compass-ring { border-color:rgba(255,236,178,.62); box-shadow:inset 0 0 0 18px rgba(255,255,255,.12),0 0 34px rgba(255,224,144,.34); }
.story-character-r91 .story-r9-art-pages .story-r9-page { background:rgba(255,253,248,.92); backdrop-filter:blur(4px); }
.story-character-r91 .story-r9-copy { position:relative; }
.story-character-r91 .story-r9-copy::after {
  content:"";
  position:absolute;
  left:clamp(28px,5vw,58px);
  right:clamp(28px,5vw,58px);
  bottom:22px;
  height:1px;
  background:linear-gradient(90deg, transparent, rgba(197,146,69,.32), transparent);
  pointer-events:none;
}
.story-character-r91 .story-r9-controls {
  position:sticky;
  bottom:8px;
  z-index:8;
  padding:8px;
  border:1px solid rgba(219,207,190,.72);
  border-radius:999px;
  background:rgba(255,253,248,.9);
  box-shadow:0 14px 34px rgba(42,38,69,.11);
  backdrop-filter:blur(12px);
}
.story-character-r91 .natal-details[open] { box-shadow:0 12px 30px rgba(42,38,69,.08); }

@keyframes storyR91ArtReveal {
  from { opacity:0; transform:scale(1.08) translateX(14px); filter:saturate(.82) brightness(.9); }
  to { opacity:1; transform:scale(1.035) translateX(0); filter:saturate(1) brightness(1); }
}
@keyframes storyR91ArtBreathe {
  0%,100% { transform:scale(1.035) translate3d(0,0,0); }
  50% { transform:scale(1.055) translate3d(-4px,-5px,0); }
}
@keyframes storyR91CopyReveal {
  from { opacity:0; transform:translateY(12px); }
  to { opacity:1; transform:translateY(0); }
}

@media (max-width:760px) {
  .story-character-r91 .story-r9-scene:not(.story-r9-scene-hero) .story-r9-art::before {
    background-size:cover;
    background-position:center 22%;
  }
  .story-character-r91 .story-r9-scene-feeling .story-r9-art::before { background-position:center 27%; }
  .story-character-r91 .story-r9-scene-band .story-r9-art::before { background-position:center 25%; }
  .story-character-r91 .story-r9-scene-flow .story-r9-art::before { background-position:center 27%; }
  .story-character-r91 .story-r9-scene-choice .story-r9-art::before { background-position:center 24%; }
  .story-character-r91 .story-r9-scene-detail .story-r9-art::before { background-position:center 24%; }
  .story-character-r91 .story-r9-controls {
    bottom:6px;
    padding:6px;
    border-radius:24px;
  }
  .story-character-r91 .story-r9-copy::after { display:none; }
}

@media (prefers-reduced-motion: reduce) {
  .story-character-r91 .story-r9-scene.is-active .story-r9-art::before,
  .story-character-r91 .story-r9-scene.is-active .story-r9-copy > * { animation:none !important; }
}


/* V4.43 R9.2: sharper uncropped scene art and user-approved scene-specific motion. */
.story-character-r92 .story-r9-scene:not(.story-r9-scene-hero) .story-r9-art::before {
  inset:0;
  background-repeat:no-repeat;
  background-size:contain;
  background-position:center;
  transform:none;
  filter:none;
}
.story-character-r92 .story-r9-scene-feeling .story-r9-art::before { background-image:url("./assets/r91/career.svg"); }
.story-character-r92 .story-r9-scene-band .story-r9-art::before { background-image:url("./assets/r91/timing.svg"); }
.story-character-r92 .story-r9-scene-flow .story-r9-art::before { background-image:url("./assets/r91/work.svg"); }
.story-character-r92 .story-r9-scene-choice .story-r9-art::before { background-image:url("./assets/r91/year.svg"); }
.story-character-r92 .story-r9-scene-detail .story-r9-art::before { background-image:url("./assets/r91/people.svg"); }
.story-character-r92 .story-r9-scene.is-active .story-r9-art::before {
  animation:storyR92ArtReveal 420ms ease-out both;
}
.story-character-r92 .story-r9-art-ripple .story-r9-ripple,
.story-character-r92 .story-r9-art-ripple .story-r9-orb { display:none; }
.story-character-r92 .story-r9-scene-feeling .story-r9-art::after {
  background:radial-gradient(circle at 17% 38%,rgba(255,225,151,.26),transparent 24%),linear-gradient(180deg,transparent 68%,rgba(18,25,53,.18));
}
.story-character-r92 .story-r9-art-road .story-r9-sun,
.story-character-r92 .story-r9-art-road .story-r9-mountain,
.story-character-r92 .story-r9-art-road .story-r9-road { display:none; }
.story-character-r92 .story-r9-art-timeline .story-r9-time-line {
  left:9%; right:55%; top:auto; bottom:17%; height:4px; transform:rotate(-12deg); transform-origin:left center;
}
.story-character-r92 .story-r9-art-timeline .story-r9-time-node { width:30px; height:30px; top:auto; border-width:5px; }
.story-character-r92 .story-r9-art-timeline .story-r9-time-node-one { left:13%; bottom:12%; }
.story-character-r92 .story-r9-art-timeline .story-r9-time-node-two { left:25%; bottom:16%; animation:storyR92Node 3.4s ease-in-out infinite; }
.story-character-r92 .story-r9-art-timeline .story-r9-time-node-three { left:37%; bottom:20%; }
.story-character-r92 .story-r9-art-compass .story-r9-compass-ring { display:none; }
.story-character-r92 .story-r9-scene-choice .story-r9-art::after {
  background:linear-gradient(135deg, rgba(235,212,188,.96) 0 18%, rgba(235,212,188,0) 31%),linear-gradient(180deg, transparent 68%, rgba(18,25,53,.18));
}
.story-character-r92 .story-r9-art-compass .story-r9-compass-needle {
  left:27.35%; top:58.6%; width:8px; height:54px; transform-origin:50% 50%;
  border-radius:999px; opacity:.92; filter:drop-shadow(0 1px 4px rgba(31,34,56,.22));
  animation:storyR92HeldCompass 6.2s ease-in-out infinite;
}
.story-character-r92 .story-r9-art-compass .story-r9-compass-center { left:27.35%; top:58.6%; width:12px; height:12px; border-width:3px; box-shadow:0 0 0 2px rgba(255,255,255,.28); }
.story-character-r92 .story-r9-art-pages .story-r9-page { display:none; }
.story-character-r92 .story-r9-art-pages .story-r9-down { left:82%; bottom:8%; }
@keyframes storyR92ArtReveal { from{opacity:0;transform:translateX(10px)} to{opacity:1;transform:none} }
@keyframes storyR92Node { 0%,100%{box-shadow:0 8px 18px rgba(40,48,72,.18)} 50%{box-shadow:0 0 0 10px rgba(105,116,173,.14),0 8px 18px rgba(40,48,72,.18)} }
@keyframes storyR92HeldCompass {
  0%,100%{transform:translate(-50%,-50%) rotate(-10deg)}
  35%{transform:translate(-50%,-50%) rotate(14deg)}
  70%{transform:translate(-50%,-50%) rotate(-3deg)}
}
@media (max-width:760px){
  .story-character-r92 .story-r9-scene:not(.story-r9-scene-hero) .story-r9-art::before { background-size:contain; background-position:center; }
  .story-character-r92 .story-r9-art-compass .story-r9-compass-needle { left:27.35%; top:58.6%; height:40px; width:7px; }
  .story-character-r92 .story-r9-art-compass .story-r9-compass-center { left:27.35%; top:58.6%; width:10px; height:10px; border-width:2px; }
}
@media (prefers-reduced-motion:reduce){
  .story-character-r92 .story-r9-scene.is-active .story-r9-art::before,
  .story-character-r92 .story-r9-art-timeline .story-r9-time-node-two,
  .story-character-r92 .story-r9-art-compass .story-r9-compass-needle { animation:none !important; }
}


/* V4.43 R9.5: remove unstable overlays from scenes 4 and 5. */
.story-character-r92 .story-r9-art-timeline .story-r9-time-line,
.story-character-r92 .story-r9-art-timeline .story-r9-time-node,
.story-character-r92 .story-r9-art-compass .story-r9-compass-ring,
.story-character-r92 .story-r9-art-compass .story-r9-compass-needle,
.story-character-r92 .story-r9-art-compass .story-r9-compass-center {
  display:none !important;
}
.story-character-r92 .story-r9-scene-choice .story-r9-art::after {
  background:linear-gradient(180deg, transparent 70%, rgba(18,25,53,.18));
}


/* V4.43 R9.6: rebuild scenes 4 and 5 as clean single-frame artwork. */
.story-character-r92 .story-r9-scene-flow .story-r9-art::before,
.story-character-r92 .story-r9-scene-choice .story-r9-art::before {
  background-size:cover;
  background-position:center;
}
.story-character-r92 .story-r9-scene-flow .story-r9-art::after,
.story-character-r92 .story-r9-scene-choice .story-r9-art::after {
  background:linear-gradient(180deg, transparent 72%, rgba(18,25,53,.14));
}
.story-flow-context {
  max-width:500px;
  margin:10px 0 0;
  color:#6b6570;
  font-size:.86rem;
  line-height:1.55;
}
@media (max-width:760px) {
  .story-character-r92 .story-r9-scene-flow .story-r9-art::before,
  .story-character-r92 .story-r9-scene-choice .story-r9-art::before {
    background-size:cover;
    background-position:center 28%;
  }
  .story-flow-context { font-size:.8rem; }
}


/* R9.6 final specificity override for full-bleed scene art. */
.story-character-r92 .story-r9-scene.story-r9-scene-flow .story-r9-art::before,
.story-character-r92 .story-r9-scene.story-r9-scene-choice .story-r9-art::before {
  background-size:cover !important;
  background-position:center !important;
}
@media (max-width:760px) {
  .story-character-r92 .story-r9-scene.story-r9-scene-flow .story-r9-art::before,
  .story-character-r92 .story-r9-scene.story-r9-scene-choice .story-r9-art::before {
    background-size:cover !important;
    background-position:center 28% !important;
  }
}

/* V4.43 R9.7: final rebuild for scenes 4 and 5.
   Use clean single-frame art, remove all diagram/needle overlays, and integrate
   the dynamic copy over the artwork instead of splitting the card in half. */
.story-character-r92 .story-r9-scene-flow,
.story-character-r92 .story-r9-scene-choice {
  position: relative;
  display: block;
  min-height: 590px;
  overflow: hidden;
  background: #fffdf8;
}
.story-character-r92 .story-r9-scene-flow .story-r9-art,
.story-character-r92 .story-r9-scene-choice .story-r9-art {
  position: absolute;
  inset: 0;
  width: 100%;
  min-height: 590px;
  background: #222c56;
}
.story-character-r92 .story-r9-scene-flow .story-r9-art::before,
.story-character-r92 .story-r9-scene-choice .story-r9-art::before {
  inset: 0;
  background-repeat: no-repeat;
  background-size: cover !important;
  background-position: right center !important;
  transform: none !important;
  filter: none !important;
}
.story-character-r92 .story-r9-scene-flow .story-r9-art::after,
.story-character-r92 .story-r9-scene-choice .story-r9-art::after {
  background:
    linear-gradient(90deg,
      rgba(255,253,248,.99) 0%,
      rgba(255,253,248,.98) 40%,
      rgba(255,253,248,.90) 48%,
      rgba(255,253,248,.28) 63%,
      rgba(255,253,248,0) 73%),
    linear-gradient(180deg, transparent 70%, rgba(18,25,53,.15));
}
.story-character-r92 .story-r9-scene-flow .story-r9-copy,
.story-character-r92 .story-r9-scene-choice .story-r9-copy {
  position: relative;
  z-index: 3;
  width: 50%;
  min-height: 590px;
  padding: clamp(30px, 4.8vw, 58px);
  color: #34313a;
  background: transparent;
}
.story-character-r92 .story-r9-scene-flow .story-r9-flow-list,
.story-character-r92 .story-r9-scene-choice .story-choice-grid {
  width: 100%;
  max-width: 410px;
}
.story-character-r92 .story-r9-scene-flow .story-r9-flow-list > div,
.story-character-r92 .story-r9-scene-choice .story-choice-card {
  border: 1px solid rgba(111,116,154,.2);
  background: rgba(255,255,255,.9);
  box-shadow: 0 10px 24px rgba(37,38,67,.08);
  backdrop-filter: blur(8px);
}
.story-character-r92 .story-r9-scene-flow .story-r9-guide-line,
.story-character-r92 .story-r9-scene-choice .story-r9-guide-line,
.story-character-r92 .story-r9-scene-flow .story-flow-context {
  padding: 12px 14px;
  border: 1px solid rgba(189,162,117,.28);
  border-radius: 14px;
  color: #4f4852;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(8px);
}
.story-character-r92 .story-r9-scene-flow .story-r9-time-line,
.story-character-r92 .story-r9-scene-flow .story-r9-time-node,
.story-character-r92 .story-r9-scene-choice .story-r9-compass-ring,
.story-character-r92 .story-r9-scene-choice .story-r9-compass-needle,
.story-character-r92 .story-r9-scene-choice .story-r9-compass-center {
  display: none !important;
}

@media (max-width: 760px) {
  .story-character-r92 .story-r9-scene-flow,
  .story-character-r92 .story-r9-scene-choice {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: clamp(270px, 76vw, 360px) auto;
    min-height: 0;
  }
  .story-character-r92 .story-r9-scene-flow .story-r9-art,
  .story-character-r92 .story-r9-scene-choice .story-r9-art {
    position: relative;
    inset: auto;
    grid-column: 1;
    grid-row: 1;
    min-height: 0;
    height: 100%;
  }
  .story-character-r92 .story-r9-scene-flow .story-r9-art::before {
    background-position: 72% center !important;
  }
  .story-character-r92 .story-r9-scene-choice .story-r9-art::before {
    background-position: 58% center !important;
  }
  .story-character-r92 .story-r9-scene-flow .story-r9-art::after,
  .story-character-r92 .story-r9-scene-choice .story-r9-art::after {
    background: linear-gradient(180deg, transparent 68%, rgba(18,25,53,.18));
  }
  .story-character-r92 .story-r9-scene-flow .story-r9-copy,
  .story-character-r92 .story-r9-scene-choice .story-r9-copy {
    grid-column: 1;
    grid-row: 2;
    width: auto;
    min-height: 0;
    padding: 23px 20px 25px;
    background: #fffdf8;
  }
}

/* V4.43 R9.8: full six-scene artwork rebuild with scene-specific atmosphere.
   This block intentionally overrides R9.1-R9.7 scene artwork/layout rules only. */
.story-character-r98 .story-r9-stage {
  min-height: 650px;
  background: #fffdf8;
}
.story-character-r98 .story-r9-scene,
.story-character-r98 .story-r9-scene-flow,
.story-character-r98 .story-r9-scene-choice {
  position: relative;
  display: grid !important;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, .98fr) !important;
  grid-template-rows: 1fr !important;
  min-height: 650px !important;
  overflow: hidden;
  background: linear-gradient(130deg,#fffdf8 0%,#faf4ea 54%,#edf0f8 100%);
}
.story-character-r98 .story-r9-art,
.story-character-r98 .story-r9-scene-flow .story-r9-art,
.story-character-r98 .story-r9-scene-choice .story-r9-art {
  position: relative !important;
  inset: auto !important;
  grid-column: 2 !important;
  grid-row: 1 !important;
  width: auto !important;
  height: auto !important;
  min-height: 650px !important;
  overflow: hidden;
  isolation: isolate;
  background: #15214a;
}
.story-character-r98 .story-r9-art::before,
.story-character-r98 .story-r9-art::after {
  content: none !important;
  display: none !important;
}
.story-character-r98 .story-r9-copy,
.story-character-r98 .story-r9-scene-flow .story-r9-copy,
.story-character-r98 .story-r9-scene-choice .story-r9-copy {
  position: relative !important;
  z-index: 4;
  grid-column: 1 !important;
  grid-row: 1 !important;
  width: auto !important;
  min-height: 650px !important;
  padding: clamp(30px, 4.8vw, 58px) !important;
  color: #34313a;
  background: linear-gradient(90deg,#fffdf8 0%,#fffdf8 83%,rgba(255,253,248,.88) 100%) !important;
}
.story-character-r98 .story-r98-art-invite { background:#111d46; }
.story-character-r98 .story-r98-art-study { background:#211a22; }
.story-character-r98 .story-r98-art-road { background:#e9c89f; }
.story-character-r98 .story-r98-art-flow { background:#101946; }
.story-character-r98 .story-r98-art-compass { background:#101a49; }
.story-character-r98 .story-r98-art-document { background:#7d5637; }

.story-r98-plane {
  position: absolute;
  inset: 0;
  margin: auto;
  overflow: hidden;
  background: inherit;
  transform: translateZ(0);
}
.story-r98-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  user-select: none;
  pointer-events: none;
  filter: saturate(1.02) contrast(1.01);
}
.story-character-r98 .story-r9-scene.is-active .story-r98-image {
  animation: storyR98ImageBreathe 11s ease-in-out infinite;
}
.story-r98-plane::after {
  content:"";
  position:absolute;
  inset:0;
  z-index:2;
  pointer-events:none;
  background:linear-gradient(180deg,rgba(255,255,255,.02),transparent 50%,rgba(7,12,35,.12));
}
.story-r98-plane > span { position:absolute; z-index:3; pointer-events:none; }

/* Shared floating petals and sparkles */
.story-r98-petal {
  top:-8%;
  width:14px;
  height:9px;
  border-radius:80% 10% 80% 10%;
  background:radial-gradient(circle at 35% 30%,#fff,#ffd9e4 62%,#eaa6bd);
  box-shadow:0 0 10px rgba(255,235,241,.88);
  opacity:0;
}
.story-r9-scene.is-active .story-r98-petal { animation:storyR98PetalFall var(--petal-duration,8s) linear infinite; animation-delay:var(--petal-delay,0s); }
.story-r98-petal.p1 { left:10%; --petal-duration:8.4s; --petal-delay:-1.2s; --petal-drift:90px; }
.story-r98-petal.p2 { left:38%; --petal-duration:10.2s; --petal-delay:-4.4s; --petal-drift:-50px; transform:scale(.72); }
.story-r98-petal.p3 { left:68%; --petal-duration:8.8s; --petal-delay:-6.1s; --petal-drift:62px; transform:scale(.86); }
.story-r98-petal.p4 { left:88%; --petal-duration:11.2s; --petal-delay:-2.8s; --petal-drift:-75px; transform:scale(.58); }
.story-r98-spark {
  width:5px;
  height:5px;
  border-radius:50%;
  background:#fff8cd;
  box-shadow:0 0 8px 3px rgba(255,233,159,.6);
  opacity:.25;
}
.story-r9-scene.is-active .story-r98-spark { animation:storyR98Twinkle 3.8s ease-in-out infinite; animation-delay:var(--spark-delay,0s); }
.story-r98-spark.s1 { left:18%; top:26%; --spark-delay:-1.1s; }
.story-r98-spark.s2 { left:62%; top:19%; --spark-delay:-2.7s; transform:scale(.7); }
.story-r98-spark.s3 { left:78%; top:58%; --spark-delay:-.4s; transform:scale(1.2); }
.story-r98-spark.s4 { left:90%; top:36%; --spark-delay:-3.1s; transform:scale(.65); }

/* Scene 1: moon pulse and flowing light ribbons */
.story-r98-moon-halo {
  left:7.3%; top:5.4%; width:29%; aspect-ratio:1; border-radius:50%;
  background:radial-gradient(circle,rgba(255,250,213,.46) 0 23%,rgba(255,236,165,.18) 44%,transparent 72%);
  mix-blend-mode:screen;
}
.story-r9-scene.is-active .story-r98-moon-halo { animation:storyR98MoonPulse 5.2s ease-in-out infinite; }
.story-r98-ribbon {
  width:72%; height:22%; right:-20%; bottom:14%;
  border:3px solid rgba(255,236,180,.66);
  border-left-color:transparent; border-right-color:transparent;
  border-radius:50%; filter:drop-shadow(0 0 10px rgba(255,221,134,.55));
  mix-blend-mode:screen;
}
.story-r98-ribbon-two { right:-32%; bottom:7%; width:88%; opacity:.62; }
.story-r9-scene.is-active .story-r98-ribbon-one { animation:storyR98Ribbon 8.5s linear infinite; }
.story-r9-scene.is-active .story-r98-ribbon-two { animation:storyR98Ribbon 11s linear infinite reverse; }

/* Scene 2: lantern breathing, floating dust and page sheen */
.story-r98-lantern-glow { border-radius:50%; background:radial-gradient(circle,rgba(255,224,137,.62),rgba(255,171,61,.18) 45%,transparent 72%); mix-blend-mode:screen; }
.story-r98-lantern-glow.glow-one { left:-2%; top:47%; width:32%; aspect-ratio:1; }
.story-r98-lantern-glow.glow-two { left:-8%; top:1%; width:24%; aspect-ratio:1; opacity:.5; }
.story-r9-scene.is-active .story-r98-lantern-glow { animation:storyR98Lantern 4.6s ease-in-out infinite; }
.story-r98-lantern-glow.glow-two { animation-delay:-1.8s !important; }
.story-r98-dust { width:4px; height:4px; border-radius:50%; background:#ffe6a0; box-shadow:0 0 7px rgba(255,212,118,.8); opacity:0; }
.story-r98-dust.d1 { left:18%; bottom:13%; --dust-x:34px; --dust-delay:-.8s; }
.story-r98-dust.d2 { left:33%; bottom:7%; --dust-x:-22px; --dust-delay:-2.2s; transform:scale(.7); }
.story-r98-dust.d3 { left:53%; bottom:19%; --dust-x:28px; --dust-delay:-3.7s; }
.story-r98-dust.d4 { left:74%; bottom:11%; --dust-x:-38px; --dust-delay:-1.5s; transform:scale(.6); }
.story-r98-dust.d5 { left:87%; bottom:25%; --dust-x:20px; --dust-delay:-4.4s; }
.story-r9-scene.is-active .story-r98-dust { animation:storyR98Dust 6.4s ease-out infinite; animation-delay:var(--dust-delay); }
.story-r98-page-sheen { left:5%; right:23%; bottom:19%; height:16%; transform:rotate(-8deg); background:linear-gradient(105deg,transparent 35%,rgba(255,248,205,.38) 48%,transparent 61%); opacity:0; }
.story-r9-scene.is-active .story-r98-page-sheen { animation:storyR98Sheen 5.8s ease-in-out infinite; }

/* Scene 3: sunrise, path glimmer and wind */
.story-r98-sun-halo { left:-4%; top:-6%; width:48%; aspect-ratio:1; border-radius:50%; background:radial-gradient(circle,rgba(255,244,187,.55),rgba(255,201,105,.18) 43%,transparent 72%); mix-blend-mode:screen; }
.story-r9-scene.is-active .story-r98-sun-halo { animation:storyR98Sun 5.8s ease-in-out infinite; }
.story-r98-path-glow { left:2%; bottom:-5%; width:56%; height:68%; border:7px solid rgba(255,240,188,.34); border-left-color:transparent; border-top-color:transparent; border-radius:50%; transform:rotate(18deg); filter:drop-shadow(0 0 8px rgba(255,218,127,.42)); mix-blend-mode:screen; }
.story-r9-scene.is-active .story-r98-path-glow { animation:storyR98Path 6.5s ease-in-out infinite; }

/* Scene 4: existing path destinations glow sequentially, never over the character */
.story-r98-flow-halo { border-radius:50%; border:2px solid rgba(255,236,173,.66); box-shadow:0 0 22px 6px rgba(255,215,113,.28), inset 0 0 18px rgba(255,244,201,.18); opacity:.42; }
.story-r98-flow-halo.halo-one { left:69.5%; top:15.5%; width:21%; aspect-ratio:1; --flow-delay:0s; }
.story-r98-flow-halo.halo-two { left:59%; top:30.5%; width:20%; aspect-ratio:1; --flow-delay:-1.6s; }
.story-r98-flow-halo.halo-three { left:72.5%; top:42.5%; width:21%; aspect-ratio:1; --flow-delay:-3.2s; }
.story-r9-scene.is-active .story-r98-flow-halo { animation:storyR98FlowHalo 4.8s ease-in-out infinite; animation-delay:var(--flow-delay); }
.story-r98-path-shimmer { left:56%; top:19%; width:44%; height:57%; background:linear-gradient(125deg,transparent 36%,rgba(255,244,199,.38) 48%,transparent 59%); mix-blend-mode:screen; opacity:0; transform:translateX(-45%); }
.story-r9-scene.is-active .story-r98-path-shimmer { animation:storyR98FlowSweep 6.6s ease-in-out infinite; }

/* Scene 5: real compass, precisely anchored moving magnetic needle */
.story-r98-compass-halo { left:28%; top:53%; width:34%; aspect-ratio:1; border-radius:50%; background:radial-gradient(circle,rgba(255,230,147,.18) 0 48%,rgba(255,220,113,.13) 58%,transparent 72%); box-shadow:0 0 28px rgba(255,210,94,.24); mix-blend-mode:screen; }
.story-r9-scene.is-active .story-r98-compass-halo { animation:storyR98CompassGlow 4.2s ease-in-out infinite; }
.story-r98-compass-needle {
  left:45.1%; top:65.5%; width:1.35%; height:12.2%; min-width:7px;
  transform:translate(-50%,-50%) rotate(-7deg);
  transform-origin:50% 50%;
  clip-path:polygon(50% 0,100% 45%,64% 50%,100% 55%,50% 100%,0 55%,36% 50%,0 45%);
  background:linear-gradient(180deg,#fb6f67 0 48%,#fff3c0 49% 51%,#3e4d9d 52% 100%);
  filter:drop-shadow(0 0 5px rgba(255,224,139,.7));
  opacity:.9;
}
.story-r98-compass-center { left:45.1%; top:65.5%; width:2.25%; aspect-ratio:1; min-width:12px; border:3px solid rgba(255,250,225,.95); border-radius:50%; background:#6e421c; box-shadow:0 0 0 3px rgba(81,49,22,.35),0 0 10px rgba(255,222,126,.7); transform:translate(-50%,-50%); }
.story-r9-scene.is-active .story-r98-compass-needle { animation:storyR98Needle 4.8s cubic-bezier(.45,.05,.55,.95) infinite; }

/* Scene 6: doorway pulse, document sheen and invitation cue */
.story-r98-door-glow { left:12%; top:-8%; width:76%; height:48%; border-radius:50%; background:radial-gradient(circle,rgba(255,239,190,.42),rgba(255,194,102,.12) 48%,transparent 73%); mix-blend-mode:screen; }
.story-r9-scene.is-active .story-r98-door-glow { animation:storyR98DoorGlow 5.4s ease-in-out infinite; }
.story-r98-paper-sheen { left:25%; top:39%; width:50%; height:31%; transform:rotate(-2deg); background:linear-gradient(108deg,transparent 34%,rgba(255,255,234,.42) 47%,transparent 60%); opacity:0; }
.story-r9-scene.is-active .story-r98-paper-sheen { animation:storyR98Sheen 5.4s ease-in-out infinite; }
.story-r98-down { right:8%; bottom:7%; display:grid; place-items:center; width:44px; height:44px; border-radius:50%; color:#fff; background:rgba(36,49,103,.9); box-shadow:0 12px 25px rgba(25,31,76,.28),0 0 0 8px rgba(255,255,255,.13); }
.story-r9-scene.is-active .story-r98-down { animation:storyR98Down 2.7s ease-in-out infinite; }

/* Motion keyframes */
@keyframes storyR98ImageBreathe { 0%,100%{filter:saturate(1.02) brightness(1)} 50%{filter:saturate(1.06) brightness(1.025)} }
@keyframes storyR98PetalFall { 0%{opacity:0;transform:translate3d(0,-25px,0) rotate(0)} 12%{opacity:.88} 100%{opacity:0;transform:translate3d(var(--petal-drift),115vh,0) rotate(560deg)} }
@keyframes storyR98Twinkle { 0%,100%{opacity:.16;transform:scale(.55)} 45%{opacity:.9;transform:scale(1.25)} 62%{opacity:.34;transform:scale(.8)} }
@keyframes storyR98MoonPulse { 0%,100%{opacity:.58;transform:scale(.94)} 50%{opacity:1;transform:scale(1.07)} }
@keyframes storyR98Ribbon { from{transform:rotate(-8deg)} to{transform:rotate(352deg)} }
@keyframes storyR98Lantern { 0%,100%{opacity:.48;transform:scale(.92)} 50%{opacity:.88;transform:scale(1.08)} }
@keyframes storyR98Dust { 0%{opacity:0;transform:translate3d(0,0,0)} 18%{opacity:.8} 100%{opacity:0;transform:translate3d(var(--dust-x),-230px,0)} }
@keyframes storyR98Sheen { 0%,25%{opacity:0;transform:translateX(-28%) rotate(-8deg)} 48%{opacity:.85} 72%,100%{opacity:0;transform:translateX(40%) rotate(-8deg)} }
@keyframes storyR98Sun { 0%,100%{opacity:.54;transform:scale(.94)} 50%{opacity:.95;transform:scale(1.08)} }
@keyframes storyR98Path { 0%,100%{opacity:.32;filter:drop-shadow(0 0 5px rgba(255,218,127,.3))} 50%{opacity:.72;filter:drop-shadow(0 0 16px rgba(255,218,127,.72))} }
@keyframes storyR98FlowHalo { 0%,100%{opacity:.32;transform:scale(.94)} 50%{opacity:.95;transform:scale(1.07)} }
@keyframes storyR98FlowSweep { 0%,28%{opacity:0;transform:translateX(-45%)} 50%{opacity:.72} 75%,100%{opacity:0;transform:translateX(50%)} }
@keyframes storyR98CompassGlow { 0%,100%{opacity:.48;transform:scale(.95)} 50%{opacity:.9;transform:scale(1.06)} }
@keyframes storyR98Needle { 0%,100%{transform:translate(-50%,-50%) rotate(-11deg)} 28%{transform:translate(-50%,-50%) rotate(13deg)} 55%{transform:translate(-50%,-50%) rotate(-4deg)} 78%{transform:translate(-50%,-50%) rotate(8deg)} }
@keyframes storyR98DoorGlow { 0%,100%{opacity:.52;transform:scale(.96)} 50%{opacity:.92;transform:scale(1.05)} }
@keyframes storyR98Down { 0%,100%{transform:translateY(0)} 50%{transform:translateY(7px)} }

@media (max-width:760px) {
  .story-character-r98 .story-r9-stage { min-height:0; }
  .story-character-r98 .story-r9-scene,
  .story-character-r98 .story-r9-scene-flow,
  .story-character-r98 .story-r9-scene-choice {
    grid-template-columns:1fr !important;
    grid-template-rows:min(132vw,520px) auto !important;
    min-height:0 !important;
  }
  .story-character-r98 .story-r9-art,
  .story-character-r98 .story-r9-scene-flow .story-r9-art,
  .story-character-r98 .story-r9-scene-choice .story-r9-art {
    grid-column:1 !important;
    grid-row:1 !important;
    min-height:0 !important;
    height:100% !important;
  }
  .story-character-r98 .story-r9-copy,
  .story-character-r98 .story-r9-scene-flow .story-r9-copy,
  .story-character-r98 .story-r9-scene-choice .story-r9-copy {
    grid-column:1 !important;
    grid-row:2 !important;
    min-height:0 !important;
    padding:23px 20px 25px !important;
    background:#fffdf8 !important;
  }
  .story-r98-petal { width:11px; height:7px; }
  .story-r98-down { width:38px; height:38px; }
}
@media (max-width:390px) {
  .story-character-r98 .story-r9-scene,
  .story-character-r98 .story-r9-scene-flow,
  .story-character-r98 .story-r9-scene-choice { grid-template-rows:min(136vw,500px) auto !important; }
}
@media (prefers-reduced-motion:reduce) {
  .story-character-r98 .story-r98-image,
  .story-character-r98 .story-r98-plane > span { animation:none !important; }
  .story-character-r98 .story-r98-petal,.story-character-r98 .story-r98-dust { display:none !important; }
}
.story-character-r98 .story-r9-scene[hidden] { display:none !important; }

/* R9.8 narrative motion on copy cards: guide the eye without covering artwork. */
.story-character-r98 .story-r9-scene-flow.is-active .story-r9-flow-list > div {
  animation:storyR98FlowCard 5.4s ease-in-out infinite;
}
.story-character-r98 .story-r9-scene-flow.is-active .story-r9-flow-list > div:nth-child(2) { animation-delay:-3.6s; }
.story-character-r98 .story-r9-scene-flow.is-active .story-r9-flow-list > div:nth-child(3) { animation-delay:-1.8s; }
.story-character-r98 .story-r9-scene-choice.is-active .story-choice-card {
  animation:storyR98ChoiceCard 5.6s ease-in-out infinite;
}
.story-character-r98 .story-r9-scene-choice.is-active .story-choice-watch { animation-delay:-2.8s; }
@keyframes storyR98FlowCard { 0%,100%{transform:translateY(0);box-shadow:0 10px 24px rgba(37,38,67,.06)} 48%{transform:translateY(-3px);box-shadow:0 14px 30px rgba(63,78,133,.14)} }
@keyframes storyR98ChoiceCard { 0%,100%{transform:translateY(0);filter:saturate(1)} 50%{transform:translateY(-3px);filter:saturate(1.05)} }
@media (prefers-reduced-motion:reduce) {
  .story-character-r98 .story-r9-flow-list > div,
  .story-character-r98 .story-choice-card { animation:none !important; }
}


/* R9.12 public-screen polish: preserve the complete portrait while filling desktop letterbox space with an atmospheric backdrop. */
.story-character-r98 .story-r98-art {
  position: relative;
  overflow: hidden;
}
.story-character-r98 .story-r9-art > .story-r98-backdrop {
  position: absolute;
  inset: -9%;
  z-index: 0 !important;
  display: block;
  background-position: center;
  background-size: cover;
  filter: blur(24px) saturate(.92) brightness(.68);
  opacity: .9;
  transform: scale(1.08);
  pointer-events: none;
}
.story-character-r98 .story-r98-plane {
  z-index: 1;
  box-shadow: 0 0 48px rgba(11,18,49,.22);
}
.story-character-r98 .story-r9-scene.is-active .story-r98-backdrop {
  animation: storyR912BackdropDrift 13s ease-in-out infinite;
}
@keyframes storyR912BackdropDrift {
  0%,100% { transform: scale(1.08) translate3d(-.4%,0,0); filter: blur(24px) saturate(.92) brightness(.68); }
  50% { transform: scale(1.12) translate3d(.7%,-.6%,0); filter: blur(25px) saturate(1.02) brightness(.76); }
}
@media (max-width:760px) {
  .story-character-r98 .story-r9-art > .story-r98-backdrop { opacity:.62; filter:blur(20px) saturate(.9) brightness(.66); }
}
@media (prefers-reduced-motion:reduce) {
  .story-character-r98 .story-r9-art > .story-r98-backdrop { animation:none !important; }
}


/* R9.13 concise copy: fewer words, clearer hierarchy, same artwork and motion. */
.story-character-r98[data-copy-version="r9.13"] .story-r913-copy-short {
  display:flex !important;
  flex-direction:column;
  justify-content:center;
  gap:14px;
}
.story-character-r98[data-copy-version="r9.13"] .story-r913-copy-short .story-scan-label { margin-bottom:10px; }
.story-character-r98[data-copy-version="r9.13"] .story-r913-copy-short h3,
.story-character-r98[data-copy-version="r9.13"] .story-r913-copy-short .story-r9-result-title { margin:0; max-width:22ch; }
.story-character-r98[data-copy-version="r9.13"] .story-r913-copy-short > p { margin:0; max-width:34ch; }
.story-character-r98[data-copy-version="r9.13"] .story-r9-flow-list,
.story-character-r98[data-copy-version="r9.13"] .story-choice-grid { margin-top:4px; }
.story-character-r98[data-copy-version="r9.13"] .story-r9-flow-list strong,
.story-character-r98[data-copy-version="r9.13"] .story-choice-card p { line-height:1.48; }
.phase-story-details { margin-top:18px; border:1px solid #e7ddcf; border-radius:16px; background:#fffdf9; overflow:hidden; }
.phase-story-details > summary { cursor:pointer; padding:15px 18px; font-weight:800; color:#283659; }
.phase-story-details .phase-grid { padding:0 16px 16px; }
.locked-feature-grid-compact { grid-template-columns:repeat(3,minmax(0,1fr)); }
@media (max-width:760px) {
  .story-character-r98[data-copy-version="r9.13"] .story-r913-copy-short { gap:11px; justify-content:flex-start; }
  .story-character-r98[data-copy-version="r9.13"] .story-r913-copy-short h3,
  .story-character-r98[data-copy-version="r9.13"] .story-r913-copy-short .story-r9-result-title { max-width:none; }
  .locked-feature-grid-compact { grid-template-columns:1fr; }
}

/* R9.14 progressive disclosure: keep the main answer short and open yearly or lifetime detail only when requested. */
.story-character-r98[data-copy-version="r9.14"] .story-r913-copy-short { gap:12px; }
.band-intro { margin:0 0 16px; padding:0 2px; }
.band-intro > p { margin:0; max-width:66ch; color:#4f4941; line-height:1.7; }
.band-intro .fortune-chip-row { margin-top:12px; }
.roadmap-details { margin-top:22px; border:1px solid var(--line); border-radius:18px; background:#fffdf8; overflow:hidden; }
.roadmap-details > summary { cursor:pointer; list-style:none; padding:17px 19px; color:#233557; font-weight:850; }
.roadmap-details > summary::-webkit-details-marker { display:none; }
.roadmap-details > summary::before { content:"▸"; display:inline-block; margin-right:8px; transition:transform .18s ease; }
.roadmap-details[open] > summary { border-bottom:1px solid var(--line); }
.roadmap-details[open] > summary::before { transform:rotate(90deg); }
.roadmap-details .roadmap-heading { margin:0; padding:18px 18px 12px; }
.roadmap-details .lifetime-roadmap { padding:0 18px 18px; }
.year-details-compact { overflow:hidden; background:#fffdf9; }
.year-details-compact > summary { display:flex; align-items:center; justify-content:space-between; gap:12px; list-style:none; color:#233557; }
.year-details-compact > summary::-webkit-details-marker { display:none; }
.year-details-compact > summary::before { content:"▸"; margin-right:7px; }
.year-details-compact[open] > summary { border-bottom:1px solid var(--line); }
.year-details-compact[open] > summary::before { transform:rotate(90deg); }
.year-details-compact > summary > span { margin-right:auto; }
.year-details-compact > summary > small { color:var(--muted); font-weight:650; }
.year-details-compact .annual-list { gap:8px; padding:12px; }
.year-details-compact .annual-item { padding:0; border-radius:14px; overflow:hidden; }
.year-details-compact .annual-item > summary { cursor:pointer; list-style:none; display:grid; grid-template-columns:70px minmax(0,1fr) auto; align-items:center; gap:12px; padding:14px 15px; }
.year-details-compact .annual-item > summary::-webkit-details-marker { display:none; }
.year-details-compact .annual-item[open] > summary { border-bottom:1px solid var(--line); background:#fbf8f1; }
.annual-year { color:var(--accent); font-weight:900; }
.annual-summary-copy { min-width:0; display:grid; gap:4px; }
.annual-summary-copy strong { color:var(--ink); font-size:.98rem; line-height:1.4; }
.annual-summary-copy small { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; color:var(--muted); }
.annual-phase { padding:5px 8px; border-radius:999px; background:#f2eee5; color:#685f55; font-size:.75rem; font-weight:800; }
.annual-phase.transition { background:#f5e6bd; color:#7b5715; }
.annual-item-body { padding:14px 15px 15px; }
.annual-focus-list { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; }
.annual-focus-list > div { padding:12px; border-radius:12px; background:#f7f4ee; }
.annual-focus-list > div.core { border:1px solid #91b8ae; background:#f4faf7; }
.annual-focus-list span { display:block; margin-bottom:5px; color:var(--accent); font-size:.76rem; font-weight:850; }
.annual-focus-list strong { display:block; color:#39352f; font-size:.9rem; line-height:1.45; }
.annual-why-details { margin-top:10px; padding:0 2px; }
.annual-why-details > summary,
.year-details-compact .annual-evidence > summary { cursor:pointer; color:var(--muted); font-size:.8rem; }
.annual-why-details strong { display:block; margin-top:9px; font-size:.9rem; }
.annual-why-details p { margin:5px 0 0; color:var(--muted); font-size:.86rem; line-height:1.55; }
@media (max-width:720px) {
  .roadmap-details .roadmap-heading { display:block; }
  .roadmap-details .roadmap-heading > p { margin-top:6px; text-align:left; }
  .year-details-compact .annual-item > summary { grid-template-columns:58px minmax(0,1fr); }
  .annual-phase { grid-column:1; grid-row:2; justify-self:start; }
  .annual-summary-copy small { display:none; }
  .annual-focus-list { grid-template-columns:1fr; }
}
@media (prefers-reduced-motion:reduce) {
  .roadmap-details > summary::before { transition:none; }
}



/* R9.15: question-first entry and selected-result emphasis. */
.question-entry-panel { border-color: #d8cde4; background: linear-gradient(135deg, #fffdf9 0%, #faf7fd 100%); }
.question-entry-head { display: flex; align-items: end; justify-content: space-between; gap: 22px; margin-bottom: 18px; }
.question-entry-head > div { display: grid; gap: 8px; }
.question-entry-head h2 { margin: 0; font-size: clamp(1.45rem, 2.8vw, 2rem); letter-spacing: -.045em; }
.question-entry-head > p { margin: 0; color: var(--muted); }
.question-entry-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 11px; }
.question-entry-card {
  min-height: 142px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 18px;
  border: 1px solid #ded6e5;
  border-radius: 17px;
  color: var(--ink);
  background: rgba(255,255,255,.9);
  text-align: left;
  cursor: pointer;
  transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease, background .16s ease;
}
.question-entry-card:hover,
.question-entry-card:focus-visible { transform: translateY(-2px); border-color: #9b77bc; box-shadow: 0 12px 24px rgba(65,35,91,.1); outline: none; }
.question-entry-card[aria-pressed="true"] { border: 2px solid #5b2e91; background: #f4eef9; box-shadow: 0 14px 30px rgba(77,37,119,.14); }
.question-entry-card > span { display: inline-flex; min-height: 26px; align-items: center; padding: 0 9px; border-radius: 999px; color: #5b2e91; background: #efe7f7; font-size: .73rem; font-weight: 900; }
.question-entry-card > strong { font-size: 1rem; line-height: 1.5; word-break: keep-all; }
.question-entry-card > small { margin-top: auto; color: var(--muted); font-size: .76rem; }
.question-entry-selected { margin: 15px 0 0; color: #6d6471; font-size: .86rem; }
.question-entry-selected strong { color: #4e287a; }
.story-selected-question { margin: 8px 0 0; color: #655273; font-size: .86rem; font-weight: 750; }
.question-priority { position: relative; border-color: #7d55a2 !important; box-shadow: 0 14px 32px rgba(82,44,119,.16) !important; }
.question-priority::after {
  content: attr(data-priority-label);
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 4;
  padding: 5px 9px;
  border-radius: 999px;
  color: #fff;
  background: #5b2e91;
  font-size: .7rem;
  font-weight: 900;
}
.immersive-fortune-grid .question-priority { grid-column: 1 / -1; order: -1; padding-top: 46px; }
.story-heading.question-priority { padding: 44px 18px 18px; border: 1px solid #7d55a2; border-radius: 17px; background: #faf7fd; }
.life-band.question-priority > summary,
#role-panel.question-priority { background: linear-gradient(135deg, #faf7fd 0%, #fffdf8 100%); }
#current-focus-guide.is-question-selected { color: #5b2e91; font-weight: 800; }
@media (max-width: 820px) {
  .question-entry-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .question-entry-head { align-items: flex-start; flex-direction: column; gap: 8px; }
  .question-entry-grid { grid-template-columns: 1fr; }
  .question-entry-card { min-height: 118px; }
}


/* R9.16: keep the chosen question connected to the story and fold unrelated previews. */
.story-selected-question {
  display:flex; align-items:center; flex-wrap:wrap; gap:8px 10px;
  max-width:720px; margin-top:10px; padding:10px 12px;
  border:1px solid #ded2e8; border-radius:14px; background:#faf7fd;
}
.story-selected-question[hidden] { display:none !important; }
.story-selected-question > span { color:#6e587e; font-size:.74rem; font-weight:900; }
.story-selected-question > strong { color:#35243f; font-size:.86rem; line-height:1.45; }
.story-selected-question > a { margin-left:auto; color:#5b2e91; font-size:.76rem; font-weight:900; text-decoration:none; }
.story-selected-question > a:hover, .story-selected-question > a:focus-visible { text-decoration:underline; }
.role-panel-details { padding:0 !important; overflow:hidden; }
.role-panel-details.question-priority::after { display:none; }
.role-panel-summary {
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  grid-template-areas:
    "badge priority toggle"
    "copy copy toggle";
  align-items:center;
  column-gap:12px;
  row-gap:10px;
  padding:22px 24px;
  cursor:pointer;
  list-style:none;
}
.role-panel-summary::-webkit-details-marker { display:none; }
.role-panel-summary > .status-badge { grid-area:badge; justify-self:start; }
.role-panel-priority {
  grid-area:priority;
  justify-self:end;
  max-width:100%;
  padding:6px 10px;
  border-radius:999px;
  color:#fff;
  background:#5b2e91;
  font-size:.72rem;
  font-weight:900;
  line-height:1.35;
  text-align:center;
  white-space:normal;
}
.role-panel-priority[hidden] { display:none !important; }
.role-panel-summary-copy {
  grid-area:copy;
  display:flex;
  min-width:0;
  flex-direction:column;
  gap:5px;
}
.role-panel-summary-copy > strong {
  color:#201b23;
  font-size:clamp(1.1rem,2.2vw,1.45rem);
  line-height:1.35;
  letter-spacing:-.035em;
  word-break:keep-all;
}
.role-panel-summary-copy > small { color:#625b66; font-size:.82rem; line-height:1.45; }
.role-panel-toggle {
  grid-area:toggle;
  align-self:center;
  justify-self:end;
  min-width:74px;
  padding:8px 11px;
  border:1px solid #d7c7e4;
  border-radius:999px;
  color:#5b2e91;
  background:#fff;
  font-size:.8rem;
  font-weight:900;
  text-align:center;
}
.role-panel-toggle::before { content:"펼쳐보기"; }
.role-panel-details[open] .role-panel-toggle::before { content:"접기"; }
.role-panel-details > #role-direction { padding:0 24px 24px; }
.role-panel-details.question-priority > .role-panel-summary { background:linear-gradient(135deg,#faf7fd 0%,#fffdf8 100%); }
#current-focus-guide.is-question-selected { color:#4f2879; }
.question-entry-card > small { line-height:1.5; }
@media (max-width:760px) {
  .story-selected-question { align-items:flex-start; }
  .story-selected-question > a { margin-left:0; }
  .role-panel-summary {
    grid-template-columns:minmax(0,1fr) auto;
    grid-template-areas:
      "badge toggle"
      "priority priority"
      "copy copy";
    padding:18px;
  }
  .role-panel-priority { justify-self:start; }
  .role-panel-summary-copy > small { display:none; }
  .role-panel-toggle { min-width:64px; padding:7px 9px; }
  .role-panel-details > #role-direction { padding:0 18px 18px; }
}


/* R9.18 compact story viewport and accessible birth input. */
.birth-form-grid { align-items:start; }
.birth-field,
.choice-fieldset {
  min-width:0;
}
.birth-field > span,
.choice-fieldset > legend {
  color:#201d24;
  font-size:.96rem;
  font-weight:850;
}
.birth-field input {
  min-height:52px;
  font-size:1rem;
}
.birth-field input::placeholder { color:#92899a; opacity:1; }
.date-format-hint {
  display:block;
  margin-top:8px;
  color:#5f5964;
  font-size:.84rem;
  line-height:1.45;
}
.field-error {
  display:block;
  min-height:1.35em;
  margin-top:5px;
  color:var(--danger);
  font-size:.84rem;
  font-weight:750;
}
.birth-field input[aria-invalid="true"] {
  border-color:#b23d3d;
  box-shadow:0 0 0 3px rgba(178,61,61,.11);
}
.choice-grid {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:9px;
}
.choice-card {
  display:flex;
  align-items:center;
  gap:10px;
  min-height:58px;
  margin:0;
  padding:10px 12px;
  border:1px solid #d7cfc3;
  border-radius:14px;
  background:#fff;
  cursor:pointer;
  transition:border-color .16s ease, background .16s ease, box-shadow .16s ease, transform .16s ease;
}
.choice-card:hover { border-color:#a78bc4; background:#fdfaff; }
.choice-card:has(input:checked) {
  border-color:#6b35a6;
  background:#f4edfb;
  box-shadow:0 0 0 3px rgba(107,53,166,.1);
}
.choice-card:focus-within {
  outline:3px solid rgba(107,53,166,.2);
  outline-offset:2px;
}
.choice-card input {
  flex:0 0 auto;
  width:20px;
  height:20px;
  margin:0;
  accent-color:#6b35a6;
}
.choice-card > span {
  display:grid;
  gap:2px;
  min-width:0;
  margin:0;
  line-height:1.3;
}
.choice-card strong { font-size:.94rem; }
.choice-card small { color:#68616d; font-size:.75rem; font-weight:600; }
.time-known-fieldset .field-note,
.sex-fieldset .field-note { margin-top:8px; }
#birth-time-wrap[hidden] { display:none !important; }
#birth-time-wrap[aria-hidden="false"] { animation:r918FieldIn .18s ease both; }
@keyframes r918FieldIn { from { opacity:0; transform:translateY(-4px); } to { opacity:1; transform:none; } }

@media (min-width:761px) {
  .story-character-r98[data-copy-version="r9.18"] .story-r9-stage {
    min-height:clamp(480px,calc(100dvh - 310px),540px);
  }
  .story-character-r98[data-copy-version="r9.18"] .story-r9-scene,
  .story-character-r98[data-copy-version="r9.18"] .story-r9-scene-flow,
  .story-character-r98[data-copy-version="r9.18"] .story-r9-scene-choice {
    grid-template-columns:minmax(0,1.12fr) minmax(330px,.88fr) !important;
    min-height:clamp(480px,calc(100dvh - 310px),540px) !important;
  }
  .story-character-r98[data-copy-version="r9.18"] .story-r9-art,
  .story-character-r98[data-copy-version="r9.18"] .story-r9-scene-flow .story-r9-art,
  .story-character-r98[data-copy-version="r9.18"] .story-r9-scene-choice .story-r9-art,
  .story-character-r98[data-copy-version="r9.18"] .story-r9-copy,
  .story-character-r98[data-copy-version="r9.18"] .story-r9-scene-flow .story-r9-copy,
  .story-character-r98[data-copy-version="r9.18"] .story-r9-scene-choice .story-r9-copy {
    min-height:clamp(480px,calc(100dvh - 310px),540px) !important;
  }
  .story-character-r98[data-copy-version="r9.18"] .story-r9-copy,
  .story-character-r98[data-copy-version="r9.18"] .story-r9-scene-flow .story-r9-copy,
  .story-character-r98[data-copy-version="r9.18"] .story-r9-scene-choice .story-r9-copy {
    padding:clamp(26px,3.6vw,44px) !important;
  }
  .story-character-r98[data-copy-version="r9.18"] .story-r913-copy-short { gap:10px; }
  .story-character-r98[data-copy-version="r9.18"] .story-r913-copy-short .story-scan-label { margin-bottom:5px; }
  .story-character-r98[data-copy-version="r9.18"] .story-r913-copy-short h3,
  .story-character-r98[data-copy-version="r9.18"] .story-r913-copy-short .story-r9-result-title {
    max-width:19ch;
    font-size:clamp(1.65rem,2.7vw,2.25rem);
    line-height:1.27;
  }
  .story-character-r98[data-copy-version="r9.18"] .story-r913-copy-short > p {
    max-width:31ch;
    font-size:.94rem;
    line-height:1.58;
  }
  .story-character-r98[data-copy-version="r9.18"] .story-r9-flow-list > div { padding:12px 14px 12px 82px; }
  .story-character-r98[data-copy-version="r9.18"] .story-choice-card { padding:14px; }
  .story-character-r98[data-copy-version="r9.18"] .story-controls { margin-top:10px; }
}

@media (max-width:820px) {
  .birth-form-grid { gap:17px; }
  .choice-card { min-height:60px; }
  .primary-button { width:100%; min-height:52px; margin-top:18px; }
  .notice-box { margin-top:18px; padding:15px; }

  .story-character-r98[data-copy-version="r9.18"] .story-r9-scene,
  .story-character-r98[data-copy-version="r9.18"] .story-r9-scene-flow,
  .story-character-r98[data-copy-version="r9.18"] .story-r9-scene-choice {
    grid-template-rows:clamp(245px,76vw,310px) auto !important;
  }
  .story-character-r98[data-copy-version="r9.18"] .story-r9-copy,
  .story-character-r98[data-copy-version="r9.18"] .story-r9-scene-flow .story-r9-copy,
  .story-character-r98[data-copy-version="r9.18"] .story-r9-scene-choice .story-r9-copy {
    padding:16px 16px 18px !important;
  }
  .story-character-r98[data-copy-version="r9.18"] .story-r913-copy-short {
    gap:8px;
    justify-content:center;
  }
  .story-character-r98[data-copy-version="r9.18"] .story-r913-copy-short .story-scan-label { margin:0 0 2px; }
  .story-character-r98[data-copy-version="r9.18"] .story-r913-copy-short h3,
  .story-character-r98[data-copy-version="r9.18"] .story-r913-copy-short .story-r9-result-title {
    font-size:clamp(1.25rem,6vw,1.55rem);
    line-height:1.28;
  }
  .story-character-r98[data-copy-version="r9.18"] .story-r913-copy-short > p {
    font-size:.86rem;
    line-height:1.48;
  }
  .story-character-r98[data-copy-version="r9.18"] .story-r9-flow-list { gap:6px; }
  .story-character-r98[data-copy-version="r9.18"] .story-r9-flow-list > div { padding:10px 10px 10px 72px; }
  .story-character-r98[data-copy-version="r9.18"] .story-r9-flow-list span { left:9px; top:9px; }
  .story-character-r98[data-copy-version="r9.18"] .story-choice-grid { gap:7px; }
  .story-character-r98[data-copy-version="r9.18"] .story-choice-card { padding:11px; }
  .story-character-r98[data-copy-version="r9.18"] .story-r9-controls {
    position:relative;
    z-index:8;
    margin-top:9px;
    padding:7px;
    border:1px solid rgba(60,43,84,.12);
    border-radius:999px;
    background:rgba(255,253,248,.96);
    box-shadow:0 12px 26px rgba(41,28,58,.14);
  }
  .story-character-r98[data-copy-version="r9.18"] .story-swipe-hint { margin:5px 0 0; font-size:.68rem; }
}

@media (max-width:420px) {
  .choice-grid { grid-template-columns:1fr 1fr; gap:7px; }
  .choice-card { padding:9px 10px; }
  .choice-card small { font-size:.7rem; }
  .story-character-r98[data-copy-version="r9.18"] .story-r9-scene,
  .story-character-r98[data-copy-version="r9.18"] .story-r9-scene-flow,
  .story-character-r98[data-copy-version="r9.18"] .story-r9-scene-choice {
    grid-template-rows:clamp(235px,74vw,292px) auto !important;
  }
  .story-character-r98[data-copy-version="r9.18"] .story-r9-controls { grid-template-columns:68px 1fr 102px; }
}

@media (prefers-reduced-motion:reduce) {
  #birth-time-wrap[aria-hidden="false"] { animation:none !important; }
}

/* R9.19: make the full-story preview concrete, readable and honest. */
.lifetime-product-panel {
  background:
    radial-gradient(circle at 88% 8%, rgba(255,218,142,.2), transparent 28%),
    linear-gradient(140deg,#24143f 0%,#45206f 58%,#5d2d91 100%);
}
.product-preview-head p {
  color:rgba(255,255,255,.88);
  line-height:1.7;
}
.product-context {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  margin-top:22px;
  padding:13px 15px;
  border:1px solid rgba(255,217,138,.25);
  border-radius:15px;
  background:rgba(255,217,138,.08);
}
.product-context span { color:rgba(255,255,255,.68); font-size:.78rem; }
.product-context strong { color:#ffe4a9; font-size:.92rem; }
.locked-feature-grid-compact article {
  min-height:112px;
  display:flex;
  flex-direction:column;
  justify-content:flex-start;
  background:rgba(255,255,255,.1);
}
.locked-feature-grid-compact article > span {
  width:30px;
  height:30px;
  display:grid;
  place-items:center;
  margin-bottom:12px;
  border-radius:10px;
  color:#2b1744;
  background:#ffd98a;
}
.locked-feature-grid-compact strong {
  color:#fff;
  line-height:1.48;
}
.product-action-row {
  border:1px solid rgba(255,255,255,.1);
  background:rgba(8,4,18,.28);
}
.product-cta {
  min-height:52px;
  color:#24143f;
  background:#ffd98a;
  box-shadow:0 12px 30px rgba(8,4,18,.28);
}
.product-cta:hover,
.product-cta:focus-visible {
  color:#24143f;
  filter:brightness(1.04);
  outline:3px solid rgba(255,217,138,.3);
  outline-offset:3px;
}
.product-safety-note { color:rgba(255,255,255,.7); }
.payment-preview-dialog > p {
  color:#514b55;
  line-height:1.7;
}
.dialog-check-list span {
  position:relative;
  padding:12px 13px 12px 38px;
  color:#302938;
  background:#f7f2fa;
  line-height:1.5;
}
.dialog-check-list span::before {
  content:"✓";
  position:absolute;
  left:14px;
  top:12px;
  color:#5b2e91;
  font-weight:950;
}
.dialog-status-note {
  margin:0 0 16px;
  padding:12px 13px;
  border-radius:13px;
  color:#655c67 !important;
  background:#fff4df;
  font-size:.82rem;
  line-height:1.55 !important;
}
@media (max-width:820px) {
  .product-context { align-items:flex-start; flex-direction:column; gap:4px; }
  .locked-feature-grid-compact { grid-template-columns:1fr; }
  .locked-feature-grid-compact article { min-height:0; }
  .product-action-row { align-items:stretch; }
  .product-cta { width:100%; }
}

/* R9.21: show why the result is personal before asking users to consider the full story. */
.product-proof-grid {
  display:grid;
  grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);
  gap:14px;
  margin-top:22px;
}
.product-answer-proof,
.product-evidence {
  min-width:0;
  border:1px solid rgba(255,255,255,.14);
  border-radius:18px;
  padding:18px;
}
.product-answer-proof {
  color:#2a193e;
  background:linear-gradient(135deg,#fff8e8 0%,#f5ebff 100%);
  box-shadow:0 14px 30px rgba(8,4,18,.14);
}
.product-answer-proof > span,
.product-evidence-head > span {
  display:block;
  margin-bottom:8px;
  font-size:.75rem;
  font-weight:900;
  letter-spacing:-.01em;
}
.product-answer-proof > span { color:#71439a; }
.product-answer-proof > strong {
  display:block;
  color:#20122f;
  font-size:clamp(1.12rem,2.2vw,1.5rem);
  line-height:1.42;
  word-break:keep-all;
}
.product-answer-proof > p {
  margin:10px 0 0;
  color:#574e5d;
  line-height:1.68;
}
.product-evidence {
  background:rgba(8,4,18,.24);
}
.product-evidence-head {
  margin-bottom:10px;
}
.product-evidence-head > span { color:#ffe4a9; }
.product-evidence-head > strong {
  display:block;
  color:#fff;
  line-height:1.45;
}
.product-evidence-row {
  display:grid;
  grid-template-columns:104px minmax(0,1fr);
  gap:12px;
  align-items:start;
  padding:11px 0;
  border-top:1px solid rgba(255,255,255,.11);
}
.product-evidence-row b {
  color:#dbc8eb;
  font-size:.78rem;
}
.product-evidence-row span {
  color:rgba(255,255,255,.9);
  font-size:.88rem;
  line-height:1.55;
}
.product-band-bridge {
  margin-top:14px;
  padding:16px;
  border:1px solid rgba(255,255,255,.13);
  border-radius:18px;
  background:rgba(255,255,255,.07);
}
.product-band-bridge-head {
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:16px;
  margin-bottom:12px;
}
.product-band-bridge-head > span {
  color:#fff;
  font-weight:900;
}
.product-band-bridge-head > small {
  color:rgba(255,255,255,.62);
}
.product-band-bridge-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
}
.product-band-bridge-grid article {
  display:grid;
  align-content:start;
  min-width:0;
  min-height:154px;
  padding:15px;
  border:1px solid rgba(255,255,255,.12);
  border-radius:15px;
  background:rgba(9,5,18,.24);
}
.product-band-bridge-grid article.current {
  border-color:rgba(255,217,138,.55);
  background:rgba(255,217,138,.12);
}
.product-band-bridge-grid article > span {
  color:#d9c3f0;
  font-size:.72rem;
  font-weight:900;
}
.product-band-bridge-grid article.current > span { color:#ffe4a9; }
.product-band-bridge-grid article > strong {
  margin-top:5px;
  color:#fff;
  font-size:1.02rem;
}
.product-band-bridge-grid article > p {
  margin:7px 0 12px;
  color:rgba(255,255,255,.82);
  line-height:1.48;
  word-break:keep-all;
}
.product-band-bridge-grid article > em {
  margin-top:auto;
  color:rgba(255,255,255,.58);
  font-size:.72rem;
  font-style:normal;
}
.product-band-bridge-grid article.current > em { color:#ffe4a9; }
.payment-compare-grid {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
  margin:18px 0;
}
.payment-compare-grid article {
  padding:15px;
  border:1px solid #e7ddea;
  border-radius:16px;
  background:#fff;
}
.payment-compare-grid article.full {
  border-color:#d7b7ee;
  background:#f5ecfb;
}
.payment-compare-grid span {
  display:block;
  color:#7a6f7f;
  font-size:.73rem;
  font-weight:900;
}
.payment-compare-grid strong {
  display:block;
  margin-top:6px;
  color:#24143f;
  line-height:1.42;
}
.payment-compare-grid p {
  margin:6px 0 0;
  color:#625a66;
  font-size:.82rem;
  line-height:1.5;
}
.dialog-plan-title {
  margin:18px 0 8px;
  color:#24143f;
  font-size:1.08rem;
}

@media (max-width:820px) {
  .product-proof-grid,
  .product-band-bridge-grid,
  .payment-compare-grid { grid-template-columns:1fr; }
  .product-evidence-row { grid-template-columns:1fr; gap:4px; }
  .product-band-bridge-head { align-items:flex-start; flex-direction:column; gap:4px; }
  .product-band-bridge-grid article { min-height:0; }
}
.payment-preview-dialog {
  max-height:calc(100dvh - 24px);
  overflow-y:auto;
  overscroll-behavior:contain;
}


/* R9.22: purchase-worthy preview — prove the current answer, then show the exact next pages. */
.lifetime-product-panel {
  color:#241c29;
  background:
    radial-gradient(circle at 94% 4%, rgba(99,48,157,.1), transparent 28%),
    linear-gradient(145deg,#fffdf8 0%,#fbf6ed 58%,#f5eff9 100%);
  border-color:#ded1c5;
  box-shadow:0 24px 64px rgba(54,35,68,.14);
}
.product-conviction-head {
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:26px;
}
.product-conviction-head > div:first-child { max-width:760px; }
.product-conviction-head h2 {
  margin:15px 0 10px;
  max-width:24ch;
  color:#20152d;
  font-size:clamp(1.75rem,3.4vw,2.6rem);
  line-height:1.28;
  letter-spacing:-.055em;
  word-break:keep-all;
}
.product-conviction-head p {
  margin:0;
  max-width:68ch;
  color:#5f5661;
  font-size:.98rem;
  line-height:1.76;
  word-break:keep-all;
}
.product-conviction-head .product-badge {
  color:#5d2d91;
  background:#efe4f8;
  border:1px solid #dfc9ef;
}
.product-conviction-head .product-count {
  flex:0 0 auto;
  color:#fff;
  background:linear-gradient(145deg,#3b1f60,#68409a);
  box-shadow:0 14px 28px rgba(57,30,91,.2);
}
.product-conviction-grid {
  display:grid;
  grid-template-columns:minmax(0,1.04fr) minmax(0,.96fr);
  gap:18px;
  margin-top:24px;
}
.product-free-proof {
  padding:24px;
  border:1px solid #e4d9ca;
  border-radius:22px;
  background:rgba(255,255,255,.9);
  box-shadow:0 16px 36px rgba(64,47,67,.09);
}
.product-free-proof > span {
  display:block;
  color:#6c3b93;
  font-size:.76rem;
  font-weight:950;
}
.product-free-proof > strong {
  display:block;
  margin-top:10px;
  color:#21152e;
  font-size:clamp(1.28rem,2.4vw,1.72rem);
  line-height:1.4;
  letter-spacing:-.035em;
  word-break:keep-all;
}
.product-free-proof > p {
  margin:10px 0 0;
  color:#554d57;
  line-height:1.72;
}
.product-human-proof {
  display:grid;
  gap:9px;
  margin-top:20px;
  padding-top:16px;
  border-top:1px solid #eee5da;
}
.product-human-proof > div {
  display:grid;
  grid-template-columns:9px minmax(0,1fr);
  gap:10px;
  align-items:start;
}
.product-human-proof i {
  width:7px;
  height:7px;
  margin-top:8px;
  border-radius:50%;
  background:#7c4aa3;
  box-shadow:0 0 0 4px #efe4f8;
}
.product-human-proof span {
  color:#403843;
  font-size:.9rem;
  line-height:1.62;
  word-break:keep-all;
}
.product-calc-proof {
  margin-top:18px;
  border:1px solid #e7ded2;
  border-radius:14px;
  background:#fbf8f2;
}
.product-calc-proof summary {
  padding:13px 14px;
  color:#665c67;
  font-size:.8rem;
  font-weight:850;
  cursor:pointer;
}
.product-calc-proof > div {
  padding:0 14px 12px;
}
.product-calc-proof p {
  display:grid;
  grid-template-columns:104px minmax(0,1fr);
  gap:10px;
  margin:0;
  padding:9px 0;
  border-top:1px solid #eee5da;
}
.product-calc-proof b { color:#6c3b93; font-size:.76rem; }
.product-calc-proof span { color:#615a62; font-size:.8rem; line-height:1.5; }
.product-three-moments {
  padding:22px;
  border-radius:22px;
  color:#fff;
  background:
    radial-gradient(circle at 90% 2%,rgba(255,217,138,.18),transparent 27%),
    linear-gradient(150deg,#2d184b 0%,#4a2375 62%,#5f318e 100%);
  box-shadow:0 18px 42px rgba(41,20,65,.22);
}
.product-three-moments-head > span {
  display:block;
  color:#ffe4a9;
  font-size:.74rem;
  font-weight:950;
}
.product-three-moments-head > strong {
  display:block;
  margin-top:7px;
  color:#fff;
  font-size:1.16rem;
  line-height:1.42;
}
.product-three-moments ol {
  display:grid;
  gap:9px;
  margin:18px 0 0;
  padding:0;
  list-style:none;
}
.product-three-moments li {
  display:grid;
  grid-template-columns:38px minmax(0,1fr);
  gap:12px;
  padding:14px;
  border:1px solid rgba(255,255,255,.13);
  border-radius:16px;
  background:rgba(8,4,18,.2);
}
.product-three-moments li.current {
  border-color:rgba(255,217,138,.5);
  background:rgba(255,217,138,.1);
}
.product-three-moments li > b {
  display:grid;
  place-items:center;
  align-self:start;
  width:34px;
  height:34px;
  border-radius:11px;
  color:#281541;
  background:#ffd98a;
  font-size:.72rem;
}
.product-three-moments li span {
  display:block;
  color:#dbc7ed;
  font-size:.72rem;
  font-weight:850;
}
.product-three-moments li strong {
  display:block;
  margin-top:4px;
  color:#fff;
  font-size:.95rem;
  line-height:1.43;
  word-break:keep-all;
}
.product-three-moments li p {
  margin:5px 0 0;
  color:rgba(255,255,255,.75);
  font-size:.8rem;
  line-height:1.5;
  word-break:keep-all;
}
.product-buy-reason {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  margin-top:18px;
  padding:18px 20px;
  border:1px solid #ddc8ed;
  border-radius:18px;
  background:#f2e9f8;
}
.product-buy-reason > div { display:grid; gap:4px; }
.product-buy-reason span { color:#755e7f; font-size:.74rem; font-weight:850; }
.product-buy-reason strong { color:#27163d; font-size:1.08rem; line-height:1.4; }
.product-buy-reason small { color:#6d6470; line-height:1.45; }
.product-buy-reason .product-cta {
  flex:0 0 auto;
  min-width:250px;
  min-height:54px;
  color:#fff;
  background:linear-gradient(135deg,#6c32a2,#3a1d60);
  box-shadow:0 14px 30px rgba(63,30,99,.22);
}
.product-buy-reason .product-cta:hover,
.product-buy-reason .product-cta:focus-visible { color:#fff; filter:brightness(1.05); }
.product-honesty-strip {
  display:flex;
  align-items:center;
  gap:10px;
  margin-top:13px;
  padding:11px 14px;
  border-radius:13px;
  color:#584f59;
  background:#fff8e9;
  font-size:.82rem;
  line-height:1.5;
}
.product-honesty-strip b { color:#3d2a47; }
.lifetime-product-panel .product-safety-note {
  margin-top:10px;
  color:#766d78;
  text-align:center;
}
.report-sample-pages {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
  margin:18px 0;
}
.report-sample-page {
  position:relative;
  min-width:0;
  min-height:270px;
  padding:17px;
  overflow:hidden;
  border:1px solid #e1d7e4;
  border-radius:17px;
  background:#fff;
}
.report-sample-page.open { border-color:#c7a9dc; background:#fbf5ff; }
.report-sample-page > span { color:#6c3b93; font-size:.72rem; font-weight:950; }
.report-sample-page > small { display:block; margin-top:12px; color:#817683; }
.report-sample-page > strong { display:block; margin-top:7px; color:#25173a; line-height:1.42; }
.report-sample-page > p { margin:9px 0 0; color:#5f5761; font-size:.82rem; line-height:1.56; }
.report-sample-page > em { position:absolute; left:17px; bottom:15px; color:#795f82; font-size:.72rem; font-style:normal; font-weight:850; }
.report-locked-lines { display:grid; gap:7px; margin-top:14px; filter:blur(2.5px); opacity:.35; }
.report-locked-lines i { display:block; height:8px; border-radius:99px; background:#7c6d82; }
.report-locked-lines i:nth-child(2) { width:86%; }
.report-locked-lines i:nth-child(3) { width:65%; }
@media (max-width:820px) {
  .product-conviction-head { display:block; }
  .product-conviction-head .product-count { display:inline-flex; margin-top:16px; }
  .product-conviction-grid { grid-template-columns:1fr; }
  .product-buy-reason { align-items:stretch; flex-direction:column; }
  .product-buy-reason .product-cta { width:100%; min-width:0; }
  .product-honesty-strip { align-items:flex-start; flex-direction:column; gap:3px; }
  .report-sample-pages { grid-template-columns:1fr; }
  .report-sample-page { min-height:225px; }
}
@media (max-width:520px) {
  .product-free-proof,
  .product-three-moments { padding:18px; }
  .product-three-moments li { grid-template-columns:32px minmax(0,1fr); padding:12px; }
  .product-three-moments li > b { width:30px; height:30px; }
  .product-calc-proof p { grid-template-columns:1fr; gap:3px; }
}


/* R9.23: make the purchase decision feel earned, specific, and safe. */
.product-human-proof { gap:10px; }
.product-human-proof > div {
  padding:10px 11px;
  border:1px solid #ece2d8;
  border-radius:13px;
  background:#fcfaf6;
}
.product-self-check {
  display:grid;
  gap:8px;
  margin-top:16px;
  padding:16px;
  border:1px solid #d9c3e7;
  border-radius:16px;
  background:linear-gradient(145deg,#fbf6ff,#f7f0fb);
}
.product-self-check > span { color:#6c3b93; font-size:.72rem; font-weight:950; }
.product-self-check > strong { color:#2a1a3d; line-height:1.45; }
.product-self-check > p { margin:0; color:#665d69; font-size:.8rem; line-height:1.55; }
.product-self-check-actions { display:flex; flex-wrap:wrap; gap:7px; margin-top:3px; }
.product-self-check-actions button {
  min-height:38px;
  padding:0 12px;
  border:1px solid #d8c8e2;
  border-radius:999px;
  color:#5a4962;
  background:#fff;
  font:inherit;
  font-size:.76rem;
  font-weight:850;
  cursor:pointer;
}
.product-self-check-actions button:hover,
.product-self-check-actions button:focus-visible,
.product-self-check-actions button.selected {
  color:#fff;
  border-color:#64329a;
  background:#64329a;
  outline:none;
}
.product-self-check > small { min-height:1.4em; color:#5a337c; font-size:.76rem; font-weight:800; line-height:1.5; }
.product-spec-grid {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:9px;
  margin-top:18px;
}
.product-spec-grid article {
  display:grid;
  gap:3px;
  min-width:0;
  padding:14px;
  border:1px solid #e0d4c8;
  border-radius:15px;
  background:rgba(255,255,255,.82);
}
.product-spec-grid b { color:#5f2e91; font-size:1.13rem; line-height:1.1; }
.product-spec-grid span { color:#6e6570; font-size:.74rem; line-height:1.45; word-break:keep-all; }
.product-trust-grid {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:9px;
  margin-top:13px;
}
.product-trust-grid > div {
  display:grid;
  gap:3px;
  padding:13px 14px;
  border-radius:14px;
  background:#fff;
  border:1px solid #e7ddd2;
}
.product-trust-grid b { color:#392843; font-size:.78rem; }
.product-trust-grid span { color:#6c636d; font-size:.78rem; line-height:1.5; }
.product-fit-note {
  margin-top:16px;
  padding:14px;
  border:1px solid #ead9c2;
  border-radius:14px;
  background:#fff8eb;
}
.product-fit-note strong { color:#4b344e; font-size:.82rem; }
.product-fit-note p { margin:5px 0 0; color:#6c616c; font-size:.8rem; line-height:1.55; }
.dialog-product-spec { margin:16px 0; }
@media (max-width:820px) {
  .product-spec-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .product-trust-grid { grid-template-columns:1fr; }
}
@media (max-width:520px) {
  .product-self-check-actions { display:grid; grid-template-columns:1fr; }
  .product-self-check-actions button { width:100%; border-radius:12px; }
  .product-spec-grid { grid-template-columns:1fr 1fr; }
  .product-spec-grid article { padding:12px; }
}

/* R9.23 visual balance: the dark preview card should fit its own content. */
.product-conviction-grid { align-items:start; }


/* R9.24 — narrative route, chapter cliffhangers, and stronger paid curiosity */
.result-route-preview {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 10px;
  margin: 6px 0 24px;
  padding: 15px 17px;
  border: 1px solid rgba(96, 52, 137, .15);
  border-radius: 16px;
  background: linear-gradient(135deg, #faf5ff, #fffaf1);
}
.result-route-preview > div { display: flex; align-items: center; gap: 10px; min-width: 0; }
.result-route-preview b {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  border-radius: 50%;
  background: #2a1748;
  color: #fff;
  font-size: .68rem;
}
.result-route-preview span { display: grid; gap: 2px; min-width: 0; }
.result-route-preview strong { color: #241d27; font-size: .82rem; line-height: 1.35; }
.result-route-preview small { color: #756b78; font-size: .68rem; line-height: 1.35; }
.result-route-preview i { color: #ad94bd; font-style: normal; }
.story-next-cue {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 12px 8px 10px;
  padding: 11px 14px;
  border: 1px solid rgba(92, 48, 131, .16);
  border-radius: 14px;
  background: linear-gradient(90deg, rgba(244, 236, 255, .96), rgba(255, 250, 239, .96));
}
.story-next-cue span {
  flex: 0 0 auto;
  padding: 4px 8px;
  border-radius: 999px;
  background: #6b3599;
  color: #fff;
  font-size: .66rem;
  font-weight: 900;
}
.story-next-cue strong { color: #33223f; font-size: .82rem; line-height: 1.45; }
.story-next-cue.is-final { background: linear-gradient(90deg, #2c174b, #4e2376); border-color: transparent; }
.story-next-cue.is-final strong { color: #fff; }
.story-next-cue.is-final span { background: rgba(255,255,255,.16); }
.story-next-button { min-width: 168px; }
.product-buy-reason > div > strong { max-width: 700px; font-size: clamp(1.12rem, 2vw, 1.5rem); line-height: 1.42; letter-spacing: -.025em; }
.dialog-next-question {
  display: grid;
  gap: 5px;
  margin: 18px 0 14px;
  padding: 14px 16px;
  border: 1px solid rgba(118, 72, 156, .2);
  border-radius: 14px;
  background: #f8f2ff;
}
.dialog-next-question span { color: #70439a; font-size: .7rem; font-weight: 950; }
.dialog-next-question strong { color: #261738; font-size: 1rem; line-height: 1.5; }
.product-three-moments li.locked { position: relative; overflow: hidden; }
.product-three-moments li.locked::after {
  content: "다음 장";
  position: absolute;
  right: 10px;
  top: 10px;
  padding: 4px 8px;
  border-radius: 999px;
  background: #efe4fa;
  color: #6d3996;
  font-size: .62rem;
  font-weight: 950;
}
.product-cta { box-shadow: 0 16px 30px rgba(69, 32, 105, .24); }
@media (max-width: 700px) {
  .result-route-preview { grid-template-columns: 1fr; gap: 8px; padding: 13px; }
  .result-route-preview > i { display: none; }
  .result-route-preview > div { padding: 7px 8px; border-radius: 12px; background: rgba(255,255,255,.65); }
  .story-next-cue { align-items: flex-start; margin: 9px 4px 8px; padding: 10px 11px; gap: 8px; }
  .story-next-cue strong { font-size: .76rem; }
  .story-next-button { min-width: 0; }
}


/* R9.25 — truthful public range, earlier paid curiosity, and overlap-proof preview dialog. */
.lifetime-product-panel { scroll-margin-top: 92px; }
.product-buy-reason-top { margin-top: 20px; }
.product-meta-details {
  margin-top: 16px;
  border: 1px solid #e2d7ca;
  border-radius: 16px;
  background: rgba(255,255,255,.72);
  overflow: hidden;
}
.product-meta-details > summary {
  cursor: pointer;
  padding: 15px 17px;
  color: #392a43;
  font-size: .84rem;
  font-weight: 900;
  list-style: none;
}
.product-meta-details > summary::-webkit-details-marker { display: none; }
.product-meta-details > summary::before { content: "＋"; display: inline-block; margin-right: 8px; color: #6c3697; }
.product-meta-details[open] > summary::before { content: "－"; }
.product-meta-details > :not(summary) { margin-left: 16px; margin-right: 16px; }
.product-meta-details > :last-child { margin-bottom: 16px; }
.product-meta-details .product-safety-note { color: #6c626d; }

.payment-preview-dialog {
  box-sizing: border-box;
  width: min(920px, calc(100vw - 40px));
  max-width: 920px;
  max-height: calc(100dvh - 28px);
  padding: 30px clamp(20px, 4vw, 38px) 26px;
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-gutter: stable;
}
.payment-preview-dialog .dialog-close {
  position: sticky;
  z-index: 10;
  top: 0;
  float: right;
  display: grid;
  place-items: center;
  margin: -8px -8px 2px 18px;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(57,32,74,.12);
}
.payment-preview-dialog h2 {
  clear: both;
  max-width: 22ch;
  font-size: clamp(1.65rem, 3.4vw, 2.35rem);
  line-height: 1.28;
  letter-spacing: -.045em;
  word-break: keep-all;
}
.payment-preview-dialog > #payment-preview-content > p {
  max-width: 720px;
  color: #514b55;
  line-height: 1.72;
}
.report-sample-pages {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 12px;
}
.report-sample-page {
  display: flex;
  flex-direction: column;
  min-height: 286px;
  padding: 18px;
  overflow: visible;
}
.report-sample-page > strong { font-size: 1rem; word-break: keep-all; }
.report-sample-page > p { margin-bottom: 0; word-break: keep-all; }
.report-sample-page > em {
  position: static;
  display: block;
  margin-top: auto;
  padding-top: 16px;
  line-height: 1.4;
}
.report-locked-lines { flex: 0 0 auto; }
.dialog-product-spec { margin: 16px 0; }
.dialog-check-list { margin-bottom: 16px; }
.payment-preview-dialog .secondary-button {
  position: static;
  margin-top: 10px;
  box-shadow: 0 12px 28px rgba(58,29,91,.18);
}

@media (max-width: 899px) {
  .payment-preview-dialog { width: min(680px, calc(100vw - 24px)); padding: 22px 18px 18px; }
  .report-sample-pages { grid-template-columns: 1fr; }
  .report-sample-page { min-height: 0; }
  .report-sample-page > em { margin-top: 14px; padding-top: 0; }
}
@media (max-width: 520px) {
  .payment-preview-dialog { width: calc(100vw - 14px); max-height: calc(100dvh - 14px); border-radius: 22px; }
  .payment-preview-dialog .dialog-close { margin-right: -4px; }
  .payment-preview-dialog h2 { font-size: 1.65rem; }
  .payment-compare-grid, .dialog-product-spec { grid-template-columns: 1fr 1fr; }
  .product-meta-details > :not(summary) { margin-left: 12px; margin-right: 12px; }
}


/* R9.26 — remove repeated copy, sharpen the paid question, and keep the preview compact. */
.product-conviction-grid { align-items: start; }
.product-free-proof,
.product-three-moments { box-sizing: border-box; }
.product-free-proof { display: flex; flex-direction: column; }
.product-free-proof .product-calc-proof { margin-top: 18px; }
.product-three-moments { display: flex; flex-direction: column; }
.product-paid-answers {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,.15);
}
.product-paid-answers > span {
  display: block;
  color: #ffe3a4;
  font-size: .72rem;
  font-weight: 950;
}
.product-paid-answers ul {
  display: grid;
  gap: 8px;
  margin: 11px 0 0;
  padding: 0;
  list-style: none;
}
.product-paid-answers li {
  position: relative;
  padding-left: 21px;
  color: rgba(255,255,255,.9);
  font-size: .82rem;
  line-height: 1.5;
  word-break: keep-all;
}
.product-paid-answers li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #ffd98a;
  font-weight: 950;
}
.product-count span { white-space: nowrap; }

.payment-preview-dialog .report-sample-page { min-height: 252px; }
.dialog-spec-details {
  margin-top: 16px;
  border: 1px solid #e3d7e7;
  border-radius: 15px;
  background: #fcfafc;
  overflow: hidden;
}
.dialog-spec-details > summary {
  cursor: pointer;
  padding: 14px 16px;
  color: #493653;
  font-size: .82rem;
  font-weight: 900;
  list-style: none;
}
.dialog-spec-details > summary::-webkit-details-marker { display: none; }
.dialog-spec-details > summary::before { content: "＋"; margin-right: 8px; color: #6b3599; }
.dialog-spec-details[open] > summary::before { content: "－"; }
.dialog-spec-details > :not(summary) { margin-left: 14px; margin-right: 14px; }
.dialog-spec-details > :last-child { margin-bottom: 14px; }
.payment-preview-dialog .secondary-button { width: 100%; min-height: 52px; }
.dialog-status-note { text-align: left; }

.role-free-preview .story-heading h3 { max-width: 30ch; line-height: 1.42; word-break: keep-all; }
.role-free-preview .story-heading > p { max-width: 66ch; }
.role-theme h3 { word-break: keep-all; }

@media (max-width: 899px) {
  .payment-preview-dialog .report-sample-page { min-height: 0; }
  .product-paid-answers { margin-top: 18px; }
}
@media (max-width: 520px) {
  .product-free-proof > strong { font-size: 1.26rem; }
  .product-buy-reason strong { font-size: 1.03rem; }
  .product-paid-answers li { font-size: .78rem; }
  .dialog-spec-details .product-spec-grid { grid-template-columns: 1fr 1fr; }
}

/* R9.26 correction: nested paid-answer bullets must not inherit the chapter-card grid. */
.product-three-moments .product-paid-answers li {
  display: block;
  grid-template-columns: none;
  gap: 0;
  padding: 0 0 0 21px;
  border: 0;
  border-radius: 0;
  background: transparent;
}


/* R9.30 — answer-first conversion: 30-second diagnosis, clear free/full gap, real paid sentence samples, and compact mobile disclosure. */
.decision-snapshot {
  margin: 18px 0 16px;
  padding: 18px;
  border: 1px solid rgba(101, 56, 142, .2);
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(249,244,255,.98), rgba(255,249,236,.98));
  box-shadow: 0 14px 32px rgba(61, 35, 82, .09);
}
.decision-snapshot-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 13px;
}
.decision-snapshot-head > div { display: grid; gap: 4px; }
.decision-snapshot-head span { color: #6c3795; font-size: .72rem; font-weight: 950; }
.decision-snapshot-head strong { color: #241631; font-size: 1.12rem; line-height: 1.4; }
.decision-snapshot-head p { margin: 0; color: #756b78; font-size: .78rem; }
.decision-snapshot-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.decision-snapshot-grid article {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 11px;
  min-width: 0;
  padding: 14px;
  border: 1px solid rgba(108, 55, 149, .13);
  border-radius: 15px;
  background: rgba(255,255,255,.88);
}
.decision-snapshot-grid article > b {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  color: #fff;
  background: #3a2058;
  font-size: .68rem;
}
.decision-snapshot-grid article div { min-width: 0; }
.decision-snapshot-grid span { display: block; color: #7849a0; font-size: .68rem; font-weight: 950; }
.decision-snapshot-grid strong { display: block; margin-top: 4px; color: #251a2d; font-size: .92rem; line-height: 1.42; word-break: keep-all; }
.decision-snapshot-grid p { margin: 5px 0 0; color: #625a65; font-size: .76rem; line-height: 1.5; word-break: keep-all; }

.product-answer-compare {
  display: grid;
  grid-template-columns: minmax(0, .9fr) auto minmax(0, 1.1fr);
  align-items: stretch;
  gap: 12px;
  margin-top: 22px;
}
.product-answer-compare > i { align-self: center; color: #9b7eaf; font-style: normal; font-weight: 900; }
.product-answer-compare article {
  padding: 18px;
  border: 1px solid #dfd4e2;
  border-radius: 18px;
  background: rgba(255,255,255,.85);
}
.product-answer-compare article.full {
  border-color: #caaee0;
  background: linear-gradient(145deg, #f4eafb, #fff8e8);
}
.product-answer-compare article > span { display: block; color: #765981; font-size: .72rem; font-weight: 950; }
.product-answer-compare article > strong { display: block; margin-top: 8px; color: #24152f; font-size: 1.03rem; line-height: 1.45; word-break: keep-all; }
.product-answer-compare p { margin: 10px 0 0; color: #5c535e; font-size: .82rem; line-height: 1.55; }
.product-answer-compare p b { display: block; margin-bottom: 4px; color: #693991; font-size: .72rem; }
.product-answer-compare ul { display: grid; gap: 6px; margin: 10px 0 0; padding: 0; list-style: none; }
.product-answer-compare li { position: relative; padding-left: 18px; color: #514654; font-size: .8rem; line-height: 1.5; }
.product-answer-compare li::before { content: "✓"; position: absolute; left: 0; color: #70409a; font-weight: 950; }

.product-proof-details,
.product-timeline-details {
  min-width: 0;
  border-radius: 22px;
}
.product-proof-details > summary,
.product-timeline-details > summary {
  cursor: pointer;
  display: none;
  padding: 15px 16px;
  list-style: none;
  border: 1px solid #ded2e1;
  border-radius: 16px;
  background: rgba(255,255,255,.88);
}
.product-proof-details > summary::-webkit-details-marker,
.product-timeline-details > summary::-webkit-details-marker { display: none; }
.product-proof-details > summary span,
.product-timeline-details > summary span { display: block; color: #754395; font-size: .68rem; font-weight: 950; }
.product-proof-details > summary strong,
.product-timeline-details > summary strong { display: block; margin-top: 4px; color: #2b1d34; font-size: .92rem; }
.product-proof-details > summary::after,
.product-timeline-details > summary::after { content: "＋"; float: right; margin-top: -28px; color: #6b3599; font-weight: 950; }
.product-proof-details[open] > summary::after,
.product-timeline-details[open] > summary::after { content: "－"; }
.product-proof-details .product-free-proof,
.product-timeline-details .product-three-moments { height: 100%; box-sizing: border-box; }

.report-paid-sample {
  margin: 13px 0 0;
  padding: 12px 13px;
  border: 1px solid #e4d4eb;
  border-radius: 13px;
  background: #fbf6ff;
}
.report-paid-sample b { display: block; color: #6d3c95; font-size: .66rem; }
.report-paid-sample span { display: block; margin-top: 6px; color: #44374a; font-size: .78rem; line-height: 1.5; word-break: keep-all; }
.payment-preview-dialog .report-sample-page { min-height: 314px; }
.payment-preview-dialog .report-sample-page > em { font-size: .68rem; }

@media (max-width: 820px) {
  .decision-snapshot { padding: 15px; }
  .decision-snapshot-head { display: grid; gap: 5px; }
  .decision-snapshot-grid { grid-template-columns: 1fr; gap: 8px; }
  .decision-snapshot-grid article { padding: 12px; }
  .product-answer-compare { grid-template-columns: 1fr; gap: 8px; }
  .product-answer-compare > i { display: none; }
  .product-conviction-grid { display: grid; gap: 10px; }
  .product-proof-details > summary,
  .product-timeline-details > summary { display: block; }
  .product-proof-details:not([open]) .product-free-proof,
  .product-timeline-details:not([open]) .product-three-moments { display: none; }
  .product-proof-details[open] .product-free-proof,
  .product-timeline-details[open] .product-three-moments { margin-top: 8px; }
  .payment-preview-dialog .report-sample-page { min-height: 0; }
}

@media (max-width: 520px) {
  .decision-snapshot { margin: 13px 0 12px; border-radius: 17px; }
  .decision-snapshot-head strong { font-size: 1rem; }
  .decision-snapshot-head p { font-size: .72rem; }
  .decision-snapshot-grid strong { font-size: .86rem; }
  .decision-snapshot-grid p { font-size: .72rem; }
  .product-answer-compare article { padding: 15px; }
  .product-answer-compare article > strong { font-size: .94rem; }
  .product-buy-reason-top { margin-top: 12px; }
  .product-buy-reason { padding: 15px; }
  .product-conviction-grid { margin-top: 14px; }
  .report-paid-sample { padding: 11px; }
}


/* R9.31 — one-decision path: quick jump, always-visible fit check, and honest next action. */
.decision-snapshot-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 13px;
  padding-top: 13px;
  border-top: 1px solid rgba(108, 55, 149, .13);
}
.decision-snapshot-actions span { color: #716675; font-size: .75rem; }
.decision-snapshot-actions button {
  min-height: 40px;
  padding: 9px 13px;
  border: 1px solid #d8c5e5;
  border-radius: 12px;
  color: #61368a;
  background: rgba(255,255,255,.9);
  font-size: .76rem;
  font-weight: 900;
  cursor: pointer;
}
.decision-snapshot-actions button:hover,
.decision-snapshot-actions button:focus-visible { border-color: #8b5daf; background: #fff; }

.product-fit-gate {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px 18px;
  margin-top: 14px;
  padding: 17px 18px;
  border: 1px solid #dacbe1;
  border-radius: 18px;
  background: rgba(255,255,255,.78);
}
.product-fit-gate-copy { min-width: 0; }
.product-fit-gate-copy > span { display: block; color: #754395; font-size: .68rem; font-weight: 950; }
.product-fit-gate-copy > strong { display: block; margin-top: 5px; color: #26182f; font-size: .98rem; line-height: 1.42; }
.product-fit-gate-copy > p { margin: 6px 0 0; color: #6c626e; font-size: .75rem; line-height: 1.5; }
.product-fit-gate-actions { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; justify-content: flex-end; }
.product-fit-gate-actions button {
  min-height: 39px;
  padding: 9px 12px;
  border: 1px solid #d9cbe0;
  border-radius: 12px;
  color: #5f5064;
  background: #fff;
  font-size: .73rem;
  font-weight: 850;
  cursor: pointer;
}
.product-fit-gate-actions button:hover,
.product-fit-gate-actions button:focus-visible,
.product-fit-gate-actions button.selected { border-color: #754395; color: #5e2d86; background: #f7effc; }
.product-fit-gate-response {
  display: none;
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 7px 16px;
  padding: 13px 14px;
  border-radius: 14px;
  background: #f7f2fa;
}
.product-fit-gate-response:not(:empty) { display: grid; }
.product-fit-gate-response strong { color: #312038; font-size: .84rem; line-height: 1.4; }
.product-fit-gate-response span { grid-column: 1; color: #685d6b; font-size: .73rem; line-height: 1.5; }
.product-fit-gate-response button {
  grid-column: 2;
  grid-row: 1 / span 2;
  min-height: 42px;
  padding: 10px 14px;
  border: 0;
  border-radius: 12px;
  color: #fff;
  background: #663493;
  font-size: .76rem;
  font-weight: 900;
  cursor: pointer;
}
.product-fit-gate-response.is-no { background: #f5f3ef; }
.product-fit-gate-response.is-no strong { color: #514a45; }

@media (max-width: 820px) {
  .decision-snapshot-actions { align-items: stretch; flex-direction: column; gap: 8px; }
  .decision-snapshot-actions button { width: 100%; }
  .product-fit-gate { grid-template-columns: 1fr; padding: 15px; }
  .product-fit-gate-actions { display: grid; grid-template-columns: 1fr; justify-content: stretch; }
  .product-fit-gate-actions button { width: 100%; text-align: left; }
  .product-fit-gate-response { grid-template-columns: 1fr; }
  .product-fit-gate-response span,
  .product-fit-gate-response button { grid-column: 1; grid-row: auto; }
  .product-fit-gate-response button { width: 100%; margin-top: 4px; }
}


/* R9.36 — keep conversion first on every screen; free detail remains available on demand. */
.mobile-detail-gate {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px 22px;
  padding: 18px 20px;
  border-color: #decfea;
  background: linear-gradient(145deg, #fffafd, #f8f1fb);
}
.mobile-detail-gate > div { display: grid; gap: 5px; min-width: 0; }
.mobile-detail-gate > div > span { color: #754395; font-size: .68rem; font-weight: 950; }
.mobile-detail-gate > div > strong { color: #281a31; font-size: .98rem; line-height: 1.45; word-break: keep-all; }
.mobile-detail-gate > div > p { margin: 0; color: #6a606c; font-size: .75rem; line-height: 1.55; word-break: keep-all; }
.mobile-detail-gate button {
  min-width: 220px;
  min-height: 48px;
  padding: 11px 16px;
  border: 1px solid #7a479c;
  border-radius: 14px;
  background: #6b3599;
  color: #fff;
  font: inherit;
  font-size: .82rem;
  font-weight: 950;
  cursor: pointer;
}
.mobile-detail-gate button:hover,
.mobile-detail-gate button:focus-visible { background: #5c2b86; }
.mobile-detail-gate.is-expanded button {
  border-color: #d7c8df;
  background: #fff;
  color: #63348a;
}
#result.mobile-detail-collapsed .free-detail-section { display: none; }

@media (max-width: 820px) {
  .mobile-detail-gate { grid-template-columns: 1fr; padding: 17px; }
  .mobile-detail-gate button { width: 100%; min-width: 0; }
}

/* R9.33 — human-edited curiosity bridge and less mechanical conversion copy. */
.product-curiosity-bridge {
  display: grid;
  gap: 16px;
  margin-top: 20px;
  padding: 20px;
  border: 1px solid #d7c1e7;
  border-radius: 22px;
  background: linear-gradient(145deg, #fffafd 0%, #f5ecfb 58%, #fff7e8 100%);
  box-shadow: 0 18px 40px rgba(71, 36, 101, .09);
}
.product-curiosity-head { display: grid; gap: 6px; max-width: 760px; }
.product-curiosity-head > span { color: #754095; font-size: .7rem; font-weight: 950; }
.product-curiosity-head > strong { color: #25152f; font-size: clamp(1.16rem, 2.1vw, 1.5rem); line-height: 1.4; letter-spacing: -.025em; word-break: keep-all; }
.product-curiosity-head > p { margin: 0; color: #655b67; font-size: .82rem; line-height: 1.6; word-break: keep-all; }
.product-curiosity-cards {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: stretch;
  gap: 11px;
}
.product-curiosity-cards > i { align-self: center; color: #9a78ae; font-style: normal; font-weight: 950; }
.product-curiosity-cards article {
  min-width: 0;
  padding: 16px;
  border: 1px solid rgba(110, 59, 148, .17);
  border-radius: 17px;
  background: rgba(255,255,255,.86);
}
.product-curiosity-cards article > div { display: flex; align-items: center; justify-content: space-between; gap: 9px; }
.product-curiosity-cards article b { color: #5c2e84; font-size: .82rem; }
.product-curiosity-cards article span { color: #897b8d; font-size: .66rem; font-weight: 900; }
.product-curiosity-cards article > strong { display: block; margin-top: 10px; color: #2a1c32; font-size: .96rem; line-height: 1.45; word-break: keep-all; }
.product-curiosity-cards article > p { margin: 7px 0 0; color: #645a67; font-size: .78rem; line-height: 1.55; word-break: keep-all; }
.product-curiosity-action { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-top: 2px; }
.product-curiosity-action small { max-width: 620px; color: #665b69; font-size: .78rem; line-height: 1.55; word-break: keep-all; }
.product-curiosity-action .product-cta {
  flex: 0 0 auto;
  min-width: 270px;
  min-height: 54px;
  color: #fff;
  background: linear-gradient(135deg, #6c32a2, #3a1d60);
  box-shadow: 0 14px 30px rgba(63,30,99,.22);
}
.report-hidden-question {
  display: grid;
  gap: 5px;
  margin-top: 13px;
  padding: 12px 13px;
  border-radius: 13px;
  background: #f6effa;
}
.report-hidden-question span { color: #754395; font-size: .66rem; font-weight: 950; }
.report-hidden-question strong { color: #44364a; font-size: .78rem; line-height: 1.5; word-break: keep-all; }
.payment-preview-dialog .report-sample-page.locked { border-color: #d9c8e3; background: #fffdfd; }
.payment-preview-dialog .report-paid-sample { margin-top: 13px; }
.payment-preview-dialog .report-sample-page > em { color: #725b7d; }

@media (max-width: 820px) {
  .product-curiosity-bridge { padding: 17px; border-radius: 19px; }
  .product-curiosity-cards { grid-template-columns: 1fr; gap: 8px; }
  .product-curiosity-cards > i { display: none; }
  .product-curiosity-action { align-items: stretch; flex-direction: column; gap: 11px; }
  .product-curiosity-action .product-cta { width: 100%; min-width: 0; }
}

@media (max-width: 520px) {
  .product-curiosity-head > strong { font-size: 1.08rem; }
  .product-curiosity-cards article { padding: 14px; }
  .product-curiosity-action small { font-size: .74rem; }
}

/* R9.35 — one clear conversion question, two real adjacent chapters, no survey/report stack. */
.product-focus-card {
  display: grid;
  gap: 20px;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid #d9c7e6;
  border-radius: 28px;
  background:
    radial-gradient(circle at 100% 0%, rgba(125, 74, 164, .13), transparent 34%),
    linear-gradient(145deg, #fffdfb 0%, #fbf6ff 58%, #fff9ef 100%);
  box-shadow: 0 24px 56px rgba(62, 31, 91, .11);
}
.product-focus-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 24px;
}
.product-focus-head > div:first-child { display: grid; gap: 8px; min-width: 0; }
.product-focus-head small { color: #76538a; font-size: .72rem; font-weight: 900; }
.product-focus-head h2 {
  margin: 0;
  max-width: 760px;
  color: #24152e;
  font-size: clamp(1.45rem, 3vw, 2.15rem);
  line-height: 1.25;
  letter-spacing: -.035em;
  word-break: keep-all;
}
.product-focus-head p {
  margin: 0;
  max-width: 760px;
  color: #665c69;
  font-size: .9rem;
  line-height: 1.7;
  word-break: keep-all;
}
.product-focus-range {
  display: grid;
  place-items: center;
  min-width: 116px;
  min-height: 104px;
  padding: 14px;
  border-radius: 22px;
  color: #fff;
  background: linear-gradient(145deg, #6f36a1, #30174f);
  box-shadow: 0 14px 28px rgba(58, 28, 88, .2);
}
.product-focus-range strong { font-size: 2rem; line-height: 1; }
.product-focus-range span { margin-top: 5px; font-size: .67rem; opacity: .84; }
.product-focus-chapters {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: stretch;
  gap: 12px;
}
.product-focus-chapters > i {
  align-self: center;
  color: #9c7cad;
  font-style: normal;
  font-weight: 950;
}
.product-focus-chapters article {
  min-width: 0;
  padding: 18px;
  border: 1px solid rgba(103, 57, 137, .18);
  border-radius: 18px;
  background: rgba(255,255,255,.86);
}
.product-focus-chapters article > div { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.product-focus-chapters b { color: #5e2d84; font-size: .86rem; }
.product-focus-chapters span { color: #8b7e90; font-size: .68rem; font-weight: 900; }
.product-focus-chapters article > strong {
  display: block;
  margin-top: 11px;
  color: #2b1e33;
  font-size: 1rem;
  line-height: 1.45;
  word-break: keep-all;
}
.product-focus-chapters article > p {
  margin: 8px 0 0;
  color: #675e6a;
  font-size: .8rem;
  line-height: 1.6;
  word-break: keep-all;
}
.product-focus-chapters article > em {
  display: block;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed #ddd0e4;
  color: #765f81;
  font-size: .7rem;
  font-style: normal;
  font-weight: 800;
}
.product-focus-action {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 7px 18px;
  padding: 18px;
  border-radius: 19px;
  background: #2f1749;
  color: #fff;
}
.product-focus-action > div { display: grid; gap: 4px; min-width: 0; }
.product-focus-action > div strong { font-size: .96rem; line-height: 1.45; word-break: keep-all; }
.product-focus-action > div span { color: rgba(255,255,255,.72); font-size: .76rem; }
.product-focus-action .product-cta {
  min-width: 270px;
  min-height: 54px;
  border: 0;
  color: #2d183e;
  background: #ffe09a;
  box-shadow: 0 12px 24px rgba(0,0,0,.16);
}
.product-focus-action > small {
  grid-column: 2;
  justify-self: center;
  color: rgba(255,255,255,.66);
  font-size: .66rem;
}
.product-focus-trust {
  border-top: 1px solid #e4d9e8;
  padding-top: 12px;
}
.product-focus-trust summary { cursor: pointer; color: #5c4269; font-size: .78rem; font-weight: 900; }
.product-focus-trust ul { display: grid; gap: 7px; margin: 14px 0 0; padding-left: 20px; color: #5f5662; font-size: .78rem; line-height: 1.55; }
.product-focus-trust p { margin: 12px 0 0; color: #817585; font-size: .7rem; line-height: 1.55; }

@media (max-width: 820px) {
  .product-focus-card { gap: 16px; padding: 18px; border-radius: 21px; }
  .product-focus-head { grid-template-columns: 1fr; gap: 13px; }
  .product-focus-range { grid-template-columns: auto auto; justify-content: start; place-items: center start; gap: 8px; min-width: 0; min-height: 0; width: fit-content; padding: 10px 13px; border-radius: 14px; }
  .product-focus-range strong { font-size: 1.2rem; }
  .product-focus-range span { margin: 0; }
  .product-focus-action { grid-row: 2; grid-template-columns: 1fr; align-items: stretch; }
  .product-focus-chapters { grid-row: 3; grid-template-columns: 1fr; gap: 9px; }
  .product-focus-chapters > i { display: none; }
  .product-focus-action .product-cta { width: 100%; min-width: 0; }
  .product-focus-action > small { grid-column: 1; justify-self: center; }
}

@media (max-width: 520px) {
  .product-focus-head h2 { font-size: 1.3rem; }
  .product-focus-head p { font-size: .82rem; }
  .product-focus-chapters article { padding: 15px; }
  .product-focus-action { padding: 16px; }
}

.product-focus-card .product-badge {
  width: fit-content;
  color: #66358c;
  background: #efe4f8;
  border-color: #ddc9ec;
}
.product-focus-action .product-cta { word-break: keep-all; }


/* R9.36 — concrete computed clues and a single purchase promise. */
.product-focus-chapters article > em {
  color: #60367d;
  background: #f7f0fb;
  border-top: 0;
  border-radius: 11px;
  padding: 10px 11px;
  font-weight: 900;
  line-height: 1.5;
  word-break: keep-all;
}
.report-paid-sample strong {
  display: block;
  margin-top: 7px;
  color: #2f1d39;
  font-size: .84rem;
  line-height: 1.45;
  word-break: keep-all;
}
.report-paid-sample strong + span { margin-top: 7px; }
.dialog-decision-promise {
  display: grid;
  gap: 6px;
  margin-top: 14px;
  padding: 15px 17px;
  border: 1px solid #d7c5e3;
  border-radius: 16px;
  background: linear-gradient(145deg, #f8f1fc, #fff9ef);
}
.dialog-decision-promise span { color: #754395; font-size: .7rem; font-weight: 950; }
.dialog-decision-promise strong { color: #2b1b34; font-size: .92rem; line-height: 1.5; word-break: keep-all; }
@media (max-width: 520px) {
  .product-focus-chapters article > em { font-size: .68rem; }
  .dialog-decision-promise { padding: 13px 14px; }
  .dialog-decision-promise strong { font-size: .84rem; }
}

/* R9.37 conversion clarity — show the offer before a long preview and keep the prelaunch state factual. */
.product-offer-meta {
  display: flex;
  align-items: baseline;
  gap: 8px 12px;
  flex-wrap: wrap;
  margin: 7px 0 0;
}
.product-offer-meta b {
  color: #ffe09a;
  font-size: .82rem;
  font-weight: 950;
}
.product-offer-meta small {
  color: rgba(255,255,255,.68);
  font-size: .68rem;
  line-height: 1.45;
}
.dialog-offer-intro {
  display: grid;
  gap: 8px;
  margin: 18px 0 20px;
}
.dialog-offer-intro .paid-launch-action {
  margin: 0;
  border-color: #e2c8b8;
  background: linear-gradient(145deg, #fff7ef, #fffdf9);
  box-shadow: 0 14px 32px rgba(82,45,31,.09);
}
.dialog-offer-intro > p {
  margin: 0;
  color: #6d626d;
  font-size: .76rem;
  line-height: 1.55;
  text-align: center;
}
@media (max-width: 520px) {
  .product-offer-meta { display: grid; gap: 4px; }
  .dialog-offer-intro { margin-top: 14px; }
  .dialog-offer-intro .paid-launch-action { padding: 15px; border-radius: 16px; }
  .dialog-offer-intro .paid-launch-action button { width: 100%; font-size: .88rem; }
}

/* V28 Step 3 — actual REPLAY projection. Static V5 visual language; no new keyframes. */
.replay-actual-panel {
  --replay-ink: #11162d;
  --replay-paper: #f5eddf;
  --replay-dim: #746f75;
  --replay-gold: #b99348;
  --replay-teal: #3f8f87;
  color: var(--replay-ink);
  background: linear-gradient(160deg, #fffdfa, #f8f2e9 72%);
  border-color: #ddcfbc;
}
.replay-head { display: grid; gap: 7px; margin-bottom: 18px; }
.replay-head > span { color: #7f6530; font-size: .72rem; font-weight: 950; letter-spacing: .08em; }
.replay-head h2 { margin: 0; font-family: "Noto Serif KR", serif; font-size: clamp(1.3rem, 4vw, 1.85rem); line-height: 1.42; }
.replay-head p { margin: 0; color: var(--replay-dim); font-size: .85rem; line-height: 1.65; }
.replay-seal-row { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 14px 15px; border: 1px solid #dccbb2; border-radius: 15px; background: #171c35; color: var(--replay-paper); }
.replay-seal-row div { display: grid; gap: 4px; }
.replay-seal-row small, .replay-seal-row > span { color: #bbb1a6; font-size: .68rem; }
.replay-seal-row code { color: #e7c67f; font-size: 1rem; font-weight: 950; letter-spacing: .08em; }
.replay-current-root { display: grid; gap: 8px; margin-top: 13px; padding: 18px; border: 1px solid #d6c6ae; border-radius: 17px; background: #fffaf1; }
.replay-current-root > small { color: #5f837f; font-weight: 900; }
.replay-root-title { display: block; color: #211a24; font-family: "Noto Serif KR", serif; font-size: 1.22rem; line-height: 1.45; }
.replay-current-root > span, .replay-year-chapter > span, .replay-node-current > span { color: var(--replay-dim); font-size: .76rem; }
.replay-current-root > em, .replay-year-chapter > em, .replay-node-current > em { color: #765f2f; font-style: normal; font-size: .76rem; font-weight: 850; }
.replay-band-transitions, .replay-transition-layer { display: grid; gap: 8px; margin-top: 7px; padding-top: 11px; border-top: 1px solid #e8ddd0; }
.replay-band-transitions > span, .replay-transition-layer > strong { color: #4e7772; font-size: .72rem; font-weight: 950; }
.replay-transition { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; padding: 10px 11px; border-radius: 11px; background: #f2f8f6; border: 1px solid #cce0dc; }
.replay-transition small { grid-column: 1 / -1; color: #64847f; font-size: .62rem; }
.replay-transition strong { color: #203b38; font-size: .82rem; }
.replay-transition span { color: #3c5d59; font-size: .72rem; }
.replay-transition em { grid-row: 2 / span 2; grid-column: 2; align-self: center; color: #66726f; font-size: .68rem; font-style: normal; }
.replay-memory-pin { display: grid; grid-template-columns: auto minmax(100px, 1fr) auto; gap: 11px; align-items: center; margin-top: 14px; padding: 16px; border: 1px solid #ddcfbc; border-radius: 17px; background: #fff; }
.replay-memory-pin > div { display: grid; }
.replay-memory-pin span { color: var(--replay-dim); font-size: .68rem; }
.replay-memory-pin strong { color: #8b682c; font-family: "Noto Serif KR", serif; font-size: 1.35rem; }
.replay-memory-pin input { width: 100%; accent-color: var(--replay-gold); }
.replay-memory-pin button, .replay-paywall > button { min-height: 44px; border: 0; border-radius: 11px; padding: 0 14px; background: #171c35; color: #fff9ed; font-size: .78rem; font-weight: 950; }
.replay-year-reveal { display: grid; gap: 12px; margin-top: 14px; padding: 17px; border: 1px solid #d6c19b; border-radius: 17px; background: linear-gradient(160deg, #fffaf1, #fff); }
.replay-match { display: flex; gap: 8px 12px; align-items: baseline; flex-wrap: wrap; }
.replay-match span { color: var(--replay-dim); font-size: .68rem; }
.replay-match strong { color: #2d756e; font-size: .85rem; }
.replay-match code { color: #9b7331; font-size: .73rem; }
.replay-boundary-note { margin: 0; padding: 12px 13px; border-left: 3px solid var(--replay-gold); background: #fbf4e8; color: #665b50; font-size: .78rem; line-height: 1.6; }
.replay-boundary-note strong { display: block; color: #32271d; }
.replay-year-chapters { display: grid; gap: 9px; }
.replay-year-chapter { display: grid; gap: 5px; padding: 13px; border: 1px solid #e1d6c7; border-radius: 13px; background: #fff; }
.replay-year-chapter > small { color: #847b70; font-size: .64rem; }
.replay-year-chapter > p { margin: 2px 0 0; color: #5e5660; font-size: .75rem; line-height: 1.55; }
.replay-sewoon-layer { display: grid; gap: 7px; padding-top: 11px; border-top: 1px solid #eadfd2; }
.replay-sewoon-layer > strong { font-size: .76rem; }
.replay-sewoon-layer ul { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.replay-sewoon-layer li { display: grid; gap: 2px; padding: 8px 10px; border-radius: 10px; background: #f7f4f1; }
.replay-sewoon-layer li b { font-size: .72rem; }
.replay-sewoon-layer li span { color: #776f72; font-size: .66rem; }
.replay-no-transition { margin: 0; color: #777076; font-size: .72rem; }
.replay-memory-tag { display: grid; gap: 8px; padding-top: 10px; border-top: 1px solid #eadfd2; }
.replay-memory-tag > span { color: #5f585c; font-size: .74rem; font-weight: 850; }
.replay-memory-tag small { color: #8a8387; font-weight: 500; }
.replay-memory-tag > div { display: flex; gap: 6px; flex-wrap: wrap; }
.replay-memory-tag button { border: 1px solid #d7cbc0; border-radius: 999px; padding: 7px 11px; background: #fff; color: #6d6569; font-size: .7rem; }
.replay-memory-tag button.selected { border-color: #5f9f98; background: #edf8f6; color: #2d756e; font-weight: 900; }
.replay-next-lock { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-top: 14px; }
.replay-node-current, .replay-node-next { display: grid; gap: 5px; min-height: 112px; padding: 14px; border-radius: 14px; }
.replay-node-current { border: 1px solid #bfd9d5; background: #f1f9f7; }
.replay-node-next { position: relative; border: 1px dashed #c3a25f; background: #171c35; color: #f4ead9; overflow: hidden; }
.replay-node-current small, .replay-node-next small { font-size: .65rem; font-weight: 900; }
.replay-node-current small { color: #4f8a83; }
.replay-node-next small { color: #dfbf7c; }
.replay-node-next strong { margin-top: 5px; font-family: "Noto Serif KR", serif; font-size: 1.05rem; }
.replay-node-next span { color: #bcb3a8; font-size: .69rem; }
.replay-paywall { display: grid; gap: 9px; margin-top: 9px; padding: 17px; border: 1px solid #d5bb87; border-radius: 17px; background: linear-gradient(150deg, #fff8e9, #fff); }
.replay-paywall > span { color: #89662c; font-size: .7rem; font-weight: 900; }
.replay-paywall h3 { margin: 0; font-family: "Noto Serif KR", serif; font-size: 1rem; line-height: 1.55; }
.replay-paywall > small { color: #777076; font-size: .66rem; line-height: 1.5; }
.replay-held { padding: 13px; border: 1px solid #d8c9c2; border-radius: 12px; background: #faf5f2; }
.replay-held strong { color: #6f4438; }
.replay-held p { margin: 4px 0 0; color: #7a6c68; font-size: .72rem; }
@media (max-width: 620px) {
  .replay-seal-row { align-items: flex-start; flex-direction: column; }
  .replay-memory-pin { grid-template-columns: 1fr; }
  .replay-memory-pin button { width: 100%; }
  .replay-next-lock { grid-template-columns: 1fr; }
  .replay-transition { grid-template-columns: 1fr; }
  .replay-transition em { grid-row: auto; grid-column: auto; }
}

/* V34 motion-comic opening. Calculation/form/result DOM contracts are untouched. */
body[data-sjm-page="lifetime"]{--bg:#f4f2ed;--paper:#fff;--ink:#151516;--muted:#6b6964;--line:#d8d5ce;--accent:#536bff;--accent-soft:#e9edff;background:#f4f2ed!important;color:#151516!important}
body[data-sjm-page="lifetime"] .page-shell{width:min(1080px,calc(100% - 28px));margin-bottom:90px}
.v34-life-opening{padding:70px 0 48px}.v34-life-ep{display:flex;align-items:center;gap:10px;margin-bottom:20px;color:#6b6964;font-size:.74rem;font-weight:900}.v34-life-ep b{padding:7px 10px;border-radius:999px;background:#151516;color:#fff}.v34-life-opening-grid{display:grid;grid-template-columns:1fr .95fr;gap:46px;align-items:center}.v34-life-whisper{display:inline-block;margin:0 0 18px;padding:10px 13px;border:2px solid #151516;border-radius:15px 15px 15px 4px;background:#fff;box-shadow:5px 5px 0 #151516;font-weight:900;font-size:.85rem}.v34-life-copy h1{margin:0;font-size:clamp(3.6rem,6.5vw,6.3rem);line-height:.93;letter-spacing:-.075em}.v34-life-copy h1 strong{color:#536bff}.v34-life-copy>p:not(.v34-life-whisper){max-width:600px;margin:24px 0 0;color:#64625d;line-height:1.72;font-size:.95rem}.v34-life-start{display:inline-flex;margin-top:25px;min-height:48px;align-items:center;padding:0 18px;border-radius:13px;background:#151516;color:#fff;text-decoration:none;font-size:.82rem;font-weight:900}.v34-life-comic{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;align-items:end}.v34-life-comic article{position:relative;min-height:380px;padding:13px;border:2px solid #151516;border-radius:18px;background:#fff;overflow:hidden;box-shadow:5px 6px 0 #151516}.v34-life-comic article:nth-child(2){transform:translateY(22px);background:#fff1ec}.v34-life-comic article:nth-child(3){transform:translateY(7px);background:#e7ebff}.v34-life-comic small{font-size:.6rem;font-weight:950}.v34-life-comic strong{position:absolute;left:13px;right:13px;bottom:18px;font-size:.88rem;line-height:1.35;letter-spacing:-.035em}.v34-life-art{position:relative;height:205px;margin-top:12px;border-radius:12px;background:#eef0f3;overflow:hidden}.v34-life-art.files i{position:absolute;left:50%;top:43px;width:64px;height:92px;border:2px solid #151516;background:#fff;box-shadow:4px 4px 0 #151516}.v34-life-art.files i:nth-child(1){transform:translateX(-75%) rotate(-14deg)}.v34-life-art.files i:nth-child(2){transform:translateX(-50%) rotate(0);background:#f6d44b}.v34-life-art.files i:nth-child(3){transform:translateX(-25%) rotate(14deg);background:#cbd3ff}.v34-life-art.loop{background:#f7ded5}.v34-life-art.loop i{position:absolute;display:grid;place-items:center;width:63px;height:63px;border:2px solid #151516;border-radius:50%;background:#fff;font-style:normal;font-size:.68rem;font-weight:900}.v34-life-art.loop i:first-child{left:13px;top:72px}.v34-life-art.loop i:nth-child(2){right:13px;top:45px;background:#c9f16d}.v34-life-art.loop b{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);font-size:3rem}.v34-life-art.arrow{background:#ccd4ff}.v34-life-art.arrow::before{content:"";position:absolute;left:50%;top:30px;width:42px;height:155px;background:#fff;clip-path:polygon(35% 0,65% 0,100% 100%,0 100%);transform:translateX(-50%)}.v34-life-art.arrow i{position:absolute;left:45%;bottom:26px;width:30px;height:30px;border-radius:50%;background:#536bff}.v34-life-art.arrow b{position:absolute;right:8px;top:10px;padding:6px 7px;border:2px solid #151516;border-radius:7px;background:#c9f16d;font-size:.58rem}.v34-life-route{display:flex;align-items:center;justify-content:center;gap:12px;margin-top:48px;padding:14px 16px;border:1px solid #cfcbc3;border-radius:14px;background:#fff;color:#5f5d58;font-size:.72rem;font-weight:800}.v34-life-route b{color:#536bff}
body[data-sjm-page="lifetime"] .panel{border:1px solid #d8d5ce!important;border-radius:22px!important;background:#fff!important;box-shadow:0 12px 34px rgba(20,20,20,.045)!important}.question-entry-panel{position:relative;overflow:hidden}.question-entry-panel::before{content:"NEXT SCENE";display:block;margin:-2px -2px 22px;padding:11px 18px;background:#151516;color:#fff;font-size:.65rem;font-weight:950;letter-spacing:.08em}.question-entry-card{background:#f7f6f2!important;border-color:#d6d3cc!important;border-radius:16px!important}.question-entry-card:hover,.question-entry-card[aria-pressed="true"]{border-color:#151516!important;box-shadow:4px 4px 0 #151516!important;transform:translate(-2px,-2px)}
body[data-sjm-page="lifetime"] .primary-button,body[data-sjm-page="lifetime"] button[type="submit"]{background:#151516!important;color:#fff!important;border-color:#151516!important;border-radius:13px!important}
@media(max-width:850px){.v34-life-opening-grid{grid-template-columns:1fr}.v34-life-comic{max-width:620px}.v34-life-copy h1{font-size:4.9rem}}
@media(max-width:620px){.v34-life-opening{padding:46px 0 32px}.v34-life-copy h1{font-size:3.75rem}.v34-life-comic{grid-template-columns:1fr;gap:12px}.v34-life-comic article{min-height:290px}.v34-life-comic article:nth-child(2),.v34-life-comic article:nth-child(3){transform:none}.v34-life-art{height:160px}.v34-life-route{justify-content:flex-start;overflow-x:auto;white-space:nowrap}.v34-life-route i{flex:0 0 auto}.question-entry-card:hover,.question-entry-card[aria-pressed="true"]{transform:none}}

/* V34 result-story art replacement: old generated hanbok/fantasy artwork is not used. */
.story-character-r98 .story-r98-art-invite,.story-character-r98 .story-r98-art-study,.story-character-r98 .story-r98-art-road,.story-character-r98 .story-r98-art-flow,.story-character-r98 .story-r98-art-compass,.story-character-r98 .story-r98-art-document{background:#f1f0eb!important}
.story-character-r98 .story-r98-image{object-fit:cover!important;filter:none!important;animation:none!important;transform:none!important}
.story-character-r98 .story-r98-plane::after{background:transparent!important}
.story-character-r98 .story-r98-plane>span,.story-character-r98 .story-r98-backdrop{display:none!important}
.story-character-r98 .story-r98-plane{box-shadow:none!important;background:#f1f0eb!important}
.story-character-r98 .story-r9-copy,.story-character-r98 .story-r9-scene-flow .story-r9-copy,.story-character-r98 .story-r9-scene-choice .story-r9-copy{background:#fff!important;color:#151516!important}
.story-character-r98 .story-r9-scene,.story-character-r98 .story-r9-scene-flow,.story-character-r98 .story-r9-scene-choice{background:#fff!important;border:2px solid #151516;border-radius:22px}
.story-character-r98 .story-scan-label span{background:#151516!important;color:#fff!important}
.story-character-r98 .story-r9-result-title,.story-character-r98 .story-r913-copy-short h3{color:#151516!important}

/* V35 story-IP opening and result art direction. Calculation/form/result IDs and JS contracts are unchanged. */
.v35-life-opening{margin:-24px -24px 34px;background:#0d0f14;color:#fff;border-bottom:3px solid #0d0f14}.v35-life-grid{display:grid;grid-template-columns:minmax(0,.9fr) minmax(460px,1.1fr);min-height:660px}.v35-life-copy{display:flex;flex-direction:column;justify-content:center;padding:66px clamp(32px,5vw,76px)}.v35-life-series{display:flex;gap:10px;align-items:center;margin:0 0 25px;font-size:.68rem;font-weight:950;letter-spacing:.06em}.v35-life-series span{color:#8c9099}.v35-life-series b{padding:7px 10px;background:#ffe86a;color:#0d0f14}.v35-life-line{display:inline-block;align-self:flex-start;margin:0 0 20px;padding:10px 13px;border:2px solid #fff;background:#fff;color:#0d0f14;box-shadow:6px 6px 0 #66e0c2;font-weight:950;font-size:.86rem}.v35-life-copy h1{margin:0;font-size:clamp(3.8rem,6.8vw,6.9rem);line-height:.88;letter-spacing:-.075em}.v35-life-copy h1 strong{color:#66e0c2}.v35-life-copy>p:not(.v35-life-series):not(.v35-life-line){max-width:620px;margin:26px 0 0;color:#bcc0c8;line-height:1.75}.v35-life-start{display:inline-flex;align-self:flex-start;gap:28px;align-items:center;min-height:52px;margin-top:28px;padding:0 18px;background:#fff;color:#0d0f14;text-decoration:none;font-size:.8rem;font-weight:950}.v35-life-meta{display:flex;gap:14px;flex-wrap:wrap;margin-top:20px;color:#858992;font-size:.67rem}.v35-life-scene{position:relative;min-height:660px;background:#dfe4ff;border-left:1px solid #2f3239;overflow:hidden}.v35-life-scene img{width:100%;height:100%;object-fit:cover}.v35-life-caption{position:absolute;left:24px;right:24px;bottom:24px;padding:15px 16px;background:#fff;color:#0d0f14;border:2px solid #0d0f14;box-shadow:7px 7px 0 #0d0f14}.v35-life-caption span{display:block;font-size:.62rem;font-weight:950;color:#5166ff}.v35-life-caption strong{display:block;margin-top:4px;font-size:1.05rem}.v35-life-steps{display:flex;align-items:center;justify-content:center;gap:14px;padding:17px 20px;background:#ffe86a;color:#0d0f14;border-top:2px solid #0d0f14;font-size:.72rem;font-weight:900}.v35-life-steps b{margin-right:6px}.result-story-opening{border:3px solid #0d0f14!important;background:#fff!important;box-shadow:10px 10px 0 #0d0f14!important;border-radius:0!important}.result-story-opening .story-opening-head{border-bottom:2px solid #0d0f14;padding-bottom:14px}.story-scene-stage{border:0!important;border-radius:0!important;background:#fff!important}.story-r98-image{border-radius:0!important}.story-scene-copy h3{letter-spacing:-.045em}.story-nav-button{border-radius:0!important}.story-progress-dots button{border-radius:0!important}.story-scan-label span{border-radius:0!important;background:#0d0f14!important}.story-page-count{border-radius:0!important;background:#0d0f14!important}.story-r9-art{border-radius:0!important;overflow:hidden}.result-story-opening .story-r9-art img{filter:saturate(.98) contrast(1.02)}
@media(max-width:850px){.v35-life-opening{margin:-18px -18px 28px}.v35-life-grid{grid-template-columns:1fr}.v35-life-copy{padding:52px 22px}.v35-life-copy h1{font-size:4.6rem}.v35-life-scene{min-height:480px;border-left:0;border-top:1px solid #2f3239}.v35-life-steps{justify-content:flex-start;overflow-x:auto;white-space:nowrap}}
@media(max-width:620px){.v35-life-copy h1{font-size:3.7rem}.v35-life-scene{min-height:360px}.v35-life-meta{display:grid}.v35-life-steps{font-size:.66rem}.result-story-opening{box-shadow:6px 6px 0 #0d0f14!important}}
