/* Portrait and dialogue share a single cinematic frame. */
body:has(.home),body:has(.story){background:#0e0e0b}
.shell.home,.shell.story{position:relative;isolation:isolate;max-width:480px;min-height:100svh;background:#100e0b;color:#f5eddf;border:1px solid #5c4d32;overflow:hidden;box-shadow:none}
.shell.home .portrait,.shell.story .portrait{position:absolute;inset:0;width:100%;height:100%;min-height:100%;max-height:none;background:#100e0b}
.shell.home .portrait img,.shell.story .portrait img{height:100%;width:100%;object-fit:cover;object-position:50% 0%;filter:saturate(.8);opacity:1}
.shell.home .portrait:after,.shell.story .portrait:after{background:linear-gradient(180deg,rgba(15,13,10,.12) 0%,rgba(15,13,10,0) 24%,rgba(15,13,10,.08) 38%,rgba(15,13,10,.64) 54%,rgba(15,13,10,.94) 70%,#100e0b 94%)}
.shell.home .portrait-caption,.shell.story .portrait-caption{display:none}
.shell.home .brand,.shell.story .brand{display:block;top:27px;left:25px;font-size:11px;letter-spacing:.14em;color:#e5d9bd}
.shell.home .work,.shell.story .work{position:relative;z-index:2;background:transparent;min-height:calc(100svh - 2px);color:#f5eddf;pointer-events:none}
.shell.home .work button,.shell.story .work button{pointer-events:auto}
.shell.home .topbar,.shell.story .topbar{position:absolute;inset:0 0 auto;min-height:0;padding:60px 25px 0;justify-content:space-between}
.shell.home .topbar .smallbrand{display:none}
.shell.home .topbar .demo-tag{margin-left:auto}
.shell.home .topbar .demo-tag,.shell.story .topbar .demo-tag{color:#b8a98c;border-color:#6d604833;font-size:8px;background:#100e0b33}
.shell.story .topbar button{color:#d0c0a1;font-size:10px;min-height:30px}
.shell.home .content,.shell.story .content{max-width:none;margin:0;padding:0 28px;text-align:center}
.shell.home .home-content{padding-top:clamp(315px,52svh,520px);padding-bottom:30px}
.shell.home .home-content .eyebrow{color:#c2a680;font-size:10px;letter-spacing:.15em;margin-bottom:18px}
.shell.home .title-row{justify-content:center}
.shell.home .home-content h1{font-size:47px;font-weight:400;color:#f5eddf;line-height:1.35;letter-spacing:.01em}
.shell.home .vertical-title{display:none}
.shell.home .home-content .lead{font-size:22px;color:#f0e6d2;line-height:1.6;margin-top:19px;letter-spacing:-.03em}
.shell.home .home-content .lead br{display:block}
.shell.home .home-content .intro-copy{font-size:12px;line-height:1.8;margin-top:15px;color:#c9bea5}
.shell.home .entry{margin-top:25px;border-top:1px solid #6b5a393d;padding-top:6px}
.shell.home .primary{justify-content:center;gap:14px;background:transparent;color:#ddcda9;font-size:13px;min-height:52px}
.shell.home .primary:hover{background:#b38b5612}
.shell.home .primary .arrow{font-size:15px}
.shell.home .under-button{font-size:9px;color:#9a8b70;margin-top:4px}
.shell.home .home-bottom{display:none}
.shell.story{cursor:pointer}
.shell.story .scene-content{flex:1;display:flex;flex-direction:column;padding-top:clamp(315px,53svh,530px);padding-bottom:27px}
.shell.story .scene-index{display:none}
.shell.story .scene-dialogue{font-family:var(--serif);font-size:25px;line-height:1.5;letter-spacing:-.035em;color:#f5eddf;text-shadow:0 2px 20px #0008}
.shell.story .scene-dialogue span{margin-bottom:7px}
.shell.story .scene-dialogue .em{color:#e0c49c}
.shell.story .scene-caption{color:#d0c4ac;font-family:var(--serif);font-size:13px;line-height:1.8;margin:21px 0 22px}
.shell.story .scene-nav{margin-top:5px;padding-top:0;border-top:1px solid #79613e4d;display:block}
.shell.story .next-scene{width:100%;min-height:56px;justify-content:center;gap:0;padding:16px 0;color:#d9c59e;font-family:var(--serif);font-size:13px;letter-spacing:.03em}
.shell.story .next-scene:hover{background:#b38b5610}
.shell.story .next-scene .circle{display:none}
@media(max-height:730px){.shell.home .home-content{padding-top:47svh}.shell.story .scene-content{padding-top:48svh}.shell.story .scene-dialogue{font-size:23px}.shell.story .scene-caption{font-size:12px;margin:15px 0 19px}.shell.home .home-content h1{font-size:42px}.shell.home .home-content .lead{font-size:20px;margin-top:12px}.shell.home .home-content .intro-copy{font-size:11px}.shell.home .entry{margin-top:18px}}
@media(min-width:701px){.shell.home,.shell.story{min-height:800px}.shell.home .work,.shell.story .work{min-height:max(798px,calc(100svh - 2px))}}
@media(max-width:360px){.shell.home .content,.shell.story .content{padding-left:22px;padding-right:22px}.shell.story .scene-dialogue{font-size:22px}.shell.story .scene-caption{font-size:12px}}
.shell.story .scene-era{font-family:var(--serif);font-size:10px;letter-spacing:.12em;color:#cfb58a;margin:0 0 15px}
.shell.story.memory .portrait img{filter:saturate(.72) sepia(.08)}
.shell.story.memory .scene-content{padding-top:clamp(315px,52svh,520px)}
@media(max-height:730px){.shell.story.memory .scene-content{padding-top:50svh}}
@media(prefers-reduced-motion:reduce){.fade-in{animation:none}}

/* A quiet five-second arrival film; dialogue remains readable after it ends. */
.shell.story .scene-video{display:block;width:100%;height:100%;object-fit:cover;object-position:50% 0%;background:#100e0b}
.shell.story.film .portrait:after{background:linear-gradient(180deg,#05080c22 0%,#05080c08 32%,#100e0b55 49%,#100e0be8 72%,#100e0b 96%)}
.shell.story.film .scene-content{padding-top:clamp(315px,53svh,530px)}
.film-control{align-self:center;background:transparent;color:#baa98b;border-bottom:1px solid #6b5a3955;font-size:10px;padding:7px 12px;margin:-8px 0 12px;min-height:32px}
@media(max-height:730px){.shell.story.film .scene-content{padding-top:47svh}}
/* Leave the bride's glance back visible above the text. */
.shell.story.film .scene-content{padding-top:64svh;padding-bottom:16px}
.shell.story.film .scene-era{font-size:9px;margin-bottom:8px}
.shell.story.film .scene-dialogue{font-size:22px;line-height:1.45}
.shell.story.film .scene-dialogue span{margin-bottom:3px}
.shell.story.film .scene-caption{font-size:12px;line-height:1.65;margin:12px 0}
.shell.story.film .film-control{position:absolute;top:103px;right:24px;margin:0;background:#100e0b55;font-size:9px}
.shell.story.film .next-scene{min-height:44px;padding:12px 0;font-size:12px}
@media(max-height:730px){.shell.story.film .scene-content{padding-top:60svh}}

/* One top bar, shared by the story and the consultation. */
.shell>.topbar{display:flex;align-items:center;gap:6px;position:relative;inset:auto;z-index:5;min-height:60px;padding:8px 16px;background:#14120f;color:#e5d9bd;width:100%}
.shell>.topbar .nav-brand{flex:1;font-family:var(--serif);font-size:12px;letter-spacing:.04em;white-space:nowrap}
.shell>.topbar button{min-height:44px;color:#e5d9bd;background:transparent;text-shadow:none}
.shell>.topbar .nav-back{width:44px;flex-shrink:0;display:grid;place-items:center;padding:0}
.shell.story>.topbar button,.shell.home>.topbar button{min-height:44px}
.shell>.topbar .nav-back svg{width:21px;height:21px}
.shell>.topbar .nav-restart{font-size:12px;padding:8px 4px;margin-left:auto;white-space:nowrap}
.shell.home>.topbar,.shell.story>.topbar{position:absolute;inset:0 0 auto;min-height:60px;padding:8px 16px}
.shell.home>.topbar{background:linear-gradient(#100e0b90,transparent);padding-left:25px}
.shell.story>.portrait{top:60px;height:calc(100% - 60px);min-height:0}
.shell.story.film .film-control{top:70px;right:20px;min-height:44px}
@media(max-width:360px){.shell>.topbar{padding-left:10px;padding-right:12px}.shell>.topbar .nav-brand{font-size:11px}.shell>.topbar .nav-restart{font-size:11px}}

/* Keep the opening book and both hands clear above the dialogue. */
.shell.story.book-scene .portrait{height:calc(100% - 150px);bottom:90px}
.shell.story.book-scene .portrait img,.shell.story.book-scene .scene-video{height:auto;width:100%;object-fit:contain}
.shell.story.book-scene .portrait:after{background:linear-gradient(180deg,#100e0b08 0%,transparent 62%,#100e0b11 73%,#100e0bd9 89%,#100e0b 100%)}
.shell.story.book-scene .scene-content{padding-top:68svh;padding-bottom:18px}
.shell.story.book-scene .scene-dialogue{font-size:22px;line-height:1.45}
.shell.story.book-scene .scene-dialogue span{margin-bottom:3px}
.shell.story.book-scene .scene-caption{font-size:12px;line-height:1.65;margin:12px 0}
.shell.story.book-scene .next-scene{min-height:44px;padding:12px 0;font-size:12px}
@media(max-height:730px){.shell.story.book-scene .scene-content{padding-top:67svh}.shell.story.book-scene .scene-dialogue{font-size:20px}.shell.story.book-scene .scene-caption{font-size:11px;margin:10px 0}}
@media(max-height:730px){.shell.story.book-scene .portrait img,.shell.story.book-scene .scene-video{transform:translateY(-55px)}}

/* The opening question carries the hierarchy; the brand stays in the top bar. */
.shell.home .home-content{padding-top:54svh;padding-bottom:30px}
.shell.home .home-content .home-hook{font-size:clamp(27px,7.5vw,34px);line-height:1.55;letter-spacing:-.045em;margin:0;text-shadow:0 2px 20px #0008}
.shell.home .home-hook span{display:block;white-space:nowrap}
.shell.home .home-content .intro-copy{font-family:var(--serif);font-size:13px;line-height:1.8;margin-top:19px;white-space:nowrap}
.shell.home .entry{margin-top:30px}
.shell.home>.topbar .nav-brand{font-size:13px;letter-spacing:.14em}
@media(max-height:730px){.shell.home .home-content{padding-top:52svh}.shell.home .home-content .home-hook{font-size:28px}.shell.home .home-content .intro-copy{font-size:12px;margin-top:15px}.shell.home .entry{margin-top:24px}}

/* The first page opens the book directly, with a quiet brand and two-line hook. */
.shell.story.opening-scene>.topbar{background:linear-gradient(#100e0b90,transparent);padding-left:25px}
.shell.story.opening-scene>.topbar .nav-brand{font-size:13px;letter-spacing:.14em}
.shell.story.opening-scene .scene-dialogue span{display:block;white-space:nowrap}
.shell.story.opening-scene .scene-caption{white-space:nowrap}

/* Keep the visitor, letter and lamp together above the dialogue. */
.shell.story.consultation-scene .scene-content{padding-top:64svh;padding-bottom:20px}
.shell.story.consultation-scene .portrait:after{background:linear-gradient(180deg,#100e0b08 0%,transparent 40%,#100e0b20 53%,#100e0bdc 72%,#100e0b 96%)}
.shell.story.consultation-scene .scene-dialogue{font-size:23px;line-height:1.45}
.shell.story.consultation-scene .scene-era{font-size:9px;margin-bottom:10px}
.shell.story.consultation-scene .scene-caption{font-size:12px;line-height:1.7;margin:14px 0 16px}
.shell.story.consultation-scene .next-scene{min-height:44px;font-size:12px;padding:12px 0}
@media(max-height:730px){.shell.story.consultation-scene .scene-content{padding-top:60svh}.shell.story.consultation-scene .scene-dialogue{font-size:21px}.shell.story.consultation-scene .scene-caption{font-size:11px;margin:11px 0 13px}}
.shell.story.consultation-scene .portrait img{width:100%;height:auto;object-fit:contain}
@media(max-height:730px){.shell.story.consultation-scene .portrait img{transform:translateY(-60px)}.shell.story.consultation-scene .scene-content{padding-top:64svh}}


/* Frame the lower part of the arrival film: the visitor, not the sky. */
.shell.story.arrival-scene .portrait{height:calc(64svh - 60px);bottom:auto}
.shell.story.arrival-scene .scene-video{width:100%;height:100%;object-fit:cover;object-position:50% 85%}
.shell.story.arrival-scene .portrait:after{background:linear-gradient(180deg,transparent 0%,transparent 68%,#100e0b22 79%,#100e0bc9 94%,#100e0b 100%)}
.shell.story.arrival-scene .scene-content{padding-top:64svh}
@media(max-height:730px){.shell.story.arrival-scene .portrait{height:calc(60svh - 60px)}.shell.story.arrival-scene .scene-content{padding-top:60svh}}

/* The fifth frame is the first question, with answers in the same scene. */
.shell.story.choice-scene{cursor:default}
.shell.story.choice-scene .portrait{height:56svh;bottom:auto}
.shell.story.choice-scene .portrait img{height:100%;object-fit:cover;object-position:50% 27%}
.shell.story.choice-scene .portrait:after{background:linear-gradient(180deg,transparent 0%,transparent 36%,#100e0b45 58%,#100e0be0 80%,#100e0b 100%)}
.shell.story.choice-scene .scene-content{padding-top:43svh;padding-bottom:24px}
.shell.story.choice-scene .scene-dialogue{font-size:25px;line-height:1.4}
.shell.story.choice-scene .scene-dialogue span{margin-bottom:0}
.intro-choices{display:grid;gap:8px;margin-top:20px;text-align:left}
.intro-choice{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;min-height:49px;padding:12px 14px;border:1px solid #73644880;border-radius:3px;background:#211b14d9;color:#eee3cc;font-family:var(--sans);font-size:13px;line-height:1.5;text-align:left;word-break:keep-all}
.intro-choice:hover{background:#36291d;border-color:#b49360}
.intro-choice:focus-visible{outline:2px solid #e4c995;outline-offset:3px}

@media(max-height:730px){.shell.story.choice-scene .portrait{height:49svh}.shell.story.choice-scene .scene-content{padding-top:40svh;padding-bottom:18px}.shell.story.choice-scene .scene-dialogue{font-size:23px}.intro-choices{gap:7px;margin-top:16px}.intro-choice{min-height:48px;padding:10px 12px;font-size:12px}}

/* Quiet text-only pages continue the personal record after the introduction. */
body:has(.shell.entry){background:#100e0b}
.shell.entry{margin:0 auto;max-width:480px;background:#15130f;color:#f5eddf;min-height:100svh;box-shadow:none;border:1px solid #5c4d32}
.shell.entry .work{background:transparent;color:inherit;min-height:calc(100svh - 62px);align-items:flex-start}
.shell.entry .entry-content{max-width:440px;margin:0 auto;padding:clamp(45px,10svh,90px) 28px 30px;text-align:center}
.shell.entry .entry-step{font-family:var(--serif);font-size:11px;color:#baa47f;letter-spacing:.12em;margin:0 0 22px}
.shell.entry h1{font-family:var(--serif);font-size:26px;font-weight:400;line-height:1.6;letter-spacing:-.035em;overflow-wrap:anywhere;word-break:keep-all;color:#f5eddf}
.entry-caption{font-family:var(--serif);font-size:13px;line-height:1.9;color:#c5b89f;margin:20px 0 32px}
.entry-content form{width:100%;text-align:left}
.shell.entry .field{min-width:0;margin-bottom:10px}
.shell.entry .field label{color:#cbbca1;font-size:12px;margin-bottom:9px}
.shell.entry .field input,.shell.entry .field select{width:100%;min-height:54px;background:#e9ddc3;border:1px solid #a9956b;border-bottom:2px solid #8f7957;border-radius:2px;color:#342f25;padding:14px;font-family:var(--serif);font-size:16px;color-scheme:light}
.shell.entry .field input::placeholder{color:#887b63}
.shell.entry :is(input,select,button):focus-visible{outline:2px solid #dbc296;outline-offset:3px}
.shell.entry .field .hint{font-size:11px;color:#ad9f85;margin:9px 0 0;line-height:1.7}
.birth-fields{display:grid;grid-template-columns:minmax(0,1fr) 115px;gap:12px}
.shell.entry .error{font-size:12px;color:#ffb8a4;line-height:1.7;margin:12px 0}
.shell.entry .error:empty{display:none}
.entry-submit{display:flex;align-items:center;justify-content:center;gap:16px;width:100%;min-height:54px;background:#d3b783;color:#30281c;border:1px solid #b49b6b;border-radius:2px;font-family:var(--serif);font-size:15px;margin-top:28px;padding:14px}
.entry-submit:hover{background:#dfc79e}
.entry-privacy{font-size:10px;color:#a8997e;text-align:center;line-height:1.8;margin:18px 0 0}
.gender-options{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.gender-options button,.time-branches button,.midnight-choice button{font-family:var(--serif);border:1px solid #a9956b;background:#e9ddc3;color:#403622;border-radius:2px;min-height:54px;padding:12px 6px}
.shell.entry button[aria-pressed=true]{background:#6b5b3d;color:#fff5dc;box-shadow:inset 0 0 0 2px #ead6a84d;border-color:#d1b781}
.time-branches{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.time-branches strong{font-size:17px;font-weight:400}.time-branches strong span{font-size:12px;margin-left:4px;opacity:.7}
.time-branches small{display:block;font-family:var(--sans);font-size:10px;margin-top:5px;opacity:.8}
.time-branches .unknown-time{grid-column:1/-1;min-height:46px;font-size:13px;margin-top:4px}
.midnight-choice{margin:18px 0 0}.midnight-choice p{font-family:var(--serif);font-size:13px;color:#d0c0a1;margin:0 0 8px}.midnight-choice button{width:100%;font-size:12px;margin-top:6px;min-height:46px}
.shell.entry [data-entry-step=details]{padding-top:32px}
.shell.entry [data-entry-step=details] .entry-step{margin-bottom:14px}
.shell.entry [data-entry-step=details] .entry-caption{margin:14px 0 24px}
@media(max-width:360px){.shell.entry .entry-content{padding-left:22px;padding-right:22px}.shell.entry h1{font-size:23px}.birth-fields{grid-template-columns:minmax(0,1fr) 107px;gap:10px}.shell.entry .field input,.shell.entry .field select{padding:12px 10px}}
@media(max-height:730px){.shell.entry .entry-content{padding-top:35px}.shell.entry [data-entry-step=details]{padding-top:20px}.shell.entry [data-entry-step=details] .entry-caption{margin:12px 0 18px}.shell.entry [data-entry-step=details] .entry-step{margin-bottom:8px}.shell.entry [data-entry-step=details] h1{font-size:23px}.time-branches button{padding:9px 4px}.entry-submit{margin-top:20px}.entry-privacy{margin-top:12px}}

@media(max-height:730px){.shell.story.consultation-scene.remembering-scene .scene-content{padding-top:59svh}}

/* Birth date stays in view while the time sheet rises from the bottom. */
body:has(#time-sheet[open]){overflow:hidden}
.time-sheet{position:fixed;inset:auto 0 0;box-sizing:border-box;width:min(100%,480px);max-width:480px;max-height:calc(100svh - 18px);margin:0 auto;padding:24px 24px max(22px,env(safe-area-inset-bottom));border:1px solid #bba47c;border-radius:22px 22px 0 0;background:#eee3ce;color:#3d3425;overflow:auto;text-align:left;animation:sheet-rise .28s ease-out}
.time-sheet::backdrop{background:#080704ae;backdrop-filter:blur(3px)}
.time-sheet-header{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}.time-sheet-header p{font-size:10px;color:#8c7753;letter-spacing:.1em;margin-bottom:10px}.time-sheet-header h2{font-family:var(--serif);font-size:22px;line-height:1.55;font-weight:400;word-break:keep-all}.time-sheet-header button{background:transparent;color:#6c5c40;font-size:28px;line-height:1;min-width:40px;min-height:40px;margin:-8px -8px 0 0}.time-sheet-birth{font-size:12px;color:#79664a;margin:12px 0 20px}.time-sheet .time-branches button{background:#f7efdf;border-color:#b9a583}.time-sheet .time-branches .unknown-time{font-size:13px}.time-sheet .midnight-choice p{color:#675538}.shell.entry .time-sheet button[aria-pressed=true]{background:#6b5b3d;color:#fff5dc}.shell.entry .time-sheet .error{color:#923c2d}.time-sheet .entry-submit{background:#5e4b32;color:#fff1d6;margin-top:18px}.time-sheet .entry-submit:hover{background:#715b3d}
@keyframes sheet-rise{from{transform:translateY(60px);opacity:.5}to{transform:translateY(0);opacity:1}}
@media(max-width:360px){.time-sheet{padding:18px 18px 20px}.time-sheet-header h2{font-size:20px}.time-sheet .time-branches strong{font-size:16px}.time-sheet .time-branches small{font-size:9px}.time-sheet-birth{margin:10px 0 15px}}
@media(prefers-reduced-motion:reduce){.time-sheet{animation:none}}
/* Keep the heading and confirmation visible while the time choices scroll. */
.time-sheet[open]{display:grid;grid-template-rows:auto auto minmax(0,1fr) auto;overflow:hidden;max-height:calc(100dvh - 18px)}
.time-sheet .time-sheet-header h2{margin:0;font-size:20px;line-height:1.5}
.time-sheet .time-sheet-header button{min-width:44px;min-height:44px}
.time-sheet .time-sheet-birth{margin:10px 0 14px}
.time-sheet-options{min-height:0;overflow-y:auto;overscroll-behavior:contain;scroll-padding:8px;padding:2px}
.time-sheet .time-branches button{min-height:60px;padding:10px 3px}
.time-sheet .time-branches small{font-size:11px;line-height:1.3;white-space:nowrap}
.time-sheet .time-branches .unknown-time{min-height:48px;font-size:14px}
.time-sheet .midnight-choice button{min-height:48px;font-size:14px}
.time-sheet .midnight-choice p{font-size:14px}
.time-sheet #time-sheet-form{padding-top:12px}
.shell.entry #time-sheet-form .entry-submit{margin-top:0;min-height:54px}
.time-sheet #time-error{margin:0;font-size:13px;line-height:1.5}
.time-sheet #time-error:not(:empty){margin-bottom:10px}
@media(max-width:360px){.time-sheet{padding:16px 14px max(16px,env(safe-area-inset-bottom))}.time-sheet .time-sheet-header h2{font-size:19px}.time-sheet .time-branches{gap:7px}}
/* Full-screen page turning: the dialogue sits directly on the film. */
body:has(.shell.reading){background:#100e0b}
.shell.reading{display:block;position:relative;isolation:isolate;max-width:480px;height:100svh;min-height:480px;background:#100e0b;color:#f5eddf;overflow:hidden}
.shell.reading>.topbar{position:absolute;inset:0 0 auto;background:linear-gradient(#100e0b85,transparent);border:0}
.shell.reading .portrait{position:absolute;inset:0;width:100%;height:100%;min-height:0;max-height:none;margin:0;background:#100e0b}
.shell.reading .portrait video{width:100%;height:100%;object-fit:cover;object-position:50% 50%;display:block}
.shell.reading .portrait:after{background:linear-gradient(180deg,#100e0b24 0%,transparent 24%,#100e0b0d 48%,#100e0b38 72%,#100e0bba 100%)}
.shell.reading .portrait-caption{display:none}
.shell.reading .work{position:absolute;inset:0;z-index:2;background:transparent;min-height:0;color:inherit;pointer-events:none}
.reading-scene-copy{position:absolute;inset:0;text-align:center;font-family:var(--serif)}
.reading-scene-copy h1{position:absolute;top:51%;left:16px;right:16px;transform:translateY(-50%);margin:0;font-family:var(--serif);font-weight:600;font-size:clamp(18px,5vw,23px);line-height:1.6;letter-spacing:-.03em;color:#fff8eb;text-shadow:0 2px 14px #000,0 1px 4px #0009}
.reading-scene-footer{position:absolute;bottom:max(30px,env(safe-area-inset-bottom));left:20px;right:20px}
.reading-scene-footer p{font-size:12px;line-height:1.8;color:#e2d7c3;text-shadow:0 1px 8px #000;margin:0 0 12px}
.reading-scene-copy button{pointer-events:auto;background:transparent;color:#eadac0;border-bottom:1px solid #c3ab7a80;font-family:var(--serif);font-size:12px;min-height:44px;padding:10px 14px}
@media(max-height:600px){.reading-scene-footer{bottom:18px}.reading-scene-footer p{font-size:11px;margin-bottom:4px}}
/* Free chapter and sealed examples lead to the payment placeholder. */
.shell.result .offer-content{padding-top:28px;padding-bottom:175px}.offer-content .result-title{font-size:34px;line-height:1.45}.offer-content .sample-note{margin:18px 0 0;font-size:10px;line-height:1.8}.geumrye-letter{margin-top:38px}.geumrye-letter h2,.locked-preview>h2,.offer-ending h2{font-family:var(--serif);font-size:25px;line-height:1.6;font-weight:400;letter-spacing:-.03em}.geumrye-letter>p:not(.chapter-label){font-family:var(--serif);font-size:16px;line-height:2;margin-top:25px;color:#645344;word-break:keep-all}.geumrye-letter .letter-emphasis{color:#513b2e!important}.free-reading{padding:30px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.locked-preview{margin-top:40px}.locked-intro,.locked-note{font-size:11px;line-height:1.8;color:#8a7965;margin-top:12px}.locked-card{margin-top:28px;border:1px solid #c5b59b;background:#e7ddcb;border-radius:3px;overflow:hidden}.locked-card-heading{display:flex;gap:13px;padding:18px 18px 16px;align-items:baseline}.locked-card-heading>span{font-family:var(--serif);font-size:12px;color:#9c8164}.locked-card h3{font-family:var(--serif);font-size:18px;font-weight:400;color:#584433;line-height:1.6}.locked-card-heading p{font-size:10px;line-height:1.7;margin-top:4px;color:#8a755f}.locked-window{position:relative;overflow:hidden;isolation:isolate}.blurred-content{filter:blur(10px);user-select:none;pointer-events:none;transform:scale(1.06);opacity:.72}.face-window{height:340px}.face-window img{width:100%;height:260px;object-fit:cover;object-position:50% 23%;display:block}.face-window .blurred-content>p{font-family:var(--serif);font-size:13px;line-height:1.9;text-align:center;margin-top:10px}.text-window{height:235px;padding:12px 24px 25px}.text-window .blurred-content{font-family:var(--serif);font-size:13px;line-height:1.9}.text-window h4{font-weight:400;font-size:17px;margin:0 0 14px}.text-window p{margin:15px 0}.locked-cover{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:13px;background:#2e231b70;color:#fff4dd;text-align:center;text-shadow:0 2px 10px #34200e99}.locked-cover>span{font-family:var(--serif);display:grid;place-items:center;border:1px solid #e8d4ae9c;width:36px;height:42px;font-size:17px}.locked-cover p{font-family:var(--serif);font-size:17px;line-height:1.7}.text-window .locked-cover{background:#51443580}.locked-card .portrait-tabs{margin:0 18px 14px}.offer-ending{margin-top:45px;padding-top:30px;border-top:1px solid var(--line);text-align:center}.offer-ending>p:not(.chapter-label):not(.privacy){font-family:var(--serif);font-size:14px;line-height:1.9;color:#79624d;margin:20px 0}.offer-ending .primary{margin-top:25px}.offer-ending .privacy{margin-top:12px}.offer-content .locked-note{font-size:10px;margin-top:18px}
/* v26: an intimate dark letter, followed by sealed previews. */
.shell.result{display:block;max-width:480px;margin:0 auto;background:#0c0a08;color:#eee9df;--line:#51422e;--muted:#aaa093;--wine:#d1ac70;--ink:#eee9df;--paper:#0c0a08}
.shell.result .work{display:block;min-height:100svh;background:#0c0a08}
.shell.result .topbar{position:relative;inset:auto;min-height:60px;background:#0c0a08;border-bottom:0;color:#b4a794;padding:12px 22px}
.shell.result .topbar button,.shell.result .nav-brand{color:#b4a794}
.shell.result .offer-content{max-width:none;margin:0;padding:0 25px 175px;font-family:var(--serif)}
.letter-author{text-align:center;padding:10px 0 0}
.letter-portrait{width:260px;max-width:100%;height:310px;margin:0 auto -10px;position:relative;overflow:hidden;mask-image:radial-gradient(ellipse 49% 47% at 50% 48%,#000 43%,transparent 100%)}
.letter-portrait img{width:100%;height:100%;display:block;object-fit:cover;object-position:50% 28%;filter:brightness(.83) saturate(.7)}
.letter-author-name{font-size:17px;letter-spacing:.09em;color:#eee9df}
.shell.result .result-title{font-size:13px;font-weight:400;line-height:1.8;color:#b2a695;margin-top:18px;letter-spacing:.04em}
.shell.result .result-meta{font-size:10px;color:#958979;margin-top:6px}
.shell.result .sample-note{text-align:center;font-family:var(--sans);font-size:9px;color:#a1978a;border:0;margin:20px 0 0;padding:0;line-height:1.8}
.shell.result .geumrye-letter{margin-top:50px}
.shell.result .geumrye-letter>p:not(.chapter-label){font-size:16px;line-height:2.15;color:#eee9df;margin-top:33px;font-weight:400}
.shell.result .geumrye-letter>p.letter-opening{margin-top:0}
.shell.result .geumrye-letter .letter-emphasis{font-size:23px;line-height:1.8;color:#d8b779!important;margin:40px 0}
.shell.result .chapter-label{font-family:var(--serif);font-size:11px;color:#bd9b68;letter-spacing:.1em}
.shell.result .free-reading{margin-top:52px;padding:32px 0;border-color:#4c3b27}
.shell.result .free-reading h2{color:#eee9df;font-size:22px;line-height:1.8}
.shell.result .free-reading p{font-family:var(--serif);font-size:15px;line-height:2.15;color:#d7cfc3}
.shell.result .reading-pull{margin:28px 0;padding:8px 0 8px 18px;color:#dfbf85;border-color:#9a7744;font-size:20px;line-height:1.9}
.shell.result .locked-preview{margin-top:48px}
.shell.result .locked-preview>h2{font-size:25px;line-height:1.8;color:#eee9df}
.shell.result .locked-intro,.shell.result .locked-note{color:#a89c8c;font-family:var(--sans);line-height:1.9}
.preview-bridge{font-size:17px;line-height:2;color:#eee9df;margin-top:46px}
.preview-bridge strong{font-weight:400;color:#d8b779}
.shell.result .locked-card{margin-top:21px;background:#17140f;border:1px solid #82683f;border-radius:0}
.shell.result .locked-card-heading{padding:18px;border-bottom:1px solid #4c3e29}
.shell.result .locked-card h3{font-size:17px;color:#e1c394}
.shell.result .locked-card-heading p,.shell.result .locked-card-heading>span{color:#aa987d}
.shell.result .face-window{height:390px}
.shell.result .face-window img{height:310px;object-position:center 24%}
.shell.result .blurred-content{filter:blur(5px);opacity:.86;color:#eae0cf}
.shell.result .locked-cover{background:#08070640;color:#e9d5ae}
.shell.result .text-window .locked-cover{background:#09070566}
.shell.result .locked-cover p{font-size:15px}
.shell.result .locked-cover>span{border-color:#b9995d;color:#d7b874}
.shell.result .portrait-tabs button{background:#17140f;border-color:#5c4c36;color:#c1b29c}
.shell.result .portrait-tabs button[aria-pressed=true]{background:#3c3020;color:#f2dfbc}
.shell.result .offer-ending{border-color:#51422e;margin-top:55px;padding-top:40px}
.shell.result .offer-ending h2{font-size:25px;color:#eee9df;line-height:1.8}
.shell.result .offer-ending>p:not(.chapter-label):not(.privacy){color:#c9bdab;font-size:15px;line-height:2}
.shell.result .primary{background:#cdb383;color:#211b12;border:1px solid #e0c99f;border-radius:2px;font-family:var(--serif);font-size:16px;min-height:54px}
.shell.result .primary:hover{background:#e0c79b}
.shell.result .privacy,.shell.result .text-button{color:#b2a28c;font-family:var(--sans)}
.shell.result .purchase-bar{position:fixed;bottom:0;left:50%;right:auto;transform:translateX(-50%);width:100%;max-width:480px;padding:13px 24px max(16px,env(safe-area-inset-bottom));background:#100d09f5;border-top:1px solid #5b482d;backdrop-filter:blur(12px)}
.shell.result .purchase-info{font-family:var(--sans);font-size:10px;color:#a99b85;margin-bottom:11px}.shell.result .purchase-info strong{color:#d7c5a7}
body:has(.shell.result){background:#0c0a08}
body:has(.shell.result) #payment-dialog{background:#17120d;color:#eee9df;border-color:#82683f;--muted:#b2a695;--line:#51422e;--ink:#eee9df;--wine:#cbb07e}
body:has(.shell.result) #payment-dialog .primary{background:#cdb383;color:#211b12}
@media(max-width:360px){.shell.result .offer-content{padding-left:21px;padding-right:21px}.shell.result .geumrye-letter>p:not(.chapter-label){font-size:15px}.shell.result .geumrye-letter .letter-emphasis{font-size:21px}.letter-portrait{height:280px;width:235px}}

/* v27: keep the face lit while the room falls into shadow. */
.shell.story.revelation-scene .portrait img{transform:scale(1.13);transform-origin:50% 34%;filter:saturate(.65) contrast(1.06)}
.shell.story.revelation-scene .portrait:after{background:radial-gradient(ellipse 31% 23% at 50% 34%,transparent 32%,#06050438 61%,#060504c9 100%),linear-gradient(180deg,#0806048c 0%,transparent 23%,transparent 38%,#100e0bba 56%,#100e0b 82%)}
.shell.story.revelation-scene .scene-dialogue{font-size:26px;line-height:1.65}
.shell.story.revelation-scene .scene-content{padding-top:53svh}

/* A personal bound record: plum cover, numbered leaves, three bookmarks. */
.shell.result .notebook-content{padding:18px 25px 170px}
.cheop-title{position:relative;background:#26171a;border:1px solid #5d3e43;border-left:7px solid #3c242b;padding:28px 25px 22px;margin-bottom:18px;box-shadow:3px 3px 0 #0c0a08,4px 4px 0 #5d3e435e}
.cheop-title:before{content:"";position:absolute;left:9px;top:25px;bottom:25px;border-left:1px solid #8b626650}
.cheop-overline{font-size:10px;letter-spacing:.15em;color:#bca9a3}
.cheop-title-line{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:25px 0 20px}
.cheop-title h1{font-size:21px;line-height:1.9;font-weight:400;color:#e2d5cc;overflow-wrap:anywhere}
.cheop-title h1 strong{font-size:46px;font-weight:400;letter-spacing:.11em;color:#f5eee5}
.cheop-seal{display:block;font-size:14px;line-height:1.7;letter-spacing:.1em;padding:7px 8px;border:1px solid #9c7773;color:#ccb4a9;flex-shrink:0}
.cheop-dedication{font-size:12px;line-height:1.8;color:#c5b1aa}
.cheop-register{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin-top:27px;padding-top:17px;border-top:1px solid #79595b55;font-size:10px;line-height:1.9;color:#ad9993}
.cheop-register>span{white-space:nowrap;writing-mode:vertical-rl;letter-spacing:.18em;font-size:11px}
.shell.result .notebook-content .sample-note{font-size:9px;margin:14px 0 0;text-align:left;color:#9c9185}
.keeper-note{margin:47px 0 42px}
.keeper-note h2{font-size:23px;line-height:1.85;letter-spacing:-.025em;font-weight:400;color:#eee9df;margin:17px 0 19px}
.keeper-note>p:not(.chapter-label){font-size:14px;line-height:2;color:#bfb5a8}
.keeper-note em{color:#e2c7be}
.keeper-note .keeper-sign{text-align:right;letter-spacing:.25em;margin-top:17px;color:#bca198!important}
.shell.result .notebook-page{position:relative;border:0;border-left:1px solid #77645869;padding:0 0 5px 22px;margin-top:0}
.page-heading{display:flex;gap:13px;align-items:center;border-bottom:1px solid #50443a;margin-bottom:25px;padding-bottom:15px;color:#cbb4a4}
.page-heading>span{font-size:29px;font-weight:400}
.shell.result .page-heading p{font-size:14px;line-height:1.6;color:#ded3c6}
.page-heading small{display:block;font-family:var(--sans);font-size:9px;color:#a19485;margin-top:4px}
.shell.result .notebook-page h2{font-size:22px;line-height:1.8}
.shell.result .notebook-page .reading-pull{border:0;padding:18px 0;border-top:1px solid #43382e;border-bottom:1px solid #43382e;color:#e2c7b9;font-size:20px}
.chapter-preview{margin-top:55px}
.chapter-preview>h2{font-size:25px;line-height:1.8;font-weight:400;color:#eee9df;margin:17px 0}
.chapter-preview-copy{font-size:13px;line-height:1.9;color:#b4a89a}
.chapter-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;margin-top:28px;align-items:end}
.chapter-tabs button{background:#211c18;border:1px solid #4a3e34;border-bottom:0;border-radius:3px 3px 0 0;color:#a99c8c;padding:13px 4px 14px;font-family:var(--serif);font-size:11px;line-height:1.7;min-height:75px}
.chapter-tabs button span{display:block;font-size:18px;margin-bottom:6px}
.chapter-tabs button[aria-selected=true]{background:#39252a;border-color:#765058;color:#f2ded6;padding-top:21px;box-shadow:inset 0 2px #b48588}
.chapter-tabs button:focus-visible{outline:2px solid #d9b8ac;outline-offset:-4px}
.chapter-panel{border:1px solid #765058;background:#191410;min-height:390px;padding:16px}
.shell.result .chapter-panel .face-window{height:285px}
.shell.result .chapter-panel .face-window img{height:285px;object-position:50% 27%}
.shell.result .chapter-panel .locked-cover{background:#08060536}
.shell.result .chapter-panel .locked-cover>span{border-color:#ba8e8d;color:#e9c5b8}
.shell.result .chapter-panel .locked-cover p{font-size:14px;color:#f1ded3}
.shell.result .chapter-panel .text-window{height:290px;padding:15px 8px;background:#221b16}
.chapter-footnote{font-size:12px;line-height:1.9;color:#c1ac9e;text-align:center;margin-top:22px}
.sealed-lines{margin:15px 0 0;font-size:12px}.sealed-lines>div{display:grid;grid-template-columns:70px 1fr;border-top:1px solid #504136;padding:14px 0;gap:8px}.sealed-lines dt{color:#b7a291}.sealed-lines dd{margin:0;color:#dfd3c5}.sealed-text{filter:blur(5px);user-select:none}
.sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.shell.result .chapter-preview .locked-note{font-size:9px;line-height:1.9;margin-top:16px}
.shell.result .notebook-ending{border-top:1px solid #503d36;margin-top:44px}
.shell.result .notebook-ending h2{color:#f0e5dc;font-size:24px}
.shell.result .primary{background:#674047;border-color:#8c5c64;color:#f6e8df;font-size:15px}
.shell.result .primary:hover{background:#7b4e56}
.shell.result .purchase-bar{border-color:#68474b;background:#171010f5}
.shell.result .purchase-info strong{color:#d9bfb7}
@media(max-height:730px){.shell.story.revelation-scene .scene-content{padding-top:49svh}.shell.story.revelation-scene .scene-dialogue{font-size:23px}}
@media(max-width:360px){.shell.result .notebook-content{padding-left:20px;padding-right:20px}.cheop-title{padding:24px 20px}.cheop-title h1 strong{font-size:41px}.keeper-note h2{font-size:21px}.chapter-tabs button{font-size:10px}.shell.result .notebook-page{padding-left:16px}}

/* Brief text-only question before collecting a name. */
.intent-options{display:grid;gap:12px;margin-top:30px}
.intent-options .intro-choice{min-height:58px}

.nav-brand .brand-hanja{font-size:10px;letter-spacing:.13em;color:#aa9671;margin-left:7px;font-weight:400}

/* The three sealed records remain in reading order, without tabs. */
.chapter-stack{display:grid;gap:38px;margin-top:30px}
.chapter-heading{display:flex;align-items:flex-start;gap:14px;margin-bottom:15px}
.chapter-heading>span{font-family:var(--serif);font-size:27px;color:#b99e7d;line-height:1.4}
.chapter-heading h3{font-family:var(--serif);font-size:20px;font-weight:400;line-height:1.5;color:#eee9df;margin:0 0 7px}
.chapter-heading p{font-size:12px;line-height:1.8;color:#b4a89a;margin:0;word-break:keep-all}
.chapter-stack .chapter-panel{min-height:0}
.chapter-stack .sealed-lines>div{grid-template-columns:86px 1fr}
.chapter-stack .sealed-lines dt{white-space:nowrap}

/* Preview photos describe the chapter while keeping the example details sealed. */
.shell.result .couple-window{height:285px}
.couple-window .blurred-content{width:100%;height:100%;filter:blur(5px)}
.couple-window img{display:block;width:100%;height:100%;object-fit:cover;object-position:center}
.shell.result .notebook-content>.sample-note{margin-top:4px}
.shell.result .notebook-content>.keeper-note{margin-top:24px}
/* Raise Geumrye and darken the room, keeping her face clear above the dialogue. */
.shell.story.opening-scene .portrait img,.shell.story.opening-scene .scene-video{transform:translateY(-48px);filter:saturate(.82)}
.shell.story.opening-scene .portrait:after{background:radial-gradient(ellipse 47% 49% at 50% 31%,transparent 48%,#08070540 77%,#080705b5 100%),linear-gradient(180deg,transparent 0%,transparent 46%,#100e0b45 59%,#100e0be8 74%,#100e0b 90%)}
.shell.story.opening-scene .scene-content{padding-top:62svh}
.shell.story .scene-dialogue{font-size:27px;font-weight:600;text-shadow:0 2px 5px #000,0 0 24px #000c;color:#fff5e7}
.shell.story.opening-scene .scene-dialogue{font-size:clamp(21px,5.7vw,27px);line-height:1.6;font-weight:600}
.shell.story .scene-caption{font-size:14px;font-weight:500;color:#eadfcb;text-shadow:0 2px 6px #000}
.shell.story.opening-scene .scene-caption{font-size:clamp(11px,3vw,13px);font-weight:500}
.shell.story.choice-scene .portrait img{transform:translateY(-25px)}
.shell.story.choice-scene .portrait:after{background:radial-gradient(ellipse at 50% 32%,transparent 14%,#100e0b70 77%),linear-gradient(180deg,transparent 25%,#100e0b50 50%,#100e0bdc 76%,#100e0b 100%)}
@media(max-height:730px){.shell.story.opening-scene .portrait img,.shell.story.opening-scene .scene-video{transform:translateY(-65px)}.shell.story.opening-scene .scene-content{padding-top:59svh}.shell.story .scene-dialogue{font-size:25px}.shell.story.opening-scene .scene-dialogue{font-size:clamp(20px,5.7vw,26px)}}

/* A readable clue precedes the sealed detail in each topic. */
.chapter-stack .sealed-lines>div{display:block;padding:17px 0}
.chapter-stack .sealed-lines dt{font-family:var(--serif);color:#cab698;font-size:13px;margin-bottom:9px;white-space:normal}
.chapter-stack .sealed-lines dd{font-size:12px;line-height:1.8;overflow:hidden}
.chapter-stack .open-clue{color:#e9e0d3;font-size:12px;line-height:1.8;margin:0 0 7px;word-break:keep-all}
.chapter-stack .sealed-text{display:block;font-size:12px;line-height:1.8;opacity:.75}

/* Keep the night-arrival hook centered on exactly two lines. */
.shell.story.arrival-scene .scene-dialogue{font-size:clamp(19px,6.1vw,27px);text-align:center;line-height:1.5}
.shell.story.arrival-scene .scene-dialogue span{display:block;white-space:nowrap}

/* Labels stay legible while only the specific answer is concealed. */
.chapter-stack .preview-line{margin:0 0 9px;color:#e9e0d3;font-size:13px;line-height:1.9;word-break:keep-all}
.chapter-stack .preview-line:last-child{margin-bottom:0}
.chapter-stack .sealed-answer{display:inline-block;max-width:100%;vertical-align:baseline;filter:blur(2.4px);opacity:.9;user-select:none;pointer-events:none;margin:0 3px;color:#e9e0d3;line-height:1.9}
.chapter-stack .sealed-lines dd{overflow:visible}

/* Answer Geumrye's opening question with a distinct button. */
.shell.story.opening-scene{cursor:default}
.shell.story.opening-scene .scene-nav{border-top:0;margin-top:18px}
/* Muted silk-ribbon color and an inset book-cover rule echo Geumrye's hanbok. */
.shell.story.opening-scene .opening-answer,.shell.entry .entry-submit,.shell.result button[data-action="payment"],body:has(.shell.result) #payment-dialog .primary{position:relative;min-height:60px;padding:17px 24px;border:1px solid #8b7157;border-radius:0;background:linear-gradient(110deg,#4b2e32,#3a2328);color:#f1e4cc;font-family:var(--serif);font-size:17px;font-weight:500;letter-spacing:.08em;text-shadow:0 1px 2px #160b0e80;box-shadow:inset 0 0 0 4px #372329,inset 0 0 0 5px #9d805840;transition:background .18s,border-color .18s;justify-content:center;gap:14px}
.shell.story.opening-scene .opening-answer:hover,.shell.entry .entry-submit:hover,.shell.result button[data-action="payment"]:hover,body:has(.shell.result) #payment-dialog .primary:hover{background:linear-gradient(110deg,#58383c,#472c32);border-color:#b0936b}
.shell.story.opening-scene .opening-answer:active,.shell.entry .entry-submit:active,.shell.result button[data-action="payment"]:active,body:has(.shell.result) #payment-dialog .primary:active{background:#352126}
.shell.story.opening-scene .opening-answer:focus-visible,.shell.entry .entry-submit:focus-visible,.shell.result button[data-action="payment"]:focus-visible,body:has(.shell.result) #payment-dialog .primary:focus-visible{outline:2px solid #e3cda4;outline-offset:4px}

/* Story captions stay comfortably legible on a phone. */
.shell.story:not(.opening-scene) .scene-caption{font-size:16px;line-height:1.85;font-weight:500;color:#eadfcd;letter-spacing:-.025em;margin:19px 0 22px;text-shadow:0 2px 6px #000,0 0 18px #0008;word-break:keep-all}
.shell.story:not(.opening-scene) .scene-era{font-size:11px;line-height:1.7;color:#d6be94}
@media(max-width:360px){.shell.story:not(.opening-scene) .scene-caption{font-size:15px;line-height:1.8}}

/* v38: center text-only conversations, allowing short screens to scroll safely. */
.shell.entry .work{justify-content:center;align-items:center;min-height:calc(100svh - 62px)}
.shell.entry .entry-content{padding:32px 28px;margin:0 auto;width:100%;flex-shrink:0}
.shell.entry .profile-gender{margin-bottom:22px}
.shell.entry .field-label{color:#cbbca1;font-size:12px;margin-bottom:9px}
.shell.entry .intent-options .intro-choice{justify-content:center;text-align:center;position:relative;padding-inline:24px}

.shell.reading .portrait:after{background:linear-gradient(180deg,#08060430 0%,#08060442 24%,#0806049e 46%,#0806049e 57%,#08060450 73%,#080604b8 100%)}
.reading-scene-copy h1{font-weight:700;font-size:clamp(20px,5.6vw,25px);color:#fff8e9;text-shadow:0 2px 6px #000,0 0 20px #000}
@media(max-width:360px){.shell.entry .entry-content{padding:26px 22px}}
@media(max-height:650px){.shell.entry .entry-content{padding-top:24px;padding-bottom:24px}.shell.entry .entry-caption{margin:14px 0 24px}}

/* v39: a full-width birth date, calendar choice, then gender. */
.shell.entry [data-entry-step=birth] h1{text-align:left;font-size:26px;margin:0 0 35px;font-weight:600}
.shell.entry [data-entry-step=birth] .birth-date-field input{min-height:66px;font-size:22px;padding:16px 18px;border-radius:0;background:linear-gradient(115deg,#eee4cc,#dfd1b3)}
.shell.entry [data-entry-step=birth] .birth-date-field{margin-bottom:19px}
.calendar-options{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.calendar-options button,.shell.entry [data-entry-step=birth] .gender-options button{min-height:56px;border:1px solid #b3a181;border-radius:0;background:linear-gradient(115deg,#eee4cc,#dfd1b3);color:#41362b;font-family:var(--serif);font-size:16px;padding:14px 8px}
.shell.entry [data-entry-step=birth] button[aria-pressed=true]{background:linear-gradient(110deg,#58383c,#3a2328);color:#f5e8cf;border-color:#b29471;box-shadow:inset 0 0 0 3px #39242a,inset 0 0 0 4px #b2947155}
.calendar-hint{font-size:12px;line-height:1.8;color:#c5b89f;margin:12px 0 0;word-break:keep-all}
.lunar-leap{display:flex;align-items:center;gap:8px;font-size:12px;color:#dbcbb1;margin-top:13px;min-height:32px}
.lunar-leap[hidden]{display:none}.lunar-leap input{width:17px;height:17px;accent-color:#79505a}
.shell.entry [data-entry-step=birth] .profile-gender{margin:28px 0 0}
.shell.entry [data-entry-step=birth] .entry-submit{margin-top:30px}
.name-bridge{font-family:var(--serif);font-size:15px;line-height:1.9;color:#ccb99d;margin:0 0 28px;word-break:keep-all}
@media(max-width:360px){.shell.entry [data-entry-step=birth] h1{font-size:23px;margin-bottom:28px}.calendar-hint,.shell.entry .field .hint{font-size:11px}.name-bridge{font-size:14px}}

/* v40: leave breathing room after the name question without extra helper copy. */
.shell.entry [data-entry-step=name] h1{margin-bottom:30px}

/* v41: a more legible brand in the compact header. */
.shell>.topbar .nav-brand,.shell.story.opening-scene>.topbar .nav-brand{font-size:16px;letter-spacing:.1em}
.nav-brand .brand-hanja{font-size:13px;letter-spacing:.12em;margin-left:8px}
@media(max-width:360px){.shell>.topbar .nav-brand,.shell.story.opening-scene>.topbar .nav-brand{font-size:15px}.nav-brand .brand-hanja{font-size:12px;margin-left:6px}}

/* v42: choices and calls to action keep only their text. */
.intro-choices .intro-choice{justify-content:center;text-align:center}

/* v43: the portrait leads; detailed previews open on request. */
.hon-seal{object-fit:contain;flex-shrink:0;display:inline-block}
.opening-scene .nav-brand{display:inline-flex;align-items:center;gap:0}
.brand-seal{width:25px;height:25px;margin-left:10px}
.shell.result .portrait-first{padding:26px 24px 150px}
.result-intro .chapter-label{margin:0;color:#b8a48c;font-size:12px}
.result-intro h1{font-size:clamp(18px,4.8vw,23px);font-weight:500;line-height:1.75;letter-spacing:-.035em;margin:14px 0 10px;word-break:keep-all}
.result-intro .keeper-sign{display:flex;justify-content:flex-end;align-items:center;gap:9px;margin:0 0 18px;font-size:13px;letter-spacing:.16em;color:#c2aa98}
.signature-seal{width:32px;height:32px}
.portrait-first .chapter-stack{margin-top:0;gap:38px}
.result-face{position:relative;margin:0 0 23px;overflow:hidden;background:#241d18;border:1px solid #665044;aspect-ratio:1.08}
.result-face>img{display:block;width:100%;height:100%;object-fit:cover;object-position:50% 28%;filter:blur(5px);opacity:.86;transform:scale(1.035)}
.result-face figcaption{position:absolute;inset:auto 0 0;padding:40px 12px 15px;background:linear-gradient(transparent,#100b09d9);font-size:12px;text-align:center;color:#ebddc9}
.portrait-first .chapter-heading{gap:12px;margin-bottom:16px;align-items:center}
.portrait-first .chapter-heading>span{font-size:20px}
.portrait-first .chapter-heading h2{font-size:20px;font-weight:500;line-height:1.5;margin:0;color:#eee5d8;letter-spacing:-.035em}
.open-traits{margin:0;padding:0}
.open-traits>div{display:grid;grid-template-columns:36px 1fr;gap:12px;margin:11px 0;font-size:13px;line-height:1.75}
.open-traits dt{color:#ad967f}.open-traits dd{margin:0;color:#e6ddcf;word-break:keep-all}
.record-details{margin-top:18px;border-top:1px solid #4b3d32;border-bottom:1px solid #4b3d32}
.record-details summary,.result-help summary{cursor:pointer;list-style:none;font-size:13px;color:#c6ae91;padding:15px 24px 15px 0;position:relative;line-height:1.65}
.record-details summary::-webkit-details-marker,.result-help summary::-webkit-details-marker{display:none}
.record-details summary::after,.result-help summary::after{content:'+';position:absolute;right:2px;font-family:var(--sans);font-size:17px;color:#af9275}
.record-details[open] summary::after,.result-help details[open] summary::after{content:'−'}
.record-details summary:focus-visible,.result-help summary:focus-visible{outline:2px solid #bda477;outline-offset:3px}
.record-details .sealed-lines{margin:0}.portrait-first .sealed-lines>div{padding:12px 0}
.shell.result .portrait-first .couple-window{height:190px;margin:0;overflow:hidden;border:1px solid #574336}
.shell.result .portrait-first .couple-window img{height:190px;width:100%;object-fit:cover}
.shell.result .portrait-first .couple-window .locked-cover>span{display:none}
.shell.result .portrait-first .couple-window .locked-cover{justify-content:flex-end;padding:18px 8px;background:linear-gradient(transparent 40%,#100b09a8)}
.shell.result .portrait-first .couple-window .locked-cover p{font-size:12px;margin:0}
.portrait-first .record-clue{font-size:14px;line-height:1.8;margin:15px 0 8px;color:#e7ddcf;word-break:keep-all}
.portrait-first .record-topics{font-family:var(--sans);font-size:11px;line-height:1.8;color:#a99988;margin:0}
.shell.result .portrait-first .notebook-ending{margin-top:40px;padding-top:28px;text-align:left}
.shell.result .portrait-first .notebook-ending h2{font-size:22px;margin:0 0 18px}
.unlock-list{list-style:none;padding:0;margin:0 0 22px;color:#d6c8b8;font-size:14px;line-height:2.2}
.unlock-list li::before{content:'·';color:#bc956b;margin-right:10px}
.shell.result .portrait-first .notebook-ending .primary{margin-top:0}
.result-help{margin-top:24px;border-top:1px solid #3f342c}.result-help details{border-bottom:1px solid #3f342c}
.result-help p{font-family:var(--sans);font-size:12px;line-height:1.85;color:#aa9d8e;margin:0 0 17px;word-break:keep-all}
.shell.result .portrait-first .sample-note{font-size:10px;line-height:1.8;margin-top:22px;text-align:left;color:#a59888}
.shell.result .portrait-first .edit-link{margin-top:14px;font-size:12px}
.shell.result .purchase-bar{padding:10px 20px max(13px,env(safe-area-inset-bottom))}
.shell.result .purchase-bar .purchase-info{margin-bottom:7px;font-size:9px}
.shell.result .purchase-bar button[data-action="payment"]{min-height:53px;font-size:16px;padding:14px 16px}
@media(max-width:360px){.shell.result .portrait-first{padding:22px 20px 145px}.result-intro h1{font-size:18px}.portrait-first .chapter-heading h2{font-size:18px}.open-traits>div{font-size:12px}}

/* v44: always-visible concise previews, with a consistent square image. */
.shell.result .portrait-first .result-face,
.shell.result .portrait-first .couple-window{width:100%;height:auto;aspect-ratio:1 / 1}
.shell.result .portrait-first .couple-window .blurred-content{position:absolute;inset:0;height:100%}
.shell.result .portrait-first .couple-window img{height:100%;width:100%;object-fit:cover}
.shell.result .portrait-first .result-face>img{position:absolute;inset:0;height:100%;width:100%}
.portrait-first .sealed-lines{margin:16px 0 0}
.portrait-first .sealed-lines>div{padding:14px 0;border-top:1px solid #46392e}
.portrait-first .sealed-lines dt{font-size:12px;margin-bottom:7px;color:#bfa78a}
.portrait-first .sealed-lines .preview-line{font-size:13px;line-height:1.8;margin:0;letter-spacing:-.025em}
.portrait-first .sealed-lines .sealed-answer{line-height:1.8;margin:0 2px}
@media(max-width:360px){.portrait-first .sealed-lines .preview-line{font-size:12px}}

/* v45: seal-led wordmark, chapter titles before photos, readable mobile copy. */
.brand-seal{margin-left:0;margin-right:10px}
.shell.result .result-intro .chapter-label{font-size:14px;color:#c7b49a}
.shell.result .result-intro h1{font-size:22px;line-height:1.65;margin:14px 0 12px}
.shell.result .result-intro .keeper-sign{font-size:14px;margin-bottom:25px}
.shell.result .portrait-first .chapter-heading{margin-bottom:18px}
.shell.result .portrait-first .chapter-heading h2{font-size:23px;font-weight:500}
.shell.result .portrait-first .chapter-heading>span{font-size:22px}
.shell.result .portrait-first .result-face{margin-bottom:0}
.portrait-remark{border:0;margin:21px 0 20px;padding:0 0 0 15px;border-left:2px solid #7d5b51}
.portrait-remark p{font-family:var(--serif);font-size:18px;line-height:1.75;color:#e9d8bf;margin:0;word-break:keep-all}
.shell.result .portrait-first .sealed-lines dt{font-size:15px;color:#c9b297;margin-bottom:9px}
.shell.result .portrait-first .sealed-lines .preview-line{font-size:16px;line-height:1.75;letter-spacing:-.04em;color:#ece2d5}
.shell.result .portrait-first .sealed-lines .sealed-answer{line-height:1.75;margin:0 2px}
.shell.result .portrait-first .sealed-lines>div{padding:17px 0}
.shell.result .result-face figcaption,.shell.result .portrait-first .couple-window .locked-cover p{font-size:14px}
.shell.result .unlock-list{font-size:16px;line-height:2.1}
.shell.result .portrait-first .sample-note,.shell.result .portrait-first .privacy{font-size:12px;line-height:1.8}
.shell.result .portrait-first .edit-link{font-size:14px}
.shell.result .purchase-bar .purchase-info{font-size:11px;line-height:1.6}
@media(max-width:360px){.shell.result .result-intro h1{font-size:21px}.shell.result .portrait-first .chapter-heading h2{font-size:21px}.shell.result .portrait-first .sealed-lines .preview-line{font-size:15px}.portrait-remark p{font-size:17px}}

/* v46 — four chapters, a narrated reveal as each chapter comes into view. */
.shell.result .chapter-lead{font-family:var(--serif);font-size:18px;line-height:1.8;color:#d6c3a8;margin:0 0 22px;letter-spacing:-.035em}
.shell.result .closing-dialogue p{font-size:17px;line-height:1.9;color:#d8cbb8;margin:0 0 26px;word-break:keep-all}
.shell.result .closing-dialogue .closing-question{color:#f0e3ce;font-size:20px;margin:30px 0}
.shell.result .closing-dialogue h2{line-height:1.7;word-break:keep-all}
.paced-result .reveal-chapter:not(.is-unfolding)>*,.paced-result .reveal-chapter:not(.is-unfolding) .sealed-lines>div{opacity:0}
.paced-result .is-unfolding>.chapter-heading,.paced-result .is-unfolding>.chapter-lead{animation:chapter-appear .4s ease both}
.paced-result .is-unfolding>.result-face,.paced-result .is-unfolding>.locked-window{animation:chapter-appear .5s .8s ease both}
.paced-result .is-unfolding>.portrait-remark{animation:chapter-appear .9s 1.5s ease both}
.paced-result .is-unfolding .sealed-lines>div{animation:chapter-appear .45s 1.65s ease both}
.paced-result .is-unfolding .sealed-lines>div:nth-child(2){animation-delay:1.65s}
.paced-result .is-unfolding .sealed-lines>div:nth-child(3){animation-delay:1.65s}
.paced-result .is-unfolding>.closing-dialogue{animation:chapter-appear 1s ease both}
.paced-result .notebook-ending.is-unfolding>.primary,.paced-result .notebook-ending.is-unfolding>.privacy{animation:chapter-appear .9s 1.6s ease both}
@keyframes chapter-appear{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}
@media(prefers-reduced-motion:reduce){.paced-result .reveal-chapter>*,.paced-result .reveal-chapter .sealed-lines>div{opacity:1!important;animation:none!important;transform:none!important}}

/* v47 — one chapter per page, paced content followed by an explicit next step. */
.shell.result .paged-result{min-height:100svh;padding:28px 24px 40px}
.result-page-meta{display:flex;justify-content:space-between;gap:14px;font-size:13px;color:#bba58d;margin-bottom:26px;letter-spacing:.04em}
.shell.result .paged-result .chapter-heading{margin-bottom:20px}
.shell.result .paged-result .chapter-heading h1{font-size:23px;font-weight:500;line-height:1.5;letter-spacing:-.035em;color:#eee5d8;margin:0;outline:none}
.shell.result .paged-result .chapter-lead{font-size:20px;line-height:1.8;margin:0;color:#eee0cb;word-break:keep-all}
.page-keeper{display:flex;align-items:center;justify-content:flex-end;gap:10px;font-size:13px;color:#bba58d;margin:16px 0 24px}
.page-keeper .signature-seal{width:26px;height:26px}
.paced-result .is-unfolding>.page-keeper{animation:chapter-appear .4s ease both}
.shell.result .paged-result .chapter-controls{margin-top:28px;display:flex;flex-direction:column;gap:14px}
.shell.result .paged-result .chapter-controls .primary{width:100%;min-height:56px;margin:0;font-size:17px;letter-spacing:0;white-space:normal}
.shell.result .paged-result .previous-chapter{align-self:center;font-size:14px;padding:10px 18px;color:#baa58c}
.paced-result .chapter-controls{animation:chapter-appear .3s 1.8s ease both}
.paced-result .page-ending{animation:chapter-appear .45s 2s ease both}
.paced-result .page-ending+.chapter-controls{animation-delay:1.8s}
.shell.result .paged-result .sample-note{margin:22px 0 0}
.visited-result *:not(.activity-dot), .visited-result .is-unfolding>*, .instant-result *:not(.activity-dot){animation:none!important}
@media(max-width:360px){.shell.result .paged-result{padding:24px 20px 36px}.shell.result .paged-result .chapter-heading h1{font-size:21px}.shell.result .paged-result .chapter-lead{font-size:19px}.shell.result .paged-result .chapter-controls .primary{font-size:16px}}
@media(prefers-reduced-motion:reduce){.paged-result *{animation:none!important}}

/* v48 — the seal belongs to the preview image, without a separate signature. */
.shell.result .paged-result .chapter-lead{margin-bottom:26px}
.shell.result .paged-result .image-seal{position:absolute;top:14px;right:14px;z-index:3;display:block;width:42px;height:42px;padding:3px;box-sizing:border-box;background:#f3e5cbe8;border:1px solid #c6ad8f;transform:rotate(-3deg);pointer-events:none;box-shadow:0 2px 8px #100a0533}
.shell.result .paged-result .image-seal img{display:block;position:static;width:100%;height:100%;object-fit:contain;filter:none;opacity:1;transform:none}

/* v49 — baked blurred previews, direct ink seal, and a persistent mobile CTA. */
.shell.result .paged-result .image-seal{background:transparent;border:0;box-shadow:none;padding:0;width:40px;height:40px;opacity:.94}
.shell.result .paged-result .result-face>img{filter:none;transform:none;opacity:1}
.shell.result .paged-result .blurred-content{filter:none;transform:none;opacity:1}
.shell.result .paged-result .result-face,.shell.result .paged-result .locked-window,.shell.result .paged-result .result-face img,.shell.result .paged-result .locked-window img{user-select:none;-webkit-user-select:none;-webkit-touch-callout:none;-webkit-user-drag:none}
.shell.result .paged-result .result-face img,.shell.result .paged-result .locked-window img{pointer-events:none}
.shell.result .paged-result .sealed-answer{filter:blur(3.2px);opacity:.9;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}
.shell.result .paged-result{padding-bottom:calc(176px + env(safe-area-inset-bottom))}
.shell.result .paged-result .chapter-controls{position:fixed;z-index:30;left:0;right:0;bottom:0;width:100%;max-width:480px;margin:0 auto;gap:6px;padding:15px 24px calc(12px + env(safe-area-inset-bottom));box-sizing:border-box;background:#120f0af5;border-top:1px solid #5c443a;box-shadow:0 -12px 28px #0c0a0866;backdrop-filter:blur(12px)}
.shell.result .paged-result .chapter-controls .previous-chapter{padding:7px 16px;min-height:32px}
.shell.result .paged-result .purchase-summary{border-top:1px solid #5d463b;margin:32px 0 0;padding:26px 0 8px;color:#e9dece}
.purchase-summary h2{font-size:22px;font-weight:500;line-height:1.5;margin:0 0 18px}
.purchase-summary ul{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:1fr 1fr;gap:12px 14px;font-size:15px;line-height:1.7;color:#cbb99e}
.purchase-total{display:flex;align-items:baseline;justify-content:space-between;gap:12px;border-top:1px solid #44382b;padding-top:22px;margin:24px 0 0}
.purchase-total span{font-size:15px}.purchase-total strong{font-size:30px;font-weight:500;color:#f4e8d5;letter-spacing:-.03em}
.paced-result .purchase-summary{animation:chapter-appear .45s 2s ease both}
.paced-result:has(.purchase-summary) .chapter-controls{animation-delay:1.8s}
@media(max-width:360px){.shell.result .paged-result .chapter-controls{padding-left:20px;padding-right:20px}.purchase-summary ul{font-size:14px}.purchase-total strong{font-size:28px}}

/* v52 — keep extra disclosed rows in the chapter's reading sequence. */
.paced-result .is-unfolding .sealed-lines>div:nth-child(4){animation-delay:1.65s}
.paced-result .is-unfolding .sealed-lines>div:nth-child(5){animation-delay:1.65s}

/* v54 — dialogue and a fully readable interpretation before each preview. */
.shell.result .paged-result .chapter-lead{margin-bottom:14px}
.shell.result .paged-result .chapter-insight{font-size:17px;line-height:1.8;color:#e0c7a2;margin:0 0 26px;word-break:keep-all}
.shell.result .paged-result .chapter-afterword{font-size:17px;line-height:1.8;color:#e0c7a2;margin:24px 0 0;word-break:keep-all}
.paced-result .is-unfolding>.chapter-insight{animation:chapter-appear .4s 1.4s ease both}
.paced-result .is-unfolding>.chapter-afterword{animation:chapter-appear .45s 1.65s ease both}

/* v56: each locked atlas contains four consistent scenes of the same person. */
.shell.result .paged-result .identity-atlas{position:relative;overflow:hidden;aspect-ratio:1;margin:0;width:100%;height:auto}
.shell.result .paged-result .identity-atlas>img{position:absolute;inset:auto;left:calc(-100% * var(--atlas-x));top:calc(-100% * var(--atlas-y));width:200%;height:200%;max-width:none;object-fit:fill;filter:none;transform:none;opacity:1;pointer-events:none;user-select:none;-webkit-user-drag:none}

/* v58 — result navigation moves above the chapter; one bottom CTA. */
.result-page-meta{align-items:center;gap:12px;min-height:44px;margin-bottom:24px}
.result-page-meta .result-back{display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;margin-left:-10px;padding:10px;background:transparent;color:#d3bfa1;border:0}
.result-back svg{width:22px;height:22px}
.result-page-meta .result-brand{font-family:var(--serif);font-size:21px;letter-spacing:.08em;color:#eadcc5;white-space:nowrap}
.result-page-meta .result-brand span{font-size:14px;margin-left:8px;color:#bba58d;letter-spacing:.1em}
.result-page-meta .result-page-count{margin-left:auto;font-size:12px;white-space:nowrap}
.result-page-meta .result-back:focus-visible{outline:2px solid #c6a584;outline-offset:1px}

/* v62 — a brief book interlude, then voice → image → interpretation. */
.reading-scene-copy h1{display:grid}
.reading-scene-copy h1>span{grid-area:1 / 1}
.reading-opening{animation:reading-opening 6.5s linear both}
.reading-bridge{animation:reading-bridge 6.5s linear both}
@keyframes reading-opening{0%,56%{opacity:1}64%,100%{opacity:0}}
@keyframes reading-bridge{0%,64%{opacity:0}72%,100%{opacity:1}}
.shell.result .paged-result .chapter-insight{margin:22px 0 18px}
@media(prefers-reduced-motion:reduce){
  .reading-scene-copy .reading-opening{animation:none;opacity:0}
  .reading-scene-copy .reading-bridge{animation:none;opacity:1}
}

/* v63 — keep the complete opening of a chapter above the mobile CTA. */
@media(max-width:600px){
 .shell.result .paged-result{padding-top:12px;padding-left:22px;padding-right:22px}
 .shell.result .paged-result .result-page-meta{margin-bottom:10px}
 .shell.result .paged-result .chapter-heading{margin-bottom:10px}
 .shell.result .paged-result .chapter-heading h1{font-size:21px;line-height:1.45}
 .shell.result .paged-result .chapter-lead{font-size:18px;line-height:1.65;margin-bottom:12px}
 .shell.result .paged-result .identity-atlas{width:min(100%,360px,40svh);margin-inline:auto}
 .shell.result .paged-result .chapter-insight{font-size:17px;line-height:1.65;margin:14px 0 18px}
 .shell.result .paged-result .image-seal{width:32px;height:32px;top:10px;right:10px}
}

/* One quiet room carries the conversation through questions and personal details. */
.shell.entry{position:relative;isolation:isolate;overflow:hidden;background:#15110d}
.shell.entry::before{content:"";position:absolute;inset:-12px;z-index:-1;background:linear-gradient(#100d0980,#100d098c),url("assets/geumrye-question-room-v69.webp") center center/cover no-repeat;filter:blur(5px);pointer-events:none}
.shell.entry .topbar{background:#13100ce8}
.shell.entry .entry-content h1,.shell.entry .name-bridge{text-shadow:0 2px 12px #000a}
.shell.entry .intent-options .intro-choice{background:#241c14e8}
.shell.result .paged-result .companion-scene>img{inset:0;width:100%;height:100%;object-fit:cover}

/* Keep the lit lattice and lamp in frame on tall phones instead of cropping to the bare wall. */
.shell.entry::before{background-position:left center;filter:blur(2px);background-image:linear-gradient(#100d0952,#100d0966),url("assets/geumrye-question-room-v69.webp")}
/* Stronger book typography, including existing chapter and purchase copy. */
.shell.entry h1,.shell.story .scene-dialogue,.shell.result .paged-result .chapter-heading h1{font-weight:700}
.shell.entry .name-bridge,.shell.entry .entry-caption,.shell.story .scene-caption{font-weight:600}
.shell.result .paged-result :is(.chapter-lead,.chapter-insight,.chapter-afterword,.preview-line,.closing-dialogue p,.purchase-summary li){font-weight:600}
.shell.result .paged-result :is(.closing-dialogue h2,.purchase-summary h2,.purchase-total strong){font-weight:700}
.shell.result .paged-result .sealed-lines dt{font-weight:600;color:#d9c2a2}
.shell.result .paged-result .closing-dialogue h2{font-size:24px;color:#f5e8d2}
.shell.result .paged-result .closing-dialogue p{font-size:18px;color:#e7d8c1}
.shell.result .paged-result .full-story-invitation{margin:36px 0 0;padding:36px 0 0;border-top:1px solid #5d463b;font-family:var(--serif);color:#eadcc6}
.invitation-label{font-size:14px;font-weight:600;letter-spacing:.08em;color:#c6a976;margin-bottom:15px}
.full-story-invitation h2{font-size:27px;font-weight:700;line-height:1.6;letter-spacing:-.04em;word-break:keep-all;color:#fff0d7}
.invitation-intro{font-size:18px;font-weight:600;line-height:1.9;margin:22px 0 28px;color:#e6d5bb}
.invitation-intro strong{color:#f6e4c4;font-weight:700}
.full-story-list{list-style:none;margin:0;padding:0}
.full-story-list li{display:flex;gap:16px;padding:23px 0;border-top:1px solid #46372b}
.story-number{padding-top:4px;color:#b28e5c;font-size:14px;flex:0 0 24px}
.full-story-list h3{font-size:20px;font-weight:700;line-height:1.6;color:#f2e2c8;margin-bottom:9px}
.full-story-list p{font-size:17px;font-weight:600;line-height:1.85;color:#d9c7ae}
.document-promise{display:flex;gap:16px;align-items:flex-start;margin-top:20px;padding:24px 18px;background:#2b1e1b;border:1px solid #5c3e3a}
.document-promise img{flex:0 0 38px;object-fit:contain}
.document-promise strong{display:block;font-size:18px;font-weight:700;line-height:1.6;margin-bottom:10px;color:#f0dec4}
.document-promise span{display:block;font-size:16px;font-weight:600;line-height:1.8;color:#d6bfa0}
@media(max-width:360px){.full-story-invitation h2{font-size:24px}.full-story-list h3{font-size:19px}.full-story-list p{font-size:16px}.full-story-list li{gap:11px}}

/* v71 — quieter text, a dimmer room, and more readable actions. */
.shell.entry::before{background-image:linear-gradient(#100d0980,#100d0994),url("assets/geumrye-question-room-v69.webp")}
.shell.entry .entry-content h1,.shell.entry .name-bridge{ text-shadow:none }
.shell.story .scene-dialogue,.shell.story .scene-caption,.shell.story:not(.opening-scene) .scene-caption,.reading-scene-copy h1{ text-shadow:0 1px 3px #0007 }
.shell .intro-choice{font-size:15px;font-weight:500}
.shell .entry-submit,.shell .opening-answer,.shell.result .primary{font-size:18px;text-shadow:none}

/* v72 — let the personal opening land before revealing the first face. */
.paced-result.personal-opening .is-unfolding>.result-face{animation-delay:1.6s}
.paced-result.personal-opening .is-unfolding>.chapter-insight{animation-delay:2.2s}
.paced-result.personal-opening .is-unfolding .sealed-lines>div,.paced-result.personal-opening .is-unfolding>.chapter-afterword{animation-delay:2.5s}
.shell.result .paged-result .dating-reading-note{margin:20px 0 26px}
.paced-result.personal-opening .is-unfolding>.dating-reading-note{animation-delay:.2s}
.paced-result.personal-opening .chapter-controls{animation-delay:2.7s}

/* v73 — compensate for a full-frame source versus enlarged atlas quadrants.
   The source itself is already blurred; the original is never sent. */
.shell.result .paged-result .companion-scene{container-type:inline-size}
.shell.result .paged-result .companion-scene>img{filter:blur(1cqw);transform:scale(1.04)}

/* Independent, already blurred files; never enlarge or crop an old four-panel atlas. */
.shell.result .paged-result .single-scene>img{inset:0;width:100%;height:100%;object-fit:cover;filter:none;transform:none}

/* v77 — a quiet gilt edge and dark mount, only around blurred preview photographs. */
.shell.result .paged-result .identity-atlas{
 border:1px solid #b4935e;
 background:#2c241c;
 box-sizing:border-box;
 border-radius:0;
}
.shell.result .paged-result .identity-atlas::after{
 content:"";position:absolute;inset:0;z-index:2;
 border:6px solid #2c241c;
 box-shadow:inset 0 0 0 1px #d0b27b38;
 pointer-events:none;
}
.shell.result .paged-result .image-seal{top:17px;right:17px}
@media(max-width:600px){
 .shell.result .paged-result .identity-atlas::after{border-width:5px}
 .shell.result .paged-result .image-seal{top:14px;right:14px}
}

/* v79: calendar and progressively formatted birth date stay on one mobile row. */
.shell.entry .birth-inline{display:flex;align-items:center;gap:12px;min-width:0}
.shell.entry .birth-inline .calendar-options{display:flex;gap:0;flex:0 0 auto;border:1px solid #9f8966}
.shell.entry .birth-inline .calendar-options button{min-height:44px;width:60px;padding:0;border:0;background:#211a12;color:#c8b99d;font-size:13px;box-shadow:none}
.shell.entry .birth-inline .calendar-options button+button{border-left:1px solid #9f8966}
.shell.entry .birth-inline .calendar-options button[aria-pressed=true]{background:#e9ddc3;color:#342f25;box-shadow:none}
.shell.entry .birth-input-wrap{position:relative;flex:1;min-width:0}
.shell.entry [data-entry-step=birth] .birth-input-wrap input{min-height:52px;padding:0 3px;border:0;border-bottom:1px solid #9f8966;background:transparent;color:#f0e4cc;font-size:16px;line-height:52px;letter-spacing:0;font-variant-numeric:tabular-nums}
.shell.entry .birth-input-wrap input::placeholder{color:transparent}
.shell.entry .birth-guide{position:absolute;left:3px;top:0;pointer-events:none;white-space:pre;font-family:var(--serif);font-size:16px;line-height:52px;letter-spacing:0;font-variant-numeric:tabular-nums;color:#998b72}
.shell.entry .birth-guide-entered{visibility:hidden}
@media(max-width:360px){.shell.entry .birth-inline{gap:8px}.shell.entry .birth-inline .calendar-options button{width:46px;font-size:12px}.shell.entry .birth-guide,.shell.entry [data-entry-step=birth] .birth-input-wrap input{font-size:16px}}
.shell.entry .birth-date-field .lunar-leap{display:flex;align-items:center;gap:8px;margin:13px 0 0;min-height:32px;font-size:12px}
.shell.entry .birth-date-field .lunar-leap[hidden]{display:none}
.shell.entry .birth-date-field .lunar-leap input[type=checkbox]{appearance:auto;flex:0 0 18px;width:18px;height:18px;min-height:18px;margin:0;padding:0;border:0;background:none;border-radius:0;accent-color:#79505a}

/* v80: regular price and the final discounted amount are visible together. */
.purchase-pricing{border-top:1px solid #44382b;padding-top:20px;margin-top:24px}
.purchase-original{display:flex;align-items:baseline;justify-content:space-between;gap:12px;color:#b7a78f;font-size:15px}
.purchase-original del{font-family:var(--serif);font-size:19px;text-decoration-thickness:1px}
.purchase-pricing .purchase-total{border-top:0;padding-top:0;margin:10px 0 0}
#payment-dialog .payment-original{font-size:15px;margin:0 0 8px}
#payment-dialog .payment-original del{margin-left:8px}
#payment-dialog .payment-price-label{display:block;font-family:var(--sans);font-size:13px;margin-bottom:4px}

/* v82: rounded discount immediately beside the price. */
.purchase-pricing .purchase-total{display:block}
.purchase-total .purchase-price-label{display:block;font-size:13px;color:#b7a78f;margin-bottom:6px}
.purchase-total .purchase-price-line{display:flex;align-items:baseline;justify-content:flex-end;gap:10px;white-space:nowrap}
.purchase-total .discount-rate{font-family:var(--serif);font-size:20px;color:#dda77c;font-weight:700}
#payment-dialog .payment-price-line{display:flex;justify-content:center;align-items:baseline;gap:10px;white-space:nowrap}
#payment-dialog .payment-discount{font-family:var(--sans);font-size:17px;font-weight:700;color:#dda77c}
@media(max-width:360px){.purchase-total .discount-rate{font-size:18px}}

/* Small mobile previews retain readable copy above the fixed chapter button. */
@media(max-width:600px) and (max-height:650px){
 .shell.result .paged-result{padding-top:8px}
 .shell.result .paged-result .result-page-meta{margin-bottom:6px}
 .shell.result .paged-result .chapter-heading{margin-bottom:6px}
 .shell.result .paged-result .chapter-heading h1{font-size:20px;line-height:1.4}
 .shell.result .paged-result .chapter-lead{font-size:17px;line-height:1.55;margin-bottom:8px}
 .shell.result .paged-result .chapter-insight{line-height:1.6;margin-top:10px}
}
@media(max-width:600px){
 .shell.result .purchase-summary ul{font-size:16px;line-height:1.7}
 #payment-dialog{box-sizing:border-box;width:calc(100% - 24px);max-width:440px;max-height:calc(100dvh - 24px);padding:24px 20px;overflow-y:auto;overscroll-behavior:contain}
 #payment-dialog .dialog-close{width:44px;height:44px;min-width:44px;min-height:44px;top:8px;right:8px}
 #payment-dialog #payment-title{font-size:26px}
 #payment-dialog .payment-price-line{flex-wrap:wrap;gap:4px 10px}
 #payment-dialog :is(.eyebrow,.dialog-note,#checkout-notice){font-size:14px;line-height:1.7}
 #payment-dialog #order-link{min-height:44px;display:flex!important;align-items:center;justify-content:center}
 #payment-dialog #order-link[hidden]{display:none!important}
 #payment-dialog .text-button{min-height:44px;font-size:14px}
}

/* Explicit gender choice: both options begin neutral; selection uses a check as well as colour. */
.shell.entry [data-entry-step=birth] .gender-options button{display:flex;align-items:center;justify-content:center;gap:9px;background:rgba(29,23,18,.78);color:#e4d6bc;border:1px solid #79674e;box-shadow:none;font-weight:500}
.shell.entry [data-entry-step=birth] .gender-options button[aria-pressed=true]{background:#e8d9b9;color:#322819;border-color:#e8d9b9;box-shadow:inset 0 0 0 3px #e8d9b9,inset 0 0 0 4px #a78b60;font-weight:700}
.gender-check{width:16px;height:16px;box-sizing:border-box;border:1px solid #a7926c;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;flex:none}
[aria-pressed=true]>.gender-check{background:#58432a;border-color:#58432a;color:#fff5e0}
[aria-pressed=true]>.gender-check:after{content:'✓';font-family:var(--sans);font-size:12px;font-weight:700;line-height:1}
.shell.entry .gender-options button:focus-visible{outline:2px solid #e8d9b9;outline-offset:4px}
.shell.entry .gender-hint{margin:10px 0 0;color:#c5b89f;font-size:12px;line-height:1.6}

/* Mobile book scenes: reserve the copy's own row, independent of the film. */
@media(max-width:700px){
  .shell.story.opening-scene{
    display:grid;grid-template-columns:minmax(0,1fr);
    grid-template-rows:60px minmax(200px,1fr) auto;
    height:100svh;min-height:480px;
  }
  .shell.story.opening-scene>.topbar{
    position:relative;inset:auto;grid-row:1;height:60px;
  }
  .shell.story.opening-scene>.portrait{
    position:relative;inset:auto;grid-row:2;min-height:0;height:100%;max-height:none;
  }
  /* Fill the mobile width; crop spare background around the face, hands and book. */
  .shell.story.opening-scene .portrait img,
  .shell.story.opening-scene .portrait .scene-video{
    position:absolute;inset:0;display:block;width:100%;height:100%;
    object-fit:cover;object-position:50% 38%;transform:none;
  }
  .shell.story.opening-scene .portrait:after{
    background:linear-gradient(180deg,#100e0b08,transparent 65%,#100e0b18 85%,#100e0b 100%);
  }
  .shell.story.opening-scene>.work{
    position:relative;grid-row:3;min-height:0;background:#100e0b;
  }
  .shell.story.opening-scene .scene-content{
    padding:12px 28px max(20px,env(safe-area-inset-bottom));
  }
  .shell.story.opening-scene .scene-dialogue{
    font-size:clamp(18px,5.7vw,26px);line-height:1.5;
  }
  .shell.story.opening-scene .scene-nav{margin-top:16px}
  .shell.story.opening-scene .opening-answer{min-height:56px;padding:15px 20px}
  .shell.reading .reading-scene-copy h1{top:32%}
}
@media(max-width:360px){
  .shell.story.opening-scene .scene-content{padding-inline:22px}
}

/* Give each mobile introduction an image row and a separate, content-sized reading row. */
@media(max-width:700px){
  .shell.story.sp-app-shell:is(.arrival-scene,.consultation-scene){
    display:grid;grid-template-columns:minmax(0,1fr);
    grid-template-rows:60px minmax(180px,1fr) auto;
    height:100svh;min-height:480px;
  }
  .shell.story.sp-app-shell:is(.arrival-scene,.consultation-scene)>.topbar{
    position:relative;inset:auto;grid-row:1;height:60px;
  }
  .shell.story.sp-app-shell:is(.arrival-scene,.consultation-scene)>.portrait{
    position:relative;inset:auto;grid-row:2;height:100%;min-height:0;max-height:none;
  }
  .shell.story.sp-app-shell:is(.arrival-scene,.consultation-scene) .portrait :is(img,video){
    position:absolute;inset:0;display:block;width:100%;height:100%;
    object-fit:cover;object-position:50% 62%;transform:none;
  }
  .shell.story.sp-app-shell.arrival-scene .portrait :is(img,video){object-position:50% 85%}
  .shell.story.sp-app-shell:is(.arrival-scene,.consultation-scene) .portrait:after{
    background:linear-gradient(180deg,#100e0b08,transparent 70%,#100e0b28 90%,#100e0b 100%);
  }
  .shell.story.sp-app-shell:is(.arrival-scene,.consultation-scene)>.work{
    position:relative;grid-row:3;min-height:0;background:#100e0b;
  }
  .shell.story.sp-app-shell:is(.arrival-scene,.consultation-scene) .scene-content{
    padding:14px 28px max(16px,env(safe-area-inset-bottom));
  }
  .shell.story.sp-app-shell:is(.arrival-scene,.consultation-scene) .scene-dialogue{
    font-size:clamp(18px,5.7vw,25px);line-height:1.5;
  }
  .shell.story.sp-app-shell:is(.arrival-scene,.consultation-scene) .scene-dialogue span{margin-bottom:3px}
  .shell.story.sp-app-shell:is(.arrival-scene,.consultation-scene) .scene-caption{
    font-size:15px;line-height:1.75;margin:12px 0 14px;
  }
  .shell.story.sp-app-shell:is(.arrival-scene,.consultation-scene) .scene-nav{margin-top:0}
  .shell.story.sp-app-shell:is(.arrival-scene,.consultation-scene) .next-scene{
    min-height:44px;padding:12px 0;
  }
}
@media(max-width:360px){
  .shell.story.sp-app-shell:is(.arrival-scene,.consultation-scene) .scene-content{padding-inline:22px}
  .shell.story.sp-app-shell:is(.arrival-scene,.consultation-scene) .scene-caption{font-size:14px}
}
@media(max-width:700px){
  .shell.story.sp-app-shell.consultation-scene.remembering-scene .portrait img{object-position:50% 40%}
}
@media(max-width:700px) and (max-height:650px){
  .shell.story.sp-app-shell:is(.arrival-scene,.consultation-scene) .scene-content{
    padding-top:10px;padding-bottom:max(12px,env(safe-area-inset-bottom));
  }
  .shell.story.sp-app-shell:is(.arrival-scene,.consultation-scene) .scene-dialogue{line-height:1.4}
  .shell.story.sp-app-shell:is(.arrival-scene,.consultation-scene) .scene-caption{
    line-height:1.65;margin:8px 0 10px;
  }
}

/* Full-width photographs with a reading area that ends above the mobile controls. */
@media(max-width:600px){
 .shell.result .paged-result{height:calc(100dvh - var(--chapter-controls-height,84px));min-height:0;margin-block:0;padding-bottom:28px;overflow-y:auto;overflow-x:hidden;overscroll-behavior-y:contain;scroll-padding-block:16px}
 .shell.result .paged-result .identity-atlas{width:min(100%,360px);margin-inline:auto}
}

/* Opening attribution stays in the copy row, above the dialogue. */
.shell.story.opening-scene .scene-speaker{margin:0 0 8px;font-family:var(--serif);font-size:15px;font-weight:500;line-height:1.5;letter-spacing:.09em;color:#c6ad7e;text-align:center;text-shadow:none}
@media(max-width:700px) and (max-height:650px){
 .shell.story.opening-scene{grid-template-rows:60px minmax(140px,1fr) auto}
 .shell.story.opening-scene .scene-content{padding-top:8px;padding-bottom:max(12px,env(safe-area-inset-bottom))}
 .shell.story.opening-scene .scene-speaker{margin-bottom:6px}
 .shell.story.opening-scene .scene-nav{margin-top:12px}
 .shell.story.opening-scene .opening-answer{min-height:48px;padding:12px 20px}
}

.sealed-lines .sealed-amount{display:inline-block;white-space:nowrap;width:5.5em;min-width:0;text-align:center}

/* Short preview teasers; full paid readings use their own presentation. */
.shell.result .portrait-first .sealed-lines .preview-line{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;max-height:3.5em}

/* Locked excerpts are already blurred server-side; do not send paid text. */
.shell.result .paged-result .sealed-ink{display:inline-block;vertical-align:-.38em;max-width:100%;object-fit:contain;margin:0 -2px;pointer-events:none;user-select:none}
.shell.result .paged-result .purchase-summary .purchase-pricing{border-top:0;padding-top:0;margin-top:0}
.purchase-saving{display:flex;justify-content:space-between;align-items:baseline;gap:12px;margin:12px 0;color:#cbb99e;font-size:15px}
.purchase-saving span:last-child{font-size:18px}

/* Personal invitation separates the contents from the price without covering controls. */
.shell.result .paged-result .purchase-invitation{margin:0;padding:0 0 8px;border-top:0;text-align:center;font-family:var(--serif);color:#e4d6bd}
.shell.result .paged-result .purchase-invitation p{font-size:17px;font-weight:600;line-height:1.9;margin:0 0 24px;word-break:keep-all}
.shell.result .paged-result .purchase-invitation .purchase-invitation-age{font-size:20px;line-height:1.6;margin-bottom:12px;color:#d2b37e}
.shell.result .paged-result .purchase-invitation strong{font-weight:700;color:#f0e3c9}
@media(max-width:360px){.shell.result .paged-result .purchase-invitation p{font-size:16px}.shell.result .paged-result .purchase-invitation .purchase-invitation-age{font-size:19px}}

/* The offered book fades into the reading instead of sitting in a separate card. */
.shell.result .paged-result .purchase-book{position:relative;margin:12px -24px 0;isolation:isolate;overflow:hidden}
.shell.result .paged-result .purchase-book img{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:contain}
.shell.result .paged-result .purchase-book::after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(180deg,#0c0a08 0%,#0c0a0800 23%,#0c0a0800 67%,#0c0a08 100%),linear-gradient(90deg,#0c0a08 0%,#0c0a0800 12%,#0c0a0800 88%,#0c0a08 100%)}
@media(max-width:360px){.shell.result .paged-result .purchase-book{margin-inline:-20px}}

/* Purchase offer stays absent until the contents introduction is reached. */
.shell.result .paged-result .purchase-controls[hidden],.shell.result .purchase-activity[hidden]{display:none!important}
.shell.result .paged-result .purchase-controls{gap:10px;padding-top:12px}
.purchase-countdown{display:flex;align-items:center;justify-content:center;gap:7px;min-height:38px;padding:5px 8px;box-sizing:border-box;background:#211b18;border:1px solid #49352b;color:#e8d7bc;font-family:var(--serif);font-size:14px;line-height:1.4}
.purchase-countdown time{font-variant-numeric:tabular-nums;font-size:18px;font-weight:700;color:#dc9c77;min-width:46px}
.purchase-countdown small{font-family:var(--sans,sans-serif);font-size:10px;color:#b9a998;white-space:nowrap}
.countdown-clock{font-size:18px;color:#dc9c77}
.shell.result .purchase-activity{position:fixed;z-index:31;top:max(14px,env(safe-area-inset-top));left:50%;transform:translateX(-50%);display:flex;align-items:center;justify-content:center;gap:7px;width:max-content;max-width:calc(100vw - 28px);padding:10px 13px;box-sizing:border-box;border-radius:30px;border:1px solid #574038;background:#211819f5;box-shadow:0 4px 16px #0005;color:#f0e4d0;font-family:var(--serif);font-size:13px;line-height:1.45;pointer-events:none}
.purchase-activity b{color:#dca387;font-weight:700}
.purchase-activity small{font-family:var(--sans,sans-serif);font-size:10px;color:#c0ae9d;white-space:nowrap}
.activity-dot{width:5px;height:5px;flex:0 0 5px;border-radius:50%;background:#b77878;animation:activity-dot-blink 1.8s ease-in-out infinite}
@keyframes activity-dot-blink{0%,100%{opacity:1}50%{opacity:.25}}
@media(prefers-reduced-motion:reduce){.activity-dot{animation:none}}
@media(max-width:360px){.purchase-countdown{gap:5px;font-size:13px}.shell.result .purchase-activity{gap:5px;padding-inline:10px;font-size:12px}}

/* Price emphasis and the buyer's own calculation summary. */
.purchase-total .discount-rate{font-size:25px;color:#ee786f;font-weight:800}
.purchase-countdown .countdown-discount{font-size:21px;font-weight:800;color:#ee786f;line-height:1}
#payment-dialog .payment-discount{color:#ee786f;font-size:21px;font-weight:800}
.shell.result .paged-result .purchase-basis{margin-top:34px;padding:28px 0 10px;border-top:1px solid #574632;font-family:var(--serif);color:#e4d5bc}
.purchase-basis .basis-eyebrow{font-size:13px;color:#bba077;margin-bottom:10px}
.purchase-basis h2{font-size:22px;line-height:1.6;margin:0 0 14px;word-break:keep-all}
.purchase-basis .basis-birth{font-size:14px;line-height:1.9;color:#c4b59f;margin:0 0 24px}
.basis-pillars{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border-block:1px solid #574632;padding:18px 0;margin-bottom:28px}
.basis-pillars>div{display:flex;flex-direction:column;align-items:center;gap:9px;padding:0 3px;text-align:center;border-right:1px solid #42362b}
.basis-pillars>div:last-child{border:0}.basis-pillars span{font-size:13px;color:#bd9f6b}.basis-pillars strong{font-size:27px;font-weight:500}.basis-pillars small{font-size:12px;line-height:1.6;word-break:keep-all;color:#c4b59f}
.purchase-basis h3{font-size:18px;margin:0 0 20px}.basis-element-strip{display:flex;gap:2px;height:9px;margin-bottom:22px}.basis-element-strip i{min-width:0}
.basis-elements{list-style:none;margin:0;padding:0}.basis-elements li{display:grid;grid-template-columns:32px minmax(0,1fr) 86px;align-items:center;gap:10px;margin:18px 0}
.basis-element-name{font-size:18px}.basis-element-name small{display:block;font-size:10px;color:#ad9d87;margin-top:3px}.basis-element-track{height:6px;position:relative;background:#302b22}.basis-element-track i{position:absolute;left:0;top:0;height:100%;background:var(--element-color)}.basis-element-track .element-range{opacity:.4}
.basis-element-value{text-align:right;font-size:15px;font-variant-numeric:tabular-nums;white-space:nowrap}.basis-element-value small{font-size:10px;color:#b59e78;margin-left:3px}
.purchase-basis .basis-note{border-top:1px solid #42362b;margin:23px 0 0;padding-top:16px;font-size:12px;line-height:1.85;color:#ad9d87;word-break:keep-all}
@media(max-width:360px){.purchase-total .discount-rate{font-size:23px}.purchase-total .purchase-price-line{gap:7px}.purchase-countdown .countdown-discount{font-size:19px}.purchase-basis h2{font-size:20px}.basis-pillars strong{font-size:24px}.basis-elements li{gap:8px;grid-template-columns:28px minmax(0,1fr) 82px}.basis-element-value{font-size:13px}}

/* Clear content promises drawn from the delivered report. */
.full-story-list h3{color:#e8c76e}
.shell.result .paged-result .purchase-chapter-details{margin-top:38px;padding:30px 0 0;border-top:1px solid #574632;font-family:var(--serif);color:#e4d6bf}
.purchase-chapter-details .detail-eyebrow{margin:0 0 9px;font-size:13px;letter-spacing:.08em;color:#c7ab70}
.purchase-chapter-details>h2{margin:0 0 14px;font-size:25px;line-height:1.6;color:#f1e1c2;word-break:keep-all}
.purchase-chapter-details .detail-intro{font-size:15px;line-height:1.9;margin:0 0 30px;color:#c4b49c}
.purchase-detail-chapter{margin:0 0 35px}
.purchase-detail-chapter h3{display:flex;gap:10px;border-left:3px solid #c6a65c;padding-left:12px;margin:0 0 16px;font-size:19px;font-weight:700;line-height:1.65;color:#e8c76e;word-break:keep-all}
.purchase-detail-chapter h3>span{flex-shrink:0;color:#b99b64;font-size:14px;padding-top:4px}
.purchase-detail-chapter ol{list-style:none;margin:0;padding:0}
.purchase-detail-chapter li{display:flex;align-items:baseline;gap:12px;padding:13px 0;border-bottom:1px solid #3a3026;font-size:15px;line-height:1.85;word-break:keep-all}
.purchase-detail-chapter .detail-item-number{flex-shrink:0;min-width:35px;font-size:12px;color:#aa926c}
.purchase-detail-letter{margin:6px 0 0;padding:22px 18px;border-left:2px solid #806749;background:#18130e}
.purchase-detail-letter .detail-letter-byline{font-size:12px;color:#b69a6a}.purchase-detail-letter h3{font-size:18px;line-height:1.7;margin:8px 0 12px;color:#e8c76e;word-break:keep-all}.purchase-detail-letter p{font-size:15px;line-height:1.9;word-break:keep-all;margin:0;color:#d7c7ad}
@media(max-width:360px){.purchase-chapter-details>h2{font-size:22px}.purchase-detail-chapter h3{font-size:18px;gap:8px;padding-left:10px}.purchase-detail-chapter li{gap:9px;font-size:14px}.purchase-detail-letter{padding-inline:14px}}

/* One warm gold for preview accents, shared with the age invitation. */
.shell.result{--preview-gold:#d2b37e}
.shell.result .paged-result :is(.purchase-invitation-age,.invitation-label,.invitation-intro strong,.story-number,.full-story-list h3,.detail-eyebrow,.purchase-detail-chapter h3,.purchase-detail-chapter h3>span,.detail-item-number,.detail-letter-byline,.purchase-detail-letter h3,.basis-eyebrow,.basis-pillars span,.basis-element-value small){color:var(--preview-gold)}
.shell.result .paged-result .purchase-detail-chapter h3{border-left-color:var(--preview-gold)}

/* The complete personality sentence is intentionally readable in the preview. */
.shell.result .portrait-first .sealed-lines .personality-unlocked .preview-line{display:block;-webkit-line-clamp:unset;max-height:none;overflow:visible}

/* Keep the visitors, rather than the foreground courtyard, in the story frame. */
.shell.story.sp-app-shell.visitors-scene{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:60px auto auto;align-content:start;min-height:100svh}
.shell.story.sp-app-shell.visitors-scene>.topbar{position:relative;inset:auto;grid-row:1;height:60px;padding:18px 25px 0}
.shell.story.sp-app-shell.visitors-scene>.portrait{position:relative;inset:auto;grid-row:2;height:auto;aspect-ratio:1/1.04;min-height:0;max-height:none}
.shell.story.sp-app-shell.visitors-scene .portrait img{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover;object-position:50% 20%;transform:none}
.shell.story.sp-app-shell.visitors-scene .portrait:after{background:linear-gradient(180deg,#100e0b08,transparent 70%,#100e0b28 90%,#100e0b 100%)}
.shell.story.sp-app-shell.visitors-scene>.work{position:relative;grid-row:3;min-height:0;background:#100e0b}
.shell.story.sp-app-shell.visitors-scene .scene-content{padding:14px 28px max(16px,env(safe-area-inset-bottom))}

/* Mobile image/text transitions share the surrounding paper's exact colour. */
@media(max-width:700px){
 .shell.story.sp-app-shell.arrival-scene .portrait:after,
 .shell.story.sp-app-shell.consultation-scene .portrait:after,
 .shell.story.sp-app-shell.visitors-scene .portrait:after{
  background:linear-gradient(180deg,#100e0b00 55%,#100e0b14 67%,#100e0b59 79%,#100e0bc2 91%,#100e0b 100%);
 }
 .shell.story.sp-app-shell.arrival-scene>.work,
 .shell.story.sp-app-shell.consultation-scene>.work{background:#100e0b}

}
/* A prepared photograph appears with the page, without a staged reveal delay. */
.shell.result .paced-result .is-unfolding>.identity-atlas{animation:none;opacity:1;transform:none}
.sealed-salary-suffix{display:inline-block;filter:blur(7px);opacity:.65;user-select:none;pointer-events:none}

/* The final chapter occupies the whole viewport until its CTA is revealed. */
@media(max-width:600px){
 .shell.result .paged-result:has(.purchase-controls[hidden]){height:100dvh;--chapter-controls-height:0px}
}
.shell.result .paged-result .purchase-controls{animation:none!important;transition:none;opacity:1;transform:none}

/* Keep all price labels equal; emphasize only the final price and rate. */
.shell.result .purchase-pricing :is(.purchase-original,.purchase-saving,.purchase-total)>span:first-child{font-family:var(--serif);font-size:15px;font-weight:400;line-height:1.6;color:#b7a78f}
.shell.result .purchase-pricing :is(.purchase-original del,.purchase-saving>span:last-child){font-family:var(--serif);font-size:19px;font-weight:400;line-height:1.6}

/* Separate the visitors' question from Geumrye's narration. */
.shell.story.sp-app-shell.remembering-scene .scene-content{text-align:center}
.shell.story.sp-app-shell.remembering-scene .scene-quote-intro{font-family:var(--serif);font-size:18px;line-height:1.65;font-weight:600;color:#eee2cb;text-align:center;margin:0 0 22px}
.shell.story.sp-app-shell.remembering-scene .scene-dialogue.scene-quotation{width:100%;margin:0 auto;text-align:center;font-size:clamp(24px,6.5vw,30px);line-height:1.55;font-weight:700;color:#d2b37e;letter-spacing:-.035em}
.shell.story.sp-app-shell.remembering-scene .scene-dialogue.scene-quotation{display:flex;flex-direction:column;align-items:center}
.shell.story.sp-app-shell.remembering-scene .scene-quotation span{position:relative;display:block;width:max-content;max-width:100%;text-align:center;margin:0 auto}
.shell.story.sp-app-shell.remembering-scene .scene-quotation span:first-child::before{content:'“';position:absolute;right:100%}
.shell.story.sp-app-shell.remembering-scene .scene-quotation span:last-child::after{content:'”';position:absolute;left:100%}
.shell.story.sp-app-shell.remembering-scene .scene-nav{margin-top:24px}
@media(max-width:360px){.shell.story.sp-app-shell.remembering-scene .scene-quote-intro{font-size:17px;margin-bottom:18px}.shell.story.sp-app-shell.remembering-scene .scene-dialogue.scene-quotation{font-size:23px}}

/* Review cards supplied by the site owner. */
.shell.result .paged-result .hon-review-examples{margin:36px 0 0;padding:28px 0;border-top:1px solid #574632;font-family:var(--serif);text-align:left}
.hon-review-examples .review-section-title{margin:0;color:#f1e1c2;font-size:25px;line-height:1.5}
.hon-review-examples .review-note{margin:10px 0 20px;color:#c4b49c;font-size:13px;line-height:1.8;word-break:keep-all}
.hon-review-examples .review-stack{display:grid;gap:12px;margin-top:20px}
.hon-review-examples .review{margin:0;padding:16px 17px 17px;background:#f1e6d2;color:#33251e;color-scheme:light;border:1px solid #b8a17a;border-radius:9px}
.hon-review-examples .review-meta{display:flex;align-items:center;flex-wrap:wrap;gap:6px 12px;margin:0 0 5px}
.hon-review-examples .review-name{font-size:15px;font-weight:700}
.hon-review-examples .review-age{font-size:13px;color:#755e49}
.hon-review-examples .review-choice{padding:4px 8px;border-radius:12px;font:650 11px/1.4 system-ui,sans-serif}
.hon-review-examples .review-choice[data-situation="dating"]{background:#e7d3cc;color:#68353c}
.hon-review-examples .review-choice[data-situation="single"]{background:#dce4d4;color:#3b513c}
.hon-review-examples .review-choice[data-situation="breakup"]{background:#dbe3e8;color:#344d60}
.hon-review-examples .review-rating{display:block;margin:8px 0 9px;color:#9a631e;fill:currentColor;stroke:currentColor;stroke-width:1.15;stroke-linejoin:round}
.hon-review-examples .review h3{margin:0 0 4px;color:#33251e;font-size:16px;font-weight:700;line-height:1.5;word-break:keep-all}
.hon-review-examples .review p{margin:0;color:#554436;font-size:14px;font-weight:400;line-height:1.7;word-break:keep-all}
@media(max-width:360px){.hon-review-examples .review-section-title{font-size:22px}.hon-review-examples .review{padding-inline:14px}}

/* Keep the poster underneath a buffering/blocked video; reveal only a decoded frame. */
.shell .portrait>.scene-video{position:absolute;inset:0;opacity:0;pointer-events:none}
.shell .portrait>.scene-video.is-playing{opacity:1}
.shell.story .scene-content.fade-in{animation-duration:.18s}
