@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');
:root{font-family:Manrope,Arial,sans-serif;color:#f4f3f0;background:#191816;color-scheme:dark;--progress:0}*{box-sizing:border-box}body{margin:0}button,input,textarea{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer}a{color:inherit;text-decoration:none}button{border:0}button:focus-visible,a:focus-visible,textarea:focus-visible,summary:focus-visible{outline:2px solid #d5a15e;outline-offset:5px}button:disabled{opacity:.55;cursor:wait}[hidden]{display:none!important}.scroll-track{height:300svh}.stage{position:fixed;inset:0;isolation:isolate;overflow:hidden;background:#191816}.memories{position:absolute;inset:-30% -5%;z-index:-3;display:grid;grid-template-columns:1fr 1fr 1fr;gap:7%;transform:rotate(-12deg) scale(1.12);opacity:.6;pointer-events:none}.lane{display:flex;flex-direction:column;gap:100px;will-change:transform}.lane-a{transform:translateY(calc(var(--progress)*-520px - 70px))}.lane-b{transform:translateY(calc(var(--progress)*420px - 330px))}.lane-c{transform:translateY(calc(var(--progress)*-650px + 40px))}.post{background:#242528;border-radius:15px;overflow:hidden;box-shadow:0 30px 60px #0007;min-height:360px;animation:float 8s ease-in-out infinite alternate}.post:nth-child(2){animation-delay:-7s}.lane-b .post{animation-delay:-4s}.photo{aspect-ratio:1;background-image:url('/memories.png');background-size:300% 200%;background-repeat:no-repeat}.photo-0{background-position:0 0}.photo-1{background-position:50% 0}.photo-2{background-position:100% 0}.photo-3{background-position:0 100%}.photo-4{background-position:50% 100%}.photo-5{background-position:100% 100%}.post p{font-size:12px;padding:0 16px 6px}.shade{position:absolute;inset:0;z-index:-2;background:radial-gradient(ellipse at 50% 47%,#191816 10%,#191816f5 28%,#191816a8 53%,#19181632 88%),linear-gradient(#19181655,transparent 25%,transparent 70%,#191816cc);pointer-events:none}header{position:absolute;top:0;left:0;right:0;padding:32px 4%;display:flex;align-items:center;gap:35px;z-index:2}.brand{font-size:29px;font-weight:800;letter-spacing:-1.5px}.brand span{font-size:11px;vertical-align:top;display:inline-block;margin:6px}.top-note{font-size:12px;color:#c3c3c1}.quiet{background:#ffffff0d;border:1px solid #ffffff26;color:#eee;border-radius:30px;padding:12px 18px;font-size:12px;margin-left:auto}.center{position:absolute;left:50%;top:49%;transform:translate(-50%,-50%);width:min(780px,90%);text-align:center}.eyebrow{font-size:10px;font-weight:600;letter-spacing:.14em;color:#c3c6be;margin:0 0 26px}h1{font-size:clamp(42px,5.2vw,78px);line-height:1.07;letter-spacing:-.06em;font-weight:500;margin:0 0 24px;text-wrap:balance}h1 em{font-style:normal;color:#d5b17d}.description{font-size:15px;line-height:1.8;color:#b9bcb9;margin:0 0 32px;min-height:54px}form{margin:auto;max-width:710px}.input-wrap{display:flex;align-items:center;background:#fafaf7;color:#20221e;padding:7px 7px 7px 22px;border:1px solid #fff;border-radius:17px;gap:13px;box-shadow:0 10px 60px #0005}.link-icon{font-size:24px;color:#858982}#links{background:transparent;color:#20221e;border:0;resize:none;flex:1;min-width:0;max-height:100px;height:26px;line-height:26px;padding:0;font-size:14px;outline-offset:2px}#links::placeholder{color:#767c72}.primary{background:#f0e7dc;color:#192514;padding:17px 21px;border-radius:11px;font-size:13px;font-weight:700;display:inline-flex;align-items:center;justify-content:center;gap:20px;white-space:nowrap;transition:background .18s,transform .18s}.primary:hover{background:#ffffff}.primary:active{transform:scale(.98)}.input-help{font-size:10px;color:#b7bbb3;margin:14px 0}.example{background:none;color:#cbd1c7;font-size:11px;padding:10px 5px;border-bottom:1px solid #ffffff30}.example span{margin-left:8px}.caption-option{max-width:620px;text-align:left;margin:16px auto 5px;font-size:11px;color:#aeb6a7}.caption-option summary{cursor:pointer;text-align:center}.caption-option label{display:block;margin:12px 0 8px}.caption-option textarea{width:100%;background:#1d211c;border:1px solid #475041;border-radius:8px;color:#e5ecdf;padding:10px;resize:vertical;max-height:110px}.error{font-size:12px;line-height:1.5;color:#ffc3ac;max-width:620px;margin:12px auto}.error:empty{display:none}footer{position:absolute;bottom:29px;left:4%;right:4%;display:flex;align-items:center;justify-content:space-between;gap:20px;color:#a6aba3;font-size:10px}.ai-note{max-width:200px;line-height:1.7}.chapters{display:flex;align-items:center;gap:10px}.chapters button{color:#a4aca0;background:transparent;font-size:11px;padding:12px}.chapters button[aria-current=step]{color:white}.chapters i{display:block;width:35px;height:1px;background:#5b6158}.scroll-hint span{margin-left:15px}.motion{position:absolute;bottom:88px;right:4%;background:none;color:#b6bdb0;border:1px solid #ffffff20;border-radius:30px;padding:8px 12px;font-size:9px}.paused .post{animation-play-state:paused}.paused .lane{transform:none!important}.flow{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:min(980px,92%);max-height:calc(100dvh - 185px);overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;padding:30px;border:1px solid #ffffff1a;border-radius:24px;background:#151815f5;box-shadow:0 25px 90px #0009}.flow h2{font-size:clamp(27px,3.3vw,43px);line-height:1.15;letter-spacing:-.045em;margin:12px 0 18px;font-weight:500}.flow p{color:#bbc4b5;font-size:14px;line-height:1.7}.flow-top{display:flex;justify-content:space-between;align-items:center}.flow .eyebrow{margin:0}.back{background:none;color:#bec9b7;font-size:12px;padding:10px 0}.scenarios{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;margin:24px 0}.scenario{background:#ffffff06;border:1px solid #ffffff14;border-radius:15px;padding:22px;display:flex;flex-direction:column}.scenario .number{color:#adc99b;font-size:11px}.scenario h3{font-size:21px;line-height:1.25;margin:17px 0 10px;font-weight:500;letter-spacing:-.04em}.scenario p{font-size:12px}.scenario details{font-size:12px;color:#bec9b7;margin-bottom:20px;line-height:1.7}.scenario summary{cursor:pointer}.scenario .primary{margin-top:auto;padding:13px}.flow small{font-size:11px;color:#aab6a3}.checkout{max-width:550px;margin:0 auto;padding:15px}.price{font-size:62px;letter-spacing:-3px;margin:24px 0;color:#f4f3f0}.checkout .primary{width:100%;margin-top:15px}.loader{width:38px;height:38px;border:2px solid #56614e;border-top-color:#f0e7dc;border-radius:50%;animation:spin 1s linear infinite;margin:30px 0}.status-mark{font-size:45px;color:#f0e7dc}.sr{position:absolute;clip:rect(0,0,0,0);width:1px;height:1px;overflow:hidden}.flow-mode .memories{opacity:.28}.flow-mode .motion,.flow-mode .scroll-hint{visibility:hidden}.fade{animation:appear .3s ease-out}@keyframes float{to{transform:translateY(-30px) rotate(2deg)}}@keyframes spin{to{transform:rotate(360deg)}}@keyframes appear{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@media(max-width:650px){header{padding:22px 6%}.brand{font-size:25px}.top-note{display:none}.quiet{font-size:10px;padding:10px 14px}.center{width:88%;top:46%}h1{font-size:45px;letter-spacing:-.055em}.eyebrow{font-size:8px;margin-bottom:20px}.description{font-size:12px;line-height:1.7;margin-bottom:24px}.input-wrap{flex-wrap:wrap;padding:12px;gap:10px}.link-icon{font-size:19px}#links{font-size:14px;height:32px;padding:3px 0}.input-wrap .primary{width:100%;padding:15px}.input-help{font-size:9px}.memories{inset:-10% -55%;gap:7%;opacity:.52;transform:rotate(-13deg)}.post{min-height:250px}.lane{gap:70px}.shade{background:radial-gradient(ellipse at 50% 45%,#191816 12%,#191816ee 32%,#19181688 70%,#19181680)}footer{bottom:24px;left:6%;right:6%;align-items:end}.ai-note{font-size:8px;max-width:135px}.scroll-hint{display:none}.chapters{gap:2px}.chapters i{width:15px}.motion{bottom:77px;font-size:8px;right:6%}.flow{max-height:calc(100dvh - 160px);padding:22px;top:49%;border-radius:18px}.scenarios{grid-template-columns:1fr}.scenario{padding:20px}.flow h2{font-size:28px}.checkout{padding:5px}.flow p{font-size:13px}.price{font-size:50px}.caption-option[open]{max-height:135px;overflow:auto}}
@media(max-height:680px) and (min-width:651px){h1{font-size:48px}.eyebrow{margin-bottom:15px}.description{margin-bottom:18px}.center{top:48%}.caption-option{margin-top:8px}.motion{bottom:70px}header{padding-top:20px}footer{bottom:17px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}.lane{transform:none!important}}
@media(max-height:700px) and (max-width:650px){.center{max-height:calc(100dvh - 175px);overflow:auto;overscroll-behavior:contain;scrollbar-width:thin}h1{font-size:36px}.description{margin-bottom:16px}.eyebrow{margin-bottom:12px}.motion{bottom:66px}}

/* Lore identity: selected amber story-card wordmark. */
header{padding-top:26px}.brand{display:block;width:156px;height:54px}.logo-window{display:block;width:156px;height:54px;overflow:hidden;position:relative;border-radius:6px}.logo-window img{position:absolute;width:246px;height:164px;max-width:none;left:-49px;top:-53px}.center{top:50%;width:min(800px,90%)}h1{font-size:clamp(44px,5.5vw,80px);font-weight:500;letter-spacing:-.065em}.eyebrow{font-size:9px;letter-spacing:.16em;color:#b5aba0}.description{color:#c0b9b1;margin-bottom:35px}.input-wrap{border-radius:18px;background:#f7f3ed;border-color:#ffffff35;padding:8px 8px 8px 23px;box-shadow:0 14px 70px #0006}.input-wrap .primary{background:#292622;color:#f6eee3;border:1px solid #484139;border-radius:11px;padding:18px 22px}.input-wrap .primary:hover{background:#403930}.input-wrap .primary span{color:#ddb879;font-size:20px;line-height:1}.primary{color:#29231c}.quiet{border-color:#ffffff20;background:#ffffff06;color:#ded7ce}.quiet:hover{background:#ffffff12}footer{justify-content:center}.flow{background:#211e1bf5}.flow p,.flow small,.back{color:#c4baad}.status-mark,.scenario .number{color:#d5b17d}.scenario{background:#ffffff04;border-color:#ffffff12}.post{box-shadow:0 30px 80px #0006}.loader{border-color:#5a4d3e;border-top-color:#d5b17d}@media(max-width:650px){header{padding-top:18px}.brand{width:130px;height:46px}.logo-window{width:130px;height:46px}.logo-window img{width:205px;height:137px;left:-41px;top:-44px}.center{top:48%;width:88%}h1{font-size:48px}.input-wrap{padding:12px}.input-wrap .primary{padding:15px}.description{font-size:13px}.eyebrow{font-size:8px}footer{bottom:23px}}@media(max-height:680px) and (min-width:651px){h1{font-size:53px}.description{margin-bottom:25px}}

/* Quiet input treatment, no decorative arrows. */
.input-wrap{padding-left:25px;border-radius:12px;box-shadow:0 10px 35px #0003}.input-wrap .primary{border-radius:7px;padding:18px 25px;border-color:transparent}.input-wrap .primary:hover{background:#37332d}h1 em{color:#eee8de}.eyebrow{letter-spacing:.08em;color:#a7a19a}.quiet{background:none;border:0;padding-right:0}.quiet:hover{background:none;color:#fff}.post{border-radius:8px}.description{font-size:14px;color:#b8b3ad}.input-wrap textarea{font-size:14px}@media(max-width:650px){.input-wrap{padding:12px}.input-wrap .primary{padding:15px}.description{font-size:12px}}

/* Memory echo identity and masked occasion stories. */
.brand,.brand .logo-window{width:177px;height:60px;margin:0;border-radius:0}
.logo-window img{width:187px;height:auto;left:-3px;top:-7px;filter:brightness(0) invert(1);opacity:.93}
.eyebrow{font-size:13px;letter-spacing:0;color:#d0c6bb;margin-bottom:24px;font-weight:400}
h1{font-size:clamp(40px,5vw,72px);line-height:1.13;letter-spacing:-.055em;margin-bottom:23px}
.headline-mask{display:block;overflow:hidden;padding-bottom:.08em;margin-bottom:-.08em}
.headline-line{display:block;will-change:transform}
.description-mask{overflow:hidden;height:82px;margin-bottom:18px}
.description{line-height:1.8;margin:0;min-height:54px}
.memories{opacity:.72}.lane{transition:filter .8s}.lane-a{transform:translateY(calc(var(--progress)*-680px - 70px))}.lane-b{transform:translateY(calc(var(--progress)*550px - 330px))}.lane-c{transform:translateY(calc(var(--progress)*-780px + 40px))}
.post{animation:memory-drift 7s ease-in-out infinite alternate}.lane-b .post{animation-duration:9s}.lane-c .post{animation-duration:8s}
@keyframes memory-drift{from{transform:translate3d(-8px,15px,0) rotate(-1deg)}to{transform:translate3d(15px,-55px,0) rotate(2deg)}}
html[data-story="1"] .lane-b{filter:brightness(1.2)}html[data-story="2"] .lane-c{filter:brightness(1.2)}
@media(max-width:650px){.brand,.brand .logo-window{width:140px;height:48px}.logo-window img{width:148px;top:-5px;left:-3px}h1{font-size:clamp(30px,7.5vw,47px)}.eyebrow{font-size:11px;margin-bottom:22px}.description-mask{height:94px;margin-bottom:12px}.description{font-size:12px;max-width:340px;margin:auto}.center{top:49%}}
@media(prefers-reduced-motion:reduce){.post{animation:none!important}.headline-line{will-change:auto}}
/* A fixed stage must never become an internally scrollable container. */
.stage{overflow:clip}

@media(max-width:650px){#generate{white-space:normal;line-height:1.4}}

.howto-steps{display:grid;grid-template-columns:1fr 1fr;gap:32px;margin-top:28px}.howto-step{border-top:1px solid #ffffff20;padding-top:20px}.howto-step h3{font-size:20px;line-height:1.35;font-weight:500;letter-spacing:-.025em;margin:0 0 12px}.howto-step p{margin:0 0 16px}.howto-step small{display:block}@media(max-width:650px){.howto-steps{grid-template-columns:1fr;gap:24px;margin-top:24px}.howto-step h3{font-size:18px}}

/* Explain the product and its two stages before the first action. */
.product-description{font-size:15px;line-height:1.7;color:#ccc4ba;margin:0 auto 25px}
.hero-process{display:flex;justify-content:center;gap:40px;margin:0 auto 28px;text-align:left}
.hero-process>div{display:flex;flex-direction:column;gap:7px}
.hero-process strong{font-size:13px;font-weight:600;color:#eee8de}
.hero-process span{font-size:11px;color:#aaa29a}
.center h1{font-size:clamp(38px,4.7vw,68px);margin-bottom:22px}
.center .eyebrow{margin-bottom:20px}
@media(max-width:650px){.center h1{font-size:clamp(29px,7.3vw,46px)}.product-description{font-size:12px;line-height:1.7;margin-bottom:20px}.hero-process{gap:18px;margin-bottom:22px}.hero-process strong{font-size:11px}.hero-process span{font-size:10px;line-height:1.5;max-width:140px}.center .eyebrow{font-size:10px;margin-bottom:17px}}
@media(max-height:680px) and (min-width:651px){.center h1{font-size:45px;margin-bottom:16px}.hero-process{margin-bottom:20px}.product-description{margin-bottom:18px}}

/* The product title stays still; only the gift occasion moves. */
.center #headline{font-size:clamp(36px,4.5vw,62px);line-height:1.1;margin:0 0 13px}
.occasion-mask{overflow:hidden;font-size:clamp(26px,3vw,40px);line-height:1.3;letter-spacing:-.04em;height:1.4em;margin:0 0 24px;color:#c8beb1}
.chapters{gap:8px}.chapters button{padding:10px}
@media(max-width:650px){.center #headline{font-size:clamp(29px,7.5vw,44px)}.occasion-mask{font-size:clamp(22px,5.6vw,31px);margin-bottom:20px}.chapters{gap:4px}.chapters button{padding:9px}}
@media(max-height:680px) and (min-width:651px){.center #headline{font-size:43px}.occasion-mask{font-size:30px;margin-bottom:18px}}

@media(max-width:650px){.occasion-mask{font-size:clamp(19px,5vw,28px)}.chapters{gap:2px}.chapters button{padding:8px}}

/* One typographic treatment for the promise and its changing occasion. */
.center{--hero-size:clamp(34px,4.1vw,56px)}
.center #headline,.center .occasion-mask{font-size:var(--hero-size);font-weight:500;line-height:1.12;letter-spacing:-.055em;color:#f4f3f0}
.center #headline{margin-bottom:0}
.center .occasion-mask{height:1.22em;margin-bottom:25px;padding-bottom:.1em}
@media(max-width:650px){.center{--hero-size:clamp(23px,5.7vw,37px)}.center .occasion-mask{margin-bottom:22px}}
@media(max-height:680px) and (min-width:651px){.center{--hero-size:42px}.center .occasion-mask{margin-bottom:18px}}

/* Story-writing activity: no fabricated completion percentage. */
.flow.is-waiting{padding:32px 40px 44px;min-height:330px}
.waiting-title{height:3.5em;max-width:740px;display:flex;align-items:center;text-wrap:balance;overflow:hidden}
.waiting-title>span{display:block;will-change:transform,opacity}
.story-thread{position:relative;height:2px;max-width:360px;background:#ffffff12;margin:12px 0 28px;overflow:hidden}
.story-thread i{position:absolute;inset:0 auto 0 0;width:26%;background:linear-gradient(90deg,transparent,#dbc3a1,transparent);animation:story-flow 3.6s linear infinite;transform:translateX(-120%)}
.story-thread i:nth-child(2){animation-delay:-1.2s}.story-thread i:nth-child(3){animation-delay:-2.4s}
.flow .waiting-note{max-width:540px;min-height:3.4em;color:#b3a89b;font-size:13px;margin-bottom:0}
@keyframes story-flow{to{transform:translateX(500%)}}
@media(max-width:650px){.flow.is-waiting{padding:24px;min-height:360px}.waiting-title{height:4.7em}.story-thread{max-width:240px}}
@media(prefers-reduced-motion:reduce){.waiting-title>span{will-change:auto}.story-thread i{animation:none!important;transform:none;width:100%;opacity:.55}}

/* Readable, full-width scripts: independent cards with no stretched columns. */
.scenarios{display:flex;flex-direction:column;gap:24px;margin:32px 0}
.scenario{display:block;padding:36px 42px;border-radius:18px}
.scenario .number{font-size:12px;letter-spacing:.1em}
.scenario h3{font-size:32px;line-height:1.2;letter-spacing:-.035em;margin:14px 0 16px}
.scenario p{font-size:18px;line-height:1.75;margin:0 0 20px;color:#eee7df}
.scenario .scenario-idea{color:#c4baad;font-size:17px;max-width:65ch;margin-bottom:28px}
.scenario-story{max-width:66ch;border-top:1px solid #ffffff14;padding-top:28px}
.scenario-sources{max-width:66ch;margin:28px 0!important;font-size:15px!important}
.scenario-sources summary{padding:12px 0;line-height:1.5;color:#c4baad}
.scenario-sources blockquote{margin:18px 0;padding:0 0 0 20px;border-left:2px solid #76634a}
.scenario-sources blockquote p{font-size:16px;color:#c4baad;margin-bottom:10px}
.scenario-sources a{display:inline-block;text-decoration:underline;text-underline-offset:4px;font-size:14px}
.scenario .primary{font-size:16px;padding:16px 24px;margin-top:8px;min-height:52px;white-space:normal}
.flow .scenario-limitations{font-size:13px;line-height:1.65}
@media(max-width:650px){.scenario{padding:24px 20px}.scenario h3{font-size:27px}.scenario p{font-size:17px;line-height:1.7}.scenario .scenario-idea{font-size:16px}.scenario .primary{width:100%}.scenarios{gap:18px}.scenario-sources summary{font-size:14px}}

/* Live progress contains confirmed server counters; animation is secondary. */
.flow.is-waiting{min-height:0;padding:30px 40px}.is-waiting h2{font-size:28px;margin-bottom:24px}
.flow .progress-headline{font-size:26px;line-height:1.3;color:#f4f3f0;margin:0 0 24px;letter-spacing:-.025em}
.live-progress{display:grid;gap:12px;padding:20px 0;border-top:1px solid #ffffff1a;border-bottom:1px solid #ffffff1a}
.flow .live-progress p{font-size:16px;line-height:1.5;margin:0;color:#c4baad}
.live-progress[data-phase=collection] p:first-child,.live-progress[data-phase=extraction] p:nth-child(2),.live-progress[data-phase=writing] p:nth-child(3){color:#f4f3f0}
.flow .progress-meta{display:flex;flex-wrap:wrap;gap:8px 24px;margin:18px 0 10px;font-size:13px;font-variant-numeric:tabular-nums;color:#c4baad}
.flow .waiting-note{min-height:0;margin:0;font-size:12px;line-height:1.6}
.flow .waiting-phrase{font-size:18px;color:#cdbda6;line-height:1.4;min-height:2.8em;margin:24px 0 10px;max-width:600px}
.waiting-phrase span{display:block}.is-waiting .story-thread{margin:8px 0 0;max-width:280px}
.progress-summary{color:#c4baad;font-size:13px;line-height:1.6;max-width:650px;margin:10px auto 0}
@media(max-width:650px){.flow.is-waiting{padding:24px}.is-waiting h2{font-size:23px}.flow .progress-headline{font-size:22px}.flow .live-progress p{font-size:14px}.flow .waiting-phrase{font-size:16px}}

.flow .live-progress p{font-size:18px}
.live-progress[data-phase=collection] p:first-child,.live-progress[data-phase=extraction] p:nth-child(2),.live-progress[data-phase=writing] p:nth-child(3){font-size:20px}
@media(max-width:650px){.flow .live-progress p{font-size:16px}.live-progress[data-phase=collection] p:first-child,.live-progress[data-phase=extraction] p:nth-child(2),.live-progress[data-phase=writing] p:nth-child(3){font-size:17px}}

/* Mobile: readable input, reachable actions with the software keyboard, safe-area spacing. */
@media(max-width:650px){
 .stage{top:0;bottom:0;height:auto}
 header{padding:max(16px,env(safe-area-inset-top)) 20px 0;gap:12px}
 .quiet,.back{min-height:44px}.quiet{font-size:11px;padding:11px 13px}
 .center{width:calc(100% - 40px)}
 #links{font-size:16px;min-height:44px;height:44px;line-height:24px;padding:10px 0;width:100%}
 .input-wrap{gap:6px;padding:10px 12px}.input-wrap .primary{font-size:14px;line-height:1.4;min-height:52px;padding:14px 12px;white-space:normal}
 .error,.progress-summary{font-size:14px;line-height:1.6;overflow-wrap:anywhere}
 .flow,.flow.is-waiting{top:calc(max(16px,env(safe-area-inset-top)) + 68px);transform:translateX(-50%);width:calc(100% - 24px);max-height:calc(var(--visible-height,100dvh) - max(16px,env(safe-area-inset-top)) - 84px - env(safe-area-inset-bottom));padding:20px 16px calc(100px + env(safe-area-inset-bottom));scroll-padding:16px 0 110px;overflow-x:hidden;touch-action:pan-y;min-height:0}
 .flow-top{gap:12px;align-items:center}.flow-top .eyebrow{font-size:10px;letter-spacing:.09em;min-width:0}.back{font-size:12px;flex-shrink:0;padding:10px 0}
 .scenario{min-width:0;padding:24px 16px}.scenario h3{font-size:27px;overflow-wrap:anywhere}.scenario p{font-size:17px;line-height:1.7;overflow-wrap:anywhere}
 .scenario-sources{min-width:0}.scenario-sources blockquote{padding-left:12px}.scenario-sources a{min-height:44px;line-height:1.5;overflow-wrap:anywhere;padding:8px 0}
 .scenario .primary,.checkout .primary{min-height:52px;font-size:16px;white-space:normal;line-height:1.4;width:100%}
 .flow small{display:block;line-height:1.6;overflow-wrap:anywhere}.checkout{max-width:100%;padding:0}.checkout h2{overflow-wrap:anywhere}
 .flow .waiting-phrase{min-height:2.8em}.flow .progress-headline{overflow-wrap:anywhere}.live-progress p{overflow-wrap:anywhere}
}
@media(max-width:650px) and (max-height:600px){
 .stage:not(:has(.flow:not([hidden]))){overflow-y:auto}
 .center{position:relative;top:auto;left:auto;transform:none;margin:108px auto calc(32px + env(safe-area-inset-bottom))}
}

/* Focus never scrolls the page or repositions the hero before the flow opens. */
.flow:focus,.flow:focus-visible{outline:none}
.memories{transition:opacity 160ms ease-out}
@media(max-width:650px){.memories,.shade{position:fixed}}
@media(prefers-reduced-motion:reduce){.memories{transition:none}}

@media(min-width:651px){.flow.is-waiting{height:min(560px,calc(100dvh - 185px));min-height:0}}

/* Validation feedback must not change the height of the centered hero. */
.center form{position:relative}
.form-feedback{position:absolute;top:calc(100% + 10px);left:0;right:0;text-align:left}
.form-feedback .error,.form-feedback .progress-summary{margin:0 0 8px;max-width:none}

@media(max-width:650px){.input-wrap .primary{min-width:0!important;max-width:100%}}


/* Exact brandbook voice phrase; secondary to the LORE wordmark. */
.brand{display:flex;flex-direction:column;align-items:flex-start;gap:4px;height:auto}
.brand-tagline{font-family:Manrope,Arial,sans-serif;font-size:12px;font-weight:400;line-height:17px;letter-spacing:0;color:#c4baad;white-space:nowrap}
@media(max-width:650px){.brand{height:auto;gap:0}.brand-tagline{font-size:11px;line-height:14px}}

/* One story at a time: readable post selection, draft preserved through failures. */
.scenario .edit-scenario{min-height:46px;padding:10px 12px;margin-top:10px;border:1px solid #ffffff25;border-radius:10px;background:transparent;color:#d7cdbf;font-size:14px;line-height:1.5}
.scenario .edit-scenario:hover,.secondary-action:hover{background:#ffffff08}
.flow.scenario-editor{height:auto;min-height:0}.editor-panel{max-width:740px;margin:auto}
.flow .editor-title{font-size:23px;line-height:1.4;color:#f4f3f0;margin:4px 0 12px}.flow .editor-intro{font-size:16px;line-height:1.65}
.flow .editor-status{font-size:17px;color:#e5d8c6}.editor-status:empty,.editor-error:empty{display:none}
.flow .editor-error{font-size:15px;line-height:1.6;color:#eabca6;overflow-wrap:anywhere}
.editor-form{display:flex;flex-direction:column;gap:14px}.flow .editor-count{font-size:15px;margin:8px 0 0;color:#e5d8c6}
.editor-comment-label{font-size:16px;line-height:1.5;color:#f4f3f0}.editor-comment{width:100%;min-height:112px;padding:14px 16px;font:inherit;font-size:16px;line-height:1.6;border:1px solid #ffffff30;border-radius:12px;background:#171513;color:#f4f3f0;resize:vertical}.editor-comment::placeholder{color:#9c9287}
.editor-posts{display:grid;gap:12px;min-width:0;margin:6px 0 0;padding:0;border:0}.editor-posts legend{padding:0 0 14px;font-size:16px;line-height:1.5;color:#f4f3f0}
.editor-post{min-width:0;padding:14px 18px;border:1px solid #ffffff20;border-radius:12px;background:#ffffff03}.editor-post:has(input:checked){border-color:#a28c6b;background:#d5b17d08}
.editor-post-label{display:flex;align-items:center;gap:14px;min-height:44px;cursor:pointer;font-size:15px;color:#e5d8c6}.editor-post-label input{flex:none;width:24px;height:24px;margin:0;accent-color:#d5b17d}.editor-post-label input:focus-visible{outline:2px solid #d5a15e;outline-offset:4px}
.flow .editor-excerpt{font-size:16px;line-height:1.65;margin:8px 0;overflow-wrap:anywhere}.editor-post-full summary{min-height:44px;display:flex;align-items:center;cursor:pointer;color:#d7cdbf;font-size:14px;text-decoration:underline;text-underline-offset:4px}.editor-post-full p{font-size:16px!important;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere}
.editor-source{display:inline-flex;align-items:center;min-height:44px;font-size:14px;color:#c4baad;text-decoration:underline;text-underline-offset:4px}.editor-submit{position:sticky;bottom:0;min-height:54px;width:100%;font-size:16px;line-height:1.5;white-space:normal;padding:15px 20px;box-shadow:0 -12px 24px #211e1b}
.secondary-action{min-height:48px;padding:12px 18px;border:1px solid #ffffff35;border-radius:10px;background:transparent;color:#eee5d9;font-size:15px}
@media(max-width:650px){.flow.scenario-editor{padding-bottom:calc(110px + env(safe-area-inset-bottom))}.editor-post{padding:12px 14px}.editor-post-label{gap:12px}.editor-submit{bottom:8px}.flow .editor-title{font-size:21px}.flow .editor-intro{font-size:15px}}

.editor-bulk{display:flex;flex-wrap:wrap;gap:4px 16px}.editor-bulk-button{min-height:44px;padding:8px 0;background:transparent;color:#d7cdbf;font-size:14px;text-decoration:underline;text-underline-offset:4px}
/* Header decoration must not intercept the editor's Back button. */
.flow-mode header{pointer-events:none}.flow-mode header .brand,.flow-mode header .quiet{pointer-events:auto}
.flow.scenario-editor h2{font-size:28px;line-height:1.25;margin-bottom:18px}
@media(min-width:651px){.flow.scenario-editor{top:164px;transform:translateX(-50%);max-height:calc(var(--visible-height,100dvh) - 180px)}}
.editor-comment{scroll-margin-block:24px 90px}

/* A montage plan refers to posts, not unverified shots or new filming. */
.scenario .montage-story .montage-intro{font-size:16px;line-height:1.7;color:#e5d8c6;margin:0 0 12px}.scenario .montage-story .montage-note{font-size:14px;line-height:1.65;color:#c4baad;margin:0 0 24px}
.montage-story h4{font-size:18px;line-height:1.5;font-weight:600;letter-spacing:-.02em;margin:0 0 12px;color:#f4f3f0}.montage-opening,.montage-finale{padding:0 0 4px}.montage-episode{padding:22px 0 4px;border-top:1px solid #ffffff20}
.scenario .montage-story .montage-materials-label{font-size:14px;margin:14px 0 4px;color:#c4baad}.montage-materials{list-style:none;padding:0;margin:0 0 20px}.montage-materials li{padding:0 0 10px}.montage-materials a{display:inline-flex;align-items:center;min-height:44px;font-size:15px;line-height:1.5;text-decoration:underline;text-underline-offset:4px;overflow-wrap:anywhere}.montage-materials span{font-size:15px;color:#c4baad}
.scenario .montage-caption{margin:0 0 8px;font-size:14px}.montage-caption summary{display:flex;align-items:center;min-height:44px;font-size:14px;cursor:pointer;color:#c4baad}.scenario .montage-caption p{font-size:15px;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere;margin:4px 0 12px}
@media(max-width:650px){.montage-story h4{font-size:18px}.scenario .montage-story .montage-intro{font-size:16px}.scenario .montage-story .montage-note{font-size:14px}}

.montage-caption summary{text-decoration:underline;text-underline-offset:4px}


/* Compact story cards with bounded, private post thumbnails. */
.scenario{padding:28px 32px}.scenario-copy{min-width:0}.scenario-with-gallery{display:grid;grid-template-columns:minmax(0,1fr) 156px;gap:32px;align-items:start}
.scenario h3{font-size:29px;margin:12px 0}.scenario .scenario-idea{font-size:17px;line-height:1.65;margin-bottom:12px}.scenario-sources{margin:8px 0 16px!important}.scenario-sources summary{min-height:44px;display:list-item;padding:10px 0}.scenario-story{padding-top:18px}.scenario-story h4{font-size:18px;line-height:1.4;margin:18px 0 8px}.scenario .scenario-story p{font-size:18px;line-height:1.75;margin-bottom:18px}.scenario .scenario-full-idea{font-size:17px;margin:12px 0}
.scenario-actions{display:flex;align-items:center;flex-wrap:wrap;gap:10px 14px}.scenario .scenario-actions .primary{margin:0;font-size:15px;padding:14px 20px}.scenario .scenario-actions .edit-scenario{margin:0;min-height:50px;padding:12px 16px}.scenario .scenario-regeneration-status{font-size:14px;line-height:1.6;margin:8px 0 14px;color:#c4baad}.scenario-regeneration-status:empty{display:none}
.scenario-gallery{display:grid;gap:10px;margin:0}.scenario-gallery figure{margin:0;aspect-ratio:5/4;border-radius:10px;overflow:hidden;background:#ffffff06}.scenario-gallery img{display:block;width:100%;height:100%;object-fit:cover}
@media(max-width:650px){.scenario{padding:22px 18px}.scenario-with-gallery{grid-template-columns:minmax(0,1fr);gap:18px}.scenario h3{font-size:26px}.scenario .scenario-idea{font-size:16px}.scenario-gallery{grid-row:2;display:flex;gap:8px;overflow:hidden}.scenario-gallery figure{flex:0 1 110px;min-width:0;aspect-ratio:1}.scenario-actions{align-items:stretch}.scenario .scenario-actions .primary,.scenario .scenario-actions .edit-scenario{width:100%}.scenario .scenario-story p{font-size:17px;line-height:1.75}}

/* Profile access requirement stays next to the field, including on mobile. */
.form-feedback .profile-requirement{font-size:13px;line-height:1.5;color:#c4baad;margin:0 0 8px;text-align:center}
